:root {
  --cfg-navy: #032b3a;
  --cfg-navy-2: #063d50;
  --cfg-cyan: #48bce5;
  --cfg-ice: #edf7fb;
  --cfg-line: #d6e8ef;
}

.inner-page--configurator { background: var(--cfg-navy); }
.inner-page--configurator main { display: block; }
.cfg-section {
  min-height: calc(100vh - 76px);
  position: relative;
  padding: 32px 0 72px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(145deg, #032633 0%, #073e51 55%, #032b3a 100%);
}
.cfg-grid-background {
  position: absolute;
  inset: 0;
  opacity: .09;
  pointer-events: none;
  background-image: linear-gradient(rgba(121,220,249,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(121,220,249,.6) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
}
.cfg-container { position: relative; z-index: 1; }
.cfg-breadcrumbs { margin: 0 0 23px; color: rgba(255,255,255,.58); }
.cfg-heading {
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
  gap: 70px;
  align-items: end;
}
.cfg-heading .eyebrow { margin-bottom: 13px; }
.cfg-heading h1 { margin: 0; color: #fff; font-size: clamp(48px, 4.2vw, 76px); }
.cfg-heading > p { max-width: 590px; margin: 0 0 4px auto; color: rgba(255,255,255,.68); font-size: 17px; }

.cfg-progress {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,.12);
  border-right: 1px solid rgba(255,255,255,.12);
}
.cfg-progress button {
  min-height: 63px;
  padding: 12px 16px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.52);
  background: rgba(3,35,48,.34);
  border: 0;
  border-left: 1px solid rgba(255,255,255,.12);
  cursor: pointer;
  text-align: left;
  transition: color .25s ease, background .25s ease;
}
.cfg-progress button::after {
  width: 0;
  height: 3px;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--cfg-cyan);
  content: "";
  transition: width .38s cubic-bezier(.22,.61,.36,1);
}
.cfg-progress button:hover { color: #fff; background: rgba(72,188,229,.08); }
.cfg-progress button.is-active { color: #fff; background: rgba(72,188,229,.14); }
.cfg-progress button.is-complete { color: rgba(255,255,255,.82); }
.cfg-progress button.is-active::after, .cfg-progress button.is-complete::after { width: 100%; }
.cfg-progress span { color: var(--cfg-cyan); font-size: 12px; font-weight: 800; }
.cfg-progress b { font-size: 12px; line-height: 1.15; text-transform: uppercase; }

.cfg-workspace {
  min-height: 790px;
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(440px, .72fr);
  color: #0b3446;
  background: #fff;
  box-shadow: 0 36px 80px rgba(0,16,24,.34);
}
.cfg-visual {
  min-width: 0;
  display: grid;
  grid-template-rows: 62px minmax(430px, 1fr) 80px 116px;
  color: #fff;
  background: #041f2a;
  border-right: 1px solid rgba(255,255,255,.09);
}
.cfg-toolbar {
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #062d3c;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.cfg-view-switch { display: flex; align-items: stretch; align-self: stretch; }
.cfg-view-switch button, .cfg-time-toggle {
  padding: 0 17px;
  position: relative;
  color: rgba(255,255,255,.58);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
  transition: color .22s ease, background .22s ease;
}
.cfg-view-switch button::after {
  height: 2px;
  position: absolute;
  right: 17px;
  bottom: 0;
  left: 17px;
  background: var(--cfg-cyan);
  content: "";
  opacity: 0;
  transform: scaleX(.45);
  transition: opacity .22s ease, transform .22s ease;
}
.cfg-view-switch button:hover, .cfg-view-switch button.is-active, .cfg-time-toggle:hover { color: #fff; }
.cfg-view-switch button.is-active::after { opacity: 1; transform: scaleX(1); }
.cfg-time-toggle { min-height: 38px; display: flex; align-items: center; gap: 9px; border: 1px solid rgba(255,255,255,.13); }
.cfg-time-toggle i { width: 15px; height: 15px; display: block; border: 2px solid var(--cfg-cyan); border-radius: 50%; box-shadow: inset -4px -2px 0 rgba(72,188,229,.35); }
.cfg-time-toggle[aria-pressed="true"] { color: #fff; background: rgba(72,188,229,.12); }

.cfg-scene { min-height: 0; position: relative; overflow: hidden; background: #143c4c; isolation: isolate; }
.cfg-scene::before,
.cfg-scene::after {
  position: absolute;
  z-index: 4;
  inset: 0;
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity .32s ease;
}
.cfg-scene::before {
  background: rgba(17,45,56,.78);
  clip-path: polygon(8.8% 36.4%,32% 31.2%,37.8% 36.6%,37.8% 66.3%,8.8% 67.5%);
  mix-blend-mode: multiply;
}
.cfg-scene::after {
  background: linear-gradient(120deg, rgba(40,58,65,.82), rgba(104,125,132,.58));
  clip-path: polygon(11% 38%,31.5% 33%,35.4% 38%,35.4% 62.8%,11% 65%);
  mix-blend-mode: color;
}
.cfg-visual.no-office .cfg-scene::before { opacity: .76; }
.cfg-visual.no-glazing .cfg-scene::after { opacity: .72; }
.cfg-scene__image {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center;
  transform: scale(1.002);
  transition: opacity .62s cubic-bezier(.22,.61,.36,1), filter .55s ease, transform 1.2s cubic-bezier(.22,.61,.36,1);
}
.cfg-scene__image--a { z-index: 1; opacity: 1; }
.cfg-scene__image--b { z-index: 2; opacity: 0; }
.cfg-scene.is-swapping .cfg-scene__image--a { opacity: 0; transform: scale(1.012); }
.cfg-scene.is-swapping .cfg-scene__image--b { opacity: 1; transform: scale(1.002); }
.cfg-scene__shade { position: absolute; z-index: 3; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(2,31,43,.62) 0, transparent 31%), linear-gradient(90deg, rgba(2,31,43,.18), transparent 33%); }
.cfg-visual.is-evening .cfg-scene__image { filter: brightness(.72) saturate(1.12) hue-rotate(1deg); }

.cfg-facade-tint {
  position: absolute;
  z-index: 3;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: color;
  clip-path: polygon(8.7% 36%,42.7% 23%,92.5% 50.5%,92.5% 67.7%,42.7% 57%,8.7% 67.7%);
  transition: opacity .35s ease, background .35s ease;
}
.cfg-visual.color-silver .cfg-facade-tint { opacity: .26; background: #bdcbd2; }
.cfg-visual.color-white .cfg-facade-tint { opacity: .4; background: #f1f5f6; mix-blend-mode: screen; }
.cfg-visual.color-blue .cfg-facade-tint { opacity: .48; background: #155e83; }
.cfg-visual.color-slate .cfg-facade-tint { opacity: .42; background: #62747d; }
.cfg-visual.view-frame .cfg-facade-tint { opacity: 0; }

.cfg-technical-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 5;
  inset: 0;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}
.cfg-scan-beam {
  width: 22%;
  position: absolute;
  z-index: 6;
  top: 0;
  bottom: 0;
  left: -28%;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(76,203,239,.12), rgba(127,228,255,.52), rgba(76,203,239,.12), transparent);
  filter: blur(1px);
}
.cfg-visual.view-scan .cfg-technical-overlay { opacity: .66; }
.cfg-visual.view-scan .cfg-scan-beam { opacity: 1; animation: cfgScan 3.6s ease-in-out infinite; }

.cfg-wireframe { width: 100%; height: 100%; position: absolute; z-index: 5; inset: 0; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.cfg-wireframe path { fill: rgba(72,188,229,.025); stroke: rgba(120,226,255,.86); stroke-width: 2; vector-effect: non-scaling-stroke; }
.cfg-wireframe__body { transform-box: fill-box; transform-origin: 46% 66%; transition: transform .42s cubic-bezier(.22,.61,.36,1); }
.cfg-visual.view-scan .cfg-wireframe { opacity: .85; }
.cfg-wireframe .roof-gable, .cfg-wireframe .roof-shed { display: none; }
.cfg-visual.roof-gable .cfg-wireframe .roof-flat, .cfg-visual.roof-shed .cfg-wireframe .roof-flat { display: none; }
.cfg-visual.roof-gable .cfg-wireframe .roof-gable { display: block; }
.cfg-visual.roof-shed .cfg-wireframe .roof-shed { display: block; }

.cfg-dimension { position: absolute; z-index: 7; color: #fff; pointer-events: none; font-size: 12px; font-style: normal; }
.cfg-dimension::before { position: absolute; background: rgba(117,213,242,.8); content: ""; }
.cfg-dimension::after { width: 7px; height: 7px; position: absolute; background: #fff; border: 2px solid var(--cfg-cyan); border-radius: 50%; content: ""; box-shadow: 0 0 0 5px rgba(72,188,229,.16); }
.cfg-dimension span { padding: 6px 9px; display: block; background: rgba(3,43,58,.86); border: 1px solid rgba(115,213,243,.45); backdrop-filter: blur(8px); }
.cfg-dimension b { color: #fff; font-size: 15px; }
.cfg-dimension--length { right: 17%; bottom: 20%; }
.cfg-dimension--length::before { width: 150px; height: 1px; right: 100%; top: 50%; }
.cfg-dimension--length::after { right: calc(100% + 145px); top: calc(50% - 4px); }
.cfg-dimension--width { left: 18%; bottom: 27%; }
.cfg-dimension--width::before { width: 1px; height: 80px; left: 50%; bottom: 100%; transform: rotate(26deg); transform-origin: bottom; }
.cfg-dimension--width::after { left: calc(50% + 30px); bottom: calc(100% + 70px); }
.cfg-dimension--height { left: 42%; top: 20%; }
.cfg-dimension--height::before { width: 1px; height: 72px; left: 50%; top: 100%; }
.cfg-dimension--height::after { left: calc(50% - 4px); top: calc(100% + 67px); }

.cfg-hotspot { width: 16px; height: 16px; position: absolute; z-index: 8; display: none; background: #fff; border: 4px solid var(--cfg-cyan); border-radius: 50%; box-shadow: 0 0 0 0 rgba(72,188,229,.5); animation: cfgPulse 2s ease-out infinite; }
.cfg-hotspot.is-active { display: block; }
.cfg-hotspot--crane { left: 57%; top: 48%; }
.cfg-hotspot--ventilation { left: 68%; top: 28%; }
.cfg-hotspot--cold { left: 75%; top: 51%; }
.cfg-hotspot--solar { left: 54%; top: 30%; }
.cfg-gate-map {
  position: absolute;
  z-index: 7;
  right: 7.5%;
  bottom: 30.5%;
  left: 53%;
  display: flex;
  justify-content: flex-end;
  gap: clamp(3px, .55vw, 9px);
  opacity: 0;
  pointer-events: none;
  transform: skewY(8deg);
  transition: opacity .28s ease;
}
.cfg-visual.view-scan .cfg-gate-map { opacity: .9; }
.cfg-gate-map i {
  width: clamp(15px, 2vw, 31px);
  height: clamp(24px, 3.2vw, 48px);
  display: block;
  border: 2px solid rgba(132,220,247,.92);
  background: rgba(72,188,229,.09);
  box-shadow: inset 0 0 16px rgba(72,188,229,.15);
}
.cfg-scene-caption { position: absolute; z-index: 8; left: 26px; bottom: 23px; display: flex; flex-direction: column; text-shadow: 0 2px 15px rgba(0,0,0,.35); }
.cfg-scene-caption span { color: var(--cfg-cyan); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.cfg-scene-caption b { margin-top: 5px; color: #fff; font-size: 18px; text-transform: uppercase; }

.cfg-build-sequence { padding: 0 25px; display: flex; align-items: center; gap: 30px; background: #062d3c; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
.cfg-build-button { min-width: 220px; padding: 0; display: flex; align-items: center; gap: 10px; color: #fff; background: transparent; border: 0; cursor: pointer; font-size: 12px; font-weight: 800; text-align: left; text-transform: uppercase; }
.cfg-build-button span { width: 29px; height: 29px; display: grid; place-items: center; color: var(--cfg-cyan); border: 1px solid rgba(72,188,229,.55); font-size: 9px; }
.cfg-build-button:disabled { cursor: wait; opacity: .55; }
.cfg-build-sequence ol { margin: 0; padding: 0; position: relative; flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; }
.cfg-build-sequence ol::before { height: 1px; position: absolute; right: 12%; left: 12%; top: 15px; background: rgba(255,255,255,.16); content: ""; }
.cfg-build-sequence li { position: relative; display: flex; flex-direction: column; align-items: center; color: rgba(255,255,255,.38); font-size: 10px; text-transform: uppercase; transition: color .25s ease; }
.cfg-build-sequence li i { width: 11px; height: 11px; z-index: 1; margin: 10px 0 7px; background: #0a3e50; border: 2px solid rgba(255,255,255,.28); border-radius: 50%; transition: border-color .25s ease, background .25s ease, box-shadow .25s ease; }
.cfg-build-sequence li.is-active { color: #fff; }
.cfg-build-sequence li.is-active i { background: var(--cfg-cyan); border-color: #a6eeff; box-shadow: 0 0 0 6px rgba(72,188,229,.15); }
.cfg-live-metrics { display: grid; grid-template-columns: repeat(4, 1fr); background: #041f2a; }
.cfg-live-metrics > div { min-width: 0; padding: 22px 23px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid rgba(255,255,255,.1); }
.cfg-live-metrics > div:last-child { border-right: 0; }
.cfg-live-metrics span { color: rgba(255,255,255,.45); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }
.cfg-live-metrics b { margin-top: 7px; color: #fff; font-size: clamp(16px, 1.25vw, 22px); line-height: 1.1; white-space: nowrap; }
.cfg-live-metrics output { font: inherit; }

.cfg-controls { min-width: 0; height: 790px; display: flex; flex-direction: column; background: #f4fafc; }
.cfg-controls__head { min-height: 79px; padding: 18px 28px; display: flex; align-items: center; justify-content: space-between; color: #fff; background: #0a4357; border-bottom: 1px solid rgba(255,255,255,.1); }
.cfg-controls__head > div { display: flex; flex-direction: column; }
.cfg-controls__head span { color: var(--cfg-cyan); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.cfg-controls__head small { margin-top: 4px; color: rgba(255,255,255,.72); font-size: 12px; }
.cfg-controls__head strong { width: 49px; height: 49px; display: flex; align-items: center; justify-content: center; gap: 1px; border: 0; background: #07384a; clip-path: polygon(25% 7%,75% 7%,100% 50%,75% 93%,25% 93%,0 50%); font-size: 12px; }
.cfg-controls__head strong i { font-style: normal; }
.cfg-step { min-height: 0; padding: 27px 28px 20px; flex: 1; overflow-x: hidden; overflow-y: auto; animation: cfgStepIn .38s cubic-bezier(.22,.61,.36,1) both; scrollbar-color: #9bcddd transparent; scrollbar-width: thin; }
.cfg-step[hidden] { display: none; }
.cfg-step h2 { margin: 0 0 13px; color: #0b3446; font-size: 30px; line-height: 1.02; }
.cfg-step > p:not(.eyebrow) { margin: 0 0 23px; color: #617985; font-size: 14px; line-height: 1.55; }

.cfg-type-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cfg-type-card { min-width: 0; padding: 0; position: relative; overflow: hidden; color: #fff; background: #07384a; border: 2px solid transparent; cursor: pointer; text-align: left; transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease; }
.cfg-type-card--wide { grid-column: span 2; }
.cfg-type-card img { height: 105px; object-fit: cover; transition: transform .55s cubic-bezier(.22,.61,.36,1), filter .25s ease; }
.cfg-type-card--wide img { height: 90px; }
.cfg-type-card::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(2,39,53,.88), transparent 68%); content: ""; pointer-events: none; }
.cfg-type-card > span { position: absolute; z-index: 2; right: 13px; bottom: 10px; left: 13px; display: flex; flex-direction: column; }
.cfg-type-card b { color: #fff; font-size: 13px; line-height: 1.1; text-transform: uppercase; }
.cfg-type-card small { margin-top: 3px; color: rgba(255,255,255,.65); font-size: 10px; }
.cfg-type-card:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(3,43,58,.17); }
.cfg-type-card:hover img { transform: scale(1.035); }
.cfg-type-card.is-active { border-color: var(--cfg-cyan); box-shadow: 0 0 0 2px rgba(72,188,229,.12); }
.cfg-type-card.is-active::before { width: 24px; height: 24px; position: absolute; z-index: 3; top: 8px; right: 8px; display: grid; place-items: center; color: #fff; background: var(--cfg-cyan); content: "✓"; font-size: 12px; }

.cfg-range-list { display: grid; gap: 9px; }
.cfg-range { margin: 0 !important; padding: 18px 18px 16px; display: block !important; background: #fff; border: 1px solid var(--cfg-line); color: #0b3446 !important; text-transform: none !important; }
.cfg-range > span { margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; }
.cfg-range b { font-size: 14px; text-transform: uppercase; }
.cfg-range output { min-width: 64px; color: #0789b7; font-size: 17px; font-weight: 800; text-align: right; }
.cfg-range input[type="range"] { width: 100%; height: 4px; margin: 7px 0; display: block; appearance: none; background: linear-gradient(90deg, var(--cfg-cyan) 0 var(--range-progress, 40%), #dceaf0 var(--range-progress, 40%) 100%); border-radius: 0; outline: none; }
.cfg-range input[type="range"]::-webkit-slider-thumb { width: 19px; height: 19px; appearance: none; background: #fff; border: 5px solid var(--cfg-cyan); border-radius: 50%; box-shadow: 0 2px 8px rgba(3,43,58,.2); cursor: pointer; }
.cfg-range input[type="range"]::-moz-range-thumb { width: 11px; height: 11px; background: #fff; border: 5px solid var(--cfg-cyan); border-radius: 50%; box-shadow: 0 2px 8px rgba(3,43,58,.2); cursor: pointer; }
.cfg-choice-block { margin-top: 23px; }
.cfg-choice-block > span { margin-bottom: 10px; display: block; color: #69818b; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cfg-segmented, .cfg-scope-list { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--cfg-line); }
.cfg-segmented button, .cfg-scope-list button { min-height: 48px; padding: 9px 10px; color: #607985; background: #fff; border: 0; border-right: 1px solid var(--cfg-line); cursor: pointer; font-size: 12px; font-weight: 700; transition: color .2s ease, background .2s ease; }
.cfg-segmented button:last-child, .cfg-scope-list button:last-child { border-right: 0; }
.cfg-segmented button.is-active, .cfg-scope-list button.is-active { color: #fff; background: #0b516a; }

.cfg-structure-list { display: grid; gap: 7px; }
.cfg-structure-list > button { min-height: 76px; padding: 8px; display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 14px; color: #0b3446; background: #fff; border: 1px solid var(--cfg-line); cursor: pointer; text-align: left; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.cfg-structure-list > button:hover { transform: translateX(3px); }
.cfg-structure-list > button.is-active { background: #e7f6fb; border-color: var(--cfg-cyan); }
.cfg-structure-list img, .cfg-structure-icon { width: 76px; height: 58px; object-fit: cover; }
.cfg-structure-icon { display: grid; place-items: center; color: #0789b7; background: #e7f6fb; font-size: 20px; font-weight: 800; }
.cfg-structure-list span:last-child { display: flex; flex-direction: column; }
.cfg-structure-list b { font-size: 13px; text-transform: uppercase; }
.cfg-structure-list small { margin-top: 3px; color: #718792; font-size: 11px; }
.cfg-roof-block { margin-top: 18px; }
.cfg-roof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.cfg-roof-grid button { padding: 0 0 9px; overflow: hidden; color: #0b3446; background: #fff; border: 2px solid transparent; cursor: pointer; font-size: 11px; text-transform: uppercase; transition: border-color .2s ease, transform .2s ease; }
.cfg-roof-grid button:hover { transform: translateY(-2px); }
.cfg-roof-grid button.is-active { border-color: var(--cfg-cyan); }
.cfg-roof-grid img { height: 75px; margin-bottom: 8px; object-fit: cover; }

.cfg-swatch-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
.cfg-swatch-grid button { min-width: 0; padding: 5px 5px 8px; color: #647c87; background: #fff; border: 2px solid transparent; cursor: pointer; font-size: 9px; font-weight: 700; text-transform: uppercase; transition: border-color .2s ease, transform .2s ease; }
.cfg-swatch-grid button:hover { transform: translateY(-2px); }
.cfg-swatch-grid button.is-active { color: #0b3446; border-color: var(--cfg-cyan); }
.cfg-swatch-grid i { height: 51px; margin-bottom: 7px; display: block; background: var(--swatch) center/cover; }
.cfg-gates-range { margin-top: 22px !important; }
.cfg-switch-row { min-height: 68px; margin: 7px 0 0 !important; padding: 14px 16px; position: relative; display: flex !important; align-items: center; justify-content: space-between; gap: 15px; color: #0b3446 !important; background: #fff; border: 1px solid var(--cfg-line); cursor: pointer; text-transform: none !important; }
.cfg-switch-row > span { display: flex; flex-direction: column; }
.cfg-switch-row b { font-size: 12px; text-transform: uppercase; }
.cfg-switch-row small { margin-top: 3px; color: #718792; font-size: 10px; font-weight: 400; }
.cfg-switch-row input { position: absolute; opacity: 0; pointer-events: none; }
.cfg-switch-row > i { width: 45px; height: 25px; flex: 0 0 auto; position: relative; background: #cddde3; transition: background .2s ease; }
.cfg-switch-row > i::after { width: 17px; height: 17px; position: absolute; top: 4px; left: 4px; background: #fff; content: ""; transition: transform .24s cubic-bezier(.22,.61,.36,1); }
.cfg-switch-row input:checked + i { background: var(--cfg-cyan); }
.cfg-switch-row input:checked + i::after { transform: translateX(20px); }
.cfg-switch-row input:focus-visible + i { outline: 3px solid rgba(72,188,229,.25); }

.cfg-equipment-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
.cfg-equipment-grid label { margin: 0 !important; position: relative; display: block !important; color: #0b3446 !important; cursor: pointer; text-transform: none !important; }
.cfg-equipment-grid input { position: absolute; opacity: 0; pointer-events: none; }
.cfg-equipment-grid label > span { min-height: 119px; padding: 13px; display: flex; flex-direction: column; background: #fff; border: 2px solid transparent; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.cfg-equipment-grid label:hover > span { transform: translateY(-2px); }
.cfg-equipment-grid input:checked + span { background: #e8f7fb; border-color: var(--cfg-cyan); }
.cfg-equipment-grid img, .cfg-equipment-grid span > i { width: 43px; height: 35px; margin-bottom: 9px; display: grid; place-items: center; object-fit: cover; color: #0789b7; background: #dff2f8; font-size: 16px; font-style: normal; font-weight: 800; }
.cfg-equipment-grid b { font-size: 11px; text-transform: uppercase; }
.cfg-equipment-grid small { margin-top: 2px; color: #728791; font-size: 9px; line-height: 1.35; }

.cfg-step--result .eyebrow { margin-bottom: 13px; }
.cfg-step--result h2 { font-size: 32px; }
.cfg-result-metrics { margin: 21px 0 16px; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--cfg-line); border-left: 1px solid var(--cfg-line); }
.cfg-result-metrics > div { min-height: 76px; padding: 13px; display: flex; flex-direction: column; justify-content: center; background: #fff; border-right: 1px solid var(--cfg-line); border-bottom: 1px solid var(--cfg-line); }
.cfg-result-metrics span { color: #7a9099; font-size: 9px; text-transform: uppercase; }
.cfg-result-metrics b { margin-top: 4px; font-size: 16px; line-height: 1.15; }
.cfg-result-list { margin: 0; }
.cfg-result-list > div { min-height: 36px; display: grid; grid-template-columns: 105px 1fr; gap: 12px; align-items: center; border-bottom: 1px solid var(--cfg-line); font-size: 11px; }
.cfg-result-list dt { color: #7b9099; }
.cfg-result-list dd { margin: 0; font-weight: 700; text-align: right; }
.cfg-result-note { margin: 14px 0 !important; padding-left: 11px; color: #718792 !important; border-left: 2px solid var(--cfg-cyan); font-size: 10px !important; }
.cfg-result-link { min-height: 48px; width: 100%; }

.cfg-controls__footer { min-height: 76px; padding: 12px 28px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border-top: 1px solid var(--cfg-line); }
.cfg-back { min-height: 48px; padding: 10px 8px; color: #52717e; background: transparent; border: 0; cursor: pointer; font-size: 13px; font-weight: 750; }
.cfg-back:disabled { opacity: .3; cursor: default; }
.cfg-next { min-width: 185px; min-height: 48px; padding: 13px 22px; cursor: pointer; }
.cfg-next span { margin-left: 18px; transition: transform .2s ease; }
.cfg-next:hover span { transform: translateX(4px); }

.cfg-passport { background: #eff8fb !important; }
.cfg-passport__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(540px, 1.05fr); gap: 80px; align-items: center; }
.cfg-passport__summary h2 { margin-bottom: 25px; }
.cfg-passport__summary > p:not(.eyebrow) { max-width: 650px; }
.cfg-passport__strip { margin-top: 38px; display: grid; grid-template-columns: 1.4fr .8fr .8fr; background: #fff; border-top: 3px solid var(--cfg-cyan); }
.cfg-passport__strip > div { min-height: 100px; padding: 20px 22px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--cfg-line); }
.cfg-passport__strip span { color: #79909a; font-size: 10px; text-transform: uppercase; }
.cfg-passport__strip b { margin-top: 6px; font-size: 16px; line-height: 1.2; text-transform: uppercase; }
.cfg-request-form { padding: 36px !important; background: #06394b !important; }
.cfg-request-form__head { margin-bottom: 24px; display: flex; align-items: center; justify-content: space-between; color: #fff; }
.cfg-request-form__head b { font-size: 19px; text-transform: uppercase; }
.cfg-request-form__head span { color: var(--cfg-cyan); font-size: 11px; text-transform: uppercase; }
.cfg-request-form__fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.cfg-request-form label { margin: 0 !important; }
.cfg-request-form label > span { display: none; }
.cfg-request-form input { width: 100%; min-height: 54px; padding: 15px 17px; color: #0b3446; background: #fff; border: 1px solid rgba(255,255,255,.16); outline: none; }
.cfg-request-form input:focus { border-color: var(--cfg-cyan); box-shadow: 0 0 0 3px rgba(72,188,229,.18); }
.cfg-request-form .button { width: 100%; margin-top: 10px; cursor: pointer; }
.cfg-request-form > small { margin-top: 12px; display: block; color: rgba(255,255,255,.45); font-size: 10px; }
.cfg-process { margin-top: 0; }
.cfg-faq { background: #fff !important; }

@keyframes cfgScan { 0% { left: -28%; } 50%, 100% { left: 108%; } }
@keyframes cfgPulse { 0% { box-shadow: 0 0 0 0 rgba(72,188,229,.55); } 75%,100% { box-shadow: 0 0 0 14px rgba(72,188,229,0); } }
@keyframes cfgStepIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 1500px) {
  .cfg-section { padding-top: 26px; }
  .cfg-heading { gap: 38px; }
  .cfg-workspace { grid-template-columns: minmax(0, 1.35fr) minmax(410px, .65fr); }
  .cfg-visual { grid-template-rows: 58px minmax(400px, 1fr) 76px 105px; }
  .cfg-controls { height: 750px; }
  .cfg-type-card img { height: 91px; }
  .cfg-type-card--wide img { height: 78px; }
  .cfg-live-metrics > div { padding: 18px 16px; }
}

@media (max-width: 1180px) {
  .cfg-section { min-height: 0; padding: 28px 0 60px; }
  .cfg-heading { grid-template-columns: 1fr; gap: 18px; }
  .cfg-heading > p { margin-left: 0; }
  .cfg-progress { overflow-x: auto; grid-template-columns: repeat(6, minmax(150px, 1fr)); }
  .cfg-workspace { grid-template-columns: 1fr; }
  .cfg-visual { min-height: 690px; grid-template-rows: 58px minmax(420px, 1fr) 76px 105px; border-right: 0; }
  .cfg-controls { height: auto; min-height: 690px; }
  .cfg-step { min-height: 535px; }
  .cfg-type-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cfg-type-card--wide { grid-column: span 1; }
  .cfg-type-card img, .cfg-type-card--wide img { height: 125px; }
  .cfg-passport__grid { grid-template-columns: 1fr; gap: 45px; }
}

@media (max-width: 760px) {
  .cfg-section { padding-top: 20px; }
  .cfg-breadcrumbs { margin-bottom: 18px; }
  .cfg-heading { margin-bottom: 22px; }
  .cfg-heading h1 { font-size: 42px; }
  .cfg-heading > p { font-size: 15px; }
  .cfg-progress button { min-height: 56px; padding: 10px 12px; }
  .cfg-workspace { box-shadow: 0 24px 54px rgba(0,16,24,.32); }
  .cfg-visual { min-height: 570px; grid-template-rows: auto 330px 76px auto; }
  .cfg-toolbar { min-height: 58px; padding: 8px 12px; align-items: stretch; }
  .cfg-view-switch { overflow-x: auto; }
  .cfg-view-switch button { padding: 0 10px; font-size: 10px; white-space: nowrap; }
  .cfg-view-switch button::after { right: 10px; left: 10px; }
  .cfg-time-toggle { padding: 0 10px; }
  .cfg-time-toggle span { display: none; }
  .cfg-scene__image { object-position: 57% center; }
  .cfg-dimension--width, .cfg-dimension--height { display: none; }
  .cfg-dimension--length { right: 8%; bottom: 22%; }
  .cfg-scene-caption { left: 18px; bottom: 17px; }
  .cfg-scene-caption b { max-width: 230px; font-size: 14px; }
  .cfg-build-sequence { padding: 0 14px; gap: 12px; }
  .cfg-build-button { min-width: 42px; width: 42px; overflow: hidden; white-space: nowrap; font-size: 0; }
  .cfg-build-button span { flex: 0 0 29px; font-size: 9px; }
  .cfg-build-sequence li span { font-size: 8px; }
  .cfg-live-metrics { grid-template-columns: repeat(2, 1fr); }
  .cfg-live-metrics > div { min-height: 72px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .cfg-live-metrics b { font-size: 16px; }
  .cfg-controls { min-height: 0; }
  .cfg-controls__head, .cfg-controls__footer { padding-right: 18px; padding-left: 18px; }
  .cfg-step { min-height: 590px; padding: 25px 18px 18px; }
  .cfg-step h2 { font-size: 28px; }
  .cfg-type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cfg-type-card--wide { grid-column: span 2; }
  .cfg-type-card img { height: 105px; }
  .cfg-type-card--wide img { height: 90px; }
  .cfg-equipment-grid { grid-template-columns: 1fr 1fr; }
  .cfg-passport__strip { grid-template-columns: 1fr; }
  .cfg-passport__strip > div { min-height: 75px; border-right: 0; border-bottom: 1px solid var(--cfg-line); }
  .cfg-request-form { padding: 26px 20px !important; }
  .cfg-request-form__head { align-items: flex-start; flex-direction: column; gap: 5px; }
  .cfg-request-form__fields { grid-template-columns: 1fr; }
}

@media (max-width: 440px) {
  .cfg-heading h1 { font-size: 37px; }
  .cfg-visual { grid-template-rows: auto 290px 72px auto; }
  .cfg-type-card img { height: 92px; }
  .cfg-step { min-height: 610px; }
  .cfg-swatch-grid { grid-template-columns: repeat(3, 1fr); }
  .cfg-roof-grid img { height: 63px; }
  .cfg-roof-grid b { font-size: 9px; }
  .cfg-scope-list { grid-template-columns: 1fr; }
  .cfg-scope-list button { border-right: 0; border-bottom: 1px solid var(--cfg-line); }
  .cfg-scope-list button:last-child { border-bottom: 0; }
  .cfg-result-metrics { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .cfg-scene__image, .cfg-wireframe__body, .cfg-facade-tint, .cfg-technical-overlay, .cfg-step { animation: none !important; transition: none !important; }
  .cfg-visual.view-scan .cfg-scan-beam, .cfg-hotspot { animation: none !important; }
}

/* Configurator v2: every visual state is a prepared render, never a colour overlay. */
.cfg-scene::before,
.cfg-scene::after { display: none; }
.cfg-visual.is-evening .cfg-scene__image { filter: none; }
.cfg-scene.is-loading .cfg-scene-status::after {
  width: 12px;
  height: 12px;
  margin-left: 8px;
  display: inline-block;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  content: "";
  vertical-align: -2px;
  animation: cfgSpin .7s linear infinite;
}
.cfg-scene-status {
  position: absolute;
  z-index: 9;
  top: 20px;
  right: 20px;
  padding: 9px 12px;
  color: #fff;
  background: rgba(3,43,58,.76);
  border: 1px solid rgba(117,213,242,.42);
  backdrop-filter: blur(10px);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.cfg-dimension {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .28s ease, transform .28s ease;
}
.cfg-visual.show-dimensions .cfg-dimension { opacity: 1; transform: none; }
.cfg-structure-list > button { min-height: 94px; grid-template-columns: 112px 1fr; }
.cfg-structure-list img { width: 112px; height: 74px; }
.cfg-swatch-grid i {
  position: relative;
  overflow: hidden;
  background: var(--swatch-color);
  box-shadow: inset 0 0 0 1px rgba(3,43,58,.12);
}
.cfg-swatch-grid i::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255,255,255,.28), transparent 45%, rgba(0,0,0,.12));
  content: "";
}
.cfg-visual-hint,
.cfg-colour-proof,
.cfg-dimensions-note {
  margin-top: 18px;
  padding: 15px 16px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: #607985;
  background: #e8f5fa;
  border-left: 3px solid var(--cfg-cyan);
  font-size: 11px;
  line-height: 1.45;
}
.cfg-visual-hint i {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  margin-top: 3px;
  background: var(--cfg-cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(72,188,229,.16);
}
.cfg-colour-proof,
.cfg-dimensions-note { flex-direction: column; gap: 4px; }
.cfg-colour-proof span,
.cfg-dimensions-note span { color: #0789b7; font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.cfg-colour-proof b,
.cfg-dimensions-note b { color: #355766; font-size: 11px; }

@keyframes cfgSpin { to { transform: rotate(360deg); } }

@media (max-width: 760px) {
  .cfg-scene-status { top: 12px; right: 12px; max-width: 180px; padding: 7px 9px; font-size: 8px; }
  .cfg-structure-list > button { grid-template-columns: 92px 1fr; }
  .cfg-structure-list img { width: 92px; height: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .cfg-scene.is-loading .cfg-scene-status::after { animation: none; }
  .cfg-dimension { transition: none; }
}
