@font-face {
  font-family: "Nunito Sans Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url(/docs/_shell/nunito-sans-latin-wght-normal.29e389049684.woff2) format("woff2-variations");
}
@font-face {
  font-family: "Nunito Sans Variable";
  font-style: italic;
  font-display: swap;
  font-weight: 200 1000;
  src: url(/docs/_shell/nunito-sans-latin-wght-italic.8904d953726b.woff2) format("woff2-variations");
}
@font-face {
  font-family: "Inconsolata Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/docs/_shell/inconsolata-latin-wght-normal.4914e68b9869.woff2) format("woff2-variations");
}

:root {
  color-scheme: light;
  --background: oklch(0.99 0.003 250);
  --foreground: oklch(0.22 0.015 250);
  --card: oklch(0.99 0.003 250);
  --popover: oklch(0.99 0.003 250);
  --popover-foreground: oklch(0.22 0.015 250);
  --primary: oklch(0.52 0.15 250);
  --primary-foreground: oklch(0.99 0 0);
  --secondary: oklch(0.955 0.008 250);
  --muted: oklch(0.965 0.006 250);
  --muted-foreground: oklch(0.46 0.015 250);
  --accent: oklch(0.955 0.008 250);
  --border: oklch(0.87 0.008 250);
  --input: oklch(0.87 0.008 250);
  --ring: oklch(0.52 0.15 250);
  --stripe: oklch(0.975 0.005 250);
  --warn-bg: oklch(0.96 0.05 85);
  --warn-border: oklch(0.78 0.13 75);
  --warn-fg: oklch(0.45 0.1 60);
  --radius: 0.625rem;
  --link: oklch(0.52 0.12 215);
  --link-hover: oklch(0.45 0.13 215);
  --tok-kw: oklch(0.47 0.15 250);
  --tok-st: oklch(0.48 0.12 150);
  --tok-dv: oklch(0.5 0.13 40);
  --tok-co: oklch(0.52 0.015 250);
  --font-sans: "Nunito Sans Variable", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Inconsolata Variable", ui-monospace, monospace;
  --header-h: 56px;
}
.dark {
  color-scheme: dark;
  --background: oklch(0.23 0.012 250);
  --foreground: oklch(0.96 0.004 250);
  --card: oklch(0.25 0.013 250);
  --popover: oklch(0.28 0.014 250);
  --popover-foreground: oklch(0.96 0.004 250);
  --primary: oklch(0.74 0.15 250);
  --primary-foreground: oklch(0.2 0.02 250);
  --secondary: oklch(0.31 0.014 250);
  --muted: oklch(0.3 0.014 250);
  --muted-foreground: oklch(0.8 0.012 250);
  --accent: oklch(0.32 0.016 250);
  --border: oklch(0.4 0.012 250);
  --input: oklch(0.4 0.012 250);
  --ring: oklch(0.74 0.15 250);
  --stripe: oklch(0.255 0.013 250);
  --warn-bg: oklch(0.32 0.05 75);
  --warn-border: oklch(0.6 0.12 75);
  --warn-fg: oklch(0.88 0.1 85);
  --link: oklch(0.7 0.15 210);
  --link-hover: oklch(0.78 0.13 210);
  --tok-kw: oklch(0.8 0.15 250);
  --tok-st: oklch(0.8 0.12 150);
  --tok-dv: oklch(0.8 0.11 60);
  --tok-co: oklch(0.7 0.015 250);
}

*, *::before, *::after { box-sizing: border-box; border: 0 solid var(--border); }
html { scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--background); color: var(--foreground); font-family: var(--font-sans); font-size: 16px; line-height: 1.6; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
svg.i { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
button { font: inherit; color: inherit; background: none; cursor: pointer; padding: 0; }
a { color: var(--link); text-decoration: underline; text-underline-offset: 0.2rem; transition: color 0.15s ease; }
a:hover { color: var(--link-hover); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.site-header { position: sticky; top: 0; z-index: 50; width: 100%; border-bottom-width: 1px; background: color-mix(in oklab, var(--background) 60%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.site-header .bar { display: flex; height: var(--header-h); align-items: center; padding: 0 8px; }
.brand { margin-right: 24px; font-size: 20px; line-height: 28px; font-weight: 700; letter-spacing: -0.025em; color: var(--foreground); text-decoration: none; white-space: nowrap; }
.brand:hover { color: var(--foreground); }
.topnav { display: flex; align-items: center; gap: 4px; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border-radius: 6px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--muted-foreground); text-decoration: none; white-space: nowrap; transition: color 0.15s ease, background-color 0.15s ease; }
.nav-link:hover, .nav-link.active { color: var(--foreground); background: var(--accent); }
.nav-link svg.i { width: 12px; height: 12px; }
.header-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 6px; color: var(--foreground); }
.icon-btn:hover { background: var(--accent); }
.icon-btn svg.i { width: 20px; height: 20px; }
.only-mobile { display: none; }

.search { position: relative; width: 16rem; }
.search svg.i { position: absolute; left: 10px; top: 10px; color: var(--muted-foreground); }
.search input { width: 100%; height: 36px; border-radius: 6px; border: 1px solid var(--input); background: transparent; color: var(--foreground); font: inherit; font-size: 14px; padding: 4px 32px 4px 32px; box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); outline: none; }
.dark .search input { background: color-mix(in oklab, var(--input) 30%, transparent); }
.search input::placeholder { color: var(--muted-foreground); }
.search input:focus { border-color: var(--ring); box-shadow: 0 0 0 3px color-mix(in oklab, var(--ring) 50%, transparent); }
.search kbd { position: absolute; right: 8px; top: 8px; font-family: var(--font-mono); font-size: 12px; line-height: 18px; padding: 0 6px; border: 1px solid var(--border); border-radius: 4px; color: var(--muted-foreground); }
.results { position: absolute; right: 0; top: calc(100% + 4px); width: min(420px, calc(100vw - 32px)); margin: 0; padding: 4px; list-style: none; background: var(--popover); color: var(--popover-foreground); border: 1px solid var(--border); border-radius: 6px; box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); max-height: 70vh; overflow-y: auto; }
.results .grp { padding: 6px 8px 2px; font-size: 12px; font-weight: 500; color: var(--muted-foreground); }
.results a { display: block; padding: 6px 8px; border-radius: 4px; font-size: 14px; color: var(--popover-foreground); text-decoration: none; }
.results a:hover, .results a.sel { background: var(--accent); }
.results small { display: block; font-size: 12px; color: var(--muted-foreground); }
.results .none { padding: 6px 8px; font-size: 14px; color: var(--muted-foreground); }

.docs { flex: 1; width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 256px minmax(0, 1fr) 208px; gap: 48px; }
.docs.wide { grid-template-columns: 256px minmax(0, 1fr); }
.side { position: sticky; top: var(--header-h); align-self: start; max-height: calc(100vh - var(--header-h)); overflow-y: auto; padding: 24px 4px 32px 0; font-size: 14px; }
.side ul { list-style: none; margin: 0; padding: 0; }
.side .label, .sheet .label { display: block; padding: 4px 12px; font-size: 12px; line-height: 16px; font-weight: 500; color: var(--muted-foreground); }
.side .sec { margin-top: 16px; }
.side summary.label, .sheet summary.label { display: flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; border-radius: 6px; }
.side summary.label::-webkit-details-marker, .sheet summary.label::-webkit-details-marker { display: none; }
.side summary.label:hover, .sheet summary.label:hover { color: var(--foreground); }
summary.label .count { font-size: 11px; opacity: 0.8; }
summary.label svg.i { margin-left: auto; width: 14px; height: 14px; transform: rotate(-90deg); transition: transform 0.15s ease; }
details[open] > summary.label svg.i { transform: none; }
.side a, .sheet .tree a { display: flex; align-items: baseline; gap: 6px; padding: 5px 12px; border-radius: 6px; line-height: 1.35; color: var(--muted-foreground); text-decoration: none; transition: color 0.15s ease, background-color 0.15s ease; }
.side a:hover, .sheet .tree a:hover { color: var(--foreground); background: var(--accent); }
.side a.on, .sheet .tree a.on { color: var(--foreground); background: var(--accent); font-weight: 600; }
.side a .tag, .sheet .tree a .tag { margin-left: auto; font-size: 11px; font-weight: 500; padding: 0 6px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted-foreground); }
.product { margin: 0 0 8px; padding: 0 12px 14px; border-bottom-width: 1px; }
.product .back { display: inline-flex; align-items: center; gap: 4px; margin: 0 0 10px -4px; padding: 2px 4px; font-size: 13px; color: var(--muted-foreground); }
.product .back:hover { background: none; color: var(--foreground); }
.product .name { display: flex; align-items: baseline; gap: 8px; }
.product .name b { font-family: var(--font-mono); font-size: 22px; font-weight: 700; letter-spacing: 0; }
.product .ver { font-size: 12px; font-weight: 500; padding: 0 6px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted-foreground); }
.product p { margin: 2px 0 0; font-size: 13px; color: var(--muted-foreground); }
.product.hub { padding-top: 0; }
.vpick { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: 13px; color: var(--muted-foreground); }
.vpick select { flex: 1; min-width: 0; font: inherit; color: var(--foreground); background: var(--background); border: 1px solid var(--input); border-radius: 6px; padding: 4px 6px; cursor: pointer; }
.vpick select:focus-visible { outline: 2px solid var(--ring); outline-offset: 1px; }
.vbanner { margin: 0 0 20px; padding: 10px 14px; font-size: 14px; color: var(--warn-fg); background: var(--warn-bg); border: 1px solid var(--warn-border); border-radius: 8px; }
.vbanner a { color: inherit; font-weight: 600; text-decoration: underline; }

main { min-width: 0; padding: 24px 0 48px; }
.doc .crumbs, .crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0 0 8px; padding: 0; list-style: none; font-size: 14px; color: var(--muted-foreground); }
.crumbs a { color: var(--muted-foreground); text-decoration: none; }
.crumbs a:hover { color: var(--foreground); }
.crumbs svg.i { width: 14px; height: 14px; }
.doc { max-width: 768px; }
.doc h1 { font-size: 30px; line-height: 36px; font-weight: 700; letter-spacing: -0.025em; margin: 0 0 16px; text-wrap: balance; }
.doc h2 { font-size: 24px; line-height: 32px; font-weight: 700; letter-spacing: -0.01em; margin: 40px 0 12px; padding-bottom: 6px; border-bottom-width: 1px; text-wrap: balance; }
.doc h3 { font-size: 18px; line-height: 28px; font-weight: 600; margin: 28px 0 8px; }
.doc h4 { font-size: 16px; font-weight: 600; margin: 24px 0 6px; color: var(--muted-foreground); }
.doc p, .doc ul, .doc ol { margin: 0 0 16px; }
.doc ul, .doc ol { padding-left: 24px; }
.doc li { margin: 4px 0; }
.doc li > p { margin: 0; }
.doc strong { font-weight: 700; }
.doc img { max-width: 100%; height: auto; }
code { font-family: var(--font-mono); font-size: 1.0em; background: var(--muted); border: 1px solid var(--border); border-radius: 4px; padding: 0 4px; overflow-wrap: anywhere; }
pre { margin: 0 0 20px; background: var(--muted); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; overflow-x: auto; font-size: 15px; line-height: 1.5; }
pre code { background: none; border: 0; padding: 0; font-size: inherit; overflow-wrap: normal; }
pre code a { display: none; }
div.sourceCode { margin: 0; }
code span.kw, code span.cf, code span.im { color: var(--tok-kw); font-weight: 600; }
code span.dt, code span.bu { color: var(--tok-kw); }
code span.st, code span.ch, code span.ss, code span.sc { color: var(--tok-st); }
code span.dv, code span.fl, code span.bn, code span.cn, code span.ot { color: var(--tok-dv); }
code span.co, code span.cv, code span.do { color: var(--tok-co); font-style: italic; }
.table { overflow-x: auto; margin: 0 0 20px; border: 1px solid var(--border); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { padding: 8px 12px; text-align: left; vertical-align: top; border-bottom-width: 1px; }
th { font-weight: 500; background: var(--muted); }
tbody tr:nth-child(even) { background: var(--stripe); }
tbody tr:last-child td { border-bottom: 0; }
td code { white-space: nowrap; }
blockquote { margin: 0 0 16px; padding: 8px 16px; border-left: 4px solid var(--primary); background: var(--muted); border-radius: 0 6px 6px 0; }
blockquote p:last-child { margin: 0; }

.toc-inline { display: none; margin: 0 0 20px; border: 1px solid var(--border); border-radius: var(--radius); padding: 0 12px; }
.toc-inline summary { padding: 8px 0; font-size: 14px; font-weight: 600; cursor: pointer; }
.toc-inline ul { margin: 0 0 10px; }
.onpage { position: sticky; top: var(--header-h); align-self: start; max-height: calc(100vh - var(--header-h)); overflow-y: auto; padding: 24px 0; font-size: 13px; }
.onpage .label { display: block; margin: 0 0 6px; font-size: 12px; font-weight: 500; color: var(--muted-foreground); }
.onpage ul, .toc-inline ul { list-style: none; padding: 0; border-left-width: 1px; }
.onpage a, .toc-inline a { display: block; padding: 3px 0 3px 12px; margin-left: -1px; border-left: 1px solid transparent; line-height: 1.35; color: var(--muted-foreground); text-decoration: none; }
.onpage a:hover, .toc-inline a:hover { color: var(--foreground); }
.onpage a.on { color: var(--foreground); border-left-color: var(--primary); font-weight: 600; }
.onpage li.l3 a, .toc-inline li.l3 a { padding-left: 24px; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.pager a { display: block; padding: 14px 16px; background: var(--card); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); text-decoration: none; color: var(--foreground); font-weight: 600; }
.pager a:hover { border-color: var(--primary); color: var(--foreground); }
.pager span { display: block; font-size: 12px; font-weight: 500; color: var(--muted-foreground); }
.pager .next { grid-column: 2; text-align: right; }
.edit { margin-top: 32px; font-size: 14px; color: var(--muted-foreground); }
.edit a { color: var(--muted-foreground); }

.hero { padding: 16px 0 8px; }
.eyebrow { margin: 0 0 4px; font-size: 14px; font-weight: 600; color: var(--primary); }
.hero h1 { font-size: 40px; line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 12px; max-width: 20ch; }
.hero h1.mono { font-family: var(--font-mono); font-size: 56px; letter-spacing: 0; }
.lede { font-size: 18px; color: var(--muted-foreground); max-width: 64ch; margin: 0 0 20px; }
.ctas { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 6px; font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color 0.15s ease; }
.btn.primary { background: var(--primary); color: var(--primary-foreground); }
.btn.primary:hover { background: color-mix(in oklab, var(--primary) 90%, transparent); color: var(--primary-foreground); }
.btn.outline { border: 1px solid var(--border); background: var(--background); color: var(--foreground); box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
.dark .btn.outline { background: color-mix(in oklab, var(--input) 30%, transparent); border-color: var(--input); }
.btn.outline:hover { background: var(--accent); color: var(--foreground); }
.home h2 { font-size: 20px; line-height: 28px; font-weight: 700; margin: 36px 0 12px; padding: 0; border: 0; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 899.98px) { .cards { grid-template-columns: minmax(0, 1fr); } }
.card { display: flex; flex-direction: column; gap: 8px; padding: 20px 24px; background: var(--card); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
.card h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 16px; font-weight: 700; }
.card h3 svg.i { color: var(--primary); }
.card p { margin: 0; font-size: 14px; color: var(--muted-foreground); }
.card ul { margin: 4px 0 0; padding: 0; list-style: none; font-size: 14px; }
.card li { margin: 0; padding: 2px 0; }
.card.project { flex-direction: row; gap: 16px; align-items: flex-start; }
.card.project .mark { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: var(--accent); color: var(--primary); }
.card.project .mark svg.i { width: 22px; height: 22px; }
.card.project h3 b { font-family: var(--font-mono); font-size: 18px; }
.card .links { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; }

.site-footer { text-align: center; padding: 16px 16px 24px; font-size: 0.8em; margin-top: 32px; }
.site-footer p { margin: 0; }
.mode-toggle { position: relative; display: inline-flex; margin-top: 0.4rem; }
.mode-trigger { display: inline-flex; align-items: center; gap: 0.4rem; height: 36px; padding: 0 12px; border: 1px solid var(--border); border-radius: 0.35rem; color: var(--foreground); font-size: 14px; }
.mode-trigger:hover { background: var(--accent); }
.mode-label { font-size: 0.9em; font-weight: 600; }
.mode-menu { position: absolute; bottom: calc(100% + 8px); right: 0; min-width: 9rem; margin: 0; padding: 0.25rem; list-style: none; text-align: left; background: var(--popover); color: var(--popover-foreground); border: 1px solid var(--border); border-radius: 0.35rem; z-index: 50; font-size: 14px; }
.mode-menu button { display: flex; width: 100%; align-items: center; gap: 0.45rem; padding: 0.35rem 0.45rem; border-radius: 0.3rem; }
.mode-menu button:hover { background: var(--accent); }

.overlay { position: fixed; inset: 0; z-index: 60; background: rgb(0 0 0 / 0.5); }
.sheet { position: fixed; z-index: 61; top: 0; bottom: 0; left: 0; width: 288px; max-width: 85vw; display: flex; flex-direction: column; background: var(--background); border-right-width: 1px; box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1); }
.sheet .sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom-width: 1px; }
.sheet .sheet-head a { font-size: 18px; font-weight: 700; color: var(--foreground); text-decoration: none; }
.sheet .sheet-head button { opacity: 0.7; }
.sheet nav { overflow-y: auto; padding: 12px 8px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.sheet .m-link { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 6px; font-weight: 500; color: var(--foreground); text-decoration: none; }
.sheet .m-link:hover { background: var(--accent); color: var(--foreground); }
.sheet .m-link.active { background: var(--accent); font-weight: 600; }
.sheet hr { height: 1px; margin: 4px 0; border: 0; background: var(--border); }
.sheet .tree ul { list-style: none; margin: 0; padding: 0; }
.sheet .tree .sec { margin-top: 8px; }
.sheet .tree .product { padding: 4px 12px 10px; }
.sheet .tree .product .name b { font-size: 18px; }
.searchbar { display: none; padding: 0 16px 10px; }
.searchbar .search { width: 100%; }

@media (max-width: 1199.98px) {
  .docs { grid-template-columns: 240px minmax(0, 1fr); gap: 40px; }
  .onpage { display: none; }
  .toc-inline { display: block; }
}
@media (max-width: 767.98px) {
  .only-mobile { display: inline-flex; }
  .only-desk { display: none; }
  .hamburger { margin-right: 8px; }
  .docs, .docs.wide { grid-template-columns: minmax(0, 1fr); padding: 0 16px; gap: 0; }
  .side { display: none; }
  main { padding-top: 16px; }
  .searchbar.open { display: block; }
  .doc h1 { font-size: 26px; line-height: 32px; }
  .doc h2 { font-size: 21px; line-height: 28px; }
  .hero h1 { font-size: 32px; }
  .hero h1.mono { font-size: 44px; }
  .lede { font-size: 17px; }
  pre { font-size: 14px; margin-left: -16px; margin-right: -16px; border-radius: 0; border-left: 0; border-right: 0; }
  .pager { grid-template-columns: 1fr; }
  .pager .next { grid-column: 1; }
  .card { padding: 16px; }
}
@media (min-width: 640px) and (max-width: 1023.98px) { .docs { padding: 0 24px; } }
.doc.home { max-width: 1040px; }
.card.project .links { margin-top: 8px; }
