/* Shared public forms, privacy choices and request progress. */
.quote-quiz,
.request-tracker,
.privacy-banner,
.privacy-dialog {
  color: var(--ink, #222222);
  font-family: inherit;
  line-height: 1.5;
}

.quote-quiz { margin: 0; }
.quote-quiz fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.quote-quiz legend { padding: 0; max-width: 100%; color: var(--deep, #141414); font-weight: 570; }
.quote-quiz label { display: block; margin-bottom: 8px; font-size: 15px; line-height: 1.4; font-weight: 600; }
.quote-quiz label small { font-size: 12px; font-weight: 400; color: var(--muted, #616161); }
.quote-quiz :is(input, select, textarea, button) { font-family: inherit; }
.quote-quiz :is(input:not([type=radio]):not([type=checkbox]):not([type=hidden]), select, textarea) {
  display: block; width: 100%; min-width: 0; min-height: 48px;
  padding: 11px 13px; border: 1px solid var(--field-border, #b1b1b1);
  color: var(--ink, #222222); background: #fff; border-radius: 0; font-size: 16px;
}
.quote-quiz textarea { resize: vertical; }
.quote-quiz :is(input[type=radio], input[type=checkbox]) { width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--green, #141414); }
.quote-quiz :is(button, input, select, textarea):focus-visible,
.privacy-dialog :is(button, input, a):focus-visible,
.privacy-banner :is(button, a):focus-visible,
.request-tracker :is(button, input, a):focus-visible { outline: 2px solid var(--green, #141414); outline-offset: 4px; }
.quote-quiz button:disabled { opacity: .5; cursor: wait; }
.quote-quiz .field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.quote-quiz .field-hint { display: block; font-size: 12px; color: var(--muted, #616161); line-height: 1.5; }
.quote-quiz .honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.quote-quiz .form-explainer { font-size: 13px; color: var(--muted, #616161); line-height: 1.55; margin: 18px 0 0; }
.quote-quiz .form-explainer a { text-decoration: underline; text-underline-offset: 3px; }
.quote-quiz .form-error { border-left: 3px solid #a13930; padding: 12px 15px; background: #fff4ef; color: #7b2e25; font-size: 14px; }

.quiz-progress { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 15px; margin: 0 0 28px; font-size: 12px; color: var(--muted, #616161); }
.quiz-progress > span:first-child { color: var(--deep, #141414); font-weight: 650; }
.quiz-progress progress { display: block; width: 100%; height: 4px; border: 0; appearance: none; background: #e3e3e3; color: var(--green, #141414); }
.quiz-progress progress::-webkit-progress-bar { background: #e3e3e3; }
.quiz-progress progress::-webkit-progress-value { background: var(--green, #141414); transition: width .2s; }
.quiz-progress progress::-moz-progress-bar { background: var(--green, #141414); }
.quiz-step { animation: quoteStepAppear .2s ease-out; }
.quiz-step legend { font-size: clamp(27px, 3vw, 44px); line-height: 1.08; letter-spacing: -.05em; }
.quiz-step legend:focus { outline: none; }
.quiz-help { margin: 11px 0 22px; color: var(--muted, #616161); font-size: 15px; line-height: 1.55; }
.quiz-service-options { display: grid; gap: 9px; }
.quiz-service-options label { display: flex; align-items: center; gap: 13px; padding: 13px 15px; margin: 0; border: 1px solid var(--field-border, #b1b1b1); cursor: pointer; }
.quiz-service-options label:has(input:checked) { border-color: var(--green, #141414); background: #f1f1f1; }
.quiz-service-options label:has(input:focus-visible) { outline: 2px solid var(--green, #141414); outline-offset: 3px; }
.quiz-service-options input { margin: 0; }
.quiz-service-options strong { display: block; font-size: 16px; line-height: 1.35; font-weight: 620; }
.quiz-service-options small { display: block; margin-top: 3px; font-size: 13px; color: var(--muted, #616161); }
.quiz-navigation { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.quiz-navigation .button { flex: 1; min-height: 48px; }
.quiz-back { min-height: 48px; padding: 10px 17px; border: 1px solid var(--green, #141414); color: var(--green, #141414); background: #fff; }
.quiz-flexible { display: block; min-height: 44px; margin: -5px 0 22px; padding: 10px 15px; background: #f5f5f5; color: var(--deep, #141414); border: 1px solid #c8c8c8; }
.quiz-contact-choice { display: flex; gap: 10px; margin: 4px 0 22px; }
.quiz-contact-choice button { flex: 1; min-height: 46px; padding: 11px 15px; border: 1px solid var(--field-border, #b1b1b1); background: #fff; color: var(--deep, #141414); font-weight: 600; }
.quiz-contact-choice button[aria-pressed=true] { background: var(--green, #141414); color: #fff; border-color: var(--green, #141414); }
.quiz-extras { border-block: 1px solid var(--line, #d6d6d6); margin: 0 0 22px; }
.quiz-extras summary { display: block; cursor: pointer; padding: 17px 0; list-style: none; font-size: 14px; font-weight: 600; }
.quiz-extras summary::-webkit-details-marker { display: none; }
.quiz-extras summary::before { content: '+'; display: inline-block; width: 23px; color: var(--green, #141414); }
.quiz-extras[open] summary::before { content: '−'; }
.quiz-extras summary small { color: var(--muted, #616161); font-size: 12px; font-weight: 400; }
.quiz-extras > div { padding: 4px 0 20px; }
.quote-checks { display: grid; gap: 9px; margin-bottom: 22px; }
.quote-checks label { display: flex; align-items: flex-start; gap: 10px; min-height: 28px; margin: 0; font-size: 13px; font-weight: 450; }
.quote-checks input { margin: 1px 0 0; }
.quiz-review { padding: 12px 16px; margin-bottom: 22px; background: #f5f5f5; border-left: 2px solid var(--green, #141414); }
.quiz-review strong, .quiz-review span { display: block; font-size: 13px; line-height: 1.5; }
.quiz-review strong { font-weight: 600; }
.quiz-review span { margin-top: 4px; color: var(--muted, #616161); }
.quiz-review-actions { display: flex; flex-wrap: wrap; gap: 2px 16px; margin-top: 5px; }
.quiz-review-actions button { min-height: 36px; border: 0; padding: 4px 0; background: transparent; color: var(--deep, #141414); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.quiz-call { margin: 22px 0 0; text-align: center; color: var(--muted, #616161); font-size: 13px; line-height: 1.5; }
.quiz-call a { color: var(--deep, #141414); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Equal, visible choices keep optional tracking independent of a quote. */
.privacy-banner { position: fixed; z-index: 60; left: 24px; right: 24px; bottom: 24px; max-width: 1120px; margin-inline: auto; padding: 22px 25px; display: flex; align-items: center; gap: 28px; background: #fafafa; border: 1px solid #c8c8c8; border-top: 3px solid var(--green, #141414); box-shadow: 0 8px 36px #1414141a; }
.privacy-banner > div:first-child { flex: 1; min-width: 0; }
.privacy-banner h2 { margin: 0 0 7px; font-size: 21px; font-weight: 600; letter-spacing: -.035em; line-height: 1.2; }
.privacy-banner p { margin: 0; max-width: 62ch; font-size: 12px; line-height: 1.6; color: var(--muted, #616161); }
.privacy-banner a, .privacy-dialog a { text-decoration: underline; text-underline-offset: 3px; }
.privacy-buttons { display: flex; gap: 8px; flex-wrap: wrap; max-width: 350px; }
.privacy-buttons > button { min-height: 43px; padding: 10px 13px; font-size: 12px; line-height: 1.3; font-weight: 600; background: #fff; border: 1px solid var(--green, #141414); color: var(--green, #141414); }
.privacy-buttons > button:is([data-choice=yes], [data-choice=no]):hover { background: var(--green, #141414); color: #fff; }
.privacy-buttons > button[data-privacy-settings] { padding-inline: 8px; border-color: transparent; background: transparent; text-decoration: underline; text-underline-offset: 3px; }
.privacy-dialog { width: min(610px, calc(100% - 40px)); max-height: min(90dvh, 820px); overflow: auto; overscroll-behavior: contain; padding: clamp(22px, 3vw, 38px); border: 1px solid #c5c5c5; border-top: 4px solid var(--green, #141414); background: #fff; }
.privacy-dialog::backdrop { background: #141414b3; }
.privacy-dialog .dialog-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 22px; }
.privacy-dialog .dialog-top .eyebrow { margin: 0; font-size: 11px; }
.privacy-dialog .dialog-top > button { min-height: 38px; border: 0; padding: 5px 0; background: transparent; color: var(--green, #141414); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.privacy-dialog h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 570; letter-spacing: -.05em; line-height: 1.06; margin: 0 0 16px; }
.privacy-dialog > p { color: var(--muted, #616161); font-size: 14px; line-height: 1.6; margin: 0 0 20px; }
.privacy-category { display: flex; align-items: flex-start; justify-content: space-between; gap: 25px; padding: 22px 0; border-top: 1px solid var(--line, #d6d6d6); }
.privacy-category > div, .privacy-category > label { min-width: 0; flex: 1; }
.privacy-category h3, .privacy-category label strong { display: block; margin: 0 0 8px; color: var(--deep, #141414); font-size: 17px; font-weight: 600; line-height: 1.3; }
.privacy-category p, .privacy-category label span { display: block; margin: 0; color: var(--muted, #616161); font-size: 13px; font-weight: 400; line-height: 1.6; }
.privacy-category label { cursor: pointer; margin: 0; }
.privacy-category > span { flex: 0 0 auto; padding-top: 3px; color: var(--green, #141414); font-size: 11px; font-weight: 650; }
.privacy-category input { width: 23px; height: 23px; min-height: 23px; margin: 0; padding: 0; flex: 0 0 23px; accent-color: var(--green, #141414); }
.privacy-category input:disabled { opacity: .55; }
.privacy-dialog .small { font-size: 12px; color: var(--muted, #616161); line-height: 1.6; }
.privacy-dialog-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.privacy-dialog-actions .button { min-height: 46px; flex: 1 1 auto; font-size: 13px; }
.privacy-dialog-actions .button.outline { color: var(--green, #141414); border: 1px solid var(--green, #141414); background: #fff; }
.privacy-dialog #privacy-status { margin: 16px 0 0; font-size: 13px; overflow-wrap: anywhere; }

/* The existing request-state script controls status, map motion and private links. */
.request-tracker { scroll-margin-top: 100px; }
.request-status-heading { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }
.request-status-heading .eyebrow { margin: 0; font-size: 11px; color: var(--green, #141414); }
.status-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green, #141414); flex: 0 0 8px; box-shadow: 0 0 0 5px #1414141c; animation: requestPulse 2.7s ease-in-out 2; }
.request-tracker h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 560; letter-spacing: -.055em; line-height: 1.08; margin: 0 0 14px; }
.request-tracker p { font-size: 14px; line-height: 1.6; color: var(--muted, #616161); }
.request-reference { font-size: 11px !important; letter-spacing: .05em; text-transform: uppercase; margin: 14px 0 0; overflow-wrap: anywhere; }
.request-time-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; border-block: 1px solid var(--line, #d6d6d6); padding: 20px 0; margin: 22px 0; }
.request-time-grid span, .request-time-grid strong { display: block; }
.request-time-grid span { font-size: 11px; color: var(--muted, #616161); margin-bottom: 7px; }
.request-time-grid strong { font-size: 14px; line-height: 1.5; color: var(--deep, #141414); font-weight: 600; overflow-wrap: anywhere; }
.request-team-message { background: #f5f5f5; border-left: 3px solid #ad8b48; padding: 15px 18px; margin-block: 20px; white-space: pre-wrap; overflow-wrap: anywhere; }
.request-stages { padding: 0; margin: 26px 0; list-style: none; counter-reset: requestStep; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.request-stages li { display: flex; align-items: center; gap: 9px; counter-increment: requestStep; font-size: 12px; line-height: 1.4; color: var(--muted, #616161); }
.request-stages li::before { content: counter(requestStep); width: 25px; height: 25px; border: 1px solid #c4c4c4; border-radius: 50%; display: grid; place-items: center; flex: 0 0 25px; color: var(--green, #141414); font-size: 11px; font-weight: 600; }
.request-stages li.is-done { color: var(--deep, #141414); }
.request-stages li.is-done::before { color: #fff; border-color: var(--green, #141414); background: var(--green, #141414); }
.request-stages li.is-current { color: var(--green, #141414); font-weight: 650; }
.request-stages li.is-current::before { border: 2px solid #ad8b48; background: #f5f5f5; }
.request-recap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 20px 0 0; border: 1px solid var(--line, #d6d6d6); background: #fff; }
.request-recap > div { min-width: 0; padding: 15px; border-bottom: 1px solid var(--line, #d6d6d6); }
.request-recap > div:nth-child(odd) { border-right: 1px solid var(--line, #d6d6d6); }
.request-recap > div:last-child { border-bottom: 0; }
.request-recap > div:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
.request-recap dt { margin-bottom: 6px; font-size: 10px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted, #616161); }
.request-recap dd { margin: 0; font-size: 13px; line-height: 1.5; font-weight: 600; overflow-wrap: anywhere; }
.request-link-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin: 23px 0 10px; }
.request-link-tools button { min-height: 40px; padding: 5px 0; border: 0; border-bottom: 1px solid var(--green, #141414); background: transparent; color: var(--green, #141414); font-size: 12px; }
.request-link-tools button:disabled { opacity: .5; cursor: wait; }
.request-link-tools input { width: 100%; min-width: 0; max-width: 100%; min-height: 44px; padding: 10px; border: 1px solid var(--field-border, #b1b1b1); color: var(--deep, #141414); background: #fff; font: inherit; font-size: 12px; }
.request-sync { font-size: 12px !important; margin-bottom: 8px; overflow-wrap: anywhere; }
.request-call-fast { margin: 27px 0; padding: 24px 0; border-block: 1px solid var(--line, #d6d6d6); }
.request-call-fast h3 { margin: 0 0 9px; font-size: 24px; font-weight: 580; letter-spacing: -.035em; line-height: 1.2; }
.request-call-fast p { margin-bottom: 17px; }
.request-tracker > .inline-link { display: inline-flex; min-height: 40px; align-items: center; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.request-tracker > [data-open-visit] { width: 100%; font-size: 13px; }

.confirmation-journey { overflow: hidden; margin: 24px 0; border: 1px solid #d5d5d5; background: #f5f5f5; }
.journey-caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 16px 17px 0; color: var(--deep, #141414); font-size: 10px; line-height: 1.4; letter-spacing: .08em; font-weight: 600; }
.journey-caption [data-journey-zip] { letter-spacing: 0; color: var(--muted, #616161); font-weight: 400; }
.journey-scene { display: block; width: 100%; height: auto; margin-top: 10px; overflow: visible; }
.journey-route-progress { stroke: #ad8b48; stroke-dasharray: 1; stroke-dashoffset: 1; }
.journey-arrival-ring { stroke: #ad8b48; opacity: .45; }
.journey-scene-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 17px 12px; min-height: 38px; font-size: 11px; line-height: 1.4; color: var(--muted, #616161); }
.journey-replay { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; min-height: 34px; padding: 3px 0; border: 0; border-bottom: 1px solid #b4b4b4; background: transparent; color: var(--deep, #141414); font-size: 11px; }
.journey-replay span { font-size: 18px; }
.journey-replay:disabled { opacity: .5; cursor: default; }
.journey-next-step { display: flex; align-items: center; gap: 13px; padding: 17px; border-top: 1px solid #d5d5d5; background: #fff; }
.journey-next-mark { display: flex; align-self: stretch; align-items: center; padding-right: 13px; border-right: 1px solid var(--line, #d6d6d6); color: #98743c; font-size: 24px; font-weight: 450; letter-spacing: -.06em; }
.journey-next-step strong { display: block; color: var(--deep, #141414); font-size: 13px; line-height: 1.4; font-weight: 600; }
.journey-next-step p { margin: 5px 0 0; font-size: 12px; line-height: 1.5; }
.confirmation-journey.is-playing .journey-route-progress { animation: journeyRoute 4.6s cubic-bezier(.35,0,.25,1) both; }
.confirmation-journey.is-playing .journey-van-body { animation: journeyDrive .38s ease-in-out 12; }
.confirmation-journey.is-playing .journey-wheel { transform-box: fill-box; transform-origin: center; animation: journeyWheel .76667s linear 6; }
.confirmation-journey.is-playing .journey-arrival-ring { transform-box: fill-box; transform-origin: center; animation: journeyDestination 4.6s ease-out both; }
.confirmation-journey:is([data-customer-status=pending], [data-customer-status=approved], [data-customer-status=scheduled]) .journey-arrival-ring { opacity: .2; }
@keyframes requestPulse { 0%, 100% { box-shadow: 0 0 0 4px #1414141c; } 50% { box-shadow: 0 0 0 7px #1414140c; } }
@keyframes quoteStepAppear { from { opacity: .5; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@keyframes journeyRoute { from { stroke-dashoffset: var(--journey-start, 1); } to { stroke-dashoffset: var(--journey-end, .25); } }
@keyframes journeyDrive { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-.7px); } }
@keyframes journeyWheel { to { transform: rotate(360deg); } }
@keyframes journeyDestination { 0%, 68% { opacity: .2; transform: scale(1); } 84% { opacity: .85; transform: scale(1.12); } 100% { opacity: .45; transform: scale(1); } }

@media (max-width: 900px) {
  .privacy-banner { display: block; padding: 20px 23px; }
  .privacy-banner p { max-width: none; }
  .privacy-buttons { max-width: none; margin-top: 15px; }
}
@media (max-width: 520px) {
  .privacy-banner { left: 12px; right: 12px; bottom: 12px; padding: 17px; max-height: 55dvh; overflow: auto; }
  .privacy-banner h2 { font-size: 19px; }
  .privacy-banner p { font-size: 12px; }
  .privacy-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .privacy-buttons > button { padding-inline: 8px; }
  .privacy-buttons > button[data-privacy-settings] { grid-column: 1 / -1; min-height: 33px; padding: 5px; }
  .privacy-dialog { width: calc(100% - 24px); padding: 23px 19px; }
  .privacy-category { gap: 16px; }
  .privacy-category > span { font-size: 10px; max-width: 52px; }
  .privacy-dialog-actions { flex-direction: column; }
  .quiz-navigation { gap: 9px; }
  .quiz-navigation .button { min-width: 0; padding-inline: 12px; font-size: 14px; }
  .quiz-back { padding-inline: 13px; }
  .quiz-contact-choice { gap: 8px; }
  .request-time-grid, .request-stages { grid-template-columns: 1fr; gap: 14px; }
  .request-recap > div { padding: 12px; }
  .request-recap dd { font-size: 12px; }
  .journey-caption { padding: 13px 12px 0; }
  .journey-scene-footer { flex-wrap: wrap; padding-inline: 12px; }
  .journey-next-step { padding: 14px 12px; gap: 10px; }
  .journey-next-mark { padding-right: 10px; font-size: 21px; }
  .journey-next-step strong { font-size: 12px; }
  .journey-next-step p { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .quiz-step, .status-pulse { animation: none; }
  .quiz-progress progress::-webkit-progress-value { transition: none; }
  .confirmation-journey :is(.journey-route-progress, .journey-van-body, .journey-wheel, .journey-arrival-ring) { animation: none !important; }
  .journey-replay { display: none; }
}
