@font-face { font-family: Geist; src: url('/assets/fonts/Geist-Variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/assets/fonts/GeistMono-Variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root { color-scheme: dark; --bg: #101214; --surface: #191c1f; --hover: #22262a; --text: #e8eaec; --muted: #aab1b8; --faint: #8b9298; --line: #2b3034; --strong: #3a4046; --mono: 'Geist Mono', ui-monospace, Menlo, monospace; --serif: 'Palatino Linotype', 'Book Antiqua', Palatino, 'TeX Gyre Pagella', 'P052', Georgia, serif; --gutter: clamp(16px, 3vw, 40px); }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); scroll-padding-block-start: 2rem; scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
body { margin: 0; padding: var(--gutter) max(16px, var(--gutter)); color: var(--text); background: var(--bg); font: 14px/1.65 Geist, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
/* The same sheet the landing page and the app are drawn on: a hairline frame
   with a cross at two corners, the goddess faint in the corner behind it. */
body::after { content: ''; position: fixed; inset-inline-end: 0; inset-block-end: 0; inline-size: min(70vw, 900px); aspect-ratio: 3 / 2; background: url('/assets/img/hyjnesha.svg') right bottom / contain no-repeat; opacity: .04; pointer-events: none; z-index: 0; }
.folio { position: relative; z-index: 1; max-inline-size: 1320px; margin-inline: auto; border: 1px solid var(--line); background: var(--bg); }
.folio::before, .folio::after, .start-paths a::before, .start-paths a::after { content: '+'; position: absolute; font: 14px/10px var(--mono); color: var(--faint); background: var(--bg); pointer-events: none; }
.folio::before, .start-paths a::before { inset-inline-start: -5px; inset-block-start: -5px; }
.folio::after, .start-paths a::after { inset-inline-end: -5px; inset-block-end: -5px; }
a { color: inherit; text-underline-offset: .22em; }
button, input { font: inherit; }
button { cursor: pointer; }
button, input { color: inherit; }
button:focus-visible, input:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 1px solid var(--text); outline-offset: 4px; }
::selection { background: var(--strong); }
.visually-hidden:not(:focus-within):not(:active) { position: absolute; clip-path: inset(50%); inline-size: 1px; block-size: 1px; overflow: hidden; white-space: nowrap; }
.skip-link { position: fixed; inset-block-start: .75rem; inset-inline-start: 1rem; z-index: 10; padding: .65rem 1rem; background: var(--text); color: var(--bg); translate: 0 -200%; }
.skip-link:focus { translate: 0; }
.docs-header { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px; padding: 18px 28px; border-block-end: 1px solid var(--line); color: var(--faint); font: 10px/1.5 var(--mono); letter-spacing: 1.2px; }
.docs-header a { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; min-block-size: 24px; }
.docs-header a:hover { color: var(--text); }
.brand { color: var(--muted); }
.brand img { display: block; }
.docs-home { color: var(--text); }
.docs-home::before { content: '/'; margin-inline-end: 28px; color: var(--strong); }
.docs-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-inline-start: auto; }
.docs-header .download-link { color: var(--text); }
.masthead-version { color: var(--faint); }
.docs-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr) 208px; align-items: start; }
.docs-sidebar, .docs-toc { position: sticky; inset-block-start: 0; max-block-size: 100dvh; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.docs-sidebar { padding: 24px 16px 24px 20px; }
.docs-main { border-inline: 1px solid var(--line); padding: 28px clamp(20px, 4vw, 56px) 0; min-block-size: 70vh; }
.docs-main > * { max-inline-size: 720px; }
.docs-search { margin-block-end: 28px; }
.docs-search label { display: block; margin-block-end: 8px; color: var(--faint); font: 10px/1.7 var(--mono); letter-spacing: .06em; }
.search-input { display: flex; border: 1px solid var(--line); border-radius: 3px; background: var(--surface); }
.search-input:focus-within { border-color: var(--faint); }
.search-input input { inline-size: 100%; min-inline-size: 0; padding: 8px 10px; border: 0; background: transparent; font-size: 12px; }
.search-input input::placeholder { color: var(--faint); }
.search-input button { min-inline-size: 36px; min-block-size: 36px; border: 0; background: transparent; }
.nav-group { margin-block-end: 22px; }
.nav-label { margin: 0 0 6px; padding-inline-start: 10px; color: var(--faint); font: 10px/1.7 var(--mono); letter-spacing: .06em; }
.docs-nav ul, .docs-toc ul { list-style: none; padding: 0; margin: 0; }
.docs-nav li { margin: 1px 0; }
.docs-nav li a { display: block; position: relative; padding: 5px 10px; border-radius: 3px; color: var(--muted); font-size: 12.5px; line-height: 1.55; text-decoration: none; }
.docs-nav li a:hover { background: var(--surface); color: var(--text); }
/* The app's own selection mark: a filled row with a bar of ink at its edge. */
.docs-nav a[aria-current='page'] { background: var(--hover); color: var(--text); }
.docs-nav a[aria-current='page']::before { content: ''; position: absolute; inset-inline-start: 0; inset-block: 6px; inline-size: 2px; background: var(--text); }
.sidebar-version { margin: 20px 0 0; padding: 12px 10px 0; border-block-start: 1px solid var(--line); color: var(--faint); font: 10px/2 var(--mono); }
.sidebar-version a { text-decoration: none; }
.docs-main { min-inline-size: 0; }
.page-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-block-end: 22px; color: var(--faint); font: 10px/1.5 var(--mono); letter-spacing: .06em; }
.page-meta > span { text-transform: none; }
.page-meta a { text-decoration: none; }
.prose { overflow-wrap: anywhere; }
.prose h1 { margin: 0 0 20px; font: 400 clamp(32px, 3.4vw, 44px)/1.1 var(--serif); letter-spacing: -.03em; text-wrap: balance; }
.prose h1:focus { outline-offset: 6px; }
.prose > p:first-of-type { color: var(--text); font-size: 15px; line-height: 1.7; }
.prose h2 { margin: 36px 0 12px; border-block-start: 1px solid var(--line); padding-block-start: 22px; font: 500 18px/1.35 Geist, sans-serif; letter-spacing: -.02em; scroll-margin-block-start: 24px; }
.prose h3 { margin: 26px 0 10px; font-size: 15px; font-weight: 550; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; color: var(--muted); }
.prose li { padding-inline-start: 4px; margin-block: 6px; }
.prose ul, .prose ol { padding-inline-start: 23px; }
.prose strong { color: var(--text); font-weight: 550; }
.prose a:not(.heading-anchor) { color: var(--text); text-decoration-color: var(--strong); }
.prose a:hover { text-decoration-color: currentColor; }
.prose code { font: .86em/1.6 var(--mono); background: var(--surface); padding: .1em .35em; border-radius: 2px; color: var(--text); }
.prose blockquote { margin: 20px 0; padding: 6px 0 6px 18px; border-inline-start: 2px solid var(--strong); }
.prose blockquote p:last-child { margin-block-end: 0; }
.heading-anchor { display: inline-block; margin-inline-start: 8px; padding-inline: 4px; color: var(--faint); font: 12px var(--mono); text-decoration: none; opacity: .5; }
.heading-anchor:hover, .heading-anchor:focus-visible { opacity: 1; }
.code-block { border: 1px solid var(--line); border-radius: 3px; background: #14171a; margin: 20px 0; min-inline-size: 0; }
.code-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 5px 12px; min-block-size: 34px; border-block-end: 1px solid var(--line); color: var(--faint); font: 10px var(--mono); letter-spacing: .06em; }
.copy-code { border: 0; background: transparent; color: var(--muted); min-block-size: 24px; padding: 3px 6px; font-size: 10px; }
.copy-code:hover { color: var(--text); }
.prose pre { overflow: auto; max-inline-size: 100%; margin: 0; padding: 14px 16px; font: 12px/1.75 var(--mono); tab-size: 2; overscroll-behavior-inline: contain; }
.prose pre code { padding: 0; background: transparent; font: inherit; color: #c9d0d6; }
.table-scroll { max-inline-size: 100%; overflow: auto; margin-block: 20px; border: 1px solid var(--line); border-radius: 3px; }
table { inline-size: 100%; border-collapse: collapse; font-size: 12.5px; line-height: 1.65; text-align: start; }
th { font: 400 10px/1.7 var(--mono); letter-spacing: .06em; color: var(--faint); background: transparent; text-align: start; }
td { color: var(--muted); }
th, td { padding: 10px 14px; border-block-end: 1px solid var(--line); vertical-align: top; min-inline-size: 85px; }
tbody tr:last-child td { border-block-end: 0; }
.docs-toc { padding: 28px 20px 24px; }
.docs-toc .nav-label { padding-inline-start: 0; }
.docs-toc li a { display: block; padding-block: 4px; color: var(--faint); font-size: 11.5px; text-decoration: none; line-height: 1.55; }
.docs-toc a:hover { color: var(--text); }
.start-paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr)); gap: 16px; margin-block: 28px; }
.start-paths a { position: relative; display: grid; gap: 10px; padding: 20px; border: 1px solid var(--line); text-decoration: none; background: transparent; }
.start-paths a:hover { background: var(--surface); }
.path-number { color: var(--faint); font: 10px var(--mono); letter-spacing: .06em; }
.start-paths strong { font: 500 16px/1.3 Geist, sans-serif; letter-spacing: -.01em; }
.start-paths a > span:last-child { color: var(--muted); font-size: 12px; }
.page-pagination { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-block: 48px 28px; border-block-start: 1px solid var(--line); padding-block-start: 20px; }
.page-pagination a { display: flex; flex-direction: column; gap: 7px; text-decoration: none; }
.page-pagination span { color: var(--faint); font: 10px/1.5 var(--mono); }
.page-pagination strong { font-size: 13px; font-weight: 450; }
.page-pagination .next { text-align: end; }
.docs-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-inline: calc(-1 * clamp(20px, 4vw, 56px)); padding: 18px clamp(20px, 4vw, 56px); max-inline-size: none; border-block-start: 1px solid var(--line); color: var(--faint); font: 10px/1.5 var(--mono); letter-spacing: .4px; }
.docs-footer a { text-decoration: none; }
.search-results { padding-inline-start: 24px; }
.search-results li { padding: 18px 0; border-block-end: 1px solid var(--line); }
.search-results h2 { margin: 0 0 8px; padding: 0; border: 0; font-size: 18px; }
.search-results p { margin: 6px 0; font-size: 13px; }
.search-results .result-group { color: var(--faint); font: 10px var(--mono); }
#nav-toggle { inline-size: 100%; justify-content: space-between; align-items: center; gap: 12px; min-block-size: 44px; padding: 10px 0; border: 0; border-block: 1px solid var(--line); background: transparent; text-align: start; font-size: 12px; }
@media (max-width: 1250px) { .docs-layout { grid-template-columns: 224px minmax(0, 1fr); } .docs-toc { display: none; } .docs-main { border-inline-end: 0; } }
@media (max-width: 860px) {
  .docs-header { padding: 14px 16px; gap: 10px 18px; }
  .docs-home::before { margin-inline-end: 18px; }
  .docs-header nav { gap: 10px 18px; }
  .docs-layout { display: grid; grid-template-columns: minmax(0, 1fr); }
  .docs-sidebar { position: static; max-block-size: none; padding: 16px 16px 0; overflow: visible; }
  .docs-main { border-inline: 0; padding: 22px 16px 0; }
  .docs-footer { margin-inline: -16px; padding-inline: 16px; }
  .docs-search { margin-block-end: 14px; }
  .search-input input { font-size: 14px; }
  #nav-toggle:not([hidden]) { display: flex; }
  #docs-links { padding-block-start: 14px; }
  .sidebar-version { display: none; }
  .prose h1 { font-size: 34px; }
}
@media (max-width: 480px) { .docs-home::before { display: none; } .masthead-version { display: none; } .prose h1 { font-size: 30px; } th, td { padding: 9px 10px; } }
@media (pointer: coarse) { .docs-nav li a, .docs-toc li a { min-block-size: 44px; padding-block: 11px; } .copy-code { min-block-size: 36px; } }
@media (forced-colors: active) { .docs-nav a[aria-current='page'] { outline: 1px solid Highlight; } .folio { border-color: CanvasText; } .start-paths a, .code-block, .table-scroll { border-color: CanvasText; } }
@media print { body::after, .folio::before, .folio::after { display: none !important; } .folio { border: 0; } .docs-main { border: 0; } .docs-header, .docs-sidebar, .docs-toc, .page-pagination, .copy-code, .heading-anchor { display: none !important; } .docs-layout { display: block; padding: 0; } body { background: white; color: black; } .prose p, .prose li, .prose a, .prose code, td, th { color: black !important; background: transparent; } pre { white-space: pre-wrap; } }
