/* =========================================================
   B-Wrapped estimator page (estimate.html)
   Loads after styles.css and uses its tokens, buttons, form fields and footer.
   ========================================================= */

.ex-page { padding-bottom: 0; }

/* ---------- header ---------- */
.ex-header { position: sticky; top: 0; z-index: var(--z-header); height: var(--header-h); background: rgba(5, 11, 24, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.ex-header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.ex-nav { display: flex; align-items: center; gap: var(--s4); }
.ex-nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; padding: 10px 0; }
.ex-nav a:hover { color: var(--yellow); }
.ex-nav-phone { color: var(--yellow) !important; }
@media (max-width: 560px) { .ex-nav-link { display: none; } }

/* ---------- hero ---------- */
.ex-hero { padding: clamp(40px, 7vw, 88px) 0 clamp(24px, 4vw, 40px); background:
  radial-gradient(900px 400px at 85% -10%, rgba(255, 184, 27, .14), transparent 60%),
  linear-gradient(180deg, var(--navy-950), var(--navy-900)); border-bottom: 1px solid var(--line); }
.ex-hero h1 { font-size: clamp(2.75rem, 8vw, 5.5rem); font-weight: 800; margin-bottom: var(--s3); }
.ex-lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.ex-trust { list-style: none; margin: var(--s4) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.ex-trust li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; }
.ex-trust .i { color: var(--yellow); }

/* ---------- layout ---------- */
.ex-tool { padding: clamp(24px, 4vw, 48px) 0 clamp(48px, 8vw, 96px); }
.ex-grid { display: grid; gap: var(--s5); align-items: start; }
@media (min-width: 1000px) { .ex-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: var(--s6); } }
@media (min-width: 1200px) { .ex-grid { grid-template-columns: minmax(0, 1fr) 430px; } }
.ex-sticky { display: grid; gap: var(--s3); }
@media (min-width: 1000px) { .ex-side { align-self: stretch; } }  /* full-height column, so the price card can stay in view */
@media (min-width: 1000px) { .ex-sticky { position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow: auto; scrollbar-width: thin; padding-right: 2px; } }

/* ---------- steps ---------- */
.ex-steps { counter-reset: exstep; display: grid; gap: var(--s4); min-width: 0; }
.ex-step { counter-increment: exstep; margin: 0; min-width: 0; border: 1px solid var(--line); border-radius: 8px; padding: clamp(18px, 3vw, 28px); background: rgba(13, 27, 61, .55); }
.ex-step-h { display: flex; align-items: center; gap: 12px; padding: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 1.75rem); text-transform: uppercase; letter-spacing: .01em; line-height: 1.1; margin-bottom: var(--s3); float: left; width: 100%; }
.ex-step-h + * { clear: both; }
/* the number is written by estimate.js: CSS counters read 0 inside size containers on iPhone Safari */
.ex-num { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); color: var(--navy-950); font-size: 1.15rem; transform: skewX(var(--skew)); border-radius: 4px; }
.ex-step-hint { clear: both; color: var(--muted); margin: -4px 0 var(--s3); font-size: .95rem; }
.ex-sub { font-weight: 600; margin: var(--s4) 0 var(--s2); }
.ex-hint { font-size: .88rem; color: var(--yellow); margin: 8px 0 0; min-height: 1.3em; }

/* option cards */
.ex-cards { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); clear: both; }
.ex-cards-svc { grid-template-columns: repeat(auto-fill, minmax(min(132px, 100%), 1fr)); }
@media (max-width: 480px) { .ex-cards-svc .ex-card-body { padding: 12px; } .ex-cards-svc .ex-card-d { font-size: .8rem; } }
.ex-card-opt { position: relative; display: block; cursor: pointer; }
.ex-card-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ex-card-body { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 6px; background: rgba(5, 11, 24, .45); transition: border-color var(--dur-fast), background-color var(--dur-fast), transform var(--dur-fast) var(--ease-out); }
.ex-card-opt:hover .ex-card-body { border-color: rgba(255, 184, 27, .55); }
.ex-card-opt input:checked + .ex-card-body { border-color: var(--yellow); background: rgba(255, 184, 27, .1); box-shadow: inset 0 0 0 1px var(--yellow); }
.ex-card-opt input:focus-visible + .ex-card-body { outline: 3px solid var(--yellow); outline-offset: 2px; }
.ex-card-opt:active .ex-card-body { transform: scale(.98); }
.ex-ico { width: 26px; height: 26px; fill: none; stroke: var(--yellow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 4px; }
.ex-card-t { font-weight: 600; line-height: 1.25; }
.ex-card-d { font-size: .86rem; color: var(--muted); line-height: 1.35; }
.ex-card-tag { margin-top: auto; padding-top: 6px; font-family: var(--font-display); font-weight: 700; letter-spacing: .04em; color: var(--yellow); font-size: .98rem; }

/* chips */
.ex-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s3); clear: both; }
.ex-chip { position: relative; cursor: pointer; }
.ex-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ex-chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .95rem; transition: border-color var(--dur-fast), background-color var(--dur-fast), color var(--dur-fast); }
.ex-chip:hover span { border-color: rgba(255, 184, 27, .55); }
.ex-chip input:checked + span { background: var(--yellow); color: var(--navy-950); border-color: var(--yellow); }
.ex-chip input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* fields */
.ex-row { display: grid; gap: 0 var(--s3); grid-template-columns: 1fr; }
@media (min-width: 640px) { .ex-row { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); } .ex-row .ex-grow { grid-column: span 2; } }
.ex-dims { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.ex-field { margin-bottom: var(--s3); min-width: 0; }
.ex-field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.ex-field:focus-within label { color: var(--yellow); }
.ex-field input, .ex-field select {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--text);
  background: rgba(5, 11, 24, .6); border: 1.5px solid var(--line); border-radius: var(--radius);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.ex-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--yellow) 50%), linear-gradient(135deg, var(--yellow) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.ex-field select option, .ex-field select optgroup { background: var(--navy-900); color: var(--text); }
.ex-field input::placeholder { color: #7D8AA8; }
.ex-field input:focus, .ex-field select:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255, 184, 27, .25); }
.ex-vchip { margin: 0; padding: 10px 14px; border-radius: var(--radius); background: rgba(255, 184, 27, .08); border-left: 3px solid var(--yellow); font-size: .95rem; color: var(--muted); }
.ex-vchip strong { color: var(--text); }

.ex-qty { max-width: 260px; }
.ex-stepper { display: grid; grid-template-columns: 50px 1fr 50px; }
.ex-stepper button { min-height: 50px; border: 1.5px solid var(--line); background: rgba(5, 11, 24, .6); color: var(--yellow); font-size: 1.5rem; font-weight: 600; cursor: pointer; }
.ex-stepper button:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.ex-stepper button:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.ex-stepper button:hover { background: rgba(255, 184, 27, .12); }
.ex-stepper input { border-radius: 0 !important; border-left: 0 !important; border-right: 0 !important; text-align: center; font-weight: 600; -moz-appearance: textfield; }
.ex-stepper input::-webkit-inner-spin-button, .ex-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* checkboxes */
.ex-checks { display: grid; gap: 8px; clear: both; }
@media (min-width: 700px) { .ex-checks { grid-template-columns: 1fr 1fr; } }
.ex-check { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 6px; cursor: pointer; background: rgba(5, 11, 24, .35); transition: border-color var(--dur-fast), background-color var(--dur-fast); }
.ex-check:hover { border-color: rgba(255, 184, 27, .55); }
.ex-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ex-box { flex: none; width: 22px; height: 22px; margin-top: 1px; border: 2px solid var(--blue-300); border-radius: 4px; display: grid; place-items: center; transition: background-color var(--dur-fast), border-color var(--dur-fast); }
.ex-box::after { content: ""; width: 6px; height: 11px; border: solid var(--navy-950); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px) scale(0); transition: transform var(--dur-fast) var(--ease-out); }
.ex-check input:checked ~ .ex-box { background: var(--yellow); border-color: var(--yellow); }
.ex-check input:checked ~ .ex-box::after { transform: rotate(45deg) translate(-1px, -1px) scale(1); }
.ex-check:has(input:checked) { border-color: var(--yellow); background: rgba(255, 184, 27, .08); }
.ex-check input:focus-visible ~ .ex-box { outline: 3px solid var(--yellow); outline-offset: 2px; }
.ex-check-t { display: block; font-weight: 600; line-height: 1.3; }
.ex-check-d { display: block; font-size: .86rem; color: var(--muted); line-height: 1.35; }
.ex-check-p { display: block; margin-top: 4px; font-family: var(--font-display); font-weight: 700; color: var(--yellow); letter-spacing: .04em; }

/* ---------- coverage diagram ---------- */
.ex-step { container-type: inline-size; }
.ex-cov { display: grid; gap: var(--s4); align-items: center; clear: both; }
@container (min-width: 560px) { .ex-cov { grid-template-columns: minmax(220px, 300px) 1fr; } }
.ex-diagram svg { width: 100%; max-width: 300px; margin-inline: auto; height: auto; overflow: visible; }
.ex-panel { cursor: pointer; outline: none; }
.ex-panel rect, .ex-panel path { fill: var(--navy-800); stroke: rgba(170, 183, 212, .45); stroke-width: 1.5; transition: stroke var(--dur-fast), opacity var(--dur-fast); }
.ex-panel:hover rect, .ex-panel:hover path { stroke: var(--yellow); }
.ex-panel:focus-visible rect, .ex-panel:focus-visible path { stroke: var(--yellow); stroke-width: 3; }
.ex-panel.is-on rect, .ex-panel.is-on path { fill: url(#ex-film); stroke: var(--yellow); stroke-width: 2; }
.ex-panel.is-letter rect, .ex-panel.is-letter path { fill: rgba(255, 184, 27, .3); stroke: var(--yellow); stroke-dasharray: 4 3; }
.ex-panel.is-part rect, .ex-panel.is-part path { fill: url(#ex-hatch); stroke: var(--yellow); }
.ex-hatch-bg { fill: var(--navy-800); }
.ex-dlabel { font-family: var(--font-display); font-weight: 700; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; fill: var(--muted); pointer-events: none; }
.ex-panel.is-on .ex-dlabel { fill: var(--navy-950); }
.ex-panel.is-on.on-dark .ex-dlabel { fill: #fff; }
.ex-front { fill: var(--yellow); font-size: 10px; }
.ex-glass rect, .ex-glass path { fill: #0A1730; stroke: rgba(170, 183, 212, .4); stroke-width: 1.2; pointer-events: none; }
.ex-bodyfill { fill: var(--navy-800); }
.ex-outline { fill: none; stroke: rgba(170, 183, 212, .7); stroke-width: 1.6; pointer-events: none; }
.ex-wheel { fill: #05080F; stroke: rgba(170, 183, 212, .35); stroke-width: 1.2; }
.ex-inert, .ex-inert rect, .ex-inert path { fill: #070D1C; stroke: rgba(170, 183, 212, .3); stroke-width: 1.2; pointer-events: none; }
.ex-weave { mix-blend-mode: screen; }

/* color preview swatches */
.ex-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s3); }
.ex-swatches .ex-note { flex-basis: 100%; margin: 2px 0 0; }
.ex-swatch { position: relative; cursor: pointer; }
.ex-swatch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ex-swatch span:first-of-type { display: block; width: 34px; height: 34px; border-radius: 50%; background: var(--sw); border: 2px solid rgba(238, 242, 250, .3); box-shadow: inset 0 -6px 10px rgba(0, 0, 0, .28), inset 0 5px 8px rgba(255, 255, 255, .22); transition: transform var(--dur-fast) var(--ease-out); }
.ex-swatch:hover span:first-of-type { transform: scale(1.08); }
.ex-swatch input:checked + span { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255, 184, 27, .35), inset 0 -6px 10px rgba(0, 0, 0, .28), inset 0 5px 8px rgba(255, 255, 255, .22); }
.ex-swatch input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.ex-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ex-legend button { width: 100%; display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 10px; border: 0; border-radius: 4px; background: transparent; text-align: left; cursor: pointer; font-size: .95rem; }
.ex-legend button:hover { background: rgba(255, 255, 255, .05); }
.ex-sw { flex: none; width: 16px; height: 16px; border-radius: 3px; background: var(--navy-800); border: 1.5px solid rgba(170, 183, 212, .45); }
.ex-legend .is-on .ex-sw, .ex-sw.is-on { background: var(--yellow); border-color: var(--yellow); }
.ex-legend .is-part .ex-sw, .ex-sw.is-part { background: repeating-linear-gradient(45deg, var(--yellow) 0 3px, var(--navy-800) 3px 7px); border-color: var(--yellow); }
.ex-lg-a { margin-left: auto; color: var(--muted); font-size: .88rem; white-space: nowrap; }
.ex-lg-note { display: flex; gap: 10px; align-items: center; padding: 6px 10px; font-size: .86rem; color: var(--muted); }
.ex-legend .is-on .ex-lg-a { color: var(--text); }

/* vehicle picker */
.ex-row.ex-ymm { grid-template-columns: minmax(0, 1fr) 112px; grid-template-areas: "make year" "model model"; }
.ex-ymm > :nth-child(1) { grid-area: make; }
.ex-ymm > :nth-child(2) { grid-area: model; }
.ex-ymm > :nth-child(3) { grid-area: year; }
@container (min-width: 560px) { .ex-row.ex-ymm { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) 112px; grid-template-areas: "make model year"; } }
.ex-field select:disabled { opacity: .5; cursor: not-allowed; }
.ex-own { margin: 0 0 var(--s3); border: 1px dashed var(--line); border-radius: 6px; padding: 10px 14px; }
.ex-own summary { cursor: pointer; color: var(--yellow); font-weight: 600; font-size: .95rem; }
.ex-own[open] summary { margin-bottom: var(--s3); }
.ex-own .ex-field { margin-bottom: 8px; }
.ex-sizes { margin-bottom: var(--s3); }
.ex-size { min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: transparent; font-weight: 600; font-size: .95rem; cursor: pointer; transition: border-color var(--dur-fast), background-color var(--dur-fast), color var(--dur-fast); }
.ex-size:hover { border-color: rgba(255, 184, 27, .55); }
.ex-size.is-on { background: var(--yellow); color: var(--navy-950); border-color: var(--yellow); }
.ex-size:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.ex-step > .ex-sub:first-of-type { margin-top: 0; }

/* coverage and package cards carry their own price */
.ex-cards-pkg { grid-template-columns: repeat(auto-fill, minmax(min(132px, 100%), 1fr)); margin-bottom: var(--s4); }
.ex-cards-pkg .ex-card-body { padding: 12px 14px; }
.ex-card-tag:empty { display: none; }
.ex-card-tag { font-variant-numeric: tabular-nums; }

/* ---------- result panel ---------- */
.ex-panel-card { position: relative; border: 1px solid var(--line); border-radius: 8px; padding: clamp(20px, 3vw, 28px); background: linear-gradient(180deg, rgba(17, 35, 79, .95), rgba(10, 21, 48, .98)); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.ex-res::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 4px; background: linear-gradient(90deg, var(--yellow) 0 50%, var(--blue-500) 50% 70%, transparent 70%); }
.ex-res-k { font-family: var(--font-display); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); font-size: .9rem; margin-bottom: 6px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.ex-res-for { font-family: var(--font-body); letter-spacing: 0; text-transform: none; color: var(--muted); font-weight: 400; font-size: .9rem; }
.ex-range { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.1rem); line-height: 1; margin: 6px 0 8px; font-variant-numeric: tabular-nums; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; }
.ex-dash { color: var(--yellow); }
.ex-mid { margin: 0; color: var(--muted); }
.ex-mid strong { color: var(--text); }
.ex-per { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
.ex-res-empty p:last-child { color: var(--muted); margin: 0; }

.ex-conf { margin: var(--s3) 0; padding: 12px 14px; border-radius: 6px; background: rgba(5, 11, 24, .5); }
.ex-conf-top { display: flex; justify-content: space-between; gap: 8px; font-size: .92rem; margin-bottom: 8px; }
.ex-meter { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.ex-meter span { display: block; height: 100%; border-radius: 3px; background: var(--success); transition: width var(--dur-slow) var(--ease-out); }
.ex-conf-good .ex-meter span { background: var(--yellow); }
.ex-conf-preliminary .ex-meter span { background: var(--danger); }
.ex-why { margin-top: 10px; font-size: .9rem; }
.ex-why summary { cursor: pointer; color: var(--yellow); font-weight: 600; }
.ex-why ul { margin: 8px 0; padding-left: 20px; color: var(--muted); }
.ex-why p { margin: 0; color: var(--muted); }
.ex-why-ok { margin: 10px 0 0; font-size: .9rem; color: var(--success); }
.ex-warn { margin: 0 0 var(--s3); padding: 10px 14px; border-radius: 6px; border-left: 3px solid var(--danger); background: rgba(255, 138, 138, .08); font-size: .92rem; }

.ex-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin: 0 0 var(--s3); }
.ex-facts div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.ex-facts dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.ex-facts dd { margin: 2px 0 0; font-weight: 600; font-size: .95rem; line-height: 1.35; }

.ex-break { border-top: 1px solid var(--line); padding-top: 12px; margin-bottom: var(--s3); }
.ex-break summary { cursor: pointer; font-weight: 600; list-style-position: outside; }
.ex-break table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: .92rem; }
.ex-break th { text-align: left; font-weight: 400; color: var(--muted); padding: 7px 10px 7px 0; vertical-align: top; }
.ex-break td { text-align: right; white-space: nowrap; padding: 7px 0; font-variant-numeric: tabular-nums; vertical-align: top; }
.ex-break tr + tr th, .ex-break tr + tr td { border-top: 1px dashed rgba(143, 177, 255, .12); }
.ex-break tr.neg td, .ex-break tr.neg th { color: var(--success); }
.ex-note { font-size: .84rem; color: var(--muted); margin: 8px 0 0; }

.ex-insight { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; margin-bottom: var(--s3); border-radius: 6px; background: rgba(110, 231, 168, .07); border: 1px solid rgba(110, 231, 168, .25); font-size: .92rem; }
.ex-insight .i { color: var(--success); margin-top: 2px; }
.ex-insight p { margin: 0; color: var(--muted); }
.ex-insight strong { color: var(--text); }

.ex-roi > div { min-width: 0; }
.ex-roi p + p, .ex-roi .ex-chips + p { margin-top: 8px; }
.ex-roi-q { color: var(--text) !important; font-weight: 600; }
.ex-chips-sm { gap: 6px; margin: 6px 0 0; }
.ex-chips-sm .ex-chip span { min-height: 36px; padding: 5px 12px; font-size: .84rem; }

.ex-actions { display: grid; gap: 10px; }
.ex-tools { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin-top: 4px; }
.ex-tools button, .ex-tools a { border: 0; background: none; color: var(--yellow); font-weight: 600; font-size: .9rem; padding: 8px 2px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 184, 27, .4); }
.ex-tools button:hover, .ex-tools a:hover { text-decoration-color: var(--yellow); }
.ex-fine { font-size: .8rem; color: var(--muted); text-align: center; margin: var(--s3) 0 0; }

/* project */
.ex-proj-list { list-style: none; margin: 8px 0 0; padding: 0; }
.ex-proj-list li { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px dashed rgba(143, 177, 255, .15); font-size: .92rem; }
.ex-proj-open { flex: 1; min-width: 0; text-align: left; border: 0; background: none; padding: 4px 0; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(238, 242, 250, .25); text-underline-offset: 3px; }
.ex-proj-list span { white-space: nowrap; font-variant-numeric: tabular-nums; }
.ex-x { width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .06); cursor: pointer; font-size: 1.2rem; flex: none; }
.ex-x:hover { background: rgba(255, 138, 138, .2); }
.ex-proj-tot { display: flex; justify-content: space-between; gap: 8px; margin: 10px 0 0; font-size: 1.05rem; }
.ex-proj-tot strong { font-family: var(--font-display); font-size: 1.4rem; color: var(--yellow); }

/* ---------- send ---------- */
.ex-send { background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); border-top: 1px solid var(--line); }
.ex-send-inner { display: grid; gap: var(--s6); align-items: start; }
@media (min-width: 900px) { .ex-send-inner { grid-template-columns: 1fr 1fr; } }
.ex-how { margin: var(--s4) 0; padding: 0; list-style: none; counter-reset: how; display: grid; gap: var(--s3); }
.ex-how li { counter-increment: how; position: relative; padding-left: 52px; color: var(--muted); }
.ex-how li::before { content: counter(how); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; display: grid; place-items: center; border: 2px solid var(--yellow); border-radius: 4px; transform: skewX(var(--skew)); font-family: var(--font-display); font-weight: 800; color: var(--yellow); }
.ex-how strong { color: var(--text); }
.ex-send-summary { border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; background: rgba(13, 27, 61, .6); }
.ex-send-summary:empty { display: none; }
.ex-send-summary ul { list-style: none; margin: 6px 0 0; padding: 0; }
.ex-send-summary li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: .95rem; }
.ex-send-summary li strong { white-space: nowrap; }
.ex-send-summary p:last-child { margin-bottom: 0; }
.ex-send-form .field select { width: 100%; }
.ex-send-form .field input[aria-invalid="true"] { border-color: var(--danger); }

.ex-contact { border: 0; margin: 0 0 var(--s3); padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ex-contact legend { font-weight: 600; margin-bottom: 8px; padding: 0; }

/* ---------- typical prices ---------- */
.ex-typ { background: var(--navy-900); border-top: 1px solid var(--line); }
.ex-typical { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: rgba(13, 27, 61, .5); }
.ex-typical table { width: 100%; min-width: 560px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ex-typical th, .ex-typical td { padding: 14px 16px; text-align: left; }
.ex-typical thead th { font-family: var(--font-display); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); font-size: .95rem; border-bottom: 1px solid var(--line); }
.ex-typical tbody th { font-weight: 600; }
.ex-typical tbody tr + tr th, .ex-typical tbody tr + tr td { border-top: 1px dashed rgba(143, 177, 255, .14); }
.ex-typical td button { border: 0; background: none; padding: 6px 0; min-height: 36px; cursor: pointer; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255, 184, 27, .45); text-underline-offset: 4px; }
.ex-typical td button:hover { color: var(--yellow); text-decoration-color: var(--yellow); }
.ex-typical td.na { color: var(--muted); }
.ex-faq a { color: var(--yellow); }

/* ---------- method ---------- */
.ex-method-grid { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.ex-method-grid article { border: 1px solid var(--line); border-radius: 8px; padding: var(--s4); background: rgba(13, 27, 61, .5); }
.ex-method-grid h3 { color: var(--yellow); font-size: 1.4rem; }
.ex-method-grid p { color: var(--muted); margin: 0; }
.ex-disclaimer { margin-top: var(--s5); font-size: .88rem; color: var(--muted); max-width: 90ch; }

/* ---------- phone price bar ---------- */
.ex-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-bar); display: flex; align-items: center; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(5, 11, 24, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.ex-bar > div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.15; }
.ex-bar-range { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ex-bar-conf { font-size: .78rem; color: var(--muted); }
.ex-bar .btn { min-height: 44px; padding: 8px 14px; font-size: .95rem; }
@media (min-width: 1000px) { .ex-bar { display: none; } }
@media (max-width: 999px) { .site-footer { padding-bottom: 110px; } }

/* ---------- print / PDF ---------- */
.ex-print { display: none; }
@media print {
  body.ex-page { background: #fff; color: #111; }
  body.ex-page > *:not(.ex-print) { display: none !important; }
  .ex-print { display: block; font-family: var(--font-body); color: #111; padding: 0; }
  .ex-print h2, .ex-print h3 { color: #0A1530; text-transform: none; }
  .ex-print h2 { font-size: 26pt; margin-bottom: 4pt; }
  .ex-print h3 { font-size: 14pt; margin-top: 18pt; }
  .ex-print table { width: 100%; border-collapse: collapse; font-size: 10.5pt; }
  .ex-print td { padding: 5pt 0; border-bottom: 1px solid #ddd; }
  .ex-print td:last-child { text-align: right; white-space: nowrap; }
  .ex-print p { font-size: 10.5pt; }
}

@media (prefers-reduced-motion: reduce) {
  .ex-panel rect, .ex-panel path, .ex-meter span, .ex-card-body, .ex-box::after, .ex-swatch span, .ex-size { transition: none; }
}
