@font-face {
  font-family: "Euclid Circular B";
  src: url("../fonts/EuclidCircularB-Regular-WebXL.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Euclid Circular B";
  src: url("../fonts/EuclidCircularB-Semibold-WebXL.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Euclid Flex";
  src: url("../fonts/EuclidFlex-Medium-WebXL.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Euclid Square";
  src: url("../fonts/EuclidSquare-Medium-WebXL.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f6f0e3;
  --paper-soft: #fffaf0;
  --paper-deep: #e3d7c4;
  --ink: #171713;
  --muted: #6a6257;
  --panel: #12324d;
  --panel-deep: #071d2e;
  --panel-soft: #1d4866;
  --line: rgba(23, 23, 19, 0.16);
  --line-dark: rgba(246, 240, 227, 0.18);
  --gold: #e4ae62;
  --sage: #9fb98e;
  --clay: #c97855;
  --blue-soft: #d8e9ef;
  --shadow: 0 28px 70px rgba(7, 29, 46, 0.18);
  --body: "Euclid Circular B", Arial, sans-serif;
  --display: "Euclid Flex", "Euclid Circular B", Arial, sans-serif;
  --control: "Euclid Square", "Euclid Circular B", Arial, sans-serif;
}

html {
  background: #ffffff;
}

body {
  min-height: 100vh;
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: var(--body);
  letter-spacing: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.kitchen-shell {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 38px 0 72px;
}

.kitchen-calculator,
.kitchen-calculator * {
  box-sizing: border-box;
}

.kitchen-calculator {
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

.calc-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 20px;
  min-width: 0;
}

.calc-header__copy,
.calc-header__price {
  border: 1px solid var(--line);
  background: var(--paper-soft);
}

.calc-header__copy {
  padding: 26px 30px;
}

.calc-header__brand {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--panel);
  font-family: var(--control);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.calc-header h1,
.calc-panel h2,
.quote-preview h2,
.offer-head h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

.calc-header h1 {
  font-size: clamp(2.25rem, 4.2vw, 4.7rem);
  line-height: 0.96;
}

.calc-header p {
  max-width: 740px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.55;
}

.calc-header__price {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 250, 240, 0.04) 1px, transparent 1px),
    var(--panel);
  background-size: 36px 36px;
  color: var(--paper-soft);
}

.calc-header__price span,
.calc-header__price em,
.panel-kicker,
.choice__number,
.mini-estimate span,
.quote-total-card span,
.offer-head span,
.offer-summary span,
.offer-selections span,
.offer-lines__head,
.offer-method span,
.delivery-status,
.file-empty {
  font-family: var(--control);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calc-header__price span {
  color: var(--blue-soft);
  font-size: 0.72rem;
  font-weight: 700;
}

.calc-header__price strong {
  font-family: var(--display);
  font-size: clamp(2rem, 3.3vw, 3.15rem);
  font-weight: 500;
  line-height: 1;
}

.calc-header__status strong {
  font-size: clamp(1.7rem, 2.6vw, 2.55rem);
}

.calc-header__price em {
  color: rgba(255, 250, 240, 0.72);
  font-size: 0.72rem;
  font-style: normal;
}

.stepper {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  margin: 0 0 18px;
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
}

.stepper button {
  appearance: none;
  display: grid;
  gap: 5px;
  min-width: 0;
  min-height: 64px;
  padding: 12px 8px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  text-align: left;
}

.stepper button:last-child {
  border-right: 0;
}

.stepper button.is-active {
  background: var(--panel);
  color: var(--paper-soft);
}

.stepper span {
  font-family: var(--control);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.stepper b {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: clamp(0.72rem, 0.9vw, 0.86rem);
  font-weight: 600;
  line-height: 1.12;
}

.calc-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(360px, 0.84fr);
  grid-template-areas:
    "left right"
    "nav nav";
  box-shadow: var(--shadow);
  min-width: 0;
  overflow: hidden;
}

.calc-panel__left,
.calc-panel__right {
  min-height: 620px;
  min-width: 0;
}

.calc-panel__left {
  grid-area: left;
  padding: clamp(26px, 4vw, 48px);
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 250, 240, 0.035) 1px, transparent 1px),
    var(--panel);
  background-size: 42px 42px;
  color: var(--paper-soft);
}

.calc-panel__right {
  grid-area: right;
  display: grid;
  grid-template-rows: auto auto auto;
  background: var(--paper);
  color: var(--ink);
}

.panel-kicker {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
}

.calc-panel h2,
.quote-preview h2 {
  max-width: 720px;
  color: var(--paper-soft);
  font-size: clamp(2rem, 3.5vw, 3.75rem);
  line-height: 1.02;
}

.panel-intro {
  max-width: 660px;
  margin: 18px 0 34px;
  color: rgba(255, 250, 240, 0.74);
  font-size: 1rem;
  line-height: 1.58;
}

.choice-list {
  display: grid;
  gap: 10px;
  max-width: 720px;
}

.choice {
  appearance: none;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 34px;
  gap: 14px;
  align-items: center;
  min-height: 86px;
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line-dark);
  background: rgba(7, 29, 46, 0.28);
  color: var(--paper-soft);
  text-align: left;
  transition: transform 170ms ease, border-color 170ms ease, background 170ms ease;
}

.choice--media {
  grid-template-columns: 48px minmax(0, 1fr) clamp(54px, 5.8vw, 72px) 34px;
}

.choice:hover,
.choice:focus-visible {
  border-color: rgba(216, 233, 239, 0.72);
  background: rgba(29, 72, 102, 0.42);
  transform: translateY(-1px);
}

.choice.is-selected {
  border-color: var(--gold);
  background:
    linear-gradient(90deg, rgba(228, 174, 98, 0.18), transparent 46%),
    rgba(7, 29, 46, 0.56);
}

.choice__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--paper-soft);
  color: var(--panel);
  font-size: 0.72rem;
  font-weight: 800;
}

.choice__copy {
  min-width: 0;
}

.choice__copy strong {
  display: block;
  color: var(--paper-soft);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  font-weight: 600;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.choice__copy em {
  display: block;
  margin-top: 5px;
  color: rgba(255, 250, 240, 0.7);
  font-size: 0.9rem;
  font-style: normal;
  line-height: 1.32;
}

.choice__media {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 240, 0.24);
  background: rgba(255, 250, 240, 0.08);
}

.choice__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.choice__check {
  color: var(--gold);
}

.choice__check svg,
.nav-back svg,
.nav-next svg,
.submit-offer svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.step-image {
  height: clamp(300px, 30vw, 360px);
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: var(--paper-deep);
}

.step-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.insight-card {
  margin: 0;
  padding: 28px 30px 22px;
  border-bottom: 1px solid var(--line);
}

.insight-card span {
  color: var(--panel);
  font-family: var(--control);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.insight-card h3 {
  margin: 10px 0 12px;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 500;
  line-height: 1.08;
}

.insight-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.mini-estimate {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 22px 30px 28px;
}

.mini-estimate div {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--paper-soft);
}

.mini-estimate span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
}

.mini-estimate strong {
  display: block;
  color: var(--panel);
  font-family: var(--display);
  font-size: clamp(1.22rem, 2vw, 1.65rem);
  font-weight: 500;
  line-height: 1.06;
  overflow-wrap: anywhere;
}

.mini-estimate--logic strong {
  color: var(--ink);
  font-size: clamp(1.1rem, 1.55vw, 1.42rem);
}

.product-cost-card {
  display: grid;
  gap: 18px;
  max-width: 720px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(246, 240, 227, 0.22);
  background: rgba(7, 29, 46, 0.32);
}

.product-cost-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  list-style: none;
  cursor: pointer;
}

.product-cost-summary::-webkit-details-marker {
  display: none;
}

.product-cost-summary > span {
  min-width: 0;
}

.product-cost-summary em,
.product-cost-card label span {
  font-family: var(--control);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-cost-summary em {
  display: block;
  color: var(--gold);
  font-style: normal;
}

.product-cost-summary strong {
  display: block;
  margin-top: 6px;
  color: var(--paper-soft);
  font-size: 1.1rem;
  line-height: 1.2;
}

.product-cost-summary p {
  margin: 8px 0 0;
  color: rgba(255, 250, 240, 0.72);
  font-size: 0.9rem;
  line-height: 1.45;
}

.product-cost-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(228, 174, 98, 0.72);
  color: var(--gold);
  font-family: var(--control);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-cost-card[open] .product-cost-toggle {
  background: rgba(228, 174, 98, 0.14);
}

.product-cost-toggle__close {
  display: none;
}

.product-cost-card[open] .product-cost-toggle__open {
  display: none;
}

.product-cost-card[open] .product-cost-toggle__close {
  display: inline;
}

.product-cost-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.product-cost-card label {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.product-cost-card label span {
  color: rgba(255, 250, 240, 0.72);
}

.product-cost-card input {
  width: 100%;
  min-width: 0;
  height: 46px;
  border: 1px solid rgba(246, 240, 227, 0.24);
  background: rgba(255, 250, 240, 0.94);
  color: var(--ink);
  padding: 0 12px;
}

.mini-estimate p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.36;
}

.calc-nav {
  grid-area: nav;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  min-height: 62px;
  background: var(--paper);
}

.nav-back,
.nav-next,
.submit-offer,
.quote-actions button {
  appearance: none;
  border: 0;
  font-family: var(--control);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 148px;
  padding: 0 24px;
  background: transparent;
  color: var(--panel);
}

.nav-next,
.submit-offer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 250px;
  padding: 0 26px;
  background: var(--ink);
  color: var(--paper-soft);
}

.nav-back svg {
  color: var(--gold);
}

.submit-offer {
  min-height: 58px;
  width: 100%;
  margin-top: 4px;
}

.submit-offer:disabled {
  cursor: wait;
  opacity: 0.68;
}

.quote-gate,
.quote-screen {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  gap: 22px;
  align-items: start;
  min-width: 0;
}

.quote-preview,
.lead-card,
.offer-document,
.quote-side {
  box-shadow: var(--shadow);
}

.quote-preview {
  min-height: 720px;
  padding: clamp(28px, 4vw, 48px);
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 250, 240, 0.035) 1px, transparent 1px),
    var(--panel);
  background-size: 42px 42px;
  color: var(--paper-soft);
  min-width: 0;
  overflow: hidden;
}

.quote-gate .quote-preview {
  min-height: 0;
}

.quote-preview > p:not(.panel-kicker) {
  max-width: 680px;
  margin: 18px 0 28px;
  color: rgba(255, 250, 240, 0.74);
  font-size: 1rem;
  line-height: 1.58;
}

.quote-total-card {
  display: grid;
  gap: 8px;
  max-width: 620px;
  margin: 0 0 22px;
  padding: 24px;
  border: 1px solid rgba(255, 250, 240, 0.2);
  background: rgba(7, 29, 46, 0.46);
}

.quote-total-card span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
}

.quote-total-card strong {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  font-weight: 500;
  line-height: 0.98;
}

.quote-total-card--locked strong {
  font-size: clamp(2rem, 3vw, 3rem);
}

.quote-total-card em {
  color: rgba(255, 250, 240, 0.72);
  font-style: normal;
}

.quote-poster-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 30px;
}

.quote-poster-grid article {
  min-height: 100px;
  padding: 16px;
  border: 1px solid rgba(255, 250, 240, 0.16);
  background: rgba(7, 29, 46, 0.28);
}

.quote-poster-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-family: var(--control);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quote-poster-grid strong {
  color: var(--paper-soft);
  font-size: 1rem;
  line-height: 1.22;
}

.lead-card,
.quote-side {
  padding: 28px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  min-width: 0;
}

.kitchen-step-9 .quote-side {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 247, 232, 0.18);
  background:
    linear-gradient(90deg, rgba(255, 247, 232, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 247, 232, 0.04) 1px, transparent 1px),
    linear-gradient(160deg, var(--quote-navy) 0%, #0f314c 64%, var(--panel-soft) 100%);
  background-size: 34px 34px, 34px 34px, auto;
  box-shadow: 0 34px 90px rgba(9, 38, 61, 0.3);
  color: var(--quote-cream);
}

.kitchen-step-9 .quote-side--confirmation {
  display: grid;
  min-height: 620px;
  padding: 0;
  border-color: rgba(255, 250, 240, 0.24);
}

.kitchen-step-9 .quote-side::before {
  content: "";
  display: block;
  width: 58px;
  height: 3px;
  margin: 0 0 24px;
  background: var(--quote-gold);
}

.kitchen-step-9 .quote-side--confirmation::before {
  position: absolute;
  top: 0;
  left: clamp(24px, 3vw, 40px);
  z-index: 1;
}

.calculator-confirmation {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 620px;
  padding: clamp(28px, 3.6vw, 46px);
  isolation: isolate;
}

.kitchen-step-9 .quote-screen--submitted .calculator-confirmation {
  justify-content: center;
  min-height: inherit;
  max-width: 980px;
  padding: clamp(30px, 4.6vw, 56px);
}

.calculator-confirmation:focus {
  outline: 0;
}

.calculator-confirmation:focus-visible {
  outline: 2px solid rgba(255, 250, 240, 0.7);
  outline-offset: -8px;
}

.calculator-confirmation::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 84% 8%, rgba(216, 233, 239, 0.18), transparent 27%),
    linear-gradient(180deg, rgba(255, 250, 240, 0.06), transparent 42%);
}

.calculator-confirmation__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin: 0 0 1.6rem;
  border: 1px solid rgba(255, 250, 240, 0.34);
  background: rgba(255, 250, 240, 0.09);
  color: var(--quote-gold);
}

.calculator-confirmation__mark svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.calculator-confirmation__kicker {
  margin: 0 0 0.62rem;
  color: var(--quote-gold);
  font-family: var(--control);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.calculator-confirmation h3 {
  max-width: 440px;
  margin: 0 0 1rem;
  color: var(--quote-cream);
  font-family: var(--display);
  font-size: clamp(2.5rem, 4.4vw, 4.7rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.94;
  text-wrap: balance;
}

.kitchen-step-9 .quote-screen--submitted .calculator-confirmation h3 {
  max-width: 780px;
  font-size: clamp(2.75rem, 5vw, 5.3rem);
  line-height: 0.92;
}

.calculator-confirmation__lead {
  max-width: 520px;
  margin: 0 0 1.35rem;
  color: rgba(255, 250, 240, 0.8);
  font-size: 1rem;
  line-height: 1.55;
}

.kitchen-step-9 .quote-screen--submitted .calculator-confirmation__lead {
  max-width: 660px;
}

.calculator-confirmation__receipt {
  display: grid;
  border-top: 1px solid rgba(255, 250, 240, 0.16);
  border-bottom: 1px solid rgba(255, 250, 240, 0.16);
}

.kitchen-step-9 .quote-screen--submitted .calculator-confirmation__receipt {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 900px;
}

.calculator-confirmation__receipt div {
  display: grid;
  gap: 0.18rem;
  padding: 0.82rem 0;
}

.calculator-confirmation__receipt div + div {
  border-top: 1px solid rgba(255, 250, 240, 0.1);
}

.kitchen-step-9 .quote-screen--submitted .calculator-confirmation__receipt div + div {
  border-top: 0;
  border-left: 1px solid rgba(255, 250, 240, 0.1);
  padding-left: 1.2rem;
}

.calculator-confirmation__receipt span,
.calculator-confirmation__steps span {
  color: var(--quote-gold);
  font-family: var(--control);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.calculator-confirmation__receipt strong {
  color: var(--quote-cream);
  font-size: 1.02rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.calculator-confirmation__steps {
  display: grid;
  gap: 0;
  margin-top: 1rem;
}

.kitchen-step-9 .quote-screen--submitted .calculator-confirmation__steps {
  max-width: 900px;
}

.calculator-confirmation__steps article {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 0.85rem;
  padding: 0.82rem 0;
  border-bottom: 1px solid rgba(255, 250, 240, 0.1);
  background: linear-gradient(90deg, rgba(228, 174, 98, 0.08), transparent 52%);
}

.calculator-confirmation__steps p {
  margin: 0;
  color: rgba(255, 250, 240, 0.72);
  font-size: 0.86rem;
  line-height: 1.35;
}

.calculator-confirmation__steps b {
  color: var(--quote-cream);
  font-weight: 700;
}

.calculator-confirmation__edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  margin-top: auto;
  border: 1px solid rgba(255, 250, 240, 0.36);
  background: rgba(255, 250, 240, 0.08);
  color: var(--quote-cream);
  font-family: var(--control);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calculator-confirmation__edit svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

@media (max-width: 640px) {
  .kitchen-step-9 .quote-screen--submitted,
  .kitchen-step-9 .quote-side--confirmation,
  .calculator-confirmation {
    min-height: min(600px, calc(100vh - 32px));
  }

  .kitchen-step-9 .quote-screen--submitted .calculator-confirmation,
  .calculator-confirmation {
    padding: 24px 20px;
  }

  .kitchen-step-9 .quote-screen--submitted .calculator-confirmation h3,
  .calculator-confirmation h3 {
    font-size: clamp(2.28rem, 12vw, 3.45rem);
  }

  .calculator-confirmation__lead {
    font-size: 0.94rem;
  }

  .kitchen-step-9 .quote-screen--submitted .calculator-confirmation__receipt {
    grid-template-columns: 1fr;
  }

  .kitchen-step-9 .quote-screen--submitted .calculator-confirmation__receipt div + div {
    border-top: 1px solid rgba(255, 250, 240, 0.1);
    border-left: 0;
    padding-left: 0;
  }
}

.lead-card h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.05;
}

.quote-side > h3 {
  margin: 0 0 10px;
  color: var(--panel);
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.05;
}

.kitchen-step-9 .quote-side > h3 {
  color: var(--quote-cream);
  text-wrap: balance;
}

.lead-card > p,
.quote-side > p {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.5;
}

.kitchen-step-9 .quote-side > p {
  color: rgba(255, 247, 232, 0.78);
}

.lead-form {
  display: grid;
  gap: 13px;
}

.lead-form label {
  display: grid;
  gap: 6px;
}

.lead-form label span:first-child {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.kitchen-step-9 .lead-form label span:first-child {
  color: rgba(255, 247, 232, 0.72);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-bottom: 1px solid rgba(23, 23, 19, 0.32);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  padding: 8px 0;
  font-size: 0.96rem;
}

.kitchen-step-9 .lead-form input,
.kitchen-step-9 .lead-form select,
.kitchen-step-9 .lead-form textarea {
  border-bottom-color: rgba(255, 247, 232, 0.42);
  color: var(--quote-cream);
}

.kitchen-step-9 .lead-form input:focus,
.kitchen-step-9 .lead-form select:focus,
.kitchen-step-9 .lead-form textarea:focus {
  outline: 0;
  border-bottom-color: var(--quote-gold);
}

.lead-form textarea {
  min-height: 92px;
  resize: vertical;
}

.lead-form .file-native {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.file-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--panel);
  font-family: var(--control);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.kitchen-step-9 .file-button {
  border-color: rgba(255, 247, 232, 0.26);
  background: rgba(255, 247, 232, 0.08);
  color: var(--quote-cream);
}

.file-empty {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
}

.kitchen-step-9 .file-empty {
  color: rgba(255, 247, 232, 0.62);
}

.kitchen-step-9 .submit-offer {
  background: linear-gradient(135deg, #f4c36c 0%, var(--quote-gold) 54%, #c68426 100%);
  color: #081d2d;
  box-shadow: 0 18px 38px rgba(3, 18, 30, 0.28);
}

.kitchen-step-9 .submit-offer:hover,
.kitchen-step-9 .submit-offer:focus-visible {
  background: linear-gradient(135deg, #ffd787 0%, #ebb158 54%, #bf7c20 100%);
}

.kitchen-step-9 .submit-offer svg {
  color: #081d2d;
}

.file-grid {
  display: grid;
  gap: 8px;
}

.file-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto 28px;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.file-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  background: var(--panel);
  color: var(--paper-soft);
  font-size: 0.68rem;
  font-weight: 800;
}

.file-item b,
.file-item em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-item b {
  font-size: 0.86rem;
}

.file-item em {
  color: var(--muted);
  font-size: 0.76rem;
  font-style: normal;
}

.file-item button {
  border: 0;
  background: transparent;
  color: var(--clay);
  font-size: 1.2rem;
}

.kitchen-step-9 .file-item {
  border-color: rgba(255, 247, 232, 0.18);
  background: rgba(255, 247, 232, 0.08);
}

.kitchen-step-9 .file-item span {
  background: var(--quote-gold);
  color: #081d2d;
}

.kitchen-step-9 .file-item b {
  color: var(--quote-cream);
}

.kitchen-step-9 .file-item em {
  color: rgba(255, 247, 232, 0.62);
}

.kitchen-step-9 .file-item button {
  color: var(--quote-gold);
}

.delivery-status {
  margin: 0 0 18px;
  padding: 12px 14px;
  background: var(--paper);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.35;
}

.delivery-status--ok {
  background: #e7f0df;
  color: #355725;
}

.delivery-status--warn {
  background: #f5e2d9;
  color: #7a3a25;
}

.kitchen-step-9 .delivery-status {
  border: 1px solid rgba(255, 247, 232, 0.16);
  background: rgba(255, 247, 232, 0.08);
  color: rgba(255, 247, 232, 0.78);
}

.kitchen-step-9 .delivery-status--ok {
  border-color: rgba(176, 212, 145, 0.34);
  background: rgba(176, 212, 145, 0.16);
  color: #dff1cf;
}

.kitchen-step-9 .delivery-status--warn {
  border-color: rgba(227, 168, 78, 0.36);
  background: rgba(227, 168, 78, 0.14);
  color: #ffe1a8;
}

.quote-screen {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.kitchen-step-9 {
  --quote-navy: #09263d;
  --quote-blue: #123b58;
  --quote-gold: #e3a84e;
  --quote-cream: #fff7e8;
  --quote-line: rgba(255, 247, 232, 0.2);
}

.kitchen-step-9 .quote-screen {
  gap: 24px;
}

.kitchen-step-9 .quote-screen--submitted {
  display: block;
  position: relative;
  min-height: min(620px, calc(100vh - 96px));
  overflow: hidden;
  border: 1px solid rgba(255, 247, 232, 0.22);
  background:
    linear-gradient(90deg, rgba(255, 247, 232, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 247, 232, 0.04) 1px, transparent 1px),
    linear-gradient(160deg, var(--quote-navy) 0%, #0f314c 64%, var(--panel-soft) 100%);
  background-size: 34px 34px, 34px 34px, auto;
  box-shadow: 0 34px 90px rgba(9, 38, 61, 0.3);
  color: var(--quote-cream);
}

.kitchen-step-9 .quote-screen--submitted::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(24px, 4vw, 56px);
  z-index: 1;
  width: 72px;
  height: 4px;
  background: var(--quote-gold);
}

.offer-document {
  background: var(--paper-soft);
  border: 1px solid var(--line);
}

.kitchen-step-9 .offer-document {
  overflow: hidden;
  border: 1px solid rgba(9, 38, 61, 0.18);
  background: var(--quote-cream);
  box-shadow: 0 34px 90px rgba(9, 38, 61, 0.26);
}

.offer-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: 26px;
  padding: 34px;
  border-top: 6px solid var(--sage);
  border-bottom: 1px solid var(--line);
}

.kitchen-step-9 .offer-head {
  border: 0;
  background:
    linear-gradient(90deg, rgba(255, 247, 232, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 247, 232, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, var(--quote-navy) 0%, var(--quote-blue) 62%, var(--panel-soft) 100%);
  background-size: 42px 42px, 42px 42px, auto;
  color: var(--quote-cream);
}

.offer-head span {
  display: block;
  margin-bottom: 8px;
  color: var(--panel);
  font-size: 0.72rem;
  font-weight: 800;
}

.kitchen-step-9 .offer-head span {
  color: var(--quote-gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offer-head h2 {
  color: var(--ink);
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

.kitchen-step-9 .offer-head h2 {
  color: var(--quote-cream);
  text-wrap: balance;
}

.offer-head dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.offer-head dl div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.kitchen-step-9 .offer-head dl div {
  border-bottom-color: var(--quote-line);
}

.offer-head dt,
.offer-head dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 0.9rem;
}

.offer-head dt {
  color: var(--muted);
}

.kitchen-step-9 .offer-head dt {
  color: rgba(255, 247, 232, 0.72);
}

.offer-head dd {
  color: var(--ink);
  font-weight: 700;
}

.kitchen-step-9 .offer-head dd {
  color: var(--quote-cream);
}

.offer-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 22px 34px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.kitchen-step-9 .offer-summary {
  border-bottom-color: rgba(9, 38, 61, 0.16);
  background:
    linear-gradient(90deg, rgba(255, 247, 232, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 247, 232, 0.035) 1px, transparent 1px),
    var(--quote-navy);
  background-size: 38px 38px;
}

.offer-summary div,
.offer-selections article {
  min-width: 0;
  padding: 16px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
}

.kitchen-step-9 .offer-summary div {
  border-color: rgba(255, 247, 232, 0.18);
  background: rgba(255, 247, 232, 0.94);
  box-shadow: 0 14px 34px rgba(3, 18, 30, 0.18);
}

.kitchen-step-9 .offer-summary div:first-child {
  border-color: rgba(227, 168, 78, 0.68);
  background: #fffaf0;
}

.offer-summary span,
.offer-selections span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
}

.kitchen-step-9 .offer-summary span {
  color: rgba(9, 38, 61, 0.72);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.offer-summary strong {
  display: block;
  color: var(--panel);
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 500;
  line-height: 1.04;
  overflow-wrap: normal;
  white-space: nowrap;
  word-break: keep-all;
}

.kitchen-step-9 .offer-summary strong,
.kitchen-step-9 .offer-summary__interval b,
.kitchen-step-9 .offer-summary__interval em {
  color: var(--quote-navy);
}

.kitchen-step-9 .offer-summary div:first-child strong {
  color: var(--panel);
}

.offer-summary__interval {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 10px;
  white-space: normal !important;
}

.offer-summary__interval b {
  display: grid;
  grid-template-columns: 1fr;
  min-width: 0;
  gap: 4px;
  color: var(--panel);
  font-family: var(--display);
  font-weight: 500;
  line-height: 1;
  overflow-wrap: normal;
  white-space: normal;
  word-break: normal;
}

.offer-summary__interval small {
  color: var(--muted);
  font-family: var(--control);
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.offer-summary__interval em {
  display: block;
  min-width: 0;
  color: var(--panel);
  font-family: var(--display);
  font-size: clamp(1.08rem, 1.32vw, 1.34rem);
  font-style: normal;
  font-weight: 500;
  line-height: 1;
  overflow-wrap: normal;
  white-space: nowrap;
  word-break: keep-all;
}

.offer-selections {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 24px 34px;
  border-bottom: 1px solid var(--line);
}

.kitchen-step-9 .offer-selections {
  border-bottom-color: rgba(9, 38, 61, 0.16);
  background:
    linear-gradient(90deg, rgba(9, 38, 61, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(9, 38, 61, 0.028) 1px, transparent 1px),
    linear-gradient(180deg, #fffaf0 0%, #f6ead8 100%);
  background-size: 34px 34px, 34px 34px, auto;
}

.kitchen-step-9 .offer-selections article {
  border-color: rgba(9, 38, 61, 0.16);
  background: rgba(255, 251, 242, 0.9);
  box-shadow: inset 0 3px 0 rgba(227, 168, 78, 0.78);
}

.offer-selections strong {
  display: block;
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.kitchen-step-9 .offer-selections span {
  color: rgba(9, 38, 61, 0.64);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.kitchen-step-9 .offer-selections strong {
  color: var(--quote-navy);
}

.offer-lines {
  padding: 26px 34px 10px;
}

.kitchen-step-9 .offer-lines {
  background:
    linear-gradient(90deg, rgba(9, 38, 61, 0.024) 1px, transparent 1px),
    linear-gradient(180deg, rgba(9, 38, 61, 0.02) 1px, transparent 1px),
    #fffaf0;
  background-size: 38px 38px, 38px 38px, auto;
}

.offer-lines + .offer-lines {
  padding-top: 12px;
}

.offer-lines__section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: start;
  margin-bottom: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.kitchen-step-9 .offer-lines__section-head {
  border: 0;
  border-left: 5px solid var(--quote-gold);
  background:
    linear-gradient(90deg, rgba(255, 247, 232, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 247, 232, 0.04) 1px, transparent 1px),
    linear-gradient(135deg, var(--quote-navy) 0%, #11364f 100%);
  background-size: 34px 34px, 34px 34px, auto;
  box-shadow: 0 16px 34px rgba(9, 38, 61, 0.12);
}

.offer-lines__section-head h3 {
  margin: 0;
  color: var(--panel);
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 500;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.kitchen-step-9 .offer-lines__section-head h3 {
  color: var(--quote-cream);
}

.offer-lines__section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.kitchen-step-9 .offer-lines__section-head p {
  color: rgba(255, 247, 232, 0.76);
}

.offer-lines__total {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 16px;
  align-items: center;
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--panel);
  background: var(--paper);
}

.kitchen-step-9 .offer-lines__total {
  border: 0;
  border-top: 4px solid var(--quote-gold);
  background: linear-gradient(135deg, var(--quote-navy) 0%, #123b58 100%);
  box-shadow: 0 18px 40px rgba(9, 38, 61, 0.16);
}

.offer-lines__total span {
  display: block;
  color: var(--panel);
  font-family: var(--control);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kitchen-step-9 .offer-lines__total span {
  color: var(--quote-gold);
}

.offer-lines__total p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.kitchen-step-9 .offer-lines__total p {
  color: rgba(255, 247, 232, 0.72);
}

.offer-lines__total strong {
  color: var(--panel);
  font-family: var(--display);
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 500;
  line-height: 1;
  text-align: right;
  overflow-wrap: normal;
  white-space: nowrap;
  word-break: keep-all;
}

.kitchen-step-9 .offer-lines__total strong {
  color: var(--quote-cream);
}

.offer-lines__head {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) minmax(145px, 0.28fr);
  gap: 14px;
  padding: 0 0 10px;
  border-bottom: 2px solid var(--ink);
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
}

.kitchen-step-9 .offer-lines__head {
  padding: 10px 0;
  border-bottom-color: var(--quote-navy);
  color: rgba(9, 38, 61, 0.68);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offer-lines article {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) minmax(145px, 0.28fr);
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.kitchen-step-9 .offer-lines article {
  margin-bottom: 8px;
  padding: 16px 14px;
  border: 1px solid rgba(9, 38, 61, 0.12);
  border-left: 4px solid rgba(227, 168, 78, 0.72);
  background: rgba(255, 253, 247, 0.9);
  box-shadow: 0 10px 26px rgba(9, 38, 61, 0.06);
}

.line-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--panel);
  color: var(--paper-soft);
  font-family: var(--control);
  font-size: 0.72rem;
  font-weight: 800;
}

.kitchen-step-9 .line-no {
  background: var(--quote-gold);
  color: #081d2d;
}

.offer-lines b {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.24;
}

.kitchen-step-9 .offer-lines b {
  color: var(--quote-navy);
}

.offer-lines p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.38;
}

.kitchen-step-9 .offer-lines p {
  color: rgba(9, 38, 61, 0.66);
}

.kitchen-step-9 .offer-lines .offer-lines__section-head p,
.kitchen-step-9 .offer-lines .offer-lines__total p {
  color: rgba(255, 247, 232, 0.76);
}

.offer-lines article > strong {
  color: var(--panel);
  font-size: 1rem;
  line-height: 1.2;
  text-align: right;
  overflow-wrap: normal;
  white-space: nowrap;
  word-break: keep-all;
}

.kitchen-step-9 .offer-lines article > strong {
  color: var(--panel);
}

.kitchen-step-9 .offer-lines article:hover {
  border-left-color: var(--quote-gold);
  background: #fffdf7;
}

.offer-lines__breakdown {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.offer-lines .offer-lines__subtotal {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--sage);
  background: var(--paper);
}

.kitchen-step-9 .offer-lines .offer-lines__subtotal {
  border-color: rgba(9, 38, 61, 0.16);
  border-top-color: var(--quote-gold);
  background: #fffdf7;
  box-shadow: 0 12px 28px rgba(9, 38, 61, 0.08);
}

.offer-lines .offer-lines__subtotal span {
  display: block;
  color: var(--panel);
  font-family: var(--control);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kitchen-step-9 .offer-lines .offer-lines__subtotal span {
  color: var(--panel);
}

.offer-lines .offer-lines__subtotal p {
  margin-top: 6px;
  font-size: 0.78rem;
  line-height: 1.35;
}

.offer-lines .offer-lines__subtotal strong {
  display: block;
  min-width: 0;
  color: var(--panel);
  font-family: var(--display);
  font-size: clamp(1.1rem, 1.55vw, 1.45rem);
  font-weight: 500;
  line-height: 1;
  text-align: left;
  white-space: nowrap;
}

.kitchen-step-9 .offer-lines .offer-lines__subtotal strong {
  color: var(--quote-navy);
}

.offer-lines .offer-lines__subtotal em {
  display: block;
  min-width: 0;
  color: var(--muted);
  font-style: normal;
  font-size: 0.78rem;
  line-height: 1.2;
  white-space: nowrap;
}

.kitchen-step-9 .offer-lines .offer-lines__subtotal em {
  color: rgba(9, 38, 61, 0.66);
}

.offer-method {
  margin: 24px 34px 34px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.kitchen-step-9 .offer-method {
  border: 0;
  border-top: 4px solid var(--quote-gold);
  background:
    linear-gradient(90deg, rgba(255, 247, 232, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 247, 232, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, var(--quote-navy) 0%, #123b58 100%);
  background-size: 36px 36px, 36px 36px, auto;
  box-shadow: 0 20px 48px rgba(9, 38, 61, 0.18);
}

.offer-method h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 500;
}

.kitchen-step-9 .offer-method h3 {
  color: var(--quote-cream);
}

.offer-method p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.kitchen-step-9 .offer-method p {
  color: rgba(255, 247, 232, 0.76);
}

.offer-method div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.offer-method span {
  display: inline-flex;
  padding: 8px 10px;
  background: var(--panel);
  color: var(--paper-soft);
  font-size: 0.62rem;
  font-weight: 800;
}

.kitchen-step-9 .offer-method span {
  background: rgba(255, 247, 232, 0.1);
  color: var(--quote-cream);
  border: 1px solid rgba(255, 247, 232, 0.18);
}

.quote-actions {
  display: grid;
  gap: 10px;
}

.quote-actions h3 {
  margin: 0 0 4px;
  color: var(--panel);
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.08;
}

.kitchen-step-9 .quote-actions h3 {
  color: var(--quote-cream);
}

.quote-actions p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.kitchen-step-9 .quote-actions p {
  color: rgba(255, 247, 232, 0.74);
}

.quote-actions button {
  min-height: 48px;
  background: var(--panel);
  color: var(--paper-soft);
}

.kitchen-step-9 .quote-actions button {
  background: rgba(255, 247, 232, 0.92);
  color: var(--quote-navy);
}

.quote-actions button + button {
  background: var(--paper);
  color: var(--panel);
  border: 1px solid var(--line);
}

.kitchen-step-9 .quote-actions button + button {
  border-color: rgba(255, 247, 232, 0.24);
  background: rgba(255, 247, 232, 0.08);
  color: var(--quote-cream);
}

.kitchen-step-9 {
  --quote-navy: var(--panel-deep);
  --quote-blue: var(--panel);
  --quote-gold: var(--gold);
  --quote-cream: var(--paper-soft);
  --quote-line: rgba(255, 250, 240, 0.2);
}

.kitchen-step-9 .offer-head,
.kitchen-step-9 .offer-lines__section-head,
.kitchen-step-9 .offer-lines__total,
.kitchen-step-9 .offer-method,
.kitchen-step-9 .quote-side {
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.048) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 250, 240, 0.04) 1px, transparent 1px),
    linear-gradient(135deg, var(--panel-deep) 0%, var(--panel) 56%, var(--panel-soft) 100%);
  background-size: 38px 38px, 38px 38px, auto;
}

.kitchen-step-9 .offer-document {
  border-color: rgba(7, 29, 46, 0.24);
  background: var(--paper-soft);
}

.kitchen-step-9 .offer-summary {
  border-bottom-color: rgba(23, 23, 19, 0.14);
  background:
    linear-gradient(90deg, rgba(18, 50, 77, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(18, 50, 77, 0.02) 1px, transparent 1px),
    var(--paper);
  background-size: 38px 38px, 38px 38px, auto;
}

.kitchen-step-9 .offer-summary div,
.kitchen-step-9 .offer-summary div:first-child {
  border-color: rgba(23, 23, 19, 0.14);
  background: var(--paper-soft);
  box-shadow: inset 0 3px 0 rgba(228, 174, 98, 0.8), 0 12px 28px rgba(7, 29, 46, 0.08);
}

.kitchen-step-9 .offer-summary span,
.kitchen-step-9 .offer-summary__interval small {
  color: rgba(18, 50, 77, 0.62);
}

.kitchen-step-9 .offer-summary strong,
.kitchen-step-9 .offer-summary__interval b,
.kitchen-step-9 .offer-summary__interval em,
.kitchen-step-9 .offer-summary div:first-child strong {
  color: var(--panel);
}

.kitchen-step-9 .offer-selections,
.kitchen-step-9 .offer-lines {
  background:
    linear-gradient(90deg, rgba(18, 50, 77, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(18, 50, 77, 0.02) 1px, transparent 1px),
    var(--paper-soft);
  background-size: 38px 38px, 38px 38px, auto;
}

.kitchen-step-9 .offer-selections {
  border-bottom-color: rgba(23, 23, 19, 0.14);
}

.kitchen-step-9 .offer-selections article {
  border-color: rgba(23, 23, 19, 0.14);
  background: rgba(255, 250, 240, 0.9);
  box-shadow: inset 0 3px 0 rgba(228, 174, 98, 0.82);
}

.kitchen-step-9 .offer-selections span {
  color: rgba(18, 50, 77, 0.62);
}

.kitchen-step-9 .offer-selections strong {
  color: var(--ink);
}

.kitchen-step-9 .offer-lines__section-head,
.kitchen-step-9 .offer-lines__total,
.kitchen-step-9 .offer-method {
  border-left-color: var(--quote-gold);
  box-shadow: 0 18px 40px rgba(7, 29, 46, 0.16);
}

.kitchen-step-9 .offer-lines__head {
  border-bottom-color: var(--panel);
  color: rgba(18, 50, 77, 0.68);
}

.kitchen-step-9 .offer-lines article {
  border-color: rgba(23, 23, 19, 0.13);
  border-left-color: rgba(228, 174, 98, 0.9);
  background: rgba(255, 253, 247, 0.92);
  box-shadow: 0 10px 26px rgba(7, 29, 46, 0.07);
}

.kitchen-step-9 .offer-lines article:hover {
  background: #fffdf7;
}

.kitchen-step-9 .line-no {
  background: var(--quote-gold);
  color: var(--ink);
}

.kitchen-step-9 .offer-lines b {
  color: var(--ink);
}

.kitchen-step-9 .offer-lines p {
  color: rgba(18, 50, 77, 0.66);
}

.kitchen-step-9 .offer-lines article > strong {
  color: var(--panel);
}

.kitchen-step-9 .offer-lines .offer-lines__subtotal {
  border-color: rgba(23, 23, 19, 0.14);
  border-top-color: var(--quote-gold);
  background: rgba(255, 253, 247, 0.92);
  box-shadow: 0 12px 28px rgba(7, 29, 46, 0.07);
}

.kitchen-step-9 .offer-lines .offer-lines__subtotal span {
  color: var(--panel);
}

.kitchen-step-9 .offer-lines .offer-lines__subtotal p,
.kitchen-step-9 .offer-lines .offer-lines__subtotal em {
  color: rgba(18, 50, 77, 0.66);
}

.kitchen-step-9 .offer-lines .offer-lines__subtotal strong {
  color: var(--panel);
}

.kitchen-step-9 .submit-offer {
  background: linear-gradient(135deg, #f4c36c 0%, var(--quote-gold) 52%, #c68426 100%);
  color: var(--ink);
}

.kitchen-step-9 .submit-offer svg,
.kitchen-step-9 .file-item span {
  color: var(--ink);
}

.kitchen-step-9 .offer-document {
  border-color: var(--line);
  background: var(--paper-soft);
  box-shadow: 0 28px 70px rgba(7, 29, 46, 0.16);
}

.kitchen-step-9 .offer-head,
.kitchen-step-9 .offer-lines__section-head,
.kitchen-step-9 .offer-lines__total,
.kitchen-step-9 .offer-method,
.kitchen-step-9 .quote-side {
  background: var(--panel);
  background-image: none;
  box-shadow: none;
}

.kitchen-step-9 .offer-head span,
.kitchen-step-9 .offer-lines__total span,
.kitchen-step-9 .offer-method span {
  color: rgba(255, 250, 240, 0.72);
}

.kitchen-step-9 .offer-summary,
.kitchen-step-9 .offer-selections,
.kitchen-step-9 .offer-lines {
  background: var(--paper-soft);
  background-image: none;
}

.kitchen-step-9 .offer-summary div,
.kitchen-step-9 .offer-summary div:first-child,
.kitchen-step-9 .offer-selections article,
.kitchen-step-9 .offer-lines article,
.kitchen-step-9 .offer-lines .offer-lines__subtotal {
  border: 1px solid var(--line);
  border-left: 0;
  border-top: 0;
  background: var(--paper-soft);
  box-shadow: none;
}

.kitchen-step-9 .offer-summary span,
.kitchen-step-9 .offer-summary__interval small,
.kitchen-step-9 .offer-selections span,
.kitchen-step-9 .offer-lines__head,
.kitchen-step-9 .offer-lines .offer-lines__subtotal span {
  color: var(--muted);
}

.kitchen-step-9 .offer-summary strong,
.kitchen-step-9 .offer-summary__interval b,
.kitchen-step-9 .offer-summary__interval em,
.kitchen-step-9 .offer-summary div:first-child strong,
.kitchen-step-9 .offer-selections strong,
.kitchen-step-9 .offer-lines article > strong,
.kitchen-step-9 .offer-lines .offer-lines__subtotal strong {
  color: var(--panel);
}

.kitchen-step-9 .offer-lines__head {
  border-bottom-color: var(--panel);
}

.kitchen-step-9 .offer-lines article:hover {
  background: var(--paper-soft);
}

.kitchen-step-9 .line-no {
  background: var(--panel);
  color: var(--paper-soft);
}

.kitchen-step-9 .offer-lines b {
  color: var(--ink);
}

.kitchen-step-9 .offer-lines p,
.kitchen-step-9 .offer-lines .offer-lines__subtotal p,
.kitchen-step-9 .offer-lines .offer-lines__subtotal em {
  color: var(--muted);
}

.kitchen-step-9 .offer-lines .offer-lines__section-head p,
.kitchen-step-9 .offer-lines .offer-lines__total p,
.kitchen-step-9 .offer-method p {
  color: rgba(255, 250, 240, 0.78);
}

.kitchen-step-9 .submit-offer {
  background: var(--gold);
  color: var(--ink);
  box-shadow: none;
}

.kitchen-step-9 .submit-offer:hover,
.kitchen-step-9 .submit-offer:focus-visible {
  background: #f0be74;
}

.kitchen-step-9 .offer-lines__section-head,
.kitchen-step-9 .offer-lines__total,
.kitchen-step-9 .offer-method {
  border: 1px solid rgba(18, 50, 77, 0.26);
  border-left: 4px solid var(--panel);
  background: var(--paper-soft);
  background-image: none;
  box-shadow: none;
}

.kitchen-step-9 .offer-lines__section-head h3,
.kitchen-step-9 .offer-method h3 {
  color: var(--panel);
}

.kitchen-step-9 .offer-lines .offer-lines__section-head p,
.kitchen-step-9 .offer-lines .offer-lines__total p,
.kitchen-step-9 .offer-method p {
  color: var(--muted);
}

.kitchen-step-9 .offer-lines__total {
  border-top: 2px solid var(--panel);
}

.kitchen-step-9 .offer-lines__total span,
.kitchen-step-9 .offer-method span {
  color: var(--panel);
}

.kitchen-step-9 .offer-lines__total strong {
  color: var(--panel);
}

.kitchen-step-9 .offer-method span {
  border: 1px solid rgba(18, 50, 77, 0.22);
  background: transparent;
}

.kitchen-step-9 .offer-lines__total {
  border-color: rgba(18, 50, 77, 0.28);
  border-left-color: var(--panel);
  background: #ece6db;
}

.kitchen-step-9 .offer-summary div:first-child {
  background: #ece6db;
}

.kitchen-step-9 .offer-lines__head {
  padding: 12px 14px 10px;
  border-top: 1px solid rgba(18, 50, 77, 0.24);
  border-right: 1px solid rgba(18, 50, 77, 0.18);
  border-left: 1px solid rgba(18, 50, 77, 0.18);
}

.kitchen-step-9 .offer-lines article {
  margin-bottom: 0;
  border-top: 1px solid rgba(18, 50, 77, 0.14);
  border-right: 1px solid rgba(18, 50, 77, 0.18);
  border-left: 1px solid rgba(18, 50, 77, 0.18);
  border-bottom: 0;
}

.kitchen-step-9 .offer-lines article:first-of-type {
  border-top-color: var(--panel);
}

.kitchen-step-9 .offer-lines__total {
  margin-top: 0;
  border-right-color: rgba(18, 50, 77, 0.28);
  border-left-color: var(--panel);
}

.offer-final-total {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 18px;
  align-items: center;
  margin: 0 34px 34px;
  padding: 20px 22px;
  border: 1px solid rgba(18, 50, 77, 0.28);
  border-top: 2px solid var(--panel);
  border-left: 4px solid var(--panel);
  background: #ece6db;
}

.offer-final-total span {
  display: block;
  color: var(--panel);
  font-family: var(--control);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offer-final-total p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.offer-final-total strong {
  color: var(--panel);
  font-family: var(--display);
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

html.is-embedded-calculator,
html.is-embedded-calculator body {
  min-height: 0;
  background: transparent;
  overflow: hidden;
}

html.is-embedded-calculator {
  --paper: #e7decd;
  --paper-soft: #fbf6ea;
  --paper-deep: #d8ccb9;
  --line: rgba(23, 23, 19, 0.18);
}

html.is-embedded-calculator .calc-header__copy {
  background: var(--paper);
}

html.is-embedded-calculator .calc-nav {
  background: transparent;
}

html.is-embedded-calculator .kitchen-shell {
  width: 100%;
  max-width: none;
  padding: 0;
}

html.is-embedded-calculator .stepper {
  margin-bottom: 18px;
}

html.is-embedded-calculator .calc-nav > span:empty {
  display: none;
}

@media (min-width: 981px) {
  html.is-embedded-calculator .calc-header {
    gap: 16px;
    margin-bottom: 14px;
  }

  html.is-embedded-calculator .calc-header__copy,
  html.is-embedded-calculator .calc-header__price {
    padding: 20px 24px;
  }

  html.is-embedded-calculator .calc-header__brand {
    margin-bottom: 10px;
  }

  html.is-embedded-calculator .calc-header h1 {
    font-size: clamp(2.2rem, 3vw, 3.8rem);
  }

  html.is-embedded-calculator .calc-header p {
    margin-top: 12px;
    font-size: 0.98rem;
    line-height: 1.45;
  }

  html.is-embedded-calculator .stepper {
    margin-bottom: 12px;
  }

  html.is-embedded-calculator .stepper button {
    min-height: 54px;
    padding: 9px 8px;
  }

  html.is-embedded-calculator .calc-panel__left,
  html.is-embedded-calculator .calc-panel__right {
    min-height: 0;
  }

  html.is-embedded-calculator .calc-panel {
    grid-template-rows: minmax(0, 1fr) auto;
    height: 620px;
    min-height: 620px;
  }

  html.is-embedded-calculator .calc-panel:has(.product-cost-card[open]) {
    height: auto;
  }

  html.is-embedded-calculator .calc-panel__left,
  html.is-embedded-calculator .calc-panel__right {
    height: 100%;
  }

  html.is-embedded-calculator .calc-panel__right {
    grid-template-rows: 210px minmax(0, 1fr) auto;
  }

  html.is-embedded-calculator .calc-panel__left {
    padding: clamp(22px, 3vw, 36px);
  }

  html.is-embedded-calculator .panel-kicker {
    margin-bottom: 10px;
    font-size: 0.68rem;
  }

  html.is-embedded-calculator .calc-panel h2 {
    font-size: clamp(2rem, 2.85vw, 3rem);
    line-height: 1.02;
  }

  html.is-embedded-calculator .panel-intro {
    margin: 12px 0 20px;
    font-size: 0.95rem;
    line-height: 1.45;
  }

  html.is-embedded-calculator .choice-list {
    gap: 8px;
  }

  html.is-embedded-calculator .choice {
    grid-template-columns: 42px minmax(0, 1fr) 28px;
    min-height: 68px;
    padding: 10px;
  }

  html.is-embedded-calculator .choice--media {
    grid-template-columns: 42px minmax(0, 1fr) 54px 28px;
  }

  html.is-embedded-calculator .choice__number {
    width: 36px;
    height: 36px;
    font-size: 0.66rem;
  }

  html.is-embedded-calculator .choice__copy strong {
    font-size: clamp(0.95rem, 1.12vw, 1.08rem);
    line-height: 1.14;
  }

  html.is-embedded-calculator .choice__copy em {
    margin-top: 3px;
    font-size: 0.82rem;
    line-height: 1.24;
  }

  html.is-embedded-calculator .choice__media {
    aspect-ratio: 5 / 4;
  }

  html.is-embedded-calculator .calc-panel[data-step-panel="1"] .choice {
    min-height: 60px;
  }

  html.is-embedded-calculator .calc-panel[data-step-panel="1"] .choice__copy em {
    font-size: 0.78rem;
  }

  html.is-embedded-calculator .product-cost-card {
    gap: 8px;
    margin-top: 6px;
    margin-bottom: 16px;
    padding: 9px 12px;
  }

  html.is-embedded-calculator .calc-panel[data-step-panel="4"] .choice-list {
    gap: 6px;
  }

  html.is-embedded-calculator .calc-panel[data-step-panel="4"] .choice {
    min-height: 62px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  html.is-embedded-calculator .product-cost-summary {
    gap: 8px;
  }

  html.is-embedded-calculator .product-cost-summary em,
  html.is-embedded-calculator .product-cost-card label span {
    font-size: 0.6rem;
  }

  html.is-embedded-calculator .product-cost-summary strong {
    margin-top: 2px;
    font-size: 0.92rem;
    line-height: 1.1;
  }

  html.is-embedded-calculator .product-cost-summary p {
    display: none;
  }

  html.is-embedded-calculator .product-cost-toggle {
    min-height: 28px;
    padding: 0 10px;
    font-size: 0.6rem;
  }

  html.is-embedded-calculator .product-cost-grid {
    gap: 8px;
  }

  html.is-embedded-calculator .product-cost-card input {
    height: 38px;
    padding: 0 10px;
  }

  html.is-embedded-calculator .step-image {
    height: 210px;
  }

  html.is-embedded-calculator .step-image img {
    object-fit: cover;
  }

  html.is-embedded-calculator .insight-card {
    padding: 22px 24px 18px;
  }

  html.is-embedded-calculator .insight-card h3 {
    margin: 8px 0 10px;
    font-size: clamp(1.24rem, 1.7vw, 1.72rem);
  }

  html.is-embedded-calculator .insight-card p {
    font-size: 0.92rem;
    line-height: 1.45;
  }

  html.is-embedded-calculator .mini-estimate {
    gap: 10px;
    padding: 18px 24px 22px;
  }

  html.is-embedded-calculator .mini-estimate div {
    padding: 13px;
  }

  html.is-embedded-calculator .calc-nav {
    min-height: 54px;
  }

  html.is-embedded-calculator .nav-next,
  html.is-embedded-calculator .submit-offer {
    min-width: 220px;
  }
}

@media (max-width: 1120px) {
  .quote-screen {
    display: block;
  }

  .quote-side {
    margin-top: 20px;
  }

  .offer-head {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .kitchen-shell {
    width: min(calc(100vw - 24px), 760px);
    padding-top: 22px;
  }

  .calc-header,
  .offer-head {
    grid-template-columns: 1fr;
  }

  .calc-panel {
    display: block;
  }

  .quote-gate,
  .quote-screen {
    display: block;
  }

  .lead-card,
  .quote-side {
    margin-top: 20px;
  }

  .calc-panel__left,
  .calc-panel__right,
  .quote-preview {
    min-height: 0;
  }

  .step-image {
    height: clamp(240px, 58vw, 340px);
  }

  .stepper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
    overflow: visible;
  }

  .stepper button {
    min-height: 56px;
    padding: 10px 8px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .offer-summary,
  .offer-selections {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .kitchen-shell {
    width: min(calc(100vw - 18px), 520px);
    padding-bottom: 42px;
  }

  .calc-header__copy,
  .calc-header__price,
  .calc-panel__left,
  .lead-card,
  .quote-side {
    padding: 22px;
  }

  .calc-header h1 {
    font-size: 2.35rem;
  }

  .calc-panel h2,
  .quote-preview h2 {
    font-size: 1.86rem;
    line-height: 1.08;
  }

  .choice {
    grid-template-columns: 40px minmax(0, 1fr);
    min-height: 0;
    padding: 12px;
  }

  .choice--media {
    grid-template-columns: 40px minmax(0, 1fr) clamp(50px, 15vw, 58px);
    gap: 10px;
  }

  .choice__number {
    width: 34px;
    height: 34px;
  }

  .choice__media {
    grid-column: auto;
    aspect-ratio: 4 / 3;
    max-height: 44px;
  }

  .choice__check {
    display: none;
  }

  .mini-estimate,
  .product-cost-grid,
  .quote-poster-grid,
  .offer-summary,
  .offer-selections {
    grid-template-columns: 1fr;
  }

  .product-cost-summary {
    grid-template-columns: 1fr;
  }

  .product-cost-toggle {
    justify-self: start;
  }

  .calc-nav {
    display: grid;
    grid-template-columns: 1fr;
  }

  .nav-back {
    order: 2;
    justify-self: center;
    width: auto;
    min-width: 156px;
    min-height: 54px;
    padding: 0 18px;
    gap: 6px;
    transform: translateX(-10px);
  }

  .nav-next {
    order: 1;
    gap: 7px;
  }

  .nav-next {
    width: 100%;
    min-width: 0;
    min-height: 54px;
  }

  .submit-offer {
    gap: 7px;
  }

  .nav-back svg,
  .nav-next svg,
  .submit-offer svg {
    width: 18px;
    height: 18px;
  }

  .quote-preview {
    padding: 24px;
  }

  .quote-total-card strong {
    font-size: 2.4rem;
  }

  .stepper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stepper button {
    min-height: 50px;
    padding: 9px 7px;
  }

  .stepper span {
    font-size: 0.6rem;
  }

  .stepper b {
    font-size: 0.72rem;
    line-height: 1.08;
  }

  .offer-head,
  .offer-summary,
  .offer-selections,
  .offer-lines {
    padding-left: 18px;
    padding-right: 18px;
  }

  .offer-lines__head {
    display: none;
  }

  .offer-lines__section-head {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px;
  }

  .offer-lines article {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .offer-lines article > strong {
    grid-column: 2;
    text-align: left;
  }

  .offer-lines__total {
    grid-template-columns: 1fr;
  }

  .offer-lines__breakdown {
    grid-template-columns: 1fr;
  }

  .offer-lines .offer-lines__subtotal {
    gap: 7px;
    padding: 13px 14px;
  }

  .offer-lines .offer-lines__subtotal strong,
  .offer-lines .offer-lines__subtotal em {
    white-space: nowrap;
  }

  .offer-lines__total strong {
    text-align: left;
  }

  .offer-method {
    margin: 20px 18px 24px;
  }
}

@media (max-width: 300px) {
  .stepper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .choice--media {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .choice--media .choice__media {
    grid-column: 1 / -1;
    width: min(100%, 150px);
    aspect-ratio: 4 / 3;
  }

  .offer-summary strong,
  .offer-lines article > strong,
  .offer-lines__total strong,
  .offer-lines .offer-lines__subtotal strong,
  .offer-lines .offer-lines__subtotal em {
    white-space: normal;
  }
}

@media (max-width: 240px) {
  html,
  body {
    overflow-x: hidden;
  }

  .kitchen-shell {
    width: 360px;
    max-width: none;
    margin: 0;
    padding: 14px 0 72px;
    position: relative;
    left: 50%;
    transform: translateX(-50%) scale(0.62);
    transform-origin: top center;
  }
}

@media (max-width: 200px) {
  .kitchen-shell {
    transform: translateX(-50%) scale(0.52);
  }
}

@media (max-width: 170px) {
  .kitchen-shell {
    transform: translateX(-50%) scale(0.43);
  }
}

@media (max-width: 140px) {
  .kitchen-shell {
    transform: translateX(-50%) scale(0.34);
  }
}

@media (max-width: 115px) {
  .kitchen-shell {
    transform: translateX(-50%) scale(0.28);
  }
}
