:root {
  color-scheme: light dark;
  --bg: #f4f6f8;
  --surface: #ffffff;
  --text: #1c2128;
  --muted: #5c6773;
  --line: #d8dee6;
  --accent: #1f6feb;
  --open: #9a6700;
  --closed: #59636e;
  --merged: #1f6feb;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1117;
    --surface: #161b22;
    --text: #e6edf3;
    --muted: #8b949e;
    --line: #30363d;
    --accent: #4493f8;
    --open: #d4a72c;
    --closed: #8b949e;
    --merged: #4493f8;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.45 ui-sans-serif, system-ui, sans-serif;
}
main { max-width: 1040px; margin: 0 auto; padding: 28px 20px 56px; }
h1 { margin: 0; font-size: 24px; font-weight: 500; }
h2 { margin: 0 0 10px; font-size: 16px; font-weight: 500; }
p { margin: 0; }
.lede { margin: 6px 0 20px; color: var(--muted); }
.hero { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-end; margin-bottom: 18px; }
.hero .value { font-size: 40px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.hero .aside { font-size: 22px; font-weight: 500; line-height: 1; }
.hero .label, .when, .stat span, figcaption { color: var(--muted); font-size: 12px; }
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
}
.stat b { display: block; font-size: 20px; font-weight: 500; }
.stat .detail { display: block; white-space: nowrap; }
section { margin-top: 28px; }
.charts figure + figure { margin-top: 22px; }
.split { display: grid; grid-template-columns: 1.35fr 0.8fr; gap: 28px; }
figure { margin: 0; }
svg { width: 100%; height: auto; display: block; }
svg text { fill: var(--muted); font-size: 11px; font-family: ui-sans-serif, system-ui, sans-serif; }
svg rect { fill: var(--accent); }
svg line { stroke: var(--line); }
.lang {
  display: grid;
  grid-template-columns: minmax(108px, 150px) 1fr auto;
  gap: 8px;
  align-items: center;
  margin: 5px 0;
}
.track { height: 8px; border-radius: 4px; background: var(--line); }
.fill { height: 8px; border-radius: 4px; }
.also { margin-top: 8px; color: var(--muted); }
.stack { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: var(--line); }
.stack i { display: block; height: 10px; }
.legend { display: flex; flex-wrap: wrap; gap: 12px 16px; margin: 8px 0 0; padding: 0; list-style: none; }
.legend li { display: flex; align-items: center; gap: 6px; }
.swatch { width: 8px; height: 8px; border-radius: 2px; background: var(--swatch); }
.names { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.names span, .org {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 13px;
}
.orgs { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 8px; }
.columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
  .hero .value { font-size: 32px; }
  svg text { font-size: 20px; }
}
