/* Docs content styles; shell fonts and navigation remain owned by site.css. */
.docs-page {
  --bg: #0A0F24;
  --surface: #151B33;
  --card-hi: #2A3554;
  --border: rgba(46, 58, 89, 0.70);
  --border-soft: rgba(46, 58, 89, 0.40);
  --teal: #00BFFF;
  --teal-dim: rgba(0, 191, 255, 0.07);
  --teal-tint: rgba(0, 191, 255, 0.12);
  --teal-40: rgba(0, 191, 255, 0.40);
  --ink: #F3F6FA;
  --ink-soft: #DCE5F2;
  --ink-2: #B0B8C4;
  --font-body: "Inter", system-ui, sans-serif;
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "JetBrains Mono", Consolas, monospace;
  --r-xs: 4px;
  --r-sm: 6px;
  --docs-header-height: 76px;
  --docs-anchor-offset: 100px;
  background: var(--bg);
  color: var(--ink-2);
  color-scheme: dark;
  font: 400 16px/1.75 var(--font-body);
  min-height: 100dvh;
  overflow-wrap: break-word;
}
.docs-page * { box-sizing: border-box; }
.docs-page ::selection { background: var(--teal-tint); color: var(--ink); }
.docs-page * { scrollbar-color: var(--card-hi) var(--bg); scrollbar-width: thin; }
.docs-page a { color: var(--teal); text-decoration: none; }
.docs-page a:hover { color: var(--teal); }
.docs-page a:focus-visible, .docs-page input:focus-visible, .docs-page summary:focus-visible, .docs-page [tabindex="0"]:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.docs-page [hidden] { display: none; }
.docs-page h1, .docs-page h2, .docs-page h3 { color: var(--ink); font-family: var(--font-display); }
.docs-page h1 { margin: 0 0 16px; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.15; letter-spacing: -.03em; font-weight: 600; }
.docs-page h2 { margin: 0 0 .83em; font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.3; letter-spacing: -.025em; font-weight: 600;  }
.docs-page h3 { font-size: 1.15rem; line-height: 1.4; margin: 2rem 0 .75rem; font-weight: 600; }
.docs-page p { font-family: var(--font-body); font-size: 1em; line-height: inherit; margin: .85rem 0 1.1rem; }
.docs-page strong, .docs-page b, .docs-page dt { color: var(--ink); font-weight: 600; }

.docs-page .docs-layout { gap: 0; max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 290px minmax(0, 1fr); }
.docs-page .docs-sidebar { position: sticky; top: var(--docs-header-height); height: calc(100dvh - var(--docs-header-height) - 24px); align-self: start; border-right: 1px solid var(--border); }
.docs-page .docs-sidebar details { height: 100%; }
.docs-page .docs-sidebar summary { list-style: none; padding: 24px 28px 12px; font-weight: 600; color: var(--ink); font-size: .9rem; }
.docs-page .docs-sidebar summary::-webkit-details-marker { display: none; }
.docs-page #current-chapter { display: none; }
.docs-page .docs-toc-body { position: relative; padding: 0 16px 48px 24px; height: calc(100dvh - var(--docs-header-height) - 86px); overflow-y: auto; overscroll-behavior: contain; }
.docs-page .docs-toc-body label { display: block; font-size: .75rem; color: var(--ink-2); margin-bottom: 6px; }
.docs-page input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font: inherit; font-size: 1rem; caret-color: var(--teal); }
.docs-page input::placeholder { color: var(--ink-2); }
.docs-page .docs-toc-group { margin-top: 24px; }
.docs-page .docs-toc-group p { margin: 0 10px 6px; color: var(--ink); font-size: .75rem; font-weight: 600; }
.docs-page .docs-toc-group ul { list-style: none; padding: 0; margin: 0; }
.docs-page .docs-toc-group a { min-height: 44px; display: flex; align-items: center; padding: 9px 10px; font-size: .8125rem; line-height: 1.45; color: var(--ink-2); text-decoration: none; border-radius: 0; border-left: 1px solid transparent; }
.docs-page .docs-toc-group a:hover { color: var(--teal); }
.docs-page .docs-toc-group a[aria-current="location"] { color: var(--ink); background: var(--teal-dim); border-left-color: var(--teal); }
.docs-page .docs-search-status { font-size: .8125rem; line-height: 1.5; }
.docs-page .docs-content { min-width: 0; max-width: 960px; padding: 48px clamp(28px, 5vw, 80px) 56px; }
.docs-page .docs-hero { position: relative; padding: clamp(120px, 12vw, 160px) 0 48px; background: var(--surface); border-bottom: 1px solid var(--border); }
.docs-page .docs-hero-inner { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.docs-page .docs-hero p { max-width: 68ch; margin: 0; font-size: 1.0625rem; }
.docs-page .docs-chapter:first-child { padding-top: 0; }
.docs-page .docs-chapter { padding-top: 44px; padding-bottom: 36px; border-bottom: 1px solid var(--border-soft); }
.docs-page .docs-chapter > :last-child { margin-bottom: 0; }
.docs-page .docs-heading-link { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin-left: 4px; font-size: 1rem; color: var(--ink-2); text-decoration: none; vertical-align: middle; }
.docs-page .docs-heading-link:hover, .docs-page .docs-heading-link:focus-visible { color: var(--teal); }
.docs-page ol, .docs-page ul { padding-left: 1.5rem; margin: 1.25rem 0; }
.docs-page li { padding-left: .3rem; margin-bottom: .75rem; }
.docs-page .docs-toc-group li { padding: 0; margin: 0; }
.docs-page li::marker { color: var(--ink-2); }
.docs-page .docs-steps li { margin-bottom: 1.1rem; padding-left: .6rem; }
.docs-page .docs-steps strong { display: block; }
.docs-page .docs-note { padding: 18px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); margin: 24px 0; font-size: .9375rem; }
.docs-page .docs-note p { margin: .4rem 0 0; }
.docs-page .docs-next-links { display: flex; flex-wrap: wrap; column-gap: 28px; margin-top: 22px; }
.docs-page .docs-next-links a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: .875rem; }
.docs-page dl { margin: 1.25rem 0; }
.docs-page dt { margin-top: 1.25rem; }
.docs-page dd { margin: .25rem 0 0; }
.docs-page .docs-table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-sm); margin: 24px 0; }
.docs-page table { width: 100%; border-collapse: collapse; font-size: .875rem; line-height: 1.6; min-width: 440px; }
.docs-page th, .docs-page td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.docs-page thead th { color: var(--ink); background: var(--surface); font-weight: 600; }
.docs-page tbody th { width: 28%; font-weight: 500; color: var(--ink); }
.docs-page tr:last-child > * { border-bottom: 0; }
.docs-page code { font-family: var(--font-mono); font-size: .85em; color: var(--ink-soft); background: var(--surface); padding: 2px 5px; border-radius: var(--r-xs); overflow-wrap: anywhere; }
.docs-page pre { max-width: 100%; overflow: auto; padding: 20px; margin: 22px 0; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface); line-height: 1.7; }
.docs-page pre code { padding: 0; background: transparent; overflow-wrap: normal; }
.docs-page .docs-chapter details { margin: 24px 0; border-block: 1px solid var(--border); padding: 8px 0; }
.docs-page .docs-chapter summary { min-height: 44px; display: list-item; cursor: pointer; padding: 8px 4px; color: var(--ink); font-weight: 500; }
.docs-page .docs-page-footer { padding-top: 32px; font-size: .8125rem; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.docs-page .docs-page-footer a { min-height: 44px; display: inline-flex; align-items: center; }

@media (min-width: 1200px) {
.docs-page .docs-layout { grid-template-columns: 310px minmax(0, 1fr); } }
@media (min-width: 861px) {
.docs-page input { min-height: 36px; padding: 6px 10px; font-size: .8125rem; line-height: 1.5; }
}
@media (max-width: 860px) {

.docs-page .docs-layout { display: block; }
.docs-page .docs-sidebar { position: sticky; top: var(--docs-header-height); z-index: 9; height: auto; border-right: 0; border-bottom: 1px solid var(--border); background: var(--bg); }
.docs-page .docs-sidebar summary { padding: 13px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 54px; cursor: pointer; }
.docs-page .docs-sidebar summary::after { content: '+'; color: var(--teal); font-size: 1.25rem; }
.docs-page .docs-sidebar details[open] summary::after { content: '−'; }
.docs-page #current-chapter { display: block; margin-left: auto; font-size: .75rem; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-2); }
.docs-page .docs-toc-body { height: auto; max-height: calc(100dvh - var(--docs-header-height) - 86px); padding: 8px 20px 24px; }
.docs-page .docs-content { max-width: 760px; margin-inline: auto; padding: 32px 24px 40px; }
.docs-page .docs-chapter { padding-top: 32px; padding-bottom: 28px; }
.docs-page .docs-note { padding: 16px; }
}
@media print {
.docs-page .docs-hero { padding: 24px 0; }
.docs-page .docs-sidebar, .docs-page .docs-heading-link, .docs-page .docs-page-footer { display: none; }
.docs-page .docs-layout { display: block; }
.docs-page .docs-content { max-width: none; padding: 0; }
.docs-page .docs-table-wrap, .docs-page pre { overflow: visible; }
.docs-page table { min-width: 0; }
.docs-page pre { white-space: pre-wrap; }
}
.docs-page .docs-content :is(h2, h3, .docs-anchor), .docs-page .docs-content { scroll-margin-top: var(--docs-anchor-offset); }
.docs-page .docs-anchor { display: block; height: 0; }
.docs-page .docs-content :is(p, li, dd, td, th) a {
  color: inherit;
  font-weight: 550;
  text-decoration: underline;
  text-decoration-color: var(--teal-40);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.docs-page .docs-content :is(p, li, dd, td, th) a:is(:hover, :focus-visible) {
  color: var(--teal);
  text-decoration-color: var(--teal);
}
.docs-page .docs-content :is(p, li, dd, td, th) a:focus-visible { outline-offset: 2px; }
.docs-page .docs-toc-group a[aria-current="location"]:hover { color: var(--ink); }
.docs-page:not([data-enhanced]) .docs-sidebar { position: static; height: auto; }
.docs-page:not([data-enhanced]) .docs-toc-body { height: auto; max-height: none; }
@media (max-width: 860px) {
.docs-page { --docs-header-height: 64px; --docs-anchor-offset: 142px; }
}
