:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#192630;background:#eef0ef;font-synthesis:none;--orange:#e86c2c;--muted:#62717b;--dark:#17222c}*{box-sizing:border-box}body{margin:0}button,select,input{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #f99b64;outline-offset:3px}.topbar{height:82px;padding:0 34px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #dce1e3}.brand{display:flex;align-items:center;gap:12px;color:#17222c;text-decoration:none;font-weight:850;font-size:21px;letter-spacing:1.6px}.brand-mark{width:39px;height:42px;background:#17222c;color:#fff;display:grid;place-items:center;font-size:25px;font-weight:900;letter-spacing:-2px;border-bottom:5px solid var(--orange)}.brand small{display:block;font-size:9px;letter-spacing:2.3px;font-weight:700;margin-top:3px;color:#76828b}.top-meta{display:flex;align-items:center;gap:9px;font-size:12px;color:#65747f}.status-dot{width:7px;height:7px;border-radius:50%;background:#7aa58a}.version{margin-left:15px;border-left:1px solid #e0e3e5;padding-left:20px;font-size:11px;letter-spacing:1px}main{display:grid;grid-template-columns:340px minmax(0,1fr);min-height:calc(100dvh - 82px)}.sidebar{padding:30px 26px 22px;background:#f6f7f5;border-right:1px solid #d9dfdf;overflow:auto}.eyebrow{font-size:10px;font-weight:800;letter-spacing:1.7px;color:#83919a}.eyebrow.light{color:#8194a2}h1{font-size:32px;letter-spacing:-1.25px;line-height:1.12;margin:14px 0 14px;font-weight:750}.intro{font-size:13px;line-height:1.65;color:var(--muted);margin:0 0 25px}.section-label{display:flex;gap:13px;font-size:10px;color:#a1abb0;letter-spacing:1.3px;font-weight:800;margin:23px 0 12px}.section-label span{color:#5a6b77}.scene-list{display:grid;gap:8px}.scene-card{width:100%;text-align:left;background:#fff;border:1px solid #dbe1e2;padding:13px 12px;display:grid;grid-template-columns:28px 1fr 14px;align-items:center;gap:10px;border-radius:6px;color:#24323d;transition:background .2s,border-color .2s}.scene-card.active{border-color:#e8905c;background:#fff7f0;box-shadow:inset 3px 0 var(--orange)}.scene-card .number{font-size:10px;font-weight:800;color:#91a0a9}.scene-card.active .number{color:#c7662c}.scene-card strong{font-size:13px;display:block;font-weight:700;line-height:1.3}.scene-card small{font-size:10px;color:#81909b;display:block;margin-top:3px;line-height:1.4}.scene-card .arrow{font-size:15px;color:#9aabb4}.button{width:100%;min-height:49px;border:0;border-radius:5px;font-size:12px;font-weight:700;padding:13px 15px;display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left}.primary{background:var(--orange);color:#fff;box-shadow:0 3px 8px #e86c2c20}.primary:hover:not(:disabled){background:#d65c20}.secondary{margin-top:8px;border:1px solid #cdd6db;background:transparent;color:#43545f;justify-content:center}.button-icon{font-size:20px}.micro{font-size:10px;color:#88949b;line-height:1.65;margin:10px 2px 0}.prepare-box{border-top:1px solid #dde3e4;border-bottom:1px solid #dde3e4;padding:14px 0;margin:22px 0 14px}.text-button{border:0;background:transparent;color:#364e60;font-size:11px;font-weight:700;padding:0;display:flex;gap:10px;align-items:center;text-align:left}.download-icon{font-size:22px;line-height:1}.prepare-box p{margin:7px 0 0 22px;font-size:10px;line-height:1.5;color:#80909a}.help summary{font-size:11px;font-weight:650;color:#526977;cursor:pointer}.help ol{padding-left:17px;font-size:11px;line-height:1.7;color:#647883}.help p{font-size:11px;line-height:1.7;color:#647883}.concept{font-size:9px;line-height:1.7;color:#95a0a7;margin:18px 0 0}.stage{position:relative;min-height:660px;overflow:hidden;background:#151e28}#viewport{position:absolute;inset:0}#viewport canvas{display:block;width:100%;height:100%;touch-action:none}.stage-top{position:absolute;top:30px;left:32px;right:30px;display:flex;justify-content:space-between;align-items:flex-start;pointer-events:none;gap:20px}.stage-top h2{font-size:23px;letter-spacing:-.6px;margin:9px 0 5px;color:#eef3f5;font-weight:550}.stage-top p{color:#7c929f;font-size:11px;margin:0;max-width:600px;line-height:1.5}.pill{font-size:10px;color:#c0cdd4;background:#25313dcc;border:1px solid #43535e;padding:7px 11px;white-space:nowrap;border-radius:20px;letter-spacing:.4px}.stage-bottom{position:absolute;bottom:20px;left:30px;right:30px;pointer-events:none}.scene-note{max-width:720px;font-size:11px;line-height:1.5;color:#a5b5bf;text-shadow:0 2px 4px #000;margin:0 0 14px}.playback{display:flex;align-items:center;gap:13px;border:1px solid #43535e7a;border-radius:11px;background:#18232eed;backdrop-filter:blur(12px);padding:13px 18px;pointer-events:auto;box-shadow:0 10px 35px #0003}.round-button{width:39px;height:39px;min-width:39px;border-radius:50%;border:0;background:var(--orange);color:#fff;font-size:14px;padding-left:5px}.icon-button{border:0;background:transparent;color:#a6b8c3;font-size:25px;padding:0 4px;min-width:28px}.timeline-wrap{flex:1}.timeline-label{display:flex;justify-content:space-between;color:#839aaa;font-variant-numeric:tabular-nums;font-size:9px;margin-bottom:4px}input[type=range]{width:100%;accent-color:var(--orange);height:12px;cursor:pointer;margin:0}.speed-label select{background:#263643;color:#c6d2d9;border:1px solid #415461;border-radius:5px;font-size:11px;padding:7px 4px}.stage-help{display:flex;justify-content:space-between;font-size:9px;color:#617b8c;margin:10px 2px 0}.loading-card,.error-card{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;flex-direction:column;background:#202e3bee;box-shadow:0 15px 80px #0005;border:1px solid #495c6b;border-radius:12px;padding:30px 34px;max-width:calc(100% - 36px);min-width:280px;color:#e3edf2;backdrop-filter:blur(10px);text-align:center}.loading-card strong{font-size:15px;font-weight:600;margin:17px 0 9px}.loading-card span{font-size:11px;color:#95a9b6}.loading-track{height:3px;background:#374d5c;width:220px;border-radius:5px;margin-top:20px;overflow:hidden}.loading-track div{height:100%;background:var(--orange);width:3%;transition:width .2s}.spinner{width:29px;height:29px;border:2px solid #526574;border-top-color:#e9864d;border-radius:50%;animation:spin 1s linear infinite}.error-card p{font-size:12px;color:#b7c6ce;line-height:1.5}.error-card .button{justify-content:center}.placeholder{font-size:12px;padding:20px;color:#8d9ca5}.toast{position:fixed;left:50%;bottom:25px;transform:translateX(-50%);background:#fff;color:#2a4050;border:1px solid #b9c7cf;box-shadow:0 10px 45px #0003;padding:14px 22px;max-width:90vw;border-radius:7px;font-size:13px;z-index:20}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:1600px){main{grid-template-columns:375px minmax(0,1fr)}.sidebar{padding:36px 32px}.stage-top{top:36px;left:40px}.stage-bottom{left:40px;right:40px;bottom:28px}}@media(max-width:900px){main{grid-template-columns:285px minmax(0,1fr)}.sidebar{padding:24px 20px}.topbar{height:70px;padding:0 23px}main{min-height:calc(100dvh - 70px)}h1{font-size:28px}.stage-top{left:20px;right:20px}.stage-top h2{font-size:19px}.stage-bottom{left:17px;right:17px}.playback{gap:7px;padding:11px}.stage-help{font-size:8px}}@media(max-width:650px){.topbar{height:65px;padding:0 18px}.brand{font-size:18px}.brand-mark{width:32px;height:36px;font-size:22px}.brand small{font-size:8px}.top-meta{font-size:10px}.version{display:none}main{display:flex;flex-direction:column}.sidebar{padding:22px 19px;border-right:0}.sidebar h1{font-size:26px;line-height:1.15;margin:10px 0}.sidebar h1 br{display:none}.intro{font-size:12px;margin-bottom:15px}.section-label{margin-top:18px}.scene-list{grid-template-columns:repeat(3,1fr);gap:6px}.scene-card{padding:11px 9px;display:block;min-height:95px}.scene-card .number{display:block;margin-bottom:7px}.scene-card strong{font-size:11px}.scene-card small{font-size:9px}.scene-card .arrow{display:none}.button{min-height:48px}.prepare-box{margin:17px 0 12px;padding:12px 0}.concept{margin-top:12px}.stage{min-height:530px;height:65vh;order:0}.stage-top{top:23px}.stage-top h2{font-size:19px}.stage-top p{max-width:230px}.stage-bottom{bottom:16px}.scene-note{font-size:10px}.stage-help{font-size:8px}.stage-help span:last-child{display:none}.loading-card{min-width:250px}.eyebrow{font-size:9px}}

/* Layout controls remain a small desktop companion to the in-room menu. */
.brand-logo{width:52px;height:auto;object-fit:contain;opacity:.9}
.layout-tools{position:absolute;top:122px;left:24px;right:24px;display:flex;gap:7px;flex-wrap:wrap;z-index:4}
.layout-tools button,.layout-tools select{font-family:inherit;font-size:12px;font-weight:500;color:#dbe7ee;background:#1d2c37e8;border:1px solid #475d6c;border-radius:8px;padding:8px 10px;cursor:pointer}
.layout-tools button:hover,.layout-tools button.active{background:#42636e;color:white}
.layout-tools select{max-width:230px}
.selection-hint{position:static;flex-basis:100%;margin-top:4px;z-index:3;color:#c5dadf;font-size:12px;pointer-events:none;max-width:640px;text-shadow:0 1px 4px #000}
@media(max-width:700px){.layout-tools{top:135px;left:14px;right:14px;gap:5px}.layout-tools button,.layout-tools select{font-size:11px;padding:7px}.selection-hint{font-size:11px}}

.brand-button{border:0;background:transparent;padding:0;font:inherit;text-align:left;cursor:pointer}.brand-button:hover .brand-logo{opacity:1;filter:brightness(1.1)}
[hidden]{display:none!important}
.wall-selection-card{background:#eef1ee;border:1px solid #d5ddd7;border-radius:14px;padding:15px;margin:20px 0 14px}.wall-selection-card>.section-label{margin:0 0 10px}.wall-selection-card>strong{display:block;font-size:18px;margin-bottom:15px}.wall-parameter{display:flex;align-items:center;justify-content:space-between;margin:8px 0;gap:10px}.wall-parameter>span{font-size:12px;color:#66786b;text-align:center}.wall-parameter b{display:block;font-size:17px;color:#283f33;margin-top:3px}.wall-parameter button{width:38px;height:38px;font-size:24px}.wall-options,.wall-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}.wall-options button,.wall-action-grid button,.wall-parameter button,.wall-file-label{font-family:inherit;border:1px solid #cdd8cf;border-radius:8px;background:#fff;color:#2b4638;padding:10px;cursor:pointer;font-size:12px;font-weight:600}.wall-parameter button{padding:0;font-size:23px}.wall-options b{display:block}.wall-action-grid button:hover,.wall-options button:hover,.wall-parameter button:hover,.wall-file-label:hover{background:#e0ebe3}.wall-block-select{font:inherit;font-size:13px;width:100%;padding:12px;border:1px solid #cbd7ce;border-radius:9px;background:#fff;color:#2b4638;margin:5px 0 8px}.wall-project{margin:20px 0 12px}.wall-project summary{cursor:pointer;font-size:13px;font-weight:650}.wall-file-label{text-align:center;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}.wall-file-label input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.wall-stage-tools{position:absolute;bottom:28px;left:30px;right:30px;pointer-events:none;color:#d9e5df;font-size:13px}.wall-stage-tools p{color:#9cafb5;font-size:12px;margin:8px 0 0}#wall-status{overflow-wrap:anywhere}#wall-sidebar .intro{margin-bottom:15px}#wall-sidebar .text-button{margin:12px 0}button:disabled{opacity:.45;cursor:not-allowed}

body:not([data-mode="walls"]) .wall-help{display:none}body[data-mode="walls"] .production-help{display:none}

@media(min-width:901px){body[data-mode="walls"] main{height:calc(100dvh - 82px);min-height:620px}body[data-mode="walls"] .sidebar{min-height:0}body[data-mode="walls"] .stage{min-height:0}}

/* V05: the three original desktop commands stay fixed in the preview. XR uses the same SVG glyphs in a head-following toolbar. */
.wall-fixed-toolbar{position:absolute;z-index:7;bottom:5.5rem;left:50%;transform:translateX(-50%);display:flex;gap:.8rem;padding:.55rem .9rem;border:1px solid #ffffff29;border-radius:18px;background:#f2f4f5ed;box-shadow:0 8px 35px #0003;backdrop-filter:blur(12px)}
.wall-fixed-toolbar button{display:flex;flex-direction:column;align-items:center;gap:.2rem;min-width:6rem;padding:.4rem;border:0;background:transparent;color:#50555c;font-size:.68rem;font-weight:600;font-family:inherit;cursor:pointer;border-radius:10px}
.wall-fixed-toolbar img{width:43px;height:43px;pointer-events:none}.wall-fixed-toolbar button.active{background:#dec33f33;outline:1px solid #dec33f}.wall-fixed-toolbar button:hover{background:#fff}.wall-fixed-toolbar button:focus-visible{outline:3px solid #dec33f}
.wall-toolbox{margin-bottom:18px;padding:14px;border:1px solid #b8c9cc;border-radius:14px;background:#f6f8f9;color:#25383f}.wall-toolbox h3{font-size:15px;margin:0 0 12px}.wall-tool-tabs{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:10px}.wall-tool-tabs button{padding:6px 8px;border:1px solid #c8d2d5;border-radius:7px;background:white;font-size:11px;color:#33484f}.wall-tool-tabs .active{background:#ead969;border-color:#d6be42}.wall-toolbox .wall-action-grid{margin:9px 0}.wall-toolbox .wall-action-grid button{background:white;color:#31464d;min-height:34px;padding:7px 5px;border:1px solid #ccd5d8}.wall-toolbox .wall-action-grid button:disabled{opacity:.4}.wall-toolbox label{display:flex;gap:8px;justify-content:space-between;align-items:center;font-size:12px;margin:8px 0}.wall-toolbox input{width:100px;min-width:0;padding:7px;border:1px solid #b8c7cb;border-radius:6px;background:white;color:#20383e;font-size:14px}.wall-toolbox p{font-size:11px;line-height:1.5;color:#52676f}.wall-section-selector{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-bottom:10px}.wall-section-selector button{border:1px solid #c6d0d3;background:white;border-radius:6px;padding:5px 10px;color:#344d55}.wall-toolbox .button{margin:8px 0}.wall-toolbox [data-field-message]{color:#8c3528;min-height:1em}.wall-toolbox .wall-value-note{font-size:11px;color:#697e85}.wall-toolbox .axis-X{color:#d93025}.wall-toolbox .axis-Y{color:#aa8a00}.wall-toolbox .axis-Z{color:#188038}
@media(max-width:900px){.wall-fixed-toolbar{bottom:6.2rem;gap:.25rem;padding:.4rem}.wall-fixed-toolbar button{min-width:4.5rem;font-size:9px}.wall-fixed-toolbar img{width:34px;height:34px}}

/* V06: freestanding desktop glyphs; no icon tiles or toolbar background. */
.wall-fixed-toolbar{top:14px;bottom:auto;gap:22px;padding:0;border:0;border-radius:0;background:none;box-shadow:none;backdrop-filter:none}
.wall-fixed-toolbar button{min-width:46px;width:46px;height:46px;padding:3px;border-radius:0;filter:drop-shadow(0 1px 2px #ffffffa0)}
.wall-fixed-toolbar button span{display:none}.wall-fixed-toolbar img{width:40px;height:40px}
.wall-fixed-toolbar button.active,.wall-fixed-toolbar button:hover{background:none;outline:0;filter:drop-shadow(0 0 4px #dec33f)}
.wall-fixed-toolbar button:focus-visible{outline:2px solid #dec33f;outline-offset:4px}
body[data-mode="walls"] .stage-top{top:75px}
.wall-toolbox{padding:0;border:0;border-radius:0;background:none}.wall-toolbox[data-tool="wall"]>h3{display:none}
.wall-toolbox[data-tool="wall"] [data-tool-content="wall"] p,.wall-toolbox[data-tool="wall"] [data-page-content]>b{display:none}
.wall-toolbox .wall-tool-tabs{gap:16px;justify-content:center}.wall-toolbox .wall-tool-tabs button,.wall-toolbox .wall-action-grid button,.wall-toolbox .wall-glyph-button,.wall-section-selector button{background:none;border:0;box-shadow:none;border-radius:0;min-width:38px;min-height:38px;padding:5px;line-height:0}
.wall-toolbox .wall-tool-tabs button.active{background:none;border:0;filter:drop-shadow(0 0 3px #dec33f)}
.wall-glyph-button svg{display:block;width:32px;height:32px;margin:auto;pointer-events:none}.wall-toolbox .wall-glyph-button:hover{background:none;filter:drop-shadow(0 0 3px #dec33f)}
.wall-toolbox .wall-action-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.wall-toolbox[data-tool="wall"] .wall-section-selector{margin:8px 0 15px}
.wall-toolbox label{font-size:13px}.wall-toolbox input{font-size:15px;border-width:0 0 1px;border-radius:0;background:transparent}
.wall-selection-card{background:none;border:0;border-top:1px solid #d5ddd7;border-radius:0;padding:12px 0;margin:12px 0}.wall-selection-card .wall-parameter,.wall-selection-card .wall-options,.wall-selection-card>.section-label{display:none}.wall-selection-card>strong{font-size:15px;margin:0}
#wall-sidebar>.eyebrow,#wall-sidebar>h1,#wall-sidebar>.intro{display:none}
#wall-sidebar>.wall-action-grid button,#wall-sidebar .wall-options button,#wall-sidebar .wall-parameter button{border:0;background:none;box-shadow:none}
@media(max-width:900px){.wall-fixed-toolbar{top:12px;bottom:auto;gap:16px;padding:0}.wall-fixed-toolbar button{min-width:40px;width:40px;height:40px}.wall-fixed-toolbar img{width:36px;height:36px}}
.wall-library-actions{display:flex;justify-content:flex-end;margin:0 0 -5px}.wall-library-actions button{border:0;background:none;padding:4px;width:44px;height:44px}.wall-library-actions button:hover{filter:drop-shadow(0 0 3px #dec33f)}

/* V07: contextual help is deliberately opt-in in both workspaces. */
body:not([data-help="true"]) .selection-hint,body:not([data-help="true"]) .stage-help,body:not([data-help="true"]) .scene-note,body:not([data-help="true"]) .wall-stage-tools p{display:none}
body[data-mode="walls"] .wall-stage-tools{display:none}
.production-info{position:absolute;bottom:105px;right:32px;z-index:8;width:40px;height:40px;border:0;background:none;padding:4px;color:#d5dce1;filter:drop-shadow(0 1px 2px #0008)}
.production-info svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.production-info[aria-pressed="true"]{color:#c9ad25}
body[data-mode="walls"] .production-info{display:none}
