#quote.js-offer-dialog { width: min(540px, calc(100% - 24px)); }
.js-offer-dialog .modal-head h2 { font-size: clamp(27px, 4vw, 35px); }
.js-offer-flow { color: var(--ink, #0c3038); font-family: var(--body, sans-serif); }
.js-offer-car { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.js-offer-car img { width: 80px; height: 52px; object-fit: contain; border-radius: 5px; }
.js-offer-car strong, .js-offer-car span, .js-selected-company span, .js-company-options span { display: block; }
.js-offer-car strong { font-size: 15px; }
.js-offer-car span, .js-selected-company span, .js-company-options span { margin-top: 4px; color: var(--muted); font-size: 13px; }
.js-progress { list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin: 0 0 22px; padding: 0; }
.js-offer-car + .js-progress { margin-top: 18px; }
.js-progress li { display: flex; gap: 7px; align-items: center; padding: 0 0 8px; border-bottom: 2px solid #dce4e2; font-size: 13px; font-weight: 500; color: #52666a; }
.js-progress .js-step-number { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 50%; background: #f0f3f2; font-size: 12px; font-weight: 650; }
.js-progress li[aria-current=step] { font-weight: 700; border-color: var(--green); color: var(--green); }
.js-progress [aria-current=step] .js-step-number { color: #fff; background: var(--green); }
.js-progress li.completed { border-color: #91b3a5; color: #35594f; }
.js-progress .completed .js-step-number { background: #e1eee7; }
@media(max-width:380px) {
 .js-progress { gap: 5px; }
 .js-progress li { gap: 4px; font-size: 12px; }
 .js-progress .js-step-number { width: 19px; height: 19px; }
}
.js-offer-flow h3 { margin: 0 0 18px; font-size: clamp(22px, 4.5vw, 28px); font-weight: 650; line-height: 1.17; letter-spacing: -.025em; }
.js-offer-flow h3:focus { outline: none; }
.js-offer-flow form { display: block; margin: 0; }
.js-offer-field { display: block; margin-bottom: 6px; color: var(--ink); font-size: 14px; font-weight: 650; }
.js-offer-field small { font-size: 12px; font-weight: 400; color: var(--muted); }
.js-offer-flow input { box-sizing: border-box; display: block; width: 100%; min-height: 46px; border: 1px solid #97a9ad; border-radius: 6px; background: #fff; padding: 10px 12px; color: var(--ink); font: inherit; font-size: 16px; }
.js-offer-flow :is(input,button):focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.js-offer-fields { display: grid; gap: 16px; }
.js-study-scope { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; border: 0; }
.js-study-scope label { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; margin: 0; padding: 8px 14px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; }
.js-study-scope label:has(input:checked) { border-color: var(--deep); background: #eef5f1; }
.js-study-scope input[type=radio] { display: inline-block; width: 18px; min-height: 0; height: 18px; margin: 0; padding: 0; accent-color: var(--deep); }
.js-hint { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.js-company-options { margin: 6px 0 0; padding: 0; border: 1px solid #a6b5b8; border-radius: 6px; overflow-y: auto; max-height: min(220px, 30vh); list-style: none; }
.js-company-options[hidden] { display: none; }
.js-company-options li { padding: 10px 12px; cursor: pointer; overflow-wrap: anywhere; }
.js-company-options li + li { border-top: 1px solid var(--line); }
.js-company-options li:hover, .js-company-options li[aria-selected="true"] { background: #e7f0ee; }
.js-company-options li strong, .js-selected-company strong { font-size: 14px; }
.js-identity-actions { display: flex; flex-wrap: wrap; column-gap: 16px; margin: 4px 0 12px; }
.js-question-review { white-space: pre-wrap; overflow-wrap: anywhere; }
.js-offer-flow textarea { display: block; width: 100%; box-sizing: border-box; padding: 10px; font: inherit; border: 1px solid #97a9ad; border-radius: 6px; resize: vertical; }
.js-selected-company { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; background: var(--soft); border-radius: 6px; overflow-wrap: anywhere; }
.js-offer-flow button { font: inherit; cursor: pointer; }
.js-offer-flow button.js-offer-link, .js-offer-flow button.js-back { min-height: 40px; border: 0; padding: 6px 0; background: none; color: var(--green); font-size: 14px; }
.js-offer-link { text-align: left; text-decoration: underline; text-underline-offset: 3px; }
.js-offer-actions { margin-top: 22px; display: flex; justify-content: flex-end; align-items: center; gap: 16px; }
.js-offer-actions .js-back { margin-right: auto; }
.js-offer-flow button.js-primary { min-height: 44px; padding: 10px 20px; border: 0; border-radius: 6px; background: var(--lime, #e8ff2e); color: var(--green, #003c46); font-size: 15px; font-weight: 700; }
.js-offer-flow button:disabled { opacity: .65; cursor: wait; }
.js-offer-flow .js-download { display: block; margin-left: auto; }
#js-offer-status { font-size: 13px; line-height: 1.5; color: var(--muted); }
#js-offer-status:not(:empty) { margin: 10px 0; }
.js-receipt { margin: 22px 0; }
.js-receipt h3 { margin-bottom: 6px; }
.js-receipt p { margin: 0; font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }

/* The simulator and showroom share the three-step form and its dialog frame. */
#quote {
  --green: #003c46;
  --ink: #0c3038;
  --lime: #e8ff2e;
  --line: #d7dedf;
  --muted: #50676c;
  --soft: #f3f6f5;
  --title: 'Bebas Neue Pro','Bebas Neue','DIN Condensed',Bebas,Impact,'Arial Narrow',sans-serif;
  --body: Roboto,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  max-height: 90vh; max-height: 90dvh; max-width: calc(100% - 24px);
  padding: 0; border: 0; border-radius: 10px; color: var(--ink); background: white;
  box-shadow: 0 24px 90px #001e2350;
}
#quote::backdrop { background: #001d25aa; backdrop-filter: none; }
#quote .modal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin: 0; padding: 21px 24px 14px; position: sticky; top: 0; z-index: 1;
  background: white; border-bottom: 1px solid var(--line);
}
#quote .modal-head h2 {
  margin: 0; padding: 0; font-family: var(--title); font-stretch: condensed;
  font-size: clamp(27px,4vw,35px); font-weight: 750; letter-spacing: -.025em; line-height: 1.05;
}
#quote .showroom-close {
  display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0;
  padding: 0; background: white; color: var(--ink); border: 1px solid var(--line); border-radius: 50%;
}
#quote .showroom-close span { display: block; width: 14px; height: 14px; position: relative; }
#quote .showroom-close span::before, #quote .showroom-close span::after {
  content: ""; position: absolute; top: calc(50% - 0.8px); left: 0; width: 100%; height: 1.6px; background: currentColor; transform: rotate(45deg);
}
#quote .showroom-close span::after { transform: rotate(-45deg); }
#quote-content { padding: 19px 24px 24px; }
.js-share-link { display: flex; align-items: flex-start; gap: 8px; margin-top: 16px; font-size: 14px; cursor: pointer; }
.js-offer-flow .js-share-link input { height: 18px; width: 18px; flex: none; min-height: 0; margin: 1px 0 0; padding: 0; accent-color: var(--green); }
.showroom-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.external-offer-intro { margin: 8px 0; font-size: 14px; color: var(--muted); line-height: 1.45; overflow-wrap: anywhere; }
.pro-offer-invite { padding: 18px 20px; margin: 18px 0 0; background: #f3f7f5; border-radius: 8px; }
.pro-offer-invite h2 { margin: 0 0 4px; font-size: 20px; line-height: 1.2; }
.journey .offer-leads.external .lead-primary { background: var(--deep); color: white; border-color: var(--deep); }
.journey .offer-leads.external button { min-height: 44px; }
@media (max-width: 740px) {
  #quote .modal-head { padding: 15px; }
  #quote-content { padding: 14px; }
}
@media (max-width: 540px) {
  .offer-leads.external { flex-direction: column; align-items: stretch; }
  .pro-offer-invite { padding: 16px; }
}
.result-lead {
  margin: 16px 0 20px; padding: clamp(18px,3vw,28px); border: 1px solid #ccddd7;
  border-radius: 12px; background: #f3f7f5; color: #0c3038;
}
.result-lead h2 { margin: 0; font-size: clamp(21px,2.1vw,27px); font-weight: 700; line-height: 1.15; letter-spacing: -.025em; }
.result-lead p { max-width: 64ch; margin: 8px 0 0; font-size: 15px; color: #465f60; line-height: 1.48; }
.result-lead .offer-leads { margin-top: 15px; align-items: center; gap: 6px 15px; }
.result-lead .lead-primary { min-height: 44px; padding: 10px 16px; border: 1px solid var(--lime); background: var(--lime); color: var(--deep); }
.js-offer-flow #js-fleet-need { width: 100%; min-height: 46px; padding: 9px 12px; font: inherit; font-size: 16px; color: var(--ink); background: white; border: 1px solid #97a9ad; border-radius: 6px; }
@media(max-width: 480px) { .result-lead .offer-leads { flex-direction: column; align-items: stretch; } }

.js-fleet-ranges { min-width:0; margin:0; padding:0; border:0; }
.js-fleet-ranges legend { padding:0; }
.js-fleet-options { display:flex; gap:8px; flex-wrap:wrap; }
.js-fleet-options label { position:relative; cursor:pointer; }
.js-fleet-options label input[type=radio] { position:absolute; inset:0; width:100%; height:100%; min-height:0; padding:0; margin:0; opacity:0; cursor:pointer; }
.js-fleet-options span { display:inline-flex; align-items:center; min-height:44px; padding:6px 12px; border:1px solid #97a9ad; border-radius:24px; background:white; color:#003c46; font-size:14px; }
.js-fleet-options input:checked + span { border-color:#003c46; background:#003c46; color:white; }
.js-fleet-options input:focus-visible + span { outline:2px solid #003c46; outline-offset:2px; }
.js-fleet-review { margin:0 0 16px; font-size:14px; line-height:1.4; }
