/* Approved customer estimate hierarchy; no disposal controls are rendered here. */
#screen .photo-estimate-summary{padding:clamp(1.35rem,5vw,2.15rem) clamp(.9rem,5vw,1.8rem);border:1px solid var(--line);border-radius:1.15rem;background:#fafafa}
.photo-estimate-mark{display:grid;place-items:center;width:3rem;height:3rem;margin:0 auto .85rem;border-radius:.75rem;background:#ececef;color:var(--ink)}
#screen .photo-estimate-summary h2{margin:0 0 .4em;font-size:clamp(1.8rem,7.5vw,2.55rem)}
#screen .photo-estimate-summary .approved-estimate-range{margin-bottom:0;font-size:clamp(2.15rem,16cqi,3.65rem);white-space:normal;overflow-wrap:anywhere}
.photo-estimate-followup{margin-top:1.2rem;padding-top:1.05rem;border-top:1px solid var(--line)}
#screen .photo-estimate-followup .approved-estimate-assurance{color:#414144}
main:has(#screen[data-screen="quote"] .estimate-range-summary) .single-progress span,
main:has(#screen[data-screen="preliminary"] .estimate-range-summary) .single-progress span{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}

/* Final-range result: approved native hierarchy on the existing web shell.
   Nothing here applies during estimate loading, to the instant photo result,
   or to pickup details/payment. */
main:has(#screen .completed-estimate-summary) #progress{
  width:min(calc(100% - 36px),37rem);margin-inline:auto
}
#screen[data-screen="quote"]:has(.completed-estimate-summary){
  padding:clamp(2rem,10.5vw,3.25rem) clamp(14px,4.8vw,28px) 7.25rem
}
#screen .completed-estimate-summary{
  max-width:35rem;padding:0;container-type:inline-size
}
#screen .completed-estimate-summary h2{
  font-size:clamp(2rem,10.25vw,3.25rem);font-weight:750;
  letter-spacing:-.035em;line-height:1.11;margin:0 0 .55em
}
#screen .completed-estimate-summary .approved-estimate-range{
  font-size:clamp(1.65rem,11.15cqi,3.25rem);
  margin:0 0 .43em;letter-spacing:-.043em;line-height:1.1
}
#screen .completed-estimate-summary .approved-estimate-range[data-range-fit="wide"]{
  font-size:clamp(1.4rem,9.6cqi,3.05rem)
}
#screen .completed-estimate-summary .approved-estimate-range[data-range-fit="extra-wide"]{
  font-size:clamp(1.15rem,8.3cqi,2.85rem)
}
#screen .completed-estimate-summary .approved-estimate-basis,
#screen .completed-estimate-summary .approved-estimate-assurance{
  font-size:clamp(.875rem,4cqi,1.0625rem);line-height:1.5
}
#screen .completed-estimate-summary .approved-estimate-basis{margin-bottom:.43em}
main:has(#screen .completed-estimate-summary) footer{
  width:min(calc(100% - 36px),37rem);
  bottom:calc(18px + env(safe-area-inset-bottom));border-radius:999px
}
main:has(#screen .completed-estimate-summary) footer button{
  min-height:clamp(56px,17.8vw,72px);font-size:clamp(.875rem,3.8vw,1rem)
}
@media(max-height:560px){
  #screen[data-screen="quote"]:has(.completed-estimate-summary){padding-top:1.6rem}
}
@media(max-width:300px){
  #screen .completed-estimate-summary .approved-estimate-range{white-space:normal;overflow-wrap:anywhere}
}

#screen[data-screen="zip"] .zip-coverage-status{min-height:1.5em;margin:.55rem 0}
.zip-coverage-status[data-state="served"]{color:#175a39}
.zip-coverage-status[data-state="unsupported"]{color:#a61c23}
.zip-coverage-status[data-state="unavailable"]{color:#5e4500}
.zip-coverage-retry:not([hidden]){display:inline-flex;padding:.55em .95em}

/* Shared result cards; the pending and unavailable screens use their own layout. */
#screen .estimate-result-card{
  max-width:35rem;padding:clamp(1.2rem,5.2vw,2.25rem) clamp(.85rem,4.5vw,1.85rem);
  border:1px solid #050505;border-radius:1.15rem;background:#060706;color:#fff
}
.photo-estimate-mark{
  display:grid;place-items:center;width:3rem;height:3rem;margin:0 auto .85rem;
  border-radius:.75rem;background:#272827;color:#fff
}
#screen .estimate-result-card h2{
  margin:0 0 .4em;color:#fff;font-size:clamp(1.75rem,7.25vw,2.55rem);
  font-weight:750;line-height:1.12;letter-spacing:-.035em;text-wrap:balance
}
#screen .estimate-result-card .approved-estimate-range{
  margin:0;color:#fff;white-space:nowrap;letter-spacing:-.043em;line-height:1.11
}
#screen .estimate-result-card.photo-estimate-summary .approved-estimate-range{
  font-size:clamp(2.1rem,16cqi,3.65rem);white-space:normal;overflow-wrap:anywhere
}
#screen .estimate-result-card.completed-estimate-summary .approved-estimate-range{font-size:clamp(1.5rem,11.25cqi,3.25rem)}
#screen .estimate-result-card.completed-estimate-summary .approved-estimate-range[data-range-fit="wide"]{font-size:clamp(1.2rem,9.55cqi,3.05rem)}
#screen .estimate-result-card.completed-estimate-summary .approved-estimate-range[data-range-fit="extra-wide"]{font-size:clamp(1.05rem,8.25cqi,2.85rem)}
.estimate-result-card .photo-estimate-followup{margin-top:1.12rem;padding-top:.92rem;border-top:1px solid #444}
#screen .estimate-result-card .approved-estimate-basis,
#screen .estimate-result-card .approved-estimate-assurance{
  font-size:clamp(.875rem,4.3cqi,1rem);line-height:1.48;text-wrap:balance
}
#screen .estimate-result-card .approved-estimate-basis{margin:0 0 .36em;color:#fff}
#screen .estimate-result-card .approved-estimate-assurance{margin:0;color:#e8e8e8}
.estimate-result-actions{
  display:flex;flex-direction:column;align-items:center;gap:.25rem;margin-top:.9rem
}
.estimate-change{width:100%;max-width:26rem;margin:0;padding:0;border:0;text-align:left}
.estimate-change summary{
  display:list-item;list-style-position:inside;width:max-content;max-width:100%;
  margin:auto;padding:.7rem .25rem;cursor:pointer;color:white;text-align:center;
  font-size:.94rem;font-weight:700;text-underline-offset:.2em
}
.estimate-change summary:hover,.estimate-edit-link:hover{text-decoration-thickness:2px}
.estimate-change-body{padding:.8rem .85rem .6rem;border-radius:.65rem;background:#202120;color:#f4f4f4}
#screen .estimate-change-body p{margin:0 0 .6rem;font-size:.875rem;line-height:1.45;color:inherit}
.estimate-change-body ul{margin:0 0 .7rem;padding-left:1.1rem;font-size:.875rem;line-height:1.5}
.estimate-change-body li+li{margin-top:.22rem}
.estimate-result-actions .estimate-edit-link{
  min-height:44px;padding:.6rem .7rem;border:0;border-radius:.35rem;background:transparent;
  color:#fff;font-size:.9375rem;font-weight:650;text-decoration:underline;text-underline-offset:.2em
}
.estimate-change summary:focus-visible,.estimate-edit-link:focus-visible{outline:2px solid #fff;outline-offset:2px}
main:has(#screen .estimate-result-card) #progress{width:min(calc(100% - 36px),37rem);margin-inline:auto}
main:has(#screen .estimate-result-card) .single-progress span{
  position:absolute;clip-path:inset(50%);width:1px;height:1px;
  overflow:hidden;white-space:nowrap
}
#screen[data-screen="quote"]:has(.estimate-result-card),
#screen[data-screen="preliminary"]:has(.estimate-result-card){
  padding:clamp(1.6rem,7vw,3rem) clamp(14px,4.8vw,28px) calc(7.25rem + env(safe-area-inset-bottom))
}
main:has(#screen .estimate-result-card) footer{
  width:min(calc(100% - 36px),37rem);bottom:calc(18px + env(safe-area-inset-bottom));border-radius:999px
}
main:has(#screen .estimate-result-card) footer button{
  min-height:clamp(56px,17.8vw,72px);font-size:clamp(.875rem,3.8vw,1rem)
}
@media(max-width:300px){
  #screen .estimate-result-card.completed-estimate-summary .approved-estimate-range{white-space:normal;overflow-wrap:anywhere}
}

#screen .estimate-holiday-notice{margin:1rem 0 0;padding:.75rem .85rem;border:1px solid #6c5d32;border-radius:.6rem;background:#272418;color:#f6e6b8;font-size:.875rem;line-height:1.45;text-align:left}
