:root {
  --bg: #fbfaf6;
  --surface: #ffffff;
  --text: #1f2a1f;
  --muted: #5b675b;
  --line: #dfe3d8;
  --accent: #2f6b3a;
  --accent-soft: #e6f0e3;
  --warn: #8a5a00;
  --warn-soft: #fff3d6;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141814;
    --surface: #1b211b;
    --text: #e6ebe3;
    --muted: #a2ad9f;
    --line: #2e372d;
    --accent: #8cc79a;
    --accent-soft: #233226;
    --warn: #f0c36a;
    --warn-soft: #3a2f16;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.top { border-bottom: 1px solid var(--line); background: var(--surface); }
.top .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.brand { font-weight: 700; font-size: 1.1rem; text-decoration: none; color: var(--text); }
.top nav a { margin-left: 16px; text-decoration: none; }
.disclosure-bar { background: var(--accent-soft); font-size: 0.85rem; color: var(--muted); }
.disclosure-bar .wrap { padding-top: 6px; padding-bottom: 6px; }
main { padding-top: 16px; padding-bottom: 32px; }
h1 { font-size: clamp(1.5rem, 4vw, 2.1rem); line-height: 1.2; margin: 8px 0 12px; }
h2 { font-size: 1.25rem; margin-top: 32px; }
.summary { max-width: 70ch; color: var(--muted); }
.crumbs { font-size: 0.9rem; color: var(--muted); margin: 0; }
.note, .foot { font-size: 0.85rem; color: var(--muted); }
.foot { border-top: 1px solid var(--line); padding-top: 16px; padding-bottom: 32px; }
.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 0.92rem; }
caption { text-align: left; padding: 10px 12px; color: var(--muted); font-size: 0.85rem; }
th, td { padding: 8px 12px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
th { white-space: nowrap; font-weight: 600; }
th button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline dotted; }
th[aria-sort="ascending"] button::after { content: " ▲"; }
th[aria-sort="descending"] button::after { content: " ▼"; }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
tr.out td { color: var(--muted); }
.raw { font-size: 0.8rem; color: var(--muted); margin-top: 2px; }
.stale { background: var(--warn-soft); color: var(--warn); border-radius: 4px; padding: 0 4px; font-size: 0.75rem; white-space: nowrap; }
.aff { font-size: 0.72rem; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 0 4px; }
a.go { white-space: nowrap; }
.cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.cards a { display: block; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); text-decoration: none; color: var(--text); }
.cards span { display: block; font-size: 0.85rem; color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
