/* ViXL Scene viewer template · 0.1.0. Scoped to the integrated authoring surface. */
/* Play Pro deck · host 0.0.22. */
.scene-viewer .play-precision input{min-width:130px!important;flex:1 0 130px!important;max-width:180px}
@media(max-width:600px){body:has(.sv-play-pro)>.transport{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;gap:4px 8px!important;padding:8px 10px!important}body:has(.sv-play-pro)>.transport .transport-status{flex:1;min-width:150px;gap:2px!important}body:has(.sv-play-pro)>.transport #program-name{font-size:11px}body:has(.sv-play-pro)>.transport :is(#connection,#ready-state){font-size:9px;line-height:1.3;min-height:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:210px}body:has(.sv-play-pro)>.transport #blackout{width:auto!important;min-height:34px!important;padding:7px 10px!important}body:has(.sv-play-pro)>.transport #notice{width:100%;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}
.sv-play-pro .sv-stage{width:100%;height:clamp(180px,calc(100dvh - 720px),420px);aspect-ratio:auto}.sv-play-pro[data-focus=playback] .sv-stage{height:auto;aspect-ratio:16/9}.sv-play-pro .sv-stage:fullscreen{height:100vh}.sv-play-pro .sv-header .sv-eyebrow{display:none}.sv-play-pro .play-feedback{margin:6px 0 12px!important;padding:10px 14px!important}.sv-play-pro .play-feedback>.sv-eyebrow{display:none}.sv-play-pro .play-feedback .play-readout{margin:0 0 8px}
.scene-viewer.sv-play-pro{--sv-blue:#70d5d3;--sv-gold:#8bb9d1;--sv-panel:#121c27;--sv-line:#293a49;background:linear-gradient(140deg,#111b27,#091119 60%);border-radius:16px}.sv-play-pro .sv-grid{grid-template-columns:minmax(0,1fr) 340px!important;gap:20px!important}.sv-play-pro .sv-preview-heading h3{font-size:18px!important;font-weight:600}.sv-play-pro .sv-stage{background:#05090e;border-radius:9px;border-color:#304555;box-shadow:0 16px 40px #0006}.sv-play-pro .sv-guides{opacity:.4}.sv-play-pro .sv-transport{padding:12px;background:#111e2a;border:1px solid var(--sv-line);border-radius:10px;gap:8px;margin-top:12px}.sv-play-pro .sv-transport button{min-height:40px;font-weight:600}.sv-play-pro .sv-badge{color:#70d5d3;border-color:#2d5c62;background:#13353760}.sv-play-pro .sv-transport output{font:13px ui-monospace,Consolas,monospace}.sv-play-pro .sv-preview>input[type=range]{margin:14px 0 6px;accent-color:#70d5d3;height:24px}.play-precision{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin:0 0 16px}.scene-viewer .play-precision button{min-height:34px;padding:6px 10px;background:#142332}.scene-viewer .play-precision input{flex:1;min-width:105px;max-width:170px;padding:8px;font:12px ui-monospace,Consolas,monospace}.sv-play-pro .sv-transport-options{border-top:1px solid var(--sv-line);padding-top:12px;gap:10px}.sv-play-pro .sv-status{margin-top:12px;padding:10px 0;border-top:0}.sv-play-pro .play-feedback{background:#101b26;border:1px solid var(--sv-line);border-radius:10px;padding:14px;margin-top:14px}.play-readout{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:10px 0}.play-readout>div{min-width:0;border-right:1px solid #2b3b49;padding-right:10px}.play-readout>div:last-child{border:0}.play-readout span{display:block;font:10px system-ui;letter-spacing:1px;text-transform:uppercase;color:#9eafbf;margin-bottom:7px}.play-readout output{display:block;font:clamp(17px,2.1vw,27px) ui-monospace,Consolas,monospace;font-variant-numeric:tabular-nums;letter-spacing:-.5px;color:#eaf2fa}.play-readout>div:nth-child(2) output{color:#70d5d3}.play-readout[data-ending=true]>div:nth-child(2) output{color:#ffb76a}.sv-play-pro .sv-inspector{overflow:auto!important;max-height:calc(100dvh - 190px)!important;scrollbar-width:thin;border-radius:12px;background:#121c27}.sv-play-pro .sv-inspector>*{flex-shrink:0}.sv-play-pro .sv-control-body{overflow:visible}.sv-play-pro .sv-panel-heading>h3,.sv-play-pro .sv-panel-heading>.sv-eyebrow{display:none}.sv-play-pro .sv-panel-heading{padding:14px 18px}.sv-play-pro .sv-scene-fields{margin-top:0}.play-asset{padding:18px;border-bottom:1px solid #293a49;transition:border-color .15s}.play-asset.dragging{background:#17353a;outline:2px solid #70d5d3;outline-offset:-3px}.play-filename{display:block;font:600 13px/1.5 system-ui;margin:7px 0 12px;overflow-wrap:anywhere}.scene-viewer .play-drop{width:100%;padding:14px;border:1px dashed #537486;color:#90d8db;background:#101b25;border-radius:8px;font-weight:600}.play-file-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.play-file-facts small{display:block;font:9px system-ui;color:#8aa0b5;letter-spacing:1px;margin-bottom:5px}.play-file-facts strong{display:block;font:11px/1.5 ui-monospace,Consolas,monospace;color:#d6e7f4;overflow-wrap:anywhere}.play-asset .sv-description{margin:10px 0!important;font-size:10px}.play-file-actions{display:flex;justify-content:flex-end}.scene-viewer .play-file-actions button{font-size:10px;padding:5px 9px;min-height:28px;background:transparent;color:#9fb1c0}.play-asset progress{width:100%;accent-color:#70d5d3;height:5px;margin-top:12px}.sv-play-pro .sv-tabs button{flex:1}.sv-play-pro input[type=file][hidden]{display:none!important}.sv-play-pro .sv-note{font-size:10px!important}.sv-play-pro[data-focus=playback] .sv-grid{grid-template-columns:1fr!important}#program-video-playback{grid-column:1/-1;background:linear-gradient(130deg,#142230,#0d1722);border-color:#2e4656;border-radius:12px;padding:18px}#program-video-playback h2{font-size:16px;margin:0 0 12px}#program-video-playback .sv-control-panel{padding:16px;margin-top:12px;border:1px solid #2b4353;border-radius:8px;background:#0b1621}#program-video-playback input[type=range]{width:100%;accent-color:#70d5d3;margin:12px 0}#program-video-playback button{margin:4px 6px 0 0;border-radius:7px}#program-video-playback [data-feedback]{font:12px/1.7 ui-monospace,Consolas,monospace;color:#a9c4d4}
@media(max-width:850px){.sv-play-pro .sv-grid{grid-template-columns:1fr!important}.sv-play-pro .sv-inspector{max-height:none!important;position:static}.play-readout output{font-size:22px}}@media(max-width:480px){.play-readout{gap:6px}.play-readout output{font-size:18px}.sv-play-pro .sv-transport{padding:8px}.sv-play-pro .sv-transport button{padding:8px}.scene-viewer .play-precision button{min-height:40px}.sv-play-pro .sv-grid{padding:12px!important}}
#scenes.type-scene-open{display:block!important;background:#0a1119!important;padding-bottom:20px}#scenes.type-scene-open[hidden]{display:none!important}#scenes.type-scene-open>.canonical-preview{display:none!important}#scenes.type-scene-open>.heading{margin-bottom:12px}#scenes.type-scene-open #scene-workspace{display:block}#scenes.type-scene-open .scene-selector{margin-bottom:16px;border-radius:8px;background:#111e2b}#scenes.type-scene-open .scene-selector-items{display:flex;overflow-x:auto;max-height:90px}#scenes.type-scene-open .scene-selector-items button{min-width:190px;max-width:280px;flex-shrink:0}.scene-viewer{--sv-bg:#080e16;--sv-panel:#101b28;--sv-line:#293d52;--sv-text:#e7f0f8;--sv-muted:#9ab0c3;--sv-blue:#79c5ff;--sv-gold:#f2bc75;color:var(--sv-text);background:var(--sv-bg);border:1px solid var(--sv-line);border-radius:10px;overflow:clip;min-width:0}.scene-viewer *{box-sizing:border-box}.scene-viewer button,.scene-viewer input,.scene-viewer select,.scene-viewer textarea{font:inherit}.scene-viewer button{padding:10px 14px;min-height:38px;border:1px solid var(--sv-line);border-radius:7px;background:#192b3b;color:var(--sv-text);cursor:pointer;font-size:12px;line-height:1.35}.scene-viewer button:hover:not(:disabled){border-color:var(--sv-blue);background:#25445d}.scene-viewer button:disabled{opacity:.5;cursor:wait}.scene-viewer :is(button,input,select,textarea):focus-visible{outline:2px solid var(--sv-blue);outline-offset:2px}.scene-viewer .sv-primary,.scene-viewer .sv-save{background:var(--sv-blue);color:#071420;border-color:var(--sv-blue);font-weight:700}.scene-viewer .sv-header{height:auto;min-height:86px;display:flex;justify-content:space-between;align-items:center;padding:18px 24px;gap:20px;border-bottom:1px solid var(--sv-line);position:static}.sv-identity{display:grid;gap:3px}.scene-viewer .sv-identity h2{font-size:22px;font-weight:650;margin:0;letter-spacing:-.5px}.scene-viewer small{color:var(--sv-muted);font-size:11px;letter-spacing:0}.scene-viewer .sv-eyebrow{color:var(--sv-gold);font:9px/1.6 monospace;letter-spacing:1.8px}.sv-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.scene-viewer .sv-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px;padding:24px;align-items:start}.sv-preview{min-width:0;position:sticky;top:18px;align-self:start}.sv-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:19px}.scene-viewer h3{font-size:23px;font-weight:550;letter-spacing:-.6px;margin:8px 0 0}.sv-badge{color:var(--sv-gold);border:1px solid #345469;border-radius:18px;padding:7px 11px;font:9px monospace;letter-spacing:1.3px;white-space:nowrap}.sv-stage{position:relative;aspect-ratio:16/9;overflow:hidden;border:1px solid #405a71;border-radius:10px;background:radial-gradient(ellipse at 75% 15%,#294b66,transparent 55%),radial-gradient(ellipse at 10% 90%,#294158,transparent 45%),#0b1725;box-shadow:0 15px 45px #0005}.sv-stage[data-backdrop=black]{background:#000}.sv-stage[data-backdrop=checker]{background-color:#253242;background-image:conic-gradient(#18222f 25%,transparent 0 50%,#18222f 0 75%,transparent 0);background-size:24px 24px}.scene-viewer .sv-stage canvas{display:block;width:100%;height:100%;border:0;border-radius:0;background:transparent;max-height:none;object-fit:contain}.sv-stage:fullscreen{width:100vw;height:100vh;border:0;border-radius:0;aspect-ratio:auto;background:#000}.sv-stage:fullscreen .sv-guides{display:none}.sv-guides{position:absolute;inset:8%;border:1px dashed #ffffff25;pointer-events:none}.sv-guides:after{content:'TITLE SAFE';position:absolute;top:4px;right:5px;color:#ffffff55;font:8px monospace;letter-spacing:1px}.sv-transport{display:flex;align-items:center;gap:8px;margin-top:19px}.scene-viewer .sv-fullscreen{margin-left:auto;background:transparent}.sv-transport output{color:var(--sv-muted);font:11px monospace;white-space:nowrap}.scene-viewer input[type=range]{accent-color:var(--sv-gold);width:100%;padding:0;min-height:18px;height:18px;background:none;border:0;cursor:pointer}.sv-preview>input[type=range]{margin:20px 0 9px}.sv-transport-options{display:flex;align-items:center;gap:15px;flex-wrap:wrap;color:var(--sv-muted);font-size:11px}.sv-transport-options label{display:flex;align-items:center;gap:6px;margin:0}.scene-viewer input[type=checkbox]{accent-color:var(--sv-gold);width:15px;height:15px}.scene-viewer .sv-transport-options select{padding:4px;width:auto;font-size:11px}.scene-viewer .sv-transport-options input[type=number]{width:57px;padding:4px;font-size:11px}.sv-status{display:flex;align-items:center;gap:8px;margin-top:25px;padding:15px 0;border-top:1px solid var(--sv-line);font-size:11px;color:var(--sv-muted)}.sv-dot{color:var(--sv-gold)}.sv-metrics{margin-left:auto;font:10px monospace;white-space:nowrap}.scene-viewer .sv-note{font-size:11px;color:var(--sv-muted);line-height:1.65;margin:0}.scene-viewer .sv-inspector{min-width:0;background:var(--sv-panel);border:1px solid var(--sv-line);border-radius:10px;overflow:hidden;height:auto;max-height:calc(100dvh - 240px);display:flex;flex-direction:column;position:sticky;top:18px}.sv-panel-heading{padding:20px 20px 15px;border-bottom:1px solid var(--sv-line)}.scene-viewer .sv-panel-heading h3{font-size:21px;margin:7px 0}.sv-scene-fields{display:grid;grid-template-columns:1fr;gap:10px;margin-top:15px}.sv-scene-fields label{display:grid;gap:5px;font-size:11px;color:var(--sv-muted);margin:0}.scene-viewer input:not([type=checkbox],[type=range],[type=color]),.scene-viewer select,.scene-viewer textarea{width:100%;padding:10px 11px;background:#0b1420;border:1px solid var(--sv-line);border-radius:7px;color:var(--sv-text);font-size:12px;min-width:0}.scene-viewer textarea{resize:vertical;line-height:1.45;min-height:62px}.scene-viewer input:invalid{border-color:#e58d75}.sv-tabs{display:flex;overflow-x:auto;gap:5px;padding:12px 14px;border-bottom:1px solid var(--sv-line);flex-shrink:0;scrollbar-color:#526a7d #111c28;scrollbar-width:thin}.scene-viewer .sv-tabs button{font-size:11px;padding:8px 10px;border:0;background:transparent;min-height:32px;white-space:nowrap}.scene-viewer .sv-tabs button[aria-selected=true]{background:#26425a;color:var(--sv-gold)}.sv-control-body{overflow:auto;min-height:0;padding:18px 20px;scrollbar-color:#526a7d #111c28;scrollbar-width:thin}.sv-control-panel[hidden]{display:none!important}.scene-viewer .sv-description{font-size:11px;color:var(--sv-muted);line-height:1.65;margin:0 0 19px}.sv-control{display:block;margin:0 0 17px;font-size:12px;color:#d5e2ed}.sv-control>span{display:block;margin-bottom:7px}.sv-input-pair{display:flex;gap:10px;align-items:center}.scene-viewer .sv-input-pair input[type=number]{width:76px;flex-shrink:0}.sv-color-pair{display:flex;gap:8px}.sv-color-pair input[type=color]{width:40px;height:37px;flex-shrink:0;padding:0;background:none;border:0}.scene-viewer .sv-look{display:block;width:100%;text-align:left;margin-bottom:10px;background:linear-gradient(110deg,#203b51,#172637)}.sv-look strong,.sv-look small{display:block}.sv-look strong{font-size:15px;margin-bottom:5px}.scene-viewer[data-focus=playback] .sv-grid{grid-template-columns:1fr}.scene-viewer[data-focus=playback] .sv-inspector{display:none}.scene-viewer[data-focus=playback] .sv-preview{max-width:1280px;width:100%;margin:auto}.scene-viewer button[aria-pressed=true]{border-color:var(--sv-blue);color:var(--sv-blue)}@media(max-width:1150px){.scene-viewer .sv-grid{grid-template-columns:minmax(0,1fr) 300px;padding:18px;gap:18px}.sv-transport{flex-wrap:wrap}.scene-viewer h3{font-size:20px}.scene-viewer .sv-header{padding:16px 18px}.sv-actions{gap:5px}.scene-viewer .sv-inspector{max-height:calc(100dvh - 220px)}}@media(max-width:850px){.scene-viewer .sv-grid{grid-template-columns:1fr}.scene-viewer .sv-inspector{position:static;max-height:650px}.sv-preview{position:static}.scene-viewer .sv-header{align-items:flex-start;flex-wrap:wrap}.sv-actions{justify-content:flex-start}.sv-preview-heading{gap:8px}.sv-metrics{font-size:9px}}@media(prefers-reduced-motion:reduce){.scene-viewer *{scroll-behavior:auto}}
.sv-motion-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px}.sv-motion-choices .sv-look{margin:0}.sv-speed-choices{display:flex;gap:8px;margin:14px 0 20px}.sv-speed-choices button{flex:1}.sv-diagnostics{margin-top:16px;color:var(--sv-muted);font-size:11px}.sv-diagnostics summary{cursor:pointer;margin-bottom:12px}.sv-diagnostics button{margin:12px 6px 0 0}.sv-panel-heading{flex-shrink:0}.sv-panel-heading>button{margin-top:10px}.sv-look[aria-pressed=true]{background:#264b68}.scene-viewer .sv-save[aria-pressed=true]{color:#071420}
/* Keep canvas + transport accessible above Lite's fixed Program bar. */
#scenes.type-scene-open>.heading{display:none}
#scenes.type-scene-open .scene-selector{display:flex;align-items:center;gap:12px;padding:10px 12px;margin-bottom:12px}
#scenes.type-scene-open .scene-selector-heading{flex-shrink:0;gap:10px;margin:0;padding:0;align-items:center}
#scenes.type-scene-open .scene-selector-heading h2{font-size:14px;margin:0}
#scenes.type-scene-open .scene-selector-heading small{display:none}
#scenes.type-scene-open .scene-selector-items{min-width:0;flex:1;max-height:50px;gap:8px;padding:0}
#scenes.type-scene-open .scene-selector-items button{font-size:11px;min-width:150px;padding:8px 10px}
#scenes.type-scene-open .scene-selector>.hint{display:none}
#scenes.type-scene-open .scene-selector>button{max-width:160px;flex-shrink:0;font-size:11px;padding:8px}
#scenes.type-scene-open .sv-header{min-height:70px;padding:12px 20px}
#scenes.type-scene-open .sv-grid{padding:18px;gap:20px}
#scenes.type-scene-open .sv-inspector{max-height:calc(100dvh - 310px)}
#scenes.type-scene-open .sv-panel-heading{padding:14px 16px 12px}
#scenes.type-scene-open .sv-scene-fields{gap:8px;margin-top:10px}
#scenes.type-scene-open .sv-preview-heading{margin-bottom:14px}
#scenes.type-scene-open .sv-preview-heading h3{font-size:21px;margin-top:4px}
#scenes.type-scene-open .sv-preview{position:static}
#scenes.type-scene-open .sv-note{max-width:650px}
@media(max-width:850px){#scenes.type-scene-open .scene-selector{flex-wrap:wrap}#scenes.type-scene-open .scene-selector-items{flex-basis:100%}#scenes.type-scene-open .sv-inspector{max-height:620px}}
#scenes.type-scene-open .scene-selector{flex-direction:row}#scenes.type-scene-open .scene-selector-items{align-items:center}#scenes.type-scene-open .scene-selector-items button{min-height:40px}
@media(min-width:851px){body:has(#scenes.type-scene-open:not([hidden]))>.transport{padding-top:8px;padding-bottom:8px;gap:6px 14px}body:has(#scenes.type-scene-open:not([hidden]))>.transport .transport-status{flex-direction:row;flex-wrap:wrap;align-items:center;gap:4px 12px}body:has(#scenes.type-scene-open:not([hidden]))>.transport #ready-state{min-height:0}}
/* Type authoring polish · host controls, immutable renderer unchanged. */
.sv-edit-tools{display:flex;gap:6px;padding:8px 14px;border-bottom:1px solid var(--sv-line);flex-shrink:0}.scene-viewer .sv-edit-tools button{flex:1;padding:6px 10px;min-height:29px;font-size:11px}.scene-viewer .sv-edit-tools button:disabled{cursor:default;opacity:.35}.scene-viewer .sv-save-state{font-size:10px;color:var(--sv-gold);letter-spacing:.1px}.scene-viewer .sv-save-state[data-saved=true]{color:#94dcc5}.scene-viewer .sv-shortcuts{margin-top:5px;font-size:10px}.sv-keep-text{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--sv-muted);line-height:1.4;margin:0 0 15px}.scene-viewer .sv-template{display:flex;align-items:center;gap:12px;padding:12px}.sv-layout-art{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;width:64px;height:39px;flex-shrink:0;background:#0b1622;border:1px solid #3b566b;border-radius:4px;padding:7px}.sv-layout-art i{display:block;width:34px;height:3px;background:#98c5df}.sv-layout-art i:first-child{height:2px;width:17px;background:var(--sv-gold)}.sv-layout-art i:last-child{height:2px;width:25px;opacity:.6}.sv-layout-art[data-layout=lower-third]{justify-content:flex-end;align-items:flex-start}.sv-layout-art[data-layout=banner]{justify-content:flex-end;padding:4px}.sv-layout-art[data-layout=banner] i{width:90%}.sv-layout-art[data-layout=split]{align-items:flex-start;border-right:18px solid #2c4559}.sv-layout-art[data-layout=split] i{width:22px}.sv-layout-art[data-layout=quote] i:nth-child(2){transform:skewX(-18deg);width:29px;height:5px}.sv-layout-art[data-layout=credits]{gap:4px}.sv-layout-art[data-layout=credits] i{width:22px;height:2px}.sv-anchor-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:8px 0 10px}.scene-viewer .sv-anchor-grid button{font-size:17px;padding:6px;min-height:34px}.sv-quick-label{font-size:11px;color:var(--sv-muted)}.scene-viewer .sv-audition{width:100%;margin:0 0 18px;font-size:11px;color:var(--sv-blue)}.scene-viewer .sv-motion-choices .sv-look strong{font-size:14px}.scene-viewer .sv-motion-choices .sv-look small{font-size:10px}.scene-viewer .sv-edit-tools+.sv-tabs{padding-top:8px;padding-bottom:8px}

.sv-cinematic-tools{display:flex;flex-wrap:wrap;gap:5px;padding:10px;border-bottom:1px solid var(--sv-line)}.scene-viewer .sv-cinematic-tools button{padding:6px 9px;min-height:30px;font-size:11px}.sv-cinematic-tools+div{min-height:0;overflow:auto}.sv-galaxy-handles{position:absolute;inset:0;pointer-events:none;z-index:3}.sv-galaxy-handles[hidden]{display:none}.scene-viewer .sv-galaxy-handles button{position:absolute;transform:translate(-50%,-50%);pointer-events:auto;touch-action:none;border:1px solid #7dd5ff;background:#071622b8;border-radius:50%;width:48px;height:48px;min-height:0;padding:0;font-size:10px;cursor:move}
/* Galaxy controller 0.4 · contextual controls shared by Lite and Shop. */
.scene-viewer.sv-galaxy-studio{--sv-gold:#aabfff;--sv-blue:#a4d8ff;--sv-panel:#111927;--sv-line:#2c3a52;background:radial-gradient(ellipse at 40% 0%,#15213880,transparent 60%),#090e18}
.sv-galaxy-studio .sv-grid{grid-template-columns:minmax(0,1fr) 350px;gap:24px}.sv-galaxy-studio .sv-stage{border-color:#425576;box-shadow:0 16px 55px #0007}.sv-galaxy-studio .sv-guides{opacity:.5}.sv-galaxy-studio .sv-inspector{background:linear-gradient(155deg,#182337,#101724);max-height:calc(100dvh - 155px)}
.sv-galaxy-studio .sv-panel-heading{padding:14px 18px}.sv-galaxy-studio .sv-panel-heading h3{font-size:17px}.gc-shell{display:flex;flex-direction:column;min-height:0}.gc-modebar{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:9px;border-bottom:1px solid var(--sv-line);flex-shrink:0}.scene-viewer .gc-modebar button{border:0;background:transparent;font-size:12px}.scene-viewer .gc-modebar button[aria-selected=true]{background:#33456c;color:#e6efff;box-shadow:inset 0 0 0 1px #728ac66b}
.gc-tools{display:flex;align-items:center;gap:5px;padding:8px 12px;border-bottom:1px solid var(--sv-line);min-height:44px;flex-shrink:0}.scene-viewer .gc-tools button{padding:5px 8px;min-height:27px;font-size:10px;background:transparent}.scene-viewer .gc-tools button:disabled{cursor:default;opacity:.3}.gc-status{font-size:10px;color:#aabbd5;line-height:1.4;margin-left:auto;max-width:190px}.gc-body{overflow:auto;min-height:0;padding:18px;scrollbar-width:thin;scrollbar-color:#526b91 transparent}.gc-kicker{font:9px/1.6 monospace;letter-spacing:1.4px;color:#a7b9ea}.scene-viewer .gc-body h3{font-size:21px;margin:5px 0 18px;line-height:1.15}.gc-section-heading{display:flex;justify-content:space-between;align-items:center;margin:8px 0 16px}.scene-viewer .gc-section-heading h4{font-size:12px;margin:0;color:#acbbd1}.scene-viewer .gc-section-heading button{min-height:24px;padding:3px 6px;font-size:10px;background:transparent;border:0;color:#b8cbfa}.gc-field{display:block;margin:0 0 18px;font-size:12px}.gc-field-title{display:block;color:#d4e0f0;margin-bottom:8px}.gc-input-pair{display:flex;align-items:center;gap:12px}.scene-viewer .gc-input-pair input[type=number]{width:68px;padding:8px;font-size:12px;background:#090f1a}.scene-viewer .gc-field input[type=range]{accent-color:#afbcff;height:20px}.gc-toggle{display:flex;align-items:center;justify-content:space-between;padding:10px 0;border-top:1px solid var(--sv-line)}.gc-toggle .gc-field-title{margin:0}.gc-toggle input{flex-shrink:0}.scene-viewer .gc-wide{display:block;width:100%;margin:8px 0;font-size:11px;background:#233450}.scene-viewer .gc-link{width:100%;border:0;background:transparent;color:#b7d2ff;margin-top:5px}.scene-viewer .gc-primary{background:#bbcbff;color:#11192d;border-color:#bbcbff;font-weight:650}
.gc-look-rail{margin-top:24px}.gc-look-rail[hidden]{display:none}.gc-looks{display:flex;gap:10px;overflow-x:auto;padding:9px 0 8px;scrollbar-width:thin;scrollbar-color:#445878 transparent}.scene-viewer .gc-look{padding:0;overflow:hidden;flex:0 0 135px;text-align:left;background:#111c2e;border:1px solid #33415a}.gc-thumb{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;background:repeating-conic-gradient(#19273a 0% 25%,#121c2a 0% 50%) 50%/16px 16px}.gc-look strong,.gc-look small{display:block;padding:0 9px}.gc-look strong{font-size:11px;margin-top:9px}.scene-viewer .gc-look small{font-size:9px;line-height:1.4;margin:4px 0 10px;color:#9cabc0}.gc-look:hover .gc-thumb{filter:brightness(1.13)}
.gc-subjects{display:flex;flex-wrap:wrap;gap:6px;margin:11px 0 22px}.scene-viewer .gc-subjects button{font-size:11px;min-height:32px;padding:6px 12px;border-radius:18px;background:#131f31}.scene-viewer .gc-subjects button[aria-pressed=true]{background:#34466f;color:#e8efff;border-color:#7995ca}.gc-description{font-size:11px;line-height:1.65;color:#a9bbd1;margin:0 0 17px}.gc-context-actions{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:20px}.scene-viewer .gc-context-actions button{font-size:10px;padding:7px 9px;min-height:30px;background:#1c2a42}.gc-endpoints{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}.gc-endpoint{padding:9px;border:1px solid #354863;border-radius:8px;background:#0c1625}.gc-endpoint h4{font-size:12px;margin:0 0 9px}.gc-endpoint .gc-thumb{border-radius:4px;margin-bottom:8px}.scene-viewer .gc-endpoint button{display:block;width:100%;min-height:29px;padding:5px;font-size:10px;margin:5px 0 0}.gc-empty{display:grid;place-items:center;aspect-ratio:16/9;border:1px dashed #46597a;font-size:10px;color:#9eb0cf;border-radius:4px;margin-bottom:8px}
.gc-overlay{position:absolute;inset:0;pointer-events:none}.gc-overlay[hidden]{display:none}.scene-viewer .gc-handle{position:absolute;transform:translate(-50%,-50%);pointer-events:auto;touch-action:none;min-height:42px;min-width:62px;border-radius:24px;background:#132744d9;border:1px solid #b1d5ff;box-shadow:0 0 0 5px #87bfff1a;color:#fff;cursor:move;padding:8px;font-size:11px}.gc-handle-hint{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);padding:5px 10px;background:#08111be0;border-radius:20px;color:#c6d7ea;font-size:10px;white-space:nowrap}.sv-galaxy-studio .sv-stage:fullscreen .gc-overlay{display:none}
@media(max-width:1150px){.sv-galaxy-studio .sv-grid{grid-template-columns:minmax(0,1fr) 320px;gap:18px}.gc-body{padding:15px}}
@media(max-width:850px){.sv-galaxy-studio .sv-grid{grid-template-columns:1fr}.sv-galaxy-studio .sv-inspector{max-height:700px}.gc-look-rail{margin-top:18px}.scene-viewer .gc-look{flex-basis:125px}.gc-handle-hint{font-size:9px;max-width:95%;white-space:normal;text-align:center}.gc-field{margin-bottom:20px}}
.scene-viewer .gc-primary:hover:not(:disabled){background:#d0dcff;color:#11192d}.scene-viewer .gc-primary:disabled{cursor:default}.gc-body{scroll-behavior:auto}
.scene-viewer .gc-notice{padding:10px 12px;margin:0 0 16px;border:1px solid #53688d;border-radius:7px;background:#1a2940;color:#c9d8ed;font-size:11px;line-height:1.5}.gc-notice p{margin:0 0 9px}.scene-viewer .gc-notice button{padding:6px 10px;min-height:30px;font-size:11px}.scene-viewer .gc-field input:disabled,.scene-viewer .gc-field select:disabled{opacity:.45;cursor:not-allowed}.scene-viewer .gc-look[aria-pressed=true]{border-color:#b2d2ff;box-shadow:inset 0 0 0 1px #b2d2ff}
@media(max-width:600px){.sv-galaxy-studio button{min-height:44px}.sv-galaxy-studio .gc-tools button,.sv-galaxy-studio .gc-subjects button,.sv-galaxy-studio .gc-context-actions button,.sv-galaxy-studio .gc-endpoint button{min-height:44px}.sv-galaxy-studio .gc-input-pair input[type=number]{min-height:44px}.sv-galaxy-studio .gc-field input[type=range]{height:30px}.sv-galaxy-studio .gc-modebar button{min-height:44px}}

/* Type Studio 0.4: compact editor and shared animation tools. */
.sv-type .sv-grid{grid-template-columns:minmax(0,1fr) var(--type-panel,340px);gap:16px;padding:16px}.sv-type .sv-panel-heading{padding:12px 16px}.sv-type .sv-panel-heading>.sv-eyebrow,.sv-type .sv-panel-heading>h3,.sv-type .sv-panel-heading>small{display:none}.sv-type .studio-name,.sv-type .sv-scene-fields{margin-top:0}.sv-type .sv-inspector{max-height:calc(100dvh - 190px)}.sv-type .sv-tabs{overflow:visible;padding:7px;gap:4px}.sv-type .sv-tabs button{flex:1}.sv-type .sv-description{margin-bottom:12px}.sv-type .sv-edit-tools{border:0;padding:0;flex-wrap:wrap;flex:1}.sv-type .sv-edit-tools button{flex:0 1 auto;min-height:32px}.sv-type .sv-preview-heading{gap:8px;flex-wrap:wrap;margin-bottom:12px}.sv-type .sv-preview-heading select{width:auto;padding:6px;font-size:11px}.sv-type .sv-badge{margin-left:auto}.sv-type .sv-control-body{padding:14px 16px}.sv-type .sv-control{position:relative;margin-bottom:13px}.sv-type .sv-control>span{padding-right:24px}.scene-viewer .sv-diamond{position:absolute;right:0;top:-5px;padding:0;width:24px;min-height:24px;border:0;background:none;color:var(--sv-gold)}.sv-advanced{margin:8px 0 16px;border-top:1px solid var(--sv-line);padding-top:10px}.sv-advanced summary{font-size:12px;color:var(--sv-blue);cursor:pointer;margin-bottom:12px}.sv-type .sv-control-panel[aria-label=Looks] .sv-template{padding:9px}.sv-type .sv-control-panel[aria-label=Motion] .sv-description{display:none}.sv-type .sv-shortcuts{margin-bottom:10px}
.animation-editor{background:#101b28;border:1px solid #293d52;border-radius:8px;padding:14px;margin-top:16px;color:#e7f0f8;font:12px system-ui}.animation-editor[hidden]{display:none}.animation-editor h3{margin:0 0 8px!important;font-size:16px!important}.animation-toolbar{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.animation-toolbar label{display:grid;gap:5px;max-width:160px}.animation-toolbar input,.animation-toolbar select{background:#0b1420;color:#e7f0f8;border:1px solid #395168;border-radius:5px;padding:7px;width:100%;max-width:160px}.animation-toolbar input[type=checkbox]{width:16px}.animation-toolbar button,.animation-track>button{background:#203b51;color:#e7f0f8;border:1px solid #395168;border-radius:5px;padding:7px}.animation-track{display:grid;grid-template-columns:115px minmax(60px,1fr);gap:12px;align-items:center;margin:12px 8px 12px 0}.animation-lane{height:30px;background:repeating-linear-gradient(90deg,#132638 0,#132638 calc(25% - 1px),#395168 25%);position:relative;border-radius:4px}.animation-editor .animation-key{position:absolute;transform:translateX(-50%);padding:0;width:22px;height:30px;min-height:30px;border:0;background:transparent;color:#f2bc75;touch-action:none;cursor:ew-resize}.composition-animation{grid-column:1/-1;margin:8px 0}.composition-animation>summary{cursor:pointer;color:#79c5ff}
.show-builder{width:min(1160px,95vw);max-height:92dvh;overflow:auto;background:#0b1420;color:#e7f0f8;border:1px solid #395168;border-radius:12px;font:13px system-ui;padding:22px}.show-builder::backdrop{background:#000a}.show-builder header,.builder-settings,.builder-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.show-builder header h2{flex:1;margin:0}.show-builder button,.show-builder input,.show-builder select,.show-builder textarea{font:inherit;color:inherit;background:#172a3b;border:1px solid #395168;border-radius:5px;padding:9px}.show-builder button{cursor:pointer}.show-builder button:disabled{opacity:.4;cursor:default}.show-builder textarea{width:100%;font:12px/1.6 monospace}.builder-table{overflow:auto;margin:14px 0}.builder-table table{width:100%;border-collapse:collapse}.builder-table th{text-align:left;color:#9ab0c3;font-weight:500}.builder-table td{padding:4px}.builder-table input{width:100%;min-width:90px}.show-builder canvas{width:100%;aspect-ratio:16/9;background:#0b1420}.show-builder a{color:#79c5ff}.show-builder [role=status]{color:#f2bc75}.sv-type .sv-stage{overflow:auto}
@media(max-width:850px){.sv-type .sv-grid{grid-template-columns:1fr}.sv-type .sv-inspector{max-height:620px}.animation-track{grid-template-columns:85px minmax(60px,1fr)}}
@media(max-width:600px){.scene-viewer.sv-galaxy-studio .sv-inspector,#scenes.type-scene-open .sv-galaxy-studio .sv-inspector{max-height:none;overflow:visible}.sv-galaxy-studio .gc-body{overflow:visible}}

/* Permanent information area, independent of Cue selection. */
#program-video-playback{margin:0 0 18px}.show-info-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 14px}.show-info-summary dt{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#9eafbf}.show-info-summary dd{margin:5px 0 0;font-size:13px;overflow-wrap:anywhere}.show-info-empty{color:#9eafbf;font-size:12px}@media(max-width:700px){.show-info-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}

.gc-subject-group{display:flex;flex-wrap:wrap;gap:5px;width:100%}.gc-subject-group>.gc-kicker{flex-basis:100%;margin:6px 0 2px}.gc-property-scope{display:block;color:#9caec7;font-size:10px;margin-top:-3px;margin-bottom:5px}


.sv-transport-options label[hidden]{display:none}
.builder-settings label{display:flex;flex-direction:column;gap:5px;font-size:12px;color:#9ab0c3}.builder-settings input,.builder-settings select{color:#e7f0f8}.show-builder textarea{box-sizing:border-box}.show-builder .builder-actions{position:sticky;top:0;padding:10px 0;background:#0b1420;z-index:1}
/* Type authoring: real template previews, one list and a clear create action. */
.title-builder *{box-sizing:border-box}.title-builder .builder-form{border:0;padding:0;margin:0;min-width:0}.title-builder [hidden]{display:none!important}.builder-templates{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0 20px}.title-builder .builder-template{padding:0;overflow:hidden;text-align:left;min-width:0}.builder-template img{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;background:#111e2c}.builder-template strong{display:block;padding:10px}.title-builder [aria-pressed=true]{border-color:#79c5ff;box-shadow:0 0 0 1px #79c5ff}.builder-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}.builder-workspace>section{min-width:0}.builder-preview{position:sticky;top:0;background:#0b1420}.builder-preview canvas{display:block;border:1px solid #395168;border-radius:8px}.builder-preview p{color:#9ab0c3}.builder-rows{max-height:420px;overflow:auto;display:grid;gap:10px;padding:2px}.builder-row{padding:12px;border:1px solid #395168;border-radius:8px;min-width:0}.builder-row[data-selected=true]{border-color:#79c5ff}.builder-row-head,.builder-row-tools{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}.builder-row-head button:first-child{margin-right:auto}.builder-row-fields{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.builder-row label,.builder-import label{display:flex;flex-direction:column;gap:5px;margin-bottom:8px;color:#9ab0c3}.builder-row input,.builder-row select,.builder-import input,.builder-import select{width:100%;min-width:0}.builder-row details{margin-top:10px}.title-builder summary{cursor:pointer;padding:8px 0}.builder-import{margin:14px 0}.builder-import p{color:#9ab0c3}.title-builder .builder-settings{margin-top:20px}.title-builder .builder-actions{top:auto;bottom:0;flex-wrap:wrap;border-top:1px solid #395168}.title-builder .builder-create{background:#79c5ff;color:#071420;font-weight:700}.title-builder button{min-height:42px}.title-builder :focus-visible{outline:2px solid #79c5ff;outline-offset:2px}.scene-viewer .sv-template{display:flex;flex-direction:column;align-items:stretch}.sv-template-image{width:100%;aspect-ratio:16/9;object-fit:contain;background:#111e2c;border-radius:5px}.sv-asset-thumbnail{display:block;width:100%;max-height:140px;object-fit:contain;background:repeating-conic-gradient(#263746 0% 25%,#14212b 0% 50%) 0/18px 18px;border-radius:6px}.sv-file-input{display:none}.sv-opacity{display:flex;align-items:center;gap:8px}.sv-opacity input{flex:1;min-width:0}.sv-opacity output{min-width:3em}.sv-preview-only{font-size:11px;color:#9ab0c3}.sv-speed-choices [aria-pressed=true]{border-color:#79c5ff;background:#25445d}
.builder-template img:not([src]),.sv-template-image:not([src]){visibility:hidden}.title-builder .builder-actions>[role=status]{flex-basis:100%;margin:2px 0;color:#bccddd;font-size:12px}.title-builder .builder-settings{gap:14px}
@media(max-width:700px){.title-builder{padding:14px;width:96vw;max-height:94dvh}.builder-templates{grid-template-columns:repeat(2,minmax(0,1fr))}.builder-workspace{display:flex;flex-direction:column}.builder-workspace>section{width:100%}.builder-preview{position:static;order:-1}.builder-rows{max-height:none}.title-builder .builder-settings{display:grid;grid-template-columns:minmax(0,1fr)}.title-builder .builder-settings input,.title-builder .builder-settings select{width:100%;min-width:0}.builder-row-head button{padding:8px}.title-builder .builder-actions button{flex:1}.title-builder .builder-actions{position:static}.title-builder header{margin-bottom:8px}}

/* Scene Editor V1 · dedicated open-Scene workspace.
   The Saved Scenes browser remains mounted and is only hidden while a
   modern App Scene Viewer is open. */
#scenes.type-scene-open .scene-selector{
    display:none!important;
}

#scenes.type-scene-open #scene-workspace{
    display:block!important;
}

#scenes.type-scene-open .scene-viewer{
    width:100%;
    max-width:none;
}

#scenes.type-scene-open .sv-back{
    background:transparent;
    border-color:#3a566f;
    color:#b9d8f2;
}

#scenes.type-scene-open .sv-back:hover:not(:disabled){
    border-color:var(--sv-blue);
    color:#fff;
}

/* Phase 1: Core authoring shell. Every rule is limited to the modern Scene path. */
#scenes.type-scene-open:has(.scene-authoring){padding:0;background:#09121d!important}
#scenes.type-scene-open .scene-viewer.scene-authoring{
 --sv-gold:#5db7ff;--sv-blue:#5db7ff;--sv-line:#2b4053;
 display:flex;flex-direction:column;min-height:0;height:100%;border-radius:4px;background:#09121d;
 font:12px/1.45 'Segoe UI',system-ui,sans-serif;
}
.scene-authoring .sa-workspace{display:grid;grid-template-columns:280px minmax(0,1fr) var(--type-panel,350px);grid-template-rows:minmax(0,1fr) auto;flex:1;min-height:0;overflow:hidden}
.scene-authoring[data-assets=closed] .sa-workspace{grid-template-columns:44px minmax(0,1fr) var(--type-panel,350px)}
.scene-authoring .sa-workspace>*{min-width:0;min-height:0}
.scene-authoring .sa-assets{border-right:1px solid var(--sv-line);overflow:auto;background:#0b1420}
.scene-authoring .sa-rail-heading{padding:8px;border-bottom:1px solid var(--sv-line)}
.scene-authoring .sa-asset-toggle{width:100%;text-align:left;background:transparent;border:0;font-weight:600}
.scene-authoring[data-assets=closed] .sa-rail-heading{padding:8px 3px;border:0}
.scene-authoring[data-assets=closed] .sa-asset-toggle{writing-mode:vertical-rl;padding:10px 7px;min-height:86px}
.scene-authoring .sa-empty{color:#9ab0c3;line-height:1.7;padding:16px;font-size:12px}
.scene-authoring .sa-empty h3{font-size:15px;letter-spacing:0;margin:12px 0 8px;color:#dce7f3}
.scene-authoring .sa-empty-icon{font-size:28px;color:#5db7ff}
.scene-authoring .sa-viewport{overflow:auto;padding:12px;scrollbar-width:thin}
.scene-authoring .sa-inspector{display:flex;flex-direction:column;border-left:1px solid var(--sv-line);background:#101b27;overflow:hidden}
.scene-authoring .sa-tabs{display:flex;flex-shrink:0;border-bottom:1px solid var(--sv-line);overflow-x:auto;padding:5px 4px;gap:0;scrollbar-width:thin}
.scene-viewer.scene-authoring .sa-tabs button{flex:1;min-height:34px;border:0;border-radius:0;background:transparent;font-size:10px;padding:7px 5px;white-space:nowrap}
.scene-viewer.scene-authoring .sa-tabs button[aria-selected=true]{color:#8bd3ff;background:#17334b;box-shadow:inset 0 -2px #5db7ff}
.scene-authoring .sa-panel{flex:1;min-height:0;overflow:auto;padding:16px}
.scene-authoring .sa-panel>h3{font-size:16px;letter-spacing:0;margin:0 0 10px}
.scene-authoring .sa-panel>.sa-empty{padding:0}
.scene-authoring .sa-panel .sv-panel-heading{padding:12px 0;border:0}
.scene-authoring .sa-panel .sv-panel-heading>h3,.scene-authoring .sa-panel .sv-panel-heading>.sv-eyebrow{display:none}
.scene-authoring [hidden]{display:none!important}
#scenes.type-scene-open .scene-authoring .sv-inspector{position:static;max-height:none!important;height:auto;flex:1;min-height:0;border:0;border-radius:0;overflow:auto!important;top:auto;background:transparent}
.scene-authoring .sa-timeline{grid-column:1/-1;border-top:1px solid var(--sv-line);background:#0b1420;overflow:auto;max-height:240px}
.scene-authoring .sa-timeline>summary{padding:9px 14px;font-size:12px;cursor:pointer;color:#deebf7}
.scene-authoring .sa-timeline>summary span{margin-left:16px;font-size:11px;color:#8da5ba}
.scene-authoring .sa-timeline-content{height:190px;overflow:auto}
#scenes.type-scene-open .scene-authoring .sv-header{min-height:64px;padding:8px 12px;gap:12px;flex-wrap:wrap;flex-shrink:0;background:#0d1722}
.scene-authoring .sv-identity{flex:1;min-width:190px;grid-template-columns:auto minmax(100px,1fr);align-items:center;column-gap:10px}
.scene-authoring .sv-identity>.sv-eyebrow{display:none}
.scene-viewer.scene-authoring .sv-identity h2{font-size:17px;font-weight:400;letter-spacing:0;white-space:nowrap}
.scene-authoring .sv-identity small{grid-column:1/-1;font-size:10px}
.scene-authoring .sv-identity .sv-save-state{grid-column:1/-1;font-size:10px}
.scene-viewer.scene-authoring .sv-identity input{padding:3px 7px;border-color:transparent;background:transparent;font-size:14px;height:27px}
.scene-authoring .sv-identity input:hover,.scene-authoring .sv-identity input:focus{border-color:#395168;background:#09121d}
.scene-authoring .sv-actions{align-items:center;gap:5px}
.scene-viewer.scene-authoring button{min-height:30px;padding:6px 9px;border-radius:4px;font-size:11px}
.scene-authoring .sa-more{position:relative}
.scene-authoring .sa-more>summary{cursor:pointer;padding:6px 9px;border:1px solid var(--sv-line);border-radius:4px}
.scene-authoring .sa-more>div{position:absolute;right:0;top:100%;z-index:12;padding:8px;min-width:180px;background:#142334;border:1px solid var(--sv-line);box-shadow:0 8px 24px #0007;display:grid;gap:6px}
#scenes.type-scene-open .scene-authoring .sv-preview{position:static;top:auto;width:100%;max-width:none;margin:0}
.scene-viewer.scene-authoring .sv-preview-heading{margin-bottom:8px;gap:8px}
.scene-viewer.scene-authoring .sv-preview-heading h3{font-size:14px!important;font-weight:400;letter-spacing:0;margin:2px 0}
.scene-authoring .sv-preview-heading .sv-eyebrow{font-size:8px;letter-spacing:1px}
.scene-authoring .sv-badge{font-size:9px;padding:4px 7px}
#scenes.type-scene-open .scene-authoring .sv-stage{width:100%;height:auto;aspect-ratio:16/9;min-height:0;border-radius:2px;box-shadow:none}
#scenes.type-scene-open .scene-authoring .sv-stage:fullscreen{width:100vw;height:100vh;aspect-ratio:auto}
.scene-viewer.scene-authoring .sv-transport{margin-top:8px;padding:0;border:0;border-radius:0;background:transparent;gap:6px;flex-wrap:wrap}
.scene-viewer.scene-authoring .sv-preview>input[type=range]{margin:8px 0;height:18px}
.scene-viewer.scene-authoring .sv-transport-options{gap:8px;padding-top:4px;border:0}
.scene-viewer.scene-authoring .sv-status{margin-top:8px;padding:7px 0;font-size:10px;flex-wrap:wrap}
.scene-viewer.scene-authoring .sv-note{font-size:10px;line-height:1.5}
.scene-authoring .sv-diagnostics{margin:0}
.scene-authoring .sv-tabs{padding:6px;gap:3px;flex-wrap:wrap;overflow:visible}
.scene-authoring .sv-control-body{padding:12px;overflow:visible;flex-shrink:0}
.scene-authoring .sv-sky-editor{overflow:visible!important}
.scene-authoring .gc-shell{min-height:0;flex:1}
.scene-authoring .gc-body{padding:12px}
.scene-authoring .play-asset{padding:12px}
.scene-authoring .play-readout output{font-size:18px}
.scene-authoring[data-focus=playback] .sa-assets,.scene-authoring[data-focus=playback] .sa-inspector,.scene-authoring[data-focus=playback] .sa-timeline{display:none}
.scene-authoring[data-focus=playback] .sa-workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
@media(min-width:851px){
 body:has(#scenes.type-scene-open:not([hidden]) .scene-authoring) main{height:calc(100dvh - var(--workspace-top,100px) - var(--transport-height,100px));min-height:0;padding:8px 12px;overflow:hidden}
 #scenes.type-scene-open:has(.scene-authoring),#scenes.type-scene-open:has(.scene-authoring) #scene-workspace{height:100%;min-height:0}
}
@media(max-width:1150px) and (min-width:851px){
 .scene-authoring .sa-workspace{grid-template-columns:210px minmax(0,1fr) 320px}
 .scene-authoring[data-assets=closed] .sa-workspace{grid-template-columns:40px minmax(0,1fr) 320px}
}
@media(max-width:850px){
 #scenes.type-scene-open .scene-viewer.scene-authoring{height:auto}
 .scene-authoring .sa-workspace,.scene-authoring[data-assets=closed] .sa-workspace{display:flex;flex-direction:column;overflow:visible}
 .scene-authoring .sa-assets{border-right:0;border-bottom:1px solid var(--sv-line)}
 .scene-authoring[data-assets=closed] .sa-asset-toggle{writing-mode:horizontal-tb;min-height:36px}
 .scene-authoring .sa-inspector{border-left:0;min-height:300px;max-height:600px}
 .scene-authoring .sa-viewport{overflow:auto;padding:8px}
 .scene-authoring .sv-identity{min-width:0;width:100%}
 .scene-authoring .sv-header>.sv-back{order:-1}
 .scene-authoring .sv-actions{justify-content:flex-start}
 .scene-authoring .sa-timeline>summary span{display:block;margin-left:14px}
 .scene-authoring .sv-transport output{font-size:10px}
}
/* Fit the primary canvas and local transport together; supplemental App tools scroll locally. */
@media(min-width:851px){
 .scene-authoring .sa-viewport{container-type:size}
 #scenes.type-scene-open .scene-authoring .sv-stage{width:min(100%,max(160px,calc((100cqh - 205px)*16/9)));margin-inline:auto}
 #scenes.type-scene-open .scene-authoring.sv-play-pro .sv-stage{width:min(100%,max(160px,calc((100cqh - 355px)*16/9)))}
}
/* Play clip-deck candidate: clear range authoring and command feedback. */
.play-range-tools{padding:14px;border-bottom:1px solid #293a49}.play-range-tools button{margin:4px 6px 0 0;min-height:36px}.play-clip-summary{font:12px/1.6 ui-monospace,Consolas,monospace;color:#a9c4d4;overflow-wrap:anywhere}.play-command-feedback{padding:10px 12px;background:#142733;border:1px solid #315063;border-radius:7px;font-size:12px}.play-command-feedback[data-error=true]{background:#3a211c;border-color:#9e6146;color:#ffcfb1}#program-video-playback ol{padding-left:20px;font-size:11px;color:#a9c4d4}#program-video-playback>details{margin-bottom:12px}
#program-video-playback .play-readout{grid-template-columns:1fr;gap:6px}#program-video-playback .play-readout>div{display:flex;justify-content:space-between;align-items:center;gap:8px;border:0;padding:0}#program-video-playback .play-readout span{margin:0;font-size:9px}#program-video-playback .play-readout output{font-size:14px;letter-spacing:0;white-space:nowrap}
.sv-play-pro .play-feedback{box-sizing:border-box;block-size:188px;display:grid;grid-template-rows:48px 58px minmax(0,1fr);gap:8px;overflow:hidden}
.sv-play-pro .play-feedback .play-readout{grid-row:1;margin:0!important;align-self:start}
.sv-play-pro .play-feedback .play-clip-summary{grid-row:2;margin:0;overflow:auto;min-height:0;scrollbar-width:thin;font-variant-numeric:tabular-nums}
.sv-play-pro .play-feedback [role=status]{grid-row:3;margin:0;overflow:auto;min-height:0;scrollbar-width:thin;overflow-wrap:anywhere}
.play-media-health [hidden]{display:none!important}
.play-framing-tools{padding:14px;border-top:1px solid #293a49}.play-framing-tools button{min-height:36px;margin:4px 6px 0 0}.play-framing-tools [aria-pressed=true]{border-color:#70d5d3;color:#70d5d3}
.play-media-health{padding:12px;margin:12px 0;border:1px solid #315063;border-radius:8px;background:#101c27}.play-media-health p{font-size:12px;overflow-wrap:anywhere}.play-media-health p[data-error=true]{color:#ffcfb1}.play-media-health small{display:block;font-size:10px;line-height:1.5;color:#9fb2c0}.play-media-health button{margin:8px 5px 8px 0;font-size:11px}.play-media-health ol{font-size:10px;padding-left:16px;overflow-wrap:anywhere}
/* Shared Assets browser: one scrolling library, bounded local preview. */
.sa-asset-content{min-height:0;overflow:auto;flex:1}.asset-browser{padding:10px;display:flex;flex-direction:column;gap:9px;min-width:0}.asset-browser select,.asset-browser input{width:100%;min-width:0}.asset-browser button{min-height:30px;font-size:11px;padding:6px}.asset-tools{display:flex;gap:5px;flex-wrap:wrap}.asset-tools>*{min-width:0;flex:1}.asset-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-height:300px;min-height:60px;overflow:auto}.asset-items[data-view=list]{grid-template-columns:1fr}.asset-item{display:flex;flex-direction:column;align-items:stretch;gap:4px;min-width:0;overflow:hidden;text-align:left}.asset-item>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.asset-thumb{height:52px;display:grid;place-items:center;background:#0a141e;color:#89b8cd}.asset-thumb img{width:100%;height:52px;object-fit:cover}.asset-details{overflow-wrap:anywhere;font-size:11px}.asset-details strong,.asset-details small{display:block}.asset-details video,.asset-details img{display:block;width:100%;max-height:120px;object-fit:contain;margin:6px 0}.asset-feedback{font-size:11px;line-height:1.45;min-height:45px;margin:0;color:#aec1cf}.asset-browser progress{height:6px;width:100%;visibility:hidden}.asset-browser[data-busy=true] progress{visibility:visible}.asset-browser nav{display:flex;gap:4px;flex-wrap:wrap}.asset-browser[data-busy=true] .asset-tools{pointer-events:none;opacity:.6}.scene-authoring .play-filename{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.scene-authoring [data-asset-slot]{border:1px dashed #38596a;padding:8px}.scene-authoring .sa-assets{min-width:0}
@media(min-width:851px){.scene-authoring[data-assets=open] .sa-workspace{grid-template-columns:260px minmax(160px,1fr) minmax(270px,340px)}}
@media(max-width:850px){.asset-items{max-height:210px}.asset-browser{max-height:500px;overflow:auto}}
/* Keep precision transport visible beside the Scene canvas. */
.scene-authoring.sv-play-pro .play-feedback{block-size:108px;grid-template-rows:42px 18px minmax(0,1fr);gap:4px}.scene-authoring.sv-play-pro .play-feedback .play-readout output{font-size:18px;line-height:1.2}.scene-authoring.sv-play-pro .play-feedback .play-readout span{font-size:9px;line-height:1.2;margin-bottom:4px}.scene-authoring.sv-play-pro .play-feedback .play-clip-summary{font-size:10px;line-height:1.4}.scene-authoring.sv-play-pro .play-feedback [role=status]{font-size:11px;line-height:1.35}.scene-authoring.sv-play-pro .play-precision{margin-bottom:8px}
@media(min-width:851px){#scenes.type-scene-open .scene-authoring.sv-play-pro .sv-stage{width:min(100%,max(160px,calc((100cqh - 374px)*16/9)))}}

.asset-import-status{position:sticky;top:0;z-index:2;background:#101c27;border:1px solid #30475b;padding:6px;min-height:76px;max-height:100px;overflow:auto;flex:none}.asset-import-status .asset-feedback{min-height:0;overflow-wrap:anywhere}

/* Playback owns the full viewport regardless of asset expansion or desktop breakpoint. */
.scene-authoring[data-focus=playback][data-assets] .sa-workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
.scene-authoring[data-focus=playback][data-assets] .sa-viewport{grid-column:1;grid-row:1;width:100%;min-width:0}
