:root {
  font-family:"Malgun Gothic","Segoe UI",sans-serif;
  color:#253249;
  background:#fff;
  font-synthesis:none
}
* {
  box-sizing:border-box
}
body {
  margin:0;
  display:grid;
  grid-template-columns:218px 302px minmax(0,1fr);
  height:100vh
}
button,input {
  font:inherit
}
button,a {
  -webkit-tap-highlight-color:transparent
}
a {
  color:inherit;
  text-decoration:none
}
button {
  cursor:pointer
}
button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible {
  outline:3px solid #e8b53e;
  outline-offset:2px
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0,0,0,0)
}
.skip {
  position:fixed;
  top:-60px;
  z-index:9;
  padding:12px;
  background:#ffce43
}
.skip:focus {
  top:0
}
.primary {
  background:#191f2b;
  color:#c4ccda;
  display:flex;
  flex-direction:column;
  padding:28px 14px 18px;
  overflow:auto
}
.brand {
  display:flex;
  align-items:center;
  gap:12px;
  padding:0 7px 30px;
  color:white;
  font-size:24px;
  font-weight:700
}
.brand-mark {
  color:#ffbc20;
  font-size:29px;
  letter-spacing:-3px;
  font-style:italic
}
.brand small {
  display:block;
  font-size:9px;
  letter-spacing:2px;
  font-weight:400;
  color:#9ba7bb;
  margin-top:7px
}
.nav-label {
  font-size:10px;
  color:#7e8ba1;
  padding-left:12px;
  letter-spacing:1px;
  margin:10px 0 13px
}
#categories {
  display:grid;
  gap:5px
}
#categories button {
  border:0;
  text-align:left;
  background:transparent;
  color:inherit;
  padding:13px 11px;
  font-size:12px;
  line-height:1.65;
  border-radius:6px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:6px
}
#categories button:hover {
  background:#252e3e
}
#categories button.active {
  color:#ffcf5c;
  background:#333748;
  box-shadow:inset 3px 0 #ffbf25
}
#categories small {
  color:#8794aa;
  font-size:10px
}
.primary-bottom {
  margin-top:auto;
  padding:35px 10px 0
}
.primary-bottom a {
  display:block;
  margin-top:14px;
  font-size:12px
}
.primary-bottom p {
  font-size:10px;
  color:#69798f;
  line-height:1.8;
  margin-top:28px
}
.secondary {
  display:flex;
  flex-direction:column;
  border-right:1px solid #e3e7ee;
  min-height:0;
  background:#fafbfd
}
.list-head {
  padding:28px 19px 14px;
  border-bottom:1px solid #e3e7ee
}
.eyebrow {
  font-size:9px;
  letter-spacing:1.8px;
  color:#8a96a9
}
.list-head h1 {
  font-size:18px;
  line-height:1.6;
  margin:12px 0 19px
}
.search-box input {
  width:100%;
  border:1px solid #d9dfe8;
  background:#fff;
  border-radius:5px;
  padding:10px;
  font-size:11px;
  color:#29354b
}
.list-head p {
  font-size:11px;
  color:#8792a5;
  margin:11px 0 0
}
#api-list {
  overflow:auto;
  flex:1;
  padding:10px
}
details {
  margin-bottom:8px
}
summary {
  font-size:11px;
  font-weight:700;
  color:#68788f;
  padding:12px 6px;
  cursor:pointer
}
#api-list a {
  display:block;
  padding:11px 12px;
  border-radius:5px;
  margin-bottom:3px;
  border-left:2px solid transparent
}
#api-list a:hover {
  background:#f0f3f8
}
#api-list a.active {
  background:#e9effa;
  border-left-color:#607eb4
}
#api-list a span {
  display:block;
  font-size:12px;
  line-height:1.6
}
#api-list a small {
  display:block;
  color:#8694aa;
  font-size:10px;
  margin-top:4px;
  letter-spacing:.4px
}
.list-footer {
  padding:16px 19px;
  border-top:1px solid #e3e7ee;
  color:#8792a5;
  font-size:10px
}
main {
  overflow:auto;
  scroll-behavior:smooth;
  min-width:0
}
.document-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid #e8ecf1;
  padding:15px 32px;
  gap:14px
}
.document-top p {
  font-size:11px;
  color:#8490a5;
  margin:0
}
.document-top button,.document-bottom button {
  background:white;
  color:#536580;
  border:1px solid #dce2eb;
  border-radius:5px;
  font-size:11px;
  padding:8px 12px;
  white-space:nowrap
}
article {
  padding:44px 38px 32px;
  max-width:1300px;
  margin:auto
}
.doc-label {
  display:flex;
  align-items:center;
  gap:15px;
  font-size:10px;
  color:#8a96a8;
  letter-spacing:1px
}
.doc-label span:first-child {
  color:#977319;
  background:#fff6dd;
  padding:6px 9px;
  border-radius:3px;
  font-weight:700
}
h2 {
  font-size:26px;
  line-height:1.5;
  margin:18px 0 8px;
  letter-spacing:-.6px
}
#group {
  font-size:12px;
  color:#8190a5;
  margin:0 0 25px
}
.metadata {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:22px 0
}
.meta {
  background:#f6f8fb;
  border:1px solid #e8ecf2;
  border-radius:6px;
  padding:12px 16px;
  min-width:150px
}
.meta small {
  display:block;
  font-size:10px;
  color:#8b96a7;
  margin-bottom:6px
}
.meta strong {
  font-size:13px;
  font-weight:600
}
.reference-note {
  font-size:11px;
  line-height:1.8;
  color:#758297;
  border-left:3px solid #e5c572;
  padding:8px 12px;
  background:#fdfbf5
}
#anchors {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:24px 0
}
#anchors button {
  border:1px solid #dce4f0;
  background:white;
  color:#516685;
  padding:7px 12px;
  border-radius:20px;
  font-size:11px
}
.spec {
  font-size:12px;
  line-height:1.8;
  overflow-wrap:anywhere
}
.spec p {
  margin:5px 0
}
.spec div {
  margin:0
}
.spec table {
  width:100%;
  border-collapse:collapse;
  margin:16px 0 28px;
  font-size:11px
}
.spec td,.spec th {
  padding:9px 10px;
  border:1px solid #dfe5ee;
  vertical-align:top
}
.spec tr:first-child {
  background:#eef2f7;
  font-weight:600;
  color:#405473
}
.spec tr:nth-child(even) {
  background:#fafbfd
}
.spec .table-scroll {
  overflow-x:auto
}
.spec .table-scroll table {
  min-width:570px
}
.spec .section-heading {
  font-size:18px;
  color:#2b405f;
  font-weight:700;
  border-bottom:2px solid #dfe6ef;
  padding:20px 0 10px;
  margin-top:24px;
  scroll-margin-top:20px
}
.spec a {
  color:#3e65a0;
  text-decoration:underline
}
.spec img {
  max-width:100%;
  height:auto
}
.provenance {
  border-top:1px solid #e2e8f0;
  padding-top:18px;
  margin-top:35px;
  font-size:10px;
  color:#8b96a7;
  line-height:1.9
}
.document-bottom {
  display:flex;
  justify-content:space-between;
  margin-top:28px;
  gap:10px
}
button:disabled {
  opacity:.4;
  cursor:default
}
.empty {
  padding:18px;
  color:#7b879c;
  font-size:12px;
  line-height:1.8
}
@media(min-width:1700px) {
  body {
    grid-template-columns:230px 330px minmax(0,1fr)
  }
  article {
    padding:48px 55px
  }
}
@media(max-width:1100px) {
  body {
    grid-template-columns:180px 245px minmax(0,1fr)
  }
  article {
    padding:28px 22px
  }
  h2 {
    font-size:23px
  }
  .brand {
    font-size:21px
  }
  .document-top {
    padding:15px 20px
  }
}
@media(max-width:760px) {
  body {
    height:auto;
    display:block
  }
  .primary {
    padding:18px 12px
  }
  .brand {
    padding-bottom:15px
  }
  .nav-label,.primary-bottom {
    display:none
  }
  #categories {
    display:flex;
    overflow:auto;
    gap:8px
  }
  #categories button {
    flex-shrink:0;
    max-width:200px;
    padding:8px 12px
  }
  .secondary {
    max-height:350px;
    border-bottom:1px solid #ddd
  }
  .list-head {
    padding:16px
  }
  .list-head h1 {
    margin:5px 0 10px
  }
  main {
    overflow:visible
  }
  article {
    padding:25px 16px
  }
  .document-top {
    padding:14px 16px
  }
  .doc-label {
    flex-wrap:wrap
  }
  .meta {
    min-width:120px;
    flex:1
  }
  .spec table {
    font-size:11px
  }
}
@media print {
  body {
    display:block;
    height:auto
  }
  .primary,.secondary,.document-top,#anchors,.document-bottom,.skip {
    display:none
  }
  main {
    overflow:visible
  }
  article {
    padding:0;
    max-width:none
  }
  .spec .table-scroll {
    overflow:visible
  }
  .spec .table-scroll table {
    min-width:0
  }
  table {
    break-inside:auto
  }
  tr {
    break-inside:avoid
  }
}

.primary-bottom button { width:100%; text-align:left; border:1px solid #465166; background:#293345; color:#fff; border-radius:6px; padding:12px; }
.test-panel { margin-top:36px; padding:24px; border:1px solid #dce3ed; border-radius:10px; background:#fafbfd; }
.test-header { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.test-header h3 { margin:0; font-size:18px; }
#test-auth { font-size:11px; color:#7b879a; }
.test-panel label, #settings-dialog label { display:block; font-size:12px; color:#546780; margin:18px 0 8px; }
.test-panel input, .test-panel select, .test-panel textarea, #settings-dialog input { display:block; width:100%; margin-top:8px; padding:11px; border:1px solid #d4deeb; border-radius:5px; font:inherit; background:white; color:#253249; }
.test-panel textarea { font-family:Consolas,monospace; font-size:12px; line-height:1.7; resize:vertical; }
.test-panel p, #settings-dialog p { color:#718099; font-size:12px; line-height:1.8; }
.test-actions { display:flex; gap:9px; margin:18px 0 12px; flex-wrap:wrap; }
.test-actions button, #settings-close { border:1px solid #d6deea; border-radius:5px; padding:10px 15px; background:white; color:#435979; font-size:12px; }
#test-send, #settings-issue { color:white; background:#31486c; border-color:#31486c; }
#test-response { white-space:pre-wrap; overflow-wrap:anywhere; overflow:auto; max-height:500px; padding:15px; background:#edf1f7; border-radius:5px; font-size:12px; line-height:1.7; }
#settings-dialog { width:min(540px,94vw); border:1px solid #d8e0ec; border-radius:12px; padding:28px; color:#26354b; }
#settings-dialog::backdrop { background:#101c32a6; }
#settings-dialog h2 { margin:0; font-size:23px; }
.portal-link { display:inline-block; color:#486b9f; font-size:12px; margin:12px 0; text-decoration:underline; }
[hidden] { display:none !important; }
@media(max-width:760px) { .primary-bottom { display:block; padding-top:12px; } .primary-bottom p { display:none; } .test-panel { padding:16px; } }
@media print { .test-panel, #settings-dialog { display:none; } }

/* Distinct, collapsible submenu groups. */
#api-list { padding: 12px; }
#api-list .api-group { margin: 0 0 14px; border: 1px solid #d2dce9; border-radius: 8px; background: #fff; overflow: hidden; }
#api-list .api-group > summary { display: flex; align-items: center; gap: 10px; padding: 15px 12px; color: #2b466b; background: #e7eef8; list-style: none; border-bottom: 1px solid transparent; }
#api-list .api-group > summary::-webkit-details-marker { display: none; }
#api-list .api-group > summary::before { content: '›'; display: block; font-size: 22px; line-height: 1; color: #607ca5; transition: transform .15s; }
#api-list .api-group[open] > summary::before { transform: rotate(90deg); }
#api-list .api-group[open] > summary { border-bottom-color: #d2dce9; }
.group-heading { flex: 1; min-width: 0; }
.group-heading strong { display: block; font-size: 13px; line-height: 1.6; }
.group-heading small { display: block; margin-top: 3px; font-size: 11px; color: #657c9d; font-weight: 400; }
.group-count { padding: 3px 8px; border-radius: 12px; background: white; color: #486b9b; font-size: 11px; }
#api-list .api-group a { margin: 0; padding: 13px 14px 13px 24px; border-radius: 0; border-bottom: 1px solid #e9edf3; border-left: 3px solid transparent; }
#api-list .api-group a:last-child { border-bottom: 0; }
#api-list .api-group a.active { background: #edf3ff; border-left-color: #3764a7; }
#api-list .api-group a.active span { color: #284d85; font-weight: 700; }

/* Persistent document status and section navigation. */
.document-top { position: sticky; top: 0; z-index: 5; background: #fffffffa; min-height: 62px; box-shadow: 0 2px 8px #23355008; }
.top-actions { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.document-top .token-badge { font-weight: 600; color: #69778d; background: #f0f3f7; border-color: #dce3ec; }
.document-top .token-badge[data-state="issued"] { color: #18704f; background: #eaf7f0; border-color: #a8d4bd; }
.document-top .token-badge[data-state="issuing"] { color: #355d9c; background: #edf3ff; }
.document-top .token-badge[data-state="error"], .document-top .token-badge[data-state="expired"] { color: #a33f35; background: #fff0ed; border-color: #edc7c1; }
#anchors.floating-menu { position: fixed; right: 18px; top: 160px; z-index: 6; display: grid; gap: 7px; width: 112px; margin: 0; padding: 12px 9px; border: 1px solid #d8e1ee; border-radius: 10px; background: #fff; box-shadow: 0 5px 20px #23395714; }
.floating-label { color: #8794a9; font-size: 10px; padding: 2px 7px 7px; }
#anchors.floating-menu button { text-align: left; border: 0; border-radius: 5px; padding: 10px 7px; font-size: 11px; background: #f4f6fa; color: #64748c; }
#anchors.floating-menu button.active { background: #e9effb; color: #285796; font-weight: 700; box-shadow: inset 3px 0 #557bb7; }
#anchors.floating-menu button:disabled { opacity: .4; }
#document article { padding-right: 155px; }
.spec .section-heading, #api-test { scroll-margin-top: 90px; }
.template-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 20px; font-size: 12px; color: #405575; }
#reset-template { border: 1px solid #d7dfeb; padding: 7px 10px; border-radius: 5px; font-size: 11px; background: white; color: #657991; }
.test-panel .template-note { font-size: 11px; }
.output-template { margin-top: 22px; border: 1px solid #dce4f0; border-radius: 6px; background: white; }
.output-template summary { padding: 13px; color: #476386; background: #edf2f9; border-radius: 6px; }
.spec .contract-table { width: 100%; }
.spec .contract-table th { background: #edf2f9; color: #405575; text-align: left; white-space: nowrap; }
.spec .contract-table td { vertical-align: top; overflow-wrap: anywhere; }
.spec .contract-table tbody tr:first-child { background: white; font-weight: 400; color: inherit; }
.spec .contract-table code { color: #254f7d; font: 12px/1.6 Consolas, monospace; }
.field-parent { display: block; font: 10px/1.5 Consolas, monospace; color: #7b8ba2; }
.spec .record-row td { background: #f2f6fc; font-weight: 600; }
.contract-empty { padding: 18px; background: #f5f7fa; border: 1px solid #e0e6ef; border-radius: 7px; color: #65758c; }
#test-output-template { padding: 14px; margin: 0; max-height: 280px; overflow: auto; font: 12px/1.7 Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
#settings-dialog { max-height: calc(100vh - 40px); overflow: auto; }
.header-settings { border: 1px solid #dce3ed; border-radius: 7px; padding: 12px 16px; margin-top: 22px; }
.header-settings legend { color: #617590; font-size: 12px; }
@media (max-width: 1100px) {
  #document article { padding-right: 22px; padding-bottom: 105px; }
  #anchors.floating-menu { top: auto; bottom: 15px; right: 16px; width: auto; display: flex; align-items: center; padding: 8px; gap: 7px; }
  .floating-label { display: none; }
  .document-top { flex-wrap: wrap; gap: 9px; }
}
.broker-label { font-size: 11px; color: #aab8ce; margin: 0 9px 8px; }
#broker-select { width: 100%; border: 1px solid #485268; border-radius: 7px; background: #293244; color: white; padding: 11px 9px; margin-bottom: 14px; font: inherit; font-size: 12px; }
.brand { padding-bottom: 20px; }
.brand-mark { letter-spacing: -1px; font-size: 24px; max-width: 64px; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  #document article { padding-right: 16px; }
  .document-top { position: sticky; }
  #anchors.floating-menu { bottom: 10px; right: 10px; }
  .top-actions { margin-left: auto; }
}
@media print {
  #anchors.floating-menu, .document-top { display: none; }
  #document article { padding: 0; }
}

.api-endpoint{font-family:Consolas,monospace;background:#eef3f9;border:1px solid #d8e1ee;border-radius:7px;padding:12px 16px;overflow-wrap:anywhere;}

/* One broker name, with enough room for Korean names at every sidebar width. */
.brand { display:block; font-size:22px; line-height:1.4; padding:0 7px 22px; min-width:0; }
.brand > span { display:block; min-width:0; }
#broker-name { display:block; word-break:keep-all; overflow-wrap:anywhere; }
.brand small { margin-top:7px; white-space:normal; }
.spec-location { font-size:16px; margin:22px 0 10px; color:#415e82; }
.spec-notice { padding:12px 16px; background:#fff7e4; border-left:3px solid #e7bd54; color:#755a25; line-height:1.8; }
.source-fields td:last-child { white-space:pre-line; overflow-wrap:anywhere; }
.source-fields td:first-child { overflow-wrap:anywhere; }
.source-fields code { white-space:pre-wrap; }

.spec .table-scroll .source-fields { min-width:840px; table-layout:fixed; }
.spec .source-fields th:nth-child(1) { width:200px; }
.spec .source-fields th:nth-child(2) { width:140px; }
.spec .source-fields th:nth-child(3) { width:85px; }
.spec .source-fields th:nth-child(4) { width:60px; }
.spec .source-fields th:nth-child(5) { width:60px; }
.spec-provenance { color:#58677d; font-size:13px; line-height:1.7; overflow-wrap:anywhere; }
.source-detail { margin:18px 0; border:1px solid #dce3ed; border-radius:8px; padding:14px 16px; }
.source-detail > summary { cursor:pointer; font-weight:600; color:#334c6e; overflow-wrap:anywhere; }
.source-detail > p { white-space:pre-wrap; line-height:1.8; overflow-wrap:anywhere; }
.transport-field { color:#718096; background:#f6f8fb; }
.xml-source { max-height:480px; overflow:auto; font-size:12px; white-space:pre; background:#f4f6fa; padding:16px; }
.chm-original { margin-top:16px; overflow-wrap:anywhere; }
.chm-original img { max-width:100%; height:auto; }

.transport-filter{display:block;margin-top:12px;font-size:12px}.transport-filter select,#settings-environment{display:block;width:100%;padding:9px;margin-top:6px;border:1px solid #cbd5e1;border-radius:6px;background:white;color:#172033}.environment-endpoints{font-size:13px;background:#f4f7fb;padding:14px;border-radius:8px}.environment-endpoints dt{font-weight:600;margin-top:8px}.environment-endpoints dd{margin:4px 0 12px;overflow-wrap:anywhere}.test-context{padding:10px 14px;border-radius:6px;background:#eaf2ff;color:#174885;font-weight:600}.test-context[data-environment="prd"]{background:#fff0df;color:#8b4400}

.live-stream{margin:20px 32px;padding:18px;border:1px solid #b7d5c8;border-radius:10px;background:#f0faf5}.live-stream[hidden]{display:none}.live-stream h3{margin:0}.live-stream p{font-size:13px}.live-stream pre{max-height:280px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.live-stream button{padding:8px 14px;cursor:pointer}

/* Favorites navigation and specification action. */
#categories .favorites-menu { margin-bottom:8px; border:1px solid #49516a; color:#f1cf77; }
.doc-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.doc-heading #title { flex:1; min-width:200px; }
#favorite-toggle { margin:14px 0; padding:10px 13px; border:1px solid #d6deea; border-radius:7px; background:#fff; color:#53647c; font-size:12px; white-space:nowrap; }
#favorite-toggle[aria-pressed="true"] { color:#8a6106; background:#fff7df; border-color:#e9c76e; }
#favorite-toggle[hidden], #favorites-status[hidden] { display:none; }
#favorites-status { color:#875b11; font-size:12px; line-height:1.6; }
#api-list a.is-favorite > span::before { content:"★ "; color:#a77b16; }
@media (max-width:760px) { .doc-heading { gap:0; } #favorite-toggle { margin-top:0; } }
@media print { #favorite-toggle, #favorites-status { display:none; } }

.token-exchange { margin-top:20px; border:1px solid #dce3ed; border-radius:8px; padding:12px; }
.token-exchange[hidden] { display:none; }
.token-exchange summary { color:#334c6e; font-weight:600; }
.token-exchange h3 { font-size:13px; margin:16px 0 8px; }
.token-exchange pre { max-height:280px; overflow:auto; white-space:pre-wrap; overflow-wrap:anywhere; background:#f4f7fb; padding:12px; border-radius:6px; font:12px/1.7 Consolas,monospace; }

#settings-dialog input[aria-invalid="true"] { border:2px solid #d32f2f; border-radius:8px; background:#fff7f7; }
#settings-dialog input[aria-invalid="true"]:focus { outline:2px solid #f7b8b8; outline-offset:2px; }
#settings-dialog .input-error { display:block; margin-top:7px; color:#c62828; font-size:12px; line-height:1.5; }
#settings-dialog .input-error[hidden] { display:none; }

.mobile-only { display:none; }
@media (max-width:760px) {
  body { width:100%; min-width:0; }
  .primary { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:6px 12px; padding:14px 16px; }
  .primary .brand { grid-column:1 / -1; padding:0 0 8px; font-size:18px; }
  .primary .brand > span { display:flex; align-items:baseline; gap:12px; }
  .primary .brand small { margin:0; font-size:10px; }
  .primary > .broker-label { grid-column:1; grid-row:2; padding:0; margin:0; font-size:12px; }
  .primary #broker-select { grid-column:1; grid-row:3; margin:0; min-width:0; min-height:44px; font-size:16px; }
  .mobile-only { display:block; }
  .mobile-category-label { grid-column:2; grid-row:2 / span 2; margin:0; color:#aab8ce; font-size:12px; }
  #mobile-category { display:block; width:100%; min-width:0; min-height:44px; margin-top:6px; padding:10px 8px; border:1px solid #485268; border-radius:7px; background:#293244; color:white; font:16px "Malgun Gothic","Segoe UI",sans-serif; }
  .primary #categories, .primary .nav-label, .primary .primary-bottom { display:none; }
  .secondary { max-height:none; min-width:0; }
  .secondary #api-list, .secondary .list-footer, .list-head .eyebrow, .list-head h1 { display:none; }
  .list-head { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:10px; padding:12px 16px; }
  .mobile-api-label { grid-column:1 / -1; color:#53647c; font-size:12px; }
  #mobile-api { display:block; width:100%; min-width:0; min-height:44px; margin-top:6px; padding:10px; border:1px solid #cbd5e1; border-radius:7px; background:white; color:#253249; font:16px "Malgun Gothic","Segoe UI",sans-serif; }
  .list-head .search-box { align-self:end; min-width:0; }
  .list-head .search-box input, .list-head .transport-filter select { min-height:44px; font-size:16px; }
  .list-head .transport-filter { margin:0; min-width:0; }
  .list-head #list-count { grid-column:1 / -1; margin:0; font-size:12px; }
  #document { width:100%; min-width:0; }
  .document-top { padding:8px 16px; min-height:60px; }
  .document-top #breadcrumb { display:none; }
  .document-top .top-actions { width:100%; margin:0; justify-content:space-between; gap:8px; }
  .document-top button { min-height:44px; font-size:12px; }
  #document article { padding:20px 16px 32px; }
  .doc-heading #title { min-width:0; flex-basis:100%; font-size:22px; overflow-wrap:anywhere; }
  #favorite-toggle { min-height:44px; margin:8px 0 12px; }
  #anchors.floating-menu { position:static; width:auto; display:flex; flex-wrap:wrap; margin:12px 0 20px; padding:8px; box-shadow:none; }
  #anchors.floating-menu button { min-height:40px; }
  .spec .table-scroll { max-width:100%; -webkit-overflow-scrolling:touch; }
  .live-stream { margin:12px 16px; padding:14px; }
  #settings-dialog { width:calc(100% - 24px); max-height:calc(100dvh - 24px); margin:auto; padding:18px; }
  #settings-dialog input, #settings-dialog select, .test-panel input, .test-panel textarea { font-size:16px; }
  .test-actions { flex-wrap:wrap; }
}
@media print { .mobile-only { display:none; } }

/* Keep unsupported API actions explicit without exposing an unusable request form. */
#test-workspace[hidden],#test-unavailable[hidden],#test-token-settings[hidden],#test-official-portal[hidden]{display:none!important}
.test-unavailable{padding:20px;border:1px solid #dce5f0;border-radius:10px;background:#f7faff;color:#526782;line-height:1.8}.test-unavailable p{margin:0 0 14px}.test-unavailable a{display:inline-flex;align-items:center;padding:9px 14px;border:1px solid #cfdded;border-radius:7px;background:white;color:#28558b;text-decoration:none;font-size:13px}.test-unavailable .test-actions{flex-wrap:wrap}

.api-source-link{display:inline-block;margin:0 0 18px;color:var(--brand-ink,#28558b);font-size:13px;text-decoration:underline;text-underline-offset:3px}.api-description{white-space:pre-line}
