/* Generated by scripts/vendor-fonts.mjs. Do not edit. Self-hosted so the estimator makes no third-party request. */
@font-face{font-family: Archivo; font-style: normal; font-weight: 700; font-stretch: 100%; font-display: swap; src: url("/estimator/fonts/651aaf1801011892-s.357dd_6abeqge.woff2") format("woff2"); unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family: Archivo; font-style: normal; font-weight: 700; font-stretch: 100%; font-display: swap; src: url("/estimator/fonts/75affa71d1e2f6a7-s.p.17-aodiw50953.woff2") format("woff2"); unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family: Archivo; font-style: normal; font-weight: 800; font-stretch: 100%; font-display: swap; src: url("/estimator/fonts/651aaf1801011892-s.357dd_6abeqge.woff2") format("woff2"); unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family: Archivo; font-style: normal; font-weight: 800; font-stretch: 100%; font-display: swap; src: url("/estimator/fonts/75affa71d1e2f6a7-s.p.17-aodiw50953.woff2") format("woff2"); unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family: Public Sans; font-style: normal; font-weight: 400; font-display: swap; src: url("/estimator/fonts/fc2699ecc8323b38-s.1gwygi6ipeo67.woff2") format("woff2"); unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family: Public Sans; font-style: normal; font-weight: 400; font-display: swap; src: url("/estimator/fonts/fa0520225c6f3d07-s.p.33u8lzvd44aqk.woff2") format("woff2"); unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family: Public Sans; font-style: normal; font-weight: 500; font-display: swap; src: url("/estimator/fonts/fc2699ecc8323b38-s.1gwygi6ipeo67.woff2") format("woff2"); unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family: Public Sans; font-style: normal; font-weight: 500; font-display: swap; src: url("/estimator/fonts/fa0520225c6f3d07-s.p.33u8lzvd44aqk.woff2") format("woff2"); unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family: Public Sans; font-style: normal; font-weight: 600; font-display: swap; src: url("/estimator/fonts/fc2699ecc8323b38-s.1gwygi6ipeo67.woff2") format("woff2"); unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family: Public Sans; font-style: normal; font-weight: 600; font-display: swap; src: url("/estimator/fonts/fa0520225c6f3d07-s.p.33u8lzvd44aqk.woff2") format("woff2"); unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family: Public Sans; font-style: normal; font-weight: 700; font-display: swap; src: url("/estimator/fonts/fc2699ecc8323b38-s.1gwygi6ipeo67.woff2") format("woff2"); unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family: Public Sans; font-style: normal; font-weight: 700; font-display: swap; src: url("/estimator/fonts/fa0520225c6f3d07-s.p.33u8lzvd44aqk.woff2") format("woff2"); unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family: IBM Plex Mono; font-style: normal; font-weight: 400; font-display: swap; src: url("/estimator/fonts/2fe89d53234c61d4-s.1u30mmyq6lnsd.woff2") format("woff2"); unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family: IBM Plex Mono; font-style: normal; font-weight: 400; font-display: swap; src: url("/estimator/fonts/99e609270109b47d-s.p.40sczeszzbjw1.woff2") format("woff2"); unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family: IBM Plex Mono; font-style: normal; font-weight: 500; font-display: swap; src: url("/estimator/fonts/68757d6cddeff913-s.1i-sca43-qwng.woff2") format("woff2"); unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family: IBM Plex Mono; font-style: normal; font-weight: 500; font-display: swap; src: url("/estimator/fonts/effe91970fc4db64-s.p.0oace-s_gkfks.woff2") format("woff2"); unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family: IBM Plex Mono; font-style: normal; font-weight: 600; font-display: swap; src: url("/estimator/fonts/2e95a7d252b9825a-s.15orukf5wyxb5.woff2") format("woff2"); unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family: IBM Plex Mono; font-style: normal; font-weight: 600; font-display: swap; src: url("/estimator/fonts/23b7a97ae3b5c134-s.p.226pwps5o-gq_.woff2") format("woff2"); unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

/* ─── EdgeQuote base ─────────────────────────────────────────────────────────
   Cool-grey neutral scale. Client accent is injected per widget (--accent…).
   Fonts: --font-display (Archivo), --font-ui (Public Sans), --font-mono (IBM Plex Mono),
   set by next/font in the layouts. */
:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-2: #f9fafb;
  --border: #e1e5ea;
  --border-strong: #c9cfd6;
  --ink: #14171c;
  --ink-2: #3d4450;
  --muted: #6b7380;
  /* 4.52:1 on white — AA for the 11px step labels and slider bounds that use it.
     Was #98a0ab (2.64:1), which failed AA everywhere it carried real text. */
  --muted-2: #6f7784;
  --success: #1f7a4d;
  --danger: #b42318;
  --danger-soft: #fdecea;
  --focus: #14171c;

  /* defaults — overridden per client */
  --accent: #1f6f5f;
  --accent-hover: #185a4d;
  --accent-soft: #edf5f2;
  --accent-soft-border: #bcd9d0;
  --on-accent: #ffffff;
  --accent-ink: #1f6f5f;

  --radius: 10px;
  --radius-sm: 7px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui), "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display), "Archivo", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.mono {
  font-family: var(--font-mono), "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-variant-numeric: tabular-nums;
}

.eyebrow {
  font-family: var(--font-mono), "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

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

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

/* Legal links (every public template) */
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; }
.legal-links a { color: inherit; text-decoration: none; opacity: 0.85; }
.legal-links a:hover, .legal-links a:focus-visible { text-decoration: underline; opacity: 1; }

/* ─── Estimator (the widget) ─────────────────────────────────────────────────
   Mobile-first. Tested at 360px. Everything scoped under .eq */

.eq-page {
  color: var(--ink);
  background: var(--bg);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 12px 40px;
}
.eq-page.is-embed {
  min-height: 0;
  padding: 0;
  background: transparent;
}
.theme-dark .eq { border-color: var(--border); }
.theme-dark .eq-head img { filter: none; }
html.is-embed, body.is-embed { background: transparent; }

.eq {
  width: 100%;
  max-width: 560px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  /* NOT `overflow: hidden` — that makes .eq the nearest scrollport, which silently
     disables `position: sticky` on .eq-foot (the running-estimate tape). clip-path
     clips the corners without creating a scroll container. */
  clip-path: inset(0 round var(--radius));
  font-size: 15px;
}
.is-embed .eq { border-radius: var(--radius); }

/* header */
.eq-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.eq-head img { height: 26px; width: auto; }
.eq-head .name {
  font-family: var(--font-display), "Archivo", sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.eq-head .tag {
  margin-left: auto;
  white-space: nowrap;
}

/* step rail */
.eq-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border);
}
.eq-rail > span {
  position: relative;
  padding: 10px 6px 9px;
  text-align: center;
  font-family: var(--font-mono), "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  transition: color 0.2s var(--ease);
}
.eq-rail > span::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.eq-rail > span.is-done { color: var(--ink-2); }
.eq-rail > span.is-done::after { transform: scaleX(1); }
.eq-rail > span.is-current { color: var(--ink); }
.eq-rail > span.is-current::after { transform: scaleX(1); }

/* body */
.eq-body { padding: 22px 18px 18px; }
@media (min-width: 480px) { .eq-body { padding: 28px 26px 22px; } }

.eq-step { animation: eq-in 0.28s var(--ease); }
@keyframes eq-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.eq-title { font-size: 22px; margin-bottom: 4px; }
@media (min-width: 480px) { .eq-title { font-size: 24px; } }
.eq-hint { color: var(--muted); font-size: 14px; margin-bottom: 20px; }

/* trade cards */
.eq-trades {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 400px) { .eq-trades { grid-template-columns: repeat(2, 1fr); } }
.eq-trade {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s, background 0.15s, transform 0.15s var(--ease);
}
.eq-trade:hover { border-color: var(--border-strong); background: var(--surface-2); }
.eq-trade:active { transform: scale(0.99); }
.eq-trade .ico {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--ink-2);
}
.eq-trade .lbl { display: block; font-weight: 700; font-size: 15px; line-height: 1.2; }
.eq-trade .sub { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.eq-trade .arrow { margin-left: auto; color: var(--muted-2); }

/* questions */
.eq-q { margin-bottom: 22px; }
.eq-q:last-child { margin-bottom: 0; }
.eq-q-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.eq-q-help { color: var(--muted); font-size: 13px; margin: -6px 0 10px; }

/* cards */
.eq-cards { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 400px) { .eq-cards { grid-template-columns: repeat(2, 1fr); } }
.eq-card {
  position: relative;
  display: block;
  padding: 12px 12px 12px 38px;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s, background 0.15s;
}
.eq-card:hover { border-color: var(--border-strong); }
.eq-card[aria-checked="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.eq-card .dot {
  position: absolute;
  left: 12px; top: 14px;
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  transition: border-color 0.15s, background 0.15s;
}
.eq-card[aria-checked="true"] .dot {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: inset 0 0 0 3px var(--surface);
}
.eq-card .lbl { display: block; font-weight: 600; font-size: 14px; line-height: 1.25; }
.eq-card .sub { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.eq-card .price {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--ink-2);
}

/* segmented */
.eq-seg {
  display: flex;
  padding: 3px;
  gap: 3px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.eq-seg > button {
  flex: 1 1 0;
  min-width: 0;
  padding: 9px 8px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-2);
  transition: background 0.15s, color 0.15s;
}
.eq-seg > button[aria-checked="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--accent);
}
.eq-seg > button .price { display: block; font-size: 11px; color: var(--muted); margin-top: 1px; }

/* select */
.eq-select {
  position: relative;
}
.eq-select select {
  width: 100%;
  appearance: none;
  padding: 11px 40px 11px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
}
.eq-select svg { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }

/* slider */
.eq-slider { padding: 2px 0 0; }
.eq-slider .val {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}
.eq-slider .val small { font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.eq-slider input[type="range"] {
  width: 100%;
  margin: 14px 0 6px;
  height: 28px;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
}
.eq-slider input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(var(--accent), var(--accent)) 0 / var(--pct, 50%) 100% no-repeat, var(--border);
}
.eq-slider input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: var(--border); }
.eq-slider input[type="range"]::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--accent); }
.eq-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px; height: 24px;
  margin-top: -10px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--accent);
  cursor: grab;
}
.eq-slider input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--accent);
  cursor: grab;
}
.eq-slider input[type="range"]:focus-visible { outline: none; }
.eq-slider input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--focus); outline-offset: 2px; }
.eq-slider input[type="range"]:focus-visible::-moz-range-thumb { outline: 2px solid var(--focus); outline-offset: 2px; }
.eq-slider .bounds { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted-2); }

/* checkbox rows */
.eq-checks { display: flex; flex-direction: column; gap: 6px; }
.eq-check {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 12px;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s, background 0.15s;
}
.eq-check:hover { border-color: var(--border-strong); }
.eq-check[aria-checked="true"] { border-color: var(--accent-soft-border); background: var(--accent-soft); }
.eq-check .box {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  border-radius: 5px;
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  color: var(--on-accent);
  transition: border-color 0.15s, background 0.15s;
}
.eq-check[aria-checked="true"] .box { border-color: var(--accent); background: var(--accent); }
.eq-check .box svg { opacity: 0; transition: opacity 0.12s; }
.eq-check[aria-checked="true"] .box svg { opacity: 1; }
.eq-check .txt { flex: 1 1 auto; min-width: 0; }
.eq-check .lbl { display: block; font-weight: 600; font-size: 14px; line-height: 1.25; }
.eq-check .sub { display: block; color: var(--muted); font-size: 12.5px; margin-top: 1px; }
.eq-check .price { flex: 0 0 auto; max-width: 38%; text-align: right; font-size: 12px; line-height: 1.3; color: var(--ink-2); }

/* running tape + nav */
.eq-foot {
  position: sticky;
  bottom: 0;
  margin: 22px -18px -18px;
  padding: 12px 18px 14px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
@media (min-width: 480px) { .eq-foot { margin: 26px -26px -22px; padding: 14px 26px 18px; } }
.is-embed .eq-foot { position: static; }
.eq-tape {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.eq-tape .amt {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.eq-nav { display: flex; gap: 10px; }
.eq-nav + .eq-nav { margin-top: 10px; }
.eq-btn {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 15px;
  transition: background 0.15s, border-color 0.15s, transform 0.1s var(--ease);
}
.eq-btn:active { transform: scale(0.99); }
.eq-btn-primary { background: var(--accent); color: var(--on-accent); }
.eq-btn-primary:hover { background: var(--accent-hover); }
.eq-btn-primary:disabled { opacity: 0.6; cursor: default; }
.eq-btn-ghost { flex: 0 0 auto; background: var(--surface); border-color: var(--border); color: var(--ink-2); }
.eq-btn-ghost:hover { border-color: var(--border-strong); background: var(--surface-2); }

/* contact form */
.eq-field { margin-bottom: 14px; }
.eq-field label { display: flex; justify-content: space-between; font-weight: 600; font-size: 13.5px; margin-bottom: 6px; }
.eq-field label .opt { font-weight: 400; color: var(--muted); font-size: 12px; }
.eq-field input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 16px; /* no iOS zoom */
  transition: border-color 0.15s;
}
.eq-field input:hover { border-color: var(--border-strong); }
.eq-field input:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 1px var(--ink); }
.eq-field input[aria-invalid="true"] { border-color: var(--danger); }
.eq-field .err { color: var(--danger); font-size: 12.5px; margin-top: 5px; }
.eq-consent { color: var(--muted); font-size: 12px; margin-top: 4px; }
.eq-alert {
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--danger-soft);
  color: var(--danger);
  font-size: 13.5px;
}
/* honeypot — visually hidden from humans, present for bots */
.eq-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* result */
.eq-range {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 4px 0 10px;
}
@media (min-width: 400px) { .eq-range { font-size: 34px; } }
.eq-range .dash { color: var(--muted-2); padding: 0 2px; }
.eq-rangebar { position: relative; height: 26px; margin: 6px 0 20px; }
.eq-rangebar .line { position: absolute; left: 0; right: 0; top: 12px; height: 2px; background: var(--border); }
.eq-rangebar .fill { position: absolute; left: 15%; right: 15%; top: 12px; height: 2px; background: var(--accent); }
.eq-rangebar .tick { position: absolute; top: 8px; width: 2px; height: 10px; background: var(--accent); }
.eq-rangebar .tick.mid { top: 5px; height: 16px; width: 2px; background: var(--ink); }
.eq-rangebar .cap { position: absolute; top: 20px; font-size: 10px; color: var(--muted); }

.eq-ledger {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}
.eq-ledger li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 10px;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.eq-ledger .k { position: relative; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.eq-ledger .k small { display: block; color: var(--muted); font-size: 12px; white-space: normal; }
.eq-ledger .v { font-size: 14px; white-space: nowrap; }
.eq-ledger li.total { border-bottom: 2px solid var(--ink); font-weight: 600; }
.eq-ledger li.total .v { font-size: 16px; }
.eq-ledger li.minimum .v { color: var(--accent-ink); }

.eq-next {
  padding: 14px 16px;
  border: 1px solid var(--accent-soft-border);
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}
.eq-next .t { font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.eq-next p { font-size: 14px; color: var(--ink-2); }
.eq-next .sent { display: block; font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.eq-disclaimer { color: var(--muted); font-size: 12px; margin: 0 0 16px; }

/* footer */
.eq-powered {
  display: flex;
  justify-content: center;
  padding: 10px;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
  font-size: 11px;
  color: var(--muted-2);
  text-decoration: none;
}
.eq-powered:hover { color: var(--muted); }
.eq-powered b { font-weight: 600; color: var(--muted); margin-left: 4px; }

/* unavailable */
.eq-empty { padding: 40px 24px; text-align: center; }
.eq-empty h1 { font-size: 18px; margin-bottom: 6px; }
.eq-empty p { color: var(--muted); font-size: 14px; }

/* two-up contact fields */
.eq-row2 { display: grid; grid-template-columns: 1fr; gap: 0 12px; }
@media (min-width: 400px) { .eq-row2 { grid-template-columns: 1fr 1fr; } }
.eq-field .eq-select select { min-height: 46px; font-size: 16px; }
.eq-turnstile { margin: 4px 0 12px; min-height: 65px; }

/* print: the estimate sheet, nothing else */
@media print {
  body, .eq-page { background: #fff !important; padding: 0 !important; }
  .eq { border: 0; max-width: none; }
  .eq-rail, .eq-powered, .eq-print-hide, .eq-next { display: none !important; }
  .eq-step { animation: none; }
}

/* optional dark theme for dark host sites: ?theme=dark */
.eq-page.theme-dark {
  --bg: #0f1115; --surface: #161a20; --surface-2: #1c2128; --border: #2a313b; --border-strong: #3a434f;
  --ink: #f2f4f7; --ink-2: #c9d0d9; --muted: #8c96a3; --muted-2: #808996; --focus: #f2f4f7;
  --danger-soft: #3a1a17;
  /* The block used to stop at the neutrals, so --danger and the accent kept their white-tuned
     values and failed AA on every dark surface: danger 2.66:1 on --surface and 2.38:1 inside the
     alert, accent text 2.91:1, --muted-2 3.52:1. These are the same colours re-solved against
     #161a20 / #1c2128 (danger 5.03 / 4.66 / 4.52 in the alert, muted-2 4.94 / 4.58). The accent is
     per-client so it cannot be a literal — resolveAccent computes --accent-ink-dark alongside it,
     and the fallback covers the shells that render with no client palette at all. */
  --danger: #ce6e67;
  --accent-ink: var(--accent-ink-dark, #8ab4ab);
  color-scheme: dark;
}
.theme-dark .eq-card[aria-checked="true"] { background: color-mix(in srgb, var(--accent) 18%, var(--surface)); }
.theme-dark .eq-check[aria-checked="true"] { background: color-mix(in srgb, var(--accent) 14%, var(--surface)); border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.theme-dark .eq-next { background: color-mix(in srgb, var(--accent) 14%, var(--surface)); border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.theme-dark .eq-seg > button[aria-checked="true"] { background: var(--surface-2); }
.theme-dark .eq-card .dot, .theme-dark .eq-check .box, .theme-dark .eq-slider input[type="range"]::-webkit-slider-thumb { background: var(--surface-2); }
.theme-dark .eq-powered { background: var(--surface-2); }

/* ── "I'm not sure" ──────────────────────────────────────────────────────────
   Never blocks: answers with the default and honestly widens the range. Styled
   as a quiet afterthought so it aids the stuck without inviting the lazy. */
.eq-unsure {
  margin-top: 8px; padding: 6px 12px; border-radius: 999px; border: 1px dashed var(--border);
  background: transparent; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer;
  transition: color .15s var(--ease), border-color .15s var(--ease), background .15s var(--ease);
}
.eq-unsure:hover { color: var(--ink-2); border-color: var(--border-strong); }
.eq-unsure.is-on { border-style: solid; border-color: var(--accent); color: var(--accent-ink); background: var(--accent-soft-bg, rgba(0,0,0,.03)); font-weight: 600; }

/* ── job photos ─────────────────────────────────────────────────────────── */
.eq-photos { display: flex; gap: 10px; flex-wrap: wrap; }
.eq-photo { position: relative; width: 84px; height: 84px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.eq-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.eq-photo button {
  position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%;
  border: 0; background: rgba(0,0,0,.55); color: #fff; font-size: 15px; line-height: 1; cursor: pointer;
}
.eq-photo-add {
  width: 84px; height: 84px; border-radius: 12px; border: 1.5px dashed var(--border-strong);
  display: grid; place-items: center; cursor: pointer; color: var(--muted); font-size: 13px;
  text-align: center; transition: border-color .15s var(--ease), color .15s var(--ease);
}
.eq-photo-add:hover { border-color: var(--accent); color: var(--accent-ink); }
.eq-photo-add:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; border-color: var(--accent); color: var(--accent-ink); }
.eq-photo-add.is-busy { opacity: .6; pointer-events: none; }
.eq-photo-add input { position: absolute; width: 1px; height: 1px; opacity: 0; }

/* ── appointment windows ────────────────────────────────────────────────── */
.eq-booking { display: flex; flex-direction: column; gap: 10px; }
.eq-bday { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.eq-bday-l { font-size: 13.5px; font-weight: 600; color: var(--ink-2); min-width: 92px; }
.eq-bwins { display: flex; gap: 8px; flex-wrap: wrap; }
.eq-bwin {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  color: var(--ink-2); font: inherit; font-size: 13.5px; cursor: pointer;
  transition: border-color .15s var(--ease), background .15s var(--ease), color .15s var(--ease);
}
.eq-bwin:hover { border-color: var(--border-strong); }
.eq-bwin.is-on { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent-ink); font-weight: 600; }

/* ── financing line under the range ─────────────────────────────────────── */
.eq-financing { margin: 2px 0 10px; font-size: 16px; font-weight: 600; color: var(--ink-2); }
.eq-financing small { display: block; margin-top: 4px; font-size: 11.5px; font-weight: 400; color: var(--muted); max-width: 52ch; line-height: 1.5; }

/* ── the running estimate stays in sight on phones ──────────────────────────
   Standalone only: in an embed the iframe is auto-sized to its content, so the
   HOST page owns scrolling and sticky inside the frame cannot track it. */
@media (max-width: 640px) {
  .eq-page:not(.is-embed) .eq-foot {
    position: sticky; bottom: 0; z-index: 5;
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    margin-left: calc(-1 * var(--pad, 20px)); margin-right: calc(-1 * var(--pad, 20px));
    padding: 12px var(--pad, 20px); border-top: 1px solid var(--border);
  }
}
