.design-mode{min-height:64px;display:flex;align-items:center;justify-content:center;gap:20px;padding:7px 16px;background:#f5f9fc;border-bottom:1px solid #d5e2ee;position:relative;z-index:19}
.design-mode-buttons{display:flex;gap:4px;padding:3px;border:1px solid #c9d9e8;border-radius:12px;background:#e8f0f7}
.design-mode button{display:grid;gap:2px;min-width:142px;min-height:44px;border:0;background:transparent;text-align:left;padding:5px 14px}
.design-mode button strong{font-size:12px}.design-mode button small{font-size:10px}.design-mode button[aria-pressed=true]{background:#1e3a5f;color:white;box-shadow:0 2px 7px #17395030}
.design-mode p{font-size:12px;color:#526b7c;margin:0}
html.studio-standalone main{height:calc(100dvh - 142px - env(safe-area-inset-top))}
#guided-panel,#guided-footer{display:none}
html[data-design-mode=intermediate] :is(#guided-panel,#guided-footer){display:block}
html[data-design-mode=intermediate] :is(.inspector-heading,.panel-tabs,#panel-customize>nav,#inspector>.selected-note,#panel-customize>.quote,.addon-tray,.addon-instruction,#feature-tree,.features-toggle,#selection-chip,#edit){display:none!important}
html[data-design-mode=intermediate] #inspector>details{display:none}
html[data-design-mode=intermediate] #inspector>.guided-current-group{display:block}
html[data-design-mode=intermediate] #inspector>.guided-current-group>summary{display:none}
html[data-design-mode=intermediate][data-guide-step="3"] #inspector [data-group="Walls, doors & windows"]>:is(.segments,.help){display:none}
html[data-design-mode=intermediate][data-guide-step="3"] #inspector label:has(:is([data-key="encloseAll"],[data-key="halfEnclosure"])){display:none}
.guide-progress{display:flex;gap:4px;position:static!important;margin:0 0 16px;padding:0!important;background:transparent!important}
.guide-progress button{min-width:0;min-height:32px!important;padding:6px 0!important;border-radius:50%;font-size:11px;flex:1}
.guide-progress button[aria-current]{background:#1e3a5f;color:white}
.guide-kicker{font-size:11px;font-weight:700;color:#3d6bb4;margin:0 0 8px}
#guided-panel h2{font-family:Montserrat,Inter,sans-serif;font-size:23px;line-height:1.2;margin:0 0 12px;letter-spacing:-.6px}
.guide-intro{font-size:13px;line-height:1.55;color:#425c74;margin:0 0 18px}
.guide-field{display:grid;gap:7px;font-size:12px;font-weight:600;margin:14px 0}
.guide-field input,.guide-field select{width:100%;min-height:44px;border:1px solid #c5d5e4;border-radius:8px;padding:10px;color:#1e3a5f;background:white}
.guide-help{font-size:12px;line-height:1.6;color:#526b7c}
.guide-primary{background:#1e3a5f!important;color:#fff!important;border-color:#1e3a5f!important;min-height:44px;font-weight:600}
.guide-primary:hover{background:#2f5688!important}
#guided-footer{margin-top:20px;padding:14px 0 2px;border-top:1px solid #cadbea}
html[data-design-mode=intermediate] #guided-footer{display:flex;justify-content:space-between;gap:12px}
#guided-footer button{min-height:44px;min-width:90px}
#guided-panel button:disabled,#guided-footer button:disabled{opacity:.45;cursor:default}
.guide-fact{display:grid;gap:5px;background:#e9f1fa;border:1px solid #ccdbeb;padding:14px;border-radius:12px;margin-top:18px;font-size:12px}
.guide-fact strong{font-size:16px;margin-bottom:6px}
.guide-choices{display:grid;gap:8px}.guide-choices button{min-height:44px;text-align:left}
.guide-plan{background:#f7faff;border:1px solid #c9d9e8;border-radius:12px;padding:12px;text-align:center;margin:16px 0}
.guide-plan>span{font-size:10px;font-weight:700;letter-spacing:2px}.guide-bays{display:flex;flex-direction:column;gap:4px;margin:9px 0}
.guide-bay{border:1px dashed #94adc7;padding:10px;font-size:12px;min-height:40px;background:white;border-radius:4px;color:#1e3a5f}
.guide-bay.filled{background:#1e3a5f;color:white;border-style:solid}
.guide-bay.half-left{background:linear-gradient(90deg,#b8d0ec 50%,white 50%)}.guide-bay.half-right{background:linear-gradient(90deg,white 50%,#b8d0ec 50%)}
.guide-notice{padding:12px;border-radius:10px;background:#e6effa;line-height:1.6;font-size:12px}
.guide-review{display:grid;grid-template-columns:1fr 1fr;gap:12px;font-size:12px;line-height:1.5}.guide-review dt{color:#526b7c}.guide-review dd{margin:0;font-weight:600}
#guide-size-error{color:#a22a2a;font-size:12px}
@media(max-width:650px),(max-width:1000px) and (max-height:500px){
 .design-mode{height:64px;min-height:64px;padding:5px 10px}.design-mode p{display:none}.design-mode-buttons{width:100%;max-width:420px}.design-mode button{width:50%;min-width:0;min-height:46px}
 html.studio-standalone main{height:calc(100dvh - 126px - env(safe-area-inset-top))}
 html[data-design-mode=intermediate].studio-phone.inspector-open #viewport{height:calc(100dvh - 126px - env(safe-area-inset-top) - var(--phone-sheet-height,52dvh))}
 html[data-design-mode=advanced].studio-phone.inspector-open #viewport{height:calc(100dvh - 126px - env(safe-area-inset-top) - var(--phone-sheet-height,52dvh))}
 #guided-panel h2{font-size:21px}.guide-progress{margin-bottom:12px}.guide-progress button{min-height:38px!important}
}
@media(max-width:1000px) and (max-height:500px){html.studio-standalone main{height:calc(100dvh - 114px)}html[data-design-mode=intermediate] .scene-title{display:none}}
