:root {
  --paper: #f8f9f4;
  --sand: #edf2ea;
  --surface: #fffefa;
  --ink: #17352e;
  --pine: #103d33;
  --pine-dark: #0c3028;
  --teal: #1a6256;
  --leaf: #d9efb5;
  --muted: #465f56;
  --line: #d1ddd3;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, sans-serif;
  --radius: 1rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 var(--sans);
}

img { display: block; max-width: 100%; height: auto; }
p, ul, ol { margin-block: 0 1rem; }
li + li { margin-top: .35em; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.55rem);
  line-height: 1.03;
  letter-spacing: -.045em;
  text-wrap: balance;
}

h3 { font-size: 1.35rem; line-height: 1.18; }
figure { margin: 0; }

a {
  color: var(--teal);
  text-decoration-thickness: .08em;
  text-underline-offset: .19em;
}

a:hover { text-decoration-thickness: .14em; }

:focus-visible {
  outline: 3px solid #a26921;
  outline-offset: 4px;
}

button { font: inherit; cursor: pointer; }
[id] { scroll-margin-top: 5rem; }
#main { scroll-margin-top: 0; }

.wrap {
  width: min(1200px, calc(100% - 3.5rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 20;
  top: .75rem;
  left: .75rem;
  transform: translateY(calc(-100% - 1rem));
  padding: .6rem .9rem;
  border-radius: .4rem;
  background: var(--surface);
  font-weight: 700;
}

.skip-link:focus { transform: translateY(0); }

.header {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.4rem;
  padding-block: .5rem;
}

.header .brand-header-logo {
  width: 14.75rem;
  max-width: 49vw;
  height: auto;
}

.header .back {
  flex: none;
  padding: .45rem 0;
  font-size: .95rem;
  font-weight: 650;
}

/* Lead story and section navigation */

.hero {
  color: #fffefa;
  background: linear-gradient(115deg, var(--pine-dark), var(--pine) 69%, #205145);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  grid-template-areas:
    "intro harbour"
    "details harbour";
  align-items: center;
  gap: .95rem clamp(1.5rem, 4vw, 3.75rem);
  padding-block: clamp(2.75rem, 5.8vw, 5rem);
}

.hero-intro { grid-area: intro; align-self: end; }
.hero-details { grid-area: details; align-self: start; }
.hero-photo { grid-area: harbour; }

.kicker, .eyebrow {
  margin: 0 0 .8rem;
  color: var(--teal);
  font-size: .875rem;
  font-weight: 750;
  letter-spacing: .105em;
  text-transform: uppercase;
}

.hero .kicker, .section--green .eyebrow { color: var(--leaf); }

.hero h1 {
  margin-bottom: 1.2rem;
  font-size: clamp(2.75rem, 4.55vw, 4.3rem);
  line-height: .99;
  letter-spacing: -.052em;
}

.hero h1 em {
  display: block;
  color: var(--leaf);
  font-weight: 400;
}

.lede {
  max-width: 41ch;
  margin-bottom: 0;
  color: #edf5ed;
  font-size: clamp(1.0625rem, 1.4vw, 1.2rem);
  line-height: 1.5;
}

.review-credit {
  margin: 0;
  color: #d6e7db;
  font-size: .875rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.45rem;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 2.875rem;
  max-width: 100%;
  padding: .65rem 1.05rem;
  border: 1px solid transparent;
  border-radius: .5rem;
  font-size: .95rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.btn-primary { background: var(--leaf); color: var(--pine-dark); }
.btn-primary:hover { background: #e7f7cc; }
.btn-ghost { border-color: #b8d4c2; color: #f3faf4; }
.btn-ghost:hover { background: #ffffff17; }

.hero :focus-visible, .section--green :focus-visible { outline-color: #f2c780; }

.hero-note {
  max-width: 48ch;
  margin: 1.35rem 0 0;
  padding-left: .85rem;
  border-left: 2px solid #9fb49a;
  color: #dcebe0;
  font-size: .95rem;
}

.page-nav {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: #fffefaf5;
  backdrop-filter: blur(12px);
}

.page-nav .wrap {
  display: flex;
  gap: .3rem 1.15rem;
  overflow: auto;
  scrollbar-width: thin;
}

.page-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 3.25rem;
  padding: .5rem .2rem;
  border-bottom: 3px solid transparent;
  color: var(--pine);
  font-size: .925rem;
  font-weight: 650;
  white-space: nowrap;
  text-decoration: none;
}

.page-nav a:hover, .page-nav a:focus-visible { border-bottom-color: #76a58f; }
.page-nav a:focus-visible { outline-offset: -3px; }

/* Editorial photographs and section layouts */

.section { padding-block: clamp(2.85rem, 5.6vw, 5.15rem); }
.section--sand { background: var(--sand); }
.section--green { background: var(--pine-dark); color: var(--surface); }
.section--green .intro { color: #dbe9df; }

.intro {
  max-width: 76ch;
  margin: .9rem 0 0;
  color: var(--muted);
  font-size: clamp(1.025rem, 1.36vw, 1.15rem);
}

.photo img {
  width: 100%;
  border-radius: var(--radius);
  background: #d6ded4;
}

.photo figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  column-gap: 1rem;
  margin-top: .55rem;
  color: var(--muted);
  font-size: .875rem;
}

.photo figcaption strong { color: var(--ink); }

.hero-photo img {
  border: 1px solid #ffffff45;
  border-radius: 1.125rem;
  box-shadow: 0 1.1rem 3.6rem #031b154d;
}

.hero-photo figcaption, .section--green .photo figcaption { color: #dcebe0; }

.feature, .screening-feature, .photo-pair {
  display: grid;
  align-items: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 4vw, 3.25rem);
}

.feature { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }

.feature-action {
  margin: 1rem 0 0;
  font-weight: 700;
}

.feature--photo-first { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.feature--photo-first .feature-copy { grid-column: 2; grid-row: 1; }
.feature--photo-first .photo { grid-column: 1; grid-row: 1; }

.screening-feature {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  margin-top: 1.65rem;
}

.photo-pair {
  gap: clamp(1rem, 2vw, 1.55rem);
  margin-top: 1.6rem;
}

/* Overview and screening infographics */

.start-figure, .age-figure, .result-figure, .care-figure {
  margin-top: 1.6rem;
  padding: clamp(1.1rem, 2.5vw, 1.85rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
}

.start-figure > figcaption, .age-figure > figcaption,
.result-figure > figcaption, .care-figure > figcaption {
  margin-bottom: .7rem;
  font: 1.65rem/1.12 var(--serif);
}

.start-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }

.start-option {
  padding: clamp(1rem, 2vw, 1.45rem);
  border-left: 4px solid var(--teal);
  border-radius: .55rem;
  background: #e8f1e8;
}

.start-option--symptoms {
  border-color: #a36043;
  background: #f9eee4;
}

.start-option p { margin: .5rem 0 .75rem; }
.start-option a, .figure-source { font-weight: 700; }
.start-option--symptoms a { color: #7b402e; }

.age-figure { margin-top: 0; }
.age-figure > p { color: var(--muted); font-size: .95rem; }

.age-scale { margin-top: .9rem; }
.age-scale-label { display: block; font-size: .875rem; font-weight: 650; }

.age-ticks {
  position: relative;
  height: 1.6rem;
  margin: .25rem 0 .4rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: .8rem;
  font-variant-numeric: tabular-nums;
}

.age-ticks span { position: absolute; }
.age-ticks span:first-child { left: 0; }
.age-ticks span:nth-child(2) { left: 27.27%; transform: translateX(-50%); }
.age-ticks span:nth-child(3) { left: 54.55%; transform: translateX(-50%); }
.age-ticks span:nth-child(4) { left: 81.82%; transform: translateX(-50%); }
.age-ticks span:last-child { right: 0; }

.age-lanes { display: grid; gap: .65rem; margin: 0; padding: 0; list-style: none; }
.age-lane { margin: 0; }
.age-label { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.age-label a { font-weight: 700; }
.age-label span { font-size: .9rem; font-weight: 650; }
.age-lane p { margin: .25rem 0 0; color: var(--muted); font-size: .875rem; }
.figure-source { display: inline-block; margin-top: .9rem; font-size: .875rem; }

.age-track {
  position: relative;
  height: .525rem;
  margin: .3rem 0 .1rem;
  overflow: hidden;
  border-radius: .25rem;
  background: #e6eee5;
}

.age-range {
  position: absolute;
  inset-block: 0;
  left: calc((var(--first) - 25) * 100% / 55);
  width: calc((var(--last) - var(--first)) * 100% / 55);
  border-radius: .15rem;
  background: #367a68;
}

.age-range--variable {
  background: repeating-linear-gradient(125deg, #367a68 0 2px, #aecdba 2px 5px);
}

/* Clinical content, follow-up and support maps */

.screening-test { margin-block: .85rem 1.05rem; }

.screening-test img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: .6rem;
}

.screening-test figcaption {
  display: block;
  font-size: .925rem;
  line-height: 1.5;
}

.grid, .summary, .anatomy-grid, .steps, .prevention-grid, .family-grid,
.decision-grid, .referral-map, .ontario-grid, .survivorship-map,
.support-strip, .checklist, .source-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.grid-3, .steps, .ontario-grid, .support-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.summary, .prevention-grid, .referral-map, .survivorship-map {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card, .anatomy-card, .step, .prevention-card, .decision-card,
.referral-card, .ontario-card, .survivorship-card, .source-group {
  min-width: 0;
  padding: clamp(1rem, 2vw, 1.4rem);
  border: 1px solid var(--line);
  border-radius: .8rem;
  color: var(--ink);
  background: var(--surface);
}

.card > :last-child, .anatomy-card > :last-child, .step > :last-child,
.prevention-card > :last-child, .decision-card > :last-child, .referral-card > :last-child,
.ontario-card > :last-child, .survivorship-card > :last-child, .source-group > :last-child {
  margin-bottom: 0;
}

.card p, .anatomy-card p, .step p, .prevention-card p, .decision-card p,
.referral-card p, .ontario-card p {
  margin-top: .55rem;
  color: var(--muted);
}

.card ul, .anatomy-card ul, .decision-card ul, .survivorship-card ul {
  margin-top: .6rem;
  padding-inline-start: 1.2rem;
}

.prevention-resources {
  margin-top: .9rem;
  padding-top: .75rem;
  border-top: 1px solid var(--line);
}

.prevention-resources h4 {
  margin: 0 0 .35rem;
  font-size: .9375rem;
  line-height: 1.4;
}

.prevention-resources ul {
  display: grid;
  gap: .45rem;
  margin: .35rem 0 0;
  padding: 0;
  list-style: none;
}

.prevention-resources li { margin: 0; }

.prevention-resources a {
  display: block;
  min-height: 1.625rem;
  padding-block: .16rem;
  font-size: .9375rem;
  font-weight: 650;
  line-height: 1.4;
}

.prevention-resources li span {
  display: block;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.45;
}

.family-card .prevention-resources { border-color: #78a394; }
.family-card .prevention-resources a { color: var(--leaf); }

.summary .card { border-top: 3px solid #8ab09a; }
.summary h3 { font-size: 1.25rem; }

.anatomy-card { border-top: 4px solid var(--teal); }
.anatomy-card.risk { border-top-color: #986e25; }
.anatomy-card.symptom { border-top-color: #a65c51; }

.path-label, .label {
  display: block;
  margin-bottom: .55rem;
  color: var(--teal);
  font-size: .875rem;
  font-weight: 700;
}

.risk .path-label { color: #79541c; }
.symptom .path-label { color: #853f36; }

.anatomy-card .meta { margin-top: 1rem; color: var(--muted); font-size: .875rem; }

.steps { counter-reset: planning; }

.step::before, .result-flow li::before {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: .75rem;
  border-radius: 50%;
  background: var(--pine);
  color: var(--leaf);
  font-size: .875rem;
  font-weight: 750;
}

.step::before {
  counter-increment: planning;
  content: counter(planning);
}

.step > strong { display: block; font-size: 1.0625rem; }

.family-card {
  padding: clamp(1rem, 2vw, 1.4rem);
  border: 1px solid #35695c;
  border-radius: .8rem;
  background: #1c5145;
  color: var(--surface);
}

.family-card p { margin: .55rem 0 0; color: #e5f0e8; }

.balance {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin-top: 1rem;
}

.balance div { padding: 1rem; border-radius: .55rem; background: #e9f3e9; }
.balance div:last-child { background: #fff2dc; }
.balance p { margin-bottom: 0; }

.note {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--teal);
  border-radius: .55rem;
  background: #e9f3ed;
  color: #294e42;
}

.note-amber { border-color: #966725; background: #fdf3df; color: #654824; }
.note-blue { border-color: #51808c; background: #eff7f8; color: #284f59; }
.note-rose { border-color: #a65c51; background: #fcf0ed; color: #683c34; }

.urgent {
  border-block: 1px solid #dcba9c;
  background: #fbeddf;
}

.urgent-panel {
  padding: clamp(1.25rem, 3vw, 2.15rem);
  border: 1px solid #dcba9c;
  border-left: 5px solid #a2543b;
  border-radius: var(--radius);
  background: #fffaf3;
  color: #51372b;
}

.urgent-panel h2 { margin-bottom: 1rem; color: #6e3327; }
.urgent-panel .eyebrow { color: #833c2d; }

.urgent-links { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }

.urgent-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .55rem .8rem;
  border: 1px solid #b58261;
  border-radius: .45rem;
  color: #713b2a;
  font-weight: 700;
}

.urgent-links a[href^="tel:"] { background: #874330; color: #fffaf3; }

.result-figure {
  background: var(--pine);
  border-color: var(--pine);
  color: var(--surface);
}

.result-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.2rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: result;
}

.result-flow li { position: relative; margin: 0; }
.result-flow li::before { counter-increment: result; content: counter(result); background: var(--leaf); color: var(--pine-dark); }
.result-flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1rem;
  right: -.85rem;
  left: 2.45rem;
  border-top: 1px solid #96baa8;
}

.result-flow h3 { font-size: 1.22rem; color: #f9fff3; }
.result-flow p { margin: .5rem 0 0; color: #e0eee5; font-size: .95rem; }

.program-table {
  margin-top: 1.5rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: .8rem;
  background: var(--surface);
}

table { width: 100%; min-width: 42rem; border-collapse: collapse; }
caption { padding: .9rem 1rem; text-align: left; font-weight: 700; }
th, td { padding: .9rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #e6efe6; color: var(--pine); }
td { color: var(--muted); }
tr:last-child td { border-bottom: 0; }
.ontario-card a, .local-support a { font-weight: 650; }

.care-figure {
  border-color: #508272;
  background: #143f35;
  color: var(--surface);
}

.care-figure > figcaption {
  position: relative;
  width: fit-content;
  margin: 0 auto 1.75rem;
  padding: .6rem 1.15rem;
  border-radius: .55rem;
  background: var(--leaf);
  color: var(--pine-dark);
  text-align: center;
}

.care-figure > figcaption::after {
  position: absolute;
  top: 100%;
  left: 50%;
  height: .9rem;
  border-left: 1px solid #8db29f;
  content: "";
}

.survivorship-map { position: relative; gap: .75rem; margin: 0; }
.survivorship-map::before {
  position: absolute;
  top: -.9rem;
  left: 12%;
  right: 12%;
  border-top: 1px solid #8db29f;
  content: "";
}

.survivorship-card {
  position: relative;
  border-color: #6b9685;
  background: #225347;
  color: var(--surface);
}

.survivorship-card::before {
  position: absolute;
  bottom: 100%;
  left: 50%;
  height: .9rem;
  border-left: 1px solid #8db29f;
  content: "";
}

.survivorship-card ul { color: #e6f0e8; }
.local-support { margin-top: 1rem; }
.local-support :focus-visible { outline-color: #a26921; }

/* Checklist, printables and sources */

.checklist { gap: .75rem; }

.check {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  min-height: 3.25rem;
  padding: .85rem;
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.check input {
  flex: none;
  width: 1.2rem;
  height: 1.2rem;
  margin: .2rem 0 0;
  accent-color: var(--teal);
}

.check:has(input:checked) {
  border-color: #6d9d87;
  background: #e8f3e8;
}

.check:focus-within { border-color: var(--teal); }

.count { margin: 1rem 0 0; color: var(--muted); }
.count strong { color: var(--ink); }

.print {
  min-height: 2.75rem;
  margin-left: .5rem;
  padding: .45rem .7rem;
  border: 1px solid #92b4a3;
  border-radius: .45rem;
  background: var(--surface);
  color: var(--teal);
  font-size: .95rem;
  font-weight: 700;
}

#printable-resources { border-top: 1px solid var(--line); }
#printable-resources .source-list { max-width: 50rem; margin-top: 1.5rem; }

.source-group h3 { margin-bottom: .75rem; }
.source-list { margin: 0; padding: 0; list-style: none; }

.source-list li {
  padding: .6rem 0;
  border-bottom: 1px solid var(--line);
}

.source-list li:first-child { padding-top: 0; }
.source-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.source-list a { font-weight: 650; }
.source-list small { display: block; margin-top: .2rem; color: var(--muted); font-size: .875rem; }

.review-box {
  margin-top: 1.25rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: .8rem;
  background: var(--surface);
}

.review-box p { margin: .4rem 0 0; }

.footer {
  padding-block: 2rem 3rem;
  color: var(--muted);
  font-size: .9rem;
  text-align: center;
}

.footer img { margin: 0 auto 1rem; }
.footer p { margin: .55rem 0; }
.footer a { font-weight: 650; }

/* Smaller layouts, reduced motion and printing */

@media (max-width: 1050px) {
  .summary, .prevention-grid, .referral-map, .survivorship-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .care-figure > figcaption { margin-bottom: 1rem; }
  .care-figure > figcaption::after, .survivorship-map::before, .survivorship-card::before { display: none; }
}

@media (max-width: 900px) {
  .wrap { width: calc(100% - 2.25rem); }
  .feature, .feature--photo-first, .screening-feature { grid-template-columns: minmax(0, 1fr); }
  .feature--photo-first .feature-copy, .feature--photo-first .photo { grid-area: auto; }
  .ontario-grid, .steps, .support-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .result-flow { grid-template-columns: minmax(0, 1fr); }
  .result-flow li { padding-left: 3rem; }
  .result-flow li::before { position: absolute; top: 0; left: 0; }
  .result-flow li:not(:last-child)::after {
    top: 2.3rem;
    right: auto;
    bottom: -.9rem;
    left: 1rem;
    border: 0;
    border-left: 1px solid #96baa8;
  }
}

@media (max-width: 760px) {
  [id] { scroll-margin-top: 1rem; }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "harbour" "details";
    gap: 1.25rem;
  }

  .hero h1 { font-size: clamp(2.6rem, 9.2vw, 4.2rem); }
  .page-nav { position: static; }
  .page-nav .wrap { flex-wrap: wrap; gap: 0 .85rem; padding-block: .28rem; }
  .page-nav a { min-height: 2.75rem; font-size: .9rem; }

  .photo-pair, .anatomy-grid, .grid-3, .family-grid, .decision-grid, .checklist, .source-groups {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 525px) {
  .header .wrap { min-height: 3.75rem; }
  .header .back { font-size: .875rem; }

  .start-grid, .grid, .steps, .prevention-grid, .ontario-grid,
  .referral-map, .survivorship-map, .support-strip, .balance {
    grid-template-columns: minmax(0, 1fr);
  }

  .summary { gap: .65rem; }
  .summary .card { padding: .8rem; }
  .summary .card p { font-size: .95rem; }
}

@media (max-width: 360px) {
  .summary { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media print {
  .header, .page-nav, .actions, .photo, .photo-pair, .skip-link, .print {
    display: none !important;
  }

  body, .hero, .section, .section--sand, .section--green, .result-figure, .care-figure,
  .survivorship-card, .family-card, .start-option, .note, .check {
    background: white !important;
    color: #111 !important;
  }

  .hero h1 em, .hero-note, .lede, .intro, .kicker, .eyebrow, .review-credit,
  .section--green .intro, .result-flow h3, .result-flow p,
  .survivorship-card ul, .family-card p { color: #111 !important; }

  .hero-grid, .feature, .screening-feature, .result-flow { display: block; }
  .hero-grid, .section { padding-block: 1.25rem; }
  .wrap { width: 100%; }
  .hero h1 { font-size: 2.75rem; }
  .hero h1 em { display: inline; }
  .age-figure { margin-top: 1rem; }
  .survivorship-map::before, .survivorship-card::before, .care-figure > figcaption::after,
  .result-flow li::after { display: none !important; }

  .card, .anatomy-card, .step, .source-group, .survivorship-card,
  .check, .result-flow li, .age-lane { break-inside: avoid; }

  .result-flow li + li { margin-top: .75rem; }
  table { min-width: 0; font-size: .85rem; }
}
