:root[data-route-kind="video-making"] .shell{max-width:none;width:100%;padding:0 22px}
:root[data-route-kind="video-making"] .route-breadcrumb{margin:4px 0 12px}
:root[data-route-kind="video-making"] .daily-jump{display:none!important}
:root[data-route-kind="video-making"] #appShell>header{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:14px;padding:14px 0}
:root[data-route-kind="video-making"] #appShell>header>.brand{position:static;inset:auto;transform:none;order:0;flex:0 0 auto;margin-right:8px}
:root[data-route-kind="video-making"] #appShell>header>.header-primary-actions{order:1;flex:0 0 auto}
:root[data-route-kind="video-making"] #appShell>header>.header-actions{order:2;margin-left:auto;max-width:100%;flex-wrap:wrap}
.video-studio{--vs-ink:#263a3a;--vs-soft:#526b61;--vs-line:#dce5e1;--vs-accent:#1c7367;--vs-card:#fff;--vs-panel:#fcfdfb;--vs-danger:#a13a30;color:var(--vs-ink);background:#f3f6ef;border-radius:18px;font-family:Inter,ui-sans-serif,system-ui,sans-serif;padding:18px 18px 28px;color-scheme:light}
:root[data-route-kind="video-making"] .video-studio :is(input,select,textarea):not([type="range"]):not([type="color"]){background:#fff;color:#263a3a;border-color:#dce5e1}
:root[data-route-kind="video-making"] .video-studio :is(input,textarea)::placeholder{color:var(--vs-soft);opacity:1}
.video-studio [hidden]{display:none!important}
.video-studio button,.video-studio input,.video-studio select,.video-studio textarea{font:inherit;box-sizing:border-box;letter-spacing:normal}
.video-studio button,.video-studio .vs-file-label{border:1px solid var(--vs-line);border-radius:9px;background:#fff;color:var(--vs-ink);cursor:pointer;padding:8px 11px;font-size:12px;line-height:1.45;text-align:center;box-shadow:none;transition:background .15s,border-color .15s}
.video-studio button:hover,.video-studio .vs-file-label:hover{background:#eef5f1;border-color:#99b9ac;color:#174b42}
.video-studio button:focus-visible,.video-studio input:focus-visible,.video-studio select:focus-visible,.video-studio textarea:focus-visible{outline:3px solid #e7a877;outline-offset:2px}
.video-studio button:disabled{opacity:.5;cursor:wait}
.vs-auto-panel{background:var(--vs-panel);border:1px solid var(--vs-line);border-radius:14px;padding:18px;margin:14px 0;color:var(--vs-ink)}
.vs-scene-button small{display:block;font-size:10px;font-weight:400;margin-top:3px}
.vs-initial-draft{margin-top:22px;padding:18px;border:1px solid var(--vs-line);border-radius:14px;background:var(--vs-panel);color:var(--vs-ink)}.vs-draft-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:15px}.vs-draft-heading h2{font-size:20px;margin:0 0 8px}.vs-draft-heading p{font-size:13px;line-height:1.65;margin:0 0 10px;max-width:820px}.vs-draft-heading button{flex-shrink:0}.vs-draft-scene{border:1px solid var(--vs-line);border-radius:10px;margin:10px 0;padding:12px}.vs-draft-scene summary{cursor:pointer;font-weight:650;font-size:14px;line-height:1.6}.vs-draft-scene summary span{float:right;color:var(--vs-soft);font-size:12px}.vs-draft-meta{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:12px 0}.vs-draft-scene label{display:grid;gap:6px;font-size:12px}.vs-draft-meta input{width:130px;padding:7px;border:1px solid var(--vs-line);border-radius:7px}.vs-draft-scene textarea{width:100%;min-height:160px;resize:vertical;padding:11px;border:1px solid var(--vs-line);border-radius:8px;font-size:13px;line-height:1.7}.vs-draft-source{font-size:12px;line-height:1.6;white-space:pre-wrap;padding:10px;background:#eef4ef;color:#28493f;border-radius:8px}.vs-draft-scene small{display:block;margin-top:8px;font-size:10px;overflow-wrap:anywhere;color:var(--vs-soft)}.vs-duration-short{color:var(--vs-danger)}
@media(max-width:680px){.vs-initial-draft{padding:12px}.vs-draft-heading{display:grid;gap:10px}.vs-draft-heading button{width:100%}.vs-draft-scene{padding:10px}.vs-draft-scene textarea{min-height:210px}}
.vs-auto-panel h2{font-size:19px;margin:0 0 8px}.vs-auto-panel p,.vs-auto-panel li{font-size:13px;line-height:1.6}.vs-auto-selects{display:grid;grid-template-columns:1fr 1.6fr 1fr;gap:12px;margin:14px 0}.vs-auto-selects label{display:grid;gap:6px;font-size:12px}.vs-auto-selects select{width:100%;max-width:100%;padding:9px;border:1px solid var(--vs-line);border-radius:8px;background:#fff;color:var(--vs-ink)}.vs-auto-counts{display:flex;gap:16px;flex-wrap:wrap;margin:12px 0;font-size:13px}.vs-auto-counts b{font-size:20px;margin-left:6px}.vs-auto-panel progress{width:100%;accent-color:var(--vs-accent)}.vs-scene-notes:empty{display:none}.vs-scene-notes{padding:12px;border:1px solid var(--vs-line);border-radius:10px;background:var(--vs-panel);color:var(--vs-ink);margin-bottom:10px;overflow-wrap:anywhere}.vs-scene-notes textarea{width:100%;min-height:75px;padding:8px}.vs-scene-notes small{display:block;color:var(--vs-soft);font-size:10px}.vs-empty-stage{padding:150px;text-align:center;font-size:26px;color:#263a3a}.vs-auto-locked .vs-library-panel,.vs-auto-locked .vs-controls-panel{opacity:.65}.vs-auto-locked .vs-stage-item{pointer-events:none}
@media(max-width:680px){.vs-auto-panel{padding:13px}.vs-auto-selects{grid-template-columns:1fr}.vs-auto-counts{gap:10px}.vs-auto-counts span{flex:1 1 110px}.vs-auto-panel .vs-top-actions{flex-wrap:wrap}.vs-auto-panel .vs-top-actions button{flex:1 1 150px}}
.video-studio button[aria-pressed="true"],.video-studio .active{background:#e5f3eb;color:#174b42;border-color:#95beaa}
.video-studio button.vs-primary{background:#1c7367;color:#fff;border-color:#1c7367}
.video-studio button.vs-primary:hover{background:#145b52;color:#fff}
.video-studio button.vs-danger{color:#b04033}
.vs-top{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:8px 0 18px}
.vs-top h1{font-size:24px;line-height:1.2;color:var(--vs-ink);margin:2px 0 5px;letter-spacing:-.6px;font-weight:750}
.vs-kicker{font-size:10px;font-weight:700;letter-spacing:2px;color:var(--vs-soft);text-transform:uppercase}
.vs-top p{font-size:12px;color:var(--vs-soft);margin:0}
.vs-top-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.vs-workspace{display:grid;grid-template-columns:228px minmax(450px,1fr) 224px;gap:16px;align-items:start}
.vs-panel{background:#fcfdfb;border:1px solid var(--vs-line);border-radius:15px;padding:15px;min-width:0}
.vs-panel h2{font-size:14px;margin:0 0 4px;color:var(--vs-ink);font-weight:750}
.vs-panel h3{font-size:12px;margin:18px 0 8px;color:#4c6962;font-weight:700}
.vs-panel p{font-size:11px;color:var(--vs-soft);line-height:1.6;margin:4px 0 10px}
.video-studio input:not([type="range"]):not([type="checkbox"]):not([type="file"]),.video-studio textarea,.video-studio select{border:1px solid var(--vs-line);border-radius:8px;background:#fff;color:var(--vs-ink);padding:8px 9px;width:100%;font-size:12px;line-height:1.4;min-height:33px;box-shadow:none}
.video-studio textarea{resize:vertical;min-height:75px}
.video-studio input[type="range"]{width:100%;accent-color:var(--vs-accent);cursor:pointer;margin:4px 0}
.vs-categories{display:flex;flex-wrap:wrap;gap:5px;margin:10px 0}
.video-studio .vs-categories button{font-size:10px;padding:4px 7px;border-radius:20px}
.vs-materials{display:grid;grid-template-columns:1fr 1fr;gap:7px;max-height:510px;overflow:auto;padding:1px 3px 4px 1px;scrollbar-width:thin}
.vs-material-group-title{grid-column:1/-1;margin:8px 0 0;padding:5px 3px 1px;border-bottom:1px solid var(--vs-line);font-size:10px;font-weight:750;color:var(--vs-soft)}
.video-studio .vs-material{min-height:85px;padding:9px 4px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;cursor:grab;background:#fff;text-align:center}
.vs-material:active{cursor:grabbing}
.vs-material span{font-family:Georgia,serif;font-size:25px;line-height:1.2;color:#2c8174;font-weight:500}
.vs-material b{font-size:10px;font-weight:600;line-height:1.35}
.vs-library-foot{border-top:1px solid var(--vs-line);margin-top:12px;padding-top:12px}
.vs-library-foot button{width:100%;margin-bottom:6px}
.vs-center{min-width:0}
.vs-canvas-toolbar{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:9px;font-size:11px;color:var(--vs-soft)}
.vs-canvas-toolbar .vs-live-dot{width:6px;height:6px;background:#6da885;border-radius:50%;display:inline-block;margin-right:5px}
.vs-canvas-toolbar span:last-child{font-family:ui-monospace,monospace;font-size:10px}
.vs-stage-shell{position:relative;width:100%;aspect-ratio:16/9;border-radius:15px;overflow:hidden;background:#ede5d4;box-shadow:0 15px 35px #1d3c3220;border:1px solid #d7ddcf;isolation:isolate}
.vs-stage{width:1280px;height:720px;position:absolute;top:0;left:0;transform-origin:0 0;overflow:hidden;background:#eee9df;color:#294b47;touch-action:manipulation;--vs-card:#fffcf4;--vs-stage-accent:#287b70;--vs-stage-ink:#214842}
.vs-stage[data-background="chalk"]{background:radial-gradient(ellipse at 50% 15%,#54694a,#394c36);color:#eef1dc;--vs-card:#233e39;--vs-stage-accent:#8ed3ad;--vs-stage-ink:#e4eee1}
.vs-stage[data-background="screen"]{background:linear-gradient(150deg,#dce9ef,#eef3f1);--vs-card:#f8fdff;--vs-stage-accent:#376dba;--vs-stage-ink:#294765}
.vs-stage[data-background="night"]{background:radial-gradient(ellipse at 15% 10%,#294961,#121f35);color:#d5e9ee;--vs-card:#193449;--vs-stage-accent:#80d3d1;--vs-stage-ink:#e0f0f3}
.vs-stage[data-background="paper"]{background:#fffdf7;--vs-card:#fffdf7}
/* SVG exercise text belongs to the board palette, not the editor panel. */
.vs-stage:is([data-background="chalk"],[data-background="night"],[data-background="highschool"],[data-background="cyberpunk"],[data-background="forest"],[data-background="halloween"],[data-background="christmas"],[data-background="summernight"],[data-background="starry"],[data-background="aurora"]){--vs-stage-muted:#c1d5cd;--vs-stage-highlight:#ffd08a}
.vs-stage:before{content:"";position:absolute;inset:0;background-image:radial-gradient(currentColor .7px,transparent .7px);background-size:26px 26px;opacity:.08;pointer-events:none}
.vs-board{position:absolute;left:64px;top:68px;width:1152px;height:477px;background:var(--vs-card);border:10px solid #b39a78;border-radius:16px;box-shadow:0 12px 0 #26382c16,0 20px 25px #26382c0e;box-sizing:border-box}
.vs-stage[data-background="chalk"] .vs-board{border-color:#9d805e}
.vs-stage[data-background="screen"] .vs-board,.vs-stage[data-background="night"] .vs-board{border:8px solid #3c555d;border-radius:20px}
.vs-stage:is([data-layout="board"],[data-layout="teacher-board"]) .vs-board{left:28px;top:58px;width:1224px;height:634px;border-width:5px}
.vs-stage[data-layout="background"] .vs-board{display:none}
.vs-stage-title{position:absolute;top:19px;left:67px;font-size:22px;font-weight:650;letter-spacing:.5px;max-width:1060px;white-space:normal;overflow-wrap:break-word;line-height:1.3;color:var(--vs-stage-ink)}
.vs-watermark{position:absolute;right:64px;bottom:21px;font-size:14px;font-weight:650;color:inherit;opacity:.45;letter-spacing:2px;pointer-events:none}
.vs-stage-item{position:absolute;min-width:170px;min-height:90px;box-sizing:border-box;z-index:2;color:var(--vs-stage-ink)}
.vs-stage-item.selected{outline:2px dashed #d48247;outline-offset:5px;border-radius:9px}
.vs-item-handle{position:absolute;top:-29px;left:0;right:0;height:24px;display:flex;justify-content:space-between;align-items:center;gap:5px;opacity:0;transition:opacity .12s;touch-action:none;cursor:move;z-index:6}
.vs-stage-item.selected .vs-item-handle,.vs-stage-item:hover .vs-item-handle{opacity:1}
.vs-item-handle span{background:#174d45;color:#fff;border-radius:5px;padding:4px 9px;font-size:11px;max-width:75%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.video-studio .vs-item-handle button{padding:1px 6px;height:23px;color:#ae4539}
.vs-item-resize{position:absolute;width:17px;height:17px;right:-7px;bottom:-7px;border:2px solid #fff;background:#d48247;border-radius:4px;cursor:nwse-resize;touch-action:none;opacity:0;z-index:7}
.selected .vs-item-resize{opacity:1}
.vs-widget{width:100%;height:100%;background:var(--vs-card);border-radius:11px;padding:9px 15px;box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 2px 8px #17382c08}
.vs-widget-title{font-size:20px;font-weight:700;line-height:1.4;margin-bottom:3px;flex-shrink:0}
.vs-widget-plot{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden}
.vs-math-svg{width:100%;height:100%;display:block;overflow:hidden}
.vs-widget-readout{font-size:14px;line-height:1.5;margin:5px 0;color:var(--vs-stage-ink);font-weight:500;min-height:21px}
.vs-widget-prompt{display:flex;gap:9px;align-items:flex-start;padding:6px 10px;margin:3px 0;border-left:3px solid var(--vs-stage-accent);border-radius:3px;background:color-mix(in srgb,var(--vs-stage-accent) 8%,transparent);font-size:18px;line-height:1.35;flex-shrink:0;overflow:hidden}.vs-widget-prompt b{white-space:nowrap;color:var(--vs-stage-accent)}.vs-widget-prompt span{white-space:pre-line;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.vs-widget-sliders{display:flex;gap:18px;justify-content:center;font-size:12px;line-height:1.3;flex-shrink:0;margin-top:2px}
.vs-widget-sliders label{flex:1;min-width:0;display:block}
.vs-widget-sliders label span{display:flex;justify-content:space-between;gap:7px}
.vs-widget-sliders input[type="range"]{accent-color:var(--vs-stage-accent);height:14px;display:block;margin:5px 0 0;width:100%}
.vs-widget-sliders .vs-function-negate{flex:0 0 auto;display:flex;align-items:center;gap:5px;white-space:nowrap;font-weight:700}
.vs-function-negate input{accent-color:var(--vs-stage-accent)}
.vs-widget-sliders .vs-function-variant{flex:1.2;min-width:135px}
.vs-function-variant select{width:100%;min-width:0;border:1px solid var(--vs-stage-accent);border-radius:6px;background:var(--vs-card);color:var(--vs-stage-ink);font:inherit}
.vs-widget.no-sliders .vs-widget-sliders{display:none}
.vs-text{font-size:32px;line-height:1.5;white-space:pre-wrap;width:100%;height:100%;overflow:hidden;padding:8px 14px;box-sizing:border-box;color:var(--vs-stage-ink);font-weight:600}
.vs-media{width:100%;height:100%;object-fit:contain;display:block;border:0;background:#00000008;border-radius:8px}
.vs-media-placeholder{height:100%;width:100%;border:2px dashed #96b5a6;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;text-align:center;font-size:16px;color:var(--vs-stage-ink);background:var(--vs-card);padding:20px;box-sizing:border-box}
.vs-media-placeholder button{font-size:15px}
.vs-geometry{width:100%;height:100%;border:0;border-radius:8px;background:var(--vs-card)}
.vs-panda{position:absolute;z-index:20;width:155px;height:217px;left:565px;top:492px;touch-action:none;cursor:grab;transform-origin:bottom center;color:#243b38}
.vs-panda:active{cursor:grabbing}
.vs-panda svg{width:100%;height:100%;overflow:visible;filter:drop-shadow(0 8px 5px #203b3825)}
.vs-panda-body{animation:vs-breathe 3s ease-in-out infinite;transform-origin:150px 390px}
.vs-panda-eyes{animation:vs-blink 6s linear infinite;transform-box:fill-box;transform-origin:center}
.vs-panda .vs-arm-right{transform-origin:213px 253px;transition:transform .4s}
.vs-panda .vs-arm-left{transform-origin:90px 252px;transition:transform .4s}
.vs-panda[data-action="point"] .vs-arm-right{transform-box:view-box;transform:rotate(var(--vs-point-arm,-118deg));transition:none}
.vs-panda[data-action="point"] .vs-panda-body{animation:none}
.vs-panda[data-action="point"] .vs-panda-wand{transform-box:view-box;transform-origin:257px 323px;transform:rotate(var(--vs-point-wand,0deg))}
.vs-panda[data-action="wave"] .vs-arm-right{animation:vs-wave 1.1s ease-in-out infinite}
.vs-panda[data-action="think"] .vs-arm-left{transform:rotate(190deg)}
.vs-panda[data-action="celebrate"] .vs-arm-right{transform:rotate(-145deg)}
.vs-panda[data-action="celebrate"] .vs-arm-left{transform:rotate(145deg)}
.vs-panda[data-action="celebrate"] .vs-panda-body{animation:vs-hop .65s ease-in-out infinite}
.vs-mouth-open{display:none}
.vs-panda.speaking .vs-mouth-open{display:block;animation:vs-mouth .23s ease-in-out infinite alternate;transform-origin:150px 196px}
.vs-panda.speaking .vs-mouth-closed{display:none}
.vs-panda-caption{position:absolute;bottom:210px;left:-160px;width:475px;text-align:center;font-size:21px;color:var(--vs-stage-ink);font-weight:600;white-space:pre-wrap;pointer-events:none;text-shadow:0 2px 4px var(--vs-card);line-height:1.45}
.vs-panda-caption:empty{display:none}
.vs-ink-layer{position:absolute;inset:0;width:1280px;height:720px;z-index:30;pointer-events:none;touch-action:none}
.vs-stage[data-tool="pen"] .vs-ink-layer,.vs-stage[data-tool="laser"] .vs-ink-layer{pointer-events:auto;cursor:crosshair}
.vs-laser{position:absolute;z-index:40;width:14px;height:14px;border-radius:50%;background:#fc584b;box-shadow:0 0 15px 6px #fc584b55;pointer-events:none;display:none}
.vs-stage[data-tool="laser"] .vs-laser{display:block}
.vs-understage{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;margin:13px 0}
.vs-understage>div{display:flex;flex-wrap:wrap;gap:5px}
.vs-shortcuts{font-size:10px;color:var(--vs-soft);line-height:1.8}
.vs-scenes{display:flex;gap:9px;overflow:auto;padding:4px 2px 8px;margin:0;scrollbar-width:thin}
.video-studio .vs-scene-button{padding:10px 12px;min-width:133px;flex-shrink:0;display:flex;align-items:center;gap:8px;text-align:left;min-height:54px}
.vs-scene-button i{font-size:15px;font-style:normal;opacity:1}
.vs-scene-button span{max-width:140px;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vs-help{padding:12px 15px;border:1px solid #dfe7dd;border-radius:11px;background:#f8faf4;color:var(--vs-soft);font-size:11px;line-height:1.7;margin-top:11px}
.vs-label{display:block;font-size:11px;margin:9px 0 4px;color:var(--vs-soft)}
.vs-panda-actions{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:9px 0}
.vs-inline{display:flex;align-items:center;gap:7px;margin:8px 0;font-size:11px;color:var(--vs-soft);line-height:1.6}
.vs-inline input{accent-color:var(--vs-accent)}
.vs-readout{float:right;font-family:ui-monospace,monospace;font-size:10px;color:var(--vs-soft)}
.vs-stack{display:flex;flex-direction:column;gap:6px}
.vs-two{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.vs-properties{border-top:1px solid var(--vs-line);padding-top:3px;margin-top:15px}
.vs-properties h3{margin-top:11px}
.vs-select-hint{font-size:11px;color:var(--vs-soft);line-height:1.7}
.vs-status{font-size:11px;min-height:19px;line-height:1.6;color:var(--vs-soft);margin-top:8px;max-width:500px}
.vs-dialog{border:1px solid var(--vs-line);border-radius:16px;padding:24px;width:min(440px,90vw);box-shadow:0 20px 80px #122d3440;background:#fff;color:var(--vs-ink)}
.vs-dialog::backdrop{background:#183d3d60;backdrop-filter:blur(3px)}
.vs-dialog h2{font-size:20px;color:var(--vs-ink);margin:0 0 12px}
.vs-dialog p{font-size:12px;line-height:1.7;color:var(--vs-soft)}
.vs-dialog .vs-top-actions{margin-top:16px;justify-content:flex-end}
.vs-cloud-list{display:flex;flex-direction:column;gap:7px;max-height:260px;overflow:auto;margin-top:15px}
.video-studio .vs-cloud-list button{text-align:left;padding:12px}
.vs-modal-status{font-size:12px;line-height:1.5;color:var(--vs-danger);min-height:18px;margin-top:10px}
.vs-clean-exit{display:none;position:fixed;right:14px;top:12px;z-index:120;opacity:0;transition:opacity .2s}
.vs-present-backdrop{display:none}
body.vs-presenting .vs-present-backdrop{display:block;position:fixed;inset:0;z-index:109;background:#162623}
.vs-clean-exit:hover,.vs-clean-exit:focus-within{opacity:1}
body.vs-presenting{overflow:hidden;background:#162623}
body.vs-presenting .vs-stage-shell{position:fixed;inset:0;margin:auto;z-index:110;border:0;border-radius:0;width:min(100vw,177.7778vh);height:min(56.25vw,100vh);aspect-ratio:auto;box-shadow:none}
body.vs-presenting .vs-clean-exit{display:flex;gap:6px}
body.vs-presenting .vs-stage-item{outline:none}
body.vs-presenting .vs-item-handle,body.vs-presenting .vs-item-resize{display:none}
body.vs-recording .vs-clean-exit{display:none!important}
@keyframes vs-breathe{50%{transform:translateY(-3px)}}
@keyframes vs-blink{0%,45%,48%,100%{transform:scaleY(1)}46%,47%{transform:scaleY(.08)}}
@keyframes vs-wave{0%,100%{transform:rotate(-125deg)}50%{transform:rotate(-153deg)}}
@keyframes vs-hop{50%{transform:translateY(-13px)}}
@keyframes vs-mouth{from{transform:scaleY(.3)}to{transform:scaleY(1)}}
@media(min-width:1600px){.vs-workspace{grid-template-columns:250px minmax(500px,1fr) 250px}.vs-materials{max-height:650px}.video-studio{max-width:1900px;margin:auto}}
@media(max-width:1190px){.vs-workspace{grid-template-columns:190px minmax(400px,1fr)}.vs-controls-panel{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr 1fr;gap:22px}.vs-controls-panel .vs-properties{border-top:0;border-left:1px solid var(--vs-line);margin-top:0;padding:0 0 0 20px}.vs-controls-panel .vs-properties h3{margin-top:0}.vs-materials{max-height:430px}}
@media(max-width:740px){:root[data-route-kind="video-making"] .shell{padding:0 10px}.vs-top{align-items:flex-start;flex-direction:column}.vs-top h1{font-size:21px}.vs-workspace{display:flex;flex-direction:column;gap:12px}.vs-center{order:0;width:100%}.vs-library-panel{order:1;width:100%;box-sizing:border-box}.vs-controls-panel{order:2;width:100%;box-sizing:border-box;grid-template-columns:1fr 1fr;gap:14px}.vs-controls-panel .vs-properties{grid-column:1/-1;border-left:0;border-top:1px solid var(--vs-line);padding:10px 0 0}.vs-materials{grid-template-columns:repeat(4,1fr);max-height:240px}.video-studio .vs-material{min-height:68px}.vs-library-foot{display:flex;gap:7px}.vs-library-foot button{margin-bottom:0}.vs-help{font-size:10px}.vs-shortcuts{display:none}.vs-top-actions{gap:5px}}
@media(prefers-reduced-motion:reduce){.vs-panda-body,.vs-panda-eyes{animation:none}.vs-panda.speaking .vs-mouth-open{animation:none}.vs-arm-right{transition:none}}

/* Video studio themes are independent of the public site's theme. */
.vs-theme-picker{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:10px;margin:0 0 19px}
.video-studio .vs-theme-card{display:flex;align-items:center;gap:10px;text-align:left;padding:8px;min-width:0;border-radius:12px}
.vs-theme-card>span:last-child{min-width:0}
.vs-theme-card b{font-size:12px;font-weight:750;display:block;line-height:1.5}
.vs-theme-card small{display:block;font-size:10px;color:var(--vs-soft);line-height:1.4;margin-top:2px}
.vs-theme-thumbnail{position:relative;display:block;width:70px;height:45px;flex:0 0 70px;border-radius:7px;background:#eee9df;overflow:hidden;border:1px solid var(--vs-line)}
.vs-theme-thumbnail:after{content:"";position:absolute;left:8%;top:15%;width:84%;height:56%;border:2px solid #b39a78;border-radius:3px;background:#fffcf4;box-sizing:border-box}
.vs-theme-thumbnail[data-thumbnail="highschool"]{background:url('/images/studio/highschool.svg?v=66') center/cover}
.vs-theme-thumbnail[data-thumbnail="highschool"]:after{background:#244638;border-color:#708076;border-radius:0}
.vs-theme-thumbnail[data-thumbnail="cyberpunk"]{background:url('/images/studio/cyberpunk.svg') center/cover}
.vs-theme-thumbnail[data-thumbnail="cyberpunk"]:after{background:#12283d;border-color:#67e8f9;box-shadow:0 0 7px #67e8f96b}
.vs-theme-thumbnail[data-thumbnail="palace"]{background:url('/images/studio/palace.svg?v=66') center/cover}
.vs-theme-thumbnail[data-thumbnail="palace"]:after{background:#fff4d9;border-color:#a8703b}
.vs-theme-thumbnail[data-thumbnail="forest"]{background:url('/images/studio/forest.svg') center/cover}
.vs-theme-thumbnail[data-thumbnail="forest"]:after{background:#214331;border-color:#a39a69}
.video-studio[data-studio-theme="highschool"]{--vs-ink:#293e32;--vs-soft:#4e6657;--vs-line:#c8d7ca;--vs-accent:#2b694f;--vs-editor:#e8ede5;--vs-panel:#f6f8f1;--vs-control:#fffef8;--vs-selected:#dcebdd;--vs-hover:#e8f0e5;--vs-on-accent:#fffef4;--vs-help:#e0e8dc}
.video-studio[data-studio-theme="cyberpunk"]{--vs-ink:#e4f0f6;--vs-soft:#a3b8cd;--vs-line:#37526a;--vs-accent:#67e8f9;--vs-editor:#0c1528;--vs-panel:#142339;--vs-control:#172b43;--vs-selected:#203f56;--vs-hover:#203950;--vs-on-accent:#08202c;--vs-help:#132b3e;--vs-danger:#ffb0b9;color-scheme:dark}
.video-studio[data-studio-theme="palace"]{--vs-ink:#51342b;--vs-soft:#705740;--vs-line:#d7bc90;--vs-accent:#923f35;--vs-editor:#f0e4cd;--vs-panel:#fff7e6;--vs-control:#fffaf0;--vs-selected:#f4e4cd;--vs-hover:#f5ead5;--vs-on-accent:#fff9e9;--vs-help:#f6ead2}
.video-studio[data-studio-theme="forest"]{--vs-ink:#e2edd7;--vs-soft:#c5d4bc;--vs-line:#4f6950;--vs-accent:#bed5a2;--vs-editor:#1c3025;--vs-panel:#2a4231;--vs-control:#334d39;--vs-selected:#405c3e;--vs-hover:#3b573c;--vs-on-accent:#17331f;--vs-help:#2d4832;--vs-danger:#ffc1b4;color-scheme:dark}
.video-studio[data-studio-theme]{background:var(--vs-editor,#f3f6ef)}
.video-studio[data-studio-theme] .vs-panel{background:var(--vs-panel,#fcfdfb)}
.video-studio[data-studio-theme] button,.video-studio[data-studio-theme] .vs-file-label{background:var(--vs-control,#fff);color:var(--vs-ink)}
.video-studio[data-studio-theme] button:hover,.video-studio[data-studio-theme] .vs-file-label:hover{background:var(--vs-hover,#eef5f1);color:var(--vs-ink);border-color:var(--vs-accent)}
.video-studio[data-studio-theme] button[aria-pressed="true"]{background:var(--vs-selected,#e5f3eb);color:var(--vs-ink);border-color:var(--vs-accent)}
.video-studio[data-studio-theme] button.vs-primary{background:var(--vs-accent);color:var(--vs-on-accent,#fff);border-color:var(--vs-accent)}
.video-studio[data-studio-theme] button.vs-primary:hover{filter:brightness(.94);color:var(--vs-on-accent,#fff)}
.video-studio[data-studio-theme] button.vs-danger,.video-studio[data-studio-theme] .vs-item-handle button{color:var(--vs-danger,#b04033)}
:root[data-route-kind="video-making"] .video-studio[data-studio-theme] :is(input,select,textarea):not([type="range"]):not([type="color"]){background:var(--vs-control,#fff);color:var(--vs-ink);border-color:var(--vs-line)}
:root[data-route-kind="video-making"] .video-studio[data-studio-theme] :is(input,textarea)::placeholder{color:var(--vs-soft);opacity:1}
.video-studio[data-studio-theme] :is(.vs-label,.vs-inline,.vs-readout,.vs-kicker,.vs-panel h3){color:var(--vs-soft)}
.video-studio[data-studio-theme] :is(.vs-material span,.vs-canvas-toolbar .vs-live-dot){color:var(--vs-accent)}
.video-studio[data-studio-theme] .vs-canvas-toolbar .vs-live-dot{background:var(--vs-accent)}
.video-studio[data-studio-theme] .vs-help{background:var(--vs-help,#f8faf4);border-color:var(--vs-line);color:var(--vs-soft)}
.video-studio[data-studio-theme] .vs-status{color:var(--vs-soft)}
.video-studio[data-studio-theme] .vs-dialog{background:var(--vs-panel,#fff);color:var(--vs-ink)}
.video-studio[data-studio-theme="cyberpunk"] .vs-stage-shell{border-color:#458aa2;box-shadow:0 0 0 1px #67e8f917,0 18px 45px #0005}
.video-studio[data-studio-theme="palace"] .vs-stage-shell{border-color:#bb965d;box-shadow:0 15px 35px #70412626}
.video-studio[data-studio-theme="forest"] .vs-stage-shell{border-color:#71845c;box-shadow:0 15px 35px #091b1645}
.vs-environment{position:absolute;inset:0;width:1280px;height:720px;object-fit:cover;pointer-events:none;user-select:none}
.vs-stage-slogan{position:absolute;top:22px;right:94px;width:350px;text-align:right;color:#a84235;font-family:'Songti SC',Georgia,serif;font-size:22px;font-weight:700;letter-spacing:4px;line-height:1.4;white-space:nowrap;pointer-events:none}
.vs-stage-slogan[lang="en"]{font-family:Georgia,serif;font-size:16px;letter-spacing:.3px}
.vs-stage[data-background="palace"] .vs-stage-slogan{color:#8c3b30}
.vs-stage:is([data-background="highschool"],[data-background="palace"]) .vs-stage-title{max-width:750px}
.vs-stage[data-background="highschool"]{background:#dbe3d8;color:#294e38;--vs-card:#244638;--vs-stage-accent:#d9ede1;--vs-stage-ink:#edf2e7}
.vs-stage[data-background="highschool"] .vs-board{border:10px solid #6b7970;border-radius:3px;box-shadow:0 6px 0 #7f8975,0 13px 20px #22362930;background:radial-gradient(ellipse at 50% 40%,#345441,#213e32)}
.vs-stage[data-background="highschool"] .vs-stage-title{color:#384b3f;max-width:750px}
.vs-stage[data-background="highschool"] .vs-panda-caption{color:#edf2e7;background:#244638e8;border-radius:6px;padding:5px 9px;text-shadow:none}
.vs-stage[data-background="cyberpunk"]{background:#101a36;color:#c4e9f1;--vs-card:#12283d;--vs-stage-accent:#67e8f9;--vs-stage-ink:#e6f4f7}
.vs-stage[data-background="cyberpunk"] .vs-board{border:5px solid #64cbdc;border-radius:9px;box-shadow:0 0 0 6px #67e8f911,0 0 23px #67e8f922,inset 0 0 35px #163c5360;background:linear-gradient(150deg,#163249,#102638)}
.vs-stage[data-background="cyberpunk"] .vs-stage-title{font-family:ui-monospace,monospace;letter-spacing:2px;max-width:840px}
.vs-stage[data-background="palace"]{background:#ead8b7;color:#85542f;--vs-card:#fff4dc;--vs-stage-accent:#9b392f;--vs-stage-ink:#58392a}
.vs-stage[data-background="palace"] .vs-board{border:11px double #a9763e;border-radius:8px;box-shadow:0 0 0 3px #843d30,0 11px 15px #79543820;background:linear-gradient(120deg,#fff5dd,#fceecd)}
.vs-stage[data-background="palace"] .vs-stage-title{font-family:Georgia,'Songti SC',serif;color:#77382e;max-width:750px;letter-spacing:2px}
.vs-stage[data-background="forest"]{background:#33553d;color:#d8e7ba;--vs-card:#214331;--vs-stage-accent:#c5edb6;--vs-stage-ink:#e6efce}
.vs-stage[data-background="forest"] .vs-board{border:12px solid #82774f;border-radius:16px;box-shadow:0 5px 0 #564d35,0 17px 28px #0d281d50;background:radial-gradient(ellipse at 50% 20%,#2d5136,#1d3b2c)}
.vs-stage[data-background="forest"] .vs-panda-caption{background:#173e2ed9;border-radius:9px;padding:5px 9px;text-shadow:none}
.vs-stage .vs-geometry .JXGtext{color:var(--vs-stage-ink)!important}
.vs-stage .vs-geometry svg text{fill:var(--vs-stage-ink)}
.vs-stage[data-background="highschool"]:before,.vs-stage[data-background="palace"]:before{opacity:0}
.vs-stage:is([data-background="highschool"],[data-background="cyberpunk"],[data-background="palace"],[data-background="forest"]):is([data-layout="board"],[data-layout="teacher-board"]) .vs-board{border-width:5px}
.vs-stage[data-background="highschool"][data-layout="background"] .vs-text{color:#294e38}
.vs-stage[data-background="highschool"][data-layout="background"] .vs-panda-caption:empty,.vs-stage[data-background="forest"] .vs-panda-caption:empty{padding:0;background:none}
@media(max-width:1180px){.vs-theme-thumbnail{width:48px;height:37px;flex-basis:48px}.vs-theme-card small{font-size:9px}}
@media(max-width:860px){.vs-theme-picker{grid-template-columns:repeat(3,minmax(0,1fr))}.vs-theme-thumbnail{width:60px;flex-basis:60px}}
@media(max-width:520px){.vs-theme-picker{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.video-studio{padding:12px 10px 22px}.vs-theme-thumbnail{width:46px;flex-basis:46px}.vs-theme-card b{font-size:11px}}

/* Seasonal and nature studios: decoration stays outside the teaching board. */
.video-studio[data-studio-theme="halloween"]{--vs-ink:#fff2e3;--vs-soft:#e2c6b6;--vs-line:#735268;--vs-accent:#ffbd77;--vs-editor:#241c30;--vs-panel:#30243b;--vs-control:#3c2d47;--vs-selected:#50384f;--vs-hover:#47334d;--vs-on-accent:#39200a;--vs-help:#382a42;--vs-danger:#ffc0bb;color-scheme:dark}
.vs-theme-thumbnail[data-thumbnail="halloween"]{background:url("/images/studio/halloween.svg") center/cover}
.vs-theme-thumbnail[data-thumbnail="halloween"]:after{background:#251e30;border-color:#ad7246}
.vs-stage[data-background="halloween"]{background:#241c30;color:#fff2e3;--vs-card:#251e30;--vs-stage-accent:#ffbd77;--vs-stage-ink:#fff2e3}
.vs-stage[data-background="halloween"] .vs-board{background:#251e30;border:8px solid #ad7246;border-radius:14px;box-shadow:0 10px 0 #00000012,0 20px 35px #00000020}
.video-studio[data-studio-theme="halloween"] .vs-stage-shell{border-color:#ad7246}
.video-studio[data-studio-theme="christmas"]{--vs-ink:#effaf0;--vs-soft:#c2d9cb;--vs-line:#4b7062;--vs-accent:#a9dfbb;--vs-editor:#152d28;--vs-panel:#203b32;--vs-control:#29483d;--vs-selected:#355b47;--vs-hover:#30533f;--vs-on-accent:#153322;--vs-help:#294b3c;--vs-danger:#ffc5bb;color-scheme:dark}
.vs-theme-thumbnail[data-thumbnail="christmas"]{background:url("/images/studio/christmas.svg") center/cover}
.vs-theme-thumbnail[data-thumbnail="christmas"]:after{background:#183a2e;border-color:#bfa262}
.vs-stage[data-background="christmas"]{background:#152d28;color:#f0faeb;--vs-card:#183a2e;--vs-stage-accent:#a9dfbb;--vs-stage-ink:#f0faeb}
.vs-stage[data-background="christmas"] .vs-board{background:#183a2e;border:8px solid #bfa262;border-radius:14px;box-shadow:0 10px 0 #00000012,0 20px 35px #00000020}
.video-studio[data-studio-theme="christmas"] .vs-stage-shell{border-color:#bfa262}
.video-studio[data-studio-theme="beach"]{--vs-ink:#174551;--vs-soft:#476a6f;--vs-line:#b4cfd0;--vs-accent:#176977;--vs-editor:#e3f0ed;--vs-panel:#f4faf6;--vs-control:#fbfdf9;--vs-selected:#d9eeea;--vs-hover:#e3f1ec;--vs-on-accent:#ffffff;--vs-help:#e8f2e9;--vs-danger:#9c3428;color-scheme:light}
.vs-theme-thumbnail[data-thumbnail="beach"]{background:url("/images/studio/beach.svg") center/cover}
.vs-theme-thumbnail[data-thumbnail="beach"]:after{background:#fffaf0;border-color:#c3a26c}
.vs-stage[data-background="beach"]{background:#e3f0ed;color:#174551;--vs-card:#fffaf0;--vs-stage-accent:#166b79;--vs-stage-ink:#174551}
.vs-stage[data-background="beach"] .vs-board{background:#fffaf0;border:8px solid #c3a26c;border-radius:14px;box-shadow:0 10px 0 #00000012,0 20px 35px #00000020}
.video-studio[data-studio-theme="beach"] .vs-stage-shell{border-color:#c3a26c}
.video-studio[data-studio-theme="summernight"]{--vs-ink:#edf8e4;--vs-soft:#c2d9cf;--vs-line:#4a716d;--vs-accent:#c9e698;--vs-editor:#132f34;--vs-panel:#1d3d42;--vs-control:#274b50;--vs-selected:#355c57;--vs-hover:#30544f;--vs-on-accent:#25351c;--vs-help:#294b4b;--vs-danger:#ffc6b8;color-scheme:dark}
.vs-theme-thumbnail[data-thumbnail="summernight"]{background:url("/images/studio/summernight.svg") center/cover}
.vs-theme-thumbnail[data-thumbnail="summernight"]:after{background:#173b3c;border-color:#779b7c}
.vs-stage[data-background="summernight"]{background:#132f34;color:#edf8e4;--vs-card:#173b3c;--vs-stage-accent:#c9e698;--vs-stage-ink:#edf8e4}
.vs-stage[data-background="summernight"] .vs-board{background:#173b3c;border:8px solid #779b7c;border-radius:14px;box-shadow:0 10px 0 #00000012,0 20px 35px #00000020}
.video-studio[data-studio-theme="summernight"] .vs-stage-shell{border-color:#779b7c}
.video-studio[data-studio-theme="starry"]{--vs-ink:#f0f1ff;--vs-soft:#c4c8e8;--vs-line:#535d88;--vs-accent:#c3c5ff;--vs-editor:#181c34;--vs-panel:#242943;--vs-control:#2e3453;--vs-selected:#40486d;--vs-hover:#39415f;--vs-on-accent:#252449;--vs-help:#30374f;--vs-danger:#ffc4d6;color-scheme:dark}
.vs-theme-thumbnail[data-thumbnail="starry"]{background:url("/images/studio/starry.svg") center/cover}
.vs-theme-thumbnail[data-thumbnail="starry"]:after{background:#222940;border-color:#8d92c2}
.vs-stage[data-background="starry"]{background:#181c34;color:#f0f1ff;--vs-card:#222940;--vs-stage-accent:#c3c5ff;--vs-stage-ink:#f0f1ff}
.vs-stage[data-background="starry"] .vs-board{background:#222940;border:8px solid #8d92c2;border-radius:14px;box-shadow:0 10px 0 #00000012,0 20px 35px #00000020}
.video-studio[data-studio-theme="starry"] .vs-stage-shell{border-color:#8d92c2}
.video-studio[data-studio-theme="aurora"]{--vs-ink:#ecfff7;--vs-soft:#bdded7;--vs-line:#49776e;--vs-accent:#96f0d0;--vs-editor:#142d35;--vs-panel:#1e3b42;--vs-control:#284a50;--vs-selected:#345d61;--vs-hover:#305358;--vs-on-accent:#123b30;--vs-help:#294b51;--vs-danger:#ffc7bd;color-scheme:dark}
.vs-theme-thumbnail[data-thumbnail="aurora"]{background:url("/images/studio/aurora.svg") center/cover}
.vs-theme-thumbnail[data-thumbnail="aurora"]:after{background:#173940;border-color:#78b5aa}
.vs-stage[data-background="aurora"]{background:#142d35;color:#ecfff7;--vs-card:#173940;--vs-stage-accent:#96f0d0;--vs-stage-ink:#ecfff7}
.vs-stage[data-background="aurora"] .vs-board{background:#173940;border:8px solid #78b5aa;border-radius:14px;box-shadow:0 10px 0 #00000012,0 20px 35px #00000020}
.video-studio[data-studio-theme="aurora"] .vs-stage-shell{border-color:#78b5aa}
.vs-stage:is([data-background="halloween"],[data-background="christmas"],[data-background="beach"],[data-background="summernight"],[data-background="starry"],[data-background="aurora"]):is([data-layout="board"],[data-layout="teacher-board"]) .vs-board{border-width:5px}
.vs-stage:is([data-background="halloween"],[data-background="christmas"],[data-background="beach"],[data-background="summernight"],[data-background="starry"],[data-background="aurora"]) .vs-panda-caption{background:var(--vs-card);border-radius:9px;padding:5px 9px;text-shadow:none}
.vs-stage:is([data-background="halloween"],[data-background="christmas"],[data-background="beach"],[data-background="summernight"],[data-background="starry"],[data-background="aurora"]):before{opacity:0}

.vs-stage[data-background="aurora"] .vs-watermark{color:#214b4e;opacity:.7}

/* Recording tools stay outside the 16:9 teaching stage. */
.vs-recording-tools{display:none}
body.vs-presenting .vs-recording-tools{position:fixed;inset:auto 0 0;z-index:121;display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;padding:8px 10px calc(8px + env(safe-area-inset-bottom));min-height:60px;box-sizing:border-box;background:var(--vs-panel,#f6f8f1);border-top:1px solid var(--vs-line);color:var(--vs-ink)}
body.vs-presenting .vs-recording-tools{padding-left:max(10px,env(safe-area-inset-left));padding-right:max(10px,env(safe-area-inset-right))}
body.vs-presenting .vs-recording-tools button{min-height:44px;min-width:44px;font-size:13px;touch-action:manipulation}
body.vs-presenting .vs-stage-shell{bottom:var(--vs-tools-height,64px);width:min(calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right)),calc((100vh - var(--vs-tools-height,64px))*16/9));width:min(calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right)),calc((100dvh - var(--vs-tools-height,64px))*16/9));height:auto;aspect-ratio:16/9}
.vs-stage[data-tool="laser"]{touch-action:none}
.vs-stage[data-tool="eraser"] .vs-ink-layer{pointer-events:auto;cursor:cell}
.video-studio .vs-recording-tools button[aria-pressed="true"]{background:var(--vs-accent);color:var(--vs-on-accent,#fff);outline:2px solid var(--vs-accent);outline-offset:1px}
@media(max-width:540px){body.vs-presenting .vs-recording-tools{gap:4px;min-height:108px}body.vs-presenting .vs-recording-tools button{padding:7px 9px}}
@media(pointer:coarse){.video-studio :is(input,select,textarea){font-size:16px}.vs-item-handle,.vs-item-resize{opacity:1}}
#r2Publisher{width:min(620px,calc(100vw - 24px));max-height:calc(100vh - 32px);overflow:auto;box-sizing:border-box}
#r2Publisher form{display:grid;gap:14px}
#r2Publisher h2,#r2Publisher p{margin:0;overflow-wrap:anywhere}
#r2Publisher label{display:grid;gap:6px;font-weight:600}
#r2Publisher input,#r2Publisher select{box-sizing:border-box;width:100%;min-width:0;padding:11px 12px;border:1px solid #d3dfdc;border-radius:10px;background:#fff;color:#203e38;font:inherit}
#r2Publisher .vs-top-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
#r2Publisher button{padding:10px 14px;border:1px solid #bdcec7;border-radius:9px;background:#f4f8f5;color:#203e38;font:inherit;cursor:pointer}
#r2Publisher button[type=submit]{background:#275f4b;color:#fff}
#r2Publisher button:disabled{opacity:.5;cursor:default}
#r2Publisher [data-help],#r2Publisher [data-file]{font-size:13px;line-height:1.6}
#r2Publisher progress{accent-color:#275f4b}
.vs-audio-panel{display:grid;grid-template-columns:minmax(180px,1fr) minmax(280px,1.3fr);gap:18px;align-items:center;margin:16px 0;padding:16px 18px;border:1px solid var(--vs-line);border-radius:12px;background:var(--vs-panel);color:var(--vs-ink)}
.vs-audio-panel h2{margin:0 0 6px;font-size:18px;color:var(--vs-ink)}
.vs-audio-panel p,.vs-audio-panel small{margin:0;color:var(--vs-soft);font-size:12px;line-height:1.65}
.vs-audio-controls{display:grid;gap:9px;min-width:0}.vs-audio-buttons{display:flex;gap:8px;flex-wrap:wrap}
.vs-audio-panel .vs-inline{margin:0;display:flex;align-items:center;gap:8px;font-size:13px}
#videoStudio #vsRecordMic{width:18px;height:18px;min-width:18px;min-height:18px;max-width:18px;flex:0 0 18px;margin:0;padding:0;appearance:auto}
.vs-mic-level{display:flex;align-items:center;gap:10px;min-width:0;font-size:12px;line-height:1.5}.vs-mic-level meter{width:105px;flex:0 0 105px;accent-color:var(--vs-accent)}.vs-mic-level span{overflow-wrap:anywhere}
.video-studio .vs-audio-panel button[aria-pressed="true"]{background:var(--vs-accent);color:var(--vs-on-accent,#fff)}
#vsMicRecordingStatus{font-size:12px;max-width:240px;overflow-wrap:anywhere}
@media(max-width:680px){.vs-audio-panel{grid-template-columns:1fr;padding:14px;gap:12px}.vs-audio-buttons button{min-height:44px}.vs-audio-panel .vs-inline{min-height:40px}}

/* Exercise conditions stay fixed; each step reveals only its current evidence. */
.vs-practice{gap:3px;padding:10px 15px;line-height:1.4}
.vs-practice-heading{display:flex;align-items:baseline;gap:12px;flex-shrink:0;font-size:19px;overflow-wrap:anywhere}
.vs-practice-heading>span{font-variant-numeric:tabular-nums;font-size:14px;opacity:.75;white-space:nowrap}
.vs-practice .vs-widget-plot{min-height:65px}
.vs-practice .vs-widget-plot>svg{width:100%;height:100%;max-height:100%;object-fit:contain}
.vs-practice-explanation{font-size:16px;line-height:1.45;overflow-wrap:anywhere;flex-shrink:0}
.vs-practice-explanation:has(.cm-formula){line-height:2.1;min-height:38px;padding:3px 0;box-sizing:border-box}
.vs-practice .vs-widget-readout{font-size:15px;line-height:1.45;min-height:0;margin:1px 0 3px;flex-shrink:0;overflow-wrap:anywhere}
.vs-practice-controls{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;flex-shrink:0}
.video-studio .vs-practice-controls button{padding:5px 11px;min-height:30px;min-width:44px;font-size:12px;line-height:1.35;touch-action:manipulation}
.video-studio .vs-practice-controls button[aria-pressed="true"]{background:var(--vs-stage-accent,var(--vs-accent));color:var(--vs-card,#fff)}
.vs-practice-notes{margin:0 0 12px;padding:12px;border:1px solid var(--vs-line);border-radius:10px;background:var(--vs-panel);color:var(--vs-ink);font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.vs-practice-notes p{margin:6px 0}.vs-practice-notes small{display:block;color:var(--vs-soft);font-size:11px}
.vs-practice-script-editor textarea{width:100%;min-height:100px;box-sizing:border-box}
.vs-practice-binding{margin-top:18px;padding-top:14px;border-top:1px solid var(--vs-line)}
.vs-practice-binding textarea{width:100%;min-height:120px;box-sizing:border-box}
.vs-practice-binding p{font-size:12px;line-height:1.6;overflow-wrap:anywhere}
#vsPracticeBindingStatus{color:var(--vs-danger,#ad483a)}
.vs-properties textarea[readonly]{background:var(--vs-panel);opacity:.8}
.vs-practice-empty{justify-content:center;text-align:center;padding:25px;font-size:20px}
.vs-guided{padding:24px 30px;gap:18px}
.vs-guided .vs-practice-heading{font-size:24px;line-height:1.5}
.vs-guided .vs-widget-plot{display:flex;align-items:center;flex:1;min-height:0;width:100%;overflow:visible}
.vs-guided-step{width:100%;font-size:30px;line-height:1.9;white-space:pre-wrap;overflow-wrap:break-word;color:var(--vs-stage-ink,#183b3a)}
.vs-guided-step .cm-formula{max-width:100%;vertical-align:middle}
.vs-guided-step .katex{font-size:1.06em}
.vs-guided-step .katex-display{margin:.4em 0}
.vs-guided .vs-practice-controls{gap:12px;margin-top:auto}
.video-studio .vs-guided .vs-practice-controls button{font-size:17px;min-height:42px;padding:8px 18px}
#vsPracticeRecordingControls .vs-practice-controls{gap:4px}
.vs-recording-tools #vsPracticeRecordingControls button{min-height:44px;font-size:12px;padding:7px 9px}
@media(max-width:680px){.vs-properties .vs-practice-controls button{min-height:44px;font-size:13px}.vs-practice-script-editor textarea{font-size:16px}}
/* Readable math in both inline lesson text and slide presentations. */
.cm-formula{display:inline-block;max-width:100%;vertical-align:middle;overflow-x:auto;overflow-y:hidden;padding:.18em .08em;}
.cm-display{display:block;padding:.5em 0;text-align:center;}
.cm-chapters{border:1px solid currentColor;border-radius:12px;padding:12px;margin:10px 0;}
.cm-chapters ol{display:flex;flex-wrap:wrap;gap:8px;padding:0;list-style:none;}
.cm-chapters button{font:inherit;color:inherit;background:transparent;border:1px solid currentColor;border-radius:8px;padding:8px;cursor:pointer;}
.cm-chapters button[aria-current=true]{font-weight:700;outline:2px solid currentColor;}
.cm-chapters [hidden]{display:none!important;}
.vs-scene-button[draggable=true]{cursor:grab;}
#vsInsertTemplate{max-width:160px;}
