.scene-actions{display:flex;flex-direction:column;align-items:flex-end;gap:8px;pointer-events:auto}
.fullscreen-button{display:flex;align-items:center;justify-content:center;gap:7px;padding:8px 13px;min-height:34px;border:1px solid #dce0d5;border-radius:5px;background:#fffffff0;color:#53634c;font-size:11px;box-shadow:0 2px 8px #00000005}
.fullscreen-button:hover{background:#f3f5ed;border-color:#9ca98f}
.fullscreen-icon{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.fullscreen-button[aria-pressed=true] .fullscreen-icon{transform:rotate(180deg)}
.viewer-panel .view-tools{top:140px}
body.designer-expanded{position:fixed;inset:0;z-index:2147483647;display:flex;flex-direction:column;width:100vw;height:100vh;height:100dvh;min-height:0;margin:0;overflow:hidden;background:var(--cream)}
body.designer-expanded>.header{flex:0 0 auto}
body.designer-expanded .workspace{flex:1 1 0;display:grid;grid-template-columns:330px minmax(0,1fr);height:auto;min-height:0;min-width:0;direction:ltr}
body.designer-expanded .sidebar{display:block;overflow:auto;min-height:0;height:100%;border-right:1px solid var(--line)}
body.designer-expanded .viewer-panel{order:initial;min-height:0;height:100%;min-width:0}
html[dir=rtl] body.designer-expanded .sidebar{direction:rtl}
@media(min-width:1600px){body.designer-expanded .workspace{grid-template-columns:370px minmax(0,1fr)}}
@media(max-width:1000px){body.designer-expanded .workspace{grid-template-columns:285px minmax(0,1fr)}}
@media(max-width:700px){
 .viewer-panel .view-tools{top:126px}
 .scene-actions{gap:6px}.fullscreen-button{min-height:34px;padding:7px 10px;font-size:10px}
 body.designer-expanded .workspace{grid-template-columns:clamp(150px,32vw,230px) minmax(0,1fr)}
 body.designer-expanded .workspace .sidebar{padding:18px 12px 0}
 body.designer-expanded .workspace .sidebar .shape-grid,body.designer-expanded .workspace .sidebar .module-list{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.designer-expanded .workspace .sidebar .field-row{flex-wrap:wrap;gap:6px}
 body.designer-expanded .workspace .sidebar .field-row select{max-width:100%}
 body.designer-expanded .workspace .sidebar .finish-row{flex-wrap:wrap;gap:12px}
 body.designer-expanded .workspace .sidebar .intro h1{font-size:18px}
 body.designer-expanded .workspace .scene-top{left:12px;right:12px}
 body.designer-expanded .workspace .live-label{display:none}
 body.designer-expanded .workspace .scene-actions{margin-left:auto}
 body.designer-expanded .workspace .scene-caption{left:12px;right:12px}
 body.designer-expanded .workspace .scene-caption h3{font-size:16px}
 body.designer-expanded .workspace .scene-caption p{overflow-wrap:anywhere}
 body.designer-expanded .workspace .gesture{display:none}
 body.designer-expanded .workspace .bom-toggle{left:12px;bottom:120px}
}
