:root {
  --paper: #f5f3ed;
  --surface: #fffefa;
  --ink: #171916;
  --muted: #686b64;
  --rule: #d8d6ce;
  --accent: #2457d6;
  --code: #eeece5;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 0; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.75 var(--sans); }
::selection { background: #ccd9fa; color: var(--ink); }
a { color: var(--accent); text-underline-offset: .19em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
button { font: inherit; cursor: pointer; }
.skip-link { position: fixed; top: -100px; left: 18px; z-index: 30; background: var(--surface); padding: 10px 16px; }
.skip-link:focus { top: 10px; }
.site-header { position: sticky; top: 0; z-index: 10; min-height: 72px; display: flex; align-items: center; gap: 28px; padding: 0 4vw; background: var(--paper); border-bottom: 1px solid var(--rule); }
.brand { color: var(--ink); text-decoration: none; font: 700 20px/1.2 var(--serif); letter-spacing: -.02em; white-space: nowrap; }
.site-nav { display: flex; align-self: stretch; gap: 28px; margin-left: auto; }
.site-nav a { display: flex; align-items: center; position: relative; text-decoration: none; color: var(--muted); font: 600 12px/1.3 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--ink); }
.site-nav a[aria-current]::after { content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: var(--accent); }
.docs-layout { display: grid; grid-template-columns: 210px minmax(0, 850px); gap: 64px; max-width: 1276px; margin: 0 auto; padding: 58px 48px 80px; }
.docs-sidebar { position: sticky; top: 118px; align-self: start; max-height: calc(100vh - 145px); overflow: auto; padding: 0 8px 8px 0; font-size: 13px; line-height: 1.5; }
.contents-title { margin: 0 0 17px; color: var(--ink); font-size: 14px; font-weight: 650; }
.toc ul { margin: 0; padding: 0; list-style: none; }
.toc li { margin: 0; }
.toc a { display: block; padding: 7px 0; color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--ink); }
.toc a[aria-current] { color: var(--accent); font-weight: 650; }
.sidebar-resources { border-top: 1px solid var(--rule); margin-top: 25px; padding-top: 18px; }
.sidebar-resources a { display: block; padding: 6px 0; text-decoration: none; }
.docs-main { min-width: 0; scroll-margin-top: 98px; }
.document-header { padding-bottom: 30px; border-bottom: 1px solid var(--rule); }
h1 { margin: 0 0 20px; font: 400 56px/1.05 var(--serif); letter-spacing: -.035em; }
.document-header p { max-width: 65ch; margin: 0 0 16px; font-size: 18px; line-height: 1.65; }
.document-header p:last-child { margin-bottom: 0; font-size: 15px; color: var(--muted); }
h2 { margin: 58px 0 20px; font: 400 32px/1.2 var(--serif); letter-spacing: -.025em; text-wrap: balance; scroll-margin-top: 98px; }
h3 { margin: 36px 0 14px; font: 650 20px/1.4 var(--sans); letter-spacing: -.015em; scroll-margin-top: 98px; }
.document-body p { max-width: 70ch; margin: 0 0 20px; }
.document-body ul, .document-body ol { max-width: 70ch; margin: 20px 0; padding-left: 24px; }
.document-body li { padding-left: 3px; margin: 10px 0; }
.document-body a { overflow-wrap: anywhere; }
code { font-family: var(--mono); font-size: .82em; }
p code, li code, td code { background: var(--code); padding: .12em .28em; overflow-wrap: anywhere; border-radius: 3px; }
.code-block { margin: 24px 0; background: var(--code); border: 1px solid var(--rule); min-width: 0; }
.code-toolbar { display: flex; align-items: center; justify-content: space-between; min-height: 40px; padding: 5px 16px; border-bottom: 1px solid var(--rule); color: var(--muted); font-size: 12px; }
.copy-code { min-height: 30px; padding: 3px 7px; border: 0; background: transparent; color: var(--ink); font-size: 12px; border-radius: 3px; }
.copy-code:hover { background: var(--rule); }
.copy-code:active { background: #c5c8c0; }
pre { margin: 0; padding: 20px; overflow-x: auto; font: 13px/1.75 var(--mono); tab-size: 4; }
pre code { font-size: inherit; }
.table-scroll { overflow-x: auto; margin: 25px 0; scrollbar-color: var(--muted) var(--paper); }
table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.65; font-variant-numeric: tabular-nums; }
th, td { padding: 13px 12px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
th { font-size: 13px; font-weight: 650; border-top: 1px solid var(--ink); color: var(--ink); }
th:first-child, td:first-child { padding-left: 0; }
th:last-child, td:last-child { padding-right: 0; }
td code { padding: 0; background: none; font-size: 12px; }
.document-footer { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 64px; padding-top: 25px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--muted); }
.document-footer p { flex-basis: 100%; margin: 0; }
.mobile-contents { display: none; }
.copy-status { position: fixed; bottom: 20px; right: 20px; max-width: calc(100% - 40px); margin: 0; background: var(--ink); color: var(--surface); font-size: 13px; padding: 0; }
.copy-status:not(:empty) { padding: 10px 16px; }
@media (max-width: 1100px) { .docs-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 38px; padding-right: 32px; padding-left: 32px; } }
@media (max-width: 800px) {
  .site-header { flex-wrap: wrap; padding: 16px 22px 0; gap: 14px; }
  .site-nav { flex-basis: 100%; margin: 0; justify-content: space-between; gap: 18px; }
  .site-nav a { padding: 0 0 14px; font-size: 11px; }
  .docs-layout { display: block; padding: 38px 22px 60px; }
  .docs-sidebar { display: none; }
  .mobile-contents { display: block; margin-top: 24px; padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: 14px; }
  summary { cursor: pointer; font-weight: 600; min-height: 28px; }
  .mobile-contents .toc { padding: 12px 0; }
  h1 { font-size: 44px; }
  h2 { font-size: 29px; margin-top: 42px; scroll-margin-top: 128px; }
  h3 { scroll-margin-top: 128px; }
  body { font-size: 16px; }
  .document-header p { font-size: 17px; }
  .document-body table { min-width: 580px; }
  pre { padding: 16px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
