/* NaNoWriJoe — cozy bookish. Warm paper by day, lamplight by night. */

:root {
  --bg: #f3ead9;
  --surface: #fbf6ec;
  --surface-2: #f6eedf;
  --ink: #2b2118;
  --ink-2: #5b4d40;
  --muted: #7f705f;
  --line: #e2d4bd;
  --grid: #ebe0cc;
  --accent: #b04a26;        /* your words (validated vs --surface) */
  --accent-hover: #963c1d;
  --accent-wash: rgba(176, 74, 38, 0.10);
  --on-accent: #fffaf2;
  --pace: #008f84;          /* pace / target (validated pair) */
  --good: #2f6f3a;
  --error: #a3261b;
  --error-bg: #f8e3dc;
  --info-bg: #e7efe0;
  --secret-bg: #fff3c9;
  --shadow: 0 1px 2px rgba(60, 40, 20, .06), 0 6px 20px rgba(60, 40, 20, .06);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #17120e; --surface: #211b16; --surface-2: #2a231c;
    --ink: #f1e6d6; --ink-2: #cdbda9; --muted: #a09079;
    --line: #3b3129; --grid: #30281f;
    --accent: #cc6a3e; --accent-hover: #dd7b4f; --accent-wash: rgba(204, 106, 62, 0.14);
    --on-accent: #1b140f; --pace: #16a095; --good: #7cc48a; --error: #f08a78;
    --error-bg: #3a1f19; --info-bg: #1f2c20; --secret-bg: #3a3218;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 6px 20px rgba(0,0,0,.25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #17120e; --surface: #211b16; --surface-2: #2a231c;
  --ink: #f1e6d6; --ink-2: #cdbda9; --muted: #a09079;
  --line: #3b3129; --grid: #30281f;
  --accent: #cc6a3e; --accent-hover: #dd7b4f; --accent-wash: rgba(204, 106, 62, 0.14);
  --on-accent: #1b140f; --pace: #16a095; --good: #7cc48a; --error: #f08a78;
  --error-bg: #3a1f19; --info-bg: #1f2c20; --secret-bg: #3a3218;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 6px 20px rgba(0,0,0,.25);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.55 var(--sans);
}
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 .4em; }
h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 .8em; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.serif { font-family: var(--serif); }
.num { font-variant-numeric: tabular-nums; }

/* ---- header ---- */
.site-header {
  border-bottom: 1px solid var(--line); background: var(--surface);
}
.site-header .inner {
  max-width: 1080px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.brand {
  font-family: var(--serif); font-size: 1.45rem; font-weight: 700; color: var(--ink);
  text-decoration: none; letter-spacing: .01em; display: flex; align-items: center; gap: 10px;
}
.brand svg { width: 28px; height: 28px; }
.brand .jo { color: var(--accent); }
nav.main { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; margin-left: auto; }
nav.main a, nav.main button {
  font: inherit; font-size: .95rem; color: var(--ink-2); text-decoration: none;
  padding: 6px 10px; border-radius: 8px; background: none; border: 0; cursor: pointer;
}
nav.main a:hover, nav.main button:hover { background: var(--surface-2); color: var(--ink); }
nav.main a.active { color: var(--ink); background: var(--surface-2); font-weight: 600; }
nav.main form { margin: 0; }
.theme-toggle { width: 36px; height: 36px; display: inline-grid; place-items: center; }
.theme-toggle svg { width: 18px; height: 18px; }

main { max-width: 1080px; margin: 0 auto; padding: 28px 20px 64px; }
.narrow { max-width: 520px; margin: 0 auto; }
footer.site { max-width: 1080px; margin: 0 auto; padding: 0 20px 40px; color: var(--muted); font-size: .85rem; }

/* ---- cards & layout ---- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.card + .card, .stack > * + * { margin-top: 20px; }
.grid { display: grid; gap: 20px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 36px 0 14px; }
.section-head h2 { margin: 0; }
.eyebrow { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }

/* ---- hero ---- */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; align-items: stretch; }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; } }
.hero-number { font-size: clamp(2.8rem, 8vw, 3.6rem); font-weight: 650; line-height: 1; letter-spacing: -.02em; font-variant-numeric: proportional-nums; }
.hero-sub { color: var(--ink-2); margin-top: 6px; }

/* ---- meter ---- */
.meter { position: relative; height: 12px; background: var(--accent-wash); border-radius: 99px; overflow: visible; margin: 14px 0 6px; }
.meter > .fill { position: absolute; inset: 0 auto 0 0; background: var(--accent); border-radius: 99px; max-width: 100%; }
.meter > .pace-tick { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--pace); border-radius: 2px; }
.meter.small { height: 8px; margin: 10px 0 4px; }
.meter-legend { display: flex; justify-content: space-between; font-size: .82rem; color: var(--muted); gap: 8px; flex-wrap: wrap; }

/* ---- stat tiles ---- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.tile { background: var(--surface-2); border-radius: 12px; padding: 14px 16px; }
.tile .label { font-size: .85rem; color: var(--ink-2); }
.tile .value { font-size: 1.5rem; font-weight: 650; font-variant-numeric: tabular-nums; margin-top: 2px; }
.tile .hint { font-size: .8rem; color: var(--muted); margin-top: 2px; }
.tile .value.good { color: var(--good); }

/* ---- forms ---- */
label { display: block; font-weight: 600; font-size: .92rem; margin: 14px 0 6px; }
label.inline { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; margin: 6px 16px 6px 0; }
input[type=text], input[type=password], input[type=number], input[type=url], input[type=email], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
input[type=radio], input[type=checkbox] { accent-color: var(--accent); width: 18px; height: 18px; }
.field-hint { font-size: .84rem; color: var(--muted); margin-top: 4px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; border-radius: 10px; padding: 10px 18px; cursor: pointer;
  border: 1px solid transparent; background: var(--accent); color: var(--on-accent); text-decoration: none;
}
.btn:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn.secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.secondary:hover { background: var(--surface-2); }
.btn.small { padding: 6px 12px; font-size: .88rem; }
.btn[disabled] { opacity: .55; cursor: default; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 18px; }

.log-form .amount-row { display: flex; gap: 10px; align-items: stretch; margin-top: 10px; }
.log-form .amount-row input { font-size: 1.4rem; font-weight: 600; padding: 12px 14px; }
.log-form .amount-row .btn { padding: 0 22px; font-size: 1.05rem; }
.seg { display: inline-flex; background: var(--surface-2); border-radius: 10px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg label { margin: 0; font-weight: 500; font-size: .92rem; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; padding: 7px 12px; border-radius: 8px; cursor: pointer; color: var(--ink-2); }
.seg input:checked + span { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); font-weight: 600; }
.seg input:focus-visible + span { outline: 2px solid var(--accent); }

/* ---- flash ---- */
.flashes { list-style: none; padding: 0; margin: 0 0 20px; }
.flash { padding: 12px 16px; border-radius: 10px; margin-bottom: 8px; background: var(--info-bg); }
.flash.error { background: var(--error-bg); color: var(--error); }
.flash.secret { background: var(--secret-bg); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .92rem; }

/* ---- circle ---- */
.circle { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.writer-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; }
.writer-card.me { border-color: var(--accent); }
.writer-card .who { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--surface-2); color: var(--ink-2); font-family: var(--serif); font-weight: 700; font-size: 1.1rem;
  border: 1px solid var(--line);
}
.writer-card .name { font-weight: 650; color: var(--ink); text-decoration: none; }
.writer-card .name:hover { text-decoration: underline; }
.writer-card .book { font-family: var(--serif); font-style: italic; color: var(--ink-2); font-size: .95rem; }
.writer-card .facts { display: flex; gap: 14px; flex-wrap: wrap; font-size: .88rem; color: var(--ink-2); margin-top: 4px; }
.writer-card .foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; padding: 3px 10px; border-radius: 99px; background: var(--surface-2); color: var(--ink-2); }
.pill svg { width: 14px; height: 14px; }
.pill.done { background: var(--info-bg); color: var(--good); font-weight: 600; }

/* ---- charts ---- */
.chart-wrap { position: relative; }
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart .gridline { stroke: var(--grid); stroke-width: 1; }
.chart .axis { fill: var(--muted); font: 12px var(--sans); }
.chart .end-label { fill: var(--ink-2); }
.chart .value-label { fill: var(--ink); font: 600 13px var(--sans); paint-order: stroke; stroke: var(--surface); stroke-width: 4px; }
.chart .pace { fill: none; stroke: var(--pace); stroke-width: 2; stroke-dasharray: 6 5; stroke-linecap: round; }
.chart .mine { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .mine-area { fill: var(--accent-wash); }
.chart .mine-dot { fill: var(--accent); stroke: var(--surface); stroke-width: 2; }
.chart .bar { fill: var(--accent); }
.chart .hit { fill: transparent; cursor: crosshair; }
.chart .guide { stroke: var(--muted); stroke-width: 1; opacity: 0; pointer-events: none; }
.chart-wrap.hovering .guide { opacity: .6; }
.chart-tip {
  position: absolute; pointer-events: none; background: var(--ink); color: var(--surface);
  font-size: .82rem; padding: 6px 10px; border-radius: 8px; white-space: nowrap; transform: translate(-50%, -110%);
  opacity: 0; transition: opacity .1s; z-index: 5;
}
.chart-wrap.hovering .chart-tip { opacity: 1; }
.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: .88rem; color: var(--ink-2); margin: 4px 0 10px; }
.legend .key { display: inline-flex; align-items: center; gap: 8px; }
.legend .swatch-line { width: 22px; height: 0; border-top: 2px solid var(--accent); }
.legend .swatch-line.pace { border-top: 2px dashed var(--pace); }
.legend .swatch-bar { width: 10px; height: 14px; border-radius: 3px 3px 0 0; background: var(--accent); }

/* ---- tables ---- */
table { width: 100%; border-collapse: collapse; font-size: .94rem; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
tr.today td { background: var(--accent-wash); }
.day-edit { display: flex; gap: 6px; justify-content: flex-end; }
.day-edit input { width: 110px; padding: 6px 8px; text-align: right; }
.table-scroll { overflow-x: auto; }

.badge { font-size: .75rem; padding: 2px 8px; border-radius: 99px; background: var(--surface-2); color: var(--ink-2); font-weight: 600; }
.badge.admin { background: var(--accent-wash); color: var(--accent); }
.badge.off { background: var(--error-bg); color: var(--error); }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.row-actions form { margin: 0; }

.countdown { text-align: center; padding: 40px 20px; }
.countdown .big { font-family: var(--serif); font-size: clamp(3.5rem, 12vw, 5.5rem); font-weight: 700; line-height: 1; color: var(--accent); }

.pledge { border-left: 3px solid var(--accent); padding: 4px 0 4px 16px; font-family: var(--serif); font-size: 1.08rem; color: var(--ink-2); }

.cheers-note { margin-top: 12px; font-size: .92rem; color: var(--ink-2); display: flex; gap: 8px; align-items: center; }
.cheers-note svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

@media (max-width: 560px) {
  main { padding: 20px 14px 48px; }
  .card { padding: 18px; }
  .site-header .inner { padding: 10px 14px; }
  nav.main { margin-left: 0; width: 100%; }
  .log-form .amount-row { flex-direction: column; }
  .log-form .amount-row .btn { padding: 12px; }
}
.btn svg { width: 16px; height: 16px; flex: none; }
[hidden] { display: none !important; }
.hero > .card, .grid > .card, .grid > section.card { margin-top: 0; }
.log-form .amount-row .btn { white-space: nowrap; }
.chart.narrow { display: none; }
@media (max-width: 640px) {
  .chart.wide { display: none; }
  .chart.narrow { display: block; }
}

/* ---- cohorts ---- */
.cohort-head h1 { margin-top: 4px; }
.cohort-desc { white-space: pre-line; font-family: var(--serif); font-size: 1.05rem; color: var(--ink-2); max-width: 70ch; }
.meta-row { display: flex; gap: 22px; flex-wrap: wrap; font-size: .92rem; color: var(--ink-2); margin-top: 6px; }
.meta-row strong { color: var(--ink); font-weight: 650; margin-right: 4px; }
.motd-banner {
  display: flex; gap: 14px; align-items: flex-start; margin-top: 20px; padding: 16px 20px;
  background: var(--accent-wash); border: 1px solid var(--accent); border-radius: var(--radius);
}
.motd-banner svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 2px; }
.motd-banner .motd-text { font-family: var(--serif); font-size: 1.12rem; color: var(--ink); margin-top: 2px; white-space: pre-line; }
.cohort-card { text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.cohort-card:hover { border-color: var(--accent); color: inherit; }
.cohort-card .motd { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); color: var(--ink-2); font-style: italic; }
.avatar.rank { background: var(--accent-wash); color: var(--accent); border-color: transparent; font-family: var(--sans); font-size: 1rem; }

/* ---- pictures ---- */
img.avatar { object-fit: cover; background: var(--surface-2); padding: 0; }
.avatar.xs { width: 22px; height: 22px; font-size: .7rem; }
.avatar.sm { width: 28px; height: 28px; font-size: .85rem; }
.avatar.lg { width: 96px; height: 96px; font-size: 2.4rem; }
.avatar-wrap { position: relative; flex: none; }
.rank-badge {
  position: absolute; right: -6px; bottom: -4px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 99px; background: var(--accent); color: var(--on-accent, #fff); border: 2px solid var(--surface);
  font: 700 .72rem/16px var(--sans); text-align: center;
}
.nav-account { display: inline-flex; align-items: center; gap: 7px; }
.member-name { display: inline-flex; align-items: center; gap: 8px; vertical-align: middle; }
.writer-head { display: flex; gap: 18px; align-items: center; }
.writer-head h1 { margin: 4px 0 0; }
@media (max-width: 560px) { .writer-head { gap: 14px; } .writer-head .avatar.lg { width: 64px; height: 64px; font-size: 1.6rem; } }
.picture-row { display: flex; gap: 20px; align-items: flex-start; }
.picture-controls { flex: 1; min-width: 0; }
.picture-controls label:first-of-type { margin-top: 0; }
@media (max-width: 480px) { .picture-row { flex-direction: column; } }
input[type=file] { width: 100%; max-width: 100%; font: inherit; font-size: .92rem; color: var(--ink-2); }
input[type=file]::file-selector-button {
  font: inherit; font-weight: 600; margin-right: 12px; padding: 7px 14px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--ink);
}
.cohort-banner { aspect-ratio: 4 / 1; overflow: hidden; background: var(--surface-2); }
.cohort-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cohort-head.has-banner { padding-top: 0; overflow: hidden; }
.cohort-head .cohort-banner { margin: 0 -22px 18px; border-bottom: 1px solid var(--line); }
.cohort-card.has-banner { padding-top: 0; overflow: hidden; }
.cohort-banner.thumb { margin: 0 -18px 14px; border-bottom: 1px solid var(--line); }
.cohort-banner.preview { border-radius: 10px; border: 1px solid var(--line); margin: 6px 0 14px; }
@media (max-width: 560px) { .cohort-head .cohort-banner { margin: 0 -18px 16px; } }
.form-section { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); }
.copy-row { display: flex; gap: 10px; align-items: stretch; margin-top: 10px; }
.copy-row input { flex: 1; }
code { font-family: ui-monospace, Menlo, Consolas, monospace; background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }
.card.danger { border-color: var(--error); }
.btn.danger-btn { background: var(--error); color: var(--surface); }
.btn.danger-btn:hover { background: var(--error); filter: brightness(.9); color: var(--surface); }
input[type=date] { width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; }
.version { opacity: .7; }

/* ---- system notices ---- */
:root { --warn: #8a5a00; --warn-bg: #fbeccc; --info-line: var(--pace); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --warn: #e7b55a; --warn-bg: #332611; } }
:root[data-theme="dark"] { --warn: #e7b55a; --warn-bg: #332611; }
.notice {
  display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px 14px 18px; margin-bottom: 12px;
  border-radius: var(--radius); border: 1px solid var(--line); border-left-width: 4px; background: var(--surface);
}
.notice-info { border-left-color: var(--pace); }
.notice-info .notice-icon { color: var(--pace); }
.notice-warning { background: var(--warn-bg); border-color: var(--warn); }
.notice-warning .notice-icon, .notice-warning .eyebrow { color: var(--warn); }
.notice-important { background: var(--accent-wash); border-color: var(--accent); }
.notice-important .notice-icon, .notice-important .eyebrow { color: var(--accent); }
.notice-icon svg { width: 22px; height: 22px; margin-top: 2px; }
.notice-body { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.notice-body .eyebrow { margin-bottom: 2px; }
.notice form { margin: 0; }
.notice-close { background: none; border: 0; cursor: pointer; color: var(--muted); padding: 4px; border-radius: 8px; }
.notice-close:hover { color: var(--ink); background: var(--surface-2); }
.notice-close svg { width: 18px; height: 18px; display: block; }
.email-nudge { margin: -2px 0 14px; }
.status-pill { font-size: .75rem; padding: 2px 8px; border-radius: 99px; font-weight: 600; }
.status-showing { background: var(--info-bg); color: var(--good); }
.status-scheduled { background: var(--surface-2); color: var(--ink-2); }
.status-ended { background: var(--surface-2); color: var(--muted); }
.cohort-picks { max-height: 220px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; margin-top: 8px; }
.notice-link { display: flex; justify-content: space-between; align-items: center; gap: 16px; text-decoration: none; color: inherit; margin-bottom: 20px; flex-wrap: wrap; }
.notice-link:hover { border-color: var(--accent); color: inherit; }
input[type=datetime-local] { width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; }
@media (max-width: 560px) { .notice { padding: 12px 12px 12px 14px; gap: 10px; } .notice-body { font-size: .95rem; } }

/* ---- feedback ---- */
.nav-count { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 99px; background: var(--accent); color: var(--on-accent); font-size: .75rem; font-weight: 700; line-height: 20px; text-align: center; vertical-align: 1px; font-family: var(--sans); }
.fb-item { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; background: var(--surface); }
.fb-item + .fb-item { margin-top: 14px; }
.fb-item.is-new { border-left: 4px solid var(--accent); }
.fb-head { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.fb-head h3 { margin: 0; font-family: var(--sans); font-size: 1.02rem; }
.fb-meta { font-size: .82rem; color: var(--muted); margin-top: 4px; overflow-wrap: anywhere; }
.fb-details { margin-top: 10px; overflow-wrap: anywhere; }
.fb-reply { margin-top: 12px; padding: 10px 14px; border-radius: 10px; background: var(--info-bg); }
.fb-reply .eyebrow { color: var(--good); }
.fb-admin { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); display: grid; grid-template-columns: 180px 1fr; gap: 10px 14px; align-items: start; }
.fb-admin textarea { min-height: 60px; }
@media (max-width: 640px) { .fb-admin { grid-template-columns: 1fr; } }
.kind-bug { background: var(--error-bg); color: var(--error); }
.kind-idea { background: var(--info-bg); color: var(--good); }
.status-new { background: var(--accent-wash); color: var(--accent); }
.status-seen, .status-planned { background: var(--surface-2); color: var(--ink-2); }
.status-done { background: var(--info-bg); color: var(--good); }
.status-wontfix { background: var(--surface-2); color: var(--muted); }
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 6px 0 16px; }
.filter-row a { text-decoration: none; }
.filter-row a.pill.active { background: var(--ink); color: var(--surface); }
