body.design-preview{overflow:hidden;background:#ffffff;color:#373735}
body.design-preview>h1,body.design-preview>main,body.design-preview>.tabs,body.design-preview>.tuban{display:none!important}
#design-root{position:fixed;inset:0;z-index:10;--nav:calc(66px + env(safe-area-inset-bottom,0px));font-family:inherit;background:#ffffff}
#dp-header{position:absolute;top:0;left:0;right:0;height:64px;padding:0 18px;display:flex;align-items:center;gap:8px;z-index:14;background:#ffffffe8;border-bottom:1px solid #37373511;box-sizing:border-box}
.dp-wordmark{color:#373735;font-size:24px;letter-spacing:3px;font-weight:800;text-decoration:none}.dp-preview{font-size:12px;color:#373735;white-space:nowrap}.dp-header-actions{margin-left:auto;display:flex;align-items:center;gap:5px}#dp-header button{width:44px;height:44px;min-height:44px;border:0;background:transparent;font-size:24px;padding:10px}#dp-header svg{width:24px;height:24px}#dp-saved{font-size:12px;white-space:nowrap;color:#373735}
#dp-stage{position:absolute;top:64px;left:0;right:0;bottom:var(--nav);overflow:hidden;transition:bottom .15s}
#dp-stage #cv3w,#dp-stage #cv{width:100%;height:100%;border-radius:0!important;box-shadow:none!important}#dp-stage #svg{width:100%;height:100%;border-radius:0}
#design-root #sel3,#design-root #eyeov,#design-root #cvx,#design-root #wkp{display:none!important}
#dp-build-controls,#dp-view-controls{position:absolute;top:80px;left:50%;transform:translateX(-50%);display:flex;gap:2px;padding:3px;background:#ffffffed;border:1px solid #37373511;border-radius:999px;z-index:12;white-space:nowrap}
#dp-build-controls button,#dp-view-controls button,#dp-times button{min-height:44px;padding:8px 16px;border:0;background:transparent;border-radius:999px;font-size:14px;color:#373735}
#dp-build-controls [aria-pressed=true],#dp-view-controls [aria-pressed=true],#dp-times [aria-pressed=true]{background:#373735;color:#ffffff}
#dp-add{position:absolute;bottom:calc(var(--nav) + 20px);left:50%;transform:translateX(-50%);min-height:48px;padding:10px 22px;border:0;border-radius:999px;background:#373735;color:#ffffff;font-size:16px;white-space:nowrap;z-index:12;box-shadow:0 4px 20px #37373522}
#dp-nav{position:absolute;bottom:0;left:0;right:0;height:var(--nav);padding-bottom:env(safe-area-inset-bottom,0px);display:grid;grid-template-columns:repeat(3,1fr);background:#ffffff;border-top:1px solid #37373522;z-index:13;box-sizing:border-box}
#dp-nav button{border:0;background:transparent;color:#373735;min-height:60px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:13px;border-radius:0;position:relative}#dp-nav [aria-current=page]{color:#373735;font-weight:700}#dp-nav [aria-current=page]:after{content:'';position:absolute;bottom:5px;width:36px;height:2px;background:#373735}.dp-nav-icon svg{width:23px;height:23px}
#dp-selection{position:absolute;left:0;right:0;bottom:var(--nav);height:280px;background:#ffffff;border-radius:22px 22px 0 0;padding:10px 18px;box-sizing:border-box;z-index:12;box-shadow:0 -5px 24px #37373511;overflow:auto}
#dp-selection[hidden],#dp-experience[hidden],#dp-view-controls[hidden],#dp-build-controls[hidden],#dp-save-dialog[hidden],#dp-mode-panel[hidden],#dp-models[hidden],#dp-colors[hidden],#dp-sizes[hidden]{display:none!important}
#design-root.dp-selected #dp-stage{bottom:calc(var(--nav) + 280px)}
.dp-sheet-handle{width:34px;height:4px;background:#ffffff;border-radius:999px;margin:0 auto 10px}.dp-selected-heading{display:flex;gap:8px;align-items:center;justify-content:space-between}.dp-selected-heading b{display:block;font-size:18px}.dp-selected-heading small{display:block;font-size:12px;color:#373735;margin-top:4px;line-height:1.4}.dp-selected-heading button{min-height:44px;padding:8px 16px;border:0;border-radius:999px;background:#373735;color:#ffffff;font-size:14px}
#dp-tabs{display:grid;grid-template-columns:repeat(3,1fr);margin:9px 0 7px;border-bottom:1px solid #ffffff}#dp-tabs button{min-height:44px;border:0;background:transparent;border-radius:0;color:#373735;font-size:14px}#dp-tabs [aria-selected=true]{border-bottom:2px solid #373735;color:#373735;font-weight:700}
#dp-models{display:flex;gap:8px;overflow:auto;scroll-snap-type:x proximity;min-height:94px;padding-bottom:4px}#dp-models button{width:108px;flex:none;border:1px solid #ffffff;border-radius:10px;padding:4px;background:#ffffff;color:#373735;scroll-snap-align:start}#dp-models [aria-pressed=true]{border:2px solid #373735;padding:3px}#dp-models img{width:100%;height:66px;object-fit:cover;border-radius:6px;display:block}#dp-models span{display:block;font-size:12px;padding-top:3px}
#dp-colors{display:flex;gap:14px;align-items:center;justify-content:center;min-height:94px}#dp-colors button{width:44px;height:44px;min-height:44px;border:3px solid #ffffff;border-radius:50%;box-shadow:0 0 0 1px #ffffff}#dp-colors [aria-pressed=true]{box-shadow:0 0 0 2px #373735}
#dp-sizes{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;min-height:94px}#dp-sizes label{font-size:13px;color:#373735}#dp-sizes input{width:100%;box-sizing:border-box;min-height:44px;font-size:16px;text-align:center;background:#ffffff;border:1px solid #b8b8b3;border-radius:8px;margin-top:6px}#dp-sizes input:focus-visible{outline:2px solid #373735;outline-offset:2px}#dp-details{display:block;margin:6px auto 0;font-size:13px;color:#373735;min-height:36px;border:0;background:none;text-decoration:underline;padding:2px}
#dp-experience{position:absolute;bottom:calc(var(--nav) + 18px);left:16px;right:16px;background:#ffffffef;border:1px solid #ffffff88;backdrop-filter:blur(8px);border-radius:18px;padding:10px 14px;z-index:12;display:grid;grid-template-columns:1fr auto;gap:6px 10px}#dp-times{display:flex;grid-column:1/-1;justify-content:center}#dp-times button{flex:1}.dp-brightness{display:flex;align-items:center;gap:8px;font-size:13px}.dp-brightness input{width:100%;min-width:0;accent-color:#373735}#dp-edit-back{min-height:44px;font-size:13px;background:#ffffff;color:#373735;border:0;border-radius:999px;padding:8px 12px}
#dp-mode-panel{position:absolute;top:70px;right:12px;left:12px;max-width:420px;margin-left:auto;border:1px solid #ffffff;box-shadow:0 8px 36px #37373522;border-radius:16px;padding:14px;background:#ffffff;z-index:20}#dp-mode-panel .rvseg{margin:8px 0}#dp-mode-panel p{font-size:14px;color:#373735;line-height:1.4}.dp-panel-heading{display:flex;align-items:center;justify-content:space-between;font-size:16px}.dp-panel-heading button{min-width:44px;min-height:44px;border:0;background:transparent;font-size:24px}.dp-dimensions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.dp-dimensions label{font-size:13px;color:#373735}.dp-dimensions input{width:100%;box-sizing:border-box;font-size:16px;min-height:44px;margin:6px 0}#dp-room-apply{min-height:44px;width:100%;font-size:14px}
#dp-save-dialog{position:absolute;inset:0;background:#37373566;z-index:30;display:flex;align-items:center;justify-content:center;padding:20px}#dp-save-dialog section{width:100%;max-width:360px;padding:18px;background:#ffffff;border-radius:20px}#dp-save-dialog p{font-size:14px;line-height:1.6;color:#373735}#dp-export{width:100%;min-height:44px;font-size:14px;color:#ffffff;background:#373735;border:0;border-radius:999px}#dp-save-dialog a{display:block;text-align:center;margin-top:16px;font-size:14px;color:#373735}
body.design-preview #toast{z-index:90;bottom:calc(78px + env(safe-area-inset-bottom,0px))}body.design-preview .mdl{z-index:60}body.design-preview #fed{z-index:70}body.design-preview #fed .fedb{max-height:45vh}body.design-preview #ux-handles button{font-size:13px;padding:7px 10px}
@media(max-width:350px){.dp-preview{display:none}#dp-header{padding:0 12px}#dp-models button{width:96px}#dp-colors{gap:10px}.dp-selected-heading small{font-size:12px}}
@media(min-width:900px){#dp-selection{left:auto;width:380px;top:130px;bottom:auto;height:auto;max-height:calc(100vh - 240px);border-radius:18px;right:22px}#design-root.dp-selected #dp-stage{bottom:var(--nav);right:420px}#dp-experience{left:50%;transform:translateX(-50%);max-width:480px;width:calc(100% - 80px)}#dp-header{padding:0 32px}}
#dp-context[hidden],#dp-proposal[hidden]{display:none!important}
#dp-context{margin:10px 0 4px}#dp-context button{width:100%;min-height:44px;background:#ffffff;color:#373735;border:1px solid #ffffff;border-radius:12px;font-size:14px;font-weight:600}
#design-root.dp-selected #dp-selection{height:340px}#design-root.dp-selected #dp-stage{bottom:calc(var(--nav) + 340px)}
#dp-proposal{position:absolute;z-index:25;left:12px;right:12px;bottom:calc(var(--nav) + 12px);background:#ffffff;border:1px solid #ffffff;border-radius:18px;padding:16px;box-shadow:0 6px 30px #37373522}
#dp-proposal b{font-size:16px}#dp-proposal p{font-size:13px;line-height:1.5;margin:10px 0}#dp-proposal>div{display:flex;gap:10px}#dp-proposal button{flex:1;min-height:44px;border-radius:12px;font-size:15px}#dp-proposal-commit{background:#373735;color:#ffffff}#dp-proposal-commit:disabled{opacity:.4}
#design-root.dp-proposing #dp-selection{visibility:hidden}#design-root.dp-proposing #dp-stage{bottom:calc(var(--nav) + 160px)}#design-root.dp-proposing #ux-handles{display:none}
@media(min-width:900px){#design-root.dp-selected #dp-selection{height:auto}#design-root.dp-selected #dp-stage{bottom:var(--nav)}#dp-proposal{left:auto;width:350px;right:22px}#design-root.dp-proposing #dp-stage{bottom:var(--nav)}}
.dp-selected-heading>div{flex:1;min-width:0}.dp-selected-heading b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dp-selected-heading #dp-remove{color:#373735;background:#ffffff;padding:8px 10px;min-width:44px}
#dp-bin-position[hidden]{display:none!important}#dp-bin-position{display:block!important;margin:10px 0}#dp-bin-position>span{font-size:13px;font-weight:600}.dp-slot-grid{display:grid;gap:6px;margin:8px 0;max-height:200px;overflow:auto}.dp-slot-grid button{font-size:12px!important;min-height:44px!important;border:1px solid #ffffff;border-radius:8px!important;padding:6px}.dp-slot-grid [aria-pressed=true]{background:#ffffff;border:2px solid #373735}.dp-slot-grid button:disabled{opacity:.45}#dp-bin-position small{font-size:12px;color:#373735}#dp-proposal{max-height:calc(100dvh - 165px);overflow:auto;box-sizing:border-box}
#design-root.dp-proposing #dp-stage{bottom:calc(var(--nav) + var(--proposal-height,160px))}
@media(min-width:900px){#design-root.dp-proposing #dp-stage{bottom:var(--nav)}}

#dp-walls{position:absolute;top:140px;right:16px;z-index:12;min-height:44px;padding:8px 14px;border:1px solid #37373522;border-radius:999px;background:#ffffffed;color:#373735;font-size:14px}
#dp-walls[hidden]{display:none!important}#dp-walls[aria-pressed=true]{background:#373735;color:#ffffff}
.dp-selected-heading{flex-wrap:wrap}.dp-selected-heading>div{flex-basis:100%}.dp-selected-heading #dp-duplicate{margin-left:auto;background:#ffffff;color:#373735;padding:8px 12px}
.dp-selected-heading #dp-done{padding:8px 12px}
#dp-placement-tools{margin:10px 0;font-size:13px}#dp-elevation label{display:flex;justify-content:space-between;align-items:center;font-weight:600}#dp-height-value{font-weight:400;color:#373735}.dp-height-row{display:flex;gap:8px;align-items:center}#dp-height-range{min-width:0;flex:1;min-height:44px;accent-color:#373735}#dp-on-floor{min-height:44px;padding:7px 10px;white-space:nowrap;border:1px solid #ffffff;background:#ffffff;color:#373735;border-radius:10px;font-size:13px}#dp-on-floor:disabled{opacity:.5}
#dp-shelf-config[hidden],#dp-elevation[hidden],#dp-top-prompt[hidden]{display:none!important}#dp-shelf-config{border-top:1px solid #ffffff;padding-top:8px;margin-top:6px}.dp-shelf-orientation,.dp-shelf-columns{display:flex;gap:8px;align-items:center;margin:6px 0}.dp-shelf-orientation button{flex:1}.dp-shelf-columns span{flex:1;text-align:center}.dp-shelf-columns button,.dp-shelf-orientation button{min-height:44px;padding:8px 12px;border:1px solid #ffffff;background:#ffffff;color:#373735;border-radius:10px;font-size:13px}.dp-shelf-orientation [aria-pressed=true]{background:#373735;color:#ffffff}#dp-shelf-config small{font-size:12px;color:#373735}#ux-handles{flex-wrap:wrap;justify-content:center;max-width:230px}#dp-height-handle{min-height:44px}
#dp-top-prompt{position:absolute;inset:0;z-index:80;background:#37373555;display:flex;align-items:center;justify-content:center;padding:20px}#dp-top-prompt section{max-width:340px;background:#ffffff;padding:20px;border-radius:18px}#dp-top-prompt b{font-size:18px}#dp-top-prompt p{font-size:14px;line-height:1.5}#dp-top-prompt section>div{display:flex;gap:10px}#dp-top-prompt button{flex:1;min-height:44px;font-size:14px;border:1px solid #ffffff;border-radius:10px}#dp-top-yes{color:#ffffff;background:#373735}
#design-root.dp-selected #dp-selection{height:410px}#design-root.dp-selected #dp-stage{bottom:calc(var(--nav) + 410px)}
@media(max-height:700px){#design-root.dp-selected #dp-selection{height:50dvh}#design-root.dp-selected #dp-stage{bottom:calc(var(--nav) + 50dvh)}}
@media(min-width:900px){#design-root.dp-selected #dp-selection{height:auto}#design-root.dp-selected #dp-stage{bottom:var(--nav)}}

#dp-height-handle{display:inline-flex;align-items:center;justify-content:center;gap:6px}#dp-height-handle svg{width:18px;height:18px;flex:none;pointer-events:none}
#dp-cushion-angle[hidden],#dp-light-switch[hidden],#dp-night-lights[hidden]{display:none!important}#dp-cushion-angle{margin-top:8px;border-top:1px solid #ffffff;padding-top:8px}#dp-cushion-angle>b{font-size:13px}#dp-cushion-angle label{display:flex;justify-content:space-between;margin-top:8px}#dp-cushion-angle input{width:100%;min-height:36px;accent-color:#373735}.dp-angle-presets{display:flex;gap:6px}.dp-angle-presets button{flex:1;min-height:44px;font-size:13px;padding:7px;border-radius:10px;border:1px solid #ffffff;background:#ffffff;color:#373735}
#dp-light-switch{display:flex;align-items:center;justify-content:space-between;margin-top:8px}#dp-light-toggle{min-height:44px;min-width:68px;border-radius:999px;border:1px solid #ffffff;background:#ffffff;color:#373735;font-size:14px}#dp-light-toggle[aria-pressed=true]{background:#373735;color:#ffffff}
#dp-night-lights{grid-column:1/-1;border-top:1px solid #37373522;padding-top:8px}.dp-night-heading{display:flex;align-items:center;gap:8px;font-size:13px}.dp-night-heading b{margin-right:auto}.dp-night-heading button{min-height:36px;font-size:12px;padding:5px 10px;border:1px solid #ffffff;border-radius:999px;background:#ffffff;color:#373735}#dp-night-list{display:flex;gap:8px;overflow:auto;max-height:100px;margin-top:8px}#dp-night-list button{display:flex;align-items:center;gap:12px;flex:none;min-height:44px;padding:8px 12px;border:1px solid #ffffff;border-radius:10px;color:#373735;background:#ffffff;font-size:13px}#dp-night-list [aria-pressed=true]{background:#ffffff;color:#373735;border-color:#373735}#dp-night-list b{font-size:12px}#dp-night-list p{font-size:13px}#dp-floor-settings{padding-top:12px;margin-top:12px;border-top:1px solid #ffffff;font-size:14px}#dp-floor-settings select{display:block;width:100%;min-height:44px;margin-top:8px;font-size:16px}
/* The editor overlays a full-size canvas; selection never resizes the renderer. */
#design-root #dp-stage,#design-root.dp-selected #dp-stage,#design-root.dp-proposing #dp-stage{bottom:var(--nav);right:0;transition:none}
#design-root.dp-selected #dp-selection{height:min(410px,calc(100dvh - 220px));max-height:calc(100dvh - 150px)}
#design-root #dp-selection.dp-sheet-compact{height:146px;max-height:146px;overflow:hidden}
#dp-selection.dp-sheet-compact>:not(.dp-sheet-handle):not(.dp-selected-heading):not(#dp-context){display:none!important}
#dp-edit-toggle{margin-right:auto;background:#373735;color:#ffffff;padding:8px 12px}.dp-selected-heading #dp-duplicate{margin-left:0}
#dp-selection .dp-sheet-handle{width:100%;height:20px;min-height:20px;margin:0 auto 4px;background:transparent;position:relative;cursor:pointer}
#dp-selection .dp-sheet-handle:before{content:'';position:absolute;width:34px;height:4px;top:2px;left:50%;transform:translateX(-50%);background:#ffffff;border-radius:999px}
#dp-selection .dp-sheet-handle:focus-visible{outline:2px solid #373735;border-radius:8px}
@media(min-width:900px){#design-root.dp-selected #dp-selection{height:auto;max-height:calc(100dvh - 240px)}#design-root #dp-selection.dp-sheet-compact{height:146px}}

#design-root #dp-selection.dp-sheet-compact.dp-sheet-has-context{height:208px;max-height:208px}

/* Use the supplied VIM artwork for the compact header wordmark. */
.dp-wordmark{position:relative;display:block;flex:none;width:64px;aspect-ratio:365/128;overflow:hidden;line-height:0}.dp-wordmark img{position:absolute;width:161.3699%;max-width:none;height:auto;left:-30.137%;top:-437.5%;filter:invert(1);mix-blend-mode:multiply}
/* Keep placement controls available in the compact furniture sheet. */
#dp-placement-actions{display:flex;gap:8px;margin-top:10px}#dp-placement-actions button{flex:1;min-height:44px;border:1px solid #ffffff;border-radius:999px;background:#ffffff;color:#373735;font-size:14px;padding:8px 12px}#dp-placement-actions [aria-pressed=true]{background:#373735;color:#ffffff}#dp-placement-actions button[hidden],#dp-placement-hint[hidden]{display:none!important}#dp-placement-hint{display:block;color:#373735;font-size:12px;margin:7px 0 0}
#design-root #dp-selection.dp-sheet-compact{height:206px;max-height:206px}#design-root #dp-selection.dp-sheet-compact #dp-placement-actions{display:flex!important}#design-root.dp-placing #dp-selection.dp-sheet-compact #dp-placement-hint{display:block!important}#design-root #dp-selection.dp-sheet-compact.dp-sheet-has-context{height:268px;max-height:268px}
#design-root.dp-placing #ux-handles{display:none!important}

#dp-colors{display:block}#dp-colors[hidden]{display:none}.dp-part-controls{display:flex;gap:8px;align-items:end;flex-wrap:wrap}.dp-part-controls label{flex:1;min-width:110px;font-size:12px}.dp-part-controls select{display:block;width:100%;min-height:42px;margin-top:4px;border:1px solid #ffffff;border-radius:10px;background:#ffffff;padding:6px}.dp-part-controls button{min-height:42px;padding:6px 10px;border:1px solid #ffffff;border-radius:10px}.dp-color-swatches{display:flex;gap:12px;margin-top:12px}.dp-custom-color{display:flex;align-items:center;gap:12px;font-size:12px;margin-top:8px}.dp-custom-color input{width:52px;height:32px;border:0;padding:0}

#dp-grid-config[hidden]{display:none!important}#dp-grid-config{border-top:1px solid #ffffff;padding-top:6px;margin-top:6px}
