/* One scroll area; the price and actions stay in view on desktop. */
.estimate-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.estimate-summary, .estimate-footer { flex: none; }
.estimate-summary { padding: 18px 22px 0; background: linear-gradient(130deg, #fffdf9, #f1f4ff); border-bottom: 1px solid var(--line); }
.estimate-heading { gap: 8px; }
.estimate-card h2 { margin: 0; font-size: 22px; line-height: 1.3; letter-spacing: -.7px; }
.estimate-live { display: flex; align-items: center; gap: 5px; font-size: 9px; color: var(--muted); white-space: nowrap; }
.estimate-live i { width: 5px; height: 5px; border-radius: 50%; background: #628a72; }
.estimate-subtitle { margin-top: 3px; font-size: 12px; }
.total-block { margin-top: 12px; padding: 0; border: 0; border-radius: 0; background: none; }
.total-block > span { display: block; font-size: 11px; line-height: 1.5; }
.total-block > strong { font-size: 36px; line-height: 1.2; letter-spacing: -1.2px; margin: 3px 0; }
.total-block p { margin: 4px 0 0; font-size: 11px; line-height: 1.6; }
.timeline { margin-top: 6px; padding: 8px 0 11px; border: 0; font-size: 12px; }
.estimate-body { min-height: 0; overflow-y: auto; overscroll-behavior-y: contain; scrollbar-width: thin; scrollbar-color: #bdc9ea transparent; padding: 0 22px 18px; scroll-padding-block: 12px; outline-offset: -3px !important; }
.estimate-body .included-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 8px; margin: 14px 0 0; padding: 9px 11px; border: 1px solid #dfe5ff; border-radius: 12px; background: #eef2ff; font-size: 11px; line-height: 1.65; }
.included-summary strong { font-size: 12px; }
.basket-heading { padding: 7px 0 3px; gap: 8px; }
.basket-heading h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 8px; font-size: 13px; }
#feature-count { color: var(--muted); font-size: 10px; font-weight: 450; }
#reset { min-height: 40px; padding: 5px 0 5px 10px; font-size: 11px; }
#reset:disabled { opacity: .35; }
.basket { max-height: none; overflow: visible; padding: 0; }
.basket-row { grid-template-columns: minmax(0, 1fr) auto 40px; gap: 6px; align-items: center; padding: 10px 0; font-size: 12px; border-bottom: 1px solid #e7eaf3; }
.basket-row > b { font-size: 12px; font-weight: 650; }
.basket-row small { font-size: 10px; }
.basket-remove { display: grid; place-items: center; width: 40px; height: 40px; min-height: 40px; background: transparent; font-size: 23px; line-height: 1; color: #7c879d; }
.basket-remove:hover, .basket-remove:focus-visible { background: #fff0e9; color: #a43a27; }
.basket-base { margin: 0; }
.basket-base .base-lock { font-size: 15px; }
.basket-included .included-label { font-size: 10px; }
.basket-empty { font-size: 12px; }
.design-row { padding: 13px 0; font-size: 12px; }
.monthly-details { margin-top: 8px; border-top: 0; padding-bottom: 4px; }
.monthly-details summary { min-height: 44px; font-size: 12px; }
.monthly-details summary strong { font-size: 13px; }
.monthly-details > div, .estimate-warnings p { font-size: 11px; }
.estimate-conditions { padding-top: 4px; font-size: 11px; }
.estimate-conditions summary { min-height: 44px; gap: 12px; }
.estimate-footnote { font-size: 11px; }
.estimate-footer { padding: 14px 22px 12px; border-top: 1px solid var(--line); background: #fffdf9; box-shadow: 0 -7px 18px #263d7006; }
.estimate-footer > .primary-button { justify-content: space-between; margin: 0; min-height: 48px; padding: 9px 19px; font-size: 13px; }
.estimate-actions { margin-top: 8px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.estimate-actions > button { padding: 7px 4px; min-height: 42px; font-size: 11px; gap: 5px; border-color: #e1e5ef; }
.estimate-actions > button > span { font-size: 15px; }
.estimate-actions > button:disabled { opacity: .6; cursor: progress; }
.estimate-footer-links { display: flex; justify-content: space-between; gap: 8px; margin-top: 4px; font-size: 10px; }
.estimate-footer-links > * { min-height: 32px; display: inline-flex; align-items: center; padding: 3px 0; color: var(--muted); }
.estimate-footer-links > :hover { color: var(--blue); }
.saved-note { font-size: 10px; margin: 8px 0 0; }
.toast { display: flex; align-items: center; gap: 16px; }
.toast.is-visible { pointer-events: auto; }
#undo { flex: none; padding: 8px 10px; border: 1px solid #ffffff55; border-radius: 20px; color: #fff; font-size: 12px; }
/* Keep assistance available without covering the quote or its actions. */
body .voice-launcher-calculator { left: 20px; right: auto; }
@media (min-width: 761px) {
  .estimate-card { max-height: calc(100svh - 144px - env(safe-area-inset-top, 0px)); overflow: hidden; }
  #continue-choosing { display: none; }
  .estimate-footer-links { display: none; }
  .toast { left: calc((100% - 420px) / 2); bottom: 104px; max-width: min(540px, calc(100% - 450px)); }
}
@media (min-width: 1151px) { .workspace { grid-template-columns: minmax(0, 1fr) 380px; } }
@media (min-width: 761px) and (max-height: 650px) {
  .estimate-column { position: static; }
  .estimate-card { max-height: none; }
  .estimate-body { overflow: visible; }
}
@media (min-width: 761px) and (max-width: 1150px) {
  .estimate-summary { padding: 16px 16px 0; }
  .estimate-body { padding-inline: 16px; }
  .estimate-footer { padding-inline: 16px; }
  .estimate-live { display: none; }
  .total-block > strong { font-size: 32px; }
  .basket-row { grid-template-columns: minmax(0, 1fr) auto 36px; font-size: 11px; }
  .basket-remove { width: 36px; }
}
@media (max-width: 760px) {
  .estimate-card { max-height: none; }
  .estimate-summary { padding: 23px 20px 0; }
  .estimate-body { overflow: visible; padding: 0 20px 18px; }
  .estimate-footer { padding: 16px 20px 12px; }
  .estimate-live { font-size: 9px; }
  .total-block > strong { font-size: 38px; }
  .total-block p { font-size: 12px; }
  .estimate-body .included-summary { font-size: 12px; }
  .basket-row { grid-template-columns: minmax(0, 1fr) auto 44px; font-size: 13px; }
  .basket-row > b { font-size: 12px; }
  .basket-remove { width: 44px; height: 44px; }
  .estimate-actions > button { min-height: 44px; font-size: 12px; }
  .estimate-footer-links { font-size: 11px; }
  .estimate-footer-links > * { min-height: 44px; }
  body .voice-launcher-calculator { left: auto; right: 16px; width: 48px; height: 48px; justify-content: center; padding: 0; border-radius: 50%; }
  .voice-launcher-calculator > span { display: none; }
  body.estimate-in-view .voice-launcher-calculator { visibility: hidden; }
  .toast { gap: 9px; padding: 12px 14px; }
}
@media (max-width: 360px) {
  .estimate-summary { padding-inline: 16px; }
  .estimate-body { padding-inline: 14px; }
  .estimate-footer { padding-inline: 14px; }
  .estimate-live { display: none; }
  .total-block > strong { font-size: 34px; }
  .basket-row { column-gap: 4px; font-size: 12px; }
  .basket-row > b { font-size: 11px; }
}
