@font-face{font-family:Onest;font-style:normal;font-weight:400 800;font-display:swap;src:url(/fonts/onest-cyrillic-ext.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Onest;font-style:normal;font-weight:400 800;font-display:swap;src:url(/fonts/onest-cyrillic.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Onest;font-style:normal;font-weight:400 800;font-display:swap;src:url(/fonts/onest-latin-ext.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Onest;font-style:normal;font-weight:400 800;font-display:swap;src:url(/fonts/onest-latin.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Rubik;font-style:normal;font-weight:500 800;font-display:swap;src:url(/fonts/rubik-cyrillic-ext.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Rubik;font-style:normal;font-weight:500 800;font-display:swap;src:url(/fonts/rubik-cyrillic.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Rubik;font-style:normal;font-weight:500 800;font-display:swap;src:url(/fonts/rubik-latin-ext.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Rubik;font-style:normal;font-weight:500 800;font-display:swap;src:url(/fonts/rubik-latin.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.\!visible{visibility:visible!important}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.shrink{flex-shrink:1}.grow{flex-grow:1}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.rounded{border-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.lowercase{text-transform:lowercase}.italic{font-style:italic}.line-through{text-decoration-line:line-through}.underline{text-decoration-line:underline}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{--font-body:"Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;--font-display:"Rubik", "Onest", system-ui, sans-serif;--ink:#151b33;--ink-2:#39415e;--muted:#565e78;--faint:#667093;--bg:#f3f5fb;--card:#fff;--line:#e3e8f2;--line-2:#d3dbeb;--blue:#3b5bfd;--blue-dark:#2440d8;--blue-soft:#edf1ff;--blue-line:#c9d4ff;--good:#3f7d12;--good-dark:#3a6e10;--good-soft:#effbdb;--good-line:#c6ec8a;--bad:#c92f66;--bad-dark:#b82a5c;--bad-soft:#fdeef3;--bad-line:#f5b3c9;--danger:#d12d41;--danger-dark:#b1273a;--danger-soft:#fff0f2;--danger-line:#f4b3bc;--warn:#9f6108;--warn-soft:#fff5dd;--warn-line:#f5d68d;--accent:#ffd23f;--pink:#ff7aa8;--radius:20px;--shadow:0 1px 2px #151b330a, 0 8px 24px #1b2d5810;--focus:0 0 0 3px #3b5bfd40;--soft:#f5f7fd;--tab-on:var(--blue);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--ink:#e6e9f5;--ink-2:#c3c9dc;--muted:#a3aac2;--faint:#8a92ad;--tab-on:#4a66f5;--bg:#0f1424;--card:#181f33;--soft:#1f273e;--line:#2b3450;--line-2:#3a4566;--blue:#6d87ff;--blue-dark:#8ea2ff;--blue-soft:#1f2a52;--blue-line:#3a4c94;--good:#5f9f1c;--good-dark:#a9df6e;--good-soft:#1f2e12;--good-line:#4d6e22;--bad:#e0457b;--bad-dark:#f79bd8;--bad-soft:#3a1824;--bad-line:#7a3049;--danger:#ff6b7d;--danger-dark:#ff8a98;--danger-soft:#3a1820;--danger-line:#7a3240;--warn:#f0b44a;--warn-soft:#33270f;--warn-line:#6b5220;--shadow:0 1px 2px #0006, 0 8px 24px #0005;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}:root[data-theme=dark]{--ink:#e6e9f5;--ink-2:#c3c9dc;--muted:#a3aac2;--faint:#8a92ad;--tab-on:#4a66f5;--bg:#0f1424;--card:#181f33;--soft:#1f273e;--line:#2b3450;--line-2:#3a4566;--blue:#6d87ff;--blue-dark:#8ea2ff;--blue-soft:#1f2a52;--blue-line:#3a4c94;--good:#5f9f1c;--good-dark:#a9df6e;--good-soft:#1f2e12;--good-line:#4d6e22;--bad:#e0457b;--bad-dark:#f79bd8;--bad-soft:#3a1824;--bad-line:#7a3049;--danger:#ff6b7d;--danger-dark:#ff8a98;--danger-soft:#3a1820;--danger-line:#7a3240;--warn:#f0b44a;--warn-soft:#33270f;--warn-line:#6b5220;--shadow:0 1px 2px #0006, 0 8px 24px #0005;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%;font-size:16px}body{background:var(--bg);color:var(--ink);font-family:var(--font-body);font-size-adjust:from-font;margin:0;line-height:1.5}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}:where(button,summary,[tabindex]):focus-visible{box-shadow:var(--focus)}:where(a,button,summary,[tabindex],input:not([type=file]),textarea,select):focus-visible{outline:2px solid var(--blue);outline-offset:2px}:is(.rows>.row:focus-visible,.lib-rows>.row:focus-visible){outline-offset:-3px}.lib-title:focus-visible{box-shadow:none;outline:none}.lib-row:has(.lib-title:focus-visible){outline:2px solid var(--blue);outline-offset:-3px}h1,h2,h3,h4,p{margin-top:0}h1{font-family:var(--font-display);letter-spacing:-.02em;margin-bottom:10px;font-size:clamp(1.65rem,1.2rem + 1.6vw,2.35rem);font-weight:600;line-height:1.18}h2{letter-spacing:-.01em;font-size:1.3rem;font-weight:700;line-height:1.3}h3{font-size:1.06rem;font-weight:700;line-height:1.35}h4{font-weight:700}svg{flex:none}.eyebrow{letter-spacing:.12em;text-transform:uppercase;color:var(--blue);align-items:center;gap:7px;margin-bottom:12px;font-size:.74rem;font-weight:800;display:flex}.eyebrow svg{width:15px;height:15px}.lead{color:var(--muted);margin-bottom:28px}.optional{color:var(--faint);font-weight:500}.spin{animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.quiet{color:var(--muted);padding:26px}.quiet .spin{vertical-align:-4px;width:18px;height:18px;margin-right:8px;display:inline-block}.muted{color:var(--muted)}dialog .quiet{box-shadow:none;background:0 0;border:0;border-radius:0;padding:0}@media (max-width:680px){.wide-only{display:none}}@media (min-width:681px){.narrow-only{display:none}}.logo{font-family:var(--font-display);letter-spacing:-.03em;color:var(--ink);align-items:center;gap:10px;font-size:1.12rem;font-weight:700;display:inline-flex}.logo b{background:var(--blue);color:#fff;width:38px;height:38px;box-shadow:0 3px 0 var(--blue-dark);border-radius:12px;place-items:center;font-size:1.15rem;display:grid;transform:rotate(-4deg)}.logo-button{background:0 0;border:0;border-radius:12px;padding:4px}.button{text-align:center;-webkit-user-select:none;user-select:none;border:1.5px solid #0000;border-radius:14px;justify-content:center;align-items:center;gap:8px;min-height:46px;padding:10px 18px;font-size:.93rem;font-weight:700;line-height:1.2;transition:transform 80ms,box-shadow 80ms,background .15s;display:inline-flex}.button:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.button svg{width:18px;height:18px}.button.primary{background:var(--blue);color:#fff;box-shadow:0 4px 0 var(--blue-dark)}.button.primary:hover:not(:disabled){background:#4361ff}.button.primary:active:not(:disabled){box-shadow:0 1px 0 var(--blue-dark);transform:translateY(3px)}.button.secondary{background:var(--card);color:var(--ink);border-color:var(--line-2);box-shadow:0 3px 0 var(--line-2)}.button.secondary:hover:not(:disabled){background:var(--soft)}.button.secondary:active:not(:disabled){box-shadow:0 1px 0 var(--line-2);transform:translateY(2px)}.button.ghost{color:var(--ink-2);background:0 0}.button.ghost:hover:not(:disabled){background:var(--soft)}.button.danger{color:var(--danger)}.button.danger:hover:not(:disabled){background:var(--danger-soft)}.button.small{border-radius:11px;min-height:38px;padding:7px 12px;font-size:.84rem}.button.small svg{width:16px;height:16px}.button.large{border-radius:16px;min-height:54px;font-size:1rem}.button:disabled{opacity:.6;box-shadow:none}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .button.primary:disabled{background:var(--tab-on)}}:root[data-theme=dark] .button.primary:disabled{background:var(--tab-on)}.button.recording{opacity:1;animation:1.2s ease-in-out infinite pulse;color:var(--danger)!important;border-color:var(--danger-line)!important;background:var(--danger-soft)!important;box-shadow:0 3px 0 var(--danger-line)!important}@keyframes pulse{50%{opacity:.5}}.link-button{color:var(--blue);text-underline-offset:3px;text-align:left;background:0 0;border:0;align-items:center;gap:6px;padding:0;font-weight:700;-webkit-text-decoration:underline #0000;text-decoration:underline #0000;display:inline-flex}.link-button>svg{flex:none;width:16px;height:16px}.link-button:hover{text-decoration-color:currentColor}.load-retry{justify-items:start;gap:10px;display:grid}.load-retry .field-error{margin:0}@media (max-width:480px){.load-retry .button{justify-self:stretch}}.back{white-space:nowrap;color:var(--muted);background:0 0;border:0;border-radius:10px;flex:none;align-items:center;gap:6px;padding:8px 10px 8px 4px;font-weight:700;display:inline-flex}.back:hover{color:var(--ink);background:var(--soft)}.back svg{width:18px;height:18px}.icon-button{width:40px;height:40px;color:var(--muted);background:0 0;border:0;border-radius:12px;place-items:center;display:grid}.icon-button:hover{background:var(--soft);color:var(--ink)}.icon-button svg{width:20px;height:20px}.field{flex-direction:column;gap:7px;margin:0 0 20px;display:flex}.field>label,.field>.field-head>label,.field-label{color:var(--ink-2);font-size:.86rem;font-weight:700}.field small,.written-answer small{color:var(--muted);font-size:.8rem;line-height:1.4}.field input,.field textarea,.field select,.link-input,.answer{border:1.5px solid var(--line-2);background:var(--card);border-radius:14px;width:100%;min-height:48px;padding:12px 14px;transition:border-color .15s}.field textarea,.answer{resize:vertical;line-height:1.5}.field input:hover,.field textarea:hover,.answer:hover:not(:disabled){border-color:var(--line)}.field input:focus,.field textarea:focus,.answer:focus,.link-input:focus{border-color:var(--blue)}::placeholder{color:#a9b0c4}.field-error{color:var(--danger);margin:6px 0 0;font-size:.84rem;font-weight:700}.password{position:relative}.password input{padding-right:52px}.password .icon-button{min-width:40px;min-height:40px;position:absolute;top:4px;right:4px}.banner{text-align:left;border:1.5px solid var(--blue-line);background:var(--blue-soft);width:100%;color:var(--blue-dark);border-radius:16px;align-items:center;gap:12px;margin:0 0 22px;padding:14px 16px;font-size:.93rem;display:flex}.banner svg{width:20px;height:20px;color:var(--blue)}.banner.attention{border-color:var(--warn-line);background:var(--warn-soft);color:var(--warn);font-weight:600}.banner.attention svg{color:var(--warn)}.banner.attention span{flex-wrap:wrap;flex:1;gap:4px 10px;display:flex}.banner.attention span b{font-weight:800}button.banner:hover{filter:brightness(.98)}.toast{z-index:60;color:#fff;cursor:pointer;background:#1b2340;border:1px solid #ffffff2e;border-radius:16px;align-items:center;gap:14px;width:max-content;max-width:min(560px,100vw - 32px);padding:13px 16px;font-size:.92rem;font-weight:600;line-height:1.35;animation:.2s ease-out toast-in;display:flex;position:fixed;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 12px 34px #0f173333}.toast.error{background:var(--danger)}.toast button{cursor:pointer;background:var(--card);border:0;align-items:center;gap:6px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.toast button{background:color-mix(in srgb, var(--card) 15%, transparent)}}.toast button{color:#fff;white-space:nowrap;border-radius:10px;padding:6px 10px;font-weight:700}.toast button svg{width:16px;height:16px}.toast .toast-close{flex:none;padding:6px}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,10px)}}.pill{white-space:nowrap;background:var(--soft);color:var(--muted);border-radius:999px;align-items:center;gap:6px;padding:4px 11px;font-size:.76rem;font-style:normal;font-weight:800;display:inline-flex}.pill-assigned{background:var(--blue-soft);color:var(--blue)}.pill-submitted{background:var(--warn-soft);color:var(--warn)}.pill-revision{background:var(--bad-soft);color:var(--bad)}.pill-complete{background:var(--good-soft);color:var(--good)}.loading-screen{min-height:100vh;color:var(--blue);place-content:center;justify-items:center;gap:18px;display:grid}.loading-screen>svg{width:26px;height:26px}.segmented{border:0;grid-template-columns:1fr 1fr;gap:6px;margin:0 0 20px;padding:0;display:grid}.segmented legend{color:var(--ink-2);padding:0 0 8px;font-size:.86rem;font-weight:700}.segmented label{border:1.5px solid var(--line-2);background:var(--card);min-height:46px;color:var(--muted);cursor:pointer;border-radius:14px;place-items:center;font-weight:700;transition:background .15s,border-color .15s;display:grid;position:relative}.segmented label.is-on{border-color:var(--blue);background:var(--blue-soft);color:var(--blue)}.segmented label:has(input:focus-visible){box-shadow:var(--focus)}.segmented input{opacity:0;pointer-events:none;position:absolute}.field audio{width:100%}.net-bar{opacity:0;pointer-events:none;height:3px;transition:opacity .2s;position:absolute;bottom:-1px;left:0;right:0;overflow:hidden}.net-bar.is-on{opacity:1;transition-delay:.25s}.net-bar:after{content:"";background:linear-gradient(90deg, transparent, var(--blue), transparent);width:40%;animation:1.1s ease-in-out infinite net;position:absolute;inset:0}.skeleton{pointer-events:none}.skeleton .sk,.skeleton .sk-text:before,.skeleton .sk-text:after{background:linear-gradient(90deg, var(--soft) 25%, var(--soft) 50%, var(--soft) 75%);background-size:200% 100%;border-radius:8px;animation:1.2s linear infinite shimmer}.skeleton .sk{color:#0000;box-shadow:none;border-color:#0000}.skeleton .sk>*{visibility:hidden}.skeleton .sk-text{align-items:center;height:1lh;display:flex}.skeleton .sk-text:before{content:"";width:var(--w,60%);flex:none;max-width:100%;height:.72em}@media (max-width:680px){.skeleton .row-main strong.sk-text{flex-wrap:wrap;align-content:center;gap:.4em;height:2lh}.skeleton .row-main strong.sk-text:before{width:85%}.skeleton .row-main strong.sk-text:after{content:"";flex:none;width:45%;height:.72em}}button.banner:disabled{cursor:progress;opacity:.8}.switch{background:var(--soft);cursor:pointer;border-radius:16px;align-items:flex-start;gap:14px;margin:0 0 6px;padding:14px 16px;display:flex}.switch input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.switch-track{background:var(--line-2);border-radius:999px;flex:none;width:46px;height:28px;margin-top:2px;transition:background .2s;position:relative}.switch-track:after{content:"";background:var(--card);border-radius:50%;width:22px;height:22px;transition:transform .2s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0003}.switch input:checked+.switch-track{background:var(--good)}.switch input:checked+.switch-track:after{transform:translate(18px)}.switch input:focus-visible+.switch-track{box-shadow:var(--focus)}.switch:has(input:disabled){cursor:not-allowed}.switch{--switch-off-disabled:var(--line-2)}@supports (color:color-mix(in lab, red, red)){.switch{--switch-off-disabled:color-mix(in srgb, var(--line-2), var(--muted) 35%)}}.switch{--switch-knob-disabled:var(--card)}@supports (color:color-mix(in lab, red, red)){.switch{--switch-knob-disabled:color-mix(in srgb, var(--card), var(--muted) 15%)}}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .switch{--switch-off-disabled:var(--line-2)}@supports (color:color-mix(in lab, red, red)){:root:not([data-theme=light]) .switch{--switch-off-disabled:color-mix(in srgb, var(--line-2), var(--card) 45%)}}:root:not([data-theme=light]) .switch{--switch-knob-disabled:var(--card)}@supports (color:color-mix(in lab, red, red)){:root:not([data-theme=light]) .switch{--switch-knob-disabled:color-mix(in srgb, var(--card), var(--muted) 35%)}}}:root[data-theme=dark] .switch{--switch-off-disabled:var(--line-2)}@supports (color:color-mix(in lab, red, red)){:root[data-theme=dark] .switch{--switch-off-disabled:color-mix(in srgb, var(--line-2), var(--card) 45%)}}:root[data-theme=dark] .switch{--switch-knob-disabled:var(--card)}@supports (color:color-mix(in lab, red, red)){:root[data-theme=dark] .switch{--switch-knob-disabled:color-mix(in srgb, var(--card), var(--muted) 35%)}}.switch input:disabled:not(:checked)+.switch-track{background:var(--switch-off-disabled)}.switch input:disabled+.switch-track:after{background:var(--switch-knob-disabled);box-shadow:none}.switch b{font-size:.92rem;display:block}.switch small{color:var(--muted);margin-top:2px;font-size:.82rem;line-height:1.4;display:block}.button.check{background:var(--good);color:#fff;box-shadow:0 4px 0 var(--good-dark);border-color:#0000;min-width:150px}.button.check.item-check-mini{min-width:32px;min-height:32px;padding:4px 6px;position:relative}.button.check.item-check-mini:after{content:"";position:absolute;inset:-4px -12px -4px -4px}.button.check:hover:not(:disabled){background:#1fa259}.button.check:disabled{border-color:var(--line);background:var(--line);color:var(--muted);box-shadow:none;opacity:1}.button.check:active:not(:disabled){box-shadow:0 1px 0 var(--good-dark);transform:translateY(3px)}@media (max-width:680px){.button.check.item-check-mini{min-height:40px}.toast{bottom:16px}}.segmented.answer-mode{margin-bottom:8px}.field-hint{color:var(--muted);margin:0 0 20px;font-size:.84rem}.button.danger-solid{background:var(--danger);color:#fff;box-shadow:0 4px 0 var(--danger-dark)}.button.danger-solid:hover:not(:disabled){background:#e0485a}.button.danger-solid:active:not(:disabled){box-shadow:0 1px 0 var(--danger-dark);transform:translateY(3px)}.danger-note{font-size:.88rem;font-weight:700;color:var(--danger)!important}.again-note{border:1px solid var(--warn-line);background:var(--warn-soft);color:var(--warn);border-radius:10px;padding:8px 12px;font-size:.88rem}.icon-button.danger:hover{color:var(--danger);background:var(--danger-soft)}.icon-button.speak{color:var(--blue)}.icon-button.speak.small{width:32px;height:32px}.icon-button.speak svg{width:20px;height:20px}.segmented label{text-align:center;padding:6px 12px;line-height:1.25}@media (max-width:680px){.segmented label{padding:6px 8px;font-size:.9rem}}.search-field{margin:0 0 16px;position:relative}.search-field svg{width:18px;height:18px;color:var(--muted);pointer-events:none;position:absolute;top:50%;left:14px;transform:translateY(-50%)}.search-field input{border:1.5px solid var(--line-2);background:var(--card);border-radius:14px;width:100%;height:46px;padding:0 14px 0 42px;font-size:1rem}.search-field input:focus{border-color:var(--blue);outline:none}.field .open-mode input{width:18px;height:18px;min-height:0;accent-color:var(--blue);border:0;flex:none;margin:3px 0 0;padding:0}.tabs,.segmented-mini,.guide-lang,.sch-seg,.cover-place,.speed{border:1px solid var(--line-2);background:var(--line);max-width:100%;padding:4px;display:inline-flex}.tabs{border-radius:14px;gap:4px}.tabs button{min-width:0;min-height:40px;font:inherit;color:var(--ink-2);white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:10px;flex:auto;justify-content:center;align-items:center;gap:8px;padding:6px 16px;font-weight:700;display:inline-flex}.tabs button:hover:not(.is-on){background:var(--card)}.tabs button.is-on{background:var(--tab-on);color:#fff;box-shadow:0 3px 10px #3b5bfd4d}:is(.tabs button:focus-visible,.segmented-mini button:focus-visible,.guide-lang button:focus-visible,.sch-seg button:focus-visible,.cover-place button:focus-visible,.speed button:focus-visible){box-shadow:var(--focus);outline:none}.tabs button.is-on:focus-visible{box-shadow:0 3px 10px #3b5bfd4d, var(--focus)}.tab-count{background:var(--card);min-width:22px;height:20px;color:var(--muted);border-radius:999px;flex:none;place-items:center;padding:0 6px;font-size:.74rem;font-weight:800;line-height:1;display:inline-grid}.tabs button.is-on .tab-count{color:#fff;background:#0b12404d}.tabs button .tab-count.is-attn,.tabs button.is-on .tab-count.is-attn{background:var(--warn-soft);color:var(--warn)}@media (max-width:680px){.tabs{width:100%;display:flex}.tabs button{flex:auto;gap:3px;padding-inline:2px;font-size:.8rem}.tabs .tab-count{min-width:18px;padding-inline:4px;font-size:.7rem}}.segmented-mini,.guide-lang,.sch-seg,.cover-place,.speed{border-radius:12px;align-items:center;gap:3px}.segmented-mini button,.guide-lang button,.sch-seg button,.cover-place button,.speed button{min-height:32px;font:inherit;color:var(--ink-2);cursor:pointer;background:0 0;border:0;border-radius:9px;justify-content:center;align-items:center;gap:6px;padding:0 12px;font-size:.86rem;font-weight:700;display:inline-flex}.segmented-mini button:hover:not(.is-on,[aria-pressed=true]),.guide-lang button:hover:not(.is-on,[aria-pressed=true]),.sch-seg button:hover:not(.is-on,[aria-pressed=true]),.cover-place button:hover:not(.is-on,[aria-pressed=true]),.speed button:hover:not(.is-on,[aria-pressed=true]){background:var(--card)}.segmented-mini button.is-on,.guide-lang button.is-on,.sch-seg button[aria-pressed=true],.cover-place button.is-on,.speed button.is-on{background:var(--card);color:var(--blue);box-shadow:0 0 0 1.5px var(--blue-line), 0 1px 4px #151b331f}.segmented-mini button svg{width:15px;height:15px}@media (max-width:680px){.type-chips label,.crop-shapes button,.segmented-mini button,.guide-lang button,.sch-seg button,.cover-place button,.speed button{min-height:40px}}.field .frequent{margin:2px 0 0}input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;display:none}.search-field{display:block}.search-field.has-clear input{padding-right:44px}.search-clear{width:32px;height:32px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:9px;flex:none;place-items:center;padding:0;display:grid}.search-clear:hover{background:var(--soft);color:var(--ink)}.search-clear svg{width:17px;height:17px}.search-field .search-clear{position:absolute;top:50%;right:7px;transform:translateY(-50%)}.search-field .search-clear svg{color:inherit;pointer-events:none;position:static;transform:none}.needs-fill{animation:2.4s needs-fill}@keyframes needs-fill{0%,60%{box-shadow:0 0 0 4px var(--bad-soft);border-color:var(--bad)!important}to{box-shadow:none}}.switch{align-items:center;margin-bottom:10px}.switch .switch-track{flex:none}.button.accent{background:var(--accent);color:#1a2a6c;border-color:#e8b800;box-shadow:0 3px #c99d10}.button.accent:hover:not(:disabled){filter:brightness(1.03)}.button.accent svg{color:#1a2a6c}.loading-screen .net-bar{position:fixed;top:0;bottom:auto}img.img-loading{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b5bfd' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M21 12a9 9 0 1 1-6.2-8.6'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='0.8s' repeatCount='indefinite'/%3E%3C/path%3E%3C/svg%3E") 50%/24px no-repeat,#eef1f8;min-width:40px;min-height:40px}.hint-wrap{display:inline-flex;position:relative}.hint-bubble,.hint-note{border:1px solid var(--blue-line);background:var(--blue-soft);color:var(--ink);text-align:left;box-shadow:var(--shadow);border-radius:12px;padding:8px 12px;font-size:.8rem;font-weight:500;line-height:1.35;position:relative}.hint-bubble:after,.hint-note:after{content:"";border:1px solid var(--blue-line);background:var(--blue-soft);width:10px;height:10px;position:absolute}.hint-bubble{z-index:30;opacity:0;visibility:hidden;pointer-events:none;width:max-content;max-width:min(300px,100vw - 32px);transition:opacity .12s;position:absolute;top:calc(100% + 10px);right:0}.hint-bubble:after{border-bottom:0;border-right:0;top:-6px;right:18px;transform:rotate(45deg)}.hint-wrap:hover .hint-bubble,.hint-wrap.is-shown .hint-bubble{opacity:1;visibility:visible}.hint-wrap:has(:focus-visible) .hint-bubble{opacity:1;visibility:visible}@media (hover:none){.hint-wrap:hover .hint-bubble{opacity:0;visibility:hidden}.hint-wrap.is-shown .hint-bubble{opacity:1;visibility:visible}}.hint-note{align-items:flex-start;gap:6px;margin:12px 8px 8px;display:flex}.hint-note:after{border-bottom:0;border-right:0;top:-6px;right:28px;transform:rotate(45deg)}.hint-note p{flex:1;margin:0}.hint-note button{width:32px;height:32px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;place-items:center;margin:-8px -10px 0 0;display:grid}.hint-note button svg{width:14px;height:14px}.crash-screen{text-align:center;color:var(--ink);padding:24px}.crash-screen b{font-size:1.25rem}.crash-screen p{max-width:360px;color:var(--muted);margin:0}.switch.compact{background:0 0;align-items:center;gap:10px;margin:0;padding:0;font-weight:600}.switch.compact .switch-track{margin-top:0}.switch.compact small{font-weight:400}.app{min-height:100vh}.topbar{z-index:20;background:var(--card);position:sticky;top:0}@supports (color:color-mix(in lab, red, red)){.topbar{background:color-mix(in srgb, var(--card) 90%, transparent)}}.topbar{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}.topbar-inner{justify-content:space-between;align-items:center;gap:20px;max-width:1180px;height:68px;margin:auto;padding:0 24px;display:flex}.dirty-note{border:1px solid var(--warn-line);background:var(--warn-soft);color:var(--warn);white-space:nowrap;border-radius:999px;flex:none;padding:5px 12px;font-size:.82rem;font-weight:700}.user-chip{align-items:center;gap:10px;display:flex}.avatar{background:linear-gradient(135deg, var(--accent), var(--pink));color:#1a2a6c;border-radius:50%;flex:none;place-items:center;width:36px;height:36px;font-weight:800;display:grid}.access-chip{color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:999px;align-items:center;gap:10px;margin:-4px;padding:4px 8px 4px 4px;display:flex}.access-chip:hover{background:var(--soft)}.access-chip:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.access-bar{max-width:1180px;margin:auto;padding:12px 24px 0}.access-banner{flex-wrap:wrap;gap:4px 12px;margin:0;padding:8px 14px}.banner.access-banner>span{flex:200px;min-width:0;display:block}.access-banner>button,.access-banner>svg{flex:none}.access-banner .button.small{min-height:32px;box-shadow:none}dialog.modal.access-dialog p:not(.access-status){font-size:.9rem}dialog.modal.access-dialog a{color:var(--blue);text-underline-offset:2px;overflow-wrap:anywhere;font-weight:600;text-decoration:underline}@media (max-width:680px){.access-bar{padding:8px 16px 0}}@media (max-width:480px){.access-banner>.button{margin-left:32px}}.user-meta{white-space:nowrap;flex-direction:column;line-height:1.2;display:flex}.user-meta b{font-size:.88rem}.user-meta small{color:var(--muted);font-size:.76rem}.container{max-width:1180px;margin:auto;padding:28px 24px 100px}.heading{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:32px;display:flex}.heading p{color:var(--muted);max-width:820px;margin:0}.page-hint{max-width:820px;color:var(--muted);margin:-8px 0 20px;font-size:.93rem}section{margin-bottom:40px}.section-title{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:14px;display:flex}.section-title h2{margin:0}.section-title span{color:var(--muted);font-size:.86rem}.cards{grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:18px;display:grid}.panel,.exercise,.empty,.rows,.quiet,.result-card,.editor-nav{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.actions{gap:10px;margin-top:auto;padding-top:22px;display:flex}.actions .button{flex:1}.empty{text-align:center;padding:48px 24px}.empty-icon{background:var(--blue-soft);width:56px;height:56px;color:var(--blue);border-radius:18px;place-items:center;margin:0 auto 14px;display:grid}.empty h3{margin:0 0 6px}.empty p{color:var(--muted);max-width:380px;margin:0 auto 20px}.rows{overflow:hidden}.row{border:0;border-bottom:1px solid var(--line);background:var(--card);text-align:left;align-items:center;gap:14px;width:100%;padding:16px 20px;display:flex}.row:last-child{border-bottom:0}.row:hover{background:var(--soft)}.row-icon{background:var(--blue-soft);width:42px;height:42px;color:var(--blue);border-radius:14px;flex:none;place-items:center;display:grid}.row-icon svg{width:20px;height:20px}.status-submitted .row-icon{background:var(--warn-soft);color:var(--warn)}.status-revision .row-icon{background:var(--bad-soft);color:var(--bad)}.status-complete .row-icon{background:var(--good-soft);color:var(--good)}.row-main{flex-direction:column;flex:1;min-width:0;display:flex}.row-main strong{-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.row-main small{color:var(--muted);font-size:.8rem}.row-score{font-family:var(--font-display);color:var(--ink-2);font-size:.88rem;font-weight:600}.topbar{position:sticky}.row:disabled{cursor:progress}.row:disabled:not(.is-opening){opacity:.6}.row.is-opening{background:var(--soft)}.row-note{color:var(--blue);place-items:center;display:grid}.row-note svg{width:18px;height:18px}@media (max-width:680px){.topbar-inner{gap:8px;height:60px;padding:0 16px}.user-chip{flex:none;gap:4px}.access-chip{padding:4px}.user-meta{display:none}.dirty-note{background:#f2b33d;width:12px;height:12px;padding:0}.dirty-note>span{display:none}.container{padding:26px 16px 90px}.heading{flex-direction:column;align-items:stretch;gap:16px;margin-bottom:24px}.heading>.button{width:100%}.cards{grid-template-columns:1fr}.row{gap:12px;padding:14px}.row-score{display:none}}.avatar.small{width:28px;height:28px;font-size:.8rem}.row.is-unread .row-main strong{font-weight:800}.row-dot{background:var(--blue);width:10px;height:10px;box-shadow:0 0 0 4px var(--blue-soft);border-radius:50%;flex:none}.row-due{margin-top:5px;display:flex}@media (max-width:380px){.topbar-inner{padding:0 10px}.user-chip{gap:2px}}@media (max-width:360px){.topbar .icon-button,.topbar .notify-button{width:40px;height:40px}.user-chip{gap:2px}}@media (max-width:460px){.topbar .logo-word{display:none}.topbar .logo{gap:0}}@media print{.topbar,.no-print,.toast,.notify{display:none!important}.container{max-width:none;padding:0}.row{break-inside:avoid}}.more-menu{flex:none;position:relative}.more-menu-list{z-index:30;border:1px solid var(--line);background:var(--card);border-radius:14px;gap:1px;width:max-content;min-width:220px;max-width:min(400px,100vw - 32px);padding:5px;display:grid;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 18px 40px #0f173326}.more-menu-list button{text-align:left;min-width:0;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:9px;align-items:center;gap:10px;padding:8px 10px;font-size:.9rem;font-weight:600;line-height:1.25;display:flex}.more-menu-list button svg{flex:none}.more-menu-list button:hover:not(:disabled){background:var(--soft)}.more-menu-list button svg{width:17px;height:17px;color:var(--muted)}.more-menu-list button.danger,.more-menu-list button.danger svg{color:var(--danger)}.more-menu-list{z-index:70;overflow-y:auto}@media (max-width:680px){.container{padding-top:14px}.section-title{flex-wrap:wrap;align-items:center}.section-title span{white-space:nowrap}.section-title .button{flex-basis:100%;justify-content:center}}.page-bar{align-items:center;gap:12px;min-height:44px;margin:0 0 20px;display:flex}.page-bar h1{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;min-width:0;margin:0;font-size:1.35rem;line-height:1.2;overflow:hidden}.page-bar .page-meta{color:var(--muted);white-space:nowrap;font-size:.86rem}.page-bar .page-actions{align-items:center;gap:8px;margin-left:auto;display:flex}.home-bar{justify-content:space-between;align-items:center;gap:12px;margin:0 0 20px;display:flex}.home-bar .banner{flex:1;width:auto;min-width:0;margin:0;padding:10px 14px}.home-bar .banner.recovery-hint{flex-wrap:nowrap;align-self:stretch;min-height:50px;padding-block:0}.home-bar .banner.recovery-hint span{white-space:nowrap;text-overflow:ellipsis;flex:auto;min-width:0;overflow:hidden}.home-bar .banner.recovery-hint>button{white-space:nowrap;flex:none}@media (min-width:681px){.home-bar:has(>.button.primary){flex-wrap:wrap}:is(.home-bar:has(>.button.primary) .banner.recovery-hint,.home-bar:has(>.button.primary) .banner.draft-banner){flex-basis:100%;order:3}}@media (max-width:680px){.page-bar{flex-wrap:wrap;gap:8px}.page-bar h1{white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;flex:100%;order:3;display:-webkit-box}.home-bar{flex-wrap:wrap}.home-bar .tabs{flex:100%}.home-bar>.button.primary{flex:100%;order:2}.home-bar .banner{flex-basis:100%;order:3}.home-bar .banner.recovery-hint{order:1;grid-template-columns:1fr 40px;padding:8px 8px 8px 12px}.home-bar .banner.recovery-hint>svg{display:none}.home-bar .banner.recovery-hint span{white-space:normal;grid-column:1}.home-bar .banner.recovery-hint>.button{grid-column:1/-1;min-height:40px}}.row-icon.has-cover{background:0 0;overflow:hidden}.row-icon.has-cover img{object-fit:cover;width:100%;height:100%}dialog.modal{--modal-pad:26px;overscroll-behavior:contain;width:min(100% - 32px,520px);max-height:calc(100dvh - 48px);padding:var(--modal-pad);background:var(--card);color:var(--ink);border:0;border-radius:24px;margin:auto;box-shadow:0 30px 90px #0f173340}dialog.modal-wide{width:min(100% - 32px,760px)}dialog.modal::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#10182999}dialog.modal[open]{animation:.18s ease-out pop}@keyframes pop{0%{opacity:0;transform:translateY(8px)scale(.98)}}.modal-head{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:8px;display:flex}.modal-head h2{overflow-wrap:anywhere;margin:6px 0 0}dialog.modal p:not(.field-error){color:var(--muted);margin-bottom:10px}dialog.modal .variant-student{overflow-wrap:anywhere;min-width:0;color:var(--ink);margin:0 0 6px;font-size:1.05rem}dialog.modal p+.field{margin-top:14px}.link-input{color:var(--ink-2);margin:6px 0 16px;font-size:.9rem}.modal-actions{bottom:calc(var(--modal-pad) * -1);z-index:2;margin:18px calc(var(--modal-pad) * -1) calc(var(--modal-pad) * -1);padding:12px var(--modal-pad) var(--modal-pad);background:var(--card);justify-content:flex-end;gap:10px;display:flex;position:sticky}.preview-note{margin-bottom:6px;font-size:.88rem}.preview-task{border-top:1px solid var(--line);padding:18px 0}.preview-task h3{margin-bottom:12px}@keyframes net{0%{transform:translate(-100%)}to{transform:translate(250%)}}@keyframes shimmer{to{background-position:-200% 0}}.dialog-loading{z-index:60;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#10182999;place-items:center;display:grid;position:fixed;inset:0}.dialog-loading .dialog-loading-card{background:var(--card);width:min(100% - 32px,520px);color:var(--muted);border-radius:24px;justify-items:center;gap:14px;padding:26px;display:grid;box-shadow:0 30px 90px #0f173340}.dialog-loading .dialog-loading-card b{color:var(--ink);font-size:1.1rem}.dialog-loading svg{width:30px;height:30px;color:var(--blue,#3b5bfd)}@media (max-width:680px){dialog.modal{--modal-pad:20px}}.modal-actions.two{gap:10px}@media (max-width:480px){.modal-actions.two{grid-template-columns:1fr 1fr;display:grid}.modal-actions .button{white-space:nowrap;padding-inline:12px}.modal-actions.two.stack{grid-template-columns:1fr}.modal-actions.stack .button:last-child{order:-1}}.modal-head .icon-button{min-width:40px;min-height:40px}dialog.modal{overflow-x:hidden}img.zoomable{cursor:zoom-in}dialog.modal-lightbox{width:min(100% - 16px,1100px);max-height:calc(100dvh - 16px);padding:14px}dialog.modal-lightbox .modal-head h2{margin-top:8px;font-size:1rem}.lightbox-body{touch-action:pan-x pan-y pinch-zoom;background:var(--soft);border-radius:12px;max-height:calc(100dvh - 96px);overflow:auto}.lightbox-body img{object-fit:contain;cursor:zoom-in;width:100%;max-height:calc(100dvh - 96px);display:block}.lightbox-body.is-full img{cursor:zoom-out;width:auto;max-width:none;max-height:none}.drawn-picture{display:block;position:relative}.drawn-picture:has(>img.small){width:fit-content;max-width:100%}.drawn-picture:has(>img.task-image){width:fit-content;max-width:100%;margin:4px auto 18px}.drawn-picture>img.task-image{margin:0}.lightbox-body.is-full .drawn-picture{width:max-content}.drawing-svg{pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.draw-toolbar{flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:10px;display:flex}.draw-colors{gap:6px;margin-right:6px;display:flex}.draw-color{border:3px solid var(--card);background:var(--pen);width:34px;height:34px;box-shadow:0 0 0 1px var(--line);border-radius:50%}.draw-color-custom{cursor:pointer;background:conic-gradient(#e03131,#f59f00,#14915a,#2563eb,#7c3aed,#e03131);position:relative}.draw-color-custom.is-picked{background:linear-gradient(90deg, var(--pen) 50%, transparent 50%), conic-gradient(#e03131, #f59f00, #14915a, #2563eb, #7c3aed, #e03131)}.draw-color-custom input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.draw-color-custom:has(input:focus-visible){outline:2px solid var(--blue);outline-offset:2px}.draw-color[aria-checked=true],.draw-color-custom.is-active{box-shadow:0 0 0 3px var(--pen)}.draw-toolbar .icon-button[aria-pressed=true]{background:var(--blue-soft);color:var(--blue)}.draw-toolbar .icon-button:disabled{opacity:.4}.draw-done{margin-left:auto}dialog.modal p.draw-full{color:var(--bad-dark);margin:0 0 8px;font-size:.9rem}.draw-stage{background:var(--soft);border-radius:12px;position:relative;overflow:hidden}.draw-stage img{object-fit:contain;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;width:100%;max-height:calc(100dvh - 170px);display:block}.drawing-svg.draw-surface{pointer-events:auto;touch-action:none;-webkit-tap-highlight-color:transparent;cursor:crosshair}.drawing-svg.draw-surface.is-erasing{cursor:cell}@media (max-width:680px){.draw-colors{gap:4px;margin-right:0}.draw-color{width:34px;height:34px}.draw-toolbar .icon-button{width:40px;height:40px}dialog.modal-draw{border-radius:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;padding-bottom:76px}.modal-draw .draw-stage img{max-height:calc(100dvh - 230px)}.modal-draw .draw-done{z-index:3;min-height:48px;padding-bottom:env(safe-area-inset-bottom);border-radius:0;justify-content:center;margin:0;position:fixed;inset:auto 0 0}}dialog.crop-dialog{width:min(360px,100vw - 24px)}.crop-shapes{flex-wrap:wrap;gap:6px;margin-bottom:12px;display:flex}.crop-shapes button{border:1.5px solid var(--line-2);background:var(--card);font:inherit;color:var(--ink-2);cursor:pointer;border-radius:999px;padding:6px 12px;font-size:.88rem;font-weight:700}.crop-shapes button.is-on{border-color:var(--blue);background:var(--blue-soft);color:var(--blue)}.crop-frame{background:var(--soft);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;border-radius:12px;margin:0 auto;position:relative;overflow:hidden}.crop-frame:active{cursor:grabbing}.crop-frame img{pointer-events:none;max-width:none;position:absolute;top:50%;left:50%}.crop-zoom{align-items:center;gap:12px;margin-top:14px;display:flex}.crop-zoom input{flex:1;min-width:0}.crop-actions{flex-wrap:wrap}.draw-text-input{word-break:break-all;resize:none;box-sizing:border-box;touch-action:auto;background:0 0;border:1px dashed;border-radius:0;width:100%;height:100%;padding:0;font-family:monospace;display:block}.auth-form .toast{width:auto;max-width:none;margin-top:16px;animation:none;position:static;transform:none}.auth-layout{background:var(--card);grid-template-columns:minmax(0,1.05fr) minmax(440px,1fr);min-height:100vh;display:grid}.auth-promo{color:#fff;background:radial-gradient(circle at 85% 12%,#5a78ff 0,#0000 42%),radial-gradient(circle at 10% 95%,#ff7aa855 0,#0000 40%),#1a2a6c;flex-direction:column;justify-content:space-between;gap:30px;padding:44px clamp(32px,5vw,80px);display:flex;position:relative;overflow:hidden}.auth-promo .logo{color:#fff}.auth-promo .logo b{background:var(--accent);color:#1a2a6c;box-shadow:0 3px #c99d10}.auth-promo>p{color:#c6d0f3;max-width:360px;margin:0;font-size:1.05rem}.promo-stage{align-self:center;width:min(100%,430px);position:relative}.promo-card{background:var(--card);color:var(--ink);border-radius:28px;padding:36px 32px;transform:rotate(-3deg);box-shadow:18px 20px #2f47a8}.promo-card small{letter-spacing:.14em;color:var(--blue);font-size:.72rem;font-weight:800}.promo-card h2{font-family:var(--font-display);letter-spacing:-.02em;margin:18px 0 22px;font-size:clamp(1.5rem,1rem + 1.6vw,2.2rem);font-weight:600;line-height:1.2}.promo-pill{color:#28418f;background:#edf1ff;border-radius:999px;align-items:center;gap:10px;width:max-content;max-width:100%;margin:9px 0;padding:10px 16px;font-size:.92rem;font-weight:700;display:flex}.promo-pill:nth-of-type(2){color:#6d4f00;background:#fff4cf;margin-left:22px}.promo-pill:nth-of-type(3){color:#8d2450;background:#f5f7fd;margin-left:8px}.promo-pill svg{width:18px;height:18px}.promo-bubble{background:var(--accent);color:#1a2a6c;border-radius:18px 18px 4px;padding:10px 16px;font-weight:800;position:absolute;top:-22px;right:-8px;transform:rotate(6deg);box-shadow:0 6px #c99d10}.auth-side{flex-direction:column;min-width:0;min-height:100vh;padding:0 24px 20px;display:flex}.auth-form{width:min(100%,440px);margin:auto;padding:36px 16px}.auth-form h1{text-wrap:balance;margin-bottom:16px;font-size:clamp(1.5rem,1.1rem + 1.4vw,2rem)}.auth-form h1:has(+.join-banner,+.lead){margin-bottom:8px}.auth-foot{flex:none}.auth-foot .auth-legal{margin:0}.auth-foot .seller-footer{color:var(--faint);margin-top:4px;font-size:.76rem}.auth-foot .seller-footer a{padding-block:4px}.auth-form .auth-consent{margin:10px 0 4px}@media (max-height:860px) and (min-width:681px){.auth-side{padding-bottom:12px}.auth-foot .auth-legal a{padding:3px 0}}.auth-notice:empty{display:none}.auth-notice{margin-top:8px}.auth-notice .toast{background:var(--danger-soft);border:1.5px solid var(--danger-line);color:var(--danger-dark);box-shadow:none;margin-top:0}.auth-notice .toast.info{background:var(--blue-soft);border-color:var(--blue-line);color:var(--blue-dark)}.field-head{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.auth-form .field-head .auth-forgot{color:var(--muted);font-size:.85rem;font-weight:600;text-decoration:underline}.auth-form .field input[aria-invalid=true]{border-color:var(--danger);outline:1px solid var(--danger)}.auth-form .button.primary{width:100%;margin-top:6px}.join-banner{margin:6px 0 26px}.mobile-logo{margin-bottom:40px;display:none}.auth-form>.link-button.auth-switch{width:100%;color:var(--blue);text-align:center;justify-content:center;padding:16px 0 4px;font-weight:600;text-decoration:underline;display:flex}@media (max-width:680px){.auth-layout{background:#1a2a6c;flex-direction:column;min-height:100dvh;display:flex}.auth-promo{padding:calc(env(safe-area-inset-top) + 14px) 20px 40px;gap:16px;display:flex}.promo-stage{align-self:flex-start;width:min(100%,260px);margin-left:6px}.promo-card{border-radius:16px;padding:12px 14px 10px;box-shadow:6px 7px #2f47a8}.auth-layout:not(.is-login) .promo-stage{display:none}.auth-promo>p{font-size:.8rem;line-height:1.4}.auth-layout:not(.is-login) .auth-promo>p{display:none}.auth-foot{margin-top:auto;font-size:.72rem;line-height:1.35}.auth-foot .auth-legal{gap:0 14px;font-size:.78rem}.auth-foot .seller-footer{margin-top:2px;font-size:.7rem;line-height:1.35}.auth-foot .seller-footer a{padding-block:2px}.promo-card small{font-size:.56rem}.promo-card h2{margin:4px 0 2px;font-size:.95rem}.promo-card{width:205px;position:relative}.promo-card .promo-pill{white-space:nowrap;gap:6px;max-width:none;margin:0;padding:6px 12px 6px 8px;font-size:.7rem;position:absolute;left:calc(100% + 12px);box-shadow:0 3px #0000002e}.promo-card .promo-pill svg{width:14px;height:14px}.promo-card .promo-pill:first-of-type{top:6px}.promo-card .promo-pill:nth-of-type(2){top:40px;left:calc(100% + 28px)}.promo-card .promo-pill:nth-of-type(3){top:74px;left:calc(100% + 8px)}.auth-promo{position:relative;overflow:hidden}.auth-promo .promo-stage{position:static}.promo-bubble{top:calc(env(safe-area-inset-top) + 14px);border-radius:14px 14px 4px;padding:6px 10px;font-size:.76rem;right:20px;box-shadow:0 4px #c99d10}.auth-layout:not(.is-login) .auth-promo{padding-bottom:36px}.auth-side{min-height:0;padding:0 20px calc(env(safe-area-inset-bottom) + 16px);background:var(--card);border-radius:28px 28px 0 0;flex:1;margin-top:-26px;position:relative}.auth-form{width:100%;margin:0;padding:28px 0 24px}.auth-form .mobile-logo{display:none}.auth-form h1{margin-bottom:16px}}@media (max-width:480px){.auth-legal a{padding:4px 0}.auth-layout.is-register .auth-submit{z-index:2;padding:4px 20px calc(env(safe-area-inset-bottom) + 10px);background:var(--card);margin:0 -20px;position:sticky;bottom:0;box-shadow:0 -8px 12px -8px #0000002e}}@media (max-width:360px){.promo-card{width:170px}.promo-card .promo-pill{gap:0;padding:7px}.promo-card .promo-pill span{display:none}.promo-card .promo-pill:first-of-type,.promo-card .promo-pill:nth-of-type(3){left:calc(100% + 10px)}.promo-card .promo-pill:nth-of-type(2){left:calc(100% + 26px)}}.auth-legal{color:var(--muted);text-align:center;flex-wrap:wrap;justify-content:center;gap:0 14px;margin:18px 0 0;font-size:.8rem;display:flex}.auth-legal a,.auth-consent label a{text-underline-offset:2px;text-decoration:underline}.auth-legal a{padding:6px 0;display:inline-block}.auth-consent label a{color:var(--blue)}.auth-consent{gap:10px;margin:14px 0 6px;display:grid}.auth-consent label{cursor:pointer;align-items:flex-start;gap:10px;font-size:.92rem;display:flex}.auth-consent input{width:20px;height:20px;accent-color:var(--blue);flex:none;margin-top:1px}.auth-consent input[aria-invalid=true]{outline:2px solid var(--danger);outline-offset:1px}.auth-consent-hint{color:var(--danger);margin-top:-6px;padding-left:30px;display:block}.rich-field{flex-direction:column;display:flex}.rich-toolbar{border:1px solid var(--line);background:var(--soft);border-radius:12px;flex-wrap:wrap;align-items:center;gap:2px;margin-bottom:6px;padding:4px;display:flex}.rich-toolbar .icon-button{border-radius:8px;width:32px;height:32px}.rich-toolbar .icon-button svg{width:17px;height:17px}.rich-toolbar .icon-button:disabled{opacity:.4}.rich-toolbar .icon-button.is-on{background:var(--blue-soft);color:var(--blue)}.rich-sep{background:var(--line-2);width:1px;height:20px;margin:0 4px}.rich-menu{display:inline-flex;position:relative}.rich-swatches{z-index:20;border:1px solid var(--line);background:var(--card);border-radius:12px;gap:4px;padding:6px;display:flex;position:absolute;top:36px;left:0;box-shadow:0 8px 24px #141e3c24}.rich-swatches button{border:1px solid var(--line-2);background:var(--card);cursor:pointer;border-radius:8px;width:28px;height:28px;font-weight:800}.rich-mark{color:#151b33;border-radius:4px;padding:0 .15em}.rich-color,.rich-mark{font:inherit;text-transform:none;letter-spacing:inherit;float:none;width:auto;min-width:0;height:auto;margin:0;display:inline!important}.rich-field.is-compact .rich-toolbar{gap:0;margin-bottom:4px;padding:2px}.rich-field.is-compact .rich-toolbar .icon-button{width:32px;height:32px}.rich-field.is-compact .rich-toolbar .icon-button svg{width:15px;height:15px}.rich-field.is-compact .rich-sep{margin:0 2px}.rich-text,.rich-editor{font-weight:400}.rich-editor{border:1.5px solid var(--line-2);background:var(--card);white-space:pre-wrap;overflow-wrap:anywhere;cursor:text;border-radius:14px;outline:none;width:100%;padding:12px 14px;line-height:1.5;transition:border-color .15s}.rich-editor:hover{border-color:var(--line)}.rich-editor:focus{border-color:var(--blue);box-shadow:var(--focus)}.rich-editor.is-empty:before{content:attr(data-placeholder);color:var(--faint);pointer-events:none}.rich-text strong,.rich-editor b,.rich-editor strong{font-weight:700}.rich-editor span[style*=background]{border-radius:4px;padding:0 .15em}.rich-field.is-compact .rich-editor{border-radius:12px;padding:8px 10px;font-size:.92rem}.rich-toolbar .icon-button[aria-pressed=true]{background:var(--blue-soft);color:var(--blue)}.rich-field{gap:6px}.rich-toolbar,.rich-field.is-compact .rich-toolbar{margin-bottom:0}.rich-field.is-compact{gap:0}.rich-field.is-compact .rich-toolbar{border-bottom-width:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.rich-field.is-compact .rich-editor{border-top-left-radius:0;border-top-right-radius:0}:root{--tone-red:#d33447;--tone-blue:#2440d8;--tone-green:#1a8f4c;--tone-orange:#e8850c;--tone-purple:#7c3aed}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--tone-red:#ff8593;--tone-blue:#93a8ff;--tone-green:#5fd38f;--tone-orange:#ffad4d;--tone-purple:#bb9bff}}:root[data-theme=dark]{--tone-red:#ff8593;--tone-blue:#93a8ff;--tone-green:#5fd38f;--tone-orange:#ffad4d;--tone-purple:#bb9bff}:is(mark.rich-mark,.rich-editor span[style*=background]){color:#151b33;--tone-red:#a8182b;--tone-blue:#1b30b0;--tone-green:#0f6b37;--tone-orange:#8a4a00;--tone-purple:#5b21b6}.rich-color[data-color=red],.rich-editor font[color=\#d33447]{color:var(--tone-red)!important}.rich-color[data-color=blue],.rich-editor font[color=\#2440d8]{color:var(--tone-blue)!important}.rich-color[data-color=green],.rich-editor font[color=\#1a8f4c]{color:var(--tone-green)!important}.rich-color[data-color=orange],.rich-editor font[color=\#e8850c]{color:var(--tone-orange)!important}.rich-color[data-color=purple],.rich-editor font[color=\#7c3aed]{color:var(--tone-purple)!important}@media (max-width:680px){.rich-menu{display:contents}.rich-swatches{box-shadow:none;background:0 0;border:0;border-radius:0;flex:1 0 100%;order:99;justify-content:space-between;margin-top:2px;padding:2px 4px;position:static}.rich-swatches button{width:40px;height:40px}.rich-field.is-compact .rich-toolbar .icon-button{min-width:36px;min-height:36px}}.rich-field.is-limit~.sent-note-count{color:var(--danger)}.cell-field .cell-rich{flex:auto;min-width:0;position:relative}.cell-field .cell-rich .rich-toolbar{z-index:5;visibility:hidden;flex-wrap:nowrap;position:absolute;bottom:calc(100% + 4px);left:0;box-shadow:0 4px 14px #0000001f}.cell-field .cell-rich:focus-within .rich-toolbar{visibility:visible}.video-circle{--size:clamp(210px, 58vw, 260px);flex-direction:column;align-items:center;gap:12px;margin:0;display:flex;position:relative}.video-circle-md{--size:150px}.circle-frame{width:var(--size);height:var(--size);aspect-ratio:1;cursor:pointer;background:#1a2340;border:0;border-radius:50%;padding:0;display:block;position:relative}.circle-frame video{aspect-ratio:1;clip-path:circle(50%);object-fit:cover;border-radius:50%;width:100%;height:100%;position:absolute;inset:0}.is-live .circle-frame{cursor:default}.is-live video{transform:scaleX(-1)}.circle-ring{pointer-events:none;width:calc(100% + 14px);height:calc(100% + 14px);position:absolute;inset:-7px;transform:rotate(-90deg)}.circle-ring-track{fill:none;stroke:var(--line);stroke-width:3px}.circle-ring-value{fill:none;stroke:var(--blue);stroke-width:3px;stroke-linecap:round;transition:stroke-dashoffset .1s linear}.is-live .circle-ring-value{stroke:var(--danger)}.circle-play{background:var(--card);border-radius:50%;place-items:center;width:58px;height:58px;margin:auto;display:grid;position:absolute;inset:0}@supports (color:color-mix(in lab, red, red)){.circle-play{background:color-mix(in srgb, var(--card) 88%, transparent)}}.circle-play{color:var(--blue);transition:opacity .2s,transform .2s;box-shadow:0 6px 18px #0f173333}.circle-play svg{fill:currentColor;width:26px;height:26px}.video-circle-md .circle-play{width:44px;height:44px}.video-circle-md .circle-play svg{width:20px;height:20px}.is-playing .circle-play{opacity:0;transform:scale(.8)}:is(.is-playing .circle-frame:hover .circle-play,.is-playing .circle-frame:focus-visible .circle-play){opacity:1;transform:none}.circle-time{color:#ffffffd9;font-variant-numeric:tabular-nums;text-shadow:0 1px 2px #0006;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0f173340;border-radius:999px;align-items:center;gap:6px;padding:2px 8px;font-size:.74rem;font-weight:700;display:inline-flex;position:absolute;bottom:10%;left:50%;transform:translate(-50%)}.circle-time i,.rec-timer i{background:#ff4d5e;border-radius:50%;width:8px;height:8px;animation:1s steps(2,end) infinite blink}@keyframes blink{50%{opacity:.2}}.video-circle figcaption{color:var(--ink-2);text-align:center;font-size:.92rem;font-weight:700}.circle-remove{top:0;left:calc(50% + var(--size) / 2 - 28px);border:2px solid var(--card);background:var(--danger);color:#fff;border-radius:50%;place-items:center;width:32px;height:32px;display:grid;position:absolute;box-shadow:0 3px 10px #0f173333}.circle-remove svg{width:16px;height:16px}.teacher-message{justify-content:center;margin:8px 0 26px;display:flex}.rec-timer{font-variant-numeric:tabular-nums;color:var(--danger);align-items:center;gap:8px;font-weight:700;display:inline-flex}.circle-play.is-buffering{opacity:1!important;transform:none!important}.cell-view{flex-direction:column;align-items:flex-start;gap:6px;min-width:0;display:flex}.cell-view.has-audio{flex-direction:row;align-items:center}.cell-view .cell-media{aspect-ratio:4/3;object-fit:cover;background:var(--soft);border-radius:12px;width:100%;max-width:220px;display:block}.cell-view video.cell-media{object-fit:contain;background:#0f1733}.cell-text{overflow-wrap:anywhere}.cell-chip{overflow-wrap:anywhere;align-items:center;gap:8px;min-width:0;display:inline-flex}.cell-chip.has-media{flex-direction:column;gap:4px}.cell-thumb{object-fit:cover;background:var(--soft);border-radius:9px;width:96px;height:72px;display:block}.cell-play{border:1.5px solid var(--blue-line);background:var(--card);color:var(--blue);flex:none}.cell-play.is-on{background:var(--blue);border-color:var(--blue);color:#fff}.cell-play,.cell-play-big{border-radius:50%;width:40px;height:40px}.cell-video-card{background:#0f1733;border-radius:12px;flex:0 240px;width:min(240px,100%);min-width:0;display:block;position:relative;overflow:hidden}.cell-video-card>button.video-fullscreen,.cell-video-card>button.video-fullscreen:hover:not(:disabled),.cell-video-card>button.video-fullscreen:active:not(:disabled){color:#fff;width:32px;height:32px;min-height:0;box-shadow:none;cursor:pointer;background:#0f1733b3;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:6px;right:6px;transform:none}.cell-video-card>button.video-fullscreen:hover:not(:disabled){background:#0f1733eb}.video-fullscreen svg{width:16px;height:16px}.cell-video-card .cell-media{aspect-ratio:4/3;object-fit:contain;border-radius:0;width:100%;max-width:none;display:block}.cell-file.is-video{flex-basis:100%;width:min(240px,100%)}.cell-file.is-video .cell-media{aspect-ratio:4/3;object-fit:contain;background:#0f1733;border-radius:10px;width:100%;display:block}.cell-field:has(.cell-file){flex-wrap:wrap}.cell-field:has(.cell-file) .cell-input{flex:6rem;min-width:6rem}.cell-field{border:1.5px solid var(--line-2);background:var(--card);border-radius:12px;flex:1;align-items:center;gap:6px;min-width:0;padding:3px 3px 3px 6px;display:flex}.cell-field:focus-within{border-color:var(--blue)}.cell-field:has(.cell-input:focus-visible){box-shadow:var(--focus)}.cell-field .cell-input:focus-visible{box-shadow:none}.cell-field.is-over{border-style:dashed;border-color:var(--blue);background:var(--blue-soft)}.cell-field .cell-input{background:0 0;border:0;outline:none;flex:1;min-width:0;min-height:38px;padding:9px 6px;line-height:1.35}.cell-file{flex:none;align-items:center;display:flex;position:relative}.cell-field .cell-thumb{width:56px;height:42px}.cell-file-remove.icon-button{background:var(--card);border-radius:50%;width:22px;height:22px;position:absolute;top:-8px;right:-8px;box-shadow:0 1px 4px #141e3c40}.cell-file .cell-play+.cell-file-remove.icon-button{top:-6px;right:-10px}.cell-file-remove.icon-button svg{width:14px;height:14px}.cell-attach{cursor:pointer;flex:none;width:38px;height:38px;position:relative}.cell-attach input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.cell-attach:has(input:focus-visible){box-shadow:var(--focus)}.cell-attach.is-disabled{opacity:.4;cursor:default}.cell-progress{color:var(--blue);font-size:.62rem;font-weight:800;position:absolute;bottom:-2px}@media (max-width:680px){.cell-file-remove.icon-button:after{content:"";position:absolute;inset:-11px}}.cell-video-card>video::-webkit-media-controls-fullscreen-button{display:none}.tool-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:26px;display:flex}.tool-head>div{align-items:center;gap:10px;display:flex}.save-state{color:var(--muted);align-items:center;gap:6px;font-size:.84rem;display:inline-flex}.save-state svg{width:16px;height:16px}.save-state.is-error{color:var(--danger);font-weight:700}.editor{grid-template-columns:260px minmax(0,1fr);align-items:start;gap:24px;display:grid}.editor-nav{max-height:calc(100dvh - var(--editor-top,200px) - 24px);scrollbar-width:thin;scrollbar-color:var(--line-2) transparent;animation:linear both editor-nav-grow;animation-timeline:scroll(root);animation-range:0 calc(var(--editor-top,200px) - 88px);padding:14px;position:sticky;top:88px;overflow:auto}@keyframes editor-nav-grow{to{max-height:calc(100dvh - 112px)}}@media (min-width:901px){.editor-page.container{padding-bottom:24px}}.nav-block+.nav-block{border-top:1px solid var(--line);margin-top:12px;padding-top:12px}.editor-nav h3{justify-content:space-between;align-items:center;gap:8px;margin:4px 8px 10px;font-size:.95rem;display:flex}.editor-nav h3 span{color:var(--muted);font-weight:600}.editor-nav h4{letter-spacing:.1em;text-transform:uppercase;color:var(--faint);margin:6px 8px 10px;font-size:.72rem}.nav-empty{color:var(--muted);margin:0 8px 6px;font-size:.86rem}.task-list{flex-direction:column;gap:2px;display:flex}.task-list button{text-align:left;width:100%;color:var(--ink-2);background:0 0;border:0;border-radius:11px;align-items:center;gap:10px;padding:9px 10px;font-size:.88rem;font-weight:600;display:flex}.task-list button svg{width:17px;height:17px;color:var(--muted)}.task-list .num{background:var(--soft);min-width:24px;height:24px;color:var(--muted);border-radius:8px;place-items:center;font-size:.74rem;font-weight:800;display:grid}.task-list button:hover:not(.selected){background:var(--soft)}.task-list button.selected{background:var(--blue-soft);color:var(--blue)}.task-list button.selected .num{background:var(--blue);color:#fff}.task-list button.selected svg{color:var(--blue)}.type-grid{grid-template-columns:1fr;gap:6px;display:grid}.type-grid button{border:1.5px solid var(--line);background:var(--card);text-align:left;color:var(--ink-2);border-radius:13px;align-items:flex-start;gap:10px;padding:9px 10px;font-size:.78rem;font-weight:700;line-height:1.25;display:flex}.type-grid button>span{flex-direction:column;gap:2px;min-width:0;display:flex}.type-grid button svg{width:18px;height:18px;color:var(--blue);flex:none}.type-grid button small{color:var(--muted);font-size:.7rem;font-weight:500;line-height:1.3}.type-grid button:hover{border-color:var(--blue-line);background:var(--blue-soft)}.editor-body>:last-child{margin-bottom:0}.editor-body>h1{overflow-wrap:anywhere;margin-bottom:20px}.panel{margin-bottom:20px;padding:26px}.panel>h3{margin:26px 0 14px}.panel-head{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:18px;display:flex}.panel-head h2{align-items:center;gap:10px;margin:0;display:flex}.panel-head h2 svg{background:var(--blue-soft);width:32px;height:32px;color:var(--blue);border-radius:10px;padding:6px}.task-panel>.panel-head{flex-wrap:wrap}.task-panel>.panel-head h2{white-space:nowrap}@media (max-width:899px){.task-panel>.panel-head h2{white-space:normal;overflow-wrap:anywhere;min-width:0}}.type-note{background:var(--soft);color:var(--muted);border-radius:14px;align-items:flex-start;gap:12px;margin:0 0 20px;padding:14px 16px;font-size:.88rem;display:flex}.type-note svg{width:20px;height:20px;color:var(--blue)}.type-note p{margin:0}.correct-picker{flex-wrap:wrap;gap:8px;display:flex}.correct-picker button{border:1.5px solid var(--line-2);background:var(--card);border-radius:12px;align-items:center;gap:8px;min-height:42px;padding:8px 14px;font-weight:600;display:inline-flex}.correct-picker .dot{border:2px solid var(--line-2);border-radius:50%;width:16px;height:16px}.correct-picker button svg{width:18px;height:18px}.correct-picker button.is-on{border-color:var(--good-line);background:var(--good-soft);color:var(--good-dark)}.file-pick{cursor:pointer;position:relative}.file-pick input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.file-pick:has(input:focus-visible){box-shadow:var(--focus)}.file-pick.is-loading{cursor:wait;color:var(--muted)}.file-pick.is-disabled{cursor:not-allowed;opacity:.45;box-shadow:none}.task-image{object-fit:contain;background:var(--soft);margin-inline:auto;border-radius:16px;width:auto;max-width:100%;max-height:360px;margin:4px auto 18px;display:block}.task-image.small{width:auto;max-width:100%;max-height:min(360px,50vh)}.video-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.video-fields.two{grid-template-columns:repeat(2,minmax(0,1fr))}.media-slot-note{text-align:center;max-width:46ch;color:var(--muted);margin:0;font-size:.86rem}.video-fields.one{grid-template-columns:minmax(0,340px)}.media-slot{border:1.5px solid var(--line);background:var(--soft);text-align:center;border-radius:18px;flex-direction:column;align-items:center;gap:12px;padding:16px 12px;display:flex}.media-slot>strong{color:var(--ink-2);font-size:.86rem}.media-slot .video-circle figcaption{display:none}.media-slot .video-circle-lg{--size:150px}.media-slot-actions{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.circle-empty{border:2px dashed var(--line-2);width:150px;height:150px;color:var(--faint);background:var(--card);border-radius:50%;place-items:center;display:grid}.circle-empty svg{width:30px;height:30px}.task-image{background:linear-gradient(90deg, var(--soft) 25%, var(--soft) 50%, var(--soft) 75%);background-size:200% 100%;animation:1.2s linear infinite shimmer}.circle-empty.is-busy{border-style:solid;border-color:var(--blue-line);color:var(--blue);flex-direction:column;gap:6px;font-size:.8rem;font-weight:700}.circle-empty.is-busy svg{width:26px;height:26px}@media (max-width:900px){.editor{grid-template-columns:220px minmax(0,1fr)}.video-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:680px){.tool-head{flex-wrap:wrap}.tool-head>div{flex-wrap:wrap;justify-content:flex-end}.editor-page .tool-head{z-index:10;background:var(--bg);margin:-8px -16px 18px;padding:10px 16px;position:sticky;top:60px}@supports (color:color-mix(in lab, red, red)){.editor-page .tool-head{background:color-mix(in srgb, var(--bg) 93%, transparent)}}.editor-page .tool-head{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.editor-page .save-state{display:none}.editor{display:block}.editor-nav{max-height:none;margin-bottom:18px;padding:12px;animation:none;position:static}.task-list{flex-direction:row;gap:6px;padding-bottom:4px;overflow-x:auto}.task-list button{border:1.5px solid var(--line);flex:none;width:auto}.task-list button span:last-child{display:none}.type-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.panel{padding:18px}.video-fields,.video-fields.two{grid-template-columns:1fr}}.import-button{width:100%;margin:0 0 16px}.import-stepper{gap:6px;margin:4px 0 16px;padding:0;list-style:none;display:flex}.import-stepper li{flex:1}.import-stepper button{border:0;border-bottom:3px solid var(--line-2);width:100%;font:inherit;color:var(--muted);text-align:left;cursor:pointer;background:0 0;align-items:center;gap:8px;padding:8px 10px;font-size:.86rem;font-weight:700;display:flex}.import-stepper button:disabled{cursor:default}.import-stepper .dot{background:var(--line-2);width:24px;height:24px;color:var(--ink);border-radius:50%;flex:none;place-items:center;font-size:.8rem;display:grid}.import-stepper .dot svg{width:14px;height:14px}.import-stepper .is-current button,.import-stepper .is-done button{border-color:var(--blue);color:var(--ink)}.import-stepper .is-current .dot,.import-stepper .is-done .dot{background:var(--blue);color:#fff}.import-lead,.import-hint{color:var(--muted);margin:0 0 12px}.import-howto{gap:14px;margin:0 0 16px;padding-left:22px;display:grid}.import-howto>li::marker{color:var(--blue);font-weight:800}.import-bots{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.import-bots a{border:1.5px solid var(--line-2);color:var(--blue);border-radius:999px;align-items:center;gap:4px;padding:5px 10px;font-weight:600;text-decoration:none;display:inline-flex}.import-bots svg{width:13px;height:13px}.import-answer-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px;display:flex}.import-answer-head label{margin:0}.import-error .import-hint{margin:6px 0 0}@media (max-width:680px){.import-stepper button{text-align:center;flex-direction:column;gap:4px;font-size:.74rem}}.import-grid{grid-template-columns:2fr 1fr 1fr;gap:10px;display:grid}.import-grid .field{margin-bottom:12px}.type-chips{flex-wrap:wrap;gap:6px;display:flex}.type-chips label{border:1.5px solid var(--line-2);color:var(--muted);cursor:pointer;border-radius:999px;align-items:center;gap:6px;padding:6px 10px;font-size:.82rem;font-weight:600;display:inline-flex}.type-chips label.is-on{border-color:var(--blue);background:var(--blue-soft);color:var(--blue)}.type-chips svg{width:15px;height:15px}.type-chips input{opacity:0;pointer-events:none;position:absolute}.type-chips label:has(input:focus-visible){box-shadow:var(--focus)}.prompt-preview{margin:0 0 12px}.prompt-preview summary{cursor:pointer;color:var(--blue);font-size:.88rem;font-weight:700}.prompt-preview pre{background:var(--soft);white-space:pre-wrap;border-radius:12px;max-height:200px;margin:8px 0 0;padding:12px;font-size:.76rem;overflow:auto}.import-summary{background:var(--blue-soft);color:var(--blue-dark);border-radius:12px;margin:0 0 14px;padding:10px 14px;font-size:.92rem;font-weight:600}.import-howto .import-copy{margin-top:8px;display:flex}.import-preview{background:var(--soft);border-radius:14px;padding:12px 14px}.import-preview ul{gap:6px;margin:8px 0 0;padding:0;list-style:none;display:grid}.import-preview li{align-items:center;gap:8px;font-size:.88rem;display:flex}.import-preview li svg{width:16px;height:16px;color:var(--blue)}.import-preview .num{min-width:22px;color:var(--muted);font-weight:800}.import-ok{align-items:center;gap:8px;margin:0;font-weight:700;display:flex;color:var(--good-dark)!important}.import-ok svg{width:18px;height:18px}.import-warnings{background:var(--warn-soft);color:var(--warn);border-radius:12px;margin-top:12px;padding:10px 12px;font-size:.85rem}.import-warnings ul{padding-left:18px;list-style:outside;display:block}.import-warnings li{display:list-item}@media (max-width:680px){.import-grid{grid-template-columns:1fr 1fr}.import-grid .field:first-child{grid-column:1/-1}}.correct-picker .dot.square{border-radius:5px}.rubric-edit{gap:8px;margin-top:6px;display:grid}.rubric-edit small{color:var(--muted)}.type-chips label{position:relative}.type-chips input{opacity:0;pointer-events:none;width:100%;height:100%;margin:0;position:absolute;inset:0}.task-image{max-height:min(360px,42vh)}.aside-group.aside-fold{width:100%;padding:0;display:block}.aside-group.aside-fold[open]{padding-bottom:12px}.aside-fold>.video-fields{width:100%}.aside-fold>summary{letter-spacing:0;text-transform:none;min-height:44px;color:var(--ink);cursor:pointer;justify-content:space-between;align-items:center;font-size:.92rem;list-style:none;display:flex}.aside-fold>summary::-webkit-details-marker{display:none}.aside-fold>summary svg{color:var(--blue);width:18px;height:18px;transition:transform .2s}.aside-fold[open]>summary{margin-bottom:4px}.aside-fold[open]>summary svg{transform:rotate(180deg)}.task-group.is-section{border:1px dashed var(--line-2);border-radius:14px;margin-top:8px;padding:6px}.task-group.is-target{border-color:var(--blue-line);background:var(--blue-soft)}.section-head{align-items:center;gap:4px;margin:0 0 4px;display:flex}.section-head input{min-width:0;height:32px;color:var(--ink);background:0 0;border:1px solid #0000;border-radius:9px;flex:1;padding:0 8px;font-size:.86rem;font-weight:800}.section-head input:hover{border-color:var(--line-2);background:var(--card)}.section-head input:focus{border-color:var(--blue);background:var(--card);outline:none}.section-head.is-loose span{letter-spacing:.08em;text-transform:uppercase;color:var(--faint);margin:4px 8px;font-size:.72rem;font-weight:800}.section-tools{display:flex}.section-tools .icon-button{width:28px;height:28px}.section-tools .icon-button svg{width:15px;height:15px}.nav-empty.small{margin:2px 8px 4px;font-size:.78rem}.add-section{align-items:center;gap:6px;margin:10px 8px 2px;font-size:.86rem;display:inline-flex}.add-section svg{width:16px;height:16px}.section-field select{max-width:360px}.type-group+.type-group{margin-top:12px}.type-group h5{color:var(--muted);margin:0 8px 6px;font-size:.74rem;font-weight:800}.layout-choice{margin-top:14px}.layout-choice label{text-align:left;align-items:flex-start;height:auto;padding:10px 12px;display:flex}.layout-choice label span{flex-direction:column;gap:2px;display:flex}.layout-choice label small{color:var(--muted);font-size:.78rem;font-weight:500;line-height:1.35}.cover-caption{max-width:560px;margin:10px 0 4px}.cover-edit{background:var(--soft);border-radius:14px;max-width:100%;margin-bottom:10px;display:inline-block;position:relative;overflow:hidden}.cover-edit img{object-fit:contain;max-width:100%;max-height:220px;display:block}.cover-edit .icon-button{background:var(--card);position:absolute;top:8px;right:8px;box-shadow:0 2px 8px #151b332e}.cover-place span{color:var(--muted);padding:0 6px 0 8px;font-size:.84rem}.wordwall-proof{border:1.5px dashed var(--blue-line);background:var(--soft);border-radius:16px;width:100%;padding:14px 16px}.wordwall-proof.is-done{border-style:solid;border-color:var(--good-line);background:var(--soft)}.wordwall-proof .attachments{margin:0 0 12px}.preview-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.preview-head .preview-note{flex:1;min-width:240px}.preview-frame.on-phone{background:var(--bg);border:10px solid #151b33;border-radius:36px;width:390px;max-width:100%;max-height:70vh;margin:8px auto 0;padding:14px 12px;overflow:auto}.preview-frame.on-phone .preview-task{padding:14px}@media (max-width:480px){.preview-frame.on-phone{background:0 0;border:0;border-radius:0;max-height:none;margin-top:0;padding:0}.preview-frame.on-phone .preview-task{padding:14px 0}.preview-head .segmented-mini{display:none}}.import-button{justify-content:flex-start}.template-pick{gap:8px;display:grid}.template-option{border:1.5px solid var(--line);background:var(--card);width:100%;font:inherit;text-align:left;cursor:pointer;border-radius:14px;align-items:center;gap:12px;padding:12px 14px;display:flex}.template-option:hover{border-color:var(--blue-line);background:var(--blue-soft)}.template-option>svg{width:20px;height:20px;color:var(--blue);flex:none}.template-option span{min-width:0;display:grid}.template-option b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.template-option small{color:var(--muted)}.reading-passage{background:var(--soft);border:1px solid var(--line);white-space:pre-wrap;color:var(--ink);border-radius:14px;margin:0 0 14px;padding:14px 16px;font-size:1.02rem;line-height:1.65}@media (max-width:680px){.editor-page .tool-head{flex-wrap:wrap;gap:8px;margin-bottom:14px;padding-block:8px}.editor-page .tool-head>div{flex-wrap:nowrap;flex:1;gap:8px}.editor-page .tool-head .tool-label{display:none}.editor-page .tool-head .back{flex:none;justify-content:center;width:44px;height:44px;padding:0}.editor-page .tool-head>div{flex-basis:calc(100% - 52px);justify-content:flex-end}}.hint-block{border:1px solid var(--line);background:var(--soft);border-radius:16px;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:16px;margin:0 0 20px;padding:16px;display:grid}.hint-block>.field{margin:0}.hint-block>.media-slot{min-width:180px}@media (max-width:680px){.hint-block{grid-template-columns:1fr}.task-list{max-height:none;padding:0;display:block;overflow:visible}.task-group{grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:8px;display:grid}.task-group>:not(button){grid-column:1/-1}.task-group.is-section{margin-top:10px;padding:8px}.task-group+.task-group{margin-top:10px}.task-list button{border:1.5px solid var(--line);background:var(--card);justify-content:center;gap:8px;width:100%;padding:8px 6px}.task-list button.selected{border-color:var(--blue-line)}}.draft-banner{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.draft-banner>svg{align-self:flex-start}.draft-text{flex-wrap:wrap;flex:240px;gap:.35em;min-width:0;display:flex}.draft-title{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;min-width:0;overflow:hidden}.draft-meta{flex:0 auto}.draft-actions{flex-wrap:wrap;align-items:center;gap:14px;display:flex}dialog.modal.leave-dialog{width:min(100% - 32px,580px)}.leave-actions{flex-wrap:nowrap;justify-content:flex-end;gap:8px;display:flex}.leave-actions .button{white-space:nowrap}@media (max-width:680px){.leave-actions{flex-direction:column-reverse}.leave-actions .button{flex:none;justify-content:center;width:100%}}.task-head-tools{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:4px;display:flex}.task-head-tools .icon-button{width:34px;height:34px}.task-head-tools .icon-button:disabled{opacity:.35}.task-list button[draggable]{cursor:grab}.task-list button.is-dragging{opacity:.45}.task-list button.is-drop{box-shadow:inset 0 3px 0 var(--blue)}.draw-switch{margin-top:6px}.draw-switch.is-disabled{color:var(--muted);cursor:not-allowed}.draw-switch.is-disabled .switch-track{cursor:not-allowed}.work-title-field{flex:1;min-width:0}.work-title-input{border:1.5px solid var(--line-2);background:var(--card);width:100%;color:var(--ink);font-family:var(--font-display);border-radius:16px;padding:8px 16px;font-size:clamp(1.2rem,.9rem + .9vw,1.6rem);font-weight:600;line-height:1.25;transition:border-color .15s}.work-title-input::placeholder{color:#b3bad0}.work-title-input:hover{border-color:var(--line)}.work-title-input:focus{border-color:var(--blue);outline:none}@media (min-width:681px){.editor-page .tool-head.is-compact .tool-label{display:none}.editor-page .tool-head.is-compact>div .button{justify-content:center;width:46px;padding:0}}@media (max-width:900px){.editor-page .tool-head{flex-wrap:wrap}.editor-page .tool-head>.work-title-field{flex-basis:100%;order:3}}@media (max-width:680px){.editor-page .tool-head>.work-cover-pick{order:3}.editor-page .tool-head>.work-title-field{flex:1 1 0;order:4;min-width:0}}.work-settings h3{margin:20px 0 10px}.work-settings .video-fields.two{grid-template-columns:repeat(2,minmax(0,1fr))}.work-settings .circle-empty{width:110px;height:110px}.editor-page .tool-head .icon-tool{flex:none;justify-content:center;width:46px;padding:0}.phone-fold>summary{cursor:pointer;justify-content:space-between;align-items:center;gap:8px;min-height:44px;padding:0 4px;font-weight:800;list-style:none;display:flex}.phone-fold>summary::-webkit-details-marker{display:none}.phone-fold>summary svg{width:20px;height:20px;color:var(--muted);transition:transform .15s}.phone-fold[open]>summary svg{transform:rotate(180deg)}.phone-fold>h4{display:none}.task-canvas :is(input,textarea,select,[contenteditable],[tabindex]){scroll-margin-top:80px}@media (max-width:680px){.task-canvas :is(input,textarea,select,[contenteditable],[tabindex]){scroll-margin-top:200px}}@media (max-height:520px){.editor-page .tool-head{position:static}.task-canvas :is(input,textarea,select,[contenteditable],[tabindex]){scroll-margin-top:80px}}.work-cover-pick{flex:none;width:56px;height:56px;position:relative}.work-cover-pick .file-pick.media-slot-pick{border-radius:14px;justify-content:center;place-items:center;width:100%;height:100%;min-height:0;margin:0;padding:0;display:grid;position:relative;overflow:hidden}.work-cover-pick .media-slot-pick .slot-text{display:none}.work-cover-pick .media-slot-pick>*{grid-area:1/1}.work-cover-pick .media-slot-pick>svg{width:28px;height:28px}.work-cover-pick.has-cover .media-slot-pick{border-style:solid}.work-cover-pick .media-slot-pick>img{object-fit:cover;grid-area:auto;width:100%;height:100%;position:absolute;inset:0}.work-cover-remove{border:1px solid var(--line-2);background:var(--card);width:22px;height:22px;color:var(--muted);cursor:pointer;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:-6px;right:-6px}.work-cover-remove svg{width:14px;height:14px}.editor-page .tool-head>.work-cover-pick{flex:none;width:56px}.prompt-fields{gap:10px;margin-bottom:14px;display:grid}.prompt-fields .field{margin:0}.prompt-fields label{color:var(--muted);font-size:.82rem;font-weight:700}.prompt-field-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.prompt-passage-field .rich-editor{background:var(--soft)}.work-cover-pick .media-slot-pick.is-loading{font-size:0}.work-cover-pick .media-slot-pick.is-loading svg{width:24px;height:24px;color:var(--blue)}.bank-button.is-on{border-color:var(--blue);background:var(--blue-soft);color:var(--blue)}.bank{top:var(--bank-top,0);z-index:45;background:var(--card);border:1px solid var(--line);border-radius:var(--radius) 0 0 0;border-right:0;flex-direction:column;width:min(380px,100vw);display:flex;position:fixed;bottom:0;right:0;overflow:hidden;box-shadow:-12px 0 32px #151b3322}.bank-head{align-items:center;gap:10px;padding:10px 10px 8px 16px;display:flex}.bank-head h3{flex:1;margin:0;font-size:1.05rem}.bank-head .link-button{min-height:32px;font-size:.84rem}.bank-hint{color:var(--muted);margin:0 6px 6px;font-size:.84rem}.bank-toolbar{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr);gap:8px;padding:0 14px 10px;display:grid}.bank-search{min-width:0;height:40px}.bank-row{align-items:center;gap:8px;display:flex}.bank-search{flex:1}.bank-select{border:1.5px solid var(--line-2);background-color:var(--card);min-width:0;height:36px;color:var(--ink);font:inherit;text-overflow:ellipsis;border-radius:10px;flex:1 1 0;padding:0 26px 0 10px;font-size:.86rem}.bank-order{border:1.5px solid var(--line-2);width:40px;height:40px;color:var(--ink-2);border-radius:10px;flex:none;place-items:center;display:grid;position:relative}.bank-order svg{width:18px;height:18px}.bank-order select{opacity:0;cursor:pointer;width:100%;position:absolute;inset:0}.bank-body{scrollbar-width:thin;scrollbar-color:var(--line-2) transparent;flex:1;min-height:0;padding:8px 14px 24px;overflow-y:auto}.bank-empty{justify-items:start;gap:8px;padding:16px 6px;display:grid}.bank-count{color:var(--muted);margin:4px 6px 8px;font-size:.82rem}.bank-bar{display:none}.bank-tree,.bank-children,.bank-tasks,.bank-outline{margin:0;padding:0;list-style:none}.bank-children{border-left:1px solid var(--line);margin-left:14px;padding-left:6px}.bank-node-head,.bank-work-toggle{width:100%;min-height:36px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:7px;padding:4px 6px;display:flex}.bank-node-head:hover,.bank-work-toggle:hover{background:var(--soft)}.bank-node-head svg,.bank-work-toggle>svg{width:16px;height:16px;color:var(--muted);flex:none}.bank-node-head>svg:first-child,.bank-work-toggle>svg:first-child{transition:transform .12s}.bank-node-head svg.is-open,.bank-work-toggle svg.is-open{transform:rotate(90deg)}.bank-node-head b{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.bank-node-head small,.bank-work-title small{color:var(--muted);font-size:.78rem}.bank-here{background:var(--blue-soft);color:var(--blue);border-radius:999px;flex:none;padding:1px 8px;font-size:.74rem;font-style:normal;font-weight:600}.bank-node.depth-0>.bank-node-head b{font-size:.98rem}.bank-work+.bank-work{margin-top:2px}.bank-work-head{align-items:center;gap:6px;display:flex}.bank-work-toggle.is-static{cursor:default}.bank-work-toggle.is-static:hover{background:0 0}.bank-work-title{flex:1;min-width:0;display:grid}.bank-work-title b,.bank-work-title small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.bank-add-all{border:1px solid var(--blue-line);background:var(--card);height:32px;color:var(--blue);font:inherit;cursor:pointer;border-radius:999px;flex:none;align-items:center;gap:4px;padding:0 11px;font-size:.8rem;font-weight:700;display:inline-flex}.bank-add-all svg{width:14px;height:14px}.bank-add-all:hover:not(:disabled){background:var(--blue-soft)}.bank-add-all:disabled{border-color:var(--line);color:var(--muted);cursor:default;font-weight:400}.bank-tasks{gap:4px;margin:2px 0 6px 12px;display:grid}.bank-task{border:1px solid var(--line);background:var(--card);border-radius:12px}.bank-task.is-added{background:var(--soft)}.bank-task-row{-webkit-user-select:none;user-select:none;align-items:center;gap:4px;padding:4px 6px 4px 4px;display:flex}.bank-task-row:has(.is-open){align-items:flex-start}.bank-grip{width:16px;height:16px;color:var(--faint);cursor:grab;flex:none}.bank-task-main{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex:1;gap:2px;padding:3px 4px;display:grid}.bank-task-top{color:var(--ink-2);align-items:center;gap:6px;font-size:.8rem;display:flex}.bank-task-top svg{width:14px;height:14px;color:var(--blue);flex:none}.bank-added{margin-left:auto;display:inline-flex}.bank-task-top .bank-added svg{width:14px;height:14px;color:var(--muted)}.bank-task-text{text-overflow:ellipsis;white-space:nowrap;color:var(--ink);font-size:.9rem;overflow:hidden}.bank-task-text.is-open,.bank-task-text i{color:var(--muted)}.bank-task mark,.bank-work-title mark{background:var(--accent);color:#151b33;border-radius:3px;padding:0 1px}.bank-add{border:1.5px solid var(--line-2);background:var(--card);width:34px;height:34px;color:var(--blue);cursor:pointer;border-radius:10px;flex:none;place-items:center;display:grid}.bank-add:hover{border-color:var(--blue);background:var(--blue);color:#fff}.bank-task.is-added .bank-add{color:var(--muted)}.bank-add svg{width:18px;height:18px}.bank-outline{border-top:1px dashed var(--line-2);color:var(--ink-2);overflow-wrap:anywhere;gap:3px;margin:0 8px 8px 24px;padding-top:6px;font-size:.86rem;display:grid}.bank-outline.quiet{display:block}.bank-outline ul{gap:3px;margin:0;padding:0;list-style:none;display:grid}.bank-outline>p{margin:0}.bank-preview .preview-task{border-top:0}.bank-add.bank-look{color:var(--muted);background:0 0;border-color:#0000}.bank-add.bank-look:hover{border-color:var(--line-2);background:var(--soft);color:var(--blue)}.bank-look[aria-busy=true]{cursor:progress}.bank-outline .is-option{gap:6px;padding-left:6px;display:flex}.bank-outline .is-right{color:var(--good);font-weight:600}.bank-ghost{z-index:80;background:var(--blue);color:#fff;pointer-events:none;border-radius:10px;max-width:240px;padding:6px 12px;font-size:.86rem;font-weight:700;position:fixed;top:0;left:0;box-shadow:0 8px 20px #151b3340}body.bank-dragging{cursor:grabbing;-webkit-user-select:none;user-select:none}.task-list button.bank-drop-before,.task-list button.bank-drop-after{position:relative}.task-list button.bank-drop-before{box-shadow:0 -3px 0 var(--blue)}.task-list button.bank-drop-after{box-shadow:0 3px 0 var(--blue)}.task-list button.bank-drop-before:after,.task-list button.bank-drop-after:after{content:"";background:var(--blue);border-radius:50%;width:9px;height:9px;position:absolute;left:-4px}.task-list button.bank-drop-before:after{top:-6px}.task-list button.bank-drop-after:after{bottom:-6px}.nav-block.bank-drop-end{box-shadow:inset 0 -3px 0 var(--blue);border-radius:8px}.editor-nav .bank-flash{animation:1.1s ease-out bank-flash}@keyframes bank-flash{0%{background:var(--accent)}}body:has(.bank) .toast{left:calc(50vw - 190px)}@media (min-width:1440px){.editor-page.container.has-bank{max-width:1640px}.editor.has-bank,.has-bank .editor{grid-template-columns:200px minmax(0,1fr) 340px}.bank{z-index:auto;width:auto;height:calc(100dvh - var(--editor-top,200px) - 24px);animation:linear both bank-grow;animation-timeline:scroll(root);animation-range:0 calc(var(--editor-top,200px) - 88px);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);position:sticky;top:88px;bottom:auto;right:auto}body:has(.bank) .toast{left:50%}}@media (max-width:680px){.bank{z-index:50;border:0;border-radius:0;width:100vw;top:0}body:has(.bank) .toast{z-index:60;bottom:84px;left:50%}.bank-head .link-button,.bank-head .icon-button{min-height:40px}.bank-select{height:40px}.bank-add{width:44px;height:44px}.bank-add-all{height:40px}.bank-node-head,.bank-work-toggle{min-height:44px}.bank-bar{padding:10px 14px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--card);justify-content:space-between;align-items:center;gap:12px;font-size:.9rem;display:flex}.editor-page .tool-head .bank-button .tool-label{display:none}.editor-page .tool-head .bank-button{flex:none;justify-content:center;width:46px;padding:0}}@keyframes bank-grow{to{height:calc(100dvh - 112px)}}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.task-layout{grid-template-columns:minmax(0,1fr) 280px;align-items:start;gap:20px;display:grid}.task-canvas{overflow-wrap:anywhere;min-width:0;scroll-margin-top:120px}@media (max-width:680px){.task-canvas{scroll-margin-top:200px}}@media (max-height:520px){.task-canvas{scroll-margin-top:80px}}.task-prompt-field{overflow-wrap:anywhere;min-width:0;margin-bottom:14px}.task-prompt-field .rich-editor{border-radius:var(--radius);font-size:1.12rem}.task-aside{border:1px solid var(--line);background:var(--soft);border-radius:16px;padding:16px}.task-aside h3{margin:0 0 2px;font-size:1rem}.task-aside .field{margin-bottom:0}.aside-group{border-top:1px solid var(--line);flex-direction:column;align-items:flex-start;gap:8px;padding:12px 0;display:flex}.task-aside .field+.aside-group,.task-aside h3+.aside-group{margin-top:0}.aside-title{letter-spacing:.05em;text-transform:uppercase;color:var(--muted);font-size:.74rem;font-weight:700}.task-aside .segmented,.task-aside .segmented.answer-mode{grid-template-columns:minmax(0,1fr);width:100%;margin:0}.task-aside .segmented legend{padding-bottom:8px}.task-aside .segmented label{justify-content:stretch}.task-aside .segmented label,.gap-editor-actions .segmented label,.gap-editor-actions .button{border-radius:12px;min-height:42px;font-size:.9rem;font-weight:700}.task-aside .type-note{color:var(--faint);background:0 0;margin:0;padding:0;font-size:.8rem;display:block}.task-aside .video-fields{grid-template-columns:minmax(0,1fr);gap:10px;width:100%}.task-aside .media-slot{gap:10px;width:100%}.task-aside .media-slot>strong{font-size:.86rem}.task-aside .circle-empty{flex:none;width:150px;height:150px}.task-aside .media-slot-actions{flex-direction:column;align-items:stretch;gap:6px;width:100%}.task-aside .media-slot-actions .button{justify-content:center;width:100%}.task-aside .task-drawing-field>.button{width:100%}.task-aside .cover-place{grid-template-columns:minmax(0,1fr);gap:4px;width:100%;display:grid}.task-aside .cover-place span{grid-column:1/-1;padding:4px 8px 2px}.task-aside .cover-place button{text-align:center;white-space:normal;padding:8px 6px}.media-slot-pick{border:2px dashed var(--line-2);background:var(--soft);color:var(--muted);cursor:pointer;border-radius:16px;justify-content:center;align-items:center;gap:10px;margin:14px 0;transition:border-color .15s,background .15s,color .15s;display:flex}.media-slot-pick:hover,.media-slot-pick.is-over{border-color:var(--blue);background:var(--blue-soft);color:var(--blue)}.media-slot-pick:focus-within{box-shadow:var(--focus)}.media-slot-pick.is-loading,.media-slot-pick.is-disabled{pointer-events:none}.media-slot-pick svg{flex:none;width:20px;height:20px}.media-slot-pick .slot-text{flex-direction:column;gap:2px;min-width:0;display:flex}.media-slot-pick b{font-weight:600}.media-slot-pick small{color:var(--faint);font-size:.78rem}.media-slot-pick.is-big{text-align:center;flex-direction:column;min-height:140px;padding:16px}.media-slot-pick.is-big svg{width:28px;height:28px}.media-slot-pick.is-slim{justify-content:flex-start;min-height:48px;padding:8px 16px}.media-slot-pick.is-slim .slot-text{flex-flow:wrap;align-items:baseline;gap:2px 10px;font-size:.9rem}.task-cover-field .cover-edit{margin:0 0 10px;display:block}.task-cover-field .cover-edit img{width:100%;max-height:260px}.cover-tools{align-items:center;gap:6px;display:flex;position:absolute;top:8px;right:8px}.cover-tools .icon-button{position:static}.cover-tools .file-pick{background:var(--card);box-shadow:0 2px 8px #151b332e}.task-cover-field .cover-caption{margin:0 0 14px}.stem-field{gap:8px;display:grid}.stem-field .media-slot-pick,.stem-field .cover-edit{margin:0}.stem-field .stem-edit img{width:100%;max-height:min(360px,42vh)}.stem-field .slowable,.stem-field audio,.stem-field .task-video{width:100%;margin:0}.stem-tools{align-items:center;gap:8px;display:flex}.stem-caption{border:1.5px solid var(--line-2);background:var(--card);width:100%;min-width:0;min-height:42px;font:inherit;border-radius:12px;padding:9px 12px;font-weight:600}.stem-caption:focus-visible{border-color:var(--blue);box-shadow:var(--focus);outline:none}.answer-preview{border:1.5px solid var(--line-2);background:var(--bg,var(--soft));min-height:96px;color:var(--faint);text-align:center;pointer-events:none;-webkit-user-select:none;user-select:none;border-radius:14px;justify-content:center;align-items:center;gap:10px;margin:14px 0;padding:12px 16px;display:flex}.answer-preview svg{flex:none;width:20px;height:20px}.hint-add{border:1.5px dashed var(--line-2);width:100%;min-height:48px;font:inherit;color:var(--muted);cursor:pointer;background:0 0;border-radius:14px;justify-content:center;align-items:center;gap:8px;margin-top:14px;padding:10px 14px;font-weight:600;transition:border-color .15s,color .15s,background .15s;display:flex}.hint-add svg,.hint-block label svg,.hint-remove svg{width:16px;height:16px}.hint-add:hover{border-color:var(--blue);background:var(--blue-soft);color:var(--blue)}.hint-block{margin:14px 0 0}.hint-block.item-hint-block{margin-top:8px}.hint-block label{color:var(--blue);align-items:center;gap:8px;display:inline-flex}.hint-block>.hint-remove{font:inherit;color:var(--muted);cursor:pointer;background:0 0;border:0;grid-column:1/-1;justify-self:end;align-items:center;gap:6px;padding:6px 8px;font-size:.86rem;font-weight:600;display:inline-flex}.hint-block>.hint-remove:hover{color:var(--danger)}@media (max-width:1100px){.task-layout{grid-template-columns:minmax(0,1fr)}.task-aside{max-height:none;position:static;overflow:visible}}.task-files-field{gap:10px;min-width:0;margin:14px 0;display:grid}.task-files-field .media-slot-pick{margin:0}.task-files-strip{gap:8px;max-width:100%;margin:-8px -8px -4px -4px;padding:8px 8px 4px 4px;display:flex;overflow-x:auto}.hint-block .task-files-strip{flex-wrap:wrap;overflow-x:visible}.hint-block .task-files-list{flex-wrap:wrap}.task-files-list{flex:none;gap:8px;margin:0;padding:0;list-style:none;display:flex}.task-files-list li{flex:none;width:72px;height:72px;position:relative}.task-file-tile{border:1.5px solid var(--line);background:var(--soft);width:100%;height:100%;color:var(--ink-2);cursor:pointer;touch-action:pan-x pan-y;border-radius:12px;place-items:center;padding:0;display:grid;position:relative;overflow:hidden}.task-file-tile.is-active{border-color:var(--blue);box-shadow:0 0 0 1px var(--blue)}.task-file-tile:focus-visible{box-shadow:var(--focus);outline:none}.task-file-tile img,.task-file-tile video{object-fit:cover;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.task-tile-play{color:#fff;fill:#fff;background:#0f17339e;border-radius:50%;width:24px;height:24px;padding:5px;position:relative}.task-tile-doc{justify-items:center;gap:2px;width:100%;padding:4px 6px;font-size:.68rem;font-weight:700;display:grid}.task-tile-doc svg{width:22px;height:22px;color:var(--blue)}.task-tile-doc span{white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden}.task-file-remove.icon-button{background:var(--card);border-radius:50%;width:22px;height:22px;position:absolute;top:-8px;right:-8px;box-shadow:0 1px 4px #141e3c40}.task-file-remove.icon-button:before{content:"";position:absolute;inset:-10px}.task-file-remove.icon-button:hover{color:var(--danger);background:var(--danger-soft)}.task-file-remove.icon-button svg{width:14px;height:14px}.media-tile-pick{border:2px dashed var(--line-2);background:var(--soft);width:72px;height:72px;color:var(--muted);cursor:pointer;border-radius:12px;flex:none;place-items:center;display:grid;position:relative}.media-tile-pick:hover,.media-tile-pick.is-over{border-color:var(--blue);background:var(--blue-soft);color:var(--blue)}.media-tile-pick:focus-within{box-shadow:var(--focus)}.media-tile-pick.is-loading,.media-tile-pick.is-disabled{pointer-events:none}.media-tile-pick.is-disabled{opacity:.5}.media-tile-pick svg{width:24px;height:24px}.media-tile-pick input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.task-file-preview{border:1px solid var(--line);background:var(--card);border-radius:12px;gap:8px;min-width:0;padding:8px;display:grid}.task-preview-image{object-fit:contain;background:var(--soft);border-radius:8px;width:100%;max-height:180px;display:block}.task-preview-video{aspect-ratio:16/9;background:#000;border-radius:8px;width:100%;max-height:200px;display:block}.task-preview-audio{width:100%;display:block}.task-preview-doc{min-height:48px;padding:8px 12px}.task-file-side{flex-direction:column;align-items:stretch;gap:8px;min-width:0;display:flex}.task-file-side .button{align-self:flex-end}.task-file-caption{border:1.5px solid var(--line-2);background:var(--card);width:100%;min-width:0;min-height:42px;font:inherit;border-radius:12px;padding:9px 12px;font-weight:600}.task-file-caption:focus-visible{border-color:var(--blue);box-shadow:var(--focus);outline:none}@media (max-width:680px){.task-files-list li,.media-tile-pick{width:64px;height:64px}.task-preview-video{max-height:180px}}.choice-stem-field{margin-bottom:14px}.choice-stem-field .media-slot-pick{margin:0}.choice-editor,.tf-editor,.write-editor{gap:10px;display:grid}.item-editor{border:1.5px solid var(--line-2);background:var(--bg,var(--soft));border-radius:18px;min-width:0;padding:10px}.choice-editor-row,.tf-editor-row,.write-editor-row{border:1.5px solid var(--line-2);background:var(--card);border-radius:14px;align-items:center;gap:10px;min-width:0;padding:8px 8px 8px 12px;transition:border-color .15s,background .15s;display:flex;position:relative}.choice-editor-row{min-height:58px;box-shadow:0 3px 0 var(--line-2);border-width:2px;border-radius:16px}.choice-editor-row:focus-within,.tf-editor-row:focus-within,.write-editor-row:focus-within{border-color:var(--blue)}.choice-editor-row.is-right{border-color:var(--good);background:var(--good-soft);box-shadow:0 3px 0 var(--good-line)}.choice-check{-webkit-appearance:none;appearance:none;border:2px solid var(--line-2);background:var(--card) center / 18px no-repeat;cursor:pointer;border-radius:9px;flex:none;width:28px;height:28px;margin:0;transition:border-color .15s,background-color .15s}.choice-check:hover{border-color:var(--good)}.choice-check:checked{border-color:var(--good);background-color:var(--good);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")}.choice-check:focus-visible{box-shadow:var(--focus);outline:none}.row-cell.cell-field{background:0 0;border:0;padding:0}.row-cell.cell-field:has(.cell-input:focus-visible){box-shadow:none}.row-cell.cell-field .cell-input{min-height:40px;font-size:1.02rem;font-weight:600}.row-cell.cell-field .cell-attach{width:32px;height:32px;color:var(--faint)}.row-cell.cell-field .cell-attach svg{width:16px;height:16px}.row-cell.cell-field .cell-attach:hover{color:var(--blue)}.row-cell.cell-field .cell-progress{bottom:-6px}.row-cell.cell-field .cell-input{padding:9px 6px}.choice-editor-row .row-cell.cell-field{flex-wrap:wrap;row-gap:6px}.choice-editor-row .row-cell.cell-field .cell-file{flex:0 0 100%;order:3;gap:10px}.choice-editor-row .row-cell .cell-file .cell-file-remove.icon-button{position:static}.row-del{width:32px;height:32px;color:var(--faint);flex:none;transition:color .15s,background .15s}:is(.row-del:hover,.row-del:focus-visible){color:var(--danger);background:var(--danger-soft)}.row-cell.cell-field .cell-attach{order:1}:is(.tf-editor-row,.write-editor-row)>.row-cell.cell-field{background:var(--bg,var(--soft));border:1.5px solid #0000;border-radius:10px;padding:0 2px 0 4px}:is(.tf-editor-row,.write-editor-row)>.row-cell.cell-field:hover{border-color:var(--line-2)}:is(.tf-editor-row,.write-editor-row)>.row-cell.cell-field:focus-within{border-color:var(--blue);background:var(--card)}.add-link{font:inherit;color:var(--blue);cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;margin:10px 0 0;padding:6px 4px;font-weight:600;display:inline-flex}.add-link svg{width:16px;height:16px}.add-link:hover{text-decoration:underline}.add-link.item-hint-link,.add-links .add-link.file-pick{width:auto;color:var(--muted);justify-self:start;font-size:14px}.add-link.item-hint-link:hover,.add-links .add-link.file-pick:hover{color:var(--blue)}.canvas-note,.options-field small,.options-field .canvas-note{color:var(--faint);margin:8px 0 14px;font-size:.8rem;line-height:1.4;display:block}.write-editor-row>.cell-field{flex:1.4 1 0}.write-editor-row>.write-answer-rich{flex:1 1 0;min-width:0}.write-editor-row .write-answer-rich .rich-editor{border-color:var(--good-line);border-radius:var(--radius);background:var(--good-soft);align-content:center;font-size:1.02rem;display:grid}.write-editor-row .write-answer-rich .rich-editor:focus{border-color:var(--good)}@media (max-width:680px){.row-del,.row-cell.cell-field .cell-attach{width:40px;height:40px}.add-link,.tf-editor .tf-editor-row .tf-toggle button{min-height:40px}.choice-check{background-size:22px;border-radius:12px;width:40px;height:40px}.tf-editor-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"cell del""tog tog";display:grid}.tf-editor-row:has(>.sort-handle){grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"grip cell del""tog tog tog"}.tf-editor-row>.sort-handle{grid-area:grip}.tf-editor-row>.cell-field{grid-area:cell}.tf-editor-row>.tf-toggle{grid-area:tog;justify-self:start}.tf-editor-row>.row-del{grid-area:del}.write-editor-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"cell del""ans ans";display:grid}.write-editor-row:has(>.sort-handle){grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"grip cell del""ans ans ans"}.write-editor-row>.sort-handle{grid-area:grip}.write-editor-row>.cell-field{grid-area:cell}.write-editor-row>.write-answer-rich{grid-area:ans}.write-editor-row>.row-del{grid-area:del}}.add-links{flex-wrap:wrap;align-items:center;column-gap:14px;display:flex}.add-links>.hint-block{flex:100%;order:1}.add-links>.task-files-field.is-link:not(:has(.task-files-strip)){display:contents}.add-links>.task-files-field.is-link:has(.task-files-strip){flex:100%;order:1}.match-editor{gap:10px;display:grid}.match-editor-row{background:var(--soft);border-radius:14px;grid-template-columns:auto minmax(0,1fr) auto minmax(0,1.2fr) auto;align-items:center;gap:10px;padding:8px 8px 8px 12px;display:grid}.match-extras .match-editor-row{grid-template-columns:auto minmax(0,1.2fr) auto;justify-content:start}.match-editor-row .num{background:var(--soft);width:26px;height:26px;color:var(--ink-2);border-radius:8px;place-items:center;font-size:.8rem;font-weight:800;display:grid}.match-editor-arrow{color:var(--faint);font-weight:800}.match-right{gap:6px;min-width:0;display:grid}.match-editor-row.is-pair{align-items:start}.match-editor-row.is-pair>.match-editor-lead{margin-top:4px}.match-editor-row.is-pair>.match-editor-arrow{margin-top:11px}.match-editor-row.is-pair>.row-del{margin-top:4px}.match-alt{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}.match-alt-or{color:var(--faint);font-size:.8rem;font-weight:700}.match-alt-add{justify-self:start;min-height:32px;margin:0;padding:6px 4px}.match-card{border:1.5px solid var(--line-2);background:var(--card);border-radius:12px;min-width:0;padding:3px 6px 3px 8px;transition:border-color .15s;display:flex}.match-card.is-slot{border:2px dashed var(--line-2);padding-block:2px}.match-card:focus-within{border-color:var(--blue)}.match-card>.cell-field{flex:1;min-width:0}.sort-editor{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;display:grid}.sort-editor-group{border:2px dashed var(--line-2);background:var(--card);border-radius:16px;align-content:start;gap:10px;min-height:120px;padding:12px;display:grid}.sort-editor .sort-editor-head{align-items:center;gap:6px;display:flex}.sort-editor .sort-editor-head :is(input,textarea){border:0;border-bottom:2px solid var(--line);background:0 0;border-radius:0;width:100%;min-height:38px;padding:8px 4px;font-size:.98rem;font-weight:800;line-height:1.35}.sort-editor .sort-editor-head :is(input,textarea):focus{border-bottom-color:var(--blue)}.sort-editor-cells{gap:6px;display:grid}.sort-editor-cell{border:1.5px solid var(--blue-line);background:var(--blue-soft);border-radius:10px;align-items:center;gap:4px;min-width:0;padding:2px 4px 2px 6px;display:flex}.sort-editor-cell>.cell-field{flex:1;min-width:0}.sort-editor-group>.add-link{justify-self:start;margin:0}.gap-editor{gap:10px;margin-bottom:14px;display:grid}.gap-editor .gap-text,.gap-editor .gap-extra{border:1.5px solid var(--line-2);background:var(--card);width:100%;font:inherit;border-radius:14px;padding:12px 14px;font-size:1.05rem;font-weight:600}.gap-editor .gap-extra{font-size:.95rem}.gap-editor-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.gap-editor-actions .segmented.answer-mode{grid-template-columns:auto auto;margin:0}.gap-editor-actions .segmented label,.gap-editor-actions .button{border-radius:12px;min-height:42px;padding:6px 14px;font-size:.9rem;font-weight:700}.gap-editor-actions .button.secondary{border-color:var(--line-2);box-shadow:none}.gap-editor .canvas-note{margin:-2px 0 0}.gap-preview{gap:10px;display:grid}.gap-preview .gap-answer{white-space:pre-wrap}.gap-preview strong{color:var(--good-dark);font-size:.84rem}.gap-preview-bank{flex-wrap:wrap;gap:8px;margin:0;display:flex}.bank-chip{border:2px solid var(--line-2);background:var(--card);box-shadow:0 3px 0 var(--line-2);border-radius:13px;padding:6px 14px;font-weight:700}.options-field{margin-bottom:14px}.options-field>label{margin-bottom:6px;font-weight:600;display:block}.options-field textarea{border:1.5px solid var(--line-2);background:var(--card);width:100%;min-height:96px;font:inherit;border-radius:14px;padding:10px 12px}.options-field .field-error{color:var(--bad);margin:8px 0 0;font-size:.8rem;display:block}.options-field .canvas-note{margin-bottom:0}.options-preview-title{color:var(--muted);margin:10px 0 0;font-size:.82rem;font-weight:700}.options-preview-title+.options-preview{margin-top:6px}.field-warning{border:1px solid var(--warn-line);background:var(--warn-soft);color:var(--warn);border-radius:10px;margin:8px 0 0;padding:8px 12px;font-size:.88rem}.options-preview{background:var(--soft);border-radius:14px;flex-wrap:wrap;gap:8px;margin-top:10px;padding:12px;display:flex}.preview-word{border:2px solid var(--line-2);background:var(--card);min-height:40px;box-shadow:0 3px 0 var(--line-2);border-radius:13px;align-items:center;padding:6px 14px;font-weight:700;display:inline-flex}.preview-card{border:2px solid var(--blue-line);background:linear-gradient(160deg, var(--card), var(--soft));min-width:110px;max-width:100%;box-shadow:0 3px 0 var(--blue-line);text-align:center;overflow-wrap:anywhere;border-radius:16px;flex-direction:column;align-items:center;gap:2px;padding:10px 14px;display:flex}.preview-card b{font-size:1.1rem}.preview-card small{color:var(--good-dark);font-weight:700}.video-slot-field{justify-items:start;gap:10px;margin-bottom:14px;display:grid}.video-slot-field .task-video,.video-slot-field .slowable{width:100%}.video-slot-actions{align-items:center;gap:8px;display:flex}.video-slot-field .media-slot-pick{aspect-ratio:16/9;width:100%;min-height:180px;max-height:300px;margin:0}.video-questions-editor{gap:12px;margin-bottom:14px;display:grid}.video-q-edit{border-left:4px solid var(--blue);background:var(--blue-soft);border-radius:14px;gap:8px;padding:14px 16px;display:grid}.video-q-edit input,.video-q-edit textarea{border:1.5px solid var(--blue-line);background:var(--card);width:100%;font:inherit;border-radius:12px;padding:10px 12px}.video-q-edit .video-q-text{min-height:46px;font-size:1.05rem;font-weight:700;line-height:1.35}.video-questions-editor>.add-link,.video-questions-editor>.button{justify-self:start}.wordwall-url-field{margin-bottom:12px}.wordwall-url-field textarea{border:1.5px solid var(--line-2);background:var(--card);width:100%;font:inherit;resize:vertical;border-radius:14px;padding:10px 12px}.wordwall-url-field .field-error{margin-top:6px;display:block}.wordwall-placeholder{aspect-ratio:auto;border:2px dashed var(--line-2);background:var(--soft);min-height:170px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:16px;display:flex}.wordwall-placeholder svg{width:32px;height:32px}.wordwall-placeholder p{max-width:34ch;margin:0;font-weight:600}.wordwall-placeholder.is-set{border-style:solid;border-color:var(--blue-line);background:var(--blue-soft);color:var(--blue)}@media (max-width:680px){.gap-editor-actions .segmented label,.gap-editor-actions .button{min-height:44px}.match-editor-row{grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"num left del""num right del";gap:6px 8px}.match-card>.cell-field.has-file{flex-wrap:wrap}.match-card>.cell-field.has-file>.cell-file{order:1}.match-card>.cell-field.has-file>.cell-attach{order:2;margin-left:auto}.match-card>.cell-field.has-file>.cell-input{flex:100%;order:3}.match-card>.cell-field.has-file:has(>.cell-file.is-video)>.cell-attach{order:4;margin-left:0}.match-card>.cell-field.has-file:has(>.cell-file.is-video)>.cell-input{flex:6rem}.match-editor-row>.num{grid-area:num;align-self:start}.match-editor-row>.match-card:not(.is-slot){grid-area:left}.match-extras .match-editor-row>.match-card.is-slot,.match-editor-row>.match-right{grid-area:right}.match-editor-row>.row-del{grid-area:del}.match-editor-row.is-pair{align-items:center}.match-editor-row.is-pair>.match-editor-lead,.match-editor-row.is-pair>.row-del{margin-top:0}.match-editor-arrow{display:none}.match-extras .match-editor-row{grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"num right del"}.match-extras .match-editor-row>.num{align-self:center}.sort-editor{grid-template-columns:minmax(0,1fr)}.video-slot-field .media-slot-pick{min-height:150px}}.match-extras-section{border-top:1px solid var(--line);margin-top:14px;padding-top:4px}.match-extras-section>.match-extras{margin-top:10px}.match-extras-section>.canvas-note{margin-bottom:0}.add-link+.hint-add,.add-link+.hint-block,.canvas-note+.hint-add,.canvas-note+.hint-block,.match-extras-section+.hint-add,.match-extras-section+.hint-block{margin-top:20px}.match-extras-section+.hint-add,.match-extras-section+.hint-block{margin-top:24px}.match-actions{flex-wrap:wrap;align-items:center;column-gap:12px;display:flex}.match-columns-count{color:var(--faint);margin-left:auto;font-size:.85rem;font-weight:700}.match-columns-remove{flex-wrap:wrap;gap:6px;margin:4px 0 8px;display:flex}.match-column-chip{border:1.5px solid var(--line-2);background:var(--card);min-height:32px;color:var(--ink-2);cursor:pointer;border-radius:999px;align-items:center;gap:4px;padding:4px 8px 4px 12px;font-size:.8rem;font-weight:700;display:inline-flex}.match-column-chip svg{width:14px;height:14px}.match-column-chip:hover{border-color:var(--blue)}.match-editor-row.is-chain{grid-template-columns:auto minmax(0,1fr) auto}.match-chain-cells{grid-template-columns:repeat(var(--cols,3), minmax(0, 1fr));align-items:start;gap:8px;min-width:0;display:grid}.match-chain-cells[data-cols="3"]{--cols:3}.match-chain-cells[data-cols="4"]{--cols:4}.match-chain-cells[data-cols="5"],.match-chain-cells[data-cols="6"]{--cols:3}.match-col{gap:6px;min-width:0;display:grid}.match-chain-warning{border:1px solid var(--warn-line);background:var(--warn-soft);color:var(--warn);border-radius:10px;margin:8px 0 0;padding:8px 12px;font-size:.85rem;font-weight:600}.match-extras-title{color:var(--ink-2);margin:10px 0 0;font-size:.85rem;font-weight:700}@media (max-width:860px){.match-editor-row.is-chain{grid-template-areas:"num cells del";align-items:start}.match-editor-row.is-chain>.match-chain-cells{grid-area:cells;grid-template-columns:minmax(0,1fr)}.match-editor-row.is-chain>.row-del{align-self:start}}.sort-handle{width:28px;height:40px;color:var(--muted);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;background:0 0;border:0;border-radius:8px;flex:none;place-items:center;margin:0 -4px 0 -6px;padding:0;display:grid}:is(.sort-handle:hover,.sort-handle:focus-visible){color:var(--blue);background:var(--blue-soft)}.sort-handle:disabled{opacity:.4;cursor:not-allowed}.sort-handle svg{width:18px;height:18px}[data-sort=drag]{opacity:.5}[data-sort=over]{outline:2px dashed var(--blue);outline-offset:2px}body.is-sorting{cursor:grabbing;-webkit-user-select:none;user-select:none}.sort-editor-cell>.sort-handle{width:24px;height:32px;margin:0 -2px 0 -4px}.match-editor-lead{align-items:center;gap:4px;display:flex}.quiz-editor-head>.sort-handle,.sort-editor-head>.sort-handle{margin-left:-4px}@media (max-width:680px){.sort-handle{width:36px;height:40px}.sort-editor-cell>.sort-handle{width:32px;height:40px}.match-editor-lead{flex-direction:column;grid-area:num;align-self:start;gap:2px}.match-editor-lead>.num{align-self:center}}.student{max-width:1180px;margin:auto;padding:20px 24px 90px}.work-bar{margin:0 0 14px}.work-bar .page-bar{margin:0}.work-bar .back{flex:none}.work-bar h1{overflow-wrap:anywhere}.work-meta{align-items:center;gap:8px;display:inline-flex}.work-count{background:var(--soft);color:var(--ink-2);white-space:nowrap;border-radius:999px;padding:3px 10px;font-size:.82rem}.work-bar .page-actions,.work-bar .icon-button,.work-bar .stopwatch{flex:none}.progress{background:var(--line);border-radius:999px;height:4px;margin:6px 0 0;overflow:hidden}.progress span{background:linear-gradient(90deg, var(--blue), #6f86ff);border-radius:999px;height:100%;transition:width .35s;display:block}.exercise{overflow-wrap:anywhere;border-width:2px;min-width:0;margin-top:10px;padding:clamp(22px,4vw,40px);transition:border-color .2s;position:relative}.exercise.is-good{border-color:var(--good-line)}.exercise.is-bad{border-color:var(--bad-line)}.exercise.is-partial,.exercise.is-partial .tf.is-bad .tf-row,.exercise.is-partial .spell.is-bad .spell-row:not(.is-bad),.exercise.is-partial .group-sort.is-bad .sort-group{border-color:var(--warn-line)}.exercise.is-partial .matching.is-bad .match-row:not(.is-bad){background:var(--warn-soft)}.exercise.is-partial .matching.is-bad .match-row:not(.is-bad) .drop-zone.filled{border-color:var(--warn-line);color:var(--warn)}.exercise-top{color:var(--faint);letter-spacing:.08em;text-transform:uppercase;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:12px;margin-bottom:20px;font-size:.76rem;font-weight:800;display:flex}.exercise-top .type-tag{margin-left:auto}.exercise-top>*,.type-tag,.skipped-tag{white-space:nowrap}.type-tag{background:var(--blue-soft);color:var(--blue);letter-spacing:.02em;text-transform:none;border-radius:999px;align-items:center;gap:6px;padding:5px 10px;font-size:.8rem;display:inline-flex}.skipped-tag{border:1px dashed var(--faint);color:var(--faint);letter-spacing:.02em;text-transform:none;border-radius:999px;padding:5px 10px;font-size:.8rem;font-weight:700}.type-tag svg{width:15px;height:15px}.exercise h2{margin-bottom:22px;font-size:clamp(1.25rem,1rem + 1vw,1.55rem);line-height:1.35}.exercise audio{width:100%;margin:0 0 22px}.verdict{border-radius:14px;align-items:center;gap:10px;margin:-4px 0 20px;padding:12px 14px;font-weight:800;display:flex}.verdict svg{width:22px;height:22px}.verdict.is-good{background:var(--good-soft);color:var(--good-dark)}.verdict.is-bad{background:var(--bad-soft);color:var(--bad-dark)}.verdict.is-partial{background:var(--warn-soft);color:var(--warn)}.teacher-note.is-info{border:1px solid var(--blue-line);background:var(--blue-soft);color:var(--blue-dark);border-radius:12px;margin:0 0 10px;padding:10px 14px;font-size:.9rem}.verdict.small{border-radius:999px;margin:0;padding:5px 11px;font-size:.84rem;display:inline-flex}.verdict.small svg{width:17px;height:17px}.solution{border:1.5px solid var(--good-line);background:var(--good-soft);border-radius:16px;margin:14px 0 20px;padding:10px 12px}.solution h3{color:var(--good-dark);align-items:center;gap:6px;margin:0 0 8px;font-size:.88rem;display:flex}.solution h3 svg{width:18px;height:18px}.teacher-note{background:var(--warn-soft);border:1px solid var(--warn-line);color:var(--warn);border-radius:14px;margin-top:20px;padding:14px 16px}.teacher-note b{font-size:.84rem}.teacher-note p{white-space:pre-wrap;margin:4px 0 0}.hint{background:var(--soft);border-radius:14px;margin-top:20px;padding:12px 16px}.hint.item-hint{margin-top:8px}.hint summary{cursor:pointer;color:var(--blue);align-items:center;gap:8px;font-weight:700;list-style:none;display:inline-flex}.hint summary::-webkit-details-marker{display:none}.hint summary svg{width:18px;height:18px}.hint p{white-space:pre-wrap;margin:10px 0}.hint .video-circle{margin-top:12px}.exercise-actions{border-top:1px solid var(--line);justify-content:space-between;gap:10px;margin:26px 0 0;padding-top:16px;display:flex}.result-card{margin-bottom:22px;padding:22px}.result-card.status-complete{border-color:var(--good-line);background:linear-gradient(160deg, var(--card) 40%, var(--good-soft))}.result-card.status-revision{border-color:var(--bad-line);background:linear-gradient(160deg, var(--card) 40%, var(--bad-soft))}.result-redo{flex-wrap:wrap;align-items:center;gap:12px 16px;margin-top:16px;display:flex}.redo-chips{flex-wrap:wrap;gap:6px;display:flex}.redo-chips button{cursor:pointer}.result-note.is-previous{color:var(--muted)}.result-note.is-previous b{color:var(--muted);font-weight:700}.reopen-work{flex-wrap:wrap;align-items:center;gap:8px 14px;margin-top:16px;display:flex}.reopen-work p{color:var(--muted);flex:220px;margin:0;font-size:.86rem}.result-main{align-items:center;gap:20px;display:flex}.result-main h2{margin:0 0 4px}.result-main p{color:var(--ink-2);margin:0}.result-main p.muted{color:var(--muted);margin-top:4px;font-size:.88rem}.score-ring{--value:0;background:radial-gradient(closest-side, var(--card) 78%, transparent 79%), conic-gradient(var(--good) calc(var(--value) * 360deg), var(--bad-line) 0);border-radius:50%;flex:none;place-content:center;justify-items:center;width:104px;height:104px;display:grid}.score-ring.is-waiting,.score-ring.is-neutral{background:radial-gradient(closest-side, var(--card) 78%, transparent 79%), conic-gradient(var(--line-2) 0 360deg)}.score-ring b{font-family:var(--font-display);font-size:1.6rem;line-height:1}.score-ring span{text-align:center;max-width:64px;color:var(--muted);margin-top:2px;font-size:.68rem;font-weight:700;line-height:1.15}.score-ring.is-waiting b{max-width:70%;font-family:var(--font-body,inherit);text-align:center;font-size:.82rem;line-height:1.15}.result-videos{flex-wrap:wrap;justify-content:center;align-items:flex-end;gap:24px;margin-top:22px;display:flex}.task-strip:before{content:"";z-index:-1;background:var(--bg);height:8px;position:absolute;inset:-8px -12px auto}.task-strip{z-index:12;background:var(--card);border-radius:18px;align-items:center;gap:6px;margin:0 0 16px;padding:6px;display:flex;position:sticky;top:76px}@supports (color:color-mix(in lab, red, red)){.task-strip{background:color-mix(in srgb, var(--card) 92%, transparent)}}.task-strip{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid var(--line);box-shadow:var(--shadow)}.strip-arrow{background:var(--soft);width:34px;height:34px;color:var(--ink-2);border:0;border-radius:11px;flex:none;place-items:center;display:grid}.strip-arrow:disabled{opacity:.35}.strip-arrow svg{width:18px;height:18px}.strip-list{scrollbar-width:none;flex:1;gap:6px;min-width:0;margin-top:-6px;padding:12px 6px 4px;display:flex;overflow-x:auto}.strip-list::-webkit-scrollbar{display:none}.strip-list button,.redo-chips button{border:2px solid var(--line-2);background:var(--card);width:36px;height:36px;color:var(--muted);border-radius:12px;flex:none;place-items:center;padding:0;font-size:.84rem;font-weight:800;display:grid;position:relative}.strip-list button.done{border-color:var(--blue-line);background:var(--blue-soft);color:var(--blue)}.strip-list button.is-good{border-color:var(--good);background:var(--good);color:#fff}.strip-list button.is-bad,.redo-chips button.is-bad{border-color:var(--bad);background:var(--bad);color:#fff}.strip-list button.is-partial{color:#3a2705;background:#e7a93a;border-color:#e7a93a}.strip-list button.is-retry{background:var(--warn-soft);color:var(--warn);border-color:#e7a93a}.strip-list button.active{border-color:var(--ink);box-shadow:inset 0 0 0 2px #fff}.strip-badge{font-size:.8rem;line-height:1;position:absolute;top:-9px;right:-8px}.strip-lock{background:var(--card);width:14px;height:14px;color:var(--muted);border:1px solid var(--line-2);border-radius:50%;padding:2px;position:absolute;bottom:-4px;right:-4px}.strip-note{background:var(--accent);border:2px solid var(--card);border-radius:50%;width:10px;height:10px;position:absolute;bottom:-3px;right:-3px}.exercise.is-retry{border-color:var(--warn-line)}.verdict{margin:18px 0 0}.verdict.is-retry{background:var(--warn-soft);color:var(--warn);font-weight:700}.verdict.is-retry b{font-weight:800}.verdict-count{text-wrap:balance;display:inline-block}.verdict span{line-height:1.4}.check-row{flex-wrap:wrap;align-items:center;gap:14px;margin-top:18px;display:flex}.check-row span{color:var(--muted);font-size:.86rem;font-weight:600}.check-row span.check-warning{color:var(--bad-dark);font-size:.92rem}.check-row.item-check{gap:10px;margin-top:8px}.item-check-mini{min-height:0;padding:4px 10px;font-size:.8rem}.reaction-bubble{background:var(--warn-soft);color:var(--warn);border-radius:999px;align-items:center;gap:10px;margin:-6px 0 16px;padding:6px 14px 6px 8px;font-size:.86rem;font-weight:700;animation:.3s ease-out pop;display:inline-flex}.reaction-bubble span{font-size:1.5rem}.card-tools{flex-wrap:wrap;align-items:center;gap:10px 14px;margin:18px 0 0;display:flex}.card-tools:empty{display:none}.card-tools .check-row{flex:1 0 100%;margin:0}.comment-toggle{text-align:left;border:1.5px dashed var(--line-2);width:100%;color:var(--ink-2);background:0 0;border-radius:12px;align-self:stretch;align-items:center;gap:8px;padding:8px 12px;font-size:.88rem;font-weight:600;display:flex}.comment-toggle:hover{border-color:var(--blue-line);color:var(--blue)}.comment-toggle svg,.student-comment svg{width:17px;height:17px;color:var(--blue)}.student-comment{flex-direction:column;gap:6px;display:flex}.card-tools .student-comment{flex:1 0 100%}.card-tools .student-comment.read{margin:0}.student-comment label{color:var(--ink-2);align-items:center;gap:7px;font-size:.86rem;font-weight:700;display:flex}.student-comment textarea{border:1.5px solid var(--blue-line);background:var(--soft);resize:vertical;border-radius:14px;width:100%;min-height:48px;padding:12px 14px}.student-comment textarea:focus{border-color:var(--blue)}.student-comment small{color:var(--muted);font-size:.8rem}.student-comment.read{background:var(--blue-soft);border:1px solid var(--blue-line);border-radius:14px;margin:0 0 12px;padding:12px 14px}.student-comment.read b{color:var(--blue-dark);align-items:center;gap:7px;font-size:.84rem;display:flex}.student-comment.read p{white-space:pre-wrap;margin:0}.attempts{color:var(--muted);align-items:center;gap:6px;margin:0 0 10px;font-size:.84rem;font-weight:600;display:flex}.attempts svg{color:#c99d10;width:15px;height:15px}.reaction-bar{flex-wrap:wrap;align-items:center;gap:6px;margin-top:12px;display:flex}.reaction-bar>span{color:var(--muted);margin-right:2px;font-size:.82rem;font-weight:700}.reaction-bar button{border:1.5px solid var(--line);background:var(--card);border-radius:12px;place-items:center;width:40px;height:40px;font-size:1.25rem;transition:transform .1s;display:grid}.reaction-bar button:hover:not(:disabled){background:var(--soft);transform:scale(1.12)}.reaction-bar button.is-on{background:var(--warn-soft);border-color:#e7b928;transform:scale(1.08)}.reaction-bar svg{width:18px;height:18px;color:var(--blue)}.done{text-align:center;justify-items:center;gap:14px;padding:6px 0 10px;display:grid}.score-ring.big{width:128px;height:128px}.score-ring.big span{max-width:76px;font-size:.74rem}.score-ring.big:not(.is-waiting) b{font-size:2.2rem}.score-ring.big.is-waiting b{max-width:78%;font-size:.95rem;line-height:1.2}.done-text{max-width:380px;margin:0;font-weight:600;color:var(--ink-2)!important}.badges{flex-wrap:wrap;justify-content:center;gap:8px;margin:0;padding:0;list-style:none;display:flex}.badges li{background:var(--blue-soft);color:var(--blue-dark);border-radius:999px;align-items:center;gap:7px;padding:8px 14px;font-size:.88rem;font-weight:700;animation:.4s ease-out backwards pop;display:inline-flex}.badges li:nth-child(2){animation-delay:.1s}.badges li:nth-child(3){animation-delay:.2s}.badges li:nth-child(4){animation-delay:.3s}.badges li svg{width:17px;height:17px}.confetti{z-index:100;pointer-events:none;width:100vw;height:100vh;position:fixed;inset:0}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}@media (max-width:680px){.student{padding:18px 14px 80px}.exercise{padding:20px 16px}.exercise-actions .button{white-space:nowrap;flex:1;min-width:0}.exercise-actions .button.submit-work{flex:2}.work-bar{margin:0 0 10px}.work-bar .page-bar{flex-wrap:wrap;gap:4px 6px}.work-bar .page-bar h1{white-space:normal;flex:100%;order:4;font-size:1.1rem;display:block}.work-bar .back{justify-content:center;width:44px;height:44px;padding:0}.work-bar .back-label,.work-meta .due-pill{display:none}.work-bar .page-actions{display:contents}.work-bar .save-state:not(.is-error,.is-offline){display:none}.work-bar .save-state{flex:100%;order:5}.reopen-work{text-align:center;flex-direction:column;align-items:center}.reopen-work p{flex:none}.result-main{text-align:center;flex-direction:column;align-items:center;gap:14px}.task-strip{margin:0 0 14px;top:66px}.check-row .button{flex:1}}.done+.modal-actions{justify-content:center}.student :is(input,textarea){scroll-margin-top:150px}.section-nav,.sheet{scroll-margin-top:80px}@media (max-height:520px){.task-strip{position:static}}@media (max-width:680px){.student .button.small,.student .speed button{min-height:40px}.student .speed button{height:40px}}.student .exercise.is-bad{border-color:var(--bad)}.student .answer.is-bad{border-color:var(--bad);background:var(--card)}.student .verdict.is-bad{background:var(--card);border:1.5px solid var(--bad-line);border-left:5px solid var(--bad);color:var(--bad-dark)}.student .verdict.is-bad svg{color:var(--bad)}.student .exercise.is-partial{border-color:#e7a93a}:root[data-theme=light] .student .exercise.is-partial{border-left-color:#b67c10}@media (prefers-color-scheme:light){:root:not([data-theme=dark]) .student .exercise.is-partial{border-left-color:#b67c10}}.student .verdict.is-partial{background:var(--card);border:1.5px solid var(--warn-line);color:var(--warn);border-left:5px solid #e7a93a}.student .verdict.is-partial svg{color:#e7a93a}.student :is(.answer,.gap-input).is-bad:focus{border-color:var(--blue);background:var(--card);color:var(--ink);box-shadow:0 0 0 3px var(--blue-soft);outline:none}.missing{background:var(--soft);border:1px solid var(--line);border-radius:16px;gap:8px;margin:16px 0 0;padding:10px 14px;display:grid}.missing-title{color:var(--ink-2);align-items:center;gap:8px;font-size:.92rem;font-weight:700;display:inline-flex}.missing-title svg{width:18px;height:18px;color:var(--blue)}.missing-list{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.missing-chip{border:1.5px solid var(--blue-line);background:var(--card);min-width:36px;height:36px;color:var(--blue);cursor:pointer;border-radius:11px;place-items:center;padding:0 8px;font-size:.9rem;font-weight:800;transition:background .15s,transform .1s;display:grid}.missing-chip:hover{background:var(--blue-soft)}.missing-chip:active{transform:translateY(1px)}.stopwatch{position:relative}.stopwatch-pill{border:1px solid var(--line);background:var(--card);height:36px;color:var(--ink-2);font-variant-numeric:tabular-nums;cursor:pointer;border-radius:999px;align-items:center;gap:6px;padding:0 12px;font-size:.86rem;font-weight:700;display:inline-flex}.stopwatch-pill svg{width:16px;height:16px;color:var(--muted)}.stopwatch-pill.is-hidden{padding:0 10px}.stopwatch-pop{z-index:30;border:1px solid var(--line);background:var(--card);text-align:left;border-radius:16px;width:min(300px,100vw - 32px);max-width:calc(100vw - 32px);padding:16px 16px 14px;position:absolute;top:44px;left:0;box-shadow:0 12px 32px #141e3c29}.stopwatch-pop b{margin:0 24px 6px 0;font-size:.95rem;display:block}.stopwatch-pop p{color:var(--ink-2);margin:0 0 8px;font-size:.86rem;line-height:1.45}.stopwatch-close{width:30px;height:30px;position:absolute;top:8px;right:8px}.stopwatch-hide{color:var(--muted);cursor:pointer;align-items:center;gap:8px;margin-top:6px;font-size:.84rem;display:flex}.section-nav{gap:8px;max-width:760px;margin:0 auto 12px;padding:2px;display:flex;overflow-x:auto}.student:has(>.sheet) .section-nav{max-width:none;margin-left:0;padding-inline:0}.section-nav button{border:1.5px solid var(--line);background:var(--card);text-align:left;cursor:pointer;border-radius:14px;flex-direction:column;flex:none;align-items:flex-start;gap:2px;min-width:130px;max-width:240px;padding:9px 14px;display:flex}.section-nav button b{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:.86rem;overflow:hidden}.section-nav button small{color:var(--muted);align-items:center;gap:3px;font-size:.76rem;font-weight:700;display:inline-flex}.section-nav button small svg{width:13px;height:13px}.section-nav button.is-on{border-color:var(--blue);box-shadow:0 0 0 1px var(--blue) inset}.section-nav button.is-done small{color:var(--good)}.exercise-section{background:var(--blue-soft);color:var(--blue);border-radius:999px;margin:0 0 8px;padding:3px 10px;font-size:.76rem;font-weight:800;display:inline-block}.sheet{flex-direction:column;gap:16px;display:flex}.sheet .exercise{margin:0}.sheet-title{text-align:center;margin:8px 0 0;font-size:1.3rem}.sheet-actions{flex-wrap:wrap;justify-content:space-between;gap:12px;width:100%;margin:4px 0 0;display:flex}.sheet .missing{width:100%;margin:0}.sheet-page{border:1px solid var(--line);background:var(--card);width:100%;box-shadow:var(--shadow);border-radius:24px;margin:0;overflow:hidden}.sheet-page>.exercise{max-width:none;box-shadow:none;background:0 0;border:0;border-radius:0}.sheet-page>.exercise+.exercise{border-top:1px solid var(--line)}.sheet-page>.exercise.is-good{background:radial-gradient(ellipse 80% 75% at 0 50%, var(--good-soft) 25%, transparent)}.sheet-page>.exercise.is-bad,.sheet-page>.exercise.is-retry{background:radial-gradient(ellipse 80% 75% at 0 50%, var(--bad-soft) 25%, transparent)}.sheet-page>.exercise.is-partial{background:radial-gradient(ellipse 80% 75% at 0 50%, var(--warn-soft) 25%, transparent)}.sheet-number{background:var(--blue-soft);min-width:38px;height:26px;color:var(--blue);letter-spacing:0;border-radius:8px;place-items:center;padding:0 8px;font-size:.8rem;display:inline-grid}.trainer{justify-items:center}.trainer>:not(.flash-card){justify-self:stretch}.student .exercise .flash-card.intro{width:min(100%,520px)}.student .exercise .match-row{grid-template-columns:minmax(0,1fr) minmax(160px,260px)}.student .exercise .match-row .cell-media{max-width:220px}@media (max-width:680px){.student .exercise .match-row{grid-template-columns:1fr}.student .exercise .match-row:not(.match-chain-row) .cell-view:not(.has-audio){align-items:center}.student .exercise .match-row .cell-media{max-width:100%}}:is(.work-bar,.review-head) .work-cover{object-fit:cover;border-radius:14px;flex:none;width:56px;height:56px}@media (max-width:680px){:is(.work-bar,.review-head) .work-cover{border-radius:12px;width:44px;height:44px}}@media (min-width:681px){.student .exercise .matching:has(.match-bank){grid-template-columns:minmax(0,1fr) minmax(160px,220px);align-items:start;gap:14px 18px}.student .exercise .matching .match-row{grid-template-columns:minmax(0,1fr) minmax(130px,200px);padding:6px 6px 6px 14px}.student .exercise .matching .drop-zone{min-height:42px;padding:6px 10px}.student .exercise .matching .drop-zone.slot-video{padding:0}.student .exercise .matching .match-bank{background:var(--soft);overscroll-behavior:contain;border-radius:14px;flex-flow:column;grid-column:2;align-items:stretch;gap:8px;max-height:calc(100dvh - 166px);margin:0;padding:12px;display:flex;position:sticky;top:150px;overflow-y:auto}.student .exercise .matching:has(.match-bank :is(.cell-thumb,.bank-video)){grid-template-columns:minmax(0,1fr) minmax(200px,260px)}.student .exercise .matching .match-bank .bank-item>button:first-child{flex:1;justify-content:flex-start}.student .exercise .matching .media-match-help{text-align:left}}.answer-solo{display:contents}.student .exercise{--col:760px;scroll-margin-top:150px}.sheet-page>.exercise{--col:none}.student .exercise>:not(.answer-solo,.exercise-section,.reaction-bubble),.student .exercise>.answer-solo>*{width:100%;max-width:var(--col);margin-inline:auto}.student .exercise>:is(.exercise-section,.reaction-bubble){margin-left:max(0px,50% - 380px)}.sheet-page>.exercise>:is(.exercise-section,.reaction-bubble){margin-left:0}.student .exercise>.exercise-section{display:table}.student .exercise .task-image,.student .exercise .task-cover img{object-fit:contain;object-position:center;width:100%;height:auto;max-height:min(360px,50vh)}.student .exercise .task-image{background:var(--soft);border-radius:16px;margin:0 auto 16px;animation:none}.student .exercise .quiz-body .task-image,.student .exercise .task-image.small{max-height:min(360px,50vh)}.student .exercise .drawn-picture:has(>img.task-image){margin:0 auto 16px}.student .exercise .task-cover{border-radius:16px;margin:0 auto 16px}.student .exercise .task-video,.student .exercise audio{border-radius:16px;width:100%;max-width:none;margin:0}.student .exercise .slowable{gap:0;margin-bottom:16px}.student .exercise .slowable .speed{justify-self:start;margin-top:8px}.student .exercise .choice-stem{gap:16px}.student .exercise>.answer-solo>.choice-stem{margin-bottom:10px}.student .exercise .choice-stem>.slowable,.student .exercise .choice-stem>.task-image,.student .exercise .choice-stem>.drawn-picture{margin-bottom:0}.student .exercise .quiz-body .choice-stem{gap:16px}.student .exercise .choices.has-media{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.student .exercise .choice-cell{max-width:360px}@media (max-width:520px){.student .exercise .choices.has-media{grid-template-columns:1fr}.student .exercise .choice-cell:has(>.cell-play){min-height:148px}}.student .exercise .tf-row .cell-view .cell-media:not(audio){aspect-ratio:auto;object-fit:contain;background:var(--soft);border-radius:16px;width:100%;max-width:none;height:auto;max-height:200px}.student .exercise .tf-row .cell-view video.cell-media{background:#0f1733}@media (min-width:681px){.student .exercise .tf-row.has-media{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 14px}.student .exercise .tf-row.has-media .tf-toggle{justify-self:auto}}.quiz>.quiz-q:only-child{background:0 0;border:0;border-radius:0;padding:0}@media (max-width:680px){.strip-list button,.strip-arrow{width:40px;height:40px}:is(.write-answer-field,.write-answer-rich) .rich-toolbar{flex-wrap:nowrap;max-width:100%;overflow-x:auto}:is(.write-answer-field,.write-answer-rich) .rich-toolbar .icon-button{flex:none;width:40px;height:40px}.student .missing-chip{min-width:40px;height:40px}.done-count{text-align:center;gap:8px;width:auto;display:inline-flex}.done-count svg{flex:none}.row-due{white-space:nowrap}}@media (max-width:420px){.exercise-actions:has(.submit-work){flex-wrap:wrap}.exercise-actions .button.submit-work{flex:1 0 100%;order:-1}}.student .exercise .choice-stem-caption{margin-bottom:0}.button.primary.submit-work:disabled{border-color:var(--line);background:var(--line);color:var(--ink);box-shadow:none;opacity:1}dialog.modal:has(.done) .modal-head h2{text-align:center;flex:1;padding-left:40px}.reopen-work .button{min-height:38px;box-shadow:none}.button.primary.is-resend:disabled{background:var(--blue);border-color:var(--blue);color:#fff;box-shadow:none;opacity:.7;cursor:not-allowed}.answer-solo .item-card,.answer-solo .gap-input,.answer-solo .gap-slot,.answer-solo .sort-item,.answer-solo .spell-row{scroll-margin-top:150px}.reopen-note{border:1px solid var(--blue-line);background:var(--blue-soft);color:var(--ink);border-radius:12px;align-items:flex-start;gap:10px;margin:0 0 16px;padding:12px 14px;font-size:.9rem;display:flex}.reopen-note>svg{width:16px;height:16px;color:var(--blue-dark);flex:none;margin-top:3px}.reopen-note p{margin:0}.check-row.item-check>.button.check{white-space:nowrap;flex:none;padding-inline:18px}.reaction-bar button.reaction-more{width:auto;color:var(--muted);padding:0 10px;font-size:.82rem;font-weight:700}.word-bank{flex-wrap:wrap;justify-content:center;gap:8px;padding-top:6px;display:flex}.word-bank,.match-bank{align-items:center}.word-bank button.used{opacity:.25;box-shadow:none}.task-video{aspect-ratio:16/9;object-fit:contain;background:#0f1733;border-radius:16px;width:100%;max-width:min(100%,720px);max-height:420px;margin:4px auto 16px;display:block}.matching .bank-item>button.picked,.group-sort .word-bank button.picked,.gap-choose .word-bank button.picked{border-color:var(--blue);background:var(--blue-soft);box-shadow:0 3px 0 var(--blue-line);transform:translateY(-2px)}.matching .bank-item>button[draggable=true],.group-sort .word-bank button[draggable=true],.gap-choose .word-bank button[draggable=true]{cursor:grab}.media-match-help{color:var(--muted);text-align:center;font-size:.8rem}.matching .bank-item>button:first-child,.group-sort .word-bank .sort-item>button:first-child,.gap-choose .word-bank button{border:2px solid var(--line-2);background:var(--card);min-height:44px;box-shadow:0 3px 0 var(--line-2);border-radius:13px;padding:8px 14px;font-size:1rem;font-weight:700;transition:transform 80ms}.sort-done{color:var(--good);align-self:center;font-size:.9rem;font-weight:700}.check-list{gap:6px;margin:0 0 12px;padding:0;list-style:none;display:grid}.check-list li{border-radius:12px;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:10px 12px;font-size:.93rem;display:flex}.check-list li>svg{flex:none;width:18px;height:18px}.check-list li>span{flex:1;align-items:center;gap:8px;min-width:160px;display:flex}.check-list li.is-good{background:var(--good-soft);color:var(--good-dark)}.check-list li.is-bad{background:var(--bad-soft);color:var(--bad-dark)}.check-list li b{color:var(--ink)}.check-list li em{font-size:.84rem;font-style:normal;font-weight:700}.task-cover{background:var(--soft);border-radius:18px;margin:2px 0 18px;overflow:hidden}.cover-below{margin-top:16px}.task-cover img{object-fit:contain;width:100%;max-height:min(460px,60vh);display:block}.task-cover.small img{max-height:min(360px,50vh)}.task-cover:has(figcaption){border:1px solid var(--line)}.task-cover figcaption{background:var(--card);color:var(--ink-2);text-align:center;padding:10px 14px 12px;font-size:.92rem;line-height:1.45}.slowable{gap:8px;margin-bottom:14px;display:grid}.slowable audio,.slowable video{margin:0}.speed{flex-wrap:wrap;justify-self:start;gap:4px;font-size:.84rem}.speed>span{color:var(--muted);padding:0 6px 0 8px;font-weight:600}.speed button{font-variant-numeric:tabular-nums;min-width:40px;padding:0 6px;font-weight:800}.speed-switch{margin-top:12px}@media (max-width:480px){.speed{grid-template-columns:repeat(3,minmax(0,1fr));justify-self:stretch;display:grid}.speed>span{grid-column:1/-1}}.draw-open{text-align:center;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 12px;margin:-8px 0 18px;display:flex}.draw-open small{color:var(--muted);font-size:.86rem}.task-media{gap:10px;min-width:0;display:grid}.task-media-main{gap:8px;min-width:0;display:grid}.task-media-video{aspect-ratio:16/9;background:#000;border-radius:12px;width:100%;max-height:260px;display:block}.task-media-audio{width:100%;height:54px;display:block}.attachments .task-media ul.task-media-strip{justify-self:center;gap:8px;max-width:100%;margin:-4px;padding:4px;list-style:none;display:flex;overflow-x:auto}.task-media-strip li{flex:none;align-content:start;gap:4px;display:grid}.task-media-tile{border:1.5px solid var(--line);background:var(--soft);width:72px;height:72px;color:var(--ink-2);cursor:pointer;border-radius:12px;place-items:center;padding:0;text-decoration:none;display:grid;position:relative;overflow:hidden}.task-media-tile.is-active{border-color:var(--blue);box-shadow:0 0 0 1px var(--blue)}.task-media-tile:focus-visible{box-shadow:var(--focus);outline:none}.task-media-tile img,.task-media-tile video{object-fit:cover;border:0;border-radius:0;width:100%;height:100%;max-height:none;margin:0;position:absolute;inset:0}.task-media-tile.is-doc{align-content:center;gap:2px;padding:4px 6px;font-size:.68rem;font-weight:700}.task-media-tile.is-doc svg{width:22px;height:22px;color:var(--blue)}.task-media-tile.is-doc span{white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden}.task-media-play{color:#fff;fill:#fff;background:#0f17339e;border-radius:50%;width:24px;height:24px;padding:5px;position:relative}.task-media-main img.task-media-image{object-fit:contain;cursor:zoom-in;border-radius:12px;justify-self:center;max-width:100%;max-height:340px;display:block}.task-media .attachment-caption{text-align:center;justify-self:center;max-width:60ch;margin:0}.task-media .speed{justify-self:center;max-width:100%}.task-media-tile.is-doc svg.task-media-pdf-mark{width:12px;height:12px;color:var(--muted);position:absolute;top:4px;right:4px}@media (max-width:680px){.task-media-video{max-height:220px}.task-media-tile{width:64px;height:64px}.task-media-main img.task-media-image{max-height:220px}.task-media .speed{justify-self:stretch}}.item-card{border:1.5px solid var(--line-2);background:var(--card);border-radius:16px;min-width:0}.item-card.is-good,.item-card.item-right{border-color:var(--good-line);background:var(--good-soft)}.item-card.is-bad{border-color:var(--bad-line);background:var(--bad-soft)}.item-card>.hint.item-hint{grid-column:1/-1;margin-top:0}.spell-row.is-frozen,.sort-item.is-frozen{background:var(--soft);color:var(--muted)}.item-card.is-frozen{border-style:solid;border-color:var(--line-2);background:var(--soft);color:var(--muted);opacity:1;position:relative}.frozen-lock{width:16px;min-width:16px;height:16px;color:var(--muted);pointer-events:none;flex:none;position:absolute;top:8px;right:8px}.item-card.is-frozen.tf-row,.item-card.is-frozen.match-row,.student .exercise .matching .match-row.is-frozen{padding-right:34px}.item-card.is-frozen .choice-stem{padding-right:28px}.gap-answer .frozen-lock{vertical-align:-1px;margin:0 2px;display:inline-block;position:static}.item-card.is-frozen .drop-zone.filled{border-style:solid;border-color:var(--line-2);background:var(--card);color:var(--ink-2)}.matching .item-card.is-frozen.match-row{border-color:var(--line-2);background:var(--soft)}.matching .item-card.is-frozen .drop-zone.filled{border-color:var(--line-2);background:var(--card);color:var(--ink)}.item-card.is-frozen .tf-toggle{background:0 0}.item-card.is-frozen .tf-toggle button{color:var(--muted)}.item-card.is-frozen .tf-toggle button.is-on,.item-card.is-frozen .tf-toggle button[aria-pressed=true],.item-card.is-frozen .tf-toggle button[aria-checked=true]{border:1px solid var(--line-2);background:var(--card);box-shadow:none;color:var(--ink);outline:none}.item-card.is-frozen .choices button.multi-option{color:var(--muted)}.item-card.is-frozen .choices button.multi-option.selected{border-color:var(--ink-2);background:var(--card);box-shadow:none;color:var(--ink)}.item-card.is-frozen .choice-cell:has(>.multi-option.selected){border-color:var(--ink-2);background:var(--card);box-shadow:none}.item-card.is-frozen:has(img,video)>.frozen-lock{box-sizing:content-box;background:var(--card);border-radius:6px;padding:3px}.item-card.is-frozen .choices button.multi-option.selected b.box{border-color:var(--ink-2);background:var(--ink-2)}.item-card.is-frozen .choices button.multi-option:disabled:not(.selected),.item-card.is-frozen .choices.has-media .choice-cell>.multi-option:disabled:not(.selected,.is-right,.is-good){opacity:1;border-color:var(--line);color:var(--muted);background:0 0}.choices{gap:10px;display:grid}.choices button{overflow-wrap:anywhere;border:2px solid var(--line-2);background:var(--card);text-align:left;min-width:0;min-height:58px;box-shadow:0 3px 0 var(--line-2);border-radius:16px;align-items:center;gap:14px;padding:12px 14px;font-size:1.02rem;font-weight:600;transition:transform 80ms,border-color .15s,background .15s;display:flex}.choices button:hover:not(:disabled){border-color:var(--blue-line);background:var(--soft)}.choices button:active:not(:disabled){box-shadow:0 1px 0 var(--line-2);transform:translateY(2px)}.choices b{background:var(--soft);width:32px;height:32px;color:var(--muted);border-radius:10px;flex:none;place-items:center;font-size:.82rem;display:grid}.choices b svg{width:18px;height:18px}.choices button.selected{border-color:var(--blue);background:var(--blue-soft);box-shadow:0 3px 0 var(--blue-line)}.choices button.selected b{background:var(--blue);color:#fff}.choices button.is-good{border-color:var(--good);background:var(--good-soft);box-shadow:0 3px 0 var(--good-line)}.choices button.is-good b{background:var(--good);color:#fff}.choices button.is-bad{border-color:var(--bad);background:var(--bad-soft);box-shadow:0 3px 0 var(--bad-line)}.choices button.is-bad b{background:var(--bad);color:#fff}.choices button:disabled{cursor:default}.choices button:disabled:not(.selected){opacity:.6}.choices.has-media{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}.choice-cell{border:2px solid var(--line-2);background:var(--card);min-height:168px;box-shadow:0 3px 0 var(--line-2);cursor:pointer;border-radius:16px;flex-direction:column;padding-top:10px;transition:transform 80ms,border-color .15s,background .15s;display:flex;position:relative}.choice-cell:has(>.multi-option:disabled){cursor:default}.choice-cell:hover:has(>.multi-option:not(:disabled)){border-color:var(--blue-line);background:var(--soft)}.choice-cell:active:has(>.multi-option:not(:disabled)):not(:has(.cell-play:active,.cell-video-card:active)){box-shadow:0 1px 0 var(--line-2);transform:translateY(2px)}.choice-cell:has(>.multi-option.selected){border-color:var(--blue);background:var(--blue-soft);box-shadow:0 3px 0 var(--blue-line)}:is(.choice-cell:has(>.multi-option.is-good),.choice-cell:has(>.multi-option.is-right)){border-color:var(--good);background:var(--good-soft);box-shadow:0 3px 0 var(--good-line)}.choice-cell:has(>.multi-option.is-bad){border-color:var(--bad);background:var(--bad-soft);box-shadow:0 3px 0 var(--bad-line)}.choice-cell:has(>.multi-option:focus-visible){outline:2px solid var(--blue);outline-offset:2px}.choices.has-media .choice-cell>.multi-option:focus-visible{outline:0}.choices.has-media .choice-cell>.multi-option,.choices.has-media .choice-cell>.multi-option:hover:not(:disabled),.choices.has-media .choice-cell>.multi-option:active:not(:disabled){min-height:0;box-shadow:none;text-align:center;background:0 0;border:0;border-radius:14px;flex-direction:column;flex:1;justify-content:flex-end;align-items:center;gap:10px;padding:0 10px 12px;transform:none}.choices.has-media .choice-cell>.multi-option:disabled{opacity:1}.choices.has-media .choice-cell>.multi-option:disabled:not(.selected,.is-right,.is-good){opacity:.6}.choices.has-media .choice-cell:has(>.cell-play,>.cell-video-card)>.multi-option:is(*,:hover,:active){flex:none}.choices.has-media .multi-option>.cell-chip{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:8px}.choices.has-media .multi-option>b{order:1}.choices.has-media .multi-option>.right-tag{z-index:1;background:var(--good);color:#fff;white-space:nowrap;border-radius:999px;margin:0;padding:1px 8px;position:absolute;bottom:-11px;left:50%;transform:translate(-50%)}.choices.has-media:has(.right-tag){padding-bottom:8px}.choices.has-media .cell-thumb{aspect-ratio:4/3;object-fit:contain;width:100%;height:auto;max-height:180px}.choice-cell>.cell-video-card{flex:none;width:auto;margin:auto 10px;padding-bottom:0}.choices.has-media .choice-cell>.cell-video-card+.multi-option{padding-top:10px}.choices.has-media .choice-cell>.cell-play{border:2px solid var(--blue-line);background:var(--card);width:64px;height:64px;min-height:0;box-shadow:none;border-radius:50%;margin:auto;padding:0;display:grid}.choices.has-media .choice-cell>.cell-play svg{width:26px;height:26px}.choices.has-media .choice-cell>.cell-play.is-on{border-color:var(--blue);background:var(--blue)}.choice-stem{gap:6px;display:grid}.choice-stem-caption{margin:0 0 6px;font-weight:600}.choice-review{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px;margin:0 0 12px;padding:0;list-style:none;display:grid}.choice-review li{border:2px solid var(--line-2);background:var(--card);border-radius:14px;flex-flow:column;align-items:stretch;gap:6px;padding:10px;display:flex}.choice-review li>.cell-view{flex:none;min-width:0}.choice-review li.is-good{border-color:var(--good);background:var(--good-soft)}.choice-review li.is-bad{border-color:var(--bad);background:var(--bad-soft)}.choice-review li.is-missed{border-style:dashed;border-color:var(--good)}.choice-review-tag{overflow-wrap:anywhere;color:var(--muted);font-size:.8rem;font-weight:700}@media (max-width:520px){.choices.has-media,.choice-review{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:359px){.choices.has-media,.choice-review{grid-template-columns:1fr}}.multi-help{color:var(--muted);margin:0 0 8px;font-size:.78rem;font-weight:600}.multi-option b.box{border:2px solid var(--muted);background:var(--card);border-radius:8px}.choices button.multi-option.selected b.box{border-color:#0000}.choices.single button.multi-option b.box{border-radius:50%}.gap-answer{background:var(--soft);border-radius:16px;margin:0;padding:16px 18px;font-size:1.2rem;font-weight:600;line-height:2.4}.gap-input{border:0;border-bottom:3px solid var(--blue);background:var(--card);min-width:6ch;max-width:100%;color:var(--blue-dark);text-align:center;border-radius:10px 10px 4px 4px;margin:0 4px;padding:4px 10px;font-weight:700;line-height:1.5;display:inline-block}.gap-input:focus{background:var(--blue-soft)}.gap-input.is-good{border-color:var(--good);background:var(--good-soft);color:var(--good-dark)}.gap-input.is-bad{border-color:var(--bad);background:var(--bad-soft);color:var(--bad-dark)}.gap-blank{border-bottom:3px solid var(--blue);background:var(--blue-soft);min-width:44px;height:28px;color:var(--blue);vertical-align:middle;border-radius:8px;place-items:center;margin:0 4px;padding:0 8px;font-size:.78rem;font-weight:800;display:inline-grid}.gap-choose{gap:12px;display:grid}.gap-bank{justify-content:center;padding:0}.gap-choose .gap-answer{white-space:pre-wrap}.gap-slot{border:2px dashed var(--line-2);background:var(--card);min-width:88px;min-height:40px;font:inherit;color:var(--ink);vertical-align:middle;cursor:pointer;border-radius:12px;justify-content:center;align-items:center;margin:0 4px;padding:2px 12px;font-weight:700;transition:border-color .15s,background .15s;display:inline-flex}.gap-slot.filled{border-style:solid;border-color:var(--blue-line);background:var(--blue-soft);color:var(--blue-dark,var(--blue))}.gap-slot.ready:not(.filled),.gap-slot.over{border-color:var(--blue);background:var(--soft)}.gap-slot:disabled,span.gap-slot{cursor:default}.gap-choose.is-good .gap-slot.filled{border-color:var(--good-line);background:var(--good-soft);color:var(--good-dark)}.gap-choose.is-bad .gap-slot.filled{border-color:var(--bad-line);background:var(--card);color:var(--bad-dark)}.gap-answer:has(.gap-input){white-space:pre-wrap}.gap-review{font-size:1.05rem;line-height:2.2}.gap-got{border-radius:10px;align-items:baseline;gap:6px;margin:0 3px;padding:1px 10px;font-weight:700;display:inline-flex}.gap-got.is-good{background:var(--good-soft);color:var(--good-dark)}.gap-got.is-bad{background:var(--card);border:1.5px solid var(--bad-line);color:var(--bad-dark);text-decoration:line-through;text-decoration-thickness:1px}.gap-got small{background:var(--good-soft);color:var(--good-dark);border-radius:6px;padding:0 6px;font-size:.82rem;text-decoration:none;display:inline-block}@media (max-width:680px){.gap-input{min-height:40px;font-size:1rem}}.gap-input.is-frozen{opacity:1;border-bottom:1px solid var(--muted);background:var(--soft);color:var(--muted)}.gap-slot.is-frozen{opacity:1;border:1px solid var(--muted);background:var(--soft);color:var(--muted)}.gap-unit{white-space:nowrap;align-items:center;gap:3px;display:inline-flex}.gap-unit>.frozen-lock{flex:none}.written-answer{gap:6px;display:grid}.written-answer small{justify-self:end}.answer{font-size:1rem}.answer.is-good{border-color:var(--good);background:var(--soft)}.answer.is-bad{border-color:var(--bad);background:var(--soft)}.essay-text{white-space:pre-wrap;color:var(--ink);margin:0 0 10px;font-size:1.02rem;line-height:1.8}.essay-text.selectable{border:1.5px dashed var(--blue-line);background:var(--card);cursor:text;border-radius:14px;padding:12px 14px}.rubric-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.rubric-row>span{color:var(--ink-2);font-size:.9rem;font-weight:700}.rubric-scale{gap:4px;display:inline-flex}.rubric-scale button{border:1.5px solid var(--line-2);background:var(--card);width:36px;height:36px;color:var(--muted);border-radius:10px;font-weight:800}.rubric-scale button.is-on{border-color:var(--blue);background:var(--blue);color:#fff}.rubric-view{flex-wrap:wrap;gap:8px;display:flex}.rubric-view span{background:var(--blue-soft);border-radius:12px;gap:2px;padding:8px 12px;display:grid}.rubric-view small{color:var(--muted);font-size:.76rem;font-weight:700}.rubric-view b{font-family:var(--font-display);font-size:1.1rem}.rubric-view b i{color:var(--muted);font-size:.8rem;font-style:normal}.voice-answer{border:2px dashed var(--line-2);background:var(--soft);border-radius:18px;gap:16px;padding:20px;display:grid}.voice-answer.is-good{border:2px solid var(--good-line);background:var(--good-soft)}.voice-answer.is-bad{border:2px solid var(--bad-line);background:var(--bad-soft)}.voice-answer audio{width:100%;margin:0}.voice-empty,.voice-live{background:var(--card);min-height:84px;color:var(--muted);text-align:center;border-radius:14px;justify-content:center;align-items:center;gap:12px;padding:12px;font-weight:600;display:flex}.voice-empty svg{width:22px;height:22px;color:var(--blue)}.mic-pulse{background:var(--danger);color:#fff;border-radius:50%;place-items:center;width:46px;height:46px;animation:1.2s ease-in-out infinite mic;display:grid}.mic-pulse svg{width:22px;height:22px}@keyframes mic{50%{box-shadow:0 0 0 10px #d3344722}}.voice-actions{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}@media (max-width:680px){.voice-empty{text-align:left;justify-content:flex-start}.voice-empty svg{flex:none}}.words{gap:14px;display:grid}.word-line{border:2px solid var(--blue-line);background:var(--blue-soft);border-radius:16px;flex-wrap:wrap;align-items:center;gap:8px;min-height:64px;padding:10px;display:flex}.word-line.is-empty{border-style:dashed;border-color:var(--line-2);background:var(--soft);color:var(--faint);justify-content:center;font-weight:600}.word-line.is-good{border-color:var(--good);background:var(--good-soft)}.word-line.is-bad{border-color:var(--bad);background:var(--bad-soft)}.words button{overflow-wrap:anywhere;border:2px solid var(--line-2);background:var(--card);max-width:100%;min-height:44px;box-shadow:0 3px 0 var(--line-2);border-radius:13px;padding:8px 14px;font-size:1rem;font-weight:700;transition:transform 80ms}.words button:active:not(:disabled){box-shadow:0 1px 0 var(--line-2);transform:translateY(2px)}.word-line button{border-color:var(--blue-line);box-shadow:0 3px 0 var(--blue-line)}.words button:disabled{cursor:default}.student .words button:disabled:not(.used){opacity:.6;box-shadow:none}.word-line .word-chip{overflow-wrap:anywhere;border:2px solid var(--blue-line);background:var(--card);border-radius:13px;align-items:center;max-width:100%;min-height:44px;padding:8px 14px;font-size:1rem;font-weight:700;display:inline-flex}.student .word-line .word-chip{opacity:.6}.word-line,.words .word-bank{width:100%}.words .word-bank{justify-content:flex-start}.word-line button:disabled{cursor:default}.order-list .order-num{min-width:1.6em;color:var(--muted);flex:none;padding-top:20px;font-weight:800}.order-list .quiz-body{min-width:0}.order-list .quiz-q{grid-template-columns:auto minmax(0,1fr);align-items:start}.words .word-bank button,.words .word-line button{min-width:40px}.matching,.match-questions{gap:14px;display:grid}.match-rows{gap:10px;margin:0;padding:0;list-style:none;display:grid}.match-row{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);align-items:center;gap:12px;padding:8px 8px 8px 16px;display:grid}.match-target{align-items:center;gap:6px;min-width:0;display:flex}.match-target .drop-zone{flex:1;min-width:0}.drop-zone{border:2px dashed var(--line-2);background:var(--card);min-height:52px;color:var(--ink);border-radius:14px;place-items:center;padding:8px 12px;font-size:1rem;font-weight:700;transition:border-color .15s,background .15s;display:grid}.drop-zone .drop-hint{color:var(--faint);font-size:.86rem;font-weight:600}.drop-zone.filled{border-style:solid;border-color:var(--blue-line);background:var(--blue-soft);color:var(--blue-dark)}.drop-zone.over,.drop-zone.ready:not(.filled){border-color:var(--blue);background:var(--soft)}.drop-zone:disabled{cursor:default}.matching.is-good .match-row{background:var(--good-soft)}.matching.is-good .drop-zone.filled{border-color:var(--good);background:var(--card);color:var(--good-dark)}.matching.is-bad .match-row{background:var(--bad-soft)}.matching.is-bad .drop-zone.filled{border-color:var(--bad);background:var(--card);color:var(--bad-dark)}.bank-item{align-items:center;gap:4px;display:inline-flex}.matching .bank-item>button:first-child{max-width:100%}.matching .bank-item>button.picked{border-width:2px;border-color:var(--blue)}.matching .match-left .cell-media:not(audio,video){aspect-ratio:auto;object-fit:contain;height:auto;max-height:320px}.match-row .cell-media:not(audio,video){background:0 0;border-radius:0}.matching .cell-thumb{object-fit:contain;width:150px;height:112px}.drop-zone .cell-thumb{width:120px;height:90px}.student .exercise .match-review-row{grid-template-columns:minmax(0,1fr) minmax(130px,220px)}.match-review{gap:8px;margin:0 0 10px;padding:0;list-style:none;display:grid}.match-review-row{border:2px solid var(--line);border-radius:14px;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);align-items:center;gap:12px;padding:8px 12px;display:grid}.match-review-row.is-good{border-color:var(--good-line);background:var(--good-soft)}.match-review-row.is-bad{border-color:var(--bad-line);background:var(--bad-soft)}.match-review-row.is-skip{border-color:var(--line);background:var(--soft);color:var(--muted)}.match-review-got{gap:6px;display:grid}.match-review-right{color:var(--good-dark);flex-wrap:wrap;align-items:center;gap:6px;font-size:.8rem;font-weight:700;display:flex}@media (max-width:680px){.match-row,.match-review-row,.student .exercise .match-review-row{grid-template-columns:1fr;gap:6px;padding:10px}.drop-zone{min-height:44px;font-size:.9rem}.matching .match-bank{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;margin:0;padding:8px 0;display:grid}.matching .match-bank>.bank-item{min-width:0}.matching .match-bank>.bank-item:not(.bank-video)>button:first-child{flex:1;justify-content:center;align-self:stretch;min-width:0;padding-inline:6px}.matching .match-bank .cell-chip{max-width:100%}.cell-thumb{width:72px;height:54px}.matching .cell-thumb{width:120px;height:90px}}.bank-item.bank-video,.drop-zone.slot-video{border:2px solid var(--line-2);background:var(--card);border-radius:14px;width:min(240px,100%);min-height:0;padding:0;display:block;position:relative;overflow:hidden}.matching .match-bank .bank-item:is(.bank-video,:has(.cell-thumb)){width:min(240px,100%)}.matching .match-bank :is(.bank-video:not(.used),.bank-item>button:has(.cell-thumb)){padding:6px}.matching .match-bank :is(button,.cell-chip):has(.cell-thumb){width:100%}.matching .match-bank :is(.cell-thumb,.match-video .cell-media){aspect-ratio:4/3;border-radius:9px;width:100%;height:auto;max-height:160px}@media (max-width:680px){.matching .match-bank .bank-item:is(.bank-video,:has(.cell-thumb)){grid-column:1/-1;width:100%}.matching .match-bank :is(.cell-thumb,.match-video .cell-media){max-height:220px}}.match-target .drop-zone.slot-video{border-style:solid;flex:0 240px}.drop-zone.slot-video.over{border-color:var(--blue)}.bank-item.bank-video{cursor:grab}.bank-item.bank-video.picked{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-soft)}.match-video .cell-media{border-radius:0;width:100%;max-width:none;display:block}.match-right .match-video .cell-media{border-radius:10px;width:min(240px,100%)}.bank-pick,.slot-clear{border:2px solid var(--line-2);background:var(--card);border-radius:50%;place-items:center;width:36px;height:36px;padding:0;display:grid;position:absolute;top:6px}@supports (color:color-mix(in lab, red, red)){.bank-pick,.slot-clear{background:color-mix(in srgb, var(--card) 85%, transparent)}}.bank-pick,.slot-clear{color:var(--blue)}.bank-pick{cursor:grab;left:6px}.slot-clear{right:6px}.slot-clear:hover{border-color:var(--bad-line);color:var(--bad)}.bank-video.picked .bank-pick{border-color:var(--blue);background:var(--blue);color:#fff}.bank-item.bank-video.used{height:44px;color:var(--muted);cursor:default;place-items:center;font-size:.85rem;display:grid}@media (max-width:680px){.bank-pick,.slot-clear{width:40px;height:40px}.match-target .drop-zone.slot-video{margin-inline:auto}}:is(.bank-item:has(.cell-video-card),.match-target:has(.cell-video-card)){flex-wrap:wrap}.match-row>.item-check{grid-column:1/-1;margin-top:0}.group-sort{gap:14px;display:grid}.sort-bank{min-height:52px}.sort-groups{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;display:grid}.sort-group{border:2px dashed var(--line-2);background:var(--card);cursor:default;border-radius:16px;align-content:start;gap:10px;min-height:120px;padding:12px;transition:border-color .15s,background .15s;display:grid}.sort-group.ready{cursor:pointer;border-color:var(--blue-line);background:var(--soft)}.sort-group.over{border-color:var(--blue);background:var(--blue-soft)}.sort-group>b{font-size:.95rem}.sort-place{justify-self:start}.sort-place[aria-disabled=true]:not(:focus-visible){display:none}.sort-items{flex-wrap:wrap;align-items:flex-start;gap:6px;display:flex}.sort-bank{justify-content:flex-start}.sort-bank:has(>.sort-done){min-height:0;padding-top:0}.sort-bank .sort-item:has(.cell-play){border:2px solid var(--line-2);background:var(--card);border-radius:13px;align-items:center;min-height:50px;padding-right:6px}.group-sort .sort-bank .sort-item:has(.cell-play)>button:first-child{box-shadow:none;background:0 0;border:0}.sort-item{align-items:center;gap:6px;max-width:100%;display:inline-flex}.sort-items .sort-item{border:1.5px solid var(--blue-line);background:var(--blue-soft);border-radius:10px;padding:4px 6px 4px 4px;font-size:.92rem;font-weight:700}.sort-items .sort-item>:is(button,.sort-chip){font:inherit;color:inherit;text-align:left;background:0 0;border:0;padding:2px 6px}.sort-item .cell-thumb{object-fit:contain;width:96px;height:72px}.sort-bank .sort-item .cell-thumb{width:140px;height:105px}.sort-item:has(.cell-video-card){flex-wrap:wrap}.sort-item .cell-video-card{flex-basis:200px;width:min(200px,100%)}.sort-item-play{display:inline-flex}.sort-items .sort-hint{color:var(--muted);background:0 0;border:0;padding:6px 0;font-size:.82rem;font-weight:600}.group-sort.is-good .sort-group{border-color:var(--good-line)}.group-sort.is-bad .sort-group{border-color:var(--bad-line)}.sort-groups.review .sort-group{border-style:solid;min-height:0}.sort-items .sort-item.is-good{border-color:var(--good-line);background:var(--good-soft);color:var(--good-dark)}.sort-items .sort-item.is-bad{border-color:var(--bad-line);background:var(--bad-soft);color:var(--bad-dark);text-decoration:line-through}.sort-items .sort-item.is-missing{border-style:dashed;border-color:var(--good-line);background:var(--card);color:var(--good-dark)}@media (max-width:680px){.sort-group{min-height:84px}}.quiz{gap:14px;margin:0;padding:0;list-style:none;display:grid}.quiz-q{gap:10px;padding:14px;display:grid}.quiz-body{gap:10px;min-width:0;display:grid}.quiz-body .choice-stem{margin:0}.quiz-body .choice-stem-caption{margin:0;font-size:1.08rem;font-weight:700}.quiz-review li>span{align-items:flex-start}.quiz-review li>.choice-stem,.quiz-review li>.attachments,.quiz-review li>.choice-review{flex:1 0 100%;margin:0}@media (max-width:680px){.quiz-q{padding:10px 8px}}.quiz-editor{gap:16px;display:grid}.quiz-editor-q,.order-editor-s{margin:0}.quiz-editor-q{border:1.5px solid var(--line-2);background:var(--bg,var(--soft));border-radius:18px;min-width:0;padding:12px}.quiz-editor-head{align-items:center;gap:4px;margin-bottom:10px;display:flex}.quiz-editor-head h3{color:var(--muted);flex:1;margin:0;font-size:.95rem}.quiz-editor-q .choice-stem-field{margin-bottom:10px}.quiz-editor-q .media-slot-pick.is-big{flex-direction:row;min-height:0;margin:8px 0 10px;padding:10px 14px}.quiz-editor-q .media-slot-pick.is-big svg{width:20px;height:20px}.quiz-editor-q .media-slot-pick .slot-text>:not(b){display:none}.item-card.is-good .choices button:disabled:not(.selected,.is-good,.is-right){opacity:1;background:var(--card)}.tf-toggle{background:var(--soft);border-radius:12px;flex:none;gap:4px;padding:3px;display:inline-flex}.tf-toggle button{min-width:64px;min-height:38px;color:var(--muted);background:0 0;border:0;border-radius:9px;padding:6px 12px;font-weight:800}.tf-toggle button.is-on,.tf-toggle button[aria-pressed=true]{background:var(--card);color:var(--blue);box-shadow:0 2px 6px #1b2d5814}.tf-toggle button.is-good[aria-pressed=true]{color:var(--good-dark)}.tf-toggle button.is-bad[aria-pressed=true]{color:var(--bad-dark)}.tf{gap:10px;display:grid}.tf-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 14px;padding:12px 14px;display:grid}.tf-row p{overflow-wrap:anywhere;min-width:0;margin:0;font-weight:600}.tf.is-good .tf-row{border-color:var(--good-line);background:var(--good-soft)}.tf.is-bad .tf-row{border-color:var(--bad-line)}.tf-row.has-media{grid-template-columns:minmax(0,1fr);align-items:stretch}.tf-row .cell-view .cell-media:not(audio,video){aspect-ratio:auto;object-fit:contain;height:auto;max-height:200px}.tf-row.has-media .tf-toggle{justify-self:start}@media (max-width:680px){.tf-row{grid-template-columns:minmax(0,1fr);align-items:stretch}.tf-toggle{justify-self:start}}.check-list li>.cell-view{align-items:flex-start}.tf-row .tf-toggle button{border:1.5px solid var(--line-2);min-height:40px}.tf-row .tf-toggle button.is-on,.tf-row .tf-toggle button[aria-pressed=true]{border-color:var(--blue)}.tf-row .tf-toggle button.is-good[aria-pressed=true]{border-color:var(--good)}.tf-row .tf-toggle button.is-bad[aria-pressed=true]{border-color:var(--bad)}.spell{gap:10px;display:grid}.spell-row{border:1.5px solid var(--line-2);background:var(--card);border-radius:14px;grid-template-columns:minmax(140px,30%) minmax(0,1fr);align-items:center;gap:12px;padding:10px 12px;display:grid}.spell-row>.hint{grid-column:1/-1}.spell-row>:is(.spell-image,.spell-image-play){grid-column:1/-1;justify-self:start}.spell-row .write-answer-field,.spell-row .write-answer-text{min-width:12ch}.spell-image{object-fit:contain;background:var(--soft);border-radius:12px;width:min(100%,320px);height:auto;max-height:200px;display:block}video.spell-image{background:#0f1733}.spell-hint{color:var(--ink-2);font-weight:700}.spell.is-good .spell-row{border-color:var(--good-line);background:var(--good-soft)}.spell-row>.item-check{grid-column:1/-1;margin-top:0}.spell .spell-row.is-good .write-answer-field .rich-editor,.spell .spell-row.is-good .write-answer-text{border-color:var(--good)}.spell .spell-row.is-bad .write-answer-field .rich-editor,.spell .spell-row.is-bad .write-answer-text{border-color:var(--bad)}.spell.is-bad .spell-row{border-color:var(--bad-line)}.spell .spell-row.is-teacher{border-color:var(--blue-line);background:var(--blue-soft)}.spell .spell-row.is-good{border-color:var(--good-line);background:var(--good-soft)}.spell .spell-row.is-bad{border-color:var(--bad-line);background:var(--bad-soft)}@media (max-width:680px){:is(.spell-row,.spell-row:not(:has(.spell-image,.spell-image-play))){grid-template-columns:1fr}.spell-image{width:100%;max-height:220px}}.write-answer-field.is-compact .rich-editor{border-radius:var(--radius);font-size:1.02rem}.write-answer-field,.write-answer-rich{position:relative}:is(.write-answer-field,.write-answer-rich) .rich-toolbar{z-index:5;margin:0;position:absolute;bottom:calc(100% + 4px);left:0;box-shadow:0 6px 18px #141e3c24}:is(.write-answer-field,.write-answer-rich):not(:focus-within) .rich-toolbar{display:none}.write-answer-text{border:1.5px solid var(--line-2);background:var(--card);overflow-wrap:anywhere;border-radius:12px;min-height:46px;padding:10px 12px;font-size:1.02rem}.pa-thumb-small{object-fit:contain;background:var(--soft);border-radius:8px;flex:none;width:120px;height:auto;max-height:120px}@media (max-width:680px){.spell-row .write-answer-field,.spell-row .write-answer-text{grid-column:1/-1}}.flash{justify-items:center;gap:14px;display:grid}.flash-progress{color:var(--muted);margin:0;font-size:.9rem;font-weight:700}.flash-card{border:2px solid var(--blue-line);background:linear-gradient(160deg, var(--card), var(--soft));width:min(100%,420px);min-height:200px;box-shadow:0 6px 0 var(--blue-line);text-align:center;border-radius:24px;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:28px 22px;transition:transform .12s;display:flex}.flash-card:not(:disabled):hover{transform:translateY(-2px)}.flash-card:disabled{cursor:default;opacity:1}.flash-front{font-family:var(--font-display);overflow-wrap:anywhere;font-size:clamp(1.5rem,1.2rem + 1.4vw,2rem);font-weight:600}.flash-back{color:var(--good-dark);font-size:1.25rem;font-weight:700}.flash-card small{color:var(--muted);font-weight:600}.flash-card.is-flipped{border-color:var(--good-line);box-shadow:0 6px 0 var(--good-line)}.flash-done{background:var(--good-soft);color:var(--good-dark);border-radius:16px;flex-wrap:wrap;align-items:center;gap:12px;padding:16px 18px;display:flex}.flash-done>svg{width:26px;height:26px}.flash-done p{min-width:200px;color:var(--ink-2);flex:1;margin:0}.flash-done.big{text-align:center;flex-direction:column;padding:36px 22px}.flash-done.big>svg{width:40px;height:40px}.card-list{gap:6px;margin:0;padding:0;list-style:none;display:grid}.card-list li{border:1px solid var(--line);background:var(--card);border-radius:12px;flex-wrap:wrap;align-items:baseline;gap:6px 14px;padding:10px 14px;display:flex}.card-list li b{min-width:120px}.card-list li span{color:var(--ink-2)}.card-list li em{color:var(--warn);margin-left:auto;font-size:.78rem;font-style:normal;font-weight:800}.card-list li.is-hard{border-color:var(--warn-line)}.trainer{gap:14px;display:grid}.trainer-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.trainer-mode{background:var(--soft);color:var(--bad);border-radius:999px;align-items:center;gap:6px;padding:4px 12px;font-size:.8rem;font-weight:800;display:inline-flex}.trainer-mode svg{width:15px;height:15px}.trainer-bar{background:var(--soft);border-radius:999px;height:6px;overflow:hidden}.trainer-bar span{border-radius:inherit;background:var(--good);height:100%;transition:width .3s;display:block}.flash-card.intro{cursor:default;gap:12px}.flash-card.intro .button{margin-top:6px}.trainer-q{justify-items:stretch;gap:14px;display:grid}.trainer-prompt{background:linear-gradient(160deg, var(--card), var(--soft));border:2px solid var(--blue-line);text-align:center;border-radius:20px;margin:0;padding:22px 18px;font-size:1.35rem;font-weight:700}.trainer-options{grid-template-columns:1fr 1fr;gap:10px;display:grid}.trainer-options button{border:2px solid var(--line-2);background:var(--card);min-height:56px;box-shadow:0 3px 0 var(--line-2);border-radius:14px;padding:10px 14px;font-size:1.05rem;font-weight:700}.trainer-options button:hover:not(:disabled){border-color:var(--blue-line);background:var(--soft)}.trainer-options button:disabled{cursor:default}.trainer-options button.is-good{border-color:var(--good);background:var(--good-soft);color:var(--good-dark)}.trainer-options button.is-bad{border-color:var(--bad);background:var(--bad-soft);color:var(--bad-dark)}.trainer-type{gap:10px;display:flex}.trainer-type input{border:2px solid var(--line-2);border-radius:14px;flex:1;min-width:0;min-height:52px;padding:10px 14px;font-size:1.1rem}.trainer-type input:focus{border-color:var(--blue)}.trainer-type input.is-good{border-color:var(--good);background:var(--good-soft)}.trainer-type input.is-bad{border-color:var(--bad);background:var(--bad-soft)}.trainer-result{border-radius:14px;flex-wrap:wrap;align-items:center;gap:10px;padding:12px 14px;font-weight:700;display:flex}.trainer-result>svg{width:20px;height:20px}.trainer-result>span{flex:1}.trainer-result.is-good{background:var(--good-soft);color:var(--good-dark)}.trainer-result.is-bad{background:var(--bad-soft);color:var(--bad-dark)}.trainer-result.is-bad b{color:var(--ink)}.flash-done-actions{flex-wrap:wrap;gap:8px;display:flex}@media (max-width:680px){.trainer-options{grid-template-columns:1fr}.trainer-type{flex-direction:column}}.trainer-finish{justify-self:center;min-height:40px;margin:12px auto 0}.match-game{gap:14px;display:grid}.match-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.match-grid button{border:2px solid var(--line-2);background:var(--card);overflow-wrap:anywhere;min-height:64px;box-shadow:0 3px 0 var(--line-2);border-radius:14px;padding:10px;font-weight:700;transition:background .15s,border-color .15s,opacity .3s}.match-grid button[lang=en]{border-color:var(--blue-line);box-shadow:0 3px 0 var(--blue-line)}.match-hint{color:var(--ink-2);font-size:.9rem;font-weight:600}.match-game.is-finished .match-grid{opacity:.5}.match-grid button.is-open{border-color:var(--blue);background:var(--blue-soft)}.match-grid button.is-good{border-color:var(--good-line);background:var(--good-soft);opacity:.45;box-shadow:none}.match-grid button.is-bad{border-color:var(--bad);background:var(--bad-soft);animation:.3s shake}@keyframes shake{25%{transform:translate(-4px)}75%{transform:translate(4px)}}.match-game>.link-button{justify-self:center}@media (max-width:680px){.match-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.video-question{background:var(--blue-soft);border-left:4px solid var(--blue);color:var(--ink);border-radius:14px;margin:0 0 20px;padding:14px 16px;font-size:1.08rem;font-weight:700}.video-stop{gap:8px;margin-bottom:10px;display:grid}.video-q-head{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.video-q-head .icon-button{margin-left:auto}.video-q-time{color:var(--ink-2);align-items:center;gap:8px;font-size:.88rem;font-weight:700;display:inline-flex}.video-q-edit.is-late{border-color:var(--bad)}.video-q-late{color:var(--bad);font-weight:700}.video-q-time svg{width:16px;height:16px;color:var(--blue)}.video-quiz{gap:14px;display:grid}.video-stops{background:var(--blue-soft);color:var(--ink-2);border-radius:12px;align-items:flex-start;gap:8px;margin:0;padding:10px 12px;font-size:.9rem;display:flex}.video-stops svg{width:18px;height:18px;color:var(--blue);flex:none;margin-top:1px}.video-qs{gap:10px;margin:0;padding:0;list-style:none;display:grid}.video-q{gap:10px;padding:14px;scroll-margin:120px;display:grid}.video-q.is-current{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-soft)}.video-q.is-locked{color:var(--muted);background:var(--soft);border-style:dashed;align-items:center;font-size:.92rem}.video-q .video-question{align-items:flex-start;gap:10px;margin:0 0 8px;display:flex}.video-q .video-question>span{flex:1;min-width:0}.video-q .video-question small{color:var(--blue);flex:none;margin-left:auto;padding-top:3px;font-size:.8rem;font-weight:700}.video-q.is-current :is([role=radio],input){scroll-margin-bottom:20px}.video-q-body{flex:1;min-width:0}.video-q-body>.choices{width:100%;max-width:none;margin-inline:0}.video-q-body>.button{justify-self:start}.choices.compact button{min-height:48px;padding:8px 12px}.video-q-answer{margin:0;font-weight:600}.video-q-answer span{color:var(--muted);font-weight:700}.video-q-answer em{color:var(--good-dark);font-style:normal}.right-chip{border:1.5px solid var(--good-line);background:var(--good-soft);max-width:100%;color:var(--good-dark);vertical-align:middle;overflow-wrap:anywhere;border-radius:999px;align-items:center;gap:5px;margin:0 4px;padding:2px 10px 2px 7px;font-size:.92rem;font-weight:700;line-height:1.5;display:inline-flex}.right-chip svg{stroke-width:3px;flex:none;width:15px;height:15px}.right-tag{background:var(--good);color:#fff;white-space:nowrap;border-radius:999px;margin-left:auto;padding:1px 8px;font-size:.72rem;font-weight:800}.choices button.is-right{border-color:var(--good);background:var(--good-soft);box-shadow:0 3px 0 var(--good-line)}.choices button.is-right b{background:var(--good);color:#fff}.choices button.is-right:disabled,.choices button.is-good:disabled{opacity:1}.choices.has-media button .right-tag{align-self:flex-start;margin-left:0}.choices button.multi-option.is-right b.box{border-color:var(--good);background:var(--good);color:#fff}.choices .compact button.is-right{flex-wrap:wrap}.tf-row .tf-toggle button.is-right{background:var(--card);color:var(--good-dark);box-shadow:0 0 0 2px var(--good);justify-content:center;align-items:center;gap:4px;display:inline-flex}.tf-row .tf-toggle button.is-right svg{stroke-width:3px;width:16px;height:16px}.tf-row .tf-toggle button.is-on.is-good{border-color:var(--good);color:var(--good-dark)}.tf-row .tf-toggle button.is-on.is-bad{border-color:var(--bad);color:var(--bad-dark);text-decoration:line-through;text-decoration-thickness:2px}.gap-choose.has-solution .gap-slot.is-good{border-color:var(--good-line);background:var(--good-soft);color:var(--good-dark)}.gap-choose.has-solution .gap-slot.is-bad{border-color:var(--bad-line);background:var(--card);color:var(--bad-dark)}.gap-answer .right-chip{font-size:1rem}.spell-row .right-chip{grid-column:1/-1;justify-self:start;margin:0}.matching.has-solution .match-row.is-good .drop-zone.filled{border-color:var(--good);background:var(--card);color:var(--good-dark)}.matching.has-solution .match-row.is-bad .drop-zone.filled{border-color:var(--bad);background:var(--card);color:var(--bad-dark)}.match-target{flex-wrap:wrap}.match-target .match-right{flex:100%;justify-content:flex-start;margin:2px 0 0}.matching.has-solution .match-target .drop-zone{min-width:8rem}.match-target .match-right .cell-chip,.match-target .match-right .cell-view{font-weight:700}.words .order-right{border-radius:14px;justify-self:start;margin:0;padding:6px 14px 6px 10px;font-size:1rem}.group-sort.has-solution .sort-item{flex-wrap:wrap}.group-sort.has-solution .sort-items .sort-item.is-bad{text-decoration:none}.group-sort.has-solution .sort-item .right-chip{margin:0;font-size:.8rem}.right-chip.is-bare{border-color:var(--line-2);background:var(--soft);color:var(--ink-2);padding-left:10px}.right-chip.is-teacher{border-color:var(--blue-line);background:var(--blue-soft);color:var(--blue-dark);flex-wrap:wrap}.right-chip.is-teacher>span:first-of-type{white-space:nowrap}@media (max-width:680px){.right-chip.is-teacher{border-radius:12px;align-items:flex-start;padding:6px 10px}.right-chip.is-teacher>span[lang]{flex:1 0 100%}}.gap-slot.item-right,.sort-items .sort-item.item-right,.gap-input.item-right{border-color:var(--good-line);background:var(--good-soft);color:var(--good-dark)}.tf-row.item-right{color:var(--good-dark)}.matching .match-chain-row,.student .exercise .matching .match-chain-row,.match-chain-review-row,.student .exercise .match-chain-review-row{grid-template-columns:minmax(120px,1fr) minmax(0,4fr)}.match-chain-slots{flex-wrap:wrap;align-items:flex-start;gap:8px;min-width:0;display:flex}.match-chain-link{flex:130px;gap:4px;min-width:0;display:grid}.match-chain-link .match-right{justify-self:start}.match-chain-review-row .match-chain-link{border:2px solid var(--line);background:var(--card);border-radius:12px;padding:6px 8px}.match-chain-review-row .match-chain-link.is-good{border-color:var(--good-line)}.match-chain-review-row .match-chain-link.is-bad{border-color:var(--bad-line)}.match-chain-link.link-right .drop-zone.filled{border-color:var(--good-line);background:var(--good-soft);color:var(--good-dark)}.match-chain-link.link-right .drop-zone.filled:after{content:"";vertical-align:middle;background:currentColor;flex:none;width:14px;height:14px;margin-left:6px;display:inline-block;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") 50%/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") 50%/contain no-repeat}.matching.has-solution .match-chain-link.is-good .drop-zone.filled{border-color:var(--good);background:var(--card);color:var(--good-dark)}.matching.has-solution .match-chain-link.is-bad .drop-zone{border-color:var(--bad);background:var(--card);color:var(--bad-dark)}.match-chain-banks{gap:10px;display:grid}.match-chain-bank{background:var(--soft);border-radius:14px;gap:4px;padding:10px 12px;display:grid}.match-chain-bank .word-bank{justify-content:flex-start}.match-chain-row .match-left,.match-chain-review-row .match-left{text-align:left}.match-chain-bank-title{color:var(--faint);font-weight:700}@media (max-width:680px){.matching .match-chain-row,.student .exercise .matching .match-chain-row,.match-chain-review-row,.student .exercise .match-chain-review-row{grid-template-columns:1fr}.match-chain-slots{flex-direction:column;align-items:stretch}.match-chain-link{flex:none}}.match-pick{z-index:60;border:2px solid var(--line);background:var(--card);border-radius:14px;gap:6px;width:min(320px,100vw - 16px);padding:10px;display:grid;position:fixed;overflow-y:auto;box-shadow:0 12px 32px #1e285a2e}.match-pick-options{gap:6px;display:grid}.match-pick-option{border:2px solid var(--line);background:var(--card);text-align:left;border-radius:12px;justify-content:flex-start;align-items:center;min-height:44px;padding:6px 12px;font-weight:700;display:flex}.match-pick-option:hover:not(:disabled){border-color:var(--blue);background:var(--soft)}.match-pick-option:disabled{opacity:.4;cursor:default}.match-pick-backdrop{display:none}@media (max-width:680px){.match-pick-backdrop{z-index:59;background:#14193259;display:block;position:fixed;inset:0}.match-pick{width:auto;max-height:60vh;padding:14px 14px calc(14px + env(safe-area-inset-bottom));border-radius:18px 18px 0 0;inset:auto 0 0}}.wordwall{flex-direction:column;align-items:flex-start;gap:14px;display:flex}.wordwall-frame{aspect-ratio:4/3;border:1px solid var(--line);background:var(--soft);border-radius:16px;width:100%;max-height:70vh;overflow:hidden}.wordwall-frame iframe{border:0;width:100%;height:100%;display:block}.wordwall-proof ol{color:var(--ink-2);margin:0 0 12px;padding-left:22px;font-size:.92rem;line-height:1.6;list-style:decimal}.wordwall-proof ol li::marker{color:var(--blue);font-weight:800}.wordwall-fallback{color:var(--muted);flex-wrap:wrap;align-items:center;gap:8px 10px;margin:0;font-size:.86rem;display:flex}@media (max-width:680px){.wordwall .wordwall-open{justify-content:center;align-self:stretch;min-height:44px}}body:has(.wordwall-frame iframe) :is(.topbar,.task-strip){background:var(--card);-webkit-backdrop-filter:none;backdrop-filter:none}.wordwall-frame{isolation:isolate}.wordwall-fallback .button.small{min-height:32px;padding:5px 12px}@media (max-width:680px){.wordwall-fallback .button.small{min-height:44px}}.words-panel{border:1px solid var(--line);border-radius:var(--radius);background:var(--card);box-shadow:var(--shadow);align-items:center;gap:16px;margin:0 0 22px;padding:18px 20px;display:flex}.words-panel h2{margin-bottom:4px;font-size:1.08rem}.words-panel p{color:var(--ink-2);margin:0;font-size:.92rem}.words-panel>div{flex:1;min-width:0}.words-panel.is-due{border-color:var(--bad-line);background:linear-gradient(120deg, var(--card), var(--soft))}.words-icon{background:var(--soft);width:46px;height:46px;color:var(--bad);border-radius:16px;flex:none;place-items:center;display:grid}.words-icon svg{width:24px;height:24px}.words-review .flash{margin-top:10px}@media (max-width:680px){.words-panel{flex-wrap:wrap}.words-panel .button{justify-content:center;width:100%}}.works-counter{border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(120deg, var(--card), var(--soft));box-shadow:var(--shadow);align-items:center;gap:16px;margin:0 0 22px;padding:16px 20px;display:flex}.works-counter>div{flex:1;min-width:0}.works-counter h2{margin-bottom:2px;font-size:1.08rem}.works-counter p{color:var(--ink-2);margin:0 0 8px;font-size:.9rem}.counter-icon{background:var(--warn-soft);color:var(--warn)}.works-counter .trainer-bar span{background:#e3a008}.done-count{color:var(--warn);justify-content:center;align-items:center;gap:8px;margin:0 0 10px;font-weight:800;display:flex}.done-count svg{width:20px;height:20px}.words-buttons{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.my-words-count{color:var(--muted);margin:0 0 10px}.my-words{border:1px solid var(--line);border-radius:14px;max-height:min(60vh,520px);margin:10px 0 0;padding:0;list-style:none;display:grid;overflow:auto}.my-words li{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto auto;align-items:center;gap:8px;min-height:48px;padding:6px 8px 6px 14px;display:grid}.my-words li:last-child{border-bottom:0}.my-word{overflow-wrap:anywhere;font-weight:800}.my-word-back{color:var(--ink-2);overflow-wrap:anywhere}.my-words .icon-button{width:34px;height:34px}@media (max-width:680px){.my-words .icon-button{width:40px;height:40px}}.my-word-edit,.my-word-ask{flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:8px;display:flex}.my-word-edit input{border:1.5px solid var(--line-2);min-width:0;height:38px;font:inherit;border-radius:10px;flex:140px;padding:0 10px}.my-word-edit input:focus{border-color:var(--blue);outline:none}.my-word-ask span{flex:1;font-weight:700}@media (max-width:680px){.words-review .page-bar{flex-wrap:nowrap;gap:6px}.words-review .page-bar h1{white-space:nowrap;flex:1 1 0;order:0;font-size:1.1rem;display:block}.words-review .back{flex:none;justify-content:center;width:44px;height:44px;padding:0}.words-review .back-label,.words-review .btn-label{display:none}.words-review .page-actions{margin-left:0}.words-review .trainer-mode{flex:none}}.heading>.works-counter{flex:none;align-self:center;margin:0;padding:12px 16px}.heading>.works-counter p{margin:0}@media (max-width:680px){.heading>.works-counter{align-self:stretch}}.review-meta{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.review-summary{margin:0 0 16px}.review-meta .review-summary{display:contents}.result-tally{margin:0;font-size:.92rem}.result-tally small{font-size:inherit;font-weight:600}.done .done-tally{text-align:center}.review-task{overflow-wrap:anywhere;border-width:2px 2px 2px 6px;min-width:0}.review-task.is-good{border-color:var(--good-line);border-left-color:var(--good)}.review-task.is-bad{border-color:var(--bad-line);border-left-color:var(--bad)}.review-task.is-partial{border-color:var(--warn-line);border-left-color:#e7a93a}:root[data-theme=light] .review-task.is-partial{border-left-color:#b67c10}@media (prefers-color-scheme:light){:root:not([data-theme=dark]) .review-task.is-partial{border-left-color:#b67c10}}.verdict.small.is-partial{background:var(--warn-soft);color:var(--warn)}.review-task.is-unanswered{border-color:var(--line);border-left-color:var(--line-2)}.unanswered-note{background:var(--bg);color:var(--muted);border-radius:14px;margin:8px 0 0;padding:12px 14px;font-style:italic}.review-task.is-pending{border-color:var(--warn-line);border-left-color:#e7a93a}.review-task-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.review-task-head .eyebrow{margin:0}.answer-block{background:var(--soft);border-radius:14px;margin-bottom:10px;padding:12px 14px}.answer-block>span{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:4px;font-size:.72rem;font-weight:800;display:block}.answer-block p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-weight:600}.answer-block audio{width:100%}.answer-block:not(:has(audio,video,img,.essay-threads)){width:fit-content;min-width:min(100%,220px);max-width:100%}.is-good .answer-block:not(.correct){background:var(--good-soft)}.is-bad .answer-block:not(.correct){background:var(--bad-soft)}.answer-block.correct{background:var(--card);border:1.5px dashed var(--good-line)}.answer-block.correct>span{color:var(--good)}.review-task .field{margin:14px 0 0}.grade-toggle{gap:6px;display:flex}.grade-toggle button{border:2px solid var(--good);background:var(--card);min-height:38px;color:var(--good-dark);border-radius:11px;align-items:center;gap:6px;padding:6px 12px;font-size:.86rem;font-weight:700;transition:background .12s,color .12s;display:inline-flex}.grade-toggle button:last-child{border-color:var(--bad);color:var(--bad-dark)}.grade-toggle button svg{width:17px;height:17px}.grade-toggle button:first-child:hover{background:var(--good-soft)}.grade-toggle button:last-child:hover{background:var(--bad-soft)}.grade-toggle button.is-good,.grade-toggle button.is-good:hover{color:#fff;background:#3f7d12;border-color:#3f7d12}.grade-toggle button.is-bad,.grade-toggle button.is-bad:hover{color:#fff;background:#c92f66;border-color:#c92f66}.check-list.is-suggested .card-marks button.is-good{background:var(--good-soft);color:var(--good-dark);border-style:dashed}.check-list.is-suggested .card-marks button.is-bad{background:var(--bad-soft);color:var(--bad-dark);border-style:dashed}.finish-panel h2{margin-bottom:14px}.finish-panel>p{color:var(--muted)}.finish-panel .actions{justify-content:flex-end;padding-top:20px}.finish-panel .actions .button{flex:none}.review-task{scroll-margin-top:150px}.review-meta .due-pill{margin-left:2px}.review .is-bad .answer-block:not(.correct){background:var(--soft)}.review-section{margin:26px 0 10px;font-size:1.15rem}.frequent{flex-wrap:wrap;align-items:center;gap:6px;margin:6px 0 2px;display:flex;position:relative}.frequent-open,.frequent-save{border:1.5px solid var(--line-2);background:var(--card);min-height:38px;font:inherit;color:var(--ink-2);cursor:pointer;border-radius:11px;align-items:center;gap:5px;padding:7px 12px;font-size:.84rem;font-weight:700;display:inline-flex}.frequent-open svg,.frequent-save svg{color:#e0a100;width:14px;height:14px}.frequent-open[aria-expanded=true]{border-color:var(--blue);color:var(--blue)}.frequent-open .lib-count{background:var(--soft);min-width:18px;height:18px}.frequent-save{color:var(--blue);border-style:dashed}.frequent-save:disabled{color:var(--muted);cursor:default;border-style:solid}.frequent-panel{z-index:40;border:1px solid var(--line);background:var(--card);border-radius:14px;width:min(360px,100vw - 48px);max-height:320px;padding:6px;position:absolute;top:calc(100% + 6px);left:0;overflow:auto;box-shadow:0 18px 40px #0f173326}.frequent-panel ul{gap:2px;margin:0;padding:0;list-style:none;display:grid}.frequent-panel li{align-items:flex-start;gap:4px;display:flex}.frequent-item{min-width:0;font:inherit;text-align:left;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:9px;flex:1;padding:8px 10px;font-size:.88rem;line-height:1.35}.frequent-item:hover{background:var(--soft)}.frequent-panel li .icon-button{width:30px;height:30px;color:var(--muted);flex:none}.frequent-empty{color:var(--muted);margin:0;padding:10px;font-size:.84rem;line-height:1.45}.frequent-search{border:1px solid var(--line-2);border-radius:10px;align-items:center;gap:6px;height:36px;margin:0 0 6px;padding:0 10px;display:flex}.frequent-search svg{width:15px;height:15px;color:var(--muted)}.frequent-search input{min-width:0;font:inherit;box-shadow:none;background:0 0;border:0;outline:0;flex:1;font-size:.88rem}.review-head{margin-bottom:16px}.review-head .page-bar{margin-bottom:6px}.review-nav{gap:8px;margin-left:auto;display:flex}.review-nav:empty{display:none}.review-tools{flex:none;align-items:center;gap:8px;display:flex}.review-nav:empty+.review-tools{margin-left:auto}.review-tool.review-link{justify-content:center;width:44px;padding:0}.review .review-tool.danger{margin-left:8px}.review-meta{margin:0}.review-keys-wrap{display:inline-flex;position:relative}.review-keys{z-index:30;border:1px solid var(--line);background:var(--card);width:max-content;max-width:min(360px,100vw - 32px);color:var(--muted);border-radius:14px;margin-top:6px;padding:12px 14px;font-size:.82rem;font-weight:400;line-height:1.9;position:absolute;top:100%;right:0;box-shadow:0 12px 32px #141e3c29}.review-keys-row{color:var(--ink);align-items:center;gap:4px;display:flex}.review-keys .link-button{margin-top:4px}.review-keys kbd{border:1px solid var(--line-2);background:var(--card);min-width:20px;height:20px;font:inherit;color:var(--ink-2);border-bottom-width:2px;border-radius:6px;place-items:center;padding:0 5px;font-size:.75rem;font-weight:800;display:inline-grid}.review-keys kbd+kbd{margin-left:3px}@media (pointer:coarse){.review-keys-wrap{display:none}}.voice-note{align-items:center;gap:6px;margin:6px 0 2px;display:flex}.voice-note audio{flex:1;max-width:100%;height:36px}.voice-rec{border:1.5px solid var(--line-2);background:var(--card);min-height:38px;font:inherit;color:var(--ink-2);cursor:pointer;border-radius:11px;align-items:center;gap:6px;padding:7px 12px;font-size:.84rem;font-weight:700;display:inline-flex}.voice-rec svg{width:16px;height:16px;color:var(--blue)}.voice-rec.is-on{border-color:var(--danger-line);background:var(--danger-soft);color:var(--danger)}.voice-rec.is-on svg{color:var(--danger)}.thread-audio{width:100%;height:36px;margin:4px 0 2px;display:block}.attempt-text{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-weight:600;line-height:1.7}.attempt-text del{color:var(--bad-dark);background:var(--bad-soft);border-radius:4px;padding:0 2px;text-decoration-thickness:1.5px}.attempt-text ins{color:var(--good-dark);background:var(--good-soft);box-shadow:inset 0 -2px 0 var(--good-line);border-radius:4px;padding:0 2px;text-decoration:none}.attempt-note{color:var(--muted);margin:0;font-size:.86rem}.task-time{background:var(--bg);color:var(--muted);letter-spacing:0;text-transform:none;border-radius:999px;align-items:center;gap:4px;margin-left:6px;padding:1px 8px;font-size:.78rem;font-weight:700;display:inline-flex}.task-time svg{width:12px;height:12px}.add-word-spot{z-index:60;background:var(--ink);color:#fff;height:36px;font:inherit;cursor:pointer;border:0;border-radius:999px;align-items:center;gap:6px;padding:0 14px;font-size:.86rem;font-weight:700;display:inline-flex;position:fixed;transform:translate(-50%);box-shadow:0 8px 24px #0f173340}.add-word-spot svg{width:16px;height:16px}.add-word .quiet{margin:4px 0 0;font-size:.86rem}.overall-feedback{gap:10px;display:grid}.overall-feedback .field{margin-bottom:0}.feedback-extras{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.feedback-extras .voice-note{flex:0 auto;margin:0}.feedback-extras .voice-note:has(audio){flex:300px;max-width:420px}.circle-close{justify-self:start;font-size:.84rem}.overall-feedback .video-fields{margin-top:8px}.overall-sent p{margin:0 0 8px}.result-note{background:var(--card);border-radius:14px;gap:6px;margin-top:16px;padding:12px 14px;display:grid}@supports (color:color-mix(in lab, red, red)){.result-note{background:color-mix(in srgb, var(--card) 80%, transparent)}}.result-note{border:1px solid var(--line)}.result-note b{font-size:.86rem}.result-note p{margin:0}.add-word p.quiet{box-shadow:none;color:var(--muted);background:0 0;border:0;padding:0}.link-note{color:var(--muted);font-size:.84rem;font-weight:500}.link-note:before{content:"· "}.key-picks{grid-template-columns:1fr 1fr;gap:12px;margin:14px 0 10px;display:grid}.key-pick{border:1.5px solid var(--line);background:var(--soft);border-radius:14px;justify-items:start;gap:8px;padding:14px;display:grid}.key-tag{font-size:.9rem;font-weight:800}.key-tag.is-good{color:var(--good)}.key-tag.is-bad{color:var(--bad)}.key-cap{border:1.5px solid var(--line-2);background:var(--card);min-width:64px;height:48px;font:inherit;cursor:pointer;border-bottom-width:3px;border-radius:12px;place-items:center;padding:0 14px;font-weight:800;display:grid}.key-cap kbd{font:inherit;font-size:1.2rem}.key-cap.is-waiting{border-color:var(--blue);color:var(--blue);box-shadow:var(--focus);font-size:.86rem}.key-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.review-task.panel{flex-direction:column;gap:16px;display:flex}.review-task.panel>*{margin-top:0;margin-bottom:0}.review-task.panel>h3{line-height:1.4}.review .panel,.review .task-strip{margin-bottom:16px}.keys-intro{color:var(--muted);margin:0}@media (max-width:680px){.review-keys-wrap{display:none}}.frequent-search .search-clear{width:26px;height:26px}@media (max-width:680px){.review-head .page-bar{flex-wrap:wrap;gap:4px 6px}.review-head .page-bar h1{white-space:normal;flex:100%;order:4;display:block}.review-head .back{justify-content:center;width:44px;height:44px;padding:0}.review-head .back-label{display:none}.review-nav{flex:100%;order:5;margin-left:0}.review-nav>.button{white-space:nowrap;flex:1;justify-content:center;padding-inline:10px}.review .review-tool{justify-content:center;width:40px;height:40px;min-height:40px;padding:0}.review .review-tool>span{display:none}.review .review-tool.danger{margin-left:0}}@media (max-width:460px){.review-nav{flex-wrap:wrap}.review-nav>.button{white-space:normal;text-align:center;flex:140px;min-width:0}.finish-panel .actions{flex-wrap:wrap}}.tag-pick{flex-wrap:wrap;align-items:center;gap:4px 6px;font-size:.78rem;display:flex}.tag-pick>span{color:var(--muted);margin-right:2px;font-weight:700}.tag-pick button{border:1px solid var(--line-2);background:var(--card);min-height:32px;font:inherit;color:var(--ink-2);cursor:pointer;border-radius:999px;padding:0 11px;font-size:.76rem;font-weight:700}.tag-pick button.is-on{border-color:var(--bad-line);background:var(--bad-soft);color:var(--bad-dark)}.tag-pick button:disabled{opacity:.5;cursor:default}.tag-pick .tag-new,.tag-pick .tag-remove{border-style:dashed;align-items:center;gap:4px;display:inline-flex}.tag-pick svg{width:14px;height:14px}.tag-own,.tag-add{flex-wrap:wrap;align-items:center;gap:4px;max-width:100%;display:inline-flex}.tag-own{flex-wrap:nowrap}.tag-own>button:first-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.tag-pick .tag-save{background:var(--blue);color:#fff;border-color:#0000}.tag-pick .tag-remove{min-width:32px;color:var(--muted);justify-content:center;padding:0}.tag-add input{border:1px solid var(--line-2);background:var(--card);width:220px;max-width:100%;min-height:32px;font:inherit;color:var(--ink);border-radius:999px;padding:0 11px}.tag-error{color:var(--bad-dark);flex-basis:100%;margin:0}.mistake-bar{background:var(--soft);border-radius:999px;height:10px;overflow:hidden}.mistake-bar i{border-radius:inherit;background:var(--bad);height:100%;display:block}.drawn-note{color:var(--muted);align-items:center;gap:6px;margin:-8px 0 14px;font-size:.86rem;display:flex}.drawn-note svg{flex:none;width:16px;height:16px}.student-comment.read .student-reply{margin-top:8px}.review-task .attachment img{height:120px}.review-task .attachments ul{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}@media (max-width:680px){.tag-add input{min-height:40px;font-size:16px}.tag-pick .tag-remove{min-width:40px}.tag-pick button,.frequent-open,.frequent-save,.voice-rec{height:auto;min-height:40px}.rich-field.is-compact .rich-toolbar .icon-button{width:36px;height:36px}.rich-field.is-compact .rich-sep{margin:0}.review :is(.icon-button,.strip-arrow,.frequent-panel li .icon-button){min-width:40px;min-height:40px}.review .button.small,.review .grade-toggle button,.review .link-button{min-height:40px}}.sent-note p{white-space:pre-wrap;margin:4px 0 0}.sent-note .link-button,.sent-note-add{align-items:center;gap:4px;min-height:32px;display:inline-flex}.sent-note .link-button{margin-top:4px}.sent-note-add{color:var(--muted);margin-top:8px}.sent-note-add:hover{color:var(--blue)}.sent-note-edit [role=textbox],.note-capped [role=textbox]{max-height:min(40vh,18rem);overflow:auto}.review-note-tools{flex-wrap:wrap;align-items:center;gap:4px;padding-block:2px;display:flex;position:relative}.review-note-tools>.voice-note,.review-note-tools>.file-pick,.review-note-tools>.frequent{margin:0}.review-note-tools>.voice-note:has(audio){flex:1 0 100%}.review-note-tools>.frequent.is-compact{flex-wrap:nowrap;gap:4px;position:static}.review-note-tools :is(.voice-rec,.file-pick,.frequent-open,.frequent-save){min-height:36px;color:var(--ink-2);white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:8px;padding:5px 8px;font-size:.84rem;font-weight:700;text-decoration:none}.review-note-tools :is(.voice-rec,.file-pick,.frequent-open,.frequent-save):hover,.review-note-tools .frequent-open[aria-expanded=true]{background:var(--soft);color:var(--blue)}.review-note-tools .voice-rec.is-on{color:var(--bad)}.review-note-tools :is(.file-pick,.frequent-open,.frequent-save) svg{width:16px;height:16px;color:var(--blue)}.review-note-tools .frequent-save{justify-content:center;min-width:36px;padding-inline:0}.review-note-tools .frequent-save:disabled{opacity:.55}.review-note-tools .frequent-panel{width:min(360px,100%)}.review-note-files .attachments{margin:0}.review-note-files .attachment.kind-pdf{border:1px solid var(--line);background:var(--card);border-radius:9px;align-items:center;gap:2px;min-width:0;padding:0 2px;display:flex}.review-note-files .attachment-doc{background:0 0;border:0;flex:1;min-width:0;min-height:36px;padding:4px 6px;font-size:.84rem}.review-note-files .attachment-doc span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.review-note-files .attachment-doc svg{width:16px;height:16px}.review-note-files :is(.kind-pdf,.kind-audio) .attachment-remove{box-shadow:none}.review-note-files .attachment.kind-audio{grid-template-columns:minmax(0,1fr) auto;align-items:center}@media (max-width:680px){.review-note-tools :is(.voice-rec,.file-pick,.frequent-open,.frequent-save),.review-note-files .attachment-doc{min-height:40px}.review-note-tools .frequent-save{min-width:40px}.review-note-files .attachments ul{grid-template-columns:1fr}}.note-capped{scroll-margin-top:96px}.sent-note-count{color:var(--muted);text-align:right;margin:4px 0 0;font-size:.8rem}.sent-note-count.is-full{color:var(--danger)}.sent-note-edit .actions{justify-content:flex-end;margin-top:10px;padding-top:0}.sent-note-edit .actions .button{flex:none;min-height:36px}@media (max-width:680px){.sent-note .link-button,.sent-note-add{min-height:40px}.sent-note-edit .actions .button{flex:1}}.review-task .choice-review .cell-view .cell-media:not(audio),.review-task .check-list .cell-view .cell-media:not(audio){aspect-ratio:auto;object-fit:contain;width:100%;max-width:min(100%,420px);height:auto;max-height:240px}.marks-note{color:var(--ink-2);margin:0 0 8px}.check-list.is-suggested li.is-good,.check-list.is-suggested li.is-bad{border:1.5px dashed var(--line);background:var(--soft);color:var(--ink-2)}.check-list.is-suggested li.is-good{border-color:var(--good-line)}.check-list.is-suggested li.is-bad{border-color:var(--bad-line)}.verdict.small.is-neutral{background:var(--blue-soft);color:var(--ink-2)}.check-list.is-marked li{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) auto;grid-template-areas:"prompt got marks""key key marks";align-items:center;gap:6px 12px;display:grid}.check-list.is-marked li>span:first-child{grid-area:prompt;min-width:0}.check-list.is-marked li>b{overflow-wrap:anywhere;grid-area:got;min-width:0}.check-list.is-marked li>em{overflow-wrap:anywhere;grid-area:key;min-width:0}.check-list li>.card-marks{flex:none;min-width:0;margin-left:auto}.check-list.is-marked li>.card-marks{grid-area:marks;margin-left:0}@media (max-width:680px){.check-list.is-marked li{grid-template-columns:minmax(0,1fr);grid-template-areas:"prompt""got""key""marks"}.check-list.is-marked li>.card-marks{justify-self:end}.check-list.is-marked li .pa-thumb-small{width:100%}.check-list.is-marked li>span:first-child{flex-direction:column;align-items:flex-start}.check-list.is-marked li>span:first-child>span{overflow-wrap:anywhere;min-width:0}}.card-marks button{justify-content:center;min-width:44px;min-height:44px;padding:6px 10px}.regrade-start{justify-content:flex-end;margin-bottom:16px;display:flex}.regrade-bar{z-index:15;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;margin-bottom:0;padding:10px 14px;display:flex;position:sticky;bottom:8px;box-shadow:0 6px 24px #0000002e}.regrade-bar p{margin:0}.regrade-bar .actions{gap:8px;margin-top:0;padding-top:0;display:flex}.regrade-bar .actions .button{white-space:nowrap;flex:none}@media (max-width:640px){.regrade-bar .actions{width:100%}.regrade-bar .actions .button{flex:1}}.regrade-unsaved{color:var(--muted)}@media (max-width:640px){.regrade-bar .actions .button{padding-inline:10px}.regrade-bar .actions .button:not(.primary){flex:none}}.regrade-score{white-space:nowrap}.regrade-score s,.regrade-saved-note{color:var(--muted)}@media (max-width:640px){.regrade-bar{gap:6px 12px}.regrade-bar .actions .button{gap:6px;padding-inline:8px}.regrade-bar .actions .button.primary{flex:1.3 auto}.regrade-saved-note{margin-top:2px;display:block}}.previous-answer{border-left:3px solid var(--blue);background:var(--blue-soft);color:var(--ink-2);border-radius:0 8px 8px 0;min-width:0;margin:8px 0 16px;padding:8px 12px;font-size:.82rem}.previous-notice{color:var(--blue-dark);align-items:center;gap:6px;margin:0;font-size:.82rem;font-weight:700;display:flex}.previous-notice svg{flex:none;width:14px;height:14px}.previous-rows{gap:4px;margin:6px 0 0;padding:0;list-style:none;display:grid}.previous-rows li{overflow-wrap:anywhere;min-width:0;line-height:1.45}.previous-label{font-weight:600}.previous-old{color:var(--muted);font-style:italic}.previous-new{color:var(--ink)}.previous-arrow{color:var(--muted)}.previous-answer .attempt-note{font-size:.8rem}.previous-answer .attempt-text{font-size:.86rem;line-height:1.5}.pill-resent{background:var(--blue-soft);color:var(--blue-dark)}.row-resent{color:var(--blue-dark);white-space:nowrap;font-weight:600}.review-banner{border:1px solid var(--blue-line);background:var(--blue-soft);color:var(--ink);border-radius:12px;align-items:flex-start;gap:10px;margin:0 0 14px;padding:12px 14px;font-size:.92rem;line-height:1.4;display:flex}.review-banner svg{width:18px;height:18px;color:var(--blue-dark);flex:none;margin-top:1px}.review-changed-count{color:var(--muted);margin:-4px 0 12px;font-size:.86rem}.strip-changed{background:var(--blue);border:2px solid var(--card);border-radius:50%;width:10px;height:10px;position:absolute;top:-3px;left:-3px}.previous-text{margin:0}:root{--hl-0:#fff1b8;--hl-0-line:#e8b400;--hl-1:#d9f5e1;--hl-1-line:#2fa35a;--hl-2:#dde8ff;--hl-2-line:#3d6bff;--hl-3:#ffe0ec;--hl-3-line:#e0457b;--hl-4:#efe3ff;--hl-4-line:#8a4fe0;--hl-5:#ffe6d1;--hl-5-line:#e3741c}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--hl-0:#3d3313;--hl-0-line:#e8b400;--hl-1:#173826;--hl-1-line:#4cc47a;--hl-2:#1d2c57;--hl-2-line:#7c9bff;--hl-3:#46192b;--hl-3-line:#f0709f;--hl-4:#2f2150;--hl-4-line:#b08cf0;--hl-5:#432714;--hl-5-line:#f0954a}}:root[data-theme=dark]{--hl-0:#3d3313;--hl-0-line:#e8b400;--hl-1:#173826;--hl-1-line:#4cc47a;--hl-2:#1d2c57;--hl-2-line:#7c9bff;--hl-3:#46192b;--hl-3-line:#f0709f;--hl-4:#2f2150;--hl-4-line:#b08cf0;--hl-5:#432714;--hl-5-line:#f0954a}.essay-threads{gap:14px;display:grid;position:relative;container-type:inline-size}.essay-main{min-width:0;position:relative}.thread-hint{align-items:center;gap:6px;margin:0 0 8px;display:flex}.thread-hint svg{width:16px;height:16px;color:var(--blue);flex:none}.thread-mark{color:inherit;cursor:pointer;-webkit-box-decoration-break:clone;box-decoration-break:clone;border-radius:4px;padding:1px 0;transition:box-shadow .15s,background .15s}.thread-mark:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.thread-pick{z-index:5;background:var(--card);border:1px solid var(--line);border-radius:14px;align-items:center;gap:6px;padding:6px;display:flex;position:absolute;box-shadow:0 10px 30px #0f173333}.thread-pick .icon-button{width:32px;height:32px}.thread-pick-note{color:var(--bad-dark);padding:0 6px;font-size:.84rem;font-weight:700}.thread-rail{align-content:start;gap:10px;display:grid;position:relative}@container (width>=680px){.thread-rail{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.thread-rail-title,.thread-rail>.is-active{grid-column:1/-1}}.thread-rail-title{color:var(--ink-2);margin:4px 0 0;font-size:.9rem}.thread-card{border:1.5px solid var(--line);border-left:5px solid var(--hl-line);background:var(--card);cursor:pointer;border-radius:14px;gap:8px;padding:10px 12px 12px;font-size:.92rem;display:grid;box-shadow:0 2px 8px #0f17330d}.thread-card.is-active{cursor:default;border-color:var(--hl-line);box-shadow:0 8px 24px #0f17331f}.thread-card.is-detached{opacity:.85}.thread-head{align-items:flex-start;gap:6px;display:flex}.thread-head .icon-button{flex:none;width:32px;height:32px;margin:-4px -6px 0 auto}.thread-quote{background:var(--hl);color:var(--ink-2);-webkit-line-clamp:2;overflow-wrap:anywhere;border-radius:6px;-webkit-box-orient:vertical;margin:0;padding:2px 8px;font-size:.84rem;font-weight:600;display:-webkit-box;overflow:hidden}.thread-note{color:var(--muted);margin:0;font-size:.8rem}.thread-comment{gap:3px;display:grid}.thread-comment+.thread-comment{border-top:1px solid var(--line);padding-top:8px}.thread-meta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:2px 8px;font-size:.78rem;display:flex}.thread-meta b{color:var(--ink-2);font-size:.82rem}.thread-meta time,.thread-edited,.thread-draft{white-space:nowrap}.thread-meta .icon-button{flex-shrink:0;width:32px;height:32px;margin-left:auto}.thread-meta .icon-button+.icon-button{margin-left:0}.thread-meta .icon-button svg{width:14px;height:14px}.thread-draft{background:var(--warn-soft);color:var(--warn);border-radius:999px;padding:1px 7px;font-weight:700}.thread-edited{font-style:italic}.thread-edit{border:1.5px dashed var(--line-2);background:var(--soft);border-radius:12px;margin-bottom:4px;padding:8px}.thread-edit-title{color:var(--ink-2);font-size:.78rem}.thread-text{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--ink);margin:0}.thread-card:not(.is-active) .thread-text{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.thread-reactions{flex-wrap:wrap;align-items:center;gap:6px;display:flex;position:relative}.thread-reaction{background:var(--soft);border-radius:999px;align-items:center;gap:4px;padding:2px 8px;font-size:.95rem;display:inline-flex}.thread-reaction small{color:var(--muted);font-size:.72rem;font-weight:700}.thread-react{width:32px;height:32px}.thread-react svg{width:17px;height:17px}.thread-picker{z-index:5;border:1px solid var(--line);background:var(--card);border-radius:14px;grid-template-columns:repeat(7,36px);gap:2px;padding:6px;display:grid;position:absolute;bottom:calc(100% + 4px);left:0;box-shadow:0 6px 20px #0f173340}.thread-picker button{background:0 0;border:0;border-radius:999px;width:36px;height:36px;font-size:1.05rem}.thread-picker button.is-on,.thread-picker button:hover{background:var(--soft);box-shadow:0 1px 4px #0f173326}.thread-more{color:var(--blue);cursor:pointer;background:0 0;border:0;justify-self:start;padding:2px 0;font-size:.84rem;font-weight:700}.thread-reply{gap:6px;display:grid}.thread-reply textarea,.thread-card.is-draft textarea{border:1.5px solid var(--line-2);width:100%;min-height:64px;font:inherit;resize:vertical;background:var(--card);border-radius:12px;padding:8px 10px;font-size:.92rem}.thread-reply .button{justify-self:end}.thread-reply-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;display:flex}.thread-reply-row .button{margin-left:auto}.thread-reply-row .voice-note{flex:1;margin:0}.thread-actions{justify-content:flex-end;gap:6px;display:flex}.thread-reply svg,.thread-actions svg{width:15px;height:15px}.thread-mark.c0,.thread-card.c0{--hl:var(--hl-0);--hl-line:var(--hl-0-line)}.thread-mark.c1,.thread-card.c1{--hl:var(--hl-1);--hl-line:var(--hl-1-line)}.thread-mark.c2,.thread-card.c2{--hl:var(--hl-2);--hl-line:var(--hl-2-line)}.thread-mark.c3,.thread-card.c3{--hl:var(--hl-3);--hl-line:var(--hl-3-line)}.thread-mark.c4,.thread-card.c4{--hl:var(--hl-4);--hl-line:var(--hl-4-line)}.thread-mark.c5,.thread-card.c5{--hl:var(--hl-5);--hl-line:var(--hl-5-line)}.thread-mark{background:var(--hl);box-shadow:inset 0 -2px 0 var(--hl-line)}.thread-mark.is-active{box-shadow:inset 0 -2px 0 var(--hl-line), 0 0 0 2px var(--hl-line)}.teacher-threads{border:1px solid var(--line);background:var(--soft);border-radius:18px;gap:10px;margin:14px 0;padding:14px 16px;display:grid}.teacher-threads h3{margin:0;font-size:1rem}.task-text{white-space:pre-wrap}.essay-answer{gap:10px;display:grid}.essay-answer .essay-text:not(.selectable){background:var(--card);border-radius:14px;padding:12px 14px}.written-count{color:var(--muted);margin-top:6px;display:block}.written-foot{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-top:6px;display:flex}.attachments{gap:8px;margin:0 0 14px;display:grid}.attachments-title{letter-spacing:.04em;text-transform:uppercase;color:var(--muted);font-size:.8rem;font-weight:800}.attachments ul{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px;margin:0;padding:0;list-style:none;display:grid}.attachment{align-content:start;gap:4px;min-width:0;display:grid;position:relative}.attachment img{object-fit:cover;border:1px solid var(--line);background:var(--soft);border-radius:12px;width:100%;height:140px;display:block}.attachment video{background:#000;border-radius:12px;width:100%;max-height:220px}.attachment.kind-video,.attachment.kind-audio{grid-column:1/-1}.attachment audio{width:100%}.attachment small{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:.76rem;overflow:hidden}.attachment-doc{border:1.5px solid var(--line);background:var(--card);min-height:56px;color:var(--ink);overflow-wrap:anywhere;border-radius:12px;align-items:center;gap:10px;padding:10px 12px;font-weight:700;text-decoration:none;display:flex}.attachment-doc svg{width:22px;height:22px;color:var(--bad);flex:none}.attachment-remove{background:var(--card);width:32px;height:32px;position:absolute;top:6px;right:6px}@supports (color:color-mix(in lab, red, red)){.attachment-remove{background:color-mix(in srgb, var(--card) 90%, transparent)}}.attachment-remove{box-shadow:0 1px 4px #0f173333}.attachment.kind-audio .attachment-remove,.attachment.kind-pdf .attachment-remove{justify-self:end;position:static}@media (max-width:680px){.attachments ul{grid-template-columns:1fr 1fr}.attachment img{height:110px}}.thread-card textarea:focus{border-color:var(--blue);outline:none}.rewrite-label{color:var(--ink-2);margin:6px 0;font-weight:700}.attachment small{text-align:left;justify-self:start;max-width:100%}.board-hint{color:var(--muted);margin:-4px 0 4px;font-size:.86rem}.written-foot-text{flex:220px;gap:2px;min-width:0;display:grid}.attach-hint{color:var(--muted);font-size:.84rem}.rubric-block{gap:6px;display:grid}.rubric-title{color:var(--muted);align-items:center;gap:6px;font-size:.8rem;font-weight:700;display:flex}.rubric-title svg{flex:none;width:15px;height:15px}.essay-main .attachments{margin:12px 0 0}.thread-reply .rich-field{flex:1;min-width:0}.comment-board summary{cursor:pointer;color:var(--blue);align-items:center;gap:8px;font-weight:800;list-style:none;display:flex}.comment-board summary::-webkit-details-marker{display:none}.comment-board summary svg{width:18px;height:18px}.comment-board[open] summary{margin-bottom:8px}.comment-board .board-hint{color:var(--muted);margin:0 0 8px;font-size:.84rem}.thread-tag{text-overflow:ellipsis;white-space:nowrap;border:1px solid var(--line);background:var(--soft);max-width:60%;color:var(--ink-2);border-radius:999px;flex:none;align-self:flex-start;padding:2px 8px;font-size:.72rem;font-weight:800;overflow:hidden}@media (max-width:680px){.thread-meta .icon-button,.thread-head .icon-button,.thread-react{width:40px;height:40px}.thread-picker{grid-template-columns:repeat(7,40px);left:auto;right:0}.thread-picker button{width:40px;height:40px}}.attachment .slowable{margin-bottom:0}.attachment-caption{color:var(--muted);overflow-wrap:anywhere;margin:0;font-size:.92rem}.thread-mark.is-ai{outline:1.5px dashed var(--blue);outline-offset:1px;-webkit-box-decoration-break:clone;box-decoration-break:clone;background:0 0;border-radius:4px;margin:0 2px}.thread-mark.is-ai:after{content:"ИИ";background:var(--blue);color:#fff;vertical-align:super;border-radius:4px;margin-left:3px;padding:1px 3px;font-size:.6rem;font-weight:800;line-height:1}.thread-hint .ai-draft-open{flex:none;margin:0 0 0 auto}.ai-draft-open{margin-bottom:8px}.ai-draft{gap:10px;margin:14px 0 12px;display:grid}.ai-draft-bar{justify-content:space-between;align-items:center;gap:8px;display:flex}.ai-draft-title{align-items:flex-start;gap:6px;min-width:0;font-weight:800;display:inline-flex}.ai-draft-title svg{width:16px;height:16px;color:var(--blue);flex:none}.ai-draft-bulk{flex-wrap:nowrap;flex:none;align-items:center;gap:6px;display:flex}.ai-reject-all{min-height:38px;color:var(--muted);white-space:nowrap;background:0 0;border:0;padding:0 8px;font-size:.84rem;font-weight:700}.ai-reject-all:hover:not(:disabled){color:var(--ink)}.ai-draft-bulk .button{white-space:nowrap}.ai-draft-skipped{color:var(--muted);justify-content:space-between;align-items:center;gap:8px;margin:8px 0 0;font-size:.84rem;display:flex}.ai-card{border:1.5px dashed var(--muted);background:var(--card);border-radius:14px;gap:8px;padding:10px 12px;font-size:.92rem;display:grid}.ai-card p{margin:0}.ai-card .thread-quote{max-width:100%;color:var(--muted);background:0 0;justify-self:start;padding-left:0}.ai-card-foot{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.ai-card-foot .thread-actions{margin-left:auto}.ai-text{color:var(--ink-2);overflow-wrap:anywhere}.ai-text b{color:var(--ink)}.ai-extra-scores{color:var(--muted);font-size:.84rem}.ai-extra-comment{color:var(--ink-2);white-space:pre-wrap;overflow-wrap:anywhere}.ai-edit{gap:8px;display:grid}.ai-edit label{color:var(--muted);gap:4px;font-size:.8rem;font-weight:600;display:grid}.ai-edit :is(input,textarea){border:1.5px solid var(--line-2);width:100%;font:inherit;color:var(--ink);background:var(--card);border-radius:12px;padding:8px 10px;font-weight:400}@media (min-width:681px){.ai-edit :is(input,textarea){font-size:.92rem}}.ai-card .thread-actions{flex-wrap:nowrap;align-items:center}.ai-card .thread-actions .icon-button{border:1.5px solid var(--line-2)}.ai-card .thread-actions .icon-button:disabled{opacity:.5}.ai-accept svg{color:var(--good-dark)}@media (max-width:680px){.ai-card .thread-actions{gap:6px}.ai-draft-bar{flex-wrap:wrap;gap:4px 8px}.ai-draft-bulk{margin-left:auto}.thread-hint:has(.ai-draft-open){flex-wrap:wrap}.thread-hint:has(.ai-draft-open) span{flex:180px;min-width:0}}.ai-prompt-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.ai-prompt-head .button{margin:0}dialog.ai-draft-modal textarea{border:1.5px solid var(--line-2);width:100%;font:inherit;resize:none;border-radius:12px;padding:8px 10px}dialog.ai-draft-modal textarea[aria-invalid=true]{border-color:var(--danger)}@media (min-width:681px){dialog.ai-draft-modal textarea{font-size:.88rem}}dialog.ai-draft-modal .ai-error{min-height:1.3em;margin:0}.library{gap:14px;display:grid}.lib-bar{flex-wrap:wrap;align-items:center;gap:10px 14px;display:flex}.lib-count{background:var(--card);min-width:22px;height:20px;color:var(--muted);border-radius:999px;place-items:center;padding:0 6px;font-size:.74rem;font-weight:800;display:inline-grid}.lib-search{border:1.5px solid var(--line-2);background:var(--card);border-radius:14px;flex:1;align-items:center;gap:8px;min-width:220px;height:44px;padding:0 6px 0 14px;display:flex}.lib-search:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-soft)}.lib-search>svg{width:18px;height:18px;color:var(--muted);flex:none}.lib-search input{min-width:0;height:100%;box-shadow:none;font:inherit;background:0 0;border:0;outline:0;flex:1;padding:0}:is(.lib-search input:focus,.lib-search input:focus-visible){box-shadow:none;outline:0}.lib-search input::-webkit-search-cancel-button{display:none}.lib-group{border:1px solid var(--line);border-radius:var(--radius);background:var(--card);box-shadow:var(--shadow);margin:0;overflow:hidden}.lib-group-head{width:100%;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:10px;padding:13px 16px;display:flex}.lib-group-head b{font-size:1rem}.lib-group-head .lib-count{background:var(--soft)}.lib-group-head small{text-align:left;color:var(--muted);flex-basis:100%;margin-top:-6px;padding-left:28px;font-size:.8rem}.lib-group-head .module-chevron{width:18px;height:18px;color:var(--muted);margin:0;transition:transform .15s;transform:rotate(-90deg)}.lib-group.is-open .lib-group-head .module-chevron{transform:none}.lib-rows{border-top:1px solid var(--line);display:grid}.lib-rows>.row{box-shadow:none;border:0;border-bottom:1px solid var(--line);border-radius:0}.lib-rows>.row:last-child{border-bottom:0}.lib-row{border-bottom:1px solid var(--line);align-items:center;gap:14px;min-height:74px;padding:12px 16px;display:flex}.lib-row:last-child{border-bottom:0}.lib-row:hover{background:var(--soft)}.lib-types{width:56px;color:var(--blue);flex:none;grid-template-columns:repeat(auto-fit,26px);grid-auto-rows:26px;place-content:center;gap:4px;display:grid}.lib-types svg{box-sizing:content-box;background:var(--blue-soft);border-radius:8px;width:16px;height:16px;padding:5px}.lib-types i{background:var(--soft);color:var(--muted);border-radius:8px;place-items:center;font-size:.7rem;font-style:normal;font-weight:800;display:grid}.lib-main{flex:1;min-width:0;display:grid}.lib-main b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.lib-main small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;overflow:hidden}.lib-actions{flex:none;grid-auto-columns:auto;grid-auto-flow:column;align-items:center;gap:6px;display:grid}.lib-actions>.button{justify-content:center}.lib-more{border:0;border-top:1px solid var(--line);background:var(--soft);font:inherit;color:var(--blue);cursor:pointer;padding:10px;font-weight:700}.lib-nothing{text-align:center}@media (max-width:680px){.lib-row{padding:12px}.lib-types{width:auto}}.lib-filters{flex-wrap:wrap;gap:6px;display:flex}.lib-filters button{border:1.5px solid var(--line-2);background:var(--card);height:34px;font:inherit;color:var(--ink-2);cursor:pointer;border-radius:999px;align-items:center;gap:6px;padding:0 12px;font-size:.88rem;font-weight:700;display:inline-flex}.lib-filters button.is-on{border-color:var(--blue);background:var(--blue-soft);color:var(--blue)}.lib-filters button.is-on .lib-count{background:var(--card);color:var(--blue)}@media (max-width:680px){.lib-filters button{height:auto;min-height:40px}}.lib-filters button:disabled{opacity:.45;cursor:default}.lib-flat{border:1px solid var(--line);border-radius:var(--radius);background:var(--card);box-shadow:var(--shadow);overflow:hidden}.lib-flat .lib-rows{border-top:0}.lib-count.tone-submitted,.lib-filters button .lib-count.tone-submitted{background:var(--warn-soft);color:var(--warn)}.lib-count.tone-assigned,.lib-filters button .lib-count.tone-assigned{background:var(--blue-soft);color:var(--blue)}.lib-count.tone-revision,.lib-filters button .lib-count.tone-revision,.lib-count.tone-complete,.lib-filters button .lib-count.tone-complete{background:var(--soft);color:var(--muted)}.lib-filters button.is-on .lib-count[class*=tone-]{box-shadow:inset 0 0 0 1.5px}.assign-search{margin-bottom:12px}.assign-classes{gap:10px;max-height:min(52vh,460px);margin-bottom:14px;display:grid;overflow:auto}.assign-class{border:1px solid var(--line);border-radius:14px;margin:0;padding:10px 12px}.assign-class legend{padding:0 4px}.assign-class legend .check{gap:8px}.assign-class .check{gap:10px;min-height:40px;padding:0}.assign-class .check input{cursor:pointer;width:24px;height:24px;margin:0}.assign-students{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:4px 12px;padding:6px 2px 2px;display:grid}.assign-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.assign-buttons{gap:10px;margin-left:auto;display:flex}.assign-actions .assign-need{text-align:right;color:var(--muted);flex:1 0 100%;order:3;margin:0;font-size:.86rem}.assign-actions .link-button{align-items:center;gap:6px;display:inline-flex}.assign-actions .link-button svg{width:17px;height:17px}.lib-tools{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 14px;display:flex}.lib-filters button svg{width:14px;height:14px}.lib-sort{color:var(--muted);align-items:center;gap:8px;font-size:.86rem;font-weight:600;display:inline-flex}.lib-sort select{border:1.5px solid var(--line-2);background-color:var(--card);height:34px;font:inherit;color:var(--ink-2);border-radius:10px;padding:0 30px 0 10px;font-weight:700}.lib-folder{background:var(--soft);color:var(--ink-2);border-radius:6px;align-items:center;gap:3px;margin-right:6px;padding:0 6px;font-weight:700;display:inline-flex}.lib-folder svg{width:12px;height:12px}.folder-pick{flex-wrap:wrap;gap:8px;margin-bottom:16px;display:flex}.folder-pick .button.is-on{border-color:var(--blue);color:var(--blue)}.folder-new{gap:8px;display:flex}.folder-new input{flex:1;min-width:0}.lib-count.tone-template{background:var(--blue-soft);color:var(--blue-dark)}.lib-tools:not(:has(.lib-filters)){justify-content:flex-end}@media (max-width:680px){.lib-tools{justify-content:stretch}.lib-bar .lib-search{flex:100%}.lib-tools:not(:has(.lib-filters)){flex-wrap:nowrap}.lib-sort{flex:1;min-width:0}.lib-sort>span{display:none}.lib-sort select{flex:1;height:40px}.lib-row{column-gap:10px}.lib-types{grid-template-columns:repeat(auto-fit,24px);grid-auto-rows:24px;gap:4px;width:52px}.lib-types svg{width:14px;height:14px}.lib-main{flex:1 1 0;min-width:0}}.lib-main b,.lib-main small{white-space:normal;overflow-wrap:anywhere;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.lib-main b{line-height:1.3}.lib-main small{margin-top:2px;line-height:1.35}.lib-actions>.button{white-space:nowrap;box-shadow:none}.lib-actions>.button:active{transform:none}.lib-main b{display:block}.lib-title{-webkit-line-clamp:2;line-clamp:2;overflow-wrap:anywhere;max-width:100%;font:inherit;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;display:-webkit-box;overflow:hidden}.lib-row:has(.lib-title){cursor:pointer}.lib-picking.is-on{border-color:var(--blue);color:var(--blue);background:var(--blue-soft)}.lib-tools .lib-picking{margin-left:auto}.lib-tools:not(:has(.lib-filters)) .lib-picking{margin-left:0}.lib-pick{flex:none;place-items:center;width:22px;display:grid}.lib-pick input{width:18px;height:18px;accent-color:var(--blue);cursor:pointer}.lib-row.is-picked{background:var(--blue-soft)}.bulk-bar{z-index:30;border:1px solid var(--blue-line);background:var(--card);border-radius:16px;flex-wrap:wrap;align-items:center;gap:10px 14px;margin-top:14px;padding:10px 14px;display:flex;position:sticky;bottom:12px;box-shadow:0 12px 32px #0f173326}.bulk-count{font-weight:800}.bulk-actions{flex-wrap:wrap;gap:8px;margin-left:auto;display:flex}.bulk-list{color:var(--ink-2);margin:0 0 10px;padding-left:20px}@media (max-width:680px){.bulk-actions{width:100%;margin-left:0}.bulk-actions .button{flex:1}.lib-tools .lib-picking{margin-left:0}}.lib-cover{object-fit:cover;border-radius:12px;flex:none;width:56px;height:56px}@media (max-width:680px){.lib-cover{width:52px;height:52px}}.lib-row{min-height:80px}.lib-rows.is-picking .lib-actions,.lib-group[data-state=submitted] .pill-submitted,.lib-flat[data-state=submitted] .pill-submitted{display:none}@media (max-width:680px){.lib-actions>.button{width:40px;min-height:40px;padding:0}.lib-actions>.button>span{display:none}.lib-types{grid-template-columns:repeat(auto-fit,18px);grid-auto-rows:18px;gap:2px;width:40px}.lib-types svg{border-radius:6px;width:12px;height:12px;padding:3px}.lib-types i{border-radius:6px;font-size:.6rem}.lib-cover{width:40px;height:40px}.lib-filters{scrollbar-width:none;flex-wrap:nowrap;overflow-x:auto}.lib-filters button{flex:none}.bulk-bar{flex-wrap:nowrap;gap:8px}.bulk-actions{flex-wrap:nowrap;width:auto;margin-left:auto}.bulk-actions .button{flex:none;width:40px;min-height:40px;padding:0}.bulk-actions .button>span{display:none}}@media (max-width:360px){.lib-row:not(.has-cover) .lib-types{display:none}}.lib-bar .lib-picking{box-shadow:none}.lib-bar .lib-picking:active{transform:none}.bulk-bar .link-button{white-space:nowrap}@media (max-width:680px){.lib-main small{-webkit-line-clamp:1;line-clamp:1}.lib-row{min-height:72px}}@media (max-width:400px){.lib-row:not(.has-cover) .lib-types{display:none}}@media (max-width:360px){.bulk-bar{flex-wrap:wrap}.bulk-count{flex:100%}}.due-pill{white-space:nowrap;background:var(--soft);color:var(--ink-2);vertical-align:middle;border-radius:999px;align-items:center;gap:5px;padding:3px 10px;font-size:.76rem;font-weight:800;display:inline-flex}.due-pill svg{width:14px;height:14px}.due-soon{background:var(--warn-soft);color:var(--warn)}.due-overdue,.due-late{background:var(--bad-soft);color:var(--bad-dark)}.due-field{margin:0 0 18px}.due-field label{color:var(--ink-2);align-items:center;gap:7px;margin-bottom:7px;font-size:.86rem;font-weight:700;display:flex}.due-field label svg{width:17px;height:17px;color:var(--blue)}.due-row{align-items:center;gap:8px;display:flex}.due-row input{border:1.5px solid var(--line-2);background:var(--card);border-radius:14px;max-width:220px;min-height:46px;padding:10px 12px}.due-row input:focus{border-color:var(--blue)}.due-row input[aria-invalid=true]{border-color:var(--bad);background:var(--bad-soft)}.due-note{background:var(--bad-soft);color:var(--bad-dark);overflow-wrap:anywhere;border-radius:12px;margin:0 0 14px;padding:10px 12px;font-size:.88rem}.due-panel{padding-bottom:4px}.due-panel .due-field{margin-bottom:14px}.notify{position:relative}.notify-button{width:42px;height:42px;position:relative}.notify-button svg{width:21px;height:21px}.notify-count{background:var(--bad);color:#fff;text-align:center;border-radius:999px;min-width:18px;height:18px;padding:0 5px;font-size:.68rem;font-weight:800;line-height:18px;position:absolute;top:3px;right:2px;box-shadow:0 0 0 2px #fff}.notify-panel{z-index:40;background:var(--card);border:1px solid var(--line);border-radius:18px;width:min(360px,100vw - 32px);max-height:min(480px,70vh);padding:8px;position:absolute;top:calc(100% + 8px);right:-8px;overflow:auto;box-shadow:0 18px 50px #1b2d5826}.notify-head{justify-content:space-between;align-items:center;padding:8px 10px 10px;display:flex}.notify-panel ul{grid-template-columns:minmax(0,1fr);gap:2px;margin:0;padding:0;list-style:none;display:grid}.notify-item{text-align:left;background:0 0;border:0;border-radius:12px;align-items:center;gap:12px;width:100%;padding:10px;display:flex}.notify-item:hover{background:var(--soft)}.notify-icon{background:var(--blue-soft);width:36px;height:36px;color:var(--blue);border-radius:12px;flex:none;place-items:center;display:grid}.notify-icon svg{width:18px;height:18px}.kind-revision .notify-icon,.kind-overdue .notify-icon{background:var(--bad-soft);color:var(--bad)}.kind-complete .notify-icon{background:var(--good-soft);color:var(--good)}.kind-due .notify-icon,.kind-payment .notify-icon,.kind-recovery .notify-icon,.kind-submitted .notify-icon{background:var(--warn-soft);color:var(--warn)}.kind-words .notify-icon{background:var(--soft);color:var(--bad)}.notify-text{flex-direction:column;min-width:0;display:flex}.notify-text b{font-size:.92rem}.notify-text small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;overflow:hidden}.kind-recovery .notify-text small{white-space:normal;text-wrap:balance}.notify-empty{color:var(--muted);text-align:center;margin:0;padding:18px 10px}.reset-code{background:var(--blue-soft);border-radius:16px;grid-template-columns:auto 1fr;align-items:baseline;gap:8px 16px;margin:0 0 6px;padding:16px 18px;display:grid}.reset-code dt{color:var(--muted);font-size:.86rem;font-weight:700}.reset-code dd{overflow-wrap:anywhere;margin:0;font-weight:700}.reset-code dd.code{font-family:var(--font-display);letter-spacing:.08em;color:var(--blue-dark);font-size:1.5rem}.recovery-code{background:var(--blue-soft);text-align:center;border-radius:16px;margin:0 0 6px;padding:16px 18px}.recovery-code dd{font-family:var(--font-display);letter-spacing:.06em;white-space:nowrap;-webkit-user-select:all;user-select:all;color:var(--blue-dark);margin:0;font-size:clamp(1.15rem,5.6vw,1.5rem);font-weight:700}.recovery-dialog input[aria-invalid=true]{border-color:var(--bad);background:var(--bad-soft)}@media (max-width:480px){.recovery-dialog .modal-actions.two{grid-template-columns:1fr 1fr;display:grid}.recovery-dialog .modal-actions .button{white-space:nowrap;padding-inline:12px}.recovery-dialog .modal-actions .button svg{display:none}.recovery-hint{padding:12px}.recovery-hint .button{min-height:36px}}@media (max-width:680px){.banner.recovery-hint{grid-template-columns:20px 1fr 40px;align-items:start;display:grid}.recovery-hint>.icon-button{grid-area:1/3}.recovery-hint>span{grid-area:1/2}.recovery-hint>.button{grid-area:2/2/auto/-1}}.storage{border:1px solid var(--line);background:var(--card);border-radius:16px;align-items:center;gap:14px;margin:0 0 22px;padding:12px 16px;display:flex}.storage>svg{width:20px;height:20px;color:var(--blue)}.storage-main{min-width:0;color:var(--ink-2);flex:1;gap:6px;font-size:.88rem;display:grid}.storage-main small{color:var(--warn);font-weight:700}.storage-bar{background:var(--soft);border-radius:999px;height:6px;overflow:hidden}.storage-bar span{border-radius:inherit;background:var(--blue);height:100%;display:block}.storage.is-warn{border-color:var(--warn-line);background:var(--warn-soft)}.storage.is-warn .storage-bar span{background:var(--warn)}.stats-weak{margin-top:4px}.stats-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.stats-list li{border:1px solid var(--line);background:var(--card);border-radius:16px;padding:14px 16px}.stats-list li.is-weak{border-color:var(--bad-line);background:var(--soft)}.stats-head{align-items:center;gap:10px;margin-bottom:10px;display:flex}.stats-head .num{background:var(--soft);width:26px;height:26px;color:var(--ink-2);border-radius:8px;flex:none;place-items:center;font-size:.8rem;font-weight:800;display:grid}.stats-type{color:var(--blue);white-space:nowrap;font-size:.8rem;font-weight:800}.stats-prompt{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--ink-2);flex:1;overflow:hidden}.stats-head>b{font-family:var(--font-display);font-size:1rem}.is-weak .stats-head>b{color:var(--bad)}.stats-bar{background:var(--soft);border-radius:999px;height:8px;display:flex;overflow:hidden}.stats-bar .good{background:var(--good)}.stats-bar .bad{background:var(--bad)}.stats-counts{color:var(--muted);flex-wrap:wrap;gap:14px;margin:8px 0 0;font-size:.84rem;font-weight:700;display:flex}.stats-counts span{align-items:center;gap:5px;display:inline-flex}.stats-counts svg{width:15px;height:15px}.stats-counts .is-good{color:var(--good)}.stats-counts .is-bad{color:var(--bad)}.stats-common{color:var(--ink-2);flex-wrap:wrap;gap:4px 10px;margin:6px 0 0;font-size:.86rem;display:flex}.stats-common span{color:var(--bad-dark);font-weight:700}@media (max-width:680px){.notify-panel{width:auto;position:fixed;top:64px;left:16px;right:16px}.storage{flex-wrap:wrap}.storage .button{justify-content:center;width:100%}.due-row input{flex:1;max-width:none}}.stats-time{color:var(--ink-2);align-items:center;gap:8px;display:flex}@media (max-width:680px){.due-panel .due-row input{flex:1;max-width:none}}.notify-panel .link-button{min-height:32px;padding:4px 8px}.notify-text time{font-weight:400}.recovery-hint{flex-wrap:wrap}.recovery-hint span{flex:240px}.recovery-hint .button{min-height:36px;padding:6px 14px}.assign-panel h3{align-items:center;gap:8px;margin:0 0 6px;display:flex}.assign-panel h3 svg{width:20px;height:20px;color:var(--blue)}.invite-row{flex-wrap:wrap;gap:8px;display:flex}.invite-row .link-input{flex:1;min-width:220px;margin:0}.assign-panel select,.assign-row select{border:1.5px solid var(--line-2);background:var(--card);border-radius:12px;width:100%;min-height:44px;padding:8px 12px}.assign-list{gap:6px;margin:4px 0 0;display:grid}.assign-row{background:var(--soft);border-radius:14px;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);align-items:center;gap:10px;padding:8px 10px;display:grid}.assign-row.is-off{opacity:.55}.assign-who{cursor:pointer;align-items:center;gap:10px;font-weight:700;display:flex}.assign-who input{width:18px;height:18px;accent-color:var(--blue)}.members{gap:12px;display:grid}.member{border:1px solid var(--line);border-radius:var(--radius);background:var(--card);box-shadow:var(--shadow);padding:16px}@media (max-width:680px){.assign-row{grid-template-columns:1fr}}.assign-list+.due-field{margin-top:18px}.badge{background:var(--soft);color:var(--ink-2);white-space:nowrap;border-radius:999px;align-items:center;gap:4px;padding:2px 8px;font-size:.76rem;font-weight:700;display:inline-flex}.badge svg{width:13px;height:13px}.badge.is-pending{background:var(--warn-soft);color:var(--warn)}.badge.is-open{background:var(--good-soft);color:var(--good-dark)}.badge.is-hidden{background:var(--soft);color:var(--muted)}.badge .pill{background:0 0;padding:0}.class-badges{flex-wrap:wrap;align-items:center;gap:6px;margin:0;display:flex}.cover{object-fit:cover;background:var(--soft);flex:none;display:block}.cover-empty{background:linear-gradient(135deg, hsl(var(--h) 80% 88%), hsl(calc(var(--h) + 40) 75% 78%));color:hsl(var(--h) 45% 30%);font-family:var(--font-display);place-items:center;font-weight:700;display:grid}.cover-empty svg{width:40%;height:40%}.cover-card{aspect-ratio:1;border-radius:14px;width:100%;font-size:2.4rem}.cover-head{border-radius:16px;width:120px;height:120px;font-size:2rem}.cover-thumb{border-radius:10px;width:48px;height:48px;font-size:.95rem}.class-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:18px;display:grid}.class-card{border:1.5px solid var(--line);background:var(--card);text-align:left;cursor:pointer;border-radius:20px;align-content:start;gap:10px;padding:10px 10px 14px;transition:transform .15s,box-shadow .15s,border-color .15s;display:grid;position:relative}.class-card:hover:not(:disabled){border-color:var(--blue-line);transform:translateY(-3px);box-shadow:0 14px 30px #0f17331a}.class-card-body{gap:8px;padding:0 4px;display:grid}.class-card-body b{overflow-wrap:anywhere;font-size:1.02rem;line-height:1.25}.class-card-loading{aspect-ratio:1;background:var(--card);border-radius:14px;place-items:center;display:grid;position:absolute;inset:10px 10px auto}@supports (color:color-mix(in lab, red, red)){.class-card-loading{background:color-mix(in srgb, var(--card) 70%, transparent)}}.class-new{border-style:dashed;border-color:var(--blue-line);background:var(--soft);min-height:240px;color:var(--blue);text-align:center;align-content:center;place-items:center}.class-new svg{background:var(--blue);color:#fff;border-radius:10px;width:34px;height:34px;padding:6px}.class-new small{color:var(--muted);font-weight:500}.class-card-main{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:14px;align-content:start;gap:10px;padding:0;display:grid}.class-card.class-card:has(.more-menu-list){z-index:5;transition:none;transform:none}.class-card-menu{position:absolute;top:14px;right:14px}.class-card-menu .icon-button{background:var(--card);border-radius:12px}@supports (color:color-mix(in lab, red, red)){.class-card-menu .icon-button{background:color-mix(in srgb, var(--card) 88%, transparent)}}.class-card-menu .icon-button{box-shadow:0 1px 6px #0f173326}.class-card-menu .icon-button:hover{background:var(--card)}.class-section{margin-bottom:18px}.class-section-bar{border-bottom:1.5px solid var(--line);align-items:center;gap:4px;min-height:48px;margin-bottom:6px;display:flex}.class-section-bar.is-drop{border-bottom-color:var(--blue);background:var(--blue);border-radius:10px}@supports (color:color-mix(in lab, red, red)){.class-section-bar.is-drop{background:color-mix(in srgb, var(--blue) 12%, transparent)}}.class-section-bar.is-drop{outline:2px dashed var(--blue);outline-offset:-2px}.class-section-title{flex:1;min-width:0;margin:0;font-size:1rem;display:flex}.class-section-toggle{min-width:0;min-height:48px;color:var(--ink);font:inherit;text-align:left;background:0 0;border:0;border-radius:10px;flex:1;align-items:center;gap:10px;padding:0 4px;font-weight:700;display:flex}button.class-section-toggle{cursor:pointer}button.class-section-toggle:hover{background:var(--soft)}.class-section-chevron{width:20px;height:20px;color:var(--muted);flex:none;transition:transform .2s;transform:rotate(-90deg)}.class-section-chevron.is-open{transform:none}.class-section-icon{width:20px;height:20px;color:var(--blue);flex:none}.class-section-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.class-section-count{color:var(--muted);white-space:nowrap;flex:none;font-size:.86rem;font-weight:600}.class-section-toggle .badge,.class-section-bar .icon-button{flex:none}.class-section-body{grid-template-rows:0fr;transition:grid-template-rows .2s;display:grid}.class-section-body.is-open{grid-template-rows:1fr}.class-section-inner{min-height:0;padding-top:8px}.class-section-body.is-moving .class-section-inner{overflow:hidden}.class-section-body:not(.is-open) .class-section-inner{padding-top:0;overflow:hidden}.class-folder-add{flex-wrap:wrap;align-items:center;gap:8px 14px;display:flex}.class-folder-add-button{border:1.5px dashed var(--blue-line);width:100%;min-height:52px;color:var(--blue);font:inherit;background:0 0;border-radius:16px;justify-content:center;align-items:center;gap:8px;padding:8px 16px;font-weight:700;display:flex}button.class-folder-add-button{cursor:pointer}button.class-folder-add-button:hover:not(:disabled){background:var(--blue-soft)}button.class-folder-add-button:disabled{border-color:var(--line-2);color:var(--faint);cursor:not-allowed}.class-folder-add-button svg{width:20px;height:20px}.folder-choices{gap:8px;display:grid}.folder-choice{text-align:left;justify-content:flex-start;min-height:48px}.folder-choice span{overflow-wrap:anywhere;min-width:0}.folder-choice.is-on{border-color:var(--blue);color:var(--blue)}@media (prefers-reduced-motion:reduce){.class-section-body,.class-section-chevron{transition:none}}@media (max-width:680px){.class-section-bar .icon-button,.class-card-menu .icon-button{width:44px;height:44px}.class-card-menu{top:12px;right:12px}}.class-section:has(>.class-section-bar){border:1.5px solid var(--line-2);background:var(--card);box-shadow:var(--shadow);border-radius:18px;overflow:clip}.class-section:has(>.class-section-bar)>.class-section-bar{background:var(--soft);border-bottom:1.5px solid #0000;margin:0;padding:4px 8px 4px 6px}.class-section:has(>.class-section-body.is-open)>.class-section-bar{border-bottom-color:var(--line)}.class-section:has(>.class-section-bar)>.class-section-body .class-section-inner{padding:16px}.class-section:has(>.class-section-bar)>.class-section-body:not(.is-open) .class-section-inner{padding-block:0}.class-section-bar button.class-section-toggle:hover{background:var(--blue)}@supports (color:color-mix(in lab, red, red)){.class-section-bar button.class-section-toggle:hover{background:color-mix(in srgb, var(--blue) 8%, transparent)}}.class-section-bar button.class-section-toggle:hover .class-section-chevron{background:var(--blue);color:#fff}.class-section-chevron{box-sizing:content-box;background:var(--blue-soft);color:var(--blue);border-radius:50%;padding:4px}.class-section-bar.is-drop{outline-offset:-3px}@media (max-width:680px){.class-section:has(>.class-section-bar)>.class-section-body .class-section-inner{padding:12px}}.class-section-bar .icon-button{transition:background .15s,color .15s}.class-section-bar .icon-button:hover,.class-section-bar .icon-button[aria-expanded=true]{background:var(--blue)}@supports (color:color-mix(in lab, red, red)){.class-section-bar .icon-button:hover,.class-section-bar .icon-button[aria-expanded=true]{background:color-mix(in srgb, var(--blue) 12%, transparent)}}.class-section-bar .icon-button:hover,.class-section-bar .icon-button[aria-expanded=true]{color:var(--blue)}.class-card[draggable=true] .cover{pointer-events:none;-webkit-user-drag:none}.class-head{align-items:center;gap:12px;min-height:64px;margin-bottom:18px;display:flex}.class-back{width:44px;height:44px;color:var(--ink-2);cursor:pointer;background:0 0;border:0;border-radius:14px;flex:none;place-items:center;display:grid}.class-back:hover{background:var(--blue-soft);color:var(--blue)}.class-head>.cover-head{border-radius:14px;flex:none;width:64px;height:64px;font-size:1.5rem}.class-head-main{gap:6px;min-width:0;display:grid}.class-head-main h1{overflow-wrap:anywhere;margin:0;font-size:1.35rem;line-height:1.15}.class-head-actions{flex:none;align-items:center;gap:8px;margin-left:auto;display:flex}.class-head-actions .more-menu-list{left:auto;right:0}.modules{gap:12px;display:grid}.module{border:1.5px solid var(--line);background:var(--card);border-radius:18px}.module.is-open{border-color:var(--line-2)}.module-head{align-items:center;gap:8px;padding:10px 12px 10px 10px;display:flex}.module-toggle{text-align:left;cursor:pointer;background:0 0;border:0;flex:1;align-items:center;gap:14px;min-width:0;padding:0;display:flex}.module-title{gap:6px;min-width:0;display:grid}.module-title b{overflow-wrap:anywhere;font-size:1.02rem}.module-chevron{width:20px;height:20px;color:var(--muted);flex:none;margin-left:auto;transition:transform .2s}.module.is-open .module-chevron{transform:rotate(180deg)}.module-body{gap:8px;padding:0 12px 12px;display:grid}.lesson{border:1px solid var(--line);background:var(--soft);border-radius:14px}.lesson.is-hidden{background:var(--soft)}.lesson-row{flex-wrap:wrap;align-items:center;gap:12px;padding:10px 12px;display:flex}.lesson-icon{background:var(--blue-soft);width:38px;height:38px;color:var(--blue);border-radius:10px;flex:none;place-items:center;display:grid}.lesson.is-hidden .lesson-icon{background:var(--soft);color:var(--muted)}.lesson-icon svg{width:18px;height:18px}.lesson-main{flex:1;gap:5px;min-width:180px;display:grid}.lesson-main b{overflow-wrap:anywhere;font-size:.96rem}.lesson-actions{align-items:center;gap:6px;margin-left:auto;display:flex}.lesson-actions .button.is-on{border-color:var(--blue);color:var(--blue)}.lesson-results{gap:6px;padding:0 12px 12px 62px;display:grid}.lesson-result{border:1px solid var(--line);background:var(--card);text-align:left;cursor:pointer;border-radius:12px;align-items:center;gap:10px;padding:8px 10px;display:flex}.lesson-result:disabled{cursor:default;opacity:.7}.lesson-result.status-none{cursor:default;padding-block:5px}button.lesson-result:hover:not(:disabled){border-color:var(--blue-line)}.lesson-result-name{overflow-wrap:anywhere;flex:1;min-width:0;font-weight:700}.lesson-result-go{width:16px;height:16px;color:var(--muted)}.add-lesson{border:1.5px dashed var(--blue-line);background:var(--soft);border-radius:14px;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;display:flex}.add-lesson>span{color:var(--blue);margin-right:auto;font-weight:700}.add-module{border:1.5px dashed var(--blue-line);background:var(--soft);width:100%;min-height:64px;color:var(--blue);cursor:pointer;border-radius:18px;justify-content:center;align-items:center;gap:8px;margin-top:14px;font-size:1rem;font-weight:800;display:flex}.add-module:hover{background:var(--blue-soft)}.add-module svg{width:20px;height:20px}.pick-list{gap:6px;max-height:340px;margin:6px 0 14px;display:grid;overflow:auto}.pick-list.compact{max-height:220px}.pick-row{border:1.5px solid var(--line);background:var(--card);text-align:left;cursor:pointer;border-radius:12px;align-items:center;gap:10px;padding:8px 12px;display:flex}.pick-row.is-on{border-color:var(--blue);background:var(--blue-soft)}.pick-row b{overflow-wrap:anywhere;flex:1;min-width:0}.pick-row small{color:var(--muted)}.pick-row input{width:18px;height:18px}.pick-row>svg{width:18px;height:18px;color:var(--blue)}.cover-field{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.cover-field .cover-head{width:96px;height:96px}.cover-field-actions{justify-items:start;gap:8px;display:grid}.cover-field-actions small{color:var(--muted)}.add-student{border:1.5px dashed var(--blue-line);background:var(--soft);border-radius:16px;margin-bottom:14px}.add-student-toggle{width:100%;min-height:58px;color:var(--blue);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;gap:8px;font-size:1rem;font-weight:800;display:flex}.add-student-toggle svg{width:20px;height:20px}.add-student-body{gap:4px;padding:0 16px 14px;display:grid}.add-student-body .field-label{align-items:center;gap:6px;display:inline-flex}.add-student-body .field-label svg{width:16px;height:16px;color:var(--blue)}.class-students{gap:8px;display:grid}.class-student{border:1px solid var(--line);background:var(--card);border-radius:16px;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 14px;display:flex}.class-student .avatar{flex:none;width:44px;height:44px}.class-student-main{flex:1;gap:4px;min-width:200px;display:grid}.class-student-main small{color:var(--muted)}.class-student-wait{flex:none;justify-content:flex-end;min-width:52px;display:flex}.class-student-wait:empty{display:block}.class-requests{border:1px solid var(--blue-line);background:var(--soft);border-radius:18px;gap:8px;margin-bottom:22px;padding:14px;display:grid}.class-requests-title{margin:0;font-size:1.05rem}.class-requests .field-hint{margin:0 0 4px}.class-request-actions{flex-wrap:wrap;gap:8px;display:flex}.invite-note.is-dead{color:var(--danger)}.progress-line{align-items:center;gap:10px;display:flex}.progress-label{color:var(--warn);white-space:nowrap;align-items:center;gap:4px;font-size:.78rem;font-weight:700;display:inline-flex}.progress-label svg{width:14px;height:14px}.progress-track{background:var(--soft);border-radius:999px;flex:1;height:6px;display:flex;overflow:hidden}.progress-track span{background:#f0b429;height:100%;transition:width .3s;display:block}.progress-track span.is-wait{background:#f7de9d}.student-course{margin-bottom:28px}.student-course-head{align-items:center;gap:12px;margin-bottom:12px;display:flex}.student-course-head h2{margin:0}.student-course-head small{color:var(--muted)}.student-unit{margin:0 0 14px}.student-unit-head{align-items:center;gap:10px;margin:0 0 8px;display:flex}.student-unit-head .cover-thumb{border-radius:8px;width:36px;height:36px;font-size:.8rem}.student-unit-head small{color:var(--muted);margin-left:auto;font-weight:700}@media (max-width:680px){.class-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.class-new{min-height:180px}.lesson-actions{width:100%;margin-left:0}.lesson-actions .button{flex:1}.lesson-results{padding-left:12px}.class-student .button{flex:1}.class-student-wait:empty{display:none}.class-request-actions{width:100%}.class-request-actions .button{flex:1}}.time-spent{color:var(--muted);align-items:center;gap:5px;font-size:.86rem;font-weight:700;display:inline-flex}.time-spent svg,.lesson-result-time svg,.stats-time svg{width:15px;height:15px}.lesson-result-time{color:var(--muted);white-space:nowrap;align-items:center;gap:4px;font-size:.8rem;font-weight:700;display:inline-flex}.tile-note{color:var(--muted);font-size:.8rem;font-weight:600}.week-time{color:var(--muted);white-space:nowrap;min-height:1em;font-size:.7rem}.open-modes{border:0;gap:8px;margin:0 0 18px;padding:0;display:grid}.open-modes legend{margin-bottom:8px}.open-mode{border:1px solid var(--line);cursor:pointer;background:var(--card);border-radius:14px;align-items:flex-start;gap:10px;padding:10px 12px;display:flex}.open-mode.is-on{border-color:var(--blue);box-shadow:0 0 0 1px var(--blue) inset}.open-mode span{flex-direction:column;gap:2px;display:flex}.open-mode small{color:var(--muted);font-size:.82rem;line-height:1.4}.open-modes .field-hint{margin:4px 0 0}.course-next{color:var(--muted);align-items:center;gap:8px;margin:10px 0 0;font-size:.86rem;display:flex}.course-next svg{width:16px;height:16px}.course-waiting{align-items:center;gap:8px;margin:0;display:flex}.course-waiting svg{width:16px;height:16px}.course-progress{border:1px solid var(--line);background:var(--card);border-radius:14px;margin:-2px 0 16px;padding:10px 14px}.student-unit{border:1px solid var(--line);background:var(--card);border-radius:18px;margin:0 0 12px;overflow:hidden}.student-unit .student-unit-head{text-align:left;cursor:pointer;background:0 0;border:0;gap:12px;width:100%;margin:0;padding:12px 14px}.student-unit .student-unit-head:hover{background:var(--soft)}.student-unit .student-unit-head .cover-thumb{border-radius:10px;width:48px;height:48px}.student-unit-title{flex-direction:column;gap:5px;min-width:0;display:flex}.student-unit-title b{font-size:.98rem}.student-unit.is-open .module-chevron{transform:rotate(180deg)}.student-unit>.rows{padding:0 12px 12px}.badge.is-fix{background:var(--bad-soft);color:var(--bad)}.open-lesson-title{color:var(--muted);overflow-wrap:anywhere}.open-whom{border:0;gap:8px;min-width:0;margin:0 0 14px;padding:0;display:grid}.open-whom legend{margin-bottom:8px;font-weight:700}.open-whom label{border:1px solid var(--line);cursor:pointer;border-radius:12px;align-items:center;gap:10px;min-height:44px;padding:8px 12px;font-weight:650;display:flex}.open-whom label.is-on{background:var(--blue-soft);border-color:var(--blue-line)}.open-whom input{accent-color:var(--blue);margin:0}.open-whom svg{width:18px;height:18px;color:var(--blue);flex:none}.open-lesson-recipients{margin-bottom:10px}.open-lesson-recipients .pick-list{margin:0}.open-lesson-recipients .pick-row{padding:5px 12px}.open-lesson-recipients input[type=checkbox]{accent-color:var(--blue);flex:none;margin:0}.open-lesson-footer{flex-wrap:wrap;justify-content:space-between;align-items:end;margin-top:8px;padding-top:4px}.open-lesson-footer .due-field{margin:0}.open-lesson-footer .due-note{flex-basis:100%;margin:0}.open-lesson-buttons{gap:8px;margin-inline-start:auto;display:flex}@media (max-width:600px){.open-lesson-footer .due-field,.open-lesson-buttons{width:100%}.open-lesson-footer .due-row input{flex:1;min-width:0;max-width:none}.open-lesson-buttons{grid-template-columns:1fr;display:grid}.open-lesson-buttons .primary{order:-1}}.open-class-note{margin-bottom:14px}.lesson-class-issue{justify-self:end;min-height:44px}.student-unit>.rows{box-shadow:none;background:0 0;border:0;padding:0 8px 8px}.lesson-actions{grid-template-columns:minmax(0,max-content) auto auto;align-items:center;display:grid}.lesson-actions>.button{justify-content:center;min-width:152px}.lesson-actions>.button.lesson-copy{width:40px;min-width:0;padding:0}.lesson-row{cursor:pointer}.lesson-title{font:inherit;color:inherit;text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border:0;padding:0}.lesson-title:focus-visible{box-shadow:none;outline:none}.lesson{transition:border-color .15s,background-color .15s}.lesson:has(.lesson-row:hover .lesson-title:not(:disabled)){border-color:var(--blue-line);background:var(--blue-soft)}.lesson-row:hover .lesson-title:not(:disabled){color:var(--blue)}.lesson-row:has(.lesson-title:focus-visible){outline:2px solid var(--blue);outline-offset:-3px;border-radius:14px}.lesson-main b{position:relative}.lesson-main b .spin{width:14px;height:14px;margin:-7px 0 0 6px;position:absolute;top:50%}.add-lesson{border:1.5px dashed var(--blue-line);background:var(--soft);border-radius:14px;grid-template-columns:1fr 1fr;gap:8px;padding:8px;display:grid}.add-lesson>.button{background:var(--card);height:40px;color:var(--blue);justify-content:center}@media (max-width:680px){.lesson-actions{grid-template-columns:1fr auto auto}.lesson-actions>.button{min-width:0}.lesson-actions>span:empty{display:none}}.student-panels{grid-template-columns:1fr;gap:14px;margin:0 0 22px;display:grid}@media (min-width:681px){.student-panels:has(.works-counter){grid-template-columns:minmax(240px,1fr) minmax(0,1.7fr);align-items:stretch}}.student-panels .works-counter{padding:16px 18px}.student-panels>*,.student-panels .works-counter p{margin:0}.student-panels .words-panel{padding:16px 18px}.student-panels .words-panel p{font-size:.88rem}.student-panels .words-panel{flex-wrap:wrap}.student-panels .words-panel>div{flex:220px}.class-tabs-row{flex-wrap:wrap;align-items:center;gap:10px 14px;margin-bottom:18px;display:flex}.class-tabs-row>.search-field{flex:1;min-width:240px;margin:0}.check{cursor:pointer;align-items:center;gap:8px;padding:5px 0;font-size:.94rem;display:inline-flex}.check input{width:18px;height:18px;accent-color:var(--blue);flex:none}.summary{gap:10px;display:grid}.summary-scroll{border:1px solid var(--line);border-radius:var(--radius);background:var(--card);width:100%;max-width:100%;box-shadow:var(--shadow);max-height:70vh;overflow:auto}.summary-table{border-collapse:separate;border-spacing:0;width:100%;font-size:.86rem}.summary-table th,.summary-table td{border-bottom:1px solid var(--line);text-align:center;white-space:nowrap;padding:0}.summary-table thead th{z-index:2;background:var(--soft);color:var(--ink-2);font-weight:700;position:sticky;top:0}.summary-table thead tr:nth-child(2) th{top:31px}.sum-unit{border-left:1px solid var(--line);font-size:.8rem;color:var(--muted)!important;padding:7px 10px!important}.sum-lesson{border-left:1px solid var(--line);width:92px;min-width:92px;max-width:92px;padding:6px!important}.sum-lesson span{-webkit-line-clamp:2;white-space:normal;-webkit-box-orient:vertical;font-size:.76rem;line-height:1.2;display:-webkit-box;overflow:hidden}.sum-name{z-index:1;background:var(--card);text-overflow:ellipsis;min-width:150px;max-width:220px;font-weight:700;position:sticky;left:0;overflow:hidden;text-align:left!important;padding:8px 14px!important}thead .sum-name{z-index:3;background:var(--soft)}tfoot .sum-name,tfoot td{background:var(--soft);color:var(--ink-2);font-weight:700}.sum-cell{border-left:1px solid var(--line);height:40px}.sum-cell button{width:100%;height:40px;font:inherit;cursor:pointer;background:0 0;border:0;place-items:center;font-weight:800;display:grid}.sum-cell button svg{width:16px;height:16px}.sum-cell.is-good button{background:var(--good-soft);color:var(--good)}.sum-cell.is-mid button{background:var(--warn-soft);color:var(--warn)}.sum-cell.is-bad button{background:var(--bad-soft);color:var(--bad-dark)}.sum-cell.is-wait button{background:var(--soft);color:var(--warn)}.sum-cell.is-fix button{background:var(--card);color:var(--bad);box-shadow:inset 0 0 0 2px var(--bad-line)}.sum-cell.is-given button{background:var(--soft);color:var(--muted)}.sum-cell.is-none{color:var(--line-2);font-weight:800}.sum-cell button:hover:not(:disabled){filter:brightness(.96)}.sum-avg,.sum-foot{border-left:1px solid var(--line);min-width:74px;font-weight:800;padding:0 10px!important}.sum-avg.is-good,.sum-foot.is-good{color:var(--good)}.sum-avg.is-mid,.sum-foot.is-mid{color:var(--warn)}.sum-avg.is-bad,.sum-foot.is-bad{color:var(--bad-dark)}.summary-legend{color:var(--ink-2);flex-wrap:wrap;gap:8px 16px;margin:0;padding:0;font-size:.82rem;font-weight:600;list-style:none;display:flex}.sum-key{align-items:center;gap:7px;display:inline-flex}.sum-chip{background:var(--soft);min-width:34px;height:24px;color:var(--muted);border-radius:7px;place-items:center;padding:0 6px;font-size:.78rem;font-weight:800;display:inline-grid}.sum-chip svg{width:14px;height:14px}.sum-chip.is-good{background:var(--good-soft);color:var(--good-dark)}.sum-chip.is-mid{background:var(--warn-soft);color:var(--warn)}.sum-chip.is-bad{background:var(--bad-soft);color:var(--bad-dark)}.sum-chip.is-wait{background:var(--soft);color:var(--warn)}.sum-chip.is-fix{background:var(--card);color:var(--bad);box-shadow:inset 0 0 0 2px var(--bad-line)}.sum-chip.is-none{background:var(--card);color:var(--line-2);box-shadow:inset 0 0 0 1px var(--line)}.copy-classes{gap:8px;display:grid}.copy-class{border:1px solid var(--line);background:var(--card);font:inherit;text-align:left;cursor:pointer;border-radius:14px;align-items:center;gap:12px;padding:8px 12px;display:flex}.copy-class:hover:not(:disabled){border-color:var(--blue-line);background:var(--soft)}.copy-class b{flex:1}.copy-class>svg{width:18px;height:18px;color:var(--muted)}.invite-renew{flex-wrap:wrap;align-self:flex-start;margin-top:10px;font-size:.9rem}.sum-chip.is-given{box-shadow:inset 0 0 0 1px var(--line-2)}.cover-field{flex-wrap:nowrap;align-items:center}.cover-field-actions{flex:1;min-width:0}.cover-field-buttons{flex-wrap:wrap;align-items:center;gap:8px;display:flex}@media (max-width:680px){.class-tabs-row>.search-field{flex-basis:100%;min-width:0}.lesson-actions>.button{white-space:nowrap;height:40px}.summary{grid-template-columns:minmax(0,1fr)}.summary-scroll{width:auto}}.summary-table thead th.sum-name{z-index:5;background:var(--soft);box-shadow:1px 0 0 var(--line);position:sticky;top:0;left:0}.summary-table tbody .sum-name,.summary-table tfoot .sum-name{box-shadow:1px 0 0 var(--line)}.sum-wait{vertical-align:middle;width:15px;height:15px;color:var(--warn)}@media (max-width:680px){.class-page .back,.class-page .button{min-height:40px}.class-head>.cover-head{width:52px;height:52px;font-size:1.2rem}.class-head-main h1{font-size:1.2rem}.class-tabs-row>.tabs{flex:1;width:auto;min-width:0}.class-tabs-row>.search-field{order:3}.class-head-actions{gap:2px}.class-head-actions .btn-label{display:none}}.lesson-cover{object-fit:cover;background:var(--blue-soft);border-radius:12px;flex:none;width:44px;height:44px}.module-head .cover-thumb{border-radius:14px;width:60px;height:60px}.assign-mode{margin-bottom:16px}.results-grid{grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:12px;display:grid}.results-rules{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.results-preview{gap:6px;margin:0 0 16px;padding:0;list-style:none;display:grid}.results-preview li{border:1px solid var(--line);background:var(--soft);border-radius:12px;align-items:center;gap:10px;padding:8px 12px;font-size:.9rem;display:flex}.results-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:700;overflow:hidden}.results-preview .percent{background:var(--soft);color:var(--muted);border-radius:999px;padding:2px 9px;font-size:.78rem;font-weight:800}.results-preview .percent.is-good{background:var(--good-soft);color:var(--good-dark)}.results-preview .percent.is-mid{background:var(--warn-soft);color:var(--warn)}.results-preview .percent.is-bad{background:var(--bad-soft);color:var(--bad-dark)}.results-target{color:var(--ink-2);text-align:right;text-overflow:ellipsis;white-space:nowrap;min-width:0;margin-left:auto;overflow:hidden}@media (max-width:680px){.results-grid,.results-rules{grid-template-columns:1fr}.results-preview li{flex-wrap:wrap}.results-target{text-align:left;white-space:normal;width:100%;margin-left:0}}.students .rows{border:1px solid var(--line);border-radius:var(--radius);background:var(--card);overflow:hidden}.journal-tiles{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:0 0 22px;display:grid}.tile{border:1px solid var(--line);background:var(--card);box-shadow:var(--shadow);border-radius:18px;flex-direction:column;gap:6px;padding:16px 18px;display:flex}.tile>span{color:var(--muted);align-items:center;gap:6px;font-size:.84rem;font-weight:700;display:flex}.tile>span svg{width:15px;height:15px}.tile b{font-family:var(--font-display);font-size:1.45rem;font-weight:600;line-height:1.2}.tile b small{font-family:var(--font-body);color:var(--muted);font-size:.85rem;font-weight:600}.tile b.is-good{color:var(--good)}.tile b.is-mid{color:var(--warn)}.tile b.is-bad{color:var(--bad)}.tile b.is-text{font-size:1rem;font-family:var(--font-body);padding-top:4px;font-weight:800}.journal-weeks .muted{margin:-4px 0 14px;font-size:.88rem}.weeks{grid-template-columns:repeat(8,minmax(0,1fr));align-items:end;gap:8px;display:grid}.week{justify-items:center;gap:4px;min-width:0;display:grid}.week-value{color:var(--ink-2);min-height:1.2em;font-size:.78rem;font-weight:800}.week-track{background:var(--soft);border-radius:10px;align-items:flex-end;width:100%;max-width:44px;height:120px;display:flex;overflow:hidden}.week-bar{background:var(--blue);border-radius:10px 10px 0 0;width:100%;display:block}.week-bar.is-good{background:var(--good)}.week-bar.is-mid{background:#e8a93a}.week-bar.is-bad{background:var(--bad)}.week-label{color:var(--ink-2);white-space:nowrap;font-size:.76rem;font-weight:700}.week-short{display:none}.week-count{color:var(--muted);white-space:nowrap;font-size:.72rem}.journal .rows{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}@media (max-width:680px){.weeks{gap:4px}.week-count{display:none}.week-label{font-size:.66rem}.week-long{display:none}.week-short{display:inline}.journal-tiles{grid-template-columns:1fr 1fr}}@media print{body{background:var(--card)}.tile,.panel,.journal .rows{box-shadow:none;break-inside:avoid}.week-bar,.week-track{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.install-hint{border:1px solid var(--blue-line);background:var(--blue-soft);border-radius:16px;align-items:center;gap:12px;margin:0 0 20px;padding:12px 44px 12px 14px;display:flex;position:relative}.install-hint img{border-radius:10px;flex:none}.install-hint p{color:var(--blue-dark);flex:1;margin:0;font-size:.88rem}.install-hint p b{color:var(--ink);display:block}.install-hint>.icon-button{position:absolute;top:6px;right:6px}@media (max-width:680px){.install-hint{flex-wrap:wrap}.install-hint p{flex-basis:calc(100% - 60px)}.install-hint .button{margin-left:52px}}.journal-head{margin-bottom:20px}.journal-head .page-bar{margin-bottom:4px}.journal-head>p{color:var(--muted);margin:0;padding-left:2px;font-size:.86rem}@media (max-width:680px){.journal-head .page-bar{flex-wrap:nowrap;gap:6px}.journal-head .page-bar h1{white-space:nowrap;flex:1 1 0;order:0;display:block}.journal-head .back{flex:none;justify-content:center;width:44px;height:44px;padding:0}.journal-head .back-label,.journal-head .btn-label{display:none}.journal-head .page-actions{flex:none;margin-left:0}.journal-head .page-actions .button{justify-content:center;width:40px;min-height:40px;padding:0}}.journal-mistakes ul{gap:8px;margin:10px 0 0;padding:0;list-style:none;display:grid}.journal-mistakes li>span:first-child{overflow-wrap:anywhere;min-width:0;line-height:1.25}.journal-mistakes li{grid-template-columns:150px 1fr 32px;align-items:center;gap:10px;font-weight:600;display:grid}.journal-mistakes b{text-align:right}@media (max-width:680px){.journal-mistakes li{grid-template-columns:110px 1fr 28px}}.auth-promo{margin:0}:where(.field,.due-row,.students-tools,.group-create,.assign-row,.results-assign,.invite-row,.spell-row,.video-moment) :is(input:not([type=checkbox],[type=radio],[type=file],[type=range]),select),.link-input{border:1.5px solid var(--line-2);background-color:var(--card);border-radius:14px;height:48px;min-height:48px;padding:0 14px;font-size:1rem;line-height:1.2}select{-webkit-appearance:none;appearance:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7490' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;background-position:right 16px center!important;background-repeat:no-repeat!important;background-size:16px!important;padding-right:44px!important}select:disabled{cursor:not-allowed;opacity:.6}:where(.field,.due-row,.students-tools,.group-create,.assign-row,.results-assign,.invite-row) :is(input,select):hover:not(:disabled,:focus){border-color:var(--line)}:where(.field,.due-row,.students-tools,.group-create,.assign-row,.results-assign,.invite-row,.sort-editor-head,.mark-form) :is(input,select,textarea):focus{border-color:var(--blue)}:where(.sort-editor-head,.mark-form) input:not([type=file]){border:1.5px solid var(--line-2);background:var(--card);border-radius:12px;height:44px;min-height:44px;padding:0 12px;font-size:.97rem}.tf-editor-row .tf-toggle button{min-height:38px}.due-row input{max-width:240px}input[type=date]{min-width:170px}input:-webkit-autofill{-webkit-text-fill-color:var(--ink);caret-color:var(--ink);box-shadow:0 0 0 1000px var(--card) inset;transition:background-color 9999s ease-out}input:-webkit-autofill:hover{-webkit-text-fill-color:var(--ink);caret-color:var(--ink);box-shadow:0 0 0 1000px var(--card) inset;transition:background-color 9999s ease-out}input:-webkit-autofill:focus{-webkit-text-fill-color:var(--ink);caret-color:var(--ink);box-shadow:0 0 0 1000px var(--card) inset;transition:background-color 9999s ease-out}input[type=search]::-webkit-search-cancel-button{cursor:pointer}.auto-grow{resize:none;overflow-wrap:anywhere;field-sizing:fixed;overflow:hidden}@media (max-width:680px){:is(input,select,textarea){font-size:16px}}.results-grid,.results-rules{gap:16px;margin-bottom:16px}.results-grid .field,.results-rules .field{margin-bottom:0}.assign-who input[type=checkbox]{width:20px;height:20px;accent-color:var(--blue)}.match-game>.link-button{padding:10px 12px}.essay-text{font-family:var(--font-body);font-weight:500}.rubric-row{grid-template-columns:190px auto;justify-content:start;align-items:center;gap:10px;display:grid}@media (max-width:680px){.rubric-row{grid-template-columns:1fr;gap:6px}.rubric-scale button{width:44px;height:40px}}.task-panel{scroll-margin-top:84px}.panel>h3:first-child{margin-top:0}@media (max-width:680px){.reaction-bar>span{display:none}.reaction-bar{gap:5px}.reaction-bar button{width:38px;height:38px}.task-panel{scroll-margin-top:200px}}.trainer>.flash-card.intro{width:100%}@media (max-width:640px){:is(.icon-button:not(.cell-file-remove,.task-file-remove),.strip-arrow,.strip-list button,.reaction-bar button,.toast button,.stopwatch-pill,.button.small,.add-link,[role=menuitem]){min-height:40px}:is(.icon-button:not(.cell-file-remove,.task-file-remove),.strip-arrow,.strip-list button,.reaction-bar button){min-width:40px}.choice-editor-row .cell-file-remove.icon-button{min-width:40px;min-height:40px}.add-link{justify-content:flex-start}.toast button{justify-content:center}}.guide-button{position:relative}.guide-button.is-new:after{content:"";background:var(--accent);border-radius:50%;width:9px;height:9px;animation:1.6s ease-in-out infinite guide-pulse;position:absolute;top:6px;right:6px;box-shadow:0 0 0 2px #fff}@keyframes guide-pulse{50%{transform:scale(1.35)}}@media (prefers-reduced-motion:reduce){.guide-button.is-new:after{animation:none}}.guide-intro{color:var(--ink-2);align-items:center;gap:8px;margin:0 0 14px;display:flex}.guide-intro svg,.guide-foot svg{width:18px;height:18px;color:var(--blue);flex:none}.guide{flex-direction:column;gap:8px;display:flex}.guide-topic{border:1px solid var(--line);background:var(--card);border-radius:16px;overflow:hidden}.guide-topic.is-open{border-color:var(--blue-line)}.guide-head{text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:12px;width:100%;padding:12px 14px;font-size:.98rem;display:flex}.guide-head:hover{background:var(--soft)}.guide-icon{background:var(--blue-soft);width:36px;height:36px;color:var(--blue);border-radius:11px;flex:none;place-items:center;display:grid}.guide-icon svg{width:19px;height:19px}.guide-topic.is-open .module-chevron{transform:rotate(180deg)}.guide-topic ul{color:var(--ink-2);flex-direction:column;gap:8px;margin:0;padding:0 18px 14px 62px;font-size:.92rem;line-height:1.5;display:flex}.guide-foot{color:var(--muted);align-items:center;gap:8px;margin:14px 0 0;font-size:.86rem;display:flex}@media (max-width:560px){.guide-topic ul{padding-left:18px}}.guide-head:focus{outline:none}.guide-head:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}.guide-lang{margin:-4px 0 10px}.up-lessons,.pay-notice{border:1px solid var(--line);background:var(--card);border-radius:16px;margin:0 0 12px;padding:12px 14px}.up-lessons h2{margin:0 0 6px;font-size:1rem}.up-lessons ul{flex-wrap:wrap;gap:4px 20px;margin:0;padding:0;list-style:none;display:flex}.up-lessons li{align-items:baseline;gap:8px;display:flex}.up-day,.up-teacher,.up-cancelled{color:var(--muted)}.up-cancelled{font-size:inherit}.up-lessons li.is-cancelled b,.up-lessons li.is-cancelled .up-day{color:var(--faint);text-decoration:line-through}.student-money:empty{display:none}.student-money{gap:12px;margin:0 0 12px;display:grid}.student-money>*{margin:0}@media (min-width:900px){.student-money:has(>.pay-notice+.up-lessons){grid-template-columns:1fr 1fr;align-items:start}}.pay-notice{border-left:4px solid var(--warn)}.pay-head{flex-wrap:wrap;align-items:baseline;gap:0 10px;margin:0 0 10px;display:flex}.pay-label{width:100%;color:var(--muted);font-size:.8rem;font-weight:700}.pay-sum{font-size:1.3rem;font-weight:800}.pay-split{color:var(--muted);font-size:.86rem}.pay-notice .quiet{margin:0}.pay-body{align-items:flex-start;gap:14px;display:flex}.pay-qr{background:#fff;border-radius:8px;flex:none;width:120px;height:120px;overflow:hidden}.pay-qr svg{width:100%;height:100%;display:block}.pay-text{justify-items:start;gap:8px;min-width:0;display:grid}.pay-details{text-wrap:pretty;white-space:pre-wrap;overflow-wrap:anywhere;-webkit-hyphens:none;hyphens:none;margin:0;font-size:1rem;font-weight:600;line-height:1.35}@media (max-width:380px){.pay-qr{width:104px;height:104px}.pay-body{gap:10px}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
