/* Compact estimate: one primary total, with a quieter cash alternative. */
.booking-page{padding-bottom:90px}
.floating-estimate{position:fixed;z-index:80;right:24px;bottom:calc(24px + env(safe-area-inset-bottom,0px));font-family:Montserrat,Arial,sans-serif;color:var(--summary-foreground,#fff);max-width:calc(100vw - 32px)}
.floating-estimate,.floating-estimate *{box-sizing:border-box}
.floating-estimate[hidden],.floating-estimate [hidden]{display:none!important}
.floating-estimate-toggle{display:flex;align-items:center;gap:14px;min-height:56px;padding:12px 20px;margin-left:auto;border:1px solid var(--summary-rule,#526571);border-radius:999px;background:var(--summary-background,#102532);color:var(--summary-foreground,#fff);box-shadow:0 4px 18px #10253226;font:inherit;cursor:pointer}
.floating-estimate-toggle>span:first-child{font-size:13px;color:var(--summary-muted,#bdcbd4)}
.floating-estimate-toggle strong{font-size:18px;font-weight:700;white-space:nowrap;color:inherit}
.floating-estimate-chevron{font-size:20px;line-height:1;color:var(--summary-accent,#a8ccdf)}
.floating-estimate-toggle[aria-expanded=true] .floating-estimate-chevron{transform:rotate(180deg)}
.floating-estimate.is-open::before{content:'';position:fixed;inset:0;background:#10253266;z-index:-1}
.floating-estimate-panel{position:absolute;right:0;bottom:calc(100% + 12px);display:flex;flex-direction:column;width:400px;max-width:calc(100vw - 32px);max-height:min(660px,calc(100dvh - 120px));overflow:hidden;padding:20px 24px 24px;border:1px solid var(--summary-rule,#526571);border-radius:18px;background:var(--summary-background,#102532);color:var(--summary-foreground,#fff);box-shadow:0 16px 48px #10253233}
.floating-estimate-heading{display:flex;flex:none;align-items:center;justify-content:space-between;gap:16px;padding-bottom:12px;border-bottom:0}
.floating-estimate-heading h2{font-size:20px;font-weight:600;line-height:1.3;letter-spacing:0;color:inherit;margin:0}
.floating-estimate-close{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;padding:0;margin-right:-8px;border:0;border-radius:50%;background:transparent;color:var(--summary-muted,#bdcbd4);font:inherit;font-size:26px;line-height:1;cursor:pointer}
.floating-estimate-close:hover{background:#ffffff0d;color:var(--summary-foreground,#fff)}
.floating-estimate-lines{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--summary-rule,#526571) var(--summary-background,#102532);flex:1 1 auto;padding:0 0 14px}
.floating-estimate-lines>div,.floating-estimate-adjustments>div{display:flex;justify-content:space-between;align-items:baseline;gap:20px;font-size:13px;line-height:1.55}
.floating-estimate-lines>div{padding:9px 0}
.floating-estimate-lines>div+div{border:0}
.floating-estimate-lines span{min-width:0;overflow-wrap:anywhere;color:var(--summary-foreground,#fff)}
.floating-estimate-lines strong,.floating-estimate-totals strong{white-space:nowrap;font-variant-numeric:tabular-nums}
.floating-estimate-lines strong{font-size:13px;font-weight:600;color:var(--summary-foreground,#fff)}
.floating-estimate-totals{flex:none;border-top:1px solid #52657180;padding-top:12px}
.floating-estimate-adjustments>div{padding:4px 0;color:var(--summary-muted,#bdcbd4)}
.floating-estimate-adjustments strong{font-size:inherit;font-weight:500;color:inherit}
.floating-estimate-prices{display:grid;grid-template-columns:minmax(0,1fr);gap:0;margin-top:16px;padding:16px;background:var(--summary-panel,#182c38);border:1px solid #52657166;border-radius:12px}
.floating-estimate-prices:has(.floating-estimate-cash:not([hidden])){grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:24px}
.floating-estimate-final,.floating-estimate-cash{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;margin:0;padding:0;font-size:12px;line-height:1.4;color:var(--summary-muted,#bdcbd4)}
.floating-estimate-final strong,.floating-estimate-cash strong{font-size:26px;font-weight:600;letter-spacing:-.6px;color:var(--summary-foreground,#fff);line-height:1.2}
.floating-estimate-cash{position:relative}
.floating-estimate-cash::before{content:"";position:absolute;left:-12px;top:0;bottom:0;width:1px;background:#52657180}
.floating-estimate-totals>p{font-size:11px;line-height:1.6;color:var(--summary-muted,#bdcbd4);margin:14px 0 0;text-align:center}
.floating-estimate[data-needs-quote=true] .floating-estimate-final strong{font-size:19px;white-space:normal;letter-spacing:0}
.floating-estimate button:focus-visible,.floating-estimate-lines:focus-visible{outline:2px solid var(--summary-accent,#a8ccdf);outline-offset:2px}
html.keyboard-open .floating-estimate,.booking-page:has(.navlinks.open) .floating-estimate{display:none!important}
@media(max-width:600px){
 .floating-estimate{right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px))}
 .floating-estimate-toggle{min-height:52px;padding:12px 16px;gap:10px}.floating-estimate-toggle>span:first-child{font-size:12px}.floating-estimate-toggle strong{font-size:17px}
 .floating-estimate[data-needs-quote=true] .floating-estimate-toggle strong{font-size:14px}
 .floating-estimate.is-open{inset:0;max-width:none}
 .floating-estimate.is-open .floating-estimate-toggle{display:none}
 .floating-estimate-panel{position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));width:auto;max-width:none;max-height:calc(100dvh - 100px - env(safe-area-inset-bottom,0px));padding:16px 22px 22px}
 .floating-estimate-final strong,.floating-estimate-cash strong{font-size:clamp(22px,6.4vw,26px)}
 .floating-estimate-prices{padding:14px}

}
@media(max-height:500px){.floating-estimate.is-open .floating-estimate-toggle{visibility:hidden}.floating-estimate-panel{position:fixed;right:12px;max-height:calc(100dvh - 24px);bottom:12px;padding:10px 20px 14px}.floating-estimate-totals>p{display:none}.floating-estimate-heading{padding-bottom:4px}.floating-estimate-totals{padding-top:6px}.floating-estimate-adjustments>div{padding:2px 0}.floating-estimate-prices{margin-top:10px;padding:10px 14px}.floating-estimate-final strong,.floating-estimate-cash strong{font-size:24px}}

@media(max-width:360px){.floating-estimate-prices:has(.floating-estimate-cash:not([hidden])){grid-template-columns:minmax(0,1fr)}.floating-estimate-final,.floating-estimate-cash{flex-direction:row;align-items:baseline;justify-content:space-between;gap:12px}.floating-estimate-cash{margin-top:10px;padding-top:10px;border-top:1px solid #52657180}.floating-estimate-cash::before{display:none}.floating-estimate[data-needs-quote=true] .floating-estimate-final{flex-direction:column}}

/* Required size guidance: styling never changes element dimensions. */
.card-size input.size-required{border-color:#b83c3c!important;box-shadow:0 0 0 1px #b83c3c!important}
.card-size.needs-home-size small{color:#a62e2e!important;font-weight:600}
.card-size small{min-height:3em;display:block}
.floating-estimate[data-missing-size=true] .floating-estimate-toggle{outline:2px solid #ef7777;outline-offset:1px}
