:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --text: #1c2024;
  --muted: #5f6b76;
  --line: #e2e6ea;
  --accent: #1f6f43;
  --accent-soft: #e3f1e8;
  --bad: #b3261e;
  --bad-soft: #fbe9e7;
  --warn: #8a5a00;
  --warn-soft: #fff4dc;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111416;
    --surface: #1a1e21;
    --text: #e6e9ec;
    --muted: #98a3ad;
    --line: #2c3237;
    --accent: #5cc48a;
    --accent-soft: #183526;
    --bad: #ff8a80;
    --bad-soft: #3a1d1b;
    --warn: #f0c060;
    --warn-soft: #3a2f14;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); }
button, .button {
  font: inherit;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 8px;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
button.primary, .button.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
button:disabled { opacity: 0.6; cursor: default; }
.narrow { max-width: 34rem; margin: 4rem auto; padding: 0 1rem; }
