@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/manrope-cyrillic-ext-400-normal-CRdE35mU.woff2) format("woff2"),url(/assets/manrope-cyrillic-ext-400-normal-Djnz4Wsr.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/manrope-cyrillic-400-normal-BMzJvInZ.woff2) format("woff2"),url(/assets/manrope-cyrillic-400-normal-Dvx59UGC.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/manrope-greek-400-normal-CM4qok81.woff2) format("woff2"),url(/assets/manrope-greek-400-normal-DuX9RsAR.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/manrope-vietnamese-400-normal-DHb3EETF.woff2) format("woff2"),url(/assets/manrope-vietnamese-400-normal-D7E_mLGF.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/manrope-latin-ext-400-normal-CMDvPJRp.woff2) format("woff2"),url(/assets/manrope-latin-ext-400-normal-C-X6QNXX.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/manrope-latin-400-normal-PaqtzbVb.woff2) format("woff2"),url(/assets/manrope-latin-400-normal-8tf8FM3T.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/manrope-cyrillic-ext-700-normal-cq7F7ESW.woff2) format("woff2"),url(/assets/manrope-cyrillic-ext-700-normal-ezu7N0xg.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/manrope-cyrillic-700-normal-Dw_fZAg2.woff2) format("woff2"),url(/assets/manrope-cyrillic-700-normal-7JNVKxyl.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/manrope-greek-700-normal-CHUG9PD8.woff2) format("woff2"),url(/assets/manrope-greek-700-normal-DyfsrCpP.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/manrope-vietnamese-700-normal-CUqMx5-1.woff2) format("woff2"),url(/assets/manrope-vietnamese-700-normal-pt65Fn2Z.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/manrope-latin-ext-700-normal-DYOwVNan.woff2) format("woff2"),url(/assets/manrope-latin-ext-700-normal-eVCcYqtJ.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/manrope-latin-700-normal-BZp_XxE4.woff2) format("woff2"),url(/assets/manrope-latin-700-normal-DGRFkw-m.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:800;src:url(/assets/manrope-cyrillic-ext-800-normal-By7E3MqD.woff2) format("woff2"),url(/assets/manrope-cyrillic-ext-800-normal-Dlsls8yD.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:800;src:url(/assets/manrope-cyrillic-800-normal-AvdZ5mAV.woff2) format("woff2"),url(/assets/manrope-cyrillic-800-normal-BuEMjQU-.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:800;src:url(/assets/manrope-greek-800-normal-CDvU698_.woff2) format("woff2"),url(/assets/manrope-greek-800-normal-Bw-67qu9.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:800;src:url(/assets/manrope-vietnamese-800-normal-ClPWri-A.woff2) format("woff2"),url(/assets/manrope-vietnamese-800-normal-bvg7iBCV.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:800;src:url(/assets/manrope-latin-ext-800-normal-DdFx7KEb.woff2) format("woff2"),url(/assets/manrope-latin-ext-800-normal-BQAQsuQc.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:800;src:url(/assets/manrope-latin-800-normal-BfWYOv1c.woff2) format("woff2"),url(/assets/manrope-latin-800-normal-uHUdIJgA.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/jetbrains-mono-cyrillic-ext-500-normal-C9ShMxGR.woff2) format("woff2"),url(/assets/jetbrains-mono-cyrillic-ext-500-normal-CEVyPk4Y.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/jetbrains-mono-cyrillic-500-normal-DmUKJPL_.woff2) format("woff2"),url(/assets/jetbrains-mono-cyrillic-500-normal-DJqRU3vO.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/jetbrains-mono-greek-500-normal-JpySY46c.woff2) format("woff2"),url(/assets/jetbrains-mono-greek-500-normal-D7SFKleX.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/jetbrains-mono-vietnamese-500-normal-BvH7FW2L.woff2) format("woff2"),url(/assets/jetbrains-mono-vietnamese-500-normal-DNRqzVM1.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/jetbrains-mono-latin-ext-500-normal-Cut-4mMH.woff2) format("woff2"),url(/assets/jetbrains-mono-latin-ext-500-normal-ckzbgY84.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/jetbrains-mono-latin-500-normal-BWZEU5yA.woff2) format("woff2"),url(/assets/jetbrains-mono-latin-500-normal-CJOVTJB7.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--bg: #f6f6f4;--surface: #ffffff;--surface-2: #f0f0ed;--text: #18181b;--muted: #6b6b73;--line: #e4e4e0;--accent: #4f46e5;--accent-hover: #4338ca;--accent-soft: #eef0fe;--on-accent: #ffffff;--danger: #dc2626;--danger-soft: #fdecec;--warn: #b45309;--live: #e11d48;--ok: #15803d;--laser: #ff2d2d;--accent-rgb: 79 70 229;--live-rgb: 225 29 72;--laser-rgb: 255 45 45;--bg-rgb: 246 246 244;--danger-hover: #c21f1f;--surface-3: #e6e6e2;--line-strong: #c9c9c4;--live-soft: #fdf1f4;--stage: #111113;--radius: 14px;--radius-sm: 10px;--shadow: 0 1px 2px rgb(0 0 0 / .04), 0 4px 16px rgb(0 0 0 / .05);--shadow-lg: 0 12px 40px rgb(0 0 0 / .16);--font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;color-scheme:light}@media(prefers-color-scheme:dark){:root{--bg: #121214;--surface: #1b1b1f;--surface-2: #232328;--text: #ececef;--muted: #9b9ba4;--line: #2d2d33;--accent: #7c74ff;--accent-hover: #8f88ff;--accent-soft: #25234a;--danger: #f05252;--danger-soft: #3a1d1f;--accent-rgb: 124 116 255;--bg-rgb: 18 18 20;--danger-hover: #d94343;--surface-3: #2c2c32;--line-strong: #3f3f47;--live-soft: #2a1a20;--warn: #f0a44b;--shadow: 0 1px 2px rgb(0 0 0 / .3);--shadow-lg: 0 12px 40px rgb(0 0 0 / .5);color-scheme:dark}}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.5 var(--font);-webkit-font-smoothing:antialiased}h1,h2,h3{margin:0;line-height:1.2;letter-spacing:-.015em}h1{font-size:30px;font-weight:700}h2{font-size:19px;font-weight:650}a{color:inherit}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}:focus-visible{outline:3px solid rgb(var(--accent-rgb) / .45);outline-offset:2px}code{background:var(--surface-2);padding:2px 6px;border-radius:6px;font-size:.92em}.muted{color:var(--muted)}.small{font-size:14px}.capital:first-letter{text-transform:uppercase}.warn{color:var(--warn)}.error-text{color:var(--danger)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:42px;padding:0 16px;border-radius:var(--radius-sm);border:1px solid var(--line);background:var(--surface);font-weight:550;text-decoration:none;white-space:nowrap;transition:background .15s,border-color .15s,transform .05s}.btn:hover:not(:disabled){background:var(--surface-2)}.btn:active:not(:disabled){transform:translateY(1px)}.btn:disabled{opacity:.45;cursor:default}.btn.primary{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.btn.primary:hover:not(:disabled){background:var(--accent-hover)}.btn.danger{background:var(--danger);border-color:var(--danger);color:#fff}.btn.danger:hover:not(:disabled){background:var(--danger-hover)}.btn.subtle{border-color:transparent;background:var(--surface-2)}.btn.subtle:hover:not(:disabled){background:var(--surface-3)}.danger-text{color:var(--danger)}.btn.danger-text{border-color:transparent;background:transparent}.btn.danger-text:hover{background:var(--danger-soft)!important}.btn.lg{height:50px;padding:0 22px;font-size:17px;border-radius:12px}.btn.block{width:100%}.btn.round{width:46px;height:46px;padding:0;border-radius:50%}.icon-btn{display:inline-grid;place-items:center;width:40px;height:40px;border:0;border-radius:10px;background:transparent;color:var(--muted);text-decoration:none;flex:none}.icon-btn:hover{background:var(--surface-2);color:var(--text)}.link-btn{display:inline-flex;align-items:center;gap:6px;border:0;background:none;color:var(--accent);padding:4px 0;font-weight:550}.back-link{display:inline-flex;align-items:center;gap:6px;color:var(--muted);text-decoration:none;font-weight:550;border:0;background:none;padding:6px 0}.back-link:hover{color:var(--text)}.input{width:100%;height:44px;padding:0 14px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);transition:border-color .15s}.input:hover{border-color:var(--line-strong)}.input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px rgb(var(--accent-rgb) / .18)}.input.lg{height:50px;font-size:17px}.input.date{width:auto;min-width:160px}.input.select{width:auto;max-width:100%;padding-right:32px}.textarea{height:auto;min-height:160px;padding:12px 14px;resize:vertical;line-height:1.6}.inline-input{flex:1;min-width:0;border:1px solid transparent;background:transparent;border-radius:8px;padding:6px 8px;margin-left:-8px;font-weight:600;font-size:17px}.inline-input:hover{border-color:var(--line)}.inline-input:focus{outline:none;border-color:var(--accent);background:var(--surface)}.search{position:relative;margin-bottom:16px}.search svg{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:var(--muted)}.search .input{padding-left:42px}.segmented{display:inline-flex;padding:3px;background:var(--surface-2);border-radius:10px;margin-bottom:12px}.segmented button{-webkit-tap-highlight-color:transparent;border:0;background:transparent;padding:6px 14px;border-radius:8px;font-weight:550;color:var(--muted)}.segmented button.active{background:var(--surface);color:var(--text);box-shadow:var(--shadow)}.chips{display:flex;flex-wrap:wrap;gap:8px}.chip-rows{display:flex;flex-direction:column;gap:8px}.chip{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 14px;border:1px solid var(--line);border-radius:999px;background:var(--surface);font-weight:600}.chip.lg{height:44px;padding:0 18px;font-size:17px}.chip:hover{border-color:var(--accent)}.chip.active{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.chip.ghost{border-style:dashed;color:var(--muted);font-weight:550}.chip-form .input{height:44px;width:170px;border-radius:999px}.badge{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:28px;padding:0 10px;border-radius:8px;background:var(--accent-soft);color:var(--accent);font-weight:700;font-size:15px;white-space:nowrap}.badge.lg{min-width:56px;height:36px;font-size:17px}.live-dot{display:inline-flex;align-items:center;gap:8px;color:var(--live);font-weight:650}.live-dot:before{content:"";width:9px;height:9px;border-radius:50%;background:var(--live);animation:blink 1.6s ease-in-out infinite}.live-dot.big:before{width:11px;height:11px}@keyframes blink{50%{opacity:.35}}.code-inline{font-variant-numeric:tabular-nums;letter-spacing:.04em;color:var(--text)}.spinner{display:inline-block;border:2.5px solid rgba(128,128,128,.28);border-top-color:currentColor;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.notice{display:flex;align-items:center;gap:10px;padding:12px 16px;border-radius:var(--radius-sm);background:var(--accent-soft);margin:0 0 16px;font-weight:550}.notice.error{background:var(--danger-soft);color:var(--danger)}.progress{width:min(320px,80%);height:6px;border-radius:99px;background:var(--surface-2);overflow:hidden}.progress div{height:100%;background:var(--accent);transition:width .2s}.toasts{position:fixed;left:50%;bottom:calc(24px + env(safe-area-inset-bottom));transform:translate(-50%);display:flex;flex-direction:column;gap:8px;z-index:100;width:max-content;max-width:calc(100vw - 32px)}.toast{display:flex;align-items:center;gap:16px;padding:12px 16px;border-radius:12px;background:#222226;color:#fff;box-shadow:var(--shadow-lg);animation:rise .2s ease-out}.toast.error{background:#b91c1c}.toast-action{border:0;background:none;color:#a5b4fc;font-weight:650;padding:0}@keyframes rise{0%{opacity:0;transform:translateY(8px)}}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;overflow-y:auto;background:#0006;display:grid;place-items:center;padding:16px;z-index:90;animation:fade .15s}@keyframes fade{0%{opacity:0}}.modal{width:min(440px,100%);max-height:calc(100vh - 32px);overflow:auto;background:var(--surface);border-radius:18px;padding:22px 24px 24px;box-shadow:var(--shadow-lg);animation:rise .18s ease-out}.modal.wide{width:min(620px,100%)}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.modal-text{margin:0 0 8px;color:var(--muted)}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px;flex-wrap:wrap}.modal-loading{display:grid;place-items:center;padding:40px}.start-dialog .field{margin-top:14px}.field-label{font-size:14px;font-weight:600;color:var(--muted);margin-bottom:8px}.start-dialog .search{margin-bottom:8px}.pick-list{display:flex;flex-direction:column;gap:6px;max-height:300px;overflow:auto}.pick-item{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;padding:12px 14px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface)}.pick-item:hover{border-color:var(--accent)}.pick-item.active{border-color:var(--accent);background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent)}.pick-title{font-weight:600}.center-screen{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:24px;text-align:center}.lead{font-size:18px;color:var(--muted);margin:0;max-width:520px}.footer{display:flex;justify-content:center;gap:24px;flex-wrap:wrap;padding:32px 16px calc(24px + env(safe-area-inset-bottom));font-size:13px}.footer a{color:var(--muted);text-decoration:none}.footer a:hover{color:var(--text);text-decoration:underline}.brand-mark{display:grid;place-items:center;width:60px;height:60px;border-radius:18px;background:var(--accent);color:#fff;box-shadow:0 8px 24px rgb(var(--accent-rgb) / .35)}.page-narrow{max-width:760px;margin:0 auto;padding:24px 20px 48px}.student-page{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}.student-header{position:sticky;top:0;z-index:30;background:var(--bg);border-bottom:1px solid var(--line)}.student-header-in{display:flex;align-items:center;gap:24px;max-width:1440px;height:64px;margin:0 auto;padding:0 24px}.sh-brand{display:inline-flex;align-items:center;gap:10px;font-weight:700;font-size:18px;color:var(--text);text-decoration:none}.sh-logo{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:var(--accent);color:#fff}.sh-link{display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-weight:550;text-decoration:none}.sh-link:hover,.sh-link.active{color:var(--accent)}.sh-code{margin-left:auto}.sh-courses{position:relative}.sh-courses-btn{height:38px;padding:0;border:0;background:none;cursor:pointer;font:inherit;font-weight:550}.sh-courses-btn svg{transition:transform .15s}.sh-courses-btn[aria-expanded=true] svg{transform:rotate(180deg)}.sh-menu{position:absolute;top:calc(100% + 12px);left:-12px;width:300px;max-height:calc(100vh - 100px);overflow:auto;padding:6px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-lg);animation:fade-in .12s ease-out}.sh-menu-item{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;border:0;border-radius:var(--radius-sm);background:none;color:var(--text);font:inherit;text-align:left;cursor:pointer}.sh-menu-item:hover{background:var(--surface-2)}.sh-menu-item.current{color:var(--accent)}.sh-menu-name{flex:1;min-width:0;font-weight:600}.sh-menu-check{flex:none}.sh-menu-skeleton{display:block;height:36px;margin:4px}.sh-menu-empty{padding:10px 12px}.sh-code-inline{position:relative;display:flex;align-items:center;gap:12px}.sh-code-label{color:var(--muted);font-weight:550}.sh-code-pop{position:absolute;top:calc(100% + 10px);right:0;min-width:100%;max-width:360px;width:max-content;padding:8px 12px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);box-shadow:var(--shadow);font-size:14px;font-weight:550;animation:fade-in .12s ease-out}.sh-code .btn{height:38px}.code-dialog{display:flex;flex-direction:column;align-items:center;gap:14px;padding-top:4px}.code-dialog .code-status{margin-top:0}.student-main{flex:1;width:100%;max-width:1200px;margin:0 auto;padding:8px 24px 0}.closed-screen{min-height:0;flex:1}.return-card{display:flex;align-items:center;gap:18px;margin-top:24px;padding:14px 18px 14px 14px;border:2px solid var(--accent);border-radius:var(--radius);background:var(--accent-soft);color:var(--text);text-decoration:none;transition:box-shadow .15s}.return-card:hover{box-shadow:var(--shadow)}.return-card-thumb{flex:none;width:128px;aspect-ratio:16 / 9;border-radius:8px;overflow:hidden;background:var(--surface);display:grid;place-items:center;color:var(--accent)}.return-card-thumb img{width:100%;height:100%;object-fit:cover}.return-card-body{flex:1;min-width:0}.return-card-wait{color:var(--accent);font-weight:650}.return-card-title{margin-top:2px;font-size:20px;font-weight:700;overflow-wrap:anywhere}.lesson-card-skeleton{height:76px;border-radius:var(--radius)}.code-input{position:relative;display:flex;gap:10px;cursor:text}.code-input input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;width:100%;font-size:16px;caret-color:transparent}.code-cell{display:grid;place-items:center;width:64px;height:80px;border:2px solid var(--line);border-radius:14px;background:var(--surface);font-size:38px;font-weight:650;font-variant-numeric:tabular-nums;transition:border-color .12s}.code-cell.gap{margin-right:14px}.code-input.small{gap:6px}.code-input.small .code-cell{width:36px;height:44px;border-radius:9px;font-size:22px}.code-input.small:focus-within .code-cell.active{box-shadow:0 0 0 3px rgb(var(--accent-rgb) / .16)}.code-input:focus-within .code-cell.active{border-color:var(--accent);box-shadow:0 0 0 4px rgb(var(--accent-rgb) / .16)}.code-input.error .code-cell{border-color:var(--danger);animation:shake .35s}@keyframes shake{25%{transform:translate(-5px)}75%{transform:translate(5px)}}.code-status{min-height:28px;margin-top:8px;font-weight:550}.card-section{margin-top:28px}.card-section h2{margin-bottom:12px;font-size:17px;color:var(--muted)}.lesson-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));gap:10px}.lesson-card{min-width:0;display:flex;align-items:center;gap:14px;padding:10px 16px 10px 10px;border-radius:var(--radius);background:var(--surface);border:1px solid var(--line);text-decoration:none;transition:border-color .15s,box-shadow .15s}.lesson-card:hover{border-color:rgb(var(--accent-rgb) / .5);box-shadow:var(--shadow)}.lesson-card-thumb{flex:none;width:96px;aspect-ratio:16 / 9;border-radius:8px;background:var(--surface-2);display:grid;place-items:center;overflow:hidden;color:var(--muted)}.lesson-card-thumb img{width:100%;height:100%;object-fit:cover}.lesson-card-body{flex:1;min-width:0}.lesson-card-title{font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.waiting h1{font-size:32px}.live-text{padding-top:48px}.live-text h1{margin:10px 0 20px}.waiting-desc{width:min(680px,100%);margin-top:20px;padding:20px 24px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);text-align:left}.pulse{width:18px;height:18px;border-radius:50%;background:var(--accent);animation:pulse 1.8s ease-out infinite;margin-bottom:12px}@keyframes pulse{0%{box-shadow:0 0 rgb(var(--accent-rgb) / .5)}to{box-shadow:0 0 0 28px transparent}}.stage{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;background:var(--stage);color:#e8e8ec;-webkit-user-select:none;user-select:none}.stage-slide{flex:1;padding:12px}.stage-bar{flex:none;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;height:52px;padding:0 12px env(safe-area-inset-bottom) 20px;font-size:15px}.stage-left{display:flex;align-items:center;min-width:0}.stage-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#a1a1aa}.stage-count{font-variant-numeric:tabular-nums;font-weight:600}.stage-actions{justify-self:end;display:flex;gap:4px}.stage-btn{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:#d4d4d8}.stage-btn:hover{background:#ffffff14}.info-panel{position:absolute;top:0;right:0;bottom:0;width:min(440px,100%);background:var(--surface);color:var(--text);padding:20px 24px;overflow:auto;box-shadow:var(--shadow-lg);animation:slide-in .2s ease-out;-webkit-user-select:text;user-select:text}@keyframes slide-in{0%{transform:translate(30px);opacity:0}}.info-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:8px}.conn-lost{position:fixed;top:14px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;background:#b91c1c;color:#fff;font-size:14px;font-weight:600;z-index:50;box-shadow:var(--shadow-lg)}@media(orientation:landscape)and (max-height:500px){.stage-bar{display:none}.stage-slide{padding:0}}.slide-box{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;width:100%;height:100%}.slide-frame{position:relative;flex:none;border-radius:6px;overflow:hidden;background:#fff;box-shadow:0 2px 10px #0000001f}.slide-frame img{position:absolute;top:0;right:0;bottom:0;left:0;display:block;width:100%;height:100%;object-fit:contain;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.slide-frame.empty{background:#80808024;box-shadow:none}.slide-frame.interactive{cursor:crosshair;touch-action:none}.slide-failed{position:absolute;left:50%;bottom:12px;transform:translate(-50%);background:#000000b3;color:#fff;padding:6px 12px;border-radius:8px;font-size:14px}.laser{position:absolute;width:22px;height:22px;margin:-11px 0 0 -11px;border-radius:50%;background:radial-gradient(circle,#fff 0 18%,var(--laser) 30% 55%,rgb(var(--laser-rgb) / 0) 72%);box-shadow:0 0 18px 6px rgb(var(--laser-rgb) / .55);pointer-events:none;transition:left .06s linear,top .06s linear}.laser-flash{position:absolute;width:90px;height:90px;margin:-45px 0 0 -45px;border-radius:50%;border:4px solid var(--laser);pointer-events:none;animation:flash .8s ease-out forwards}@keyframes flash{0%{transform:scale(.2);opacity:1}to{transform:scale(1.2);opacity:0}}.strip{display:flex;gap:8px;overflow-x:auto;padding:4px 2px 8px;scrollbar-width:thin}.strip-item{position:relative;flex:none;width:120px;aspect-ratio:16 / 9;padding:0;border:2px solid transparent;border-radius:8px;overflow:hidden;background:var(--surface-2);opacity:.75;transition:opacity .15s,border-color .15s}.strip-item:hover{opacity:1}.strip-item.active{border-color:var(--accent);opacity:1}.strip-item img{width:100%;height:100%;object-fit:contain;background:#fff;display:block}.strip-num{position:absolute;left:4px;bottom:4px;min-width:20px;padding:0 5px;border-radius:5px;background:#0009;color:#fff;font-size:12px;font-weight:600;line-height:18px}.materials{max-width:1200px;margin:0 auto;padding:16px 24px 0}.materials-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:32px;margin-bottom:12px}.materials-date{font-size:14px}.materials-title{display:flex;align-items:flex-end;height:2.4em;font-size:32px;line-height:1.2}.materials-title>span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}.viewer{margin-top:20px;display:flex;flex-direction:column;align-items:center;gap:12px}.viewer-main{width:100%;height:min(72vh,calc((100vw - 48px)*.5625));min-height:200px}.viewer-controls{display:flex;align-items:center;gap:18px}.viewer-count{min-width:70px;text-align:center;font-weight:600;font-variant-numeric:tabular-nums}.viewer .strip{width:100%}.materials-desc{max-width:760px;margin:32px auto 0;padding:24px 28px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}.prose{line-height:1.65;overflow-wrap:anywhere}.prose>:first-child{margin-top:0}.prose>:last-child{margin-bottom:0}.prose h1,.prose h2,.prose h3{margin:1.3em 0 .5em}.prose h1{font-size:26px}.prose h2{font-size:21px}.prose a{color:var(--accent)}.prose img{max-width:100%;border-radius:8px}.prose pre{background:var(--surface-2);padding:12px 14px;border-radius:10px;overflow:auto}.prose pre code{background:none;padding:0}.prose blockquote{margin:1em 0;padding:2px 16px;border-left:3px solid var(--accent);color:var(--muted)}.admin{display:flex;min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;flex:none;width:232px;display:flex;flex-direction:column;padding:20px 14px 0;border-right:1px solid var(--line);background:var(--surface)}.sidebar-brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:18px;padding:0 10px 22px}.brand-dot{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:var(--accent);color:#fff}.sidebar-nav{display:flex;flex-direction:column;gap:2px}.nav-item{display:flex;align-items:center;gap:12px;width:100%;height:44px;padding:0 12px;border:0;border-radius:10px;background:transparent;color:var(--muted);font-weight:600;text-align:left}.nav-item:hover{background:var(--surface-2);color:var(--text)}.nav-item.active{background:var(--accent-soft);color:var(--accent)}.nav-item.subtle{font-weight:500;height:38px}.sidebar-foot{margin-top:auto}.sidebar-foot .footer{flex-direction:column;gap:4px;padding:8px 12px 16px;align-items:flex-start}.admin-main{flex:1;min-width:0}.page{max-width:1040px;margin:0 auto;padding:36px 40px 64px}.page.narrow{max-width:720px}.page-loading{display:grid;place-items:center;min-height:50vh}.page-top{display:flex;justify-content:space-between;align-items:center;min-height:34px;margin-bottom:8px}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:28px}.page-head h1{font-size:32px}.page-head .muted{margin:4px 0 0;font-size:17px}.section{margin-top:40px}.section>h2{margin-bottom:14px}.empty{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;padding:56px 24px;border:1.5px dashed var(--line);border-radius:var(--radius);color:var(--muted)}.empty h2{color:var(--text)}.empty p{margin:0 0 10px}.empty.small{padding:32px 24px}.list{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.list-row{display:flex;align-items:center;gap:14px;min-height:58px;padding:8px 16px;text-decoration:none;border-top:1px solid var(--line)}.list-row:first-child{border-top:0}a.list-row:hover{background:var(--surface-2)}.list-date{width:130px;flex:none;color:var(--muted)}.list-title{flex:1;min-width:0;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.live-banner{display:flex;align-items:center;gap:18px;width:100%;padding:18px 22px;margin-bottom:20px;border:1.5px solid rgb(var(--live-rgb) / .4);border-radius:var(--radius);background:var(--live-soft);text-align:left}.live-banner-title{flex:1;font-weight:650;font-size:17px}.live-banner-go{display:inline-flex;align-items:center;gap:6px;font-weight:650;color:var(--live)}.run-cards{display:flex;flex-direction:column;gap:12px}.run-card{display:flex;align-items:center;gap:20px;padding:16px 20px 16px 16px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.run-card.ended{box-shadow:none;background:transparent}.run-card-thumb{flex:none;width:150px;aspect-ratio:16 / 9;border-radius:10px;overflow:hidden;background:var(--surface-2);display:grid;place-items:center;color:var(--muted)}.run-card-thumb img{width:100%;height:100%;object-fit:cover}.run-card-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.run-card-class{font-size:26px;font-weight:750;letter-spacing:-.02em;line-height:1.1}.run-card-title{font-weight:600;font-size:17px;text-decoration:none}.run-card-title:hover{text-decoration:underline}.lesson-list{display:flex;flex-direction:column;gap:8px}.lesson-row{display:flex;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);transition:box-shadow .15s}.lesson-row:hover{box-shadow:var(--shadow)}.lesson-list.sorting .lesson-row{transition:transform .15s ease}.lesson-list.sorting .lesson-row.lifted{position:relative;z-index:3;transition:box-shadow .15s;box-shadow:0 14px 32px #0000002e;border-color:var(--accent);cursor:grabbing}.lesson-list.sorting .lesson-row.lifted.dropping{transition:transform .16s ease,box-shadow .16s;box-shadow:var(--shadow)}.lesson-list.sorting,.lesson-list.sorting *{-webkit-user-select:none;user-select:none;cursor:grabbing!important}.lesson-list.settled .lesson-row{transition:none!important}.drag-handle{display:grid;place-items:center;align-self:stretch;width:36px;color:var(--muted);cursor:grab;touch-action:none;opacity:.6}.drag-handle:hover{opacity:1}.lesson-row-link{flex:1;min-width:0;display:flex;align-items:center;gap:14px;padding:10px 16px 10px 4px;text-decoration:none}.lesson-num{width:24px;text-align:right;color:var(--muted);font-variant-numeric:tabular-nums;font-weight:600}.lesson-thumb{flex:none;width:84px;aspect-ratio:16 / 9;border-radius:7px;overflow:hidden;background:var(--surface-2);display:grid;place-items:center;color:var(--muted)}.lesson-thumb img{width:100%;height:100%;object-fit:cover}.lesson-row-main{flex:1;min-width:0;display:flex;flex-direction:column}.lesson-row-title{font-weight:650;font-size:17px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.run-chips{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;max-width:45%}.run-chip{font-size:13px;font-weight:600;padding:3px 9px;border-radius:7px;background:var(--surface-2);color:var(--muted);white-space:nowrap}.run-chip.planned{background:var(--accent-soft);color:var(--accent)}.run-chip.live{background:rgb(var(--live-rgb) / .12);color:var(--live)}.title-input{flex:1;min-width:0;border:0;border-bottom:2px solid transparent;background:transparent;font-size:32px;font-weight:700;letter-spacing:-.015em;padding:2px 0 4px}.title-input:hover{border-bottom-color:var(--line)}.title-input:focus{outline:none;border-bottom-color:var(--accent)}.save-badge{display:inline-flex;align-items:center;gap:6px;font-size:14px;color:var(--muted)}.save-badge.saved{color:var(--ok)}.save-badge.error{color:var(--danger)}.drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:200px;padding:32px;border:2px dashed var(--line);border-radius:var(--radius);background:var(--surface);text-align:center;color:var(--muted);cursor:pointer;transition:border-color .15s,background .15s}.drop:hover,.drop.over{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.drop.busy{cursor:default;border-style:solid}.drop.busy:hover{border-color:var(--line);background:var(--surface);color:var(--muted)}.drop-title{font-weight:600;font-size:17px;color:var(--text)}.drop.compact{display:contents}.pres{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:16px}.pres-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}.pres-name{font-weight:650;overflow-wrap:anywhere}.pres-actions{display:flex;gap:8px;flex-wrap:wrap}.pres-strip{display:flex;gap:10px;overflow-x:auto;padding-bottom:6px}.pres-thumb{position:relative;flex:none;width:168px;aspect-ratio:16 / 9;border-radius:8px;overflow:hidden;border:1px solid var(--line);background:#fff}.pres-thumb img{width:100%;height:100%;object-fit:contain;display:block}.pres-thumb span{position:absolute;left:5px;bottom:5px;padding:0 6px;border-radius:5px;background:#0009;color:#fff;font-size:12px;font-weight:600;line-height:18px}.format-bar{display:flex;gap:2px;padding:4px;border:1px solid var(--line);border-bottom:0;border-radius:var(--radius-sm) var(--radius-sm) 0 0;background:var(--surface)}.format-btn{display:grid;place-items:center;width:38px;height:36px;border:0;border-radius:8px;background:transparent;color:var(--muted)}.format-btn:hover{background:var(--surface-2);color:var(--text)}.format-file{width:auto;margin-left:auto;gap:6px;padding:0 10px;display:flex;align-items:center;font-size:14px}.format-file .narrow-only{display:none}@media(max-width:600px){.format-file .wide-only{display:none}.format-file .narrow-only{display:inline}}.desc-drop{position:relative}.desc-drop-hint{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:16px;border:2px dashed var(--accent);border-radius:var(--radius-sm);background:var(--accent-soft);color:var(--accent);font-weight:600;font-size:17px;text-align:center;pointer-events:none;animation:fade-in .12s ease-out}.textarea.with-bar{border-top-left-radius:0;border-top-right-radius:0}.desc-preview{min-height:160px;padding:16px 18px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface)}.runs-table{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);margin-bottom:12px}.runs-row{display:flex;align-items:center;gap:16px;padding:10px 12px 10px 16px;border-top:1px solid var(--line);flex-wrap:wrap}.runs-row:first-child{border-top:0}.runs-date{min-width:160px;font-weight:550}.runs-status{flex:1;min-width:120px}.runs-actions{display:flex;align-items:center;gap:6px;margin-left:auto}.add-run{display:flex;flex-direction:column;gap:14px;padding:18px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}.add-run-row{display:flex;gap:10px;flex-wrap:wrap}.publish p{margin:10px 0 0}.danger-zone{padding-top:24px;border-top:1px solid var(--line)}.add-line{display:flex;gap:10px;margin-bottom:20px}.list-row.static{padding-right:8px}.archived summary{cursor:pointer;color:var(--muted);font-weight:600;margin-bottom:10px}.stack{display:flex;flex-direction:column;gap:10px;max-width:380px;align-items:flex-start}.login{width:min(380px,100%);display:flex;flex-direction:column;align-items:center;gap:14px}.login h1{font-size:26px;margin:10px 0 8px}.run-panel{position:fixed;top:0;right:0;bottom:0;left:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr);background:var(--bg)}.run-top{display:flex;align-items:center;gap:14px;padding:10px 16px;border-bottom:1px solid var(--line);background:var(--surface)}.run-title{flex:1;min-width:0;display:flex;align-items:center;gap:10px}.run-title-text{font-weight:650;font-size:17px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.run-meta{display:flex;align-items:center;gap:18px}.run-count{display:inline-flex;align-items:center;gap:6px;font-weight:650;font-variant-numeric:tabular-nums}.run-body{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;padding:20px 20px 8px;min-height:0}.run-stage{position:relative;min-height:0;min-width:0}.stage-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;background:rgb(var(--bg-rgb) / .55);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.overlay-card{display:flex;flex-direction:column;align-items:center;gap:10px;padding:28px 36px;background:var(--surface);border-radius:18px;box-shadow:var(--shadow-lg);text-align:center}.overlay-card p{margin:0 0 8px}.run-side{display:flex;flex-direction:column;gap:16px;min-height:0;overflow:auto}.code-card{display:flex;flex-direction:column;align-items:center;gap:2px;padding:18px 16px 12px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);text-align:center}.code-card-label{font-size:14px;font-weight:600;color:var(--muted)}.code-card-code{font-size:44px;font-weight:750;letter-spacing:.04em;font-variant-numeric:tabular-nums;line-height:1.15}.next-card{display:flex;flex-direction:column;gap:6px}.next-thumb{padding:0;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff;aspect-ratio:16 / 9}.next-thumb img{width:100%;height:100%;object-fit:contain;display:block}.next-thumb:hover:not(:disabled){border-color:var(--accent)}.toggle{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);font-weight:600;text-align:left}.toggle span:nth-child(2){flex:1}.toggle-switch{position:relative;width:40px;height:24px;border-radius:99px;background:var(--line);transition:background .15s}.toggle-switch:after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #00000040;transition:transform .15s}.toggle.on .toggle-switch{background:var(--laser)}.toggle.on .toggle-switch:after{transform:translate(16px)}.toggle.on svg{color:var(--laser)}.run-bottom{display:flex;align-items:center;gap:20px;padding:8px 20px calc(14px + env(safe-area-inset-bottom));min-width:0}.run-bottom .strip{flex:1;min-width:0}.run-nav{flex:none;display:flex;align-items:center;gap:14px;width:300px;justify-content:space-between}.nav-btn{height:56px;padding:0 16px;font-size:17px;border-radius:14px}.run-nav-count{font-size:20px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}.show-sm{display:none}.run-top-code{display:none;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}@media(max-width:900px){.admin{flex-direction:column}.sidebar{position:fixed;top:auto;bottom:0;left:0;right:0;height:auto;width:auto;z-index:40;padding:0 0 env(safe-area-inset-bottom);border-right:0;border-top:1px solid var(--line);flex-direction:row}.sidebar-brand,.sidebar-foot{display:none}.sidebar-nav{flex:1;flex-direction:row}.nav-item{flex:1;flex-direction:column;justify-content:center;gap:2px;height:60px;padding:0;border-radius:0;font-size:12px;text-align:center}.nav-item.active{background:transparent}.admin-main{padding-bottom:calc(72px + env(safe-area-inset-bottom))}.page{padding:20px 16px 40px}.page-head{flex-direction:column;align-items:stretch;gap:14px;margin-bottom:20px}.page-head h1,.title-input{font-size:26px}.page-head .btn.lg{width:100%}.section{margin-top:32px}.run-card{flex-wrap:wrap;gap:14px;padding:14px}.run-card-thumb{width:104px}.run-card-action,.run-card-action .btn{width:100%}.list-date{width:auto}.list-row,.lesson-row-link{flex-wrap:wrap;gap:6px 12px}.lesson-num{display:none}.run-chips{max-width:none;justify-content:flex-start;width:100%}.lesson-thumb{width:72px}.runs-row{gap:10px 12px}.runs-date,.input.date{min-width:0}.pres-thumb{width:132px}.add-line{flex-direction:column}.run-top{gap:8px;padding:8px 10px}.run-meta{gap:10px}.run-meta .live-dot{font-size:0;gap:0}.hide-sm{display:none}.show-sm{display:inline}.run-top .btn.danger{height:38px;padding:0 12px}.run-panel{grid-template-rows:auto auto minmax(0,1fr)}.run-body{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;gap:10px;padding:10px 10px 4px}.run-stage{aspect-ratio:var(--aspect, 16 / 9);max-height:58vh}.run-side{flex-direction:row;gap:8px;overflow:visible}.code-card{flex:1;flex-direction:row;flex-wrap:wrap;justify-content:center;gap:4px 10px;padding:8px 10px}.code-card-label{display:none}.code-card-code{font-size:26px}.next-card{display:none}.toggle{flex:none;padding:8px 12px}.toggle span:nth-child(2){display:none}.run-bottom{flex-direction:column;justify-content:flex-end;align-items:stretch;gap:6px;padding:4px 10px calc(10px + env(safe-area-inset-bottom))}.run-bottom .strip{flex:none}.run-bottom .strip-item{width:84px}.run-nav{width:100%}.nav-btn{flex:1;height:64px}.run-nav-count{min-width:76px;text-align:center}.materials{padding:12px 12px 0}.materials-title{font-size:26px}.viewer-main{height:calc((100vw - 24px)*.5625)}.materials-desc{padding:18px}}@media(max-width:900px)and (orientation:landscape)and (max-height:500px){.run-panel{grid-template-rows:auto minmax(0,1fr)}.run-top{padding:4px 10px}.run-top-code{display:inline}.run-body{grid-template-rows:minmax(0,1fr);padding:6px 84px}.run-stage{aspect-ratio:auto;max-height:none}.run-side{display:none}.run-bottom{position:fixed;left:0;right:0;bottom:0;padding:0 10px calc(10px + env(safe-area-inset-bottom));pointer-events:none}.run-bottom .strip{display:none}.run-nav{justify-content:space-between}.nav-btn{flex:none;width:64px;height:64px;padding:0;border-radius:50%;pointer-events:auto;box-shadow:var(--shadow-lg)}.run-nav-count{display:none}}@media(max-width:700px){.code-backdrop{align-items:start;padding-top:calc(12px + env(safe-area-inset-top))}.home-main .lesson-card-thumb,.home-main .return-card-thumb{display:none}.home-main .lesson-card{padding:12px 14px;min-height:56px}.student-header-in{gap:14px;height:56px;padding:0 16px}.sh-brand-name{display:none}.sh-courses{position:static}.sh-menu{top:100%;left:8px;right:8px;width:auto}.student-main{padding:4px 16px 0}.return-card{flex-wrap:wrap;gap:12px 14px;margin-top:16px;padding:12px}.return-card-thumb{width:96px}.return-card-title{font-size:17px}.return-card-go{width:100%}}@media(max-width:520px){.code-input:not(.small){gap:6px}.code-cell{width:46px;height:60px;font-size:28px;border-radius:11px}.code-cell.gap{margin-right:8px}.lesson-cards{grid-template-columns:minmax(0,1fr)}.stage-bar{padding-left:12px}.stage-btn{padding:0 8px}.stage-title{font-size:13px}}.no-slides{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:1.5px dashed var(--line);border-radius:var(--radius);text-align:center;padding:24px}.code-card-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:2px 16px}.seat-badge{position:fixed;top:14px;right:18px;z-index:30;color:var(--muted);font-size:18px;font-weight:600;font-variant-numeric:tabular-nums;pointer-events:none}.seat-in-bar{color:#d4d4d8;font-size:18px;font-weight:600;font-variant-numeric:tabular-nums;margin-right:14px;white-space:nowrap}.assignment-pill{position:fixed;right:16px;bottom:calc(68px + env(safe-area-inset-bottom));z-index:30;display:inline-flex;align-items:center;gap:8px;height:46px;padding:0 18px;border:0;border-radius:999px;background:var(--surface);color:var(--text);font-weight:650;box-shadow:var(--shadow-lg)}.assignment-pill.pending{background:var(--accent);color:var(--on-accent)}.assignment-pill.pending:after{content:"";width:9px;height:9px;border-radius:50%;background:#fbbf24}.assignment-panel{position:fixed;top:0;right:0;bottom:0;z-index:40;width:min(440px,100%);display:flex;flex-direction:column;gap:14px;padding:20px 24px calc(20px + env(safe-area-inset-bottom));overflow:auto;background:var(--surface);color:var(--text);box-shadow:var(--shadow-lg);animation:slide-in .2s ease-out;-webkit-user-select:text;user-select:text}.assignment{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:16px;border-radius:var(--radius);border:1.5px solid var(--accent);background:var(--accent-soft)}.assignment.done{border-color:var(--line);background:transparent}.assignment .prose{font-size:18px}.assignment-done{display:inline-flex;align-items:center;gap:6px;color:var(--ok);font-weight:650}.students-card{display:flex;flex-direction:column;gap:10px;padding:14px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}.students-head{display:flex;align-items:center;gap:8px;font-weight:650}.seat-grid{padding:0 6px 6px 0;display:grid;grid-template-columns:repeat(auto-fill,minmax(46px,1fr));gap:6px}.seat{position:relative;height:42px;border:1px solid var(--line);border-radius:10px;background:var(--surface-2);font-weight:700;font-size:16px;font-variant-numeric:tabular-nums}.seat:hover{border-color:var(--accent)}.seat.offline{color:var(--muted);background:transparent;border-style:dashed}.seat.watching{box-shadow:inset 0 -3px 0 var(--ok)}.seat.away{border-color:#f59e0b;background:#f59e0b29;box-shadow:inset 0 -3px #f59e0b}.seat-away{position:absolute;bottom:-6px;right:-6px;min-width:18px;height:18px;padding:0 4px;border:2px solid var(--surface);border-radius:9px;background:#f59e0b;color:#fff;font-size:11px;font-weight:800;line-height:14px}.seat-legend{display:flex;flex-wrap:wrap;gap:4px 12px}.seat-legend-item:before{content:"";display:inline-block;width:8px;height:8px;margin-right:5px;border-radius:50%;vertical-align:1px}.seat-legend-item.watching:before{background:var(--ok)}.seat-legend-item.away:before{background:#f59e0b}.seat-legend-item.offline:before{border:1.5px dashed var(--muted)}.away-text{color:var(--warn);font-weight:600}.students-head .away-text{margin-left:auto}.state-chip{font-weight:650}.state-chip.watching{color:var(--ok)}.state-chip.away{color:var(--warn)}.state-chip.offline{color:var(--muted)}.seat-mark{position:absolute;top:-5px;right:-5px;display:grid;place-items:center;width:16px;height:16px;border-radius:50%;border:2px solid var(--surface)}.seat-mark.pending{background:var(--accent)}.seat-mark.done{background:var(--ok);color:#fff}.students-btn{display:none;align-items:center;gap:8px;padding:8px 12px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);font-weight:650;white-space:nowrap}.student-status{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin:-6px 0 12px}.student-status .btn:first-of-type{margin-left:auto}.identify-frame{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;pointer-events:none;border:10px solid #f43f5e;box-shadow:inset 0 0 0 4px #fff,inset 0 0 40px #f43f5e99;animation:identify-pulse 1s ease-in-out infinite alternate}.identify-seat{position:absolute;top:12px;left:50%;transform:translate(-50%);padding:6px 22px;border-radius:999px;background:#f43f5e;color:#fff;font-size:34px;font-weight:800;box-shadow:0 4px 16px #0000004d}@keyframes identify-pulse{0%{border-color:#f43f5e}to{border-color:#fb923c}}.student-assignments{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}.student-assignment{padding:10px 12px;border-radius:var(--radius-sm);border:1px solid var(--line)}.student-assignment.sent{border-color:#f59e0b}.student-assignment-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:6px}.ok-text{display:inline-flex;align-items:center;gap:4px;color:var(--ok);font-weight:650;font-size:14px}.assignment-input{min-height:110px}@media(max-width:900px){.run-side .students-card{display:none}.run-side{flex-wrap:wrap}.students-btn{display:inline-flex;justify-content:center;width:100%}}a.term{color:inherit;text-decoration:underline dotted rgb(var(--accent-rgb) / .55);text-decoration-thickness:1.5px;text-underline-offset:3px;border-radius:4px;transition:background .15s,color .15s}a.term:hover{background:rgb(var(--accent-rgb) / .1);color:var(--accent);text-decoration-color:var(--accent)}.hotspot{position:absolute;padding:0;margin:0;border:0;border-radius:4px;background:transparent;cursor:pointer;transition:background .15s,box-shadow .15s}.hotspot:hover,.hotspot:focus-visible{background:rgb(var(--accent-rgb) / .14);box-shadow:0 0 0 2px rgb(var(--accent-rgb) / .45);outline:none}.term-tip{position:fixed;z-index:120;transform:translate(-50%,-100%);max-width:320px;display:flex;flex-direction:column;gap:2px;padding:10px 12px;border-radius:10px;background:#222226;color:#f4f4f5;font-size:14px;line-height:1.4;box-shadow:var(--shadow-lg);pointer-events:none;animation:fade .12s}.term-tip.below{transform:translate(-50%)}.term-tip span{color:#c8c8cf}.term-panel{position:fixed;top:0;right:0;bottom:0;z-index:45;width:min(460px,100%);display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:18px 24px calc(24px + env(safe-area-inset-bottom));overflow:auto;background:var(--surface);color:var(--text);box-shadow:var(--shadow-lg);animation:slide-in .2s ease-out;-webkit-user-select:text;user-select:text}.term-panel .info-head{width:100%;align-items:center;margin:0}.term-panel .prose{width:100%}.term-kicker{font-size:13px;font-weight:650;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}.term-panel-title{font-size:26px}.term-short{margin:0;font-size:17px;color:var(--muted)}.term-short.lg{font-size:20px;margin:6px 0 22px}.term-section{font-size:17px;margin:28px 0 12px}.term-panel .term-section{margin:12px 0 0}.related{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:8px;width:100%}.related-card{display:flex;flex-direction:column;gap:2px;padding:12px 14px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);text-align:left;text-decoration:none;transition:border-color .15s,box-shadow .15s}.related-card:hover{border-color:rgb(var(--accent-rgb) / .5);box-shadow:var(--shadow)}.related-card span{font-size:13px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.terms-page .prose{font-size:17px}.terms-h1{display:flex;align-items:center;gap:12px;margin:14px 0 20px}.term-title{font-size:36px;margin-top:10px}.term-crumbs{display:flex;justify-content:space-between;align-items:center}.terms-group{display:grid;grid-template-columns:44px 1fr;gap:12px;margin-top:18px}.terms-letter{font-size:24px;font-weight:750;color:var(--accent);line-height:1.3}.terms-list{display:flex;flex-direction:column;border-top:1px solid var(--line)}.terms-item{display:flex;flex-direction:column;gap:2px;padding:10px 4px;border-bottom:1px solid var(--line);text-decoration:none}.terms-item:hover b{color:var(--accent)}.terms-item .muted{font-size:14px}.term-lessons{display:flex;flex-wrap:wrap;gap:8px}.term-lessons .chip{text-decoration:none}.term-row{flex-wrap:wrap;gap:2px 16px}.term-row-title{font-weight:650;min-width:200px}.term-row-short{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.section.first{margin-top:8px}.chip-input{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-height:48px;padding:6px 8px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface)}.chip-input:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px rgb(var(--accent-rgb) / .18)}.chip-input-field{flex:1;min-width:120px;border:0;outline:none;background:transparent;height:32px}.chip-x{display:inline-grid;place-items:center;margin-right:-6px;width:22px;height:22px;border:0;border-radius:50%;background:transparent;color:inherit;opacity:.6}.chip-x:hover{opacity:1;background:#8080802e}.related-picker{display:flex;flex-direction:column;gap:10px}.related-picker .search{margin:0}.lesson-terms{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:12px;font-size:14px}.lesson-terms a{color:var(--accent);text-decoration:none;padding:2px 8px;border-radius:6px;background:var(--accent-soft);font-weight:550}.tf-box{display:flex;flex-direction:column;align-items:flex-start;gap:12px}.tf-box p{margin:0}.tf-on{display:flex;align-items:center;gap:8px;color:var(--ok);font-weight:650}.tf-actions{display:flex;flex-wrap:wrap;gap:8px}.tf-steps{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:18px}.tf-qr{width:200px;height:200px;margin:12px 0 8px;padding:8px;background:#fff;border-radius:12px;border:1px solid var(--line)}.tf-qr svg{display:block;width:100%;height:100%}.tf-secret{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px}.tf-secret code{font-size:14px;letter-spacing:.04em}.tf-code{margin-top:10px}.tf-code .code-cell{width:48px;height:60px;font-size:28px}.recovery-codes{display:grid;grid-template-columns:repeat(2,max-content);gap:8px 24px;padding:16px 20px;border:1px dashed var(--line);border-radius:var(--radius)}.recovery-codes code{font-size:18px;letter-spacing:.06em;background:none;padding:0}.stack-full{display:flex;flex-direction:column;gap:10px;width:100%}.input.center{text-align:center;letter-spacing:.08em}.page.wide{max-width:1240px}.segmented.big{margin:0}.week-nav{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin-bottom:14px}.week-title{font-weight:650;font-size:17px;min-width:200px;text-align:center}.week-hint{margin-left:auto}.week-hint-usual{margin:0 0 14px}.tt-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}.tt{width:100%;border-collapse:collapse;table-layout:fixed;min-width:640px}.tt th,.tt td{border-bottom:1px solid var(--line);border-left:1px solid var(--line);padding:2px}.tt thead th{padding:6px 10px;font-weight:650;text-align:left}.tt th.today,.tt td.today{background:rgb(var(--accent-rgb) / .05)}.tt thead th.today{color:var(--accent)}.tt-date{margin-left:8px;font-weight:500;font-size:13px;color:var(--muted)}.tt-period{width:128px;border-left:0!important;text-align:left;padding:0 10px!important;white-space:nowrap}.tt-period b{display:inline-block;min-width:20px;font-size:15px}.tt-period span{font-size:12px;color:var(--muted);font-weight:500;white-space:nowrap}.tt tbody tr:last-child th,.tt tbody tr:last-child td{border-bottom:0}.tt-cell{position:relative;display:flex;align-items:center;gap:8px;width:100%;min-height:36px;padding:4px 10px;border:1px dashed transparent;border-radius:8px;background:transparent;font-weight:700;font-size:16px;text-align:left}.tt-cell:hover{border-color:var(--line);background:var(--surface-2)}.tt-cell.filled{background:var(--accent-soft);color:var(--accent)}.tt-cell.filled:hover{border-color:rgb(var(--accent-rgb) / .5)}.tt-cell.ended{background:var(--surface-2);color:var(--muted)}.tt-cell.live{box-shadow:inset 0 0 0 2px var(--live)}.tt-cell.changed:after,.tt-dot.changed{content:"";position:absolute;top:6px;right:6px;width:8px;height:8px;border-radius:50%;background:#f59e0b}.tt-class{flex:none}.tt-topic{flex:1;min-width:0;font-size:12px;font-weight:500;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tt-legend{display:flex;align-items:center;gap:6px;margin-top:10px}.tt-dot{position:static!important;display:inline-block;width:10px;height:10px;border-radius:50%;margin-left:10px}.tt-dot.ended{background:var(--surface-2);border:1px solid var(--line)}.bells{display:flex;flex-direction:column;gap:16px;max-width:460px}.bells-list{display:flex;flex-direction:column;gap:8px}.bells-row{display:flex;align-items:center;gap:10px}.bells-n{width:80px;font-weight:600}.bells-row .input{width:120px}.check{display:flex;align-items:center;gap:10px;font-weight:550}.check input{width:18px;height:18px;accent-color:var(--accent)}.next-lesson{display:grid;grid-template-columns:1fr auto;gap:6px 24px;align-items:center;padding:20px 24px;margin-bottom:20px;border-radius:var(--radius);border:1.5px solid var(--line);background:var(--surface);box-shadow:var(--shadow)}.next-lesson.now,.next-lesson.soon{border-color:rgb(var(--accent-rgb) / .55);background:linear-gradient(0deg,rgb(var(--accent-rgb) / .05),rgb(var(--accent-rgb) / .05)),var(--surface)}.next-lesson.live{border-color:rgb(var(--live-rgb) / .4)}.next-when{grid-column:1 / -1;display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-weight:650;color:var(--accent)}.next-main{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 18px;min-width:0}.next-class{font-size:40px;font-weight:800;letter-spacing:-.02em;line-height:1.1}.next-topic{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;font-size:18px;min-width:0}.next-topic-title{font-weight:600}.next-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.big-code{margin:8px 0;text-align:center;font-size:56px;font-weight:800;letter-spacing:.05em;font-variant-numeric:tabular-nums}.center-text{text-align:center}.pick-list.tall{max-height:420px}.pick-sep{margin:10px 2px 4px;font-size:13px;font-weight:650;color:var(--muted)}.day-row{gap:14px}.day-row.past{opacity:.6}.day-time{width:74px;flex:none;color:var(--muted);font-variant-numeric:tabular-nums}.day-time b{color:var(--text);margin-right:6px}.day-state{margin-left:auto}.other-today{font-size:17px;color:var(--muted);margin:8px 0 0}.tt-promo{display:flex;align-items:center;gap:14px;padding:16px 20px;margin-bottom:20px;border-radius:var(--radius);border:1.5px dashed rgb(var(--accent-rgb) / .45);color:var(--text);text-decoration:none}.tt-promo svg{color:var(--accent);flex:none}.tt-promo span{flex:1}.upcoming{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:10px;padding:8px 16px 8px 40px;background:var(--accent);color:var(--on-accent)}.upcoming span{flex:1}.upcoming .btn{height:36px;background:#fff;color:var(--accent);border-color:#fff}.course-filter{margin-bottom:14px}.course-add .input{width:220px}.lesson-course{display:flex;align-items:center;gap:10px;margin:-12px 0 8px}.class-runs{min-width:110px;text-align:right}.classes-hint{margin-top:12px}@media(max-width:900px){.next-lesson{grid-template-columns:1fr;padding:16px}.next-class{font-size:32px}.next-actions{justify-content:stretch}.next-actions .btn{flex:1}.week-hint{margin-left:0;width:100%}.upcoming{padding:8px 12px;font-size:14px}.class-runs{display:none}}.section.first-section{margin-top:0;margin-bottom:28px}.other-today{margin-top:0!important}@media(max-width:520px){.nav-item{font-size:10.5px;letter-spacing:-.01em}.nav-item span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}.nav-item.more{display:none}.sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;background:#00000059;display:flex;align-items:flex-end;animation:fade .15s}.sheet{width:100%;display:flex;flex-direction:column;padding:10px 10px calc(14px + env(safe-area-inset-bottom));border-radius:18px 18px 0 0;background:var(--surface);box-shadow:var(--shadow-lg);animation:rise .18s ease-out}.sheet-item{display:flex;align-items:center;gap:14px;height:52px;padding:0 14px;border:0;border-radius:12px;background:transparent;font-weight:600;font-size:17px;text-align:left}.sheet-item.active{background:var(--accent-soft);color:var(--accent)}.sheet-item.subtle{color:var(--muted);font-weight:500}@media(max-width:900px){.nav-item.secondary{display:none}.nav-item.more{display:flex}}.course-row{display:grid;grid-template-columns:minmax(160px,1fr) minmax(0,1.4fr) 40px 40px 40px;gap:8px}.course-meta{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stats-filters{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:14px}.stats-filters .segmented{margin:0}.stats-total{margin:0 0 12px}.stats-head,.stats-row{display:grid!important;grid-template-columns:minmax(0,1.6fr) minmax(120px,1fr) 90px;gap:16px}.stats-title{display:flex;flex-direction:column;min-width:0}.stats-title b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stats-bar{display:flex;align-items:center;gap:8px}.stats-bar span{height:10px;min-width:2px;border-radius:0 4px 4px 0;background:var(--accent)}.stats-num{font-variant-numeric:tabular-nums;color:var(--muted)}.bars{margin:0;max-width:320px}.bars svg{display:block}.bars .bar{fill:var(--accent)}.bars-base{stroke:var(--line);stroke-width:1}.bars-hit{fill:transparent}.bars-col:hover .bar{fill:var(--accent-hover)}.bars figcaption{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-top:4px}.lesson-stats{display:flex;flex-wrap:wrap;gap:24px;align-items:flex-end}.stat-num{display:flex;flex-direction:column}.stat-num b{font-size:28px;font-weight:750;font-variant-numeric:tabular-nums;line-height:1.1}.stat-num span{font-size:13px;color:var(--muted)}@media(max-width:900px){.course-row{grid-template-columns:1fr 40px 40px 40px}.course-meta{grid-column:1 / -1;order:3}.stats-head,.stats-row{grid-template-columns:minmax(0,1fr) 100px 64px;gap:10px}}.publish-rule,.publish-custom{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.input.time{width:120px}.publish{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.publish .segmented{margin:0}.publish-status{margin:0;font-weight:550}.lesson-course.unset .input.select{border-color:#f59e0b;box-shadow:0 0 0 3px #f59e0b2e}.lesson-course{flex-wrap:wrap}.term-chip{display:inline-flex;align-items:center;gap:2px;padding:0 2px 0 0;border-radius:6px;background:var(--accent-soft)}.term-chip.off{background:var(--surface-2)}.term-chip.off a{color:var(--muted)!important;text-decoration:line-through;background:transparent!important}.term-chip-x{display:inline-grid;place-items:center;width:20px;height:20px;border:0;border-radius:50%;background:transparent;color:var(--muted)}.term-chip-x:hover{background:#80808033;color:var(--text)}.class-row{display:grid!important;grid-template-columns:minmax(100px,1fr) 220px 130px 150px 40px;gap:14px}.grade-block+.grade-block{margin-top:20px}.grade-head{display:grid;grid-template-columns:minmax(100px,1fr) 220px 130px 40px;gap:14px;align-items:center;padding:0 16px 8px}.grade-head h2{margin:0;font-size:15px;font-weight:700;color:var(--muted)}.grade-head .input.select,.grade-head .course-add .input{width:100%}@media(max-width:900px){.grade-head{grid-template-columns:minmax(0,1fr);gap:6px}}.class-row .inline-input{margin-left:-8px;width:100%}.class-row .input.select,.class-row .course-add .input{width:100%}.class-row .class-runs{text-align:right;min-width:0;display:block!important}@media(max-width:900px){.class-row{grid-template-columns:minmax(0,1fr) 40px;gap:6px 10px}.class-row>:nth-child(2),.class-row .course-add{grid-column:1;grid-row:2}.class-row .class-runs{grid-column:1;grid-row:3;text-align:left}.class-row .icon-btn{grid-column:2;grid-row:1}.class-row .class-students{grid-column:1;grid-row:4;justify-self:start}}.head-end{margin-left:auto}.day-tabs{display:flex;width:100%;margin-bottom:10px}.day-tabs button{flex:1;display:flex;flex-direction:column;align-items:center;line-height:1.15}.day-tabs button small{font-size:11px;font-weight:500;color:var(--muted)}.day-tabs button.today:not(.active){color:var(--accent)}.tt-day{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);overflow:hidden}.tt-day-row{display:flex;align-items:center;gap:4px;padding:3px 4px 3px 0;border-bottom:1px solid var(--line)}.tt-day-row:last-child{border-bottom:0}.tt-day-row .tt-period{flex:none;width:112px}.tt-day-row .tt-period span{font-size:12px;color:var(--muted)}.tt-day-row .tt-cell{min-height:42px}.tt-day-shift{padding:4px 12px;background:var(--surface-2);font-size:13px;font-weight:650;color:var(--muted)}.tt-shift th{padding:3px 12px!important;background:var(--surface-2);font-size:13px;font-weight:650;color:var(--muted);text-align:left;letter-spacing:.02em}.tt-cell.filled{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.tt-cell.drag-src{opacity:.45;cursor:grabbing}.tt-cell.drop-over{border-color:var(--accent)!important;border-style:solid!important;box-shadow:inset 0 0 0 2px var(--accent);background:var(--accent-soft)}.bells-wrap{display:flex;flex-direction:column;gap:16px}.bells-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:28px}.bells h3{font-size:17px}.materials.with-side{max-width:1440px}.materials-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:28px}.materials.with-side .materials-grid{grid-template-columns:280px minmax(0,1fr)}.materials.with-side .side-col{order:-1;position:sticky;top:81px;align-self:start;display:flex;flex-direction:column;gap:10px}.materials.with-side .side-col .course-side{position:static;margin-top:0;max-height:calc(100vh - 139px)}.side-back{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:32px}@media(min-width:1101px){.materials.with-side .materials-head{display:none}}@media(max-width:1100px){.side-back{display:none}.materials.with-side .side-col{position:static;order:0}}.viewer-row{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;width:100%}.viewer-row .viewer-controls{grid-column:2}.viewer-row .mode-switch{grid-column:3;justify-self:end}.mode-switch{display:inline-flex;padding:3px;gap:2px;border-radius:10px;background:var(--surface-2)}.mode-btn{display:grid;place-items:center;width:36px;height:32px;border:0;border-radius:8px;background:transparent;color:var(--muted)}.mode-btn:hover{color:var(--text)}.mode-btn.active{background:var(--surface);color:var(--accent);box-shadow:var(--shadow)}.course-side{position:sticky;top:81px;align-self:start;margin-top:6px;padding:14px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);max-height:calc(100vh - 97px);overflow:auto}.course-side-title{font-weight:700;margin-bottom:8px}.course-side nav{display:flex;flex-direction:column;gap:2px}.course-side-item{display:flex;gap:10px;padding:8px 10px;border-radius:8px;text-decoration:none;line-height:1.35}.course-side-item:hover{background:var(--surface-2)}.course-side-item.active{background:var(--accent-soft);color:var(--accent);font-weight:650}.course-side-n{flex:none;min-width:18px;color:var(--muted);font-variant-numeric:tabular-nums}.viewer-overlay.hidden{display:none}.viewer-overlay.wide,.viewer-overlay.full{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:flex;flex-direction:column;background:var(--stage);color:#e8e8ec}.overlay-title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#a1a1aa}.overlay-bottom .mode-switch{background:#ffffff14}.overlay-bottom .mode-btn{color:#a1a1aa}.overlay-bottom .mode-btn.active{background:#ffffff29;color:#fff;box-shadow:none}.icon-btn.light{color:#d4d4d8}.icon-btn.light:hover{background:#ffffff1a;color:#fff}.overlay-slide{flex:1;min-height:0;padding:calc(12px + env(safe-area-inset-top)) 16px 0}.overlay-bottom{display:flex;flex-direction:column;align-items:center;gap:8px;padding:8px 16px calc(12px + env(safe-area-inset-bottom))}.overlay-bottom .strip{width:100%;justify-content:safe center}.overlay-bottom .btn.round{background:#ffffff1a;border-color:transparent;color:#fff}.overlay-bottom .viewer-count{color:#e4e4e7}.viewer-overlay.full .overlay-bottom{padding-bottom:16px}.overlay-title-bottom{display:none}@media(max-width:700px),(max-height:500px){.viewer-overlay.full .overlay-slide{padding:calc(6px + env(safe-area-inset-top)) 8px 0}.viewer-overlay.full .overlay-bottom{flex-direction:row;align-items:center;gap:12px;padding:6px 12px calc(6px + env(safe-area-inset-bottom))}.viewer-overlay.full .overlay-title-bottom{display:block;font-size:14px}}@media(max-width:480px){.viewer-overlay.full .overlay-title-bottom{display:none}.viewer-overlay.full .overlay-bottom{justify-content:flex-end}.viewer-overlay.full .viewer-row{display:flex;width:auto;gap:10px}.viewer-overlay.full .viewer-controls{gap:8px}}.course-chips{margin-bottom:12px}@media(max-width:1100px){.materials.with-side .materials-grid{grid-template-columns:minmax(0,1fr)}.course-side{position:static;max-height:none}.materials.with-side .course-side{order:0}}@media(max-width:700px){.viewer-row{display:flex;justify-content:space-between;gap:8px}.viewer-row .viewer-controls{gap:10px}}.rotate-hint{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);padding:12px 18px;border-radius:12px;background:#000000bf;color:#fff;font-weight:600;pointer-events:none;animation:fade-in .16s ease-out}mark{background:rgb(var(--accent-rgb) / .16);color:inherit;border-radius:3px;padding:0 1px}.terms-count{margin:-4px 0 6px;font-size:14px}.terms-group.found{grid-template-columns:1fr}.terms-row{display:flex;align-items:center;gap:6px;border-bottom:1px solid var(--line)}.terms-row .terms-item{flex:1;min-width:0;border-bottom:0}.why{font-size:14px}.copy-link{flex:none;display:inline-grid;place-items:center;width:32px;height:32px;border:0;border-radius:8px;background:transparent;color:var(--muted);opacity:.55;transition:opacity .15s,background .15s}.copy-link:hover,.copy-link:focus-visible{opacity:1;background:var(--surface-2);color:var(--accent)}.terms-row:hover .copy-link,.related-wrap:hover .copy-link,.term-row-wrap:hover .copy-link{opacity:1}.term-title,.term-panel-title{display:flex;align-items:center;gap:6px}.related-wrap{position:relative}.related-wrap .related-card{width:100%;height:100%;padding-right:38px}.related-wrap .copy-link{position:absolute;top:6px;right:6px}.term-row-wrap{padding:0 8px 0 0}.term-row-wrap .term-row{flex:1;min-width:0;display:flex;flex-wrap:wrap;gap:2px 16px;padding:10px 16px;text-decoration:none}.materials .viewer-main{height:auto;max-height:75vh;min-height:0}.head-actions{display:flex;flex-wrap:wrap;gap:10px}.empty-mark{display:inline-flex;align-items:center;align-self:flex-start;padding:1px 8px;border:1px dashed var(--line-strong, #a1a1aa);border-radius:999px;color:var(--muted);font-weight:550;white-space:nowrap}.course-meta .empty-mark{display:inline;padding:0;border:0}.ktp-start{display:flex;flex-direction:column;gap:14px}.ktp-drop{display:flex;flex-direction:column;align-items:center;gap:10px;padding:24px;border:2px dashed var(--line);border-radius:var(--radius);text-align:center;color:var(--muted)}.ktp-drop p{margin:0;max-width:420px;color:var(--text)}.ktp-paste{display:flex;flex-direction:column;gap:6px}.ktp-paste textarea{resize:vertical;font:inherit}.ktp-preview-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.ktp-list{max-height:min(55vh,520px);overflow:auto;border:1px solid var(--line);border-radius:var(--radius)}.ktp-item{display:flex;align-items:center;gap:10px;padding:7px 12px;border-bottom:1px solid var(--line);cursor:pointer}.ktp-item:last-child{border-bottom:0}.ktp-item.off .ktp-title{color:var(--muted);text-decoration:line-through}.ktp-n{min-width:24px;color:var(--muted);font-variant-numeric:tabular-nums}.ktp-title{flex:1;min-width:0}.term-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.term-card{position:relative;display:flex;align-items:flex-start;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);transition:border-color .12s,box-shadow .12s}.term-card:hover{border-color:rgb(var(--accent-rgb) / .45);box-shadow:var(--shadow)}.term-card:hover .copy-link{opacity:1}.term-card .copy-link{margin:8px 8px 0 0}.term-card-link{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px;padding:12px 4px 12px 16px;text-decoration:none;color:inherit}.term-card-title{font-weight:650;font-size:16px}.term-card-short,.terms-item .muted{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:14px;line-height:1.4}.term-card-short.warn{color:#b45309}.term-card-forms{display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin-top:2px}.mini-chip{padding:0 7px;border-radius:999px;background:var(--surface-2);color:var(--muted);font-size:12px;line-height:20px}@media(max-width:900px){.term-cards{grid-template-columns:minmax(0,1fr)}}@keyframes fade-in{0%{opacity:0}}@keyframes pop-in{0%{opacity:0;transform:translateY(6px) scale(.98)}}.page,.page-narrow,.materials,.student-main{animation:fade-in .16s ease-out}.modal{animation:pop-in .16s ease-out}.slide-img.enter{animation:fade-in 80ms linear}.slide-img.appear{animation:fade-in .2s ease-out}.student-header{view-transition-name:student-header}.sidebar{view-transition-name:admin-menu}.footer{view-transition-name:page-footer}@keyframes page-out{to{opacity:0;transform:scale(.97)}}@keyframes page-in{0%{opacity:0;transform:scale(1.03)}}::view-transition{pointer-events:none}::view-transition-old(root){animation:page-out .22s cubic-bezier(.2,0,0,1) both}::view-transition-new(root){animation:page-in .22s cubic-bezier(.2,0,0,1) both}::view-transition-group(student-header),::view-transition-group(admin-menu),::view-transition-group(page-footer),::view-transition-new(student-header),::view-transition-new(admin-menu),::view-transition-new(page-footer){animation:none}::view-transition-old(student-header):not(:only-child),::view-transition-old(admin-menu):not(:only-child),::view-transition-old(page-footer):not(:only-child){display:none}@keyframes fade-out{to{opacity:0}}::view-transition-old(student-header):only-child{animation:fade-out .22s ease-out both}::view-transition-new(student-header):only-child{animation:fade-in .22s ease-out both}.page-loading .spinner,.center-screen>.spinner,.terms-page>.spinner{animation:fade-in .2s ease-out .35s backwards,spin .7s linear infinite}.btn,.chip,.icon-btn,.nav-item,.segmented button,.mode-btn,.tt-cell,.list-row,.lesson-row,.sheet-item{transition:background-color .12s,color .12s,border-color .12s,box-shadow .12s,opacity .12s}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:1ms!important;animation-delay:0ms!important;transition-duration:1ms!important}}.page-narrow,.materials{position:relative;min-height:100vh;min-height:100dvh;padding-bottom:104px}.student-header+.page-narrow,.student-header+.materials{min-height:calc(100vh - 65px);min-height:calc(100dvh - 65px)}@media(max-width:700px){.student-header+.page-narrow,.student-header+.materials{min-height:calc(100vh - 57px);min-height:calc(100dvh - 57px)}}.page-narrow>.footer,.materials>.footer{position:absolute;left:0;right:0;bottom:0}.skeleton{display:block;border-radius:6px;background:var(--surface-2);animation:blink 1.4s ease-in-out infinite}.terms-skeleton-row{display:flex;flex-direction:column;gap:8px;padding:12px 4px;border-bottom:1px solid var(--line)}.term-body{animation:fade-in .16s ease-out;transition:opacity .12s}.term-body.loading{opacity:.6}.terms-count{min-height:24px}@font-face{font-family:Manrope Fallback;src:local("Arial"),local("Segoe UI"),local("Roboto");size-adjust:103%;ascent-override:103%;descent-override:29%;line-gap-override:0%}html.student-theme{--font: "Manrope", "Manrope Fallback", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;--mono: "JetBrains Mono", ui-monospace, Consolas, "Courier New", monospace;--bg: #f5f6fa;--bg-rgb: 245 246 250;--surface: #ffffff;--surface-2: #eef0f6;--surface-3: #e4e7f0;--text: #0f1222;--muted: #5d6378;--line: #e1e4ee;--line-strong: #c8ccdb;--accent: #4f46e5;--accent-rgb: 79 70 229;--accent-hover: #4338ca;--accent-soft: #eef0ff;--cyan: #0891b2;--grad: linear-gradient(135deg, #4f46e5, #0891b2);--grad-hover: linear-gradient(135deg, #4338ca, #0e7490);--grid: rgb(79 70 229 / .07);--shadow: 0 1px 2px rgb(15 18 34 / .06), 0 4px 16px rgb(15 18 34 / .05);--lift: 0 10px 30px rgb(15 18 34 / .1);--tone-0: #4f46e5;--tone-1: #0891b2;--tone-2: #c026d3;--tone-3: #16a34a;--tone-4: #ea580c;--tone-5: #e11d48}@media(prefers-color-scheme:dark){html.student-theme{--bg: #0b0d16;--bg-rgb: 11 13 22;--surface: #141726;--surface-2: #1c2033;--surface-3: #252a40;--text: #e8eaf4;--muted: #9096b0;--line: #262b42;--line-strong: #363c58;--accent: #8b85ff;--accent-rgb: 139 133 255;--accent-hover: #a09bff;--accent-soft: #1f1f45;--cyan: #22d3ee;--grad: linear-gradient(135deg, #5b54ee, #0e94b5);--grad-hover: linear-gradient(135deg, #6c66f5, #13a6c9);--grid: rgb(139 133 255 / .08);--lift: 0 10px 30px rgb(0 0 0 / .4);--tone-0: #8b85ff;--tone-1: #22d3ee;--tone-2: #e879f9;--tone-3: #4ade80;--tone-4: #fb923c;--tone-5: #fb7185}}.student-theme .tone-0{--c: var(--tone-0)}.student-theme .tone-1{--c: var(--tone-1)}.student-theme .tone-2{--c: var(--tone-2)}.student-theme .tone-3{--c: var(--tone-3)}.student-theme .tone-4{--c: var(--tone-4)}.student-theme .tone-5{--c: var(--tone-5)}.student-theme h1,.student-theme h2{letter-spacing:-.015em}.student-theme .num,.student-theme .code-cell,.student-theme .viewer-count,.student-theme .run-code{font-family:var(--mono);font-weight:500}.student-theme .btn.primary{background:var(--grad);border-color:transparent}.student-theme .btn.primary:hover:not(:disabled){background:var(--grad-hover)}.student-theme .student-header{background:rgb(var(--bg-rgb) / .86);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.student-theme .sh-brand{font-weight:800}.student-theme .sh-logo{background:var(--grad)}.student-theme .sh-link{font-weight:700}.student-theme .tone-dot{flex:none;width:8px;height:8px;border-radius:50%;background:var(--c, var(--accent))}.home-hero{display:none}.student-theme .home-hero{position:relative;display:block;margin-top:24px;padding:36px 40px 34px;overflow:hidden;border:1px solid var(--line);border-radius:20px;background-color:var(--surface);background-image:linear-gradient(var(--grid) 1px,transparent 1px),linear-gradient(90deg,var(--grid) 1px,transparent 1px);background-size:28px 28px;background-position:-1px -1px}.student-theme .home-hero:before,.student-theme .home-hero:after{content:"";position:absolute;border-radius:50%;pointer-events:none}.student-theme .home-hero:after{right:-80px;top:-140px;width:420px;height:420px;background:radial-gradient(circle,rgb(6 182 212 / .2),transparent 65%)}.student-theme .home-hero:before{right:160px;bottom:-180px;width:380px;height:380px;background:radial-gradient(circle,rgb(var(--accent-rgb) / .16),transparent 65%)}.student-theme .home-hero h1{position:relative;z-index:1;font-size:40px;font-weight:800;line-height:1.15;letter-spacing:-.025em}.student-theme .home-hero h1:after{content:"_";margin-left:4px;color:var(--cyan);font-family:var(--mono);animation:caret 1.1s steps(1) infinite}@keyframes caret{50%{opacity:0}}.student-theme .home-hero p{position:relative;z-index:1;max-width:600px;margin:8px 0 0;color:var(--muted);font-size:17px}.student-theme .card-section h2{margin:0 0 14px;font-size:22px;font-weight:800;color:var(--text)}.student-theme .card-section{margin-top:34px}.student-theme .course-chip{height:40px;padding:0 16px;gap:8px;font-weight:700}.student-theme .course-chip:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--c, var(--accent))}.student-theme .course-chip:hover{border-color:var(--line-strong)}.student-theme .course-chip.active{background:var(--text);border-color:var(--text);color:var(--bg)}.student-theme .course-chips{margin-bottom:16px}.student-theme .lesson-card{position:relative;overflow:hidden;transition:transform .15s,box-shadow .15s,border-color .15s}.student-theme .lesson-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--c, transparent)}.student-theme .lesson-card:hover{transform:translateY(-2px);border-color:var(--line-strong);box-shadow:var(--lift)}.student-theme .lesson-card-title .num{color:var(--c, var(--muted))}.student-theme .return-card{border:1px solid rgb(var(--live-rgb) / .35);background:var(--surface);box-shadow:0 0 0 3px rgb(var(--live-rgb) / .08),0 8px 24px rgb(var(--live-rgb) / .08)}.student-theme .return-card-title{font-weight:800}.student-theme .viewer-main .slide-frame{box-shadow:0 18px 50px #0f122229}.student-theme .materials-title{font-weight:800;letter-spacing:-.02em}.student-theme .course-side-title{display:flex;align-items:center;gap:8px;font-weight:800}.student-theme .course-side-title:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--c, var(--accent))}.student-theme .course-side-n{min-width:24px;color:var(--c, var(--muted))}.student-theme .course-side-item.active .course-side-n{color:inherit}.student-theme .code-cell{font-weight:500}@media(max-width:700px){.student-theme .home-hero{margin-top:16px;padding:20px 20px 18px;border-radius:16px}.student-theme .home-hero h1{font-size:26px}.student-theme .home-hero p{font-size:15px}.student-theme .card-section{margin-top:26px}.student-theme .card-section h2{font-size:19px}.student-theme .home-hero:before{display:none}}.btn.sm{height:34px;padding:0 12px;font-size:14px}.flip{transform:rotate(180deg)}.history-day+.history-day{margin-top:22px}.history-date{margin:0 0 8px;font-size:15px;color:var(--muted)}.history-entry{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface)}.history-entry+.history-entry{margin-top:6px}.history-entry.reverted .history-what{color:var(--muted)}.history-row{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;padding:8px 10px 8px 14px}.history-time{min-width:44px;color:var(--muted);font-variant-numeric:tabular-nums}.history-kind{min-width:130px;font-weight:650}.history-kind.k-create{color:var(--ok)}.history-kind.k-delete{color:var(--danger)}.history-kind.k-import{color:var(--accent)}.history-what{flex:1;min-width:160px}.history-badge{margin-left:8px;padding:1px 8px;border-radius:999px;background:var(--surface-2);color:var(--muted);font-size:12px;font-weight:600}.history-details{padding:4px 14px 14px;border-top:1px solid var(--line)}.diff-item+.diff-item{margin-top:12px;padding-top:12px;border-top:1px dashed var(--line)}.diff-title{margin-top:8px;font-weight:700}.diff-field{margin-top:8px}.diff-label{margin-bottom:4px;color:var(--muted);font-size:13px}.diff-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px}.diff-old,.diff-new{max-height:220px;overflow:auto;padding:6px 10px;border-radius:8px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}.diff-old{background:var(--danger-soft)}.diff-new{background:#15803d1a}.import-warn{margin:0 0 8px;padding:8px 12px;border-radius:8px;background:var(--surface-2);color:var(--warn);font-size:14px}.import-list{max-height:46vh}.import-tag{flex:none;min-width:84px;color:var(--muted);font-size:13px;font-weight:600}.import-tag.new{color:var(--ok)}@media(max-width:720px){.diff-pair{grid-template-columns:1fr}.history-kind{min-width:0}}.import-help h3{margin:22px 0 8px;font-size:17px}.import-help ul{margin:0;padding-left:20px}.import-help li+li{margin-top:6px}.import-help p{margin-top:0}.import-help code{padding:1px 5px;border-radius:5px;background:var(--surface-2);font-size:14px}.import-help-table{width:100%;border-collapse:collapse;font-size:14px}.import-help-table th,.import-help-table td{padding:8px 10px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.import-help-table th{color:var(--muted);font-weight:600}.import-help-table td:first-child{white-space:nowrap}.import-help-table td:last-child{color:var(--muted)}@media(max-width:720px){.import-help-table td:first-child{white-space:normal}}.help-backdrop .modal.wide{width:min(860px,100%)}@media(orientation:landscape)and (max-height:500px){.materials{padding-top:6px}.materials-head{min-height:28px;margin-bottom:2px}.materials-title{height:1.2em;font-size:20px}.materials-title>span{-webkit-line-clamp:1}.materials .viewer{display:grid;grid-template-columns:auto auto;justify-content:center;align-items:center;gap:8px 20px;margin-top:8px}.materials .viewer-main{width:auto;height:calc(100vh - 156px);height:calc(100dvh - 156px);max-height:none;max-width:calc(100vw - 160px)}.materials .viewer>.viewer-row{display:flex;flex-direction:column;align-items:center;gap:14px;width:auto}.materials .viewer>.viewer-row .viewer-controls{flex-direction:column;gap:8px}.materials .viewer>.viewer-row .viewer-count{min-width:0}.materials .viewer>.strip{grid-column:1 / -1}}@media(prefers-reduced-motion:reduce){.identify-frame{animation:none!important}}.history-head,.history-row{display:grid!important;grid-template-columns:170px minmax(0,1fr) 90px 100px;gap:16px;align-items:center}.history-when,.history-what{display:flex;flex-direction:column;min-width:0}.history-what b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-actions{display:flex;flex-wrap:wrap;gap:8px}.history-facts{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:20px}.fact{display:flex;flex-direction:column;gap:2px;min-width:150px;padding:12px 16px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}.fact b{font-size:20px}.seat-history-row{display:grid!important;grid-template-columns:90px 1fr 1.4fr 1fr;gap:16px;align-items:center}@media(max-width:700px){.history-head{display:none!important}.history-row{grid-template-columns:minmax(0,1fr) auto;gap:4px 12px}.history-row>.num{display:none}.seat-history-row{grid-template-columns:70px 1fr 1fr}.seat-history-row>:last-child{display:none}}.ink-canvas{position:absolute;top:0;left:0;pointer-events:none}.ink-canvas.editable{pointer-events:auto;cursor:crosshair;touch-action:none}.board-window{position:absolute;z-index:2;overflow:hidden;background:#fff;border:1px solid #d4d4d8;border-radius:6px;box-shadow:0 6px 24px #0000002e;animation:fade-in .12s ease-out}.board-window.full{border-radius:0;border-color:transparent;box-shadow:none}.board-controls{position:absolute;top:6px;right:6px;z-index:1;display:flex;gap:4px}.board-grip,.board-close{display:grid;place-items:center;width:32px;height:28px;border:1px solid #e4e4e7;border-radius:8px;background:#ffffffeb;color:#52525b;touch-action:none}.board-grip{cursor:move}.board-close:hover,.board-grip:hover{color:#18181b;border-color:#a1a1aa}.board-resize{position:absolute;right:0;bottom:0;z-index:1;width:22px;height:22px;cursor:nwse-resize;touch-action:none;background:linear-gradient(135deg,transparent 50%,#a1a1aa 50%,#a1a1aa 58%,transparent 58%,transparent 70%,#a1a1aa 70%,#a1a1aa 78%,transparent 78%)}.board-window.full .board-resize{display:none}.area-picker{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;cursor:crosshair;touch-action:none;background:#0000001f}.area-box{position:absolute;border:2px dashed var(--accent);background:#ffffff8c}.area-hint{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);padding:8px 16px;border-radius:999px;background:#18181bcc;color:#fff;font-weight:600;pointer-events:none}.ink-toolbar{display:flex;flex-direction:column;gap:10px;padding:12px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}.ink-tools{display:grid;grid-template-columns:repeat(4,1fr);gap:4px}.ink-tool{display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 2px;border:1px solid transparent;border-radius:10px;background:none;color:var(--muted);font-size:12px;font-weight:600}.ink-tool:hover{color:var(--text);background:var(--surface-2)}.ink-tool.active{color:var(--accent);border-color:var(--accent);background:var(--accent-soft)}.ink-style{display:flex;align-items:center;justify-content:space-between;gap:8px;transition:opacity .15s}.ink-style.idle{opacity:.45}.ink-colors,.ink-widths{display:flex;gap:4px}.ink-color{width:22px;height:22px;border:2px solid var(--surface);border-radius:50%;box-shadow:0 0 0 1px var(--line)}.ink-color.active{box-shadow:0 0 0 2px var(--accent)}.ink-width{display:grid;place-items:center;width:26px;height:26px;border:1px solid transparent;border-radius:8px;background:none}.ink-width span{display:block;border-radius:50%;background:var(--text)}.ink-width.active{border-color:var(--accent);background:var(--accent-soft)}.ink-actions{display:flex;align-items:center;gap:2px}.ink-board{position:relative;margin-left:auto}.ink-menu{position:absolute;right:0;bottom:calc(100% + 6px);z-index:20;display:flex;flex-direction:column;min-width:210px;max-height:60vh;overflow:auto;padding:6px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-lg);animation:fade-in .12s ease-out}.ink-menu button{padding:9px 10px;border:0;border-radius:var(--radius-sm);background:none;color:var(--text);font:inherit;text-align:left}.ink-menu button:hover{background:var(--surface-2)}.ink-menu-sep{padding:8px 10px 2px}@media(max-width:700px){.ink-toolbar{flex:1 1 100%;padding:8px;gap:6px}.ink-tool span{display:none}}.notes-grid{display:grid;align-items:start;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}.note-card{display:flex;flex-direction:column;gap:6px;padding:8px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);color:var(--text);font:inherit;text-align:left}.note-card:hover:not(:disabled){border-color:var(--accent)}.note-pic{display:grid;place-items:center;min-height:120px;border-radius:6px;background:var(--surface-2);overflow:hidden}.note-pic img{display:block;width:100%;height:auto}.note-title{font-weight:600}.note-big{display:block;max-width:100%;max-height:70vh;margin:0 auto 12px;border:1px solid var(--line);border-radius:6px}.login-screen{display:flex;justify-content:center;padding:40px 16px 60px}.login-card{width:min(460px,100%);display:flex;flex-direction:column;gap:18px;padding:24px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-lg);animation:fade-in .16s ease-out}.login-head h1{margin:4px 0 0;font-size:24px}.login-who{margin-top:8px;font-weight:700;color:var(--accent)}.login-body{display:flex;flex-direction:column;gap:12px}.login-body.center{align-items:center;padding:20px 0}.login-body h2{margin:0;font-size:19px}.login-body .link-btn{align-self:flex-start}.login-count{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.login-count-btn{height:72px;font-size:30px;font-weight:800}.login-choice{justify-content:center}.login-input{width:100%;font-size:22px;letter-spacing:.08em}.login-error{margin:0;color:var(--danger);font-weight:600}.login-note{display:grid;grid-template-columns:auto 1fr;gap:8px 16px;margin:0;padding:16px;border:2px dashed var(--accent);border-radius:var(--radius)}.login-note dt{color:var(--muted)}.login-note dd{margin:0;font-size:22px;font-weight:800}.login-timer{align-self:flex-start;padding:4px 12px;border-radius:999px;background:var(--accent-soft);color:var(--accent)}.login-request{margin:0;font-size:22px}.login-body .pulse{align-self:center}.seat.span-2{grid-column:span 2}.seat.span-3{grid-column:span 3}.reg-requests{position:fixed;top:72px;left:50%;z-index:70;transform:translate(-50%);width:min(560px,calc(100% - 24px));box-shadow:var(--shadow-lg);display:flex;flex-direction:column;gap:8px;padding:12px;border:2px solid var(--accent);border-radius:var(--radius);background:var(--accent-soft);animation:fade-in .16s ease-out}.reg-request{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.reg-request span{flex:1;min-width:140px;font-weight:650}.class-student-row{display:grid!important;grid-template-columns:90px 90px 110px minmax(0,1fr);gap:16px;align-items:center}.student-lesson-row{display:grid!important;grid-template-columns:170px minmax(0,1fr) 170px;gap:16px;align-items:center}.seat-link{font-weight:700}.run-log{display:flex;flex-direction:column;gap:6px;margin:0;padding:0;list-style:none}.run-log li{display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px}@media(max-width:700px){.class-student-row{grid-template-columns:70px 60px 70px minmax(0,1fr);gap:8px}.student-lesson-row{grid-template-columns:minmax(0,1fr);gap:2px}}.sh-account{height:38px;padding:0;border:0;background:none;font:inherit;cursor:pointer;white-space:nowrap}.sh-account.me{color:var(--text)}.sh-account-slot{display:inline-block;width:84px;height:38px}.sh-account-box{position:relative}.sh-account-menu{left:auto;right:-12px;width:240px}.sh-account-menu .sh-menu-item{gap:8px}@media(max-width:700px){.sh-account-slot{width:22px}}@media(max-width:520px){.student-header-in{gap:10px;padding:0 12px}}.ended-card h1{font-size:28px}
