:root {
  --bg: #f4f1ec; --card: #ffffff; --ink: #1d1b19; --muted: #6f6a63; --line: #e3ddd4;
  --yes: #1f8a4c; --yes-ink: #fff; --no: #c7372f; --no-ink: #fff; --accent: #1d1b19;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #151413; --card: #211f1d; --ink: #f2eee8; --muted: #a49d94; --line: #34312d;
          --yes: #2fa863; --no: #e0524a; --accent: #f2eee8; }
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--ink);
  font: 16px/1.35 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
a { color: inherit; }
.top { display: flex; align-items: center; gap: 12px; padding: 12px 16px 8px;
  padding-top: max(12px, env(safe-area-inset-top)); }
.top h1 { font-size: 17px; margin: 0; flex: 1; letter-spacing: .02em; }
.pill { border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px;
  padding: 8px 14px; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; }
.pill:disabled { opacity: .35; }
.progress { margin: 0 16px; height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; }
.progress > div { height: 100%; background: var(--yes); width: 0; transition: width .3s; }
.counts { display: flex; justify-content: space-between; margin: 6px 16px 0; font-size: 13px; color: var(--muted); }
