* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--lab-background);
  color: var(--lab-text);
  font: 16px/1.6 var(--lab-font);
}
.quote-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px max(5%, calc((100vw - 1120px) / 2));
  background: white;
  border-bottom: 1px solid var(--lab-border);
}
.quote-header img {
  display: block;
  width: 192px;
  height: 64px;
  object-fit: contain;
}
.quote-logo-crop {
  display: block;
  width: 200px;
  height: 80px;
  overflow: hidden;
  position: relative;
}
.quote-logo-crop img {
  position: absolute;
  width: 378px;
  height: auto;
  max-width: none;
  left: -6px;
  top: -8px;
}
.quote-logo-crop.custom img {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
progress::-webkit-progress-bar {
  background: var(--lab-border);
}
progress::-webkit-progress-value {
  background: var(--lab-primary);
}
progress::-moz-progress-bar {
  background: var(--lab-primary);
}
.quote-notice {
  white-space: pre-wrap;
}
main {
  max-width: 800px;
  margin: auto;
  padding: 48px 24px;
}
.quote-intro {
  text-align: center;
  margin-bottom: 32px;
}
.eyebrow {
  color: var(--lab-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin: 16px 0;
}
h2 {
  font-size: 1.5rem;
  line-height: 1.3;
  margin: 24px 0;
}
.quote-intro p {
  max-width: 600px;
  margin: auto;
}
.quote-card {
  padding: 32px;
}
.quote-progress p {
  margin: 0 0 8px;
  font-size: 0.875rem;
  color: var(--lab-secondary);
}
progress {
  display: block;
  width: 100%;
  height: 8px;
  accent-color: var(--lab-primary);
  border-radius: 8px;
  overflow: hidden;
}
.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border: 0;
  padding: 0;
  margin: 0;
}
.choice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  min-height: 72px;
  border: 1px solid var(--lab-border);
  border-radius: 16px;
  cursor: pointer;
  background: white;
}
.choice:has(input:checked) {
  border-color: var(--lab-primary);
  background: var(--lab-light-blue);
}
.choice input {
  accent-color: var(--lab-primary);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.choice:focus-within {
  outline: 2px solid var(--lab-primary);
  outline-offset: 2px;
}
.quote-navigation {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
}
.quote-navigation #next {
  margin-left: auto;
}
.quote-privacy {
  font-size: 0.875rem;
  text-align: center;
  margin: 24px 0;
}
.back-home {
  display: block;
  text-align: center;
  color: var(--lab-primary);
}
.quote-summary {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px 16px;
}
.quote-summary dt {
  color: var(--lab-secondary);
}
.quote-summary dd {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.quote-result {
  background: var(--lab-light-blue);
  border-radius: 16px;
  padding: 24px;
}
.quote-final-actions {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
#suggestions {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
#suggestions button {
  text-align: left;
  justify-content: flex-start;
}
footer {
  padding: 24px;
  text-align: center;
  color: var(--lab-secondary);
  font-size: 0.8rem;
}
[hidden] {
  display: none !important;
}
@media (max-width: 600px) {
  main {
    padding: 24px 16px;
  }
  .quote-header {
    padding: 12px 16px;
  }
  .quote-header img {
    width: 140px;
    height: 48px;
  }
  .quote-header .lab-button {
    font-size: 0.8rem;
    padding: 8px 12px;
  }
  .quote-card {
    padding: 24px 16px;
  }
  .choice-grid {
    gap: 8px;
  }
  .choice {
    padding: 12px;
    font-size: 0.9rem;
  }
  .quote-summary {
    grid-template-columns: 96px 1fr;
  }
}
@media (max-width: 600px) {
  .quote-logo-crop {
    width: 152px;
    height: 62px;
  }
  .quote-logo-crop img {
    width: 290px;
    height: auto;
  }
  .quote-logo-crop.custom img {
    width: 100%;
    height: 100%;
  }
}
/* Same visual language as the reference-led homepage. */
.quote-page {background:radial-gradient(ellipse at 15% 10%,#e0f2fe 0,transparent 48%),radial-gradient(ellipse at 95% 35%,#ede9fe88,transparent 40%),#f8fafc}
.quote-page .quote-intro h1 {font-size:clamp(2rem,4vw,2.8rem);line-height:1.15;letter-spacing:-.045em;margin:18px 0}
.quote-page .quote-intro .eyebrow {background:#fff;border:1px solid #dbeafe;border-radius:100px;padding:8px 14px;display:inline-block;color:#2563eb;font-size:.67rem}
.quote-page .quote-card {box-shadow:0 16px 48px #344a6a0c;border-color:#e2e8f0}
.quote-steps {display:flex;justify-content:space-between;padding:0;list-style:none;gap:6px;counter-reset:step;margin:28px 0 22px}
.quote-steps li {display:flex;flex-direction:column;align-items:center;gap:7px;flex:1;color:#64748b;font-size:.7rem}
.quote-steps li:before {counter-increment:step;content:counter(step);display:grid;place-items:center;width:30px;height:30px;border-radius:10px;border:1px solid #dce5ef;background:white;font-size:.8rem;font-weight:650}
.quote-steps li.current {color:#2563eb;font-weight:650}.quote-steps li.current:before {background:#2563eb;color:white;border-color:#2563eb;box-shadow:0 5px 14px #2563eb25}.quote-steps li.done:before {background:#e0f2fe;color:#0369a1;border-color:#bae6fd}
.quote-page .choice {position:relative;padding:22px 16px;min-height:108px;flex-direction:column;justify-content:center;gap:10px;border-color:#e2e8f0;text-align:center;box-shadow:0 3px 8px #0f172a03}
.quote-page .choice input {position:absolute;top:12px;right:12px;width:15px;height:15px}
.choice-symbol {display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#e0f2fe;color:#0284c7}.choice-symbol .lab-icon {width:26px;height:26px}
.choice:nth-child(4n+2) .choice-symbol {background:#ede9fe;color:#7c3aed}.choice:nth-child(4n+3) .choice-symbol {background:#dcfce7;color:#15803d}.choice:nth-child(4n+4) .choice-symbol {background:#fef3c7;color:#a16207}
.quote-page .choice:has(input:checked) {background:#eff6ff;border:2px solid #2563eb;padding:21px 15px;box-shadow:0 4px 12px #2563eb0c}
@media(max-width:600px) {.quote-steps {gap:3px}.quote-steps li {font-size:.57rem}.quote-steps li:before {width:26px;height:26px}.quote-page .quote-intro h1 {font-size:2rem}.quote-page .choice {padding:18px 12px;font-size:.85rem}.quote-page .choice:has(input:checked){padding:17px 11px}}

#availability[data-stock="available"] { color: #17663d; background: #e0f4e9; }
#availability[data-stock="out_of_stock"] { color: #a32626; background: #fce7e7; }
#availability[data-stock="unconfirmed"] { color: #755600; background: #fff3d5; }
#availability { padding: 12px 16px; border-radius: 12px; font-weight: 700; }
