/* ═══════════════════════════════════════════════════════════════════
   CALCULATOR-PAGE.CSS — the two-lane savings module, 2026-09
   Page-specific styles for calculator.html only. Depends on the cr-*
   tokens in crane.css; loads after it. The wizard markup keeps the
   class/ID hooks js/calculator-logic.js expects (.proc, .panel, .s-*).
═══════════════════════════════════════════════════════════════════ */

/* ─── browser surfaces ─── */
::selection { background: rgba(var(--gold-rgb), 0.32); color: var(--ink); }
input, textarea { caret-color: var(--gold-deep); }

.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;
}

/* ─── page scaffold ─── */
.calc-main { padding: calc(74px + 46px) 20px 84px; }
.calc-shell { max-width: 780px; margin: 0 auto; }

/* ─── hero — short ─── */
.calc-hero { text-align: center; margin-bottom: 30px; }
.calc-hero .cr-eyebrow { justify-content: center; margin-bottom: 14px; }
.calc-hero .cr-eyebrow::before { display: none; }
.calc-hero h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
  margin: 0 auto 12px;
  max-width: 17ch;
}
.calc-hero h1 em { font-style: italic; color: var(--crane-red); }
.calc-hero-sub {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--mut);
  max-width: 44ch;
  margin: 0 auto;
}

/* ─── two-lane tabs ─── */
.lane-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 26px;
  padding: 5px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--parch-deep);
}
.lane-tab {
  border: none;
  background: none;
  padding: 11px 22px;
  min-height: 44px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--mut);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}
.lane-tab:hover { color: var(--ink); }
.lane-tab[aria-selected="true"] {
  background: var(--ink);
  color: var(--parch);
  box-shadow: 0 6px 16px rgba(24, 19, 16, 0.22);
}
.lane-tab:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ─── the card both lanes live in ─── */
.calc-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px 38px 38px;
  box-shadow: 0 1px 2px rgba(24, 19, 16, 0.05), 0 18px 44px rgba(24, 19, 16, 0.09);
}

.calc-head { text-align: center; margin-bottom: 24px; }
.calc-head h2 {
  font-family: 'Playfair Display', serif;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 6px;
}
.calc-head p { font-size: 13.5px; color: var(--mut-lt); }
.head-benchmark { font-size: 12.5px; color: var(--mut-lt); margin-top: 6px; }

/* ─── stepper ─── */
.stepper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 30px;
}
.s-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  padding: 0;
  border: none;
  background: none;
  font-family: 'Inter', sans-serif;
  cursor: default;
}
.s-item.done { cursor: pointer; }
.s-item:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 10px; }
.s-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 21px;
  left: calc(50% + 26px);
  width: 56px;
  height: 1px;
  background: var(--line-2);
  transition: background 0.25s ease;
}
.s-item.done:not(:last-child)::after { background: var(--gold); }
.s-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--mut-lt);
  background: var(--paper);
  margin: 0 26px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.s-item.active .s-num {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--parch);
  box-shadow: 0 0 0 4px rgba(24, 19, 16, 0.08);
}
.s-item.done .s-num {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.s-item.done:hover .s-num { background: var(--gold-brt); border-color: var(--gold-brt); }
.s-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mut-lt);
}
.s-item.active .s-label { color: var(--ink); }
.s-item.done .s-label { color: var(--gold-deep); }

/* ─── panels ─── */
.panel { display: none; }
.panel.show { display: block; animation: calcPanelIn 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes calcPanelIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.panel-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

/* ─── fields ─── */
.field { margin-bottom: 20px; }
.field > label,
.field .f-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.field-hint { font-size: 12.5px; color: var(--mut); margin-top: 6px; line-height: 1.55; }

.inp-wrap { position: relative; }
.inp-pre, .inp-suf {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15px;
  font-weight: 600;
  color: var(--mut-lt);
  pointer-events: none;
}
.inp-pre { left: 15px; }
.inp-suf { right: 15px; }

.calc-card input[type="text"],
.calc-card input[type="email"],
.calc-card input[type="tel"],
.calc-card input[type="number"],
.calc-card textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 15px;
  border: 1.5px solid var(--line-2);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--parch);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.calc-card input.mono { font-family: 'IBM Plex Mono', monospace; font-weight: 600; font-variant-numeric: tabular-nums; }
.calc-card input.pre { padding-left: 34px; }
.calc-card input::placeholder { color: var(--mut-lt); font-weight: 400; }
.calc-card input:focus, .calc-card textarea:focus {
  border-color: var(--gold);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.18);
}
.calc-card input.inp-invalid {
  border-color: var(--crane-red);
  box-shadow: 0 0 0 3px rgba(var(--red-rgb), 0.14);
}

.calc-err {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  margin-top: 7px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--red-deep);
}
.calc-err::before {
  content: '';
  flex-shrink: 0;
  width: 6px; height: 6px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--crane-red);
}
.calc-err[hidden] { display: none; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ─── processor tiles ─── */
.proc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 4px;
}
/* 5-card grid: let the last odd card span the full row so no orphan half-slot */
.proc-grid .proc:last-child:nth-child(odd) { grid-column: 1 / -1; }

.proc {
  display: flex;
  align-items: flex-start;
  text-align: left;
  gap: 12px;
  padding: 14px 15px;
  min-height: 44px;
  border: 1.5px solid var(--line-2);
  border-radius: 12px;
  background: var(--paper);
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.proc:hover { border-color: var(--gold); }
.proc:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.proc.on {
  border-color: var(--gold-deep);
  background: rgba(var(--gold-rgb), 0.14);
  box-shadow: 0 0 0 1px var(--gold-deep), 0 6px 16px rgba(24, 19, 16, 0.08);
}
.proc-ico {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: rgba(var(--gold-rgb), 0.10);
  color: var(--gold-deep);
  transition: background 0.15s ease, color 0.15s ease;
}
.proc.on .proc-ico { background: var(--gold); color: var(--ink); }
.proc-ico svg { width: 16px; height: 16px; }
.proc > span:last-child { display: block; min-width: 0; }
.proc-nm { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.proc-rt { display: block; font-size: 12px; color: var(--mut); margin-top: 3px; line-height: 1.45; }

/* ─── wizard buttons ─── */
.btn-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}
.btn-row .cr-btn { flex: 1; }
.btn-back {
  flex: 0 0 auto;
  padding: 14px 20px;
  min-height: 44px;
  border: none;
  background: none;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--mut);
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}
.btn-back:hover { color: var(--ink); background: rgba(24, 19, 16, 0.05); }
.btn-back:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ═══════════════════════════════════════════════════════════════════
   RESULTS — the Crane receipt
═══════════════════════════════════════════════════════════════════ */
#p3 .panel-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.rc-edit {
  border: none;
  background: none;
  padding: 0;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--mut);
  border-bottom: 1px solid var(--line-2);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.rc-edit:hover { color: var(--ink); border-color: var(--gold); }
.rc-edit:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* the receipt itself — reuses the cr-receipt motif, untilted and full-width */
.calc-receipt {
  position: relative;
  width: 100%;
  transform: none;
  animation: none;
  padding: 30px 30px 34px;
  margin-bottom: 26px;
  border-radius: 4px 4px 0 0;
  font-size: 13px;
}
/* perforated top edge to match the sawtooth bottom crane.css provides */
.calc-receipt::before {
  content: '';
  position: absolute;
  left: -1px; right: -1px;
  top: -11px;
  height: 12px;
  background:
    linear-gradient(135deg, var(--paper) 8.5px, transparent 0) 0 0 / 17px 17px repeat-x,
    linear-gradient(-135deg, var(--paper) 8.5px, transparent 0) 0 0 / 17px 17px repeat-x;
}
.calc-receipt .cr-receipt-row { animation: none; }
.calc-receipt.printing .cr-receipt-row { animation: crRowIn 0.35s ease both; }

/* date stamp */
.rc-stamp {
  position: absolute;
  top: 20px;
  right: 22px;
  transform: rotate(-5deg);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--crane-red);
  border: 1.5px solid currentColor;
  border-radius: 3px;
  padding: 5px 9px;
  opacity: 0.8;
}

/* headline savings figure */
.rc-sav { text-align: center; padding: 18px 0 20px; border-bottom: 1px dashed var(--line-2); margin-bottom: 14px; }
.rc-sav-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
}
.rc-sav-fig {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(38px, 8vw, 52px);
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.rc-sav-fig .odo-suffix {
  font-size: 0.34em;
  font-weight: 600;
  color: var(--mut);
  letter-spacing: 0.02em;
}
.rc-sav-ann { font-size: 12.5px; color: var(--mut); margin-top: 10px; }
.rc-sav-ann b { color: var(--gold-deep); font-weight: 700; }

/* odometer digits */
.odo { display: inline-flex; align-items: flex-end; overflow: hidden; height: 1em; line-height: 1; vertical-align: baseline; }
.odo-digit { display: inline-block; height: 1em; overflow: hidden; }
.odo-char { display: inline-block; height: 1em; }
.odo-strip {
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.22, 0.72, 0.22, 1);
  will-change: transform;
}
.odo-strip span { display: block; height: 1em; line-height: 1; }

/* concede state */
.rc-sav--similar .rc-sav-fig { font-size: clamp(24px, 5vw, 32px); color: var(--ink); font-family: 'Playfair Display', serif; font-weight: 700; letter-spacing: -0.01em; }
.rc-sav--similar .rc-sav-tag { color: var(--mut); }

/* honesty badge (engine toggles display) */
.calc-badge {
  display: none;
  margin: 0 0 14px;
  padding: 12px 16px;
  border: 1px solid rgba(var(--gold-rgb), 0.5);
  border-radius: 8px;
  background: rgba(var(--gold-rgb), 0.08);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink-2);
}

/* rate before → after */
.rc-rate {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  padding: 2px 0 14px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--mut);
}
.rc-rate .r-before { font-size: 16px; font-weight: 700; color: var(--crane-red); }
.rc-rate .r-after  { font-size: 16px; font-weight: 700; color: var(--gold-deep); }
.rc-rate .r-arrow  { color: var(--mut-lt); }
.rc-rate .r-lbl    { font-family: 'Inter', sans-serif; font-size: 11.5px; color: var(--mut-lt); }

/* two cost columns */
.rc-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px dashed var(--line-2);
  border-bottom: 1px dashed var(--line-2);
  margin-bottom: 14px;
}
.rc-col { padding: 16px 16px 14px; min-width: 0; }
.rc-col + .rc-col { border-left: 1px dashed var(--line-2); }
.rc-col-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 7px;
}
.rc-col--now  .rc-col-tag { color: var(--crane-red); }
.rc-col--crane .rc-col-tag { color: var(--gold-deep); }
.rc-col-proc { font-family: 'Inter', sans-serif; font-size: 11.5px; color: var(--mut); line-height: 1.5; margin-bottom: 10px; min-height: 2.6em; }
.rc-col-amt {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(21px, 4vw, 27px);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.rc-col--now  .rc-col-amt { color: var(--crane-red); }
.rc-col--crane .rc-col-amt { color: var(--ink); }
.rc-col-mo { font-family: 'Inter', sans-serif; font-size: 11px; color: var(--mut); margin-top: 6px; }
.rc-col-equip { font-family: 'Inter', sans-serif; font-size: 11px; color: var(--gold-deep); margin-top: 4px; }

.rc-callout {
  display: none;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--mut);
  text-align: center;
  margin-bottom: 14px;
}

/* breakdown rows: color coding on engine-written values */
.rc-bd-hd {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mut-lt);
  margin: 4px 0 6px;
}
.calc-receipt .cr-receipt-row { padding: 6px 0; }
.calc-receipt .cr-receipt-row .v.r { color: var(--crane-red); }
.calc-receipt .cr-receipt-row .v.g { color: var(--gold-deep); }
.calc-receipt .cr-receipt-row .v.o { color: var(--gold-deep); }

/* savings total row — gold variant of cr-receipt-total */
.calc-receipt .rc-total--save .l { color: var(--gold-deep); }
.calc-receipt .rc-total--save .v { color: var(--gold-deep); font-size: 21px; }

/* what's included */
.rc-wyg { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.rc-wyg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  margin-top: 10px;
}
.rc-wyg-row {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--mut);
}
.rc-wyg-row b { color: var(--ink); font-weight: 600; }
.rc-wyg-row svg { flex-shrink: 0; width: 13px; height: 13px; margin-top: 3px; color: var(--gold-deep); }

.rc-note {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--mut);
  text-align: center;
}

/* ─── bridge + lead form under the receipt ─── */
.rc-next { text-align: center; }
.rc-next .cr-btn { width: 100%; max-width: 460px; }
.rc-contacts {
  display: flex;
  justify-content: center;
  gap: 8px 26px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--mut);
}
.rc-contacts a { color: var(--mut); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: color 0.15s ease, border-color 0.15s ease; }
.rc-contacts a b { color: var(--ink); font-weight: 600; }
.rc-contacts a:hover { color: var(--gold-deep); border-color: var(--gold); }

.lead-block { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.lead-hd {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.lead-sub { font-size: 14px; color: var(--mut); line-height: 1.6; margin-bottom: 20px; }

.sub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 15px 28px;
  min-height: 48px;
  border: none;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(24, 19, 16, 0.16);
  transition: background 0.16s ease, transform 0.1s ease;
}
.sub-btn:hover { background: var(--gold-brt); }
.sub-btn:active { transform: scale(0.98); }
.sub-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.disclaimer { font-size: 12px; color: var(--mut-lt); text-align: center; margin-top: 12px; line-height: 1.6; }

.form-ok {
  display: none;
  text-align: center;
  padding: 22px 8px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
}
.form-ok .ok-mark { color: var(--gold-deep); margin-right: 6px; }

/* ═══════════════════════════════════════════════════════════════════
   LANE 2 — statement upload
═══════════════════════════════════════════════════════════════════ */
.up-lede {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--mut);
  max-width: 56ch;
  margin: 0 auto 24px;
  text-align: center;
}
.up-lede b { color: var(--ink); font-weight: 600; }

.cp-upload label { display: flex; align-items: baseline; gap: 8px; }
.cp-upload-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mut-lt);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 1px 8px;
}
.cp-upload input[type="file"] {
  width: 100%;
  padding: 11px 12px;
  border: 1.5px dashed var(--line-2);
  border-radius: 10px;
  background: var(--parch);
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: var(--mut);
}
.cp-upload input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 8px 16px;
  border: none;
  border-radius: 999px;
  background: var(--ink);
  color: var(--parch);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.cp-upload input[type="file"]:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.up-or {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0 18px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--mut-lt);
}
.up-or::before, .up-or::after { content: ''; flex: 1; height: 1px; background: var(--line-2); }

.up-text-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  transition: background 0.15s ease, color 0.15s ease;
}
.up-text-cta:hover { background: var(--ink); color: var(--parch); }
.up-text-cta:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.up-text-note { font-size: 12.5px; line-height: 1.55; color: var(--mut-lt); margin-top: 10px; text-align: center; }

.up-fine {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--mut);
  margin: 26px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  max-width: 58ch;
  text-align: center;
}
.up-fine a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; color: var(--ink); }
.up-fine a:hover { color: var(--gold-deep); }

/* ─── confetti ─── */
.confetti-layer {
  position: absolute;
  inset: 0;
  overflow: visible;
  pointer-events: none;
  z-index: 5;
}
.confetti-bit {
  position: absolute;
  top: 0;
  left: 50%;
  width: 8px;
  height: 12px;
  border-radius: 2px;
  will-change: transform, opacity;
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .calc-main { padding: calc(64px + 30px) 14px 64px; }
  .calc-hero { margin-bottom: 22px; }
  .calc-card { padding: 24px 18px 28px; border-radius: 16px; }
  .lane-tab { padding: 11px 15px; font-size: 13px; }
  .two, .proc-grid { grid-template-columns: 1fr; }
  .s-num { margin: 0 20px; width: 40px; height: 40px; }
  .s-item:not(:last-child)::after { top: 19px; left: calc(50% + 22px); width: 40px; }
  .calc-receipt { padding: 24px 16px 28px; }
  .rc-stamp { position: static; display: table; margin: 0 auto 14px; transform: rotate(-3deg); }
  .rc-cols { grid-template-columns: 1fr; }
  .rc-col + .rc-col { border-left: none; border-top: 1px dashed var(--line-2); }
  .rc-col-proc { min-height: 0; }
  .rc-wyg-grid { grid-template-columns: 1fr; }
  .btn-row { flex-wrap: wrap; }
  .btn-row .cr-btn { flex: 1 1 100%; order: -1; }
}

@media (max-width: 380px) {
  .calc-main { padding: 90px 10px 56px; }
  .calc-card { padding: 20px 14px 24px; }
  .s-num { width: 38px; height: 38px; margin: 0 12px; }
  .s-item:not(:last-child)::after { left: calc(50% + 20px); width: 28px; }
  .s-label { font-size: 10px; letter-spacing: 0.04em; }
  .lane-tabs { gap: 6px; }
  .lane-tab { padding-inline: 10px; }
}

/* ─── reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  .panel.show { animation: none; }
  .calc-receipt.printing .cr-receipt-row { animation: none !important; }
  .odo-strip { transition: none !important; }
  .lane-tab, .s-num, .proc, .sub-btn { transition: none; }
}
