/* Layout: one narrow column. A big yes/no answer on top, a 12-month season strip under it, produce chips below. */
:root {
  --bg: #F1F6EA; --surface: #FFFFFF; --ink: #16231A; --muted: #586A5B; --line: #D3DECB;
  --yes: #1C7A39; --yes-soft: #CBE7C4; --no: #C0341D; --on-yes: #FFFFFF; --focus: #6A2C6E;
  --display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111A14; --surface: #19251D; --ink: #E8F0E3; --muted: #9BAD9D; --line: #2D3C31;
    --yes: #6FD08A; --yes-soft: #24492E; --no: #FF8C72; --on-yes: #0D1A11; --focus: #E0A9E3;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; padding-inline: 16px; padding-block: 20px 56px; }
.wrap { max-width: 720px; margin-inline: auto; display: flex; flex-direction: column; gap: 28px; }
main { display: flex; flex-direction: column; gap: 24px; }
a { color: var(--yes); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.brand { font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.top nav { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 0.95rem; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--ink); text-decoration: underline; }

h1, h2, p { margin: 0; }
h1.tool { font-family: var(--body); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
h1.q { font-family: var(--display); font-weight: 700; font-size: clamp(1.7rem, 6vw, 2.5rem); line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
.crumb { font-size: 0.9rem; color: var(--muted); }
.lede { color: var(--muted); max-width: 60ch; }
.month { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.95rem; }
select, input[type="search"] { font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }

.answer { display: flex; flex-direction: column; gap: 14px; }
.word { font-family: var(--display); font-weight: 800; line-height: 0.85; font-size: clamp(5.5rem, 26vw, 11rem); letter-spacing: -0.05em; }
.word:empty { display: none; }
.word.yes { color: var(--yes); }
.word.no { color: var(--no); }
.line1 { font-family: var(--display); font-weight: 600; font-size: clamp(1.35rem, 4.5vw, 1.9rem); line-height: 1.15; text-wrap: balance; }
.line1:empty { display: none; }
.line2 { color: var(--muted); max-width: 60ch; }
.strip { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; margin-top: 6px; }
.strip:empty { display: none; }
.cell { border: 1px solid var(--line); border-radius: 6px; padding-block: 10px; text-align: center; font-size: 0.75rem; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.cell.in { background: var(--yes-soft); border-color: var(--yes-soft); color: var(--ink); }
.cell.peak { background: var(--yes); border-color: var(--yes); color: var(--on-yes); }
.cell.now { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ink); }
.cell .s { display: none; }
.key { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.85rem; color: var(--muted); }
.key span { display: inline-flex; align-items: center; gap: 6px; }
.sw { width: 12px; height: 12px; border-radius: 3px; border: 1px solid var(--line); display: inline-block; }
.sw.in { background: var(--yes-soft); border-color: var(--yes-soft); }
.sw.peak { background: var(--yes); border-color: var(--yes); }
.sw.now { border: 2px solid var(--ink); }
.more { font-size: 0.95rem; }

.prose { display: flex; flex-direction: column; gap: 12px; max-width: 62ch; }
.prose h2 { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.01em; margin-top: 8px; }

.picker { display: flex; flex-direction: column; gap: 16px; border-top: 1px solid var(--line); padding-top: 24px; }
.picker.plain { border-top: 0; padding-top: 0; }
.controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.controls input[type="search"] { flex: 1 1 200px; min-width: 0; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--surface); }
.seg button { font: inherit; font-size: 0.9rem; color: var(--muted); background: none; border: 0; padding: 8px 12px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.only { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--muted); cursor: pointer; }
.only input { width: 16px; height: 16px; accent-color: var(--yes); }
.count { font-size: 0.9rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.group h2 { font-family: var(--body); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.groups { display: flex; flex-direction: column; gap: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 0.95rem; font-weight: 500; color: var(--ink); text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px 7px 11px; display: inline-flex; align-items: center; gap: 8px; }
.chips.months .chip { padding-inline: 14px; }
.chip:hover { border-color: var(--ink); }
.chip .dot { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--muted); flex: none; }
.chip.in .dot { background: var(--yes); border-color: var(--yes); }
.chip[aria-current="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.empty { color: var(--muted); }
.pager { display: flex; justify-content: space-between; gap: 16px; }
footer { color: var(--muted); font-size: 0.85rem; max-width: 62ch; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 20px; }

@media (max-width: 520px) {
  .cell .l { display: none; }
  .cell .s { display: inline; }
  .strip { gap: 3px; }
}
