:root {
  color-scheme: light;
  --page: #f1f2f3;
  --surface: #f8f8f8;
  --surface-soft: #ededee;
  --surface-hover: #e6e7e8;
  --surface-selected: #e9eaeb;
  --line: #dedfe0;
  --line-strong: #c9cbcd;
  --text: #202124;
  --text-soft: #55565a;
  --muted: #77797d;
  --subtle: #96989c;
  --accent: #2563eb;
  --warning-bg: #fff8e7;
  --warning-line: #f3d58d;
  --warning-text: #73520a;
  --radius: 9px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #0d0e0f;
  --surface: #111213;
  --surface-soft: #171819;
  --surface-hover: #202123;
  --surface-selected: #26282a;
  --line: #232527;
  --line-strong: #34373a;
  --text: #f4f4f5;
  --text-soft: #d0d2d5;
  --muted: #a0a4aa;
  --subtle: #777c83;
  --accent: #80b7ff;
  --warning-bg: #302a1d;
  --warning-line: #635024;
  --warning-text: #f1d98c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; background: var(--page); color: var(--text); font-size: 15px; line-height: 1.65; }
button, input { font: inherit; }
button { color: inherit; }
a { color: inherit; }
svg { display: block; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.topbar { position: fixed; z-index: 30; top: 8px; left: 50%; width: min(calc(100% - 32px), 1180px); height: 58px; display: flex; align-items: center; gap: 14px; padding: 0 12px 0 16px; transform: translateX(-50%); border: 1px solid var(--line-strong); border-radius: 16px; background: var(--surface); background: color-mix(in srgb, var(--surface) 94%, transparent); box-shadow: 0 12px 38px #0000001f; backdrop-filter: blur(20px); transition: width .38s cubic-bezier(.2,.75,.25,1), padding .38s ease, border-radius .38s ease, box-shadow .38s ease; }
.topbar-brand { width: 120px; flex: 0 0 120px; font-size: 15px; font-weight: 700; letter-spacing: -.025em; white-space: nowrap; }
.topnav { min-width: 0; flex: 1 1 auto; display: flex; align-items: center; gap: 3px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.topnav::-webkit-scrollbar { display: none; }
.topnav-link { min-height: 38px; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid transparent; border-radius: 999px; color: var(--muted); font-size: 13px; font-weight: 560; text-decoration: none; white-space: nowrap; scroll-snap-align: start; transition: color .32s ease, background-color .32s ease, border-color .32s ease; }
.topnav-link:hover { background: var(--surface-hover); color: var(--text); }
.topnav-link.active { border-color: var(--line); background: var(--surface-soft); color: var(--text); }
.topnav.is-dragging { cursor: grabbing; user-select: none; scroll-behavior: auto; }
.topnav.is-dragging .topnav-link { pointer-events: none; }
.nav-cta { height: 38px; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; border: 1px solid var(--text); border-radius: 999px; background: var(--text); color: var(--page); font-size: 13px; font-weight: 680; text-decoration: none; white-space: nowrap; transition: opacity .18s ease, transform .18s ease; }
.nav-cta:hover { opacity: .86; transform: translateY(-1px); }
.topbar.is-compact { width: min(calc(100% - 128px), 1040px); }
.topbar-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
.theme-toggle { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 11px; background: var(--surface); color: var(--text-soft); cursor: pointer; transition: background-color .32s ease, border-color .32s ease, transform .32s ease; }
.theme-toggle:hover { background: var(--surface-hover); border-color: var(--subtle); transform: translateY(-1px); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-icon-light, .theme-icon-dark { display: none; }
:root[data-theme="dark"] .theme-icon-light, :root[data-theme="light"] .theme-icon-dark { display: block; }
.top-crumb span { padding: 0 8px; color: var(--subtle); }
.search-trigger { width: 225px; height: 40px; display: flex; align-items: center; gap: 9px; padding: 0 11px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--muted); cursor: pointer; text-align: left; box-shadow: 0 1px 2px #00000008; }
.search-trigger:hover, .copy-page:hover { background: var(--surface-hover); }
.search-trigger svg { width: 18px; height: 18px; }
kbd { min-width: 20px; padding: 0 4px; border: 1px solid var(--line-strong); border-radius: 5px; color: var(--muted); background: var(--surface); font: 11px/19px ui-monospace, SFMono-Regular, Consolas, monospace; text-align: center; }
.search-trigger span { flex: 1; font-size: 13px; }
.mobile-menu { display: none; border: 0; background: transparent; cursor: pointer; }

.page-grid { display: grid; grid-template-columns: 320px minmax(0, 1fr) 270px; min-height: 100vh; padding-top: 92px; }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; margin-top: -92px; padding: 20px 17px 15px 50px; border-right: 1px solid var(--line); background: var(--surface); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.side-nav { display: grid; gap: 19px; }
.nav-group { display: grid; gap: 3px; }
.nav-heading { width: 100%; min-height: 27px; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 3px; padding: 2px 10px; border: 0; border-radius: 6px; background: transparent; color: var(--text); font-size: 11px; font-weight: 700; line-height: 1.4; text-align: left; text-transform: uppercase; letter-spacing: .025em; cursor: pointer; transition: background-color .34s ease; }
.nav-heading:hover { background: var(--surface-hover); }
.nav-heading-label { display: flex; align-items: center; gap: 9px; }
.nav-heading-label svg { width: 15px; height: 15px; color: var(--muted); }
.nav-chevron { width: 14px; height: 14px; flex: 0 0 14px; color: var(--muted); transform: rotate(0deg); transition: transform .38s ease; }
.nav-group.is-open .nav-chevron { transform: rotate(90deg); }
.nav-children { display: grid; gap: 3px; max-height: 720px; margin-left: 10px; padding-left: 8px; overflow: hidden; border-left: 1px solid var(--line-strong); opacity: 1; transition: max-height .5s ease, opacity .42s ease, margin .5s ease, padding .5s ease; }
.nav-group:not(.is-open) .nav-children { max-height: 0; margin-block: 0; padding-top: 0; padding-bottom: 0; border-color: transparent; opacity: 0; }
.nav-children[hidden] { display: none; }
.side-link { min-height: 32px; display: flex; align-items: center; gap: 10px; padding: 5px 11px; border-radius: 6px; color: var(--muted); font-size: 14px; line-height: 1.45; text-decoration: none; transition: background-color .32s ease, color .32s ease; }
.side-link:hover { color: var(--text); background: var(--surface-hover); }
.side-link.active { color: var(--text); background: var(--surface-selected); font-weight: 600; }
.side-link.active .nav-icon { color: var(--text); }
.nav-icon { width: 17px; height: 18px; flex: 0 0 17px; color: var(--muted); }
.nav-icon svg { width: 17px; height: 17px; }
.sidebar-bottom { display: none; }
.side-bottom-mark { width: 22px; color: var(--text-soft); }
.side-bottom-mark svg { width: 22px; height: 22px; }
.sidebar-bottom strong, .sidebar-bottom small { display: block; line-height: 1.4; }
.sidebar-bottom strong { color: var(--text-soft); font-size: 12px; font-weight: 600; }
.sidebar-bottom small { margin-top: 2px; font-size: 11px; }

.article { width: min(100%, 980px); margin: 0 auto; padding: 34px 56px 80px; }
.article-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; color: var(--muted); font-size: 13px; }
.article-kicker { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.copy-page { display: inline-flex; align-items: center; gap: 7px; height: 31px; padding: 0 9px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); color: var(--text-soft); font-size: 12px; cursor: pointer; }
.copy-page svg { width: 16px; height: 16px; }
.doc-section { padding: 4px 0 34px; margin: 0 0 15px; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.doc-section:last-of-type { border-bottom: 0; }
.intro-section { padding-bottom: 34px; }
.title-row { display: flex; align-items: center; gap: 15px; }
.title-icon { flex: 0 0 auto; color: var(--muted); }
.title-icon svg { width: 34px; height: 34px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 8px; font-size: clamp(36px, 3.3vw, 46px); line-height: 1.12; letter-spacing: -.052em; font-weight: 720; }
h2 { margin: 5px 0 14px; font-size: 29px; line-height: 1.22; letter-spacing: -.04em; font-weight: 680; }
h3 { margin: 22px 0 8px; font-size: 20px; line-height: 1.35; letter-spacing: -.02em; }
p { margin-bottom: 16px; color: var(--text-soft); }
.lead { margin: 6px 0 25px; color: var(--muted); font-size: 18px; line-height: 1.55; }
ul, ol { padding-left: 23px; margin: 12px 0 18px; color: var(--text-soft); }
li { padding-left: 3px; margin: 8px 0; }
strong { color: var(--text); font-weight: 650; }
code { padding: 2px 5px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface-soft); color: var(--text); font: .88em ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }
pre { max-width: 100%; margin: 16px 0 20px; padding: 18px 20px; overflow: auto; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-soft); color: var(--text); line-height: 1.65; }
pre code { padding: 0; border: 0; background: transparent; font-size: 13px; white-space: pre; }
.action-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 20px; }
.button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 17px; border: 1px solid var(--line-strong); border-radius: 10px; font-weight: 570; text-decoration: none; transition: background-color .32s ease, border-color .32s ease; }
.button-primary { border-color: #111; background: #111; color: #fff; }
.button-primary:hover { background: #333; border-color: #333; }
:root[data-theme="dark"] .button-primary { border-color: #f4f4f4; background: #f4f4f4; color: #171717; }
:root[data-theme="dark"] .button-primary:hover { background: #d9d9d9; }
.button-secondary { background: var(--surface-soft); color: var(--text-soft); }
.button-secondary:hover { background: var(--surface-hover); }
.search-tip { display: flex; align-items: flex-start; gap: 12px; margin: 20px 0 2px; padding: 13px 15px; border-radius: 8px; background: var(--surface-soft); }
.search-tip svg { flex: 0 0 18px; margin-top: 3px; color: var(--muted); }
.search-tip p { margin: 0; font-size: 13px; line-height: 1.55; }
.steps { margin-top: 22px; }
.step { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; position: relative; padding-bottom: 25px; }
.step:not(:last-child)::before { position: absolute; top: 36px; bottom: 0; left: 17px; width: 1px; background: var(--line-strong); content: ""; }
.step-number { z-index: 1; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface); color: var(--text); font-size: 13px; font-weight: 700; }
.step h3 { margin: -2px 0 7px; font-size: 21px; }
.step p { margin: 0 0 12px; }
.inline-card { min-height: 52px; display: flex; align-items: center; gap: 12px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--text); font-size: 14px; font-weight: 550; text-decoration: none; transition: background-color .34s ease, border-color .34s ease, transform .34s ease; }
.inline-card:hover { background: var(--surface-hover); border-color: var(--line-strong); transform: translateX(2px); }
.inline-icon { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-soft); color: var(--text-soft); }
.inline-icon svg { width: 16px; height: 16px; }
.card-arrow { margin-left: auto; color: var(--muted); font-size: 22px; }
.callout { display: flex; gap: 11px; margin: 18px 0; padding: 13px 15px; border-radius: 7px; background: var(--surface-soft); }
.callout p { margin: 0; font-size: 14px; }
.callout-icon { flex: 0 0 21px; width: 21px; height: 21px; display: grid; place-items: center; border: 1.5px solid var(--muted); border-radius: 50%; color: var(--text-soft); font-size: 13px; font-weight: 700; }
.callout-warning { border: 1px solid var(--warning-line); background: var(--warning-bg); }
.callout-warning p, .callout-warning strong { color: var(--warning-text); }
.event-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 20px; }
.event-list code { padding: 5px 8px; border-radius: 6px; }
.endpoint-card { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 15px 0 0; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 9px 9px 0 0; background: var(--surface); }
.endpoint-card code { flex: 1 1 340px; border: 0; background: transparent; overflow-wrap: anywhere; }
.method-badge { padding: 3px 7px; border: 1px solid var(--line-strong); border-radius: 5px; color: var(--text); font: 700 11px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; }
.scope-label { margin-left: auto; color: var(--muted); font-size: 12px; }
.code-sample { margin: 0 0 20px; overflow: hidden; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 9px 9px; background: var(--surface-soft); }
.code-toolbar { min-height: 43px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 5px 9px 5px 12px; border-bottom: 1px solid var(--line); background: var(--surface); }
.code-tabs { display: flex; align-items: center; gap: 4px; }
.code-tab { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--muted); font-size: 12px; cursor: pointer; }
.language-icon { width: 16px; height: 16px; flex: 0 0 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.language-icon-node { color: #68a063; }
.language-icon-python { color: #6b9bd2; }
.language-icon-curl { color: var(--muted); }
.code-tab:hover { color: var(--text); background: var(--surface-hover); }
.code-tab.active { border-color: var(--line-strong); background: var(--surface-selected); color: var(--text); }
.copy-code { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); color: var(--text-soft); font-size: 12px; cursor: pointer; }
.copy-code:hover { background: var(--surface-hover); }
.copy-code svg { width: 15px; height: 15px; }
.code-panel { margin: 0; border: 0; border-radius: 0; background: transparent; }
.code-panel[hidden] { display: none; }
.standalone-code { margin: 16px 0 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-soft); }
.standalone-code-label { min-height: 37px; display: flex; align-items: center; gap: 8px; padding: 0 13px; border-bottom: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 12px; font-weight: 600; }
.standalone-code-label svg { width: 16px; height: 16px; }
.standalone-code[data-code-language="json"] .standalone-code-label svg { color: #bd9b54; }
.standalone-code pre { margin: 0; border: 0; border-radius: 0; background: transparent; }
.link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.link-grid a { position: relative; display: flex; flex-direction: column; gap: 4px; min-height: 85px; padding: 13px 34px 13px 14px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; }
.link-grid a:hover { background: var(--surface-hover); }
.link-grid a span { color: var(--muted); font-size: 13px; }
.link-grid a b { position: absolute; top: 50%; right: 13px; transform: translateY(-50%); color: var(--muted); font-size: 20px; font-weight: 400; }
.doc-footer { margin-top: 34px; padding: 24px 0 0; border-top: 1px solid var(--line); }
.doc-footer-main { display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: radial-gradient(ellipse at 0 0, color-mix(in srgb, var(--surface-hover) 72%, transparent), transparent 65%), var(--surface); }
.doc-footer-copy { max-width: 620px; }
.doc-footer-kicker { display: inline-block; margin-bottom: 10px; color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: .13em; }
.doc-footer-copy h2 { margin: 0 0 8px; font-size: clamp(21px, 2.5vw, 27px); }
.doc-footer-copy p { max-width: 540px; margin-bottom: 18px; color: var(--muted); font-size: 14px; }
.doc-footer-links { display: flex; flex-wrap: wrap; gap: 9px; }
.doc-footer-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--surface-soft); color: var(--text-soft); font-size: 12px; font-weight: 600; text-decoration: none; transition: border-color .38s ease, background-color .38s ease, transform .38s ease; }
.doc-footer-links a:hover { border-color: var(--subtle); background: var(--surface-hover); transform: translateY(-2px); }
.doc-footer-links svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.doc-footer-top { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 48px; border: 1px solid var(--line-strong); border-radius: 13px; background: var(--surface-soft); color: var(--text-soft); text-decoration: none; transition: background-color .38s ease, border-color .38s ease, transform .38s ease; }
.doc-footer-top svg { width: 19px; height: 19px; }
.doc-footer-top span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.doc-footer-top:hover { border-color: var(--subtle); background: var(--surface-hover); transform: translateY(-3px); }
.doc-footer-bottom { display: flex; justify-content: space-between; gap: 12px; padding: 15px 3px 0; color: var(--muted); font-size: 11px; }
.doc-footer-credit { padding: 17px 3px 3px; color: var(--text-soft); font-size: 14px; text-align: center; }
.doc-footer-credit a { margin-left: 4px; color: var(--text); font-size: 16px; font-weight: 800; text-decoration: underline; text-decoration-color: currentColor; text-decoration-thickness: 1.5px; text-underline-offset: 4px; transition: color .3s ease; }
.doc-footer-credit a:hover { color: var(--text-soft); }
.doc-table-wrap { max-width: 100%; margin: 15px 0 20px; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.doc-table { width: 100%; min-width: 650px; border-collapse: collapse; font-size: 12px; line-height: 1.55; }
.doc-table th, .doc-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.doc-table th { color: var(--text); background: var(--surface-soft); font-size: 11px; font-weight: 700; }
.doc-table td { color: var(--text-soft); }
.doc-table tr:last-child td { border-bottom: 0; }
.doc-table code { white-space: nowrap; }

.toc { position: sticky; top: 92px; height: calc(100vh - 92px); display: flex; flex-direction: column; padding: 30px 28px 17px 11px; overflow-y: auto; }
.toc h2 { margin: 0 0 10px; color: var(--muted); font-size: 11px; line-height: 1.4; text-transform: uppercase; letter-spacing: .02em; }
.toc h2 span { margin-right: 5px; font-size: 13px; }
.toc nav { display: grid; gap: 1px; }
.toc-link { display: block; padding: 4px 10px; border-radius: 6px; color: var(--muted); font-size: 13px; line-height: 1.45; text-decoration: none; }
.toc-link:hover { color: var(--text); }
.toc-link.active { background: var(--surface-selected); color: var(--text); font-weight: 600; }

.search-dialog { width: min(620px, calc(100vw - 28px)); max-width: none; max-height: min(75vh, 640px); padding: 0; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 13px; background: var(--surface); color: var(--text); box-shadow: 0 24px 90px #0003; }
.search-dialog[open] { animation: docs-dialog-in .38s cubic-bezier(.2,.75,.25,1) both; }
@keyframes docs-dialog-in { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
.search-dialog::backdrop { background: #0007; backdrop-filter: blur(2px); }
.search-box { display: flex; align-items: center; gap: 11px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.search-box svg { color: var(--muted); }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 15px; }
.search-results { max-height: 48vh; padding: 8px; overflow-y: auto; }
.search-result { display: grid; grid-template-columns: 1fr auto 24px; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 7px; color: var(--text); text-decoration: none; }
.search-result:hover, .search-result.selected { background: var(--surface-selected); }
.search-result small { color: var(--muted); }
.search-result kbd { text-align: center; }
.no-results { margin: 0; padding: 24px 15px; color: var(--muted); text-align: center; }
.search-foot { display: flex; justify-content: space-between; padding: 9px 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }

@media (max-width: 1200px) {
  .page-grid { grid-template-columns: 285px minmax(0, 1fr); }
  .topbar { gap: 10px; }
  .topbar-brand { width: 154px; flex-basis: 154px; }
  .topnav-link { padding: 0 9px; font-size: 12px; }
  .sidebar { padding-left: 32px; }
  .toc { display: none; }
  .article { width: min(100%, 850px); padding-right: 52px; padding-left: 52px; }
}
@media (max-width: 1200px) {
  .topbar { top: 8px; left: 50%; width: min(calc(100% - 16px), 780px); max-width: 780px; height: auto; min-height: 102px; display: grid; grid-template-columns: 36px minmax(0, 1fr) 76px; grid-template-areas: "menu brand actions" "nav nav nav"; align-content: start; gap: 7px 8px; padding: 8px 9px 9px; transform: translateX(-50%); border-radius: 15px; overflow: hidden; }
  .mobile-menu { grid-area: menu; width: 36px; height: 38px; display: grid; place-items: center; margin: 0; padding: 0; border-radius: 9px; color: var(--text-soft); }
  .mobile-menu:hover { background: var(--surface-hover); }
  .mobile-menu svg { width: 20px; height: 20px; }
  .topbar-brand { grid-area: brand; width: auto; min-width: 0; flex: 0 1 auto; gap: 8px; padding: 0; font-size: 14px; }
  .topnav { grid-area: nav; width: 100%; min-height: 39px; gap: 2px; margin-top: 1px; padding: 1px 0; touch-action: pan-x; scroll-padding-inline: 2px; }
  .topnav-link { min-height: 34px; padding: 0 11px; font-size: 12px; }
  .topbar-actions { grid-area: actions; width: 76px; height: 36px; display: grid; grid-template-columns: 36px 36px; grid-template-rows: 36px; align-self: center; justify-self: end; gap: 4px; position: static; }
  .nav-cta { display: none; }
  .theme-toggle, .search-trigger { width: 36px; min-width: 36px; max-width: 36px; height: 36px; min-height: 36px; max-height: 36px; margin: 0; padding: 0; align-self: center; justify-self: center; border-radius: 9px; }
  .search-trigger { justify-content: center; }
  .search-trigger span, .search-trigger kbd { display: none; }
  .page-grid { display: block; padding-top: 124px; }
.sidebar { position: fixed; z-index: 28; top: 124px; bottom: 0; left: 0; width: min(330px, 86vw); height: auto; margin-top: 0; padding: 20px 17px 15px 22px; transform: translateX(-105%); transition: transform .52s cubic-bezier(.2,.75,.25,1); box-shadow: 12px 0 40px #00000010; }
  body.nav-open .sidebar { transform: translateX(0); }
  body::after { position: fixed; z-index: 27; inset: 124px 0 0; background: #0008; opacity: 0; visibility: hidden; pointer-events: none; content: ""; transition: opacity .42s ease, visibility 0s linear .42s; }
  body.nav-open::after { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .42s ease; }
  .article { width: 100%; padding: 22px 22px 52px; }
  .article-topline { margin-bottom: 17px; }
  h1 { font-size: 32px; }
  h2 { font-size: 25px; }
  .lead { font-size: 17px; }
  .title-row { gap: 10px; }
  .title-icon svg { width: 29px; height: 29px; }
  .link-grid { grid-template-columns: 1fr; }
  .doc-footer-main { align-items: flex-start; padding: 20px; }
  .doc-footer-top { width: 42px; height: 42px; flex-basis: 42px; }
  .doc-footer-bottom { flex-direction: column; gap: 4px; }
  html { scroll-padding-top: 136px; scroll-behavior: smooth; }
  .topbar.is-compact { width: min(calc(100% - 56px), 744px); }
}
@media (max-width: 390px) {
  .topbar { grid-template-columns: 34px minmax(0, 1fr) 72px; gap: 6px; padding-inline: 7px; }
  .topbar-brand { font-size: 13px; }
  .topbar-actions { width: 72px; grid-template-columns: 34px 34px; grid-template-rows: 34px; gap: 4px; }
  .theme-toggle, .search-trigger { width: 34px; min-width: 34px; max-width: 34px; height: 34px; min-height: 34px; max-height: 34px; }
  .topnav-link { padding-inline: 9px; font-size: 11px; }
  .page-grid { padding-top: 120px; }
  .sidebar { top: 120px; }
  body::after { inset-block-start: 120px; }
  .topbar.is-compact { width: min(calc(100% - 44px), 744px); }
  html { scroll-padding-top: 132px; }
}
@media (hover: none) {
  .nav-cta:hover, .theme-toggle:hover, .inline-card:hover { transform: none; }
  .topnav-link, .theme-toggle, .nav-cta, .inline-card { transition-duration: .36s; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
