.estimator-body {
  min-height: 100dvh;
  min-height: 100svh;
  background: radial-gradient(120% 80% at 50% 0%, #0f2848 0%, var(--ink) 55%);
}
@media (min-width: 768px) {
  .estimator-body {
    background: radial-gradient(ellipse 80% 60% at 50% 20%, #132a52 0%, var(--ink) 70%);
  }
  .estimator-app {
    max-width: 520px;
    margin: 0 auto;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.45);
  }
}
.estimator-app {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  min-height: 100svh;
  padding: max(12px, env(safe-area-inset-top)) 14px max(100px, calc(12px + env(safe-area-inset-bottom)));
  position: relative;
}
.est-swipe-surface {
  flex: 1;
  display: flex;
  flex-direction: column;
  touch-action: pan-y;
}
.est-header h1 {
  font-size: clamp(24px, 5.5vw, 32px);
  margin-bottom: 0.3em;
}
.est-header p {
  color: var(--slate);
  font-size: 16px;
  max-width: 36ch;
}
.est-progress {
  display: flex;
  gap: 6px;
  margin: 14px 0 16px;
}
.est-progress span {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: rgba(203, 213, 225, 0.2);
  transition: background 0.3s var(--ease);
}
.est-progress span.on {
  background: var(--warm);
}
.est-glass-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px 16px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: est-in 0.32s var(--ease);
}
@keyframes est-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.est-swipe-hint {
  font-size: 13px;
  color: var(--steel);
  text-align: center;
  margin-top: 10px;
}
.est-hero-illus {
  width: 100%;
  max-width: 300px;
  margin: 8px auto 16px;
  display: block;
}
.est-tip {
  font-size: 14px;
  color: var(--slate);
  margin-top: 8px;
}
.est-thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.est-thumb {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.est-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.est-thumb button {
  position: absolute;
  top: 2px;
  right: 2px;
  min-height: 44px;
  min-width: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(5, 11, 24, 0.85);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.est-ref-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.est-ref-card {
  min-height: 96px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font: 600 14px/1.25 "Montserrat", system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.2s var(--ease), border-color 0.2s, background 0.2s;
}
.est-ref-card:active {
  transform: scale(0.97);
}
.est-ref-card.on {
  border-color: var(--warm);
  background: rgba(242, 197, 138, 0.14);
}
.est-ref-card svg {
  width: 48px;
  height: 48px;
}
.est-pin-layout {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  gap: 10px;
}
.est-pin-viewport {
  flex: 1;
  min-height: 0;
  max-height: min(52vh, 420px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
  border: 1px solid var(--line);
}
.est-pin-stage {
  position: relative;
  touch-action: manipulation;
}
.est-pin-stage img {
  width: 100%;
  display: block;
  user-select: none;
}
.est-pin {
  position: absolute;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--warm);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.est-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: min(58dvh, 480px);
  overflow: auto;
  padding: 0 16px max(20px, env(safe-area-inset-bottom));
  background: #0a1428;
  border-top: 1px solid var(--line);
  border-radius: 20px 20px 0 0;
  transform: translateY(110%);
  transition: transform 0.3s var(--ease);
  z-index: 50;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.5);
}
.est-sheet.open {
  transform: translateY(0);
}
.est-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 0 10px;
  position: sticky;
  top: 0;
  background: #0a1428;
  z-index: 2;
}
.est-sheet-title {
  font-weight: 700;
  font-size: 18px;
}
.est-sheet-actions {
  display: flex;
  gap: 8px;
}
.est-sheet-actions .btn-del {
  color: #ffb4b4;
  border-color: rgba(255, 120, 120, 0.45);
}
.est-type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.est-type-card {
  min-height: 72px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}
.est-type-card.on {
  border-color: var(--warm);
  background: rgba(242, 197, 138, 0.12);
}
.est-type-card svg {
  width: 28px;
  height: 28px;
}
.est-size-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 12px;
}
.est-size-chip {
  min-height: 52px;
  min-width: 52px;
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.est-size-chip.on {
  border-color: var(--warm);
}
.est-size-chip .size-dot {
  border-radius: 50%;
  background: var(--warm);
  opacity: 0.85;
}
.est-choice-card {
  display: block;
  width: 100%;
  text-align: left;
  min-height: 64px;
  padding: 16px 18px;
  margin-bottom: 10px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font: 600 16px/1.35 "Montserrat", system-ui, sans-serif;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
}
.est-choice-card:active {
  transform: scale(0.99);
}
.est-choice-card.on {
  border-color: var(--warm);
  background: rgba(242, 197, 138, 0.12);
}
.est-times-wrap {
  position: relative;
  flex: 1;
}
.est-picked-pill {
  position: sticky;
  top: 0;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(242, 197, 138, 0.2);
  border: 1px solid var(--warm);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.est-week-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}
.est-day-col {
  flex: 0 0 78%;
  max-width: 280px;
  scroll-snap-align: start;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
}
.est-day-col h3 {
  font-size: 15px;
  margin: 0 0 10px;
}
.est-time-tile {
  width: 100%;
  min-height: 48px;
  margin-bottom: 8px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
.est-time-tile.on {
  border-color: var(--warm);
  background: rgba(242, 197, 138, 0.15);
}
.est-field label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--slate);
}
.est-field input,
.est-field textarea {
  width: 100%;
  min-height: 48px;
  font-size: 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 12px;
  font-family: inherit;
}
.est-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 10px;
  padding: 12px 16px max(12px, env(safe-area-inset-bottom));
  background: rgba(5, 11, 24, 0.94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 40;
}
@media (min-width: 768px) {
  .est-bar {
    max-width: 520px;
    left: 50%;
    transform: translateX(-50%);
  }
  /* The glass card's backdrop-filter makes it the containing block for this fixed sheet,
     so span the full card column (about 490px) instead of centering inside it. */
  .est-sheet {
    left: 0;
    right: 0;
    max-width: none;
    padding: 0 20px max(20px, env(safe-area-inset-bottom));
    transform: translateY(110%);
  }
  .est-sheet.open {
    transform: translateY(0);
  }
  .est-sheet-title {
    white-space: nowrap;
  }
}
.est-bar .btn {
  flex: 1;
}
.est-stepper {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.est-stepper button {
  min-width: 48px;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}
.est-error {
  color: #ffb4b4;
  font-size: 14px;
  margin-top: 8px;
}
.est-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.quote-page {
  min-height: 100svh;
  background: radial-gradient(120% 80% at 50% 0%, #0f2848 0%, var(--ink) 55%);
}
.quote-shell {
  padding: max(20px, env(safe-area-inset-top)) 16px 40px;
  max-width: 520px;
  margin: 0 auto;
}
.quote-card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 18px 28px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.quote-brand img {
  margin: 0 auto 12px;
}
.quote-card h1 {
  font-size: clamp(26px, 6vw, 34px);
}
.quote-greet {
  color: var(--slate);
}
.quote-photos {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.quote-thumb {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.quote-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.quote-pin {
  position: absolute;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--warm);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quote-item,
.quote-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.quote-total-line {
  display: flex;
  justify-content: space-between;
  padding: 14px 0 6px;
  font-size: 18px;
}
.quote-deposit {
  margin: 8px 0;
}
.quote-call {
  margin-top: 20px;
  background: var(--navy) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.quote-call:hover {
  background: var(--navy-deep) !important;
}
.quote-times h2 {
  font-size: 20px;
  margin-top: 20px;
}
.quote-times ul {
  padding-left: 1.2em;
  color: var(--slate);
}
/* Wall texture: two exclusive picture cards */
.est-tex-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 6px 0 4px;
}
.est-tex-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-height: 150px;
  padding: 14px 10px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font: 600 15px/1.3 "Montserrat", system-ui, sans-serif;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
}
.est-tex-card svg {
  width: 100%;
  max-width: 120px;
  height: auto;
  border-radius: 10px;
}
.est-tex-card:active {
  transform: scale(0.99);
}
.est-tex-card.on {
  border-color: var(--warm);
  background: rgba(242, 197, 138, 0.12);
  box-shadow: 0 0 0 1px var(--warm) inset;
}

/* Quote page: requested visit times and calendar buttons */
.quote-slots {
  list-style: none;
  padding: 0 !important;
  margin: 10px 0 0;
  display: grid;
  gap: 10px;
}
.quote-slot {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  padding: 12px 14px;
  color: #fff;
}
.quote-slot-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 16px;
}
.quote-slot-win {
  color: var(--slate);
  font-size: 14px;
  white-space: nowrap;
}
.quote-cal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 10px;
}
.quote-cal-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(242, 197, 138, 0.6);
  background: rgba(242, 197, 138, 0.1);
  color: var(--warm);
  font: 600 15px/1 "Montserrat", system-ui, sans-serif;
  text-decoration: none;
}
.quote-cal-btn:hover {
  background: rgba(242, 197, 138, 0.2);
}
.quote-cal-link {
  color: var(--slate);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.quote-cal-all {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.quote-cal-ico {
  flex: none;
}
.quote-times-note {
  color: var(--slate);
  font-size: 14px;
  margin: 12px 0 0;
}

@media (prefers-reduced-motion: reduce) {
  .est-sheet,
  .est-progress span,
  .est-glass-card,
  .btn,
  .est-choice-card,
  .est-tex-card,
  .est-ref-card {
    animation: none;
    transition: none;
  }
}

/* Questionnaire (v5): big tap cards, app-like, no checkboxes */
.est-q-title {
  font-size: clamp(22px, 5.6vw, 28px);
  line-height: 1.2;
  margin: 0 0 16px;
}
.est-q-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.est-q-grid .est-q-card {
  margin-bottom: 0;
  min-height: 60px;
  text-align: center;
  font-size: 17px;
}
.est-q-big .est-q-card {
  min-height: 86px;
  font-size: 22px;
  font-weight: 700;
}
.est-q-two {
  grid-template-columns: 1fr 1fr;
}
.est-q-two .est-q-card {
  min-height: 54px;
  padding: 12px 10px;
  font-size: 15px;
}
.est-q-exact {
  max-width: 220px;
}
.est-opt {
  color: var(--slate);
  font-weight: 500;
  font-size: 0.9em;
}

/* Damage check flag */
.est-pin.flag {
  background: #7f1d1d;
  border-color: #fca5a5;
  animation: estFlagPulse 1.4s ease-in-out infinite;
}
@keyframes estFlagPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(252, 165, 165, 0.55), 0 4px 14px rgba(0, 0, 0, 0.35); }
  50% { box-shadow: 0 0 0 10px rgba(252, 165, 165, 0), 0 4px 14px rgba(0, 0, 0, 0.35); }
}
@media (prefers-reduced-motion: reduce) {
  .est-pin.flag { animation: none; }
}
.est-flag-box {
  margin: 12px 0 4px;
  padding: 14px 14px 12px;
  border-radius: 16px;
  border: 1px solid rgba(252, 165, 165, 0.55);
  background: linear-gradient(145deg, rgba(127, 29, 29, 0.35), rgba(127, 29, 29, 0.15));
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.est-flag-box p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.4;
  color: #fff;
}
.est-flag-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.est-flag-actions .btn {
  min-height: 48px;
}
.est-q-grid .est-q-card.on {
  border-color: #f2c58a;
  background: linear-gradient(145deg, rgba(242, 197, 138, 0.95), rgba(242, 197, 138, 0.78));
  color: #0b1530;
  box-shadow: 0 6px 22px rgba(242, 197, 138, 0.28);
}
.est-q-grid + .est-field,
.est-field + .est-q-grid {
  margin-top: 14px;
}

.quote-brand-link { display: inline-block; }

/* Quote page: Book your visit */
.quote-book { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.quote-book h2 { font-size: 22px; margin: 0 0 10px; }
.book-note { background: rgba(11, 61, 145, 0.35); border: 1px solid rgba(203, 213, 225, 0.3); border-radius: 14px; padding: 12px 14px; color: #fff; margin: 0 0 12px; }
.book-notice { background: rgba(242, 197, 138, 0.14); border: 1px solid rgba(242, 197, 138, 0.55); border-radius: 14px; padding: 10px 14px; color: #fff; margin: 0 0 12px; }
.book-deposit { font-size: 18px; font-weight: 700; color: #fff; margin: 4px 0 2px; }
.book-how, .book-pick, .book-fine { color: var(--slate); font-size: 14px; margin: 4px 0 10px; }
.book-picked { font-size: 18px; color: #fff; margin: 6px 0; }
.book-days { display: grid; gap: 10px; margin: 0 0 16px; }
.book-day { border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, 0.04); padding: 10px 12px 12px; margin: 0; min-width: 0; }
.book-day legend { padding: 0 6px; font-weight: 700; color: #fff; font-size: 15px; }
.book-day.is-full { opacity: 0.85; }
.book-full { margin: 2px 0 0; color: var(--slate); font-size: 14px; font-weight: 600; }
.book-wins { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.book-slot { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 64px; padding: 8px 4px;
  border-radius: 12px; border: 1px solid rgba(203, 213, 225, 0.35); background: rgba(255, 255, 255, 0.05); color: #fff; text-align: center; cursor: pointer; }
.book-slot input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.book-slot-name { font-weight: 700; font-size: 14px; line-height: 1.2; }
.book-slot-time { font-size: 13px; color: var(--slate); }
.book-slot-why { font-size: 12px; color: var(--slate); }
.book-slot.is-off { cursor: not-allowed; background: transparent; border-style: dashed; border-color: rgba(203, 213, 225, 0.22); }
.book-slot.is-off .book-slot-name { color: var(--slate); font-weight: 600; }
.book-slot:has(input:checked) { border-color: var(--warm); background: rgba(242, 197, 138, 0.16); box-shadow: 0 0 0 1px var(--warm) inset; }
.book-slot:has(input:focus-visible) { outline: 2px solid var(--warm); outline-offset: 2px; }
.book-go { text-align: center; }
.book-soon { white-space: normal; line-height: 1.3; }
@media (min-width: 700px) { .quote-shell { max-width: 640px; } }
.book-refund { color: #fff; font-size: 14px; line-height: 1.45; margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(203, 213, 225, 0.25); background: rgba(255, 255, 255, 0.04); }

/* Quote prep overlay (v12): shown while the AI checks photos and prices the quote */
body.qp-open { overflow: hidden; }
.qp {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  background: radial-gradient(120% 80% at 50% 0%, rgba(15, 40, 72, 0.97) 0%, rgba(5, 11, 24, 0.98) 60%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.26s var(--ease);
  overflow-y: auto;
}
.qp.in { opacity: 1; }
.qp.out { opacity: 0; pointer-events: none; }
.qp-card {
  width: min(440px, 100%);
  text-align: center;
  outline: none;
  transform: translateY(10px);
  transition: transform 0.4s var(--ease);
}
.qp.in .qp-card { transform: none; }
.qp-scan { margin: 0 auto 14px; }
.qp-frame {
  position: relative;
  display: inline-block;
  max-width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(242, 197, 138, 0.08);
  background: #0a1428;
  vertical-align: top;
}
.qp-img {
  display: block;
  max-width: 100%;
  max-height: min(34vh, 300px);
  width: auto;
  height: auto;
  filter: saturate(0.85) brightness(0.82);
  transition: opacity 0.22s;
}
.qp-img.qp-swap { opacity: 0; }
.qp-wall {
  width: min(300px, 78vw);
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, #1a2c4c, #0b1830);
}
.qp-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(242, 197, 138, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 197, 138, 0.09) 1px, transparent 1px);
  background-size: 24px 24px;
  mix-blend-mode: screen;
}
.qp-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 38%;
  background: linear-gradient(180deg, rgba(242, 197, 138, 0) 0%, rgba(242, 197, 138, 0.16) 85%, rgba(242, 197, 138, 0.9) 99%, rgba(242, 197, 138, 0) 100%);
  border-bottom: 2px solid var(--warm);
  box-shadow: 0 6px 18px rgba(242, 197, 138, 0.45);
  top: -38%;
  animation: qp-scan 2.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes qp-scan {
  0% { top: -38%; }
  100% { top: 100%; }
}
.qp-c {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--warm);
  opacity: 0.9;
}
.qp-tl { left: 8px; top: 8px; border-right: 0; border-bottom: 0; border-top-left-radius: 6px; }
.qp-tr { right: 8px; top: 8px; border-left: 0; border-bottom: 0; border-top-right-radius: 6px; }
.qp-bl { left: 8px; bottom: 8px; border-right: 0; border-top: 0; border-bottom-left-radius: 6px; }
.qp-br { right: 8px; bottom: 8px; border-left: 0; border-top: 0; border-bottom-right-radius: 6px; }
.qp-pins { position: absolute; inset: 0; }
.qp-pin {
  position: absolute;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--warm);
  box-shadow: 0 0 0 0 rgba(242, 197, 138, 0.7);
  animation: qp-ping 1.6s ease-out infinite;
}
@keyframes qp-ping {
  0% { box-shadow: 0 0 0 0 rgba(242, 197, 138, 0.75); }
  70% { box-shadow: 0 0 0 16px rgba(242, 197, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(242, 197, 138, 0); }
}
.qp-count { margin: 8px 0 0; font-size: 13px; color: var(--slate); }
.qp-count b { color: var(--warm); font-weight: 700; }
.qp-ruler {
  position: relative;
  height: 22px;
  margin: 4px auto 16px;
  width: min(300px, 86%);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.qp-ticks {
  position: absolute;
  left: 0;
  top: 0;
  width: calc(100% + 40px);
  height: 100%;
  background-image:
    linear-gradient(90deg, rgba(203, 213, 225, 0.65) 1px, transparent 1px),
    linear-gradient(90deg, rgba(203, 213, 225, 0.35) 1px, transparent 1px);
  background-size: 40px 14px, 8px 7px;
  background-repeat: repeat-x;
  background-position: 0 0, 0 0;
  animation: qp-tape 1.4s linear infinite;
}
@keyframes qp-tape {
  from { transform: translateX(0); }
  to { transform: translateX(-40px); }
}
.qp-mark {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  margin-left: -1px;
  background: var(--warm);
  box-shadow: 0 0 10px rgba(242, 197, 138, 0.8);
}
.qp h2 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.qp-now {
  margin: 0 0 14px;
  color: var(--warm);
  font-size: 15px;
  font-weight: 600;
  min-height: 1.5em;
}
.qp-steps {
  list-style: none;
  margin: 0 auto 16px;
  padding: 0;
  display: inline-grid;
  gap: 8px;
  text-align: left;
  font-size: 14px;
  color: rgba(203, 213, 225, 0.55);
}
.qp-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s;
}
.qp-steps li.on { color: #fff; }
.qp-steps li.done { color: var(--slate); }
.qp-dot {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(203, 213, 225, 0.35);
  transition: background 0.3s, border-color 0.3s;
}
.qp-steps li.on .qp-dot {
  border-color: rgba(242, 197, 138, 0.25);
  border-top-color: var(--warm);
  animation: qp-spin 0.8s linear infinite;
}
.qp-steps li.done .qp-dot {
  background: var(--warm);
  border-color: var(--warm);
}
.qp-steps li.done .qp-dot::after {
  content: "";
  position: absolute;
  left: 4.5px;
  top: 1.5px;
  width: 4px;
  height: 8px;
  border: solid var(--ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
@keyframes qp-spin { to { transform: rotate(360deg); } }
.qp-bar {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin: 0 auto 12px;
  width: min(320px, 100%);
}
.qp-bar span {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, #c99a5b, var(--warm) 70%, #fff1dc);
  transition: transform 0.35s var(--ease);
}
.qp-bar span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: translateX(-100%);
  animation: qp-shine 1.6s ease-in-out infinite;
}
@keyframes qp-shine { to { transform: translateX(100%); } }
.qp-note { margin: 0; font-size: 13px; color: var(--slate); }
.qp-done .qp-line,
.qp-done .qp-ticks,
.qp-done .qp-pin,
.qp-done .qp-bar span::after { animation: none; }
.qp-done .qp-line { opacity: 0; transition: opacity 0.3s; }
.qp-done .qp-frame { box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5), 0 0 0 2px var(--warm); transition: box-shadow 0.3s; }
@media (max-height: 640px) {
  .qp-img { max-height: 26vh; }
  .qp-steps { gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .qp,
  .qp-card,
  .qp-img,
  .qp-bar span { transition: opacity 0.2s; }
  .qp-card { transform: none; }
  .qp-line { display: none; }
  .qp-ticks,
  .qp-pin,
  .qp-bar span::after,
  .qp-steps li.on .qp-dot { animation: none; }
  .qp-steps li.on .qp-dot { border-color: var(--warm); }
}

/* Quote page booking v13: compact day grid, one day's windows, sticky pay bar */
.quote-next { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(242, 197, 138, 0.55); background: rgba(242, 197, 138, 0.1); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; }
.quote-next span { flex-basis: 100%; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--warm); }
.quote-next svg { margin-left: auto; color: var(--warm); }
.book-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin: 0 0 12px; }
.book-dchip { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 7px 2px 6px; min-height: 58px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05); color: #fff; font: inherit; cursor: pointer; position: relative; }
.book-dchip-dow { font-size: 11px; font-weight: 600; color: var(--slate); text-transform: uppercase; letter-spacing: 0.04em; }
.book-dchip-num { font-size: 18px; font-weight: 700; line-height: 1.1; }
.book-dchip-sub { font-size: 10px; color: var(--slate); white-space: nowrap; }
.book-dchip.is-off { cursor: not-allowed; opacity: 0.42; background: transparent; border-style: dashed; }
.book-dchip.is-on { border-color: var(--warm); background: rgba(242, 197, 138, 0.16); box-shadow: 0 0 0 1px var(--warm) inset; }
.book-dchip.has-sel::after { content: ""; position: absolute; top: 5px; right: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--warm); }
.book-dchip:focus-visible { outline: 2px solid var(--warm); outline-offset: 2px; }
.book-js .book-day { display: none; }
.book-js .book-day.is-on { display: block; }
.book-slot-mine { font-size: 11px; font-weight: 600; color: var(--slate); }
/* The checked time is the one that gets booked: warm outline plus a "Selected" pill. "You suggested" is only a hint. */
.book-slot-sel { display: none; position: absolute; top: -9px; left: 50%; transform: translateX(-50%); padding: 1px 8px; border-radius: 999px; background: var(--warm); color: #0b1220; font-size: 10px; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase; white-space: nowrap; }
.book-slot.is-sel, .book-slot:has(input:checked) { border-color: var(--warm); background: rgba(242, 197, 138, 0.2); box-shadow: 0 0 0 2px var(--warm) inset; }
.book-slot.is-sel .book-slot-sel, .book-slot:has(input:checked) .book-slot-sel { display: block; }
.book-slot { -webkit-tap-highlight-color: transparent; touch-action: manipulation; cursor: pointer; }
.book-wins { padding-top: 6px; }
.book-paybar { display: grid; gap: 8px; }
.book-paybar-pick { margin: 0; display: flex; flex-direction: column; font-size: 13px; color: var(--slate); line-height: 1.3; }
.book-paybar-pick strong { color: #fff; font-size: 15px; }
.book-paybar.book-js { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(5, 11, 24, 0.94); border-top: 1px solid rgba(242, 197, 138, 0.45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.45); animation: book-bar-in 0.3s var(--ease); }
.book-paybar.book-js .book-go { min-height: 50px; }
@media (min-width: 640px) {
  .book-paybar.book-js { grid-template-columns: 1fr auto; align-items: center; padding-left: max(16px, calc(50% - 380px)); padding-right: max(16px, calc(50% - 380px)); }
  .book-paybar.book-js .book-go { width: auto; padding-left: 26px; padding-right: 26px; }
}
body.book-bar-on { padding-bottom: calc(140px + env(safe-area-inset-bottom)); }
@keyframes book-bar-in { from { transform: translateY(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .book-paybar.book-js { animation: none; } }
.book-range { display: block; color: #fff; font-weight: 600; font-size: 13px; }
.book-paybar.book-js:not(.has-pick) .book-go { opacity: 0.55; }

/* Spot sheet questions: scrolled into view on type pick; a short pulse when Next or Done finds one unanswered. */
.est-q { border-radius: 14px; margin: 0 -8px 8px; padding: 2px 8px 8px; scroll-margin: 70px 0 90px; }
.est-q-missing { box-shadow: 0 0 0 1px rgba(255, 180, 180, 0.55) inset; }
.est-q-pulse { animation: est-q-pulse 1.1s ease-out 1; }
@keyframes est-q-pulse { 0% { background: rgba(242, 197, 138, 0.28); } 100% { background: transparent; } }
.est-sheet { padding-bottom: max(96px, calc(76px + env(safe-area-inset-bottom))); }
@media (prefers-reduced-motion: reduce) { .est-q-pulse { animation: none; background: rgba(242, 197, 138, 0.12); } }

/* ==========================================================================
   Liquid Glass layer (Will, 2026-10-27). Presentation only, scoped to the
   photo quote flow (.estimator-body). Booking page styles above are untouched.
   ========================================================================== */
.estimator-body {
  --g-fill: linear-gradient(160deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.05) 45%, rgba(255, 255, 255, 0.03) 100%);
  --g-edge: rgba(255, 255, 255, 0.16);
  --g-hi: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  --g-shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.7), 0 2px 8px rgba(0, 0, 0, 0.25);
  --g-blur: blur(22px) saturate(170%);
  --g-sel: linear-gradient(160deg, rgba(242, 197, 138, 0.3), rgba(242, 197, 138, 0.12));
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --bar-h: 72px;
  background:
    radial-gradient(90% 55% at 85% 0%, rgba(11, 61, 145, 0.55), transparent 65%),
    radial-gradient(70% 45% at 0% 100%, rgba(242, 197, 138, 0.1), transparent 60%),
    var(--ink);
  background-attachment: fixed;
}
.estimator-body .estimator-app {
  padding: max(14px, env(safe-area-inset-top)) 16px calc(var(--bar-h) + env(safe-area-inset-bottom) + 20px);
}
@media (min-width: 768px) {
  .estimator-body .estimator-app { border: 0; box-shadow: none; padding-top: 32px; }
}
/* Header */
.estimator-body .est-header h1 { font-size: clamp(22px, 6vw, 30px); line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 4px; }
.estimator-body .est-header p { font-size: 14.5px; line-height: 1.45; color: var(--light); margin: 0; }
/* Progress: glass track, current step fills and glows */
.estimator-body .est-progress {
  gap: 5px; margin: 12px 0 14px; padding: 4px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--g-hi);
}
.estimator-body .est-progress span {
  position: relative; height: 5px; border-radius: 999px; overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}
.estimator-body .est-progress span::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(90deg, #f2c58a, #ffe1b5);
  transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease);
}
.estimator-body .est-progress span.on { background: rgba(255, 255, 255, 0.12); }
.estimator-body .est-progress span.on::before { transform: scaleX(1); }
.estimator-body .est-progress span.cur { box-shadow: 0 0 10px rgba(242, 197, 138, 0.65); }
.estimator-body .est-progress span.cur::before { animation: g-fill 0.55s var(--ease) both; }
@keyframes g-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* Main glass card */
.estimator-body .est-glass-card {
  flex: 0 0 auto;
  background: var(--g-fill);
  border: 1px solid var(--g-edge);
  border-radius: 26px;
  padding: 16px 16px 18px;
  box-shadow: var(--g-hi), var(--g-shadow);
  backdrop-filter: var(--g-blur);
  -webkit-backdrop-filter: var(--g-blur);
  animation: none;
}
.estimator-body .est-glass-card > p { font-size: 15.5px; line-height: 1.5; margin: 0 0 8px; }
.estimator-body .est-tip { font-size: 13.5px; color: var(--slate); margin: 0 0 12px; }
.estimator-body .est-swipe-hint { font-size: 12px; margin-top: 8px; opacity: 0.8; }
/* Step transitions (direction set in JS only when the step changes) */
.estimator-app[data-anim="fwd"] .est-glass-card { animation: g-in-fwd 0.26s var(--ease) both; }
.estimator-app[data-anim="back"] .est-glass-card { animation: g-in-back 0.26s var(--ease) both; }
.estimator-app[data-anim="in"] .est-glass-card { animation: g-in-up 0.3s var(--ease) both; }
@keyframes g-in-fwd { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }
@keyframes g-in-back { from { opacity: 0; transform: translateX(-22px); } to { opacity: 1; transform: none; } }
@keyframes g-in-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
/* Photo step illustration in a glass frame */
.estimator-body .est-hero-illus {
  max-width: none; width: 100%; height: auto; aspect-ratio: 16 / 7; max-height: 150px;
  margin: 0 0 12px; border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(80% 90% at 70% 20%, rgba(11, 61, 145, 0.55), rgba(7, 20, 46, 0.6));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 10px 30px -14px rgba(0, 0, 0, 0.7);
}
/* Buttons: glass pills, press scale with spring back */
.estimator-body .btn {
  min-height: 48px; border-radius: 999px; font-weight: 700; letter-spacing: 0.01em;
  transition: transform 0.35s var(--spring), box-shadow 0.25s, background 0.25s, border-color 0.25s;
  -webkit-tap-highlight-color: transparent;
}
.estimator-body .btn-ghost {
  color: #fff; border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  box-shadow: var(--g-hi);
  backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
}
.estimator-body .btn-solid {
  color: #071226; border: 1px solid rgba(255, 255, 255, 0.9);
  background: linear-gradient(180deg, #ffffff 0%, #e9eef6 100%);
  box-shadow: inset 0 1px 0 #fff, 0 10px 26px -10px rgba(242, 197, 138, 0.55), 0 2px 6px rgba(0, 0, 0, 0.25);
}
.estimator-body .btn-lg { min-height: 52px; font-size: 16px; }
.estimator-body .btn-block + .btn-block { margin-top: 10px; }
.estimator-body .btn:active,
.estimator-body .est-choice-card:active,
.estimator-body .est-q-card:active,
.estimator-body .est-type-card:active,
.estimator-body .est-size-chip:active,
.estimator-body .est-ref-card:active,
.estimator-body .est-tex-card:active,
.estimator-body .est-time-tile:active,
.estimator-body .est-stepper button:active { transform: scale(0.96); transition-duration: 0.08s; }
.estimator-body .btn[disabled] { opacity: 0.6; }
/* Choice cards, chips and tiles: glass, selected state fills and pops a check */
.estimator-body .est-choice-card,
.estimator-body .est-type-card,
.estimator-body .est-size-chip,
.estimator-body .est-ref-card,
.estimator-body .est-tex-card,
.estimator-body .est-time-tile {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  box-shadow: var(--g-hi);
  transition: transform 0.35s var(--spring), background 0.25s, border-color 0.25s, box-shadow 0.25s;
  -webkit-tap-highlight-color: transparent;
}
.estimator-body .est-choice-card { min-height: 56px; padding: 14px 44px 14px 16px; margin-bottom: 8px; border-radius: 18px; font-size: 15.5px; }
.estimator-body .est-q-grid { gap: 8px; }
.estimator-body .est-q-grid .est-q-card { padding-left: 40px; padding-right: 40px; }
.estimator-body .est-q-big .est-q-card { min-height: 72px; font-size: 20px; }
.estimator-body .est-q-title { font-size: clamp(20px, 5.4vw, 26px); margin: 2px 0 12px; }
.estimator-body .est-choice-card.on,
.estimator-body .est-type-card.on,
.estimator-body .est-size-chip.on,
.estimator-body .est-ref-card.on,
.estimator-body .est-tex-card.on,
.estimator-body .est-time-tile.on {
  border-color: rgba(242, 197, 138, 0.85);
  background: var(--g-sel);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 0 0 3px rgba(242, 197, 138, 0.16), 0 10px 26px -12px rgba(242, 197, 138, 0.5);
}
.estimator-body .est-q-grid .est-q-card.on { color: #fff; background: var(--g-sel); }
.estimator-body .est-choice-card.on::after,
.estimator-body .est-type-card.on::after,
.estimator-body .est-ref-card.on::after,
.estimator-body .est-tex-card.on::after {
  content: ""; position: absolute; top: 50%; right: 12px; width: 22px; height: 22px; margin-top: -11px;
  border-radius: 50%; background: #f2c58a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23071226' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
  box-shadow: 0 2px 8px rgba(242, 197, 138, 0.5);
  animation: g-check 0.38s var(--spring) both;
}
.estimator-body .est-type-card.on::after,
.estimator-body .est-ref-card.on::after,
.estimator-body .est-tex-card.on::after { top: 8px; right: 8px; margin-top: 0; width: 20px; height: 20px; background-size: 12px; }
@keyframes g-check { 0% { transform: scale(0); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.estimator-body .est-type-card, .estimator-body .est-ref-card { border-radius: 18px; }
.estimator-body .est-type-card svg, .estimator-body .est-ref-card svg { filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35)); }
.estimator-body .est-tex-card { min-height: 132px; border-radius: 20px; }
/* Fields */
.estimator-body .est-field input,
.estimator-body .est-field textarea {
  border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.estimator-body .est-field input:focus,
.estimator-body .est-field textarea:focus { outline: none; border-color: rgba(242, 197, 138, 0.8); box-shadow: 0 0 0 3px rgba(242, 197, 138, 0.18); }
.estimator-body .est-picked-pill { border-radius: 999px; display: inline-block; padding: 8px 14px; background: rgba(255, 255, 255, 0.08); box-shadow: var(--g-hi); }
.estimator-body .est-thumb { border-radius: 16px; border-color: rgba(255, 255, 255, 0.18); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.6); animation: g-check 0.35s var(--spring) both; }
/* Bottom action bar: floating glass, respects the home indicator */
.estimator-body .est-bar {
  left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom));
  padding: 10px; gap: 10px; border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(160deg, rgba(20, 34, 64, 0.62), rgba(7, 14, 30, 0.72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 18px 40px -12px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
}
.estimator-body .est-bar .btn { min-height: 50px; }
@media (min-width: 768px) {
  .estimator-body .est-bar { left: 50%; right: auto; width: 500px; max-width: calc(100% - 20px); transform: translateX(-50%); }
}
/* Spot sheet: glass sheet with grabber, sits above the bar */
.estimator-body .est-sheet {
  border-radius: 26px 26px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.16); border-bottom: 0;
  background: linear-gradient(170deg, rgba(22, 38, 72, 0.9), rgba(8, 16, 34, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 -18px 50px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(26px) saturate(170%); -webkit-backdrop-filter: blur(26px) saturate(170%);
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom) + 24px);
  transition: transform 0.38s cubic-bezier(.2, .9, .25, 1);
}
.estimator-body .est-sheet-head { background: transparent; padding-top: 18px; }
.estimator-body .est-sheet-head::before {
  content: ""; position: absolute; left: 50%; top: 7px; width: 38px; height: 5px; margin-left: -19px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.28);
}
.estimator-body .est-sheet.open .est-sheet-head { background: linear-gradient(rgba(18, 32, 62, 0.98), rgba(18, 32, 62, 0.9)); }
/* No backdrop-filter: solid translucent navy */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .estimator-body .est-glass-card { background: rgba(14, 28, 56, 0.94); }
  .estimator-body .est-bar { background: rgba(7, 16, 36, 0.97); }
  .estimator-body .est-sheet { background: rgba(10, 22, 46, 0.98); }
  .estimator-body .btn-ghost { background: rgba(30, 46, 80, 0.95); }
}
@media (prefers-reduced-motion: reduce) {
  .estimator-app[data-anim] .est-glass-card,
  .estimator-body .est-progress span::before,
  .estimator-body .est-thumb,
  .estimator-body [class*="est-"].on::after { animation: none !important; transition: none !important; }
  .estimator-body .btn:active,
  .estimator-body [class*="est-"]:active { transform: none !important; }
  .estimator-body .est-sheet { transition: none; }
}

/* Quote page: Add to calendar for the selected time, before payment (Will, 2026-10-27). Compact glass row. */
.book-cal-req {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  margin: 2px 0 14px; padding: 10px 10px 10px 14px; border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 10px 26px -14px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(18px) saturate(170%); -webkit-backdrop-filter: blur(18px) saturate(170%);
}
.book-cal-req[hidden] { display: none; }
.book-cal-req.is-new { animation: g-check 0.35s cubic-bezier(.34, 1.56, .64, 1) both; }
.book-cal-req-label { display: flex; align-items: center; gap: 8px; flex: 1 1 180px; min-width: 0; font-size: 14px; line-height: 1.35; color: var(--light); }
.book-cal-req-label strong { color: #fff; }
.book-cal-req-label .quote-cal-ico { flex: 0 0 auto; color: var(--warm); }
.book-cal-req-btns { display: flex; gap: 8px; }
.book-cal-req-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px;
  border-radius: 999px; font-weight: 700; font-size: 14px; color: #fff; text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.35s cubic-bezier(.34, 1.56, .64, 1), background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.book-cal-req-btn:active { transform: scale(0.96); transition-duration: 0.08s; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .book-cal-req { background: rgba(14, 28, 56, 0.94); } }
@media (prefers-reduced-motion: reduce) { .book-cal-req.is-new { animation: none; } .book-cal-req-btn:active { transform: none; } }
/* Pins step: the card fills the screen above the bar so the spot sheet (contained by the card's
   backdrop filter) docks to the bottom, right above Back and Next. */
.estimator-body .est-glass-card[data-step-id="pins"] { flex: 1 1 auto; }
.estimator-body .est-sheet {
  background: linear-gradient(170deg, rgba(22, 38, 72, 0.985), rgba(8, 16, 34, 0.99));
  padding-bottom: max(16px, env(safe-area-inset-bottom));
}
