.docs-site {
  --accent: #82f5c2;
  --paper: var(--bg);
  --ink: var(--text);
  --rule: var(--line);
  --accent-dark: var(--accent);
  --focus: var(--accent);
  background-image: radial-gradient(ellipse at 78% 0%, rgb(66 164 139 / .055), transparent 36%);
  font-family: 'Geist Variable', sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
.docs-site a { color: var(--text); }
.docs-site a:hover { color: var(--accent); }
.docs-site :is(a, button, input, summary, pre, table):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.docs-site ::selection { background: rgb(130 245 194 / .22); }
.skip { position: fixed; top: -80px; left: 16px; z-index: 50; padding: 10px 16px; background: var(--surface); border: 1px solid var(--accent); }
.skip:focus { top: 12px; }
.masthead {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 14px max(28px, calc((100vw - 1400px) / 2));
  border-bottom: 1px solid var(--line);
  background: #111419;
}
.docs-company { display: inline-flex; align-items: center; gap: 12px; font-weight: 620; font-size: 20px; letter-spacing: -.035em; flex-shrink: 0; }
.docs-company img { width: 36px; height: 36px; object-fit: contain; border-radius: 0; }
.docs-product.brand { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 12px; padding-left: 28px; border-left: 1px solid var(--line); font-size: 15px; letter-spacing: -.015em; }
.release-tag { color: var(--muted); font-size: 12px; font-weight: 450; letter-spacing: 0; }
.docs-links { display: flex; align-items: center; gap: 24px; margin-left: auto; font-size: 14px; }
.menu-button { display: none; min-height: 40px; padding: 6px 14px; color: var(--text); border: 1px solid var(--line); border-radius: 6px; background: var(--surface); font: inherit; font-size: 14px; cursor: pointer; }
.layout { display: grid; grid-template-columns: 244px minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); width: min(1400px, 100%); margin: auto; padding: 32px 28px 72px; }
.sidebar { position: sticky; top: 108px; max-height: calc(100dvh - 132px); align-self: start; overflow: auto; scrollbar-width: thin; scrollbar-color: #3b4653 transparent; padding-right: 20px; border-right: 1px solid var(--line); }
.nav-label, .evidence summary { color: var(--muted); font-size: 13px; font-weight: 560; margin: 2px 0 12px; }
.sidebar ul { list-style: none; padding: 0; margin: 0 0 24px; }
.sidebar a { display: block; padding: 8px 12px; border-left: 2px solid transparent; border-radius: 0 5px 5px 0; color: var(--muted); font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.sidebar a:hover { color: var(--text); background: rgb(255 255 255 / .035); }
.sidebar a[aria-current="page"] { border-left-color: var(--accent); color: var(--accent); background: rgb(130 245 194 / .06); font-weight: 560; }
.evidence summary { cursor: pointer; padding: 8px 10px; list-style-position: inside; }
.evidence a { font-size: 13px; }
.main-column { min-width: 0; max-width: 960px; }
.search { display: none; position: relative; max-width: 540px; margin: 0 0 40px; }
.js-ready .search { display: block; }
.search label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.search input { display: block; width: 100%; min-height: 46px; border: 1px solid #39424f; border-radius: 7px; padding: 10px 138px 10px 15px; background: var(--surface); color: var(--text); font: inherit; font-size: 14px; }
.search input::placeholder { color: var(--muted); }
.search-hint { position: absolute; top: 13px; right: 14px; font-size: 12px; color: var(--muted); pointer-events: none; }
.search-results { position: absolute; top: 100%; z-index: 10; width: 100%; max-height: 420px; overflow: auto; padding: 5px; margin: 8px 0 0; border: 1px solid #39424f; border-radius: 8px; background: var(--surface); box-shadow: 0 18px 50px rgb(0 0 0 / .3); list-style: none; }
.search-results[hidden] { display: none; }
.search-results a { display: flex; flex-direction: column; gap: 5px; border-radius: 4px; padding: 12px; font-size: 14px; }
.search-results a:is(:hover, :focus) { background: #232d33; color: var(--accent); }
.search-results span { color: var(--muted); font-size: 12px; line-height: 1.5; }
.no-results { padding: 12px; font-size: 14px; color: var(--muted); }
.prose { max-width: 800px; font-size: 16px; }
.prose :is(h1, h2, h3, h4) { font-family: 'Geist Variable', sans-serif; font-weight: 570; line-height: 1.2; scroll-margin-top: 104px; color: var(--text); }
.prose h1 { margin: 0 0 28px; font-size: clamp(32px, 3.2vw, 46px); line-height: 1.12; letter-spacing: -.048em; text-wrap: balance; }
.prose h2 { margin: 48px 0 18px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 26px; letter-spacing: -.03em; }
.prose h3 { margin: 32px 0 14px; font-size: 21px; letter-spacing: -.025em; }
.prose h4 { font-size: 18px; }
.prose :is(p, li) { overflow-wrap: anywhere; }
.prose p { margin: 0 0 20px; }
.prose strong { font-weight: 620; }
.prose :is(ul, ol) { padding-left: 24px; margin: 20px 0; }
.prose li { margin: 8px 0; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgb(130 245 194 / .4); }
.prose a:hover { text-decoration-color: var(--accent); }
.prose .lead { color: var(--muted); font: inherit; font-size: 20px; line-height: 1.6; }
.prose code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .86em; padding: 2px 5px; background: #20272e; color: #e4eeeb; border-radius: 4px; overflow-wrap: anywhere; }
.prose pre { max-width: 100%; overflow: auto; padding: 20px 24px; margin: 24px 0 12px; border: 1px solid #303e40; border-radius: 8px; background: #121b1d; color: #e4eeeb; line-height: 1.65; tab-size: 2; scrollbar-color: #455954 transparent; }
.prose pre code { padding: 0; border-radius: 0; background: none; color: inherit; font-size: 13px; white-space: pre; overflow-wrap: normal; }
.prose table { display: block; max-width: 100%; margin: 24px 0; overflow: auto; border-collapse: collapse; scrollbar-color: #455954 transparent; font-size: 14px; }
.prose :is(th, td) { padding: 12px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.6; }
.prose th { background: var(--surface); color: var(--text); font-weight: 600; }
.prose td { color: #c7d0dd; }
.prose blockquote, .notice { margin: 24px 0; padding: 16px 20px; border-left: 2px solid var(--accent); background: rgb(130 245 194 / .045); color: #c7d0dd; }
.prose blockquote p:last-child { margin-bottom: 0; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 28px 0; }
.cards a { display: flex; flex-direction: column; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); text-decoration: none; }
.cards a:hover { border-color: #526e65; }
.cards span:first-child { color: var(--accent); font-size: 12px; }
.cards strong { font-size: 20px; line-height: 1.3; letter-spacing: -.025em; }
.cards span:last-child { color: var(--muted); font-size: 14px; line-height: 1.6; }
.source-caption { margin: 8px 0 24px; font-size: 12px; color: var(--muted); }
.source-caption a { color: var(--muted); }
.source-links { display: flex; flex-wrap: wrap; gap: 24px; max-width: 800px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; }
.docs-footer { display: flex; flex-wrap: wrap; gap: 20px; max-width: 800px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.docs-footer a { color: var(--muted); }
@media (max-width: 1040px) { .masthead { gap: 20px; } .docs-product.brand { padding-left: 20px; } .layout { grid-template-columns: 220px minmax(0, 1fr); gap: 40px; } .cards { grid-template-columns: 1fr; } }
@media (max-width: 850px) {
  .masthead { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; padding: 16px 20px; }
  .docs-company { font-size: 18px; gap: 10px; }
  .docs-company img { width: 32px; height: 32px; }
  .docs-links { grid-column: 2; grid-row: 1; gap: 18px; font-size: 13px; }
  .docs-product.brand { grid-column: 1; grid-row: 2; padding: 0; border: 0; }
  .js-ready .menu-button { display: block; grid-column: 2; grid-row: 2; justify-self: end; }
  .layout { display: flex; flex-direction: column; gap: 24px; padding: 24px 20px 48px; }
  .sidebar { position: static; max-height: none; padding: 0 0 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .js-ready .sidebar:not(.open) { display: none; }
  .search { margin-bottom: 32px; }
  .prose :is(h1, h2, h3, h4) { scroll-margin-top: 148px; }
}
@media (max-width: 430px) {
  .masthead { padding: 14px 16px; gap: 12px; }
  .docs-company { font-size: 16px; gap: 8px; }
  .docs-links { gap: 12px; font-size: 12px; }
  .layout { padding: 24px 16px 40px; }
  .search input { padding-right: 15px; }
  .search-hint { display: none; }
  .prose h1 { font-size: 32px; }
  .prose h2 { font-size: 23px; }
  .prose pre { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
