:root {
  --bg: #ffffff; --fg: #111111; --muted: #3d3d3d; --card: #f3f5f2; --border: #6b6b6b;
  --link: #0645ad; --accent: #2f6b2f; --ok: #1b6e1b; --bad: #a30000;
  --line: #0b57a4; --grid: #d0d0d0; --focus: #b35900;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121412; --fg: #f2f2f2; --muted: #cfcfcf; --card: #1e221e; --border: #9a9a9a;
    --link: #9cc7ff; --accent: #8fd18f; --ok: #7ee07e; --bad: #ff8a80;
    --line: #7ab8ff; --grid: #3a3f3a; --focus: #ffb366;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif;
  font-size: 1.0625rem; line-height: 1.55;
}
a { color: var(--link); text-underline-offset: 0.15em; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 2px;
}
.skip { position: absolute; left: -9999px; top: 0; background: var(--bg); padding: 0.5rem 1rem; }
.skip:focus { left: 1rem; z-index: 10; }
header.site, main, footer.site { max-width: 62rem; margin: 0 auto; padding: 0 16px; }
header.site { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1.5rem; padding-top: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }
.brand { margin: 0; font-size: 1.4rem; font-weight: 700; }
.brand a { color: var(--accent); text-decoration: none; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; }
nav a[aria-current="page"] { font-weight: 700; color: var(--fg); }
main { padding-top: 1rem; padding-bottom: 2rem; }
h1 { font-size: 1.9rem; line-height: 1.2; margin: 0.5rem 0 0.5rem; }
h2 { font-size: 1.4rem; margin: 2rem 0 0.5rem; }
h3 { font-size: 1.15rem; margin: 1.5rem 0 0.25rem; }
.lede { font-size: 1.2rem; color: var(--muted); margin-top: 0; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: 0.25rem 1rem 1rem; }
.card h2 { margin-top: 0.75rem; }
.ok { color: var(--ok); font-weight: 700; }
.bad { color: var(--bad); font-weight: 700; }
.notset { font-weight: 700; }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0.3rem 1.25rem; margin: 0; }
dl.facts dt { font-weight: 700; }
dl.facts dd { margin: 0; }
@media (max-width: 34rem) {
  dl.facts { grid-template-columns: 1fr; }
  dl.facts dd { margin-bottom: 0.5rem; }
}
code { font-size: 1.05em; background: var(--card); padding: 0.05em 0.3em; border-radius: 4px; border: 1px solid var(--border); }
.maplink { margin: 1.5rem 0; }
.maplink a {
  display: inline-block; font-size: 1.25rem; font-weight: 700; padding: 0.75rem 1.25rem;
  background: var(--accent); color: var(--bg); border-radius: 8px; text-decoration: none;
}
.maplink a:hover { text-decoration: underline; }
.tablewrap { overflow-x: auto; max-width: 100%; }
table { border-collapse: collapse; width: 100%; margin: 0.5rem 0 1rem; font-variant-numeric: tabular-nums; }
caption { text-align: left; font-weight: 700; padding: 0.25rem 0 0.5rem; }
th, td { border: 1px solid var(--border); padding: 0.4rem 0.6rem; text-align: right; vertical-align: top; }
th[scope="row"], thead th:first-child { text-align: left; }
thead th { background: var(--card); }
th button {
  font: inherit; font-weight: 700; color: inherit; background: none; border: 0; padding: 0;
  cursor: pointer; text-align: inherit; text-decoration: underline dotted;
}
th[aria-sort="ascending"] button::after { content: " \2191"; }
th[aria-sort="descending"] button::after { content: " \2193"; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.js-only { display: none; }
.has-js .js-only { display: inline; }
.metric { margin-bottom: 1.5rem; }
.summary { margin: 0.25rem 0; }
svg.chart { width: 100%; height: auto; display: block; max-width: 44rem; }
svg.chart .frame { fill: none; stroke: var(--border); stroke-width: 1; }
svg.chart .grid { stroke: var(--grid); stroke-width: 1; }
svg.chart .tick { stroke: var(--border); }
svg.chart .axis { fill: var(--fg); font-size: 15px; font-family: inherit; }
svg.chart .line { fill: none; stroke: var(--line); stroke-width: 2.5; stroke-linejoin: round; }
svg.chart .dot { fill: var(--line); }
details { margin: 0.25rem 0 0.5rem; }
summary { cursor: pointer; color: var(--link); text-decoration: underline; }
footer.site { border-top: 1px solid var(--border); padding-top: 0.75rem; padding-bottom: 2rem; color: var(--muted); font-size: 0.95rem; }
@media (forced-colors: active) {
  svg.chart .line { stroke: CanvasText; }
  .maplink a { border: 2px solid ButtonText; }
}
td { white-space: nowrap; }
.tablewrap:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
