/* PrepSteady styles. Three themes via [data-theme]. */
:root, [data-theme="warm"] {
  --bg: #fbf4ea; --bg2: #f3e7d6; --card: #fffaf2; --ink: #3b2f27; --muted: #75665a; --line: #e4d3bd; --field: #94826f;
  --accent: #9c4724; --accent-ink: #ffffff; --accent2: #57683d; --focus: #1f5fbf;
  --font: "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif; --head: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --radius: 16px; --shadow: 0 2px 10px rgba(90,60,30,.08); --hw: 400; --texture: none;
}
[data-theme="clean"] {
  --bg: #ffffff; --bg2: #f4f6f8; --card: #ffffff; --ink: #14202b; --muted: #55636f; --line: #d8dee4; --field: #848e98;
  --accent: #0a5fb5; --accent-ink: #ffffff; --accent2: #17704f; --focus: #0a5fb5;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --head: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 6px; --shadow: none; --hw: 650; --texture: none;
}
[data-theme="rugged"] {
  --bg: #e9e3d3; --bg2: #d9d1ba; --card: #f3eedf; --ink: #2a2a1e; --muted: #5d5a46; --line: #b9b095; --field: #85805f;
  --accent: #465e33; --accent-ink: #f3eedf; --accent2: #814c1d; --focus: #7a3b00;
  --font: "Trebuchet MS", "Gill Sans", system-ui, sans-serif; --head: "Rockwell", "Courier New", ui-monospace, monospace;
  --radius: 3px; --shadow: 2px 2px 0 rgba(60,50,20,.25); --hw: 700;
  --texture: repeating-linear-gradient(0deg, rgba(90,80,40,.04) 0 2px, transparent 2px 5px);
}
* { box-sizing: border-box; }
html { font-size: 100%; }
body { margin: 0; background: var(--bg) var(--texture); color: var(--ink); font-family: var(--font); line-height: 1.55; }
h1, h2, h3 { font-family: var(--head); font-weight: var(--hw); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.9rem); }
h2 { font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); }
h3 { font-size: 1.1rem; }
[data-theme="rugged"] h1, [data-theme="rugged"] h2, [data-theme="rugged"] h3 { text-transform: uppercase; letter-spacing: .04em; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; background: var(--card); padding: 8px; z-index: 99; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 48px); }
main.wrap { padding-top: 1.5rem; padding-bottom: 3rem; min-height: 70vh; }
p { margin: 0 0 1em; } .lead { font-size: 1.15rem; max-width: 70ch; } .meta { color: var(--muted); font-size: .9rem; } .mini { font-size: .8rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--accent2); font-weight: 700; margin-bottom: .5rem; }

/* header */
header.site { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.hbar { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: .6rem; padding-bottom: .6rem; }
.brand { font-family: var(--head); font-weight: 700; font-size: 1.4rem; text-decoration: none; color: var(--ink); }
nav#nav { margin-left: auto; }
.brand .mark { color: var(--accent); }
nav#nav { display: flex; gap: .25rem; flex-wrap: wrap; }
nav#nav a { padding: .45rem .8rem; text-decoration: none; color: var(--ink); border-radius: var(--radius); font-weight: 600; font-size: .95rem; }
nav#nav a:hover { background: var(--bg2); }
nav#nav a[aria-current="page"] { background: var(--accent); color: var(--accent-ink); }
.themepick { display: flex; align-items: center; gap: .4rem; font-size: .85rem; color: var(--muted); }
.themepick select { font: inherit; padding: .35rem .5rem; border-radius: var(--radius); border: 1px solid var(--field); background: var(--card); color: var(--ink); }
.navtoggle { display: none; min-height: 44px; font: inherit; padding: .4rem .8rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); color: var(--ink); }
@media (max-width: 800px) {
  .navtoggle { display: inline-block; margin-left: auto; } nav#nav { display: none; width: 100%; flex-direction: column; margin-left: 0; } nav#nav.open { display: flex; }
  .hbar { gap: .6rem; }
}

/* buttons, cards */
.btn { display: inline-block; font: inherit; font-weight: 600; padding: .6rem 1.1rem; border-radius: var(--radius); border: 1.5px solid var(--accent); background: transparent; color: var(--accent); cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--bg2); } .btn.primary { background: var(--accent); color: var(--accent-ink); } .btn.primary:hover { filter: brightness(1.08); }
.btn.big { padding: .8rem 1.4rem; font-size: 1.05rem; } .btn.small { padding: .35rem .7rem; font-size: .85rem; } .btn.ghost { border-color: var(--line); color: var(--muted); }
.btn { min-height: 44px; }
.btn.small { min-height: 44px; }
.btn:disabled { opacity: .45; cursor: default; }
.card, .box, .score, .item, .notice { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card { padding: 1.25rem; } .box { padding: 1rem 1.1rem; margin-top: 1rem; }
.notice { padding: 1rem 1.2rem; border-left: 5px solid var(--accent2); max-width: 90ch; margin-bottom: 1.2rem; }
.notice.banner { max-width: none; margin: 0; border-radius: 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.cards.four { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } .cards.three { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.quizcard { display: flex; flex-direction: column; gap: .3rem; } .quizcard .btn { margin-top: auto; align-self: flex-start; } .quizcard.locked { opacity: .65; }
.tag { align-self: flex-start; font-size: .75rem; background: var(--bg2); padding: .15rem .6rem; border-radius: 999px; color: var(--muted); font-weight: 700; }
.row { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; margin: 1rem 0; }
.hero { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding: clamp(1rem, 4vw, 3rem) 0; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } }
.tierlist { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; counter-reset: t; }
.tierlist li { display: flex; flex-direction: column; padding: .7rem 1rem; background: var(--bg2); border-radius: var(--radius); border-left: 5px solid var(--accent); }
.tierlist span { color: var(--muted); font-size: .9rem; }
.prose { max-width: 80ch; } .prose.wide { max-width: 1000px; }
.srctable { border-collapse: collapse; width: 100%; font-size: .92rem; } .srctable th, .srctable td { text-align: left; border-bottom: 1px solid var(--line); padding: .5rem .6rem; vertical-align: top; overflow-wrap: anywhere; }
@media (max-width: 480px) { .srctable { font-size: .85rem; } .srctable th, .srctable td { padding: .4rem .3rem; } }
.gaplist li { margin-bottom: .7rem; }

/* footer */
footer.site { border-top: 1px solid var(--line); background: var(--bg2); }
.foot { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding-top: 1.2rem; padding-bottom: 1.2rem; font-size: .9rem; }
.foot p { margin: 0; max-width: 70ch; } .datatools { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
@media (max-width: 800px) { .foot { grid-template-columns: 1fr; } }
#data-msg { font-size: .85rem; color: var(--muted); }

/* quiz */
.qform { max-width: 760px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1rem, 3vw, 2rem); box-shadow: var(--shadow); }
.field { margin: 1.2rem 0; } .field label, .field .lbl { display: block; font-weight: 600; margin-bottom: .3rem; } .help { color: var(--muted); font-size: .88rem; margin-bottom: .3rem; }
input[type=number], input[type=text], select { font: inherit; padding: .6rem .7rem; border: 1.5px solid var(--field); border-radius: var(--radius); background: var(--bg); color: var(--ink); width: 100%; max-width: 360px; }
.checks { display: grid; gap: .4rem; } .chk { min-height: 44px; display: flex; align-items: center; gap: .6rem; font-weight: 400 !important; padding: .5rem .7rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); cursor: pointer; }
.chk input { width: 1.5rem; height: 1.5rem; flex: none; accent-color: var(--accent); }

.progress { height: 10px; background: var(--bg2); border-radius: 999px; overflow: hidden; max-width: 760px; } .progress span { display: block; height: 100%; background: var(--accent); }
.crumb { margin-bottom: .5rem; }

/* plan */
.pagehead { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: flex-end; }
.tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin: 1rem 0 1.4rem; }
.tabs button { min-height: 44px; font: inherit; font-weight: 700; padding: .55rem 1.2rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; }
.tabs button[aria-pressed="true"], .tabs button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.planlayout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: clamp(1rem, 2.5vw, 2.5rem); align-items: start; }
.side { position: sticky; top: 5rem; max-height: calc(100vh - 6rem); overflow: auto; padding-right: 4px; }
.main { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 1.5rem 2rem; align-items: start; }
@media (max-width: 960px) { .planlayout { grid-template-columns: 1fr; } .side { position: static; max-height: none; } }
.score { padding: .8rem 1rem; margin-bottom: .7rem; } .scorehead { display: flex; justify-content: space-between; } .pct { font-weight: 800; font-size: 1.2rem; color: var(--accent); }
.bar:not(.wrap) { }
div.bar { height: 12px; background: var(--bg2); border-radius: 999px; overflow: hidden; margin: .4rem 0; padding: 0; display: block; }
div.bar span { display: block; height: 100%; background: var(--accent2); transition: width .3s; }
.regionnote { font-size: .9rem; border-left: 3px solid var(--accent2); padding-left: .7rem; }
.catsec { min-width: 0; } .item { padding: .7rem .9rem; margin-bottom: .6rem; }
.item.done { opacity: .72; } .item.done strong { text-decoration: line-through; }
.itemhead { display: flex; gap: .7rem; align-items: flex-start; cursor: pointer; }
.itemhead input { width: 1.5rem; height: 1.5rem; margin-top: .1rem; accent-color: var(--accent); flex: none; }
.qty { display: block; color: var(--muted); font-size: .92rem; }
details { margin: .4rem 0 0 2rem; font-size: .92rem; } summary { cursor: pointer; color: var(--accent); padding: .6rem 0; min-height: 44px; }
details p { max-width: 70ch; } .gap { background: var(--bg2); padding: .5rem .7rem; border-radius: var(--radius); }

/* shopping */
.shoptable { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 1rem 2rem; }
.shoplist { list-style: none; padding: 0; margin: 0; } .shoplist li { border-bottom: 1px dashed var(--line); padding: .45rem 0; }
.shoplist label { display: flex; gap: .6rem; align-items: baseline; cursor: pointer; } .shoplist .q { margin-left: auto; font-weight: 700; white-space: nowrap; }
.shoplist li.done .n { text-decoration: line-through; color: var(--muted); }
.shoplist input { accent-color: var(--accent); width: 1.5rem; height: 1.5rem; flex: none; }
.shoplist label { min-height: 44px; align-items: center; }

/* print page on screen */
.printctl fieldset { border: 1px solid var(--line); border-radius: var(--radius); display: flex; gap: .6rem; flex-wrap: wrap; max-width: 760px; }
.sheet { background: #fff; color: #000; border: 1px solid var(--line); padding: 1.5rem; margin: 1.5rem 0; max-width: 1000px; font-family: Georgia, serif; }
.pitems { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .35rem; } .pitems li { display: flex; gap: .6rem; align-items: flex-start; }
.pitems .box { flex: none; width: 1.1rem; height: 1.1rem; border: 1.5px solid #000; display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; line-height: 1; margin-top: .2rem; border-radius: 2px; padding: 0; background: none; box-shadow: none; }
.psrc { color: #444; font-size: .8em; } .sheet h2, .sheet h3 { font-family: Georgia, serif; text-transform: none; letter-spacing: 0; }
.sheetfoot { font-size: .8rem; color: #333; border-top: 1px solid #999; margin-top: 1rem; padding-top: .5rem; }
@media (min-width: 1200px) { .pcat .pitems { } .sheet { columns: 2; column-gap: 3rem; } .sheethead, .sheetfoot { column-span: all; } .pcat { break-inside: avoid; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto !important; } *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

.linkbtn { font: inherit; background: none; border: 0; padding: .2rem .1rem; min-height: 24px; color: var(--accent); text-decoration: underline; cursor: pointer; }

/* readiness badge (header) */
.readybadge { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .75rem; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); text-decoration: none; font-size: .85rem; font-weight: 600; white-space: nowrap; }
.readybadge:hover { border-color: var(--accent); }
.readybadge.ok { border-color: var(--accent2); }
.readybadge .dots { display: inline-flex; gap: 3px; }
.readybadge .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); display: block; }
.readybadge .dots i.on { background: var(--accent2); }

/* readiness ladder */
.ladder { list-style: none; margin: .8rem 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .5rem; }
.ladder li > span, .ladder li > button { display: flex; flex-direction: column; gap: .3rem; width: 100%; height: 100%; text-align: left; font: inherit; color: var(--ink); padding: .6rem .75rem; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.ladder li { display: flex; }
.ladder li > button { cursor: pointer; }
.ladder li > button:hover { border-color: var(--accent); }
.ladder li.reached > * { border-color: var(--accent2); background: color-mix(in srgb, var(--accent2) 12%, var(--card)); }
.ladder li.current > * { border-style: dashed; border-color: var(--accent); }
.ladder li.sel > button { box-shadow: 0 0 0 2px var(--accent); border-color: var(--accent); }
.ladder .lt { font-weight: 800; font-family: var(--head); }
.ladder .ls { font-size: .8rem; color: var(--muted); }
.ladder li.reached .ls { color: var(--ink); font-weight: 700; }
.ladder li.reached .ls::before { content: "✓ "; color: var(--accent2); }
.ladder .lbar { height: 6px; background: var(--bg2); border-radius: 999px; overflow: hidden; display: block; }
.ladder .lbar span { display: block; height: 100%; background: var(--accent2); }
/* Going further: the optional 1-month and 3-month tiers */
.ladder li.ext > * { border-style: dotted; }
.ladder li.ext .lt::after { content: " · optional"; font-weight: 400; font-size: .75rem; color: var(--muted); font-family: var(--body, inherit); }
.furthernote { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1rem; padding: .6rem .8rem; margin: .4rem 0 .8rem; background: var(--bg2); border-radius: var(--radius); }
.furthernote p { margin: 0; max-width: 75ch; }
.furthercta { border-left: 5px solid var(--accent2); margin: 1.2rem 0; }
.bigstat { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); margin: 0 0 .3rem; }

/* tracker status */
.status { margin: 1rem 0 1.5rem; }
.statushead { display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; align-items: flex-end; }
.statushead .eyebrow { margin-bottom: .2rem; }
.howto { max-width: 52ch; margin: 0; }
.nextup { margin: .4rem 0 0; } .nextup ul { margin: .4rem 0 0; padding-left: 1.2rem; } .nextup li { margin-bottom: .25rem; }
.nextup.ok strong { color: var(--accent2); }
.count { font-family: var(--font); font-size: .8rem; font-weight: 700; color: var(--muted); background: var(--bg2); border-radius: 999px; padding: .1rem .55rem; vertical-align: middle; }
.tag.start { background: color-mix(in srgb, var(--accent) 15%, var(--card)); color: var(--accent); font-size: .7rem; vertical-align: middle; }
.qty.from { font-style: italic; font-size: .82rem; }
.listtools { display: flex; justify-content: flex-end; margin-bottom: .6rem; }
.chk.inline { display: inline-flex; font-size: .9rem; }
.quizlinks { margin: 0 0 .6rem; padding-left: 1.1rem; } .quizlinks li { margin-bottom: .2rem; }
.item { scroll-margin-top: 6rem; }
.maincol { min-width: 0; }
.tgl { min-height: 44px; padding: .5rem .25rem; }
.rotact { display: flex; flex-direction: column; gap: .4rem; align-items: flex-start; max-width: 32ch; } .rotact p { margin: 0; font-size: .85rem; }
.zipstatus { min-height: 1.5em; margin-top: .3rem; font-size: .92rem; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
#ps-live { position: absolute; }

/* header: always-visible "What to do now" link */
.hdrnow { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .4rem 1rem; border-radius: var(--radius); border: 2px solid var(--accent); background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap; }
.hdrnow:hover { background: color-mix(in srgb, var(--accent) 85%, #000); }
.readybadge { min-height: 44px; }

/* quiz hub + results */
.affects { font-size: .9rem; }
.quizcard.isdone { border-color: var(--accent2); }
.resultgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 1.2rem; align-items: start; margin: 1rem 0; }
.chg h3 { font-size: 1rem; margin-top: 1rem; } .chg ul { margin: .3rem 0; padding-left: 1.2rem; } .chg li { margin-bottom: .15rem; }
.chg.tick h3 { color: var(--accent2); } .chg.rem li { color: var(--muted); }

/* home */
.sechead { margin-top: 1.5rem; }
.steps .card { position: relative; }
.stepnum { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; margin-bottom: .6rem; }
.cards.four, .cards.three { margin-top: .6rem; }

/* footer theme picker */
.foot .themepick { margin-left: .5rem; }
.shopsec { margin-bottom: 1.5rem; } .shopcat h3 { margin-top: .6rem; }

/* tracker: amounts and quiz prompt */
.amt { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; margin: .5rem 0 0 2rem; font-size: .92rem; }
.amt input { width: 5.5rem; padding: .35rem .5rem; }
.abar { flex: 1 1 120px; min-width: 100px; height: 8px; background: var(--bg2); border-radius: 999px; overflow: hidden; display: block; }
.abar span { display: block; height: 100%; background: var(--accent2); transition: width .3s; }
.apct { font-weight: 700; color: var(--muted); min-width: 3ch; }
.item.partial { border-left: 4px solid color-mix(in srgb, var(--accent2) 60%, var(--line)); }
.item.done .amt { opacity: .9; }
.bpct { color: var(--muted); font-weight: 600; border-left: 1px solid var(--line); padding-left: .5rem; }
.hints { margin: 1rem 0; border: 2px solid var(--accent); }
.hints.first { background: color-mix(in srgb, var(--accent) 7%, var(--card)); }
.hints h2 { margin-bottom: .3rem; }
.hintshead { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.hintshead p { margin: 0; max-width: 75ch; }
.hintlist { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .6rem; }
.hintlist li { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; }
.hintlist .btn { min-width: 15rem; text-align: center; }
.hintlist span { color: var(--muted); font-size: .9rem; flex: 1 1 260px; }
.listtools { justify-content: space-between; align-items: center; gap: 1rem; }

/* what to do when */
.navnow { border: 1.5px solid var(--accent2); }
.scengrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: .8rem; margin: 1.2rem 0; }
.scencard { display: flex; gap: .9rem; align-items: center; padding: 1.1rem 1.2rem; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; min-height: 5.5rem; }
.scencard:hover, .scencard:focus-visible { border-color: var(--accent); }
.scencard strong { display: block; font-size: 1.1rem; font-family: var(--head); }
.scencard.urgent { border-color: #b3261e; }
.sicon { font-size: 2rem; line-height: 1; }
.notice.urgent { border-left-color: #b3261e; }
.calm { font-size: 1.1rem; max-width: 65ch; }
.scenlayout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 2rem; align-items: start; margin-top: 1rem; }
@media (max-width: 860px) { .scenlayout { grid-template-columns: 1fr; } }
.scenlayout.single { grid-template-columns: minmax(0, 1fr); max-width: 80ch; }
.guiding { position: sticky; top: 5rem; }
@media (max-width: 860px) { .guiding { position: static; } }
.trimhint { font-size: .95rem; color: var(--muted); margin: 0 0 1rem; }
.guiding { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; }
.guiding h2 { font-size: 1.15rem; }
.gq { border: 0; padding: 0; margin: 0 0 1rem; } .gq legend { font-weight: 700; margin-bottom: .4rem; padding: 0; }
.gopts { display: flex; flex-wrap: wrap; gap: .4rem; }
.gopt { font: inherit; min-height: 44px; padding: .5rem .9rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; }
.gopt[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }
.fromplan { font-size: .92rem; border-left: 3px solid var(--accent2); padding-left: .7rem; margin-top: 1rem; }
.phase { margin-bottom: 1.4rem; }
.phase h3 { font-size: 1.2rem; padding-bottom: .3rem; border-bottom: 2px solid var(--line); }
.phase-now h3 { border-color: var(--accent); }
.steplist { list-style: none; padding: 0; margin: .6rem 0 0; display: grid; gap: .5rem; counter-reset: s; }
.steplist li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .7rem .9rem; font-size: 1.05rem; }
.steplist label { display: flex; gap: .8rem; align-items: flex-start; cursor: pointer; }
.steplist input { width: 1.5rem; height: 1.5rem; flex: none; margin-top: .15rem; accent-color: var(--accent); }
.steplist li.done span { text-decoration: line-through; color: var(--muted); }
.cond { color: var(--accent2); font-style: normal; font-weight: 700; }
.scenario .sheetfoot { color: var(--muted); }
.printonly { display: none; }
.nowcall { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; border-left: 5px solid var(--accent2); margin: 1rem 0 2rem; } .nowcall p { margin: 0; max-width: 70ch; } .nowcall h2 { margin-bottom: .3rem; }
@media (max-width: 600px) { .hintlist span { display: none; } .hintlist .btn { min-width: 0; width: 100%; } .hintlist { gap: .4rem; } .amt { margin-left: 0; } }
.offlinemsg { display: inline-block; color: var(--accent2); font-weight: 700; white-space: nowrap; }
.scencard .inprog { display: block; margin-top: .3rem; font-size: .8rem; font-weight: 700; color: var(--accent2); }
@media (max-width: 560px) { .navtoggle { order: 2; } .readybadge { order: 3; } .hdrnow { order: 3; } nav#nav { order: 4; } }

/* rotation */
.rot { margin: .5rem 0 0 2rem; font-size: .9rem; display: flex; flex-wrap: wrap; gap: .3rem .6rem; align-items: baseline; }
.rotdates { display: flex; flex-wrap: wrap; gap: .4rem .8rem; align-items: center; width: 100%; }
.rotdates label { display: inline-flex; gap: .4rem; align-items: center; color: var(--muted); font-size: .85rem; }
.rotdates input[type=date] { font: inherit; font-size: .85rem; padding: .25rem .4rem; border: 1.5px solid var(--field); border-radius: var(--radius); background: var(--bg); color: var(--ink); }
.rottag { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: .1rem .5rem; border-radius: 999px; background: var(--bg2); color: var(--muted); white-space: nowrap; }
.rot-due .rottag { background: #b3261e; color: #fff; }
.rot-soon .rottag { background: color-mix(in srgb, var(--accent) 15%, var(--card)); color: var(--accent); }
.rot-ok .rottag { background: color-mix(in srgb, var(--accent2) 18%, var(--card)); color: var(--accent2); }
.item .rot-due { border-left: 3px solid #b3261e; padding-left: .5rem; }
.rotcard { margin: 0 0 1.5rem; } .rotcard.hasdue { border-left: 5px solid #b3261e; }
.rotcard h2 { margin-bottom: .3rem; } .rotcard .hintshead p { margin: 0; }
.rotlist { list-style: none; padding: 0; margin: .9rem 0 .6rem; display: grid; gap: .35rem; }
.rotlist li { display: flex; flex-wrap: wrap; gap: .2rem .6rem; align-items: baseline; }
@media (max-width: 600px) { .rot { margin-left: 0; } }

/* household plan */
.hhform { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 1rem 1.5rem; align-items: start; }
.hhsec h2 { font-size: 1.2rem; margin-bottom: .2rem; }
.hhgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: .6rem .9rem; margin-top: .6rem; }
.hhrows { display: grid; gap: .6rem; margin: .6rem 0; }
.hhrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr)); gap: .5rem .7rem; padding: .6rem; border: 1px dashed var(--line); border-radius: var(--radius); align-items: end; }
.hhf { display: flex; flex-direction: column; gap: .2rem; font-size: .85rem; font-weight: 600; min-width: 0; }
.hhf input { font: inherit; font-weight: 400; padding: .45rem .55rem; border: 1.5px solid var(--field); border-radius: var(--radius); background: var(--bg); color: var(--ink); width: 100%; min-width: 0; }
.hhf input[type=email], .hhf input[type=tel] { font-variant-numeric: tabular-nums; }
.hhdel { font-size: .85rem; justify-self: start; }
.hhcover { border-left-color: var(--accent); } .hhcover p:last-child { margin: 0; }

/* buying guides */
.guide { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: .4rem 1.2rem; margin-top: .4rem; }
.guide h4 { font-family: var(--font); font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; margin: .3rem 0 .2rem; color: var(--muted); }
.guide ul { margin: 0; padding-left: 1.1rem; } .guide li { margin-bottom: .25rem; }
.guide .gavoid h4 { color: #b3261e; } .guide .glook h4 { color: var(--accent2); }
.guide .gnote { grid-column: 1 / -1; font-size: .8rem; color: var(--muted); margin: .2rem 0 0; }
.shoplist .gdet { margin: .3rem 0 .2rem 1.7rem; font-size: .88rem; }
.shoplist .guide li { border: 0; padding: 0; margin-bottom: .25rem; }
.notice.banner.flash { border-left-color: var(--accent2); }
.localtag { display: block; margin-top: .3rem; font-size: .78rem; font-weight: 700; color: var(--accent); }
.hhnote { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent2); border-radius: var(--radius); padding: .7rem .9rem; margin-bottom: 1rem; }
.hhnote h3 { font-size: 1rem; margin-bottom: .3rem; } .hhnote ul { margin: 0; padding-left: 1.1rem; } .hhnote p { margin: .4rem 0 0; }
p.hhnote { border-left-color: var(--line); color: var(--muted); font-size: .92rem; }
.support { margin: 1.5rem 0; border-left: 5px solid var(--accent2); } .support ul { padding-left: 1.2rem; } .support li { margin-bottom: .35rem; }
