#stageConstruction{width:calc(100vw - 24px);max-width:1800px;height:calc(100dvh - 24px);max-height:none;padding:16px;background:#10151c;color:#e6edf4;border:1px solid #465260;border-radius:12px;overflow:auto}#stageConstruction::backdrop{background:#000b}#stageConstruction header{display:flex;align-items:center;justify-content:space-between}#stageConstruction h2{margin:0;font-size:21px}#stageConstruction header p{margin:5px 0 12px;color:#9cabb9}.decorToolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 0;border-block:1px solid #303b48}.decorToolbar label{display:flex;gap:6px;align-items:center}.decorWorkspace{display:grid;grid-template-columns:210px minmax(0,1fr) 220px;gap:16px;height:calc(100% - 115px);padding-top:14px}.decorWorkspace>main{min-width:0;margin:0;padding:0;display:flex;flex-direction:column;justify-content:center;overflow:auto}.decorWorkspace>aside{overflow:auto;padding:4px}.decorWorkspace h3{font-size:12px;text-transform:uppercase;color:#9dadbc;letter-spacing:1px;margin:14px 0 7px}#decorCatalog button{display:flex;width:100%;align-items:center;gap:8px;text-align:left;margin-bottom:5px;padding:7px;font-size:12px;min-height:42px}#decorCatalog svg{width:46px;height:28px;flex-shrink:0}#decorBoard{position:relative;isolation:isolate;width:100%;background:#05070a;overflow:hidden;border:1px solid #3a4857;flex-shrink:0}#decorBackground{position:absolute;inset:0;width:100%;height:100%;object-fit:fill}.decorLayer{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:2}.decorObject{position:absolute;padding:0;pointer-events:none;transform-origin:center}.decorObject svg,.decorObject img{width:100%;height:100%;display:block;pointer-events:none}.decorObject img{object-fit:fill}#decorEditLayer{pointer-events:auto;touch-action:none;z-index:3}#decorEditLayer .decorObject{pointer-events:auto;cursor:move;touch-action:none}#decorEditLayer .decorObject.chosen{outline:1px solid #c8fc73;outline-offset:3px}.decorHandle{position:absolute;width:12px;height:12px;background:#c8fc73;border:2px solid #111;z-index:5}.decorHandle.nw{left:-8px;top:-8px;cursor:nwse-resize}.decorHandle.ne{right:-8px;top:-8px;cursor:nesw-resize}.decorHandle.sw{left:-8px;bottom:-8px;cursor:nesw-resize}.decorHandle.se{right:-8px;bottom:-8px;cursor:nwse-resize}.decorAxis{position:absolute;left:50%;top:0;bottom:0;border-left:1px dashed #d3e2ee55;pointer-events:none;z-index:4}#decorGuides{position:absolute;inset:0;pointer-events:none;z-index:4}#decorGuides i{position:absolute;border-color:#c8fc73;border-style:dashed;border-width:0}#decorGuides .x{top:0;bottom:0;border-left-width:1px}#decorGuides .y{left:0;right:0;border-top-width:1px}#decorInspector fieldset{padding:0;margin:12px 0;border:0;display:grid;gap:10px}#decorInspector label{display:grid;gap:5px;font-size:12px}#decorInspector input{width:100%;min-width:0}#decorInspector button{width:100%;font-size:12px}.decorHelp,.decorWorkspace small{font-size:11px;line-height:1.5;color:#a8b6c5}.decorScaleLabel{display:flex;gap:10px;align-items:center;font-size:12px;margin-bottom:6px}.decorScaleLabel input{width:90px}#decorSnapStatus{color:#c8fc73;font-size:12px}#stageDecorLayer{z-index:2}#openConstruction{color:#c8fc73}@media(max-width:950px){.decorWorkspace{grid-template-columns:160px minmax(280px,1fr) 170px;gap:8px;min-width:650px}.decorToolbar{font-size:12px}}

/* Keep fixture icons and light beams above physical scenery. */
.stage .lights{z-index:3}#stageConstruction input[type=number]{background:#171f29;color:#e6edf4;border:1px solid #445164;border-radius:5px;padding:8px}#stageConstruction fieldset:disabled{opacity:.45}#stageConstruction header{padding:0 0 10px}#stageConstruction main{max-width:none;height:auto;zoom:1!important;width:auto!important}

#stageConstruction .decorWorkspace>main{display:flex!important}#stageConstruction .decorWorkspace{max-width:none;margin:0}#stageConstruction .decorAxis{border-color:#d3e2ee55}

.decorPhotoFrame{display:block;position:absolute;inset:0;overflow:hidden;pointer-events:none}.decorLiftPart{position:absolute;display:block;pointer-events:none}.decorCatalogThumb{display:block;width:48px;height:38px;position:relative;flex-shrink:0}.decorCatalogThumb .decorPhotoFrame{inset:0}#decorCatalog button{min-height:52px}.decorObject{filter:drop-shadow(0 1px 1px #0005)}.decorGroundHandle{position:absolute;left:50%;bottom:-6px;transform:translateX(-50%);width:13px;height:13px;background:#59d9f0;border:2px solid #0b171e;border-radius:50%;cursor:move;z-index:5}.decorFloorGuide{position:absolute;left:0;right:0;border-top:1px dashed #68cbe599;z-index:4;pointer-events:none}.decorFloorGuide span{position:absolute;left:5px;top:2px;background:#07131bbb;padding:1px 5px;color:#a9eaff;font-size:10px}.decorFloorGuide.near{border-color:#ffbc7799}.decorFloorGuide.near span{color:#ffd1a1}.decorOptions{border:1px solid #344151;border-radius:7px;padding:9px;display:grid;gap:9px}.decorOptions[hidden]{display:none}.decorOptions h4{font-size:12px;margin:0;color:#c8fc73}.decorOptions output{font-size:11px;color:#a6d8e4}.decorOptions small{font-size:10px}.decorWorkspace label.decorCheck,.decorToolbar label{display:flex;align-items:center;gap:7px}.decorWorkspace label.decorCheck input{width:16px!important;height:16px;flex-shrink:0}.decorPerspectiveSettings{margin-top:8px;border:1px solid #334252;border-radius:7px;padding:9px;font-size:11px}.decorPerspectiveSettings summary{cursor:pointer;margin-bottom:9px;color:#b5d9e6}.decorPerspectiveFields{display:flex;gap:10px;flex-wrap:wrap;margin:9px 0}.decorPerspectiveFields label{display:grid;gap:4px;flex:1;min-width:120px}.decorPerspectiveFields input{width:100%}.decorScaleLabel{flex-wrap:wrap}#decorInspector select{width:100%;font-size:11px;padding:6px}#decorInspector input[type=range]{padding:0}#decorInspector .decorOptions input[type=number]{width:100%}#stageConstruction .decorWorkspace>main{justify-content:flex-start!important}#stageConstruction .decorWorkspace{height:calc(100% - 130px)}

.decorExtendHandle{position:absolute;background:#ffbe73;border:2px solid #30200c;width:12px;height:12px;z-index:6;transform:translate(-50%,-50%);border-radius:3px}.decorExtendHandle.mast{left:50%;top:-7px;cursor:ns-resize}.decorExtendHandle.bar{top:0;cursor:ew-resize}

#decorSelectionBox{position:absolute;z-index:12;pointer-events:none;background:#6fcfe529;border:1px solid #b3f3ff;box-shadow:0 0 0 1px #091a25b3}#decorEditLayer .decorObject.chosen{outline:2px solid #c8fc73;outline-offset:2px}
