.clip-layer{z-index:15;pointer-events:none;position:absolute;inset:0;overflow:hidden}.clip-layer.is-creating{pointer-events:auto;touch-action:none;cursor:crosshair}.clip-frame{border:2px dashed var(--accent,#2385bd);pointer-events:none;box-sizing:border-box;border-radius:4px;position:absolute}.clip-frame.is-active{border:2px solid var(--accent,#2385bd)}.clip-frame.is-material{border:0}.clip-material-outline{box-sizing:border-box;border:2px solid var(--accent,#2385bd);transform-origin:50%;pointer-events:none;position:absolute}.clip-frame.is-material .clip-frame-status{top:calc(6px * var(--clip-number-scale,1));left:calc(6px * var(--clip-number-scale,1))}.clip-frame-status,.clip-frame-actions{pointer-events:auto;background:var(--surface,#fffefa);color:var(--text,#263442);border-radius:8px;align-items:center;display:flex;position:absolute;top:4px;box-shadow:0 2px 8px #0001}.clip-frame-status{top:calc(4px * var(--clip-number-scale,1));left:calc(4px * var(--clip-number-scale,1));box-shadow:none;background:0 0}.clip-frame-actions{right:4px}.clip-frame button{color:inherit;cursor:pointer;touch-action:none;background:0 0;border:0;border-radius:5px;place-items:center;width:48px;height:48px;display:grid}.clip-frame button:hover{background:var(--toolbar-strong,#edf1f4)}.clip-frame :is(.clip-number,.clip-resize):focus-visible{outline:2px solid var(--accent,#2385bd);outline-offset:-2px}.clip-frame button svg{width:17px;height:17px}.clip-frame .clip-number{font-variant-numeric:tabular-nums;font-size:24px;font-weight:700;line-height:1;position:relative}.clip-number-badge{background:var(--surface,#fffefa);transform:scale(var(--clip-number-scale,1));transform-origin:0 0;pointer-events:none;border-radius:8px;place-items:center;display:grid;position:absolute;inset:0;box-shadow:0 2px 8px #0001}.clip-frame .clip-number:hover{background:0 0}.clip-frame .clip-number:hover .clip-number-badge{background:var(--toolbar-strong,#edf1f4)}.clip-frame .clip-number[aria-disabled=true]{opacity:.85;cursor:not-allowed}.clip-frame.is-active .clip-number{color:#fff}.clip-frame.is-active .clip-number-badge{background:var(--accent,#2385bd)}.clip-frame .clip-resize{pointer-events:auto;cursor:nwse-resize;border-radius:0;position:absolute;bottom:-12px;right:-12px}.clip-frame .clip-resize:hover{background:0 0}.clip-resize:before,.clip-resize:after{content:"";box-sizing:border-box;border-right:4px solid var(--accent,#2385bd);border-bottom:4px solid var(--accent,#2385bd);filter:drop-shadow(0 0 2px var(--surface,#fff));transition:transform .16s;position:absolute}.clip-resize:before{width:18px;height:18px;bottom:5px;right:5px}.clip-resize:after{width:11px;height:11px;bottom:16px;right:16px}.clip-resize:hover:before,.clip-resize:hover:after,.clip-resize:focus-visible:before,.clip-resize:focus-visible:after{transform:translate(3px,3px)}.clip-move{cursor:move!important}.clip-pending{background:currentColor;border-radius:50%;width:5px;height:5px;position:absolute;bottom:4px}.clip-frame.is-selected{border-color:var(--accent,#2385bd)}.clip-frame.is-selected .clip-number{color:var(--accent,#2385bd)}.clip-undo{pointer-events:auto;background:var(--surface,#fffefa);border-radius:10px;gap:8px;padding:4px;display:flex;position:absolute;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 2px 12px #0002}.clip-undo button{color:var(--text);cursor:pointer;background:0 0;border:0;min-height:40px;padding:8px 12px}.clip-undo svg{width:16px;height:16px}.canvas-engine .clip-layer.is-creating{cursor:crosshair!important}.canvas-engine .clip-layer button{cursor:pointer!important}.canvas-engine .clip-layer .clip-move{cursor:move!important}.canvas-engine .clip-layer .clip-resize{cursor:nwse-resize!important}@media (pointer:coarse){.clip-undo button{min-height:48px}}@media (prefers-reduced-motion:reduce){.clip-resize:before,.clip-resize:after{transition:none}}.clip-context-menu{z-index:2;background:var(--surface,#fffefa);width:192px;color:var(--text,#263442);pointer-events:auto;border-radius:10px;padding:4px;position:absolute;box-shadow:0 8px 24px #0003}.clip-context-menu button{width:100%;min-height:44px;color:inherit;text-align:left;cursor:pointer;font:inherit;background:0 0;border:0;border-radius:6px;padding:0 12px;display:block}.clip-context-menu button:hover,.clip-context-menu button:focus-visible{background:var(--toolbar-strong,#edf1f4)}.clip-context-menu input:focus-visible{outline:2px solid var(--accent,#2385bd);outline-offset:1px}.clip-context-menu label{padding:8px 8px 4px;font-size:13px;display:block}.clip-context-row{gap:4px;display:flex}.clip-context-row input{border:1px solid var(--text-muted,#738296);background:var(--surface,#fffefa);width:54px;min-width:0;color:inherit;font:inherit;border-radius:6px;margin-left:4px;padding:0 4px}.clip-context-row button{text-align:center;padding:0 8px}.clip-context-menu button:disabled{opacity:.5;cursor:not-allowed}.document-image-dialog{box-sizing:border-box;border:1px solid var(--line-strong);background:var(--surface);width:min(960px,100vw - 32px);max-height:calc(100dvh - 32px);color:var(--text);box-shadow:var(--shadow);border-radius:16px;padding:24px;overflow:auto}.document-image-dialog::backdrop{background:var(--focus-dim)}.document-image-dialog h2{margin:0 0 16px;font-size:20px}.document-image-dialog button{font:inherit;color:var(--text);background:var(--toolbar);border:1px solid var(--line-strong);cursor:pointer;border-radius:8px;min-height:48px;padding:8px 14px}.document-image-dialog button:disabled{opacity:.5;cursor:default}.document-image-handle:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.document-image-options,.document-image-options>div,.document-image-dialog footer{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.document-image-options{justify-content:space-between}.document-image-dialog button[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent)}.document-image-stage{background:var(--canvas-soft);border-radius:8px;justify-content:center;align-items:center;min-height:180px;margin:8px 0;padding:28px;display:flex}.document-image-stage-inner{flex:none;max-width:100%;position:relative}.document-image-stage-inner svg{width:100%;height:100%;display:block}.document-image-dialog .document-image-handle{touch-action:none;cursor:move;background:0 0;border:0;place-items:center;width:48px;height:48px;min-height:48px;padding:0;display:grid;position:absolute;transform:translate(-50%,-50%)}.document-image-handle span{background:var(--toolbar);border:2px solid var(--accent);border-radius:3px;width:14px;height:14px;box-shadow:0 1px 3px #0005}.document-image-dialog .document-image-handle[aria-pressed=true]{background:0 0}.document-image-handle[aria-pressed=true] span{background:var(--accent);border-color:var(--toolbar)}.document-image-dialog p{color:var(--text-muted);font-size:14px;line-height:1.5}.document-image-dialog p[role=alert]{color:var(--danger)}.document-image-dialog footer{background:var(--surface);justify-content:end;margin-top:16px;padding:12px 0 0;position:sticky;bottom:0}.document-image-dialog .document-image-primary{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.document-image-loading{justify-content:center;align-items:center;gap:12px;min-height:240px;display:flex}.document-image-loading svg{animation:1.2s linear infinite document-image-spin}@keyframes document-image-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.document-image-loading svg{animation:none}}@media (width<=600px){.document-image-dialog{padding:16px}.document-image-stage{padding:24px}}.student-preview{--student-preview-screen-surface:var(--canvas);z-index:70;border:1px solid var(--line);width:min(328px,100vw - 24px);color:var(--text);background:color-mix(in srgb, var(--surface) 97%, transparent);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-radius:18px;animation:.22s cubic-bezier(.2,.8,.2,1) preview-arrive;position:fixed;top:86px;right:24px;overflow:hidden}.student-preview.is-landscape,.student-preview.is-room{width:min(440px,100vw - 24px)}.student-preview-header{border-bottom:1px solid var(--line);cursor:grab;touch-action:none;align-items:center;gap:2px;min-height:62px;padding:9px 9px 9px 16px;display:flex}.student-preview-header>span{letter-spacing:-.01em;flex:1;min-width:0;font-size:16px;font-weight:700}.student-preview-header>button{width:44px;min-width:44px;height:44px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:11px;place-items:center;padding:0;display:grid}.student-preview-header>button:is(:hover,:focus-visible){color:var(--text);background:var(--toolbar-strong)}.student-preview-header>button:disabled{opacity:.35;cursor:default}.student-preview-header>button svg{width:19px;height:19px}.student-preview-screen{aspect-ratio:3/4;background:var(--student-preview-screen-surface);isolation:isolate;position:relative;overflow:hidden}.student-preview.is-landscape .student-preview-screen{aspect-ratio:4/3}.student-preview.is-room .student-preview-screen{aspect-ratio:var(--room-preview-ratio,16 / 9)}.student-preview-screen .live-view{background:var(--student-preview-screen-surface);width:100%;height:100%;min-height:0;position:absolute;inset:0}.student-preview-screen .live-view-canvas,.student-preview-screen .live-interactive-material,.student-preview-screen .live-interactive-material iframe{pointer-events:none}.student-preview .live-view-canvas.is-clip.is-ready{animation:none}.student-preview-caption{border-top:1px solid var(--line);color:var(--text-muted);justify-content:space-between;padding:10px 16px 12px;font-size:11px;display:flex}.student-preview-empty{color:var(--text-muted);text-align:center;place-items:center;padding:24px;font-size:13px;display:grid;position:absolute;inset:0}.student-preview-render{position:absolute;inset:0}@keyframes preview-arrive{0%{opacity:0;transform:translateY(8px)scale(.98)}to{opacity:1;transform:none}}@media (pointer:coarse){.student-preview-header>button{min-width:48px;height:48px}}@media (prefers-reduced-motion:reduce){.student-preview{animation:none}}.live-host-trigger{min-height:44px;color:var(--text-muted);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:9px;align-items:center;gap:8px;padding:0 12px;font-size:13px;font-weight:550;display:inline-flex}.live-host-trigger svg{width:19px;height:19px}.live-host-trigger:is(:hover,:focus-visible),.live-host-trigger[aria-expanded=true]{background:var(--toolbar-strong);color:var(--text)}.live-host-trigger.has-session{color:var(--accent)}.live-host-trigger.is-live{background:color-mix(in srgb, var(--accent) 10%, transparent)}.live-host-trigger:disabled{opacity:.45;cursor:default}.live-host-title{color:inherit}.live-host-mode{background:var(--toolbar-strong);min-height:24px;color:var(--text-muted);border-radius:6px;align-items:center;padding:0 7px;font-size:11px;font-weight:650;display:inline-flex}.live-host-mode[data-mode=clip],.live-host-mode[data-mode=material]{background:color-mix(in srgb, var(--accent) 14%, transparent);color:var(--accent)}.live-target-clear{min-width:40px;min-height:44px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;display:grid}.live-target-clear:is(:hover,:focus-visible){background:var(--toolbar-strong);color:var(--text)}.live-target-clear svg{width:17px;height:17px}.live-host-mode[data-empty=true]{background:color-mix(in srgb, var(--warning,#b98542) 14%, transparent);color:var(--warning,#b98542)}.live-host-count{color:var(--text-muted);font-variant-numeric:tabular-nums;align-items:center;gap:4px;font-size:12px;display:inline-flex}.live-host-count svg{width:14px;height:14px}.live-person-dot{background:var(--text-muted);border-radius:50%;flex:none;width:6px;height:6px}.live-person-dot.is-connected{background:var(--success)}.live-host-panel{z-index:90;border:1px solid var(--line);background:var(--toolbar);width:320px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 88px);color:var(--text);box-shadow:var(--shadow);border-radius:14px;padding:14px 18px 18px;position:fixed;top:68px;right:16px;overflow-y:auto}.live-host-heading{justify-content:space-between;align-items:center;display:flex}.live-host-heading h2{letter-spacing:-.02em;margin:0;font-size:17px;font-weight:600}.live-host-icon{min-width:44px;min-height:44px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;padding:0;display:grid}.live-host-icon svg{width:18px;height:18px}.live-host-icon:is(:hover,:focus-visible){background:var(--toolbar-strong);color:var(--text)}.live-host-invite{flex-direction:column;align-items:center;gap:4px;padding:4px 0 16px;display:flex}.live-host-section-title{width:100%;color:var(--text-muted);padding:0 4px 4px;font-size:12px}.live-host-share-actions{justify-content:space-between;align-items:center;gap:4px;width:100%;display:flex}.live-host-qr{border-radius:8px;width:200px;height:200px;display:block}.live-host-copy{min-height:48px;color:var(--accent);cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:8px;padding:0 8px;display:flex}.live-host-copy:is(:hover,:focus-visible),.live-host-copy[aria-expanded=true]{background:var(--toolbar-strong)}.live-host-copy svg{width:17px;height:17px}.live-host-list-heading{color:var(--text-muted);border-bottom:1px solid var(--line);justify-content:space-between;padding-bottom:7px;font-size:12px;display:flex}.live-host-people{max-height:188px;margin:0;padding:0;list-style:none;overflow-y:auto}.live-host-people li{align-items:center;gap:9px;min-height:46px;display:flex}.live-person-name{text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:14px;overflow:hidden}.live-host-empty{color:var(--text-muted);font-size:13px}.live-host-remove{min-width:44px}.live-host-remove:is(:hover,:focus-visible){color:var(--danger)}.live-host-muted{color:var(--text-muted);margin:14px 0 10px;font-size:12px;line-height:1.5}.live-host-footer{border-top:1px solid var(--line);flex-direction:column;gap:8px;margin-top:14px;padding-top:14px;display:flex}.live-host-primary{min-height:48px;color:var(--on-accent);background:var(--accent);font:inherit;cursor:pointer;border:0;border-radius:9px;flex:1;padding:10px 16px;font-size:14px;font-weight:550}.live-host-primary:disabled{opacity:.5;cursor:default}.live-host-end{color:#fff;width:100%;min-height:48px;font:inherit;cursor:pointer;background:#9f3f46;border:1px solid #b3535a;border-radius:9px;padding:8px 16px;font-size:14px;font-weight:550}.live-host-end:is(:hover,:focus-visible):not(:disabled){background:#ad4850;border-color:#c5646b}.live-host-session-action{justify-content:center;align-items:center;gap:8px;width:100%;display:flex}.live-host-session-action svg{stroke-width:2px;width:18px;height:18px}.live-host-error{color:var(--danger);margin-top:12px;font-size:13px;line-height:1.5}.live-host-error button{min-height:44px;color:var(--accent);cursor:pointer;background:0 0;border:0;padding:0;display:block}.live-switch-dialog{border:1px solid var(--line);width:min(420px,100vw - 40px);color:var(--text);background:var(--toolbar);box-shadow:var(--shadow);border-radius:14px;padding:26px}.live-switch-dialog::backdrop{background:#10192355}.live-switch-dialog h2{letter-spacing:-.025em;margin:0 0 12px;font-size:21px;font-weight:600}.live-switch-dialog p{color:var(--text-muted);margin:0 0 26px;font-size:14px}.live-switch-dialog>div{gap:10px;display:flex}.live-switch-dialog button:not(.live-host-primary){min-height:48px;color:var(--text);background:var(--toolbar-strong);cursor:pointer;border:0;border-radius:9px;padding:10px 14px}@media (pointer:coarse){.live-host-trigger,.live-host-icon,.live-host-copy,.live-host-error button{min-height:48px}.live-host-icon{min-width:48px}}.live-host-heading h2{flex:1}.live-host-modes{background:var(--toolbar-strong);border-radius:10px;gap:4px;margin:4px 0 8px;padding:4px;display:flex}.live-host-modes button{min-height:44px;color:var(--text-muted);font:inherit;cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:7px;flex:1;justify-content:center;align-items:center;gap:6px;font-size:13px;display:inline-flex}.live-host-modes svg{flex:none;width:18px;height:18px}.live-host-modes button[aria-pressed=true]{background:var(--surface,#fffefa);color:var(--text);box-shadow:0 1px 4px #0001}.live-host-modes button:disabled{cursor:default}.live-host-recall{background:var(--toolbar-strong);width:100%;color:var(--text);justify-content:center;margin-bottom:8px}.live-host-recall svg{color:var(--accent)}.live-clip-tool[aria-pressed=true]{background:var(--toolbar-strong);color:var(--accent)}@media (pointer:coarse){.live-host-modes button{min-height:48px}}.live-preview-toggle{background:var(--toolbar-strong);justify-content:center;width:100%;margin:0}.mobile-capture-dialog{border:1px solid var(--line);background:var(--surface);width:min(390px,100vw - 32px);max-height:calc(100dvh - 48px);color:var(--text);box-shadow:var(--shadow);border-radius:18px;margin:auto;padding:20px;overflow:auto}.mobile-capture-dialog::backdrop{background:var(--focus-dim)}.mobile-capture-dialog header{justify-content:space-between;align-items:center;gap:12px;display:flex}.mobile-capture-dialog h2{margin:0;font-size:18px}.mobile-capture-dialog header button{width:48px;height:48px;color:inherit;background:0 0;border:0;border-radius:10px;flex:none;place-items:center;padding:0;display:grid}.mobile-capture-dialog button{cursor:pointer;min-height:48px;font:inherit}.mobile-capture-target{overflow-wrap:anywhere;margin:10px 0 18px}.mobile-capture-qr{background:#fff;border-radius:10px;width:min(100%,288px);height:auto;margin:0 auto;display:block}.mobile-capture-dialog [role=status]{margin:16px 0;font-size:14px}.mobile-capture-start,.mobile-capture-stop{border:1px solid var(--line);background:var(--surface);width:100%;color:inherit;border-radius:10px;padding:10px 14px}.mobile-capture-start{background:var(--accent-strong);color:var(--on-accent)}.mobile-capture-error{color:var(--danger);line-height:1.5}.lesson-material-phone{min-height:48px;margin:2px auto 0}.student-notes-popup{z-index:1200;box-sizing:border-box;width:min(360px,100vw - 24px);color:var(--text,#243a35);background:var(--toolbar,#fff);border:1px solid var(--line-strong,#dce2dd);border-radius:16px;padding:10px 18px 16px;font-size:14px;position:fixed;overflow:auto;box-shadow:0 12px 40px #132d2920}.student-notes-popup header{justify-content:space-between;align-items:center;gap:12px;min-height:48px;display:flex}.student-notes-popup header strong{font-size:15px;font-weight:600}.student-notes-popup button{color:inherit;cursor:pointer;min-height:48px;font:inherit;background:0 0;border:0;border-radius:8px;padding:8px 12px}.student-notes-popup header button{place-items:center;width:48px;margin-right:-10px;display:grid}.student-notes-popup button:hover{background:var(--toolbar-strong,#edf2ee)}.student-notes-popup button:disabled{opacity:.5;cursor:default}.student-notes-popup input,.student-notes-popup textarea{font:inherit;color:inherit;box-sizing:border-box;background:0 0;border:0;outline:none}.student-notes-popup :is(input,textarea):focus-visible{outline:2px solid var(--accent,#39786b);outline-offset:2px}.student-notes-hint{opacity:.65;margin:0 0 12px;font-size:12px}.student-names-list{border:1px solid var(--line-strong,#dce2dd);border-radius:9px;padding:0 12px}.student-names-list input{border-bottom:1px solid var(--line,#e7ebe7);width:100%;min-height:48px;display:block}.student-names-list input:last-child{border-bottom:0}.student-notes-popup footer{justify-content:flex-end;gap:6px;padding-top:12px;display:flex}.student-notes-popup .student-notes-primary{background:var(--accent-soft,#e1eff8);color:var(--accent-strong,#0d5c94);font-weight:600}.student-note-row{border-bottom:1px solid var(--line,#e1e6e1);padding:9px 0 10px}.student-note-row:last-child{border:0;padding-bottom:0}.student-note-row label{display:block}.student-note-row label>span{margin-bottom:3px;font-size:13px;font-weight:600;display:block}.student-note-row small{opacity:.65;font-weight:400}.student-note-row textarea{resize:none;width:100%;min-height:30px;padding:4px 0;line-height:1.55;display:block;overflow:hidden}.student-notes-error{color:var(--danger,#a54035);font-size:12px;line-height:1.5}.student-notes-error button{min-height:36px;padding:4px;text-decoration:underline}.student-notes-empty{padding:8px 0}:root,.room-view{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--app-bg:#e8e1d5;--surface:#f9f5ec;--canvas:#efe8da;--canvas-soft:#e9e1d2;--toolbar:#fffdf7;--toolbar-strong:#f3ebde;--paper:#fff;--on-accent:#fff;--tool-shadow:0 5px 16px #22201d1a, 0 1px 3px #22201d14;--text:#302c24;--text-muted:#696155;--line:#1e263021;--line-strong:#1e263038;--accent:#845537;--accent-strong:#71462c;--accent-soft:#f4e5d3;--switch-thumb:#845537;--marker:#f0b800;--success:#2d8b67;--warning:#9a681f;--danger:#a44747;--shadow:0 18px 48px #2a30371f, 0 2px 8px #2a303714;--shadow-soft:0 8px 24px #2a303714;--focus-dim:#1f252c7a;--archive-panel-width:304px;--archive-offset:0px;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,SF Pro Display,Segoe UI,sans-serif}:root[data-theme=dark],.room-view[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--app-bg:#191716;--surface:#211e1d;--canvas:#2b2726;--canvas-soft:#312c2a;--toolbar:#383230;--toolbar-strong:#453b37;--paper:#f5f4ef;--on-accent:#171819;--tool-shadow:0 5px 16px #0000003b, 0 1px 3px #0000002e;--text:#f4eee8;--text-muted:#bfb3a9;--line:#e6ebf11c;--line-strong:#e6ebf133;--accent:#eab38d;--accent-strong:#fac9a8;--accent-soft:#4c3930;--switch-thumb:#815b43;--marker:#f3c94f;--success:#65c69f;--warning:#e0b36a;--danger:#ef9696;--shadow:0 20px 52px #00000057, 0 3px 12px #0000003d;--shadow-soft:0 10px 26px #0000003d;--focus-dim:#05080c9e}:root[data-theme=light][data-theme-variant=clear],.room-view[data-theme=light][data-theme-variant=clear]{--app-bg:#dde5eb;--surface:#f5f8fa;--canvas:#edf2f6;--canvas-soft:#e5ecf1;--toolbar:#fff;--toolbar-strong:#e9eff4;--text:#1b2936;--text-muted:#536679;--line:#18232d21;--line-strong:#18232d38;--accent:#215e91;--accent-strong:#164e7c;--accent-soft:#dbeaf7;--switch-thumb:#215e91}:root[data-theme=light][data-theme-variant=tinted],.room-view[data-theme=light][data-theme-variant=tinted]{--app-bg:#d9e4da;--surface:#f2f6ef;--canvas:#e3ede1;--canvas-soft:#dce7da;--toolbar:#f9fcf6;--toolbar-strong:#e6eee3;--text:#202e24;--text-muted:#536951;--line:#1d292421;--line-strong:#1d292438;--accent:#35654d;--accent-strong:#29563e;--accent-soft:#d4e6d5;--switch-thumb:#35654d}:root[data-theme=dark][data-theme-variant=clear],.room-view[data-theme=dark][data-theme-variant=clear]{--app-bg:#161718;--surface:#1d1e20;--canvas:#27292c;--canvas-soft:#2e3033;--toolbar:#36383c;--toolbar-strong:#404347;--text:#f3f3f2;--text-muted:#bbbdc1;--line:#ebeff31c;--line-strong:#ebeff333;--accent:#c0c8d0;--accent-strong:#d3dbe2;--accent-soft:#3a4047;--switch-thumb:#57616c}:root[data-theme=dark][data-theme-variant=tinted],.room-view[data-theme=dark][data-theme-variant=tinted]{--app-bg:#0c1523;--surface:#101e31;--canvas:#162a42;--canvas-soft:#1c334d;--toolbar:#233b54;--toolbar-strong:#2d4761;--text:#edf4fa;--text-muted:#b2c3d2;--line:#e4eff71c;--line-strong:#e4eff733;--accent:#7cd1dc;--accent-strong:#9be2e8;--accent-soft:#1c4556;--switch-thumb:#316a78}[data-theme-variant=calm] :is(.toolbar,.room-tools__items){border-color:color-mix(in srgb, var(--accent) 28%, var(--line-strong))}[data-theme-variant=calm] :is(.tool-group .tool-button,.room-tools__items>button)[aria-pressed=true]{position:relative}[data-theme-variant=calm] :is(.tool-group .tool-button,.room-tools__items>button)[aria-pressed=true]:after{content:"";background:var(--accent);pointer-events:none;border-radius:2px;width:14px;height:2px;position:absolute;bottom:1px;left:50%;transform:translate(-50%)}:root,.room-view{--button-hover-bg:color-mix(in srgb, var(--toolbar-strong) 88%, var(--text) 12%)}button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}:root :is(.action-button,.tool-button,.settings-option,.desktop-update-close,.archive-toggle,.toolbar-visibility-button,.toolbar-overflow-button,.toolbar-recall,.student-notes-trigger,.room-tools button,.room-fullscreen,dialog header button,.class-picker button,.student-notes-popup button,.canvas-link-label-editor button,.canvas-history-actions>button,.embedded-app-popover button,.archive-context-menu button,.archive-folder-edit-action,.archive-add-button,.archive-subject-create,.archive-create-row button,.archive-trash-item>button,.lesson-material-header-actions button,.lesson-material-device,.lesson-material-rename,.lesson-material-insert,.lesson-material-link-form button,.lesson-material-name-form button,.canvas-zoom-button,.canvas-zoom-value,.image-quick-action,.text-formatting-font-button,.text-formatting-size-button,.context-formatting-button,.image-crop-mode-menu button,.live-host-trigger,.live-host-icon,.live-target-clear,.live-host-copy,.live-host-error button,.student-preview-header>button,.clip-context-menu button,.clip-undo button,.clip-frame button:not(.clip-resize):not(.clip-number),.room-video-controller button,:is(dialog,[role=dialog]) button:not(:is(.is-danger,.is-destructive,.document-image-primary,.document-image-handle,.live-host-primary,.live-host-end,.mobile-capture-start,.desktop-update-check,.tool-color-option,.tool-stroke-option,[aria-pressed=true]))):is(:hover,:focus-visible):not(:disabled){background-color:var(--button-hover-bg);outline:none}button:is(.is-danger,.is-destructive,.document-image-primary,.live-host-primary,.live-host-end,.mobile-capture-start):is(:hover,:focus-visible):not(:disabled){filter:brightness(1.08);outline:none}:root[data-archive=open]{--archive-offset:var(--archive-panel-width)}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;margin:0;overflow:hidden}button{font:inherit}.app-shell{width:100%;min-width:760px;height:100%;min-height:600px;color:var(--text);background:var(--app-bg);transition:color .18s,background-color .18s;position:relative}.topbar{z-index:25;inset:0 0 auto var(--archive-offset);border-bottom:1px solid var(--line);background:var(--surface);grid-template-columns:auto minmax(0,1fr) max-content;align-items:center;column-gap:18px;height:68px;padding:0 22px 0 28px;transition:left .2s cubic-bezier(.2,.8,.2,1),background-color .18s;display:grid;position:absolute;container:canvas-header/inline-size}.topbar:has(.desktop-update-popover){z-index:31}.topbar-leading{justify-self:start;align-items:center;gap:10px;min-width:0;padding-left:54px;transition:padding-left .2s cubic-bezier(.2,.8,.2,1);display:flex}:root[data-archive=open] .topbar-leading{padding-left:0}.topbar-lesson-title{max-width:min(36vw,620px);color:var(--text);letter-spacing:-.012em;text-align:left;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:16px;font-weight:680;line-height:1.2;overflow:hidden}.archive-toggle{z-index:32;width:48px;height:48px;color:var(--text-muted);box-shadow:none;cursor:pointer;background:0 0;border:0;border-radius:11px;flex:none;place-items:center;padding:0;transition:left .2s cubic-bezier(.2,.8,.2,1),color .14s,transform .14s;display:grid;position:absolute;top:10px;left:16px}.archive-toggle:is(:hover,:focus-visible){color:var(--text)}.archive-toggle:active{transform:scale(.96)}.archive-toggle svg{width:22px;height:22px}.archive-toggle-icon{grid-area:1/1;place-items:center;transition:opacity .12s,transform .16s;display:grid}.archive-toggle-icon-close{opacity:0;transform:scale(.86)}:root[data-archive=open] .archive-toggle{left:calc(var(--archive-panel-width) - 62px)}:root[data-archive=open] .archive-toggle-icon-close{opacity:1;transform:scale(1)}:root[data-archive=open] .archive-toggle-icon-open{opacity:0;transform:scale(.86)}.lesson-date-meta{min-height:48px;color:var(--text-muted);white-space:nowrap;flex:none;align-items:center;gap:6px;font-size:12px;font-weight:560;display:flex}.lesson-date-meta svg{width:15px;height:15px}.topbar-actions,.save-status{align-items:center;display:flex}.topbar-actions{flex:none;justify-self:end;gap:12px}.topbar-utility-group{flex:none;align-items:center;gap:4px;display:flex}.settings-menu{place-items:center;display:grid;position:relative}.settings-trigger{position:relative}.settings-update-dot{border:2px solid var(--toolbar);background:var(--accent-strong);pointer-events:none;border-radius:50%;width:7px;height:7px;position:absolute;top:8px;right:8px}.settings-version svg{flex-shrink:0}.desktop-update-close{width:48px;height:48px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:9px;place-items:center;display:grid;position:absolute;top:8px;right:8px}.desktop-update-close:is(:hover,:focus-visible){background:var(--toolbar-strong);color:var(--text)}.desktop-update-close svg{width:20px;height:20px}.desktop-update-popover{z-index:30;border:1px solid var(--line-strong);width:min(310px,100vw - 24px);color:var(--text);background:var(--toolbar);box-shadow:var(--shadow-soft);border-radius:14px;gap:12px;padding:18px;animation:.14s ease-out both settings-popover-in;display:grid;position:absolute;top:calc(100% + 8px);right:0}.desktop-update-illustration{width:58px;height:58px;color:var(--accent-strong);background:var(--accent-soft);border-radius:18px;place-items:center;margin:1px auto 0;display:grid}.desktop-update-illustration.has-update{box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent) 24%, transparent)}.desktop-update-illustration svg{width:26px;height:26px}.desktop-update-heading{text-align:center;gap:2px;display:grid}.desktop-update-heading span{color:var(--text-muted);font-size:12px;font-weight:600}.desktop-update-heading strong{font-size:18px;font-weight:700}.desktop-update-status,.desktop-update-error{text-align:center;margin:0;font-size:13px;line-height:1.45}.desktop-update-status{color:var(--text-muted)}.desktop-update-error{color:var(--danger)}.desktop-update-check{border:1px solid color-mix(in srgb, var(--accent) 34%, var(--line-strong));width:100%;min-height:48px;color:var(--accent-strong);background:var(--accent-soft);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:0 14px;font-weight:680;display:flex}.desktop-update-check:is(:hover,:focus-visible):not(:disabled){background:color-mix(in srgb, var(--accent-soft) 78%, var(--toolbar-strong));outline:none}.desktop-update-check:disabled{opacity:.48;cursor:default}.desktop-update-check svg{width:17px;height:17px}.desktop-update-later{min-height:40px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:10px}.desktop-update-later:is(:hover,:focus-visible){color:var(--text);background:var(--toolbar-strong)}.settings-popover{z-index:30;overscroll-behavior:contain;border:1px solid var(--line-strong);width:min(280px,100vw - 80px);max-height:calc(100dvh - 96px);color:var(--text);background:var(--toolbar);box-shadow:var(--shadow-soft);border-radius:14px;padding:6px;animation:.14s ease-out both settings-popover-in;position:absolute;top:calc(100% + 8px);right:0;overflow-y:auto}.settings-option{width:100%;min-height:48px;color:var(--text);cursor:pointer;background:0 0;border:0;border-radius:9px;justify-content:space-between;align-items:center;gap:16px;padding:0 10px 0 12px;font-size:14px;font-weight:620;display:flex}.settings-option:hover,.settings-option:focus-visible{background:var(--toolbar-strong);outline:none}.settings-option-switch{border:1px solid var(--line-strong);background:var(--canvas-soft);border-radius:999px;flex:none;width:34px;height:20px;transition:border-color .14s,background-color .14s;position:relative}.settings-option-switch>span{background:var(--text-muted);border-radius:50%;width:12px;height:12px;transition:transform .14s,background-color .14s;position:absolute;top:3px;left:3px}.settings-option[aria-checked=true] .settings-option-switch{border-color:var(--accent);background:var(--accent-soft)}.settings-option[aria-checked=true] .settings-option-switch>span{background:var(--accent-strong);transform:translate(14px)}.settings-section{border-top:1px solid var(--line);margin-top:6px;padding-top:6px}.settings-section h2{color:var(--text-muted);margin:0;padding:6px 12px 4px;font-size:12px;font-weight:650;line-height:1.4}.settings-popover .settings-option{text-align:left}.settings-popover .settings-option>svg{flex-shrink:0;width:20px;height:20px}.settings-select-row{min-height:48px;color:var(--text);grid-template-columns:minmax(0,1fr) minmax(0,128px);justify-content:space-between;align-items:center;gap:14px;padding:0 10px 0 12px;font-size:14px;font-weight:620;display:grid}.settings-select-control{width:100%;min-width:0;display:flex;position:relative}.settings-select-control:before{content:"";border:1px solid var(--line-strong);background:var(--canvas-soft);pointer-events:none;border-radius:6px;position:absolute;inset:6px 0}.settings-select-control>svg{pointer-events:none;width:16px;height:16px;color:var(--text-muted);position:absolute;top:50%;right:10px;transform:translateY(-50%)}.settings-select-row select{appearance:none;box-sizing:border-box;width:100%;min-width:0;min-height:48px;color:var(--text);font:inherit;cursor:pointer;background-color:#0000;border:1px solid #0000;border-radius:8px;flex-shrink:0;padding:0 32px 0 10px;font-weight:580;position:relative}.settings-select-control:has(select:hover):before{border-color:var(--accent)}.settings-select-row select:focus-visible{outline:none}.settings-select-control:has(select:focus-visible):before{outline:2px solid var(--accent-strong);outline-offset:2px}@keyframes settings-popover-in{0%{opacity:0;transform:translateY(-4px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.save-status{z-index:4;min-height:34px;color:var(--text-muted);border:1px solid var(--line-strong);background:color-mix(in srgb, var(--toolbar) 96%, transparent);box-shadow:var(--shadow-soft);pointer-events:none;white-space:nowrap;border-radius:9px;gap:6px;padding:7px 10px;font-size:13px;font-weight:540;transition:color .16s;animation:.16s ease-out both save-status-in;position:absolute;top:calc(100% + 10px);left:50%}.save-status svg{flex:none;width:15px;height:15px}.save-status[data-state=checking],.save-status[data-state=saving]{color:var(--accent)}.save-status[data-state=browser-only]{color:var(--warning)}.save-status[data-state=error]{color:var(--danger)}.save-status[data-state=recovered]{color:var(--success)}.save-status[data-state=checking] svg,.save-status[data-state=saving] svg{animation:.9s linear infinite save-status-spin}@keyframes save-status-in{0%{opacity:0;transform:translate(-50%,-3px)}to{opacity:1;transform:translate(-50%)}}@keyframes save-status-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.save-status,.save-status[data-state=checking] svg,.save-status[data-state=saving] svg{animation:none}}.topbar-utility-divider{background:var(--line);width:1px;height:24px;margin:0 2px}.workspace{inset:68px 0 0 var(--archive-offset);background:var(--canvas);transition:inset .2s,background-color .18s;position:absolute;overflow:hidden}.workspace:after{z-index:18;content:"";pointer-events:none;border:3px solid #0000;border-radius:18px;transition:border-color .12s,background-color .12s;position:absolute;inset:12px}.workspace.is-material-dragging:after{border-color:var(--accent);background:color-mix(in srgb, var(--accent) 7%, transparent)}.material-import-error{z-index:19;border:1px solid color-mix(in srgb, #b94a48 46%, var(--line));max-width:min(440px,100% - 48px);color:var(--text);background:color-mix(in srgb, var(--toolbar) 96%, transparent);box-shadow:var(--shadow-soft);border-radius:12px;padding:13px 16px;font-size:14px;line-height:1.4;position:absolute;bottom:24px;right:24px}.canvas-link-label-editor{z-index:74;border:1px solid var(--line-strong);width:340px;min-height:58px;color:var(--text-muted);background:color-mix(in srgb, var(--toolbar) 97%, transparent);box-shadow:var(--shadow-popover);border-radius:14px;grid-template-columns:22px minmax(0,1fr) 34px 34px;align-items:center;gap:7px;padding:8px 9px 8px 13px;animation:.14s ease-out both canvas-link-label-enter;display:grid;position:absolute}.canvas-link-label-editor>svg{width:18px;height:18px}.canvas-link-label-editor input{min-width:0;height:40px;color:var(--text);font:inherit;background:0 0;border:0;outline:0;padding:0 4px;font-size:14px;font-weight:570}.canvas-link-label-editor input::placeholder{color:var(--text-muted);font-weight:500}.canvas-link-label-editor button{width:34px;height:34px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:grid}.canvas-link-label-editor button:first-of-type:not(:disabled){color:var(--accent)}.canvas-link-label-editor button:hover:not(:disabled),.canvas-link-label-editor button:focus-visible{color:var(--accent);background:var(--toolbar-strong)}.canvas-link-label-editor button:disabled{opacity:.36;cursor:default}@keyframes canvas-link-label-enter{0%{opacity:0;transform:translateY(-4px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}.material-file-input{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:fixed;overflow:hidden}.lesson-material-panel{z-index:24;border:1px solid var(--line);background:color-mix(in srgb, var(--surface) 97%, transparent);width:min(324px,100% - 36px);height:min(584px,100% - 60px);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);transform-origin:100%;will-change:opacity, transform;border-radius:18px;flex-direction:column;transition:top .2s,right .2s,height .2s,opacity .15s ease-out,transform .18s cubic-bezier(.4,0,1,1);animation:.18s cubic-bezier(.22,1,.36,1) both lesson-material-panel-enter;display:flex;position:absolute;top:42px;bottom:auto;right:18px;overflow:visible}.lesson-material-panel[data-state=closing]{opacity:0;pointer-events:none;animation:none;transform:translate(10px)scale(.985)}@keyframes lesson-material-panel-enter{0%{opacity:0;transform:translate(10px)scale(.985)}to{opacity:1;transform:translate(0,0)scale(1)}}.lesson-material-header{border-bottom:1px solid var(--line);flex:none;justify-content:space-between;align-items:center;gap:12px;min-height:62px;padding:9px 9px 9px 16px;display:flex}.lesson-material-header>div:first-child{min-width:0}.lesson-material-header h2{letter-spacing:-.01em;margin:0;font-size:16px;font-weight:700}.lesson-material-header>div:first-child>span{color:var(--text-muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:2px;font-size:12px;line-height:1.25;display:-webkit-box;overflow:hidden}.lesson-material-header-actions{flex:none;gap:2px;display:flex}.lesson-material-header-actions button{width:44px;height:44px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:11px;place-items:center;padding:0;display:grid}.lesson-material-header-actions button:is(:hover,:focus-visible){color:var(--text);background:var(--toolbar-strong)}.lesson-material-header-actions svg{width:19px;height:19px}.lesson-material-source-actions{justify-content:center;align-items:center;gap:4px;display:flex}.lesson-material-footer{border-top:1px solid var(--line);background:color-mix(in srgb, var(--surface) 97%, transparent);border-radius:0 0 18px 18px;flex:none;padding:6px 12px 8px}.lesson-material-device{min-height:44px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:10px;flex:none;align-items:center;gap:6px;padding:0 9px;font-size:12px;font-weight:630;display:flex}.lesson-material-device:is(:hover,:focus-visible){color:var(--text);background:var(--toolbar-strong)}.lesson-material-device svg{width:17px;height:17px}.lesson-material-link-form{flex:none;padding:0 12px 10px}.lesson-material-footer .lesson-material-link-form{padding:0 0 6px}.lesson-material-link-form>div{border:1px solid color-mix(in srgb, var(--accent-strong) 38%, var(--line));background:var(--paper);min-height:48px;box-shadow:0 8px 22px color-mix(in srgb, var(--text) 8%, transparent);border-radius:12px;grid-template-columns:22px minmax(0,1fr) auto 40px;align-items:center;gap:7px;padding:4px 4px 4px 11px;display:grid}.lesson-material-link-form svg{width:18px;height:18px;color:var(--text-muted)}.lesson-material-link-form input{min-width:0;height:40px;color:var(--text);font:inherit;background:0 0;border:0;outline:0;padding:0;font-size:13px}.lesson-material-link-form button{min-height:40px;color:var(--on-accent);background:var(--accent-strong);cursor:pointer;border:0;border-radius:9px;padding:0 11px;font-size:12px;font-weight:680}.lesson-material-link-form button:disabled{cursor:default;opacity:.45}.lesson-material-link-form .lesson-material-link-close{width:40px;color:var(--text-muted);background:0 0;place-items:center;padding:0;display:grid}.lesson-material-link-form>p{color:var(--danger);margin:7px 3px 0;font-size:12px;line-height:1.35}.lesson-material-hover-preview{z-index:2;pointer-events:none;border:1px solid var(--line);background:var(--toolbar);box-shadow:var(--shadow);transform-origin:100%;border-radius:14px;animation:.12s ease-out lesson-material-preview-in;display:none;position:absolute;top:72px;right:calc(100% + 10px);overflow:hidden}.lesson-material-preview-content{background:#fff;position:relative;overflow:hidden}.lesson-material-preview-content>img,.lesson-material-preview-content>video{object-fit:contain;width:100%;height:100%;display:block}.lesson-material-preview-content>iframe{border:0;display:block}.lesson-material-preview-content.is-card{box-sizing:border-box;background:var(--toolbar);color:var(--text);flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:16px;display:flex}.lesson-material-preview-content.is-card>svg{width:32px;height:32px;color:var(--text-muted);stroke-width:1.5px}.lesson-material-preview-content.is-card>strong{font-size:13px}.lesson-material-preview-content.is-card>span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;color:var(--text-muted);font-size:11px;overflow:hidden}.lesson-material-preview-loading{color:#68737b;place-items:center;font-size:12px;display:grid;position:absolute;inset:0}.lesson-material-preview-caption{flex-direction:column;gap:3px;padding:10px 12px;display:flex}.lesson-material-preview-caption>strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:640;overflow:hidden}.lesson-material-preview-caption>span{color:var(--text-muted);font-size:10px}@keyframes lesson-material-preview-in{0%{opacity:0;transform:translate(5px)scale(.985)}}@media (prefers-reduced-motion:reduce){.lesson-material-hover-preview{animation:none}}@media (hover:hover) and (pointer:fine){.lesson-material-hover-preview{display:block}}.lesson-material-list{flex-direction:column;flex:auto;gap:4px;min-height:0;padding:2px 7px 7px;display:flex;overflow:hidden auto}.lesson-material-state{color:var(--text-muted);text-align:center;margin:auto;padding:24px;font-size:13px}.lesson-material-state.is-error{color:var(--danger)}.lesson-material-item{min-height:56px;color:var(--text);text-align:left;cursor:grab;background:0 0;border:1px solid #0000;border-radius:12px;flex:none;grid-template-columns:44px minmax(0,1fr) 32px 32px 32px;align-items:center;gap:8px;padding:5px 5px 5px 6px;display:grid}.lesson-material-item:hover{background:var(--toolbar-strong)}.lesson-material-item[data-focused=true]{border-color:color-mix(in srgb, var(--accent-strong) 22%, transparent);background:color-mix(in srgb, var(--accent-soft) 26%, transparent)}.lesson-material-item[data-focused=true]:hover{background:color-mix(in srgb, var(--accent-soft) 42%, var(--toolbar-strong))}.lesson-material-item:focus-visible{outline:2px solid var(--accent-strong);outline-offset:-2px}.lesson-material-item:active{cursor:grabbing}.lesson-material-thumb{border:1px solid var(--line);width:44px;height:44px;color:var(--text-muted);background:var(--paper);border-radius:9px;place-items:center;display:grid;overflow:hidden}.lesson-material-thumb img{object-fit:cover;width:100%;height:100%;display:block}.lesson-material-thumb svg{width:20px;height:20px}.lesson-material-item-copy{min-width:0}.lesson-material-item-copy strong,.lesson-material-item-copy span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.lesson-material-item-copy strong{font-size:12px;font-weight:650}.lesson-material-item-copy span{color:var(--text-muted);margin-top:4px;font-size:11px}.lesson-material-item-copy .lesson-material-item-meta{align-items:center;gap:5px;min-width:0;display:flex;overflow:hidden}.lesson-material-item-meta>span{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;align-items:center;min-width:0;margin-top:0;display:flex;overflow:hidden}.lesson-material-item-meta .lesson-material-used{color:var(--accent-strong);flex:none;gap:5px;margin:0;font-size:12px;font-weight:700;display:inline-flex}.lesson-material-used svg{width:12px;height:12px}.lesson-material-insert{width:40px;height:40px;color:var(--accent-strong);cursor:pointer;background:0 0;border:0;border-radius:10px;place-items:center;padding:0;display:grid}.lesson-material-insert:hover:not(:disabled),.lesson-material-insert:focus-visible{background:var(--toolbar-strong);outline:none}.lesson-material-insert:disabled{cursor:default;opacity:.45}.lesson-material-insert svg{width:18px;height:18px}.archive-panel{z-index:26;width:var(--archive-panel-width);border-right:1px solid var(--line);background:var(--surface);flex-direction:column;padding:10px 14px 16px;transition:transform .2s cubic-bezier(.2,.8,.2,1),background-color .18s;display:flex;position:absolute;top:0;bottom:0;left:0;overflow:hidden;transform:translate(-100%)}:root[data-archive=open] .archive-panel{transform:translate(0)}.archive-panel-header{flex:none;grid-template-columns:minmax(0,1fr) 48px;align-items:center;gap:6px;display:grid}.class-picker{min-width:0;position:relative}.class-picker-trigger{width:100%;min-height:48px;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;padding:0 8px;font-size:15px;font-weight:700;display:flex}.class-picker-trigger span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.class-picker-trigger svg{color:var(--text-muted);flex-shrink:0}.class-picker-trigger:hover,.class-picker-trigger[aria-expanded=true]{color:var(--accent-strong)}.class-picker-popover{z-index:3;width:calc(var(--archive-panel-width) - 30px);border:1px solid var(--line);background:var(--surface);border-radius:14px;max-height:calc(100dvh - 90px);padding:6px;position:absolute;top:calc(100% + 6px);left:0;overflow-y:auto;box-shadow:0 12px 30px #00000029}.class-picker-heading{color:var(--text-muted);padding:10px 10px 6px;font-size:12px}.class-picker-list{max-height:min(320px,40dvh);overflow-y:auto}.class-picker-option,.class-picker-actions button{width:100%;min-height:48px;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;padding:10px;font-size:13px;display:flex}.class-picker-option span{overflow-wrap:anywhere;flex:1}.class-picker-option svg,.class-picker-actions svg{flex-shrink:0}.class-picker-option[aria-current=true]{color:var(--accent-strong);font-weight:700}.class-picker-option:hover,.class-picker-actions button:hover{background:var(--canvas)}.class-picker-actions{border-top:1px solid var(--line);margin-top:6px;padding-top:6px}.class-picker-actions button{color:var(--text-muted)}.class-picker-actions button:first-child{color:var(--text)}.class-picker-actions button.is-destructive{color:var(--danger)}.class-picker button:disabled{opacity:.5;cursor:default}.class-picker input:focus-visible{outline:2px solid var(--accent-strong);outline-offset:-2px}.class-picker-editor{gap:12px;padding:10px;display:grid}.class-picker-editor label{font-size:13px;font-weight:650}.class-picker-editor input{border:1px solid var(--line);background:var(--canvas);width:100%;min-width:0;min-height:48px;color:var(--text);font:inherit;border-radius:8px;padding:10px;font-size:14px}.class-picker-editor p{color:var(--danger);margin:0;font-size:12px}.class-picker-editor-actions{justify-content:flex-end;gap:8px;display:flex}.class-picker-editor-actions button{min-height:48px;color:var(--text-muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;padding:0 10px;font-size:13px}.class-picker-editor-actions button[type=submit]{color:var(--accent-strong);font-weight:700}.archive-copy-error{color:var(--danger);margin:10px 4px 0;font-size:12px}.archive-tree{--archive-row-inset:8px;--archive-icon-half:10px;--archive-arm-length:12px;--archive-arm-gap:8px;--archive-level-step:calc(var(--archive-icon-half) + var(--archive-arm-length) + var(--archive-arm-gap));--archive-parent-spine:calc(var(--archive-row-inset) + var(--archive-icon-half) - var(--archive-level-step));flex:auto;min-height:0;padding-top:18px;overflow:hidden auto}.archive-branch summary{min-height:48px;padding:0 0 0 var(--archive-row-inset);color:var(--text);cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:10px;align-items:center;gap:7px;list-style:none;display:flex}.archive-branch summary::-webkit-details-marker{display:none}.archive-branch summary:hover{background:var(--toolbar-strong)}.archive-sortable{cursor:grab;position:relative}.archive-sortable:active{cursor:grabbing}.archive-sortable.is-archive-selected{background:color-mix(in srgb, var(--accent-soft) 72%, transparent);box-shadow:inset 3px 0 0 var(--accent)}.archive-sortable.is-archive-selected:hover{background:color-mix(in srgb, var(--accent-soft) 86%, transparent)}.archive-sortable.is-archive-dragging{opacity:.38}.archive-sortable.is-copy-source:before{z-index:3;background:repeating-linear-gradient(90deg, var(--accent-strong) 0 4px, transparent 4px 8px) 0 0 / 8px 1px repeat-x, repeating-linear-gradient(90deg, var(--accent-strong) 0 4px, transparent 4px 8px) 0 100% / 8px 1px repeat-x, repeating-linear-gradient(0deg, var(--accent-strong) 0 4px, transparent 4px 8px) 0 0 / 1px 8px repeat-y, repeating-linear-gradient(0deg, var(--accent-strong) 0 4px, transparent 4px 8px) 100% 0 / 1px 8px repeat-y;content:"";pointer-events:none;border-radius:8px;animation:1.1s linear infinite archive-copy-march;position:absolute;inset:2px}@keyframes archive-copy-march{to{background-position:8px 0,-8px 100%,0 -8px,100% 8px}}@media (prefers-reduced-motion:reduce){.archive-sortable.is-copy-source:before{animation:none}}.archive-sortable[data-drop-position]:after{z-index:2;background:var(--accent);height:2px;box-shadow:0 0 0 2px color-mix(in srgb, var(--accent-soft) 78%, transparent);content:"";pointer-events:none;border-radius:999px;position:absolute;left:8px;right:8px}.audio-canvas-player.has-material-shadow,.local-video-canvas-player.has-material-shadow{box-shadow:0 8px 22px #2a303729,0 2px 5px #2a30371a}:root[data-theme=dark] .audio-canvas-player.has-material-shadow,:root[data-theme=dark] .local-video-canvas-player.has-material-shadow{box-shadow:0 12px 30px #00000057,0 2px 7px #0000003d}.archive-sortable[data-drop-position=before]:after{top:-2px}.archive-sortable[data-drop-position=after]:after{bottom:-2px}.archive-branch summary svg{flex:none;width:17px;height:17px}.archive-folder-icon{width:20px;height:20px;color:var(--folder-stroke);flex:none;place-items:center;display:grid}.archive-folder-icon svg{width:20px;height:20px;fill:var(--folder-fill)}.archive-folder-open,.archive-branch[open]>summary>.archive-folder-icon>.archive-folder-closed{display:none}.archive-branch[open]>summary>.archive-folder-icon>.archive-folder-open{display:block}.folder-tone-blue{--folder-fill:#dcecf5;--folder-stroke:#5688a5}.folder-tone-sand{--folder-fill:#f2e7ce;--folder-stroke:#a27d42}.folder-tone-sage{--folder-fill:#dfeee5;--folder-stroke:#5f8c73}.folder-tone-lilac{--folder-fill:#ece3f0;--folder-stroke:#886d94}:root[data-theme=dark] .folder-tone-blue{--folder-fill:#244658;--folder-stroke:#82b7d1}:root[data-theme=dark] .folder-tone-sand{--folder-fill:#514426;--folder-stroke:#d6b46e}:root[data-theme=dark] .folder-tone-sage{--folder-fill:#29483a;--folder-stroke:#8dc0a4}:root[data-theme=dark] .folder-tone-lilac{--folder-fill:#49394f;--folder-stroke:#c0a0ca}.archive-branch-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.archive-folder-edit{flex:auto;align-items:center;min-width:0;display:flex}.archive-folder-name-input{border:0;border-bottom:1px solid var(--accent);min-width:0;height:36px;color:var(--text);font:inherit;background:0 0;outline:0;flex:auto;padding:0 6px}.archive-folder-name-input:focus{background:color-mix(in srgb, var(--accent-soft) 50%, transparent);box-shadow:0 2px 0 color-mix(in srgb, var(--accent) 30%, transparent)}.archive-folder-edit-action{width:48px;height:48px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:9px;flex:none;place-items:center;padding:0;display:grid}.archive-folder-edit-action:hover:not(:disabled),.archive-folder-edit-action:focus-visible{color:var(--accent-strong);background:color-mix(in srgb, var(--accent-soft) 56%, transparent)}.archive-folder-edit-action:disabled{cursor:default;opacity:.32}.archive-add-button{width:48px;height:48px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:9px;flex:none;place-items:center;margin-left:auto;padding:0;display:grid}.archive-add-button:hover,.archive-add-button:focus-visible{color:var(--accent-strong);background:color-mix(in srgb, var(--accent-soft) 56%, transparent)}.archive-add-button svg{width:18px;height:18px}.archive-subject>summary{font-size:14px;font-weight:700}.archive-series{margin-left:var(--archive-level-step);position:relative}.archive-series:before,.archive-series:after{z-index:0;background:var(--line);content:"";pointer-events:none;position:absolute}.archive-series:before{top:0;bottom:0;left:var(--archive-parent-spine);transform-origin:top;width:1px}.archive-series:first-of-type:before{top:-14px}.archive-series:last-of-type:before{height:24px;bottom:auto}.archive-series:first-of-type:last-of-type:before{height:38px}.archive-series:after{top:23.5px;left:var(--archive-parent-spine);width:var(--archive-arm-length);transform-origin:0;height:1px}.archive-series>summary{min-height:48px;color:var(--text-muted);font-size:13px;font-weight:630}.archive-create-row{grid-template-columns:minmax(0,1fr) 48px 48px;gap:2px;min-height:48px;margin:2px 0 4px 34px;display:grid}.archive-create-row.archive-create-root{margin:2px 0 4px}.lesson-list>.archive-create-row{margin:0 0 3px}.archive-create-row input{border:1px solid var(--line-strong);min-width:0;height:48px;color:var(--text);background:var(--toolbar);font:inherit;border-radius:9px;outline:0;padding:0 10px;font-size:13px}.archive-create-row input:focus{border-color:color-mix(in srgb, var(--accent) 70%, var(--line-strong));box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent)}.archive-create-row button{width:48px;height:48px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:9px;place-items:center;padding:0;display:grid}.archive-create-row button:is(:hover,:focus-visible):not(:disabled){color:var(--text);background:var(--toolbar-strong)}.archive-create-row button[type=submit]:not(:disabled){color:var(--accent-strong)}.archive-create-row button:disabled{cursor:default;opacity:.32}.archive-create-row button svg{width:18px;height:18px}.archive-subject-create{width:100%;min-height:48px;color:var(--text-muted);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:9px;padding:0 9px;font-size:13px;font-weight:620;display:flex}.archive-subject-create:hover,.archive-subject-create:focus-visible{color:var(--accent-strong);background:color-mix(in srgb, var(--accent-soft) 48%, transparent)}.archive-subject-create svg{flex:none;width:18px;height:18px}.archive-trash{border-top:1px solid var(--line);margin-top:10px;padding-top:8px}.archive-trash>summary{min-height:48px;color:var(--text-muted);cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:10px;align-items:center;gap:9px;padding:0 9px;font-size:13px;font-weight:620;list-style:none;display:flex}.archive-trash>summary::-webkit-details-marker{display:none}.archive-trash>summary:hover{color:var(--text);background:var(--toolbar-strong)}.archive-trash>summary svg{flex:none;width:18px;height:18px}.archive-trash-list{gap:2px;padding:2px 0 4px 10px;display:grid}.archive-trash-item{border-radius:9px;align-items:center;gap:8px;min-height:48px;padding-left:9px;display:flex}.archive-trash-item:hover{background:var(--toolbar-strong)}.archive-trash-copy{flex:auto;gap:2px;min-width:0;display:grid}.archive-trash-copy>span{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:620;overflow:hidden}.archive-trash-copy small{color:var(--text-muted);font-size:11px}.archive-trash-item>button{width:48px;height:48px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:9px;flex:none;place-items:center;padding:0;display:grid}.archive-trash-item>button:hover,.archive-trash-item>button:focus-visible{color:var(--accent-strong);background:color-mix(in srgb, var(--accent-soft) 56%, transparent)}.archive-trash-item>button svg{width:17px;height:17px}.lesson-list{margin:2px 0 8px calc(var(--archive-row-inset) + var(--archive-icon-half) + 1px);padding-left:var(--archive-row-inset);gap:3px;display:grid;position:relative}.lesson-list:before{background:var(--line);content:"";pointer-events:none;transform-origin:top;width:1px;position:absolute;top:-16px;bottom:0;left:-1px}@keyframes archive-guide-reveal{0%{opacity:0;transform:scaleY(0)}to{opacity:1;transform:scaleY(1)}}@keyframes archive-entry-reveal{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes archive-lesson-reveal{0%{opacity:0}to{opacity:1}}@keyframes archive-arm-reveal{0%{transform:scaleX(0)}to{transform:scaleX(1)}}.archive-series[open].is-opening>.lesson-list:before,.archive-subject[open].is-opening>.archive-branch-content>.archive-series[open]>.lesson-list:before{animation:75ms ease-out both archive-guide-reveal}.archive-series[open].is-opening>.lesson-list>.lesson-link{animation:.145s ease-out both archive-lesson-reveal;animation-delay:calc(72ms + var(--archive-lesson-step,0) * 14ms)}.archive-series[open].is-opening>.lesson-list>.lesson-link .lesson-link-title:before{animation:.145s ease-out both archive-arm-reveal;animation-delay:calc(72ms + var(--archive-lesson-step,0) * 14ms)}.archive-subject[open].is-opening>.archive-branch-content>.archive-series>summary{animation:.13s ease-out both archive-lesson-reveal;animation-delay:calc(65ms + var(--archive-series-step,0) * 14ms)}.archive-subject[open].is-opening>.archive-branch-content>.archive-series:before{animation:75ms ease-out both archive-guide-reveal;animation-delay:calc(var(--archive-series-step,0) * 14ms)}.archive-subject[open].is-opening>.archive-branch-content>.archive-series:after{animation:.13s ease-out both archive-arm-reveal;animation-delay:calc(65ms + var(--archive-series-step,0) * 14ms)}.archive-subject[open].is-opening>.archive-branch-content>.archive-series[open]>.lesson-list:before{animation-delay:calc(var(--archive-series-step,0) * 14ms)}.archive-subject[open].is-opening>.archive-branch-content>.archive-series[open]>.lesson-list>.lesson-link{animation:.14s ease-out both archive-lesson-reveal;animation-delay:calc(95ms + var(--archive-series-step,0) * 14ms + var(--archive-lesson-step,0) * 12ms)}.archive-subject[open].is-opening>.archive-branch-content>.archive-series[open]>.lesson-list>.lesson-link .lesson-link-title:before{animation:.14s ease-out both archive-arm-reveal;animation-delay:calc(95ms + var(--archive-series-step,0) * 14ms + var(--archive-lesson-step,0) * 12ms)}@media (prefers-reduced-motion:reduce){.archive-series[open].is-opening>.lesson-list:before,.archive-series[open].is-opening>.lesson-list>.lesson-link,.archive-series[open].is-opening>.lesson-list>.lesson-link .lesson-link-title:before,.archive-subject[open].is-opening>.archive-branch-content>.archive-series>summary,.archive-subject[open].is-opening>.archive-branch-content>.archive-series:before,.archive-subject[open].is-opening>.archive-branch-content>.archive-series:after,.archive-subject[open].is-opening>.archive-branch-content>.archive-series[open]>.lesson-list:before,.archive-subject[open].is-opening>.archive-branch-content>.archive-series[open]>.lesson-list>.lesson-link,.archive-subject[open].is-opening>.archive-branch-content>.archive-series[open]>.lesson-list>.lesson-link .lesson-link-title:before{animation:none}}.lesson-link{min-height:48px;color:var(--text-muted);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:9px;align-content:center;gap:3px;padding:8px 11px;font-size:13px;font-weight:540;line-height:1.25;display:grid}.lesson-link-title{color:inherit;font-weight:620;position:relative}.lesson-link-title:before{top:calc(.625em - .5px);left:calc(-1 * (var(--archive-arm-length) + var(--archive-arm-gap)));width:var(--archive-arm-length);background:var(--line);content:"";pointer-events:none;transform-origin:0;height:1px;position:absolute}.lesson-link-date{color:var(--text-muted);font-variant-numeric:tabular-nums;font-size:11px;font-weight:540}.lesson-link:hover{color:var(--text);background:var(--toolbar-strong)}.lesson-link[aria-current=page]{color:var(--text);background:var(--accent-soft);box-shadow:inset 3px 0 0 var(--accent)}.lesson-link[aria-current=page] .lesson-link-title{font-weight:700}.lesson-link-editor{color:var(--accent-strong);background:var(--accent-soft);box-shadow:inset 3px 0 0 var(--accent)}.lesson-link-editor input{width:100%;min-width:0;color:inherit;font:inherit;background:0 0;border:0;outline:0;padding:0;font-size:13px;font-weight:670;line-height:1.25}.lesson-link-editor input::placeholder{color:color-mix(in srgb, var(--accent-strong) 55%, var(--text-muted));opacity:1}.archive-context-menu{z-index:70;border:1px solid var(--line-strong);background:var(--toolbar);width:168px;box-shadow:var(--shadow-soft);border-radius:11px;gap:2px;padding:5px;display:grid;position:fixed}.archive-context-menu button{width:100%;min-height:48px;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;padding:0 11px;font-size:13px;font-weight:600;display:flex}.archive-context-menu button:hover:not(:disabled),.archive-context-menu button:focus-visible{background:var(--toolbar-strong)}.archive-context-menu button:disabled{cursor:default;opacity:.42}.archive-context-menu button.is-destructive{color:var(--danger)}.archive-context-menu svg{flex:none;width:17px;height:17px}.archive-context-menu-divider{background:var(--line);height:1px;margin:3px 8px}.canvas-element-context-menu{z-index:72;width:188px}.canvas-element-context-menu kbd{color:var(--text-muted);font:inherit;margin-left:auto;font-size:11px;font-weight:560}.canvas-engine,.canvas-engine>.excalidraw{position:absolute;inset:0}.canvas-engine .layer-ui__wrapper,.canvas-engine .excalidraw .App-menu,.canvas-engine .excalidraw .App-toolbar,.canvas-engine .excalidraw .App-toolbar-container,.canvas-engine .excalidraw .App-bottom-bar,.canvas-engine .excalidraw .App-mobile-menu,.canvas-engine .excalidraw .mobile-misc-tools-container,.canvas-engine .excalidraw .default-sidebar-trigger{display:none!important}.canvas-engine.is-simple-marker-selection .HintViewer{display:none}.canvas-engine .excalidraw{--color-selection:var(--accent);--color-primary:var(--accent);--color-primary-darker:var(--accent-strong);--color-primary-light:var(--accent-soft)}.canvas-engine.is-pan-cursor-ready,.canvas-engine.is-pan-cursor-ready *{cursor:grab!important}.canvas-engine.is-pan-cursor-dragging,.canvas-engine.is-pan-cursor-dragging *{cursor:grabbing!important}.pan-cursor-guard{z-index:90;cursor:grabbing;touch-action:none;position:absolute;inset:0}.audio-canvas-player-layer,.local-video-canvas-player-layer,.interactive-html-canvas-layer{z-index:6;contain:strict;pointer-events:none;position:absolute;inset:0;overflow:hidden}.interactive-html-canvas-frame{border-radius:calc(14px * var(--interactive-html-canvas-scale,1));transform-origin:50%;pointer-events:none;background:0 0;border:0;position:absolute;overflow:hidden}.interactive-html-canvas-frame.is-fully-covered{visibility:hidden;pointer-events:none}.interactive-html-canvas-frame__visibility{border-radius:inherit;pointer-events:auto;background:0 0;position:absolute;inset:0;overflow:hidden}.interactive-html-canvas-frame.defers-to-canvas-tool .interactive-html-canvas-frame__visibility,.interactive-html-canvas-frame.has-selected-annotation{pointer-events:none}.interactive-html-canvas-frame__annotations{z-index:3;pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.interactive-html-canvas-frame__annotation-hit{stroke:#0000;pointer-events:stroke;cursor:move}.interactive-html-canvas-frame__annotation-text-hit{pointer-events:auto;cursor:move}.interactive-html-canvas-frame__annotation-hit--filled{pointer-events:all}.interactive-html-canvas-frame.defers-to-canvas-tool .interactive-html-canvas-frame__annotation-hit,.interactive-html-canvas-frame.defers-to-canvas-tool .interactive-html-canvas-frame__annotation-text-hit,.interactive-html-canvas-frame__annotation-selection{pointer-events:none}.interactive-html-canvas-frame__annotation-selection-box,.interactive-html-canvas-frame__annotation-selection-line{fill:none;stroke:var(--accent);stroke-width:1.5px;vector-effect:non-scaling-stroke}.interactive-html-canvas-frame__annotation-selection-handle{fill:var(--paper);stroke:var(--accent);stroke-width:1.5px;vector-effect:non-scaling-stroke}.interactive-html-canvas-frame__annotation-text{white-space:pre-wrap;pointer-events:none;width:100%;height:100%;font-family:Nunito,sans-serif;overflow:hidden}.interactive-html-canvas-frame.has-material-shadow{box-shadow:0 8px 22px #2a303729,0 2px 5px #2a30371a}:root[data-theme=dark] .interactive-html-canvas-frame.has-material-shadow{box-shadow:0 12px 30px #00000057,0 2px 7px #0000003d}.interactive-html-canvas-frame__titlebar-viewport{z-index:2;background:var(--toolbar);width:100%;position:absolute;top:0;left:0;overflow:hidden}.interactive-html-canvas-frame__titlebar{color:var(--text);background:var(--toolbar);cursor:grab;touch-action:none;transform-origin:0 0;-webkit-user-select:none;user-select:none;border-bottom:0;align-items:center;gap:10px;padding:0 15px;display:flex}.interactive-html-canvas-frame__titlebar:active{cursor:grabbing}.interactive-html-canvas-frame__titlebar svg{width:20px;height:20px;color:var(--text-muted);flex:none}.interactive-html-canvas-frame__titlebar strong{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;font-size:14px;font-weight:650;overflow:hidden}.interactive-html-canvas-frame__app-icon{flex:none;width:25px;height:25px}.interactive-html-canvas-frame__app-actions{flex:none;align-items:center;height:48px;margin-right:-10px;display:flex}.interactive-html-canvas-frame__app-actions a{width:48px;height:48px;color:var(--text-muted);border-radius:9px;place-items:center;display:grid}.interactive-html-canvas-frame__app-actions a:hover,.interactive-html-canvas-frame__app-actions a:focus-visible{color:var(--accent-strong);outline:2px solid var(--accent);outline-offset:-4px}.interactive-html-canvas-frame__app-status{color:var(--text-muted);align-items:center;gap:6px;margin-right:3px;font-size:12px;font-weight:600;display:none}.interactive-html-canvas-frame__app-status.is-loading,.interactive-html-canvas-frame__app-status.is-unavailable{display:flex}.interactive-html-canvas-frame__app-status.is-unavailable{color:var(--warning)}.interactive-html-canvas-frame__app-status.is-loading svg{animation:.9s linear infinite save-status-spin}.interactive-html-canvas-frame.is-embedded-app .interactive-html-canvas-frame__content{background:0 0}.interactive-html-canvas-frame__content{transform-origin:0 0;background:0 0;border:0;display:block;position:absolute;left:0}.canvas-engine.is-projected-media-zooming .interactive-html-canvas-frame__content,.canvas-engine.is-material-moving iframe{pointer-events:none}.youtube-canvas-player-layer{z-index:6;contain:strict;pointer-events:none;position:absolute;inset:0;overflow:hidden}.youtube-canvas-player{transform-origin:50%;pointer-events:auto;background:#000;border:0;border-radius:min(12px,3%);position:absolute;overflow:hidden}.youtube-canvas-player.is-covered{pointer-events:none}.youtube-canvas-player__surface{transform-origin:0 0;position:absolute;top:0;left:0}.youtube-canvas-player iframe{background:#000;border:0;width:100%;height:100%;display:block}.youtube-canvas-player:not(.is-active) iframe,.youtube-canvas-player.is-covered iframe,.canvas-engine.is-projected-media-zooming .youtube-canvas-player iframe{pointer-events:none}.youtube-canvas-player__activation{appearance:none;z-index:1;border-radius:inherit;cursor:grab;touch-action:none;background:0 0;border:0;padding:0;position:absolute;inset:0}.youtube-canvas-player__activation:active{cursor:grabbing}.local-video-canvas-player{border-radius:calc(14px * var(--video-player-scale,1));box-shadow:none;transform-origin:50%;pointer-events:none;background:#090c11;border:0;display:block;position:absolute;overflow:hidden}.local-video-canvas-player__surface{--video-control:#f6f8fad1;--video-muted:#e7ecf1a8;--video-track:#e6edf240;--video-accent:#48a7df;color:#f6f8fa;transform-origin:0 0;pointer-events:auto;touch-action:none;background:#090c11;border-radius:14px;width:640px;height:360px;position:absolute;top:0;left:0;overflow:hidden}.local-video-canvas-player.is-covered .local-video-canvas-player__surface{pointer-events:none}.local-video-canvas-player video{object-fit:contain;pointer-events:none;background:#090c11;width:100%;height:100%;display:block}.local-video-canvas-player button,.local-video-canvas-player input,.local-video-canvas-player label{pointer-events:auto}.local-video-canvas-player button{width:40px;height:40px;color:var(--video-control);cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:0;border-radius:10px;flex:none;place-items:center;padding:0;display:grid;position:relative}.local-video-canvas-player button:is(:hover,:focus-visible):not(:disabled){color:#fff;background:#ffffff1a;outline:none}.local-video-canvas-player input:focus-visible{outline:2px solid var(--video-accent);outline-offset:-2px}.local-video-canvas-player button svg{stroke-width:1.9px;width:19px;height:19px}.local-video-canvas-player button>span{place-items:center;padding-top:1px;font-size:7px;font-weight:800;display:grid;position:absolute;inset:0}.local-video-canvas-player__main-play{top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 10px 28px #0000004d;color:#fff!important;background:#131f2bc7!important;border-radius:50%!important;width:66px!important;height:66px!important;position:absolute!important}.local-video-canvas-player__main-play:is(:hover,:focus-visible):not(:disabled){background:#176eaae6!important}.local-video-canvas-player__main-play svg{width:27px!important;height:27px!important}.local-video-canvas-player__controls{background:linear-gradient(#0000,#04070be0 35%);grid-template-columns:40px 40px 40px minmax(72px,118px) minmax(96px,1fr) auto 96px 40px;align-items:center;gap:2px;min-width:0;height:66px;padding:18px 10px 8px;display:grid;position:absolute;bottom:0;left:0;right:0}.local-video-canvas-player__title{letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap;cursor:grab;-webkit-user-select:none;user-select:none;min-width:0;padding:0 7px;font-size:11.5px;font-weight:680;overflow:hidden}.local-video-canvas-player__time{color:var(--video-muted);font-variant-numeric:tabular-nums;white-space:nowrap;padding:0 7px;font-size:10.5px}.local-video-canvas-player__range{--video-progress:0%;appearance:none;cursor:pointer;background:0 0;width:100%;height:18px;margin:0}.local-video-canvas-player__range::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--video-accent) 0 var(--video-progress), var(--video-track) var(--video-progress) 100%);border-radius:999px;height:4px}.local-video-canvas-player__range::-webkit-slider-thumb{appearance:none;background:var(--video-accent);border:2px solid #f6f8fa;border-radius:50%;width:14px;height:14px;margin-top:-5px;box-shadow:0 1px 5px #0000004d}.local-video-canvas-player__volume{min-width:0;color:var(--video-muted);grid-template-columns:18px minmax(54px,1fr);align-items:center;gap:6px;padding:0 5px;display:grid}.local-video-canvas-player__volume svg{width:18px;height:18px}.local-video-canvas-player:fullscreen{background:#000;border-radius:0;place-items:center;display:grid;width:100vw!important;height:100vh!important;inset:0!important;transform:none!important}.local-video-canvas-player:fullscreen .local-video-canvas-player__surface{border-radius:0;width:min(100vw,177.778vh);height:min(100vh,56.25vw);position:relative;transform:none!important}.audio-canvas-player{border-radius:calc(14px * var(--audio-player-scale,1));box-shadow:none;transform-origin:50%;pointer-events:none;background:0 0;border:0;display:block;position:absolute;overflow:visible}.audio-canvas-player__surface{--audio-player-surface:#e9edef;--audio-player-raised:#f9faf9;--audio-player-track:#d5dde1;--audio-player-border:#1f293321;--audio-player-text:#202832;--audio-player-muted:#6b7680;--audio-player-control:#5f6b76;--audio-player-hover:#1f293312;--audio-player-accent:#176eaa;--audio-player-accent-hover:#0f5f96;--audio-player-accent-soft:#176eaa2e;width:460px;height:88px;color:var(--audio-player-text);background:var(--audio-player-surface);box-shadow:none;transform-origin:0 0;pointer-events:auto;border:0;border-radius:14px;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 14px;display:grid;overflow:hidden}:root[data-theme=dark] .audio-canvas-player__surface{--audio-player-surface:#29333f;--audio-player-raised:#384452;--audio-player-track:#1f2833;--audio-player-border:#ebeff424;--audio-player-text:#f2f1ec;--audio-player-muted:#acb7c2;--audio-player-control:#c2ccd5;--audio-player-hover:#eff2f617;--audio-player-accent:#48a7df;--audio-player-accent-hover:#67b8e7;--audio-player-accent-soft:#48a7df38}.audio-canvas-player audio{display:none}.audio-canvas-player button,.audio-canvas-player input,.audio-canvas-player select{pointer-events:auto}.audio-canvas-player button{color:var(--audio-player-control);cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:0;place-items:center;padding:0;display:grid}.audio-canvas-player__play{width:46px;height:46px;box-shadow:0 5px 14px var(--audio-player-accent-soft);border-radius:50%;transition:background-color .14s,transform .14s,box-shadow .14s;color:#fff!important;background:var(--audio-player-accent)!important}.audio-canvas-player__play:is(:hover,:focus-visible):not(:disabled){box-shadow:0 7px 18px var(--audio-player-accent-soft);outline:none;background:var(--audio-player-accent-hover)!important}.audio-canvas-player__play:active{transform:scale(.97)}.audio-canvas-player__play svg{stroke-width:1.9px;width:20px;height:20px}.audio-canvas-player__center{min-width:0}.audio-canvas-player__meta{cursor:grab;pointer-events:auto;-webkit-user-select:none;user-select:none;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:12px;margin-bottom:2px;display:grid}.audio-canvas-player__meta:active{cursor:grabbing}.audio-canvas-player__meta strong{letter-spacing:-.012em;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12.5px;font-weight:690;overflow:hidden}.audio-canvas-player__meta span{color:var(--audio-player-muted);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:10.5px}.audio-canvas-player__range{--audio-progress:0%;appearance:none;cursor:pointer;background:0 0;width:100%;height:16px;margin:0}.audio-canvas-player__range::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--audio-player-accent) 0 var(--audio-progress), var(--audio-player-track) var(--audio-progress) 100%);border-radius:999px;height:4px}.audio-canvas-player__range::-webkit-slider-thumb{appearance:none;border:2px solid var(--audio-player-raised);background:var(--audio-player-accent);border-radius:50%;width:14px;height:14px;margin-top:-5px;box-shadow:0 1px 5px #141b2438}.audio-canvas-player__actions{align-items:center;gap:2px;display:flex}.audio-canvas-player__actions button{border-radius:10px;width:38px;height:38px;position:relative}.audio-canvas-player__actions button:is(:hover,:focus-visible):not(:disabled){color:var(--audio-player-text);background:var(--audio-player-hover);outline:none}.audio-canvas-player__actions button[aria-expanded=true]{color:var(--audio-player-accent);background:0 0}.audio-canvas-player__actions button[aria-expanded=true]:after{width:18px;height:2px;box-shadow:0 0 7px var(--audio-player-accent-soft);content:"";background:currentColor;border-radius:999px;position:absolute;bottom:2px;right:50%;transform:translate(50%)}.audio-canvas-player__actions svg{stroke-width:1.9px;width:19px;height:19px}.audio-canvas-player__actions button>span{place-items:center;padding-top:1px;font-size:7px;font-weight:800;line-height:1;display:grid;position:absolute;inset:0}.audio-canvas-player__settings{grid-template-columns:minmax(96px,1fr) auto;align-items:center;gap:10px;display:grid}.audio-canvas-player__volume{min-width:0;color:var(--audio-player-muted);grid-template-columns:18px minmax(70px,1fr);align-items:center;gap:7px;display:grid}.audio-canvas-player__volume>svg,.audio-canvas-player__speed>svg{width:18px;height:18px}.audio-canvas-player__speed{border:1px solid var(--audio-player-border);height:34px;color:var(--audio-player-control);background:var(--audio-player-raised);pointer-events:auto;border-radius:9px;grid-template-columns:18px auto 12px;align-items:center;gap:4px;padding:0 7px;display:grid;position:relative}.audio-canvas-player__speed select{width:62px;height:32px;color:var(--audio-player-text);appearance:none;cursor:pointer;background:0 0;border:0;outline:0;grid-area:1/2/auto/4;padding:0 17px 0 0;font-size:11px;font-weight:650}.audio-canvas-player__speed>svg:first-child{grid-area:1/1}.audio-canvas-player__chevron{pointer-events:none;grid-area:1/3;width:14px!important;height:14px!important}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.material-shadow-layer{z-index:2;contain:strict;pointer-events:none;position:absolute;inset:0;overflow:hidden}.material-shadow-frame{transform-origin:50%;position:absolute}.material-shadow-frame.has-image-border{outline-offset:-1px;outline:1px solid #646e784d}.material-shadow-frame.has-material-shadow{box-shadow:0 8px 22px #2a303729,0 2px 5px #2a30371a}.shape-shadow-frame{transform-origin:50%;position:absolute;overflow:visible}:root[data-theme=dark] .material-shadow-frame.has-material-shadow{box-shadow:0 12px 30px #00000057,0 2px 7px #0000003d}@media (prefers-reduced-motion:reduce){.settings-popover{animation:none}}.canvas-engine textarea.excalidraw-wysiwyg{border-bottom:2px dashed color-mix(in srgb, var(--accent) 58%, transparent)!important}.canvas-engine.is-editing-bound-text textarea.excalidraw-wysiwyg{min-width:0!important}.canvas-engine.is-editing-rich-text textarea.excalidraw-wysiwyg{color:#0000!important;caret-color:#0000!important}.canvas-engine.is-editing-rich-text textarea.excalidraw-wysiwyg::selection{color:#0000;background:0 0}.rich-text-selection-overlay{z-index:17;transform-origin:50%;cursor:text;touch-action:none;-webkit-user-select:none;user-select:none;position:absolute}.rich-text-selection-overlay.is-preview-only{pointer-events:none}.rich-text-selection-mark{background:color-mix(in srgb, var(--accent) 44%, transparent);pointer-events:none;position:absolute}.rich-text-live-preview{pointer-events:none;position:absolute;inset:0}.rich-text-selection-caret{background:var(--accent);pointer-events:none;animation:1s step-end infinite rich-text-caret-blink;position:absolute}@keyframes rich-text-caret-blink{50%{opacity:0}}@media (prefers-reduced-motion:reduce){.rich-text-selection-caret{animation:none}}.context-formatting-toolbar{z-index:18;border:1px solid var(--line-strong);min-height:64px;color:var(--text);background:var(--toolbar);pointer-events:auto;border-radius:15px;align-items:center;gap:4px;padding:7px;animation:.15s ease-out both context-formatting-toolbar-in;display:flex;position:absolute;box-shadow:0 16px 38px #2a303724,0 2px 8px #2a303714}:root[data-theme=dark] .context-formatting-toolbar{box-shadow:0 18px 42px #00000057,0 2px 10px #00000038}.context-formatting-toolbar.is-above{transform:translate(-50%,-100%)}.context-formatting-toolbar.is-below{transform:translate(-50%)}.context-formatting-toolbar.is-text{width:min(550px,100% - 20px);min-height:116px}.context-formatting-toolbar.is-text.is-detached{transform:none}.context-formatting-toolbar.is-shape{width:550px;height:64px;min-height:0;transition:left .26s cubic-bezier(.22,1,.36,1),top .26s cubic-bezier(.22,1,.36,1),width .26s cubic-bezier(.22,1,.36,1),height .26s cubic-bezier(.22,1,.36,1)}.context-formatting-toolbar.is-shape.is-detached{transform:none}.context-formatting-toolbar.is-shape.is-dragging{transition:none;box-shadow:0 24px 48px #2a303738,0 4px 12px #2a30371f}.context-formatting-toolbar.is-shape.is-side-docked{grid-template-columns:repeat(3,48px);align-content:center;width:168px;height:290px;display:grid}.context-formatting-toolbar.is-shape.is-side-docked .context-formatting-divider{grid-column:1/-1;width:100%;height:1px;margin:0}.context-formatting-toolbar.is-shape.is-side-docked .shape-color-options{grid-column:1/-1;grid-template-columns:repeat(3,48px);display:grid}.shape-toolbar-dock-preview{z-index:17;border:2px solid color-mix(in srgb, var(--accent) 60%, transparent);background:color-mix(in srgb, var(--accent) 9%, transparent);width:550px;height:64px;box-shadow:0 0 0 5px color-mix(in srgb, var(--accent) 8%, transparent);pointer-events:none;border-radius:16px;position:absolute}.shape-toolbar-dock-preview.is-side{width:168px;height:290px}@media (prefers-reduced-motion:reduce){.context-formatting-toolbar.is-shape{transition:none}}.text-formatting-toggle{position:relative}.text-formatting-toggle .text-formatting-toggle-chevron{width:12px;height:12px;position:absolute;bottom:4px;right:4px}.text-quick-actions .text-formatting-toggle .text-formatting-toggle-chevron{width:9px;height:9px;bottom:2px;right:2px}.text-formatting-toggle[aria-expanded=true]{border-color:color-mix(in srgb, var(--accent) 32%, transparent);color:var(--accent-strong);background:var(--accent-soft)}.text-formatting-rows{flex-direction:column;gap:2px;min-width:0;display:flex}.text-formatting-row{align-items:center;gap:4px;min-width:0;display:flex}.text-formatting-row:first-child{overflow:visible}@media (width<=580px){.text-formatting-row:first-child{scrollbar-width:none;overflow-x:auto}.text-formatting-row:first-child::-webkit-scrollbar{display:none}}.text-formatting-row>*{flex-shrink:0}.text-toolbar-drag-handle{cursor:grab;touch-action:none;align-self:stretch;height:auto!important}.text-toolbar-drag-handle:active{cursor:grabbing}.text-formatting-font-control,.text-vertical-control{position:relative}.text-vertical-palette{z-index:2;border:1px solid var(--line-strong);background:var(--toolbar);border-radius:14px;gap:2px;padding:6px;display:flex;position:absolute;left:0;box-shadow:0 14px 34px #2a303729}.context-formatting-toolbar.is-above .text-vertical-palette{bottom:calc(100% + 8px)}.context-formatting-toolbar.is-below .text-vertical-palette{top:calc(100% + 68px)}.context-formatting-toolbar.is-above.vertical-palette-toward-text .text-vertical-palette{top:calc(100% + 68px);bottom:auto}.text-font-palette{z-index:2;border:1px solid var(--line-strong);background:var(--toolbar);border-radius:14px;gap:2px;padding:6px;display:flex;position:absolute;top:calc(100% + 10px);left:0;box-shadow:0 14px 34px #2a303729}.text-formatting-font-group,.text-formatting-size-group,.text-color-control{align-items:center;display:flex}.text-color-control{position:relative}.text-formatting-font-button,.text-formatting-size-button,.context-formatting-button{width:48px;height:48px;color:var(--text-muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:11px;place-items:center;padding:0;transition:color .13s,background-color .13s,border-color .13s,transform 90ms;display:grid}.text-formatting-font-button{font-size:17px;line-height:1}.text-formatting-size-button{letter-spacing:-.01em;font-size:13px;font-weight:720}.context-formatting-button svg{pointer-events:none;width:21px;height:21px}.text-move-handle{cursor:grab;touch-action:none}.text-move-handle:hover{color:var(--accent-strong)}.text-move-handle.is-dragging{border-color:color-mix(in srgb, var(--accent) 32%, transparent);color:var(--accent-strong);background:var(--accent-soft);cursor:grabbing;box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent) 10%, transparent)}.text-color-trigger{font-size:18px;font-weight:760;line-height:1;position:relative}.text-color-trigger-line{border:1px solid color-mix(in srgb, var(--line-strong) 72%, transparent);border-radius:999px;height:3px;position:absolute;bottom:10px;left:13px;right:13px}.text-color-palette{z-index:1;border:1px solid var(--line-strong);background:var(--toolbar);border-radius:14px;gap:2px;padding:6px;animation:.13s ease-out both context-formatting-toolbar-in;display:flex;position:absolute;right:-7px;box-shadow:0 14px 34px #2a303729,0 2px 8px #2a30371a}.context-formatting-toolbar.is-above .text-color-palette{bottom:calc(100% + 8px)}.context-formatting-toolbar.is-below .text-color-palette{top:calc(100% + 8px)}.context-formatting-toolbar.is-above.color-palette-toward-text .text-color-palette{top:calc(100% + 8px);bottom:auto}:root[data-theme=dark] .text-color-palette{box-shadow:0 16px 36px #0000005c,0 2px 9px #0000003d}.text-color-swatch-button{cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;place-items:center;width:48px;height:48px;padding:0;transition:background-color .13s,border-color .13s,transform 90ms;display:grid}.text-color-swatch-button:hover{background:var(--toolbar-strong)}.text-color-swatch-button[aria-pressed=true]{border-color:color-mix(in srgb, var(--accent) 34%, transparent);background:var(--accent-soft)}.text-color-swatch-button:active{transform:scale(.94)}.text-color-swatch{border:1px solid color-mix(in srgb, var(--text) 18%, transparent);border-radius:50%;place-items:center;width:25px;height:25px;display:grid;box-shadow:inset 0 0 0 1px #ffffff2e}.text-color-swatch svg{color:#fff;filter:drop-shadow(0 1px 1px #0000005c);width:15px;height:15px}.text-color-swatch.is-light svg{color:#1b222b;filter:none}.text-formatting-font-button:is(:hover,:focus-visible),.text-formatting-size-button:is(:hover,:focus-visible),.context-formatting-button:is(:hover,:focus-visible){color:var(--text);background:var(--toolbar-strong)}.text-formatting-font-button[aria-pressed=true],.text-formatting-size-button[aria-pressed=true],.context-formatting-button[aria-pressed=true]{border-color:color-mix(in srgb, var(--accent) 32%, transparent);color:var(--accent-strong);background:var(--accent-soft);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent) 10%, transparent)}.text-formatting-font-button:active,.text-formatting-size-button:active,.context-formatting-button:active{transform:scale(.94)}.context-formatting-divider{background:var(--line);width:1px;height:28px;margin-inline:3px}@keyframes context-formatting-toolbar-in{0%{opacity:0}to{opacity:1}}.canvas-zoom-controls{z-index:17;border:1px solid var(--line);height:36px;color:var(--text-muted);background:color-mix(in srgb, var(--toolbar) 94%, transparent);box-shadow:var(--shadow-soft);border-radius:11px;align-items:stretch;padding:2px;transition:right .2s,bottom .2s;display:flex;position:fixed;bottom:18px;right:18px}.canvas-zoom-button,.canvas-zoom-value{height:30px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;padding:0;display:grid}.canvas-zoom-button{width:30px}.canvas-zoom-button svg{width:16px;height:16px}.canvas-zoom-value{font-variant-numeric:tabular-nums;min-width:54px;padding-inline:6px;font-size:12px;font-weight:650}.canvas-zoom-button:is(:hover,:focus-visible):not(:disabled),.canvas-zoom-value:is(:hover,:focus-visible):not(:disabled){color:var(--text);background:var(--toolbar-strong)}.canvas-zoom-button:disabled,.canvas-zoom-value:disabled{cursor:default;opacity:.38}:root[data-toolbar=right] .canvas-zoom-controls{right:102px}@media (width<=900px){:root[data-toolbar=bottom] .canvas-zoom-controls{bottom:82px}}.element-focus-layer{z-index:10;pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.element-focus-panel-layer{contain:strict}.element-focus-panel{background:var(--focus-dim);transform-origin:0 0;will-change:transform;animation:.18s ease-out both element-focus-dim-in;position:absolute;top:0;left:0}.element-focus-mask-base{fill:#fff}.element-focus-cutout{fill:#000;animation:.22s ease-out both element-focus-cutout-in}.element-focus-dim{fill:var(--focus-dim);animation:.26s ease-out both element-focus-dim-in}.image-quick-actions{z-index:14;pointer-events:none;position:absolute;inset:0}.image-quick-action{appearance:none;border:1px solid color-mix(in srgb, var(--accent) 38%, var(--line));width:40px;height:40px;color:var(--accent-strong);background-color:var(--toolbar);box-shadow:var(--shadow-soft);isolation:isolate;pointer-events:auto;cursor:pointer;background-clip:padding-box;border-radius:50%;place-items:center;padding:0;transition:border-color .14s,background-color .14s,color .14s,transform .1s;animation:.14s ease-out both image-focus-button-in;display:grid;position:absolute;overflow:hidden;transform:translate(-50%,-50%)}.image-quick-action:is(:hover,:focus-visible){background-color:var(--accent-soft)}.image-quick-action:active{color:var(--toolbar);background-color:var(--accent);transform:translate(-50%,-50%)scale(.94)}.image-quick-action:disabled{cursor:progress;opacity:.58}.image-print-button[aria-busy=true]{color:var(--accent-strong);background-color:var(--accent-soft);opacity:1}.interactive-live-lock-button[aria-pressed=true],.interactive-persist-button[aria-pressed=true]{color:var(--toolbar);border-color:var(--accent);background-color:var(--accent-strong)}.interactive-persist-button[aria-pressed=true]:hover{background-color:var(--accent)}.interactive-persist-button:disabled,.interactive-reset-button:disabled{cursor:default}.interactive-reset-dialog-layer{z-index:60;background:color-mix(in srgb, var(--text) 28%, transparent);pointer-events:auto;place-items:center;padding:24px;display:grid;position:absolute;inset:0}.interactive-reset-dialog{border:1px solid var(--line-strong);width:min(430px,100vw - 48px);color:var(--text);background:var(--toolbar);box-shadow:var(--shadow);border-radius:16px;grid-template-columns:auto minmax(0,1fr);gap:16px;padding:22px;display:grid}.interactive-reset-dialog__icon{width:24px;height:24px;color:var(--warning);margin-top:2px}.interactive-reset-dialog__copy h2{margin:0;font-size:19px;line-height:1.25}.interactive-reset-dialog__copy p{color:var(--text-muted);margin:8px 0 0;font-size:14px;line-height:1.45}.interactive-reset-dialog__actions{grid-column:1/-1;justify-content:flex-end;gap:10px;margin-top:4px;display:flex}.interactive-reset-dialog__actions button{appearance:none;border:1px solid var(--line-strong);min-height:40px;color:var(--text);background:var(--toolbar-strong);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:0 15px;display:inline-flex}.interactive-reset-dialog__actions .is-danger{border-color:color-mix(in srgb, var(--danger) 60%, var(--line-strong));color:#fff;background:var(--danger)}.interactive-live-lock-button[aria-pressed=true]:hover{background-color:var(--accent)}.image-focus-button[aria-pressed=true]{border-color:var(--accent);color:var(--toolbar);background-color:var(--accent);box-shadow:var(--shadow-soft)}.image-focus-button[aria-pressed=true]:disabled{cursor:default;opacity:1}.image-cover-button[aria-pressed=true],.image-crop-button[aria-pressed=true],.image-enhance-button[aria-pressed=true]{border-color:var(--accent);color:var(--toolbar);background-color:var(--accent);box-shadow:var(--shadow-soft)}.image-enhance-button[aria-pressed=true]:hover,.image-crop-button[aria-pressed=true]:hover{background-color:var(--accent-strong)}.image-crop-mode-menu{z-index:16;border:1px solid var(--line);background:var(--toolbar);box-shadow:var(--shadow-soft);pointer-events:auto;border-radius:12px;gap:6px;padding:6px;animation:.14s ease-out both image-crop-mode-menu-in;display:flex;position:absolute;transform:translate(-50%,calc(-100% - 28px))}.image-crop-mode-menu button{appearance:none;min-height:40px;color:var(--text);font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;align-items:center;gap:7px;padding:0 11px;font-size:13px;font-weight:650;display:flex}.image-crop-mode-menu button:hover,.image-crop-mode-menu button:focus-visible{border-color:color-mix(in srgb, var(--accent) 38%, var(--line));color:var(--accent-strong);background:var(--accent-soft);outline:none}.image-crop-mode-menu svg{width:18px;height:18px}@keyframes image-crop-mode-menu-in{0%{opacity:0;transform:translate(-50%,calc(-100% - 22px))scale(.97)}to{opacity:1;transform:translate(-50%,calc(-100% - 28px))scale(1)}}.image-crop-selection-frame{z-index:13;box-sizing:border-box;border:2px solid color-mix(in srgb, var(--accent) 84%, white);box-shadow:0 0 0 1px color-mix(in srgb, var(--canvas) 70%, transparent);transform-origin:50%;pointer-events:none;border-radius:2px;position:absolute;overflow:hidden}.image-crop-selection-surface{appearance:none;z-index:1;background:color-mix(in srgb, var(--accent) 5%, transparent);cursor:crosshair;pointer-events:auto;touch-action:none;border:0;width:100%;height:100%;padding:0;position:absolute;inset:0}.image-crop-selection-window{z-index:2;box-sizing:border-box;border:2px solid color-mix(in srgb, var(--accent) 86%, white);box-shadow:0 0 0 9999px color-mix(in srgb, var(--canvas) 54%, transparent);pointer-events:none;background:0 0;position:absolute}.image-crop-trim-shield{z-index:1;pointer-events:auto;touch-action:none;-webkit-user-select:none;user-select:none;position:absolute;inset:0}.image-crop-trim-handle{appearance:none;z-index:3;pointer-events:auto;touch-action:none;-webkit-user-select:none;user-select:none;background:0 0;border:0;padding:0;position:absolute}.image-crop-trim-handle.is-north,.image-crop-trim-handle.is-south{cursor:ns-resize;height:36px}.image-crop-trim-handle.is-south{transform:translateY(-100%)}.image-crop-trim-handle.is-west,.image-crop-trim-handle.is-east{cursor:ew-resize;width:36px}.image-crop-trim-handle.is-east{transform:translate(-100%)}.image-crop-trim-handle.is-north-west,.image-crop-trim-handle.is-north-east,.image-crop-trim-handle.is-south-west,.image-crop-trim-handle.is-south-east{width:44px;height:44px}.image-crop-trim-handle.is-north-west{cursor:nwse-resize}.image-crop-trim-handle.is-north-east{cursor:nesw-resize;transform:translate(-100%)}.image-crop-trim-handle.is-south-west{cursor:nesw-resize;transform:translateY(-100%)}.image-crop-trim-handle.is-south-east{cursor:nwse-resize;transform:translate(-100%,-100%)}.image-crop-trim-handle:after{border:2px solid var(--toolbar);background:var(--accent);content:"";transition:width .1s,height .1s,background-color .1s;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 1px 4px #0000003d}.image-crop-trim-handle.is-north:after,.image-crop-trim-handle.is-south:after{border-radius:4px;width:24px;height:6px}.image-crop-trim-handle.is-west:after,.image-crop-trim-handle.is-east:after{border-radius:4px;width:6px;height:24px}.image-crop-trim-handle.is-north-west:after,.image-crop-trim-handle.is-north-east:after,.image-crop-trim-handle.is-south-west:after,.image-crop-trim-handle.is-south-east:after{border-radius:50%;width:12px;height:12px}.image-crop-trim-handle:hover:after,.image-crop-trim-handle:focus-visible:after{background:var(--accent-strong)}.image-crop-trim-handle:focus-visible{outline:2px solid color-mix(in srgb, var(--accent) 78%, transparent);outline-offset:-3px}.image-cover-button[aria-pressed=true]:hover,.image-focus-button[aria-pressed=true]:hover{background-color:var(--accent-strong)}.image-quick-action svg{pointer-events:none;width:19px;height:19px}.image-material-quick-actions .image-quick-action,.interactive-material-quick-actions .image-quick-action,.video-material-quick-actions .image-quick-action,.text-quick-actions .image-quick-action{width:32px;height:32px}.image-material-quick-actions .image-quick-action svg,.interactive-material-quick-actions .image-quick-action svg,.video-material-quick-actions .image-quick-action svg,.text-quick-actions .image-quick-action svg{width:15px;height:15px}@media (pointer:coarse){.image-quick-action,.image-material-quick-actions .image-quick-action,.interactive-material-quick-actions .image-quick-action,.video-material-quick-actions .image-quick-action,.text-quick-actions .image-quick-action{width:48px;height:48px}.image-quick-action svg,.image-material-quick-actions .image-quick-action svg,.interactive-material-quick-actions .image-quick-action svg,.video-material-quick-actions .image-quick-action svg,.text-quick-actions .image-quick-action svg{width:21px;height:21px}.text-quick-actions .text-formatting-toggle .text-formatting-toggle-chevron{width:12px;height:12px;bottom:4px;right:4px}.image-crop-mode-menu button{min-height:48px;padding-inline:14px}.image-crop-trim-handle.is-north,.image-crop-trim-handle.is-south{height:48px}.image-crop-trim-handle.is-west,.image-crop-trim-handle.is-east{width:48px}.image-crop-trim-handle.is-north-west,.image-crop-trim-handle.is-north-east,.image-crop-trim-handle.is-south-west,.image-crop-trim-handle.is-south-east{width:52px;height:52px}}.image-print-spinner{animation:.7s linear infinite image-print-spinner}@keyframes image-print-spinner{to{transform:rotate(360deg)}}.image-print-status{z-index:19;border:1px solid var(--line);min-height:40px;color:var(--text);background:color-mix(in srgb, var(--toolbar) 96%, transparent);box-shadow:var(--shadow-soft);pointer-events:none;border-radius:12px;align-items:center;gap:9px;padding:0 14px;font-size:14px;font-weight:620;display:flex;position:absolute;top:18px;left:50%;transform:translate(-50%)}.image-print-status svg{width:18px;height:18px;color:var(--accent-strong)}:root[data-toolbar=top] .image-print-status{top:82px}.image-print-error{z-index:19;border:1px solid color-mix(in srgb, #b94a48 46%, var(--line));max-width:min(440px,100% - 48px);color:var(--text);background:color-mix(in srgb, var(--toolbar) 96%, transparent);box-shadow:var(--shadow-soft);border-radius:12px;padding:13px 16px;font-size:14px;line-height:1.4;position:absolute;bottom:24px;right:24px}.material-print-frame{border:0;width:1px;height:1px;position:fixed;top:0;left:-10000px}.material-print-surface{z-index:1000;box-sizing:border-box;color:var(--text);background:var(--canvas);grid-template-rows:auto minmax(0,1fr);gap:20px;padding:24px;display:grid;position:fixed;inset:0}.material-print-surface-status{border:1px solid var(--line);background:var(--toolbar);min-height:40px;box-shadow:var(--shadow-soft);border-radius:12px;justify-self:center;align-items:center;gap:9px;padding:0 14px;font-size:14px;font-weight:620;display:flex}.material-print-surface-spinner{border:2px solid color-mix(in srgb, var(--accent-strong) 28%, transparent);border-top-color:var(--accent-strong);border-radius:50%;width:16px;height:16px;animation:.7s linear infinite image-print-spinner}.material-print-surface img{object-fit:contain;min-width:0;max-width:100%;min-height:0;max-height:100%;box-shadow:var(--shadow-soft);background:#fff;place-self:center;display:block}@keyframes element-focus-dim-in{0%{opacity:0}to{opacity:1}}@keyframes element-focus-cutout-in{0%{opacity:0}to{opacity:1}}@keyframes image-focus-button-in{0%{opacity:0;transform:translate(-50%,-50%)scale(.9)}to{opacity:1;transform:translate(-50%,-50%)scale(1)}}@media (prefers-reduced-motion:reduce){.element-focus-dim,.element-focus-cutout,.element-focus-panel,.image-quick-action,.image-print-spinner,.material-print-surface-spinner{animation:none}.image-cover-feedback-frame{display:none}.image-crop-mode-menu{animation:none}}.image-transform-preview{z-index:11;border:2px solid color-mix(in srgb, var(--accent) 78%, white);background:color-mix(in srgb, var(--accent) 8%, transparent);box-shadow:0 0 0 1px color-mix(in srgb, var(--canvas) 72%, transparent);pointer-events:none;transform-origin:50%;border-radius:3px;position:absolute}.image-cover-feedback-frame{z-index:12;transform-origin:50%;pointer-events:none;position:absolute}.projected-material-cover-display-layer{z-index:12;pointer-events:none;position:absolute;inset:0;overflow:hidden}.projected-material-cover-display-surface{transform-origin:50%;position:absolute;overflow:visible}.image-cover-controls{z-index:13;box-sizing:border-box;transform-origin:50%;pointer-events:none;border:0;border-radius:0;position:absolute}.image-cover-move-surface{cursor:grab;pointer-events:auto;touch-action:none;-webkit-user-select:none;user-select:none;background:0 0;border:0;border-radius:0;width:100%;height:100%;padding:0;position:absolute;inset:0}.image-cover-move-surface:active{cursor:grabbing}.image-cover-resize-handle{z-index:1;pointer-events:auto;touch-action:none;-webkit-user-select:none;user-select:none;color:#c8d2dc;background:0 0;border:0;border-radius:6px;width:32px;height:32px;padding:0;position:absolute;transform:translate(-50%,-50%)}.image-cover-resize-handle:after{content:"";background:currentColor;border:1px solid #10161d73;border-radius:999px;width:26px;height:4px;transition:background-color .12s,box-shadow .14s;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 1px 3px #00000040}.image-cover-resize-handle:hover,.image-cover-resize-handle:focus-visible,.image-cover-resize-handle:active{color:#f4f7fa}.image-cover-resize-handle:active:after{box-shadow:0 0 0 3px #c8dcf024,0 1px 3px #0000004d}.image-cover-resize-handle.is-north,.image-cover-resize-handle.is-south{width:min(64px,50%)}.image-cover-resize-handle.is-east,.image-cover-resize-handle.is-west{height:min(64px,50%)}.image-cover-resize-handle.is-east:after,.image-cover-resize-handle.is-west:after{width:4px;height:26px}.image-cover-resize-handle:is(.is-north-west,.is-north-east,.is-south-west,.is-south-east):after{width:9px;height:9px;box-shadow:none;background:0 0;border:0 solid;border-radius:2px}.image-cover-resize-handle.is-north-west:after{border-top-width:2px;border-left-width:2px}.image-cover-resize-handle.is-north-east:after{border-top-width:2px;border-right-width:2px}.image-cover-resize-handle.is-south-west:after{border-bottom-width:2px;border-left-width:2px}.image-cover-resize-handle.is-south-east:after{border-bottom-width:2px;border-right-width:2px}@media (pointer:coarse){.image-cover-resize-handle{min-width:48px;min-height:48px}}.image-cover-resize-handle.is-north-west{cursor:nwse-resize;top:0;left:0}.image-cover-resize-handle.is-north{cursor:ns-resize;top:0;left:50%}.image-cover-resize-handle.is-north-east{cursor:nesw-resize;top:0;left:100%}.image-cover-resize-handle.is-east{cursor:ew-resize;top:50%;left:100%}.image-cover-resize-handle.is-south-east{cursor:nwse-resize;top:100%;left:100%}.image-cover-resize-handle.is-south{cursor:ns-resize;top:100%;left:50%}.image-cover-resize-handle.is-south-west{cursor:nesw-resize;top:100%;left:0}.image-cover-resize-handle.is-west{cursor:ew-resize;top:50%;left:0}.toolbar{z-index:30;border:1px solid var(--line-strong);background:var(--toolbar);box-shadow:var(--tool-shadow);border-radius:16px;align-items:stretch;gap:8px;padding:8px;transition:inset .2s,flex-direction .2s,border-radius .2s,box-shadow .16s,opacity .24s,filter .24s;display:flex;position:absolute}.toolbar.is-concealed{opacity:0;filter:blur(6px);pointer-events:none}.toolbar.has-summon-motion:not(.is-concealed):after{border:1px solid color-mix(in srgb, var(--accent) 36%, transparent);box-shadow:0 0 22px color-mix(in srgb, var(--accent) 20%, transparent);content:"";pointer-events:none;border-radius:20px;animation:.32s ease-out both toolbar-summon-halo;position:absolute;inset:-6px}@keyframes toolbar-summon-halo{0%{opacity:.7;transform:scale(.985)}to{opacity:0;transform:scale(1.025)}}.toolbar-visibility-button,.toolbar-recall{width:48px;min-height:54px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:11px;flex:0 0 48px;place-items:center;padding:0;display:grid}.toolbar-visibility-button:is(:hover,:focus-visible),.toolbar-recall:is(:hover,:focus-visible){color:var(--text);background:var(--toolbar-strong)}.toolbar-visibility-button .fluent-toolbar-icon,.toolbar-recall .fluent-toolbar-icon{width:22px;height:22px}.toolbar-recall{z-index:31;border:1px solid var(--line);background:var(--toolbar);width:54px;height:54px;box-shadow:var(--shadow);border-radius:14px;animation:.19s ease-out .12s both toolbar-recall-appear;position:absolute}@keyframes toolbar-recall-appear{0%{opacity:0;filter:blur(4px)}to{opacity:1;filter:blur()}}:root[data-toolbar=top] .toolbar-recall,:root[data-toolbar=bottom] .toolbar-recall{left:calc(var(--archive-offset) + (100vw - var(--archive-offset)) / 2);transform:translate(-50%)}:root[data-toolbar=top] .toolbar-recall{top:86px}:root[data-toolbar=bottom] .toolbar-recall{bottom:18px}:root[data-toolbar=left] .toolbar-recall,:root[data-toolbar=right] .toolbar-recall{top:86px}:root[data-toolbar=left] .toolbar-recall{left:calc(var(--archive-offset) + 18px)}:root[data-toolbar=right] .toolbar-recall{right:18px}@media (prefers-reduced-motion:reduce){.toolbar{transition:none}.toolbar.is-concealed{filter:none}.toolbar.has-summon-motion:not(.is-concealed):after,.toolbar-recall{animation:none}}:root[data-toolbar=top] .toolbar,:root[data-toolbar=bottom] .toolbar{left:calc(var(--archive-offset) + (100vw - var(--archive-offset)) / 2);max-width:calc(100vw - var(--archive-offset) - 36px);transform:translate(-50%)}:root[data-toolbar=top] .toolbar{top:86px}:root[data-toolbar=bottom] .toolbar{bottom:18px}:root[data-toolbar=left] .toolbar,:root[data-toolbar=right] .toolbar{border-radius:16px;flex-direction:column;width:72px;top:86px;bottom:18px}:root[data-toolbar=left] .toolbar-visibility-button,:root[data-toolbar=right] .toolbar-visibility-button{flex-basis:48px;width:54px;min-height:48px}:root[data-toolbar=left] .toolbar{left:calc(var(--archive-offset) + 18px)}:root[data-toolbar=right] .toolbar{right:18px}.toolbar.is-dragging{cursor:grabbing;box-shadow:0 26px 64px #00000057, 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);transition:none;bottom:auto;right:auto;overflow:visible}.toolbar-items{overscroll-behavior:contain;scrollbar-width:none;touch-action:pan-x;-webkit-overflow-scrolling:touch;align-items:stretch;gap:8px;min-width:0;display:flex;overflow:auto hidden}.toolbar-items::-webkit-scrollbar{display:none}:root[data-toolbar=left] .toolbar-items,:root[data-toolbar=right] .toolbar-items{touch-action:pan-y;flex-direction:column;flex:auto;min-height:0;overflow:hidden auto}.toolbar.is-dragging .toolbar-items{overflow:hidden}.toolbar-overflow-button{min-width:48px;min-height:54px;color:var(--text-muted);background:color-mix(in srgb, var(--toolbar-strong) 54%, transparent);cursor:pointer;border:0;border-radius:11px;flex:0 0 48px;justify-content:center;align-items:center;padding:0;transition:color .13s,background-color .13s,transform .13s;display:flex}:root[data-toolbar=left] .toolbar-overflow-button,:root[data-toolbar=right] .toolbar-overflow-button{flex-basis:48px;width:54px;min-width:54px;min-height:48px}.toolbar-overflow-button:is(:hover,:focus-visible){color:var(--text);background:var(--toolbar-strong)}.toolbar-overflow-button:active{transform:scale(.96)}.toolbar-overflow-button .fluent-toolbar-icon{width:20px;height:20px}.drag-handle{min-width:48px;min-height:54px;color:var(--text-muted);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;background:0 0;border:0;border-radius:11px;justify-content:center;align-items:center;padding:0;display:flex}.drag-handle:is(:hover,:focus-visible){color:var(--text)}.drag-handle:active,.toolbar.is-dragging .drag-handle{color:var(--accent-strong);cursor:grabbing}.drag-handle svg{pointer-events:none;width:21px;height:21px}.dock-preview{z-index:25;background:var(--accent);box-shadow:0 0 0 5px color-mix(in srgb, var(--accent) 15%, transparent);pointer-events:none;border-radius:999px;position:absolute}.dock-preview[data-side=top]{height:4px;top:8px;left:28px;right:28px}.dock-preview[data-side=right]{width:4px;top:24px;bottom:24px;right:8px}.dock-preview[data-side=bottom]{height:4px;bottom:8px;left:28px;right:28px}.dock-preview[data-side=left]{width:4px;top:24px;bottom:24px;left:8px}.tool-group,.action-group{flex:none;align-items:stretch;gap:4px;display:flex}:root[data-toolbar=left] .tool-group,:root[data-toolbar=left] .action-group,:root[data-toolbar=right] .tool-group,:root[data-toolbar=right] .action-group{flex-direction:column}:root[data-toolbar=left] .tool-button,:root[data-toolbar=right] .tool-button{width:54px;padding:0}:root[data-toolbar=left] .tool-button-label,:root[data-toolbar=right] .tool-button-label{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.tool-button,.action-button{min-width:54px;min-height:54px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:11px;justify-content:center;align-items:center;gap:8px;transition:color .13s,background-color .13s,transform .13s;display:flex}.tool-button{flex-direction:column;padding:7px 10px 6px;font-size:11px;font-weight:620}.tool-button svg,.action-button svg,.tool-button .fluent-toolbar-icon,.action-button .fluent-toolbar-icon,.drag-handle .fluent-toolbar-icon{flex:none;width:22px;height:22px}.tool-button>svg,.tool-button>.tool-ink-icon,.tool-button>.fluent-toolbar-icon,.tool-button>.fluent-shape-icon{transition:color .17s ease-out,transform .17s cubic-bezier(.2,.8,.2,1);transform:scale(1)}.fluent-toolbar-icon,.fluent-shape-icon>span{background:currentColor;display:block;-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.tool-ink-icon{flex:none;width:22px;height:22px;display:block;position:relative}.tool-ink-icon svg{position:absolute;inset:0}.tool-ink-icon .tool-pencil-icon path{stroke:none;transition:fill .17s ease-out}.tool-pencil-icon-body{fill:var(--text-muted)}.tool-pencil-icon-tip{fill:var(--tool-color)}.tool-pencil-icon-end{fill:color-mix(in srgb, var(--text-muted) 58%, var(--toolbar))}.tool-pencil-icon-band{fill:color-mix(in srgb, var(--text) 78%, var(--toolbar))}.tool-button:is(:hover,:focus-visible) .tool-pencil-icon-body,.tool-button[aria-pressed=true] .tool-pencil-icon-body{fill:var(--text)}.tool-highlighter-icon path{stroke:none;transition:fill .17s ease-out}.tool-highlighter-icon-body{fill:var(--text-muted)}.tool-highlighter-icon-tip{fill:var(--tool-color)}.tool-highlighter-icon-band{fill:color-mix(in srgb, var(--text) 78%, var(--toolbar))}.tool-button:is(:hover,:focus-visible) .tool-highlighter-icon-body,.tool-button[aria-pressed=true] .tool-highlighter-icon-body{fill:var(--text)}.tool-button.has-tool-color[aria-pressed=true] .tool-highlighter-icon-tip{filter:drop-shadow(0 1px 1px color-mix(in srgb, var(--tool-color) 20%, transparent))}:root[data-theme=dark] .tool-button[data-tool-color=black] .tool-pencil-icon-tip{fill:#111;stroke:#8f98a3;stroke-width:.65px}.fluent-shape-icon{flex:none;width:22px;height:22px;display:block;position:relative}.fluent-shape-icon>span{color:var(--shape-tool-color);position:absolute;inset:0}.fluent-shape-icon-fill{opacity:1}.fluent-shape-icon.is-translucent .fluent-shape-icon-fill{opacity:.24}.fluent-shape-icon-outline{background:color-mix(in srgb, var(--shape-tool-color) 84%, var(--text))}.tool-button:is(:hover,:focus-visible),.action-button:is(:hover,:focus-visible):not(:disabled):not([aria-expanded=true]){color:var(--text)}.tool-button:active,.action-button:active:not(:disabled){transform:scale(.96)}.tool-button[aria-pressed=true]{color:var(--accent-strong);box-shadow:none;background:0 0}.tool-button[aria-pressed=true]>svg,.tool-button[aria-pressed=true]>.tool-ink-icon,.tool-button[aria-pressed=true]>.fluent-toolbar-icon,.tool-button[aria-pressed=true]>.fluent-shape-icon{transform:scale(1.1)}.tool-button[aria-pressed=true] .tool-button-label{font-weight:700}.action-button[aria-expanded=true]{color:var(--accent-strong);box-shadow:none;background:0 0}.action-button{white-space:nowrap;padding:0 14px;font-size:12px;font-weight:620}.action-button.icon-only{width:54px;padding:0}.topbar .action-button{width:48px;min-width:48px;height:48px;min-height:48px;color:var(--text-muted);background:0 0;border:0;border-radius:50%;padding:0}.topbar .action-button:is(:hover,:focus-visible):not(:disabled){color:var(--text);background:var(--toolbar-strong)}.canvas-history-actions{z-index:18;border:1px solid var(--line);color:var(--text-muted);background:var(--toolbar);border-radius:12px;flex:none;align-items:center;padding:2px;transition:top .2s,right .2s,left .2s;display:flex;position:absolute;top:18px;right:18px}.canvas-history-actions>:is(.action-button,.student-notes-trigger){width:48px;min-width:48px;height:48px;min-height:48px;color:inherit;box-shadow:none;cursor:pointer;background:0 0;border:0;border-radius:8px;flex:0 0 48px;place-items:center;padding:0;display:grid}.canvas-history-actions>button svg{stroke-width:1.8px;width:20px;height:20px}.canvas-history-actions>button:hover:not(:disabled),.canvas-history-actions>button[aria-expanded=true]{color:var(--text);background:var(--toolbar-strong)}.canvas-history-divider{background:var(--line-strong);flex:0 0 1px;height:24px;margin:0 6px}.action-button:disabled{cursor:default;opacity:.34}.toolbar-divider{background:var(--line);flex:none;width:1px;margin:6px 2px}.embedded-app-menu{display:flex;position:relative}.embedded-app-popover{z-index:36;border:1px solid var(--line);background:var(--toolbar);width:226px;box-shadow:var(--shadow-popover);border-radius:14px;padding:7px;display:grid;position:absolute}:root[data-toolbar=top] .toolbar>.embedded-app-popover{top:calc(100% + 16px);left:var(--embedded-app-anchor-x,50%);transform:translate(-50%)}:root[data-toolbar=bottom] .toolbar>.embedded-app-popover{bottom:calc(100% + 16px);left:var(--embedded-app-anchor-x,50%);transform:translate(-50%)}:root[data-toolbar=left] .toolbar>.embedded-app-popover{top:var(--embedded-app-anchor-y,50%);left:calc(100% + 16px);transform:translateY(-50%)}:root[data-toolbar=right] .toolbar>.embedded-app-popover{top:var(--embedded-app-anchor-y,50%);right:calc(100% + 16px);transform:translateY(-50%)}.embedded-app-popover button{width:100%;min-height:54px;color:var(--text);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:12px;padding:7px 12px;font-size:14px;font-weight:650;display:flex}.embedded-app-popover button:hover,.embedded-app-popover button:focus-visible{background:var(--toolbar-strong)}.embedded-app-popover img{flex:none;width:32px;height:32px}.shape-options{border:1px solid var(--line);background:var(--toolbar);box-shadow:var(--shadow-soft);border-radius:13px;gap:4px;padding:5px;display:flex;position:absolute}.shape-options-divider{background:var(--line);align-self:center;width:1px;height:28px;margin-inline:3px}.shape-color-options{gap:4px;display:flex}:root[data-toolbar=bottom] .shape-options{bottom:calc(100% + 8px);left:50%;transform:translate(-50%)}:root[data-toolbar=top] .shape-options{top:calc(100% + 8px);left:50%;transform:translate(-50%)}:root[data-toolbar=left] .shape-options{flex-direction:column;top:50%;left:calc(100% + 8px);transform:translateY(-50%)}:root[data-toolbar=right] .shape-options{flex-direction:column;top:50%;right:calc(100% + 8px);transform:translateY(-50%)}.shape-option{width:48px;height:48px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:9px;justify-content:center;align-items:center;padding:0;display:flex}.shape-option:hover{color:var(--text);background:var(--toolbar-strong)}.shape-option[aria-pressed=true]{color:var(--accent-strong);background:var(--accent-soft)}.shape-option svg{width:22px;height:22px}.shape-option.is-translucent svg,.context-formatting-button.is-translucent svg{fill:currentColor;fill-opacity:.24}.shape-option.is-solid svg,.context-formatting-button.is-solid svg{fill:currentColor}:root[data-toolbar=left] .shape-options-divider,:root[data-toolbar=right] .shape-options-divider{width:28px;height:1px;margin:3px 0}:root[data-toolbar=left] .shape-options .shape-color-options,:root[data-toolbar=right] .shape-options .shape-color-options{flex-direction:column}:root[data-toolbar=left] .toolbar-divider,:root[data-toolbar=right] .toolbar-divider{width:auto;height:1px;margin:2px 6px}.theme-switch{color:var(--text)}.theme-switch-control{width:68px;height:32px;color:var(--text-muted);flex:none;position:relative}.theme-switch-control:before{border:1px solid var(--line);background:var(--toolbar-strong);content:"";border-radius:999px;transition:background-color .15s,border-color .15s;position:absolute;inset:0 2px}.theme-switch:hover .theme-switch-control:before{border-color:var(--line-strong)}.theme-switch-thumb{z-index:1;background:var(--switch-thumb);border-radius:50%;width:28px;height:28px;transition:transform .18s cubic-bezier(.2,.8,.2,1),background-color .18s;position:absolute;top:2px;left:4px;box-shadow:0 2px 7px #0003}.theme-switch[aria-checked=true] .theme-switch-thumb{transform:translate(32px)}.theme-switch-icon{z-index:2;pointer-events:none;width:14px;height:14px;transition:color .16s;display:flex;position:absolute;top:9px}.theme-switch-icon svg{width:14px;height:14px}.theme-switch-sun{left:11px}.theme-switch-moon{right:11px}.theme-switch[aria-checked=false] .theme-switch-sun,.theme-switch[aria-checked=true] .theme-switch-moon{color:#fff}.theme-switch:hover .theme-switch-thumb{box-shadow:0 3px 9px #00000047}.theme-switch:active .theme-switch-thumb{transform:scale(.93)}.theme-switch[aria-checked=true]:active .theme-switch-thumb{transform:translate(32px)scale(.93)}@media (width<=1180px){:root[data-archive=open] .topbar{grid-template-columns:auto minmax(0,1fr) max-content}.tool-button{min-width:50px;padding-inline:6px}.action-button{padding-inline:10px}}@media (width<=900px){.topbar-actions{gap:10px}}@media (height<=760px){:root[data-toolbar=left] .toolbar,:root[data-toolbar=right] .toolbar{top:78px;bottom:10px}:root[data-toolbar=top] .toolbar{top:78px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.shortcut-help{border:1px solid var(--line-strong);background:var(--toolbar);width:min(540px,100vw - 48px);max-height:min(760px,100dvh - 48px);color:var(--text);border-radius:18px;padding:0;box-shadow:0 18px 65px #0005}:where(dialog) .action-button.icon-only{border-radius:9px;width:48px;min-width:48px;height:48px;min-height:48px}.shortcut-help::backdrop{background:#0006}.shortcut-help header{background:var(--toolbar);justify-content:space-between;align-items:center;padding:14px 20px;display:flex;position:sticky;top:0}.shortcut-help h2{margin:0;font-size:20px}.shortcut-help__body{padding:0 24px 22px}.shortcut-help h3{color:var(--text-muted);margin:20px 0 8px;font-size:13px;font-weight:650}.shortcut-help dl{margin:0}.shortcut-help dl>div{justify-content:space-between;align-items:center;gap:24px;min-height:38px;display:flex}.shortcut-help dt{font-size:14px}.shortcut-help dd{flex-shrink:0;margin:0}.shortcut-help kbd{white-space:nowrap;font-family:inherit;font-size:13px}.shortcut-help p{color:var(--text-muted);margin:24px 0 0;font-size:12px}.lesson-material-remove{width:32px;height:40px;color:var(--danger);cursor:pointer;background:0 0;border:0;border-radius:10px;place-items:center;padding:0;display:grid}.lesson-material-remove svg{width:16px;height:16px}.lesson-material-remove:hover:not(:disabled),.lesson-material-remove:focus-visible{background:color-mix(in srgb, var(--danger) 12%, transparent);outline:2px solid var(--danger);outline-offset:-2px}.lesson-material-remove:disabled{opacity:.45;cursor:default}.lesson-material-remove-dialog{grid-template-rows:max-content max-content;grid-template-columns:minmax(0,1fr);align-content:start;height:fit-content;max-height:calc(100dvh - 48px);overflow-y:auto}.lesson-material-remove-dialog:not([open]){display:none}.lesson-material-remove-dialog::backdrop{background:#0006}.lesson-material-remove-dialog .is-error{color:var(--danger)}@media (pointer:coarse){.lesson-material-item{grid-template-columns:44px minmax(0,1fr) 48px 48px 48px}.lesson-material-insert,.lesson-material-remove{width:48px;height:48px}.lesson-material-remove-dialog button{min-height:48px}}.youtube-canvas-player__fullscreen{z-index:3;color:#fff;cursor:pointer;transform-origin:100% 100%;width:48px;height:48px;transform:scale(var(--youtube-fullscreen-scale,1));background:#101922d9;border:0;border-radius:8px;place-items:center;padding:0;display:grid;position:absolute;bottom:8px;right:8px}.youtube-canvas-player__fullscreen svg{width:24px;height:24px}.youtube-canvas-player:fullscreen{background:#000;border-radius:0;--youtube-fullscreen-scale:1!important;width:100vw!important;height:100vh!important;position:fixed!important;inset:0!important;transform:none!important}.youtube-canvas-player:fullscreen .youtube-canvas-player__surface{position:absolute;inset:0;width:100%!important;height:100%!important;transform:none!important}.youtube-canvas-player:fullscreen .youtube-canvas-player__activation{display:none}.video-fullscreen-error{z-index:4;color:#fff;background:#25292f;border-radius:8px;padding:12px;font:500 16px/1.4 Assistant,sans-serif;position:absolute;bottom:64px;left:12px;right:12px}:root[data-theme=dark] .interactive-html-canvas-frame.is-borderless,.interactive-html-canvas-frame.is-borderless{box-shadow:none;border-radius:0;overflow:visible}.interactive-html-canvas-frame.is-borderless:before{content:"";inset:var(--interactive-html-titlebar-height) 0 0;border-radius:calc(14px * var(--interactive-html-canvas-scale,1));pointer-events:none;position:absolute}.interactive-html-canvas-frame.is-borderless.has-material-shadow:before{box-shadow:0 8px 22px #2a303729,0 2px 5px #2a30371a}:root[data-theme=dark] .interactive-html-canvas-frame.is-borderless.has-material-shadow:before{box-shadow:0 12px 30px #00000057,0 2px 7px #0000003d}.interactive-html-canvas-frame.is-borderless .interactive-html-canvas-frame__visibility{border-radius:calc(14px * var(--interactive-html-canvas-scale,1))}.interactive-html-canvas-frame.is-borderless .interactive-html-canvas-frame__content{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;border-radius:calc(14px / var(--interactive-html-content-zoom,1))}.interactive-html-canvas-frame__floating-controls{z-index:4;right:0;bottom:calc(100% - var(--interactive-html-titlebar-height) + 12px * var(--interactive-html-canvas-scale,1));border:1px solid var(--line);color:var(--text);background:var(--toolbar);transform-origin:100% 100%;opacity:0;visibility:hidden;pointer-events:none;border-radius:14px;align-items:center;padding:4px;transition:opacity .16s,visibility .16s;display:flex;position:absolute;box-shadow:0 4px 14px #0000001f}.interactive-html-canvas-frame.is-selected:not(.defers-to-canvas-tool) .interactive-html-canvas-frame__floating-controls{opacity:1;visibility:visible;pointer-events:auto}@media (prefers-reduced-motion:reduce){.interactive-html-canvas-frame__floating-controls{transition:none}}[data-page-selection=true] canvas.interactive{opacity:0}.html-page-selection{z-index:9;border:1px solid var(--accent);pointer-events:none;position:absolute}.html-page-selection button{pointer-events:auto;width:32px;height:32px;color:var(--accent);background:0 0;border:0;padding:0;position:absolute}.html-page-selection button:after{content:"";border:1px solid var(--accent);background:var(--toolbar);border-radius:2px;position:absolute;inset:11px}.html-page-selection__size{cursor:nwse-resize;bottom:-16px;right:-16px}.html-page-selection__rotate{cursor:grab;top:-36px;left:calc(50% - 16px)}.html-page-selection__rotate:after{border-radius:50%!important}.html-page-selection__guard{pointer-events:auto;width:28px;height:28px;position:absolute}.html-page-selection__guard.at-n{top:-14px;left:calc(50% - 14px)}.html-page-selection__guard.at-s{bottom:-14px;left:calc(50% - 14px)}.html-page-selection__guard.at-w{top:calc(50% - 14px);left:-14px}.html-page-selection__guard.at-e{top:calc(50% - 14px);right:-14px}.html-page-selection__guard.at-nw{top:-14px;left:-14px}.html-page-selection__guard.at-ne{top:-14px;right:-14px}.html-page-selection__guard.at-sw{bottom:-14px;left:-14px}@media (pointer:coarse){.html-page-selection button{width:48px;height:48px}.html-page-selection__size{bottom:-24px;right:-24px}.html-page-selection__rotate{top:-48px;left:calc(50% - 24px)}.html-page-selection button:after{inset:18px}}.interactive-html-canvas-frame__layout-surface{transform-origin:0 0;position:absolute;left:0}.html-page-selection-layer{z-index:9;pointer-events:none;position:absolute;inset:0;overflow:hidden}.lesson-material-item .lesson-material-insert,.lesson-material-rename{width:32px;height:40px}.lesson-material-rename{color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:10px;place-items:center;padding:0;display:grid}.lesson-material-rename svg{width:16px;height:16px}.lesson-material-rename:is(:hover,:focus-visible):not(:disabled){background:var(--toolbar-strong);color:var(--text)}.lesson-material-rename:disabled{opacity:.45;cursor:default}.lesson-material-name-form{grid-column:2/-1;grid-template-columns:minmax(0,1fr) 32px 32px;gap:4px;display:grid}.lesson-material-name-form input{box-sizing:border-box;border:1px solid var(--line-strong);width:100%;min-width:0;color:var(--text);background:var(--canvas);font:inherit;border-radius:7px;padding:6px;font-size:13px}.lesson-material-name-form button{color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;min-height:40px;padding:0;display:grid}.lesson-material-name-form button[type=submit]{color:var(--accent-strong)}.lesson-material-name-form button:disabled{opacity:.45;cursor:default}.lesson-material-name-form svg{width:18px;height:18px}.lesson-material-name-form p{color:var(--danger);grid-column:1/-1;margin:3px 0;font-size:12px}@media (pointer:coarse){.lesson-material-item .lesson-material-insert,.lesson-material-rename{width:48px;height:48px}.lesson-material-name-form{grid-template-columns:minmax(0,1fr) 48px 48px}.lesson-material-name-form button{min-height:48px}}.lesson-material-thumbnail,.lesson-material-thumbnail-preview{pointer-events:none;place-items:center;width:100%;height:100%;display:grid;overflow:hidden}.lesson-material-thumbnail-preview .lesson-material-preview-content.is-card{background:0 0;padding:0}.lesson-material-thumbnail-preview .lesson-material-preview-content.is-card>svg{width:20px;height:20px}.interactive-html-canvas-frame.is-selected.is-locked:before{outline:1px dashed var(--accent)}.interactive-html-canvas-frame__unlock{width:48px;height:48px;color:var(--text);cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;padding:0;display:grid}.interactive-html-canvas-frame__move-outline{pointer-events:none;--move-edge-depth:16px;--move-edge-gap:24px;position:absolute;inset:0}.interactive-html-canvas-frame__move-edge{pointer-events:auto;cursor:move;touch-action:none;position:absolute}.interactive-html-canvas-frame__move-edge.at-n,.interactive-html-canvas-frame__move-edge.at-s{height:var(--move-edge-depth);width:max(0px,calc(50% - 2 * var(--move-edge-gap)))}.interactive-html-canvas-frame__move-edge.at-n{bottom:100%}.interactive-html-canvas-frame__move-edge.at-s{top:100%}.interactive-html-canvas-frame__move-edge.at-n.is-before,.interactive-html-canvas-frame__move-edge.at-s.is-before{left:var(--move-edge-gap)}.interactive-html-canvas-frame__move-edge.at-n.is-after,.interactive-html-canvas-frame__move-edge.at-s.is-after{right:var(--move-edge-gap)}.interactive-html-canvas-frame__move-edge.at-e,.interactive-html-canvas-frame__move-edge.at-w{width:var(--move-edge-depth);height:max(0px,calc(50% - 2 * var(--move-edge-gap)))}.interactive-html-canvas-frame__move-edge.at-e{left:100%}.interactive-html-canvas-frame__move-edge.at-w{right:100%}.interactive-html-canvas-frame__move-edge.at-e.is-before,.interactive-html-canvas-frame__move-edge.at-w.is-before{top:var(--move-edge-gap)}.interactive-html-canvas-frame__move-edge.at-e.is-after,.interactive-html-canvas-frame__move-edge.at-w.is-after{bottom:var(--move-edge-gap)}@media (pointer:coarse){.interactive-html-canvas-frame__move-outline{--move-edge-depth:48px}}.interactive-html-canvas-frame__floating-controls.is-viewport-control{opacity:1;visibility:visible;pointer-events:auto;transition:none;bottom:auto;right:auto;transform:none}.lesson-material-item{position:relative}.lesson-material-item[data-drop-position]:after{content:"";background:var(--accent);pointer-events:none;z-index:2;border-radius:2px;height:3px;position:absolute;left:4px;right:4px}.lesson-material-item[data-drop-position=before]:after{top:-2px}.lesson-material-item[data-drop-position=after]:after{bottom:-2px}.lesson-material-order-status{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.lesson-material-item{-webkit-user-select:none;user-select:none}.lesson-material-name-form input{-webkit-user-select:text;user-select:text}.sentence-key-form{gap:14px;padding:8px 24px 24px;display:grid}.sentence-key-form label{font-size:14px;font-weight:600}.sentence-key-form input{border:1px solid var(--line-strong);background:var(--surface);width:100%;min-height:48px;color:var(--text);font:inherit;border-radius:8px;padding:10px 12px}.sentence-key-form p{color:var(--text-muted);margin:0;font-size:13px;line-height:1.5}.sentence-key-form [role=status]{color:var(--text-muted);font-size:14px}.sentence-key-form [role=alert]{color:var(--danger,#ac3d35);font-size:14px}.sentence-key-form footer{justify-content:flex-end;gap:12px;margin-top:6px;display:flex}.sentence-key-form footer button{min-height:48px;padding:0 16px}.sentence-key-form footer .action-button{flex:none;width:auto;min-width:100px}.interactive-html-canvas-frame__floating-controls .interactive-html-canvas-frame__open-app{width:48px;height:48px;color:var(--text-muted);border-radius:10px;place-items:center;display:grid}.interactive-html-canvas-frame__open-app:focus-visible{outline:2px solid var(--accent);outline-offset:-4px}.interactive-html-canvas-frame__app-status.is-overlay{z-index:2;background:var(--toolbar);border-radius:10px;margin:0;padding:8px 12px;position:absolute;top:12px;right:12px;box-shadow:0 2px 8px #0000001f}.interactive-html-canvas-frame__app-status.is-overlay a{width:48px;height:48px;color:inherit;place-items:center;display:grid}.interactive-html-canvas-frame__app-status.is-overlay svg{width:20px;height:20px}.presentation-actions{flex:none;align-items:center;gap:4px;display:flex}.presentation-actions .tool-button{white-space:nowrap;flex-direction:row;gap:8px;min-width:48px;min-height:48px;padding:0 10px;font-size:13px}.topbar .presentation-actions .tool-button-label{clip:auto;width:auto;height:auto;margin:0;font-weight:550;position:static;overflow:visible}.presentation-actions .live-host-trigger{min-height:48px}.presentation-actions .tool-button:disabled{opacity:.34;cursor:default}.toolbar .action-group>.action-button,.toolbar .action-group>.embedded-app-menu>.action-button{flex-direction:column;gap:8px;min-width:60px;padding:7px 8px 6px;font-size:11px}.toolbar .tool-group>:nth-child(3),.toolbar .tool-group>:nth-child(6){margin-left:8px}:root[data-toolbar=left] .toolbar .tool-group>:nth-child(3),:root[data-toolbar=left] .toolbar .tool-group>:nth-child(6),:root[data-toolbar=right] .toolbar .tool-group>:nth-child(3),:root[data-toolbar=right] .toolbar .tool-group>:nth-child(6){margin-top:8px;margin-left:0}:root[data-toolbar=left] .toolbar .action-group .action-button,:root[data-toolbar=right] .toolbar .action-group .action-button{min-width:54px;padding:0}.canvas-history-actions>.action-button:not(.icon-only){flex:none;gap:8px;width:auto;padding:0 12px;display:flex}@container canvas-header (width<=1050px){.topbar-leading .lesson-date-meta{display:none}.presentation-actions .tool-button{width:48px;padding:0}.topbar .presentation-actions .tool-button-label{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.topbar-actions{gap:6px}}@container canvas-header (width<=620px){.live-host-title,.live-host-mode,.live-host-count{display:none}.presentation-actions .live-host-trigger{justify-content:center;width:48px;padding:0}.topbar-utility-divider{display:none}.topbar-utility-group{gap:0}.topbar-actions{gap:2px}}@media (width<=600px){.topbar{column-gap:6px;padding-inline:8px}.canvas-history-actions>.action-button:not(.icon-only){justify-content:center;width:48px;padding:0}.canvas-history-actions>.action-button:not(.icon-only)>span{display:none}}.canvas-recovery-actions{justify-content:flex-end;gap:12px;margin-top:24px;display:flex}.canvas-recovery-dialog{padding:24px}.canvas-recovery-dialog .action-button{min-height:48px;padding:8px 16px}.agent-connection-dialog{width:min(620px,100vw - 32px)}.agent-connection-body{padding:0 24px 24px}.agent-connection-dialog p{margin:12px 0;font-size:14px;line-height:1.5}.agent-connection-body>label{margin:16px 0 8px;font-weight:600;display:block}.agent-connection-dialog textarea{box-sizing:border-box;resize:vertical;width:100%;max-width:100%;min-height:180px;font:inherit;color:var(--text);background:var(--canvas);border:1px solid var(--line);border-radius:8px;padding:12px;line-height:1.5}.agent-connection-dialog footer{justify-content:flex-end;margin-top:16px;display:flex}.agent-connection-dialog [role=alert]{color:var(--danger)}.agent-connection-dialog footer .action-button{white-space:normal;width:auto;min-height:48px;padding:0 16px}.settings-section:first-child{border-top:0;margin-top:0;padding-top:0}
