/*
 * One stylesheet, no framework. The site is a front page, a list and a 404; a
 * build step and a utility class for every margin would cost more than they
 * save at this size.
 *
 * Written light-first with the dark values in one media query, so there is
 * exactly one place where a colour is defined twice and it is obvious.
 */

:root {
  color-scheme: light dark;
  --ink: #12161c;
  --bg: #ffffff;
  --muted: #5b6472;
  --accent: #2f6df6;
  /* Surfaces and lines, so a card is not a hard-coded grey in six places. */
  --surface: #f6f7f9;
  --line: #dfe3ea;
  /* Chore states. Late is deliberately the loudest thing on the page. */
  --late: #c2410c;
  --today: #15803d;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e7ecf3;
    --bg: #0b0e12;
    --muted: #93a0b4;
    --accent: #6ea0ff;
    --surface: #141920;
    --line: #262e39;
    --late: #fb923c;
    --today: #4ade80;
  }
}

* { box-sizing: border-box; }

/*
 * The hidden attribute is how every panel on the list page is shown and
 * hidden, and the browser implements it as `display: none` from the UA
 * stylesheet — which any author `display` rule beats. Without this, giving an
 * element a layout (`.empty` is a grid) silently makes hiding it stop working.
 */
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

main { max-width: 720px; margin: 0 auto; padding: 48px 22px; }
h1 { font-size: clamp(28px, 5vw, 44px); letter-spacing: -0.02em; margin: 0 0 12px; }
h2 { font-size: clamp(21px, 3vw, 27px); letter-spacing: -0.01em; margin: 0 0 10px; }
h3 { font-size: 17px; margin: 0 0 6px; }
a { color: var(--accent); }
p { margin: 0 0 14px; }
section { margin: 44px 0; }

.wordmark {
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 22px;
}
.wordmark a { color: inherit; text-decoration: none; }

.lede { font-size: 18px; color: var(--muted); }
.section-lede { color: var(--muted); }
.hero-foot, .help { color: var(--muted); font-size: 14px; }
.hero { margin-bottom: 52px; }

/* ── Buttons ──────────────────────────────────────────────────────────── */

.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.button {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.button:disabled { opacity: 0.55; cursor: default; }
.button--quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.button--small { padding: 6px 11px; font-size: 14px; }

/* For actions that are genuinely secondary — "delete this post of mine" —
   where a real button would carry more weight than the action deserves. */
.link-button {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--accent);
  text-decoration: underline;
  cursor: pointer;
}

/* ── Cards and grids ──────────────────────────────────────────────────── */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}
.card--quiet { background: transparent; }
.card p:last-child { margin-bottom: 0; }

.grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.steps li { counter-increment: step; }
.steps h3::before {
  content: counter(step) ". ";
  color: var(--muted);
}

/* ── The starter list on the front page ───────────────────────────────── */

.starters { list-style: none; padding: 0; margin: 0; }
.starters li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.starter-title { font-weight: 600; }
.starter-aside { grid-column: 1 / -1; color: var(--muted); font-size: 14px; }

.pill {
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

/* ── Forms ────────────────────────────────────────────────────────────── */

.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; margin-bottom: 4px; }

input[type="text"], input[type="email"], input[type="password"], select {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
}

.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.inline-form input[type="text"] { flex: 1 1 200px; width: auto; }
.inline-form select { width: auto; }
.inline-form label:not(.sr-only) { color: var(--muted); font-size: 14px; }

.message { min-height: 1.4em; color: var(--muted); font-size: 14px; margin: 8px 0 0; }

/* Same problem as .list-who: a button written on its own line in the markup
   loses the spaces either side of it, so the sentence closes up around it. */
.help .link-button { margin: 0 4px; }

/* Present to a screen reader, gone from the page. Used where a control's
   purpose is obvious by position but a label is still required. */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ── The list ─────────────────────────────────────────────────────────── */

.list-head { margin-bottom: 32px; }
.list-who { color: var(--muted); font-size: 14px; }
.list-who span { color: var(--ink); }
/* Astro strips the whitespace between an element and its neighbour, so the gap
   before "Sign out" has to be a margin rather than a space in the markup. */
.list-who .link-button { margin-left: 8px; }

.chores { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }

.chore {
  border: 1px solid var(--line);
  border-left: 3px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  background: var(--surface);
}
/* The only two states worth colouring. "Soon" and "later" are the normal
   condition of a chore list and do not need to shout about it. */
.chore--overdue { border-left-color: var(--late); }
.chore--today { border-left-color: var(--today); }
.chore--overdue .pill { color: var(--late); border-color: var(--late); }
.chore--today .pill { color: var(--today); border-color: var(--today); }

.chore-head { display: flex; gap: 10px; align-items: baseline; justify-content: space-between; }
.chore-title { font-weight: 600; }
/* The rename box stands in for the title inside the head, so it takes the room
   the title had rather than the 200px an .inline-form input asks for by default. */
.chore-rename { flex: 1 1 auto; }
.chore-rename input[type="text"] { flex: 1 1 140px; font-size: 14px; }
.chore-meta { color: var(--muted); font-size: 14px; margin: 4px 0 10px; }
.chore-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chore-note { flex: 1 1 220px; width: auto; font-size: 14px; }

.empty { display: grid; gap: 12px; justify-items: start; color: var(--muted); }

/* ── The reward, and the record ───────────────────────────────────────── */

/* Green down the left, matching a chore that is due today: both mean "this is
   the good state", and a second accent colour for one card would be a colour
   the rest of the page has to start explaining. */
.reward {
  border-left: 3px solid var(--today);
  margin: 0 0 18px;
}
.reward-what { font-weight: 600; margin: 0 0 10px; }
.reward-title { color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; }
.reward-body { margin: 0 0 10px; }
.reward-link { margin: 0 0 10px; }
.reward-next { margin: 0 0 10px; }
.reward .actions { margin: 0; }

/* Same row shape in both places: a pill, then the line that explains it. */
.reward-marks, .record-marks { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.reward-marks li, .record-marks li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  align-items: baseline;
}
.mark-note { color: var(--muted); font-size: 14px; }
.pill--mark { color: var(--today); border-color: var(--today); font-weight: 600; }

.record-line { font-weight: 600; }

/* ── Saying a chore ───────────────────────────────────────────────────── */

/* The one control on the page whose state is "currently doing something to the
   room you are in", so it is allowed to look switched on. */
.button--listening { border-color: var(--accent); color: var(--accent); }

.voice-setup { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.voice-setup summary { cursor: pointer; color: var(--muted); font-size: 14px; }
.voice-setup summary:hover { color: var(--ink); }
.voice-setup > *:not(summary) { margin-top: 12px; }

.voice-recipe {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 14px;
  margin: 0;
  font-size: 14px;
}
.voice-recipe dt { color: var(--muted); }
.voice-recipe dd { margin: 0; }
/* A 43-character key has no spaces in it and will not be told where to wrap. */
.voice-recipe code {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 2px 6px;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.voice-steps { margin: 0; padding-left: 20px; color: var(--muted); font-size: 14px; }
.voice-steps li { margin-bottom: 8px; }
.voice-step-action { color: var(--ink); font-weight: 600; }
.voice-step-detail::before { content: " — "; }

/* ── The wizard ───────────────────────────────────────────────────────── */

.wizard-progress { color: var(--muted); font-size: 14px; margin: 0 0 10px; }

/* A fieldset's default border and padding are the one bit of UA styling that
   cannot be talked out of looking like 1998, so the card does the border. */
.wizard-card { border: 1px solid var(--line); margin: 0 0 16px; }
.wizard-card legend { font-weight: 600; padding: 0 6px; }
.wizard-card .help { margin-top: 8px; }

.wizard-options { display: grid; gap: 2px; margin-top: 12px; }
/* The whole row is the hit area, not the twelve pixels of the control. */
.wizard-option {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 9px 10px;
  border-radius: 8px;
  cursor: pointer;
}
.wizard-option:hover { background: var(--bg); }
.wizard-option input { margin: 0; accent-color: var(--accent); }

/* Same shape as the starter list on the front page, because it is the same
   kind of thing: a title, how often, and one line saying why. */
.wizard-results { list-style: none; padding: 0; margin: 0 0 18px; }
.wizard-results li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.wizard-result-name { display: flex; gap: 10px; align-items: baseline; font-weight: 600; cursor: pointer; }
.wizard-result-name input { margin: 0; accent-color: var(--accent); }
.wizard-result-name:has(input:disabled) { color: var(--muted); cursor: default; }
.wizard-result-why { grid-column: 1 / -1; color: var(--muted); font-size: 14px; }

/* ── The wall ─────────────────────────────────────────────────────────── */

.wall { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 2px; }
.post { padding: 14px 0; border-bottom: 1px solid var(--line); }
/* Posts are user-written text, with the newlines they were written with. */
.post-body { margin: 0 0 4px; white-space: pre-wrap; overflow-wrap: anywhere; }
.post-meta { margin: 0; color: var(--muted); font-size: 13px; }

/* ── Proof of work ────────────────────────────────────────────────────── */

/* Both the panel and the day list are filled in by script, so both are empty
   before the fetch answers and on the public page before a token is read. An
   empty card is a box with nothing in it, which reads as broken. */
.report:empty { display: none; }
.report-days:empty { margin: 0; }

.report { margin: 14px 0; }
.report-range { font-weight: 600; margin: 0 0 4px; }
.report-tally, .report-note { color: var(--muted); font-size: 14px; margin: 0 0 4px; }

.report-days { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 14px; }
.report-date { font-size: 14px; color: var(--muted); margin: 0 0 6px; }
.report-lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.report-line { display: flex; gap: 10px; align-items: baseline; justify-content: space-between; }
/* Chore titles are written by a person and can be one very long word. */
.report-chore { overflow-wrap: anywhere; }

.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.share input[type="text"] { flex: 1 1 260px; width: auto; font-size: 14px; }

/* The whole sentence is the hit area, as in the wizard's options. */
.toggle {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
}
.toggle input { margin: 0; accent-color: var(--accent); }

/* ── Closing ──────────────────────────────────────────────────────────── */

.closing { border-top: 1px solid var(--line); padding-top: 32px; }
.foot { border-top: 1px solid var(--line); padding-top: 18px; color: var(--muted); font-size: 14px; }

/* The guides index: a plain table of chores and how often. */
.guides { width: 100%; border-collapse: collapse; }
.guides th, .guides td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); }
.guides th { color: var(--muted); font-size: 14px; font-weight: 600; }
.guides td:last-child, .guides th:last-child { text-align: right; color: var(--muted); }

/* ── A schedule, on screen and on paper ───────────────────────────────── */

.schedule-answers { margin: 0 0 8px; font-size: 14px; }
.schedule-answers div { display: flex; flex-wrap: wrap; gap: 0 8px; padding: 4px 0; }
.schedule-answers dt { color: var(--muted); }
.schedule-answers dd { margin: 0; }

.schedule-band h3 { margin: 24px 0 0; }

/* The tick boxes and the address are for paper; on a screen there is nothing
   to tick and the address is already in the bar. */
.tickbox, .print-only { display: none; }

@media print {
  :root { --ink: #000; --muted: #333; --line: #bbb; --bg: #fff; }
  body { font-size: 11pt; line-height: 1.3; background: #fff; color: #000; }
  main { max-width: none; padding: 0; margin: 0; }
  .print-hide, button { display: none !important; }
  section { margin: 0; }
  .print-only { display: block; }

  h2 { font-size: 16pt; margin: 0 0 6pt; }
  .schedule-band { break-inside: avoid; }
  .schedule-band h3 { font-size: 12pt; margin: 10pt 0 2pt; }
  .starters li { padding: 3pt 0; gap: 0 8pt; break-inside: avoid; }
  .starter-aside { font-size: 9pt; }
  .pill { font-size: 9pt; padding: 0; border: 0; }
  .starter-title a { color: inherit; text-decoration: none; }

  .tickbox {
    display: inline-block;
    width: 10pt;
    height: 10pt;
    margin-right: 6pt;
    border: 1px solid #000;
    vertical-align: -1pt;
  }
  .schedule-foot { margin-top: 12pt; font-size: 9pt; color: var(--muted); }
}

/* ── A rota, on screen and on paper ───────────────────────────────────── */

.rota-names { display: grid; gap: 0 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-top: 12px; }
.rota-names .field label { font-weight: 400; color: var(--muted); font-size: 14px; }
.rota-weeks select { width: auto; }
.wizard-option .pill { margin-left: auto; }

/* Eight weeks of columns will not fit a phone; the table scrolls, the page does not. */
.rota-scroll { overflow-x: auto; }
.rota-table { border-collapse: collapse; width: 100%; font-size: 14px; }
.rota-table th, .rota-table td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); }
.rota-table thead th { color: var(--muted); font-weight: 600; white-space: nowrap; }
.rota-table tbody th { font-weight: 700; white-space: nowrap; }
.rota-table td { min-width: 120px; }
.rota-cell { list-style: none; margin: 0; padding: 0; }
.rota-cell li { padding: 1px 0; }
.rota-note { margin-top: 10px; }

/* One landscape page: a week per column wants the width. Browsers without
   named pages print it portrait, which is a smaller rota, not a broken one. */
@page rota { size: landscape; margin: 12mm; }

@media print {
  .rota-sheet { page: rota; }
  .rota-scroll { overflow: visible; }
  .rota-table { font-size: 10pt; }
  .rota-table th, .rota-table td { padding: 4pt 8pt 4pt 0; border-bottom: 1px solid #999; break-inside: avoid; }
  .rota-table td { min-width: 0; }
  .rota-table a { color: inherit; text-decoration: none; }
  .rota-note { font-size: 9pt; margin-top: 6pt; }
  .rota-foot { margin-top: 8pt; font-size: 9pt; color: var(--muted); }
}

/* ── The first-flat cleaning kit, on screen and on paper ──────────────── */

.kit-group { margin: 32px 0; }
.kit-items { list-style: none; padding: 0; margin: 0; }
.kit-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.kit-name { margin: 0; font-size: 17px; }
/* The whole label is the hit area, and big enough for a thumb. */
.kit-have {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 6px 8px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
}
.kit-have:hover { background: var(--bg); }
.kit-have input { margin: 0; width: 18px; height: 18px; accent-color: var(--accent); }
.kit-have:has(input:checked) { color: var(--ink); }
.kit-item:has(input:checked) .kit-name { color: var(--muted); }
.kit-job, .kit-enough, .kit-jobs, .kit-caution { grid-column: 1 / -1; margin: 4px 0 0; }
.kit-enough, .kit-jobs, .kit-caution { color: var(--muted); font-size: 14px; }
.kit-caution { border-left: 3px solid var(--today); padding-left: 10px; }
.kit-source { display: block; }
.kit-label-note { margin-top: 18px; }

@media (max-width: 480px) {
  .kit-item { grid-template-columns: 1fr; }
  .kit-have { justify-self: start; padding-left: 0; }
}

@media print {
  .kit-group { margin: 0 0 10pt; }
  .kit-group h2 { font-size: 14pt; }
  .kit-group .section-lede { font-size: 9pt; margin: 0 0 4pt; }
  .kit-item { padding: 4pt 0; gap: 0 8pt; break-inside: avoid; }
  .kit-name { font-size: 11pt; }
  .kit-have { padding: 0; font-size: 9pt; }
  .kit-job { font-size: 10pt; margin-top: 2pt; }
  .kit-enough, .kit-jobs, .kit-caution { font-size: 9pt; margin-top: 2pt; }
  .kit-jobs a { color: inherit; text-decoration: none; }
  .kit-caution { border-left-width: 2px; padding-left: 6pt; }
  .kit-source a { color: inherit; }
  .kit-foot { margin-top: 8pt; font-size: 9pt; color: var(--muted); }
}

/* ── The sample list on /try ──────────────────────────────────────────── */

.try-sample, .try-cta { margin: 16px 0; }
.try-cta h2 { margin-top: 0; }
.try-progress { font-weight: 600; margin: 16px 0; }
.try-chores { list-style: none; padding: 0; margin: 0; }
.try-chore {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 2px 10px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.try-title { font-weight: 600; }
.try-chore .starter-aside { grid-column: 1 / 3; }
.try-tick { grid-column: 3; grid-row: 1 / span 2; min-width: 5.5em; }
.try-chore--done .try-title { color: var(--muted); text-decoration: line-through; }

/* ── The move-out checklist, on screen and on paper ───────────────────── */

.move-out-first { margin: 16px 0; }
.move-out-progress { font-weight: 600; margin: 16px 0 0; }
.move-out-room { margin: 32px 0; }
.move-out-part { margin: 20px 0 0; font-size: 15px; color: var(--muted); }
.move-out-tasks { list-style: none; padding: 0; margin: 0; }
.move-out-task {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
/* The whole label is the hit area, and big enough for a thumb. */
.move-out-done, .move-out-na {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 6px 0;
  cursor: pointer;
}
.move-out-done input, .move-out-na input { margin: 0; width: 20px; height: 20px; flex: none; accent-color: var(--accent); }
.move-out-title { font-size: 17px; font-weight: 600; }
.move-out-na { padding: 6px 8px; border-radius: 8px; color: var(--muted); font-size: 14px; white-space: nowrap; }
.move-out-na:hover { background: var(--bg); }
.move-out-task:has(input[name="done"]:checked) .move-out-title { color: var(--muted); text-decoration: line-through; }
.move-out-task:has(input[name="na"]:checked) > :not(.move-out-na) { opacity: 0.55; }
.move-out-done:has(input:disabled) { cursor: default; }
.move-out-if, .move-out-detail, .move-out-chore, .move-out-task .kit-caution { grid-column: 1 / -1; margin: 2px 0 0; }
.move-out-if, .move-out-chore { color: var(--muted); font-size: 14px; }
.move-out-if { font-style: italic; }

@media (max-width: 480px) {
  .move-out-task { grid-template-columns: 1fr; }
  .move-out-na { justify-self: start; padding-left: 0; }
}

@media print {
  .move-out-first { border: 0; padding: 0; margin: 0 0 8pt; font-size: 9pt; background: none; }
  .move-out-room { margin: 0 0 10pt; }
  .move-out-room h2 { font-size: 14pt; }
  .move-out-room .section-lede { font-size: 9pt; margin: 0 0 4pt; }
  .move-out-part { font-size: 10pt; margin: 6pt 0 0; }
  .move-out-task { padding: 3pt 0; gap: 0 8pt; break-inside: avoid; }
  .move-out-done, .move-out-na { padding: 0; }
  .move-out-done input, .move-out-na input { width: 10pt; height: 10pt; }
  .move-out-title { font-size: 11pt; }
  .move-out-na { font-size: 9pt; }
  .move-out-detail { font-size: 10pt; }
  .move-out-if, .move-out-chore, .move-out-task .kit-caution { font-size: 9pt; }
  .move-out-chore a { color: inherit; text-decoration: none; }
  .move-out-task:has(input[name="na"]:checked) > :not(.move-out-na) { opacity: 1; }
}

/* ── The guests-arriving checklist, on screen and on paper ────────────── */

.guests-caveat { margin: 16px 0; }
.guests-jump ul { display: flex; flex-wrap: wrap; gap: 4px 20px; padding: 0; margin: 0; list-style: none; }
.guests-budgets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
/* The whole label is the hit area, and big enough for a thumb. */
.guests-budget-option {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}
.guests-budget-option:has(input:checked) { border-color: var(--accent); }
.guests-budget-option:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.guests-budget-option input { margin: 0; width: 20px; height: 20px; accent-color: var(--accent); }
.guests-progress { font-weight: 600; margin: 16px 0 0; }
.guests-plan { margin: 32px 0; }
.guests-area { margin: 20px 0 0; font-size: 15px; color: var(--muted); }
.guests-tasks { list-style: none; padding: 0; margin: 0; }
.guests-task { padding: 12px 0; border-bottom: 1px solid var(--line); }
.guests-done { display: flex; gap: 10px; align-items: center; padding: 6px 0; cursor: pointer; }
.guests-done input { margin: 0; width: 20px; height: 20px; flex: none; accent-color: var(--accent); }
.guests-title { font-size: 17px; font-weight: 600; }
.guests-task:has(input:checked) .guests-title { color: var(--muted); text-decoration: line-through; }
.guests-detail, .guests-chore { margin: 2px 0 0; }
.guests-chore { color: var(--muted); font-size: 14px; }
.guests-next { margin-top: 24px; }

@media print {
  .guests-caveat { border: 0; padding: 0; margin: 0 0 8pt; font-size: 9pt; background: none; }
  .guests-plan { margin: 0; }
  .guests-plan h2 { font-size: 14pt; }
  .guests-plan .section-lede { font-size: 9pt; margin: 0 0 4pt; }
  .guests-area { font-size: 10pt; margin: 6pt 0 0; }
  .guests-task { padding: 3pt 0; break-inside: avoid; }
  .guests-done { padding: 0; }
  .guests-done input { width: 10pt; height: 10pt; }
  .guests-title { font-size: 11pt; }
  .guests-detail { font-size: 10pt; }
}

/* ── Where to start: three steps in one room ──────────────────────────── */

.reset-example { padding-left: 1.4em; }
.reset-example li { margin: 8px 0; }
.reset-done-line { display: block; margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.reset-jump ul { display: flex; flex-wrap: wrap; gap: 4px 20px; padding: 0; margin: 0; list-style: none; }
.reset-room { margin: 32px 0; }
.reset-progress { font-weight: 600; margin: 8px 0 0; }

@media print {
  .reset-room { margin: 0; }
  .reset-room h2 { font-size: 14pt; }
  .reset-done-line { font-size: 10pt; }
}
