/* Our own copies (SIL Open Font License, see fonts/LICENSE-*.txt). Nothing is loaded from elsewhere. */
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(fonts/newsreader.woff2?v=ba6eec8722) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 200 800; font-display: swap; src: url(fonts/newsreader-italic.woff2?v=7d37aae31f) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(fonts/atkinson-next.woff2?v=18b2a1a39a) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/plex-mono-400.woff2?v=08949f728d) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/plex-mono-500.woff2?v=01d2854474) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
/* Legal and help pages: the site's own colours, nothing is loaded from elsewhere (the public site adds its own fonts.css). */
:root {
  --paper: #EDF2F9; --ink: #0D1A31; --muted: #54637C; --line: #C8D5E7; --card: #FFFFFF; --you: #1B5FC4; --gap: #FFE3A8; --on-gap: #4A3000;
  --display: "Newsreader", "Iowan Old Style", "New York", Georgia, serif;
  --text: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #081020; --ink: #E8EEF8; --muted: #93A3BC; --line: #1F3050; --card: #101E35; --you: #6AA8F7; --gap: #5A4310; --on-gap: #FFE9BE;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #081020; --ink: #E8EEF8; --muted: #93A3BC; --line: #1F3050; --card: #101E35; --you: #6AA8F7; --gap: #5A4310; --on-gap: #FFE9BE;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 1.0625rem/1.6 var(--text); }
a { color: var(--you); text-underline-offset: .16em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--you); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 16px; top: -60px; padding: 10px 16px; background: var(--card); border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
header { border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap; padding-block: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 500 1.4rem/1 var(--display); color: inherit; text-decoration: none; }
.brand img { border-radius: 7px; }
header nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
header nav a { font-size: .95rem; color: var(--muted); text-decoration: none; padding: 6px 0; }
header nav a:hover, header nav a[aria-current] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.page { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; padding-block: 56px 96px; }
main { max-width: 43rem; min-width: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; text-wrap: balance; letter-spacing: -.015em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 3.5rem); line-height: 1.04; margin: 0 0 18px; }
h2 { font-size: 1.6rem; line-height: 1.2; margin: 2.2em 0 .5em; }
h3 { font-size: 1.2rem; line-height: 1.3; margin: 1.5em 0 .25em; }
p, ul, ol { margin: 0 0 1em; }
li { margin-bottom: .4em; }
ul, ol { padding-left: 1.25em; }
.lede { color: var(--muted); font-size: 1.12rem; margin-bottom: 2em; }
.short { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px 28px 14px; }
.short h2 { margin-top: 0; font-size: 1.35rem; }
table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .98rem; line-height: 1.5; }
th { text-align: left; font-size: .86rem; color: var(--muted); font-weight: 600; }
th, td { padding: 12px 18px 12px 0; vertical-align: top; border-bottom: 1px solid var(--line); overflow-wrap: break-word; }
td:last-child { padding-right: 0; }
pre { font: 400 .78rem/1.5 var(--mono); white-space: pre-wrap; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; max-height: 26rem; overflow: auto; }
th[scope=row] { width: 11rem; color: var(--ink); font-size: .98rem; }
figure { margin: 0 0 1.6em; max-width: 26rem; } figure img { display: block; width: 100%; height: auto; }
.s-dark { display: none; } figure img.s-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) figure img.s-light { display: none; } :root:not([data-theme="light"]) figure img.s-dark { display: block; } }
:root[data-theme="dark"] figure img.s-light { display: none; } :root[data-theme="dark"] figure img.s-dark { display: block; } :root[data-theme="light"] figure img.s-dark { display: none; }
code { font: 400 .92em var(--mono); }
.gap { background: var(--gap); color: var(--on-gap); padding: .05em .4em; border-radius: 5px; }
.toc p { font-weight: 600; font-size: .9rem; margin: 0 0 8px; }
.toc ol { list-style: none; padding: 0; margin: 0; font-size: .93rem; line-height: 1.4; }
.toc a { color: var(--muted); text-decoration: none; display: block; padding: 4px 0; }
.toc a:hover { color: var(--ink); }
.foot { display: flex; flex-wrap: wrap; gap: 4px 20px; } .foot a { color: inherit; text-decoration: none; padding: 4px 0; } .foot a:hover, .foot a[aria-current] { color: var(--ink); }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 28px; padding-block: 26px; }
@media (min-width: 1000px) {
  .page:has(.toc) { grid-template-columns: 15rem minmax(0, 1fr); }
  .toc { position: sticky; top: 28px; align-self: start; max-height: calc(100vh - 56px); overflow: auto; }
}
@media (max-width: 999px) { .page { gap: 32px; } .toc { display: none; } }
@media (max-width: 640px) {
  .wrap { padding: 0 18px; } .page { padding-block: 32px 64px; }
  thead { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  td { display: block; border: 0; padding: 0 0 6px; } td:first-child { font-weight: 600; }
  td[data-label]:not(:first-child)::before { content: attr(data-label) ": "; color: var(--muted); font-size: .88rem; }
  th[scope=row] { display: block; border: 0; padding: 0 0 4px; width: auto; }
  .short { padding: 20px 20px 10px; }
}
@media print { header, footer, .toc, .skip { display: none; } body { background: #fff; color: #000; } pre { max-height: none; } }
