:root {
  --bg: #f7f5f0; --fg: #23282b; --muted: #667074; --line: #d9d4c8;
  --accent: #2f6b4f; --accent-soft: #2f6b4f22; --card: #fffdf8;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #15191a; --fg: #e6e3dc; --muted: #9aa3a6; --line: #2e3537;
          --accent: #7fc5a0; --accent-soft: #7fc5a022; --card: #1c2122; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg);
  font: 17px/1.65 Georgia, "Iowan Old Style", "Times New Roman", serif; }
header, main, footer { max-width: 46rem; margin: 0 auto; padding: 0 16px; }
header { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline;
  padding-top: 28px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.brand { font-weight: 700; font-size: 1.15rem; color: var(--fg); text-decoration: none; }
nav { display: flex; gap: 18px; font-family: system-ui, sans-serif; font-size: .9rem; }
a { color: var(--accent); }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
h1 { font-size: 1.9rem; line-height: 1.2; margin: 2rem 0 1rem; text-wrap: balance; }
.lead { font-size: 1.1rem; color: var(--muted); }
.note { font: .8rem system-ui, sans-serif; color: var(--muted); margin-top: -.25rem; }
table { width: 100%; border-collapse: collapse; font: .92rem system-ui, sans-serif; margin: 1rem 0 2rem; }
th, td { text-align: left; padding: 9px 10px 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; cursor: pointer; white-space: nowrap; user-select: none; }
th[aria-sort="ascending"]::after { content: " ↑"; }
th[aria-sort="descending"]::after { content: " ↓"; }
@media (max-width: 560px) { th:nth-child(5), td:nth-child(5) { display: none; } }
button { font: .85rem system-ui, sans-serif; padding: 6px 12px; border: 1px solid var(--line);
  border-radius: 6px; background: var(--card); color: var(--fg); cursor: pointer; }
button:hover { border-color: var(--accent); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: 10px; margin: 0 0 1.25rem; }
.facts div { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.facts dt { font: .72rem system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-family: system-ui, sans-serif; font-weight: 600; }
.profile { width: 100%; height: auto; display: block; background: var(--card);
  border: 1px solid var(--line); border-radius: 8px; }
.profile .area { fill: var(--accent-soft); }
.profile .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; }
.profile circle { fill: var(--accent); }
.profile text { font: 11px system-ui, sans-serif; fill: var(--muted); }
li { margin: .4rem 0; }
footer { margin-top: 3rem; padding-top: 14px; padding-bottom: 40px; border-top: 1px solid var(--line);
  font: .82rem/1.5 system-ui, sans-serif; color: var(--muted); }
