/*
 * 1.8.0: interactive elements on the 17 calculator pages, in the v3 design (myac-v3.css tokens).
 * Result panel additions (units, milestones, live countdown, next ten birthdays, birth-date window,
 * calendar file button), quick-form additions (folded fields, time and zone), "Try this example"
 * buttons, table search and sort, and the article elements built by MYAC_Elements.
 * Everything is scoped to .myac-v3, so the theme and its header and footer are untouched.
 */

/* Quick form: folded optional fields */
.myac-v3 .mv3-fold { border-radius: 14px; background: var(--mv3-mist); }
.myac-v3 .mv3-fold > summary { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; cursor: pointer; list-style: none; color: var(--mv3-navy); font-size: 15px; font-weight: 700; line-height: 1.35; }
.myac-v3 .mv3-fold > summary::-webkit-details-marker { display: none; }
.myac-v3 .mv3-fold > summary svg { flex: 0 0 auto; color: var(--mv3-emerald); transition: transform 0.2s ease; }
.myac-v3 .mv3-fold[open] > summary svg { transform: rotate(45deg); }
.myac-v3 .mv3-fold__body { display: flex; flex-direction: column; gap: 18px; padding: 4px 14px 16px; }

/* Result panel additions (navy background) */
.myac-v3 .mv3-units { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin: 10px 0 0; }
.myac-v3 .mv3-units > div { min-width: 0; padding: 12px 14px; border-radius: 14px; background: var(--mv3-navy-2); }
.myac-v3 .mv3-units dt { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mv3-on-navy); }
.myac-v3 .mv3-units dd { margin: 2px 0 0; color: #ffffff; font-size: 20px; font-weight: 800; line-height: 1.3; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.myac-v3 .mv3-units dd span { display: block; font-size: 13px; font-weight: 600; color: var(--mv3-on-navy); }
/* A number never breaks inside itself. --mv3-em is the widest figure in em (set by tool-page.js), so every card
   uses one size that fits the card. Older browsers without container units keep the wrap. */
@supports (font-size: 1cqi) {
  .myac-v3 .mv3-units > div { container-type: inline-size; }
  .myac-v3 .mv3-units dd { font-size: min(20px, calc(100cqi / var(--mv3-em, 8.2))); white-space: nowrap; overflow-wrap: normal; }
  .myac-v3 .mv3-units dd span { white-space: normal; }
}
.myac-v3 .mv3-units + .mv3-note-dark, .myac-v3 .mv3-miles + .mv3-note-dark, .myac-v3 .mv3-live__row + .mv3-note-dark { margin-top: 8px; }

.myac-v3 .mv3-live__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.myac-v3 .mv3-live__cell { display: flex; flex-direction: column; align-items: center; padding: 10px 4px; border-radius: 14px; background: var(--mv3-navy-2); }
.myac-v3 .mv3-live__cell strong { color: #ffffff; font-size: clamp(22px, 3vw, 30px); font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.myac-v3 .mv3-live__cell span { font-size: 12px; font-weight: 700; color: var(--mv3-on-navy); }
/* 1.11.1: on the narrowest phones the four counter boxes leave room round "minutes" and "seconds". */
@media (max-width: 360px) {
  .myac-v3 .mv3-live__row { gap: 4px; }
  .myac-v3 .mv3-live__cell { padding: 10px 2px; }
  .myac-v3 .mv3-live__cell span { font-size: 11px; }
}

.myac-v3 .mv3-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.myac-v3 .mv3-strip li { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 10px 12px; border-radius: 14px; background: var(--mv3-navy-2); }
.myac-v3 .mv3-strip li.is-weekend { box-shadow: inset 0 0 0 1.5px var(--mv3-mint); }
.myac-v3 .mv3-strip__y { font-size: 12px; font-weight: 700; color: var(--mv3-on-navy); font-variant-numeric: tabular-nums; }
.myac-v3 .mv3-strip strong { color: #ffffff; font-size: clamp(14px, 4vw, 16px); font-weight: 800; overflow-wrap: normal; word-break: normal; hyphens: none; }
.myac-v3 .mv3-strip__s { font-size: 12px; color: var(--mv3-on-navy); }

.myac-v3 .mv3-miles { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.myac-v3 .mv3-miles li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "k add" "v add" "s add"; column-gap: 12px; align-items: center; margin: 0; padding: 8px 12px; border-radius: 14px; background: var(--mv3-navy-2); }
.myac-v3 .mv3-miles li.is-done { opacity: 0.72; }
.myac-v3 .mv3-miles__k { grid-area: k; font-size: 13px; font-weight: 700; color: var(--mv3-on-navy); }
.myac-v3 .mv3-miles__v { grid-area: v; color: #ffffff; font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
.myac-v3 .mv3-miles__s { grid-area: s; font-size: 12px; color: var(--mv3-on-navy); }
.myac-v3 .mv3-miles__add,
.myac-v3 .mv3-miles__add:hover,
.myac-v3 .mv3-miles__add:focus { grid-area: add; min-height: 44px; margin: 0; padding: 0 14px; border: 1px solid var(--mv3-navy-edge); border-radius: 12px; background: transparent; box-shadow: none; color: #ffffff; font-family: var(--mv3-font); font-size: 14px; font-weight: 700; text-transform: none; letter-spacing: normal; cursor: pointer; }
.myac-v3 .mv3-miles__add:hover { background: rgba(255, 255, 255, 0.06); }

.myac-v3 .mv3-cal { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.myac-v3 .mv3-cal .mv3-btn { min-height: 44px; }

.myac-v3 .mv3-window { display: flex; flex-direction: column; gap: 10px; }
.myac-v3 .mv3-window__row { display: grid; grid-template-columns: 48px minmax(0, 1fr); grid-template-areas: "y track" ". t"; gap: 4px 10px; align-items: center; }
.myac-v3 .mv3-window__y { grid-area: y; color: #ffffff; font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.myac-v3 .mv3-window__track { grid-area: track; position: relative; height: 14px; border-radius: 7px; background: var(--mv3-navy-line); overflow: hidden; }
.myac-v3 .mv3-window__track i { position: absolute; top: 0; bottom: 0; background: var(--mv3-mint); border-radius: 7px; }
.myac-v3 .mv3-window__t { grid-area: t; font-size: 13px; color: var(--mv3-on-navy); }

/* "Try this example" */
.myac-v3 .mv3-prose .mv3-try { display: flex; flex-wrap: wrap; gap: 8px; max-width: none; }
.myac-v3 .mv3-try__btn,
.myac-v3 .mv3-try__btn:hover,
.myac-v3 .mv3-try__btn:focus { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 0; padding: 0 16px; border: 1.5px solid var(--mv3-tint-line); border-radius: 999px; background: var(--mv3-tint); box-shadow: none; color: var(--mv3-emerald); font-family: var(--mv3-font); font-size: 15px; font-weight: 800; line-height: 1.2; text-transform: none; letter-spacing: normal; cursor: pointer; }
.myac-v3 .mv3-try__btn:hover { border-color: var(--mv3-emerald); }
.myac-v3 .mv3-try__btn svg { flex: 0 0 auto; }

/* Table search and sort */
.myac-v3 .mv3-tbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 10px; }
.myac-v3 .mv3-tbar input.mv3-input, .myac-v3 .mv3-tbar select.mv3-input { flex: 1 1 220px; width: auto; height: 48px; font-size: 16px; font-weight: 600; }
.myac-v3 .mv3-tbar__more,
.myac-v3 .mv3-tbar__more:hover,
.myac-v3 .mv3-tbar__more:focus { align-self: flex-start; min-height: 44px; margin-top: 10px; padding: 0 18px; border: 1.5px solid var(--mv3-field); border-radius: 12px; background: #ffffff; color: var(--mv3-navy); font-family: var(--mv3-font); font-size: 15px; font-weight: 800; text-transform: none; letter-spacing: normal; cursor: pointer; }
.myac-v3 .mv3-tbar__n { flex: 0 0 auto; font-size: 13px; font-weight: 700; color: var(--mv3-grey); font-variant-numeric: tabular-nums; }
.myac-v3 table.mv3-grid tr.is-you td { background: var(--mv3-tint); }
.myac-v3 .mv3-fit { display: inline-block; margin-left: 8px; padding: 1px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; vertical-align: 1px; }
.myac-v3 .mv3-fit.is-ok { background: var(--mv3-tint); color: var(--mv3-emerald); box-shadow: inset 0 0 0 1px var(--mv3-tint-line); }
.myac-v3 .mv3-fit.is-no { background: var(--mv3-red-bg); color: var(--mv3-red); }
/* Phones: grid cells stack label and value; the badge stays in the value column, under the value. */
@media (max-width: 600px) { .myac-v3 table.mv3-grid td > .mv3-fit { grid-column: 2; justify-self: start; margin-left: 0; } }

/* Article elements */
.myac-v3 .mv3-x { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.myac-v3 .mv3-x > p, .myac-v3 .mv3-x .mv3-x__lead { margin: 0; max-width: 720px; }
.myac-v3 .mv3-x__lead { color: var(--mv3-navy); font-weight: 800; }
.myac-v3 .mv3-x__src, .myac-v3 .mv3-x__note { margin: 0; font-size: 14px; color: var(--mv3-grey); }
.myac-v3 .mv3-x__list { margin: 0; padding-left: 20px; list-style: disc; display: flex; flex-direction: column; gap: 6px; }
.myac-v3 .mv3-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.myac-v3 .mv3-filters select.mv3-input { flex: 1 1 220px; width: auto; }
.myac-v3 .mv3-filters .mv3-chips { flex: 1 1 100%; }
.myac-v3 .mv3-check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; font-weight: 700; color: var(--mv3-navy); cursor: pointer; }
.myac-v3 .mv3-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--mv3-emerald); }
.myac-v3 .mv3-code { display: inline-block; max-width: 100%; padding: 2px 6px; border-radius: 6px; background: var(--mv3-mist); color: var(--mv3-navy); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; word-break: normal; }
.myac-v3 .mv3-formula__mine { padding: 16px; border-radius: 16px; background: var(--mv3-tint); display: flex; flex-direction: column; gap: 8px; }
.myac-v3 .mv3-formula__mine p { margin: 0; }

/* Slider */
.myac-v3 .mv3-slider { display: flex; flex-direction: column; gap: 14px; padding: clamp(16px, 2.4vw, 24px); border-radius: 20px; background: var(--mv3-mist); }
.myac-v3 .mv3-slider__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.myac-v3 .mv3-slider__head label { color: var(--mv3-navy); font-size: 15px; font-weight: 700; }
.myac-v3 .mv3-slider__val { color: var(--mv3-navy); font-size: 32px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.myac-v3 .mv3-slider__range { width: 100%; height: 44px; margin: 0; accent-color: var(--mv3-emerald); cursor: pointer; }
.myac-v3 .mv3-slider__out { display: flex; flex-direction: column; gap: 8px; min-height: 64px; }
.myac-v3 .mv3-slider__lead { margin: 0; color: var(--mv3-navy); font-weight: 800; }
.myac-v3 .mv3-slider__list { margin: 0; padding-left: 20px; list-style: disc; display: flex; flex-direction: column; gap: 6px; }
.myac-v3 .mv3-slider__list .is-none { list-style: none; margin-left: -20px; color: var(--mv3-grey); }
.myac-v3 .mv3-slider__next { margin: 0; font-size: 14px; color: var(--mv3-grey); }
.myac-v3 .mv3-slider__scale { margin: 0; padding: 14px 0 0; border-top: 1px solid var(--mv3-line); list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--mv3-slate); }
.myac-v3 .mv3-slider__scale strong { color: var(--mv3-navy); }

/* History timelines */
.myac-v3 .mv3-hist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.myac-v3 .mv3-hist li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "when age" "what what" "you you"; gap: 4px 12px; margin: 0; padding: 14px 0 14px 26px; border-left: 2px solid var(--mv3-line); }
.myac-v3 .mv3-hist li::before { content: ""; position: absolute; left: -8px; top: 18px; width: 14px; height: 14px; border-radius: 50%; background: #ffffff; box-shadow: inset 0 0 0 3px var(--mv3-emerald); }
.myac-v3 .mv3-hist li.is-you::before { background: var(--mv3-emerald); }
.myac-v3 .mv3-hist__when { grid-area: when; color: var(--mv3-navy); font-weight: 800; }
.myac-v3 .mv3-hist__age { grid-area: age; align-self: start; padding: 2px 10px; border-radius: 999px; background: var(--mv3-navy); color: #ffffff; font-size: 14px; font-weight: 800; white-space: nowrap; }
.myac-v3 .mv3-hist__what { grid-area: what; font-size: 15px; color: var(--mv3-slate); }
.myac-v3 .mv3-hist__src { display: block; margin-top: 4px; font-size: 13px; color: var(--mv3-grey); }
.myac-v3 .mv3-hist__you { grid-area: you; color: var(--mv3-emerald); font-size: 14px; font-weight: 800; }

/* Vehicle picker and licence ladder */
.myac-v3 .mv3-pick { display: flex; flex-direction: column; gap: 8px; padding: clamp(16px, 2.4vw, 24px); border-radius: 20px; background: var(--mv3-mist); }
.myac-v3 .mv3-pick__out { display: flex; flex-direction: column; gap: 6px; }
.myac-v3 .mv3-pick__out p { margin: 0; }
.myac-v3 .mv3-pick__age strong { color: var(--mv3-navy); font-size: 28px; font-weight: 800; margin-right: 6px; }
.myac-v3 .mv3-pick__note { font-size: 14px; color: var(--mv3-amber); font-weight: 600; }
.myac-v3 .mv3-pick__you { color: var(--mv3-emerald); font-weight: 800; }
.myac-v3 .mv3-ladder { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.myac-v3 .mv3-ladder > li { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 14px; border-radius: 16px; box-shadow: 0 0 0 1px var(--mv3-line); }
.myac-v3 .mv3-ladder > li.is-done { background: var(--mv3-tint); box-shadow: 0 0 0 1px var(--mv3-tint-line); }
.myac-v3 .mv3-ladder__age { color: var(--mv3-navy); font-size: 28px; font-weight: 800; line-height: 1; }
.myac-v3 .mv3-ladder__t { margin: 0; padding-left: 16px; list-style: disc; display: flex; flex-direction: column; gap: 4px; font-size: 13px; line-height: 1.45; color: var(--mv3-slate); }
.myac-v3 .mv3-ladder__t li { display: list-item; }
.myac-v3 .mv3-ladder__you { font-size: 13px; font-weight: 800; color: var(--mv3-emerald); }
@media (max-width: 600px) { .myac-v3 .mv3-ladder { grid-template-columns: minmax(0, 1fr); } }

/* Step lists, year lists, chart, leap strip */
.myac-v3 .mv3-xsteps { margin: 0; padding-left: 22px; list-style: decimal; display: flex; flex-direction: column; gap: 8px; max-width: 720px; }
.myac-v3 .mv3-xsteps li { padding-left: 4px; }
.myac-v3 .mv3-xsteps__col p { margin: 0; max-width: 720px; }
.myac-v3 .mv3-years { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.myac-v3 .mv3-years li { margin: 0; padding: 6px 12px; border-radius: 999px; background: var(--mv3-mist); color: var(--mv3-navy); font-weight: 800; font-variant-numeric: tabular-nums; }
.myac-v3 .mv3-figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.myac-v3 .mv3-figure figcaption { font-size: 14px; color: var(--mv3-slate); }
.myac-v3 .mv3-chart { width: 100%; height: auto; border-radius: 16px; background: var(--mv3-mist); }
.myac-v3 .mv3-chart__grid { stroke: var(--mv3-line); stroke-width: 1; }
.myac-v3 .mv3-chart__t { fill: var(--mv3-grey); font-family: var(--mv3-font); font-size: 12px; font-weight: 700; }
.myac-v3 .mv3-chart__line { fill: none; stroke: var(--mv3-emerald); stroke-width: 3; stroke-linejoin: round; }
.myac-v3 .mv3-leapstrip { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; }
.myac-v3 .mv3-leapstrip li { margin: 0; padding: 8px 4px; border-radius: 10px; text-align: center; font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; background: var(--mv3-tint); color: var(--mv3-emerald); }
.myac-v3 .mv3-leapstrip li.is-400 { background: var(--mv3-emerald); color: #ffffff; }
.myac-v3 .mv3-leapstrip li.is-skip { background: var(--mv3-red-bg); color: var(--mv3-red); text-decoration: line-through; }
.myac-v3 .mv3-leapstrip li.is-you { box-shadow: 0 0 0 3px var(--mv3-navy); }
.myac-v3 .mv3-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Tap-two-dates calendar */
.myac-v3 .mv3-cal2 { display: flex; flex-direction: column; gap: 12px; padding: clamp(14px, 2.4vw, 24px); border-radius: 20px; background: var(--mv3-mist); }
.myac-v3 .mv3-cal2__nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.myac-v3 .mv3-cal2__nav .mv3-btn,
.myac-v3 .mv3-cal2__nav .mv3-btn:hover,
.myac-v3 .mv3-cal2__nav .mv3-btn:focus { width: 44px; min-height: 44px; padding: 0; color: var(--mv3-navy); border-color: var(--mv3-field); background: #ffffff; font-size: 22px; }
.myac-v3 .mv3-cal2__title { color: var(--mv3-navy); font-size: 18px; font-weight: 800; }
.myac-v3 .mv3-cal2__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.myac-v3 .mv3-cal2__wd { padding: 4px 0; text-align: center; font-size: 12px; font-weight: 700; color: var(--mv3-grey); }
.myac-v3 .mv3-cal2__d,
.myac-v3 .mv3-cal2__d:hover,
.myac-v3 .mv3-cal2__d:focus { min-width: 0; min-height: 44px; margin: 0; padding: 0; border: 0; border-radius: 10px; background: #ffffff; box-shadow: none; color: var(--mv3-navy); font-family: var(--mv3-font); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; text-transform: none; letter-spacing: normal; cursor: pointer; }
.myac-v3 .mv3-cal2__d.is-we { background: var(--mv3-mist-2); color: var(--mv3-grey); }
.myac-v3 .mv3-cal2__d.is-hol { background: var(--mv3-amber-bg); color: var(--mv3-amber); box-shadow: inset 0 0 0 1px var(--mv3-amber-line); }
.myac-v3 .mv3-cal2__d.is-in { background: var(--mv3-tint); color: var(--mv3-emerald); }
.myac-v3 .mv3-cal2__d.is-sel { background: var(--mv3-emerald); color: #ffffff; box-shadow: none; }
.myac-v3 .mv3-cal2__d.is-today { outline: 2px solid var(--mv3-navy); outline-offset: -2px; }
.myac-v3 .mv3-cal2__out { margin: 0; color: var(--mv3-slate); }
.myac-v3 .mv3-cal2__key { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0; font-size: 13px; color: var(--mv3-grey); }
.myac-v3 .mv3-cal2__key > span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.myac-v3 .mv3-cal2__key i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; }
.myac-v3 .mv3-cal2__key i.k-we { background: var(--mv3-mist-2); box-shadow: inset 0 0 0 1px var(--mv3-field); }
.myac-v3 .mv3-cal2__key i.k-hol { background: var(--mv3-amber-bg); box-shadow: inset 0 0 0 1px var(--mv3-amber-line); }
.myac-v3 .mv3-cal2__key i.k-sel { background: var(--mv3-emerald); }
.myac-v3 .mv3-cal2__key i.k-leap { background: var(--mv3-tint); box-shadow: inset 0 0 0 1px var(--mv3-tint-line); }
.myac-v3 .mv3-cal2__key i.k-400 { background: var(--mv3-emerald); }
.myac-v3 .mv3-cal2__key i.k-skip { background: var(--mv3-red-bg); box-shadow: inset 0 0 0 1px var(--mv3-red); }

/* 1.14.0: class list, corrected age, upcoming leap days, countdown full screen */
.myac-v3 .mv3-corr__row { display: flex; flex-wrap: wrap; gap: 10px; }
.myac-v3 .mv3-corr__row select.mv3-input { flex: 1 1 140px; width: auto; }
.myac-v3 .mv3-cl__text { min-height: 140px; resize: vertical; line-height: 1.5; }
.myac-v3 table.mv3-grid tr.is-error td { color: var(--mv3-amber); font-weight: 600; }
.myac-v3 table.mv3-grid[data-you="0"] th:last-child, .myac-v3 table.mv3-grid[data-you="0"] td:last-child { display: none; }
.myac-v3 .mv3-live__acts { margin-top: 10px; }
html.mv3-fs-open { overflow: hidden; }
.myac-v3.mv3-fs { position: fixed; inset: 0; z-index: 2147483000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(16px, 3vh, 32px); padding: clamp(16px, 4vw, 48px); background: var(--mv3-navy); color: #ffffff; text-align: center; overflow: auto; }
.myac-v3.mv3-fs .mv3-fs__k { margin: 0; font-size: clamp(22px, 4vw, 44px); font-weight: 800; color: #ffffff; }
.myac-v3.mv3-fs .mv3-fs__h { margin: 0; font-size: clamp(15px, 2vw, 22px); color: var(--mv3-on-navy); }
.myac-v3.mv3-fs .mv3-fs__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 2vw, 24px); width: min(100%, 1100px); }
.myac-v3.mv3-fs .mv3-fs__cell { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: clamp(12px, 2.4vw, 28px) 4px; border-radius: 20px; background: var(--mv3-navy-2); min-width: 0; }
.myac-v3.mv3-fs .mv3-fs__cell strong { font-size: clamp(32px, 10vw, 140px); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; color: #ffffff; }
.myac-v3.mv3-fs .mv3-fs__cell span { font-size: clamp(12px, 1.6vw, 18px); font-weight: 700; color: var(--mv3-on-navy); }
@media (max-width: 480px) { .myac-v3.mv3-fs .mv3-fs__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 1.14.0: Government Jobs range bars (quick result list and More options result cards) */
.myac-v3 .mv3-allposts { border-top: 1px solid var(--mv3-navy-line); padding-top: 12px; }
.myac-v3 .mv3-allposts > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: #ffffff; font-weight: 800; }
.myac-v3 .mv3-allposts > .mv3-note-dark { margin: 4px 0 10px; }
.myac-v3 .mv3-rbl { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.myac-v3 .mv3-rbl li { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 14px; background: var(--mv3-navy-2); }
.myac-v3 .mv3-rbl__h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.myac-v3 .mv3-rbl__h a { color: #ffffff; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.myac-v3 .mv3-rbl__s { font-size: 13px; font-weight: 800; color: var(--mv3-mint); }
.myac-v3 .mv3-rbl li.is-out .mv3-rbl__s { color: #ffd98a; }
.myac-v3 .mv3-rbl__t { margin: 0; font-size: 13px; color: var(--mv3-on-navy); }
.mv3-rb { position: relative; height: 22px; margin: 4px 0; }
.mv3-rb__track { position: absolute; left: 0; right: 0; top: 9px; height: 4px; border-radius: 4px; background: #8e9bad; }
.mv3-rb__band { position: absolute; top: 5px; height: 12px; min-width: 3px; border-radius: 6px; background: #2f9e7e; }
.mv3-rb__you { position: absolute; top: 0; width: 4px; height: 22px; margin-left: -2px; border-radius: 2px; background: #ffffff; box-shadow: 0 0 0 2px #0f2747; }
.mv3-rb.is-out .mv3-rb__you { background: #f5b942; }
.myac-calculator .mv3-rb__you { background: #0f2747; box-shadow: 0 0 0 2px #ffffff; }
.myac-calculator .mv3-rb.is-out .mv3-rb__you { background: #8a5300; }
.mv3-rb__key { margin: 0; font-size: 13px; color: #5b6b80; }
.myac-v3 .mv3-allposts > summary { list-style: none; gap: 12px; }
.myac-v3 .mv3-allposts > summary::-webkit-details-marker { display: none; }
.myac-v3 .mv3-allposts > summary::after { content: ""; flex: 0 0 auto; width: 9px; height: 9px; margin-left: auto; border-right: 2px solid #ffffff; border-bottom: 2px solid #ffffff; transform: rotate(45deg); }
.myac-v3 .mv3-allposts[open] > summary::after { transform: rotate(-135deg); }
.myac-v3 .mv3-rbf { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.myac-v3 .mv3-rbf .mv3-btn { min-height: 44px; font-size: 14px; }
.myac-v3 .mv3-rbf .mv3-btn[aria-pressed="true"] { background: #ffffff; color: var(--mv3-navy); border-color: #ffffff; }
.myac-v3 .mv3-rbl > li[hidden] { display: none; }

/* 1.15.0: fixes from the 1.14.0 live check */
.myac-v3 .mv3-cellwrap { display: block; min-width: 0; }
.myac-v3.mv3-fs .mv3-fs__note { margin: 0; max-width: 720px; font-size: clamp(13px, 1.6vw, 16px); color: var(--mv3-on-navy); }
.myac-v3.mv3-fs .mv3-btn--primary.mv3-fs__exit { width: min(100%, 360px); }

/* 1.15.0: marriage law tabs (one panel at a time once the script runs) */
.myac-v3 .mv3-tabs[hidden], .myac-v3 .mv3-lawpanel[hidden] { display: none; }
.myac-v3 .mv3-lawpanels { display: flex; flex-direction: column; gap: 16px; }
.myac-v3 .mv3-lawpanel { display: flex; flex-direction: column; gap: 12px; padding: clamp(16px, 2.4vw, 24px); border-radius: 20px; background: var(--mv3-mist); }
.myac-v3 .mv3-law { display: grid; grid-template-columns: minmax(140px, 220px) minmax(0, 1fr); gap: 10px 20px; margin: 0; }
.myac-v3 .mv3-law dt { margin: 0; color: var(--mv3-navy); font-weight: 800; }
.myac-v3 .mv3-law dd { margin: 0; min-width: 0; }
@media (max-width: 600px) {
  .myac-v3 .mv3-law { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .myac-v3 .mv3-law dd + dt { margin-top: 10px; }
}

/* 1.15.0: senior citizen tax switch (the chosen regime's column stands out) */
.myac-v3 .mv3-tax__seg { align-self: flex-start; max-width: 100%; }
.myac-v3 table.mv3-grid[data-regime="old"] td:nth-child(2),
.myac-v3 table.mv3-grid[data-regime="new"] td:nth-child(3) { color: var(--mv3-navy); font-weight: 800; }

/* 1.15.0: class by age chart (one group at a time once the script runs) */
.myac-v3 .mv3-cc__groups { display: flex; flex-direction: column; gap: 20px; }
.myac-v3 .mv3-cc__group { display: flex; flex-direction: column; gap: 10px; }
.myac-v3 .mv3-cc__group[hidden] { display: none; }
.myac-v3 .mv3-cc__track { position: relative; display: block; width: 100%; min-width: 120px; height: 14px; border-radius: 7px; background: var(--mv3-mist-2); overflow: hidden; }
.myac-v3 .mv3-cc__track i { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(15, 39, 71, 0.14); }
.myac-v3 .mv3-cc__track b { position: absolute; top: 2px; bottom: 2px; border-radius: 5px; background: var(--mv3-emerald); }
.myac-v3 .mv3-cc__track u { position: absolute; top: 0; bottom: 0; width: 3px; margin-left: -1px; background: var(--mv3-navy); text-decoration: none; }
.myac-v3 .mv3-cc__track u[hidden] { display: none; }
@media (min-width: 601px) { .myac-v3 .mv3-cc__track { min-width: 220px; } }

/* 1.20.0: age at death (Date of Birth from Age) and the school class pathway */
.myac-v3 .mv3-death__row { display: flex; flex-wrap: wrap; gap: 10px; }
.myac-v3 .mv3-death__f { flex: 1 1 70px; min-width: 0; display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: var(--mv3-grey); }
.myac-v3 .mv3-death__f .mv3-input { width: 100%; min-width: 0; }
.myac-v3 .mv3-cc__path { margin: 0; font-size: 14px; line-height: 1.55; }
.myac-v3 .mv3-cc__path[hidden] { display: none; }
