/* AX Calculators — "ledger" design. System fonts only, no external requests.
   Direction: warm paper, ink-green text, one teal accent, ruled lines like a
   record book. Serif headings for gravity, sans body for reading. */

:root {
  --paper: #f6f3ec;
  --surface: #fffdf8;
  --ink: #17211f;
  --muted: #4a5652;
  --line: #d3ccbc;
  --line-strong: #1f2d29;
  --accent: #0f5c55;
  --accent-ink: #0a423d;
  --accent-soft: #e0ede9;
  --amber-soft: #f8e6c4;
  --amber-ink: #5e3304;
  --focus: #b45309;
  --footer-bg: #14201d;
  --footer-ink: #e9e5d9;
  --footer-muted: #b9c2bd;

  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: 1.25rem;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

main { flex: 1 0 auto; }

img, svg, video { max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 7.2vw, 4rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.55rem, 4.2vw, 2.15rem); }
h3 { font-size: 1.2rem; line-height: 1.25; }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25rem; }
li { margin-bottom: 0.5em; }

a {
  color: var(--accent-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

.shell {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 20;
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 0.75rem; }

/* ---------- Header ---------- */

.site-header {
  background: var(--surface);
  border-top: 4px solid var(--accent);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
  padding-block: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  box-shadow: 3px 3px 0 var(--line);
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.25rem;
  margin-inline: -0.5rem;
}
.site-header nav a {
  display: inline-block;
  padding: 0.55rem 0.5rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  border-bottom: 3px solid transparent;
}
.site-header nav a:hover { color: var(--ink); border-bottom-color: var(--line); }
.site-header nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

/* ---------- Shared bits ---------- */

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 40rem;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.9rem;
  padding: 0.7rem 1.3rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 650;
  text-decoration: none;
}
.button:hover { background: var(--accent-ink); }

.text-link {
  font-weight: 650;
  color: var(--accent-ink);
}

.source-note {
  margin-top: 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 46rem;
}

.section { padding-block: 3rem; border-top: 1px solid var(--line); }
main > section:not(.hero) { margin-top: 0; }

.section-heading { max-width: 44rem; margin-bottom: 2rem; }
.section-heading h2 { margin-bottom: 0.4em; }
.section-heading p:last-child { color: var(--muted); margin-bottom: 0; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  align-self: flex-start;
  padding: 0.2rem 0.65rem;
  background: var(--amber-soft);
  color: var(--amber-ink);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.status::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border: 2px solid currentColor;
  border-radius: 50%;
}

/* ---------- Home ---------- */

.hero {
  display: grid;
  gap: 2.5rem;
  padding-block: 3rem 3rem;
}
.hero-copy .button { margin-top: 0.75rem; }

.feature {
  display: flex;
  flex-direction: column;
  align-self: start;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 6px 6px 0 var(--accent-soft);
}
.feature h2 { font-size: 1.6rem; margin-bottom: 0.5em; }
.feature p:not(.eyebrow) { color: var(--muted); }
.feature-bottom {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.feature-bottom .text-link { display: inline-block; }

.status-board {
  display: grid;
  margin: 0 0 3rem;
  padding: 0;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.status-board li {
  margin: 0;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--line);
}
.status-board li:first-child { border-top: 0; }
.status-board .label {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.status-board .value { display: block; font-weight: 650; }

.principles {
  display: grid;
  gap: 0;
  padding-block: 0.5rem 1rem;
  counter-reset: principle;
}
.principles > div {
  counter-increment: principle;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}
.principles > div::before {
  content: "0" counter(principle);
  display: block;
  margin-bottom: 0.5rem;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 700;
}
.principles h3 { margin-bottom: 0.4em; }
.principles p { margin: 0; color: var(--muted); }

.grid { display: grid; gap: 1rem; }

.tool-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.25rem;
  background: transparent;
  border: 1.5px dashed #8e8671;
  border-radius: var(--radius);
}
.tool-card h3 { margin: 0.25rem 0 0; }
.tool-card p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* ---------- Inner page intro ---------- */

.page-intro {
  padding-block: 2.5rem 2.5rem;
  border-bottom: 1px solid var(--line);
}
.page-intro h1 { max-width: 18ch; }
.page-intro .lead { margin-bottom: 1.25rem; }

.breadcrumbs {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.breadcrumbs a { color: var(--muted); }

/* ---------- Testing project ---------- */

#findings-list, .findings-list {
  display: grid;
  gap: 1.5rem;
  margin: 1.5rem 0 0;
}

main > section[aria-labelledby="findings-title"] { padding-block: 2.5rem 1rem; }

.empty-state {
  padding: 1.75rem;
  border: 1.5px dashed #8e8671;
  border-radius: var(--radius);
  background: var(--surface);
}
.empty-state h3 { font-size: 1.5rem; }
.empty-state p:not(.eyebrow) { max-width: 40rem; color: var(--muted); }

.record-outline {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  border-top: 1px solid var(--line);
}
.record-outline li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  margin: 0;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.record-outline li::before {
  content: counter(step);
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 700;
}
.record-outline strong { display: block; }
.record-outline span { color: var(--muted); font-size: 0.95rem; }

/* Update log */
.log {
  display: grid;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}
.log dl {
  display: grid;
  gap: 0.15rem 1.5rem;
  margin: 0;
  padding: 0.9rem 1.25rem;
  border-top: 1px solid var(--line);
}
.log dl:first-child { border-top: 0; }
.log dt {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.log dd { margin: 0; }

/* ---------- Finding cards (generated by script; empty today) ----------
   Reading order: question → collapsible excerpt → screenshot → conclusion →
   GOV.UK link → last checked → status → optional tool guide.
   Written to tolerate either dl-based or flat markup. */

.finding-card {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-width: 0;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 5px 5px 0 var(--accent-soft);
}
.finding-card > * { margin: 0; min-width: 0; }
.finding-card h2, .finding-card h3 { font-size: 1.3rem; }
.finding-card blockquote {
  margin: 0;
  padding: 0.1rem 0 0.1rem 1rem;
  border-left: 3px solid var(--accent);
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.5;
}
.finding-card dl {
  display: grid;
  gap: 0.15rem 1rem;
  margin: 0;
}
.finding-card dt {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.finding-card dd { margin: 0 0 0.6rem; }
.finding-card a { overflow-wrap: anywhere; }

.finding-card details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.finding-card summary {
  cursor: pointer;
  padding: 0.7rem 1rem;
  font-weight: 650;
  list-style-position: inside;
}
.finding-card details > :not(summary) { margin: 0; padding: 0 1rem 1rem; }
.finding-card details blockquote { margin: 0 1rem 1rem; padding-inline-start: 1rem; }

/* Fixed-size screenshot container: space is reserved before the image loads. */
.screenshot-slot {
  position: relative;
  width: 100%;
  max-width: 42rem;
  aspect-ratio: 16 / 10;
  min-height: 12rem;
  margin: 0;
  overflow: hidden;
  background: #ebe6d8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.screenshot-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.screenshot-slot figcaption { padding: 0.5rem 1rem; text-align: center; }

.example-label {
  align-self: flex-start;
  padding: 0.15rem 0.6rem;
  background: var(--amber-soft);
  color: var(--amber-ink);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Tool pointer: when absent, nothing else needs to change. */
.finding-guide {
  margin: 0;
  padding: 0.85rem 1rem;
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.98rem;
}
.finding-guide > :last-child { margin-bottom: 0; }

/* ---------- Reading pages ---------- */

.reading {
  max-width: 44rem;
  padding-block: 2rem 3.5rem;
  counter-reset: sect;
}
.reading section {
  counter-increment: sect;
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--line);
}
.reading section:last-child, .reading > :last-child section { border-bottom: 0; }
.reading h2 { margin-bottom: 0.6em; }
.reading h2::before {
  content: "0" counter(sect);
  display: block;
  margin-bottom: 0.4rem;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}
.reading ul li::marker { color: var(--accent); }
#privacy-controller { display: block; }

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 3rem;
  padding-block: 2.25rem 2.5rem;
  background: var(--footer-bg);
  color: var(--footer-muted);
  font-size: 0.92rem;
}
.site-footer p { max-width: 44rem; }
.site-footer a { color: var(--footer-ink); }
.site-footer :focus-visible { outline-color: #fbbf24; }
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(233, 229, 217, 0.2);
}
.site-footer .brand { color: #fff; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.site-footer nav a { display: inline-block; padding-block: 0.3rem; }
.affiliation {
  margin-bottom: 0;
  color: var(--footer-ink);
  font-weight: 650;
}

/* ---------- Wider screens ---------- */

@media (max-width: 39.99rem) {
  .site-header nav { margin-inline: -0.4rem; gap: 0; }
  .site-header nav a { padding-inline: 0.4rem; font-size: 0.88rem; }
}

@media (min-width: 40rem) {
  :root { --gutter: 2rem; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .status-board { grid-template-columns: repeat(3, 1fr); }
  .status-board li { border-top: 0; border-left: 1px solid var(--line); }
  .status-board li:first-child { border-left: 0; }
  .log dl { grid-template-columns: 9rem 1fr; }
  .finding-card dl { grid-template-columns: 11rem 1fr; }
  .finding-card dd { margin-bottom: 0.35rem; }
  .finding-card { padding: 1.75rem; }
}

@media (min-width: 60rem) {
  body { font-size: 1.125rem; }
  .hero {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: 4rem;
    padding-block: 5rem 4rem;
    align-items: center;
  }
  .principles { grid-template-columns: repeat(3, 1fr); gap: 0 2.5rem; }
  .principles > div { border-top: 2px solid var(--line-strong); }
  .page-intro { padding-block: 3.5rem 3rem; }
  .section { padding-block: 4rem; }
}

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

@media (forced-colors: active) {
  .brand-mark, .status::before { forced-color-adjust: auto; border: 1px solid CanvasText; }
}

@media print {
  .site-header nav, .skip-link, .button { display: none; }
  body { background: #fff; font-size: 11pt; }
  .site-footer { background: none; color: #000; }
  .site-footer a { color: #000; }
}

/* Filing guide components use the existing paper, ink and teal palette. */
.page-dates { display:flex; flex-wrap:wrap; gap:.3rem 1.5rem; color:var(--muted); font-size:.85rem; padding-block:1rem; }
.tool-card.available { border-style:solid; border-color:var(--line-strong); background:var(--surface); }
.table-wrap { overflow-x:auto; border:1px solid var(--line); margin-block:1.25rem; }
table { border-collapse:collapse; width:100%; font-size:.95rem; background:var(--surface); }
caption { padding:.85rem; text-align:left; font-weight:650; }
th, td { padding:.75rem; text-align:left; vertical-align:top; border-top:1px solid var(--line); }
thead { background:var(--accent-soft); }
.checker-reading { max-width:52rem; }
.year-choice { padding:1.25rem; background:var(--accent-soft); border-left:4px solid var(--accent); margin-bottom:1.75rem; }
.year-choice > label { display:block; font-weight:700; margin-bottom:.5rem; }
select { max-width:100%; width:100%; padding:.7rem; background:var(--surface); color:var(--ink); border:1px solid var(--line-strong); font:inherit; }
.year-choice p { font-size:.95rem; margin:1rem 0 0; }
.decision-step { min-width:0; margin:0 0 1.75rem; padding:1.25rem; border:1px solid var(--line-strong); background:var(--surface); border-radius:var(--radius); }
.decision-step legend { font-weight:700; font-family:var(--serif); font-size:1.15rem; padding:0 .5rem; }
.step-number { font:700 .85rem var(--mono); color:var(--accent); }
.rule-source { font-size:.9rem; }
.choice-row { display:flex; flex-wrap:wrap; gap:.5rem; }
.choice-row label { display:flex; align-items:center; gap:.6rem; min-height:48px; padding:.6rem 1rem; border:1px solid var(--line); cursor:pointer; }
.choice-row label:has(input:checked) { border-color:var(--accent); background:var(--accent-soft); }
input[type=radio] { width:1.2rem; height:1.2rem; accent-color:var(--accent); }
.decision-results { margin-block:2rem; }
.decision-results .result { padding:1.5rem; border:2px solid var(--accent); background:var(--surface); }
.decision-results .result h3 { font-size:1.65rem; }
.decision-results .result h3::before { content:none; }
.result .eyebrow { margin-bottom:.6rem; }
.result-start { padding:1.25rem; border:1px dashed var(--line-strong); }
.result { scroll-margin-top:2rem; }
.error-card { border-top:1px solid var(--line); padding-block:1.25rem; }
.error-card:last-child { padding-bottom:0; }
.related ul { display:flex; flex-wrap:wrap; gap:1rem 2rem; padding-left:1.2rem; }
.faq { max-width:52rem; }
.faq > div { padding-block:1rem; border-top:1px solid var(--line); }
.footer-sources { max-width:52rem; margin-bottom:1.5rem; }
.footer-sources summary { cursor:pointer; padding-block:.5rem; color:var(--footer-ink); }
.footer-sources ul { margin-top:.75rem; font-size:.85rem; }
.note-records { display:grid; gap:2rem; padding-block:2rem; }
.note-meta { padding:1.25rem; background:var(--accent-soft); border-left:4px solid var(--accent); }
.note-records .screenshot-slot { max-width:20rem; aspect-ratio:632/1392; min-height:0; }
.note-records .screenshot-slot img { height:100%; object-fit:contain; }
@supports selector(:has(*)) {
  .decision-results .result, .decision-results .reason, .current-year-note { display:none; }
  :is(#checker:has(#notice-yes:checked),#checker:has(#trade-yes:checked),#checker:has(#partnership-yes:checked),#checker:has(#rental-yes:checked),#checker:has(#dividend-yes:checked),#checker:has(#savings-yes:checked),#checker:has(#child-yes:checked),#checker:has(#offpayroll-yes:checked)) .must-result { display:block; }
  :is(#checker:has(#notice-yes:checked),#checker:has(#trade-yes:checked),#checker:has(#partnership-yes:checked),#checker:has(#rental-yes:checked),#checker:has(#dividend-yes:checked),#checker:has(#savings-yes:checked),#checker:has(#child-yes:checked),#checker:has(#offpayroll-yes:checked)) .result-start { display:none; }
  :is(#checker:has(#notice-unsure:checked),#checker:has(#trade-unsure:checked),#checker:has(#partnership-unsure:checked),#checker:has(#rental-unsure:checked),#checker:has(#dividend-unsure:checked),#checker:has(#savings-unsure:checked),#checker:has(#child-unsure:checked),#checker:has(#offpayroll-unsure:checked),#checker:has(#gains-unsure:checked),#checker:has(#other-unsure:checked),#checker:has(#gains-yes:checked),#checker:has(#other-yes:checked)):not(:has(#notice-yes:checked)):not(:has(#trade-yes:checked)):not(:has(#partnership-yes:checked)):not(:has(#rental-yes:checked)):not(:has(#dividend-yes:checked)):not(:has(#savings-yes:checked)):not(:has(#child-yes:checked)):not(:has(#offpayroll-yes:checked)) .review-result { display:block; }
  :is(#checker:has(#notice-unsure:checked),#checker:has(#trade-unsure:checked),#checker:has(#partnership-unsure:checked),#checker:has(#rental-unsure:checked),#checker:has(#dividend-unsure:checked),#checker:has(#savings-unsure:checked),#checker:has(#child-unsure:checked),#checker:has(#offpayroll-unsure:checked),#checker:has(#gains-unsure:checked),#checker:has(#other-unsure:checked),#checker:has(#gains-yes:checked),#checker:has(#other-yes:checked)):not(:has(#notice-yes:checked)):not(:has(#trade-yes:checked)):not(:has(#partnership-yes:checked)):not(:has(#rental-yes:checked)):not(:has(#dividend-yes:checked)):not(:has(#savings-yes:checked)):not(:has(#child-yes:checked)):not(:has(#offpayroll-yes:checked)) .result-start { display:none; }
  #checker:has(#notice-no:checked):has(#trade-no:checked):has(#partnership-no:checked):has(#rental-no:checked):has(#dividend-no:checked):has(#savings-no:checked):has(#child-no:checked):has(#offpayroll-no:checked):has(#gains-no:checked):has(#other-no:checked) .no-result { display:block; }
  #checker:has(#notice-no:checked):has(#trade-no:checked):has(#partnership-no:checked):has(#rental-no:checked):has(#dividend-no:checked):has(#savings-no:checked):has(#child-no:checked):has(#offpayroll-no:checked):has(#gains-no:checked):has(#other-no:checked) .result-start { display:none; }
  #checker:has(#notice-yes:checked) .reason-notice { display:list-item; }
  #checker:has(#trade-yes:checked) .reason-trade { display:list-item; }
  #checker:has(#partnership-yes:checked) .reason-partnership { display:list-item; }
  #checker:has(#rental-yes:checked) .reason-rental { display:list-item; }
  #checker:has(#dividend-yes:checked) .reason-dividend { display:list-item; }
  #checker:has(#savings-yes:checked) .reason-savings { display:list-item; }
  #checker:has(#child-yes:checked) .reason-child { display:list-item; }
  #checker:has(#offpayroll-yes:checked) .reason-offpayroll { display:list-item; }
  #checker:has(#notice-unsure:checked) .review-notice { display:list-item; }
  #checker:has(#trade-unsure:checked) .review-trade { display:list-item; }
  #checker:has(#partnership-unsure:checked) .review-partnership { display:list-item; }
  #checker:has(#rental-unsure:checked) .review-rental { display:list-item; }
  #checker:has(#dividend-unsure:checked) .review-dividend { display:list-item; }
  #checker:has(#savings-unsure:checked) .review-savings { display:list-item; }
  #checker:has(#child-unsure:checked) .review-child { display:list-item; }
  #checker:has(#offpayroll-unsure:checked) .review-offpayroll { display:list-item; }
  #checker:has(#gains-unsure:checked) .review-gains { display:list-item; }
  #checker:has(#other-unsure:checked) .review-other { display:list-item; }
  #checker:has(#gains-yes:checked) .review-gains { display:list-item; }
  #checker:has(#other-yes:checked) .review-other { display:list-item; }
  #checker:has(#selected-year option[value="2026/27"]:checked) .current-year-note { display:block; }
}
