:root {
  --ink: #20221e;
  --muted: #73766d;
  --subtle: #96998f;
  --border: #e9eae4;
  --background: #fff;
  --sidebar: #fafaf8;
  --soft: #f5f5f0;
  --accent: #9a7125;
  --accent-soft: #f8f0dc;
  --green: #39735a;
  --green-soft: #edf6ef;
  --purple: #7860a2;
  --purple-soft: #f2eef8;
  --topbar-height: 70px;
  --sidebar-width: 254px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--background);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font-size: 14px; line-height: 1.7; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button, input { color: inherit; }
a { color: inherit; text-decoration: none; }
svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid #b68c3d; outline-offset: 4px; }
button:disabled { cursor: default; opacity: .55; }
[hidden] { display: none !important; }
::selection { background: #eee1ba; color: #282b22; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: -64px; padding: 10px 18px; color: #fff; background: #222; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.topbar { position: fixed; z-index: 30; top: 0; left: 0; right: 0; height: var(--topbar-height); border-bottom: 1px solid var(--border); background: rgba(255,255,255,.97); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 30px; }
.topbar-brand, .brand, .topbar-actions { display: flex; align-items: center; }
.topbar-brand { gap: 17px; white-space: nowrap; }
.brand { gap: 10px; }
.brand-mark { width: 26px; height: 31px; stroke-width: 1.5; }
.brand-name { font-size: 19px; font-weight: 650; letter-spacing: -.65px; }
.brand-divider { font-size: 22px; color: #d4d6ce; font-weight: 300; }
.brand-context { color: #72766b; font-size: 13px; letter-spacing: .1px; }
.topbar-actions { gap: 23px; }
.search-trigger { display: flex; align-items: center; gap: 10px; min-width: 236px; height: 36px; padding: 0 10px 0 12px; border: 1px solid #e5e7df; border-radius: 8px; background: #fafbf8; color: #82867b; font-size: 12px; text-align: left; transition: border-color .15s, background .15s; }
.search-trigger:hover { border-color: #c9cbbf; background: #f5f6f0; }
.search-trigger svg { width: 16px; height: 16px; }
.search-trigger kbd { margin-left: auto; }
kbd { display: inline-block; padding: 1px 5px; border: 1px solid #e1e3da; border-radius: 4px; font-family: inherit; font-size: 10px; line-height: 1.6; color: #8b8e83; background: #fff; }
.download-link { display: inline-flex; align-items: center; gap: 7px; color: #63675c; font-size: 12px; white-space: nowrap; }
.download-link:hover { color: var(--ink); }
.download-link svg { width: 16px; height: 16px; }
.icon-button { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 7px; background: white; }
.mobile-menu { display: none; }
.sidebar { position: fixed; z-index: 20; top: var(--topbar-height); bottom: 0; left: 0; width: var(--sidebar-width); background: var(--sidebar); border-right: 1px solid var(--border); padding: 28px 17px 20px; display: flex; flex-direction: column; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #dbddd2 transparent; }
.sidebar-project { display: flex; align-items: center; gap: 10px; padding: 0 8px 27px; }
.project-icon { width: 31px; height: 34px; display: grid; place-items: center; background: #f1f0e8; color: #5d6053; border: 1px solid #e5e5da; border-radius: 8px; }
.project-icon svg { width: 17px; height: 19px; }
.sidebar-project strong { display: block; font-size: 12px; line-height: 1.65; letter-spacing: -.1px; font-weight: 620; }
.sidebar-project div > span { font-size: 10px; color: #989c90; }
.version-badge { margin-left: auto; background: #eeefe8; border: 1px solid #e1e3d8; border-radius: 5px; padding: 0 5px; color: #797d70; font-size: 10px; line-height: 1.7; }
.nav-group { margin-bottom: 26px; }
.nav-group-title { margin: 0 0 8px; padding: 0 10px; color: #777d70; font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.nav-link { position: relative; display: flex; align-items: center; gap: 8px; min-height: 35px; margin: 2px 0; padding: 7px 10px; border-radius: 6px; color: #6e7366; line-height: 1.5; font-size: 12px; transition: color .15s, background .15s; }
.nav-link:hover { color: #32382a; background: #f0f1e9; }
.nav-link[aria-current="page"] { background: #edece4; color: #272c20; font-weight: 600; }
.nav-link[aria-current="page"]::before { content: ""; position: absolute; left: -17px; top: 9px; bottom: 9px; width: 3px; background: #9d854b; border-radius: 0 3px 3px 0; }
.nav-link svg { width: 15px; height: 15px; opacity: .75; }
.nav-label { min-width: 0; overflow-wrap: anywhere; }
.nav-badge { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; flex: 0 0 auto; font-size: 8px; padding: 1px 4px; border-radius: 4px; line-height: 1.6; color: #3d795c; background: #e8f0e7; font-weight: 650; letter-spacing: -.2px; }
.nav-badge.write, .nav-badge[data-method="WRITE"] { color: #8a6729; background: #f4ead2; }
.nav-badge.read, .nav-badge[data-method="READ"] { color: #75608e; background: #eee9f4; }
.sidebar-footer { margin-top: auto; display: flex; gap: 8px; padding: 21px 11px 0; border-top: 1px solid #e9ebe3; }
.sidebar-footer strong { font-size: 10px; font-weight: 500; color: #757b6c; }
.sidebar-footer p { margin: 2px 0 0; font-size: 9px; color: #a2a799; }
.status-dot { flex: 0 0 auto; width: 5px; height: 5px; margin-top: 8px; border-radius: 50%; background: #939e7c; }
.sidebar-overlay { display: none; }
.main-layout { margin-left: var(--sidebar-width); padding: calc(var(--topbar-height) + 38px) 50px 0; display: grid; grid-template-columns: minmax(0, 800px) 176px; gap: 52px; justify-content: center; min-height: 100vh; outline: none; }
.article { min-width: 0; padding-bottom: 25px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; font-size: 11px; color: #9b9e93; }
.breadcrumb a:hover { color: #595e50; }
.breadcrumb > span { color: #c4c8ba; }
.article-meta { display: flex; align-items: center; gap: 13px; margin-bottom: 13px; font-size: 10px; color: #9a9e91; }
.reference-badge { display: inline-flex; align-items: center; gap: 5px; background: #f5f1e5; color: #8d783e; padding: 3px 8px; border-radius: 5px; font-size: 10px; font-weight: 500; }
.article-heading { margin-bottom: 33px; }
h1 { margin: 0; font-size: clamp(28px, 2.7vw, 38px); line-height: 1.35; font-weight: 650; letter-spacing: -1.1px; color: #25291f; }
.page-description { max-width: 620px; margin: 14px 0 0; color: #72766b; font-size: 13px; line-height: 1.95; }
.doc-content { color: #5c6254; font-size: 14px; line-height: 1.9; overflow-wrap: break-word; }
.doc-content > :first-child { margin-top: 0; }
.doc-content h2 { position: relative; margin: 43px 0 17px; padding-top: 3px; color: #2c3225; font-size: 21px; font-weight: 620; line-height: 1.5; letter-spacing: -.45px; scroll-margin-top: 100px; }
.doc-content h3 { margin: 28px 0 12px; color: #3d4434; font-size: 15px; font-weight: 620; scroll-margin-top: 100px; }
.doc-content h4 { margin: 23px 0 10px; font-size: 13px; color: #424a37; }
.doc-content p { margin: 13px 0; }
.doc-content ul, .doc-content ol { padding-left: 21px; margin: 15px 0; }
.doc-content li { padding-left: 3px; margin: 7px 0; }
.doc-content li::marker { color: #9ca48d; }
.doc-content strong { color: #3f4734; font-weight: 620; }
.doc-content a:not(.endpoint-card):not(.page-link):not(.copy-button) { color: #8b712f; text-decoration: underline; text-decoration-color: #d9cda9; text-underline-offset: 3px; }
.doc-content a:hover { color: #544118; text-decoration-color: #9c8241; }
.doc-content h2 a, .doc-content h3 a { color: inherit; text-decoration: none; }
.doc-content hr { height: 1px; margin: 32px 0; border: 0; background: var(--border); }
.doc-content code { padding: 2px 5px; border: 1px solid #eceee5; background: #f7f8f3; border-radius: 4px; color: #535e43; font-size: .88em; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; overflow-wrap: anywhere; }
.doc-content pre { margin: 0; padding: 18px 20px 20px; overflow: auto; tab-size: 2; line-height: 1.8; font-size: 12px; scrollbar-width: thin; scrollbar-color: #cbd1c2 transparent; }
.doc-content pre code { display: block; width: max-content; min-width: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; color: #4d5840; font-size: inherit; line-height: inherit; overflow-wrap: normal; }
.code-block { margin: 21px 0; overflow: hidden; border: 1px solid #e4e7dc; border-radius: 9px; background: #f8f9f5; }
.code-toolbar { display: flex; align-items: center; justify-content: space-between; min-height: 35px; padding: 0 12px 0 17px; background: #f1f3ec; border-bottom: 1px solid #e5e8de; }
.code-language { color: #8b937f; font-size: 9px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; text-transform: uppercase; letter-spacing: .9px; }
.copy-button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 46px; min-height: 27px; border: 0; border-radius: 4px; background: transparent; color: #8a927c; font-size: 9px; }
.copy-button:hover { background: #e7ebde; color: #3d4d2b; }
.copy-button svg { width: 12px; height: 12px; }
.token-key { color: #586c45; }
.token-string { color: #9a6d42; }
.token-number { color: #7d68a1; }
.token-boolean { color: #9b6a40; }
.token-comment { color: #969d8a; }
.table-wrap { margin: 22px 0; overflow-x: auto; border: 1px solid #e6e9df; border-radius: 8px; scrollbar-width: thin; scrollbar-color: #d1d6c7 transparent; }
.doc-content table { width: 100%; border-collapse: collapse; border-spacing: 0; margin: 0; font-size: 12px; line-height: 1.8; }
.doc-content th { color: #727c62; background: #f7f8f3; font-weight: 600; text-align: left; padding: 11px 14px; border-bottom: 1px solid #e4e8db; white-space: nowrap; }
.doc-content td { padding: 12px 14px; border-bottom: 1px solid #ecefe5; vertical-align: top; min-width: 105px; }
.doc-content tr:last-child td { border-bottom: 0; }
.doc-content td:first-child { color: #4e5a40; }
.doc-content td code { font-size: 11px; white-space: normal; word-break: normal; }
.doc-content tbody tr:hover { background: #fdfefb; }
.doc-content blockquote, .callout, .info-callout { margin: 22px 0; padding: 15px 18px; border: 1px solid #e9dfbf; border-radius: 8px; background: #fdfaf1; color: #8e7a49; font-size: 12px; line-height: 1.9; }
.doc-content blockquote p, .callout p, .info-callout p { margin: 5px 0; }
.doc-content blockquote strong, .callout strong, .info-callout strong { color: #827044; }
.callout > :first-child, .info-callout > :first-child { margin-top: 0; }
.callout > :last-child, .info-callout > :last-child { margin-bottom: 0; }
.callout-title { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 5px; }
.method-badge { display: inline-flex; align-items: center; justify-content: center; padding: 2px 6px; border-radius: 5px; font-size: 9px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 650; letter-spacing: .15px; line-height: 1.7; background: var(--green-soft); color: var(--green); }
.method-badge.read, .method-badge[data-method="READ"] { background: var(--purple-soft); color: var(--purple); }
.method-badge.write, .method-badge[data-method="WRITE"] { background: var(--accent-soft); color: var(--accent); }
.toc { position: sticky; top: 108px; align-self: start; margin-top: 12px; padding-left: 19px; border-left: 1px solid var(--border); max-height: calc(100vh - 150px); overflow: auto; scrollbar-width: thin; scrollbar-color: #dce0d4 transparent; }
.toc-title { color: #858e76; font-size: 10px; font-weight: 500; letter-spacing: .6px; margin: 0 0 10px; }
.toc a { display: block; padding: 5px 0; color: #7c8570; font-size: 10px; line-height: 1.7; transition: color .15s; }
.toc a:hover, .toc a.active, .toc a[aria-current="location"] { color: #697752; }
.toc a.level-3, .toc a.toc-sub { padding-left: 10px; }
.page-footer { margin-top: 47px; padding-top: 23px; border-top: 1px solid var(--border); display: flex; gap: 16px; justify-content: space-between; }
.page-footer > a { flex: 1; min-width: 0; padding: 15px 17px; border: 1px solid var(--border); border-radius: 8px; transition: border-color .15s, background .15s; }
.page-footer > a:hover { background: #fafbf7; border-color: #d6dccb; }
.page-footer > a:last-child { text-align: right; }
.page-footer .direction, .page-footer small { display: block; font-size: 10px; color: #a0a794; }
.page-footer strong, .page-footer .page-link-title { display: block; font-size: 12px; color: #626f50; font-weight: 500; margin-top: 2px; }
.article-footer { margin-top: 38px; padding: 15px 0 5px; display: flex; gap: 16px; justify-content: space-between; color: #b0b5a7; font-size: 9px; }
.overview-hero { padding: 23px 25px; border: 1px solid #e3e7d9; border-radius: 10px; background: linear-gradient(115deg, #f5f7f0, #fafbf8 72%); margin-bottom: 26px; }
.overview-hero h2 { margin-top: 6px; font-size: 24px; }
.overview-hero p { max-width: 570px; font-size: 12px; color: #727d61; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: #7b8b64; letter-spacing: 1.5px; font-size: 9px; font-weight: 600; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 5px; height: 5px; background: #b9aa71; border-radius: 50%; }
.overview-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 24px; padding-top: 19px; border-top: 1px solid #e2e6d9; }
.stat strong, .stat .stat-value { display: block; color: #50603d; font-weight: 600; font-size: 21px; line-height: 1.4; letter-spacing: -.4px; }
.stat span, .stat .stat-label { color: #778265; font-size: 10px; }
.endpoint-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin: 21px 0 31px; }
.endpoint-card { display: block; padding: 18px; border: 1px solid #e4e8dc; border-radius: 9px; background: #fff; transition: border-color .16s, box-shadow .16s, transform .16s; text-decoration: none !important; }
.endpoint-card:hover { border-color: #bbc6a9; box-shadow: 0 4px 15px rgba(57,73,35,.035); transform: translateY(-1px); }
.endpoint-card h3 { margin: 13px 0 7px; font-size: 13px; color: #3c482e; }
.endpoint-card p { margin: 8px 0 0; font-size: 12px; color: #727c64; line-height: 1.85; }
.endpoint-card .endpoint-path { display: block; margin-top: 10px; color: #63744e; font-size: 11px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.endpoint-card .card-arrow { float: right; color: #b7bfa9; font-size: 18px; line-height: 1; }
.endpoint-card .method-badge + .endpoint-path { margin-top: 12px; }
.flow-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid #e5e9dd; border-radius: 9px; margin: 20px 0 28px; overflow: hidden; }
.flow-step { position: relative; padding: 20px 18px; min-width: 0; }
.flow-step + .flow-step { border-left: 1px solid #e9eddf; }
.flow-step .step-number { display: block; color: #c2c9b5; font-size: 10px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; margin-bottom: 10px; }
.flow-step strong, .flow-step h3 { display: block; margin: 0 0 5px; font-size: 12px; font-weight: 600; color: #596a42; }
.flow-step p { font-size: 11px; line-height: 1.85; margin: 0; color: #737e64; }
.search-dialog { width: min(650px, calc(100% - 32px)); max-height: min(650px, calc(100dvh - 90px)); padding: 0; margin: 100px auto auto; border: 1px solid #dce2d1; border-radius: 13px; background: #fff; color: var(--ink); box-shadow: 0 25px 100px rgba(30,40,18,.2); overflow: hidden; }
.search-dialog::backdrop { background: rgba(27,33,20,.3); backdrop-filter: blur(3px); }
.search-dialog-header { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-bottom: 1px solid #e8ecdf; }
.search-dialog-header > svg { color: #8e9b7a; width: 19px; height: 19px; }
#search-input { width: 100%; min-width: 0; border: 0; background: transparent; outline: 0; font-size: 14px; line-height: 1.8; color: #475636; padding: 4px 0; }
#search-input::placeholder { color: #a6ae9a; }
#search-input::-webkit-search-cancel-button { cursor: pointer; }
.search-close { border: 1px solid #dfe5d5; border-radius: 5px; padding: 2px 5px; background: #fafbf8; font-size: 10px; color: #9aa68b; }
.search-results { min-height: 100px; max-height: min(450px, calc(100dvh - 240px)); padding: 10px; overflow-y: auto; scrollbar-width: thin; }
.search-result { display: block; padding: 12px 14px; border-radius: 7px; color: #64734f; text-decoration: none; border: 1px solid transparent; }
.search-result:hover, .search-result:focus-visible, .search-result.is-selected { background: #f4f7ee; border-color: #e2e8d8; outline: none; }
.search-result strong, .search-result .search-title { display: block; font-size: 12px; color: #40532b; font-weight: 600; margin-bottom: 4px; }
.search-result p, .search-result .search-excerpt { display: block; margin: 0; font-size: 11px; color: #738161; line-height: 1.8; }
.search-result > span { display: block; font-size: 12px; line-height: 1.8; }
.search-result .search-result-group { margin-bottom: 4px; font-size: 10px; color: var(--muted); }
.search-hint { margin: 7px 14px 12px; font-size: 12px; color: var(--muted); }
.search-empty { padding: 25px 14px; font-size: 14px; }
.source-reference { text-decoration: underline dotted; text-underline-offset: 3px; cursor: help; }
.heading-link { margin-left: 9px; opacity: .25; font-size: .8em; }
.heading-link:hover, .heading-link:focus-visible { opacity: 1; }
.toc a.toc-level-3, .toc a.toc-level-4 { padding-left: 10px; }
.toc-empty { font-size: 11px; color: var(--muted); }
.page-footer > a > span { display: block; font-size: 11px; color: var(--muted); }
.clipboard-fallback { position: fixed; left: -9999px; top: 0; width: 1px; height: 1px; }
.search-result .search-category, .search-group { font-size: 9px; color: #a7b095; margin-bottom: 4px; }
.search-empty, .search-hint { padding: 24px 15px; color: #9ba78b; font-size: 12px; text-align: center; }
.search-result mark { background: #f0e6bf; color: #6b5a25; border-radius: 2px; padding: 0 1px; }
.search-dialog-footer { display: flex; justify-content: space-between; padding: 9px 16px; gap: 16px; border-top: 1px solid #e8eddf; background: #fafcf7; color: #a2ad94; font-size: 9px; }
.toast { position: fixed; z-index: 80; left: 50%; bottom: 28px; transform: translate(-50%, 15px); max-width: calc(100% - 32px); border-radius: 7px; padding: 10px 16px; background: #2e3c22; color: #f1f4eb; box-shadow: 0 5px 18px rgba(27,41,15,.15); font-size: 12px; opacity: 0; pointer-events: none; transition: transform .2s, opacity .2s; text-align: center; }
.toast.visible, .toast.show, .toast[data-visible="true"] { opacity: 1; transform: translate(-50%, 0); }
.not-found-page { min-height: 100vh; display: grid; place-items: center; padding: 32px; background: #fafaf7; }
.not-found { max-width: 560px; padding: 56px; border: 1px solid #e5e7df; border-radius: 14px; background: white; }
.not-found .eyebrow { margin-bottom: 17px; }
.not-found h1 { font-size: clamp(27px, 5vw, 36px); }
.not-found p { margin: 17px 0 28px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.button-link { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 18px; background: #282d21; color: #fff; border-radius: 7px; font-size: 12px; transition: background .15s; }
.button-link:hover { background: #49523b; }

@media (min-width: 1600px) {
  :root { --sidebar-width: 280px; }
  .sidebar { padding-left: 23px; padding-right: 23px; }
  .main-layout { gap: 70px; padding-left: 70px; padding-right: 70px; }
}
@media (max-width: 1200px) {
  .toc { display: none; }
  .main-layout { grid-template-columns: minmax(0, 820px); padding-left: 40px; padding-right: 40px; }
  .topbar { padding: 0 24px; }
  .search-trigger { min-width: 200px; }
}
@media (max-width: 900px) {
  :root { --topbar-height: 64px; --sidebar-width: 270px; }
  .mobile-menu { display: grid; }
  .topbar { padding: 0 19px; gap: 12px; }
  .topbar-brand { gap: 12px; }
  .brand-mark { width: 23px; height: 28px; }
  .brand-name { font-size: 17px; }
  .brand-context { font-size: 11px; }
  .brand-divider { font-size: 18px; }
  .topbar-actions { gap: 17px; }
  .search-trigger { min-width: 0; width: 34px; height: 34px; justify-content: center; padding: 0; }
  .search-trigger > span, .search-trigger > kbd { display: none; }
  .download-link > span { display: none; }
  .download-link { padding: 8px 0; }
  .sidebar { z-index: 40; transition: transform .2s ease; transform: translateX(-100%); box-shadow: 8px 0 30px rgba(40,50,28,.05); }
  body.nav-open .sidebar { transform: translateX(0); }
  body.nav-open { overflow: hidden; }
  .sidebar-overlay { position: fixed; z-index: 35; inset: var(--topbar-height) 0 0; border: 0; background: rgba(24,34,16,.28); backdrop-filter: blur(2px); }
  body.nav-open .sidebar-overlay { display: block; }
  .main-layout { margin-left: 0; padding: calc(var(--topbar-height) + 29px) 30px 0; grid-template-columns: minmax(0, 760px); }
  .breadcrumb { margin-bottom: 23px; }
  .article-heading { margin-bottom: 28px; }
  h1 { font-size: 32px; }
}
@media (max-width: 600px) {
  .topbar { padding: 0 15px; }
  .topbar-brand { gap: 10px; }
  .brand-context, .brand-divider { display: none; }
  .brand { gap: 8px; }
  .brand-name { font-size: 16px; }
  .topbar-actions { gap: 16px; }
  .main-layout { padding: calc(var(--topbar-height) + 24px) 20px 0; }
  .breadcrumb { font-size: 10px; margin-bottom: 21px; }
  .article-meta { gap: 10px; font-size: 9px; margin-bottom: 12px; }
  .reference-badge { font-size: 9px; }
  h1 { font-size: 28px; letter-spacing: -.7px; }
  .page-description { font-size: 12px; line-height: 1.95; margin-top: 11px; }
  .doc-content { font-size: 13px; line-height: 1.95; }
  .doc-content h2 { font-size: 19px; margin-top: 34px; }
  .doc-content h3 { font-size: 14px; }
  .doc-content pre { font-size: 10px; padding: 15px; }
  .doc-content table { font-size: 10px; }
  .doc-content td, .doc-content th { padding: 10px 12px; }
  .doc-content td { min-width: 110px; }
  .doc-content blockquote, .callout, .info-callout { font-size: 11px; padding: 14px 15px; }
  .endpoint-grid { grid-template-columns: 1fr; gap: 11px; }
  .endpoint-card { padding: 16px; }
  .endpoint-card h3 { margin-top: 11px; font-size: 13px; }
  .overview-hero { padding: 20px; }
  .overview-hero h2 { font-size: 22px; }
  .overview-stats { gap: 10px; margin-top: 19px; }
  .stat strong, .stat .stat-value { font-size: 20px; }
  .stat span, .stat .stat-label { font-size: 9px; }
  .flow-strip { grid-template-columns: 1fr; }
  .flow-step { padding: 17px 18px 17px 49px; }
  .flow-step + .flow-step { border-left: 0; border-top: 1px solid #e9eddf; }
  .flow-step .step-number { position: absolute; left: 18px; top: 20px; }
  .page-footer { gap: 11px; margin-top: 34px; }
  .page-footer > a { padding: 12px; }
  .page-footer strong, .page-footer .page-link-title { font-size: 11px; }
  .article-footer { font-size: 8px; margin-top: 23px; }
  .article-footer > span:last-child { display: none; }
  .search-dialog { margin-top: 80px; max-height: calc(100dvh - 100px); }
  .search-dialog-header { gap: 9px; padding: 12px; }
  #search-input { font-size: 13px; }
  .search-results { max-height: calc(100dvh - 220px); }
  .search-dialog-footer { padding: 9px 13px; }
  .not-found-page { padding: 20px; }
  .not-found { padding: 32px 26px; }
}
@media print {
  :root { color: #000; background: #fff; }
  .topbar, .sidebar, .sidebar-overlay, .toc, .page-footer, .search-dialog, .toast, .copy-button, .skip-link { display: none !important; }
  .main-layout { display: block; margin: 0; padding: 0; }
  .article { padding: 0; }
  .breadcrumb { margin-bottom: 15px; }
  .doc-content { font-size: 10pt; color: #222; }
  .doc-content h2, .doc-content h3 { break-after: avoid; }
  .doc-content pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 8pt; }
  .doc-content pre code { white-space: pre-wrap; width: auto; min-width: 0; overflow-wrap: anywhere; }
  .table-wrap { overflow: visible; }
  .doc-content table { font-size: 8pt; }
  .doc-content td { min-width: 0; }
  .code-block, .endpoint-card, .flow-step, tr { break-inside: avoid; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
