.planner-tools .spatial-launch{display:inline-flex!important;align-items:center;gap:7px;min-height:42px;padding:8px 12px;border:1px solid #bfb4f0;background:#eee9ff;color:#5541a1;white-space:nowrap;font-size:.875rem;box-shadow:0 2px 8px #6e4dcc0c}.planner-tools .spatial-launch .icon{width:19px;height:19px}.planner-tools .spatial-launch.active{background:#5442b5;border-color:#5442b5;color:#fff3df;box-shadow:0 3px 14px #5a43c42a}.sample-label{font-size:.75rem;background:#f3e9d8;color:#775425;border:1px solid #e5d5b9;padding:2px 7px;border-radius:5px;white-space:nowrap}
.spatial-studio{border:1px solid #cfd5e7;border-radius:15px;overflow:hidden;background:#fff;box-shadow:0 8px 30px #2731510b}.spatial-title{display:flex;justify-content:space-between;align-items:center;gap:18px;background:linear-gradient(135deg,#272348,#1b2946);padding:23px 25px;color:#f3f2ff}.spatial-eyebrow{font-family:Arial,sans-serif;font-size:.7rem;letter-spacing:2px;color:#bdc2ec}.spatial-title h2{font-size:1.5rem;font-weight:500;margin:7px 0;color:#f5f2ff}.spatial-title p{font-size:.875rem;color:#c0c9e6;margin:0}.spatial-engine{background:#ffffff0b;border:1px solid #6c6b95;color:#ffd5ab;font: .8rem Consolas,monospace;padding:7px 11px;border-radius:7px}.scene-toolbar{display:flex;gap:7px;align-items:center;flex-wrap:wrap;background:#f4f5fc;padding:12px 17px;border-bottom:1px solid #dce1ee}.scene-toolbar button{font-size:.8rem;min-height:36px;padding:7px 10px;background:#fff;color:#5b577f;border-color:#d8d8eb}.scene-toolbar button.active,.scene-toolbar button[aria-pressed=true]{background:#e8e3f9;border-color:#bdb1dd;color:#5d4494}.scene-presets{display:flex;gap:3px;padding:3px;border:1px solid #dfddec;background:#eaedf7;border-radius:8px}.scene-presets button{border:0;background:transparent;min-height:30px;padding:4px 12px}.scene-presets button.active{background:#fff;box-shadow:0 1px 5px #252d5415}.scene-toolbar .scene-move{margin-right:auto;background:#f9eee2;border-color:#e7ccad;color:#7b5432}.scene-toolbar .scene-move[aria-pressed=true]{background:#ffc58f;color:#3d3045;border-color:#e7a871}.scene-stage{position:relative;min-height:420px;height:540px;overflow:hidden;background:#10182e;touch-action:none}.scene-stage canvas{display:block;width:100%;height:100%;outline-offset:-4px!important}.scene-loading{position:absolute;inset:0;display:grid;place-items:center;padding:30px;text-align:center;color:#c7d2f1;font-size:1rem;pointer-events:none}.scene-unavailable{min-height:220px;height:250px}.scene-tooltip{position:absolute;z-index:3;max-width:250px;padding:9px 12px;border:1px solid #69638d;border-radius:7px;background:#1c2544f2;color:#fff0df;font-size:.8rem;line-height:1.9;pointer-events:none;box-shadow:0 5px 20px #0003}.scene-tooltip[hidden]{display:none}.scene-instructions{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;padding:12px 18px;background:#19233d;color:#c2cbe9;font-size:.75rem;line-height:1.9;border-top:1px solid #344061}.scene-instructions span:last-child{color:#e8bf96}.scene-selection{padding:20px 22px;background:#fcfcff}.scene-selection>label{display:block;color:#514c70;font-size:.875rem;font-weight:500;margin-bottom:8px}.scene-selection>div{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.scene-selection select{flex:1;min-width:190px;width:auto;min-height:42px;font-size:.875rem;border-color:#d7d9eb;color:#4f5375;background-color:white;max-width:100%}.scene-selection button{min-height:42px;font-size:.875rem;white-space:nowrap}.scene-selection p{font-size:.8rem;color:#626b86;line-height:1.9;margin:12px 0 0}.scene-room-pages{padding:14px 20px;border-top:1px solid #e0e4f0;display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:#5f6884;font-size:.875rem}.scene-room-pages>span{margin-left:auto}.scene-room-pages button{font-size:.875rem}.spatial-studio~.pressure-explainer{display:none}
@media(min-width:1400px){.scene-stage{height:590px}.scene-title h2{font-size:1.7rem}}
@media(max-width:1100px){.planner-tools-main .view-shortcuts{display:none}.scene-stage{height:490px}.scene-toolbar{gap:6px;padding:10px}.scene-toolbar button{font-size:.8rem}.scene-selection>div{align-items:stretch}.scene-selection select{flex-basis:100%;min-width:0}.scene-selection button{flex:1}.sample-label{font-size:.7rem}}
@media(max-width:800px){.view-picker{min-width:85px}.planner-tools .spatial-launch{padding:8px 9px;font-size:.8rem;gap:5px;min-height:40px}.planner-tools .spatial-launch .icon{width:16px;height:16px}.planner-tools-main{column-gap:5px}.spatial-title{padding:20px 17px;align-items:start}.spatial-title h2{font-size:1.3rem;line-height:1.7}.spatial-title p{font-size:.8rem;line-height:1.9}.spatial-engine{font-size:.7rem;padding:6px 8px}.scene-toolbar{gap:5px}.scene-toolbar button{padding:7px 9px;font-size:.875rem;min-height:40px}.scene-presets button{padding:5px 10px;font-size:.8rem;min-height:30px}.scene-toolbar .scene-move{margin-right:0;flex:1}.scene-stage{min-height:350px;height:430px}.scene-instructions{font-size:.75rem;padding:12px 15px;gap:7px}.scene-selection{padding:17px}.scene-selection label{font-size:.875rem}.scene-selection p{font-size:.8rem}.scene-selection button{font-size:.8rem}.scene-unavailable{min-height:200px;height:230px}.sample-label{font-size:.7rem;padding:1px 6px}}
@media(max-width:440px){.planner-tools .spatial-launch{font-size:.8rem;padding:8px 7px;gap:4px}.planner-tools .spatial-launch .icon{display:none}.view-picker select{max-width:100%;font-size:.875rem}.scene-stage{height:400px}.spatial-title{gap:10px}.spatial-engine{display:none}.sample-label{display:none}}
@media print{.planner-tools .spatial-launch,.spatial-studio{display:none!important}}

.scene-header-actions{display:flex;align-items:center;gap:9px;flex-shrink:0}.scene-header-actions .scene-fullscreen{min-height:36px;padding:7px 10px;font-size:.8rem;color:#f8e3c9;border-color:#807095;background:#ffffff0a}.scene-header-actions .scene-fullscreen:hover{background:#ffffff18}.scene-period-label{display:flex;gap:7px;align-items:center;margin-right:5px}.scene-period-label>span{font-size:.75rem;color:#6f648a}.scene-period-label select{min-height:36px;font-size:.8rem;padding:6px 10px;background-color:#faf9ff;color:#62537f;max-width:150px}.scene-active-card{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#f4f0fc;border:1px solid #ded3ee;border-radius:8px;padding:12px 14px;margin-bottom:15px}.scene-active-card strong{font-size:1rem;color:#4b3868;font-weight:500}.scene-active-card small{font-size:.8rem;color:#6f6381}.scene-active-card .small{margin-right:auto;font-size:.8rem;min-height:32px}.scene-active-card .event-code{color:#805d94;font-size:.75rem}.scene-selection select:focus-visible{outline-color:#8764b2}.spatial-studio.scene-expanded{position:fixed;inset:14px;z-index:110;display:flex;flex-direction:column;border-radius:15px;box-shadow:0 0 0 30px #10182ec9,0 30px 100px #0005;margin:0;width:auto;max-width:none;max-height:none}.scene-expanded .spatial-title{padding:15px 23px;flex-shrink:0}.scene-expanded .spatial-title h2{font-size:1.3rem;margin:4px 0}.scene-expanded .spatial-title p{font-size:.8rem}.scene-expanded .scene-stage{height:auto;min-height:220px;flex:1}.scene-expanded .scene-toolbar,.scene-expanded .scene-instructions,.scene-expanded .scene-room-pages{flex-shrink:0}.scene-expanded .scene-selection{padding:12px 20px;flex-shrink:0;max-height:220px;overflow:auto}.scene-expanded .scene-active-card{padding:7px 11px;margin-bottom:10px}.scene-expanded .scene-selection>label{font-size:.8rem;margin-bottom:5px}.scene-expanded .scene-selection p{font-size:.75rem;margin-top:6px}.scene-expanded .scene-selection>div select,.scene-expanded .scene-selection button{min-height:36px;font-size:.8rem}.scene-stage:focus-within{box-shadow:inset 0 0 0 2px #8c75be}.scene-toolbar [data-scene-action=focus]:not(:disabled){background:#e9edf9;border-color:#c6cde8;color:#4d5c85}
@media(max-width:800px){.scene-header-actions{gap:5px}.scene-header-actions .scene-fullscreen{font-size:.75rem;padding:7px 9px;min-height:36px}.scene-header-actions .scene-fullscreen .icon{display:none}.scene-period-label{margin-right:0}.scene-period-label>span{font-size:.75rem}.scene-period-label select{min-height:40px;font-size:.875rem;max-width:138px}.scene-active-card{gap:7px;padding:12px}.scene-active-card strong{font-size:.9375rem;flex-basis:calc(100% - 90px)}.scene-active-card small{font-size:.75rem}.scene-active-card .small{margin-right:0}.spatial-studio.scene-expanded{inset:6px;border-radius:12px}.scene-expanded .spatial-title{padding:13px 15px}.scene-expanded .spatial-title h2{font-size:1.15rem}.scene-expanded .scene-toolbar{padding:7px}.scene-expanded .scene-toolbar button{min-height:34px;font-size:.75rem;padding:6px 8px}.scene-expanded .scene-presets button{min-height:28px;padding:4px 8px}.scene-expanded .scene-period-label select{min-height:34px;font-size:.8rem}.scene-expanded .scene-selection{padding:10px 13px;max-height:185px}.scene-expanded .scene-active-card strong{font-size:.875rem}.scene-expanded .scene-selection>div{gap:5px}.scene-expanded .scene-selection>div select{flex-basis:100%;min-height:34px}.scene-expanded .scene-instructions{padding:8px 12px;font-size:.7rem;gap:3px}.scene-expanded .scene-instructions span:last-child{display:none}.scene-expanded .scene-selection p{display:none}.scene-expanded .scene-stage{min-height:160px}.scene-header-actions .spatial-engine{display:none}}
@media print{.scene-expanded{display:none!important}}
