:root {
  color-scheme: light;
  --page: #f4f5f2;
  --surface: #fcfcfa;
  --surface-strong: #ffffff;
  --surface-tint: #e9eeea;
  --ink: #202722;
  --muted: #667069;
  --line: #d7ddd8;
  --accent: #557865;
  --accent-hover: #466957;
  --accent-soft: #e3ece6;
  --warning: #795519;
  --warning-bg: #fff7e6;
  --error: #9a3f37;
  --error-bg: #fff0ee;
  --radius: 16px;
  --shadow: 0 24px 70px rgba(32, 48, 39, .1);
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--page);
}

/* Optional room-photo entry and analysis — release 20260820-1. */
.room-photo-start { display: grid; gap: 12px; max-width: 560px; margin: 26px 0 20px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.78); }
.room-photo-start > div { display: grid; gap: 3px; }
.room-photo-start > div strong { font-size: 15px; }
.room-photo-start > div span, .room-photo-drop span { color: var(--muted); font-size: 12px; line-height: 1.45; }
.room-photo-drop { display: grid; gap: 7px; padding: 14px; border: 1px dashed #9baa9f; border-radius: 12px; color: var(--accent); font-size: 13px; font-weight: 750; cursor: pointer; }
.room-photo-drop input { width: 100%; color: var(--ink); font-weight: 500; }
.room-photo-start.has-error { border-color: var(--error); background: var(--error-bg); }
.hero-actions-split { flex-wrap: wrap; }
.hero-actions-split .text-link { flex-basis: 100%; }
.room-analysis-shell { width: min(1180px, calc(100% - 40px)); min-height: calc(100vh - 160px); margin: 0 auto; padding: 56px 0 90px; }
.room-analysis-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
.room-analysis-media { position: relative; min-height: 620px; background: #e8ece7; }
.room-analysis-media img { width: 100%; height: 100%; object-fit: cover; }
.room-analysis-media > span { position: absolute; right: 18px; bottom: 18px; left: 18px; padding: 10px 12px; border-radius: 9px; background: rgba(25,35,29,.82); color: #fff; font-size: 11px; line-height: 1.45; }
.room-analysis-content { padding: clamp(32px, 5vw, 68px); align-self: center; }
.room-analysis-content h2 { margin: 8px 0 18px; font-size: clamp(32px, 4vw, 50px); line-height: 1.06; letter-spacing: -.04em; }
.analysis-form > p, .room-analysis-content > p { color: var(--muted); line-height: 1.6; }
.analysis-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 26px; }
.analysis-fields label { display: grid; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 700; }
.analysis-fields select, .analysis-fields input { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); font: inherit; }
.analysis-starting-point { grid-column: 1 / -1; }
.analysis-boundary, .analysis-error { margin: 22px 0 0; padding: 15px 17px; border-left: 3px solid var(--accent); background: #f1f6f2; color: var(--muted); font-size: 13px; line-height: 1.55; }
.analysis-error p { margin: 5px 0 0; }
.analysis-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.analysis-loading { display: flex; gap: 8px; margin-top: 24px; }
.analysis-loading span { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); animation: photo-check-pulse .8s ease-in-out infinite alternate; }
.analysis-loading span:nth-child(2) { animation-delay: .15s; }
.analysis-loading span:nth-child(3) { animation-delay: .3s; }
.preview-in-room-section { padding-top: 10px; }
@media (max-width: 760px) {
  .room-analysis-card { grid-template-columns: 1fr; }
  .room-analysis-media { min-height: 340px; }
  .room-analysis-content { padding: 30px 22px; }
  .analysis-fields { grid-template-columns: 1fr; }
  .analysis-starting-point { grid-column: auto; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--page); }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(49, 92, 72, .3);
  outline-offset: 3px;
}
[tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header, .site-footer {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header { border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: white; background: var(--accent); letter-spacing: 0; }
.header-label { color: var(--muted); font-size: 14px; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-button { border: 0; padding: 8px 0; color: var(--accent); background: transparent; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

.intro-shell {
  width: min(1240px, calc(100% - 40px));
  min-height: calc(100dvh - 144px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, .88fr) minmax(460px, 1.35fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
  padding: 48px 0 64px;
}
.intro-copy { max-width: 520px; }
.kicker, .step-context { margin: 0 0 16px; color: var(--accent); font-size: 13px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
h1 { max-width: 620px; margin: 0; font-size: clamp(44px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.045em; font-weight: 650; }
.intro-text { max-width: 48ch; margin: 24px 0 30px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.intro-note { margin: 13px 0 0; color: var(--muted); font-size: 13px; }
.intro-image { position: relative; margin: 0; }
.intro-image img { display: block; width: 100%; height: min(68dvh, 620px); object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-actions { display: flex; align-items: center; gap: 22px; }
.text-link { color: var(--ink); font-size: 14px; font-weight: 700; text-decoration-color: var(--line); text-underline-offset: 5px; }
.text-link:hover { text-decoration-color: var(--accent); }
.consultant-overlay { position: absolute; right: 22px; bottom: 22px; width: min(360px, calc(100% - 44px)); padding: 16px; display: grid; grid-template-columns: 38px 1fr; gap: 12px; border: 1px solid rgba(255,255,255,.65); border-radius: var(--radius); color: #26322b; background: rgba(248,250,248,.88); box-shadow: 0 16px 48px rgba(33,50,40,.16), inset 0 1px 0 rgba(255,255,255,.8); backdrop-filter: blur(16px); }
.consultant-monogram { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--accent); font-size: 14px; font-weight: 800; }
.consultant-overlay strong { font-size: 13px; }
.consultant-overlay p { margin: 5px 0 0; font-size: 12px; line-height: 1.5; }

.confidence-strip { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 22px 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.confidence-strip p { margin: 0; color: var(--muted); font-size: 13px; text-align: center; }
.confidence-strip p:not(:last-child) { border-right: 1px solid var(--line); }
.landing-section { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: clamp(92px, 11vw, 150px) 0; }
.section-heading { max-width: 680px; }
.section-heading h2, .intelligence-intro h2, .designer-copy h2, .trust-heading h2, .final-cta h2 { margin: 0; font-size: clamp(36px, 4.5vw, 58px); line-height: 1.04; letter-spacing: -.04em; font-weight: 650; }
.section-heading > p, .intelligence-intro > p:last-child, .designer-copy > p, .trust-heading > p { max-width: 58ch; margin: 18px 0 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.process-list { margin: 62px 0 0; padding: 0; display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; list-style: none; }
.process-list li { min-height: 240px; padding: 26px 24px; border-top: 1px solid var(--line); }
.process-list li:first-child { padding-left: 0; }
.process-list li:not(:last-child) { border-right: 1px solid var(--line); }
.process-list span { color: var(--accent); font-size: 12px; font-weight: 800; }
.process-list strong { margin-top: 72px; display: block; font-size: 18px; }
.process-list p { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.intelligence-section { display: grid; grid-template-columns: .72fr 1.4fr; gap: clamp(44px, 8vw, 100px); align-items: start; }
.intelligence-intro { position: sticky; top: 38px; }
.feature-composition { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; }
.feature-composition article { overflow: hidden; border-radius: var(--radius); background: var(--surface-strong); }
.feature-large { grid-column: 1 / -1; position: relative; min-height: 490px; }
.feature-large img { width: 100%; height: 490px; display: block; object-fit: cover; }
.feature-large > div { position: absolute; left: 22px; right: 22px; bottom: 22px; padding: 18px 20px; border-radius: 12px; color: #26322b; background: rgba(248,250,248,.9); backdrop-filter: blur(14px); }
.feature-composition strong { font-size: 16px; }
.feature-composition p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.feature-large p { color: #526058; }
.feature-detail { min-height: 260px; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; }
.fabric-detail { background: #dfe5e1 !important; }
.fabric-sample { flex: 1; margin: -24px -24px 28px; background: repeating-linear-gradient(92deg, rgba(255,255,255,.34) 0 4px, rgba(71,92,79,.1) 4px 8px), linear-gradient(135deg, #cad4cd, #edf0ed); }
.measure-detail { color: #edf2ef; background: #26332c !important; }
.measure-detail p { color: #bfc9c3; }
.measure-glyph { margin-bottom: auto; padding-bottom: 28px; display: block; border-bottom: 1px solid rgba(255,255,255,.2); font-size: clamp(40px, 5vw, 64px); letter-spacing: -.05em; }

.designer-section { width: min(1240px, calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: 1.35fr .85fr; align-items: stretch; border-radius: var(--radius); overflow: hidden; background: var(--surface-tint); }
.designer-media img { width: 100%; height: 100%; min-height: 650px; display: block; object-fit: cover; }
.designer-copy { padding: clamp(46px, 7vw, 86px); align-self: center; }
.mode-label { display: inline-block; margin-bottom: 28px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.designer-copy ul { margin: 30px 0 34px; padding: 0; display: grid; gap: 12px; list-style: none; }
.designer-copy li { padding-left: 22px; color: var(--ink); font-size: 14px; }
.designer-copy li::before { content: ""; width: 8px; height: 1px; margin: 9px 0 0 -22px; position: absolute; background: var(--accent); }
.trust-section { padding-bottom: 90px; }
.trust-heading { max-width: 720px; }
.trust-points { margin-top: 64px; display: grid; grid-template-columns: 1.15fr 1fr 1fr; }
.trust-points article { padding: 28px; border-top: 1px solid var(--line); }
.trust-points article:first-child { padding-left: 0; }
.trust-points article:not(:last-child) { border-right: 1px solid var(--line); }
.trust-points strong { font-size: 16px; }
.trust-points p { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.final-cta { margin-top: 110px; padding: clamp(38px, 7vw, 76px); display: grid; grid-template-columns: 1fr auto; gap: 18px 34px; align-items: center; border-radius: var(--radius); background: var(--surface-tint); }
.final-cta h2 { font-size: clamp(34px, 4vw, 52px); }
.final-cta p { grid-column: 1; margin: 0; color: var(--muted); }
.final-cta .button { grid-column: 2; grid-row: 1 / span 2; }

.button {
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  background: transparent;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}
.button:active { transform: translateY(1px) scale(.99); }
.primary { color: #fff; background: var(--accent); }
.primary:hover { background: var(--accent-hover); }
.secondary { color: var(--ink); border-color: var(--line); background: var(--surface-strong); }
.secondary:hover { border-color: #aebbb3; }
.button:disabled { opacity: .58; cursor: wait; }

.consultation-shell {
  width: min(1120px, calc(100% - 40px));
  min-height: calc(100dvh - 72px);
  margin: 0 auto;
  padding: 56px 0 80px;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
  overflow-anchor: none;
}
.progress-panel { position: sticky; top: 32px; }
.progress-title { margin: 0 0 20px; font-size: 13px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.progress-panel ol { margin: 0; padding: 0; list-style: none; }
.progress-panel li { position: relative; min-height: 50px; display: flex; align-items: center; gap: 12px; color: #8a938d; font-size: 14px; font-weight: 650; }
.progress-panel li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 38px; width: 1px; height: 24px; background: var(--line); }
.progress-panel li span { width: 31px; height: 31px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; background: var(--page); font-size: 12px; }
.progress-panel li.active { color: var(--ink); }
.progress-panel li.active span { color: white; border-color: var(--accent); background: var(--accent); }
.progress-panel li.complete { color: var(--accent); }
.progress-panel li.complete span { color: transparent; border-color: var(--accent); background: var(--accent-soft); }
.progress-panel li.complete span::after { content: "✓"; color: var(--accent); }
.progress-help { margin-top: 34px; padding: 18px; border-radius: var(--radius); background: var(--surface-tint); }
.progress-help strong { font-size: 13px; }
.progress-help p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }

.wizard { min-width: 0; padding: clamp(28px, 5vw, 58px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 18px 55px rgba(39, 55, 46, .07); overflow-anchor: none; }
.mobile-progress { display: none; }
.step-heading { max-width: 700px; margin-bottom: 32px; }
.step-heading h2, .results-heading h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -.035em; font-weight: 650; }
.step-heading > p:last-child, .results-heading > p:last-child { max-width: 60ch; margin: 14px 0 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }

.choice-grid { display: grid; gap: 14px; }
.choice-grid-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice-card, .swatch-choice, .choice-row, .inline-options label {
  position: relative;
  cursor: pointer;
}
.choice-card input, .swatch-choice input, .choice-row input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card { min-height: 154px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-strong); transition: border-color .18s ease, background-color .18s ease, transform .18s ease; }
.choice-card:hover, .swatch-choice:hover, .choice-row:hover { border-color: #9eafa5; transform: translateY(-1px); }
.choice-card:has(input:checked), .swatch-choice:has(input:checked), .choice-row:has(input:checked) { border-color: var(--accent); background: #f1f6f3; box-shadow: inset 0 0 0 1px var(--accent); }
.choice-card:has(input:focus-visible), .swatch-choice:has(input:focus-visible), .choice-row:has(input:focus-visible) { outline: 3px solid rgba(49, 92, 72, .25); outline-offset: 3px; }
.choice-icon { width: 38px; height: 38px; margin-bottom: 20px; display: grid; place-items: center; border-radius: 50%; color: var(--accent); background: var(--accent-soft); font-size: 19px; }
.choice-card strong, .choice-card small, .swatch-choice strong, .swatch-choice small { display: block; }
.choice-card strong, .swatch-choice strong { font-size: 15px; }
.choice-card small, .swatch-choice small { margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.45; }

.field-row, .measurement-fields { margin-top: 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.compact-row { margin-top: 18px; }
.single-field { grid-template-columns: minmax(0, 1fr); }
.window-identity { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.window-type-fieldset { margin-top: 26px; padding: 0; border: 0; }
.window-type-fieldset legend { padding: 0; font-size: 13px; font-weight: 750; }
.window-type-fieldset > p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.window-type-grid { margin-top: 14px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.window-type-card { position: relative; min-height: 192px; padding: 18px 16px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-strong); cursor: pointer; transition: border-color .16s ease, background-color .16s ease, transform .16s ease; }
.window-type-card:hover { border-color: #9caca2; }
.window-type-card:active { transform: translateY(1px); }
.window-type-card:has(input:checked) { border-color: var(--accent); background: #f1f6f3; box-shadow: inset 0 0 0 1px var(--accent); }
.window-type-card:has(input:focus-visible) { outline: 3px solid rgba(49, 92, 72, .25); outline-offset: 3px; }
.window-type-card input { position: absolute; opacity: 0; pointer-events: none; }
.window-type-card strong, .window-type-card small { display: block; }
.window-type-card strong { margin-top: 16px; font-size: 14px; }
.window-type-card small { margin-top: 5px; color: var(--muted); font-size: 11px; font-weight: 500; line-height: 1.4; }
.window-type-visual { position: relative; height: 82px; display: block; overflow: hidden; border: 4px solid #89978f; border-bottom-width: 6px; background: linear-gradient(145deg, #eaf1ef, #ffffff); }
.window-type-visual i { position: absolute; top: 0; bottom: 0; border-left: 2px solid #b5c0b9; }
.window-type-visual.standard { width: 66%; margin: 0 auto; }
.window-type-visual.standard i:first-child { left: 50%; }
.window-type-visual.standard i:last-child { left: 0; right: 0; top: 50%; bottom: auto; border-left: 0; border-top: 2px solid #b5c0b9; }
.window-type-visual.sliding-door { height: 92px; }
.window-type-visual.sliding-door i:first-child { left: 50%; }
.window-type-visual.sliding-door i:last-child { left: 55%; top: 44%; bottom: auto; width: 5px; height: 5px; border: 0; border-radius: 50%; background: var(--accent); }
.window-type-visual.bay-corner { width: 86%; margin: 0 auto; clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%); }
.window-type-visual.bay-corner i:nth-child(1) { left: 30%; transform: skewX(-8deg); }
.window-type-visual.bay-corner i:nth-child(2) { left: 70%; transform: skewX(8deg); }
.window-type-visual.bay-corner i:nth-child(3) { left: 0; right: 0; top: 55%; bottom: auto; border-left: 0; border-top: 2px solid #b5c0b9; }
.window-type-visual.unusual { width: 84%; margin: 0 auto; border-radius: 46% 46% 0 0; }
.window-type-visual.unusual i:nth-child(1) { left: 33.333%; }
.window-type-visual.unusual i:nth-child(2) { left: 66.666%; }
.window-type-visual.unusual i:nth-child(3) { left: 0; right: 0; top: 56%; bottom: auto; border-left: 0; border-top: 2px solid #b5c0b9; }
.conditional-window-details { margin-top: 16px; padding: 20px; border-left: 4px solid var(--accent); border-radius: 10px; background: var(--surface-tint); }
.conditional-window-details legend { padding: 0; font-size: 14px; font-weight: 750; }
.conditional-window-details > p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.bay-section-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.window-preferences { margin-top: 24px; padding: 22px; border-radius: var(--radius); background: var(--surface-tint); }
.window-preferences legend { padding: 0; font-size: 15px; font-weight: 750; }
.window-preferences > p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.window-preferences .field-row { margin-top: 16px; }
.measurement-fields { grid-template-columns: .75fr 1fr 1fr; }
.measurement-route { margin-top: 28px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-strong); }
.measurement-route legend { padding: 0 6px; font-size: 14px; font-weight: 750; }
.measurement-route-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.measurement-route-options label { padding: 16px; display: flex; gap: 11px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.measurement-route-options label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.measurement-route-options input { margin-top: 3px; accent-color: var(--accent); }
.measurement-route-options strong, .measurement-route-options small { display: block; }
.measurement-route-options small { margin-top: 5px; color: var(--muted); font-weight: 500; line-height: 1.45; }
.measure-route-help { margin-top: 14px; padding: 18px; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; border-radius: 12px; background: var(--surface-tint); }
.measure-route-help p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.measure-return-status { margin-top: 14px; padding: 16px 18px; border-left: 4px solid var(--accent); border-radius: 10px; background: var(--accent-soft); font-size: 13px; line-height: 1.55; }
.measure-return-status strong, .measure-return-status span { display: block; }
.measure-return-status span { margin-top: 4px; color: var(--muted); }
.measurement-entry { margin-top: 0; }
label { color: var(--ink); font-size: 13px; font-weight: 700; }
input[type="number"], input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  min-height: 50px;
  margin-top: 8px;
  border: 1px solid #bdc7c0;
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  font-weight: 500;
}
textarea { min-height: 120px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #747e77; }
input[readonly] { color: var(--accent); background: var(--accent-soft); cursor: default; }

.choice-list { display: grid; gap: 12px; }
.choice-row { min-height: 76px; display: flex; align-items: center; gap: 16px; padding: 16px 18px 16px 52px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-strong); }
.choice-row::before { content: ""; position: absolute; left: 19px; width: 18px; height: 18px; border: 1px solid #8f9c94; border-radius: 50%; background: #fff; }
.choice-row:has(input:checked)::before { border: 5px solid var(--accent); }
.choice-row strong, .choice-row small { display: block; }
.choice-row small { margin-top: 5px; color: var(--muted); font-size: 12px; font-weight: 500; line-height: 1.45; }
.inline-options { margin-top: 26px; }
.inline-options legend, .budget-options legend { margin-bottom: 12px; font-size: 13px; font-weight: 750; }
.inline-options label { min-height: 44px; margin: 0 8px 8px 0; padding: 11px 15px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 650; }
.inline-options label:has(input:checked) { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.inline-options input { accent-color: var(--accent); }

.swatch-choice { padding: 12px 12px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-strong); }
.style-swatch { display: block; height: 118px; margin-bottom: 16px; border-radius: 10px; background-color: #cdd2cf; }
.style-swatch.soft-modern { background: linear-gradient(135deg, #f5f6f4 0 45%, #a7b0ab 45% 52%, #d9ddda 52%); }
.style-swatch.natural { background: repeating-linear-gradient(85deg, #b9ac99 0 3px, #d3c9bb 3px 7px, #c5b9a8 7px 10px); }
.style-swatch.tailored { background: repeating-linear-gradient(90deg, #59635f 0 8px, #747d79 8px 15px, #424c48 15px 22px); }
.budget-options { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.budget-options > p { max-width: 65ch; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.budget-options .inline-options { margin-top: 16px; }
.window-preferences, .fit-options { margin-top: 24px; padding: 0; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.42); }
.window-preferences summary, .fit-options summary { padding: 15px 18px; color: var(--ink); font-weight: 750; cursor: pointer; }
.window-preferences[open] summary, .fit-options[open] summary { border-bottom: 1px solid var(--line); }
.window-preferences > div, .window-preferences > fieldset, .fit-options > div, .fit-options > fieldset { margin: 0; padding: 18px; }
.window-photo-field { width: 100%; margin-top: 22px; padding: 18px; display: grid; clear: both; border: 1px dashed #afc1b7; border-radius: 14px; background: #f7faf8; }
.window-photo-field input { margin-top: 10px; }
.photo-check { width: 100%; margin-top: 12px; }
.photo-check-card { padding: 15px 17px; border: 1px solid var(--line); border-radius: 13px; background: #f7faf8; }
.photo-check-card.ready { border-color: #a9c5b5; background: #f1f7f3; }
.photo-check-card.needs_attention, .photo-check-card.human_review { border-color: #d8c59d; background: #fffaf0; }
.photo-check-card.unavailable { background: #f5f5f2; }
.photo-check-heading { display: flex; align-items: center; gap: 9px; }
.photo-check-heading > strong { font-size: 14px; }
.photo-check-heading > span { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.photo-check-card.checking .photo-check-heading > span { animation: photo-check-pulse 1s ease-in-out infinite alternate; }
.photo-check-card.needs_attention .photo-check-heading > span, .photo-check-card.human_review .photo-check-heading > span { background: #b18a3d; }
.photo-check-card > p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.photo-check-card > small { display: block; margin-top: 6px; color: var(--accent); font-weight: 700; }
.photo-check-card ul { margin: 12px 0 0; padding: 0; display: grid; gap: 10px; list-style: none; }
.photo-check-card li { padding-top: 10px; border-top: 1px solid rgba(94, 111, 101, .18); }
.photo-check-card li p { margin: 0 0 6px; font-size: 12px; line-height: 1.45; }
.photo-check-card li strong, .photo-check-card li span { display: block; font-size: 12px; line-height: 1.45; }
.photo-check-card li span { margin-top: 4px; color: var(--muted); }
.photo-check-card li label { display: grid; gap: 6px; }
.photo-check-card li input { margin: 0; padding: 10px 12px; }
.photo-check-card .photo-check-note { font-size: 11px; }
@keyframes photo-check-pulse { to { opacity: .25; transform: scale(.72); } }
.window-card-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }

.measure-guide { display: grid; grid-template-columns: minmax(220px, .9fr) 1fr; gap: 28px; align-items: center; margin-bottom: 30px; padding: 24px; border-radius: var(--radius); background: var(--surface-tint); }
.window-save-status { margin: -10px 0 28px; padding: 17px 19px; display: grid; gap: 4px; border-left: 4px solid var(--accent); border-radius: 10px; background: var(--accent-soft); }
.window-save-status strong { font-size: 14px; }
.window-save-status span { color: var(--muted); font-size: 12px; line-height: 1.5; }
.measure-guide p { margin: 5px 0 14px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.window-diagram { position: relative; height: 190px; border: 10px solid #a9b2ac; border-bottom-width: 7px; background: linear-gradient(120deg, #e8f0ef, #fff); }
.window-diagram::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: #c2cbc6; }
.window-diagram i { position: absolute; top: -16px; bottom: -7px; width: 28%; background: repeating-linear-gradient(90deg, rgba(49, 92, 72, .28) 0 8px, rgba(255,255,255,.72) 8px 16px); }
.window-diagram i:first-of-type { left: 0; }
.window-diagram i:last-of-type { right: 0; }
.measure-width, .measure-drop { position: absolute; z-index: 1; color: var(--accent); font-size: 10px; font-style: normal; font-weight: 800; letter-spacing: .06em; }
.measure-width { left: 50%; top: -32px; transform: translateX(-50%); white-space: nowrap; }
.measure-drop { right: -51px; top: 50%; transform: translateY(-50%) rotate(90deg); white-space: nowrap; }

.upload-zone { min-height: 190px; padding: 30px; display: grid; place-items: center; text-align: center; border: 1px dashed #8d9c93; border-radius: var(--radius); background: var(--surface-strong); cursor: pointer; }
.window-list { display: grid; gap: 12px; margin-bottom: 16px; }
.window-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 22px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-strong); }
.window-item span, .window-plan-grid article > span { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.window-item h3 { margin: 5px 0 2px; font-size: 19px; }
.window-item .window-room { margin: 0; color: var(--muted); font-size: 13px; }
.window-details { margin: 18px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 18px; }
.window-details div { min-width: 0; }
.window-details dt { color: var(--muted); font-size: 11px; font-weight: 600; }
.window-details dd { margin: 4px 0 0; font-size: 13px; font-weight: 700; line-height: 1.35; }
.window-details .window-size dd { color: var(--accent); font-size: 16px; }
.window-details .window-specific-detail { grid-column: 1 / -1; padding-top: 12px; border-top: 1px solid var(--line); }
.window-item-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.window-item-actions button { border: 0; padding: 7px 8px; color: var(--accent); background: transparent; font-size: 12px; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.add-window { margin-bottom: 24px; }
.add-window:disabled { cursor: not-allowed; }
.upload-zone:hover { border-color: var(--accent); background: #f5f8f6; }
.upload-zone input { position: absolute; opacity: 0; pointer-events: none; }
.upload-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--accent); font-size: 24px; font-weight: 400; }
.upload-zone strong { margin-top: 13px; }
.upload-zone small { max-width: 55ch; margin-top: 7px; color: var(--muted); font-weight: 500; line-height: 1.5; }
.answer-summary { margin: 24px 0; padding: 18px 20px; border-radius: var(--radius); background: var(--surface-tint); }
.answer-summary > div { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; }
.answer-summary strong { font-size: 14px; }
.answer-summary span { color: var(--muted); font-size: 12px; line-height: 1.5; text-align: right; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-weight: 550; line-height: 1.5; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); }
.field-error { min-height: 18px; display: block; margin-top: 5px; color: var(--error); font-size: 12px; font-weight: 650; }

.wizard-actions { margin-top: 36px; display: flex; justify-content: space-between; gap: 12px; }
.wizard-actions .primary { margin-left: auto; }

@media (min-width: 861px) {
  .consultation-shell:has(.wizard:is([data-current-step="0"], [data-current-step="1"], [data-current-step="2"])) {
    padding-top: 24px;
    padding-bottom: 28px;
  }
  .wizard:is([data-current-step="0"], [data-current-step="1"], [data-current-step="2"]) {
    height: clamp(560px, calc(100dvh - 120px), 650px);
    min-height: 560px;
    padding: 26px 32px;
    display: flex;
    flex-direction: column;
  }
  .wizard:is([data-current-step="0"], [data-current-step="1"], [data-current-step="2"]) .step-heading {
    margin-bottom: 18px;
  }
  .wizard:is([data-current-step="0"], [data-current-step="1"], [data-current-step="2"]) .step-context {
    margin-bottom: 7px;
    font-size: 11px;
  }
  .wizard:is([data-current-step="0"], [data-current-step="1"], [data-current-step="2"]) .step-heading h2 {
    font-size: clamp(32px, 3vw, 38px);
  }
  .wizard:is([data-current-step="0"], [data-current-step="1"], [data-current-step="2"]) .step-heading > p:last-child {
    margin-top: 7px;
    font-size: 14px;
    line-height: 1.45;
  }
  .wizard[data-current-step="0"] .choice-grid { gap: 10px; }
  .wizard[data-current-step="0"] .choice-card {
    min-height: 110px;
    padding: 15px 17px;
  }
  .wizard[data-current-step="0"] .choice-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 11px;
    font-size: 16px;
  }
  .wizard[data-current-step="0"] .choice-card small { margin-top: 4px; font-size: 11px; }
  .wizard[data-current-step="1"] .choice-list { gap: 8px; }
  .wizard[data-current-step="1"] .choice-row {
    min-height: 60px;
    padding: 10px 15px 10px 48px;
  }
  .wizard[data-current-step="1"] .choice-row small { margin-top: 2px; font-size: 11px; }
  .wizard[data-current-step="1"] .inline-options { margin-top: 13px; }
  .wizard[data-current-step="2"] .choice-grid { gap: 10px; }
  .wizard[data-current-step="2"] .swatch-choice { padding: 9px 9px 12px; }
  .wizard[data-current-step="2"] .style-swatch { height: 68px; margin-bottom: 10px; }
  .wizard[data-current-step="2"] .swatch-choice small { margin-top: 3px; font-size: 11px; }
  .wizard[data-current-step="2"] .budget-options { margin-top: 15px; padding-top: 13px; }
  .wizard[data-current-step="2"] .budget-options > p { font-size: 11px; line-height: 1.4; }
  .wizard[data-current-step="2"] .budget-options .inline-options { margin-top: 9px; }
  .wizard:is([data-current-step="0"], [data-current-step="1"], [data-current-step="2"]) .inline-options label {
    min-height: 38px;
    margin-bottom: 0;
    padding: 8px 12px;
  }
  .wizard:is([data-current-step="0"], [data-current-step="1"], [data-current-step="2"]) .wizard-actions {
    margin-top: auto;
    padding-top: 16px;
  }
}

.results-shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 56px 0 90px; }
.results-top { padding: clamp(28px, 5vw, 58px); border: 1px solid #cfdbd3; border-radius: var(--radius); color: var(--ink); background: #e8efea; }
.results-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; }
.results-heading .step-context { color: var(--accent); }
.results-heading > div > p:last-child { color: var(--muted); }
.results-heading .button { flex: 0 0 auto; color: var(--ink); border-color: #aebdb4; background: rgba(255,255,255,.58); }
.measurement-summary { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid #d3ddd6; border-radius: var(--radius); overflow: hidden; background: #d3ddd6; }
.measurement-summary div { min-height: 118px; padding: 22px; background: rgba(255,255,255,.72); }
.measurement-summary span, .measurement-summary strong, .measurement-summary small { display: block; }
.measurement-summary span { color: var(--muted); font-size: 12px; }
.measurement-summary strong { margin-top: 7px; font-size: clamp(23px, 3vw, 32px); font-weight: 650; letter-spacing: -.025em; }
.measurement-summary small { margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.warning { margin-top: 22px; padding: 17px 19px; border-left: 4px solid #bd8b31; border-radius: 8px; color: #5b4115; background: var(--warning-bg); }
.warning strong { font-size: 13px; }
.warning ul { margin: 8px 0 0; padding-left: 20px; font-size: 13px; line-height: 1.5; }

.result-section { margin-top: 52px; }
.result-section-header { max-width: 700px; margin-bottom: 24px; }
.result-section-header h3 { margin: 0; font-size: clamp(26px, 3vw, 36px); letter-spacing: -.025em; }
.result-section-header p { margin: 10px 0 0; color: var(--muted); line-height: 1.55; }
.primary-product { display: grid; grid-template-columns: .78fr 1.22fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-strong); }
.product-visual { min-height: 340px; padding: 36px; display: flex; flex-direction: column; justify-content: space-between; color: #26352d; background: linear-gradient(145deg, #dbe4de, #9aada1); }
.product-visual.sheer { color: var(--ink); background: linear-gradient(145deg, #f7f8f6, #c9d2cd); }
.product-visual.blackout { color: #eef3f0; background: linear-gradient(145deg, #879790, #52645b); }
.product-visual.layered { background: linear-gradient(110deg, #edf1ee 0 48%, #66736c 48%); color: var(--ink); }
.product-visual .fabric-code { font-size: 12px; font-weight: 750; letter-spacing: .08em; }
.product-visual .fabric-folds { height: 165px; border-radius: 12px; opacity: .8; background: repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 15px, rgba(0,0,0,.14) 15px 27px, rgba(255,255,255,.14) 27px 39px); }
.product-media { min-width: 0; min-height: 340px; display: flex; flex-direction: column; background: #e7ece8; }
.product-media-image-wrap { min-height: 0; flex: 1; overflow: hidden; background: #e7ece8; }
.product-photo { width: 100%; height: 100%; min-height: 340px; display: block; object-fit: cover; object-position: center; }
.product-media-loading, .product-media-error { min-height: 340px; margin: 0; padding: 36px; display: grid; place-items: center; color: var(--muted); text-align: center; line-height: 1.55; }
.product-media-loading { background: linear-gradient(100deg, #e2e9e4 25%, #f2f5f3 45%, #e2e9e4 65%); background-size: 240% 100%; animation: media-loading 1.6s ease infinite; }
.product-color-options { padding: 16px 18px 18px; border-top: 1px solid rgba(57,81,67,.12); background: rgba(255,255,255,.9); }
.product-color-options > span { display: block; margin-bottom: 9px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.product-color-buttons { display: flex; flex-wrap: wrap; gap: 7px; }
.product-color-buttons button { min-height: 34px; padding: 7px 11px; border: 1px solid #c8d2cb; border-radius: 999px; color: var(--ink); background: transparent; font: inherit; font-size: 11px; cursor: pointer; }
.product-color-buttons button[aria-pressed="true"] { color: #fff; border-color: var(--accent); background: var(--accent); }
@keyframes media-loading { to { background-position: -140% 0; } }
.product-content { padding: clamp(28px, 5vw, 52px); }
.match-label { margin: 0 0 12px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.product-content h4 { margin: 0; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.03em; }
.product-reason { margin: 16px 0 22px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.fit-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin: 0 0 26px; padding: 0; list-style: none; }
.fit-points li { position: relative; padding-left: 22px; font-size: 13px; line-height: 1.45; }
.fit-points li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.product-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.text-link { min-height: 48px; display: inline-flex; align-items: center; color: var(--accent); font-weight: 750; text-underline-offset: 4px; }
.alternative-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.window-plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.window-plan-grid article { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-strong); }
.window-plan-grid article.is-selected { border-color: var(--accent); background: #f5f9f6; box-shadow: 0 0 0 2px rgba(62, 101, 81, .1); }
.view-window-recommendation { width: 100%; margin-top: 18px; }
.window-plan-grid h4 { margin: 6px 0 8px; font-size: 20px; }
.window-plan-grid p { margin: 0; color: var(--muted); font-size: 12px; }
.window-plan-grid dl { margin: 20px 0 0; display: grid; gap: 8px; }
.window-plan-grid dl div { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; border-top: 1px solid var(--line); }
.window-plan-grid dt { color: var(--muted); font-size: 12px; }
.window-plan-grid dd { margin: 0; font-size: 12px; font-weight: 750; }
.edit-window-link { margin-top: 18px; border: 0; padding: 0; color: var(--accent); background: transparent; font-size: 12px; font-weight: 750; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.alternative-product { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-strong); }
.alternative-product h4 { margin: 8px 0 10px; font-size: 21px; }
.alternative-product p { color: var(--muted); font-size: 13px; line-height: 1.55; }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.product-meta span { padding: 7px 10px; border-radius: 999px; color: #3b5146; background: var(--surface-tint); font-size: 11px; font-weight: 700; }

.curtain-preview { margin-top: 52px; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-strong); }
.curtain-preview-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 320px); gap: 24px; align-items: start; }
.curtain-preview-heading h3 { margin: 0; font-size: clamp(26px, 3vw, 36px); letter-spacing: -.025em; }
.curtain-preview-heading > div > p { max-width: 62ch; margin: 10px 0 0; color: var(--muted); line-height: 1.55; }
.prototype-notice { margin: 0; padding: 12px 14px; border-left: 3px solid var(--accent); color: var(--muted); background: var(--accent-soft); font-size: 12px; line-height: 1.5; }
.preview-product-choices { margin-top: 26px; }
.preview-product-choices legend { margin-bottom: 12px; color: var(--ink); font-size: 13px; font-weight: 750; }
.preview-product-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.preview-product-choices legend { grid-column: 1 / -1; }
.preview-product-choices label { position: relative; min-height: 94px; padding: 15px 15px 15px 42px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }
.preview-product-choices label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.preview-product-choices input { position: absolute; top: 18px; left: 15px; accent-color: var(--accent); }
.preview-product-choices span, .preview-product-choices strong { display: block; }
.preview-product-choices span { color: var(--muted); font-size: 11px; font-weight: 650; }
.preview-product-choices strong { margin-top: 5px; font-size: 13px; line-height: 1.35; }
.preview-frame { position: relative; min-height: 280px; margin-top: 20px; overflow: hidden; border-radius: var(--radius); background: #202723; }
.preview-frame img { display: block; width: 100%; max-height: 640px; object-fit: contain; }
.preview-result { position: absolute; inset: 0; height: 100%; clip-path: inset(0 calc(100% - var(--compare)) 0 0); }
.preview-divider { position: absolute; top: 0; bottom: 0; left: var(--compare); width: 2px; background: rgba(255,255,255,.9); box-shadow: 0 0 0 1px rgba(30,40,34,.2); pointer-events: none; }
.preview-loading { position: absolute; inset: 0; display: flex; justify-content: center; gap: 3%; padding: 7% 16%; background: rgba(27, 34, 30, .48); backdrop-filter: blur(3px); }
.preview-loading span { width: 28%; border-radius: 10px 10px 3px 3px; background: linear-gradient(90deg, rgba(225,232,227,.42), rgba(255,255,255,.74), rgba(225,232,227,.42)); background-size: 220% 100%; animation: preview-shimmer 1.25s ease-in-out infinite; }
.preview-loading span:nth-child(2) { animation-delay: .12s; }
.preview-loading span:nth-child(3) { animation-delay: .24s; }
@keyframes preview-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.preview-image-error { position: absolute; inset: 0; display: grid; place-content: center; gap: 6px; padding: 28px; color: #f3f6f4; text-align: center; background: #202723; }
.preview-image-error[hidden] { display: none; }
.preview-image-error span { color: #c8d2cc; font-size: 13px; }
.compare-control { display: grid; grid-template-columns: auto minmax(160px, 1fr); gap: 16px; align-items: center; margin-top: 14px; color: var(--muted); font-size: 12px; }
.compare-slider { width: 100%; accent-color: var(--accent); }
.preview-status { width: fit-content; min-height: 22px; margin: 16px 0 0; color: var(--muted); font-size: 13px; }
.preview-status.error { color: var(--error); }
.preview-allowance { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.preview-actions { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.preview-actions .button { width: auto; }
.replace-preview-photo { cursor: pointer; }
.download-preview { color: var(--ink); background: var(--surface); }
.preview-empty { margin-top: 24px; padding: 28px; border: 1px dashed #9eafa5; border-radius: var(--radius); background: var(--surface-tint); }
.preview-empty strong { font-size: 17px; }
.preview-empty p { margin: 8px 0 18px; color: var(--muted); line-height: 1.5; }
.preview-empty .button { width: auto; }
.preview-disclaimer { margin: 20px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }

.price-factors { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.factor-group { padding: 24px; border-radius: var(--radius); background: var(--surface-tint); }
.factor-group h4 { margin: 0 0 12px; font-size: 15px; }
.factor-group ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.result-actions { margin-top: 44px; padding: clamp(25px, 5vw, 42px); border: 1px solid #c8d8cf; border-radius: var(--radius); color: var(--ink); background: #dfeae4; }
.result-actions h3 { max-width: 620px; margin: 0; font-size: clamp(26px, 3vw, 36px); }
.result-actions > p { max-width: 60ch; margin: 12px 0 22px; color: var(--muted); line-height: 1.55; }
.result-actions .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.result-actions .primary { color: white; background: var(--accent); }
.result-actions .secondary { color: var(--ink); border-color: #aebdb4; background: rgba(255,255,255,.56); }

.quote-form { margin-top: 20px; padding: clamp(22px, 4vw, 34px); border-radius: var(--radius); color: var(--ink); background: var(--surface); }
.quote-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.quote-heading h3 { margin: 0; font-size: 26px; }
.quote-heading p { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.text-button { border: 0; padding: 3px; color: var(--accent); background: transparent; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.quote-form .field-row { margin-top: 22px; }
.quote-form > label { display: block; margin-top: 18px; }
.quote-form .consent { display: flex; }
.quote-form .button { margin-top: 18px; }
.quote-confirmation { margin-top: 20px; padding: 20px; border-radius: var(--radius); color: var(--ink); background: #e7f1ea; }
.quote-confirmation.error { background: var(--error-bg); }
.quote-confirmation p { margin: 7px 0 0; color: var(--muted); }
.disclaimer { margin: 24px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }

.site-footer { min-height: 92px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.site-footer a { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .preview-loading span { animation: none; }
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --page: #151a17;
    --surface: #1b211d;
    --surface-strong: #222924;
    --surface-tint: #29332d;
    --ink: #edf2ef;
    --muted: #acb7b0;
    --line: #38433c;
    --accent: #83b59b;
    --accent-hover: #9bc7b0;
    --accent-soft: #293f34;
    --warning: #f1c66e;
    --warning-bg: #44371f;
    --error: #ffaaa2;
    --error-bg: #4a2b28;
    --shadow: 0 24px 70px rgba(0, 0, 0, .28);
  }
  .primary { color: #13231b; }
  .brand-mark { color: #13231b; }
  .choice-card, .choice-row, .swatch-choice, .window-type-card, .inline-options label, input[type="number"], input[type="text"], input[type="email"], input[type="tel"], select, textarea { background: #222924; }
  .measurement-route { background: #222924; }
  .choice-card:has(input:checked), .swatch-choice:has(input:checked), .choice-row:has(input:checked) { background: #23332b; }
  .window-type-card:has(input:checked) { background: #23332b; }
  .window-type-visual { background: linear-gradient(145deg, #35433b, #27312b); }
  .choice-row::before { background: #222924; }
  .inline-options label:has(input:checked) { background: #293f34; }
  .intro-image img { filter: brightness(.86); }
  .consultant-overlay { color: #dfe8e3; border-color: rgba(255,255,255,.14); background: rgba(29,36,32,.9); }
  .consultant-overlay p { color: #b9c4bd; }
  .feature-large > div { color: #e5ece8; background: rgba(29,36,32,.9); }
  .feature-large p { color: #b9c4bd; }
  .fabric-detail { background: #344039 !important; }
  .product-visual.sheer { color: #202722; }
  .product-visual.layered { color: #202722; }
  .result-actions .primary { color: #234c39; }
  .quote-confirmation { background: #263d30; }
}

@media (max-width: 860px) {
  .intro-shell { grid-template-columns: 1fr; min-height: auto; padding-top: 38px; }
  .intro-copy { max-width: 650px; }
  .intro-image { order: -1; }
  .intro-image img { max-height: 48dvh; }
  .consultation-shell { grid-template-columns: 1fr; padding-top: 28px; }
  .progress-panel { display: none; }
  .mobile-progress { margin-bottom: 28px; display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; color: var(--muted); font-size: 12px; }
  .mobile-progress progress { grid-column: 1 / -1; width: 100%; height: 5px; accent-color: var(--accent); }
  .primary-product { grid-template-columns: 1fr; }
  .product-visual { min-height: 260px; }
  .product-media { min-height: 360px; }
  .product-photo, .product-media-loading, .product-media-error { min-height: 300px; }
  .window-type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .curtain-preview-heading { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .process-list li:nth-child(2) { border-right: 0; }
  .intelligence-section { grid-template-columns: 1fr; }
  .intelligence-intro { position: static; }
  .designer-section { grid-template-columns: 1fr; }
  .designer-media img { min-height: 420px; max-height: 64dvh; }
}

@media (max-width: 640px) {
  .site-header, .site-footer, .intro-shell, .consultation-shell, .results-shell { width: min(100% - 28px, 100%); }
  .site-header { min-height: 64px; }
  .header-label { display: none; }
  .header-actions { gap: 12px; }
  .intro-shell { gap: 30px; padding: 18px 0 46px; }
  .intro-image img { min-height: 250px; max-height: 38dvh; }
  h1 { font-size: clamp(40px, 12vw, 54px); }
  .intro-text { margin-top: 18px; font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .hero-actions .button { width: auto; }
  .consultant-overlay { right: 12px; bottom: 12px; width: calc(100% - 24px); }
  .confidence-strip, .landing-section, .designer-section { width: min(100% - 28px, 100%); }
  .confidence-strip { grid-template-columns: 1fr; padding: 8px 0; }
  .confidence-strip p { padding: 11px 0; text-align: left; }
  .confidence-strip p:not(:last-child) { border-right: 0; border-bottom: 1px solid var(--line); }
  .landing-section { padding: 74px 0; }
  .section-heading h2, .intelligence-intro h2, .designer-copy h2, .trust-heading h2 { font-size: 38px; }
  .process-list { margin-top: 38px; grid-template-columns: 1fr; }
  .process-list li { min-height: 0; padding: 22px 0; display: grid; grid-template-columns: 38px 1fr; gap: 7px 4px; border-right: 0 !important; }
  .process-list strong { margin-top: 0; }
  .process-list p { grid-column: 2; }
  .feature-composition { grid-template-columns: 1fr; }
  .feature-large { grid-column: 1; min-height: 380px; }
  .feature-large img { height: 380px; }
  .designer-media img { min-height: 320px; }
  .designer-copy { padding: 38px 24px 46px; }
  .designer-copy .button { width: auto; }
  .trust-points { margin-top: 38px; grid-template-columns: 1fr; }
  .trust-points article { padding: 22px 0; border-right: 0 !important; }
  .final-cta { margin-top: 72px; grid-template-columns: 1fr; }
  .final-cta p, .final-cta .button { grid-column: 1; grid-row: auto; }
  .button { width: 100%; }
  .wizard { padding: 24px 18px; }
  .step-heading { margin-bottom: 24px; }
  .step-heading h2 { font-size: 32px; }
  .choice-grid-four, .choice-grid-three, .field-row, .window-identity, .measurement-fields, .measure-guide, .measurement-summary, .alternative-list, .window-plan-grid, .price-factors, .bay-section-grid, .preview-product-choices { grid-template-columns: 1fr; }
  .measurement-route-options, .measure-route-help { grid-template-columns: 1fr; }
  .choice-card { min-height: 132px; }
  .choice-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .swatch-choice { padding: 8px 8px 13px; }
  .style-swatch { height: 74px; }
  .swatch-choice small { display: none; }
  .swatch-choice strong { font-size: 11px; }
  .measure-guide { padding: 22px 38px 20px 20px; }
  .window-diagram { height: 160px; }
  .wizard-actions { position: sticky; bottom: 0; margin: 28px -18px -24px; padding: 14px 18px; border-top: 1px solid var(--line); background: var(--surface); }
  .wizard-actions .button { width: auto; min-height: 50px; padding: 10px 14px; }
  .wizard-actions .primary { flex: 1; }
  .wizard-actions #save-add-window { display: none; }
  .results-shell { padding-top: 28px; }
  .results-heading { display: block; }
  .results-heading .button { width: 100%; margin-top: 22px; }
  .measurement-summary { gap: 1px; }
  .measurement-summary div { min-height: 100px; }
  .product-actions, .result-actions .actions { display: grid; }
  .curtain-preview { padding: 22px 16px; }
  .preview-frame { min-height: 210px; }
  .compare-control { grid-template-columns: 1fr; gap: 8px; }
  .preview-actions { display: grid; }
  .preview-actions .button, .preview-empty .button { width: 100%; }
  .product-actions .text-link { justify-content: center; }
  .quote-heading { display: block; }
  .window-item { grid-template-columns: 1fr; }
  .window-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .window-item-actions { justify-content: flex-start; }
  .answer-summary > div { display: grid; gap: 5px; }
  .answer-summary span { text-align: left; }
  .quote-heading .text-button { margin-top: 10px; }
  .site-footer { padding: 20px 0; display: grid; justify-content: start; gap: 8px; }
}

/* 2026-08-14 visual refinement: editorial drapery guidance + calm visual quiz */
:root {
  --page: #f1f3f1;
  --surface: #f8f9f7;
  --surface-strong: #ffffff;
  --surface-tint: #e4e9e5;
  --ink: #18201b;
  --muted: #5d6961;
  --line: #cdd5cf;
  --accent: #315d48;
  --accent-hover: #244b39;
  --accent-soft: #dce8e0;
  --radius: 14px;
  --shadow: 0 28px 80px rgba(32, 50, 40, .13);
}

body {
  background:
    radial-gradient(circle at 4% 12%, rgba(79, 109, 91, .08), transparent 24rem),
    var(--page);
}

.site-header {
  min-height: 68px;
  border-bottom-color: rgba(83, 101, 90, .28);
}

.brand-mark {
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
}

.intro-shell {
  min-height: calc(100dvh - 68px);
  grid-template-columns: minmax(300px, .78fr) minmax(520px, 1.42fr);
  gap: clamp(48px, 7vw, 112px);
  padding: 40px 0 54px;
}

.intro-copy { padding-bottom: 3vh; }
.intro-copy .kicker { margin-bottom: 22px; }
h1 { max-width: 540px; font-size: clamp(48px, 5vw, 70px); font-weight: 560; line-height: .98; }
.intro-text { max-width: 42ch; margin-top: 28px; color: #56625a; }
.intro-image::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid rgba(71, 94, 80, .24);
  border-radius: var(--radius);
  pointer-events: none;
}
.intro-image img { height: min(74dvh, 680px); box-shadow: var(--shadow); }
.consultant-overlay { right: 18px; bottom: 18px; padding: 18px; border-radius: 12px; }

.confidence-strip {
  width: min(1120px, calc(100% - 40px));
  padding: 20px 0;
  border-color: rgba(83, 101, 90, .24);
}
.confidence-strip p { color: #4e5a52; font-weight: 650; }

.landing-section { padding: clamp(100px, 12vw, 164px) 0; }
.section-heading h2, .intelligence-intro h2, .designer-copy h2, .trust-heading h2, .final-cta h2 {
  font-weight: 560;
  letter-spacing: -.045em;
}

.process-list {
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  margin-top: 70px;
}
.process-list li {
  min-height: 270px;
  padding: 34px 28px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: rgba(255,255,255,.28);
}
.process-list strong { margin-top: auto; font-size: 19px; }
.process-list p { max-width: 23ch; }

.feature-composition { gap: 18px; }
.feature-composition article { border-radius: var(--radius); }
.feature-large { min-height: 540px; }
.feature-large img { height: 540px; }
.feature-large > div { max-width: 420px; right: auto; border: 1px solid rgba(255,255,255,.56); }
.feature-detail { min-height: 280px; }

.designer-section {
  grid-template-columns: 1.45fr .8fr;
  box-shadow: 0 30px 90px rgba(35, 52, 42, .1);
}
.designer-copy { padding-left: clamp(44px, 6vw, 76px); padding-right: clamp(44px, 6vw, 76px); }
.designer-copy li { font-weight: 650; }

.final-cta {
  background: #dce7df;
  box-shadow: inset 0 0 0 1px rgba(59, 91, 72, .12);
}

.button { min-height: 52px; border-radius: 999px; }
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(1px) scale(.985); }

.consultation-shell {
  width: min(1200px, calc(100% - 40px));
  grid-template-columns: 210px minmax(0, 1fr);
  gap: clamp(38px, 6vw, 86px);
  padding-top: 42px;
}
.progress-panel { top: 28px; }
.progress-panel li span { background: transparent; }
.progress-help { padding: 20px; border: 1px solid rgba(70, 91, 78, .12); }

.wizard {
  border-color: rgba(82, 104, 90, .24);
  background: rgba(250,251,249,.92);
  box-shadow: 0 24px 70px rgba(38, 55, 45, .09);
  backdrop-filter: blur(12px);
}
.step-heading { margin-bottom: 38px; }
.step-heading h2, .results-heading h2 { font-weight: 560; }
.step-context { letter-spacing: .1em; }

.choice-card, .swatch-choice, .choice-row, .window-type-card {
  border-color: #c6d0c9;
  box-shadow: 0 10px 26px rgba(41, 58, 48, .035);
}
.choice-card:hover, .swatch-choice:hover, .choice-row:hover, .window-type-card:hover {
  border-color: #6f8d7b;
  box-shadow: 0 14px 32px rgba(39, 67, 50, .08);
}
.choice-card:has(input:checked), .swatch-choice:has(input:checked), .choice-row:has(input:checked), .window-type-card:has(input:checked) {
  border-color: var(--accent);
  background: #f1f6f2;
  box-shadow: inset 0 0 0 1px var(--accent), 0 14px 34px rgba(39, 74, 55, .09);
}
.choice-icon { border-radius: 10px; }

.swatch-choice { overflow: hidden; padding: 10px 10px 18px; }
.style-swatch {
  height: 148px;
  margin-bottom: 17px;
  border-radius: 10px;
  background-image: url("./assets/xpro-consultant-style-triptych.png");
  background-repeat: no-repeat;
  background-size: 300% 100%;
  box-shadow: inset 0 0 0 1px rgba(24,32,27,.08);
}
.style-swatch.soft-modern,
.style-swatch.natural,
.style-swatch.tailored {
  background-image: url("./assets/xpro-consultant-style-triptych.png");
  background-repeat: no-repeat;
  background-size: 300% 100%;
}
.style-swatch.soft-modern { background-position: left center; }
.style-swatch.natural { background-position: center center; }
.style-swatch.tailored { background-position: right center; }
.swatch-choice strong, .swatch-choice small { padding-left: 4px; padding-right: 4px; }

.inline-options label { background: var(--surface-strong); }
.measure-guide, .measurement-route, .answer-summary, .window-preferences, .conditional-window-details {
  border-color: rgba(72, 95, 80, .2);
}
input[type="number"], input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  border-color: #aebbb2;
  background: #fff;
}

.results-top {
  border-color: #b9cbbf;
  background: linear-gradient(135deg, #e8efea, #d9e5dd);
  box-shadow: 0 20px 60px rgba(39, 63, 48, .08);
}
.primary-product, .alternative-product, .window-plan-grid article, .curtain-preview {
  box-shadow: 0 14px 38px rgba(38, 55, 45, .055);
}
.product-content h4, .result-section-header h3, .curtain-preview-heading h3 { font-weight: 580; }

@media (prefers-reduced-motion: no-preference) {
  .intro-copy, .intro-image { animation: consultant-enter .7s cubic-bezier(.16,1,.3,1) both; }
  .intro-image { animation-delay: .1s; }
  .choice-card, .swatch-choice, .choice-row, .window-type-card { transition: transform .24s cubic-bezier(.16,1,.3,1), border-color .24s ease, box-shadow .24s ease, background-color .24s ease; }
}
@keyframes consultant-enter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #141916;
    --surface: #1b211d;
    --surface-strong: #222925;
    --surface-tint: #29332d;
    --ink: #eef2ef;
    --muted: #b3beb7;
    --line: #3a463f;
    --accent: #8fc0a5;
    --accent-hover: #a5ceb7;
    --accent-soft: #2a4034;
  }
  body { background: radial-gradient(circle at 4% 12%, rgba(91, 135, 109, .12), transparent 24rem), var(--page); }
  .intro-text, .confidence-strip p { color: var(--muted); }
  .intro-image::before { border-color: rgba(168, 196, 178, .18); }
  .process-list li { background: rgba(255,255,255,.015); }
  .final-cta { background: #25362d; }
  .wizard { background: rgba(27,33,29,.94); }
  .choice-card:has(input:checked), .swatch-choice:has(input:checked), .choice-row:has(input:checked), .window-type-card:has(input:checked) { background: #22352b; }
  input[type="number"], input[type="text"], input[type="email"], input[type="tel"], select, textarea { background: #222925; }
  .results-top { background: linear-gradient(135deg, #23342b, #1f2a24); }
}

@media (max-width: 860px) {
  .intro-shell { grid-template-columns: 1fr; min-height: auto; }
  .intro-image::before { display: none; }
  .designer-section { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .intro-shell { padding-top: 16px; }
  .intro-copy { padding-bottom: 0; }
  .intro-image img { min-height: 280px; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li { min-height: 0; padding: 24px 0; display: block; }
  .process-list strong { margin-top: 0; }
  .style-swatch { height: 96px; }
  .choice-grid-three { gap: 8px; }
  .swatch-choice { padding: 7px 7px 12px; }
}

/* 2026-08-14 structural concept B: image-led consultant experience */
@media (min-width: 861px) {
  .intro-shell {
    position: relative;
    min-height: min(780px, calc(100dvh - 92px));
    display: block;
    padding: 26px 0 54px;
  }

  .intro-image {
    position: absolute;
    inset: 26px 0 54px;
    overflow: hidden;
    border-radius: 18px;
    background: #c8d0ca;
  }

  .intro-image::before { display: none; }
  .intro-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(18, 27, 21, .34), transparent 48%);
    pointer-events: none;
  }

  .intro-image img {
    height: 100%;
    min-height: 0;
    border-radius: 18px;
    box-shadow: none;
  }

  .intro-copy {
    position: absolute;
    z-index: 1;
    left: clamp(28px, 4vw, 58px);
    bottom: clamp(82px, 9vw, 126px);
    width: min(470px, 44%);
    max-width: none;
    padding: clamp(30px, 4vw, 46px);
    border: 1px solid rgba(255,255,255,.68);
    border-radius: 16px;
    color: #172019;
    background: rgba(249,250,248,.92);
    box-shadow: 0 26px 70px rgba(24, 36, 28, .2), inset 0 1px 0 rgba(255,255,255,.9);
    backdrop-filter: blur(18px);
  }

  .intro-copy h1 { font-size: clamp(48px, 4.5vw, 66px); }
  .intro-copy .kicker { margin-bottom: 16px; }
  .intro-text { margin: 20px 0 26px; color: #4f5c53; font-size: 16px; line-height: 1.55; }

  .consultant-overlay {
    z-index: 2;
    right: 28px;
    bottom: 74px;
    width: 330px;
  }

  .wizard[data-current-step="0"] .choice-card {
    min-height: 172px;
    padding: 104px 18px 16px;
    overflow: hidden;
  }
  .wizard[data-current-step="0"] .choice-card::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 90px;
    background-image: url("./assets/xpro-consultant-style-triptych.png");
    background-size: 300% 100%;
    background-repeat: no-repeat;
    filter: saturate(.8);
  }
  .wizard[data-current-step="0"] .choice-card:nth-child(1)::after { background-position: left center; }
  .wizard[data-current-step="0"] .choice-card:nth-child(2)::after { background-position: right center; }
  .wizard[data-current-step="0"] .choice-card:nth-child(3)::after { background-position: center center; }
  .wizard[data-current-step="0"] .choice-card:nth-child(4)::after {
    background-image: url("./assets/xpro-consultant-designer-room.png");
    background-size: cover;
    background-position: center 58%;
  }
  .wizard[data-current-step="0"] .choice-icon { display: none; }
}

@media (prefers-color-scheme: dark) and (min-width: 861px) {
  .intro-copy {
    color: #edf2ef;
    border-color: rgba(255,255,255,.16);
    background: rgba(25,32,28,.91);
  }
  .intro-text { color: #bac5be; }
}

/* 2026-08-14 consultation concept B: horizontal journey + editorial work area */
@media (min-width: 861px) {
  .consultation-shell {
    width: min(1240px, calc(100% - 40px));
    min-height: calc(100dvh - 68px);
    padding: 30px 0 72px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .progress-panel {
    position: static;
    padding: 18px 26px;
    border: 1px solid rgba(78, 99, 86, .2);
    border-radius: 14px;
    background: rgba(255,255,255,.46);
  }
  .progress-title, .progress-help { display: none; }
  .progress-panel ol {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .progress-panel li {
    min-height: 40px;
    justify-content: center;
    padding: 0 18px;
    font-size: 13px;
  }
  .progress-panel li:not(:last-child)::after {
    left: calc(50% + 38px);
    right: calc(-50% + 38px);
    top: 19px;
    width: auto;
    height: 1px;
  }
  .progress-panel li span {
    position: relative;
    z-index: 1;
    background: var(--page);
  }

  .wizard {
    width: 100%;
    min-height: 660px;
    padding: clamp(34px, 5vw, 66px);
    border: 0;
    border-radius: 18px;
    background: rgba(250,251,249,.88);
    box-shadow: 0 26px 80px rgba(38, 55, 45, .1), inset 0 0 0 1px rgba(79, 100, 87, .18);
  }
  .wizard:is([data-current-step="0"], [data-current-step="1"], [data-current-step="2"]) {
    height: auto;
    min-height: 660px;
    padding: clamp(34px, 5vw, 66px);
  }
  .wizard:is([data-current-step="0"], [data-current-step="1"], [data-current-step="2"]) .step-heading {
    max-width: 760px;
    margin-bottom: 34px;
  }
  .wizard:is([data-current-step="0"], [data-current-step="1"], [data-current-step="2"]) .step-heading h2 {
    font-size: clamp(38px, 4vw, 54px);
  }
  .wizard:is([data-current-step="0"], [data-current-step="1"], [data-current-step="2"]) .step-heading > p:last-child {
    max-width: 54ch;
    font-size: 15px;
  }

  .wizard[data-current-step="0"] .choice-grid { gap: 14px; }
  .wizard[data-current-step="0"] .choice-card {
    min-height: 188px;
    padding: 116px 20px 18px;
  }
  .wizard[data-current-step="0"] .choice-card::after { height: 102px; }

  .wizard[data-current-step="1"] .choice-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .wizard[data-current-step="1"] .choice-row {
    min-height: 108px;
    padding: 22px 24px 22px 62px;
    align-items: center;
  }
  .wizard[data-current-step="1"] .choice-row::before { left: 25px; }
  .wizard[data-current-step="1"] .choice-row strong { font-size: 16px; }
  .wizard[data-current-step="1"] .choice-row small { max-width: 42ch; margin-top: 7px; font-size: 12px; }
  .wizard[data-current-step="1"] .inline-options {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
  }

  .wizard[data-current-step="2"] .choice-grid-three { gap: 16px; }
  .wizard[data-current-step="2"] .swatch-choice { padding: 10px 10px 20px; }
  .wizard[data-current-step="2"] .style-swatch { height: 172px; margin-bottom: 16px; }
  .wizard[data-current-step="2"] .swatch-choice strong { font-size: 16px; }
  .wizard[data-current-step="2"] .swatch-choice small { margin-top: 6px; font-size: 12px; }
  .wizard[data-current-step="2"] .budget-options {
    margin-top: 26px;
    padding-top: 22px;
  }

  .wizard[data-current-step="3"] .step-heading {
    max-width: 780px;
    margin-bottom: 34px;
  }
  .wizard[data-current-step="3"] .measure-guide {
    min-height: 330px;
    margin-bottom: 34px;
    padding: 34px 42px;
    grid-template-columns: minmax(360px, 1.35fr) minmax(240px, .65fr);
    gap: 54px;
    color: #edf3ef;
    border: 0;
    border-radius: 16px;
    background: #22352b;
    box-shadow: 0 24px 60px rgba(25, 44, 33, .18);
  }
  .wizard[data-current-step="3"] .measure-guide p { color: #c1cec6; }
  .wizard[data-current-step="3"] .window-diagram {
    min-height: 250px;
    border-color: #95b4a2;
    background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.02));
  }
  .wizard[data-current-step="3"] .window-type-grid { gap: 14px; }
  .wizard[data-current-step="3"] .window-type-card { min-height: 220px; padding: 16px; }
  .wizard[data-current-step="3"] .window-type-visual { height: 106px; }
  .wizard[data-current-step="3"] .window-identity {
    margin-top: 32px;
    padding: 26px;
    border-radius: 14px;
    background: var(--surface-tint);
  }
  .wizard[data-current-step="3"] .measurement-route {
    margin-top: 32px;
    padding: 28px;
  }

  .wizard[data-current-step="4"] .answer-summary {
    margin: 0 0 28px;
    padding: 26px 28px;
    border-left: 5px solid var(--accent);
  }
  .wizard[data-current-step="4"] .upload-zone {
    min-height: 210px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--surface-tint), rgba(255,255,255,.72));
  }

  .wizard-actions {
    margin-top: auto;
    padding-top: 34px;
    align-items: center;
  }
  .wizard-actions .secondary { border-color: transparent; background: transparent; text-decoration: underline; text-underline-offset: 5px; }
}

.results-shell { width: min(1240px, calc(100% - 40px)); }
.results-top {
  padding: clamp(38px, 6vw, 74px);
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #dce8e0, #edf2ee);
  box-shadow: 0 26px 80px rgba(36, 58, 44, .11);
}
.results-heading { align-items: center; }
.results-heading h2 { max-width: 740px; font-size: clamp(40px, 5vw, 64px); }
.measurement-summary { margin-top: 44px; border: 0; gap: 12px; background: transparent; }
.measurement-summary div {
  min-height: 136px;
  border-radius: 12px;
  background: rgba(255,255,255,.66);
  box-shadow: inset 0 0 0 1px rgba(67, 91, 76, .12);
}
.primary-product {
  grid-template-columns: 1.08fr .92fr;
  min-height: 520px;
  border: 0;
  box-shadow: 0 24px 70px rgba(34, 52, 41, .1);
}
.product-visual, .product-media { min-height: 520px; }
.product-photo, .product-media-loading, .product-media-error { min-height: 430px; }
.product-content { display: flex; flex-direction: column; justify-content: center; }
.product-content h4 { font-size: clamp(36px, 4vw, 52px); }
.result-actions { padding: clamp(34px, 5vw, 58px); border: 0; border-radius: 16px; }

@media (prefers-color-scheme: dark) and (min-width: 861px) {
  .progress-panel { background: rgba(255,255,255,.025); }
  .wizard { background: rgba(27,33,29,.94); }
  .wizard[data-current-step="3"] .window-identity { background: #26312b; }
  .wizard[data-current-step="4"] .upload-zone { background: linear-gradient(135deg, #28342d, #202824); }
}

@media (max-width: 860px) {
  .consultation-shell {
    width: min(100% - 28px, 100%);
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-top: 28px;
  }
  .wizard { width: 100%; min-width: 0; }
}

@media (max-width: 640px) {
  .wizard { padding: 26px 18px 30px; }
  .wizard-actions {
    z-index: 5;
    margin: 30px -18px -30px;
    padding: 12px 18px max(12px, env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    backdrop-filter: blur(14px);
  }
  .wizard-actions .secondary { max-width: 42%; }
  .wizard-actions .primary { min-width: 0; }
  .measure-guide { padding: 22px 20px; }
}

/* 2026-08-14 simplicity pass: one clear decision at a time */
.consultation-shell { max-width: 1040px; }
.progress-panel { display: none; }
.wizard .mobile-progress {
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
}
.wizard .mobile-progress progress { width: 100%; height: 3px; accent-color: var(--accent); }
.step-context { display: none; }
.wizard {
  min-height: 0;
  padding: clamp(28px, 5vw, 52px);
  border-radius: 14px;
  box-shadow: 0 18px 54px rgba(38, 55, 45, .075);
}
.wizard:is([data-current-step="0"], [data-current-step="1"], [data-current-step="2"]) { min-height: 0; }
.step-heading { max-width: 650px; margin-bottom: 28px; }
.step-heading h2 { font-size: clamp(34px, 4.4vw, 48px); }
.step-heading > p:last-child { margin-top: 10px; font-size: 14px; }

/* 2026-08-20 compact photo-first hero */
.landing-home .intro-shell {
  min-height: calc(100dvh - 72px);
  grid-template-columns: minmax(400px, .82fr) minmax(520px, 1.18fr);
  gap: clamp(42px, 5vw, 76px);
  padding: 34px 0 48px;
}
.landing-home .intro-copy { max-width: 500px; }
.landing-home h1 {
  max-width: 520px;
  font-size: clamp(42px, 4vw, 56px);
  line-height: 1.01;
}
.landing-home .intro-text {
  max-width: 43ch;
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.55;
}
.landing-home .room-photo-start {
  max-width: 500px;
  margin: 24px 0 18px;
  padding: 0;
  gap: 11px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.landing-home .room-photo-start > div { gap: 4px; }
.landing-home .room-photo-start > div strong { font-size: 14px; }
.landing-home .room-photo-start > div span { max-width: 55ch; font-size: 11px; }
.landing-home .room-photo-drop {
  position: relative;
  min-height: 72px;
  padding: 12px 15px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 6px 14px;
  border: 1px solid #b9c6be;
  border-radius: 14px;
  background: var(--surface-strong);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}
.landing-home .room-photo-drop:hover { border-color: var(--accent); background: var(--accent-soft); }
.landing-home .room-photo-drop:active { transform: translateY(1px); }
.landing-home .room-photo-drop:focus-within { outline: 3px solid rgba(49,92,72,.22); outline-offset: 3px; }
.landing-home .room-photo-drop-action {
  grid-row: 1 / span 2;
  min-width: 112px;
  min-height: 42px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #f4f7f5;
  background: var(--accent);
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}
.landing-home .room-photo-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.landing-home .room-photo-drop #room-photo-name {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.landing-home .hero-actions-split {
  max-width: 500px;
  gap: 10px;
  flex-wrap: nowrap;
}
.landing-home .hero-actions-split .button {
  min-height: 48px;
  padding: 12px 19px;
  font-size: 13px;
  white-space: nowrap;
}
.landing-home .intro-image img {
  height: min(72dvh, 680px);
  min-height: 500px;
}

@media (prefers-color-scheme: dark) {
  .landing-home .room-photo-drop { border-color: #46534b; background: #222924; box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }
  .landing-home .room-photo-drop:hover { border-color: var(--accent); background: #29362f; }
  .landing-home .room-photo-drop-action { color: #13231b; }
}

@media (max-width: 1000px) {
  .landing-home .intro-shell { grid-template-columns: minmax(360px, .9fr) minmax(420px, 1.1fr); gap: 36px; }
  .landing-home .hero-actions-split { flex-wrap: wrap; }
}

@media (max-width: 860px) {
  .landing-home .intro-shell { min-height: auto; grid-template-columns: 1fr; padding-top: 24px; }
  .landing-home .intro-copy { max-width: 650px; }
  .landing-home .intro-image img { min-height: 340px; height: min(48dvh, 520px); }
}

@media (max-width: 640px) {
  .landing-home .intro-shell { gap: 26px; padding: 16px 0 40px; }
  .landing-home h1 { font-size: clamp(38px, 11vw, 48px); }
  .landing-home .intro-text { font-size: 15px; }
  .landing-home .room-photo-start { margin-top: 20px; }
  .landing-home .room-photo-drop { min-height: 68px; padding: 10px 12px; }
  .landing-home .room-photo-drop-action { min-width: 104px; min-height: 40px; padding: 9px 13px; }
  .landing-home .hero-actions-split { display: grid; grid-template-columns: 1fr; }
  .landing-home .hero-actions-split .button { width: 100%; }
  .landing-home .intro-image img { min-height: 260px; height: 34dvh; }
}

@media (min-width: 861px) {
  .consultation-shell { width: min(1040px, calc(100% - 40px)); padding-top: 28px; }
  .wizard { padding: 46px 54px; }
  .wizard:is([data-current-step="0"], [data-current-step="1"], [data-current-step="2"]) { min-height: 0; padding: 46px 54px; }
  .wizard:is([data-current-step="0"], [data-current-step="1"], [data-current-step="2"]) .step-heading h2 { font-size: clamp(36px, 4vw, 48px); }

  .wizard[data-current-step="1"] .choice-list { gap: 0; border-top: 1px solid var(--line); }
  .wizard[data-current-step="1"] .choice-row {
    min-height: 76px;
    padding: 18px 18px 18px 52px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
  }
  .wizard[data-current-step="1"] .choice-row::before { left: 18px; }
  .wizard[data-current-step="1"] .choice-row:has(input:checked) { background: var(--accent-soft); box-shadow: none; }

  .wizard[data-current-step="2"] .style-swatch { height: 145px; }

  .wizard[data-current-step="3"] .measure-guide {
    min-height: 0;
    margin-bottom: 26px;
    padding: 24px 28px;
    grid-template-columns: 1.15fr .85fr;
    gap: 32px;
    box-shadow: none;
  }
  .wizard[data-current-step="3"] .window-diagram { min-height: 170px; }
  .wizard[data-current-step="3"] .window-identity { margin-top: 0; padding: 20px; }
  .wizard[data-current-step="3"] .window-type-grid { gap: 9px; }
  .wizard[data-current-step="3"] .window-type-card { min-height: 152px; padding: 12px; }
  .wizard[data-current-step="3"] .window-type-visual { height: 64px; }
  .wizard[data-current-step="3"] .window-type-card strong { margin-top: 10px; }
  .wizard[data-current-step="3"] .measurement-route { margin-top: 24px; padding: 22px; }
}

.window-photo-disclosure,
.window-preferences,
.fit-options {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
}
.window-photo-disclosure summary,
.window-preferences summary,
.fit-options summary { padding: 16px 18px; cursor: pointer; font-weight: 700; }
.window-photo-disclosure summary small { color: var(--muted); font-weight: 500; }
.window-photo-field {
  margin: 0 18px 18px;
  width: auto;
  padding: 16px;
  border-radius: 10px;
  background: var(--surface-tint);
}
.window-photo-field input { max-width: 100%; }
.wizard-actions { margin-top: 30px; padding-top: 0; }
.wizard-actions .secondary { color: var(--muted); }

@media (max-width: 640px) {
  .wizard { padding: 24px 14px 26px; }
  .wizard .mobile-progress { margin: 0 2px 24px; }
  .step-heading h2 { font-size: 32px; }
  .step-heading > p:last-child { font-size: 14px; line-height: 1.5; }
  .choice-grid-three { grid-template-columns: 1fr; }
  .style-swatch { height: 160px; }
  .swatch-choice small { display: block; }
  .measure-guide { gap: 16px; }
  .window-diagram { height: 145px; }
  .window-type-card { min-height: 148px; }
  .window-type-visual { height: 66px; }
  .wizard-actions {
    position: static;
    margin: 28px 0 0;
    padding: 0;
    border-top: 0;
    background: transparent;
    backdrop-filter: none;
  }
  .wizard-actions .secondary { max-width: none; }
}

.other-room-choice,
.room-other-field { grid-column: 1 / -1; }
.wizard[data-current-step="0"] .other-room-choice {
  min-height: 82px;
  padding: 18px 20px;
}
.wizard[data-current-step="0"] .other-room-choice::after { display: none; }
.wizard[data-current-step="0"] .other-room-choice .choice-icon {
  width: 34px;
  height: 34px;
  margin: 0 14px 0 0;
  display: grid;
  float: left;
}
.room-other-field {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--surface-tint);
}
.room-other-field input { margin-top: 7px; background: var(--surface-strong); }
.choice-grid:has(input[name="room"][value="other"]:checked) .room-other-field {
  display: grid !important;
}

@media (min-width: 861px) {
  body:has(#consultation:not([hidden])) .site-footer { display: none; }
  .consultation-shell:has(.wizard:is([data-current-step="0"], [data-current-step="1"], [data-current-step="2"])) {
    min-height: calc(100dvh - 68px);
    padding: 20px 0;
    align-content: start;
  }
  .wizard:is([data-current-step="0"], [data-current-step="1"], [data-current-step="2"]) { padding: 32px 46px; }
  .wizard:is([data-current-step="0"], [data-current-step="1"], [data-current-step="2"]) .mobile-progress { margin-bottom: 20px; }
  .wizard:is([data-current-step="0"], [data-current-step="1"], [data-current-step="2"]) .step-heading { margin-bottom: 22px; }
  .wizard[data-current-step="0"] .choice-card {
    min-height: 158px;
    padding: 94px 18px 15px;
  }
  .wizard[data-current-step="0"] .choice-card::after { height: 82px; }
  .wizard[data-current-step="0"] .other-room-choice { min-height: 76px; padding: 16px 18px; }
  .wizard:is([data-current-step="0"], [data-current-step="1"], [data-current-step="2"]) .wizard-actions { margin-top: 22px; }
}

@media (max-width: 640px) {
  .wizard[data-current-step="0"] .other-room-choice { min-height: 108px; }
}

/* 2026-08-14 quieter landing page */
.landing-home .intelligence-section,
.landing-home .designer-section,
.landing-home .trust-heading,
.landing-home .trust-points { display: none; }
.landing-home .intro-shell {
  min-height: calc(100dvh - 68px);
  padding-top: 28px;
  padding-bottom: 42px;
}
.landing-home .intro-copy { align-self: center; }
.landing-home .intro-copy .kicker { display: none; }
.landing-home .intro-text { max-width: 36ch; font-size: 17px; }
.landing-home .consultant-overlay { display: none; }
.landing-home .confidence-strip { padding-top: 0; padding-bottom: 0; }
.landing-home .process-section { padding-top: 86px; padding-bottom: 72px; }
.landing-home .process-section .section-heading { max-width: 620px; }
.landing-home .process-list { margin-top: 34px; }
.landing-home .process-list li { min-height: 0; padding: 22px 20px; }
.landing-home .process-list li p { margin-top: 6px; }
.landing-home .trust-section { padding-top: 0; padding-bottom: 76px; }
.landing-home .final-cta { margin-top: 0; }

@media (max-width: 640px) {
  .landing-home .intro-shell { min-height: auto; padding-top: 18px; padding-bottom: 34px; }
  .landing-home .intro-copy { order: -1; }
  .landing-home .intro-image { order: 0; }
  .landing-home .intro-image img { min-height: 230px; }
  .landing-home .process-section { padding-top: 58px; padding-bottom: 52px; }
  .landing-home .process-list li { padding: 18px 0; }
  .landing-home .trust-section { padding-bottom: 56px; }
}

/* Keep the results legible when a phone requests dark mode. */
@media (prefers-color-scheme: dark) {
  .results-top {
    color: #f2f5f3;
    background: linear-gradient(135deg, #26372e, #1d2923);
    box-shadow: 0 26px 80px rgba(0, 0, 0, .28);
  }
  .results-heading > div > p:last-child { color: #c7d2cb; }
  .results-heading .button {
    color: #f2f5f3;
    border-color: #72877a;
    background: #304139;
  }
  .measurement-summary div {
    background: #2b3931;
    box-shadow: inset 0 0 0 1px rgba(192, 211, 199, .16);
  }
  .measurement-summary span,
  .measurement-summary small { color: #c4d0c8; }
  .measurement-summary strong { color: #f7faf8; }

  .window-plan-grid article,
  .window-plan-grid article.is-selected,
  .alternative-product,
  .primary-product,
  .curtain-preview {
    color: #f2f5f3;
    border-color: #48584f;
    background: #202a24;
    box-shadow: none;
  }
  .window-plan-grid article.is-selected {
    border-color: #8fc0a5;
    background: #26372e;
    box-shadow: 0 0 0 2px rgba(143, 192, 165, .16);
  }
  .window-plan-grid h4,
  .window-plan-grid dd,
  .alternative-product h4,
  .product-content h4 { color: #f7faf8; }
  .window-plan-grid p,
  .window-plan-grid dt,
  .alternative-product p,
  .product-reason { color: #c4d0c8; }
  .window-plan-grid dl div { border-color: #526158; }
  .product-color-options { border-color: #46564d; background: #26332c; }
  .product-color-options > span { color: #c4d0c8; }
  .product-color-buttons button { color: #edf3ef; border-color: #64766b; }
}

@media (max-width: 640px) {
  html,
  body { max-width: 100%; overflow-x: clip; }

  .site-header {
    width: 100%;
    min-width: 0;
    padding: 0 16px;
    gap: 10px;
    overflow: hidden;
  }
  .brand {
    min-width: 0;
    flex: 1 1 auto;
    gap: 8px;
    white-space: nowrap;
  }
  .brand-mark { width: 28px; height: 28px; flex: 0 0 28px; }
  .brand > span:last-child { overflow: hidden; font-size: 12px; text-overflow: ellipsis; }
  .header-actions { min-width: 0; flex: 0 0 auto; gap: 10px; }
  .header-button { padding: 8px 0; font-size: 12px; white-space: nowrap; }
  .site-header:has(#start-over-button:not([hidden])) #home-button { display: none; }

  .results-shell {
    width: calc(100% - 28px);
    max-width: calc(100% - 28px);
    padding-top: 22px;
  }
  .results-top { padding: 28px 20px; }
  .results-heading h2 { font-size: clamp(36px, 10vw, 44px); }
  .result-section { margin-top: 42px; }
  .result-section-header h3 { font-size: 30px; }
  .window-plan-grid article { min-width: 0; padding: 20px 18px; }
  .window-plan-grid dl div { min-width: 0; gap: 10px; }
  .window-plan-grid dt { flex: 0 0 38%; }
  .window-plan-grid dd { min-width: 0; overflow-wrap: anywhere; text-align: right; }
  .window-card-actions { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .window-card-actions .text-link,
  .edit-window-link { width: 100%; margin-top: 0; justify-content: flex-start; }

  /* Keep the final review step within the phone viewport. */
  .consultation-shell {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 16px 14px 28px;
    overflow: hidden;
  }
  .wizard[data-current-step="4"] {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 22px 16px 26px;
    overflow: hidden;
  }
  .wizard[data-current-step="4"] .mobile-progress,
  .wizard[data-current-step="4"] .mobile-progress progress,
  .wizard[data-current-step="4"] .step-heading,
  .wizard[data-current-step="4"] .window-list,
  .wizard[data-current-step="4"] .window-item,
  .wizard[data-current-step="4"] .window-item-main,
  .wizard[data-current-step="4"] .answer-summary {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .wizard[data-current-step="4"] .mobile-progress { margin: 0 0 22px; }
  .wizard[data-current-step="4"] .step-heading { margin-bottom: 24px; }
  .wizard[data-current-step="4"] .step-heading h2 {
    max-width: 100%;
    font-size: clamp(30px, 9vw, 36px);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }
  .wizard[data-current-step="4"] .step-heading > p:last-child {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  .wizard[data-current-step="4"] .window-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 18px 16px;
  }
  .wizard[data-current-step="4"] .window-item h3 {
    font-size: clamp(22px, 6.4vw, 28px);
    line-height: 1.15;
    overflow-wrap: anywhere;
  }
  .wizard[data-current-step="4"] .window-details {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin-top: 20px;
  }
  .wizard[data-current-step="4"] .window-details .window-specific-detail { grid-column: 1; }
  .wizard[data-current-step="4"] .window-details dd,
  .wizard[data-current-step="4"] .answer-summary span { overflow-wrap: anywhere; }
  .wizard[data-current-step="4"] .window-item-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .wizard[data-current-step="4"] .window-item-actions button {
    width: 100%;
    padding: 10px 6px;
  }
  .wizard[data-current-step="4"] .add-window { width: 100%; }
  .wizard[data-current-step="4"] .answer-summary { padding: 18px 16px; }
  .wizard[data-current-step="4"] .answer-summary > div { min-width: 0; }
  .wizard[data-current-step="4"] .wizard-actions {
    position: static;
    width: 100%;
    min-width: 0;
    margin: 28px 0 0;
    padding: 0;
  }
}
