/* The interior is a full-bleed image; controls stay small and readable. */
.scene-tools{display:flex;align-items:center;gap:14px}
.scene-tools button{pointer-events:auto}.scene-tools #overview{max-width:none;white-space:nowrap;font-size:12px}
.environment-switch{display:flex;border:1px solid #bcc5c7;border-radius:20px;padding:2px;background:#f7f7f2b0}
.environment-switch button{border:0;background:none;border-radius:18px;min-height:34px;padding:0 14px;font-size:12px;color:#60665e}
.environment-switch button.selected{background:#5d6257;color:#fff}
#roomOptions{position:absolute;top:88px;left:28px;z-index:4;display:flex;align-items:center;gap:14px;color:#50564e;font-size:12px}
#roomOptions select{min-height:36px;font-size:12px;background:#f8f8f1b0;border:1px solid #d3d4c980;border-radius:18px;padding:0 28px 0 12px;width:auto}
.room-navigation-hint{font-size:10px;color:#666b61;background:#f5f5edb3;padding:5px 9px;border-radius:12px;pointer-events:none}
#roomStylingMenu{position:relative;margin:0;border:0;padding:0}
#roomStylingMenu summary{list-style:none;cursor:pointer;padding:0 14px;height:36px;min-height:36px;line-height:1.3;display:flex;align-items:center;border-radius:18px;background:#f8f8f1c9;white-space:nowrap}
.room-menu-panel{position:absolute;top:45px;left:0;width:260px;padding:18px;border:1px solid #d9d9cd;border-radius:12px;background:#f8f8f1f5;box-shadow:0 12px 35px #20241820;display:grid;gap:8px;backdrop-filter:blur(16px)}
.room-menu-panel p{margin:0 0 6px;font-size:12px}.room-menu-panel small{font-size:10px;line-height:1.7;color:#777c72}
.room-menu-panel button{border:1px solid #ced0c5;background:transparent;border-radius:6px;min-height:40px;font-size:12px;color:#424c3e}.room-menu-panel button:hover{background:#e8eadf}
.room-menu-panel label{margin:0;display:flex;align-items:center;justify-content:space-between;font-size:12px}
.room-menu-panel .room-chair-option{justify-content:flex-start;padding:0!important;background:none!important}
.room-chair-option{display:flex;gap:6px;align-items:center;font-size:12px;min-height:44px;margin:0;cursor:pointer}
.room-chair-option input{accent-color:#6b715f;width:14px;height:14px;margin:0}
#roomNote{position:absolute;z-index:2;bottom:174px;right:28px;display:flex;align-items:center;gap:7px;font-size:10px;line-height:1.4;color:#666b61;text-align:right;pointer-events:none}
#roomNote .room-note-detail{padding-left:7px;border-left:1px solid #b8baae}
body[data-environment=room] #viewport,body[data-environment=room] #boardOverlay{inset:0}
body[data-environment=room] .workspace{background:#dedbd3}
body[data-environment=room] .scene-heading,body[data-environment=room] .scene-bottom{z-index:3}
body[data-environment=room] .scene-heading h2{font-weight:400}
body[data-environment=room] .scene-heading .eyebrow{color:#6c7066}
/* Local text backplates preserve contrast without recolouring the room or products. */
body[data-environment=room] .scene-heading>div:first-child{background:#f5f5edd9;padding:5px 9px;margin:-5px -9px;border-radius:5px;backdrop-filter:blur(8px)}
body[data-environment=room] .room-chair-option{background:#f5f5edd9;padding:0 9px;border-radius:20px}
body[data-environment=room] #roomNote{background:#f5f5ede0;padding:6px 9px;border-radius:4px;color:#51574e}
body[data-environment=room] .direct-toolbar #directHelp{visibility:hidden}
body[data-environment=room] .scene-bottom{padding:0;border:0}
body[data-environment=room] .scene-bottom .measurement,body[data-environment=room] .scene-bottom .export-actions{padding:6px 8px;border-radius:5px;background:#f5f5ede0;backdrop-filter:blur(8px)}
body[data-environment=room] .measurement small{max-width:240px}
body[data-environment=room] .random-toolbar button{backdrop-filter:blur(14px);background:#f9faf4cc}
body[data-environment=room] .random-toolbar .primary-action{background:#424b3de8}
body[data-environment=room] .placement-status{background:#eeeedea0;border-radius:5px;padding:0 8px;backdrop-filter:blur(12px)}
body[data-environment=room] #boardOverlay,body[data-environment=room] #contextBar,body[data-environment=room] #boardSelection{display:none!important}
.room-preview-button{border:1px solid #d3d4c980;border-radius:18px;background:#f8f8f1c9;color:#50564e;padding:0 12px;min-height:36px;font-size:12px;white-space:nowrap}
#captureToolbar{position:absolute;z-index:8;bottom:20px;right:24px;display:flex;gap:4px;padding:4px;background:#f5f5ede8;backdrop-filter:blur(12px);border-radius:22px}
#captureToolbar button{min-height:38px;border:0;border-radius:20px;padding:0 15px;background:transparent;color:#424b3d;font-size:12px}
#captureToolbar #capturePng{background:#424b3d;color:#fff}
body[data-capture-preview=true] .workspace>.scene-heading,
body[data-capture-preview=true] #roomOptions,
body[data-capture-preview=true] #roomNote,
body[data-capture-preview=true] .direct-toolbar,
body[data-capture-preview=true] .random-toolbar,
body[data-capture-preview=true] .scene-bottom,
body[data-capture-preview=true] #shelfPager,
body[data-capture-preview=true] #boardDragStatus{display:none!important}
#boardOverlay .frame-edge::before{opacity:.45}
#boardOverlay .frame-edge:hover::before,#boardOverlay .frame-edge:focus-visible::before{opacity:1}
.random-toolbar #releaseComposition{grid-column:1/-1;flex-basis:100%;border:0;border-radius:0;min-height:44px;padding:2px 5px;margin:-4px 0;color:#596051;background:none;backdrop-filter:none;font-size:10px;text-decoration:underline;text-underline-offset:3px;text-align:center}
@media(max-width:650px){
 .scene-tools{gap:5px}.scene-tools #overview{display:none}.environment-switch button{padding:0 12px;min-height:36px}
 .scene-heading{align-items:center}.scene-heading h2{font-size:13px}
 #roomOptions{top:62px;left:16px;gap:6px;right:16px}#roomOptions select{min-height:40px;padding-left:9px;padding-right:20px;max-width:130px}.room-chair-option{font-size:11px}.room-preview-button{padding:0 10px;min-height:40px;font-size:11px}
 .room-navigation-hint{display:none}#roomStylingMenu summary{padding:0 10px;height:40px;min-height:40px}.room-menu-panel{left:auto;right:-75px;max-width:calc(100vw - 36px)}
 #roomNote{display:none!important}
 body[data-environment=room] .scene-bottom .measurement,body[data-environment=room] .scene-bottom .export-actions{padding:4px 5px}
 body[data-environment=room] .scene-bottom .measurement small{max-width:160px;font-size:10px}
 body[data-environment=room] .random-toolbar{bottom:106px}
}
