:root {
  color-scheme: light;
  --header-h: 64px;
  --sidebar-w: 248px;
  --toc-w: 236px;
  --page: #ffffff;
  --page-soft: #f7faf9;
  --panel: #ffffff;
  --ink: #17221f;
  --body: #43534e;
  --muted: #71817c;
  --faint: #94a19d;
  --line: #e3e9e6;
  --line-strong: #cfd9d5;
  --accent: #087e67;
  --accent-strong: #05614f;
  --accent-soft: #eaf7f3;
  --amber: #9a6700;
  --amber-soft: #fff8e7;
  --code: #101916;
  --code-line: #2c3b36;
  --shadow: 0 18px 50px rgba(25, 45, 38, 0.14);
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

[data-theme="dark"] {
  color-scheme: dark;
  --page: #101614;
  --page-soft: #0c1210;
  --panel: #151d1a;
  --ink: #eef5f2;
  --body: #b6c4bf;
  --muted: #8fa09a;
  --faint: #71817c;
  --line: #29342f;
  --line-strong: #3b4944;
  --accent: #58d5ba;
  --accent-strong: #83e3ce;
  --accent-soft: #17332d;
  --amber: #f4c86c;
  --amber-soft: #30291a;
  --code: #080d0c;
  --code-line: #2b3935;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.4);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; color: var(--body); background: var(--page); font-family: var(--sans); font-size: 16px; line-height: 1.7; }
body.nav-open { overflow: hidden; }
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
[hidden] { display: none !important; }
.mobile-only { display: none !important; }
.skip-link { position: fixed; top: 8px; left: 12px; z-index: 100; padding: 8px 12px; border-radius: 5px; color: #fff; background: var(--accent-strong); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--page) 88%, transparent); backdrop-filter: blur(16px); }
.header-inner { display: grid; width: 100%; height: 100%; padding: 0 22px; align-items: center; grid-template-columns: var(--sidebar-w) minmax(280px, 540px) 1fr; gap: 30px; }
.header-start, .header-actions, .brand, .search-trigger { display: flex; align-items: center; }
.header-start { min-width: 0; gap: 11px; }
.brand { color: var(--ink); font-size: 18px; font-weight: 760; text-decoration: none; white-space: nowrap; }
.brand img { width: 34px; height: 34px; margin-right: 9px; border-radius: 7px; }
.brand b { margin-left: 4px; color: var(--accent); font-weight: 720; }
.version-badge { padding: 2px 7px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); background: var(--page-soft); font: 10px/1.7 var(--mono); }
.search-trigger { width: min(100%, 440px); height: 38px; padding: 0 9px 0 12px; border: 1px solid var(--line-strong); border-radius: 7px; color: var(--muted); background: var(--page-soft); cursor: pointer; gap: 9px; box-shadow: 0 1px 2px rgba(20, 40, 33, 0.04); transition: border-color 180ms ease, background 180ms ease; }
.search-trigger:hover { border-color: var(--accent); background: var(--page); }
.search-trigger svg { width: 17px; height: 17px; }
.search-trigger span { flex: 1; text-align: left; }
kbd { display: inline-flex; min-width: 24px; min-height: 22px; padding: 0 5px; border: 1px solid var(--line); border-bottom-color: var(--line-strong); border-radius: 4px; align-items: center; justify-content: center; color: var(--muted); background: var(--panel); font: 11px/1 var(--mono); box-shadow: 0 1px 0 var(--line); }
.header-actions { justify-content: flex-end; gap: 7px; }
.header-actions > a { min-height: 40px; padding: 0 9px; color: var(--body); font-size: 14px; font-weight: 620; line-height: 40px; text-decoration: none; }
.header-actions > a:hover { color: var(--accent); }
.icon-button { display: inline-grid; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 6px; place-items: center; background: transparent; cursor: pointer; transition: color 160ms ease, background 160ms ease; }
.icon-button:hover { color: var(--accent); background: var(--accent-soft); }
.icon-button svg { width: 19px; height: 19px; }
.moon-icon { display: none; }
[data-theme="dark"] .sun-icon { display: none; }
[data-theme="dark"] .moon-icon { display: block; }

.sidebar { position: fixed; top: var(--header-h); bottom: 0; left: 0; z-index: 30; width: var(--sidebar-w); padding: 26px 18px 24px 22px; overflow-y: auto; border-right: 1px solid var(--line); background: var(--page); scrollbar-width: thin; }
.docs-nav section + section { margin-top: 27px; }
.docs-nav h2 { margin: 0 0 7px 10px; color: var(--faint); font-size: 11px; font-weight: 760; letter-spacing: 0; text-transform: uppercase; }
.docs-nav a { position: relative; display: flex; min-height: 38px; padding: 7px 10px; border-radius: 5px; align-items: center; color: var(--body); font-size: 13.5px; font-weight: 540; text-decoration: none; gap: 8px; transition: color 160ms ease, background 160ms ease; }
.docs-nav a svg { width: 15px; height: 15px; }
.docs-nav a:hover { color: var(--ink); background: var(--page-soft); }
.docs-nav a.active { color: var(--accent-strong); background: var(--accent-soft); font-weight: 680; }
.docs-nav a.active::before { content: ""; position: absolute; top: 9px; bottom: 9px; left: 0; width: 2px; border-radius: 2px; background: var(--accent); }
.sidebar-support { display: flex; min-height: 62px; margin-top: 32px; padding: 11px; border: 1px solid var(--line); border-radius: 6px; align-items: center; gap: 9px; background: var(--page-soft); }
.status-dot { display: inline-block; width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #20a66a; box-shadow: 0 0 0 4px rgba(32, 166, 106, 0.11); }
.sidebar-support div { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.sidebar-support strong { color: var(--ink); font-size: 12px; line-height: 1.4; }
.sidebar-support small { color: var(--muted); font-size: 10px; }
.sidebar-support > svg { width: 15px; height: 15px; color: var(--faint); }

.docs-shell { display: grid; min-height: calc(100vh - var(--header-h)); margin-left: var(--sidebar-w); grid-template-columns: minmax(0, 810px) var(--toc-w); justify-content: center; gap: 70px; }
.doc-article { width: 100%; min-width: 0; padding: 44px 28px 80px; }
.breadcrumb { display: flex; margin-bottom: 34px; align-items: center; color: var(--muted); font-size: 12px; gap: 7px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb svg { width: 12px; height: 12px; }
.article-header { padding-bottom: 42px; border-bottom: 1px solid var(--line); }
.article-label, .section-kicker { color: var(--accent); font: 700 11px/1.4 var(--mono); }
.article-header h1 { margin: 12px 0 16px; color: var(--ink); font-size: 42px; font-weight: 760; line-height: 1.16; letter-spacing: 0; }
.article-header > p { max-width: 680px; margin: 0; color: var(--body); font-size: 18px; line-height: 1.8; }
.article-meta { display: flex; margin-top: 23px; align-items: center; color: var(--muted); font-size: 12px; gap: 22px; }
.article-meta > span { display: flex; align-items: center; gap: 8px; }
.article-meta .status-dot { width: 6px; height: 6px; }

.doc-section { padding-top: 50px; }
.doc-section h2 { margin: 0 0 17px; color: var(--ink); font-size: 26px; font-weight: 730; line-height: 1.3; letter-spacing: 0; }
.doc-section h2 a { color: inherit; text-decoration: none; }
.doc-section h2 a:hover::after { content: "#"; margin-left: 9px; color: var(--accent); font-weight: 500; }
.doc-section h3 { margin: 34px 0 13px; color: var(--ink); font-size: 18px; font-weight: 700; line-height: 1.4; }
.doc-section > p { max-width: 720px; margin: 0 0 20px; }
.doc-section p a { color: var(--accent-strong); font-weight: 640; text-underline-offset: 3px; }
code { padding: 2px 5px; border: 1px solid var(--line); border-radius: 4px; color: var(--accent-strong); background: var(--page-soft); font: 0.86em/1.6 var(--mono); }
.intro-steps { display: grid; padding-top: 32px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.intro-steps a { display: grid; min-height: 82px; padding: 16px; border: 1px solid var(--line); border-radius: 7px; align-items: center; grid-template-columns: auto 1fr auto; color: var(--body); text-decoration: none; gap: 11px; transition: border-color 180ms ease, background 180ms ease, transform 180ms ease; }
.intro-steps a:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-2px); }
.intro-steps > a > span { color: var(--accent); font: 700 11px var(--mono); }
.intro-steps div { display: flex; min-width: 0; flex-direction: column; }
.intro-steps strong { color: var(--ink); font-size: 13px; line-height: 1.5; }
.intro-steps small { overflow: hidden; color: var(--muted); font-size: 10px; white-space: nowrap; text-overflow: ellipsis; }
.intro-steps svg { width: 14px; height: 14px; color: var(--faint); }
.task-list { margin: 26px 0 0; padding: 0; list-style: none; }
.task-list li { position: relative; display: flex; min-height: 56px; gap: 16px; }
.task-list li:not(:last-child)::after { content: ""; position: absolute; top: 31px; bottom: 0; left: 13px; width: 1px; background: var(--line-strong); }
.task-list li > span { display: grid; z-index: 1; width: 27px; height: 27px; flex: 0 0 auto; border: 1px solid var(--line-strong); border-radius: 50%; place-items: center; color: var(--accent); background: var(--page); font: 700 11px var(--mono); }
.task-list p { margin: 0; padding: 1px 0 24px; }
.task-list p strong { color: var(--ink); }
.cc-steps { margin-top: 18px; }
.cc-config-table table { min-width: 720px; }
.cc-config-table td { vertical-align: top; }
.group-guide-table table { min-width: 650px; }
.guide-figure { margin: 26px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: var(--page-soft); }
.guide-figure img { display: block; width: 100%; height: auto; }
.guide-figure figcaption { padding: 10px 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.callout { display: grid; margin-top: 24px; padding: 17px 18px; border: 1px solid; border-radius: 6px; grid-template-columns: auto 1fr; gap: 13px; }
.callout > svg { width: 19px; height: 19px; margin-top: 2px; }
.callout strong { display: block; color: var(--ink); font-size: 14px; }
.callout p { margin: 3px 0 0; font-size: 13px; line-height: 1.65; }
.callout-warning { border-color: color-mix(in srgb, var(--amber) 35%, var(--line)); color: var(--amber); background: var(--amber-soft); }
.callout-warning p { color: color-mix(in srgb, var(--amber) 72%, var(--body)); }
.critical-callout { border-left-width: 3px; }
.callout-success { border-color: color-mix(in srgb, var(--accent) 32%, var(--line)); color: var(--accent); background: var(--accent-soft); }
.callout-success p { color: var(--body); }

.code-card { margin: 25px 0; overflow: hidden; border: 1px solid var(--code-line); border-radius: 7px; background: var(--code); box-shadow: 0 14px 34px rgba(10, 20, 17, 0.12); }
.code-tabs { display: flex; min-height: 47px; padding: 0 8px 0 14px; border-bottom: 1px solid var(--code-line); align-items: center; color: #8e9e98; background: #111b18; gap: 4px; }
.code-tabs > button:not(.copy-button) { position: relative; min-height: 46px; padding: 0 10px; border: 0; color: #8e9e98; background: transparent; font: 12px var(--mono); cursor: pointer; }
.code-tabs > button:not(.copy-button):hover { color: #e4ece9; }
.code-tabs > button.active { color: #70dec7; }
.code-tabs > button.active::after { content: ""; position: absolute; right: 8px; bottom: -1px; left: 8px; height: 2px; background: #58d5ba; }
.code-tabs > span { color: #9caaa5; font: 11px var(--mono); }
.copy-button { display: inline-flex; min-width: 74px; min-height: 34px; margin-left: auto; padding: 0 9px; border: 1px solid #33443e; border-radius: 5px; align-items: center; justify-content: center; color: #aebbb6; background: #17231f; font-size: 11px; cursor: pointer; gap: 6px; }
.copy-button:hover { border-color: #58d5ba; color: #70dec7; }
.copy-button svg { width: 14px; height: 14px; }
.code-card pre { margin: 0; padding: 24px; overflow-x: auto; color: #d7e1dd; font: 13px/1.8 var(--mono); tab-size: 2; }
.code-card pre code { padding: 0; border: 0; color: inherit; background: none; font: inherit; }
.token-command { color: #70dec7; }
.token-string { color: #b7cdfa; }
.compact { margin-top: 10px; }
.path-label { display: flex; margin-top: 24px; align-items: center; color: var(--muted); font-size: 12px; gap: 10px; }
.path-label code { padding: 0; border: 0; background: none; }
.install-tabs { display: flex; margin-top: 18px; padding: 4px; overflow-x: auto; border: 1px solid var(--line); border-radius: 7px; background: var(--page-soft); gap: 3px; }
.install-tabs button { min-width: 92px; min-height: 38px; padding: 0 13px; border: 0; border-radius: 5px; color: var(--muted); background: transparent; font-size: 12px; font-weight: 650; cursor: pointer; white-space: nowrap; }
.install-tabs button:hover { color: var(--ink); background: var(--panel); }
.install-tabs button.active { color: var(--accent-strong); background: var(--panel); box-shadow: 0 1px 3px rgba(20, 40, 33, 0.1); }
.install-panel { padding: 22px 2px 4px; }
.install-panel h4 { margin: 0 0 9px; color: var(--ink); font-size: 15px; }
.install-panel > p { margin: 0 0 14px; }
.install-panel .install-note { margin-top: 13px; color: var(--muted); font-size: 13px; }
.doc-section > .install-network-note { margin-top: 14px; color: var(--muted); font-size: 13px; }
.codex-key-steps { margin-top: 18px; }
.inline-code, .endpoint-box { display: flex; min-height: 58px; margin-top: 22px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 6px; align-items: center; gap: 12px; background: var(--page-soft); }
.inline-code > span, .endpoint-box > span { color: var(--muted); font: 700 10px var(--mono); }
.inline-code code, .endpoint-box code { min-width: 0; padding: 0; overflow: hidden; border: 0; flex: 1; background: none; white-space: nowrap; text-overflow: ellipsis; }
.inline-code button, .endpoint-box button { display: inline-flex; min-width: 40px; min-height: 38px; padding: 0 9px; border: 0; border-radius: 5px; align-items: center; justify-content: center; color: var(--muted); background: transparent; cursor: pointer; gap: 6px; }
.inline-code button:hover, .endpoint-box button:hover { color: var(--accent); background: var(--accent-soft); }
.inline-code button svg, .endpoint-box button svg { width: 16px; height: 16px; }
.endpoint-box button span { font-size: 11px; }
.table-wrap { margin-top: 24px; overflow-x: auto; border: 1px solid var(--line); border-radius: 7px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { padding: 11px 14px; color: var(--muted); background: var(--page-soft); font-size: 11px; font-weight: 700; text-align: left; }
td { padding: 13px 14px; border-top: 1px solid var(--line); color: var(--body); }
td code { white-space: nowrap; }
.method { display: inline-flex; min-width: 43px; min-height: 21px; border-radius: 3px; align-items: center; justify-content: center; font: 700 9px var(--mono); }
.method.post { color: #087e67; background: #e3f5f0; }
.method.get { color: #2463a7; background: #eaf2fb; }
[data-theme="dark"] .method.post { color: #70dec7; background: #17332d; }
[data-theme="dark"] .method.get { color: #91bff1; background: #192c3f; }
.model-grid { display: grid; margin-top: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.model-grid > div { display: grid; min-height: 110px; padding: 15px; border: 1px solid var(--line); border-radius: 7px; grid-template-columns: auto 1fr; align-content: center; align-items: center; gap: 4px 10px; }
.model-grid strong { color: var(--ink); font-size: 13px; }
.model-grid code { padding: 0; border: 0; grid-column: 2; color: var(--muted); background: none; font-size: 10px; }
.model-logo { display: grid; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 7px; grid-row: 1 / 3; place-items: center; }
.model-logo img { display: block; width: 23px; height: 23px; object-fit: contain; }
.model-logo.openai { color: #111715; background: #f2f5f4; }
.model-logo.claude { background: #fff3ed; }
.model-logo.zhipu { background: #eef1ff; }
.section-kicker { margin-bottom: 10px; padding-top: 16px; }

.page-pagination { display: grid; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); grid-template-columns: 1fr 1fr; }
.page-pagination a { display: flex; padding: 12px; border: 1px solid var(--line); border-radius: 6px; align-items: flex-end; flex-direction: column; text-decoration: none; }
.page-pagination a:hover { border-color: var(--accent); background: var(--accent-soft); }
.page-pagination small { color: var(--muted); font-size: 10px; }
.page-pagination strong { display: flex; align-items: center; color: var(--ink); font-size: 13px; gap: 5px; }
.page-pagination svg { width: 14px; height: 14px; }
.article-footer { display: flex; margin-top: 28px; align-items: center; justify-content: center; gap: 12px; }
.article-footer p { color: var(--muted); font-size: 12px; }
.article-footer div { display: flex; gap: 5px; }
.article-footer button { display: grid; width: 34px; height: 34px; padding: 0; border: 1px solid var(--line); border-radius: 5px; place-items: center; background: var(--page); cursor: pointer; }
.article-footer button:hover, .article-footer button.selected { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.article-footer svg { width: 15px; height: 15px; }

.toc { min-width: 0; }
.toc-inner { position: sticky; top: calc(var(--header-h) + 34px); padding-top: 42px; }
.toc h2 { margin: 0 0 12px; color: var(--ink); font-size: 12px; font-weight: 720; }
.toc nav { position: relative; display: flex; padding-left: 13px; border-left: 1px solid var(--line); flex-direction: column; }
.toc nav a { position: relative; min-height: 32px; padding: 5px 0; color: var(--muted); font-size: 11px; line-height: 1.5; text-decoration: none; }
.toc nav a:hover { color: var(--ink); }
.toc nav a.active { color: var(--accent); font-weight: 650; }
.toc nav a.active::before { content: ""; position: absolute; top: 6px; bottom: 6px; left: -14px; width: 2px; background: var(--accent); }
.toc-links { display: flex; margin-top: 22px; padding-top: 17px; border-top: 1px solid var(--line); flex-direction: column; }
.toc-links a { display: flex; min-height: 33px; align-items: center; color: var(--muted); font-size: 11px; text-decoration: none; gap: 8px; }
.toc-links a:hover { color: var(--accent); }
.toc-links svg { width: 14px; height: 14px; }

.search-dialog { width: min(620px, calc(100% - 32px)); max-width: none; margin: 12vh auto 0; padding: 0; border: 0; border-radius: 8px; color: var(--body); background: var(--panel); box-shadow: var(--shadow); }
.search-dialog::backdrop { background: rgba(10, 18, 15, 0.48); backdrop-filter: blur(3px); }
.search-box > label { display: flex; min-height: 62px; padding: 0 16px; border-bottom: 1px solid var(--line); align-items: center; gap: 12px; }
.search-box > label:focus-within { border-bottom-color: var(--accent); }
.search-box > label svg { color: var(--accent); }
.search-box input { min-width: 0; height: 60px; padding: 0; border: 0; outline: 0; flex: 1; color: var(--ink); background: transparent; font-size: 16px; }
.search-box input:focus-visible { outline: 0; }
.search-box input::placeholder { color: var(--faint); }
.search-results { max-height: min(430px, 55vh); padding: 8px; overflow-y: auto; }
.search-hint, .search-empty { margin: 0; padding: 26px 16px; color: var(--muted); font-size: 13px; text-align: center; }
.search-result { display: flex; min-height: 60px; padding: 10px 12px; border-radius: 5px; align-items: center; text-decoration: none; gap: 12px; }
.search-result:hover, .search-result.active { background: var(--accent-soft); }
.search-result svg { width: 17px; height: 17px; color: var(--accent); }
.search-result div { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.search-result strong { color: var(--ink); font-size: 13px; }
.search-result small { overflow: hidden; color: var(--muted); font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.search-box footer { display: flex; min-height: 42px; padding: 0 14px; border-top: 1px solid var(--line); align-items: center; color: var(--muted); font-size: 10px; gap: 18px; }
.search-box footer span { display: flex; align-items: center; gap: 4px; }
.search-box footer kbd { min-width: 19px; min-height: 18px; font-size: 9px; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 70; padding: 10px 14px; border: 1px solid #32695d; border-radius: 6px; color: #dff8f1; background: #173c34; font-size: 12px; box-shadow: var(--shadow); }

a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 1180px) {
  :root { --sidebar-w: 228px; }
  .docs-shell { grid-template-columns: minmax(0, 760px); gap: 0; }
  .toc { display: none; }
  .header-inner { grid-template-columns: var(--sidebar-w) minmax(260px, 520px) 1fr; gap: 20px; }
}

@media (max-width: 820px) {
  :root { --header-h: 60px; }
  .mobile-only { display: inline-grid !important; }
  .header-inner { display: flex; padding: 0 12px; gap: 7px; }
  .header-start { flex: 1; }
  .version-badge { display: none; }
  .brand { font-size: 16px; }
  .brand img { width: 31px; height: 31px; }
  .search-trigger { width: 42px; height: 40px; padding: 0; border: 0; justify-content: center; background: transparent; }
  .search-trigger span, .search-trigger kbd, .header-actions > a { display: none; }
  .header-actions { flex: 0 0 auto; }
  .sidebar { top: 0; z-index: 60; width: min(310px, calc(100vw - 48px)); padding: 0 18px 24px; border-right: 1px solid var(--line); box-shadow: var(--shadow); transform: translateX(-105%); transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1); }
  .sidebar.open { transform: translateX(0); }
  .sidebar-mobile-head { display: flex !important; height: 60px; margin-bottom: 18px; border-bottom: 1px solid var(--line); align-items: center; justify-content: space-between; color: var(--ink); font-size: 13px; font-weight: 700; }
  .mobile-backdrop { position: fixed; inset: 0; z-index: 55; background: rgba(7, 13, 11, 0.48); }
  .docs-shell { display: block; margin-left: 0; }
  .doc-article { max-width: 760px; margin: 0 auto; padding: 34px 22px 64px; }
  .article-header h1 { font-size: 36px; }
}

@media (max-width: 560px) {
  .header-inner { padding: 0 8px; }
  .header-start { gap: 3px; }
  .brand img { margin-right: 7px; }
  .doc-article { padding: 26px 17px 56px; }
  .breadcrumb { margin-bottom: 25px; }
  .article-header { padding-bottom: 32px; }
  .article-header h1 { margin-top: 10px; font-size: 32px; }
  .article-header > p { font-size: 16px; line-height: 1.72; }
  .article-meta { align-items: flex-start; flex-direction: column; gap: 4px; }
  .intro-steps { grid-template-columns: 1fr; }
  .intro-steps a { min-height: 68px; }
  .doc-section { padding-top: 42px; }
  .doc-section h2 { font-size: 23px; }
  .code-card { margin-right: -3px; margin-left: -3px; }
  .code-card pre { padding: 20px 17px; font-size: 11.5px; }
  .code-tabs { overflow-x: auto; }
  .code-tabs > button:not(.copy-button) { padding: 0 7px; }
  .model-grid { grid-template-columns: 1fr; }
  .model-grid > div { min-height: 78px; }
  .inline-code, .endpoint-box { align-items: flex-start; flex-wrap: wrap; }
  .inline-code code, .endpoint-box code { order: 3; width: 100%; flex-basis: calc(100% - 50px); }
  .inline-code button, .endpoint-box button { margin-left: auto; }
  .table-wrap { margin-right: -3px; margin-left: -3px; }
  td, th { padding-right: 11px; padding-left: 11px; white-space: nowrap; }
  .page-pagination { grid-template-columns: 1fr; }
  .page-pagination > span { display: none; }
  .search-dialog { width: calc(100% - 20px); margin-top: 6vh; }
  .toast { right: 12px; bottom: 12px; left: 12px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
