:root {
  color-scheme: dark;
  --bg: #0b0e12;
  --surface: #10151c;
  --surface-2: #151b23;
  --text: #eef2f5;
  --muted: #9aa6b2;
  --dim: #66727e;
  --line: rgba(255,255,255,.09);
  --line-strong: rgba(255,255,255,.16);
  --accent: #8fe8b8;
  --link: #9cc9ff;
  --warn: #e9c46a;
  --code: #090d12;
  --sidebar: 246px;
  --toc: 210px;
  --topbar: 54px;
  --content: 860px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #fbfcfd;
  --surface: #ffffff;
  --surface-2: #f3f6f8;
  --text: #17202a;
  --muted: #5f6b76;
  --dim: #88929c;
  --line: rgba(18,31,43,.10);
  --line-strong: rgba(18,31,43,.18);
  --accent: #087d4e;
  --link: #175f9d;
  --warn: #8a5a00;
  --code: #f4f6f8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); }
button, input { font: inherit; }
a { color: inherit; }
::-moz-selection { background: color-mix(in srgb, var(--accent) 25%, transparent); }
::selection { background: color-mix(in srgb, var(--accent) 25%, transparent); }

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--topbar);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  z-index: 20;
}

.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 680; }
.brand-mark { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 7px; background: var(--surface); color: var(--accent); font: 650 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.brand-text { font-size: 15px; letter-spacing: -.01em; }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.search-trigger { height: 32px; min-width: 190px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 8px 0 11px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--muted); cursor: pointer; font-size: 13px; }
kbd { min-width: 21px; height: 20px; display: inline-grid; place-items: center; padding: 0 5px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--surface-2); color: var(--dim); font: 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.icon-button { width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--muted); cursor: pointer; }
.icon-button:hover, .search-trigger:hover { border-color: var(--line-strong); color: var(--text); }

.app-shell { display: grid; grid-template-columns: var(--sidebar) minmax(0,1fr) var(--toc); min-height: 100vh; padding-top: var(--topbar); }
.sidebar { position: fixed; top: var(--topbar); bottom: 0; left: 0; width: var(--sidebar); overflow-y: auto; padding: 20px 12px 28px; border-right: 1px solid var(--line); background: var(--bg); z-index: 10; }
.sidebar nav { display: flex; flex-direction: column; gap: 20px; }
.nav-group-title { padding: 0 9px 6px; color: var(--dim); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.nav-group-links { display: grid; gap: 1px; }
.nav-link { min-height: 31px; display: flex; align-items: center; padding: 6px 9px; border-radius: 6px; color: var(--muted); text-decoration: none; font-size: 13px; line-height: 1.35; }
.nav-link:hover { color: var(--text); background: var(--surface); }
.nav-link.active { color: var(--text); background: var(--surface-2); font-weight: 600; }

.main { grid-column: 2; min-width: 0; padding: 48px 46px 96px; outline: none; }
.doc { width: min(100%, var(--content)); margin: 0 auto; }
.toc { position: fixed; top: var(--topbar); right: 0; bottom: 0; width: var(--toc); overflow-y: auto; padding: 38px 20px; border-left: 1px solid var(--line); }
.toc-label { margin-bottom: 12px; color: var(--dim); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.toc nav { display: grid; gap: 5px; }
.toc a { padding: 3px 0 3px 9px; border-left: 1px solid transparent; color: var(--dim); text-decoration: none; font-size: 12px; line-height: 1.35; }
.toc a:hover, .toc a.active { color: var(--text); border-left-color: var(--accent); }

.doc h1 { margin: 0 0 8px; font-size: clamp(30px, 3vw, 38px); line-height: 1.12; letter-spacing: -.028em; font-weight: 700; }
.doc > .lede { max-width: 720px; margin: 0 0 30px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.doc h2 { scroll-margin-top: 78px; margin: 40px 0 12px; font-size: 20px; line-height: 1.25; letter-spacing: -.018em; }
.doc h3 { scroll-margin-top: 78px; margin: 28px 0 9px; font-size: 16px; line-height: 1.3; }
.doc h4 { margin: 20px 0 8px; font-size: 13px; }
.doc p, .doc li { color: var(--muted); font-size: 14px; line-height: 1.6; }
.doc p { margin: 0 0 12px; }
.doc ul, .doc ol { margin: 10px 0 18px; padding-left: 21px; }
.doc li + li { margin-top: 5px; }
.doc strong { color: var(--text); font-weight: 650; }
.doc a:not(.doc-link-card):not(.reference-index-item) { color: var(--link); text-decoration: none; }
.doc a:not(.doc-link-card):not(.reference-index-item):hover { text-decoration: underline; text-underline-offset: 3px; }

.code-wrap { margin: 16px 0 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--code); }
.code-head { height: 32px; display: flex; align-items: center; justify-content: space-between; padding: 0 8px 0 12px; border-bottom: 1px solid var(--line); color: var(--dim); font: 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.copy-button { border: 0; border-radius: 4px; padding: 4px 6px; background: transparent; color: var(--dim); cursor: pointer; font-size: 10px; }
.copy-button:hover { color: var(--text); background: var(--surface-2); }
pre { margin: 0; padding: 15px 16px 17px; overflow-x: auto; }
code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace; }
pre code { color: color-mix(in srgb, var(--text) 90%, var(--link)); font-size: 12.5px; line-height: 1.65; -moz-tab-size: 2; -o-tab-size: 2; tab-size: 2; }
:not(pre) > code { padding: 1px 4px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface-2); color: var(--text); font-size: .88em; }

.table-wrap { width: 100%; margin: 14px 0 22px; overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; min-width: 580px; background: var(--surface); }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 13px; line-height: 1.45; }
th { color: var(--text); background: var(--surface-2); font-weight: 600; }
td { color: var(--muted); }
tr:last-child td { border-bottom: 0; }

.callout { margin: 18px 0; padding: 10px 12px; border-left: 2px solid var(--accent); background: color-mix(in srgb, var(--surface) 70%, transparent); }
.callout.warn { border-left-color: var(--warn); }
.callout strong { display: block; margin-bottom: 3px; font-size: 13px; }
.callout p { margin: 0; font-size: 13px; }

.link-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 14px 0 26px; border-top: 1px solid var(--line); }
.doc-link-card { display: grid; gap: 3px; padding: 12px 10px 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.doc-link-card strong { font-size: 13px; }
.doc-link-card span { color: var(--muted); font-size: 12.5px; line-height: 1.4; }

.method { display: grid; grid-template-columns: 155px minmax(0,1fr); gap: 18px; padding: 12px 0; border-top: 1px solid var(--line); }
.method:last-child { border-bottom: 1px solid var(--line); }
.method-name { color: var(--text); font-size: 12px; }
.method p { margin: 0; font-size: 13px; }

.reference-entry { scroll-margin-top: 78px; margin: 30px 0 44px; padding-top: 20px; border-top: 1px solid var(--line); }
.reference-entry:first-of-type { margin-top: 12px; }
.reference-entry h3 { margin-top: 0; }
.reference-summary { margin-bottom: 10px !important; color: var(--text) !important; }
.reference-meta { margin: 8px 0 14px !important; color: var(--dim) !important; font-size: 12.5px !important; }
.compact-list { margin: 10px 0 18px !important; padding-left: 19px !important; }
.compact-list li { font-size: 13px !important; line-height: 1.5 !important; }
.reference-table table { min-width: 720px; }
.reference-notes { color: var(--dim); }

.reference-index { margin: 14px 0 28px; border-top: 1px solid var(--line); }
.reference-index-item { position: relative; display: grid; grid-template-columns: 170px minmax(0,1fr) 20px; gap: 16px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.reference-index-item strong { color: var(--text); font-size: 13px; }
.reference-index-item span { color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.reference-index-item:hover strong, .reference-index-item:hover .reference-arrow { color: var(--accent); }
.reference-arrow { text-align: right; color: var(--dim) !important; }

.search-dialog { width: min(620px,calc(100vw - 24px)); padding: 0; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); color: var(--text); box-shadow: 0 24px 70px rgba(0,0,0,.38); }
.search-dialog::backdrop { background: rgba(0,0,0,.55); }
.search-box { overflow: hidden; }
.search-input-wrap { height: 52px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.search-input-wrap input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 14px; }
.search-input-wrap input::-moz-placeholder { color: var(--dim); }
.search-input-wrap input::placeholder { color: var(--dim); }
.search-icon { color: var(--dim); font-size: 19px; }
.search-results { max-height: 420px; overflow-y: auto; padding: 6px; }
.search-result { width: 100%; display: grid; gap: 2px; padding: 10px; border: 0; border-radius: 6px; background: transparent; text-align: left; color: var(--text); cursor: pointer; }
.search-result:hover, .search-result.selected { background: var(--surface-2); }
.search-result-meta { color: var(--accent); font-size: 9px; text-transform: uppercase; letter-spacing: .07em; }
.search-result-title { font-size: 13px; font-weight: 650; }
.search-result-copy { color: var(--dim); font-size: 12px; line-height: 1.4; }
.search-empty { padding: 32px 16px; text-align: center; color: var(--dim); font-size: 13px; }
.search-hint { padding: 8px 12px 10px; border-top: 1px solid var(--line); color: var(--dim); font-size: 10px; text-align: right; }
.mobile-only { display: none; }

@media (max-width: 1080px) {
  .app-shell { grid-template-columns: var(--sidebar) minmax(0,1fr); }
  .toc { display: none; }
  .main { padding-left: 36px; padding-right: 36px; }
}

@media (max-width: 760px) {
  :root { --topbar: 52px; }
  .topbar { padding: 0 12px; }
  .search-trigger { min-width: 34px; width: 34px; padding: 0; justify-content: center; }
  .search-trigger span { display: none; }
  .search-trigger kbd { border: 0; background: transparent; }
  .mobile-only { display: grid; }
  .sidebar { transform: translateX(-101%); transition: transform 160ms ease; box-shadow: 16px 0 40px rgba(0,0,0,.25); }
  body.menu-open .sidebar { transform: translateX(0); }
  .app-shell { display: block; }
  .main { padding: 36px 18px 72px; }
  .doc h1 { font-size: 30px; }
  .link-grid { grid-template-columns: 1fr; }
  .reference-index-item { grid-template-columns: 1fr 20px; gap: 3px 8px; }
  .reference-index-item span:not(.reference-arrow) { grid-column: 1; }
  .reference-arrow { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .method { grid-template-columns: 1fr; gap: 5px; }
}

/*# sourceMappingURL=globals-4be5e8fb.css.map */