/* LE0N G2 — a quiet architectural showroom; all controls operate live geometry. */
:root{color:#18232f;background:#f3f4f5;--line:#dce1e5}
main{background:#f3f4f5}.workspace{padding:28px 30px;background:#f3f4f5}.workspace-glow{display:none}.topbar{box-shadow:none}.edition{font-size:10px}.intro h1{font-size:30px;line-height:1.12;letter-spacing:-1.4px}.intro p{line-height:1.6}.inspector{background:white}.module-grid{max-height:145px;overflow:auto;scrollbar-width:thin}.module-grid button{min-height:42px}.module-grid button span{display:inline;font-size:14px;margin-right:6px}.stage-heading h2{font-size:34px;letter-spacing:-1.2px}.stage-heading p{font-size:12px;color:#526172}.viewport{height:clamp(390px,57vh,680px);border-radius:16px 16px 0 0;border-color:#d6dce1;background:#edf0f2;box-shadow:0 18px 60px #172e4310}.viewport::after{box-shadow:none}.viewport-watermark{color:#73808d;letter-spacing:2px}.view-toolbar{background:#fff;border-color:#d6dce1;padding:10px;gap:6px}.view-toolbar button{color:#344656;min-height:40px}.metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.metric{box-shadow:none;border-color:#dce1e5}.metric strong{color:#233645}.metric:hover{transform:none}.metric span,.metric em{color:#5f6c78}.preset-section{padding:14px;background:#f4f6f7}.preset-section h3{font-size:16px}.preset-section p{color:#566674}#presets button{padding:13px 10px;border-radius:8px;background:#fff;font-size:12px}#presets button[aria-pressed=true]{color:#0759c2;border-color:#086bf5;background:#edf4ff}.comparison{margin:16px 0;background:#fff}.comparison-actions{gap:8px}.comparison-actions button{border-radius:8px}.conversion{box-shadow:none;border-left:3px solid #086bf5}.parts .table-wrap{max-height:330px}th{background:#eff2f5;color:#435463}td{color:#374957}.field{font-size:12px}.field select,.field input{min-height:44px}.input-wrap{background:#f7f8f9}.module-note{color:#526172}.stage-heading{animation:none}
#compare-dialog{width:min(1360px,96vw);max-width:96vw;max-height:94vh;border:1px solid #ccd4de;border-radius:16px;padding:22px;background:#f4f6f8;color:#1b2b3b}#compare-dialog::backdrop{background:#0e192be0}#compare-dialog header{display:flex;justify-content:space-between;align-items:center;gap:14px}#compare-dialog h2{margin:5px 0;font-size:25px}#compare-mode{font-size:13px;color:#4b5f73}#compare-host{display:grid;grid-template-columns:1fr;gap:12px}#compare-host.dual{grid-template-columns:1fr 1fr}#compare-host section{min-width:0;border:1px solid #dae0e5;border-radius:12px;overflow:hidden;background:#fff}#compare-host h3{font-size:14px;padding:12px 16px;margin:0;border-bottom:1px solid #e3e8ed}.compare-canvas{height:clamp(300px,53vh,600px);width:100%;position:relative}.compare-canvas canvas{display:block;touch-action:none}.compare-tools{display:flex;gap:10px;margin-top:14px}.compare-disclaimer{font-size:11px;color:#566675}
@media(min-width:1200px){main{grid-template-columns:340px minmax(0,1fr)}.inspector{padding:25px 22px}.stage-heading{margin-bottom:18px}}
@media(max-width:1100px){.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.workspace{padding:20px 12px}.stage-heading h2{font-size:28px}.viewport{height:clamp(340px,54vh,510px)}.view-toolbar button{min-height:44px}.view-group{gap:3px}.module-grid{max-height:160px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-panels{box-shadow:0 3px 12px #1a304c0b}#compare-dialog{padding:12px}#compare-dialog h2{font-size:19px}.compare-tools{flex-wrap:wrap}.compare-tools button{flex:1}.intro h1{font-size:27px}#parameters{grid-template-columns:1fr 1fr}#parameter-construction,#parameter-roof,#parameter-finish{font-size:12px}.stage-bottom>span{max-width:65%}}
@media(prefers-reduced-motion:reduce){button{transition:none}}

/* Alpha2: stable editor, reachable help and guided summary. */
.field-error{display:block;color:#a72525;font-size:12px;margin-top:5px}.field-help{font-size:12px;margin:5px 0 10px;color:#53667a}.field-help summary{cursor:pointer;min-height:30px;padding:6px 0}.field-help p{margin:3px 0;line-height:1.5}.advanced-fields>summary{padding:14px 0;font-weight:700;cursor:pointer}.advanced-fields[open]{border-top:1px solid #d8e1e9}.bom-compare{width:100%;font-size:12px;border-collapse:collapse}.bom-compare td,.bom-compare th{padding:8px;border-bottom:1px solid #dce3ea;text-align:left}.producer-logo{width:auto!important;max-width:110px;height:38px!important;object-fit:contain}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #087bca;outline-offset:3px}#reset-product{margin:14px 0;min-height:44px}#quote-attachment{padding:12px;background:#eef5fc;border-radius:8px}.stage-preview{position:relative}.field input[aria-invalid=true]{border:2px solid #a72525}#request-quote{margin-right:68px}
@media(min-width:1100px){.inspector{max-height:calc(100vh - 90px);overflow-y:auto;position:sticky;top:76px;align-self:start}.stage-preview{position:sticky;top:8px;z-index:2;background:#f3f5f7}.viewport{height:clamp(350px,50vh,600px)!important}}
@media(max-width:700px){button,select,input,summary{min-height:44px}.view-toolbar{gap:6px}.view-toolbar button{padding:10px}#request-quote{margin-right:0;width:100%}.conversion{padding-bottom:90px!important}.mobile-panels{position:sticky;top:0;z-index:20}#quote-dialog{max-height:calc(100dvh - 20px);overflow:auto}.producer-logo{max-width:70px}.bom-compare{font-size:11px}}
