:root {
  color-scheme: dark;
  --bg: #191919;
  --panel: #242424;
  --inset: #1e1e1e;
  --lift: #30302f;
  --stroke: #383836;
  --text: #f5f3ee;
  --muted: #b4b1aa;
  --accent: #d8f2a4;
  --gold: #ebc48b;
  --radius: 22px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { min-width: 300px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 1rem/1.45 var(--font); }
button, input, select, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, canvas:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}
a { color: var(--accent); text-underline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure, dl { margin: 0; }
[hidden] { display: none !important; }
.symbols, .visually-hidden { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.icon { width: 1.12rem; height: 1.12rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.72; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { background: var(--accent); color: #20271b; position: fixed; top: 10px; left: 10px; z-index: 60; padding: 10px 15px; opacity: 0; pointer-events: none; border-radius: 10px; }
.skip-link:focus { opacity: 1; pointer-events: auto; }
.shell { width: min(1370px, calc(100% - 56px)); margin-inline: auto; }
.panel { background: var(--panel); border-radius: var(--radius); min-width: 0; }
.muted { color: var(--muted); }
.gold { color: var(--gold) !important; }
.nowrap { white-space: nowrap; }
.button, .icon-button {
  min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: 0; padding: 9px 13px; border-radius: 12px; background: var(--lift); color: var(--text);
  text-decoration: none; text-align: center; font-weight: 650; font-size: .88rem; line-height: 1.25;
}
.button:hover, .icon-button:hover { background: #3e3d38; }
.button.primary { background: #f1f0eb; color: #191918; }
.button.primary:hover { background: #fff; }
.button.subdued { background: #323230; }
.button.subdued:hover { background: #40403b; }
.button.small { min-height: 36px; padding: 7px 10px; font-size: .84rem; }
.icon-button { min-width: 42px; padding: 7px; }
.icon-button.compact { min-height: 36px; min-width: 36px; }
.quiet-link { font-size: .89rem; }
.form-stack { display: grid; gap: 12px; align-content: start; }
.field { display: grid; min-width: 0; gap: 5px; font-size: .88rem; font-weight: 610; }
.field-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
input:not([type="checkbox"]), select, textarea { border: 1px solid #44423c; border-radius: 10px; background: #2d2d2b; color: var(--text); padding: 9px 10px; min-height: 41px; min-width: 0; max-width: 100%; }
input[type="checkbox"] { width: 18px; height: 18px; accent-color: #c8e59d; margin: 0; cursor: pointer; }
select { appearance: none; padding-right: 30px; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, #c5c0b5 50%),linear-gradient(135deg,#c5c0b5 50%,transparent 50%); background-position: calc(100% - 16px) 50%,calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
textarea { resize: vertical; }
.inset { background: var(--inset); padding: 15px; border-radius: 15px; }
.section-panel { padding: 20px; }
.section-heading, .panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.section-heading { margin-bottom: 15px; flex-wrap: wrap; }
.section-heading h2, .visual-title h2 { letter-spacing: -.037em; font-size: clamp(1.34rem,2vw,1.83rem); line-height: 1.12; }
.panel-heading h2, .quote-panel h2 { letter-spacing: -.032em; font-size: 1.27rem; line-height: 1.17; }
.section-heading p, .panel-heading p { margin-top: 5px; color: var(--muted); font-size: .88rem; }
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 7px 18px; color: var(--muted); font-size: .8rem; padding: 22px 0 28px; }
.empty { padding: 17px; font-size: .9rem; color: var(--muted); }
.table-wrap { overflow-x: auto; min-width: 0; }
.table-wrap:focus-visible { outline-offset: 1px; }

.manager-mode { padding-left: 80px; }
.work-rail { position: fixed; z-index: 15; top: 10px; left: 10px; bottom: 10px; width: 62px; display: flex; flex-direction: column; gap: 20px; padding: 9px 8px; border-radius: 18px; background: #292929; overflow: hidden; transition: width .15s; }
.work-rail:hover, .work-rail:focus-within { width: 210px; box-shadow: 10px 4px 36px #111b; }
.work-logo, .rail-person { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.work-logo, .workspace-path a, .platform-signature { color: var(--text); text-decoration: none; }
.work-rail:not(:hover):not(:focus-within) :is(.work-logo strong,.rail-person strong,.tool-label) { opacity: 0; }
.work-logo strong { font-size: 1.19rem; letter-spacing: -.045em; }
.work-logo img { width: 39px; height: 39px; object-fit: contain; margin-left: 3px; flex: none; }
.rail-nav { display: grid; gap: 6px; }
.rail-button { display: flex; font-size: .88rem; font-weight: 640; align-items: center; gap: 9px; border: 0; padding: 5px 4px; min-height: 44px; border-radius: 11px; text-align: left; background: transparent; white-space: nowrap; }
.rail-button:hover, .rail-button[aria-current] { background: #3b3a35; }
.rail-person { margin-top: auto; font-size: .87rem; }
.rail-person span { display: grid; place-items: center; margin-left: 5px; width: 36px; height: 36px; flex: none; border-radius: 15px; color: #3e3426; background: #d9c8aa; font-weight: 780; }
.manager-page { width: min(1440px,calc(100% - 40px)); }
.workspace-top { display: flex; justify-content: space-between; align-items: center; min-height: 60px; gap: 10px; font-size: .88rem; }
.workspace-path { color: var(--muted); }
.workspace-path span { margin: 0 6px; color: #8f897e; }
.workspace-path strong { color: var(--text); }
.preview-pill { border-radius: 10px; background: #32312e; color: #e5d7c1; padding: 6px 10px; font-size: .77rem; font-weight: 650; white-space: nowrap; }
.work-head {
  min-height: 140px; position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; padding: 20px 26px; border-radius: var(--radius);
  background: linear-gradient(109deg,#332f28 0%,#2e2c27 66%,#40372b 100%);
}
.work-head h1 { font-size: clamp(2rem,4vw,3.22rem); line-height: 1.03; letter-spacing: -.055em; }
.work-head p { color: #d0c8ba; margin-top: 8px; }
.work-head img { position: absolute; z-index: -1; width: clamp(120px,16vw,200px); right: 4%; top: 50%; transform: translateY(-50%); object-fit: contain; }
.tool-tabs { display: flex; gap: 8px; margin: 14px 0; }
.tool-button { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 6px 11px 6px 7px; text-align: left; border: 1px solid transparent; border-radius: 13px; color: var(--text); background: #242424; font-size: .88rem; font-weight: 690; }
.tool-button:hover, .tool-button[aria-current] { background: #363631; border-color: #535348; }
.tool-symbol { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; flex: none; }
.tool-symbol .icon { width: 19px; height: 19px; }
.tool-symbol.green { color: #d9f0a9; background: #3c4833; }
.tool-symbol.amber { color: #f2d097; background: #4b3e2a; }
.tool-symbol.mint { color: #b1e3d2; background: #34453e; }
.workspace-grid { display: grid; grid-template-columns: minmax(0,1.58fr) minmax(342px,1fr); gap: 13px; align-items: start; }
.work-main { display: grid; gap: 12px; min-width: 0; }
.project-bar { display: flex; align-items: stretch; gap: 13px; padding: 11px; }
.project-bar > img { width: min(24%,150px); min-width: 80px; height: 95px; object-fit: cover; border-radius: 13px; }
.project-bar > .plan-cover { object-fit: contain; background: #f2eee6; }
.project-details { align-self: center; min-width: 0; flex: 1; }
.project-details select { width: min(300px,100%); }
.project-details p { color: var(--muted); font-size: .85rem; margin-top: 5px; }
.inventory-panel, .manager-builder { padding: 16px; }
.inventory-search { display: flex; align-items: center; padding-left: 9px; margin: 12px 0 7px; border-radius: 11px; background: #2e2e2c; color: var(--muted); }
.inventory-search input { width: 100%; border: 0; background: transparent; }
.inventory-table, .compare-table, .price-table { width: 100%; border-collapse: collapse; text-align: left; font-size: .88rem; }
.inventory-table th, .inventory-table td { padding: 8px; border-bottom: 1px solid var(--stroke); }
.inventory-table th { color: var(--muted); font-size: .78rem; font-weight: 610; white-space: nowrap; }
.inventory-table td:last-child { text-align: right; }
.inventory-table th:first-child, .inventory-table td:first-child { text-align: center; }
.inventory-table tr:last-child td { border-bottom: 0; }
.inventory-table td strong, .inventory-table td small { display: block; }
.inventory-table td small { color: var(--muted); margin-top: 2px; }
.inventory-table .focused-row { background: #30332b; }
.include-lot { display: inline-grid; align-items: center; min-height: 32px; min-width: 32px; justify-items: center; cursor: pointer; }
.lot-open { display: flex; align-items: center; gap: 7px; background: transparent; border: 0; padding: 0; text-align: left; }
.lot-open:hover strong { color: var(--accent); }
.lot-open img { width: 43px; height: 43px; object-fit: contain; background: #f6f5ef; border-radius: 8px; }
.builder-preview { position: relative; overflow: hidden; border-radius: 13px; margin: 11px 0; }
.builder-preview img { width: 100%; aspect-ratio: 2.4; object-fit: cover; object-position: 50% 48%; }
.builder-preview span, .stage-caption { position: absolute; left: 9px; bottom: 9px; color: #f2f0eb; background: #191918e8; border-radius: 8px; padding: 5px 8px; font-size: .77rem; }
.builder-form { gap: 8px; }
.builder-total { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 9px; margin: 10px 0; padding: 9px 10px; border-radius: 11px; background: #343c2e; font-size: .88rem; }
.builder-total strong, .price-total strong { color: var(--accent); font-size: 1.22rem; font-weight: 770; }
.builder-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.builder-actions .span-two { grid-column: 1/-1; }
.mini-tools { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); padding: 7px; gap: 7px; }
.mini-tool { display: flex; align-items: center; gap: 8px; background: #2a2a29; border: 0; padding: 9px; border-radius: 12px; text-align: left; }
.mini-tool:hover { background: #33332e; }
.mini-tool strong, .mini-tool small { display: block; font-size: .87rem; }
.mini-tool small { color: var(--muted); font-size: .78rem; margin-top: 2px; }
.choice-note { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 13px; margin-bottom: 11px; font-size: .88rem; border-radius: 12px; background: #343b2c; }
.choice-note span, .saved-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.saved-list { display: grid; gap: 8px; }
.saved-card { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; background: var(--inset); border-radius: 13px; padding: 9px; }
.saved-card img { width: 52px; height: 52px; border-radius: 9px; object-fit: contain; background: #f2efea; }
.saved-card h3 { font-size: .99rem; }
.saved-card p { font-size: .82rem; color: var(--muted); }
.saved-actions { margin-left: auto; }
.showroom-note { font-size: .88rem; margin-top: 12px; }

.presentation-top { border-bottom: 1px solid #30302c; }
.presentation-top-inner { display: flex; align-items: center; justify-content: space-between; gap: 11px; min-height: 59px; }
.developer-wordmark { font-size: 1.27rem; font-weight: 780; letter-spacing: -.05em; }
.platform-signature { display: flex; align-items: center; gap: 6px; font-size: 1rem; font-weight: 700; letter-spacing: -.035em; }
.platform-signature img { width: 23px; height: 23px; object-fit: contain; }
.presentation-page { padding-top: 14px; }
.client-hero { position: relative; isolation: isolate; min-height: 211px; border-radius: var(--radius); overflow: hidden; background: #2b2a24; display: flex; align-items: flex-end; padding: 22px 25px; }
.client-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,#22221f 0%,#22221fe3 30%,#21211d00 73%),linear-gradient(0deg,#1d1d1bbd,transparent 65%); }
.client-hero.plain { min-height: 156px; background: linear-gradient(112deg,#292823,#3d382d); }
.client-hero.plain::before { display: none; }
.client-cover { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 86%; height: 100%; object-fit: cover; object-position: 58% 45%; }
.client-place { display: flex; align-items: center; gap: 5px; font-size: .88rem; color: #f2ede2; }
.client-place .icon { width: 16px; height: 16px; }
.client-hero h1 { font-size: clamp(2.1rem,5vw,4rem); letter-spacing: -.061em; line-height: 1; margin: 5px 0 11px; }
.ready-label { display: inline-flex; align-items: center; gap: 6px; color: #edf0e0; padding: 4px 8px; border-radius: 8px; background: #252820c9; font-size: .83rem; }
.ready-label i { width: 7px; height: 7px; border-radius: 50%; background: #cced8e; }
.client-tabs { display: flex; gap: 18px; border-bottom: 1px solid var(--stroke); margin: 9px 0 13px; }
.section-tab { border: 0; background: none; color: var(--muted); position: relative; padding: 10px 0 11px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: .89rem; font-weight: 670; }
.section-tab:hover, .section-tab[aria-current] { color: var(--text); }
.section-tab[aria-current]::after { content: ""; position: absolute; inset: auto 0 -1px; height: 2px; background: var(--accent); border-radius: 2px; }
.section-tab .count { color: var(--accent); background: #3a4433; padding: 0 5px; border-radius: 7px; font-size: .78rem; }
.lot-strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-bottom: 11px; }
.lot-card { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 8px 11px; background: var(--panel); border: 1px solid transparent; border-radius: 14px; text-align: left; }
.lot-card:hover, .lot-card[aria-pressed="true"] { background: #2e322b; }
.lot-card[aria-pressed="true"] { border-color: #737f64; }
.lot-card img { width: 47px; height: 47px; flex: none; border-radius: 8px; object-fit: contain; background: #f2f1ec; }
.lot-card strong, .lot-card small { display: block; }
.lot-card strong { font-size: .95rem; line-height: 1.22; }
.lot-card small { color: var(--muted); font-size: .78rem; margin-top: 3px; }
.lot-card-price { margin-left: auto; white-space: nowrap; text-align: right; }
.client-grid { display: grid; grid-template-columns: minmax(0,1.78fr) minmax(300px,1fr); gap: 13px; align-items: start; }
.client-visual { padding: 12px; min-width: 0; overflow: hidden; }
.visual-title { display: flex; align-items: center; gap: 8px; justify-content: space-between; padding: 4px 3px 10px; }
.visual-title p { color: var(--muted); margin-top: 4px; font-size: .85rem; }
.view-switch { width: max-content; max-width: 100%; display: flex; gap: 3px; padding: 3px; border-radius: 11px; background: var(--inset); margin: 0 0 8px; }
.view-button { display: flex; align-items: center; gap: 5px; min-height: 34px; padding: 5px 9px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: .83rem; font-weight: 640; white-space: nowrap; }
.view-button:hover, .view-button[aria-pressed="true"] { background: #383934; color: var(--text); }
.view-button .icon { width: 15px; height: 15px; }
.visual-config { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 7px 18px; margin: 8px 0 10px; }
.config-row { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; min-width: 0; }
.config-row > span { color: var(--muted); font-size: .81rem; }
.choice-list { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.choice { display: flex; align-items: center; gap: 6px; border: 1px solid #3c3b35; border-radius: 10px; background: #2d2d2a; min-height: 35px; font-size: .8rem; padding: 5px 8px; }
.choice:hover, .choice[aria-pressed="true"] { background: #3c4434; border-color: #6f825b; }
.swatch { width: 13px; height: 13px; display: inline-block; background: var(--swatch); border-radius: 4px; }
.media-stage { position: relative; border-radius: 13px; overflow: hidden; background: #1d1d1b; }
.media-stage img { width: 100%; max-height: 63vh; object-fit: cover; }
.interior-stage img { aspect-ratio: 2.12; object-position: center 49%; }
.plan-stage { background: #f3f2ee; }
.plan-stage img { aspect-ratio: 1.9; object-fit: contain; }
.floating { position: absolute; right: 8px; bottom: 8px; background: #252323ed; }
.room-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px 8px; margin-top: 8px; }
.room-grid > div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; column-gap: 6px; background: #30302d; padding: 7px 8px; border-radius: 8px; font-size: .85rem; }
.room-grid span { color: var(--muted); }
.feature-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.chip { border-radius: 7px; background: #34342f; padding: 5px 7px; font-size: .8rem; color: #e4e1d6; }
.client-aside { display: grid; gap: 10px; min-width: 0; }
.quote-panel, .side-panel { padding: 15px; }
.price-rows { display: grid; gap: 8px; margin: 12px 0 9px; }
.price-rows div { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; font-size: .91rem; }
.price-rows dt { color: var(--muted); }
.price-rows dd { margin: 0; font-weight: 670; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-rows .subtotal { border-top: 1px solid var(--stroke); padding-top: 6px; }
.price-rows .subtotal dt { color: var(--text); }
.price-total { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 3px 7px; background: #353e2e; border-radius: 12px; padding: 8px 10px; font-size: .88rem; }
.price-total strong { font-size: 1.43rem; line-height: 1.2; letter-spacing: -.036em; }
.price-date { color: var(--muted); font-size: .77rem; margin: 7px 1px 9px; }
.quote-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
.quote-actions .primary { grid-column: 1/-1; }
.quote-actions .button { padding-inline: 6px; }
.side-panel h2 { font-size: 1.04rem; letter-spacing: -.015em; }
.side-panel p { color: var(--muted); font-size: .86rem; margin: 4px 0 7px; }
.terrace-note { color: var(--gold) !important; font-size: .87rem; margin-top: 8px; }

.scene { min-width: 0; }
.scene-stage { position: relative; isolation: isolate; min-height: 260px; aspect-ratio: 1.97; border-radius: 13px; overflow: hidden; background: radial-gradient(ellipse at 51% 47%, #3c3c32 0%,#292a24 50%,#20201e 100%); }
.scene-stage canvas { display: block; width: 100%; height: 100%; position: absolute; inset: 0; touch-action: none; cursor: grab; }
.scene-stage canvas:active { cursor: grabbing; }
.scene-fallback { width: 100%; height: 100%; object-fit: contain; position: absolute; background: #f2f1ec; }
.scene-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 7px 0 0; }
.scene-tools select { min-height: 36px; font-size: .83rem; }
.scene-zoom { display: flex; gap: 5px; margin-left: auto; }
.scene-zoom .icon-button { width: 37px; min-width: 36px; min-height: 36px; }
.scene-note { color: var(--muted); font-size: .82rem; margin-top: 7px; }

.compare-controls { display: flex; gap: 10px 17px; align-items: center; flex-wrap: wrap; margin-bottom: 9px; }
.toggle { display: inline-flex; align-items: center; gap: 7px; font-size: .85rem; cursor: pointer; }
.compare-caption { color: var(--muted); font-size: .84rem; margin: 7px 0; }
.compare-table th, .compare-table td, .price-table th, .price-table td { vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--stroke); }
.compare-table th:first-child { position: sticky; z-index: 1; left: 0; background: #262624; min-width: 139px; }
.compare-table th { color: var(--muted); font-weight: 650; }
.compare-table thead th:not(:first-child) { min-width: 144px; }
.compare-table td strong, .compare-table td small { display: block; white-space: nowrap; }
.compare-table td strong { color: var(--accent); font-size: 1.06rem; }
.compare-table td small { color: var(--muted); margin-top: 2px; }
.compare-plan { padding: 0; border: 0; overflow: hidden; border-radius: 8px; background: #efeeea; margin-bottom: 6px; display: block; }
.compare-plan img { width: 110px; height: 74px; object-fit: contain; }
.compare-total th, .compare-total td { background: #30382b; }
.form-columns { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 11px; }
.recommendations { display: grid; align-content: start; gap: 8px; }
.result { display: flex; gap: 9px; background: #2d2e28; border-radius: 9px; padding: 9px; }
.result img { flex: none; width: 56px; height: 56px; object-fit: contain; border-radius: 8px; background: #f4f1e9; }
.result h3 { font-size: .96rem; }
.result p { color: var(--muted); font-size: .84rem; margin: 3px 0 6px; }
.result strong { color: var(--accent); margin-right: 8px; font-size: .92rem; white-space: nowrap; }
.gallery { display: grid; grid-template-columns: minmax(0,1fr) minmax(140px,225px); gap: 9px; align-items: start; }
.gallery .media-stage img { aspect-ratio: 1.72; object-fit: contain; }
.gallery-picks { display: grid; gap: 7px; }
.gallery-tile { display: flex; align-items: center; gap: 7px; border: 1px solid transparent; background: #31312e; border-radius: 10px; padding: 6px; text-align: left; font-size: .84rem; }
.gallery-tile[aria-pressed="true"] { border-color: #819066; }
.gallery-tile img { width: 65px; height: 48px; border-radius: 6px; object-fit: cover; }
.showcase-mode .platform-signature { margin-right: auto; }
.showcase-heading { display:flex; align-items:baseline; gap:5px 14px; flex-wrap:wrap; margin:22px 0 10px; }
.showcase-heading h2 { font-size:1.46rem; letter-spacing:-.036em; }
.showcase-heading p { font-size:.9rem; }
.showcase-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }
.showcase-card { overflow:hidden; }
.showcase-photo { display:block; background:#f4f1ec; }
.showcase-photo img { width:100%; aspect-ratio:2.08; object-fit:cover; }
.showcase-plan img { object-fit:contain; }
.showcase-card-inner { display:grid; justify-items:start; padding:14px; gap:6px; }
.showcase-card-inner h2 { font-size:1.43rem; letter-spacing:-.031em; }
.showcase-card-inner p { font-size:.89rem; }
.showcase-card-inner a { margin-top:4px; }
.closed-page { display:grid; gap:12px; justify-items:start; padding:6vh 0; }
.dialog { border: 1px solid #46443a; border-radius: 20px; background: var(--panel); color: var(--text); width: min(760px,calc(100% - 22px)); max-height: calc(100% - 28px); padding: 0; }
.dialog:has([data-scene]) { width: min(1060px,calc(100% - 18px)); }
.dialog::backdrop { background: #111b; backdrop-filter: blur(5px); }
.dialog-shell { padding: 16px; }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-bottom: 10px; }
.dialog-header h2 { font-size: 1.28rem; letter-spacing: -.028em; }
#dialog-body { display: grid; gap: 10px; }
.dialog p { color: var(--muted); font-size: .88rem; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.large-plan, .large-photo { border-radius: 11px; max-height: 66vh; object-fit: contain; margin: auto; }
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; }
.price-table .price-group { background: #30332a; }
.price-table tfoot { color: var(--accent); font-weight: 710; }
.toast { position: fixed; z-index: 100; bottom: max(14px,env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 24px); padding: 9px 12px; border-radius: 10px; background: #3d4933; color: #f2f5ea; box-shadow: 0 7px 25px #0d0d0c99; font-size: .87rem; }
.dialog .form-stack p { margin: 0; }

@media (max-width: 1050px) {
  .workspace-grid { grid-template-columns: minmax(0,1.2fr) minmax(300px,1fr); }
  .lot-card img { display: none; }
  .inventory-table th, .inventory-table td { padding-inline: 5px; }
}
@media (max-width: 820px) {
  .manager-mode { padding-left: 0; }
  .work-rail { display: none; }
  .shell, .manager-page { width: calc(100% - 28px); }
  .workspace-grid { grid-template-columns: minmax(0,1.4fr) minmax(287px,1fr); }
  .client-grid { grid-template-columns: minmax(0,1.28fr) minmax(287px,1fr); }
  .quote-actions .icon { display: none; }
}
@media (max-width: 690px) {
  .shell, .manager-page { width: calc(100% - 24px); }
  .workspace-grid, .client-grid { grid-template-columns: minmax(0,1fr); gap: 9px; }
  .panel { border-radius: 17px; }
  .workspace-top { min-height: 48px; }
  .work-head { min-height: 119px; padding: 13px; border-radius: 16px; }
  .work-head img { right: 1%; width: 110px; }
  .work-head h1 { font-size: 1.95rem; }
  .work-head p { font-size: .81rem; max-width: 190px; }
  .tool-tabs { gap: 5px; margin-block: 9px; }
  .tool-button { min-height: 39px; padding: 4px 6px 4px 4px; gap: 4px; font-size: .73rem; }
  .tool-symbol { width: 28px; height: 28px; border-radius: 9px; }
  .tool-symbol .icon { width: 16px; height: 16px; }
  .work-main { gap: 9px; }
  .inventory-panel, .manager-builder, .section-panel { padding: 11px; }
  .inventory-table { font-size: .78rem; }
  .inventory-table th { font-size: .72rem; }
  .lot-open img { width: 30px; height: 30px; }
  .inventory-table .include-lot { min-width: 22px; }
  .mini-tools { padding: 5px; }
  .mini-tool { padding: 6px; }
  .choice-note { display: grid; }
  .saved-actions { margin-left: 0; }
  .presentation-top-inner { min-height: 48px; }
  .developer-wordmark { font-size: 1.14rem; }
  .presentation-page { padding-top: 8px; }
  .client-hero { min-height: 159px; border-radius: 16px; padding: 12px 14px; }
  .client-hero h1 { font-size: 2.18rem; }
  .client-cover { width: 100%; }
  .client-hero::before { background: linear-gradient(90deg,#21211ee6,#21211f12 92%),linear-gradient(0deg,#222220d6,transparent 85%); }
  .client-tabs { gap: 12px; overflow-x: auto; }
  .section-tab { font-size: .78rem; }
  .section-tab .icon { display: none; }
  .lot-strip { gap: 5px; margin-bottom: 8px; }
  .lot-card { display: grid; gap: 3px; padding: 6px; border-radius: 10px; }
  .lot-card strong { font-size: .8rem; }
  .lot-card small { font-size: .69rem; }
  .lot-card-price { margin-left: 0; text-align: left; }
  .lot-card-price small { display: none; }
  .client-visual { padding: 8px; }
  .visual-title .button span { display: none; }
  .visual-title .button { min-width: 36px; }
  .visual-config { gap: 5px; }
  .config-row { gap: 5px; }
  .choice { padding-inline: 6px; }
  .interior-stage img, .plan-stage img { aspect-ratio: 1.5; }
  .scene-stage { aspect-ratio: 1.42; min-height: 222px; }
  .scene-tools { gap: 4px; }
  .scene-tools .small { padding-inline: 5px; font-size: .75rem; }
  .scene-tools select { font-size: .74rem; }
  .scene-zoom .icon-button { width: 30px; min-width: 30px; font-size: .78rem; }
  .scene-zoom { margin-left: 0; }
  .quote-panel, .side-panel { padding: 12px; }
  .form-columns, .gallery { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns:1fr; }
  .showcase-mode .presentation-top-inner { flex-wrap:wrap; }
  .showcase-mode .work-head h1 { font-size:1.65rem; max-width:215px; }
  .gallery-picks { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dialog-shell { padding: 11px; }
  .price-table th, .price-table td { padding-inline: 6px; font-size: .8rem; }
}
@media (max-width: 368px) {
  .work-head img { width: 93px; }
  .view-button { padding-inline: 5px; }
  .visual-config .config-row > span { min-width: 48px; }
  .floating { font-size: 0 !important; }
  .floating .icon { width: 16px; height: 16px; }
  .inventory-table .lot-open img { display: none; }
}
@media (prefers-reduced-motion: reduce) { .work-rail { transition: none; } }

/* Lemont client tour keeps its graphite scene inside the workspace shell. */
.lemont-index-heading{display:flex;justify-content:space-between;align-items:end;gap:12px;flex-wrap:wrap;margin:12px 0 16px}
.lemont-index-heading h1,.lemont-map-action h2{margin:0;letter-spacing:-.04em}
.lemont-index-heading p,.lemont-map-action p{margin:0;color:#b9b9ae}
.lemont-discovery{position:relative;min-width:0;overflow:hidden;border-radius:20px;background:#1d211e}
.lemont-mini,.lemont-live-map{display:block;width:100%;height:clamp(345px,52vw,620px);border:0;background:#222521}
.lemont-discovery [hidden]{display:none!important}
.lemont-map-action{position:absolute;inset:auto 13px 13px;display:flex;justify-content:space-between;align-items:center;gap:8px 18px;flex-wrap:wrap;padding:11px 15px;border-radius:13px;background:#252924f4}
.lemont-map-status{margin:8px 0 24px;font-size:.84rem}
.lemont-frame{display:block;border:0;width:100%;height:840px;background:#1d1f1e;border-radius:17px}
.lemont-client-header{min-height:0;background:#202220}
.lemont-client-header .client-hero-text{position:relative;inset:auto;padding:17px 19px}
.lemont-client-header::after{display:none}
@media(max-width:520px){.lemont-map-action{padding:9px 10px}.lemont-map-action h2{font-size:1.12rem}.lemont-frame{height:970px}}
