
:root {
  color-scheme: dark;
  --canvas: #111113;
  --surface: #161618;
  --surface-soft: #1e1e22;
  --ink: #ededf0;
  --muted: #adadb5;
  --faint: #909098;
  --line: #2b2b30;
  --line-strong: #414148;
  --accent: #d6d6e0;
  --code: #151517;
  --code-ink: #ddddE4;
  --code-muted: #a0a0aa;
  --syntax-key: #d8d8df;
  --syntax-string: #b8c5d8;
  --syntax-literal: #c9bbd6;
  --header-height: 62px;
  --sidebar-width: 224px;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
}
:root[data-theme="light"] {
  color-scheme: light;
  --canvas: #ffffff;
  --surface: #fafafa;
  --surface-soft: #f0f0f2;
  --ink: #202025;
  --muted: #5f5f68;
  --faint: #676771;
  --line: #e3e3e7;
  --line-strong: #bcbcc5;
  --accent: #383842;
  --code: #f7f7f8;
  --code-ink: #303038;
  --code-muted: #65656e;
  --syntax-key: #33333d;
  --syntax-string: #3d5273;
  --syntax-literal: #6b4d7e;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-height) + 24px); }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; appearance: none; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--ink); }
button, a, input, summary, pre { outline-offset: 4px; }
:focus-visible { outline: 2px solid var(--accent); }
svg { flex: 0 0 auto; vertical-align: middle; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.35; font-weight: 600; }
h1 { font-size: 34px; letter-spacing: -.025em; }
h2 { font-size: 21px; letter-spacing: -.015em; }
h3 { font-size: 15px; }
p { color: var(--muted); }
p a { text-decoration: underline; text-underline-offset: 3px; }
code, pre, kbd { font-family: var(--mono); }
:not(pre) > code { color: var(--ink); background: var(--surface-soft); padding: 2px 5px; border-radius: 3px; font-size: .85em; overflow-wrap: anywhere; }
pre { margin: 0; }
pre code { font-size: inherit; }
::selection { background: #454553; color: #fff; }
.js-only { display: none !important; }
.enhanced .js-only { display: inline-flex !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; background: var(--ink); color: var(--canvas); padding: 10px 16px; }
.skip-link:focus { top: 10px; }
.site-header { position: fixed; z-index: 30; inset: 0 0 auto; height: var(--header-height); display: flex; align-items: center; gap: 32px; padding: 0 28px; background: var(--canvas); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; color: var(--ink); font-size: 20px; font-weight: 600; letter-spacing: -.02em; min-width: 164px; }
.brand-docs { font-size: 12px; color: var(--faint); font-weight: 400; letter-spacing: 0; padding-left: 14px; border-left: 1px solid var(--line-strong); }
.search-trigger { align-items: center; gap: 9px; width: 290px; height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--faint); font-size: 12px; text-align: left; }
.search-trigger:hover { border-color: var(--line-strong); }
.search-trigger svg { width: 14px; height: 14px; }
kbd { border: 1px solid var(--line-strong); border-radius: 3px; padding: 1px 4px; font-size: 10px; color: var(--faint); font-weight: 400; }
.search-trigger kbd { margin-left: auto; white-space: nowrap; }
.header-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.source-link { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.source-link svg { width: 14px; height: 14px; }
.header-separator { width: 1px; height: 16px; background: var(--line); margin: 0 4px 0 6px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 0; background: transparent; border-radius: 3px; color: var(--muted); flex-shrink: 0; }
.icon-button:hover { background: var(--surface-soft); color: var(--ink); }
.icon-button svg { width: 17px; height: 17px; }
.enhanced .mobile-search, .enhanced .menu-toggle { display: none !important; }
.sidebar { position: fixed; z-index: 20; top: var(--header-height); bottom: 0; left: 0; width: var(--sidebar-width); border-right: 1px solid var(--line); background: var(--canvas); padding: 30px 20px 20px; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; scrollbar-width: thin; }
.nav-group + .nav-group { margin-top: 25px; }
.nav-group-label { color: var(--faint); font-size: 11px; font-weight: 500; margin: 0 0 8px; padding-left: 10px; }
.nav-link { display: flex; align-items: center; gap: 10px; padding: 6px 10px; min-height: 34px; margin: 2px 0; border-left: 1px solid transparent; color: var(--muted); font-size: 13px; line-height: 1.6; }
.nav-link:hover { color: var(--ink); }
.nav-link.is-active { color: var(--ink); border-left-color: var(--ink); font-weight: 500; }
.resource-link > svg { width: 12px; height: 12px; margin-left: auto; }
.sidebar-footer { display: flex; justify-content: space-between; padding: 30px 10px 0; margin-top: auto; font-size: 11px; color: var(--faint); }
.sidebar-footer span { font-family: var(--mono); font-size: 10px; }
.nav-backdrop { display: none; }
.page-shell { margin-left: var(--sidebar-width); padding: calc(var(--header-height) + 26px) 56px 0; max-width: 1630px; }
.breadcrumb { display: flex; align-items: center; gap: 9px; color: var(--faint); font-size: 12px; margin-bottom: 36px; min-height: 24px; }
.breadcrumb svg { width: 11px; height: 11px; }
#current-page { color: var(--muted); }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 144px; gap: 60px; align-items: start; }
main { min-width: 0; max-width: 940px; }
.doc-view { padding-bottom: 20px; }
.doc-view[hidden] { display: none; }
.doc-view > h2 { margin: 34px 0 13px; }
.doc-view > p { margin: 0 0 18px; max-width: 740px; }
.doc-view > .code-window { margin: 20px 0; }
.view-heading { margin-bottom: 28px; max-width: 760px; }
.eyebrow { display: block; color: var(--faint); font-size: 12px; font-weight: 400; margin-bottom: 9px; }
.view-heading h1 { margin-bottom: 13px; }
.view-heading p { max-width: 660px; font-size: 15px; line-height: 1.8; }
.base-url { display: flex; align-items: center; gap: 15px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 9px 0; margin: 0 0 34px; font-size: 12px; }
.base-url > span { color: var(--faint); }
.base-url code { background: none; padding: 0; font-size: 12px; font-weight: 400; }
.base-url .icon-button { margin-left: auto; }
.getting-started-link { font-size: 13px; }
.reference-list { border-top: 1px solid var(--line); margin-top: 20px; }
.reference-row { display: grid; grid-template-columns: 1fr 1.3fr 15px; align-items: center; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.reference-row:hover { color: var(--ink); }
.reference-name { color: var(--ink); font-size: 14px; display: flex; flex-direction: column; gap: 5px; }
.reference-name code { width: fit-content; background: none; padding: 0; color: var(--faint); font-size: 11px; }
.reference-row > svg { width: 13px; height: 13px; color: var(--faint); }
.text-link { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.text-link svg { width: 13px; height: 13px; }
.code-window { min-width: 0; border: 1px solid var(--line); border-radius: 4px; background: var(--code); color: var(--code-ink); overflow: hidden; }
.code-toolbar { min-height: 40px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 12px 0 17px; border-bottom: 1px solid var(--line); color: var(--code-muted); font-family: var(--mono); font-size: 11px; }
.code-toolbar > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy-button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 32px; min-height: 34px; padding: 4px 5px; border: 0; border-radius: 3px; background: transparent; color: var(--code-muted); font-family: var(--sans); font-size: 11px; }
.copy-button:hover { color: var(--ink); background: var(--surface-soft); }
.copy-button svg { width: 12px; height: 12px; }
.code-window pre { padding: 18px; font-size: 12px; line-height: 1.85; overflow: auto; max-height: 440px; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; tab-size: 2; }
.code-window pre:focus-visible { outline-offset: -3px; }
.syntax-key { color: var(--syntax-key); }
.syntax-string { color: var(--syntax-string); }
.syntax-literal { color: var(--syntax-literal); }
.page-outline { position: sticky; top: calc(var(--header-height) + 35px); padding-top: 3px; font-size: 12px; }
.page-outline > p { color: var(--faint); font-size: 11px; margin-bottom: 15px; }
.page-outline nav { display: grid; gap: 4px; border-left: 1px solid var(--line); }
.page-outline nav a { display: block; padding: 4px 0 4px 13px; color: var(--faint); line-height: 1.6; margin-left: -1px; border-left: 1px solid transparent; }
.page-outline nav a:hover, .page-outline nav a.is-active { color: var(--ink); border-color: var(--muted); }
.content-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 35px; padding: 20px 0 28px; border-top: 1px solid var(--line); color: var(--faint); font-size: 11px; }
.content-footer > div { display: flex; gap: 18px; }
.content-footer a { color: var(--faint); }
.content-footer a:hover { color: var(--ink); }
.section-meta { display: flex; align-items: center; gap: 9px; color: var(--faint); padding-bottom: 22px; font-size: 12px; }
.section-meta > svg { display: none; }
.meta-divider { margin: 0 3px; }
.endpoint { padding: 28px 0 34px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-height) + 30px); }
.endpoint-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 22px; }
.endpoint-route { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 10px; min-width: 0; }
.endpoint-route > code { font-size: 12px; background: none; padding: 3px 0; line-height: 1.7; overflow-wrap: anywhere; }
.method { font-family: var(--mono); color: var(--accent); border: 1px solid var(--line-strong); border-radius: 3px; font-size: 10px; font-weight: 400; line-height: 1.65; padding: 3px 6px; white-space: nowrap; }
.access-label { display: flex; gap: 5px; align-items: center; color: var(--faint); font-size: 11px; white-space: nowrap; padding-top: 4px; }
.access-label svg { width: 12px; height: 12px; }
.endpoint-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 30px; }
.endpoint-description, .endpoint-examples { min-width: 0; }
.endpoint-description h2 { font-size: 20px; margin-bottom: 13px; }
.heading-anchor { opacity: 0; margin-left: 7px; color: var(--faint); font-weight: 400; font-size: 15px; }
h2:hover .heading-anchor, .heading-anchor:focus { opacity: 1; }
.endpoint-description p, .endpoint-notes { font-size: 14px; line-height: 1.85; }
.endpoint-notes { color: var(--muted); padding-left: 16px; margin: 16px 0 0; }
.endpoint-notes li + li { margin-top: 10px; }
.endpoint-notes li::marker { color: var(--faint); }
.folder-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0; }
.folder-list code { background: none; border: 1px solid var(--line); font-size: 11px; padding: 2px 6px; color: var(--muted); }
.example-tabs { gap: 18px; align-items: center; margin-bottom: 10px; }
.example-tab { min-height: 35px; padding: 4px 0 6px; border: 0; border-bottom: 1px solid transparent; font-size: 12px; background: none; color: var(--faint); }
.example-tab[aria-pressed="true"] { color: var(--ink); border-color: var(--ink); }
.endpoint-examples [data-example-panel] + [data-example-panel] { margin-top: 14px; }
.enhanced .endpoint-examples [data-example-panel] { margin-top: 0; }
.request-body { margin-top: 20px; border-top: 1px solid var(--line); }
.request-body summary { display: flex; align-items: center; list-style: none; gap: 8px; padding: 12px 0; cursor: pointer; font-size: 12px; color: var(--muted); }
.request-body summary::-webkit-details-marker { display: none; }
.request-body summary svg { width: 12px; height: 12px; margin-left: auto; }
.request-body[open] summary svg { transform: rotate(90deg); }
.request-body .code-window pre { font-size: 11px; padding: 15px; }
.steps { border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 16px; padding: 29px 0; }
.step + .step { border-top: 1px solid var(--line); }
.step-number { color: var(--faint); font-family: var(--mono); font-size: 11px; padding-top: 4px; }
.step h2 { font-size: 21px; margin-bottom: 14px; }
.step p { font-size: 14px; margin-bottom: 20px; }
.next-link { margin-top: 18px; }
.callout { display: flex; align-items: flex-start; gap: 11px; border-left: 2px solid var(--line-strong); padding: 3px 0 3px 15px; margin: 25px 0; }
.callout > svg { display: none; }
.callout p, .step .callout p { color: var(--muted); font-size: 13px; line-height: 1.8; margin: 0; }
.role-list { border-top: 1px solid var(--line); margin: 22px 0; }
.role-row { display: grid; grid-template-columns: 20px 100px minmax(0, 1fr); gap: 13px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.role-priority { color: var(--faint); font-family: var(--mono); font-size: 11px; }
.role-row code { background: none; padding: 0; font-size: 12px; }
.status-list { margin: 22px 0 35px; border-top: 1px solid var(--line); }
.status-row { display: grid; grid-template-columns: 45px minmax(0, 1fr); gap: 17px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.status-row > code { background: none; padding: 0; font-size: 12px; }
.status-row h3 { margin-bottom: 6px; font-size: 14px; }
.status-row p { font-size: 13px; line-height: 1.8; }
.table-scroll { overflow-x: auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 22px 0; scrollbar-width: thin; }
table { width: 100%; min-width: 450px; border-collapse: collapse; text-align: left; font-size: 13px; }
th { padding: 12px 16px; font-size: 12px; font-weight: 500; color: var(--faint); }
td { padding: 14px 16px; border-top: 1px solid var(--line); color: var(--muted); }
td:first-child { color: var(--ink); }
.search-dialog { width: min(600px, calc(100% - 32px)); max-height: min(620px, calc(100dvh - 60px)); margin: min(15vh, 130px) auto auto; padding: 0; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); color: var(--ink); overflow: hidden; }
.search-dialog::backdrop { background: #0009; }
.search-dialog-top { display: flex; gap: 12px; align-items: center; padding: 11px 14px 11px 20px; border-bottom: 1px solid var(--line); }
.search-dialog-top > svg { color: var(--faint); }
.search-dialog-top input { width: 100%; min-width: 0; padding: 10px 0; background: transparent; border: 0; color: var(--ink); outline: none; font-size: 15px; }
.search-dialog-top input::placeholder { color: var(--faint); }
.search-results { padding: 8px; overflow-y: auto; max-height: min(420px, calc(100dvh - 240px)); }
.search-result { display: block; padding: 12px 13px; border-radius: 3px; color: var(--ink); }
.search-result:hover, .search-result.is-selected { background: var(--surface-soft); }
.search-result strong { display: block; font-size: 13px; font-weight: 500; }
.search-result span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.search-empty { padding: 30px 20px; text-align: center; font-size: 13px; }
.search-dialog-footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 17px; border-top: 1px solid var(--line); color: var(--faint); font-size: 10px; }
.search-dialog-footer kbd { margin: 0 3px; }
.toast { position: fixed; z-index: 100; bottom: 24px; left: 50%; transform: translateX(-50%); border: 1px solid var(--line-strong); background: var(--surface-soft); color: var(--ink); padding: 10px 16px; border-radius: 4px; font-size: 12px; opacity: 0; pointer-events: none; max-width: calc(100vw - 32px); text-align: center; }
.toast.is-visible { opacity: 1; }
@media (max-width: 1300px) { .content-layout { grid-template-columns: minmax(0, 1fr); } .page-outline { display: none; } .page-shell { padding-left: 45px; padding-right: 45px; } main { max-width: 940px; } }
@media (max-width: 1100px) { .page-shell { padding-left: 32px; padding-right: 32px; } .endpoint-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
@media (max-width: 900px) {
  :root { --header-height: 58px; }
  .site-header { padding: 0 22px; gap: 20px; }
  .brand { min-width: 0; }
  .search-trigger { width: min(280px, 34vw); margin-left: auto; }
  .header-actions { margin-left: 0; gap: 4px; }
  .source-link, .header-separator { display: none; }
  .enhanced .menu-toggle { display: inline-flex !important; }
  .page-shell { margin-left: 0; padding: calc(var(--header-height) + 22px) 34px 0; }
  .breadcrumb { margin-bottom: 29px; }
  .sidebar { position: static; width: 100%; max-height: none; border-right: 0; border-bottom: 1px solid var(--line); margin-top: var(--header-height); }
  body:not(.enhanced) .page-shell { padding-top: 22px; }
  .enhanced .sidebar { position: fixed; width: min(320px, 88vw); top: var(--header-height); bottom: 0; margin: 0; border-right: 1px solid var(--line); border-bottom: 0; transform: translateX(-101%); transition: transform .15s ease; }
  .enhanced.nav-open .sidebar { transform: translateX(0); }
  .nav-open { overflow: hidden; }
  .nav-open .nav-backdrop { display: block; position: fixed; z-index: 15; inset: var(--header-height) 0 0; background: #0008; border: 0; }
  .nav-link { min-height: 44px; font-size: 14px; }
}
@media (max-width: 680px) {
  .site-header { padding: 0 16px; gap: 8px; }
  .brand { font-size: 18px; gap: 10px; }
  .brand-docs { font-size: 11px; padding-left: 10px; }
  .enhanced .search-trigger { display: none !important; }
  .enhanced .mobile-search { display: inline-flex !important; }
  .header-actions { margin-left: auto; gap: 0; }
  .header-actions .icon-button { width: 36px; height: 44px; }
  .page-shell { padding-left: 21px; padding-right: 21px; }
  .breadcrumb { font-size: 11px; gap: 7px; margin-bottom: 27px; }
  .view-heading { margin-bottom: 24px; }
  .view-heading h1 { font-size: 29px; margin-bottom: 12px; }
  .view-heading p { font-size: 14px; }
  .eyebrow { font-size: 11px; }
  .base-url { flex-wrap: wrap; gap: 5px 12px; padding: 13px 0; margin-bottom: 28px; }
  .base-url > span { width: 100%; }
  .base-url code { font-size: 12px; }
  .base-url .icon-button { height: 30px; }
  .doc-view > h2 { font-size: 20px; margin-top: 29px; }
  .doc-view > p { font-size: 14px; }
  .reference-row { grid-template-columns: minmax(0, 1fr) 15px; gap: 9px 15px; padding: 16px 0; }
  .reference-row > span:nth-child(2) { grid-column: 1; grid-row: 2; font-size: 12px; }
  .reference-row > svg { grid-column: 2; grid-row: 1 / span 2; }
  .reference-name { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 7px 12px; font-size: 14px; }
  .content-footer { margin-top: 25px; padding-bottom: 24px; }
  .section-meta { flex-wrap: wrap; gap: 7px; font-size: 11px; }
  .endpoint { padding-top: 23px; padding-bottom: 29px; }
  .endpoint-heading { flex-direction: column; gap: 9px; margin-bottom: 19px; }
  .endpoint-route { flex-wrap: nowrap; width: 100%; align-items: flex-start; gap: 8px; }
  .endpoint-route > code { font-size: 11px; }
  .method { flex-shrink: 0; font-size: 9px; margin-top: 2px; }
  .access-label { padding-top: 0; }
  .endpoint-description h2 { font-size: 20px; }
  .heading-anchor { opacity: 1; }
  .code-window pre { padding: 16px; font-size: 11.5px; max-height: 380px; }
  .code-toolbar { padding-left: 16px; }
  .copy-button { min-height: 36px; }
  .example-tab { min-height: 44px; }
  .step { grid-template-columns: 20px minmax(0, 1fr); gap: 12px; padding: 25px 0; }
  .step h2 { font-size: 21px; }
  .step p { font-size: 14px; }
  .step .code-window pre { font-size: 11px; padding: 14px; }
  .role-row { grid-template-columns: 20px minmax(0, 1fr); gap: 5px 12px; }
  .role-row > span:last-child { grid-column: 2; font-size: 12px; }
  .role-priority { grid-row: span 2; align-self: start; }
  .status-row { gap: 13px; grid-template-columns: 36px minmax(0, 1fr); }
  .search-dialog { margin-top: 18px; }
  .search-dialog-top input { font-size: 16px; }
  .search-dialog-footer { font-size: 9px; padding: 10px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
@media print {
  :root { color-scheme: light; --canvas: #fff; --surface: #fff; --ink: #111; --muted: #333; --faint: #444; --accent: #111; --code: #fff; --code-ink: #111; --syntax-key: #111; --syntax-string: #333; --syntax-literal: #333; }
  .site-header, .sidebar, .page-outline, .breadcrumb, .content-footer, .js-only, .nav-backdrop, .toast, .search-dialog { display: none !important; }
  .page-shell { margin: 0; padding: 0; }
  .content-layout, .endpoint-grid { display: block; }
  .doc-view[hidden], [data-example-panel][hidden] { display: block !important; }
  .doc-view { break-before: page; }
  .overview-view { break-before: auto; }
  .code-window { margin: 15px 0; }
  .code-window pre { max-height: none; white-space: pre-wrap; overflow-wrap: anywhere; }
}
