/* ============================================================
   PROSPA FINANCIAL — LEAD MAGNET STYLESHEET
   Ported from the Prospa Financial Design System (tokens.css +
   styles.css). Every value flows from the tokens below; no
   magnet file should introduce a raw brand colour of its own.
   ============================================================ */

:root {
  /* Brand */
  --teal: #135f69;
  --teal-700: #0f4c54;
  --teal-900: #0a363c;
  --green: #5dce38;
  --green-600: #4eb52d;
  /* The brand green is a graphic colour: at 2.03:1 it cannot carry white text
     and at 2.49:1 it cannot be small text on a tint. --green-text is the same
     hue taken down until it reads — 5.08:1 on --bg1, 5.38:1 on white. Use the
     brand green for surfaces and marks; use this one for words. */
  --green-text: #35791d;
  --accent: #d0dfe1;

  /* Warm accent — one use per page, maximum */
  --ember: #c65a1e;
  --ember-strong: #a8481a;
  --ember-soft: #f9ece2;

  /* Backgrounds */
  --bg0: #ffffff;
  --bg1: #f2fbef;
  --bg2: #f3f7f7;

  /* Neutrals / text */
  --ink: #121212;
  --ink-2: #1f2124;
  --slate: #33373d;
  --gray: #616773;
  --line: #e6ecec;
  --line-2: #ededed;
  --white: #ffffff;

  /* Feedback */
  --danger: #d8584f;
  --amber: #d79a27;
  --amber-soft: #fdf4e3;

  /* Shadows */
  --sh-card: rgba(19, 95, 105, 0.08) 0 0 60px 0;
  --sh-raise: rgba(19, 95, 105, 0.12) 0 8px 60px 0;
  --sh-glow: rgba(19, 95, 105, 0.62) 0 0 20px 0;

  /* Radii */
  --r-sm: 10px;
  --r-md: 15px;
  --r-lg: 20px;
  --r-xl: 30px;
  --r-pill: 100px;

  /* Layout */
  --maxw: 1080px;
  --docw: 860px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-snap: 250ms;
  --dur-base: 300ms;
  --dur-reveal: 500ms;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: var(--slate);
  background: var(--bg2);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  font-size: 16px;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Poppins', sans-serif;
  color: var(--ink);
  margin: 0;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

code,
.mono {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

/* ============ DOCUMENT SHELL ============ */
/* Every magnet is a "sheet": a white instrument on a tinted desk. */

.sheet {
  max-width: var(--docw);
  margin: 0 auto 56px;
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-card);
  overflow: hidden;
}

.sheet-wide {
  max-width: var(--maxw);
}

.pad {
  padding: 56px 64px;
}

/* ---- Masthead ---- */
.masthead {
  padding: 34px 64px 30px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.lockup img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

.lockup-name b {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--teal);
  line-height: 1.1;
}

.lockup-name span {
  display: block;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gray);
  text-transform: uppercase;
  margin-top: 3px;
}

.masthead-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}

.sheet-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 26px;
  padding: 0 9px;
  border-radius: var(--r-pill);
  background: var(--teal);
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.06em;
}

/* ---- Document head ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  flex: none;
}

.doc-title {
  font-size: 42px;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.doc-title em {
  font-style: normal;
  color: var(--green-600);
}

.lede {
  color: var(--gray);
  font-size: 17px;
  max-width: 60ch;
}

.sec-head {
  margin-bottom: 30px;
  max-width: 64ch;
}

.sec-head h2 {
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.sec-head p {
  color: var(--gray);
  font-size: 16px;
}

h3.step-h {
  font-size: 20px;
  margin-bottom: 8px;
}

.sub-h {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
  margin: 0 0 16px;
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 44px 0;
}

/* ============ PRIMITIVES ============ */

.btn {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  border-radius: 12px;
  padding: 15px 30px;
  transition: background var(--dur-base) var(--ease),
    transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease),
    gap var(--dur-base) var(--ease), color var(--dur-base) var(--ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Dark ink on the brand green, not white. White measured 2.03:1 here — the
   main call to action on all twelve sheets. The design system already sets
   #0a363c on green elsewhere, so this aligns with it rather than inventing a
   treatment: 6.45:1 at rest, 4.96:1 on the --green-600 hover. */
.btn-primary {
  background: var(--green);
  color: var(--teal-900);
  box-shadow: 0 6px 18px rgba(93, 206, 56, 0.32);
}

/* There was no focus style on .btn at all, so every button on every sheet fell
   back to a UA ring that Chrome suppresses on a mouse-adjacent click. */
.btn:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.btn-primary:focus-visible,
.btn-teal:focus-visible {
  outline-color: var(--teal-900);
  outline-offset: 2px;
}

.btn-primary:hover:not(:disabled) {
  background: var(--green-600);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(93, 206, 56, 0.4);
}

.btn-teal {
  background: var(--teal);
  color: #fff;
}

.btn-teal:hover:not(:disabled) {
  background: var(--teal-700);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
  padding: 13px 28px;
}

.btn-outline:hover:not(:disabled) {
  background: var(--teal);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--teal);
  padding: 13px 8px;
  font-weight: 700;
}

.btn-ghost:hover:not(:disabled) {
  gap: 14px;
}

.btn-sm {
  font-size: 14px;
  padding: 11px 22px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  letter-spacing: 0.02em;
}

.badge-green {
  background: var(--bg1);
  color: var(--green-text);
}

.badge-teal {
  background: var(--bg2);
  color: var(--teal);
}

.badge-ember {
  background: var(--ember-soft);
  color: var(--ember-strong);
}

.badge .d {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

/* ---- Cards ---- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
}

.card-tint {
  background: var(--bg2);
  border-color: transparent;
}

.card-green {
  background: var(--bg1);
  border-color: transparent;
}

.grid {
  display: grid;
  gap: 18px;
}

/* minmax(0, 1fr), not 1fr: a grid track's default min-width is auto, so one
   long unbreakable string pushes the track wider than its share and the whole
   sheet scrolls sideways. */
.g2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.g3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.g4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ---- Icon chip ---- */
.ic {
  width: 52px;
  height: 52px;
  border-radius: var(--r-sm);
  background: var(--bg1);
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex: none;
}

.ic svg {
  width: 24px;
  height: 24px;
}

/* ---- Numbered marker ---- */
.num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  flex: none;
}

/* .num sets white; on the brand green that is 2.03:1. */
.num-green {
  background: var(--green);
  color: var(--teal-900);
}

/* ---- Data figures ---- */
.figure {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.fig-xl {
  font-size: 40px;
}

.fig-lg {
  font-size: 28px;
}

.fig-md {
  font-size: 20px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat .k {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ---- Tables ---- */
.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.tbl th {
  text-align: left;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  padding: 0 16px 12px 0;
  border-bottom: 1px solid var(--line);
}

.tbl td {
  padding: 15px 16px 15px 0;
  border-bottom: 1px solid var(--line-2);
  vertical-align: top;
  color: var(--slate);
}

.tbl tr:last-child td {
  border-bottom: none;
}

.tbl td b {
  color: var(--ink);
  font-weight: 600;
}

.tbl .n {
  font-family: 'JetBrains Mono', monospace;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--ink);
}

.tbl-tight td {
  padding: 11px 16px 11px 0;
}

/* ---- Form controls ---- */
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
}

.field .hint {
  font-size: 12.5px;
  color: var(--gray);
}

.field input[type='number'],
.field input[type='text'],
.field select,
.field textarea {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  width: 100%;
  transition: border-color var(--dur-base) var(--ease),
    box-shadow var(--dur-base) var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(19, 95, 105, 0.1);
}

.field textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.6;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrap .affix {
  position: absolute;
  left: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--gray);
  pointer-events: none;
}

.input-wrap .affix.suf {
  left: auto;
  right: 14px;
}

.input-wrap:has(.affix:not(.suf)) input {
  padding-left: 30px;
}

.input-wrap:has(.affix.suf) input {
  padding-right: 34px;
}

input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--line);
  outline: none;
  margin: 10px 0 0;
}

input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal);
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(19, 95, 105, 0.35);
}

input[type='range']::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal);
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(19, 95, 105, 0.35);
}

/* Write-in lines for printed worksheets */
.writeline {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: var(--ink);
  padding: 10px 2px;
  width: 100%;
  transition: border-color var(--dur-base) var(--ease);
}

.writeline:focus {
  outline: none;
  border-bottom-color: var(--teal);
}

/* ---- Checklist ---- */
.check {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-2);
}

.check:last-child {
  border-bottom: none;
}

.check input[type='checkbox'] {
  appearance: none;
  -webkit-appearance: none;
  width: 21px;
  height: 21px;
  border: 2px solid var(--line);
  border-radius: 6px;
  flex: none;
  margin: 2px 0 0;
  cursor: pointer;
  position: relative;
  transition: background var(--dur-snap) var(--ease),
    border-color var(--dur-snap) var(--ease);
}

.check input[type='checkbox']:checked {
  background: var(--green);
  border-color: var(--green);
}

.check input[type='checkbox']:checked::after {
  content: '';
  position: absolute;
  left: 5.5px;
  top: 1.5px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.check input[type='checkbox']:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.check label {
  font-size: 15.5px;
  color: var(--slate);
  cursor: pointer;
  line-height: 1.5;
}

/* ============ COMPLIANCE + FOOTER ============ */

.disclaimer {
  background: var(--bg2);
  border-radius: var(--r-md);
  padding: 22px 26px;
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}

.disclaimer b {
  color: var(--slate);
  font-weight: 600;
}

.sheet-foot {
  background: var(--teal-900);
  color: #cfe0e2;
  padding: 36px 64px;
  font-size: 13px;
  line-height: 1.65;
}

.sheet-foot .foot-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.sheet-foot b {
  color: #fff;
  font-weight: 600;
}

.sheet-foot a {
  color: var(--green);
  font-weight: 600;
}

.sheet-foot a:hover {
  text-decoration: underline;
}

.sheet-foot .afsl {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
  color: #b8d4d7; /* was #9fbdc0 — 4.29:1, under AA at 12px. Now 5.48:1. */
}

.foot-contact {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
}

/* ---- Back link ---- */
.backbar {
  max-width: var(--docw);
  margin: 0 auto;
  padding: 26px 0 18px;
}

.backbar.wide {
  max-width: var(--maxw);
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--teal);
  transition: gap var(--dur-base) var(--ease);
}

.back:hover {
  gap: 13px;
}

/* ============ UTILITIES ============ */

.stack-s > * + * {
  margin-top: 10px;
}
.stack > * + * {
  margin-top: 18px;
}
.stack-l > * + * {
  margin-top: 32px;
}
.row {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.muted {
  color: var(--gray);
}
.small {
  font-size: 13.5px;
}
.tiny {
  font-size: 12px;
}
.center {
  text-align: center;
}
.nowrap {
  white-space: nowrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 900px) {
  .g3,
  .g4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15.5px;
  }
  .pad {
    padding: 34px 24px;
  }
  .masthead,
  .sheet-foot {
    padding-left: 24px;
    padding-right: 24px;
  }
  .sheet {
    border-radius: var(--r-lg);
    margin-bottom: 32px;
  }
  .doc-title {
    font-size: 30px;
  }
  .sec-head h2 {
    font-size: 23px;
  }
  .g2,
  .g3,
  .g4 {
    grid-template-columns: 1fr;
  }
  .fig-xl {
    font-size: 32px;
  }
  .backbar {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============ PRINT — every magnet prints clean to A4/PDF ============ */

@media print {
  @page {
    size: A4;
    margin: 14mm 13mm;
  }

  body {
    background: #fff;
    font-size: 10.5pt;
    line-height: 1.45;
  }

  .sheet {
    max-width: none;
    margin: 0;
    box-shadow: none;
    border-radius: 0;
  }

  .pad {
    padding: 0 0 14pt;
  }

  .masthead {
    padding: 0 0 12pt;
  }

  .no-print {
    display: none !important;
  }

  .card,
  .disclaimer,
  .tbl,
  .check,
  .sheet-foot {
    break-inside: avoid;
  }

  .page-break {
    break-before: page;
  }

  .sheet-foot {
    padding: 14pt 0 0;
    background: #fff;
    color: var(--gray);
    border-top: 1.5pt solid var(--teal);
  }

  .sheet-foot b,
  .sheet-foot a {
    color: var(--teal);
  }

  .sheet-foot .afsl {
    color: var(--gray);
  }

  .doc-title {
    font-size: 24pt;
  }

  .sec-head h2 {
    font-size: 15pt;
  }

  .writeline {
    border-bottom: 1px solid #c8d4d4;
  }

  a[href^='http']::after {
    content: '';
  }
}

/* ============================================================
   INTERACTION COMPONENTS
   Shortcut tracker · strike lists · swipe-file fan · ebook.
   Behaviour lives in assets/components.js.
   ============================================================ */

/* ---------- 1 · Shortcuts ---------- */

.shortcut {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-2);
}
.shortcut:last-of-type {
  border-bottom: none;
}
.shortcut-ic {
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  background: var(--bg2);
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: background var(--dur-base) var(--ease), color var(--dur-base) var(--ease);
}
.shortcut-ic svg {
  width: 21px;
  height: 21px;
}
.shortcut.claimed .shortcut-ic {
  background: var(--green);
  color: #fff;
}
.shortcut-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.shortcut-head b {
  font-size: 16.5px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.35;
}
.shortcut p {
  font-size: 14.5px;
  color: var(--gray);
}
.shortcut .tradeoff {
  display: block;
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--slate);
  background: var(--bg2);
  border-radius: var(--r-sm);
  padding: 11px 15px;
}
.shortcut .tradeoff b {
  color: var(--ember-strong);
  font-weight: 600;
}

/* The saves-you chips */
.sc-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.sc-chip svg {
  width: 13px;
  height: 13px;
  flex: none;
}
.sc-chip b {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  letter-spacing: 0;
}
.sc-green {
  background: var(--bg1);
  color: var(--green-600);
}
.sc-teal {
  background: var(--bg2);
  color: var(--teal);
}
.sc-ember {
  background: var(--ember-soft);
  color: var(--ember-strong);
}
.sc-slate {
  background: #f1f2f4;
  color: var(--slate);
}
.shortcut-saves {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

/* Claim toggle */
.claim {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 9px 16px 9px 12px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  background: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  transition: border-color var(--dur-snap) var(--ease), color var(--dur-snap) var(--ease),
    background var(--dur-snap) var(--ease);
}
.claim:hover {
  border-color: var(--accent);
  color: var(--teal);
}
.claim .claim-box {
  width: 17px;
  height: 17px;
  border-radius: 5px;
  border: 2px solid var(--line);
  flex: none;
  position: relative;
  transition: background var(--dur-snap) var(--ease), border-color var(--dur-snap) var(--ease);
}
.claim[aria-pressed='true'] {
  border-color: var(--green);
  background: var(--bg1);
  color: var(--green-600);
}
.claim[aria-pressed='true'] .claim-box {
  background: var(--green);
  border-color: var(--green);
}
.claim[aria-pressed='true'] .claim-box::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.5px;
  width: 4px;
  height: 8.5px;
  border: solid #fff;
  border-width: 0 2.4px 2.4px 0;
  transform: rotate(45deg);
}
.claim:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* The tally */
.sc-tally {
  background: var(--teal);
  border-radius: var(--r-xl);
  padding: 32px 36px;
  color: #fff;
}
.sc-tally-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.sc-tally-k {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9fd8c4;
  margin-bottom: 8px;
}
.sc-tally-n {
  font-family: 'JetBrains Mono', monospace;
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.sc-tally-n i {
  font-style: normal;
  font-size: 16px;
  color: #9fbdc0;
}
.sc-tally-track {
  flex: 1;
  min-width: 160px;
  height: 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}
.sc-tally-track i {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: var(--green);
  transform-origin: left center;
  transition: transform var(--dur-reveal) var(--ease);
}
.sc-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.sc-tally .sc-chip {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.sc-tally-note {
  font-size: 14px;
  color: #cfe0e2;
  max-width: 62ch;
}

/* ---------- 2 · Strike lists ---------- */

.check label,
.audit-q b,
.strike-row .strike-label {
  transition: color var(--dur-base) var(--ease), opacity var(--dur-base) var(--ease);
}
.check.struck label,
.audit-q.struck b,
.strike-row.struck .strike-label {
  text-decoration: line-through;
  text-decoration-color: var(--green);
  text-decoration-thickness: 2px;
  color: var(--gray);
}
.check.struck label .sub,
.audit-q.struck p {
  opacity: 0.55;
}
/* A line-through propagates to descendants and a child cannot switch it off.
   Making the sub-line an atomic inline box keeps the rule from reaching it. */
.check label .sub {
  display: inline-block;
  width: 100%;
}
.audit-q.struck .num {
  background: var(--green);
  color: var(--teal-900);
}
.check.struck .sub {
  text-decoration: none;
}

/* ---------- 3 · Swipe-file fan ---------- */

.fan {
  --fan-card-w: 16rem;
}
.fan-stage {
  position: relative;
  width: 100%;
  height: 34rem;
  perspective: 1600px;
  margin-bottom: 6px;
}
.fan-cards {
  position: absolute;
  inset: 0;
}
.fan-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--fan-card-w);
  aspect-ratio: 4 / 7;
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease), opacity 0.4s var(--ease);
  will-change: transform;
}
.fan-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.65s var(--ease);
}
.fan-card.is-turned .fan-inner {
  transform: rotateY(180deg);
}
.fan-face {
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--sh-card);
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.fan-card.is-centre .fan-face {
  box-shadow: var(--sh-raise);
}
.fan-front {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
}
.fan-front:focus-visible,
.fan-back:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}
.fan-art {
  position: relative;
  flex: 1;
  min-height: 0;
  background: var(--tint);
  display: flex;
  align-items: center;
  justify-content: center;
}
.fan-art::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 26%;
  background: linear-gradient(to bottom, transparent, #fff);
}
.fan-art-mark {
  color: var(--teal);
  opacity: 0.3;
}
.fan-art-mark svg {
  width: 34%;
  max-width: 76px;
  height: auto;
  display: block;
}
.fan-front-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  background: #fff;
  padding: 0 clamp(14px, 7%, 22px) clamp(16px, 7%, 24px);
  position: relative;
  z-index: 1;
}
.fan-title {
  font-size: clamp(15px, 7.5cqw, 19px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.fan-len {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
}

.fan-back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(13px, 5%, 18px);
  overflow-y: auto;
}
.fan-back-head {
  display: flex;
  align-items: center;
  gap: 13px;
}
.fan-art-sm {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: var(--tint);
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  opacity: 0.85;
}
.fan-art-sm svg {
  width: 20px;
  height: 20px;
}
.fan-meta {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 6px;
}
.fan-back-title {
  font-size: 16.5px;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}
.fan-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
}
.fan-body {
  font-size: 12.5px;
  color: var(--gray);
  line-height: 1.45;
}
.fan-inside-k {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
}
.fan-inside ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.fan-inside li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--ink);
  line-height: 1.35;
}
.fan-inside li svg {
  width: 14px;
  height: 14px;
  flex: none;
  margin-top: 3px;
  color: var(--green-600);
}
.fan-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: stretch;
  padding-top: 6px;
}
.fan-actions .btn {
  width: 100%;
  justify-content: center;
}
/* The turn-back is a quiet text action: it must not cost a button's height. */
.fan-actions .btn-ghost {
  padding: 5px 8px;
  font-size: 12.5px;
}
.fan-actions .btn-primary {
  padding: 11px 18px;
  font-size: 14px;
}

.fan-status {
  text-align: center;
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 14px;
}
.fan-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.fan-nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--dur-snap) var(--ease), background var(--dur-snap) var(--ease),
    opacity var(--dur-snap) var(--ease);
}
.fan-nav svg {
  width: 17px;
  height: 17px;
}
.fan-nav:hover:not(:disabled) {
  border-color: var(--teal);
  background: var(--bg2);
}
.fan-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.fan-nav:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.fan-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.fan-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--line);
  cursor: pointer;
  transition: background var(--dur-snap) var(--ease), width var(--dur-snap) var(--ease);
}
.fan-dot.on {
  background: var(--green);
  width: 22px;
  border-radius: var(--r-pill);
}
.fan-dot:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* ---------- 4 · Ebook ---------- */

/* A class rule beats the [hidden] attribute's UA style, so say it explicitly
   or the closed book stays on screen once the reader opens. */
.book-closed[hidden],
.book-reader[hidden] {
  display: none;
}
.book-closed {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 44px;
  align-items: center;
}
.book-cover-btn {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  perspective: 900px;
  display: block;
  border-radius: var(--r-md);
}
.book-cover-btn:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
}
.book-3d {
  position: relative;
  display: block;
  width: 240px;
  aspect-ratio: 49 / 60;
  transform-style: preserve-3d;
  transition: transform var(--dur-base) var(--ease);
}
.book-cover-btn:hover .book-3d,
.book-cover-btn:focus-visible .book-3d {
  transform: rotateY(-20deg) translateX(-8px);
}
.book-front {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--sh-card);
  transition: box-shadow var(--dur-base) var(--ease);
}
.book-cover-btn:hover .book-front {
  box-shadow: var(--sh-raise);
}
.book-art {
  position: relative;
  flex: 1;
  min-height: 0;
  background: linear-gradient(150deg, var(--bg2) 0%, var(--bg1) 55%, #e8f4ec 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.book-art::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(to bottom, transparent, #fff);
}
.book-art-mark {
  color: var(--teal);
  opacity: 0.32;
}
.book-art-mark svg {
  width: 72px;
  height: 72px;
  display: block;
}
.book-front-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  background: #fff;
  padding: 0 16px 20px 30px;
  position: relative;
  z-index: 1;
  text-align: left;
}
.book-title {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.book-sub {
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px;
  color: var(--gray);
  line-height: 1.4;
}
/* the binding: a soft shade on the spine and two fold lines */
.book-crease {
  position: absolute;
  inset: 0 auto 0 0;
  width: 13px;
  background: rgba(19, 95, 105, 0.05);
  pointer-events: none;
}
.book-crease::before,
.book-crease::after {
  content: '';
  position: absolute;
  inset-block: 0;
  width: 1px;
}
.book-crease::before {
  left: 13px;
  background: rgba(19, 95, 105, 0.1);
}
.book-crease::after {
  left: 17px;
  background: rgba(255, 255, 255, 0.7);
}
/* The page edge: a 30px face stood up on the book's right-hand side.
   `left: 0` is required — without it the element starts at its static
   position and the transform carries it off the book entirely. */
.book-edge {
  position: absolute;
  left: 0;
  top: 3px;
  height: calc(100% - 6px);
  width: 30px;
  background: var(--bg2);
  border-block: 1px solid var(--line);
  transform: translateX(221px) rotateY(90deg) translateX(16px);
}
.book-back {
  position: absolute;
  inset: 0;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--accent);
  transform: translateZ(-32px);
}
.book-aside-title {
  font-size: 27px;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}
.book-aside-sub {
  color: var(--gray);
  font-size: 16px;
  margin-bottom: 24px;
  max-width: 44ch;
}

/* --- Reader --- */
.book-stage {
  perspective: 2200px;
  padding: 10px 0 18px;
}
.book-stage:focus-visible {
  outline: none;
}
.book-sheets {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 800 / 540;
  transform-style: preserve-3d;
}
.book-sheets::before {
  /* the spine shade down the middle */
  content: '';
  position: absolute;
  inset-block: 0;
  left: 50%;
  width: 26px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(19, 95, 105, 0.07), transparent);
  pointer-events: none;
  z-index: 300;
}
.book-sheets.single::before {
  display: none;
}
/* At the cover only one page shows, so slide the spread across to centre it. */
.book-sheets {
  transition: transform 0.75s var(--ease);
}
.book-sheets.at-cover:not(.single) {
  transform: translateX(-25%);
}
.book-sheets.at-end:not(.single) {
  transform: translateX(25%);
}
.book-sheet {
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 100%;
  transform-origin: left center;
  transform-style: preserve-3d;
  transition: transform 0.75s var(--ease);
}
.book-sheet.flipped {
  transform: rotateY(-180deg);
}
.book-sheets.single .book-sheet {
  left: 0;
  width: 100%;
}
.book-page {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}
.book-page-front {
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  box-shadow: inset 14px 0 22px -16px rgba(19, 95, 105, 0.22);
}
.book-page-back {
  transform: rotateY(180deg);
  border-radius: var(--r-sm) 0 0 var(--r-sm);
  box-shadow: inset -14px 0 22px -16px rgba(19, 95, 105, 0.22);
}
.book-sheets.single .book-page {
  border-radius: var(--r-sm);
  box-shadow: none;
}
.book-pg {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(18px, 4.5%, 34px);
}
.book-pg-cover {
  padding: 0;
}
.book-art-page {
  flex: 1;
  min-height: 0;
}
.book-pg-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 0 clamp(18px, 5%, 32px) clamp(22px, 6%, 36px);
  position: relative;
  z-index: 1;
}
.book-pg-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(18px, 3cqw, 23px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.book-pg-sub {
  font-size: 13.5px;
  color: var(--gray);
}
.book-k {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}
.book-h {
  font-size: clamp(17px, 2.4cqw, 21px);
  letter-spacing: -0.02em;
  margin: 9px 0 12px;
}
.book-p {
  font-size: 13.5px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 11px;
}
.book-toc {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}
.book-toc li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 13.5px;
  color: var(--ink);
}
.book-toc em {
  font-style: normal;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--gray);
}
.book-stat {
  background: var(--bg1);
  border-radius: var(--r-sm);
  padding: 14px 18px;
  margin-bottom: 16px;
}
.book-stat b {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 24px;
  font-weight: 500;
  color: var(--green-600);
  letter-spacing: -0.03em;
}
.book-stat span {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 4px;
}
.book-pg-quote figure {
  margin: auto 0;
  border-left: 2px solid var(--green);
  padding-left: 20px;
}
.book-pg-quote blockquote p {
  font-size: clamp(16px, 2.3cqw, 20px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.book-pg-quote figcaption {
  margin-top: 12px;
  font-size: 12px;
  color: var(--gray);
}
.book-cta {
  align-self: flex-start;
  margin-top: 4px;
}
.book-foot {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}
.book-foot span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.book-blank {
  height: 100%;
  background: #fff;
}
/* Narrow screens: one page at a time, in the same frame as a spread page. */
.book-one {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  aspect-ratio: 400 / 540;
}
.book-one[hidden] {
  display: none;
}
.book-page-one {
  border-radius: var(--r-sm);
  box-shadow: var(--sh-card);
}
.book-sheets[hidden] {
  display: none;
}
.book-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.book-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gray);
  min-width: 150px;
  text-align: center;
}

@media (max-width: 860px) {
  .book-closed {
    grid-template-columns: 1fr;
    gap: 28px;
    justify-items: start;
  }
}
@media (max-width: 720px) {
  .book-sheets {
    aspect-ratio: 400 / 540;
    max-width: 400px;
  }
  .sc-tally {
    padding: 24px 22px;
  }
  .shortcut {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fan-card,
  .fan-inner,
  .book-sheet,
  .book-3d {
    transition-duration: 0.01ms !important;
  }
}

@media print {
  /* The fan prints as a plain list of fronts; the book prints its pages in order. */
  .fan-stage {
    height: auto;
    perspective: none;
  }
  .fan-cards {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10pt;
  }
  .fan-card {
    position: static;
    width: auto;
    aspect-ratio: auto;
    transform: none !important;
    opacity: 1 !important;
    break-inside: avoid;
  }
  .fan-inner {
    transform: none !important;
  }
  .fan-face {
    position: static;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
    box-shadow: none;
  }
  .fan-front {
    display: none;
  }
  .fan-back {
    transform: none !important;
    overflow: visible;
  }
  .fan-actions,
  .fan-controls,
  .fan-status {
    display: none;
  }
  .book-closed {
    display: none;
  }
  .book-reader[hidden] {
    display: block !important;
  }
  .book-stage {
    perspective: none;
  }
  .book-sheets {
    position: static;
    aspect-ratio: auto;
    max-width: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10pt;
  }
  .book-sheets::before {
    display: none;
  }
  .book-sheet {
    position: static;
    width: auto;
    height: auto;
    transform: none !important;
    display: contents;
  }
  .book-page {
    position: static;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
    transform: none !important;
    min-height: 92mm;
    box-shadow: none;
    break-inside: avoid;
  }
  .book-controls {
    display: none;
  }
  .sc-tally {
    background: var(--bg2);
    color: var(--slate);
  }
  .sc-tally-k,
  .sc-tally-note {
    color: var(--gray);
  }
  .sc-tally-n {
    color: var(--teal);
  }
  .sc-tally .sc-chip {
    background: #fff;
    color: var(--teal);
    border: 1px solid var(--line);
  }
  .claim {
    display: none;
  }
  .shortcut.claimed {
    background: var(--bg1);
    border-radius: var(--r-sm);
    padding-inline: 10pt;
  }
}

/* ============================================================
   NUMBER & INDICATOR WIDGETS
   Behaviour in assets/widgets.js. Ported from the Prospa
   calculator bento and the Health OS widget library.
   ============================================================ */

/* ---------- Score gauge ---------- */
.w-gaugebox {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}
.w-gauge {
  position: relative;
  width: 100%;
}
.w-gauge svg {
  display: block;
  width: 100%;
  overflow: visible;
}
.w-gauge-face {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  text-align: center;
}
.w-gauge-n {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.w-gauge-u {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 6px;
}
.w-gauge-cap {
  text-align: center;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--gray);
  margin-top: 14px;
}
.w-gauge-ticked .w-gauge-n {
  font-size: 38px;
}

/* On a dark panel */
.on-dark .w-gauge-n {
  color: #fff;
}
.on-dark .w-gauge-u,
.on-dark .w-gauge-cap {
  color: #9fbdc0;
}

/* ---------- Metric strip ---------- */
.w-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.w-metric {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 20px;
  min-width: 0;
}
.w-metric-k {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
}
.w-metric-v {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-top: 9px;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.w-metric-n {
  display: block;
  font-size: 12px;
  color: var(--gray);
  margin-top: 7px;
  line-height: 1.4;
}
.w-metric-good {
  background: var(--bg1);
  border-color: transparent;
}
.w-metric-good .w-metric-v {
  color: var(--green-text);
}
.w-metric-warn {
  background: var(--ember-soft);
  border-color: transparent;
}
.w-metric-warn .w-metric-v {
  color: var(--ember-strong);
}
.w-metric-key {
  background: var(--teal);
  border-color: transparent;
}
.w-metric-key .w-metric-k {
  /* A mint that only exists on the teal panel — 4.56:1, so it holds, but it is
     the one colour here with no token behind it. */
  color: #9fd8c4;
}
.w-metric-key .w-metric-v {
  color: var(--white);
}
.w-metric-key .w-metric-n {
  color: var(--accent);
}

/* ---------- Breakdown bar ---------- */
.w-breakdown-bar {
  display: flex;
  height: 20px;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--line);
}
.w-breakdown-bar span {
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
}
.w-breakdown-key {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.w-breakdown-key li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 14.5px;
  color: var(--slate);
}
.w-breakdown-key li:last-child {
  border-bottom: none;
}
.w-breakdown-key i {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  flex: none;
}
.w-breakdown-key span {
  flex: 1;
  min-width: 0;
}
.w-breakdown-key em {
  font-style: normal;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13.5px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.w-breakdown-key b {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--gray);
  min-width: 42px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* ---------- Goal progress ---------- */
.w-goal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.w-goal-k {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
}
.w-goal-flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg1);
  color: var(--green-600);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--r-pill);
}
.w-goal-flag svg {
  width: 12px;
  height: 12px;
}
.w-goal-v {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  letter-spacing: -0.03em;
  margin: 14px 0;
  font-variant-numeric: tabular-nums;
}
.w-goal-v b {
  font-weight: 500;
  color: var(--ink);
}
.w-goal-v span {
  color: var(--gray);
  font-size: 17px;
}
.w-goal-track {
  height: 12px;
  border-radius: 6px;
  background: var(--line);
  overflow: hidden;
}
.w-goal-track i {
  display: block;
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--teal), var(--green));
  transform: scaleX(0);
  transform-origin: left center;
}
.w-goal-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 9px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--gray);
}

/* ---------- Progress rows ---------- */
.w-row {
  padding: 13px 0;
  border-bottom: 1px solid var(--line-2);
}
.w-row:last-child {
  border-bottom: none;
}
.w-row-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 9px;
}
.w-row-top span {
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 600;
}
.w-row-top b {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  color: var(--teal);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.w-row-track {
  height: 7px;
  border-radius: 4px;
  background: var(--line);
  overflow: hidden;
}
.w-row-track i {
  display: block;
  height: 100%;
  border-radius: 4px;
  transform: scaleX(0);
  transform-origin: left center;
}
.w-row-note {
  display: block;
  font-size: 12.5px;
  color: var(--gray);
  margin-top: 8px;
}

/* ---------- Comparison ---------- */
.w-compare-row {
  display: flex;
  align-items: stretch;
}
.w-compare-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.w-compare-right {
  align-items: flex-end;
  text-align: right;
}
.w-compare-k {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
}
.w-compare-v {
  font-family: 'JetBrains Mono', monospace;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.w-compare-muted {
  color: var(--gray);
}
.w-compare-rule {
  position: relative;
  width: 1px;
  background: var(--line);
  margin: 0 24px;
  flex: none;
}
.w-compare-rule span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--white);
  padding: 5px 2px;
  font-size: 11px;
  color: var(--gray);
}
.w-compare-note {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--slate);
  text-align: center;
}

/* ---------- Donut ---------- */
.w-donut-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.w-donut {
  position: relative;
  flex: none;
}
.w-donut-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
}
.w-donut-face span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
}
.w-donut-face b {
  font-family: 'JetBrains Mono', monospace;
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.w-donut-key {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  min-width: 170px;
}
.w-donut-key li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 14px;
  color: var(--slate);
}
.w-donut-key li:last-child {
  border-bottom: none;
}
.w-donut-key i {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  flex: none;
}
.w-donut-key span {
  flex: 1;
}
.w-donut-key b {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

/* ---------- Stepper ---------- */
.w-stepper {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.w-step {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 140px;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  background: var(--bg2);
  transition: background var(--dur-base) var(--ease);
}
.w-step-mark {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--gray);
  transition: background var(--dur-base) var(--ease), color var(--dur-base) var(--ease),
    border-color var(--dur-base) var(--ease);
}
.w-step-mark svg {
  width: 13px;
  height: 13px;
}
.w-step-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  line-height: 1.3;
}
.w-step-done .w-step-mark {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.w-step-done .w-step-label {
  color: var(--slate);
}
.w-step-now {
  background: var(--teal);
}
.w-step-now .w-step-mark {
  background: #fff;
  border-color: #fff;
  color: var(--teal);
}
.w-step-now .w-step-label {
  color: #fff;
}

/* ---------- Projection chart ---------- */
.w-chart svg {
  display: block;
  width: 100%;
  height: auto;
}
.w-chart-ax {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  fill: #616773;
}
.w-chart-target {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  fill: #a8481a;
}
.w-chart-end {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  fill: #135f69;
  font-weight: 500;
}

@media (max-width: 900px) {
  .w-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .w-metrics {
    grid-template-columns: 1fr;
  }
  .w-compare-rule {
    margin: 0 14px;
  }
  .w-compare-v {
    font-size: 21px;
  }
  .w-gauge-n {
    font-size: 40px;
  }
  .w-step {
    min-width: 0;
  }
  .w-step-label {
    font-size: 12px;
  }
}

@media print {
  .w-gauge-arc,
  .w-breakdown-bar span,
  .w-goal-track i,
  .w-row-track i,
  .w-chart-line {
    transition: none !important;
  }
  .w-breakdown-bar span,
  .w-goal-track i,
  .w-row-track i {
    transform: scaleX(1) !important;
  }
  .w-metric,
  .w-donut-wrap,
  .w-breakdown,
  .w-goal,
  .w-chart {
    break-inside: avoid;
  }
  .w-metric-key {
    background: var(--bg2);
  }
  .w-metric-key .w-metric-k,
  .w-metric-key .w-metric-n {
    color: var(--gray);
  }
  .w-metric-key .w-metric-v {
    color: var(--teal);
  }
}

/* ---------- Life path chart ---------- */
.w-lifepath svg {
  display: block;
  width: 100%;
  height: auto;
}
.w-lp-key {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  fill: #616773;
}
.w-lp-tick {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  fill: #135f69;
  font-weight: 500;
}
.w-lp-ticklabel {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  fill: #616773;
}
.w-lp-warn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  fill: #a8481a;
  font-weight: 500;
}
.w-lp-legend {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--gray);
}
.w-lp-legend li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.w-lp-legend i {
  width: 14px;
  height: 3px;
  border-radius: 2px;
  flex: none;
}
@media print {
  .w-lp-line {
    transition: none !important;
    stroke-dasharray: none !important;
    stroke-dashoffset: 0 !important;
  }
}

/* ============================================================
   IMAGERY — hero bands, plates, faded photo panels
   ------------------------------------------------------------
   One rule governs the whole system, and the print block at the
   end of this section enforces it:

       the hero band prints; every other image is screen-only.

   So a saved PDF still opens on a designed page, but it never
   turns into a brochure that drinks a cartridge of ink.

   The hero band never carries text — it is always above the
   title — so the title's contrast can never fail. .lm-photoband
   is the single place type sits on a picture, and it does so
   over a near-opaque scrim measured at 7.4:1, losing the
   photograph entirely in print.
   ============================================================ */

.lm-hero {
  position: relative;
  display: block;
  margin: 0;
  /* A direct child of .sheet, so it is already clipped by the
     sheet's radius and needs no radius of its own. */
  background: var(--bg2);
  overflow: hidden;
}

.lm-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Each magnet tunes this: the art pieces carry their subject
     off-centre, and a blind `center` crop decapitates them. */
  object-position: var(--lm-hero-pos, 50% 50%);
}

/* Aspect is set on the band, not the image, so the reserved space
   is correct before the file arrives and nothing reflows. */
.lm-hero {
  aspect-ratio: var(--lm-hero-ar, 2.7 / 1);
}

.lm-hero--tall {
  --lm-hero-ar: 2.1 / 1;
}

.lm-hero--short {
  --lm-hero-ar: 3.6 / 1;
}

/* Abstract line art: pale, delicate, already on-brand. It needs a
   hairline under it to separate it from the page, and nothing else. */
.lm-hero--art {
  background: #fbfcfc;
  border-bottom: 1px solid var(--line);
}

/* Photography: pulled toward the brand with a teal wash so a stock
   frame reads as Prospa's rather than as a stock frame. */
.lm-hero--photo img {
  filter: saturate(0.88) contrast(1.02);
}

.lm-hero--photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(19, 95, 105, 0.26) 0%,
    rgba(19, 95, 105, 0.1) 45%,
    rgba(255, 255, 255, 0.5) 100%
  );
  pointer-events: none;
}

/* Optional credit / context chip, bottom-left of the band. */
.lm-hero-cap {
  position: absolute;
  left: 64px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  box-shadow: var(--sh-card);
}

.lm-hero-cap::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

/* ---- Plate: an inline figure inside the document flow ---- */

.lm-plate {
  margin: 30px 0;
}

.lm-plate img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: #fbfcfc;
}

.lm-plate figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--gray);
}

.lm-plate--sm img {
  border-radius: var(--r-sm);
}

/* ---- Aside: a faded portrait beside a block of content ----
   The "faded customer image" treatment. The photograph is set
   back deliberately — it is atmosphere, never evidence, and it
   must never read as a named client or a claimed outcome. */

.lm-aside {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 30px;
  align-items: center;
  margin: 32px 0;
}

.lm-aside--flip {
  grid-template-columns: 1.18fr 0.82fr;
}

.lm-aside--flip .lm-aside-img {
  order: 2;
}

.lm-aside-img {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg2);
  aspect-ratio: var(--lm-aside-ar, 4 / 5);
}

.lm-aside-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--lm-aside-pos, 50% 35%);
  /* Faded, as asked: present enough to warm the page, quiet
     enough that the numbers stay the loudest thing on it. */
  opacity: 0.74;
  filter: saturate(0.82);
}

.lm-aside-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(19, 95, 105, 0.2) 0%, rgba(93, 206, 56, 0.1) 100%);
  pointer-events: none;
}

/* ---- Photo band: a full-bleed faded strip carrying one line ---- */

.lm-photoband {
  position: relative;
  margin: 42px -64px;
  padding: 48px 64px;
  overflow: hidden;
  background: var(--teal);
  isolation: isolate;
}

.lm-photoband img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--lm-band-pos, 50% 40%);
  opacity: 0.3;
  filter: saturate(0.6);
}

.lm-photoband::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(10, 54, 60, 0.82) 0%, rgba(19, 95, 105, 0.56) 100%);
}

.lm-photoband p {
  margin: 0;
  max-width: 34ch;
  color: #fff;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.02em;
}

.lm-photoband p em {
  font-style: normal;
  color: #a8e88f;
}

.lm-photoband .lm-band-k {
  display: block;
  margin-top: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #cfe3e5; /* was #9fc3c7 — 3.49:1 over a bright frame. Now 4.96:1. */
}

/* ---- Mark: a small circular art token, for cards and headings ---- */

.lm-mark {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* ---- Responsive ---- */

@media (max-width: 720px) {
  .lm-hero {
    --lm-hero-ar: 1.9 / 1;
  }
  .lm-hero--short {
    --lm-hero-ar: 2.4 / 1;
  }
  .lm-hero-cap {
    left: 24px;
    bottom: 14px;
  }
  .lm-aside,
  .lm-aside--flip {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .lm-aside--flip .lm-aside-img {
    order: 0;
  }
  .lm-aside-img {
    --lm-aside-ar: 16 / 9;
  }
  .lm-photoband {
    margin-left: -24px;
    margin-right: -24px;
    padding: 34px 24px;
  }
  .lm-photoband p {
    font-size: 20px;
  }
}

/* ---- Print: the hero survives, the decoration does not ---- */

@media print {
  .lm-hero {
    /* NOT aspect-ratio + max-height. On an auto-width block the ratio derives
       width FROM height, so 42mm tall became 168mm wide and the band printed
       ~16mm narrower than the text column above it. Fix the height instead
       and let the width fill the measure. */
    aspect-ratio: auto;
    width: 100%;
    height: 38mm;
    border-bottom: 1pt solid var(--line);
    break-inside: avoid;
    break-after: avoid;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .lm-hero--photo::after,
  .lm-hero-cap {
    display: none;
  }

  /* Everything below is atmosphere. On paper it is just grey. */
  .lm-plate,
  .lm-aside-img {
    display: none !important;
  }

  .lm-aside,
  .lm-aside--flip {
    display: block;
    margin: 16pt 0;
  }

  /* The band keeps its sentence and loses its photograph: the line
     is the point, the image was only ever the mood. */
  .lm-photoband {
    margin: 16pt 0;
    padding: 12pt 14pt;
    background: #fff;
    border-left: 2.5pt solid var(--teal);
    break-inside: avoid;
  }

  .lm-photoband img,
  .lm-photoband::after {
    display: none;
  }

  .lm-photoband p {
    color: var(--ink);
    font-size: 13pt;
  }

  .lm-photoband p em {
    color: var(--teal);
  }

  .lm-photoband .lm-band-k {
    color: var(--gray);
  }
}

/* ============================================================
   DATA ENTRY — the typeable number field (assets/inputs.js).

   The typed box is authoritative; the slider underneath is a coarse assist.
   A figure above the slider's range is kept and flagged, never clamped away.
   ============================================================ */

.nf {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nf-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
}

.nf-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

/* 44px minimum, so a thumb can hit it */
.nf-step {
  flex: 0 0 auto;
  width: 44px;
  min-height: 44px;
  font: 600 20px/1 'Poppins', sans-serif;
  color: var(--teal);
  background: var(--bg2, #f3f7f7);
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background var(--dur-snap) var(--ease),
    color var(--dur-snap) var(--ease);
}

.nf-step:hover {
  background: var(--teal);
  color: #fff;
}

.nf-step:active {
  transform: translateY(1px);
}

.nf-box {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
}

.nf-affix {
  position: absolute;
  left: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray);
  pointer-events: none;
}

.nf-affix-end {
  left: auto;
  right: 14px;
}

.nf-input {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 14px 12px 28px;
  min-height: 44px;
  width: 100%;
  transition: border-color var(--dur-base) var(--ease),
    box-shadow var(--dur-base) var(--ease);
}

.nf[data-kind='age'] .nf-input,
.nf[data-kind='pct'] .nf-input {
  padding-left: 14px;
}

.nf[data-kind='pct'] .nf-input {
  padding-right: 30px;
}

.nf-input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(19, 95, 105, 0.1);
}

.nf-flagged .nf-input {
  border-color: var(--amber, #d79a27);
}

.nf-range {
  width: 100%;
  accent-color: var(--teal);
  cursor: grab;
}

/* the slider can no longer represent the typed figure */
.nf-range-pinned {
  opacity: 0.45;
}

.nf-note:empty {
  display: none;
}

.nf-note {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ember-strong, #a8481a);
}

.nf-hint {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--gray);
}

/* ---------- a real switch, not a 0/1 slider ---------- */

.sw {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  font: 600 15px/1 'Poppins', sans-serif;
  color: var(--ink);
}

.sw-track {
  position: relative;
  width: 52px;
  height: 30px;
  border-radius: var(--r-pill);
  background: #c2cccd;
  transition: background var(--dur-base) var(--ease);
}

.sw-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(10, 54, 60, 0.3);
  transition: transform var(--dur-base) var(--ease);
}

.sw[aria-checked='true'] .sw-track {
  background: var(--green);
}

.sw[aria-checked='true'] .sw-thumb {
  transform: translateX(22px);
}

.sw:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

@media (prefers-reduced-motion: reduce) {
  .nf-step,
  .sw-track,
  .sw-thumb,
  .nf-input {
    transition: none;
  }
}

@media print {
  .nf-step,
  .nf-range {
    display: none;
  }

  .nf-input {
    border: 0;
    padding-left: 0;
    font-size: 15px;
  }
}
