.estimate-builder { max-width: 780px; }
.estimate-builder [hidden] { display: none; }
.estimate-progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: 0 0 1.55rem; padding: 0; list-style: none; }
.estimate-progress li { font-weight: 600; font-size: .83rem; padding: .45rem 0; border-bottom: 3px solid var(--line); color: var(--muted); }
.estimate-progress li[aria-current] { border-color: var(--blue); color: var(--blue); }
.estimate-step h2, [data-confirmation] h2 { font-size: clamp(1.5rem, 4vw, 2.35rem); margin-bottom: 1.15rem; }
.estimate-choices, .estimate-extras { border: 0; padding: 0; margin: 0; min-inline-size: 0; }
.estimate-choices { display: grid; gap: .52rem; }
.estimate-option { display: flex; gap: .7rem; align-items: center; padding: .76rem .95rem; border: 1px solid var(--line); border-radius: 12px; background: #f8fbfc; cursor: pointer; }
.estimate-option:has(:checked) { border-color: var(--blue); background: var(--sky); }
.estimate-option strong, .estimate-option small { display: block; }
.estimate-option small, .estimate-field small { color: var(--muted); }
.estimate-option input, .estimate-check input { accent-color: var(--blue); width: 1.08rem; height: 1.08rem; margin: 0; flex: none; }
.estimate-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem 1rem; }
.estimate-field { display: grid; gap: .3rem; }
.estimate-field label, .estimate-extras legend { font-weight: 700; font-size: .9rem; }
.estimate-field label span, .estimate-extras legend span { font-weight: 400; color: var(--muted); }
.estimate-step > .estimate-field, .estimate-extras { margin-top: 1.2rem; }
.estimate-field input, .estimate-field select, .estimate-field textarea { width: 100%; min-width: 0; min-height: 46px; padding: .62rem .72rem; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid #9db7c8; border-radius: 8px; }
.estimate-field textarea { resize: vertical; }
.estimate-extras > div { display: flex; flex-wrap: wrap; gap: .15rem 1rem; }
.estimate-check { display: flex; align-items: center; gap: .48rem; min-height: 44px; font-size: .91rem; }
.estimate-total { padding: 1.15rem; border-radius: 15px; background: var(--sky); }
.estimate-total strong { display: block; font-size: 1.38rem; margin-bottom: .25rem; }
.estimate-summary { display: grid; grid-template-columns: minmax(7rem, .6fr) minmax(0, 1fr); gap: .5rem .8rem; margin: 1rem 0 1.45rem; }
.estimate-summary dt { font-weight: 700; }
.estimate-summary dd { margin: 0; overflow-wrap: anywhere; }
.estimate-buttons { display: flex; align-items: center; gap: .85rem; margin-top: 1.2rem; }
.estimate-buttons button { font-family: inherit; cursor: pointer; }
.estimate-buttons .site-button:disabled { opacity: .72; cursor: wait; }
.estimate-back { min-height: 46px; padding: .5rem .9rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font-weight: 600; }
.estimate-error, .estimate-unavailable { padding: .85rem; border-radius: 8px; background: #fbf1e5; color: #653b10; margin-top: .9rem; }
.estimate-help, .estimate-followup, [data-confirmation] p { margin-top: .9rem; }
.estimate-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 590px) { .estimate-fields { grid-template-columns: minmax(0, 1fr); } }

.calendar-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .7rem;
  width: 100%;
  min-height: 46px;
  padding: .62rem .72rem;
  background: #fff;
  border: 1px solid #9db7c8;
  border-radius: 8px;
  color: var(--muted);
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.calendar-trigger[data-selected] { color: var(--ink); }
.calendar-trigger:hover { border-color: var(--blue); }
.calendar-icon {
  position: relative;
  flex: none;
  width: 18px;
  height: 17px;
  border: 2px solid var(--blue);
  border-radius: 4px;
}
.calendar-icon::before {
  content: '';
  position: absolute;
  inset: 3px 0 auto;
  border-top: 2px solid var(--blue);
}
.estimate-calendar {
  box-sizing: border-box;
  width: min(410px, calc(100% - 24px));
  max-height: calc(100% - 24px);
  padding: clamp(.8rem, 4vw, 1.35rem);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 20px 60px rgb(13 59 87 / .2);
}
.estimate-calendar::backdrop { background: rgb(13 59 87 / .37); }
.calendar-header, .calendar-navigation, .calendar-footer { display: flex; align-items: center; }
.calendar-header, .calendar-navigation { justify-content: space-between; gap: .55rem; }
.calendar-header h3 { font-size: 1.3rem; }
.calendar-navigation { margin-top: .6rem; padding: .3rem; border-radius: 11px; background: var(--sky); }
.calendar-navigation p { margin: 0; font-weight: 700; color: var(--ink); text-align: center; }
.calendar-control {
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--blue);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 1.25rem;
}
.calendar-control:hover { background: #fff; border-color: var(--line); }
.calendar-grid { width: 100%; table-layout: fixed; border-spacing: 2px; margin-top: .55rem; text-align: center; }
.calendar-grid th { padding: .38rem 0; color: var(--muted); font-size: .74rem; font-weight: 600; }
.calendar-grid td { padding: 0; }
.calendar-day {
  width: 100%;
  min-height: 44px;
  padding: .2rem 0;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: .88rem;
}
.calendar-day:hover { background: var(--sky); }
.calendar-day[aria-current="date"] { border-color: var(--blue); color: var(--blue); font-weight: 700; }
.calendar-grid [aria-selected="true"] .calendar-day { background: var(--blue); color: #fff; font-weight: 700; }
.calendar-day:focus-visible { outline-offset: -3px; }
.calendar-grid [aria-selected="true"] .calendar-day:focus-visible { outline-color: #fff; }
.calendar-footer { justify-content: flex-end; margin-top: .55rem; border-top: 1px solid var(--line); }
.calendar-clear { padding: .45rem .25rem; min-height: 44px; border: 0; color: var(--blue); background: transparent; font: inherit; font-weight: 600; cursor: pointer; }
.calendar-clear:disabled { color: var(--muted); cursor: default; }
