/* C proposal, scoped to the specification page. Shared navigation remains intact. */
.open-api-spec-page > .min-w-page {
  min-width: 0;
}
.open-api-spec-page .w-content {
  width: calc(100% - 40px);
  max-width: 1200px;
}
.open-api-spec-page .page-title {
  margin-top: 26px;
  margin-bottom: 28px;
}
.open-api-spec-page .nav-main-list {
  min-width: 0;
  flex: 1;
}
.open-api-spec-page .nav-blur-bg {
  min-width: 0;
}
.open-api-spec {
  --spec-primary: var(--color-primary, #27869d);
  --spec-line: #d4d4d4;
  --spec-soft: #f5f5f5;
  --spec-muted: #666;
  width: 100%;
  min-width: 0;
  color: #222;
  font-size: 14px;
  line-height: 1.6;
  container-type: inline-size;
}
.open-api-spec [hidden] {
  display: none !important;
}
/* Selects keep the shared list control's native 1px focus outline. */
.open-api-spec :is(button, input, a):focus-visible {
  outline: 3px solid var(--spec-primary);
  outline-offset: 3px;
}
.open-api-spec :is(h2, h3, p) {
  margin: 0;
}
.open-api-spec button:where(:not(.search-submit)) {
  height: auto;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  box-shadow: none;
}
.open-api-spec :is(code, pre) {
  font-family: Consolas, "SFMono-Regular", monospace;
}
.open-api-spec .spec-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid #a3a3a3;
  border-radius: 5px;
  background: #fff;
  color: #444;
  font-size: 12px;
  line-height: 1.5;
  text-decoration: none;
}
.open-api-spec .spec-button:hover {
  background: #f5f5f5;
  border-color: #555;
}
.open-api-spec .category-tabs {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #333;
  margin-top: 3px;
  margin-bottom: 17px;
}
.open-api-spec .category-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  padding: 10px 18px;
  min-width: 124px;
  margin-bottom: -1px;
  border: 1px solid transparent;
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
}
.open-api-spec .category-tab[aria-pressed="true"] {
  border-color: #333;
  border-bottom-color: #fff;
  background: #fff;
}
.open-api-spec .category-tab .count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #edf1f3;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #586a73;
}
.open-api-spec .category-tab[aria-pressed="true"] .count {
  background: var(--spec-primary);
  color: #fff;
}
.open-api-spec .list-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.open-api-spec .result-count {
  flex-shrink: 0;
}
.open-api-spec .toolbar-controls {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
  margin-left: auto;
}
.open-api-spec .filters {
  gap: 12px;
  min-width: 0;
}
.open-api-spec .list-actions {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
}
/* Same outline, height and placement as shared list extra-search actions. */
.open-api-spec .list-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--color-accent);
  border-radius: 8px;
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.open-api-spec .list-action:hover {
  background: var(--color-surface-base);
}
.open-api-spec .list-action:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.open-api-spec .search-box {
  width: 384px;
  min-width: 0;
}
.open-api-spec .search-box input {
  min-width: 0;
}
.open-api-spec .search-box input:focus-visible {
  outline: none;
}
.open-api-spec .search-submit {
  flex-shrink: 0;
}
.open-api-spec .search-submit:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.open-api-spec .split-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.open-api-spec .master-pane {
  position: sticky;
  top: 18px;
  min-width: 0;
  border-top: 2px solid #333;
}
.open-api-spec .master-heading {
  height: 39px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  background: var(--spec-soft);
  border-bottom: 1px solid var(--spec-line);
  font-size: 13px;
}
.open-api-spec .master-heading > span {
  font-size: 11px;
  color: #666;
}
.open-api-spec .master-items {
  max-height: 600px;
  overflow-y: auto;
  border: 1px solid var(--spec-line);
  border-top: 0;
  scrollbar-width: thin;
}
.open-api-spec .api-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 16px 15px;
  background: #fff;
  border-bottom: 1px solid var(--spec-line);
  text-align: left;
  line-height: 1.6;
}
.open-api-spec .api-item:last-child {
  border-bottom: 0;
}
.open-api-spec .api-item:hover {
  background: #f8fbfb;
}
.open-api-spec .api-item[aria-current="true"] {
  background: #edf7f7;
}
.open-api-spec .api-item[aria-current="true"]::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--spec-primary);
}
.open-api-spec .api-item-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.open-api-spec .api-method {
  display: inline-block;
  flex-shrink: 0;
  font-family: Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
}
.open-api-spec .method-get {
  color: var(--spec-primary);
}
.open-api-spec .method-post {
  color: #288980;
}
.open-api-spec :is(.method-put, .method-patch) {
  color: #8a6b3b;
}
.open-api-spec .method-delete {
  color: #aa473d;
}
.open-api-spec .api-item .api-method {
  font-size: 11px;
  min-width: 45px;
}
.open-api-spec .api-item strong {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.open-api-spec .api-item code {
  display: block;
  margin: 5px 0 0 55px;
  font-size: 10px;
  color: #626262;
  overflow-wrap: anywhere;
  line-height: 1.8;
}
.open-api-spec .admin-label {
  display: inline-block;
  font-size: 10px;
  color: #825b26;
  margin-top: 4px;
}
.open-api-spec .api-item .admin-label {
  margin-left: 55px;
}
.open-api-spec .details-container {
  min-width: 0;
}
.open-api-spec .detail-pane {
  min-width: 0;
  border-top: 2px solid #333;
  scroll-margin-top: 18px;
}
.open-api-spec .selected-heading {
  padding: 17px 0 14px;
  border-bottom: 1px solid var(--spec-line);
}
.open-api-spec .detail-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 11px;
  color: #666;
}
.open-api-spec .detail-meta .admin-label {
  margin: 0;
}
.open-api-spec .detail-meta-mobile {
  display: none;
}
.open-api-spec .selected-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.open-api-spec .selected-title .api-method {
  font-size: 13px;
}
.open-api-spec .selected-title h2 {
  font-size: 20px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.open-api-spec .selected-path {
  display: block;
  margin-top: 10px;
  background: var(--spec-soft);
  padding: 10px 13px;
  font-size: 12px;
  overflow-wrap: anywhere;
  line-height: 1.8;
}
.open-api-spec .detail-description {
  font-size: 12px;
  color: #666;
  line-height: 1.85;
  margin: 12px 0 0;
}
.open-api-spec .detail-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--spec-line);
  margin-top: 16px;
}
.open-api-spec .detail-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  padding: 9px 12px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-size: 13px;
  color: #555;
  min-width: 0;
}
.open-api-spec .detail-tab:hover {
  background: #f7fafa;
  color: var(--spec-primary);
}
.open-api-spec .detail-tab:focus-visible {
  outline-offset: -3px;
}
.open-api-spec .detail-tab[aria-selected="true"] {
  border-bottom-color: var(--spec-primary);
  color: var(--spec-primary);
  font-weight: 700;
}
.open-api-spec .detail-panel {
  padding: 16px 0 0;
}
.open-api-spec .spec-section + .spec-section {
  margin-top: 16px;
}
.open-api-spec .section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.open-api-spec .section-heading h3 {
  font-size: 14px;
  font-weight: 600;
}
.open-api-spec .section-meta {
  font-size: 11px;
  font-weight: 400;
  color: #666;
}
.open-api-spec .auth-box {
  padding: 14px 16px;
  background: #fafafa;
  border: 1px solid var(--spec-line);
  border-radius: 5px;
}
.open-api-spec .auth-box strong {
  display: block;
  font-size: 13px;
  margin-bottom: 5px;
}
.open-api-spec .auth-box p {
  color: var(--spec-muted);
  font-size: 12px;
  line-height: 1.85;
}
.open-api-spec .auth-box code {
  display: block;
  font-size: 11px;
  margin-top: 8px;
  color: #333;
  overflow-wrap: anywhere;
}
.open-api-spec .auth-box.staff {
  border-left: 3px solid #b99154;
}
.open-api-spec .auth-box .staff-note {
  color: #825b26;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}
.open-api-spec .alternative + .alternative {
  border-top: 1px solid var(--spec-line);
  margin-top: 12px;
  padding-top: 12px;
}
.open-api-spec .schema-wrap {
  max-width: 100%;
  overflow-x: auto;
}
.open-api-spec .schema-table {
  margin: 0;
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  border-top: 2px solid #555;
  table-layout: fixed;
  background: #fff;
}
.open-api-spec .schema-table th {
  height: 32px;
  padding: 7px 10px;
  text-align: left;
  background: var(--spec-soft);
  font-size: 12px;
  border-bottom: 1px solid var(--spec-line);
}
.open-api-spec .schema-table td {
  padding: 10px;
  border-bottom: 1px solid var(--spec-line);
  vertical-align: top;
  line-height: 1.85;
  overflow-wrap: anywhere;
  text-align: left;
  height: auto;
}
.open-api-spec .schema-table code {
  font-size: 11px;
}
.open-api-spec .schema-table .field-column {
  width: 24%;
}
.open-api-spec .schema-table .type-column {
  width: 23%;
}
.open-api-spec .schema-table .required-column {
  width: 45px;
  text-align: center;
}
.open-api-spec .field-description {
  color: var(--spec-muted);
}
.open-api-spec .field-meta {
  font-size: 10px;
  color: #666;
  display: block;
}
.open-api-spec .nullable {
  font-size: 10px;
  color: var(--spec-primary);
  display: block;
}
.open-api-spec .required {
  color: #aa473d;
  font-size: 11px;
  font-weight: 600;
}
.open-api-spec .optional {
  color: #666;
  font-size: 11px;
}
.open-api-spec .array-header td {
  background: #fafafa;
  color: #666;
  font-size: 11px;
  padding: 6px 10px;
}
.open-api-spec .schema-type {
  font-size: 12px;
  color: #666;
  margin-bottom: 8px;
}
.open-api-spec .schema-type code {
  font-size: 11px;
  color: #444;
}
.open-api-spec .no-fields {
  font-size: 12px;
  color: #666;
  padding: 11px 0;
}
.open-api-spec .response-buttons {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 13px;
}
.open-api-spec .response-button {
  background: #fff;
  color: #555;
  border: 1px solid #b6b6b6;
  border-radius: 4px;
  font:
    12px Consolas,
    monospace;
  padding: 6px 10px;
}
.open-api-spec .response-button[aria-pressed="true"] {
  border-color: var(--spec-primary);
  color: var(--spec-primary);
  font-weight: 700;
  background: #f3fafa;
}
.open-api-spec .response-button.error[aria-pressed="true"] {
  border-color: #a35d4c;
  color: #a04c39;
  background: #fff8f5;
}
.open-api-spec .response-description {
  font-size: 12px;
  color: var(--spec-muted);
  margin-bottom: 10px;
  line-height: 1.8;
}
.open-api-spec .code-box {
  background: #fafafa;
  border: 1px solid var(--spec-line);
  border-radius: 5px;
  padding: 18px;
  max-width: 100%;
}
.open-api-spec .code-box pre {
  font-size: 12px;
  line-height: 1.95;
  margin: 0;
  color: #2c4753;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.open-api-spec .code-note {
  font-size: 11px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 11px;
}
.open-api-spec .copy-button {
  font-size: 11px;
  height: 29px;
  padding: 0 11px;
}
.open-api-spec .copy-status {
  color: var(--spec-primary);
  font-size: 12px;
  margin-top: 8px;
}
.open-api-spec .back-to-list {
  display: none;
}
.open-api-spec .detail-end-note {
  font-size: 11px;
  color: #666;
  line-height: 1.9;
  margin-top: 16px;
  padding-top: 10px;
  border-top: 1px solid var(--spec-line);
}
.open-api-spec .detail-end-note a {
  color: var(--spec-primary);
  text-decoration: underline;
}
.open-api-spec .bottom-note {
  font-size: 12px;
  line-height: 1.9;
  color: #666;
  margin-top: 19px;
}
.open-api-spec .empty-results {
  margin-top: 0;
}

@container (max-width: 1050px) {
  .open-api-spec .category-tab {
    min-width: 0;
    flex: 1;
    padding: 10px;
    font-size: 15px;
  }
  .open-api-spec .split-layout {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 22px;
  }
  .open-api-spec .selected-title h2 {
    font-size: 18px;
  }
  .open-api-spec .schema-table :is(th, td) {
    padding-left: 8px;
    padding-right: 8px;
  }
}
@container (max-width: 780px) {
  .open-api-spec .category-tab {
    font-size: 13px;
    padding: 10px 6px;
    gap: 4px;
  }
  .open-api-spec .category-tab .count {
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    font-size: 10px;
  }
  .open-api-spec .search-box {
    width: 270px;
  }
  .open-api-spec .split-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 18px;
  }
  .open-api-spec .api-item {
    padding: 13px 11px;
  }
  .open-api-spec .api-item-title {
    gap: 6px;
  }
  .open-api-spec .api-item .api-method {
    min-width: 41px;
    font-size: 10px;
  }
  .open-api-spec .api-item strong {
    font-size: 12px;
  }
  .open-api-spec .api-item :is(code, .admin-label) {
    margin-left: 47px;
  }
  .open-api-spec .detail-tab {
    padding: 8px 10px;
    min-width: 0;
    flex: 1;
    font-size: 12px;
  }
}
@container (max-width: 650px) {
  .open-api-spec .category-tabs {
    gap: 0;
  }
  .open-api-spec .category-tab {
    flex: none;
    width: 25%;
    font-size: 12px;
    min-height: 40px;
    padding: 9px 4px;
    margin-bottom: 0;
  }
  .open-api-spec .category-tab[aria-pressed="true"] {
    border-color: #555;
    background: #f3fafa;
  }
  .open-api-spec .list-toolbar {
    display: block;
  }
  .open-api-spec .result-count {
    margin-bottom: 10px;
  }
  .open-api-spec .toolbar-controls {
    flex-wrap: wrap;
    gap: 12px;
  }
  .open-api-spec .list-actions {
    margin-left: auto;
  }
  .open-api-spec .filters {
    width: 100%;
    gap: 8px;
  }
  .open-api-spec .filters select {
    width: 112px;
    min-width: 112px;
    padding-left: 12px;
  }
  .open-api-spec .search-box {
    flex: 1;
    width: auto;
    min-width: 0;
    padding-right: 8px;
  }
  .open-api-spec .split-layout {
    display: block;
  }
  .open-api-spec .master-pane {
    position: static;
  }
  .open-api-spec .master-items {
    max-height: 275px;
  }
  .open-api-spec .detail-meta-mobile {
    display: flex;
    justify-content: flex-end;
  }
  .open-api-spec .detail-pane {
    margin-top: 20px;
  }
  .open-api-spec .selected-title {
    gap: 10px;
  }
  .open-api-spec .selected-title h2 {
    font-size: 18px;
  }
  .open-api-spec .selected-path {
    font-size: 10px;
  }
  .open-api-spec .detail-tab {
    min-height: 40px;
  }
  .open-api-spec .schema-table {
    min-width: 340px;
  }
  .open-api-spec .schema-table :is(th, td) {
    padding: 8px 5px;
    font-size: 10px;
  }
  .open-api-spec .schema-table code {
    font-size: 10px;
  }
  .open-api-spec .schema-table .required-column {
    width: 33px;
  }
  .open-api-spec .code-box {
    padding: 14px;
  }
  .open-api-spec .code-box pre {
    font-size: 10px;
  }
  .open-api-spec .back-to-list {
    display: inline-block;
    font-size: 11px;
    color: var(--spec-primary);
    text-decoration: underline;
  }
}
@container (max-width: 430px) {
  .open-api-spec .category-tab {
    width: calc(100% / 3);
  }
}
@media (max-width: 800px) {
  .open-api-spec-page .help-badge-popup {
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    width: 210px;
    max-width: calc(100vw - 30px);
    margin: 0;
    translate: none;
    white-space: normal;
  }
  .open-api-spec-page .help-badge-popup::before {
    top: -8px;
    right: 6px;
    border-color: transparent;
    border-bottom-color: var(--color-primary, #27869d);
    translate: none;
  }
  .open-api-spec-page .w-content {
    width: calc(100% - 30px);
  }
  .open-api-spec-page header ul {
    gap: 18px;
    font-size: 12px;
  }
  .open-api-spec-page nav > .w-content {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 14px;
  }
  .open-api-spec-page nav > .w-content > img {
    width: 140px;
    height: auto;
    margin: 0;
  }
  .open-api-spec-page .nav-main-list {
    flex-basis: 100%;
    width: 100%;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
  }
  .open-api-spec-page .nav-main-item {
    flex: none;
  }
  .open-api-spec-page .nav-main-link {
    font-size: 12px;
  }
  .open-api-spec-page .nav-sub-list {
    max-width: calc(100vw - 30px);
  }
  .open-api-spec-page .page-title-text {
    font-size: 26px;
  }
  .open-api-spec-page footer > .w-content {
    height: auto;
    gap: 10px;
  }
  .open-api-spec-page footer > .w-content > div {
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
  }
  .open-api-spec-page footer > .w-content > div > a {
    width: auto;
    padding: 8px 15px;
    font-size: 11px;
  }
  .open-api-spec-page footer > .w-content > div > img {
    width: 115px;
  }
  .open-api-spec-page footer > .w-content > div > div {
    margin: 0;
    font-size: 11px;
    gap: 12px;
  }
  .open-api-spec-page footer > .w-content > span {
    align-self: flex-start;
    font-size: 10px;
  }
}

/* Copy controls for the public specification. */
.open-api-spec .copy-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.open-api-spec .copy-title-row > .selected-title {
  min-width: 0;
}
.open-api-spec .spec-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 6px;
  height: 32px;
  padding: 0 11px;
  border: 1px solid #bbc9ce;
  border-radius: 5px;
  background: #fff;
  color: #385c6b;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}
.open-api-spec .spec-copy:hover {
  border-color: var(--spec-primary);
  background: #f5fafb;
}
.open-api-spec .spec-copy svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.open-api-spec .copy-primary {
  min-width: 133px;
  border-color: var(--spec-primary);
  background: var(--spec-primary);
  color: #fff;
}
.open-api-spec .copy-primary:hover {
  background: #24798d;
  color: #fff;
}
.open-api-spec .copy-path-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 12px;
  padding: 9px 10px 9px 13px;
  background: var(--spec-soft);
  border-radius: 4px;
}
.open-api-spec .copy-path-row .selected-path {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 5px 0;
  background: transparent;
  line-height: 1.85;
}
.open-api-spec .copy-path-row .spec-copy {
  min-width: 93px;
}
.open-api-spec .copy-path-hint {
  margin: 6px 0 0;
  font-size: 11px;
  line-height: 1.75;
  color: #68787e;
}
.open-api-spec .copy-auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}
.open-api-spec .copy-auth-row > code {
  margin: 0;
  min-width: 0;
}
.open-api-spec .copy-auth-row .spec-copy {
  height: 28px;
}
.open-api-spec .copy-field-row {
  display: flex;
  align-items: flex-start;
  gap: 5px;
}
.open-api-spec .copy-field-row > code {
  flex: 1;
  min-width: 0;
}
.open-api-spec .copy-icon-only {
  width: 23px;
  min-width: 23px;
  height: 23px;
  padding: 3px;
  border-color: transparent;
  background: transparent;
  color: #78929d;
}
.open-api-spec .copy-icon-only:hover {
  border-color: #b9d2dc;
  color: var(--spec-primary);
  background: #edf6f8;
}
.open-api-spec .copy-icon-only svg {
  width: 13px;
  height: 13px;
}
.open-api-spec .copy-body-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}
.open-api-spec .copy-body-actions .spec-copy {
  height: 28px;
}
.open-api-spec .copy-json-preview {
  margin-top: 10px;
  font-size: 11px;
  color: #587580;
}
.open-api-spec .copy-json-preview summary {
  width: fit-content;
  cursor: pointer;
  padding: 5px 0;
}
.open-api-spec .copy-json-preview pre {
  background: #f7f9fa;
  color: #325262;
  border: 1px solid #dce4e7;
  border-radius: 4px;
  padding: 12px 14px;
  margin: 7px 0 0;
  font-size: 11px;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.open-api-spec .copy-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 13px 14px;
  margin: 0 0 12px;
  list-style: none;
  background: #f3f8f9;
  border: 1px solid #d6e5e9;
  border-radius: 5px;
}
.open-api-spec .copy-steps li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
}
.open-api-spec .copy-steps b {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #dfeff3;
  color: #267588;
  font-size: 10px;
}
.open-api-spec .copy-steps strong {
  display: block;
  font-size: 11px;
  line-height: 1.8;
  font-weight: 600;
}
.open-api-spec .copy-steps span {
  display: block;
  font-size: 10px;
  color: #607a85;
  line-height: 1.8;
  margin-top: 2px;
}
.open-api-spec .spec-copy.copied {
  background: #ecf7f0;
  border-color: #91bea2;
  color: #347750;
}
.open-api-spec .copy-primary.copied {
  background: #367959;
  color: #fff;
  border-color: #367959;
}
.open-api-copy-toast {
  position: fixed;
  z-index: 100;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 12px);
  max-width: calc(100% - 32px);
  width: max-content;
  padding: 10px 18px;
  border-radius: 6px;
  background: #254c5e;
  box-shadow: 0 4px 20px #19394a22;
  color: #fff;
  font-size: 12px;
  line-height: 1.8;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.15s,
    transform 0.15s;
}
.open-api-copy-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.open-api-copy-fallback {
  position: fixed;
  margin: auto;
  width: min(620px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 24px;
  border: 1px solid #d4e0e5;
  border-radius: 9px;
  background: #fff;
  color: #294653;
}
.open-api-copy-fallback::backdrop {
  background: #163f5166;
}
.open-api-copy-fallback h2 {
  font-size: 19px;
  margin: 0 0 12px;
}
.open-api-copy-fallback p {
  font-size: 12px;
}
.open-api-copy-fallback textarea {
  display: block;
  width: 100%;
  height: 220px;
  margin: 15px 0;
  padding: 12px;
  font:
    12px/1.8 Consolas,
    monospace;
  border: 1px solid #bacbd3;
  border-radius: 5px;
}
.open-api-copy-fallback button {
  width: auto;
  height: auto;
  padding: 8px 20px;
  border: 1px solid #b7c9d0;
  border-radius: 5px;
  background: #f3f8f9;
  color: #294653;
  font-size: 12px;
}
@container (max-width: 780px) {
  .open-api-spec .copy-title-row {
    align-items: flex-start;
  }
  .open-api-spec .copy-steps {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .open-api-spec .copy-steps span {
    margin-top: 0;
  }
}
@container (max-width: 650px) {
  .open-api-spec .copy-path-row {
    padding: 8px 10px;
    gap: 8px;
  }
  .open-api-spec .copy-path-row .spec-copy {
    min-width: 80px;
    font-size: 10px;
    padding: 0 8px;
    height: 30px;
  }
  .open-api-spec .copy-title-row .copy-primary {
    min-width: 122px;
  }
  .open-api-spec .copy-field-row {
    gap: 2px;
  }
  .open-api-spec .copy-icon-only {
    min-width: 20px;
    width: 20px;
    height: 22px;
    padding: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .open-api-copy-toast {
    transition: none;
  }
}
