@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,::backdrop{--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:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, 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;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::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,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, 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:where(:not(iframe)){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]){appearance:button}::file-selector-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}.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}.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}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.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,)}.select-all{-webkit-user-select:all;user-select:all}}:root{--bg:#f3f6fc;--surface:#fff;--raised:#edf2fc;--text:#182742;--muted:#586a89;--line:#dce4f1;--accent:#3f64dc;--accent-text:#fff;--soft:#eaf0ff;--error:#ab3353;--shadow:0 14px 40px #1834670b;--glow:#738af526}.dark{--bg:#080f20;--surface:#101b31;--raised:#15233d;--text:#eff3ff;--muted:#a2b1cd;--line:#253552;--accent:#8ca9ff;--accent-text:#101b31;--soft:#1b2b4c;--error:#ff97ac;--shadow:0 18px 45px #02061240;--glow:#5676ff24;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;margin:0;font:15px/1.7 Segoe UI,-apple-system,BlinkMacSystemFont,Arial,sans-serif}.dark body{background:radial-gradient(ellipse at 78% 2%, #14265380, transparent 48%), var(--bg)}button,input,textarea,select{font:inherit}button{cursor:pointer;border:1px solid var(--line);background:var(--raised);color:var(--text);border-radius:11px;padding:11px 17px;transition:background .18s,border .18s,transform .18s}button:hover:not(:disabled){border-color:var(--accent);background:var(--soft);transform:translateY(-1px)}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--accent);outline-offset:3px}a{color:var(--accent)}button.primary,.primary{color:#fff;background:linear-gradient(135deg,#6687f4,#5374e3);border-color:#7391ff;font-weight:650;box-shadow:0 5px 22px #5575ee24}button.primary:hover:not(:disabled){background:linear-gradient(135deg,#819dff,#6686f2)}.shell{min-height:100vh;display:flex}aside{background:var(--surface);border-right:1px solid var(--line);flex-shrink:0;width:252px;height:100vh;padding:34px 22px;position:sticky;top:0}.dark aside{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:linear-gradient(#101b31e8,#0b1528e8)}.brand{color:var(--accent);align-items:center;gap:13px;font-size:32px;font-weight:750;line-height:1.3;text-decoration:none;display:flex}.brand>span{color:var(--text);letter-spacing:-.5px;font-size:21px}.eyebrow{letter-spacing:2px;color:var(--muted);font-size:10px;font-weight:750}aside>.eyebrow{opacity:.8;margin:44px 10px 15px;font-size:9px}nav button{text-align:left;width:100%;color:var(--muted);background:0 0;border:1px solid #0000;gap:13px;margin:7px 0;padding:13px 16px;display:flex}nav button.active{background:var(--soft);border-color:var(--line);color:var(--accent);box-shadow:inset 3px 0 var(--accent);font-weight:650}.aside-bottom{color:var(--muted);border-top:1px solid var(--line);padding:18px;font-size:12px;line-height:1.8;position:absolute;bottom:32px}.aside-bottom strong{color:var(--text)}.aside-bottom p{margin:14px 0 0;font-size:10px}main{width:100%;max-width:1400px;margin:0 auto;padding:30px 48px 140px}main>header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:25px;display:flex}.theme{border-radius:10px;padding:4px 12px;font-size:21px}.notice{background:var(--soft);border:1px solid var(--line);color:var(--muted);border-radius:11px;padding:11px 15px;font-size:11px}.status{min-height:27px;color:var(--accent);font-size:11px}.title{justify-content:space-between;align-items:center;gap:25px;margin:22px 0 34px;display:flex}.title>div>p:last-child{max-width:650px}.title h1{max-width:800px}h1{letter-spacing:-1.35px;margin:9px 0 14px;font-size:39px;font-weight:750;line-height:1.18}h2{letter-spacing:-.6px;margin:0 0 16px;font-size:23px;font-weight:650;line-height:1.45}h3{margin:12px 0;font-size:18px;font-weight:650;line-height:1.5}h4{margin:20px 0 8px;font-weight:650}p{color:var(--muted);margin:12px 0}small{color:var(--muted);font-size:11px}.badge{background:var(--soft);border:1px solid var(--line);white-space:nowrap;color:var(--accent);border-radius:30px;padding:7px 12px;font-size:10px;font-weight:650}.stats{grid-template-columns:repeat(3,1fr);gap:20px;display:grid}.card{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:19px;margin-bottom:24px;padding:27px}.stats .card{position:relative;overflow:hidden}.stats .card:after{content:"";background:radial-gradient(var(--glow), transparent 70%);border-radius:50%;width:120px;height:120px;position:absolute;top:-35px;right:-25px}.stats .card strong{letter-spacing:-1.3px;color:var(--text);margin:12px 0;font-size:42px;font-weight:700;display:block}.stats p{margin:0;font-size:12px;font-weight:600}.card small{display:block}.hero{background:linear-gradient(120deg, var(--surface), var(--soft));border:1px solid var(--line);border-radius:21px;justify-content:space-between;align-items:center;margin:8px 0 30px;padding:37px;display:flex;position:relative;overflow:hidden}.dark .hero{background:radial-gradient(circle at 85% 60%,#4269c738,#0000 44%),linear-gradient(120deg,#132342,#142142)}.hero h2{letter-spacing:-.8px;font-size:32px}.hero p{margin-bottom:22px}.hero-art{color:var(--accent);text-align:center;border:1px solid var(--line);background:linear-gradient(140deg, var(--glow), transparent);width:220px;box-shadow:0 0 60px var(--glow);border-radius:40px;padding:30px;font-size:88px;line-height:1.3;transform:rotate(-8deg)}.hero-art span{letter-spacing:2px;margin-top:14px;font-size:8px;display:block}.grid{grid-template-columns:1.12fr 1fr;gap:24px;display:grid}.row{justify-content:space-between;align-items:center;gap:12px;display:flex}.course{text-align:left;border:0;border-bottom:1px solid var(--line);background:0 0;border-radius:0;align-items:center;gap:15px;width:100%;padding:18px 0;display:flex}.course>span:nth-child(2){flex:1}.course-icon{background:var(--soft);border:1px solid var(--line);color:var(--accent);border-radius:13px;padding:7px 14px;font-size:23px}form{margin-top:22px}label{color:var(--text);margin:15px 0 8px;font-size:12px;font-weight:600;display:block}input:not([type=checkbox]),select,textarea{background:var(--bg);width:100%;color:var(--text);border:1px solid var(--line);border-radius:11px;min-width:0;padding:12px 14px;transition:border .18s}input::placeholder,textarea::placeholder{color:var(--muted);opacity:.65}textarea{resize:vertical;min-height:135px;margin-bottom:10px;line-height:1.75}select{margin-bottom:20px}input[type=checkbox]{accent-color:#7595ff;flex-shrink:0;width:18px;height:18px}.check{align-items:center;gap:12px;margin:13px 0;font-size:14px;font-weight:400;display:flex}.upload{border:1.5px dashed var(--line);text-align:center;background:linear-gradient(120deg, var(--soft), var(--surface));color:var(--accent);border-radius:16px;padding:34px}.upload input{margin-top:18px;font-size:12px}.upload input::file-selector-button{background:var(--raised);color:var(--text);border:1px solid var(--line);cursor:pointer;border-radius:7px;padding:7px 12px}fieldset{border:1px solid var(--line);border-radius:13px;margin-bottom:24px;padding:20px}legend{color:var(--muted);padding:0 8px;font-size:12px;font-weight:650}details{border-top:1px solid var(--line);padding:17px 0}summary{cursor:pointer;color:var(--muted);font-size:13px;font-weight:600}summary:hover{color:var(--accent)}.source-text{white-space:pre-wrap;overflow-wrap:anywhere;max-height:260px;font-size:13px;line-height:1.8;overflow:auto}.history{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:15px;padding:15px 0;font-size:13px;display:flex}.topic{margin-top:24px}progress{appearance:none;background:var(--line);border:0;border-radius:20px;width:100%;height:6px;margin:13px 0;overflow:hidden}progress::-webkit-progress-bar{background:var(--line)}progress::-webkit-progress-value{background:linear-gradient(90deg,#5578ef,#8ba6ff)}progress::-moz-progress-bar{background:#7897ff}.question{max-width:960px;margin-top:18px}.question h2{color:var(--text);letter-spacing:-.3px;margin:24px 0;font-size:25px;font-weight:600;line-height:1.65}.options{gap:13px;margin:29px 0;display:grid}.options button{text-align:left;background:var(--bg);align-items:center;gap:17px;padding:18px 20px;font-size:15px;line-height:1.6;display:flex}.options button>span{border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:4px 12px;font-size:12px}.options .chosen{border:1px solid var(--accent);background:var(--soft);box-shadow:0 0 0 2px var(--glow)}.options .correct{background:#43b58b10;border-color:#5ccda7}.options .correct>span{color:#79dab9;background:#43b58b25}.rationale{background:var(--soft);border-left:3px solid var(--accent);border-radius:12px;margin-bottom:22px;padding:24px}.rationale p{line-height:1.85}.question-dots{flex-wrap:wrap;gap:8px;margin-bottom:24px;display:flex}.question-dots button{padding:7px 11px;font-size:12px}.question-dots .active{background:var(--accent);color:var(--accent-text)}.question-dots .answered{background:var(--soft);border-color:var(--accent)}.muted{font-size:12px;line-height:1.8}.error{color:var(--error);border:1px solid var(--error);background:#dc42650a;border-radius:12px;margin-top:16px;padding:16px}footer{color:var(--muted);text-align:center;opacity:.7;padding:35px 0 10px;font-size:10px}.material-list{gap:17px;margin-top:27px;display:grid}.material-card{border:1px solid var(--line);background:var(--bg);border-radius:15px;padding:23px;transition:border .2s}.material-card:hover{border-color:#4e648a}.material-card h3{overflow-wrap:anywhere;margin:0;font-size:16px}.material-card a{text-decoration:none}.material-card a:hover{text-decoration:underline}.material-preview{max-width:80ch;font-size:13px;line-height:1.8}.file-button{background:var(--soft);color:var(--accent);border:1px solid var(--line);border-radius:10px;padding:10px 15px;font-size:12px;font-weight:600;text-decoration:none;display:inline-block}.file-button:hover{border-color:var(--accent)}.material-card .row{flex-wrap:wrap;margin-bottom:12px}.material-card details{margin-top:18px}.remove-button{color:var(--error);background:0 0;font-size:11px}.prompt-editor{border:1px solid var(--line);background:var(--surface);border-radius:14px;margin:24px 0;padding:22px}.prompt-editor h3{margin-top:0;font-size:17px}.prompt-editor details{margin:13px 0}.prompt-editor .source-text{white-space:pre-wrap;max-height:260px;font-size:12px}.prompt-preview,.exact-reply{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--text);background:var(--bg);border:1px solid var(--line);border-radius:10px;max-height:500px;padding:18px;font:12px/1.8 Consolas,monospace;overflow:auto}.import-draft{border:1px solid var(--accent);border-radius:15px;margin:25px 0;padding:24px}.review-intro{border-bottom:1px solid var(--line);margin-bottom:24px;padding-bottom:20px}.review-intro h2{margin:8px 0 10px;font-size:29px}.review-controls{max-width:950px}.review-controls .prompt-editor{background:var(--bg)}.generate-review{padding:14px 24px;font-size:15px}.review-result{border-top:1px solid var(--line);margin-top:38px;padding-top:28px}.review-result h2{overflow-wrap:anywhere;max-width:640px;font-size:23px}.download-actions{flex-wrap:wrap;gap:8px;display:flex}.review-result>.row{flex-wrap:wrap;align-items:flex-start;margin-bottom:22px}.source-reader{margin-top:30px}.review-source-text{max-height:400px;color:var(--text);margin:18px 0;padding:18px 8px;font-size:15px;line-height:1.9;overflow:auto}.review-source-text p{color:var(--text)}blockquote{border-left:3px solid var(--accent);color:var(--muted);margin:20px 0;padding:8px 18px}.empty-state{text-align:center;padding:55px 24px}.empty-state>span{color:var(--accent);font-size:45px}.text-button{text-transform:uppercase;letter-spacing:1px;color:var(--muted);background:0 0;border:0;margin-bottom:12px;padding:7px 0;font-size:10px}.text-button:hover{background:0 0}.markdown-body{color:var(--text);overflow-wrap:anywhere;font-size:16px;line-height:1.9}.markdown-body p{color:var(--text);margin:15px 0;line-height:1.9}.markdown-body h1{margin:26px 0 20px;font-size:31px;line-height:1.35}.markdown-body h2{border-bottom:1px solid var(--line);margin:33px 0 16px;padding-bottom:12px;font-size:24px}.markdown-body h3{color:var(--accent);margin:27px 0 12px;font-size:19px}.markdown-body h4{font-size:16px}.markdown-body ul,.markdown-body ol{margin:17px 0;padding-left:25px;list-style:outside}.markdown-body ol{list-style:decimal}.markdown-body li{margin:9px 0;padding-left:5px}.markdown-body strong{color:var(--text);font-weight:700}.markdown-body table{border-collapse:collapse;width:100%;margin:25px 0;font-size:13px;line-height:1.7;display:block;overflow:auto}.markdown-body th,.markdown-body td{border:1px solid var(--line);text-align:left;min-width:125px;max-width:370px;padding:12px 16px}.markdown-body th{background:var(--soft);color:var(--accent);font-weight:650}.markdown-body tr:nth-child(2n){background:var(--bg)}.markdown-body pre{background:var(--bg);border:1px solid var(--line);border-radius:11px;padding:18px;font-size:12px;line-height:1.8;overflow:auto}.markdown-body code{background:var(--soft);border-radius:4px;padding:2px 5px;font:12px/1.7 Consolas,monospace}.markdown-body pre code{background:0 0;padding:0}.markdown-body hr{border:0;border-top:1px solid var(--line);margin:30px 0}.markdown-body blockquote p{color:var(--muted)}.study-chat{z-index:50;position:fixed;bottom:24px;right:28px}.chat-launcher{text-align:left;color:#f0f5ff;background:linear-gradient(120deg,#1c3159,#192746);border:1px solid #5776c7;border-radius:16px;align-items:center;gap:15px;min-width:255px;padding:14px 18px;display:flex;box-shadow:0 12px 38px #02081770}.chat-launcher:hover:not(:disabled){background:#22375e}.chat-launcher>span:nth-child(2){flex:1;font-size:13px;font-weight:650}.chat-launcher small{color:#a9bde6;font-size:10px;font-weight:400;display:block}.chat-spark{color:#a5beff;font-size:25px}.chat-panel{background:var(--surface);border:1px solid #405887;border-radius:21px;flex-direction:column;width:440px;height:min(680px,100dvh - 130px);display:flex;position:absolute;bottom:77px;right:0;overflow:hidden;box-shadow:0 25px 100px #0206139c}.chat-panel>header{background:linear-gradient(140deg, var(--soft), var(--surface));border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:12px;padding:23px 24px 15px;display:flex}.chat-panel h2{margin:7px 0;font-size:20px}.chat-panel header p{margin:3px 0;font-size:11px}.chat-panel header button{background:0 0;border:0;padding:3px 10px;font-size:22px}.chat-settings{border-top:0;border-bottom:1px solid var(--line);flex-shrink:0;max-height:240px;padding:10px 24px;font-size:11px;overflow:auto}.chat-settings summary{font-size:10px}.chat-settings p{font-size:11px;line-height:1.7}.chat-settings small{display:block}.chat-settings button{margin-top:12px;padding:6px 10px;font-size:10px}.chat-messages{overscroll-behavior:contain;flex:1;min-height:0;padding:20px 23px;overflow:auto}.chat-welcome{text-align:center;padding:18px 3px}.chat-orb{color:var(--accent);background:var(--soft);border:1px solid var(--line);width:70px;height:70px;box-shadow:0 0 45px var(--glow);border-radius:23px;margin:auto;font-size:38px;line-height:70px}.chat-welcome h3{margin-top:22px;font-size:21px}.chat-welcome p{margin-bottom:22px;font-size:12px}.chat-welcome button{text-align:left;background:var(--bg);width:100%;margin:9px 0;padding:11px 14px;font-size:11px;display:block}.chat-turn{margin-bottom:25px}.chat-turn>small{letter-spacing:1.3px;color:var(--muted);font-size:9px;font-weight:650}.chat-turn.user{background:var(--soft);border:1px solid var(--line);border-radius:15px 15px 3px;margin-left:32px;padding:14px 18px}.chat-turn.user p{color:var(--text);white-space:pre-wrap;margin:7px 0 0;font-size:13px}.chat-turn.assistant .markdown-body{font-size:13px;line-height:1.85}.chat-turn.assistant .markdown-body p{line-height:1.85}.chat-turn.assistant .markdown-body h1,.chat-turn.assistant .markdown-body h2{font-size:18px}.chat-turn.assistant .markdown-body h3{font-size:15px}.chat-turn.assistant .markdown-body table{font-size:11px}.chat-turn.assistant .markdown-body td,.chat-turn.assistant .markdown-body th{min-width:100px;padding:8px}.chat-turn .text-button{margin-top:8px;padding:0;font-size:8px}.chat-composer{border-top:1px solid var(--line);background:var(--bg);align-items:flex-end;gap:10px;margin:0;padding:13px 17px 8px;display:flex}.chat-composer textarea{background:var(--surface);resize:none;border-radius:12px;min-height:58px;max-height:160px;margin:0;font-size:12px}.chat-composer button{height:45px;margin-bottom:4px;padding:8px 13px;font-size:22px}.chat-disclaimer{background:var(--bg);text-align:center;padding:4px 12px 12px;font-size:8px}.chat-error{color:var(--error);background:var(--bg);margin:0;padding:8px 18px;font-size:11px}.thinking{color:var(--accent);font-size:12px;animation:1.5s ease-in-out infinite pulse}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@keyframes pulse{50%{opacity:.5}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media (max-width:1100px){aside{width:210px;padding:28px 16px}main{padding:27px 28px 130px}.hero-art{width:160px;padding:25px;font-size:65px}.title .badge{display:none}h1{font-size:34px}.stats{gap:14px}}@media (max-width:760px){.shell{display:block}aside{z-index:20;border-right:0;border-bottom:1px solid var(--line);width:100%;height:auto;padding:15px 18px 9px;position:sticky;top:0}.brand{font-size:23px}.brand>span{font-size:15px;line-height:1.25}.brand br{display:none}.brand span:before{content:""}aside>.eyebrow,.aside-bottom{display:none}nav{gap:3px;margin-top:12px;display:flex;overflow:auto}nav button{white-space:nowrap;border-radius:8px;gap:6px;width:auto;margin:0;padding:9px 12px;font-size:10px}nav button.active{box-shadow:none}main{padding:20px 18px 120px}main>header{margin-bottom:18px}.notice{padding:10px 12px;font-size:10px}.title{align-items:flex-start;margin:15px 0 25px}h1{font-size:30px}.title>button{padding:8px 10px;font-size:10px}.stats{gap:8px}.stats .card{border-radius:13px;padding:16px 12px}.stats p{font-size:10px}.stats small{font-size:9px}.stats .card strong{font-size:31px}.grid{grid-template-columns:1fr;gap:0}.hero{margin-bottom:24px;padding:25px}.hero h2{font-size:25px}.hero-art{display:none}.hero p{font-size:13px}.card{border-radius:15px;padding:20px}.row{flex-wrap:wrap;gap:10px}.row input{flex:1;min-width:140px}.question h2{font-size:20px}.options button{padding:14px;font-size:13px}.badge{font-size:9px}.material-card{padding:17px}.markdown-body{font-size:15px}.markdown-body h1{font-size:27px}.markdown-body h2{font-size:22px}.review-result h2{font-size:20px}.study-chat{bottom:14px;right:14px}.chat-launcher{border-radius:13px;min-width:220px;padding:11px 15px}.chat-panel{border-radius:16px;width:min(440px,100vw - 28px);height:min(650px,100dvh - 115px);bottom:69px}.chat-panel>header{padding:18px 19px 13px}.chat-messages{padding:18px}.chat-settings{padding:9px 19px}.chat-panel h2{font-size:18px}.chat-turn.user{margin-left:20px}.prompt-editor{padding:17px}.download-actions{width:100%}.download-actions a{text-align:center;flex:1}}.material-chat-workspace{gap:24px;display:grid}.simple-materials h2,.author-chat h2{margin:0 0 18px;font-size:20px}.simple-materials{border-bottom:1px solid var(--line);padding-bottom:22px}.simple-file-list{max-height:240px;overflow:auto}.simple-file-list .check{background:var(--bg);border:1px solid var(--line);border-radius:11px;align-items:flex-start;padding:12px 15px}.simple-file-list .check input{margin-top:3px}.author-chat>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:15px;padding-bottom:16px;display:flex}.author-chat>header h2{margin:0}.author-messages{overscroll-behavior:contain;min-height:240px;max-height:750px;padding:24px 0;overflow:auto}.conversation-empty{text-align:center;color:var(--muted);padding:65px 20px}.author-turn{padding:20px 0}.author-turn>small{letter-spacing:1.5px;font-size:10px;font-weight:700}.author-turn.user{border:1px solid var(--line);background:var(--soft);border-radius:16px;margin:15px 0 15px 14%;padding:17px 22px}.author-turn.user p{color:var(--text);white-space:pre-wrap}.author-composer{border-top:1px solid var(--line);align-items:flex-end;gap:12px;margin:0;padding-top:20px;display:flex}.author-composer textarea{min-height:100px;margin:0}.author-composer button{white-space:nowrap}.ready-test{border:1px solid var(--accent);background:var(--soft);border-radius:15px;margin:13px 0;padding:25px}.ready-test select{max-width:400px}.ready-test h3{font-size:22px}@media (max-width:700px){.author-composer{flex-wrap:wrap}.author-composer button{width:100%}.author-chat>header small{font-size:10px}.author-messages{max-height:650px}.author-turn.user{margin-left:7%}}.exam-session{--success:#16805b;--success-bg:#eaf7f1;--wrong:#b02a47;--wrong-bg:#fff0f2;max-width:1180px;margin:34px auto 0}.dark .exam-session{--success:#70dfb1;--success-bg:#122f2e;--wrong:#ffa4b3;--wrong-bg:#352031}.exam-heading{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:30px;display:flex}.exam-heading h1{letter-spacing:-1px;overflow-wrap:anywhere;margin:8px 0 12px;font-size:clamp(24px,3vw,34px);line-height:1.25}.exam-heading p:not(.eyebrow){color:var(--muted);margin:0;font-size:14px;line-height:1.7}.exam-exit{background:0 0;flex-shrink:0;font-size:12px}.exam-layout{grid-template-columns:minmax(0,1fr) 230px;align-items:start;gap:24px;display:grid}.exam-paper{border:1px solid var(--line);background:var(--surface);min-width:0;box-shadow:var(--shadow);border-radius:20px;overflow:hidden}.exam-paper-top{border-bottom:1px solid var(--line);background:linear-gradient(110deg, var(--soft), var(--surface));justify-content:space-between;align-items:center;gap:12px;padding:19px 30px;display:flex}.exam-position{letter-spacing:1.4px;white-space:nowrap;color:var(--muted);font-size:10px;font-weight:650}.exam-position strong{color:var(--text);letter-spacing:-.3px;margin-left:8px;font-size:19px}.exam-position>span{letter-spacing:0;font-size:13px;font-weight:400}.exam-save-state{color:var(--muted);text-align:right;font-size:10px}.exam-paper-body{padding:25px 30px 30px}.exam-question-meta{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;font-size:11px;display:flex}.exam-question-meta>span{line-height:1.6}.exam-flag{white-space:nowrap;background:0 0;padding:7px 9px;font-size:11px}.exam-flag[aria-pressed=true]{color:var(--accent);border-color:var(--accent)}.exam-question-heading{letter-spacing:-.25px;margin:24px 0 14px;font-size:clamp(19px,1.7vw,23px);font-weight:600;line-height:1.65}.exam-question-heading:focus{outline:none}.exam-prose{overflow-wrap:anywhere}.exam-prose>:first-child{margin-top:0}.exam-prose>:last-child{margin-bottom:0}.exam-prose p{color:inherit;margin:0 0 12px}.exam-prose ul,.exam-prose ol{padding-left:24px}.exam-prose table{border-collapse:collapse;max-width:100%;display:block;overflow:auto}.exam-prose th,.exam-prose td{border:1px solid var(--line);padding:8px}.exam-answer-hint{color:var(--muted);margin:0 0 24px;font-size:12px;line-height:1.6}.exam-choices{gap:12px;margin:24px 0 0;display:grid}.exam-choice{text-align:left;background:var(--bg);border-radius:12px;align-items:flex-start;gap:14px;width:100%;min-height:70px;padding:17px;display:flex}.exam-choice:disabled{opacity:1;cursor:default}.exam-choice-letter{border:1px solid var(--line);min-height:30px;color:var(--muted);background:var(--surface);border-radius:50%;flex:0 0 30px;justify-content:center;align-items:center;font-size:12px;font-weight:650;display:flex}.exam-choice-letter.square{border-radius:7px}.exam-choice-copy{flex:1;min-width:0;padding-top:2px;font-size:14px;line-height:1.75}.exam-choice-mark{flex:0 0 16px;padding-top:2px;font-size:17px;font-weight:700}.exam-choice-caption{margin-top:7px;font-size:11px;font-weight:650;display:block}.exam-choice.is-selected{border-color:var(--accent);background:var(--soft)}.exam-choice.is-selected .exam-choice-letter{border-color:var(--accent);color:var(--accent)}.exam-choice.is-correct{border-color:var(--success);background:var(--success-bg)}.exam-choice.is-correct .exam-choice-letter,.exam-choice.is-correct .exam-choice-mark,.exam-choice.is-correct .exam-choice-caption{color:var(--success)}.exam-choice.is-incorrect{border-color:var(--wrong);background:var(--wrong-bg)}.exam-choice.is-incorrect .exam-choice-letter,.exam-choice.is-incorrect .exam-choice-mark,.exam-choice.is-incorrect .exam-choice-caption{color:var(--wrong)}.exam-choice.is-neutral{color:var(--muted)}.exam-feedback{border:1px solid var(--line);border-top:3px solid var(--success);background:var(--raised);border-radius:12px;margin-top:28px;padding:24px;scroll-margin-bottom:100px}.exam-feedback.is-incorrect{border-top-color:var(--wrong)}.exam-feedback-heading{align-items:center;gap:12px;margin-bottom:24px;display:flex}.exam-feedback-heading>span{background:var(--success-bg);width:38px;height:38px;color:var(--success);border-radius:50%;place-items:center;font-size:19px;display:grid}.exam-feedback.is-incorrect .exam-feedback-heading>span{background:var(--wrong-bg);color:var(--wrong)}.exam-feedback h3{margin:0 0 4px;font-size:17px}.exam-feedback-heading p{color:var(--muted);margin:0;font-size:12px}.exam-feedback h4{text-transform:uppercase;letter-spacing:1px;color:var(--accent);margin:0 0 10px;font-size:12px}.exam-feedback .exam-prose{font-size:14px;line-height:1.85}.exam-explanations{border-top:1px solid var(--line);margin-top:20px;padding-top:16px}.exam-explanations summary{color:var(--accent);cursor:pointer;font-size:12px}.exam-explanations>div{margin-top:16px}.exam-explanations strong,.exam-tip strong{font-size:12px}.exam-tip{border-top:1px solid var(--line);margin-top:18px;padding-top:16px}.exam-source{color:var(--muted);margin:20px 0 0;font-size:11px}.exam-controls{border-top:1px solid var(--line);background:var(--bg);justify-content:space-between;align-items:center;gap:14px;padding:20px 30px;display:flex}.exam-controls button{font-size:13px}.exam-end{color:var(--muted);font-size:12px}.exam-sidebar{min-width:0;position:sticky;top:24px}.exam-overview{border:1px solid var(--line);background:var(--surface);border-radius:16px;padding:22px}.exam-overview-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.exam-overview h2{margin:0;font-size:13px}.exam-overview-heading>span{color:var(--accent);font-size:12px;font-weight:650}.exam-overview progress{margin:16px 0 8px}.exam-overview>p{color:var(--muted);margin:0;font-size:11px}.exam-mode{color:var(--muted);border-bottom:1px solid var(--line);align-items:center;gap:7px;margin-bottom:18px;padding:18px 0;font-size:10px;display:flex}.exam-mode-dot{background:var(--accent);border-radius:50%;flex:0 0 5px;height:5px}.exam-navigator summary{cursor:pointer;color:var(--muted);font-size:11px}.exam-question-grid{grid-template-columns:repeat(4,1fr);gap:8px;max-height:330px;margin-top:14px;padding:3px;display:grid;overflow:auto}.exam-question-grid button{background:var(--bg);border-radius:7px;min-width:0;height:35px;padding:0;font-size:11px;position:relative}.exam-question-grid .is-answered{background:var(--soft);color:var(--accent)}.exam-question-grid .is-correct{color:var(--success);background:var(--success-bg)}.exam-question-grid .is-incorrect{color:var(--wrong);background:var(--wrong-bg)}.exam-question-grid .is-current{outline:2px solid var(--accent);outline-offset:1px}.exam-question-grid sup{color:var(--accent);font-size:10px;position:absolute;top:-3px;right:1px}.exam-finish{border-top:1px solid var(--line);margin-top:22px;padding-top:16px}.exam-finish p{color:var(--muted);margin:0 0 12px;font-size:10px}.exam-finish button{width:100%;padding:10px 5px;font-size:11px}.exam-sidebar-note{color:var(--muted);margin-top:16px;padding:0 12px;font-size:11px;line-height:1.8}.exam-results{border:1px solid var(--line);background:linear-gradient(120deg, var(--soft), var(--surface));border-radius:16px;align-items:center;gap:24px;margin-bottom:24px;padding:24px;display:flex}.exam-results h2{margin:0 0 6px;font-size:18px}.exam-results p{color:var(--muted);margin:0;font-size:12px;line-height:1.7}.exam-results button{margin-left:auto;font-size:12px}.exam-score{color:var(--accent);letter-spacing:-2px;font-size:44px;font-weight:700}.exam-score span{letter-spacing:0;margin-left:3px;font-size:18px}.exam-disclaimer{color:var(--muted);margin:20px 0;font-size:10px;line-height:1.8}@media (max-width:1120px){.exam-layout{grid-template-columns:minmax(0,1fr)}.exam-sidebar{position:static}.exam-question-grid{grid-template-columns:repeat(auto-fill,minmax(36px,1fr))}.exam-finish button{width:auto;padding:11px 18px}}@media (max-width:600px){.exam-session{margin-top:24px}.exam-heading{flex-direction:column;gap:16px;margin-bottom:20px}.exam-heading h1{font-size:25px}.exam-heading p:not(.eyebrow){font-size:12px}.exam-paper-top{padding:16px 18px}.exam-save-state{max-width:110px;line-height:1.5}.exam-paper-body{padding:18px}.exam-question-meta{align-items:flex-start}.exam-question-heading{margin-top:22px;font-size:19px}.exam-choice{gap:10px;padding:14px 12px}.exam-choice-copy{font-size:13px}.exam-choice-mark{flex-basis:12px}.exam-feedback{padding:18px}.exam-controls{gap:10px;padding:18px}.exam-controls button{padding:11px 13px;font-size:12px}.exam-results{flex-wrap:wrap;gap:16px;padding:20px}.exam-results button{margin-left:0}.exam-results h2{font-size:16px}.exam-results>div:nth-child(2){flex:1}.shell:has(.exam-session) .study-chat:not(.is-open) .chat-launcher{border-radius:50%;justify-content:center;width:48px;min-width:0;height:48px;padding:0}.shell:has(.exam-session) .study-chat:not(.is-open) .chat-launcher>span:not(.chat-spark){clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}}@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}
:root{--success:#166447;--success-bg:#eaf7f1;--wrong:#a12843;--wrong-bg:#fff0f2;--radius:14px}.dark{--bg:#0b1220;--surface:#111d30;--raised:#18263c;--line:#2b3a50;--text:#edf2fa;--muted:#aab9cf;--accent:#9bb9ff;--soft:#1c3050;--success:#8be4be;--success-bg:#153530;--wrong:#ffadbc;--wrong-bg:#382332;--shadow:none}body{font-size:15px;line-height:1.65}.dark body{background:var(--bg)}button{border-radius:9px;min-height:44px;font-weight:550;line-height:1.4;transition:background .15s,border-color .15s}button:hover:not(:disabled){transform:none}button.primary,.primary{box-shadow:none;color:#fff;background:#446ddd;border-color:#6286e9}button.primary:hover:not(:disabled){background:#527be6}button[aria-pressed=true]{background:var(--soft);border-color:var(--accent);color:var(--accent)}input,select,textarea{border-radius:9px;min-width:0;font-size:16px}input,select{min-height:44px}input[type=checkbox]{width:20px;height:20px;min-height:20px;accent-color:var(--accent);flex-shrink:0}h1{letter-spacing:-1px;font-size:clamp(27px,3vw,38px);line-height:1.2}h2{letter-spacing:-.3px;font-size:20px;line-height:1.4}h3{font-size:18px;line-height:1.55}h4{margin:20px 0 8px;font-size:15px}p{overflow-wrap:anywhere}small{font-size:12px}label{font-weight:550}summary{cursor:pointer;min-height:44px;padding:10px 0}progress{accent-color:var(--accent);width:100%;height:6px}button,a,input,select,textarea{touch-action:manipulation}.icon{vertical-align:middle;flex-shrink:0;width:20px;height:20px}.shell{min-width:0}.shell>.site-sidebar{background:var(--surface);-webkit-backdrop-filter:none;backdrop-filter:none;border-right:1px solid var(--line);width:236px;padding:30px 18px}.brand{gap:12px}.brand>.brand-symbol{background:var(--soft);width:38px;height:38px;color:var(--accent);border-radius:11px;place-items:center;display:grid}.brand>span{font-size:19px}.brand-symbol .icon{width:24px;height:24px}.site-sidebar nav button{align-items:center;gap:12px;margin:5px 0;padding:12px;font-size:14px}.site-sidebar nav button.active{box-shadow:none;border-color:var(--line)}.aside-bottom{padding:16px 10px;left:18px;right:18px}.site-sidebar>.eyebrow{letter-spacing:1.3px;margin:38px 12px 14px}main{min-width:0;max-width:1500px;padding:28px 36px 110px}main>header{gap:16px;min-height:44px;margin-bottom:10px}main>header>.eyebrow{letter-spacing:1.5px;flex:1;font-size:11px}.theme{place-items:center;width:44px;padding:10px;display:grid}.menu-toggle{display:none}.status{text-align:right;min-height:20px;font-size:12px}.title{margin:20px 0 28px}.title h1{margin:8px 0 12px}.title p:last-child{color:var(--muted);margin-bottom:0}.eyebrow{letter-spacing:1.6px;font-size:10px}.card{border-radius:var(--radius);border:1px solid var(--line);box-shadow:none;background:var(--surface);padding:26px}.card h2{margin-top:0}.card+.card{margin-top:20px}.stats{gap:18px;margin-bottom:24px}.stats .card{margin:0;padding:22px 24px}.stats .card strong{font-size:34px;line-height:1.4}.stats .card p{margin:0 0 10px}.stats small{color:var(--muted);display:block}.grid{gap:22px}.study-actions{grid-template-columns:1fr 1fr;gap:22px;margin:0 0 24px;display:grid}.study-actions .card{flex-direction:column;align-items:flex-start;margin:0;display:flex}.study-actions .icon{color:var(--accent);width:24px;height:24px;margin:0 0 18px}.study-actions h2{margin:0 0 8px}.study-actions p{color:var(--muted);flex:1;margin:0 0 24px}.study-actions button{margin-top:auto}.course{border-radius:10px}.course-icon{background:var(--soft)}.section-heading,.page-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.section-heading h2{margin:0}.page-actions{margin:18px 0 24px}.history{border-bottom:1px solid var(--line);align-items:center;gap:20px;padding:20px 0;display:flex}.history:last-child{border-bottom:0}.history>div:first-child,.history>p{flex:1;min-width:0}.history strong,.history small{display:block}.history strong{font-weight:600}.history small{color:var(--muted);margin-top:3px}.history button{flex-shrink:0;font-size:13px}.history-score{color:var(--accent);font-size:14px;font-weight:600}.empty-state{text-align:center;color:var(--muted);padding:48px 24px}.empty-state h2{color:var(--text)}.empty-state p{max-width:540px;margin:14px auto 24px}.material-chat-workspace{grid-template-columns:minmax(210px,270px) minmax(0,1fr);gap:28px;margin-top:28px;display:grid}.simple-materials{border:0;border-right:1px solid var(--line);padding:0 24px 0 0}.simple-materials .eyebrow,.author-chat .eyebrow{margin:0 0 8px}.simple-materials h2{margin-bottom:8px;font-size:18px}.simple-materials>.muted{margin:0 0 22px;font-size:12px}.simple-file-list{max-height:620px}.simple-file-list .check{background:var(--surface);gap:12px;min-height:64px;margin:0 0 10px;padding:13px 12px}.simple-file-list .check:has(input:checked){border-color:var(--accent);background:var(--soft)}.simple-file-list .check input{margin-top:3px}.simple-file-list strong{overflow-wrap:anywhere;font-size:14px;font-weight:550;display:block}.simple-file-list small{color:var(--muted);margin-top:5px;display:block}.author-chat{min-width:0}.author-chat>header{align-items:flex-start}.author-chat>header h2{font-size:19px}.author-chat>header small{color:var(--muted);margin-top:4px;font-size:11px}.author-messages{scrollbar-width:thin;min-height:280px;max-height:620px;padding:16px 2px}.author-turn{padding:18px 4px}.author-turn.user{background:var(--raised);border-radius:12px;margin-left:10%;padding:16px 20px}.conversation-empty{max-width:480px;margin:auto;padding:65px 24px}.author-composer{gap:12px}.author-composer textarea{min-height:100px;line-height:1.6}.author-composer button{min-width:82px}.markdown,.exam-prose{line-height:1.8}.markdown table{display:block;overflow-x:auto}.markdown pre,.exam-prose pre{max-width:100%;overflow:auto}.ready-test{border-radius:12px}.download-actions{flex-wrap:wrap}.file-card,.upload{border-radius:12px}.file-actions{flex-wrap:wrap}.exam-session{margin-top:24px}.exam-paper,.exam-overview{border-radius:var(--radius);box-shadow:none}.exam-paper-top{background:var(--surface)}.exam-choice{border-radius:10px;min-height:64px}.exam-choice-copy{line-height:1.75}.exam-question-meta{flex-wrap:wrap;align-items:flex-start;gap:14px}.question-actions{flex-wrap:wrap;gap:8px;display:flex}.question-actions button{white-space:nowrap;background:0 0;justify-content:center;align-items:center;gap:7px;padding:9px 12px;font-size:12px;display:inline-flex}.question-actions button[aria-pressed=true]{background:var(--soft)}.question-actions .icon{width:16px;height:16px}.navigator-legend{color:var(--muted);flex-wrap:wrap;gap:10px;font-size:11px;display:flex}.finish-dialog{color:var(--text);background:var(--surface);border:1px solid var(--line);border-radius:16px;width:min(520px,100% - 32px);margin:auto;padding:28px;box-shadow:0 24px 90px #0007}.finish-dialog::backdrop{background:#020712b3}.finish-dialog h2{margin-top:0}.finish-dialog p{color:var(--muted)}.finish-dialog .row{flex-wrap:wrap;margin-top:24px}.results-summary{flex-wrap:wrap;align-items:center;gap:30px;margin-bottom:32px;display:flex}.score-ring{border:6px solid var(--soft);border-top-color:var(--accent);border-radius:50%;flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;width:146px;height:146px;display:flex}.score-ring strong{font-size:36px;line-height:1.3}.score-ring span{color:var(--muted);font-size:12px}.result-tallies{flex:1;grid-template-columns:repeat(3,1fr);gap:28px;display:grid}.result-tallies>div{flex-direction:column;gap:5px;display:flex}.result-tallies strong{font-size:28px}.result-tallies span{color:var(--muted);font-size:13px}.result-tallies>div:first-child strong{color:var(--success)}.result-tallies>div:nth-child(2) strong{color:var(--wrong)}.results-summary>div:last-child p{color:var(--muted);font-size:13px}.topic-breakdown{margin:0 0 34px}.topic-breakdown h2{margin-bottom:6px}.topic-breakdown>p{margin-top:0;font-size:13px}.topic-cards{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;display:grid}.topic-cards button{text-align:left;background:var(--surface);border-radius:12px;min-width:0;padding:18px}.topic-cards strong,.topic-cards span{display:block}.topic-cards span{color:var(--muted);margin:8px 0 10px;font-size:13px}.filter-chips{flex-wrap:wrap;gap:8px;margin:20px 0;display:flex}.filter-chips button{background:var(--surface);padding:8px 14px;font-size:13px}.filter-chips button[aria-pressed=true]{background:var(--soft)}.topic-clear{margin:0 0 20px}.review-question{padding:28px;margin:20px 0!important}.review-question-top,.review-question-meta{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.review-question-top{margin-bottom:16px}.review-question-meta>.muted{font-size:13px}.review-question h3{margin:22px 0;font-size:18px}.review-question h3 p{margin:0}.outcome{background:var(--raised);color:var(--muted);border-radius:6px;align-items:center;gap:6px;padding:4px 11px;font-size:12px;font-weight:650;display:inline-flex}.outcome.correct{color:var(--success);background:var(--success-bg)}.outcome.incorrect{color:var(--wrong);background:var(--wrong-bg)}.review-options{gap:10px;display:grid}.review-option{border:1px solid var(--line);border-radius:9px;gap:16px;padding:14px 18px;display:flex}.review-option>strong{color:var(--muted);padding-top:2px}.review-option>div{min-width:0}.review-option p{margin:0}.review-option.right{border-color:var(--success);background:var(--success-bg)}.review-option.wrong{border-color:var(--wrong);background:var(--wrong-bg)}.review-option small{color:var(--muted);margin:6px 10px 0 0;font-weight:650;display:inline-block}.review-option.right small{color:var(--success)}.review-option.wrong small{color:var(--wrong)}.review-rationale{border-left:3px solid var(--accent);background:var(--bg);border-radius:0 10px 10px 0;margin-top:24px;padding:22px 24px;font-size:15px}.review-rationale>p:first-child{margin-top:0}.review-rationale>p:last-child{margin-bottom:0}.review-rationale details{margin:16px 0 0}.locked-note{background:var(--soft);color:var(--muted);border-radius:10px;margin-top:20px;padding:18px;font-size:14px}.bank-toolbar{flex-wrap:wrap;align-items:flex-end;gap:16px;margin-top:26px;display:flex}.bank-toolbar label{flex:1;min-width:180px;font-size:13px}.bank-toolbar label:first-child{flex:2}.bank-toolbar input,.bank-toolbar select{width:100%;margin:8px 0 0}.bank-toolbar>button{margin-bottom:0}.saved-bank>.muted{margin-top:18px;font-size:12px}.skip-link{z-index:100;background:var(--surface);border:2px solid var(--accent);border-radius:8px;padding:12px 20px;position:fixed;top:-90px;left:16px}.skip-link:focus{top:12px}main:focus{outline:none}footer{color:var(--muted);margin-top:45px}@media (min-width:1025px) and (max-width:1250px){main{padding-left:26px;padding-right:26px}.material-chat-workspace{grid-template-columns:210px minmax(0,1fr);gap:22px}.simple-materials{padding-right:20px}.exam-layout{grid-template-columns:minmax(0,1fr) 210px;gap:18px}.exam-question-meta{flex-direction:column}}@media (max-width:1024px){.shell{display:block}.shell>.site-sidebar{z-index:20;border-right:0;border-bottom:1px solid var(--line);width:100%;height:auto;padding:18px 24px;position:relative}.brand br{display:none}.brand>span{font-size:18px}.brand{font-size:20px}.site-sidebar>.eyebrow,.aside-bottom{display:none}.site-sidebar nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:18px 0 0;display:none;overflow:visible}.site-sidebar.is-open nav{display:grid}.site-sidebar nav button{white-space:normal;width:100%;margin:0;padding:12px;font-size:14px}.menu-toggle{place-items:center;padding:10px;display:grid}.menu-toggle .icon{width:20px}.shell>main{width:100%;padding:18px 24px 100px}main>header{margin:0}.title{margin-top:22px}.material-chat-workspace{grid-template-columns:230px minmax(0,1fr);gap:24px}.simple-materials{padding-right:20px}.exam-layout{grid-template-columns:1fr}.exam-sidebar{display:block}.exam-question-grid{grid-template-columns:repeat(auto-fill,minmax(44px,1fr))}.exam-overview{position:static}.results-summary{gap:24px}.result-tallies{gap:20px}.study-chat:not(.is-open) .chat-launcher{border-radius:50%;width:52px;min-width:0;height:52px;padding:12px}.study-chat:not(.is-open) .chat-launcher>span:nth-child(2){display:none}.study-chat{bottom:20px;right:20px}.study-actions{gap:18px}}@media (max-width:650px){.shell>.site-sidebar{padding:16px 18px}.site-sidebar nav{grid-template-columns:1fr 1fr}.site-sidebar nav button{gap:9px;font-size:13px}.shell>main{padding:16px 16px 100px}.brand>span{font-size:17px}.title{margin-bottom:24px}.title h1{font-size:29px}.title p:last-child{font-size:14px}.stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.stats .card{min-width:0;padding:14px 10px}.stats .card p{min-height:31px;font-size:11px;line-height:1.4}.stats .card strong{font-size:27px}.stats .card small{margin-top:4px;font-size:10px;line-height:1.4}.card{padding:20px}.study-actions,.grid{grid-template-columns:1fr;gap:16px}.study-actions .card{padding:22px}.study-actions p{font-size:14px}.history{flex-wrap:wrap;gap:12px}.history>div:first-child{flex-basis:100%}.history>span{flex:1}.history button{font-size:12px}.section-heading{gap:12px}.section-heading button{font-size:12px}.material-chat-workspace{grid-template-columns:1fr;gap:22px;margin-top:22px}.simple-materials{border-right:0;border-bottom:1px solid var(--line);padding:0 0 20px}.simple-file-list{max-height:240px}.author-chat>header{flex-wrap:wrap;gap:10px}.author-chat>header small{font-size:10px;display:block}.author-messages{min-height:220px;max-height:580px}.author-composer{flex-wrap:wrap;display:flex}.author-composer textarea{flex-basis:100%;font-size:16px}.author-composer button{width:auto;margin-left:auto}.author-turn.user{margin-left:4%;padding:14px}.conversation-empty{padding:40px 12px;font-size:14px}.exam-heading{flex-direction:column;gap:16px}.exam-paper-body{padding:22px 18px}.exam-question-meta{flex-direction:column;gap:16px}.exam-choices .exam-choice{padding:14px 12px}.question-actions button{min-height:44px;font-size:12px}.exam-choice-copy{font-size:16px}.exam-position{font-size:10px}.exam-paper-top{padding:16px 18px}.results-summary{justify-content:center;gap:24px;padding:24px 20px}.score-ring{width:138px;height:138px}.result-tallies{text-align:center;flex-basis:100%;gap:12px;width:100%}.results-summary>div:last-child{text-align:center;width:100%}.results-summary>div:last-child p{margin:0 0 14px}.results-summary button{width:100%}.topic-cards{grid-template-columns:1fr}.page-actions{gap:10px}.page-actions button{padding:10px 12px;font-size:12px}.review-question{padding:20px 16px}.review-question-meta{gap:12px}.review-question h3{font-size:17px}.review-option{gap:12px;padding:12px}.review-rationale{padding:18px 16px;font-size:14px}.filter-chips{gap:7px}.filter-chips button{min-height:44px;padding:8px 12px;font-size:12px}.bank-toolbar{gap:14px}.bank-toolbar label{flex-basis:100%;min-width:0}.bank-toolbar>button{width:100%}.finish-dialog{padding:24px}.finish-dialog .row{grid-template-columns:1fr;display:grid}.study-chat{bottom:16px;right:16px}.chat-panel{max-width:calc(100vw - 32px)}.file-actions a,.file-actions button{min-height:44px}.row{flex-wrap:wrap}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.grid>.card{margin:0}.resume-drawer,.notes-drawer{border-bottom:1px solid var(--line);margin:20px 0}.resume-drawer>summary,.notes-drawer>summary{color:var(--accent);font-size:14px}.exam-question-grid sup .icon{width:11px;height:11px}.chat-spark .icon{width:22px;height:22px}.shell:has(.results-page) .study-chat:not(.is-open) .chat-launcher{border-radius:50%;width:52px;min-width:0;height:52px;padding:12px}.shell:has(.results-page) .study-chat:not(.is-open) .chat-launcher>span:nth-child(2){display:none}.material-chat-workspace{flex-direction:column;gap:24px;margin-top:0;display:flex}.material-selector{border:1px solid var(--line);background:var(--bg);border-radius:12px;overflow:hidden}.material-selector-toggle{text-align:left;background:0 0;border:0;border-radius:0;align-items:center;gap:14px;width:100%;padding:18px 20px;display:flex}.material-selector-toggle:hover:not(:disabled){background:var(--raised)}.selector-step{background:var(--soft);width:32px;height:32px;color:var(--accent);border-radius:8px;flex-shrink:0;place-items:center;font-size:12px;display:grid}.material-selector-toggle>span:nth-child(2){flex:1;min-width:0}.material-selector-toggle strong{font-size:16px;display:block}.material-selector-toggle small{color:var(--muted);overflow-wrap:anywhere;margin-top:5px;font-size:12px;font-weight:400;line-height:1.6;display:block}.selector-change{color:var(--accent);align-items:center;gap:12px;font-size:12px;display:flex}.material-selector-content{border-top:1px solid var(--line);padding:22px}.course-picker>label,.library-section-picker>label{margin:0 0 8px;font-size:13px;display:block}.course-picker>select,.library-section-picker>select{width:100%;margin:0}.add-study-group{margin-top:10px}.add-study-group form{margin:12px 0}.add-study-group form>label{margin:0 0 8px;font-size:13px;display:block}.add-study-group .row{gap:8px}.add-study-group input{flex:1;min-width:140px;margin:0}.add-group-button{color:var(--accent);background:0 0;border-color:#0000;align-items:center;gap:6px;padding:8px 10px;font-size:12px;display:inline-flex}.add-group-button .icon{width:16px;height:16px}.selection-fields{grid-template-columns:1fr 1fr;gap:18px;margin-top:18px;display:grid}.selection-fields>label{min-width:0;font-size:13px;display:block}.selection-fields select{width:100%;margin:8px 0 0}.selection-file-list{scrollbar-width:thin;grid-template-columns:1fr 1fr;gap:10px;max-height:300px;margin:12px 0 20px;display:grid;overflow:auto}.selection-file-list .check{border:1px solid var(--line);background:var(--surface);border-radius:9px;align-items:flex-start;gap:10px;min-width:0;margin:0;padding:14px 12px;display:flex}.selection-file-list .check:has(input:checked){border-color:var(--accent);background:var(--soft)}.selection-file-list input{margin:2px 0 0}.selection-file-list .icon{color:var(--muted);width:18px;height:18px;margin-top:3px}.selection-file-list .check>span{min-width:0}.selection-file-list strong{overflow-wrap:anywhere;font-size:13px;font-weight:550;display:block}.selection-file-list small{color:var(--muted);margin-top:4px;font-size:11px;font-weight:400;display:block}.file-selection-tools{flex-wrap:wrap;align-items:center;gap:8px;margin-top:16px;font-size:12px;display:flex}.file-selection-tools>span{margin-right:auto}.file-selection-tools button{background:0 0;padding:8px 12px;font-size:12px}.selection-preview{background:var(--surface);border:1px solid var(--line);border-radius:10px;gap:14px;margin:16px 0 22px;padding:18px;display:flex}.selection-preview>.icon{color:var(--accent);margin-top:3px}.selection-preview strong{font-size:14px}.selection-preview p{color:var(--muted);max-height:110px;margin:6px 0 0;font-size:13px;overflow:auto}.selection-confirm{flex-wrap:wrap;align-items:center;gap:16px;margin-top:20px;display:flex}.selection-confirm small{color:var(--muted)}.material-chat-workspace>.author-chat{width:100%}.material-chat-workspace:has(.material-selector:not(.is-expanded)) .author-messages{min-height:clamp(300px,45dvh,620px);max-height:65dvh}.library-organization{border-bottom:1px solid var(--line);grid-template-columns:1fr 1fr;align-items:start;gap:24px;margin-bottom:28px;padding-bottom:24px;display:grid}.upload-destination{color:var(--muted);margin:0 0 18px;font-size:13px}.upload-destination strong{color:var(--text);font-weight:550}.material-section-assignment{color:var(--muted);align-items:center;gap:14px;margin-top:18px;font-size:12px;display:flex}.material-section-assignment select{flex:1;width:auto;max-width:340px;margin:0;font-size:14px}@media (max-width:650px){.material-selector-toggle{gap:10px;padding:16px 12px}.selector-change{gap:5px;font-size:11px}.material-selector-toggle strong{font-size:14px}.material-selector-content{padding:16px 12px}.selection-fields,.selection-file-list,.library-organization{grid-template-columns:1fr}.library-organization{gap:16px}.selection-file-list{max-height:310px}.material-chat-workspace{gap:22px;margin-top:0}.selection-confirm{gap:10px}.selection-confirm button{width:100%}.selection-confirm small{text-align:center;width:100%}.add-study-group input{flex-basis:100%;width:100%}.material-section-assignment{display:block}.material-section-assignment select{width:100%;max-width:none;margin-top:8px;font-size:16px;display:block}.material-chat-workspace:has(.material-selector:not(.is-expanded)) .author-messages{min-height:280px;max-height:55dvh}}
