/* "Which method suits you?" calculator: /calculator (drivers, .mc) and /for-accountants (.ma).
   Web-design's look spec (research_notes/launch-2026/method-calculator-design-spec.md and its mock's calc.css, 7 Oct 2026),
   lifted as is, with the spec's production fixes: the gold tick is /assets/img/ui/tick-gold.svg (the CSP blocks data:
   images), no visible words come from CSS `content` (they're translated in calc.js), the accountants' year cards order
   their cells by class rather than by label, and print pages are size: auto (A4 or Letter). Loaded only by the two pages,
   after site.css. It reuses site.css's tokens, .hero, .flag-chip, .chip, .gauge, .btn-gold, .sparkles and leaf-pop.
   The chart tokens below live here rather than in site.css: only these two pages use them. Spacing is on a 4 px grid. */

/* ---------- Tokens (dark values under prefers-color-scheme, as site.css) ---------- */
:root {
  --c-mile: #0B7A55;              /* chart series: the mileage method (validated pair, dataviz validator, light) */
  --c-act: #C2410C;               /* chart series: actual costs */
  --c-mile-on-green: #6EE7B7;     /* the same identities on the green cards */
  --c-act-on-green: #FDBA74;
  --gap-fill: rgba(250, 204, 21, .26);   /* the money between the two lines */
  --mc-grid: #E3ECE7;
  --mc-field-border: #B9CCC2;
  --mc-win: rgba(250, 204, 21, .24);     /* the bigger cell each year (table) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --c-mile: #0E9F6E;
    --c-act: #E0700A;
    --gap-fill: rgba(250, 204, 21, .16);
    --mc-grid: #1F3329;
    --mc-field-border: #2E4A3D;
    --mc-win: rgba(250, 204, 21, .14);
  }
}

/* ======================================================================================================
   DRIVERS: /calculator
   ====================================================================================================== */

/* The green band: H1 and sub, then the question card. Same gradient and wash as .hero.
   overflow: clip, not hidden: .hero's hidden makes it a scroll box and breaks the sticky Back/Next bar. */
.mc .hero { overflow: clip; }
.hero.mc-hero .wrap { display: grid; gap: var(--s4); padding-top: var(--s4); padding-bottom: var(--s5); align-items: start; }
.hero.mc-hero h1 { font-size: min(2.05rem, 8.6vw); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 var(--s2); text-wrap: balance; }
.mc-sub { margin: 0; color: #D1FAE5; font-size: 1rem; line-height: 1.45; text-wrap: pretty; }
/* gold tick tiles (desktop driver hero, accountants' hero from 600 px) */
.mc-ticks { display: grid; gap: 10px; list-style: none; margin: var(--s5) 0 0; padding: 0; color: #FFFFFF; font-weight: 700; }
.mc-ticks li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: center; }
.mc-ticks li::before { content: ""; width: 28px; height: 28px; border-radius: 8px; background: rgba(250, 204, 21, .16) no-repeat center / 14px
  url("/assets/img/ui/tick-gold.svg");
  box-shadow: inset 0 0 0 1px rgba(250, 204, 21, .45); }
@media (max-width: 899px) { .hero.mc-hero .mc-ticks { display: none; } }
@media (max-width: 599px) { .hero.ma-hero .mc-ticks { display: none; } }
@media (min-width: 900px) {
  .hero.mc-hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 34rem); column-gap: 64px; padding-top: 56px; padding-bottom: 64px; }
  .mc-intro { padding-top: var(--s6); }
  .hero.mc-hero h1 { font-size: clamp(2.6rem, 4.2vw, 3.5rem); line-height: 1.02; margin-bottom: var(--s4); }
  .mc-sub { font-size: 1.15rem; max-width: 30rem; }
}

/* The question card: the hero's money card (.hook-card), a little roomier */
.mc-card {
  position: relative; padding: var(--s4); border-radius: 22px; color: #FFFFFF; min-width: 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .05));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 18px 40px rgba(3, 28, 20, .28);
}
@media (min-width: 900px) { .mc-card { padding: var(--s5) 28px; border-radius: 26px; } }
/* Height between steps: calc.js sets the old height, swaps the step, then eases to the new height (.22s). No fixed min-height:
   it left a hole under short steps. Reduce Motion: instant. */
.mc-card.is-sizing { overflow: hidden; transition: height .22s cubic-bezier(.2, .8, .2, 1); }

/* Progress: four stages (You, Vehicle, Driving, Plans), each a groove that fills gold as its questions are answered */
.mc-prog-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px var(--s2); margin: 0 0 6px; font-size: .8rem; line-height: 1.2; }
.mc-prog-head b { color: #A7F3D0; font-weight: 700; letter-spacing: .01em; }
.mc-prog-head span { color: #D1FAE5; font-variant-numeric: tabular-nums; margin-left: auto; text-align: right; min-width: 0; }
.mc-prog { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s1); }
.mc-seg { position: relative; height: 6px; border-radius: 999px; background: rgba(3, 28, 20, .35); box-shadow: inset 0 1px 2px rgba(3, 28, 20, .4); }
.mc-seg i { position: absolute; inset: 0 auto 0 0; width: calc(var(--f, 0) * 100%); border-radius: inherit;
  background: linear-gradient(90deg, #EAB308, #FACC15); transition: width .4s cubic-bezier(.2, .8, .2, 1); }
.mc-seg.is-now i::after { content: ""; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%;
  background: #FACC15; box-shadow: 0 0 0 2px #FFFFFF, 0 0 10px rgba(250, 204, 21, .7); }
.mc-seg.is-done i { box-shadow: 0 0 8px rgba(250, 204, 21, .45); }

/* The question */
.mc-step { min-width: 0; }
.mc-q { margin: var(--s4) 0 var(--s1); color: #FFFFFF; font-size: 1.35rem; line-height: 1.2; font-weight: 800; letter-spacing: -.015em; text-wrap: balance; outline: none; }
.mc-hint { margin: 0 0 var(--s3); color: #D1FAE5; font-size: .9rem; line-height: 1.4; }
@media (min-width: 900px) { .mc-q { font-size: 1.6rem; margin-top: var(--s5); } .mc-hint { font-size: .98rem; margin-bottom: var(--s4); } }
.mc-sub-q { margin: var(--s4) 0 var(--s2); color: #F0FDF7; font-size: .95rem; font-weight: 700; }

/* Answer tiles: a big icon + words, two to a row. Chosen = gold, like the site's chosen chips. */
.mc-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); border: 0; margin: 0; padding: 0; min-width: 0; }
.mc-tiles.is-1col { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .mc-tiles.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mc-tile { position: relative; display: flex; min-width: 0; }
.mc-tile input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.mc-tile > span {
  position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; column-gap: 10px; width: 100%;
  min-height: 60px; padding: 10px 12px; border-radius: 16px; pointer-events: none;
  border: 1.5px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); color: #FFFFFF;
  font-weight: 700; font-size: .98rem; line-height: 1.2; hyphens: auto; overflow-wrap: anywhere;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.mc-tile svg { width: 28px; height: 28px; color: #A7F3D0; transition: color .2s ease; }
.mc-tile small { grid-column: 2; display: block; margin-top: 2px; font-size: .8rem; font-weight: 500; color: #D1FAE5; line-height: 1.3; }
.mc-tile:hover > span { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .7); }
.mc-tile input:checked + span { background: #FACC15; border-color: #FACC15; color: #14261F; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(250, 204, 21, .3); }
.mc-tile input:checked + span svg { color: #14261F; }
.mc-tile input:checked + span small { color: #3F4F47; }
.mc-tile input:checked + span::after { /* the tick badge */
  content: ""; position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; background: #14261F;
  box-shadow: 0 0 0 2px #FACC15;
  -webkit-mask: none;
}
.mc-tile input:checked + span::before {
  content: ""; position: absolute; z-index: 1; top: 0; right: 0; width: 9px; height: 5px; border-left: 2px solid #FACC15; border-bottom: 2px solid #FACC15;
  transform: translate(-1px, 1px) rotate(-45deg);
}
.mc-tile input:focus-visible + span { outline: 3px solid #FFFFFF; outline-offset: 3px; }
.mc-tile.is-pop > span { animation: flag-pop .36s cubic-bezier(.34, 1.56, .64, 1); }

/* chips on the green card wrap their words (long languages) instead of running off the card */
.mc .chip > span, .mc .flag-chip > span { white-space: normal; text-align: left; line-height: 1.2; }
.mc .chip-row { gap: var(--s2); }
.mc-flagnote { margin: 10px 0 0; font-size: .8rem; color: #D1FAE5; }

/* The two-number chips (new/used, years): big digits */
.mc-nums { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
@media (max-width: 399px) { .mc-nums { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mc-num { position: relative; display: flex; }
.mc-num input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.mc-num > span {
  display: grid; place-items: center; align-content: center; width: 100%; height: 60px; border-radius: 14px; pointer-events: none;
  border: 1.5px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); color: #FFFFFF;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.mc-num b { font-size: 1.35rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.mc-num small { font-size: .7rem; font-weight: 600; color: #D1FAE5; margin-top: 3px; }
.mc-num input:checked + span { background: #FACC15; border-color: #FACC15; color: #14261F; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(250, 204, 21, .3); }
.mc-num input:checked + span small { color: #3F4F47; }
.mc-num input:focus-visible + span { outline: 3px solid #FFFFFF; outline-offset: 3px; }

/* Year and month chips for "when did you get it": a 4 x 2 grid of years, a 6 x 2 grid of months */
.mc-grid4, .mc-grid6 { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.mc-grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mc-grid6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.mc-grid4 .mc-num > span, .mc-grid6 .mc-num > span { height: 44px; }
.mc-grid4 .mc-num b, .mc-grid6 .mc-num b { font-size: .92rem; font-weight: 700; }

/* A read-out over the gauge: the value leads, gold, as in the hero */
.mc-read { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 var(--s2); }
.mc-read b { color: #FACC15; font-size: 2.4rem; line-height: 1; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.mc-read span { color: #FFFFFF; font-weight: 700; font-size: 1.02rem; }
.mc-q + :not(.mc-hint) { margin-top: var(--s3); }
.mc-exact { display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: .9rem; font-weight: 700; color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .5); }

/* A styled number field (green card). Never a bare input. */
.mc-field { display: flex; align-items: center; gap: 6px; height: 52px; padding: 0 14px; border-radius: 14px;
  background: rgba(255, 255, 255, .1); border: 1.5px solid rgba(255, 255, 255, .35); transition: border-color .15s ease, box-shadow .15s ease; }
.mc-field:focus-within { border-color: #FACC15; box-shadow: 0 0 0 3px rgba(250, 204, 21, .3); }
.mc-field i { font-style: normal; color: #FACC15; font-weight: 800; font-size: 1.15rem; }
.mc-field input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; color: #FFFFFF; font: inherit; font-size: 1.15rem; font-weight: 700; font-variant-numeric: tabular-nums; outline: none; }
.mc-field span { color: #D1FAE5; font-size: .85rem; white-space: nowrap; }

/* Work share: a split bar that follows the chosen chip */
.mc-split { display: flex; height: 16px; margin: 0 0 6px; border-radius: 999px; overflow: hidden; background: rgba(3, 28, 20, .35); box-shadow: inset 0 1px 2px rgba(3, 28, 20, .4); }
.mc-split i { display: block; width: calc(var(--w) * 100%); background: linear-gradient(90deg, #EAB308, #FACC15); border-radius: 999px; transition: width .4s cubic-bezier(.2, .8, .2, 1); }
.mc-split-key { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 var(--s3); font-size: .82rem; font-weight: 700; color: #D1FAE5; font-variant-numeric: tabular-nums; }
.mc-split-key b { color: #FACC15; }
.mc-derived { margin: var(--s3) 0 0; font-size: .88rem; color: #D1FAE5; }
.mc-derived b { color: #FFFFFF; font-variant-numeric: tabular-nums; }

/* Running costs: total first (counts), then five rows with steppers */
.mc-total { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 var(--s3); }
.mc-total b { color: #FACC15; font-size: 2rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.mc-total span { color: #FFFFFF; font-weight: 700; }
.mc-costs { display: grid; gap: 6px; margin: var(--s3) 0 0; padding: 0; list-style: none; }
.mc-cost { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 56px; padding: 6px 6px 6px 12px;
  border-radius: 14px; background: rgba(3, 28, 20, .22); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.mc-cost > svg { width: 22px; height: 22px; color: #A7F3D0; }
.mc-cost-name { font-size: .92rem; font-weight: 700; line-height: 1.2; color: #FFFFFF; }
.mc-tag { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .03em; color: #FDE68A; box-shadow: inset 0 0 0 1px rgba(253, 230, 138, .6); vertical-align: 1px; }
.mc-step-ctl { display: grid; grid-template-columns: 44px 76px 44px; align-items: center; }
.mc-step-ctl button { width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: rgba(255, 255, 255, .12); color: #FFFFFF; font: inherit; font-size: 1.3rem; font-weight: 700; line-height: 1; transition: background-color .15s ease, transform .1s ease; }
.mc-step-ctl button:hover { background: rgba(255, 255, 255, .22); }
.mc-step-ctl button:active { transform: scale(.92); }
.mc-step-ctl button:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 2px; }
.mc-step-ctl input { width: 100%; height: 44px; border: 0; background: none; text-align: center; color: #FFFFFF; font: inherit; font-size: 1.02rem; font-weight: 800; font-variant-numeric: tabular-nums; border-radius: 10px; }
.mc-step-ctl input:focus { outline: 2px solid #FACC15; }
@media (max-width: 359px) {
  .mc-cost { grid-template-columns: 24px minmax(0, 1fr); padding: 8px 8px 8px 12px; }
  .mc-step-ctl { grid-column: 1 / -1; grid-template-columns: 44px minmax(0, 1fr) 44px; }
}

/* Back + Next */
.mc-nav { display: flex; gap: 10px; margin-top: var(--s5); }
.mc-back { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .1); color: #FFFFFF; }
.mc-back svg { width: 20px; height: 20px; }
.mc-back:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .7); }
.mc-back:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 3px; }
.mc-next {
  position: relative; overflow: hidden; flex: 1; justify-content: center; min-height: 52px; border: 0; cursor: pointer; font: inherit;
  font-size: 1.05rem; font-weight: 800; border-radius: 14px; color: #14261F;
  background: linear-gradient(180deg, #FDE047, #FACC15 55%, #EAB308);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 -2px 0 rgba(161, 98, 7, .25) inset, 0 8px 22px rgba(250, 204, 21, .32);
  transition: transform .12s ease, opacity .2s ease;
}
.mc-next:active { transform: scale(.97); }
.mc-next:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 3px; }
.mc-next { text-wrap: balance; text-align: center; }
.mc-next svg { width: 18px; height: 18px; margin-left: 8px; flex: none; }
.mc-next[aria-disabled="true"] { background: rgba(255, 255, 255, .14); color: #D1FAE5; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .25); cursor: default; }
@media (min-width: 900px) { .mc-next { min-height: 56px; font-size: 1.1rem; } }
/* Phones: on a step taller than the screen (price and date, running costs, long languages) Back + Next stay in reach.
   calc.js watches a 1 px sentinel after .mc-nav and adds .is-stuck only while the bar is floating, so at rest it looks
   exactly like the card's own bottom. */
@media (max-width: 899px) {
  .mc-nav { position: sticky; bottom: 0; z-index: 4; margin-inline: calc(var(--s4) * -1); padding: 0 var(--s4); border-radius: 0 0 22px 22px; transition: background-color .2s ease, box-shadow .2s ease; }
  .mc-nav.is-stuck { padding-top: var(--s3); padding-bottom: calc(var(--s3) + env(safe-area-inset-bottom)); background: rgba(6, 70, 50, .96); box-shadow: 0 -10px 24px rgba(3, 28, 20, .35); border-radius: 18px 18px 0 0; }
}
.mc-nav-end { display: block; height: 1px; }
.mc-trust { display: flex; justify-content: flex-start; align-items: flex-start; gap: 6px; margin: var(--s3) 0 0; padding: 0 var(--s4); font-size: .8rem; color: #D1FAE5; text-align: left; }
.mc-trust svg { width: 14px; height: 14px; flex: none; margin-top: 2px; color: #FACC15; }

/* Step change: one moves out, the next comes in (JS adds the classes). Reduce Motion: swap. */
.mc-step.is-out { animation: mc-out .16s ease-in forwards; }
.mc-step.is-in { animation: mc-in .22s cubic-bezier(.2, .8, .2, 1); }
.mc-step.is-in.is-back { animation-name: mc-in-back; }
@keyframes mc-out { to { opacity: 0; transform: translateX(-24px); } }
@keyframes mc-in { from { opacity: 0; transform: translateX(24px); } }
@keyframes mc-in-back { from { opacity: 0; transform: translateX(-24px); } }

/* ---------- The result ---------- */
.hero.mc-res-hero .wrap { display: grid; gap: var(--s4); padding-top: var(--s4); padding-bottom: var(--s5); }
@media (min-width: 600px) and (max-width: 899px) { .hero.mc-res-hero .wrap > * { width: 100%; max-width: 36rem; margin-inline: auto; } }
@media (min-width: 900px) { .hero.mc-res-hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); column-gap: 56px; padding-top: 48px; padding-bottom: 56px; align-items: start; } }
.mc-eyebrow { margin: 0 0 var(--s2); color: #A7F3D0; font-size: .78rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.mc-verdict { padding: var(--s5) var(--s4) var(--s4); }
@media (min-width: 900px) { .mc-verdict { padding: 32px 32px 28px; min-height: 0; display: block; } }
.mc-verdict h1 { color: #FFFFFF; font-size: min(1.75rem, 7.4vw); line-height: 1.1; letter-spacing: -.025em; margin: 0 0 var(--s3); text-wrap: balance; }
@media (min-width: 900px) { .mc-verdict h1 { font-size: 2.4rem; margin-bottom: var(--s4); text-wrap: pretty; } }
.mc-gapline { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 0 10px; margin: 0 0 var(--s2); }
.mc-gap { display: inline-block; color: #FACC15; font-size: clamp(2.8rem, 13.5vw, 3.6rem); line-height: .95; font-weight: 800; letter-spacing: -.035em; font-variant-numeric: tabular-nums; text-shadow: 0 4px 24px rgba(250, 204, 21, .25); }
@media (min-width: 900px) { .mc-gap { font-size: 4.75rem; } }
.mc-gapwords { color: #FFFFFF; font-size: 1.08rem; font-weight: 700; line-height: 1.25; padding-bottom: 4px; }
.mc-leaf { display: inline-block; width: 30px; height: 30px; margin: 0 0 8px -4px; opacity: 0; transform: scale(0); transform-origin: 30% 100%; }
.mc-leaf.is-on { animation: leaf-pop .55s cubic-bezier(.34, 1.56, .64, 1) forwards; }
.mc-worth { margin: 0 0 var(--s3); color: #D1FAE5; font-size: .95rem; }
.mc-worth strong { color: #FDE68A; }
.mc-why { margin: 0 0 var(--s4); color: #F0FDF7; font-size: .92rem; line-height: 1.5; }
.mc-celebrate { position: relative; }
.mc-celebrate .sparkles { inset: -18px -10px; }
.mc-celebrate .sparkles i { animation: glint 1.6s ease-in-out 1 both; }

/* The two methods, same size and weight. The bigger total gets the gold ring and a "More" tag. */
.mc-vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); }
.mc-method { position: relative; padding: var(--s3) 14px; border-radius: 16px; background: rgba(3, 28, 20, .35); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .18); min-width: 0; }
.mc-method-name { display: flex; align-items: center; gap: 7px; margin: 0 0 4px; color: #D1FAE5; font-size: .85rem; font-weight: 700; line-height: 1.2; }
.mc-key { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c-mile-on-green); }
.mc-key.is-act { border-radius: 2px; background: var(--c-act-on-green); }
.mc-method-total { white-space: nowrap; color: #FFFFFF; font-size: clamp(1.2rem, 5.6vw, 1.45rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.mc-method-sub { color: #D1FAE5; font-size: .78rem; }
.mc-method.is-win { box-shadow: inset 0 0 0 1.5px #FACC15, 0 0 0 1px rgba(250, 204, 21, .35), 0 8px 22px rgba(250, 204, 21, .18); }
.mc-more { position: absolute; top: -9px; right: 10px; padding: 2px 8px; border-radius: 999px; background: #FACC15; color: #14261F; font-size: .7rem; font-weight: 800; letter-spacing: .03em; }
.mc-method.is-later { opacity: .72; }
.mc-small { margin: var(--s3) 0 0; color: #D1FAE5; font-size: .8rem; line-height: 1.45; }
.mc-answers { margin-top: var(--s3); }
.mc-answers summary { padding: 0; min-height: 44px; display: flex; align-items: center; gap: 8px; color: #FFFFFF; font-size: .9rem; font-weight: 700; list-style: none; cursor: pointer; }
.mc-answers summary::-webkit-details-marker { display: none; }
.mc-answers summary svg { width: 14px; height: 14px; transition: transform .2s ease; }
.mc-answers[open] summary svg { transform: rotate(180deg); }
details.mc-answers { background: none; border: 0; border-radius: 0; margin: 0; }
details.mc-answers[open] summary { border: 0; margin: 0; }
.mc-ans { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 0 0; }
.mc-ans button { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: .82rem; font-weight: 700; color: #FFFFFF; border: 1.5px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); }
.mc-ans button::before { content: ""; position: absolute; inset: -5px -2px; } /* 44 px tall target */
.mc-ans button:hover { border-color: #FACC15; }
.mc-ans .flag { width: 18px; height: 13px; border-radius: 3px; }

/* The share card's home in the hero (desktop: right column; phone: further down, after the table) */
.mc-share { min-width: 0; }
.mc-share h2 { font-size: 1.1rem; margin: 0 0 var(--s3); }
.hero.mc-res-hero .mc-share h2 { color: #FFFFFF; }
.mc-card-preview { display: block; width: 100%; max-width: 384px; aspect-ratio: 1; height: auto; border-radius: 18px; box-shadow: 0 18px 40px rgba(3, 28, 20, .35), 0 0 0 1px rgba(255, 255, 255, .14); }
.mc-sharebtns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2); margin-top: var(--s3); max-width: 384px; }
.mc-sharebtn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 60px; padding: 6px 4px; border-radius: 14px; cursor: pointer;
  font: inherit; font-size: .8rem; font-weight: 700; line-height: 1.15; text-align: center; text-decoration: none;
  background: var(--surface); color: var(--ink); border: 1.5px solid var(--border); box-shadow: var(--shadow); transition: border-color .15s ease, transform .12s ease; }
.mc-sharebtn svg { width: 22px; height: 22px; color: var(--brand); }
.mc-sharebtn:hover { border-color: var(--brand); }
.mc-sharebtn:active { transform: scale(.96); }
.mc-sharebtn.is-done { border-color: #FACC15; box-shadow: 0 0 0 3px rgba(250, 204, 21, .3); }
.hero.mc-res-hero .mc-sharebtn { background: rgba(255, 255, 255, .1); color: #FFFFFF; border-color: rgba(255, 255, 255, .35); box-shadow: none; }
.hero.mc-res-hero .mc-sharebtn svg { color: #FACC15; }
.hero.mc-res-hero .mc-sharebtn:hover { border-color: #FFFFFF; background: rgba(255, 255, 255, .18); }
.mc-share-note { margin: var(--s2) 0 0; font-size: .8rem; color: var(--text); max-width: 384px; }
.hero.mc-res-hero .mc-share-note { color: #D1FAE5; }
.mc-share-phone { display: block; }
.mc-share-desk { display: none; }
@media (min-width: 900px) { .mc-share-phone { display: none; } .mc-share-desk { display: block; } }

/* ---------- Year by year: chart card + table card ---------- */
.mc-detail { padding: var(--s6) 0 var(--s7); }
.mc-detail .wrap { display: grid; gap: var(--s4); }
@media (min-width: 1000px) { .mc-detail .wrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s5); align-items: start; } .mc-detail .mc-full { grid-column: 1 / -1; } }
.mc-box { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); padding: var(--s4); min-width: 0; }
@media (min-width: 720px) { .mc-box { padding: var(--s5); } }
.mc-box h2 { font-size: 1.2rem; margin: 0 0 var(--s1); letter-spacing: -.01em; }
.mc-box-sub { margin: 0 0 var(--s3); font-size: .88rem; color: var(--text); }

/* legend: always present (two series), swatch + marker shape, text in ink */
.mc-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 var(--s2); padding: 0; list-style: none; font-size: .85rem; font-weight: 700; color: var(--ink); }
.mc-legend li { display: inline-flex; align-items: center; gap: 7px; }
.mc-legend i { width: 18px; height: 3px; border-radius: 2px; background: var(--c-mile); position: relative; }
.mc-legend i::after { content: ""; position: absolute; left: 5px; top: -3.5px; width: 8px; height: 8px; border-radius: 50%; background: var(--c-mile); box-shadow: 0 0 0 2px var(--surface); }
.mc-legend .is-act i, .mc-legend .is-act i::after { background: var(--c-act); }
.mc-legend .is-act i::after { border-radius: 1px; }
.mc-legend .is-gap i { height: 12px; background: var(--gap-fill); border-radius: 3px; }
.mc-legend .is-gap i::after { display: none; }

/* the SVG chart (drawn by calc.js, no library) */
.mc-chart { position: relative; }
.mc-chart svg { display: block; width: 100%; height: 232px; overflow: visible; }
@media (min-width: 720px) { .mc-chart svg { height: 280px; } }
@media (min-width: 1000px) { .mc-detail .mc-chart svg { height: 352px !important; } } /* level with the table card beside it */
.mc-chart .grid line { stroke: var(--mc-grid); stroke-width: 1; }
.mc-chart .grid line.zero { stroke: var(--text); stroke-opacity: .55; }
.mc-chart text { fill: var(--text); font-size: 11.5px; font-variant-numeric: tabular-nums; font-family: var(--font); }
.mc-chart .lbl-end { font-size: 12.5px; font-weight: 800; fill: var(--ink); }
.mc-chart .ln { fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.mc-chart .ln.mile { stroke: var(--c-mile); }
.mc-chart .ln.act { stroke: var(--c-act); }
.mc-chart .mk { stroke: var(--surface); stroke-width: 2; }
.mc-chart .mk.mile { fill: var(--c-mile); }
.mc-chart .mk.act { fill: var(--c-act); }
.mc-chart .gapband { fill: var(--gap-fill); }
.mc-chart .xh { stroke: var(--ink); stroke-opacity: .35; stroke-width: 1; stroke-dasharray: 3 3; }
.mc-chart.is-draw .ln { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: mc-draw .7s cubic-bezier(.2, .8, .2, 1) forwards; }
.mc-chart.is-draw .gapband { opacity: 0; animation: mc-fade .3s ease .6s forwards; }
@keyframes mc-draw { to { stroke-dashoffset: 0; } }
@keyframes mc-fade { to { opacity: 1; } }
.mc-tip { position: absolute; z-index: 2; pointer-events: none; min-width: 168px; padding: 10px 12px; border-radius: 12px; background: var(--surface); color: var(--ink);
  box-shadow: 0 10px 30px rgba(20, 38, 31, .18), 0 0 0 1px var(--border); font-size: .82rem; line-height: 1.4; font-variant-numeric: tabular-nums; }
.mc-tip b { display: block; margin-bottom: 4px; }
.mc-tip p { display: flex; justify-content: space-between; gap: 12px; margin: 0; }
.mc-tip p span { display: inline-flex; align-items: center; gap: 6px; color: var(--text); }
.mc-tip .mc-key { background: var(--c-mile); } .mc-tip .mc-key.is-act { background: var(--c-act); }
.mc-tip .gap { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--border); font-weight: 800; }

/* the table: year, both methods, who's ahead so far. The bigger cell each year is lit gold. */
.mc-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .9rem; font-variant-numeric: tabular-nums; }
.mc-table th, .mc-table td { padding: 10px 6px; text-align: right; vertical-align: top; border-bottom: 1px solid var(--border); }
.mc-table th:first-child, .mc-table td:first-child { text-align: left; padding-left: 0; }
.mc-table th:last-child, .mc-table td:last-child { padding-right: 0; }
.mc-table thead th { font-size: .75rem; font-weight: 800; color: var(--text); letter-spacing: .02em; line-height: 1.2; vertical-align: bottom; }
.mc-table thead th .mc-key { display: inline-block; margin-right: 5px; vertical-align: 0; }
.mc-table .mc-key { background: var(--c-mile); }
.mc-table .mc-key.is-act { background: var(--c-act); }
.mc-table td b { color: var(--ink); font-weight: 700; }
.mc-table .yr b { display: block; color: var(--ink); }
.mc-table .yr small { display: block; color: var(--text); font-size: .75rem; line-height: 1.3; white-space: nowrap; }
.mc-table .is-big b { display: inline-block; margin-right: -6px; padding: 1px 6px; border-radius: 8px; background: var(--mc-win); }
.mc-table .neg b { color: var(--ink); }
.mc-table .bar { display: block; height: 4px; margin: 5px 0 0 auto; border-radius: 2px; background: var(--c-mile); width: calc(var(--v) * 100%); max-width: 100%; }
.mc-table .bar.act { background: var(--c-act); }
.mc-table .bar.neg { background: repeating-linear-gradient(135deg, var(--c-act) 0 3px, transparent 3px 6px); }
.mc-table .ahead { font-size: .8rem; color: var(--text); line-height: 1.25; }
.mc-table .ahead b { display: block; font-size: .9rem; }
.mc-table tr.sale td { padding-top: 0; border-bottom: 1px solid var(--border); font-size: .8rem; color: var(--text); text-align: left; }
.mc-table tr.has-sale td { border-bottom: 0; }
.mc-table tfoot td { border-bottom: 0; border-top: 2px solid var(--ink); padding-top: 12px; font-size: 1rem; }
.mc-table tfoot td b { font-weight: 800; }
.mc-table tfoot .ahead b { display: inline-block; white-space: nowrap; margin-top: 2px; padding: 2px 8px; border-radius: 999px; background: #FACC15; color: #14261F; }
@media (max-width: 380px) { .mc-table { font-size: .84rem; } .mc-table th, .mc-table td { padding-left: 3px; padding-right: 3px; } }
.mc-assume { margin: var(--s3) 0 0; font-size: .82rem; color: var(--text); }
.mc-assume button { font: inherit; font-weight: 700; color: var(--link); background: none; border: 0; padding: 12px 0; margin: -12px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }

/* The small print box and the app card */
.mc-fine { padding: var(--s3) var(--s4); border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); font-size: .85rem; line-height: 1.5; color: var(--text); }
.mc-fine p { margin: 0; }
.mc-fine p + p { margin-top: 6px; }
.mc-app { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--s3) var(--s4); align-items: center; padding: var(--s4); border-radius: 20px;
  background: linear-gradient(135deg, #E9F8F0 0%, var(--surface) 75%); border: 1px solid var(--border); box-shadow: var(--shadow); }
@media (prefers-color-scheme: dark) { .mc-app { background: linear-gradient(135deg, #0F2A1F 0%, var(--surface) 75%); } }
.mc-app svg.mark { width: 56px; height: 56px; }
.mc-app h2 { font-size: 1.15rem; margin: 0 0 2px; }
.mc-app p { margin: 0; font-size: .92rem; }
.mc-app .btn-gold { grid-column: 1 / -1; justify-content: center; }
@media (min-width: 720px) { .mc-app { grid-template-columns: 56px minmax(0, 1fr) auto; } .mc-app .btn-gold { grid-column: auto; } }

/* ---------- The research questions (both pages) ---------- */
.mc-research { padding: var(--s6) 0 var(--s7); }
.mc-research .wrap { max-width: 46rem; }
.mc-research h2 { font-size: clamp(1.4rem, 4vw, 1.8rem); margin: 0 0 var(--s1); }
.mc-research-lead { margin: 0 0 var(--s4); font-size: .95rem; }
.mc-research-lead b { display: inline-block; margin-right: 6px; padding: 1px 8px; border-radius: 999px; background: var(--mint); color: #064E3B; font-size: .78rem; font-weight: 800; }
@media (prefers-color-scheme: dark) { .mc-research-lead b { background: #0F3D2C; color: #A7F3D0; } }
.mc-rq { border: 0; margin: 0; padding: var(--s4) 0; border-top: 1px solid var(--border); min-width: 0; }
.mc-rq:first-of-type { border-top: 0; padding-top: 0; }
.mc-rq legend { float: left; width: 100%; padding: 0; margin: 0 0 10px; font-size: 1rem; font-weight: 800; color: var(--ink); line-height: 1.3; }
.mc-rq legend small { font-weight: 500; color: var(--text); font-size: .85rem; }
.mc-rq .chip-row { clear: both; }
.mc-rq .chip > span { white-space: normal; text-align: left; padding-top: 8px; padding-bottom: 8px; }
.mc-rq-n { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 8px; border-radius: 50%; background: var(--brand); color: #FFFFFF; font-size: .78rem; font-weight: 800; vertical-align: 1px; }
.mc-rq.is-done .mc-rq-n { background: #FACC15; color: #14261F; }
.mc-textarea { display: block; width: 100%; min-height: 104px; padding: 12px 14px; border-radius: 14px; resize: vertical; font: inherit; font-size: 1rem; line-height: 1.45;
  color: var(--ink); background: var(--surface); border: 1.5px solid var(--mc-field-border); }
.mc-textarea:focus, .ma-field:focus-within, .mc-email input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(11, 122, 85, .22); }
.mc-count { display: flex; justify-content: space-between; gap: 8px; margin: 6px 0 0; font-size: .8rem; color: var(--text); }
.mc-consent { margin: 0 0 var(--s4); padding: 10px 12px; border-radius: 12px; background: var(--surface-2); font-size: .85rem; line-height: 1.45; color: var(--text); }
.mc-send { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); margin-top: var(--s4); }
.mc-send .btn-gold { border: 0; cursor: pointer; font: inherit; font-weight: 800; font-size: 1rem; min-height: 52px; padding: 0 24px; border-radius: 14px; }
.mc-send .btn-gold[aria-disabled="true"] { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--border); cursor: default; }
.mc-send small { font-size: .82rem; color: var(--text); }
.mc-meter { display: inline-flex; gap: 4px; align-items: center; font-size: .8rem; color: var(--text); font-weight: 700; }
.mc-meter i { width: 18px; height: 6px; border-radius: 99px; background: var(--border); }
.mc-meter i.on { background: #FACC15; }
.mc-email { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s2); margin-top: var(--s2); }
.mc-email input { height: 52px; min-width: 0; padding: 0 14px; border-radius: 14px; font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface); border: 1.5px solid var(--mc-field-border); }
.mc-email .btn { border-radius: 14px; min-height: 52px; cursor: pointer; font: inherit; font-weight: 800; }
@media (max-width: 420px) { .mc-email { grid-template-columns: 1fr; } .mc-email .btn, .mc-send .btn-gold { width: 100%; justify-content: center; } }
.mc-thanks { display: flex; gap: 12px; align-items: center; padding: var(--s4); border-radius: 16px; background: var(--surface-2); border: 1px solid var(--border); color: var(--ink); font-weight: 700; }

/* the consent switch (accountants): a chip with a track, never a default checkbox (as missing-miles' "may count" switch) */
.mc-switch { display: flex; align-items: flex-start; gap: 12px; width: 100%; min-height: 44px; padding: 10px 12px; margin-top: var(--s3); border-radius: 14px; cursor: pointer; text-align: left;
  font: inherit; font-size: .88rem; line-height: 1.45; color: var(--ink); background: var(--surface); border: 1.5px solid var(--mc-field-border); }
.mc-switch .trk { flex: none; position: relative; width: 40px; height: 24px; margin-top: 1px; border-radius: 999px; background: var(--border); transition: background-color .2s ease; }
.mc-switch .trk::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .2s cubic-bezier(.34, 1.56, .64, 1); }
.mc-switch[aria-checked="true"] { border-color: #FACC15; box-shadow: 0 0 0 1px #FACC15; }
.mc-switch[aria-checked="true"] .trk { background: #FACC15; }
.mc-switch[aria-checked="true"] .trk::after { transform: translateX(16px); }
.mc-switch:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ======================================================================================================
   ACCOUNTANTS: /for-accountants
   ====================================================================================================== */
.ma .hero { overflow: clip; }
.hero.ma-hero .wrap { display: block; padding-top: var(--s4); padding-bottom: var(--s4); } /* not the home hero's two-column grid */
.hero.ma-hero h1 { font-size: min(1.55rem, 6.8vw); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 var(--s2); text-wrap: balance; max-width: 22em; }
.hero.ma-hero p { margin: 0; color: #D1FAE5; font-size: .92rem; line-height: 1.45; max-width: 40rem; }
@media (min-width: 600px) { .hero.ma-hero .mc-ticks { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: var(--s3); font-size: .88rem; } }
.hero.ma-hero .mc-ticks li { grid-template-columns: 20px 1fr; gap: 6px; }
.hero.ma-hero .mc-ticks li::before { width: 20px; height: 20px; border-radius: 6px; background-size: 11px; }
@media (min-width: 900px) { .hero.ma-hero .wrap { padding-top: 40px; padding-bottom: 40px; } .hero.ma-hero h1 { font-size: 2.1rem; max-width: 30em; } .hero.ma-hero p { font-size: 1.1rem; } }

.ma-main { padding: var(--s4) 0 var(--s6); }
@media (min-width: 720px) { .ma-main { padding-top: var(--s5); } }
.ma-grid { display: grid; gap: var(--s5); align-items: start; }
/* From 1100 px the results stay in view while you edit: verdict, chart and the two buttons only (about 760 px), so it
   fits a 900 px-tall screen. Shorter screens (under 820 px tall) don't stick, so nothing is ever out of reach. */
@media (min-width: 1100px) { .ma-grid { grid-template-columns: 420px minmax(0, 1fr); gap: 32px; } }
@media (min-width: 1100px) and (min-height: 820px) { .ma-results { position: sticky; top: 16px; } }
@media (min-width: 1100px) { .ma-results .mc-chart svg { height: 230px; } }

/* Inputs: one card, numbered groups */
.ma-inputs { padding: var(--s4); }
@media (min-width: 720px) { .ma-inputs { padding: var(--s5); } }
@media (min-width: 720px) and (max-width: 1099px) { .ma-inputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } .ma-group.is-wide { grid-column: 1 / -1; } }
.ma-group { border: 0; margin: 0; padding: 0 0 var(--s4); min-width: 0; }
.ma-group + .ma-group { padding-top: var(--s4); border-top: 1px solid var(--border); }
@media (min-width: 720px) and (max-width: 1099px) { .ma-group + .ma-group { border-top: 0; } }
.ma-group > legend, .ma-group-h { float: left; width: 100%; display: flex; align-items: center; gap: 8px; padding: 0; margin: 0 0 var(--s3); font-size: 1rem; font-weight: 800; color: var(--ink); }
.ma-group-h .mc-rq-n { margin: 0; }
.ma-row { clear: both; display: grid; gap: var(--s3); margin: 0 0 var(--s3); }
.ma-row.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ma-label { display: block; margin: 0 0 6px; font-size: .82rem; font-weight: 700; color: var(--ink); line-height: 1.25; }
.ma-label small { font-weight: 500; color: var(--text); }

/* compact chips on the light card: 40 px to look at, 44 px to tap */
.ma .chip-row { gap: 6px; }
.ma .chip input { inset: -2px 0; height: calc(100% + 4px); }
.ma .chip > span { min-height: 40px; padding: 0 12px; font-size: .88rem; font-weight: 600; white-space: normal; line-height: 1.2; }
.ma .chip input:checked + span { padding-left: 10px; }
.ma .flag-chip > span { min-height: 40px; color: var(--ink); background: var(--surface); border-color: var(--mc-field-border); font-size: .88rem; padding: 4px 12px 4px 8px; }
.ma .flag-chip .flag { width: 22px; height: 16px; }
.ma .flag-chip input { inset: -2px 0; height: calc(100% + 4px); }
.ma .flag-chip:hover > span { background: var(--surface-2); border-color: var(--brand); }
.ma .flag-chip input:checked + span { background: rgba(250, 204, 21, .18); border-color: #EAB308; box-shadow: 0 0 0 1px #EAB308; transform: none; }
.ma .flag-chip input:focus-visible + span { outline: 3px solid var(--focus); }
.ma .flag-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } /* 2 x 2 always: Australia never sits alone on a row */
.ma .flag-chip > span { width: 100%; }

/* fields: label above, prefix and suffix inside, 44 px, tabular */
.ma-field { position: relative; display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border-radius: 12px; background: var(--surface); border: 1.5px solid var(--mc-field-border); min-width: 0; }
.ma-field i { font-style: normal; color: var(--text); font-weight: 700; }
.ma-field input { flex: 1; min-width: 0; width: 100%; height: 100%; border: 0; background: none; outline: none; font: inherit; font-size: 1rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.ma-field span { font-size: .8rem; color: var(--text); white-space: nowrap; }
.ma-field.is-edited { border-color: #EAB308; background: linear-gradient(90deg, rgba(250, 204, 21, .12), transparent 60%), var(--surface); }
.ma-src { display: block; margin-top: 4px; font-size: .74rem; color: var(--text); line-height: 1.3; }

/* segmented pairs for either/or treatments (bonus vs MACRS, DV vs prime cost, cash vs accruals) */
.ma-seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); padding: 3px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.ma-seg label { position: relative; display: flex; }
.ma-seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.ma-seg span { display: grid; place-items: center; width: 100%; min-height: 38px; padding: 4px 8px; border-radius: 9px; font-size: .82rem; font-weight: 700; color: var(--text); text-align: center; line-height: 1.15; transition: background-color .15s ease, color .15s ease; }
.ma-seg input:checked + span { background: #FACC15; color: #14261F; box-shadow: 0 2px 6px rgba(161, 98, 7, .25); }
.ma-seg input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 1px; }

/* the assumptions list: each row says its default and its source, edited ones get a gold edge and a reset */
.ma-assume { clear: both; display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.ma-arow { display: grid; grid-template-columns: minmax(0, 1fr) 176px 44px; align-items: center; gap: 4px 10px; padding: 8px 0; border-bottom: 1px dashed var(--border); }
.ma-arow:last-child { border-bottom: 0; }
.ma-arow .ma-label { margin: 0; }
.ma-arow .ma-src { grid-column: 1 / -1; margin-top: -2px; }
.ma-reset { width: 44px; height: 44px; border-radius: 50%; border: 0; background: none; color: var(--text); cursor: pointer; display: grid; place-items: center; }
.ma-reset svg { width: 18px; height: 18px; }
.ma-reset:hover { background: var(--surface-2); color: var(--brand); }
.ma-reset[hidden] { display: grid; visibility: hidden; } /* keeps its place: no shift when a value is edited */
.ma-edited { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 999px; background: rgba(250, 204, 21, .3); color: #713F12; font-size: .68rem; font-weight: 800; letter-spacing: .03em; vertical-align: 1px; }
@media (prefers-color-scheme: dark) { .ma-edited { color: #FDE68A; } }
.ma-years { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.ma-years .ma-field { padding: 0 8px; }
.ma-years .ma-field span { font-size: .7rem; }
.ma-yr { display: block; min-width: 0; }
.ma-yr small { display: block; margin: 0 0 3px; font-size: .72rem; font-weight: 700; color: var(--text); }
@media (max-width: 380px) {
  .ma-arow { grid-template-columns: minmax(0, 1fr) 44px; }
  .ma-arow > .ma-field, .ma-arow > .ma-seg { grid-column: 1; grid-row: 2; }
  .ma-arow > .ma-reset { grid-row: 1; grid-column: 2; }
  .ma-years { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Results panel (sticky from 1100 px) */
.ma-results { display: grid; gap: var(--s4); min-width: 0; }
.ma-verdict { color: #FFFFFF; border-radius: 22px; padding: var(--s5) var(--s4) var(--s4);
  background: linear-gradient(rgba(4, 40, 30, .30), rgba(4, 40, 30, .30)), linear-gradient(135deg, #0E9F6E 0%, #053D2E 100%); box-shadow: 0 18px 40px -16px rgba(3, 28, 20, .5); }
@media (min-width: 720px) { .ma-verdict { padding: var(--s5); } }
.ma-verdict h2 { color: #FFFFFF; font-size: 1.35rem; line-height: 1.15; margin: 0 0 var(--s2); text-wrap: balance; }
.ma-verdict .mc-gap { font-size: clamp(2.4rem, 11vw, 3.2rem); }
.ma-verdict .mc-gapwords { font-size: 1rem; }
.ma-verdict .mc-worth { margin: var(--s2) 0 0; }
.ma-verdict .mc-vs { margin-top: var(--s4); }

.ma-actions { display: grid; gap: var(--s3); }
.ma-actions .ma-row { margin: 0; }
.ma-btns { display: flex; flex-wrap: wrap; gap: var(--s2); }
.ma-btns .btn-gold { border: 0; cursor: pointer; font: inherit; font-weight: 800; min-height: 48px; padding: 0 20px; border-radius: 12px; gap: 8px; }
.ma-btns .btn-gold svg, .ma-ghost svg { width: 18px; height: 18px; }
.ma-ghost { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border-radius: 12px; cursor: pointer; font: inherit; font-weight: 700; font-size: .95rem;
  color: var(--ink); background: var(--surface); border: 1.5px solid var(--mc-field-border); }
.ma-ghost:hover { border-color: var(--brand); color: var(--brand); }
.ma-lock { display: flex; gap: 8px; align-items: center; margin: 0; font-size: .8rem; color: var(--text); }
.ma-lock svg { width: 14px; height: 14px; flex: none; color: var(--brand); }
@media (max-width: 420px) { .ma-btns > * { flex: 1 1 100%; justify-content: center; } }

/* the full table with "Show the working" folds.
   Under 720 px it becomes stacked year cards, so a working fold is never inside a sideways scroll. Changing table display
   drops table semantics in Safari: calc.js adds role="table/rowgroup/row/columnheader/cell" to keep VoiceOver's reading. */
@media (max-width: 719px) {
  .ma .mc-table { min-width: 0 !important; }
  .ma .mc-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ma .mc-table, .ma .mc-table tbody, .ma .mc-table tfoot, .ma .mc-table tr, .ma .mc-table td { display: block; }
  .ma .mc-table tbody tr:not(.ma-work):not(.sale), .ma .mc-table tfoot tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; padding: 14px 0 12px; border-bottom: 1px solid var(--border); }
  .ma .mc-table tr.has-sale { border-bottom: 0 !important; }
  .ma .mc-table td { padding: 0 !important; border: 0 !important; text-align: left !important; }
  .ma .mc-table td.yr { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 8px; }
  .ma .mc-table td.yr .yr-word { display: inline; }
  .ma .mc-table td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: .72rem; font-weight: 800; letter-spacing: .02em; color: var(--text); }
  .ma .mc-table .bar { margin-left: 0; max-width: 120px; }
  .ma .mc-table .is-big b { margin-right: 0; margin-left: -6px; }
  .ma .mc-table .ahead { font-size: .9rem; }
  .ma .mc-table .ahead b { display: inline; margin-left: 4px; }
  .ma .mc-table td.c-mile { order: 1; }
  .ma .mc-table td.c-act { order: 2; }
  .ma .mc-table td.c-best { order: 3; }
  .ma .mc-table td.cap { order: 4; }
  .ma .mc-table td.ahead { order: 5; grid-column: 1 / -1; }
  .ma .mc-table tfoot tr { border-top: 2px solid var(--ink); border-bottom: 0; }
  .ma .mc-table tfoot .ahead br { display: none; }
  .ma .mc-table tr.sale td { padding: 6px 0 12px !important; border-bottom: 1px solid var(--border) !important; }
  .ma-scroll { overflow: visible; margin: 0; padding: 0; }
}
/* -- */
.ma-years-box { margin-top: var(--s5); }
.ma-tablebar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s2); margin: 0 0 var(--s3); }
.ma-tablebar h2 { margin: 0; }
.ma-scroll { overflow-x: auto; margin: 0 -4px; padding: 0 4px; } /* the table never widens the page: below 560 px the AU three-column table scrolls inside its box */
.ma .mc-table { min-width: 620px; }
.ma .mc-table .cap { font-size: .82rem; } /* the 'of which' columns: smaller and muted, so the two totals still lead */
.ma .mc-table td.cap, .ma .mc-table th.cap { color: var(--text); }
.ma-work td { padding: 0 0 6px !important; border-bottom: 1px solid var(--border); text-align: left !important; }
.ma-work details { margin: 0; border: 0; background: none; border-radius: 0; }
.ma-work summary { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-height: 44px; padding: 0; font-size: .85rem; font-weight: 700; color: var(--link); list-style: none; }
.ma-work summary::-webkit-details-marker { display: none; }
.ma-work summary svg { width: 14px; height: 14px; transition: transform .2s ease; }
.ma-work details[open] summary { border: 0; margin: 0; }
.ma-work details[open] summary svg { transform: rotate(180deg); }
.ma-working { display: grid; gap: var(--s3); padding: var(--s3); margin: 0 0 6px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); font-size: .82rem; line-height: 1.45; }
@media (min-width: 720px) { .ma-working { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ma-working h3 { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; font-size: .82rem; }
.ma-working ol { margin: 0; padding: 0; list-style: none; }
.ma-working li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 3px 0; border-bottom: 1px dotted var(--border); color: var(--text); }
.ma-working li b { color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ma-working li code { grid-column: 1 / -1; background: none; border: 0; padding: 0; font-family: var(--font); font-size: .76rem; font-style: italic; color: var(--text); }
.ma-working li.sum { border-bottom: 0; border-top: 1.5px solid var(--ink); margin-top: 2px; }
.ma-working li.sum span { color: var(--ink); font-weight: 700; }

/* the sticky bar on phones and tablets (under 1100 px): live totals and a jump to the result */
.ma-bar { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: var(--s3); padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: #053D2E; color: #FFFFFF; box-shadow: 0 -8px 24px rgba(3, 28, 20, .3); transition: transform .2s ease; }
.ma-bar.is-hidden { transform: translateY(110%); }
.ma-bar div { flex: 1; min-width: 0; line-height: 1.2; }
.ma-bar small { display: block; font-size: .75rem; color: #A7F3D0; font-weight: 700; }
.ma-bar b { color: #FACC15; font-size: 1.05rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.ma-bar .btn-gold { min-height: 44px; padding: 0 16px; border-radius: 12px; font-size: .95rem; white-space: nowrap; }
@media (min-width: 1100px) { .ma-bar { display: none; } }
.ma-has-bar { padding-bottom: 72px; }
@media (min-width: 1100px) { .ma-has-bar { padding-bottom: 0; } }

/* ---------- Reduce Motion: the final state, nothing moves ---------- */
@media (prefers-reduced-motion: reduce) {
  .mc-step.is-out, .mc-step.is-in { animation: none; }
  .mc-tile > span, .mc-num > span, .mc-seg i, .mc-split i, .ma-bar, .mc-switch .trk::after { transition: none; }
  .mc-tile.is-pop > span { animation: none; }
  .mc-chart.is-draw .ln, .mc-chart.is-draw .gapband { animation: none; stroke-dashoffset: 0; opacity: 1; }
  .mc-celebrate .sparkles { display: none; }
  .mc-leaf, .mc-leaf.is-on { animation: none; opacity: 1; transform: none; }
}

/* ======================================================================================================
   PRINT: the one-page client summary (/for-accountants only). Everything else is hidden.
   ====================================================================================================== */
.ma-print { display: none; }
@media print {
  @page { size: auto; margin: 14mm 14mm 12mm; }
  html, body { background: #FFFFFF !important; color: #14261F !important; font-size: 9.5pt; }
  body.ma-page > *:not(main), body.ma-page main > *:not(.ma-print), .ma-bar { display: none !important; }
  .ma-print { display: block !important; color: #14261F; font: 9.5pt/1.4 var(--font); }
  .ma-print * { color-adjust: exact; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .mp-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12pt; padding-bottom: 6pt; border-bottom: 2pt solid #0B7A55; }
  .mp-head h1 { margin: 0; font-size: 16pt; line-height: 1.15; color: #14261F; letter-spacing: -.01em; }
  .mp-head p { margin: 2pt 0 0; font-size: 9pt; color: #4A5A52; }
  .mp-brand { display: flex; align-items: center; gap: 4pt; font-weight: 800; font-size: 10pt; white-space: nowrap; }
  .mp-brand svg { width: 14pt; height: 15pt; }
  .mp-verdict { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8pt; margin: 10pt 0; break-inside: avoid; }
  .mp-v { padding: 8pt 10pt; border-radius: 6pt; border: 1pt solid #DCE8E1; }
  .mp-v.lead { background: #F6FAF7; border-color: #0B7A55; }
  .mp-v small { display: block; font-size: 8pt; color: #4A5A52; font-weight: 700; }
  .mp-v b { display: block; font-size: 15pt; line-height: 1.15; font-variant-numeric: tabular-nums; }
  .mp-v.lead b { font-size: 12.5pt; }
  .mp-v.win { border: 1.5pt solid #CA8A04; }
  .mp-v .mp-more { margin-left: 4pt; color: #A16207; letter-spacing: .04em; }
  .mp-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 12pt; break-inside: avoid; }
  .mp-grid h2 { margin: 0 0 4pt; font-size: 10pt; letter-spacing: 0; }
  .ma-print .mc-chart svg { height: auto !important; }
  .ma-print .mc-chart text { font-size: 7.5pt; fill: #4A5A52; }
  .ma-print .mc-chart .lbl-end { fill: #14261F; font-size: 8pt; }
  .ma-print .mc-chart .mk { stroke: #FFFFFF; }
  .ma-print .mc-legend { font-size: 8pt; color: #14261F; }
  .ma-print .mc-table { font-size: 8.5pt; min-width: 0; }
  .ma-print .mc-table th, .ma-print .mc-table td { padding: 3pt 3pt; border-color: #DCE8E1; }
  .ma-print .mc-table thead th { font-size: 7.5pt; }
  .ma-print .mc-table .bar { display: none; }
  .ma-print .mc-table tfoot td { border-top: 1.2pt solid #14261F; font-size: 9pt; }
  .ma-print .mc-table .is-big b { background: #FEF3C7; }
  .ma-print .mc-table tfoot .ahead b { background: #FACC15; }
  .mp-inputs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2pt 12pt; margin: 10pt 0 0; padding: 8pt 0 0; border-top: 1pt solid #DCE8E1; break-inside: avoid; }
  .mp-inputs h2 { grid-column: 1 / -1; margin: 0 0 2pt; font-size: 10pt; }
  .mp-inputs div { display: flex; justify-content: space-between; gap: 6pt; padding: 1.5pt 0; border-bottom: .5pt dotted #DCE8E1; font-size: 8.3pt; }
  .mp-inputs dt { color: #4A5A52; } .mp-inputs dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
  .mp-inputs .ed dd::after { content: " *"; color: #A16207; }
  .mp-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 10pt; margin-top: 10pt; break-inside: avoid; font-size: 8.3pt; }
  .mp-notes h2 { margin: 0 0 2pt; font-size: 9pt; }
  .mp-notes p { margin: 0 0 3pt; }
  .mp-foot { margin-top: 10pt; padding-top: 6pt; border-top: 1pt solid #DCE8E1; display: flex; justify-content: space-between; gap: 12pt; font-size: 7.5pt; color: #4A5A52; }
  /* Web-design 8 Oct: 7 years in a long language fit one page (es, pt-BR, fr, ro, pl and US Letter ran to a second page) */
  .ma-print .mc-table { line-height: 1.2; }
  .ma-print .mc-table th, .ma-print .mc-table td { padding: 2pt 3pt; }
  .ma-print .mc-table .ahead { font-size: 7.5pt; line-height: 1.15; }
  .ma-print .mc-table .ahead b { font-size: 8.5pt; }
  .ma-print .mc-table tr.sale td { font-size: 7.5pt; line-height: 1.25; }
  .mp-verdict { margin: 8pt 0; }
  .mp-inputs { margin-top: 8pt; padding-top: 6pt; }
  .mp-notes { margin-top: 8pt; line-height: 1.3; }
  .mp-foot { margin-top: 8pt; padding-top: 5pt; break-before: avoid; }
  body.ma-page, body.ma-page main { display: block !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important; }
  .mp-verdict { grid-template-columns: 1.9fr 1fr 1fr; }
  .mp-head h1 { font-size: 14pt; }
  .mp-v.lead b { font-size: 11pt; line-height: 1.2; }
  .mp-v { padding: 6pt 9pt; }
  .mp-v.lead p { line-height: 1.3; }
  .mp-inputs div { padding: 1pt 0; font-size: 8pt; }
  /* a grid row won't split across pages in Chromium, so the two note blocks are columns */
  .mp-notes { display: block; columns: 2; column-gap: 10pt; }
  .mp-notes > * { break-inside: avoid; }
}

/* ======================================================================================================
   Coding additions (7 Oct 2026): states the mock didn't draw, from the spec's §3, §8, §10
   ====================================================================================================== */
.mc-table .yr-word { display: none; }
.mc-table .yr b { white-space: nowrap; }
/* Australia: "best each year" column; on phones the driver table drops it to a sub-row under each year (spec §3.9) */
.mc-table .c-best b { color: var(--text); font-weight: 600; }
.mc-table tr.best-row td { padding-top: 0; font-size: .78rem; color: var(--text); text-align: left; border-bottom: 1px solid var(--border); }
.mc-table tr.has-best td { border-bottom: 0; }
@media (min-width: 600px) { .mc-table tr.best-row { display: none; } .mc-table tr.has-best td { border-bottom: 1px solid var(--border); } }
@media (max-width: 599px) { .mc .mc-table .c-best { display: none; } }
.mc-table .ahead.is-tie b { background: var(--surface-2); color: var(--ink); }
.mc-note { margin: var(--s2) 0 0; font-size: .8rem; color: var(--text); line-height: 1.45; }
.hero .mc-note, .mc-card .mc-note { color: #D1FAE5; }
/* hi, pa and bn need a little more line height; zh-Hans never hyphenates (spec §8) */
:lang(hi) .mc-hint, :lang(pa) .mc-hint, :lang(bn) .mc-hint, :lang(hi) .mc-why, :lang(pa) .mc-why, :lang(bn) .mc-why,
:lang(hi) .mc-tile small, :lang(pa) .mc-tile small, :lang(bn) .mc-tile small { line-height: 1.55; }
:lang(zh-Hans) .mc-tile > span { hyphens: manual; }
/* the optional "What do you do?" chips under the role tiles, and the "Is it any of these?" chip */
.mc-opt { margin: var(--s4) 0 0; }
.mc-opt .mc-sub-q { margin-top: 0; }
.mc-opt .mc-sub-q small { font-weight: 500; color: #D1FAE5; }
/* a small error line on the green card (an exact number out of range) */
.mc-err { margin: 6px 0 0; font-size: .85rem; font-weight: 700; color: #FDE68A; }
/* sending: a 16 px spinner in the button (Reduce Motion: no spin) */
.mc-spin { display: inline-block; width: 16px; height: 16px; margin-right: 8px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; vertical-align: -3px; animation: mc-spin .8s linear infinite; }
@keyframes mc-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .mc-spin { animation: none; border-right-color: currentColor; opacity: .5; } }
.mc-thanks .mc-leaf { margin: 0; flex: none; }
.mc-thanks p { margin: 0; }
.mc-dnt { margin: 0 0 var(--s3); font-size: .85rem; color: var(--text); }
/* the accountant's news tick and the consent line by the email */
.mc-consent-line { margin: var(--s3) 0 0; font-size: .85rem; line-height: 1.45; color: var(--text); }
/* the "Copied." toast (accountants) */
.ma-toast { position: fixed; z-index: 30; left: 50%; bottom: 96px; transform: translateX(-50%); padding: 10px 16px; border-radius: 999px; background: #14261F; color: #FFFFFF; font-weight: 700; font-size: .9rem; box-shadow: 0 10px 30px rgba(3, 28, 20, .3); }
@media (min-width: 1100px) { .ma-toast { bottom: 32px; } }
.ma-row[hidden], .ma-arow[hidden] { display: none; }
.ma-group.is-off { opacity: .55; }
.ma-route { margin: 0 0 var(--s3); padding: 10px 12px; border-radius: 12px; background: var(--surface-2); font-size: .85rem; color: var(--ink); }
/* no JavaScript: the rule of thumb (spec §10) */
.mc-noscript { padding: var(--s4); border-radius: 18px; background: rgba(3, 28, 20, .3); color: #FFFFFF; font-size: .95rem; line-height: 1.5; }
.mc-noscript p { margin: 0 0 var(--s2); }
.mc-noscript ul { margin: 0; padding-left: 1.2em; }
.mc-noscript li + li { margin-top: 6px; }
.ma .mc-noscript { background: var(--surface-2); color: var(--ink); margin-bottom: var(--s4); }

/* PRINT for drivers: the result, the table and the small print on one page; no questions, share or research */
@media print {
  body.mc-page { background: #FFFFFF !important; color: #14261F !important; }
  body.mc-page .site-header, body.mc-page .site-footer, body.mc-page .skip, body.mc-page .mc-share, body.mc-page .mc-research,
  body.mc-page .mc-app, body.mc-page .mc-answers, body.mc-page .mc-assume button, body.mc-page .sparkles, body.mc-page .mc-chart,
  body.mc-page .mc-legend, body.mc-page .mc-box-sub { display: none !important; }
  body.mc-page .hero { background: none !important; color: #14261F !important; padding: 0 !important; }
  body.mc-page .hero::before, body.mc-page .hero::after { display: none !important; }
  body.mc-page .mc-verdict { background: none !important; box-shadow: none !important; padding: 0 !important; color: #14261F !important; }
  body.mc-page .mc-verdict * { color: #14261F !important; text-shadow: none !important; }
  body.mc-page .mc-gap { font-size: 28pt !important; }
  body.mc-page .mc-method { background: none; box-shadow: inset 0 0 0 1px #DCE8E1; }
  body.mc-page .mc-method.is-win { box-shadow: inset 0 0 0 1.5pt #CA8A04; }
  body.mc-page .mc-detail { padding: 8pt 0 0; }
  body.mc-page .mc-detail .wrap { display: block; }
  body.mc-page .mc-box { box-shadow: none; border-color: #DCE8E1; break-inside: avoid; }
  body.mc-page .mc-table .bar { display: none; }
  body.mc-page .mc-table * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
/* the money line by country (plan §8.1): beside the card on desktop; under the trust line on phones, so the gold Start
   button stays in the first screen (spec §2.1 budget) */
.mc-money { margin: 0; color: #F0FDF7; line-height: 1.5; text-wrap: pretty; }
.mc-money-desk { display: none; }
.mc-money-phone { margin-top: var(--s4); font-size: .9rem; color: #D1FAE5; text-align: left; }
@media (min-width: 900px) { .mc-money-desk { display: block; margin-top: var(--s4); max-width: 30rem; font-size: 1rem; } .mc-money-phone { display: none; } }
.hero.ma-hero p.ma-under { margin-top: 6px; font-size: .85rem; color: #A7F3D0; }
.mc-col { min-width: 0; }
/* the driver's year table never widens the page: it scrolls inside its card if a long currency or language needs it */
.mc-tscroll { overflow-x: auto; margin: 0 -4px; padding: 0 4px; }
.mc-table .ahead b { white-space: nowrap; }
@media (max-width: 479px) { .mc .mc-table .ahead { font-size: .7rem; } .mc .mc-table .ahead b { font-size: .82rem; } .mc .mc-table th, .mc .mc-table td { padding-left: 3px; padding-right: 3px; } }
/* "Swipe to see more →" under the year table, only while it's wider than its card (calc.js swipeHint) */
.mc-swipe { margin: 6px 0 0; font-size: .8rem; font-weight: 700; color: var(--brand); text-align: right; }

/* Web-design sign-off 8 Oct: the verdict heading takes focus on the result (tabindex -1) but shows no ring, as .mc-q;
   the sale line stays in view and wraps to the card while the table scrolls sideways; the rate source is a link */
#mc-res-h1:focus { outline: none; }
.mc-tscroll { container-type: inline-size; }
.mc-table tr.sale .mc-sale-t { display: block; position: sticky; left: 0; max-width: 100cqi; }
.ma-working li code a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
/* 320 px in long languages: "22 000 £GB" and "Rzeczywiste koszty" fit their tile; segmented pairs wrap a long word */
@media (max-width: 360px) {
  .mc-method { padding: var(--s3) 10px; }
  .mc-method-name { font-size: .8rem; gap: 5px; }
  .ma .flag-chip span { font-size: .84rem; }
}
.mc-method-name { overflow-wrap: anywhere; }
/* the totals scale with the pair's width, so "100.178 US$" fits half of a 320 px card */
.mc-vs { container-type: inline-size; }
.mc-vs .mc-method-total { font-size: clamp(1rem, 6cqi, 1.45rem); }
.ma-seg span { overflow-wrap: anywhere; padding: 4px 6px; }
/* 320-399 px: the leaf stays on the number line ("19 638 $US" left it alone on the next line) */
@media (max-width: 399px) { .mc-verdict .mc-gap { font-size: 12vw; } }
