/* Compact question workspace; styles here are customer-only, not admin pricing. */
.brand{text-decoration:none}.brand:focus-visible{outline:3px solid var(--teal);outline-offset:6px;border-radius:6px}
.field-invalid{border:2px solid var(--red)!important;outline:2px solid #c2452d20;outline-offset:2px}
fieldset.field-invalid,.field-invalid-group{border:2px solid var(--red)!important;border-radius:10px;padding:10px;background:#fff6f3}
.field-error{color:#8b2e1f;font-size:13px;line-height:1.4;font-weight:500;margin:6px 0 10px}
.form-feedback{flex-basis:100%;order:2;margin:10px 0 0;padding:12px 14px;border-left:4px solid var(--red);border-radius:6px;background:#faeae7;color:#8b2e1f;font-size:14px;line-height:1.45;text-align:left}
.form-feedback[hidden]{display:none!important}
#quoteWorkspace .actions{flex-wrap:wrap}
.process-film{min-height:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px 36px;padding:22px 0 32px}
.process-film-copy h1{font-size:clamp(32px,4vw,48px);line-height:1.1;max-width:520px}
.process-benefits{font-size:16px;gap:8px;margin:18px 0 20px}
.process-cta{min-height:48px;padding:14px 24px}
.process-stage{height:286px;border-radius:22px}
.process-scene{inset:45px 20px 22px;grid-template-columns:minmax(0, .85fr) minmax(0,1.2fr);gap:20px}
.process-scene h2{font-size:25px}
.process-scene p{font-size:14px;line-height:1.4;margin-top:10px}
.process-visual{width:150px;max-width:100%;margin:auto}
.phone-visual{width:100px;border-width:6px;padding:44px 7px 8px;border-radius:18px}
.phone-choice{font-size:9px;padding:5px 2px;margin-bottom:6px}
.phone-line-1{top:30px;width:48px}.phone-line-2{top:38px;width:30px}
.phone-camera{width:36px;height:10px;top:8px}
.price-visual strong{font-size:44px}
.process-chapters{gap:12px}
.process-disclaimer{max-width:850px}
@media(max-width:900px){.process-film{grid-template-columns:1fr;gap:20px;padding:12px 0 28px}.process-film-copy{max-width:600px}.process-stage{height:235px}.process-scene{grid-template-columns:150px minmax(0,1fr);inset:38px 22px 18px}.process-film-copy h1{font-size:36px}.process-chapters{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.topbar{padding:14px 0}.process-film-copy h1{font-size:30px;max-width:350px}.process-benefits{font-size:14px;line-height:1.4;margin:14px 0 18px;gap:8px}.process-cta{width:100%;text-align:center}.process-stage{height:208px}.process-scene{grid-template-columns:110px minmax(0,1fr);gap:15px;inset:34px 16px 16px;text-align:left}.process-scene h2{font-size:20px}.process-scene p{font-size:12px}.process-visual{width:110px}.phone-visual{width:80px;padding:35px 4px 6px}.phone-line-1{top:26px;width:35px}.phone-line-2{top:33px;width:25px}.phone-choice{font-size:8px;padding:4px 1px}.scene-number{font-size:10px;letter-spacing:.06em;margin-bottom:8px}.price-visual strong{font-size:32px}.price-visual span{font-size:9px}.process-chapters{gap:10px}.process-chapters li{font-size:11px;gap:7px}.process-disclaimer{font-size:11px}.process-film-progress{top:18px;left:20px;right:20px}.postal-gate{min-height:0;padding:28px 0 40px}.postal-card h1{font-size:30px}.postal-card .lede{font-size:16px}.postal-card{padding:24px}.check-ring{width:60px;height:60px;font-size:30px;border-width:6px}.courier-body{width:50px;height:42px;font-size:10px}.courier-head{width:22px;height:22px;border-width:4px}.courier-scooter{width:78px}.courier-scooter:before{height:40px}.courier-wheel{width:27px;height:27px;border-width:5px}}
.process-film[hidden]{display:none}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#customerFlow .hero{padding:12px 0 24px}
#customerFlow .hero h1{font-size:32px}
#quoteWorkspace{scroll-margin-top:12px;align-items:start;overflow-anchor:none}
#quoteWorkspace .form-card{min-width:0;padding:26px}
#quoteWorkspace .step h2{font-size:clamp(22px,2.6vw,28px);line-height:1.25;margin:0 0 18px}
#quoteWorkspace .step h2:focus{outline:none}
#quoteWorkspace .step .hint{font-size:14px;line-height:1.45;margin-bottom:16px}
#quoteWorkspace .step select{min-height:48px;font-size:16px;text-overflow:ellipsis}
#quoteWorkspace .progress{margin:8px 0 22px}
#quoteWorkspace .step-counter{margin:0;color:var(--muted);font-size:13px}
#quoteWorkspace .actions{margin-top:22px;align-items:stretch}
#quoteWorkspace .actions .btn{min-height:48px}
#quoteWorkspace .summary{min-width:0;top:12px}
#quoteWorkspace .summary-label{margin:0}
#quoteWorkspace .summary-list{font-size:14px;gap:10px}
#quoteWorkspace .summary-row strong{max-width:60%;overflow-wrap:anywhere}
#quoteWorkspace .result .price.no-offer{font:800 clamp(24px,4vw,36px)/1.2 system-ui,sans-serif}
.live-estimate{display:none}
/* On the contact page the existing answer summary belongs below the form. */
.quote-complete #quoteWorkspace{grid-template-columns:minmax(0,1fr);max-width:820px;margin-inline:auto}
#quoteWorkspace #answerSummary{scroll-margin-top:12px}
.quote-complete #quoteWorkspace .summary{position:static;order:1}
#answerSummary [hidden]{display:none!important}
#answerSummary .notice{margin-top:16px}
#answerSummary.editing .summary-price-header{position:sticky;top:0;z-index:1;background:var(--white);padding:12px 0;border-bottom:1px solid var(--line);margin-bottom:16px}
#answerSummary .summary-price-header .price{margin:6px 0 10px}
#answerEditorFields{border:0;margin:0;padding:0;min-width:0}
.answer-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px}
#editConditionQuestions{display:contents}
.answer-editor-grid select{min-width:0;min-height:48px;font-size:16px;text-overflow:ellipsis}
.answer-editor-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px}
@media(max-width:560px){.answer-editor-grid{grid-template-columns:minmax(0,1fr)}.answer-editor-actions .btn{width:100%}}
@media(max-width:800px){
  #customerFlow .hero{padding:8px 0 16px}
  #customerFlow .hero h1{font-size:25px}
  #quoteWorkspace{gap:16px;padding-bottom:24px}
  #quoteWorkspace .form-card{padding:18px}
  #quoteWorkspace .summary{order:1;padding:20px}
  #quoteWorkspace .summary-price-header .price{display:none}
  .quote-complete #quoteWorkspace .summary-price-header .price{display:block}
  #quoteWorkspace .live-estimate{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;margin:0 0 14px;background:#e4f3ef;border-radius:12px;color:var(--dark)}
  .live-estimate span{font-size:13px;max-width:100px;line-height:1.3}
  .live-estimate strong{font-size:28px;line-height:1.15;text-align:right}
  .live-estimate strong.no-offer{font-size:20px;max-width:180px}
  #quoteWorkspace .progress{margin:8px 0 18px}
  #quoteWorkspace .step h2{font-size:22px;margin-bottom:14px}
  #quoteWorkspace .step label.field{margin-bottom:14px;gap:6px}
  #quoteWorkspace .actions{gap:8px;margin-top:18px}
  #quoteWorkspace .actions .btn{padding:12px;font-size:14px;flex:1}
  #quoteWorkspace .result .price{font-size:52px}
  .quote-complete .live-estimate{display:none!important}
}

/* Accordion: only the active question body is expanded. Completed answers stay
   in their own headings; there is no duplicate answer list beside the price. */
#quoteProgressHeader{position:sticky;top:0;z-index:4;background:#fff;padding:10px 0 1px}
#quoteWorkspace .step{display:block;border-top:1px solid var(--line);scroll-margin-top:82px}
#quoteWorkspace .step h2,#quoteWorkspace .step:has(.condition-choices) h2{margin:0;font-size:16px}
.step-toggle{display:flex;align-items:center;gap:12px;width:100%;min-height:62px;padding:14px 0;border:0;background:transparent;color:var(--ink);text-align:left;cursor:pointer}
.step-toggle:disabled{cursor:default;color:var(--muted)}
.step-toggle:focus-visible{outline:3px solid var(--teal);outline-offset:3px;border-radius:6px}
.step-number{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:var(--bg);border:1px solid var(--line);font-size:12px;font-weight:800}
.step-complete .step-number{background:#dcf6ed;border-color:#dcf6ed;color:#08765d}
.step.active .step-number{background:var(--dark);border-color:var(--dark);color:#fff}
.step-heading-copy{display:grid;gap:4px;min-width:0;flex:1}
.step-title{font-size:15px;line-height:1.3;font-weight:750}
.step.active .step-title{font-size:22px;font-weight:800}
.step-answer{font-size:13px;line-height:1.35;font-weight:500;color:var(--muted)}
.step-chevron{color:var(--teal);font-size:23px;font-weight:500}
.step-toggle:disabled .step-chevron{visibility:hidden}
.step-body{padding:4px 0 22px}
.step-body[hidden],.step-answer[hidden],#quoteWorkspace #answerSummary[hidden],.value-trend[hidden]{display:none!important}
/* Keep the optional promo input, model and storage together on compact screens. */
#step-body-0{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:12px}
#step-body-0>.hint,#step-body-0>.actions{grid-column:1/-1}
#step-body-0>.device-answer{min-width:0}
#step-body-0 label.field{min-width:0;margin-bottom:0}
#step-body-0 select{min-width:0}
#quoteWorkspace .progress{margin-bottom:16px}
#quoteWorkspace .summary-price-header .price{margin-bottom:0}
#quoteWorkspace .summary{padding:24px}
.quote-complete #quoteWorkspace .step,.quote-complete #quoteProgressHeader{display:none}
.quote-complete #answerSummary:not(.editing){display:none}
.quote-complete #answerSummary.editing{display:block}
.value-trend{margin:22px 0;text-align:left;padding:22px;background:#f0f8f6;border:1px solid #d5eae4;border-radius:16px}
.value-trend h3{margin:0;font-size:22px;line-height:1.25}
.value-trend-copy>p:not(.eyebrow){font-size:14px;line-height:1.5;color:var(--muted);margin:8px 0 0}
.value-trend-chart{display:block;width:100%;height:auto;max-height:245px}
.trend-grid{stroke:#d6e7e2;stroke-width:1}
.trend-axis{font:12px system-ui,sans-serif;fill:var(--muted)}
.trend-area{fill:#02c39a14}
.trend-line{stroke:var(--teal);stroke-width:3;fill:none;stroke-linejoin:round}
.trend-point{fill:var(--teal);stroke:white;stroke-width:2}
.value-trend-values{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0}
.value-trend-values>div{padding:10px 6px;text-align:center;background:#fff;border-radius:10px}
.value-trend-values>div:first-child{background:var(--dark);color:white}
.value-trend-values dt{font-size:12px;margin-bottom:5px}
.value-trend-values dd{margin:0;font-size:20px;font-weight:800;white-space:nowrap}
.value-trend-note{font-size:11px;line-height:1.45;color:var(--muted);margin:14px 0 0}
@media(max-width:800px){
  #quoteWorkspace{display:block}
  #quoteWorkspace .summary:not(.editing){display:none}
  #quoteWorkspace .step{scroll-margin-top:142px}
  #quoteProgressHeader{padding-top:10px}
  #quoteWorkspace .live-estimate{margin:0 0 8px}
  #quoteWorkspace .progress{margin:6px 0 12px}
  .step-toggle{padding:12px 0;gap:9px;min-height:58px}
  .step.active .step-title{font-size:20px}
  .step-answer{font-size:12px}
  .step-title{font-size:14px}
  .step-body{padding-bottom:18px}
  .value-trend{padding:16px 12px}
  .value-trend h3{font-size:20px}
  .value-trend-values{gap:5px}
  .value-trend-values dd{font-size:16px}
  .value-trend-chart .trend-axis{font-size:18px}
  .quote-complete #answerSummary.editing{margin-top:18px}
}
@media(max-width:800px) and (max-height:700px){
  #quoteWorkspace .step{scroll-margin-top:122px}
  .step.active .step-title{font-size:18px}
  .step-toggle{padding:10px 0}
}
