:root {
  color-scheme: light;
  --ink: #252a25;
  --muted: #73786f;
  --soft-muted: #969b92;
  --line: #e7e9e3;
  --paper: #f6f7f3;
  --white: #fff;
  --green: #344d3c;
  --green-dark: #283c2e;
  --green-soft: #edf2ec;
  --gold: #bd9463;
  --shadow: 0 16px 48px rgba(34, 43, 33, .07);
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 14px; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #789078;
  outline-offset: 3px;
}

.site-header {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(28px, calc((100vw - 1500px) / 2));
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(43, 53, 43, .08);
}
.brand { display: inline-flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; }
.brand-mark {
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 50%; background: var(--green); color: white;
  font: 800 12px Manrope, sans-serif; letter-spacing: -1px;
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.2; letter-spacing: .8px; }
.brand-copy strong { font: 800 12px Manrope, sans-serif; }
.brand-copy small { margin-top: 3px; color: var(--muted); font-size: 8px; letter-spacing: 1.5px; }
.header-right { display: flex; align-items: center; gap: 25px; }
.header-note, .help-link { color: #687066; font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-decoration: none; }
.header-note { display: flex; align-items: center; }
.status-dot, .live-dot { width: 7px; height: 7px; display: inline-block; margin-right: 9px; border-radius: 50%; background: #819477; }
.help-link { padding-left: 24px; border-left: 1px solid var(--line); font-weight: 500; letter-spacing: 0; }

.app-shell { width: min(100% - 72px, 1540px); margin: 0 auto; padding: 25px 0 28px; }
.intro-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 19px; }
.eyebrow { margin: 0 0 7px; color: #788073; font-size: 9px; font-weight: 700; letter-spacing: 1.65px; }
.intro-row h1, .builder-heading h2, .modal-header h2 { margin: 0; font: 700 25px/1.18 Manrope, sans-serif; letter-spacing: -.7px; }
.intro-copy { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.text-button { border: 1px solid #d8e0d6; border-radius: 5px; background: white; color: var(--green); font-size: 11px; font-weight: 700; cursor: pointer; }
.reset-top { display: inline-flex; align-items: center; gap: 6px; min-height: 37px; padding: 0 12px; white-space: nowrap; box-shadow: 0 1px 3px rgba(38,46,36,.04); }
.text-button:hover { border-color: #aebca9; background: #f5f8f3; color: var(--green-dark); }

.workbench { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(350px, .78fr); align-items: start; gap: 20px; }
.stage-column { min-width: 0; }
.preview-card { overflow: hidden; background: white; border: 1px solid #e7e9e3; border-radius: 9px; box-shadow: 0 4px 18px rgba(38,46,36,.035); }
.preview-topline { height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 19px; }
.preview-title { display: flex; align-items: center; gap: 9px; color: #586056; font-size: 9px; font-weight: 700; letter-spacing: 1.1px; }
.live-dot { width: 6px; height: 6px; margin: 0; background: #718b68; }
.preview-divider { color: #c5c9c1; }
.icon-button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: #687265; font-size: 18px; cursor: pointer; }
.icon-button:hover, .canvas-tools button:hover { background: rgba(255,255,255,.9); color: var(--green); }
.canvas-wrap { position: relative; height: clamp(440px, 58vh, 700px); min-height: 420px; overflow: hidden; background: #e9ede6; }
#shedCanvas { display: block; width: 100%; height: 100%; touch-action: none; }
.loading-state, .canvas-error { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: #e9ede6; color: #667061; font-size: 12px; }
.loading-state.done { opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.spinner { width: 22px; height: 22px; border: 2px solid #cad2c5; border-top-color: var(--green); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.canvas-error strong { color: var(--ink); font: 700 17px Manrope, sans-serif; }
.canvas-error button { padding: 9px 14px; border: 1px solid #d8ded5; border-radius: 4px; background: white; cursor: pointer; }
.scene-badge { position: absolute; top: 17px; left: 17px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.68); border-radius: 30px; background: rgba(255,255,255,.78); color: #586255; font-size: 10px; backdrop-filter: blur(8px); }
.scene-icon { color: var(--green); font-size: 14px; }
.canvas-tools { position: absolute; right: 16px; bottom: 16px; display: flex; align-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.7); border-radius: 7px; background: rgba(255,255,255,.8); backdrop-filter: blur(8px); }
.canvas-tools button { width: 38px; height: 37px; border: 0; background: transparent; color: #4f5b4d; font-size: 17px; cursor: pointer; }
.tool-separator { width: 1px; height: 19px; background: #dfe3dc; }
.preview-bottom { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 16px; }
.view-switch { display: flex; gap: 3px; padding: 3px; border-radius: 5px; background: #f2f4f0; }
.view-mode, .view-presets button { border: 0; border-radius: 4px; background: transparent; color: #777e73; font-size: 10px; cursor: pointer; }
.view-mode { padding: 8px 12px; }
.view-mode.active { background: white; color: var(--green); box-shadow: 0 1px 4px rgba(30,40,30,.1); }
.view-presets { display: flex; align-items: center; gap: 3px; }
.view-presets button { padding: 7px 10px; }
.view-presets button:hover { color: var(--green); }
.view-presets button.active { background: var(--green-soft); color: var(--green); }
.preview-hint { height: 32px; display: flex; align-items: center; justify-content: center; gap: 9px; border-top: 1px solid #f0f1ed; color: #858b81; font-size: 9px; }
.preview-hint span { color: #66765e; font-size: 13px; }
.preview-hint i { color: #c4c9c0; font-style: normal; }
.stage-foot { display: flex; gap: 36px; padding: 13px 6px 0; }
.foot-item { display: flex; align-items: center; gap: 9px; color: #687265; }
.foot-icon { font-size: 17px; }
.foot-item strong, .foot-item small { display: block; }
.foot-item strong { font-size: 10px; font-weight: 600; }
.foot-item small { margin-top: 3px; color: #92978f; font-size: 9px; }

.builder-panel { position: sticky; top: 16px; display: flex; flex-direction: column; max-height: calc(100vh - 32px); min-height: 610px; overflow: hidden; background: white; border: 1px solid #e7e9e3; border-radius: 9px; box-shadow: 0 4px 18px rgba(38,46,36,.035); }
.builder-heading { display: flex; align-items: center; justify-content: space-between; padding: 18px 19px 13px; }
.builder-heading .eyebrow { margin-bottom: 5px; font-size: 8px; }
.builder-heading h2 { font-size: 20px; }
.step-count { padding: 6px 9px; border-radius: 30px; background: #f3f5f1; color: #7d8478; font-size: 9px; }
.step-count #selectionCount { color: var(--green); font-weight: 700; }
.category-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 0 16px 13px; border-bottom: 1px solid #eff0ec; }
.category-tab { min-height: 34px; display: flex; align-items: center; justify-content: flex-start; gap: 7px; padding: 0 8px; border: 0; border-radius: 4px; background: transparent; color: #858a82; font-size: 10px; text-align: left; cursor: pointer; transition: background .15s, color .15s; }
.category-tab span { color: #afb4ab; font: 600 8px Manrope, sans-serif; }
.category-tab:hover { background: #f7f8f5; color: var(--ink); }
.category-tab.active { background: var(--green-soft); color: var(--green); font-weight: 700; }
.category-tab.active span { color: #81927c; }
.option-scroll { min-height: 0; flex: 1; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: #dfe3dc transparent; scrollbar-width: thin; }
.option-section { padding: 18px 19px 20px; }
.option-section[hidden] { display: none; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-start; margin: 0 0 14px; }
.section-heading h3 { margin: 0; font: 650 15px/1.25 Manrope, sans-serif; letter-spacing: -.2px; }
.section-heading p { margin: 5px 0 0; color: #858b81; font-size: 10px; line-height: 1.45; }
.section-icon { color: #7f8d77; }
.field-label { display: block; margin: 14px 0 6px; color: #83897f; font-size: 8px; font-weight: 700; letter-spacing: 1.1px; }
.select-control, .compact-select, .placed-select, .color-picker select { min-width: 0; border: 1px solid #e3e6df; border-radius: 4px; background-color: white; color: #394239; }
.select-control { width: 100%; height: 39px; padding: 0 11px; font-size: 11px; }
.dimension-note { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-bottom: 12px; border-bottom: 1px solid #eff0ec; color: #858b81; font-size: 10px; }
.dimension-note strong { color: #55614f; font-size: 10px; font-weight: 600; }
.base-price-note { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; color: #7d847a; font-size: 10px; }
.base-price-note strong { color: var(--green); font: 700 12px Manrope, sans-serif; }
.roof-heading { margin-top: 23px; margin-bottom: 10px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.roof-choices { grid-template-columns: repeat(3, minmax(0,1fr)); }
.choice-card { position: relative; min-width: 0; padding: 12px; border: 1px solid #e7e9e3; border-radius: 5px; background: #fff; text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.choice-card:hover { border-color: #aeb9a9; }
.choice-card.selected { border-color: #71866b; background: #f7faf6; box-shadow: inset 0 0 0 1px #71866b; }
.choice-card strong, .choice-card small { display: block; }
.choice-card strong { margin-top: 5px; font-size: 10px; font-weight: 600; }
.choice-card small { margin-top: 3px; color: #8a9087; font-size: 9px; line-height: 1.35; }
.roof-choices .choice-card { padding: 10px 8px; }
.roof-choices .choice-card strong { font-size: 9px; }
.roof-choices .choice-card small { font-size: 8px; }
.roof-art { display: block; height: 29px; color: #71846d; font-size: 24px; line-height: 1; text-align: center; }
.mono-art { position: relative; transform: none!important; font-size: 24px!important; }
.mono-art:after { content: ""; position: absolute; left: calc(50% - 12px); top: 10px; width: 24px; border-top: 2px solid #83917c; transform: rotate(-16deg); }
.choice-check { position: absolute; top: 7px; right: 8px; display: none; color: var(--green); font-size: 10px; }
.choice-card.selected .choice-check { display: block; }

.subtabs { display: flex; gap: 4px; margin: -2px 0 11px; padding: 3px; border-radius: 5px; background: #f3f5f1; }
.subtab { flex: 1; min-height: 31px; border: 0; border-radius: 4px; background: transparent; color: #7d847b; font-size: 9px; cursor: pointer; }
.subtab.active { background: white; color: var(--green); box-shadow: 0 1px 4px rgba(30,40,30,.1); font-weight: 600; }
.choice-list { display: grid; gap: 5px; }
.option-choice { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 9px 10px; border: 1px solid #eceee9; border-radius: 4px; background: white; text-align: left; cursor: pointer; }
.option-choice:hover { border-color: #cbd3c7; }
.option-choice.selected { border-color: #879a80; background: #f8faf7; }
.option-choice:disabled { opacity: .52; cursor: not-allowed; }
.option-choice:disabled:hover { border-color: #eceee9; }
.option-choice>span:nth-child(2) { min-width: 0; flex: 1; }
.option-choice strong, .option-choice small { display: block; }
.option-choice strong { font-size: 10px; font-weight: 600; }
.option-choice small { margin-top: 3px; color: #858c82; font-size: 9px; }
.door-symbol, .window-symbol { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 4px; background: #f0f2ee; color: #6d7d67; font-size: 14px; }
.radio-check { width: 14px; height: 14px; border: 1px solid #d1d6ce; border-radius: 50%; }
.option-choice.selected .radio-check { border: 4px solid #617a5c; }
.placement-box { margin-top: 13px; padding: 12px; border-radius: 5px; background: #f7f8f5; }
.placement-title { display: flex; justify-content: space-between; margin-bottom: 9px; color: #83897e; font-size: 8px; font-weight: 700; letter-spacing: 1px; }
.placement-lock { color: #7a8974; font-size: 13px; }
.wall-select { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 4px; }
.wall-button { min-height: 29px; border: 1px solid #e5e8e1; border-radius: 3px; background: white; color: #777f74; font-size: 8px; cursor: pointer; }
.wall-button.active { border-color: #85977e; background: #edf2eb; color: var(--green); font-weight: 600; }
.placement-box .field-label { margin-top: 11px; }
.placement-box .select-control { height: 34px; background-color: white; }
.primary-button, .outline-button { min-height: 39px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 15px; border: 1px solid transparent; border-radius: 4px; font-size: 10px; font-weight: 600; cursor: pointer; transition: background .15s, border-color .15s; }
.primary-button { background: var(--green); color: white; }
.primary-button:hover { background: var(--green-dark); }
.outline-button { border-color: #dfe4db; background: white; color: #485647; }
.outline-button:hover { border-color: #9eae99; background: #f8faf7; }
.full-button { width: 100%; margin-top: 11px; }
.helper-copy { color: #878d84; font-size: 9px; line-height: 1.5; }
.placed-list { display: grid; gap: 6px; margin-top: 12px; }
.placed-heading { display: flex; align-items: center; justify-content: space-between; margin: 3px 0 1px; color: #70786e; font-size: 8px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.placed-heading span { min-width: 20px; padding: 3px 6px; border-radius: 12px; background: #f1f3ef; color: #697463; font-size: 8px; text-align: center; }
.placed-item { display: flex; align-items: flex-start; gap: 8px; padding: 9px; border: 1px solid #e9ece6; border-radius: 4px; }
.placed-item.is-editing { border-color: #9aab94; }
.placed-info { min-width: 0; flex: 1; }
.placed-title-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.placed-title-row strong { font-size: 9px; }
.placed-edit { padding: 2px 4px; border: 0; background: transparent; color: #60785a; font-size: 8px; font-weight: 700; cursor: pointer; }
.placed-edit:hover { text-decoration: underline; }
.placed-info>small { display: block; margin-top: 4px; color: #858b81; font-size: 8px; }
.placed-controls { display: flex; gap: 5px; margin-top: 7px; }
.placed-select { width: auto; max-width: 50%; padding: 5px 4px; color: #56604f; font-size: 8px; }
.placed-item>[data-remove] { border: 0; background: transparent; color: #969b93; font-size: 17px; cursor: pointer; }
.placed-item>[data-remove]:hover { color: #8c4943; }
.placed-item>.placed-remove { flex: none; padding: 6px 8px; border: 1px solid #eadbd8; border-radius: 3px; background: #fff; color: #8c4c45; font-size: 8px; font-weight: 600; cursor: pointer; }
.placed-item>.placed-remove:hover { border-color: #d8b7b1; background: #fff7f6; }

.siding-heading { margin: 2px 0 9px; }
.siding-choices { margin-bottom: 15px; }
.siding-swatch { display: block; width: 100%; height: 48px; margin-bottom: 5px; border-radius: 3px; background: #d8d4c9; background-image: repeating-linear-gradient(0deg,transparent 0 9px,#aaa79c 10px,#eeeae0 11px 12px),linear-gradient(90deg,#ded9ce,#f1eee6,#d4cfc4); }
.wood-swatch { background-image: linear-gradient(rgba(65,48,30,.08),rgba(65,48,30,.12)),url("wooded-siding-and-trim-2.jpg"); background-size: cover; background-position: center 55%; }
.metal-swatch { background-image: linear-gradient(rgba(42,50,48,.1),rgba(42,50,48,.1)),url("metalsiding-and-trim.jpg"); background-size: cover; background-position: center 58%; }
.color-options { margin: 5px 0 15px; padding: 3px 12px; border: 1px solid #eceee9; border-radius: 5px; }
.color-options .section-heading { margin: 9px 0 4px; }
.color-options .section-heading h3 { font-size: 12px; }
.color-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 0; border-top: 1px solid #eff0ec; }
.color-row>span:first-child { min-width: 0; }
.color-row strong, .color-row small { display: block; }
.color-row strong { font-size: 9px; }
.color-row small { margin-top: 3px; color: #8b9187; font-size: 8px; }
.color-picker { display: flex; align-items: center; gap: 6px; flex: none; }
.color-picker i { width: 17px; height: 17px; display: block; border: 1px solid #c7ccc3; border-radius: 50%; box-shadow: inset 0 0 0 1px #ffffff70; }
.color-picker select { width: 132px; max-width: 36vw; height: 31px; padding: 0 5px; font-size: 9px; }
.wood-color-note { margin: 0; padding: 0 0 9px; color: #898f84; font-size: 8px; line-height: 1.4; }
.feature-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px solid #eff0ec; }
.feature-copy strong, .feature-copy small { display: block; }
.feature-copy strong { font-size: 9px; }
.feature-copy small { margin-top: 3px; color: #858c82; font-size: 8px; }
.compact-select { max-width: 53%; height: 31px; padding: 0 6px; font-size: 9px; }
.toggle-card { width: 100%; min-height: 54px; display: flex; align-items: center; gap: 11px; margin-top: 7px; padding: 9px 10px; border: 1px solid #e9ece6; border-radius: 5px; background: white; text-align: left; cursor: pointer; }
.toggle-card:hover { border-color: #bdc9b8; }
.toggle-icon { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 4px; background: #f3f5f1; color: #73816c; font-size: 14px; }
.toggle-card>span:nth-child(2) { min-width: 0; flex: 1; }
.toggle-card strong, .toggle-card small { display: block; }
.toggle-card strong { font-size: 9px; font-weight: 600; }
.toggle-card small { margin-top: 4px; color: #878d83; font-size: 8px; }
.toggle-indicator { width: 27px; height: 16px; position: relative; flex: none; border-radius: 9px; background: #dfe3dc; transition: background .15s; }
.toggle-indicator:after { content: ""; width: 12px; height: 12px; position: absolute; top: 2px; left: 2px; border-radius: 50%; background: white; box-shadow: 0 1px 2px #0002; transition: transform .15s; }
.toggle-card[aria-pressed="true"] { border-color: #b6c5b0; background: #fafcf9; }
.toggle-card[aria-pressed="true"] .toggle-indicator { background: #698064; }
.toggle-card[aria-pressed="true"] .toggle-indicator:after { transform: translateX(11px); }
.toggle-card:disabled { opacity: .48; cursor: not-allowed; }
.nested-toggle { margin: 6px 0 0 15px; width: calc(100% - 15px); }
.notice-box { margin-top: 10px; padding: 10px; border-radius: 4px; background: #f5f6f2; color: #777f74; font-size: 9px; line-height: 1.5; }
.divider { height: 1px; margin: 17px 0; background: #eceee9; }
.compact-heading { margin: 0 0 8px; }
.compact-heading h3 { font-size: 12px; }
.check-row { display: flex; align-items: center; gap: 10px; width: 100%; margin: 6px 0; padding: 10px; border: 1px solid #eceee9; border-radius: 4px; background: white; text-align: left; cursor: pointer; }
.check-row input { width: 15px; height: 15px; accent-color: var(--green); }
.check-row strong, .check-row small { display: block; }
.check-row strong { font-size: 9px; }
.check-row small { margin-top: 3px; color: #858b81; font-size: 8px; }
.interior-jump { margin-top: 13px; }

.panel-bottom { flex: none; padding: 13px 18px 15px; border-top: 1px solid #eceee9; background: white; }
.price-total { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 0 1px 10px; }
.price-total>span:first-child small, .price-total>span:first-child strong { display: block; }
.price-total>span:first-child small { color: #838a80; font-size: 8px; font-weight: 700; letter-spacing: 1px; }
.price-total>span:first-child strong { margin-top: 3px; color: var(--green); font: 700 21px Manrope, sans-serif; letter-spacing: -.4px; }
.price-caption { max-width: 130px; color: #90968d; font-size: 8px; line-height: 1.4; text-align: right; }
.summary-open { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border: 0; border-top: 1px solid #f0f1ed; background: transparent; text-align: left; cursor: pointer; }
.summary-leading { display: flex; align-items: center; gap: 10px; }
.summary-icon { color: #71816b; font-size: 17px; }
.summary-leading strong, .summary-leading small { display: block; }
.summary-leading strong { font-size: 9px; font-weight: 600; }
.summary-leading small { margin-top: 3px; color: #858c82; font-size: 8px; }
.summary-arrow { color: #73836d; font-size: 14px; }
.inquire-button { width: 100%; justify-content: space-between; padding: 0 14px; }
.inquire-button span { font-size: 14px; }

.terms-strip { display: grid; grid-template-columns: 1.05fr 1fr 1fr 1fr; gap: 22px; margin-top: 35px; padding: 20px 0; border-top: 1px solid #e4e7df; border-bottom: 1px solid #e4e7df; }
.terms-title, .term { display: flex; align-items: flex-start; gap: 10px; }
.terms-title strong, .term strong { display: block; font-size: 10px; font-weight: 600; }
.terms-title small, .term small { display: block; margin-top: 5px; color: #81877e; font-size: 9px; line-height: 1.5; }
.terms-title small { max-width: 170px; }
.terms-icon, .term-icon { color: #74826c; font-size: 16px; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-top: 18px; color: #878d83; font-size: 8px; letter-spacing: .8px; }
footer a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

.modal { width: min(620px, calc(100% - 28px)); max-width: 620px; max-height: min(88vh, 850px); padding: 0; overflow: auto; border: 1px solid #e5e8e1; border-radius: 8px; background: white; box-shadow: var(--shadow); }
.modal::backdrop { background: rgba(27, 34, 28, .4); backdrop-filter: blur(2px); }
.modal-card { padding: 24px; }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; padding-bottom: 15px; border-bottom: 1px solid #eceee9; }
.modal-header h2 { font-size: 21px; }
.modal-close { width: 30px; height: 30px; border: 0; border-radius: 50%; background: #f3f5f1; color: #626c60; font-size: 19px; cursor: pointer; }
.modal-intro { color: #747b72; font-size: 11px; line-height: 1.55; }
.summary-content { max-height: 53vh; overflow: auto; }
.summary-group { padding: 13px 0; border-bottom: 1px solid #eceee9; }
.summary-group h3 { margin: 0 0 8px; font: 650 12px Manrope, sans-serif; }
.summary-group p { display: flex; justify-content: space-between; gap: 12px; margin: 6px 0; color: #737a71; font-size: 10px; line-height: 1.4; }
.summary-group strong { color: var(--green); }
.summary-price { border-top: 1px solid #e5e8e1; padding-top: 10px; }
.summary-price p { display: flex; justify-content: space-between; gap: 12px; }
.price-line-note { color: #858b80!important; font-size: 9px!important; }
.summary-actions, .form-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin: 17px 0; }
.form-grid label { display: flex; flex-direction: column; gap: 6px; color: #4f584d; font-size: 10px; font-weight: 600; }
.form-grid label>span { color: #8a9087; font-weight: 400; }
.form-grid input, .form-grid textarea { width: 100%; min-height: 37px; padding: 8px 10px; border: 1px solid #e2e6df; border-radius: 4px; background: white; font-size: 11px; }
.form-grid textarea { resize: vertical; }
.wide-field { grid-column: 1 / -1; }
.input-suffix { display: flex; align-items: center; border: 1px solid #e2e6df; border-radius: 4px; }
.input-suffix input { border: 0; }
.input-suffix>span { padding-right: 10px; color: #848b82; font-size: 9px; }
.delivery-estimate, .payment-note { padding: 11px; border-radius: 4px; background: #f5f7f3; color: #737b70; font-size: 10px; line-height: 1.5; }
.payment-note { background: transparent; padding-inline: 0; }
.form-success { margin-top: 12px; color: #456a44; font-size: 10px; }
.form-error { margin-top: 12px; color: #9a3f3a; font-size: 10px; line-height: 1.5; }
.honeypot { position: absolute!important; width: 1px!important; height: 1px!important; overflow: hidden!important; clip-path: inset(50%)!important; white-space: nowrap!important; }
.toast { position: fixed; z-index: 20; left: 50%; bottom: 22px; max-width: calc(100vw - 30px); padding: 11px 16px; border-radius: 5px; background: #2e3d31; color: white; font-size: 10px; opacity: 0; pointer-events: none; transform: translate(-50%, 8px); transition: opacity .18s, transform .18s; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
[hidden] { display: none!important; }

@media (max-width: 1100px) {
  .app-shell { width: min(100% - 40px, 1540px); }
  .workbench { grid-template-columns: minmax(0, 1.35fr) minmax(330px, .85fr); gap: 14px; }
  .builder-panel { max-height: calc(100vh - 24px); top: 12px; }
  .category-nav { padding-inline: 12px; }
  .category-tab { font-size: 9px; }
  .option-section { padding-inline: 15px; }
}
@media (max-width: 900px) {
  .site-header { height: 62px; padding: 0 18px; }
  .header-note { display: none; }
  .header-right { gap: 0; }
  .help-link { padding-left: 0; border: 0; font-size: 10px; }
  .app-shell { width: min(100% - 28px, 700px); padding-top: 21px; }
  .intro-row { margin-bottom: 14px; }
  .intro-row h1 { font-size: 22px; }
  .intro-copy { max-width: 320px; font-size: 11px; line-height: 1.45; }
  .workbench { display: flex; flex-direction: column; gap: 13px; }
  .stage-column, .builder-panel { width: 100%; }
  .canvas-wrap { height: clamp(350px, 67vw, 520px); min-height: 330px; }
  .stage-foot { display: none; }
  .builder-panel { position: static; max-height: none; min-height: 0; overflow: visible; }
  .builder-heading { padding: 16px 17px 12px; }
  .builder-heading h2 { font-size: 19px; }
  .category-nav { grid-template-columns: repeat(6, max-content); justify-content: start; gap: 5px; overflow-x: auto; padding: 0 13px 11px; scrollbar-width: none; }
  .category-nav::-webkit-scrollbar { display: none; }
  .category-tab { min-height: 34px; padding: 0 9px; font-size: 9px; white-space: nowrap; }
  .option-scroll { overflow: visible; }
  .option-section { padding: 17px; }
  .panel-bottom { position: sticky; bottom: 0; z-index: 4; border-radius: 0 0 8px 8px; box-shadow: 0 -8px 20px rgba(30,38,29,.05); }
  .terms-strip { grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; padding: 16px 0; }
  .terms-title small { max-width: none; }
  footer { font-size: 7px; }
}
@media (max-width: 520px) {
  .site-header { padding: 0 13px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-copy strong { font-size: 11px; }
  .brand-copy small { font-size: 7px; }
  .app-shell { width: calc(100% - 20px); padding-top: 17px; }
  .intro-row h1 { font-size: 20px; }
  .intro-copy { max-width: 235px; font-size: 10px; }
  .reset-top { min-height: 33px; padding: 0 8px; font-size: 9px; }
  .preview-card, .builder-panel { border-radius: 7px; }
  .preview-topline { height: 42px; padding: 0 11px; }
  .preview-title { gap: 7px; font-size: 8px; }
  .canvas-wrap { height: 76vw; min-height: 300px; max-height: 430px; }
  .scene-badge { top: 11px; left: 11px; padding: 7px 9px; }
  .canvas-tools { right: 10px; bottom: 10px; }
  .canvas-tools button { width: 34px; height: 34px; }
  .preview-bottom { min-height: 0; align-items: stretch; flex-direction: column; gap: 8px; padding: 9px 10px; }
  .view-switch { align-self: flex-start; }
  .view-presets { width: 100%; justify-content: space-between; }
  .view-presets button { flex: 1; padding: 7px 5px; }
  .preview-hint { height: 30px; gap: 5px; font-size: 8px; }
  .builder-heading { padding: 14px 13px 10px; }
  .category-nav { padding-inline: 8px; }
  .option-section { padding: 15px 13px; }
  .choice-grid { gap: 6px; }
  .roof-choices { gap: 5px; }
  .roof-choices .choice-card { padding: 9px 5px; }
  .roof-choices .choice-card small { font-size: 7px; }
  .siding-swatch { height: 40px; }
  .color-row { align-items: flex-start; }
  .color-row small { max-width: 180px; }
  .color-picker select { width: 117px; max-width: 38vw; }
  .panel-bottom { padding: 11px 13px 13px; }
  .terms-strip { gap: 12px; padding: 13px 0; }
  .terms-title, .term { gap: 6px; }
  .terms-title strong, .term strong { font-size: 9px; }
  .terms-title small, .term small { font-size: 8px; }
  footer { flex-direction: column; align-items: flex-start; gap: 7px; }
  .form-grid { grid-template-columns: 1fr; }
  .wide-field { grid-column: auto; }
  .modal-card { padding: 17px; }
  .summary-actions { flex-wrap: wrap; }
  .summary-actions button { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto!important; animation-duration: .01ms!important; transition-duration: .01ms!important; }
}
@media print {
  body { background: white; }
  .site-header, .intro-row, .workbench, .terms-strip, footer, .toast { display: none!important; }
  .modal:not([open]) { display: none!important; }
  .modal[open] { position: static!important; display: block!important; width: 100%; max-width: none; max-height: none; overflow: visible; border: 0; box-shadow: none; }
  .modal::backdrop { display: none; }
  .modal-card { padding: 0; }
  .modal-close, .summary-actions { display: none!important; }
  .summary-content { max-height: none; overflow: visible; }
  .summary-group { break-inside: avoid; }
}
