@import url('/cs_prefab_configurator/static/vendor/fonts.css');
:root {
 --ink:#20302c;
 --text:#2f3935;
 --muted:#657069;
 --line:#dce0d9;
 --paper:#ffffff;
 --page:#f1f1ec;
 --soft:#f4f5f0;
 --green:#294e40;
 --accent:#294e40;
 --danger:#a43b2d;
 --focus:#967246;
 font-family:'DM Sans',Arial,sans-serif;
 font-synthesis:none;
 color:var(--text);
 background:var(--paper);
 -webkit-font-smoothing:antialiased;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html,body{margin:0;height:100%;min-width:320px}
body{display:flex;flex-direction:column;overflow:hidden}
button,input,textarea{font:inherit}
button,input,textarea,summary{color:inherit}
button{cursor:pointer;border:0;background:none}
button:disabled{cursor:not-allowed;opacity:.48}
a{color:inherit;text-decoration:none}
button,a,input,textarea{-webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--focus);outline-offset:4px}
::selection{background:#d8e5d8;color:#172b22}
input,textarea{caret-color:var(--green)}
svg{flex-shrink:0}
.icon{width:20px;height:20px;display:inline-block;vertical-align:middle}
h1,h2,h3,h4,p{margin:0}
.skip-link{position:fixed;left:16px;top:-80px;z-index:120;background:var(--ink);color:white;padding:14px 18px}
.skip-link:focus{top:12px}
.site-header{height:76px;flex-shrink:0;padding:0 28px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line);background:white;z-index:4}
.brand{display:flex;align-items:center;gap:20px;min-width:0}
.brand img{width:214px;height:auto;max-height:40px;display:block}
.brand-divider{width:1px;height:25px;background:var(--line)}
.brand-title{font-size:14px;font-weight:500;color:var(--muted)}
.header-nav{margin-left:auto;display:flex;align-items:center;gap:18px}
.header-nav button{font-size:13px;min-height:44px}
.header-actions{display:flex;align-items:center;gap:8px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:11px 16px;border:1px solid transparent;border-radius:5px;font-size:13px;font-weight:600;line-height:1.35;transition:background 150ms ease-out}
.button .icon{width:17px;height:17px}
.button.ghost{border-color:#ccd2c9;background:var(--paper)}
.button.ghost:hover{background:var(--soft);border-color:#b6c0b3}
.button.primary{background:var(--green);color:white}
.button.primary:hover:not(:disabled){background:#1e3c31}
.button.compact{min-height:42px;padding:10px 13px}
#app{flex:1;min-height:0}
.workspace{display:grid;grid-template-columns:minmax(0,1fr) 426px;height:100%;min-height:0}
.preview-card{min-width:0;min-height:0;position:relative;display:flex;flex-direction:column;overflow:hidden;background:#e9e9e1}
.preview-top{z-index:2;position:relative;display:flex;align-items:center;justify-content:space-between;padding:22px 26px 0;gap:16px;pointer-events:none}
.preview-top>*{pointer-events:auto}
.scene-heading{display:flex;align-items:baseline;gap:12px}
.scene-heading>span{font-size:13px;color:#5b655d}
.scene-heading strong{font-size:14px;font-weight:550;font-variant-numeric:tabular-nums;color:var(--ink)}
.segmented{display:flex;align-items:center;border:1px solid #cbd1c7;border-radius:5px;padding:3px;background:#f9faf6}
.segmented button{font-size:12px;min-width:66px;min-height:36px;padding:8px 13px;border-radius:3px;color:#536157;font-weight:500}
.segmented button.active{color:var(--ink);background:#e0e6dd}
.segmented button:hover:not(:disabled){background:#e9ede4}
.preview-scene{position:relative;flex:1;min-height:0;width:100%;overflow:hidden}
.preview-scene canvas{display:block;width:100%;height:100%;touch-action:none}
.prefab-plan [tabindex]:focus-visible{outline:2px solid var(--focus);outline-offset:4px}
.preview-toolbar{position:relative;z-index:2;display:flex;align-items:center;gap:16px;padding:0 26px 20px}
.camera-tools{display:flex;align-items:center;gap:2px;border:1px solid #cbd1c7;background:#f9faf6;padding:3px;border-radius:5px}
.tool-button,.icon-button{width:39px;height:38px;flex-shrink:0;border-radius:3px;display:inline-flex;align-items:center;justify-content:center;color:#536157}
.tool-button:hover,.icon-button:hover{background:#edf0e7}
.tool-button.active{background:#e0e6dd;color:var(--green)}
.tool-button .icon{width:18px;height:18px}
.fullscreen-button{margin-left:auto;background:#f9faf6;border:1px solid #cbd1c7;width:44px;height:44px}
.rotate-hint{font-size:11px;color:#606a61;line-height:1.5;max-width:150px}
.preview-bottom{min-height:52px;padding:12px 26px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #ced3c8;background:#f1f2eb;color:#536157}
.preview-bottom>button{padding:0;min-width:24px;min-height:28px}
.preview-bottom>button .icon{width:17px;height:17px}
.example-toggle{display:flex;align-items:center;gap:8px;font-size:12px;cursor:pointer;line-height:1.4}
.example-toggle input{width:16px;height:16px;accent-color:var(--green);margin:0;flex-shrink:0}
.scene-legend{display:flex;align-items:center;gap:8px;font-size:11px;line-height:1.4;max-width:250px}
.legend-contour{display:block;width:15px;height:15px;border:1px dashed #667268;flex-shrink:0}
.choices-card{background:var(--paper);border-left:1px solid var(--line);min-width:0;min-height:0;display:flex;flex-direction:column}
.steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid var(--line);padding:0 14px;flex-shrink:0}
.step-tab{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:79px;font-size:10px;color:var(--muted);padding:13px 0 12px;line-height:1.3}
.step-number{width:24px;height:24px;border:1px solid #ccd2c9;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:11px}
.step-number .icon{width:14px;height:14px}
.step-tab.active{color:var(--ink);font-weight:600}
.step-tab.active:after{content:'';position:absolute;bottom:-1px;left:8px;right:8px;height:2px;background:var(--green)}
.step-tab.active .step-number{border-color:var(--green);background:var(--green);color:white}
.step-tab.completed .step-number{border-color:#a5b8a7;color:var(--green);background:#eef3eb}
.step-short{display:none}
#panel-content{flex:1;min-height:0;overflow:auto;padding:27px 26px 20px;scrollbar-width:thin;scrollbar-color:#bcc6b9 transparent;overscroll-behavior:contain}
.panel-heading{margin-bottom:25px}
.panel-heading h1{color:var(--ink);font-size:25px;font-weight:550;line-height:1.23;letter-spacing:-.025em;outline:none;margin-bottom:10px}
.panel-heading>p{font-size:12px;line-height:1.7;color:var(--muted);max-width:45ch}
.dimension-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}
.dimension-field{min-width:0}
.field-heading{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-bottom:8px;font-size:12px;font-weight:600}
.field-heading>span{font-size:9px;color:var(--muted);font-weight:400;white-space:nowrap}
.number-control{height:44px;display:flex;align-items:center;border:1px solid #c7cfc2;border-radius:4px}
.number-control>button{width:29px;height:42px;padding:0;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#5a6d5b}
.number-control>button:hover{background:var(--soft)}
.number-control>button .icon{width:13px;height:13px}
.number-control>div{display:flex;flex:1;min-width:0;justify-content:center;align-items:baseline;gap:4px}
.number-control input{width:47px;min-width:0;border:0;padding:8px 0;text-align:center;background:transparent;appearance:textfield;font-size:18px;font-weight:500;font-variant-numeric:tabular-nums}
.number-control input::-webkit-inner-spin-button{appearance:none}
.number-control>div>span{font-size:11px;color:var(--muted)}
.dimension-slider{appearance:none;width:100%;height:3px;background:#d8dfd3;display:block;margin:18px 0 12px;cursor:pointer;border-radius:1px}
.dimension-slider::-webkit-slider-thumb{appearance:none;background:var(--paper);width:16px;height:16px;border:2px solid var(--green);border-radius:50%}
.dimension-slider::-moz-range-thumb{background:var(--paper);width:12px;height:12px;border:2px solid var(--green);border-radius:50%}
.area-line{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:10px 0 24px;padding:10px 0;color:var(--muted);font-size:11px}
.area-line strong{font-size:16px;font-weight:550;color:var(--ink);font-variant-numeric:tabular-nums}
.choice-group{border-top:1px solid var(--line)}
.choice-group:last-child{border-bottom:1px solid var(--line)}
.choice-group>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:76px;padding:18px 0;list-style:none;cursor:pointer}
.choice-group>summary::-webkit-details-marker{display:none}
.choice-group>summary>span{font-size:14px;font-weight:550;color:var(--ink)}
.choice-group>summary small{display:block;font-size:11px;line-height:1.6;color:var(--muted);font-weight:400;margin-top:3px}
.choice-group>summary>.icon{width:16px;height:16px;transition:transform 160ms ease-out}
.choice-group[open]>summary>.icon{transform:rotate(45deg)}
.group-fields{padding:4px 0 6px}
.field-block{border:0;margin:0 0 25px;padding:0;min-width:0}
.field-block legend,.count-field label{display:block;font-size:13px;font-weight:550;color:var(--ink);padding:0;margin-bottom:7px}
.field-description{font-size:11px;line-height:1.7;color:var(--muted);margin-bottom:12px}
.option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.option-card{position:relative;display:flex;align-items:center;gap:8px;min-height:44px;min-width:0;padding:10px;border:1px solid #d8ded2;border-radius:4px;background:var(--paper);cursor:pointer;transition:border-color 150ms ease-out,background 150ms ease-out}
.option-card:hover{border-color:#839a80;background:#f8faf4}
.option-card.selected{border-color:var(--green);background:#eef3e9}
.option-card input{position:absolute;opacity:0;width:1px;height:1px}
.option-card:has(input:focus-visible){outline:2px solid var(--focus);outline-offset:3px}
.option-check{border:1px solid #bac6b3;width:14px;height:14px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:white;flex-shrink:0}
.selected .option-check{background:var(--green);border-color:var(--green);color:white}
.option-check .icon{width:11px;height:11px;stroke-width:2}
.option-title{font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.visual-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.visual-card{flex-wrap:wrap;align-content:flex-start;padding:7px;gap:7px}
.visual-card .option-check{position:absolute;right:12px;top:12px;z-index:1}
.visual-card .option-title{width:100%;padding:0 2px 3px;font-size:11px}
.material-family{margin:14px 0 18px}
.material-family h4{font-size:11px;font-weight:600;margin-bottom:8px;color:var(--muted)}
.material-swatch{display:block;position:relative;width:100%;height:55px;background-color:var(--material);overflow:hidden}
.material-swatch:after{content:'';display:block;position:absolute;inset:0;opacity:.35}
.material-swatch.brick:after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='24'%3E%3Cpath d='M0 0h44M0 12h44M0 24h44M22 0v12M0 12v12M44 12v12' fill='none' stroke='%23f0e8d9' stroke-width='2'/%3E%3C/svg%3E")}
.material-swatch.wood-v:after,.material-swatch.open-v:after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='60'%3E%3Cpath d='M0 0v60M13 0v60' stroke='%23463420' stroke-width='2'/%3E%3C/svg%3E")}
.material-swatch.wood-h:after,.material-swatch.open-h:after,.material-swatch.pvc:after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='15'%3E%3Cpath d='M0 0h60M0 13h60' stroke='%23463420' stroke-width='2'/%3E%3C/svg%3E")}
.opening-swatch,.roof-swatch{width:100%;height:62px}
.count-field{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}
.count-field>div:first-child{flex:1;min-width:0}
.counter{height:40px;display:flex;border:1px solid #c7cfc2;border-radius:4px;flex-shrink:0}
.counter button{width:31px;height:38px;display:flex;align-items:center;justify-content:center;padding:0}
.counter .icon{width:14px;height:14px}
.counter input{width:29px;border:0;text-align:center;background:none;appearance:textfield;font-size:14px;font-variant-numeric:tabular-nums}
.counter input::-webkit-inner-spin-button{appearance:none}
.placement-board{background:var(--soft);border:1px solid #d3dbcd;padding:12px 11px}
.placement-side{display:block;text-align:center;font-size:10px;color:var(--muted);margin-bottom:13px}
.placement-side:last-child{margin:13px 0 0}
.position-grid{gap:7px}
.ceiling-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.three-positions{grid-template-columns:repeat(3,minmax(0,1fr))}
.wall-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.position-option{min-height:48px;padding:7px 3px;display:flex;flex-direction:column;justify-content:center;gap:5px}
.position-option .option-title{font-size:10px;text-align:center;line-height:1.3}
.position-option .option-check{border-radius:3px}
.position-count{font-size:10px;color:var(--muted);margin-top:8px}
.field-scope{display:flex;gap:7px;align-items:flex-start;font-size:10px;line-height:1.6;margin:10px 0 0;color:#586a5c}
.field-scope .icon{width:14px;height:14px;margin-top:1px}
.field-scope small{display:block;font-size:10px;color:var(--muted)}
.field-scope.illustrative{color:#685f51}
.interior-placeholder{padding:28px 0}
.interior-placeholder h2{font-size:17px;font-weight:500;color:var(--ink);margin-bottom:12px}
.interior-placeholder p{font-size:12px;line-height:1.7;color:var(--muted);margin-bottom:16px}
.text-button{font-size:12px;text-decoration:underline;text-underline-offset:4px;color:var(--green);padding:6px 0;min-height:32px}
.text-button .icon{width:15px;height:15px;margin-left:6px}
#panel-footer{flex-shrink:0;padding:18px 26px 13px;border-top:1px solid var(--line);background:#fff;z-index:3}
.price-peek{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.price-peek>div{display:flex;flex-direction:column;gap:4px}
.price-caption{font-size:11px;color:var(--muted)}
.price-peek button{font-size:11px;color:var(--green);padding:0;text-align:left;text-decoration:underline;text-underline-offset:3px}
.price-value{font-size:25px;font-weight:550;color:var(--ink);letter-spacing:-.025em;white-space:nowrap;font-variant-numeric:tabular-nums}
.price-value.pending{font-size:15px;letter-spacing:0;color:var(--muted)}
.step-actions{display:flex;gap:8px}
.next-button{flex:1;justify-content:space-between;min-height:46px}
.back-button{border-color:#cbd3c6;background:white;padding:11px 13px}
.footer-note{font-size:9px;line-height:1.5;text-align:center;color:var(--muted);margin-top:9px}
.field-error,.api-error{font-size:11px;color:var(--danger);line-height:1.6;margin-top:7px}
.field-error:empty,.api-error:empty{display:none}
.api-error{margin:0 0 10px}
.api-error button{padding:0;text-decoration:underline;font-size:11px}
.scope-panel{padding:25px 0 10px}
.scope-panel>h2{font-size:17px;font-weight:550;color:var(--ink);margin-bottom:9px}
.scope-panel>p,.scope-empty,.scope-loading{font-size:11px;color:var(--muted);line-height:1.7}
.scope-list{margin-top:16px;border-top:1px solid var(--line)}
.scope-item{border-bottom:1px solid var(--line)}
.scope-item>summary{display:flex;align-items:center;gap:10px;padding:14px 0;cursor:pointer;list-style:none}
.scope-item>summary::-webkit-details-marker{display:none}
.scope-item>summary>span:first-child{flex:1;font-size:12px;font-weight:500;color:var(--ink)}
.scope-item small{display:block;font-size:10px;color:var(--muted);font-weight:400;line-height:1.6;margin-top:3px}
.scope-item .icon{width:13px;height:13px}
.scope-item[open]>summary .icon{transform:rotate(90deg)}
.scope-quantity{font-size:12px;font-variant-numeric:tabular-nums}
.scope-item dl{margin:0 0 14px}
.scope-item dl>div{display:flex;justify-content:space-between;gap:16px;font-size:10px;line-height:1.7;padding:4px 0}
.scope-item dt{color:var(--muted)}
.scope-item dd{margin:0;text-align:right}
.summary-dimensions{display:flex;align-items:flex-start;flex-direction:column;gap:7px;border-bottom:1px solid var(--line);padding:2px 0 20px}
.summary-dimensions strong{font-size:26px;font-weight:500;letter-spacing:-.02em;color:var(--ink);font-variant-numeric:tabular-nums}
.summary-dimensions>span{font-size:12px;color:var(--muted)}
.summary-section{padding:21px 0;border-bottom:1px solid var(--line)}
.summary-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}
.summary-heading h2{font-size:14px;font-weight:550;color:var(--ink)}
.summary-heading button{font-size:11px;min-height:32px;color:var(--green);display:flex;gap:6px;align-items:center}
.summary-heading .icon{width:13px;height:13px}
.summary-section dl{margin:12px 0 0}
.summary-section dl>div{display:flex;justify-content:space-between;gap:15px;font-size:11px;line-height:1.6;margin:8px 0}
.summary-section dt{flex:1;color:var(--muted)}
.summary-section dd{margin:0;flex:1;text-align:right;overflow-wrap:anywhere}
.summary-sharing{display:flex;gap:8px;margin:18px 0}
.summary-sharing .button{flex:1;padding:10px 8px;font-size:11px}
.site-footer{display:none}
.toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,14px);opacity:0;pointer-events:none;padding:14px 20px;background:var(--ink);color:white;border-radius:5px;z-index:120;font-size:12px;line-height:1.6;max-width:min(90vw,620px);box-shadow:0 10px 25px #19261b26;transition:opacity 170ms ease-out,transform 170ms ease-out;text-align:center}
.toast.visible{opacity:1;transform:translate(-50%,0)}
dialog{border:0;border-radius:8px;padding:0;width:calc(100% - 32px);max-width:610px;max-height:90dvh;color:var(--text);background:var(--paper);box-shadow:0 24px 80px #16211a4a;overscroll-behavior:contain}
dialog::backdrop{background:#17231dc2}
.modal-head{position:sticky;top:0;background:white;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 28px;border-bottom:1px solid var(--line)}
.modal-head h2{font-size:22px;font-weight:550;letter-spacing:-.025em;color:var(--ink)}
.modal-head .icon-button{background:var(--soft)}
.modal-body{padding:24px 28px 28px;font-size:13px;line-height:1.75;color:var(--muted)}
.modal-body>p{margin-bottom:18px}
.modal-body strong{color:var(--ink);font-weight:550}
.modal-body .muted{font-size:11px;margin-top:15px}
.notice{padding:15px;background:#f4f0e7;color:#685b42;font-size:11px;line-height:1.75;border-radius:4px}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px 16px}
.contact-field label{display:block;font-size:12px;color:var(--ink);margin-bottom:5px}
.contact-field label>span{color:var(--muted)}
.contact-field input,.contact-field textarea{width:100%;max-width:100%;border:1px solid #cbd3c5;border-radius:4px;background:#fff;padding:11px 12px;min-height:44px;font-size:14px;resize:vertical}
.contact-field input::placeholder,.contact-field textarea::placeholder{color:#6c7565}
.contact-field input[aria-invalid=true]{border-color:var(--danger)}
.contact-field:has(textarea){margin-top:14px}
.optional{font-size:11px;margin-left:5px}
.consent{display:flex;align-items:flex-start;gap:10px;font-size:11px;line-height:1.7;color:var(--muted);margin:16px 0 0}
.consent input{width:17px;height:17px;margin:2px 0 0;accent-color:var(--green);flex-shrink:0}
.consent button{padding:0;font-size:11px;text-decoration:underline;text-underline-offset:3px}
.submit-button{width:100%;justify-content:space-between;margin-top:18px}
.form-note{font-size:10px;line-height:1.7;text-align:center;color:var(--muted);margin-top:10px}
.success-state{text-align:center;padding:2px 0}
.success-icon{width:52px;height:52px;display:flex;align-items:center;justify-content:center;margin:0 auto 18px;border-radius:50%;background:#e7efdf;color:var(--green)}
.success-state h3{font-size:24px;font-weight:500;line-height:1.3;letter-spacing:-.025em;color:var(--ink);margin-bottom:16px}
.success-state>p,.success-state>.button{margin-bottom:18px}
.share-label{display:block;font-size:12px;color:var(--ink);margin-bottom:7px}
.share-input{display:flex;gap:8px}
.share-input input{flex:1;min-width:0;border:1px solid #ccd3c8;border-radius:4px;padding:11px;font-size:12px;background:var(--soft)}
.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}
.process-list{padding-left:22px;margin:0}
.process-list li{padding:0 0 20px 7px}
.process-list strong{font-size:14px}
.process-list p{font-size:12px;margin-top:5px}
.inline-privacy{padding:15px;background:var(--soft);font-size:11px;margin-top:13px}
.inline-privacy p+p{margin-top:10px}
.breakdown-list>div{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}
.breakdown-list small{display:block;font-size:10px;color:var(--muted)}
.breakdown-list strong{white-space:nowrap;font-variant-numeric:tabular-nums}
.breakdown-list>.breakdown-total{font-size:17px;border:0}
.warnings{font-size:11px;padding-left:18px}
.preview-loading,.preview-unavailable,.loading-screen,.load-error{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:16px;padding:30px;text-align:center;color:var(--muted);font-size:13px;line-height:1.7}
.preview-loading,.preview-unavailable{position:absolute;inset:0}
.loading-screen,.load-error{height:100%}
.load-error h1{color:var(--ink);font-size:25px}
.loading-mark{height:3px;width:160px;background:#ccd6c5;position:relative;overflow:hidden}
.loading-mark:after{content:'';position:absolute;left:0;top:0;width:60px;height:3px;background:var(--green);animation:loading 1.2s ease-in-out infinite alternate}
@keyframes loading{to{transform:translateX(100px)}}
.preview-card:fullscreen,.preview-card.expanded{position:fixed;inset:0;width:100%;height:100dvh;max-height:none;z-index:80;background:#e9e9e1}
@media(min-width:1600px){.workspace{grid-template-columns:minmax(0,1fr) 460px}#panel-content{padding:30px 30px 24px}#panel-footer{padding-left:30px;padding-right:30px}.preview-top{padding:26px 34px 0}.preview-toolbar{padding:0 34px 24px}.preview-bottom{padding-left:34px;padding-right:34px}}
@media(max-width:1100px){.workspace{grid-template-columns:minmax(0,1fr) 385px}.brand-title,.brand-divider{display:none}.preview-top{padding:18px 18px 0}.scene-heading{flex-direction:column;gap:4px}.preview-toolbar{padding:0 18px 16px;gap:8px}.rotate-hint{display:none}.preview-bottom{padding:11px 18px;gap:8px}.scene-legend{font-size:10px;max-width:150px}.example-toggle{font-size:11px}#panel-content{padding:23px 22px 18px}#panel-footer{padding-left:22px;padding-right:22px}.panel-heading h1{font-size:23px}.dimension-grid{gap:10px}.field-heading>span{font-size:8px}.step-label{display:none}.step-short{display:inline}}
@media(max-width:800px){
 .site-header{height:62px;padding:0 17px;gap:10px}.brand img{width:172px;max-height:32px}.header-nav{display:none}.header-actions{gap:4px}.header-actions .button{padding:8px 10px;font-size:11px;min-height:38px}.header-actions .share-header{display:none}
 .workspace{display:flex;flex-direction:column}
 .preview-card{height:35dvh;min-height:245px;max-height:305px;flex-shrink:0}
 .preview-top{padding:10px 15px 0;gap:12px}.scene-heading{gap:3px}.scene-heading>span{font-size:10px}.scene-heading strong{font-size:11px}.segmented{padding:2px}.segmented button{font-size:11px;min-width:52px;min-height:30px;padding:6px 9px}
 .preview-toolbar{padding:0 14px 8px}.camera-tools{padding:2px;gap:0}.tool-button{width:33px;height:32px}.tool-button .icon{width:16px;height:16px}.fullscreen-button{width:38px;height:38px}
 .preview-bottom{min-height:38px;padding:7px 15px;gap:9px}.example-toggle{font-size:10px;gap:6px}.example-toggle input{width:15px;height:15px}.scene-legend{max-width:none;font-size:9px;gap:5px}.legend-contour{width:11px;height:11px}.preview-bottom>button{min-width:20px;min-height:24px}.preview-bottom>button .icon{width:14px;height:14px}
 .choices-card{border-left:0;border-top:1px solid var(--line);flex:1;min-height:0}
 .steps{padding:0 13px}.step-tab{min-height:49px;flex-direction:row;gap:6px;padding:11px 0;font-size:11px}.step-number{width:21px;height:21px;font-size:10px}.step-number .icon{width:12px;height:12px}
 #panel-content{padding:18px 20px 22px}.panel-heading{margin-bottom:17px}.panel-heading h1{font-size:22px;margin-bottom:6px}.panel-heading>p{font-size:11px;line-height:1.55}
 .dimension-grid{gap:18px}.field-heading{font-size:12px;margin-bottom:6px}.field-heading>span{font-size:9px}.number-control{height:43px}.number-control>button{height:41px;width:32px}.number-control input{font-size:18px;width:48px}.dimension-slider{margin:14px 0 9px}
 .area-line{margin:6px 0 17px;padding:7px 0;font-size:10px}.area-line strong{font-size:15px}
 .choice-group>summary{min-height:65px;padding:14px 0}.choice-group>summary>span{font-size:14px}.visual-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.material-swatch{height:52px}
 #panel-footer{padding:11px 20px 9px}.price-peek{margin-bottom:9px}.price-value{font-size:23px}.price-caption,.price-peek button{font-size:10px}.price-peek>div{gap:2px}.next-button{min-height:43px;font-size:12px}.back-button{min-height:43px}.footer-note{font-size:8px;margin-top:6px}
 .modal-head{padding:19px 20px}.modal-head h2{font-size:20px}.modal-body{padding:20px}.contact-field input,.contact-field textarea{font-size:16px}.toast{bottom:145px;font-size:11px}
}
@media(max-width:380px){
 .site-header{padding:0 13px}.brand img{width:153px}.header-actions .button{font-size:10px;padding:7px 8px;gap:6px}
 .preview-card{min-height:226px;height:32dvh}.preview-top{padding-left:13px;padding-right:13px}.preview-bottom{padding-left:13px;padding-right:13px}.scene-legend{font-size:8px;max-width:125px}.example-toggle{font-size:9px}.preview-bottom>button{display:none}
 #panel-content{padding:16px 17px 22px}#panel-footer{padding-left:17px;padding-right:17px}.panel-heading h1{font-size:21px}.dimension-grid{gap:12px}.field-heading>span{font-size:8px}.step-tab{font-size:10px;gap:5px}
 .contact-grid{grid-template-columns:1fr}.share-input{flex-direction:column}.position-option .option-title{font-size:9px}
}
@media(max-height:680px) and (max-width:800px){.preview-card{height:28dvh;min-height:178px}.preview-toolbar{padding-bottom:5px}.preview-bottom{display:none}.site-header{height:55px}.panel-heading>p{display:none}.panel-heading{margin-bottom:12px}.steps .step-tab{min-height:43px}#panel-footer{padding-top:8px;padding-bottom:7px}.footer-note{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{body{height:auto;overflow:visible}.site-header,.preview-card,.steps,#panel-footer,.site-footer,.summary-heading button,.summary-sharing,.skip-link{display:none!important}#app,.workspace{display:block;height:auto}.choices-card{border:0}#panel-content{height:auto;overflow:visible;padding:0}.summary-section{break-inside:avoid}dialog{position:relative;max-height:none}}
.option-card.unavailable{background:#f5f5f0;border-color:#e1e4da;color:#657069;cursor:not-allowed}.option-title small{display:block;font-size:10px;color:var(--muted);margin-top:3px;line-height:1.4}
.mobile-help{display:none}@media(max-width:800px){.mobile-help{display:inline-flex}}

.field-preview{margin:0 0 14px;font-size:11px;min-height:30px}.field-preview .icon{width:14px;height:14px}
.preview-status{padding:9px 24px;background:#f1eade;color:#594e3d;font-size:11px;line-height:1.5}.preview-status button{text-decoration:underline;text-underline-offset:3px;font-size:inherit;padding:0 4px}
.admin-preview #app{display:flex;flex-direction:column}.admin-preview .workspace{height:auto;flex:1}
.admin-preview-bar{display:flex;align-items:center;gap:14px;flex-shrink:0;padding:11px 26px;background:#f1eade;color:#594e3d;font-size:12px;line-height:1.5}.admin-preview-bar strong{font-weight:600}.admin-preview-bar a{margin-left:auto;white-space:nowrap;text-decoration:underline;text-underline-offset:3px}.admin-preview-bar .icon{width:13px;height:13px}
.comparison-panel{border-bottom:1px solid var(--line);padding:20px 0}.comparison-panel>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:32px;list-style:none;cursor:pointer;color:var(--green);font-size:13px;font-weight:550}.comparison-panel>summary::-webkit-details-marker{display:none}.comparison-panel>summary .icon{width:17px;height:17px}.comparison-panel[open]>summary{margin-bottom:13px}
.comparison-note{font-size:11px;line-height:1.6;color:var(--muted);margin:10px 0}.comparison-slots{margin:15px 0}.comparison-slots>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 0;border-top:1px solid var(--line)}.comparison-slots>div:last-child{border-bottom:1px solid var(--line)}.comparison-slots strong{display:block;color:var(--ink);font-size:12px;font-weight:550}.comparison-slots small{display:block;color:var(--muted);font-size:11px;margin-top:5px;font-variant-numeric:tabular-nums}.comparison-slots button{max-width:57%;text-align:right;font-size:11px;line-height:1.5;min-height:38px}.comparison-refresh{width:100%;font-size:12px}.comparison-outcome{margin-top:20px}
.comparison-table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:10px;line-height:1.6;color:var(--ink);font-variant-numeric:tabular-nums}.comparison-table caption{text-align:left;font-size:13px;font-weight:550;padding:10px 0}.comparison-table th,.comparison-table td{padding:10px 6px;vertical-align:top;text-align:left;overflow-wrap:anywhere;border-bottom:1px solid var(--line)}.comparison-table th:first-child{width:34%;padding-left:0}.comparison-table thead th{font-weight:550;background:var(--soft)}.comparison-table tbody th{font-weight:400;color:var(--muted)}.comparison-table td:last-child{padding-right:0}.comparison-difference{margin:14px 0;font-size:12px;line-height:1.6;color:var(--ink)}.comparison-scope{padding:10px 0;border-bottom:1px solid var(--line)}.comparison-scope>summary{cursor:pointer;font-size:11px;color:var(--green);min-height:28px;line-height:1.6}.comparison-use{display:flex;gap:8px;margin-top:17px}.comparison-use button{flex:1;font-size:11px;padding:10px 8px}
@media(max-width:1100px){.scene-legend{display:none}}
@media(max-width:800px){.decor-toggle{margin-left:auto}.admin-preview-bar{padding:8px 16px;gap:7px;font-size:10px;flex-wrap:wrap}.admin-preview-bar span{max-width:60%}.admin-preview-bar a{font-size:10px}.preview-status{font-size:10px;padding:8px 15px}.field-preview{min-height:34px}}
@media(max-width:380px){.camera-tools .tool-button{width:30px}.decor-toggle{font-size:9px}.preview-bottom{gap:7px}.preview-bottom .example-toggle{gap:4px}}
