body[data-surface=pc].video-study-active{overflow:hidden}
.vs-workspace{position:fixed;inset:0;z-index:201;display:grid;grid-template-rows:72px minmax(0,1fr);background:#f2f6fb;color:#294460;font-family:inherit}
.vs-workspace *{box-sizing:border-box}
.vs-top{display:flex;align-items:center;gap:16px;padding:12px 24px;background:#fff;border-bottom:1px solid #dfe7f0;min-width:0}
.vs-top strong{font-size:16px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.vs-top button,.vs-side button{font:inherit;cursor:pointer;min-height:44px;border:1px solid #dce5ef;border-radius:9px;background:#fff;color:#45617f;padding:9px 15px;white-space:nowrap}
.vs-top button:hover,.vs-side button:hover{background:#edf4ff;color:#245fae}
.vs-workspace button:focus-visible,.vs-workspace textarea:focus-visible{outline:2px solid #397fcb;outline-offset:2px}
.vs-layouts{display:flex;gap:4px;padding:3px;border-radius:11px;background:#edf2f8;margin-left:auto;flex:none}
.vs-layouts button{border-color:transparent;background:transparent;min-width:66px;min-height:38px;padding:8px 14px;font-size:14px}
.vs-layouts button[aria-pressed=true]{color:#2c65b7;background:#fff;border-color:#d8e4f5}
.vs-main{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(380px,1fr);gap:20px;padding:20px;min-height:0;overflow:hidden}
.vs-video-column{min-width:0;min-height:0;display:flex;align-items:flex-start}
body[data-surface=pc] .vs-workspace #classroom-player{position:relative;inset:auto;width:100%;height:auto;aspect-ratio:16/9;max-height:100%;z-index:auto;border-radius:14px;grid-template-columns:1fr;grid-template-rows:1fr}
.vs-workspace .classroom-player-top{height:auto;min-height:0;border:0}
.vs-workspace .classroom-floating-note{display:none}
.vs-side{display:grid;grid-template-rows:minmax(200px,1fr) minmax(260px,.75fr);gap:16px;min-width:0;min-height:0}
.vs-handout,.vs-notes{display:flex;flex-direction:column;min-width:0;min-height:0;background:#fff;border:1px solid #dfe7f0;border-radius:14px;overflow:hidden}
.vs-section-title{display:flex;align-items:center;gap:12px;padding:12px 18px;flex:none;border-bottom:1px solid #e7edf5}
.vs-section-title h2{font-size:16px;margin:0;flex:none}.vs-section-title>span{font-size:12px;color:#71859b;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.vs-handout .doc-reader{flex:1;min-height:0;display:flex;flex-direction:column;border:0;border-radius:0}
.vs-handout .pdf-toolbar{min-height:44px;padding:6px 12px;flex:none;gap:8px;flex-wrap:wrap}
.vs-handout .pdf-toolbar button{min-height:32px;padding:3px 12px}.vs-handout .pdf-text{display:none}.vs-handout .pdf-canvas-wrap{flex:1;min-height:0;overflow:auto}
.vs-note-list{flex:1;min-height:44px;overflow:auto;padding:0 18px}.vs-note-empty{font-size:13px;line-height:1.7;color:#8392a5;margin:14px 0}
.vs-note-list article{padding:10px 0;border-bottom:1px solid #edf1f6}.vs-note-list article button{min-height:28px;padding:3px 8px;background:#edf4ff;color:#2c65b7;font-size:12px;border:0}.vs-note-list p{font-size:14px;line-height:1.7;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.vs-note-form{flex:none;padding:12px 18px;display:grid;grid-template-columns:1fr auto;gap:8px;border-top:1px solid #e7edf5;margin:0}
.vs-note-form>div{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;font-size:13px;color:#657e97}.vs-note-form>div button{min-height:28px;padding:3px 8px;font-size:12px;border:0;background:#f0f5fc}
.vs-note-form textarea{grid-column:1/-1;width:100%;height:78px;min-height:60px;max-height:160px;resize:vertical;border:1px solid #d6e1ee;border-radius:9px;padding:10px 12px;font:inherit;font-size:14px;line-height:1.6;color:#294460;background:#fbfdff}
.vs-note-form .vs-save{grid-column:2;background:#2c68c8;color:#fff;border:0;min-height:36px;padding:7px 16px;font-size:13px}
.vs-workspace[data-layout=compact] .vs-main{grid-template-columns:340px minmax(0,1fr)}
.vs-workspace[data-layout=compact] .vs-side{grid-template-columns:minmax(0,1fr) minmax(300px,.8fr);grid-template-rows:1fr}
.vs-workspace[data-layout=compact] .classroom-center-controls .classroom-skip{display:none}.vs-workspace[data-layout=compact] .classroom-player-top>span{font-size:13px}.vs-workspace[data-layout=compact] .classroom-player-bottom{padding:12px}.vs-workspace[data-layout=compact] .classroom-position{font-size:11px}
.vs-workspace[data-layout=full] .vs-main{display:block;padding:0}.vs-workspace[data-layout=full] .vs-video-column{height:100%}body[data-surface=pc] .vs-workspace[data-layout=full] #classroom-player{height:100%;max-height:none;border-radius:0;aspect-ratio:auto}
.vs-workspace[data-layout=full] .vs-side{display:none}.vs-workspace[data-layout=full].vs-show-side .vs-main{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:0}.vs-workspace[data-layout=full].vs-show-side .vs-side{display:grid;padding:12px;background:#f2f6fb}
.vs-workspace [hidden]{display:none!important}
@media(max-width:1150px){.vs-main{gap:12px;padding:12px;grid-template-columns:minmax(0,1fr) 380px}.vs-workspace[data-layout=compact] .vs-main{grid-template-columns:280px minmax(0,1fr)}.vs-workspace[data-layout=compact] .vs-side{grid-template-columns:1fr;grid-template-rows:minmax(180px,1fr) minmax(260px,.8fr)}.vs-top{gap:10px;padding:10px 14px}}

.vs-workspace[data-layout=compact] .classroom-center-controls{display:none}
.vs-workspace[data-layout=compact] .classroom-chapter-current{display:none}
.vs-workspace[data-layout=compact] .classroom-player-top{padding:8px 12px 14px}
.vs-workspace[data-layout=compact] .classroom-player-bottom{padding:18px 10px 8px}

.vs-note-form>.hijk-check{grid-column:1/-1;margin:0;font-size:12px;line-height:1.5}


/* Knowledge, video and lecture occupy one reading surface; only the mini-player floats. */
.vs-workspace.vs-reader{position:relative;inset:auto;z-index:auto;display:block;width:100%;height:auto;background:#030509;border:0;color:#fff}
body[data-surface=pc] .vs-reader #classroom-player{position:relative;inset:auto;aspect-ratio:16/9;width:100%;height:auto;max-height:none;border-radius:0;z-index:auto}
.vs-reader .classroom-player-top{padding:12px 18px 24px}.vs-reader .classroom-player-top [data-player-action=back]{display:none}
.vs-reader .vs-reader-tools{background:#fff;border-top:1px solid #e5ebf3;padding:8px 16px;color:#526d89}
.vs-reader-tools>div{display:flex;align-items:center;justify-content:flex-end;gap:8px}
.vs-reader-tools button{font:inherit;font-size:13px;min-height:34px;padding:6px 12px;border:1px solid #dce5ef;border-radius:8px;background:#fff;color:#45617f;cursor:pointer}
.vs-reader-tools button:hover{background:#edf4ff;border-color:#b9d0ef;color:#245fae}
.vs-workspace.vs-reader[data-layout=compact]{position:fixed;left:var(--vs-pip-left,24px);right:auto;top:var(--vs-pip-top,auto);bottom:auto;width:var(--vs-pip-width,480px);height:auto;z-index:65;border:1px solid #d7e2ee;border-radius:12px;overflow:hidden;box-shadow:0 8px 28px #29446024}
.vs-reader[data-layout=compact] .vs-reader-tools{padding:4px 6px}.vs-reader[data-layout=compact] .vs-reader-tools>div{justify-content:space-between}.vs-reader[data-layout=compact] .vs-reader-tools button{min-height:30px;border:0;padding:4px 8px;font-size:12px}
body[data-surface=pc] .vs-reader[data-layout=compact] #classroom-player{border-radius:0;aspect-ratio:16/9;height:auto}.vs-reader[data-layout=compact] .classroom-player-top{padding:6px 8px 16px}.vs-reader[data-layout=compact] .classroom-player-top>span{font-size:12px}.vs-reader[data-layout=compact] .classroom-rate{min-width:30px;min-height:30px;padding:3px;font-size:12px}
.vs-reader[data-layout=compact] .classroom-player-bottom{padding:12px 8px 6px}.vs-reader[data-layout=compact] .classroom-center-controls,.vs-reader[data-layout=compact] .classroom-position{display:none}.vs-reader[data-layout=compact] .classroom-control-row{height:30px}.vs-reader[data-layout=compact] .classroom-control-row button{min-width:30px;min-height:30px;padding:3px}.vs-reader[data-layout=compact] .classroom-control-row svg{width:20px;height:20px}
.vs-workspace.vs-reader[data-layout=full]{position:fixed;inset:0;z-index:220;width:100%;height:100dvh;display:grid;grid-template-rows:minmax(0,1fr) 50px}
.vs-reader[data-layout=full] .vs-reader-video{min-height:0}body[data-surface=pc] .vs-reader[data-layout=full] #classroom-player{height:100%;aspect-ratio:auto;border-radius:0}.vs-reader[data-layout=full] .vs-reader-tools{padding:8px 18px}
/* The lecture and video are independent, non-modal player windows. */
.vs-lecture-pane{position:relative;display:grid;grid-template-rows:40px minmax(0,1fr) 56px;width:100%;height:calc(100dvh - 270px);min-height:430px;max-height:850px;overflow:hidden;background:#030509;color:#f4f7fb;box-sizing:border-box;border-radius:0 0 18px 18px}
.vs-lecture-pane.vs-lecture-floating{position:fixed;left:var(--vs-lecture-left,auto);top:var(--vs-lecture-top,96px);width:var(--vs-lecture-width,640px);height:var(--vs-lecture-height,456px);z-index:var(--vs-floating-z,66);border:1px solid #d7e2ee;border-radius:12px;box-shadow:0 8px 28px #29446024}
.vs-lecture-pane.vs-lecture-floating{min-height:0;max-height:none}
.vs-lecture-pane [hidden]{display:none!important}
.vs-lecture-pane .doc-reader{width:100%;height:100%;min-height:0;max-height:none;display:flex;flex-direction:column;margin:0;border:0;border-radius:0;overflow:hidden}
.vs-lecture-pane .doc-reader .pdf-toolbar,.vs-lecture-pane .pdf-text{display:none!important}
.vs-lecture-pane .pdf-canvas-wrap{position:relative;flex:1 1 0%;min-width:0;min-height:0;max-height:none;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:12px;scrollbar-gutter:auto;overflow:hidden;background:#030509}
.vs-lecture-pane .hl-pdf-page{flex:none;margin:auto}
.vs-lecture-pane .pdf-status{position:absolute;inset:0;z-index:1;display:grid;place-items:center;background:#030509;color:#ced9e6}
.vs-lecture-pane .pdf-status[hidden],.vs-lecture-pane [data-pdf-retry][hidden]{display:none!important}
.vs-lecture-pane [data-pdf-retry]{position:absolute;z-index:2;left:50%;bottom:24px;transform:translateX(-50%)}
.vs-lecture-header{display:flex;align-items:center;min-width:0;padding:0 6px;background:#151c26;border-bottom:1px solid #ffffff18}
.vs-lecture-pane button{box-sizing:border-box;font:inherit;touch-action:manipulation;cursor:pointer;color:inherit}
.vs-lecture-header>button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:40px;min-height:40px;padding:6px 8px;border:0;border-radius:6px;background:transparent}
.vs-lecture-header>[data-vs-lecture-grip]{flex:1;justify-content:flex-start;min-width:0;font-size:13px;cursor:default;user-select:none}
.vs-lecture-floating [data-vs-lecture-grip]{cursor:grab;touch-action:none}
.vs-lecture-pane:not(.vs-lecture-floating) [data-vs-lecture-grip]>svg{display:none}
.vs-lecture-header [data-vs-lecture-grip]>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vs-lecture-header [data-vs-lecture-grip]>svg{width:16px;height:16px;stroke-width:3}
.vs-lecture-header svg,.vs-lecture-control svg,.vs-lecture-resize svg{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.vs-lecture-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding:6px 16px;background:linear-gradient(#101722,#030509);border-top:1px solid #ffffff18}
.vs-lecture-navigation{display:flex;align-items:center;gap:8px;min-width:0}
.vs-lecture-navigation output{min-width:56px;text-align:center;font-size:13px;font-variant-numeric:tabular-nums;color:#d4dfed}
.vs-lecture-pane .vs-lecture-control{display:grid;place-items:center;min-width:44px;min-height:44px;width:44px;height:44px;padding:10px;border:0;border-radius:8px;background:transparent}
.vs-lecture-pane .vs-lecture-window{margin-left:auto;min-height:44px;padding:8px 12px;border:0;border-radius:8px;background:transparent;font-size:13px;white-space:nowrap}
.vs-lecture-window:hover{background:#ffffff1a}
.vs-lecture-bottom>.vs-lecture-fullscreen{margin-right:8px}
.vs-lecture-control:disabled{opacity:.3;cursor:default}
.vs-lecture-header>button:hover,.vs-lecture-control:not(:disabled):hover{background:#ffffff1a}
.vs-lecture-control:not(:disabled):active{background:#ffffff2b}
.vs-lecture-pane button:focus-visible,.vs-lecture-pane:focus-visible{outline:2px solid #70baff;outline-offset:-3px}
.vs-lecture-pane>.vs-lecture-resize{position:absolute;right:1px;bottom:1px;display:none;place-items:center;width:22px;height:22px;min-width:0;min-height:0;padding:3px;border:0;background:transparent;color:#9aaabf;cursor:nwse-resize;touch-action:none}
.vs-lecture-floating>.vs-lecture-resize{display:grid}
.vs-lecture-resize svg{width:16px;height:16px}
body.vs-lecture-fullscreen-active{overflow:hidden}
.vs-lecture-pane:fullscreen,.vs-lecture-pane.vs-lecture-expanded{position:fixed;inset:0;z-index:240;width:100%;height:100dvh;min-height:0;max-height:none;border:0;border-radius:0;background:#030509}
.vs-lecture-pane:fullscreen>.vs-lecture-resize,.vs-lecture-expanded>.vs-lecture-resize{display:none}
.vs-lecture-pane:fullscreen [data-vs-lecture-grip],.vs-lecture-expanded [data-vs-lecture-grip]{cursor:default}
.vs-workspace.vs-reader[data-layout=compact]{z-index:var(--vs-floating-z,65)}
.dr-reader .u-reading-area>#u-reading[hidden],.dr-reader .u-reading-area>.path-study-footer[hidden],.vs-lecture-pane[hidden],.vs-reader[hidden]{display:none!important}
body.vs-mini-active #main>.route-enter,body.vs-mini-active #main>.lps-render-root{transform:none;animation:none}

.vs-pip-resize{display:none}
.vs-reader[data-layout=compact] .vs-reader-tools{padding-right:32px}
.vs-reader[data-layout=compact] [data-vs-grip]{cursor:grab;touch-action:none;user-select:none}
.vs-reader[data-layout=compact] .vs-reader-tools [data-vs-grip]{display:inline-flex;align-items:center;gap:4px;color:#75879a}
.vs-reader [data-vs-grip] svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round}
.vs-reader[data-layout=compact] .vs-pip-resize{display:grid;place-items:center;position:absolute;right:1px;bottom:1px;width:26px;height:26px;padding:4px;min-width:0;min-height:0;border:0;background:transparent;color:#8b9db1;cursor:nwse-resize;touch-action:none}
.vs-pip-resize svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
.vs-pip-adjusting,.vs-pip-adjusting *{user-select:none!important}
.vs-reader[data-layout=compact].vs-pip-adjusting [data-vs-grip]{cursor:grabbing}

/* Lecture mini-window chrome follows the video mini-player. */
.vs-lecture-footer-move,.vs-lecture-footer-close{display:none}
.vs-lecture-pane.vs-lecture-floating{grid-template-rows:minmax(0,1fr) 38px}
.vs-lecture-floating .vs-lecture-header{position:absolute;inset:0 0 auto;z-index:2;min-height:0;padding:6px 8px 16px;border:0;background:linear-gradient(#000b,transparent);pointer-events:none}
.vs-lecture-floating .vs-lecture-header>[data-vs-lecture-grip]{min-height:18px;padding:0;border-radius:0;font-size:12px;color:#fff;pointer-events:auto}
.vs-lecture-floating .vs-lecture-header [data-vs-lecture-grip]>svg{display:none}
.vs-lecture-floating .pdf-canvas-wrap{padding:0}
.vs-lecture-floating .vs-lecture-bottom{position:relative;justify-content:space-between;gap:8px;padding:4px 32px 4px 6px;background:#fff;border-top:1px solid #e5ebf3;color:#526d89}
.vs-lecture-floating .vs-lecture-bottom::before{content:"";position:absolute;inset:auto 0 100%;height:56px;background:linear-gradient(transparent,#000d);pointer-events:none}
.vs-lecture-floating .vs-lecture-bottom>.vs-lecture-window,.vs-lecture-floating .vs-lecture-footer-move,.vs-lecture-floating .vs-lecture-footer-close{display:inline-flex;align-items:center;justify-content:center;min-height:30px;margin:0;padding:4px 8px;border:0;border-radius:8px;background:#fff;color:#45617f;font-size:12px;line-height:normal;white-space:nowrap}
.vs-lecture-floating .vs-lecture-bottom>.vs-lecture-window{order:0}
.vs-lecture-floating .vs-lecture-footer-move{order:1;gap:4px;color:#75879a;cursor:grab;touch-action:none;user-select:none}
.vs-lecture-floating .vs-lecture-footer-close{order:2}
.vs-lecture-floating .vs-lecture-bottom>:is(.vs-lecture-window,.vs-lecture-footer-move,.vs-lecture-footer-close):hover{background:#edf4ff;color:#245fae}
.vs-lecture-footer-move svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round}
.vs-lecture-floating .vs-lecture-navigation{position:absolute;left:8px;bottom:calc(100% + 6px);z-index:1;color:#fff}
.vs-lecture-floating .vs-lecture-navigation output{min-width:40px;font-size:12px;color:#d4dfed}
.vs-lecture-floating .vs-lecture-bottom .vs-lecture-control{min-width:30px;min-height:30px;width:30px;height:30px;padding:3px;color:#fff}
.vs-lecture-floating .vs-lecture-control svg{width:20px;height:20px}
.vs-lecture-floating .vs-lecture-bottom>.vs-lecture-fullscreen{position:absolute;right:8px;bottom:calc(100% + 6px);z-index:1;margin:0}
.vs-lecture-floating>.vs-lecture-resize{width:26px;height:26px;padding:4px;color:#8b9db1}
.vs-lecture-floating>.vs-lecture-resize svg{width:18px;height:18px;stroke-width:1.7}
/* Fullscreen keeps document controls and hides mini-window-only actions. */
.vs-lecture-floating:is(:fullscreen,.vs-lecture-expanded){grid-template-rows:40px minmax(0,1fr) 56px}
.vs-lecture-floating:is(:fullscreen,.vs-lecture-expanded) .vs-lecture-header{position:static;padding:0 6px;background:#151c26;pointer-events:auto}
.vs-lecture-floating:is(:fullscreen,.vs-lecture-expanded) .vs-lecture-bottom{background:linear-gradient(#101722,#030509);border-top-color:#ffffff18;padding:6px 16px}
.vs-lecture-floating:is(:fullscreen,.vs-lecture-expanded) .vs-lecture-bottom::before,.vs-lecture-floating:is(:fullscreen,.vs-lecture-expanded) .vs-lecture-footer-move{display:none}
.vs-lecture-floating:is(:fullscreen,.vs-lecture-expanded) .vs-lecture-navigation,.vs-lecture-floating:is(:fullscreen,.vs-lecture-expanded) .vs-lecture-bottom>.vs-lecture-fullscreen{position:static}
.vs-lecture-floating:is(:fullscreen,.vs-lecture-expanded) .vs-lecture-bottom>.vs-lecture-fullscreen{margin-left:auto}
/* Keep the shared note drawer with the lecture in its floating and fullscreen modes. */
.vs-lecture-pane > #u-notes{display:none}
.vs-lecture-pane > #u-notes.u-panel-open{
 position:fixed!important;
 top:72px!important;
 right:20px!important;
 bottom:20px!important;
 left:auto!important;
 display:flex!important;
 flex-direction:column;
 box-sizing:border-box;
 width:min(420px,calc(100vw - 40px))!important;
 padding:0!important;
 overflow:hidden;
 color:var(--reader-ink);
 background:var(--reader-paper);
 border:1px solid var(--reader-line);
 border-radius:18px;
 box-shadow:var(--reader-shadow);
 z-index:85!important;
}
.vs-lecture-pane > #u-notes .u-panel-close{
 display:grid;
 place-items:center;
 width:44px;
 min-height:44px;
 border:0;
 border-radius:50%;
 color:var(--reader-ink);
 background:#f2f6f8;
}
