/* Documentation: the site's paper and ink, heavy Archivo titles, a sidebar and a column of text. */
:root { --paper: oklch(0.963 0.011 88); --band: oklch(0.93 0.013 86); --ink: oklch(0.215 0.006 60); --ink2: oklch(0.43 0.008 62); --ink3: oklch(0.585 0.01 66); --rule: oklch(0.85 0.01 82);
  --head: 'Archivo', system-ui, -apple-system, sans-serif; --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; --mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, Consolas, monospace; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
html, body { overflow-x: clip; }
/* The scrollbar sits beside the page, over the window's own background. Down at the foot that background is the footer's dark, so the strip
   does not stay beige beside it. --foot is the footer's height (foot.js sets it; 282px until then). */
html { background: var(--paper) url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAADElEQVR4nGPg4mADAAA4ABk51UyxAAAAAElFTkSuQmCC") no-repeat left bottom / 100% var(--foot, 282px); }
html, body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 3px; }
.kBar { max-width: 1220px; margin: 0 auto; padding: 22px 40px 0; display: flex; align-items: center; justify-content: space-between; }
.kBrand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.kBrand canvas { width: 38px; height: 38px; display: block; }
.kBrand span { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.kNav { display: flex; align-items: center; gap: 22px; }
.kNav a { font-size: 13.5px; font-weight: 500; color: var(--ink2); text-decoration: none; }
.kNav a:hover, .kNav a.on { color: var(--ink); }
.dwrap { max-width: 1220px; margin: 0 auto; padding: 44px 40px 0; display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.side { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow: auto; font-size: 14.5px; padding-bottom: 24px; }
.side .grp { margin: 0 0 24px; }
.side .gt { font-family: var(--head); font-weight: 700; margin: 0 0 8px; }
.side a { display: block; padding: 5px 0 5px 14px; border-left: 1px solid var(--rule); color: var(--ink2); text-decoration: none; line-height: 1.35; }
.side a:hover { color: var(--ink); }
.side a.on { color: var(--ink); font-weight: 600; border-left: 2px solid var(--ink); padding-left: 13px; }
.menu { display: none; }
.doc { max-width: 760px; min-width: 0; padding-bottom: 20px; }
.doc h1 { font-family: var(--head); font-weight: 800; font-size: clamp(44px, 7vw, 76px); line-height: 1.02; letter-spacing: -0.03em; margin: 0 0 18px; }
.doc .lead { font-size: 19px; line-height: 1.55; color: var(--ink2); margin: 0 0 34px; }
.doc h2 { font-family: var(--head); font-weight: 700; font-size: 26px; line-height: 1.2; letter-spacing: -0.015em; margin: 46px 0 14px; }
.doc h3 { font-family: var(--head); font-weight: 600; font-size: 19px; margin: 28px 0 10px; }
.doc p, .doc li { font-size: 16.5px; line-height: 1.72; }
.doc p { margin: 0 0 15px; }
.doc strong { font-weight: 700; }
.doc code { font-family: var(--mono); font-size: 0.88em; background: var(--band); padding: 1px 5px; border-radius: 4px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.55; margin: 6px 0 22px; display: block; overflow-x: auto; }
.doc th { text-align: left; padding: 10px 14px 10px 0; font-family: var(--head); font-weight: 700; border-bottom: 2px solid var(--ink); white-space: nowrap; }
.doc td { padding: 10px 14px 10px 0; vertical-align: top; color: var(--ink2); border-bottom: 1px solid var(--rule); }
.doc td:first-child { white-space: nowrap; color: var(--ink); }
.code { position: relative; margin: 0 0 20px; }
.code pre { margin: 0; padding: 16px 18px; overflow-x: auto; background: var(--band); border-radius: 4px; font-size: 13.5px; line-height: 1.6; }
.code pre code { background: none; padding: 0; font-size: inherit; }
.copy { position: absolute; top: 8px; right: 8px; font: 600 12.5px var(--head); color: var(--ink2); background: var(--paper); border: none; border-radius: 4px; padding: 4px 10px; cursor: pointer; }
.copy:hover { color: var(--ink); }
.tabbar { display: flex; gap: 22px; border-bottom: 1px solid var(--rule); margin-bottom: 14px; }
.tab { font: 600 15px var(--head); color: var(--ink2); background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 8px 0; cursor: pointer; }
.tab.on { color: var(--ink); font-weight: 700; border-bottom-color: var(--ink); }
.js .panel:not(.on) { display: none; }
.pager { display: flex; justify-content: space-between; gap: 20px; margin: 56px 0 0; padding-top: 22px; border-top: 1px solid var(--ink); font-size: 15px; }
.pager a { text-decoration: none; }
.pager a b { display: block; font-family: var(--head); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.pager span.s { color: var(--ink3); font-size: 13.5px; }
/* a slim scrollbar in the page's own ink: Firefox takes the standard properties, the rest the rules below */
:root { --sb-thumb: rgba(27, 26, 24, .26); --sb-thumb-hover: rgba(27, 26, 24, .46); }
@supports not selector(::-webkit-scrollbar) { * { scrollbar-width: thin; scrollbar-color: var(--sb-thumb) transparent; } }
::-webkit-scrollbar { width: 12px; height: 12px; background: transparent; }
::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--sb-thumb); background-clip: padding-box; border: 4px solid transparent; border-radius: 999px; min-height: 48px; min-width: 48px; }
::-webkit-scrollbar-thumb:hover { background: var(--sb-thumb-hover); background-clip: padding-box; border-width: 3px; }
@media (max-width: 900px) {
  .dwrap { display: block; padding-top: 28px; }
  .side { display: none; }
  .menu { display: block; margin: 0 0 26px; background: var(--band); border-radius: 4px; padding: 12px 16px; }
  .menu summary { cursor: pointer; font-family: var(--head); font-weight: 700; }
  .menu a { display: block; padding: 6px 0; color: var(--ink2); text-decoration: none; }
  .menu a.on { color: var(--ink); font-weight: 600; }
  .menu .gt { font-family: var(--head); font-weight: 700; margin: 12px 0 2px; }
}
@media (max-width: 640px) { .kBar { padding: 18px 20px 0; } .kNav { gap: 14px; } .kNav a { font-size: 12.5px; } .dwrap { padding: 26px 20px 0; } }
