/* Shared compact skin for the React window wizard and isolated WST door view. */
@font-face{font-family:Manrope;src:url('/fonts/manrope-variable.ttf') format('truetype');font-weight:200 800;font-display:swap}
.vsm-constructor{--red:#d91921;--red-dark:#aa1117;--ink:#292d30;--muted:#656b6d;--line:#dcd6cb;--surface:#fffdf9;--canvas:#f7f5f0;--accent:var(--red);--accent-dark:var(--red-dark);font-family:Manrope,Arial,sans-serif;color:var(--ink);font-size:13px;line-height:1.5}
.vsm-constructor .vsm-nav{padding:4px 8px;margin:0 0 10px;background:var(--surface);border:1px solid var(--line);border-radius:6px;min-width:0}
.vsm-constructor .vsm-progress{display:none;align-items:center;justify-content:space-between;gap:10px;font-size:12px;margin:0;min-height:38px}
.vsm-constructor .vsm-steps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;margin:0;padding:0;list-style:none}
.vsm-constructor .vsm-steps li{min-width:0}
.vsm-constructor .vsm-steps button{display:flex;align-items:center;gap:7px;width:100%;min-height:32px;padding:4px 8px;border:0;border-radius:4px;text-align:left;background:transparent;color:var(--muted);font:600 12px/1.3 Manrope,Arial,sans-serif;cursor:pointer}
.vsm-constructor .vsm-steps button>span{display:grid;place-items:center;flex:0 0 22px;height:22px;border-radius:50%;background:#eee9e0;font-size:10px}
.vsm-constructor .vsm-steps button[aria-current=step]{color:var(--red-dark);background:#fff0ed;box-shadow:none}
.vsm-constructor .vsm-steps button[aria-current=step]>span{color:#fff;background:var(--red)}
.vsm-constructor .vsm-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start}
.vsm-constructor .vsm-preview{position:sticky;top:106px;height:var(--vsm-panel-height,480px);min-width:0;max-height:none;padding:12px;overflow:hidden;border:1px solid var(--line);border-radius:6px;background:#eee9e0;box-shadow:none;display:flex;flex-direction:column}
.vsm-constructor .vsm-preview>dl,.vsm-constructor .vsm-preview>p{display:none}
.vsm-constructor .vsm-preview figure{display:flex;flex-direction:column;flex:1;min-height:0;margin:0;border:0;box-shadow:none}
.vsm-constructor .vsm-preview figure>svg{flex:1;width:100%;height:auto;min-height:100px;max-height:350px}
.vsm-constructor .vsm-preview figure>figcaption{display:none}
.vsm-constructor .vsm-controls{display:flex;flex-direction:column;min-width:0;height:var(--vsm-panel-height,480px);padding:18px;background:var(--surface);border:1px solid var(--line);border-radius:6px;overflow:hidden}
.vsm-constructor .vsm-heading{padding:0 0 12px;margin:0 0 12px;border-bottom:1px solid var(--line);flex:0 0 auto}
.vsm-constructor .vsm-heading>span{font-size:10px;font-weight:700;color:var(--red-dark);letter-spacing:.08em;text-transform:uppercase}
.vsm-constructor .vsm-heading h2{font:700 21px/1.3 Manrope,Arial,sans-serif;letter-spacing:-.4px;margin:5px 0 6px;scroll-margin-top:110px}
.vsm-constructor .vsm-heading h2:focus{outline:0}
.vsm-constructor .vsm-heading p{font-size:12px;color:var(--muted);line-height:1.55;margin:0}
.vsm-constructor .vsm-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:0 7px 4px 0;margin:0}
.vsm-constructor .vsm-body fieldset{border:0;padding:0 0 14px;margin:0 0 14px;min-width:0}
.vsm-constructor .vsm-body legend,.vsm-constructor .vsm-body h3{font-size:13px;font-weight:700;margin:0 0 10px;padding:0}
.vsm-constructor .vsm-body select,.vsm-constructor .vsm-body input{font:400 13px Manrope,Arial,sans-serif;background:#fff;border:1px solid var(--line);border-radius:4px;min-height:40px;max-width:100%;width:100%;padding:8px 10px;color:var(--ink)}
.vsm-constructor .vsm-body label{display:flex;flex-direction:column;gap:6px;font-size:12px;margin-bottom:10px}
.vsm-constructor .vsm-options{padding:12px 0 0;margin:12px 0 0;border:0;border-top:1px solid var(--line);background:transparent}
.vsm-constructor .vsm-options>h3{font-size:12px;font-weight:700;line-height:1.5;margin:0 0 8px}
.vsm-constructor .vsm-options>p{font-size:11px;color:var(--muted);line-height:1.6;margin:8px 0}
.vsm-constructor .vsm-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:0 0 auto;padding:12px 0 0;margin:10px 0 0;border:0;border-top:1px solid var(--line);background:var(--surface)}
.vsm-constructor .vsm-footer button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:42px;border-radius:4px;font:700 12px/1.35 Manrope,Arial,sans-serif;padding:10px 16px;border:1px solid var(--line);background:transparent;color:var(--ink);white-space:normal}
.vsm-constructor .vsm-footer button:last-child{margin-left:auto;min-width:130px;max-width:260px;flex:0 1 auto;background:var(--red);color:#fff;border-color:var(--red)}
.vsm-constructor .vsm-footer button:disabled{opacity:.45;cursor:not-allowed}
.vsm-constructor button:focus-visible,.vsm-constructor summary:focus-visible,.vsm-constructor select:focus-visible{outline:2px solid #76716b;outline-offset:2px}
.vsm-constructor .vsm-mobile-preview{display:none}
.vsm-constructor>.vsm-request,.vsm-constructor .vsm-request{scroll-margin-top:115px;max-width:760px;margin:0 auto}
.vsm-constructor .vsm-request:empty{display:none}
.vsm-constructor .vsm-body [aria-pressed=true]{border-color:var(--red);box-shadow:none;background-color:#fff2ef}
/* Native door document uses grid areas so its nav matches the outer window nav. */
html:has(.vsm-door),body:has(.vsm-door),#app-constructor:has(.vsm-door){height:auto;min-height:0;margin:0;background:transparent;overflow:visible}
.vsm-door.app{height:auto;min-height:0;overflow:visible;padding:0}
.vsm-door .vsm-workspace{grid-template-areas:'nav nav' 'preview controls';height:auto;min-height:0;gap:10px 18px;grid-template-rows:auto var(--vsm-panel-height,480px)}
.vsm-door .studio-wizard{display:contents}
.vsm-door .vsm-nav{grid-area:nav;margin:0}
.vsm-door .vsm-controls{grid-area:controls}
.vsm-door .vsm-preview{grid-area:preview;position:relative;top:auto;padding:0}
.vsm-door .preview-canvas{position:relative;min-height:0;height:100%;flex:1}
.vsm-door .preview-actions,.vsm-door .preview-cta-inquire{display:none}
.vsm-door .preview-info{top:14px;left:14px}
.vsm-door .preview-info-name{font:700 15px Manrope,Arial,sans-serif}
.vsm-door .preview-info-meta{font-size:10px}
.vsm-door .preview-viewswitch{top:12px;padding:3px;border-radius:5px;box-shadow:none}
.vsm-door .viewswitch-btn{min-height:34px;padding:7px 12px;font:600 11px Manrope,Arial,sans-serif}
.vsm-door .preview-toolrail{bottom:24px;right:12px}
.vsm-door .preview-credit{bottom:4px;font-size:8px;color:#656b6d;opacity:1;background:#fff9;padding:2px 5px;border-radius:3px}
.vsm-door .studio-step-menu{position:relative}
.vsm-door .studio-step-menu summary{font-size:11px;cursor:pointer;color:var(--red-dark);min-height:36px;display:flex;align-items:center}
.vsm-door .studio-step-menu[open]>div{position:absolute;right:0;top:38px;z-index:100;width:190px;border:1px solid var(--line);border-radius:5px;background:var(--surface);padding:5px;box-shadow:0 8px 20px #0002}
.vsm-door .studio-step-menu button{width:100%;min-height:40px;display:block;text-align:left;padding:8px;font-size:12px;border:0;background:transparent;cursor:pointer}
.vsm-door .studio-step-menu button[aria-current=step]{background:#fff0ed;color:var(--red-dark)}
.vsm-door .step,.vsm-door .studio-size-step{padding:0}
.vsm-door .step-header-sub{font-size:11px;line-height:1.55;margin:0 0 10px;color:var(--muted)}
.vsm-door .config-grid,.vsm-door .opening-grid{gap:8px}
.vsm-door .color-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0}
.vsm-door .color-swatch{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:4px;padding:8px;min-height:40px;text-align:left;background:transparent;cursor:pointer;font:400 11px Manrope,Arial,sans-serif;min-width:0;box-shadow:none}
.vsm-door .color-swatch-chip{position:relative;display:grid;place-items:center;width:21px;height:21px;flex:0 0 21px;border:1px solid #85867f;border-radius:50%;background-size:cover!important;overflow:hidden}
.vsm-door .color-swatch-chip svg{width:13px;height:13px;color:white;filter:drop-shadow(0 0 1px #000)}
.vsm-door .color-swatch[aria-pressed=true]{border-color:var(--red);background:#fff2ef}
.vsm-door .color-swatch span:last-child{overflow-wrap:anywhere}
.vsm-door .link-btn{display:block;min-height:36px;margin-bottom:8px;font-size:11px;color:var(--red-dark)}
.vsm-door .studio-review dl{margin:0}.vsm-door .studio-review dl>div{padding:9px 0;border-bottom:1px solid var(--line)}
.vsm-door .studio-review dt{font-size:10px;line-height:1.4;color:var(--muted)}
.vsm-door .studio-review dd{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:4px 0 0;font-size:12px;font-weight:600}
.vsm-door .studio-review dd button{min-height:32px;padding:5px;font-size:10px;color:var(--red-dark);border:0;background:transparent;text-decoration:underline;flex-shrink:0}
.vsm-door .studio-choice-note,.vsm-door .size-visual-note{font-size:11px;line-height:1.6;margin:10px 0;color:var(--muted)}
.vsm-door .studio-notice{position:static;margin:0 0 10px;border-radius:5px;font-size:12px;z-index:auto}
@media(max-width:760px){
 .vsm-constructor .vsm-nav{padding:4px 10px;margin-bottom:12px}
 .vsm-constructor .vsm-progress{display:flex}
 .vsm-constructor .vsm-progress>button{display:block;font-size:11px;min-height:36px}
 .vsm-constructor .vsm-steps{display:none}
 .vsm-constructor .vsm-nav[data-expanded=true] .vsm-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding-top:7px}
 .vsm-constructor .vsm-workspace{grid-template-columns:minmax(0,1fr);gap:12px}
 .vsm-constructor .vsm-preview{position:relative;top:auto;height:210px;max-height:none;padding:5px 8px;z-index:auto}
 .vsm-constructor .vsm-preview[data-expanded=true]{height:430px}
 .vsm-constructor .vsm-mobile-preview{display:flex;align-items:center;justify-content:space-between;flex:0 0 32px;min-height:32px;font-size:11px;padding:0 4px}
 .vsm-constructor .vsm-mobile-preview button{min-height:32px;font-size:11px;color:var(--red-dark)}
 .vsm-constructor .vsm-preview:not([data-expanded=true]) figure>div{display:none}
 .vsm-constructor .vsm-preview:not([data-expanded=true]) figure>svg{height:160px;min-height:0;max-height:160px}
 .vsm-constructor .vsm-preview[data-expanded=true] figure>svg{max-height:260px}
 .vsm-constructor .vsm-controls{height:490px;padding:14px}
 .vsm-constructor .vsm-heading h2{font-size:19px;scroll-margin-top:115px}
 .vsm-constructor .vsm-heading p{font-size:11px;line-height:1.5}
 .vsm-constructor .vsm-footer button{min-height:44px;font-size:12px;padding:10px 14px}
 .vsm-constructor .vsm-body select,.vsm-constructor .vsm-body input{min-height:44px;font-size:14px}
 .vsm-door .vsm-workspace{grid-template-areas:'nav' 'preview' 'controls';grid-template-rows:auto auto auto;gap:12px}
 .vsm-door .vsm-nav{margin:0}
 .vsm-door .vsm-preview{padding:0 0 5px}
 .vsm-door .preview-canvas{height:170px;flex:1;min-height:0}
 .vsm-door .vsm-preview[data-expanded=true] .preview-canvas{height:390px}
 .vsm-door .preview-info{display:none}
 .vsm-door .preview-viewswitch{top:6px;left:8px;right:auto;transform:none}
 .vsm-door .viewswitch-btn{min-height:29px;padding:5px 9px;font-size:10px}
 .vsm-door .preview-toolrail{right:5px;bottom:12px}
 .vsm-door .preview-credit{font-size:6px;bottom:0}
 .vsm-door .color-swatch{min-height:44px}
}
@media(prefers-reduced-motion:reduce){.vsm-constructor *{scroll-behavior:auto!important;transition:none!important}}
.vsm-door .layout-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.vsm-door .layout-card{min-height:80px;padding:7px;border-radius:4px}.vsm-door .layout-card-icon{height:52px!important;min-height:0!important;margin:0 auto 5px!important;width:100%!important;display:flex;align-items:center;justify-content:center}.vsm-door .layout-card-icon svg{height:52px!important;width:auto!important;max-width:100%}.vsm-door .layout-card-label{font-size:10px;line-height:1.3}.vsm-door .opening-card{padding:8px;min-height:72px}.vsm-door .opening-card>svg{height:42px;width:auto}.vsm-door .opening-name{font-size:11px}.vsm-door .opening-sub{font-size:10px}.vsm-door .model-modal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.vsm-door .model-thumb{height:86px;min-height:0}.vsm-door .model-thumb img{max-height:82px;object-fit:contain}.vsm-door .card-body{padding:7px}.vsm-door .card-name{font-size:11px}.vsm-door .handle-combo-illus-wrap{height:55px!important;padding:4px}.vsm-door .handle-combo-illus-wrap svg{max-height:50px}.vsm-door .handle-combo-card{padding:7px;min-height:80px}.vsm-door .handle-combo-name,.vsm-door .metal-name,.vsm-door .metal-price{font-size:10px}.vsm-door .metal-grid{gap:7px}.vsm-door .metal-card{padding:7px;min-height:48px}.vsm-door .metal-chip{width:24px;height:24px}.vsm-door .hinge-icon-img-wrap{height:48px}.vsm-door .hinge-icon-img-wrap img,.vsm-door .hinge-icon-svg{max-height:44px}.vsm-door .hinge-icon-card{min-height:80px;padding:7px}.vsm-door .selected{border-color:var(--red)!important}.vsm-door .layout-card.selected,.vsm-door .opening-card.selected{background:#fff2ef}@media(max-width:760px){.vsm-door .layout-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.vsm-door .model-modal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.vsm-door .preview-toolrail button{width:44px;height:44px;min-height:44px;padding:5px;font-size:9px}.vsm-door .preview-toolrail button svg{width:17px;height:17px}.vsm-door .config-section-title{font-size:11px;margin:10px 0}.vsm-door .step-header-sub{font-size:11px;line-height:1.45;margin-bottom:8px}
.vsm-constructor .vsm-footer{flex-direction:row!important}.vsm-constructor .vsm-footer button{margin-top:0!important;align-self:auto}.vsm-door .color-swatch{flex-direction:row;text-align:left;justify-content:flex-start;min-height:42px}.vsm-door .color-swatch-chip{margin:0}.vsm-door .vsm-body .color-swatch{height:auto}.vsm-door .vsm-footer .btn-primary{margin-left:auto}.vsm-door .vsm-footer .btn-ghost{margin-right:auto}
.vsm-door .studio-part-dimensions{display:none}
.vsm-door .vsm-body>.step .step-header-sub,.vsm-door .config-section-title{display:none}
.vsm-door .layout-grid .layout-card{height:76px;min-height:76px;padding:6px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}
.vsm-door .layout-grid .layout-card-icon{height:44px!important;margin:0!important;flex:0 0 44px}
.vsm-door .layout-grid .layout-card-icon svg{height:44px!important}
/* The window scene owns the full canvas; controls float over its spare margins. */
.vsm-constructor .vsm-window-preview[data-expanded]{padding:0}
.vsm-constructor .vsm-window-preview figure{position:relative;flex:1;min-height:0;border:0;border-radius:0;box-shadow:none}
.vsm-constructor .vsm-window-preview[data-expanded] figure>svg{height:100%;max-height:none;min-height:0;flex:none}
.vsm-constructor .vsm-window-preview>svg{flex:1;width:100%;height:100%;max-height:none;min-height:0}
.vsm-constructor .vsm-window-preview .vsm-preview-modes{position:absolute;top:12px;left:12px;z-index:3;display:flex;gap:0;margin:0;padding:2px;background:#fffdf9ed;border:1px solid var(--line);border-radius:4px;box-shadow:0 2px 8px #292d3010}
.vsm-constructor .vsm-window-preview .vsm-preview-modes button{min-height:30px;padding:4px 10px;font-size:11px;font-weight:600;border-radius:2px;border-bottom:2px solid transparent;background:transparent;box-shadow:none}
.vsm-constructor .vsm-window-preview .vsm-preview-modes button[aria-pressed=true]{border-bottom-color:var(--red);color:var(--red-dark)}
@media(max-width:760px){
 .vsm-constructor .vsm-window-preview .vsm-mobile-preview{padding:0 10px;background:var(--canvas);z-index:4}
 .vsm-constructor .vsm-window-preview .vsm-preview-modes{top:42px;left:8px}
 .vsm-constructor .vsm-window-preview:not([data-expanded=true]) .vsm-preview-modes{display:none}
}
