.quote-page {
  --lime: #85F336;
  --lime-hover: #9af75b;
  --lime-deep: #54C914;
  --lime-text: #347E08;
  --lime-tint: #BCF493;
  --ink: #0e0e0e;
  --muted: #6b6b70;
  --line: #e6e6e6;
  --paper: #ffffff;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.quote-page *,
.quote-page *::before,
.quote-page *::after { box-sizing: border-box; }

.quote-page [hidden] { display: none !important; }
.quote-page button,
.quote-page input,
.quote-page textarea,
.quote-page select { font: inherit; }
.quote-page button,
.quote-page label[for] { -webkit-tap-highlight-color: transparent; }
.quote-page button:focus-visible,
.quote-page a:focus-visible,
.quote-page input:focus-visible,
.quote-page textarea:focus-visible,
.quote-page select:focus-visible,
.quote-page label[for]:focus-within {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 2px #fff;
}

.visually-hidden,
.visually-hidden-control,
.visually-hidden-file {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.quote-page .site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 76px;
  padding: 0 40px;
  border-bottom: 1px solid #ececec;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}

.quote-brand-logo { display: block; width: auto; height: 34px; }
.quote-page .primary-nav { justify-self: center; display: flex; flex-wrap: nowrap; align-items: center; gap: 34px; }
.quote-page .primary-nav a { color: #3a3a3a; font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.quote-page .primary-nav a:hover { color: var(--ink); }
.quote-page .header-actions { display: flex; align-items: center; gap: 10px; }
.quote-page .nav-toggle { display: none; border: 0; background: transparent; }
.header-quote-button { min-height: 44px; padding: 0 21px !important; border-radius: 12px !important; }
.quote-page .page-main { min-height: 70vh; }
.quote-shell { width: min(100%, 1420px); margin: 0 auto; padding-inline: 40px; }

.quote-page .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  text-decoration: none;
}

.quote-primary,
.quote-page .button.primary {
  min-height: 56px;
  padding: 0 30px;
  border-radius: 14px;
  color: var(--ink);
  background: var(--lime);
  font-size: 17px;
  font-weight: 800;
}

.quote-primary:hover,
.quote-page .button.primary:hover { background: var(--lime-hover); }
.quote-secondary { min-height: 56px; padding: 0 26px; border: 1px solid #dcdcdc !important; border-radius: 14px; color: var(--ink); background: #fff; font-size: 17px; font-weight: 650; }
.quote-secondary:hover { border-color: var(--ink) !important; }
.quote-secondary.compact { min-height: 42px; padding: 0 17px; border-radius: 11px; font-size: 14px; font-weight: 750; }

.quote-landing { padding: 64px 0 96px; }
.landing-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.landing-heading-row > *,
.landing-workspace > * { min-width: 0; max-width: 100%; }
.quote-eyebrow { margin: 0 0 20px; color: var(--lime-text); font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.landing-heading-row h1 { margin: 0; max-width: 760px; font-size: clamp(52px, 5.6vw, 88px); font-weight: 850; letter-spacing: -0.045em; line-height: 0.92; }
.landing-lede { max-width: 52ch; margin: 22px 0 0; color: #57575a; font-size: 20px; line-height: 1.55; text-wrap: pretty; }
.landing-actions { display: flex; gap: 14px; flex-wrap: wrap; padding-bottom: 6px; }
.landing-workspace { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }

.hero-dropzone {
  width: 100%;
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 540px;
  padding: 44px 32px;
  cursor: pointer;
  text-align: center;
  border: 2px dashed #cfcfcf;
  border-radius: 24px;
  background: #fbfcf7;
  transition: border-color 160ms ease, background-color 160ms ease;
}
.hero-dropzone:hover,
.hero-dropzone:focus-visible,
.hero-dropzone.is-dragging { border-color: var(--lime-deep); background: #f5fce4; }
.upload-icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 20px; border-radius: 18px; background: var(--lime); font-size: 30px; font-weight: 850; }
.hero-dropzone > strong { font-size: 28px; font-weight: 850; letter-spacing: -0.03em; }
.hero-dropzone > strong + span { max-width: 530px; margin-top: 10px; color: #78787c; font-size: 16px; line-height: 1.5; }
.browse-button { margin-top: 24px; padding: 14px 26px; border-radius: 12px; color: #fff; background: var(--ink); font-size: 16px; font-weight: 750; }
.landing-format-chips { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 24px; }
.landing-format-chips span { padding: 5px 8px; border: 1px solid #e4e4e4; border-radius: 6px; color: #8a8a8a; background: #fff; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 10px; letter-spacing: 0.08em; }
.confidential-line { display: flex; align-items: center; gap: 9px; margin-top: 26px; color: #78787c; font-size: 13px; }
.confidential-line i,
.review-notice i { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 999px; background: var(--lime-deep); }

.part-preview-card { min-width: 0; padding: 26px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.landing-preview-card { display: flex; min-height: 540px; flex-direction: column; }
.preview-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.preview-card-heading h2 { margin: 0; font-size: 19px; font-weight: 850; letter-spacing: -0.025em; }
.preview-card-heading > span { padding: 6px 9px; border: 1px solid var(--line); border-radius: 7px; color: #8a8a8a; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 11px; letter-spacing: 0.08em; }
.example-part-stage { position: relative; display: grid; flex: 1; place-items: center; min-height: 380px; overflow: hidden; border-radius: 18px; background-color: #fafafa; background-image: linear-gradient(#ededed 1px, transparent 1px), linear-gradient(90deg, #ededed 1px, transparent 1px); background-size: 30px 30px; }
.example-part-stage img { width: 86%; height: 86%; object-fit: contain; }
.example-controls { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 6px; }
.example-controls span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 10px; color: #6b6b70; background: #fff; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 10px; letter-spacing: 0.06em; }
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; padding-top: 32px; border-top: 1px solid #ececec; }
.trust-strip div { display: flex; flex-direction: column; gap: 6px; }
.trust-strip strong { font-size: 28px; font-weight: 850; letter-spacing: -0.03em; }
.trust-strip span { color: #78787c; font-size: 14px; line-height: 1.4; }

.quote-wizard { padding: 18px 0 calc(128px + env(safe-area-inset-bottom)); }
.quote-wizard.has-multiple-parts { padding-bottom: 130px; }
.wizard-topline { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 14px; }
.wizard-back { padding: 6px 0; border: 0; cursor: pointer; color: #78787c; background: transparent; font-size: 14px; font-weight: 650; }
.wizard-back:hover { color: var(--ink); }
#wizard-step-count { color: #6f746d; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 15px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.step-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.step-rail button { min-width: 0; padding: 14px 16px; cursor: pointer; text-align: left; border: 1px solid var(--line); border-radius: 14px; color: #9a9aa0; background: #fff; }
.step-rail button small { display: block; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 11px; letter-spacing: 0.1em; opacity: 0.65; }
.step-rail button span { display: block; margin-top: 5px; overflow: hidden; font-size: 14px; font-weight: 750; letter-spacing: -0.01em; text-overflow: ellipsis; white-space: nowrap; }
.step-rail button.is-complete { border-color: #dcefad; color: #43600a; background: #f4fbe4; }
.step-rail button.is-active { border-color: var(--ink); color: #fff; background: var(--ink); }
.wizard-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr); gap: 36px; align-items: start; }
.quote-form { min-width: 0; }
.wizard-panel { min-width: 0; margin: 0; padding: 26px 30px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.wizard-panel > h2 { margin: 0; font-size: 34px; font-weight: 850; letter-spacing: -0.035em; }
.wizard-panel > h2[tabindex="-1"],
.quote-confirmation h1[tabindex="-1"] { outline: 0; }
.step-intro { max-width: 58ch; margin: 8px 0 18px; color: var(--muted); font-size: 16px; line-height: 1.45; }
.field-label,
.choice-label { display: block; margin: 0 0 10px; color: #242426; font-size: 15px; font-weight: 750; letter-spacing: -0.01em; }
.wizard-panel input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
.wizard-panel textarea {
  width: 100%;
  min-height: 50px;
  padding: 14px 16px;
  border: 1px solid #dedede;
  border-radius: 14px;
  color: var(--ink);
  background: #fff;
  font-size: 16px;
  line-height: 1.5;
}
.wizard-panel textarea { min-height: 110px; resize: vertical; }
.wizard-panel .field-label:not(:first-of-type) { margin-top: 22px; }
.required-callout { display: none; margin-left: 5px; color: #a33b27; font-size: 12px; font-weight: 750; }
.required-callout.is-visible { display: inline; }
.optional { color: #97979c; font-size: 12px; font-weight: 500; }
[aria-invalid="true"] { border-color: #b94c38 !important; }

.attached-files-block { margin-top: 28px; padding-top: 26px; border-top: 1px solid #efefef; }
.attached-files-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.attached-files-heading > div { display: flex; min-width: 0; flex-direction: column; gap: 5px; }
.attached-files-heading strong { font-size: 15px; }
.attached-files-heading span,
.field-hint { color: #78787c; font-size: 13px; line-height: 1.5; }
.attached-files-block .field-hint { margin: 14px 0 0; }
.compact-dropzone { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; margin-top: 14px; padding: 13px 15px; cursor: pointer; border: 1px dashed #b9c98d; border-radius: 12px; color: #4f631d; background: #fbfdf5; transition: border-color 160ms ease, background-color 160ms ease; }
.compact-dropzone:hover,
.compact-dropzone:focus-within,
.compact-dropzone.is-dragging { border-color: var(--lime-deep); background: var(--lime-tint); }
.compact-dropzone > span { display: grid; grid-row: 1 / span 2; place-items: center; width: 26px; height: 26px; border-radius: 8px; color: var(--ink); background: var(--lime); font-size: 19px; font-weight: 800; line-height: 1; }
.compact-dropzone strong { font-size: 13px; }
.compact-dropzone small { color: #77805f; font-size: 12px; line-height: 1.35; }
.upload-status-panel { margin-top: 16px; }
.progress-track { height: 4px; overflow: hidden; border-radius: 99px; background: #ececec; }
.progress-track span { display: block; width: 0; height: 100%; background: var(--lime-deep); transition: width 200ms ease; }
.file-list { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.file-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 4px 16px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fafafa; }
.file-row__name { overflow: hidden; font-size: 14px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.file-row__meta { color: #85858a; font-size: 12px; }
.file-row__remove { grid-column: 3; grid-row: 1 / span 2; padding: 6px; cursor: pointer; border: 0; color: #8a8a8f; background: transparent; font-size: 12px; }
.file-row__remove:hover { color: var(--ink); }
.file-row__bar { grid-column: 1 / 3; height: 2px; overflow: hidden; border-radius: 99px; background: #ececec; }
.file-row__bar span { display: block; width: 0; height: 100%; background: var(--lime-deep); transition: width 180ms ease; }
.choice-section { margin-top: 28px; }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-group button,
.radio-chips label > span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; cursor: pointer; border: 1px solid #dedede; border-radius: 999px; color: #39393d; background: #fff; font-size: 14px; font-weight: 650; }
.chip-group button:hover,
.radio-chips label:hover > span { border-color: var(--ink); }
.chip-group button.is-selected,
.radio-chips label:has(input:checked) > span { border-color: var(--lime); color: #243200; background: var(--lime); }
.radio-chips input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.compact-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; padding-top: 20px; border-top: 1px solid #efefef; }
.compact-options label { display: flex; align-items: flex-start; gap: 8px; color: #5f5f64; font-size: 13px; line-height: 1.45; }

.material-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.material-grid button { display: flex; min-width: 0; align-items: center; gap: 14px; padding: 14px; cursor: pointer; text-align: left; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.material-grid button:hover { border-color: #bdbdbd; }
.material-grid button.is-selected { border-color: var(--lime); background: var(--lime-tint); }
.material-grid button > span { min-width: 0; }
.material-grid strong,
.material-grid small { display: block; }
.material-grid strong { font-size: 14px; }
.material-grid small { margin-top: 3px; color: #82828a; font-size: 12px; line-height: 1.3; }
.swatch { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); }
.swatch.unsure { background: repeating-linear-gradient(135deg, #e4e4e4 0 6px, #f0f0f0 6px 12px); }
.swatch.fdm { background: linear-gradient(145deg, #f2f2f2, #cfcfcf); }
.swatch.resin { background: linear-gradient(145deg, #3a3a3a, #111); }
.swatch.nylon { background: linear-gradient(145deg, #f2e9d2, #d8c9a6); }
.swatch.aluminum { background: linear-gradient(145deg, #ededed, #a9aeb2); }
.swatch.stainless { background: linear-gradient(145deg, #d8dde0, #8e969b); }
.swatch.titanium { background: linear-gradient(145deg, #c9c6c2, #8a8579); }

.quantity-date-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 16px; }
.quantity-card,
.date-card { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fbfbfb; }
.quantity-card { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.quantity-card output { color: var(--lime-deep); font-size: 72px; font-weight: 850; letter-spacing: -0.05em; line-height: 1; }
.quantity-card output + span { margin-top: 4px; color: var(--muted); font-size: 15px; font-weight: 650; }
.quantity-stepper { display: grid; grid-template-columns: 52px 1px 52px; gap: 10px; margin-top: 20px; }
.quantity-stepper button { width: 52px; height: 44px; cursor: pointer; border: 1px solid #dedede; border-radius: 12px; background: #fff; font-size: 20px; font-weight: 750; }
.quantity-stepper input { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0; }
.quantity-presets { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.quantity-presets button { min-width: 36px; padding: 7px 10px; cursor: pointer; border: 1px solid #e2e2e2; border-radius: 999px; color: #6b6b70; background: #fff; font-size: 12px; font-weight: 750; }
.date-card { background: #fff; }
.date-card input[type="date"] { min-height: 68px !important; font-size: 19px !important; font-weight: 750; }
.timeline-label { margin-top: 16px !important; }
.date-card small { display: block; margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.urgency-note { margin-top: 18px; padding: 14px; border: 1px solid #e4a11b; border-radius: 12px; background: #fff8e8; font-size: 13px; line-height: 1.45; }
.urgency-note p { margin: 6px 0; }

.delivery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.delivery-grid > label { position: relative; display: block; cursor: pointer; }
.delivery-grid input { position: absolute; inset: 0; opacity: 0; }
.delivery-grid label > span { position: relative; display: flex; min-height: 112px; flex-direction: column; justify-content: center; gap: 8px; padding: 18px 52px 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.delivery-grid label > span::after { position: absolute; top: 18px; right: 18px; display: grid; width: 22px; height: 22px; place-items: center; border: 2px solid #aeb3aa; border-radius: 50%; color: #fff; content: ""; font-size: 14px; font-weight: 900; }
.delivery-grid label:has(input:checked) > span::after { border-color: var(--lime-deep); background: var(--lime-deep); content: "✓"; }
.delivery-grid label:has(input:checked) > span { border-color: var(--lime); background: var(--lime-tint); box-shadow: inset 0 0 0 1px var(--lime); }
.delivery-grid strong { font-size: 18px; font-weight: 850; }
.delivery-grid small { color: var(--muted); font-size: 14px; line-height: 1.5; }
.shipping-details { display: block; margin-top: 24px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #fbfbf8; }
.shipping-details__intro p { margin: 0; }
.shipping-details__intro > p:last-child { margin-top: 7px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.shipping-details__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; margin-top: 18px; }
.shipping-details__grid .field-label { margin-bottom: 8px !important; }
.shipping-details__address { grid-column: 1 / -1; }
.shipping-details__instructions { grid-column: 1 / -1; }
.shipping-details textarea { min-height: 70px; }
.shipping-details__account { margin: 16px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.shipping-details__account a { color: var(--ink); font-weight: 750; }

.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
.contact-grid .field-label { margin-bottom: 8px !important; }
.account-option { margin-top: 26px; padding-top: 22px; border-top: 1px solid #efefef; }
.account-option__toggle { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 650; }
.account-option__fields { margin-top: 16px; }
.account-option__help { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 12px; }
.review-notice { display: flex; align-items: flex-start; gap: 13px; margin-top: 26px; padding: 20px 22px; border-radius: 16px; background: #f6f6f6; }
.review-notice i { margin-top: 7px; }
.review-notice p { margin: 0; color: #5c5c62; font-size: 14px; line-height: 1.55; }
.verification-fieldset { margin: 20px 0 0; padding: 16px 18px; border: 1px solid #cfe4c0; border-radius: 16px; background: #f7fbf4; }
.verification-fieldset legend { padding: 0; font-size: 15px; font-weight: 750; }
.verification-fieldset p { color: var(--muted); font-size: 13px; }
#quote-legal-acceptance label { display: grid; grid-template-columns: 16px minmax(0, 1fr); align-items: start; gap: 9px; color: #4f4f54; font-size: 13px; font-weight: 600; line-height: 1.4; }
#quote-legal-acceptance label + label { margin-top: 7px; }
#quote-legal-acceptance input[type="checkbox"] { width: 16px; height: 16px; margin-top: 1px; }
#quote-legal-acceptance a { color: var(--ink); font-weight: 700; }
#quote-legal-acceptance .notice { margin: 10px 0 0; line-height: 1.45; }
.submit-status { display: block; min-height: 24px; margin-top: 16px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.submit-status.error { color: #9e3725; }
.submit-status.ok { color: #416205; }

.wizard-aside { position: sticky; top: 100px; display: flex; min-width: 0; flex-direction: column; gap: 16px; }
.wizard-example { min-height: 310px; }
.wizard-example img { opacity: 0.34; }
.wizard-example.has-customer-files img { opacity: 1; }
.part-preview-card:has(.model-preview:not([hidden])) .wizard-example { display: none; }
.example-badge { position: absolute; z-index: 1; top: 14px; left: 14px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 7px; color: #727278; background: #fff; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 10px; letter-spacing: 0.05em; }
.preview-caption { margin: 15px 0 0; color: #737378; font-size: 13px; line-height: 1.5; }
.model-preview { margin: 0; padding: 0; border: 0; background: transparent; }
.model-preview__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.model-preview__heading .quote-eyebrow { margin-bottom: 5px; font-size: 10px; }
.model-preview__heading h3 { margin: 0; font-size: 18px; }
.model-preview__status { color: var(--muted); font-size: 13px; }
.model-preview__stage { min-height: 250px; overflow: hidden; border-radius: 18px; background: #fafafa; }
/* The stage is never hidden once a CAD file is attached: it shows an outlined
   empty frame, then a spinner, then the model. Nothing is concealed, and no
   session state controls its visibility. */
.model-preview__stage[data-state="empty"],
.model-preview__stage[data-state="loading"] { border: 1px dashed var(--line); background: #fbfcfa; }
.model-preview__stage[data-state="ready"] .model-preview__placeholder { display: none; }
.model-preview__stage:not([data-state="ready"]) #model-preview-canvas { display: none; }
.model-preview__placeholder { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 230px; padding: 16px; color: var(--muted); font-size: 13px; text-align: center; }
.model-preview__stage[data-state="empty"] .model-preview__spinner { display: none; }
.model-preview__spinner { width: 16px; height: 16px; flex: none; border: 2px solid var(--line); border-top-color: var(--lime-deep); border-radius: 50%; animation: model-preview-spin 0.9s linear infinite; }
@media (prefers-reduced-motion: reduce) { .model-preview__spinner { animation-duration: 2.4s; } }
@keyframes model-preview-spin { to { transform: rotate(360deg); } }
#model-preview-canvas { display: block; width: 100%; min-height: 230px; }
.model-preview__controls { padding: 12px; }
.model-preview__control-group { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.model-preview__control-group + .model-preview__control-group { margin-top: 8px; }
.model-preview__control-group > span { min-width: 46px; font-size: 12px; font-weight: 750; }
.model-preview__control-group button { padding: 7px 9px; cursor: pointer; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 11px; }
.model-preview__control-group button[aria-pressed="true"] { border-color: var(--lime-deep); background: var(--lime-tint); }
.field-help { color: var(--muted); font-size: 12px; line-height: 1.45; }
.preview-gallery { margin: 0; }
.preview-gallery__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.preview-gallery__heading .quote-eyebrow { margin-bottom: 5px; font-size: 10px; }
.preview-gallery__heading h3 { margin: 0; font-size: 18px; }
.preview-gallery__heading > span { padding: 5px 7px; border: 1px solid var(--line); border-radius: 7px; color: #74747a; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 10px; letter-spacing: .06em; }
.preview-gallery__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.preview-gallery__item { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fafafa; }
.preview-gallery__thumbnail { display: grid; aspect-ratio: 1.3 / 1; place-items: center; overflow: hidden; color: #77805f; background-color: #f5f7f1; background-image: linear-gradient(#e5e9dc 1px, transparent 1px), linear-gradient(90deg, #e5e9dc 1px, transparent 1px); background-size: 16px 16px; font-size: 11px; font-weight: 750; text-align: center; }
.preview-gallery__thumbnail[data-state="previewing"] { color: #36470c; background-color: var(--lime-tint); }
.preview-gallery__thumbnail[data-state="review"] { color: #77777c; }
.preview-gallery__thumbnail[data-state="reference"] { position: relative; color: #594b22; background-color: #fff9e8; }
.preview-gallery__thumbnail img { display: block; width: 100%; height: 100%; object-fit: contain; }
.preview-gallery__expand { position: absolute; right: 8px; bottom: 8px; min-height: 32px; padding: 6px 9px; cursor: pointer; border: 1px solid rgba(0,0,0,.14); border-radius: 8px; color: #242428; background: rgba(255,255,255,.94); font-size: 11px; font-weight: 750; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.preview-gallery__details { padding: 10px; }
.preview-gallery__name { display: block; overflow: hidden; font-size: 12px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.preview-gallery__meta { display: block; margin-top: 4px; color: #77777c; font-size: 11px; line-height: 1.35; }
.preview-gallery__quantity { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 9px; color: #626268; font-size: 11px; font-weight: 750; }
.preview-gallery__quantity input { width: 54px; min-height: 28px; border: 1px solid var(--line); border-radius: 7px; padding: 3px 6px; color: #242428; font: inherit; text-align: center; }
.file-preview-dialog { width: min(1080px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; overflow: hidden; border: 0; border-radius: 20px; background: #fff; box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.file-preview-dialog::backdrop { background: rgba(20,22,18,.72); }
.file-preview-dialog__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.file-preview-dialog__header .quote-eyebrow { margin-bottom: 4px; }
.file-preview-dialog__header h2 { margin: 0; overflow-wrap: anywhere; font-size: 19px; }
.file-preview-dialog__stage { display: grid; height: min(72vh, 760px); place-items: center; overflow: auto; background: #eef0eb; }
.file-preview-dialog__stage img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.file-preview-dialog__stage iframe { width: 100%; height: 100%; border: 0; background: #fff; }
.file-preview-dialog > p { margin: 0; padding: 12px 20px; color: var(--muted); font-size: 12px; }
.next-card { padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: #fafafa; }
.next-card h2 { margin: 0; font-size: 24px; }
.next-card ol { display: grid; gap: 14px; margin: 18px 0; padding: 0; list-style: none; }
.next-card li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; color: #555b53; font-size: 16px; line-height: 1.55; }
.next-card li span { color: var(--lime-text); font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 12px; font-weight: 750; }
.next-card a { color: var(--ink); font-size: 16px; font-weight: 800; text-decoration-color: var(--lime-deep); text-decoration-thickness: 2px; text-underline-offset: 4px; }

.quote-summary-bar { position: fixed; z-index: 60; right: 0; bottom: 0; left: 0; color: #fff; background: var(--ink); }
.summary-inner { display: flex; width: min(100%, 1420px); min-height: 108px; align-items: center; justify-content: space-between; gap: 28px; margin: 0 auto; padding: 18px 40px; }
.summary-inner dl { display: grid; grid-template-columns: repeat(4, minmax(100px, auto)); gap: 16px 34px; margin: 0; }
.summary-inner dl div { min-width: 0; }
.summary-inner dt { color: #8b8b8b; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; }
.summary-inner dd { margin: 5px 0 0; overflow: hidden; font-size: 16px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.summary-action { display: flex; flex: 0 0 auto; flex-direction: column; align-items: stretch; gap: 6px; }
.summary-action small { color: #8b8b8b; font-size: 12px; text-align: center; }
.summary-action .quote-primary:disabled { cursor: not-allowed; opacity: 0.48; }

.quote-confirmation { width: min(100%, 820px); margin: 0 auto; padding: 110px 40px 140px; text-align: center; }
.confirmation-mark { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 28px; border-radius: 18px; background: var(--lime); font-size: 30px; font-weight: 850; }
.quote-confirmation .quote-eyebrow { margin-bottom: 14px; }
.quote-confirmation h1 { margin: 0; font-size: clamp(38px, 5vw, 64px); font-weight: 850; letter-spacing: -0.04em; }
.quote-confirmation > p:not(.quote-eyebrow) { margin: 20px auto 30px; color: #57575a; font-size: 19px; line-height: 1.55; }
.quote-confirmation > .quote-confirmation__account { max-width: 700px; margin-top: -12px; font-size: 16px; }
.quote-confirmation > div { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.quote-page .site-footer { border-top: 1px solid #ececec; }
.quote-page:has(.quote-wizard:not([hidden])) .site-footer { display: none; }

@media (min-width: 861px) and (min-height: 800px) {
  .quote-page:has(.quote-landing:not([hidden])) .site-footer { display: none; }
  .quote-landing { padding: 28px 0 20px; }
  .quote-eyebrow { margin-bottom: 10px; }
  .landing-heading-row h1 { font-size: clamp(48px, 4.2vw, 70px); }
  .landing-lede { margin-top: 10px; font-size: 18px; line-height: 1.45; }
  .landing-workspace { margin-top: 20px; }
  .hero-dropzone,
  .landing-preview-card { min-height: 390px; }
  .hero-dropzone { padding-block: 28px; }
  .example-part-stage { min-height: 260px; }
  .landing-next-row { margin-top: 12px; }
  .trust-strip { margin-top: 16px; padding-top: 14px; }

  .wizard-panel[data-step-panel="4"]:has(.shipping-details:not([hidden])) { padding: 18px 24px; }
  .wizard-panel[data-step-panel="4"]:has(.shipping-details:not([hidden])) > .step-intro { margin-bottom: 12px; }
  .wizard-panel[data-step-panel="4"]:has(.shipping-details:not([hidden])) .delivery-grid label > span { min-height: 88px; padding-block: 12px; }
  .wizard-panel[data-step-panel="4"]:has(.shipping-details:not([hidden])) .shipping-details { margin-top: 14px; padding: 14px 16px; }
  .wizard-panel[data-step-panel="4"]:has(.shipping-details:not([hidden])) .shipping-details__intro > p:last-child { margin-top: 4px; }
  .wizard-panel[data-step-panel="4"]:has(.shipping-details:not([hidden])) .shipping-details__grid { gap: 8px 12px; margin-top: 10px; }
  .wizard-panel[data-step-panel="4"]:has(.shipping-details:not([hidden])) .shipping-details__grid .field-label { margin-bottom: 5px !important; }
  .wizard-panel[data-step-panel="4"]:has(.shipping-details:not([hidden])) input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]) { min-height: 44px; }
  .wizard-panel[data-step-panel="4"]:has(.shipping-details:not([hidden])) .shipping-details textarea { min-height: 52px; }
  .wizard-panel[data-step-panel="4"]:has(.shipping-details:not([hidden])) .shipping-details__account { margin-top: 9px; }
}

@media (min-width: 861px) {
  .wizard-panel[data-step-panel="5"] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
  .wizard-panel[data-step-panel="5"] > h2,
  .wizard-panel[data-step-panel="5"] > .step-intro,
  .wizard-panel[data-step-panel="5"] > .contact-grid,
  .wizard-panel[data-step-panel="5"] > .compact-options,
  .wizard-panel[data-step-panel="5"] > .account-option { grid-column: 1 / -1; }
  .wizard-panel[data-step-panel="5"] > .choice-section:not(.compact-options) { margin-top: 18px; }
  .wizard-panel[data-step-panel="5"] > .review-notice,
  .wizard-panel[data-step-panel="5"] > .verification-fieldset { margin-top: 18px; }
}
.quote-page .site-footer .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 24px; }
.quote-page .site-footer p { margin: 0; color: #737378; font-size: 13px; }
.quote-page .site-footer nav { display: flex; gap: 20px; }
.quote-page .site-footer a { color: #505054; font-size: 13px; }

@media (max-width: 1100px) {
  .quote-page .primary-nav { gap: 18px; }
  .wizard-grid { grid-template-columns: minmax(0, 1fr) minmax(280px, 0.68fr); gap: 22px; }
  .material-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary-inner dl { gap: 16px; }
}

@media (max-width: 860px) {
  .quote-page .site-header { padding-inline: 24px; }
  .wizard-back { display: inline-flex; align-items: center; min-height: 44px; }
  .compact-options label,
  .account-option__toggle { min-height: 44px; }
  .compact-options label { align-items: center; }
  .compact-options label:focus-within,
  .account-option__toggle:focus-within { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 2px #fff; }
  .quote-page .primary-nav { display: none; position: absolute; top: 75px; right: 16px; left: 16px; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 20px 40px rgba(0,0,0,.12); }
  .quote-page .nav-open .primary-nav { display: flex; }
  .quote-page .primary-nav a { padding: 12px; }
  .quote-page .nav-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; }
  .quote-shell { padding-inline: 24px; }
  .landing-workspace,
  .wizard-grid { grid-template-columns: 1fr; }
  .landing-preview-card { min-height: 500px; }
  .wizard-aside { position: static; }
  .summary-inner { align-items: stretch; flex-direction: column; gap: 14px; }
  .summary-inner dl { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .summary-action { flex-direction: row; align-items: center; }
  .summary-action small { text-align: left; }
  .quote-wizard { padding-bottom: 205px; }
}

@media (max-width: 640px) {
  .quote-page .site-header { min-height: 68px; padding-inline: 16px; }
  .quote-brand-logo { height: 29px; }
  .header-quote-button { display: none !important; }
  .quote-shell { padding-inline: 16px; }
  .quote-landing { padding: 42px 0 64px; }
  .landing-heading-row h1 { font-size: clamp(48px, 15vw, 68px); }
  .landing-lede { font-size: 17px; }
  .landing-actions { width: 100%; }
  .landing-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .landing-actions .button { min-width: 0; width: 100%; padding-inline: 10px; font-size: 14px; white-space: nowrap; }
  .landing-workspace { margin-top: 30px; }
  .hero-dropzone { min-height: 430px; padding: 32px 20px; }
  .landing-preview-card { min-height: 420px; padding: 18px; }
  .example-part-stage { min-height: 300px; }
  .trust-strip { grid-template-columns: 1fr; gap: 22px; margin-top: 38px; }
  .quote-wizard { padding-top: 20px; padding-bottom: 248px; }
  .step-rail { display: flex; gap: 8px; margin-inline: -16px; padding: 2px 16px 10px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; }
  .step-rail button { min-width: 145px; }
  .wizard-panel { padding: 24px 18px; border-radius: 18px; }
  .wizard-panel > h2 { font-size: 30px; }
  .material-grid,
  .quantity-date-grid,
  .delivery-grid,
  .shipping-details__grid,
  .contact-grid,
  .compact-options { grid-template-columns: 1fr; }
  .attached-files-heading { align-items: flex-start; flex-direction: column; }
  .material-grid button { min-height: 74px; }
  .delivery-grid label > span { min-height: 116px; }
  .part-preview-card { padding: 18px; }
  .wizard-example { min-height: 280px; }
  .summary-inner { min-height: 0; padding: 13px 16px 15px; }
  .summary-inner dl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 16px; }
  .summary-inner dt { font-size: 9px; }
  .summary-inner dd { margin-top: 2px; font-size: 13px; }
  .summary-action { justify-content: space-between; }
  .summary-action .quote-primary { min-height: 48px; padding-inline: 22px; font-size: 15px; }
  .summary-action small { max-width: 150px; font-size: 10px; line-height: 1.35; }
  .quote-confirmation { padding: 78px 20px 100px; }
  .quote-confirmation > div .button { width: 100%; }
  .quote-page .site-footer .footer-bottom { align-items: flex-start; flex-direction: column; padding-inline: 16px; }
  .quote-page .site-footer nav { width: 100%; flex-wrap: wrap; gap: 10px 16px; }
}

@media (max-width: 380px) {
  .landing-heading-row h1 { font-size: 44px; }
  .hero-dropzone { min-height: 390px; }
  .summary-action { align-items: stretch; flex-direction: column; }
  .summary-action small { max-width: none; text-align: center; }
  .quote-wizard { padding-bottom: 284px; }
}

@media (prefers-reduced-motion: reduce) {
  .quote-page *,
  .quote-page *::before,
  .quote-page *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Site-standard quote header. Kept in this first-party stylesheet so the
   quote page can retain its strict style-src 'self' CSP. */
.quote-page .v2-header { position: sticky; top: 0; z-index: 50; display: block; min-height: 0; padding: 0; border-bottom: 1px solid #e8ebe3; background: rgba(255,255,255,.94); backdrop-filter: saturate(180%) blur(12px); }
.quote-page .v2-header__in { display: flex; width: min(1180px, calc(100% - 2.5rem)); min-height: 4.6rem; margin: 0 auto; align-items: center; gap: 1.6rem; }
.quote-page .v2-header .brand { display: inline-flex; flex: 0 0 auto; align-items: center; }
.quote-page .v2-header__logo { display: block; width: 7.1rem; height: auto; }
.quote-page .v2-header .primary-nav { display: flex; position: static; flex: 1 1 auto; min-width: 0; flex-wrap: wrap; justify-content: center; gap: clamp(.8rem,1.8vw,1.75rem); padding: 0; border: 0; background: transparent; box-shadow: none; }
.quote-page .v2-header .primary-nav a { padding: 0; color: #343a33; font-size: .9rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.quote-page .v2-header .primary-nav a:hover,
.quote-page .v2-header .primary-nav a[aria-current="page"] { color: #101410; }
.quote-page .v2-header .header-actions { display: flex; flex: 0 0 auto; align-items: center; gap: .65rem; }
.quote-page .v2-header__cta { display: inline-block; white-space: nowrap; flex: 0 0 auto; min-height: 2.8rem; padding: 0 1.05rem; cursor: pointer; border: 1px solid #85F336; border-radius: .55rem; color: #101410; background: #85F336; font-family: inherit; font-size: .9rem; font-weight: 800; line-height: 2.8rem; text-decoration: none; }
.quote-page .v2-header .nav-toggle { display: none; width: 2.75rem; height: 2.75rem; padding: 0; place-items: center; border: 1px solid #d9ddd1; border-radius: .55rem; color: #101410; background: #fff; cursor: pointer; }

/* Production quote workspace: files stay on page one, while later steps use
   static, source-bound thumbnails and per-file requirement cards. */
.quote-intake-stack { display: grid; gap: 18px; margin-top: 34px; }
.quote-intake-row { display: grid; grid-template-columns: minmax(0,.82fr) minmax(420px,1.18fr); min-height: 380px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 18px 48px rgba(24,31,18,.07); }
.quote-intake-info { display: flex; min-width: 0; flex-direction: column; padding: 27px 30px; }
.quote-intake-index { margin-bottom: 26px; color: #81877d; font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.quote-intake-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.quote-intake-title h2 { margin: 0; overflow: hidden; font-size: 23px; letter-spacing: -.025em; text-overflow: ellipsis; white-space: nowrap; }
.quote-intake-title p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.quote-intake-title > span { flex: none; padding: 6px 8px; border-radius: 7px; color: #315711; background: #e9fbdc; font-size: 9px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.quote-intake-info dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 22px; margin: auto 0 0; }
.quote-intake-info dl div { min-width: 0; padding-top: 12px; border-top: 1px solid #eceee9; }
.quote-intake-info dt { color: #858b81; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.quote-intake-info dd { margin: 5px 0 0; font-size: 13px; font-weight: 750; }
.quote-intake-info select { width: 100%; min-height: 32px; padding: 3px 26px 3px 8px; border: 1px solid #d9ddd4; border-radius: 7px; background: #fff; font-size: 12px; font-weight: 700; }
.quote-health { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; }
.quote-health i { width: 8px; height: 8px; flex: none; border-radius: 50%; background: #9ba096; }
.quote-health.good { color: #315711; }.quote-health.good i { background: #6cbd32; box-shadow: 0 0 0 3px #e8f8dc; }
.quote-health.warn { color: #82550c; }.quote-health.warn i { background: #e3a52c; box-shadow: 0 0 0 3px #fff3d9; }
.quote-health.error { color: #9a3328; }.quote-health.error i { background: #cf4d3f; box-shadow: 0 0 0 3px #fde8e4; }
.quote-intake-tools { display: flex; justify-content: space-between; gap: 15px; margin-top: 22px; color: #73786f; font-size: 11px; }
.quote-intake-tools button { padding: 7px 10px; cursor: pointer; border: 1px solid #d5dbd0; border-radius: 8px; color: #4e554b; background: #fff; font: inherit; font-weight: 800; }
.quote-intake-tools button:hover { border-color: #b94c38; color: #8e2f24; background: #fff6f4; }
.quote-intake-tools button:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow:0 0 0 2px #fff; }
.quote-intake-viewer { position: relative; display: grid; min-width: 0; place-items: center; overflow: hidden; border-left: 1px solid var(--line); background: #fff; }
.quote-intake-viewer > .model-preview { position:absolute; inset:0; z-index:2; margin:0; padding:0; background:#fff; }
.quote-intake-viewer > .model-preview:not([hidden]) + .quote-static-thumbnail { visibility:hidden; }
.quote-intake-viewer .model-preview__heading, .quote-intake-viewer .model-preview__controls, .quote-intake-viewer .field-help { display:none; }
.quote-intake-viewer .model-preview__status { position:absolute; z-index:3; top:16px; left:18px; margin:0; padding:7px 10px; border:1px solid var(--line); border-radius:8px; background:rgba(255,255,255,.9); font-size:.72rem; }
.quote-intake-viewer .model-preview__stage { min-height:320px; height:100%; border:0; border-radius:0; background:#fff; }
.quote-intake-viewer .model-preview__stage canvas { width:100%; height:100%; min-height:320px; background:transparent; }
.quote-intake-viewer::after { position: absolute; z-index: 0; right: -12%; bottom: -43%; left: -12%; height: 76%; opacity: .48; content: ""; background-image: linear-gradient(rgba(116,130,103,.18) 1px,transparent 1px),linear-gradient(90deg,rgba(116,130,103,.18) 1px,transparent 1px); background-size: 24px 24px; transform: perspective(420px) rotateX(63deg); transform-origin: center top; mask-image: linear-gradient(to bottom,transparent 0,#000 44%,transparent 100%); }
.quote-orientation-cube { position: absolute; z-index: 5; top: 17px; right: 19px; width: 70px; height: 66px; filter: drop-shadow(0 4px 5px rgba(27,34,23,.08)); }
.quote-orientation-cube polygon { stroke: #aeb8a8; stroke-width: 1; vector-effect: non-scaling-stroke; }.quote-orientation-cube .cube-top { fill:#f8faf6; }.quote-orientation-cube .cube-front { fill:#eef2ea; }.quote-orientation-cube .cube-right { fill:#e5ebe0; }
.quote-orientation-cube text { fill:#596454; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:6px; font-weight:850; text-anchor:middle; dominant-baseline:middle; }
.quote-static-thumbnail { position: relative; z-index: 2; display: grid; width: min(72%,430px); height: min(78%,300px); place-items: center; }
.quote-static-thumbnail .thumbnail-blob { position: absolute; z-index: -1; width: 82%; aspect-ratio: 1.15; border-radius: 48% 52% 55% 45% / 56% 43% 57% 44%; background: #eaf9df; transform: rotate(-7deg); }
.quote-static-thumbnail img { display: block; max-width: 88%; max-height: 88%; object-fit: contain; filter: drop-shadow(0 20px 16px rgba(24,31,18,.18)); }
.quote-static-thumbnail.is-model { width: min(88%,520px); height: min(88%,340px); }
.quote-static-thumbnail.is-model img { max-width: 100%; max-height: 100%; filter: drop-shadow(0 14px 12px rgba(24,31,18,.14)); }
.quote-static-thumbnail.is-model[role="button"] { cursor: pointer; }
.quote-static-thumbnail.is-model[role="button"]::after { position: absolute; right: 0; bottom: 0; padding: 7px 10px; border: 1px solid #d5dbd0; border-radius: 8px; color: #315711; background: rgba(255,255,255,.94); content: "Open to rotate"; font-size: 11px; font-weight: 800; opacity: 0; transform: translateY(4px); transition: opacity .16s ease, transform .16s ease; }
.quote-static-thumbnail.is-model[role="button"]:hover::after,
.quote-static-thumbnail.is-model[role="button"]:focus-visible::after { opacity: 1; transform: translateY(0); }
.quote-static-thumbnail.is-model[role="button"]:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; box-shadow:0 0 0 2px #fff; }
.quote-file-placeholder { display: flex; align-items: center; flex-direction: column; gap: 7px; color: #64705d; text-align: center; }.quote-file-placeholder b { font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:18px; }.quote-file-placeholder small { font-size:11px; }
.quote-landing.has-files .landing-workspace { margin-top: 18px; }
.quote-landing.has-files .hero-dropzone,.quote-landing.has-files .landing-preview-card { min-height: 250px; }
.quote-landing.has-files .hero-dropzone { padding: 24px; }
.quote-landing.has-files .upload-icon { width: 45px; height: 45px; }
.quote-landing.has-files .landing-preview-card img { max-height: 185px; opacity: .32; }
.landing-next-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 18px; margin-top: 18px; }
.start-without-files { display: grid; grid-template-columns: auto 1fr auto; width: 100%; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; border: 1px solid #dce2d7; border-radius: 15px; color: var(--ink); background: #f8faf6; text-align: left; }
.start-without-files > span:first-child { display:grid;width:38px;height:38px;place-items:center;border-radius:12px;background:var(--lime);font-size:18px; }.start-without-files strong,.start-without-files small { display:block; }.start-without-files small { margin-top:4px;color:var(--muted);font-size:12px;line-height:1.4; }.start-without-files b { font-size:20px; }
.landing-file-next { display: flex; min-width: 0; align-items: center; justify-content: space-between; padding: 18px 28px; cursor: pointer; border: 1px solid var(--lime); border-radius: 15px; color: var(--ink); background: var(--lime); font: inherit; font-size: 18px; font-weight: 800; text-align: left; }
.landing-file-next > strong { font-size: 22px; line-height: 1; }
.landing-file-next > span { font-size: 26px; line-height: 1; }
.landing-file-next:hover:not(:disabled) { border-color: #6bc720; background: #9bfa58; }
.start-without-files:hover { border-color: #9ea998; background: #f2f7ee; }
.landing-file-next:focus-visible,.start-without-files:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow:0 0 0 2px #fff; }
.landing-file-next:disabled { cursor: not-allowed; border-color: #dce2d7; color: #969b92; background: #f1f3ef; }
.wizard-upload-fallback { display: none; }
.project-without-files { display: flex; align-items: flex-start; gap: 14px; margin: 24px 0; padding: 18px; border: 1px solid #cfe2c1; border-radius: 14px; background: #f3faed; }.project-without-files > span { display:grid;width:34px;height:34px;flex:none;place-items:center;border-radius:10px;background:var(--lime); }.project-without-files p { margin:5px 0 0;color:var(--muted);font-size:13px;line-height:1.5; }
.part-requirements { margin-top: 28px; }.part-requirements__heading { display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:12px; }.part-requirements__heading h3 { margin:0;font-size:22px; }.part-requirements__list { display:grid;gap:12px; }
.part-config-card { overflow:hidden;border:1px solid var(--line);border-radius:15px;background:#fff; }.part-config-card > summary { display:grid;grid-template-columns:62px minmax(0,1fr) auto 20px;min-height:78px;align-items:center;gap:14px;padding:8px 14px 8px 8px;cursor:pointer;list-style:none; }.part-config-card > summary::-webkit-details-marker { display:none; }.part-config-card[open] > summary { border-bottom:1px solid var(--line); }.part-config-card > summary > span:not(.quote-static-thumbnail) { display:flex;min-width:0;flex-direction:column; }.part-config-card > summary small { color:#527d30;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9px;font-weight:850;letter-spacing:.1em;text-transform:uppercase; }.part-config-card > summary strong { overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap; }.part-config-card > summary em { margin-top:3px;color:var(--muted);font-size:10px;font-style:normal; }.part-config-card > summary > b { padding:6px 8px;border-radius:7px;color:#4d5748;background:var(--soft);font-size:10px; }.part-config-card > summary > i { font-size:17px;font-style:normal;transition:transform .2s; }.part-config-card[open] > summary > i { transform:rotate(180deg); }
.quote-static-thumbnail.is-compact { width:62px;height:62px;border-radius:10px;background:#f6f8f3; }.quote-static-thumbnail.is-compact .thumbnail-blob { width:78%; }.quote-static-thumbnail.is-compact img { max-width:78%;max-height:78%;filter:drop-shadow(0 6px 5px rgba(24,31,18,.16)); }.quote-static-thumbnail.is-compact .quote-file-placeholder small { display:none; }.quote-static-thumbnail.is-compact .quote-file-placeholder b { font-size:10px; }
.part-config-body { display:grid;grid-template-columns:210px minmax(0,1fr); }.part-config-body > aside { position:relative;display:grid;min-height:360px;place-items:center;overflow:hidden;border-right:1px solid var(--line); }.part-config-body > aside .quote-static-thumbnail { width:82%;height:260px; }.part-config-body > aside > span { position:absolute;right:12px;bottom:12px;left:12px;overflow:hidden;padding:8px;border:1px solid var(--line);border-radius:7px;background:rgba(255,255,255,.92);font-size:10px;font-weight:750;text-overflow:ellipsis;white-space:nowrap; }
.part-config-fields { min-width:0;padding:4px 24px 24px; }.part-config-fields section { padding:20px 0;border-bottom:1px solid #eceee9; }.part-config-fields section:last-child { border:0; }.part-config-fields h4 { display:flex;align-items:center;gap:9px;margin:0;font-size:15px; }.part-config-fields h4 span { display:grid;width:23px;height:23px;place-items:center;border-radius:50%;color:#284510;background:var(--lime);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9px; }
.part-choice-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px; }.part-choice { display:flex;min-height:66px;align-items:flex-start;flex-direction:column;gap:4px;padding:11px;cursor:pointer;border:1px solid #dfe3da;border-radius:10px;color:var(--ink);background:#fff;text-align:left; }.part-choice.is-selected { border-color:#68ad33;background:#f1fde8;box-shadow:inset 0 0 0 1px #68ad33; }.part-choice strong { font-size:12px; }.part-choice small { color:var(--muted);font-size:9px;line-height:1.35; }
.part-appearance { display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:18px;margin-top:14px; }.part-color-choices { display:flex;flex-wrap:wrap;gap:6px; }.part-color { display:flex;min-width:54px;align-items:center;flex-direction:column;gap:4px;padding:6px 5px;cursor:pointer;border:1px solid transparent;border-radius:8px;background:transparent;font-size:8px; }.part-color i { width:25px;height:25px;border:1px solid rgba(0,0,0,.15);border-radius:50%;box-shadow:inset 0 0 0 2px rgba(255,255,255,.55); }.part-color.is-selected { border-color:#68ad33;background:#f1fde8;font-weight:800; }.part-appearance label,.part-notes-grid label { color:#676c64;font-size:9px;font-weight:850;letter-spacing:.06em;text-transform:uppercase; }.part-appearance select,.part-notes-grid input,.part-notes-grid textarea { width:100%;margin-top:7px;border:1px solid #d9ddd4;border-radius:9px;background:#fff; }.part-appearance select,.part-notes-grid input { min-height:42px;padding:0 9px; }.part-notes-grid { display:grid;grid-template-columns:90px minmax(0,1fr);gap:12px;margin-top:14px; }.part-notes-grid textarea { min-height:72px;padding:10px;resize:vertical; }
.quote-wizard .wizard-aside > .part-preview-card { display:none !important; }

/* Readable per-part controls: the filename lives in the card header and the
   selected color has an explicit check instead of an ambiguous empty circle. */
.part-config-card > summary small { font-size:11px; }
.part-config-card > summary strong { font-size:17px; }
.part-config-card > summary em { font-size:12px; }
.part-config-card > summary > b { padding:7px 10px; font-size:12px; background:#f1f4ee; }
.part-config-body { grid-template-columns:190px minmax(0,1fr); }
.part-config-body > aside { min-height:330px; }
.part-config-body > aside .quote-static-thumbnail { height:240px; }
.part-choice { min-height:70px; padding:12px; gap:5px; }
.part-choice strong { font-size:14px; }
.part-choice small { color:#7f847c; font-size:12px; }
.part-appearance { grid-template-columns:minmax(0,1fr) 220px; }
.part-color { position:relative; min-width:72px; gap:6px; padding:8px 7px; border-radius:10px; font-size:12px; }
.part-color i { width:22px; height:22px; }
.part-color.is-selected { border-color:var(--lime-deep); }
.part-color.is-selected::after { position:absolute; top:5px; right:5px; display:grid; width:16px; height:16px; place-items:center; border-radius:50%; color:#fff; background:var(--lime-deep); content:"✓"; font-size:10px; }
.part-color[data-value="none"] i { background:#fff !important; }
.part-appearance label,
.part-notes-grid label { color:#656b62; font-size:12px; letter-spacing:.04em; }
.part-appearance select,
.part-notes-grid input,
.part-notes-grid textarea { color:var(--ink); font-size:15px; }
.part-appearance select,
.part-notes-grid input { min-height:48px; padding-inline:12px; }
.part-notes-grid { grid-template-columns:110px minmax(0,1fr); gap:14px; }
.part-notes-grid textarea { min-height:76px; padding:11px 12px; font-size:14px; }
.part-notes-grid textarea::placeholder,
.wizard-panel input::placeholder,
.wizard-panel textarea::placeholder { color:#9da19a; opacity:1; }

@media (max-width:860px) {
  .quote-intake-row { grid-template-columns:1fr; }.quote-intake-viewer { min-height:300px;border-top:1px solid var(--line);border-left:0; }.part-config-body { grid-template-columns:1fr; }.part-config-body > aside { min-height:250px;border-right:0;border-bottom:1px solid var(--line); }.part-choice-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.landing-next-row { grid-template-columns:minmax(0,1.6fr) minmax(220px,1fr); }
}
@media (max-width:640px) {
  .quote-intake-info { padding:22px 20px; }.quote-intake-info dl { gap:14px; }.part-requirements__heading { align-items:flex-start;flex-direction:column; }.part-config-card > summary { grid-template-columns:52px minmax(0,1fr) 18px; }.part-config-card > summary > b { display:none; }.quote-static-thumbnail.is-compact { width:52px;height:52px; }.part-config-fields { padding:2px 16px 20px; }.part-choice-grid,.part-appearance,.part-notes-grid,.landing-next-row { grid-template-columns:1fr; }.part-config-body > aside { min-height:220px; }.start-without-files { grid-template-columns:auto 1fr; }.start-without-files > b { display:none; }.landing-file-next { min-height:64px; }
}

@media (max-width: 960px) {
  .chip-group button,
  .radio-chips label > span { min-height: 44px; }
}

/* The full eight-link site navigation wraps at a 1024px tablet viewport.
   Switch to the accessible disclosure menu before the wrap occurs. */
@media (max-width: 1080px) {
  .quote-page .v2-header__in { width: min(calc(100% - 2rem), 1180px); min-height: 4.2rem; justify-content: space-between; }
  .quote-page .v2-header__logo { width: 6.7rem; }
  .quote-page .v2-header .primary-nav { display: none; position: absolute; top: calc(100% + 1px); right: 0; left: 0; flex-direction: column; align-items: stretch; gap: 0; padding: .75rem 1.5rem 1rem; border-bottom: 1px solid #d9ddd1; background: #fff; box-shadow: 0 18px 34px rgba(16,20,16,.1); }
  .quote-page .v2-header.nav-open .primary-nav { display: flex; }
  .quote-page .v2-header .primary-nav a { padding: .82rem 0; font-size: 1rem; }
  .quote-page .v2-header__cta { display: none; }
  .quote-page .v2-header .nav-toggle { display: inline-grid; }
}
