/* Docs layout on the design tokens (tokens.css, base.css). No colours here
   that tokens.css does not define. */
body { margin: 0; font-size: 16px; line-height: 26px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.top .label { margin-left: 8px; }
.top .links a { margin-left: 16px; }
.mark .g { fill: var(--border-strong); }
.mark .b { stroke: var(--ink); }
.mark .p { fill: var(--brand); }
.shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; max-width: 1080px; margin: 0 auto; padding: 32px 24px 64px; }
.side ul { list-style: none; margin: 4px 0 24px; padding: 0; }
.side li a { display: block; padding: 3px 0; text-decoration: none; color: var(--ink-muted); }
.side li a:hover, .side li a[aria-current="page"] { color: var(--ink); }
.side li a[aria-current="page"] { font-weight: 600; }
main { min-width: 0; max-width: 72ch; }
main h1 { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 40px; line-height: 1.1; margin: 0 0 16px; }
main h2 { font-family: var(--font-display); font-size: 24px; line-height: 1.25; margin: 40px 0 12px; }
main h3 { font-size: 18px; margin: 28px 0 8px; }
main p, main li { color: var(--ink); }
code, pre { font-family: var(--font-mono); font-size: 14px; }
code { padding: 1px 4px; border-radius: var(--r-sm); background: var(--surface-100); }
pre { overflow-x: auto; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface-100); line-height: 22px; }
pre code { padding: 0; background: none; }
table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; display: block; overflow-x: auto; }
th, td { text-align: left; vertical-align: top; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line); }
th { font-weight: 600; }
footer { max-width: 1080px; margin: 0 auto; padding: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-muted); }
footer p { margin: 4px 0; }
@media (max-width: 760px) {
  .shell { grid-template-columns: 1fr; gap: 8px; padding-top: 16px; }
  .side { order: 2; border-top: 1px solid var(--line); padding-top: 16px; }
  .top .links a:first-child { display: none; }
}
