
/* F TOEFL foundations: typography, controls and accessible states. */
:root {
  color-scheme: light;
  --font: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --dens: 1; --motion: 1; --spd: 1; --r-base: 10px; --r-sm: 7px; --r-lg: 16px;
  --accent: #38634F; --accent-strong: #2F5543; --accent-soft: #E5EEE8; --accent-border: #C0D2C5;
  --bg: #F4F5F2; --surface: #FFFFFF; --surface-alt: #F7F8F5;
  --text: #24332E; --muted: #5E6B65; --faint: #75817B; --border: #DAE0D9;
  --success: #2C684A; --success-soft: #E6F1E9; --danger: #A8463F; --danger-soft: #F9EDEA; --warning: #87642C;
  --shadow: 0 3px 15px #20382D06; --shadow-float: 0 18px 65px #22392C20;
  --ease-out: cubic-bezier(.2,.7,.3,1); --ease-spring: cubic-bezier(.2,.7,.3,1); --ease-inout: ease-in-out;
  --dur-fast: 150ms; --dur-base: 220ms; --dur-slow: 280ms;
  --orange: var(--accent); --orange-2: var(--accent-strong); --orange-ink: var(--accent-strong);
  --orange-8: var(--accent-soft); --orange-14: var(--accent-soft); --orange-24: var(--accent-border); --orange-40: var(--accent-border);
  --paper: var(--surface); --paper-2: var(--surface-alt); --ink: var(--text); --ink-2: var(--text); --ink-3: var(--muted); --ink-4: var(--faint);
  --line-1: var(--border); --line-2: var(--border); --line-3: var(--muted); --line: 1;
  --studio-bg: var(--bg); --studio-card: var(--surface); --studio-panel: var(--surface-alt); --studio-text: var(--text); --studio-muted: var(--muted);
  --studio-border: var(--border); --studio-accent: var(--accent); --studio-accent-dark: var(--accent-strong); --studio-soft: var(--accent-soft); --studio-soft-text: var(--accent-strong);
  --shadow-1: var(--shadow); --shadow-2: var(--shadow); --shadow-3: var(--shadow-float);
  --teacher-nav-edge: 252px;
}
html[data-teacher-practice],html[data-accent="blue"] { --accent:#456783; --accent-strong:#365570; --accent-soft:#E7EDF3; --accent-border:#C3D2DF; }
html[data-accent="sage"] { --accent:#38634F; --accent-strong:#2F5543; --accent-soft:#E5EEE8; --accent-border:#C0D2C5; }
html[data-accent="plum"] { --accent:#735773; --accent-strong:#604761; --accent-soft:#EFE7EE; --accent-border:#D8C7D6; }
* { box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; scroll-padding-top:24px; }
body { margin:0; min-height:100vh; background:var(--bg); color:var(--text); font:550 calc(16px * var(--dens))/1.65 var(--font); -webkit-font-smoothing:antialiased; overflow-x:hidden; }
button,input,select,textarea { font:inherit; color:inherit; }
button { border:0; background:none; cursor:pointer; }
button:disabled { cursor:not-allowed; opacity:.45; }
a { color:var(--accent-strong); text-decoration:none; }
a:hover { text-decoration:underline; text-underline-offset:3px; }
svg { display:block; }
img,video { max-width:100%; }
h1,h2,h3,h4,p { margin-top:0; }
h1,h2,h3,h4 { line-height:1.25; font-weight:750; letter-spacing:-.025em; }
p { margin-bottom:1em; }
button,a,input,select,textarea,[tabindex] { -webkit-tap-highlight-color:transparent; }
:focus-visible { outline:3px solid var(--accent-border); outline-offset:3px; }
::selection { background:var(--accent-border); color:var(--text); }
[hidden],.hidden,.hide { display:none !important; }
.mono { font-family:var(--mono); font-variant-numeric:tabular-nums; }
.spacer,.grow { flex:1; }
.btn,.exam-btn,.hero-button,.cb-task-action,.subtle-button {
 display:inline-flex; justify-content:center; align-items:center; gap:8px; min-height:42px; padding:9px 16px; border:1px solid var(--border); border-radius:10px; background:var(--surface); color:var(--text); font-size:15px; font-weight:700; line-height:1.4; white-space:nowrap;
 transition:background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.btn:hover,.exam-btn:hover,.subtle-button:hover { background:var(--surface-alt); border-color:var(--accent-border); }
.btn-primary,.hero-button,.cb-task-action,.exam-btn.primary { background:var(--accent); border-color:var(--accent); color:white; }
.btn-primary:hover,.hero-button:hover,.cb-task-action:hover,.exam-btn.primary:hover { background:var(--accent-strong); border-color:var(--accent-strong); }
.btn-ghost { background:transparent; border-color:transparent; color:var(--muted); }
.btn-ghost:hover { background:var(--accent-soft); color:var(--accent-strong); }
.btn-sm { min-height:36px; padding:7px 12px; font-size:14px; }
.btn-block { width:100%; }
.icon-btn { width:38px; height:38px; display:inline-grid; place-items:center; border:1px solid var(--border); border-radius:10px; background:var(--surface); color:var(--muted); }
.icon-btn:hover { background:var(--accent-soft); color:var(--accent-strong); }
.chip,.pill,.tag,.score-pill,.mod-tag { display:inline-flex; gap:6px; align-items:center; padding:4px 9px; border-radius:6px; font-size:13px; font-weight:750; line-height:1.5; color:var(--muted); background:var(--surface-alt); border:1px solid var(--border); }
.chip-orange { color:var(--accent-strong); background:var(--accent-soft); border-color:transparent; }
.input,input[type=text],input[type=password],input[type=email],input[type=tel],input[type=number],input[type=date],input[type=datetime-local],select,textarea { width:100%; border:1px solid var(--border); border-radius:9px; padding:11px 13px; background:var(--surface); color:var(--text); font-size:16px; line-height:1.5; transition:border-color .15s,box-shadow .15s; }
.input:focus,input:focus,select:focus,textarea:focus { border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-soft); outline:none; }
input::placeholder,textarea::placeholder { color:var(--faint); opacity:1; }
input[type=range] { accent-color:var(--accent); }
input[type=checkbox],input[type=radio] { accent-color:var(--accent); width:17px; height:17px; }
button:active { translate:0 1px; }
button:disabled:active { translate:none; }
.seg,.write-switch,.writing-mode-tabs { display:inline-flex; gap:4px; padding:4px; background:#E9EDE7; border:1px solid var(--border); border-radius:11px; }
.seg button,.seg-item,.wsw,.writing-mode-tabs button { padding:8px 15px; border-radius:7px; color:var(--muted); font-size:14px; font-weight:700; white-space:nowrap; }
.seg .on,.seg-item.on,.wsw.on,.writing-mode-tabs button.active { background:var(--surface); color:var(--accent-strong); box-shadow:0 1px 3px #20382D0A; }
.switch { flex:none; position:relative; width:44px; height:26px; border-radius:20px; padding:3px; background:#CBD3CA; }
.switch i { display:block; width:20px; height:20px; border-radius:50%; background:white; box-shadow:0 1px 3px #20382D26; transition:transform .18s var(--ease-out); }
.switch.on { background:var(--accent); }
.switch.on i { transform:translateX(18px); }
.pot,.wslider { accent-color:var(--accent); max-width:260px; }
.panel,.set-card { background:var(--surface); border:1px solid var(--border); border-radius:14px; box-shadow:var(--shadow); overflow:hidden; }
.panel-head { display:flex; align-items:center; gap:12px; padding:17px 22px; border-bottom:1px solid var(--border); font-size:14px; font-weight:750; color:var(--muted); }
.hud { display:flex; align-items:center; gap:10px; flex-wrap:wrap; padding:20px 24px; border-top:1px solid var(--border); }
.hint { display:flex; align-items:center; gap:14px; color:var(--muted); font-size:13px; }
.hint>span { display:inline-flex; align-items:center; gap:5px; }
.kbd { padding:2px 5px; border:1px solid var(--border); border-radius:4px; font:12px var(--mono); background:var(--surface-alt); }
.empty { padding:48px 24px; text-align:center; color:var(--muted); background:var(--surface); border:1px dashed var(--border); border-radius:14px; }
.toast { position:fixed; z-index:500; bottom:28px; left:50%; transform:translate(-50%,10px); opacity:0; pointer-events:none; max-width:calc(100vw - 32px); padding:12px 20px; border:1px solid var(--border); border-radius:12px; background:var(--text); color:white; box-shadow:var(--shadow-float); font-size:14px; transition:opacity .18s,transform .18s; }
.toast.show { transform:translate(-50%,0); opacity:1; }
.modal-back { position:fixed; z-index:600; inset:0; display:grid; place-items:center; padding:24px; background:#172A2345; backdrop-filter:blur(4px); }
.modal { width:min(540px,100%); max-height:calc(100dvh - 48px); overflow:auto; padding:30px; border:1px solid var(--border); border-radius:18px; background:var(--surface); box-shadow:var(--shadow-float); animation:appear .16s ease-out; }
.modal h3 { font-size:23px; margin:0 0 12px; }
.modal p { font-size:16px; color:var(--muted); line-height:1.75; margin:0 0 25px; }
.modal .acts { display:flex; justify-content:flex-end; gap:10px; flex-wrap:wrap; }
.err,.pw-msg.bad { color:var(--danger); font-size:14px; margin:7px 0; }
.ok,.pw-msg.ok { color:var(--success); }
@keyframes appear { from { opacity:0; transform:translateY(5px); } to { opacity:1; transform:none; } }
@keyframes caretBlink { 50% { opacity:0; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; } }
html.reduce-motion *,html.reduce-motion *::before,html.reduce-motion *::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; }
@media print { .topbar,.btn,.no-print,.toast,.ft-chat-drawer,.sidebar-tools,.hud,.write-hud,.workspace-top,.site-foot { display:none !important; } body { background:white; } main.page { margin:0 !important; padding:0 !important; width:100% !important; max-width:none !important; } .panel,.result { break-inside:avoid; box-shadow:none !important; } }

/* F TOEFL workspace: one visual language for study, assignments and examination. */
.app { min-height:100dvh; }
main.page { margin-left:252px; padding:32px 40px 48px; width:calc(100% - 252px); max-width:1680px; min-height:100dvh; }
.topbar.studio-sidebar { position:fixed; inset:0 auto 0 0; width:252px; z-index:60; display:flex; flex-direction:column; padding:27px 18px 18px; gap:0; background:linear-gradient(180deg,#fff 0%,var(--surface-alt) 100%); border-right:1px solid var(--border); overflow-y:auto; scrollbar-width:thin; }
.studio-brand { display:flex; align-items:center; gap:13px; padding:0 12px 30px; color:var(--text); text-align:left; flex:none; }
.studio-logo { color:var(--accent); font-family:var(--serif); font-size:42px; font-weight:800; line-height:1; letter-spacing:-3px; }
.studio-brand strong { display:block; font-size:18px; font-weight:800; letter-spacing:-.5px; }
.studio-brand small { display:block; color:var(--faint); font-size:9px; letter-spacing:2px; margin-top:4px; font-weight:650; }
.nav-caption,.teacher-tools-label { margin:0 12px 10px; font-size:10px; letter-spacing:1.6px; font-weight:750; color:var(--faint); }
.studio-sidebar nav { display:grid; gap:5px; }
.studio-sidebar .navlink,.teacher-manager-btn { width:100%; min-height:45px; padding:10px 13px; border-radius:11px; display:flex; align-items:center; gap:12px; color:var(--muted); background:transparent; text-align:left; font-size:15px; font-weight:650; transition:background .22s var(--ease-out),color .22s var(--ease-out),transform .22s var(--ease-out); }
.studio-sidebar .navlink:hover,.teacher-manager-btn:hover { color:var(--text); background:var(--accent-soft); transform:translateX(3px); }
.studio-sidebar .navlink.active,.teacher-manager-btn.is-current { color:var(--accent-strong); background:var(--accent-soft); }
.nav-symbol { width:24px; text-align:center; font-size:21px; line-height:1; font-weight:500; }
.navlink small { margin-left:auto; font-size:11px; color:var(--faint); }
.nav-pill { display:none; }
.studio-mode-switch { display:flex; padding:4px; border:1px solid var(--border); border-radius:10px; background:var(--surface-alt); margin:24px 4px 14px; gap:2px; flex:none; }
.mode-option { flex:1; min-height:35px; padding:6px; border-radius:7px; font-size:12px; font-weight:750; color:var(--muted); }
.mode-option.selected { background:var(--surface); box-shadow:0 1px 4px #20382D10; color:var(--accent-strong); }
.sidebar-note { padding:20px 12px; margin-top:auto; color:var(--muted); }
.sidebar-note>span { display:block; color:var(--accent); font-size:23px; margin-bottom:8px; }
.sidebar-note>b { display:block; font:italic 19px/1.3 var(--serif); color:var(--text); }
.sidebar-note p { font-size:12px; line-height:1.8; margin:10px 0 0; }
.sidebar-tools { display:flex; gap:8px; align-items:center; border-top:1px solid var(--border); padding:14px 8px; margin-top:10px; flex:none; }
.sidebar-tool { display:flex; align-items:center; gap:9px; padding:6px 0; color:var(--muted); font-size:13px; flex:1; text-align:left; }
.sidebar-tools .icon-btn { width:32px; height:32px; border:0; }
.studio-user { display:flex; width:100%; gap:10px; align-items:center; text-align:left; padding:16px 9px 0; border-top:1px solid var(--border); font-size:13px; font-weight:750; flex:none; }
.studio-user .avatar { width:34px; height:34px; display:grid; place-items:center; border-radius:50%; background:var(--accent-soft); color:var(--accent-strong); }
.studio-user>span:nth-child(2) { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; }
.studio-user small { display:block; font-size:10px; font-weight:550; color:var(--faint); margin-top:3px; }
.studio-user>span:last-child { color:var(--faint); }
.teacher-tools-label { margin-top:20px; }
html[data-teacher-practice] .sidebar-note { display:none; }
html[data-teacher-practice] .sidebar-tools { margin-top:auto; }
.workspace-top { display:flex; align-items:center; justify-content:space-between; gap:15px; padding-bottom:22px; margin-bottom:25px; border-bottom:1px solid var(--border); color:var(--muted); font-size:12px; font-weight:650; }
.workspace-top i { font-style:normal; margin:0 9px; color:#A9B4AC; }
.workspace-top b { color:var(--text); }
.workspace-date { display:flex; align-items:center; gap:7px; font-size:12px; color:var(--muted); }
.online-dot { width:6px; height:6px; border-radius:50%; background:var(--accent); }
.welcome-row { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:26px; }
.welcome-row h1 { margin:0 0 7px; font-size:clamp(26px,2.8vw,36px); letter-spacing:-1.2px; font-weight:750; }
.welcome-row p { margin:0; color:var(--muted); font-size:15px; }
.greet-dot { color:var(--accent); }
.subtle-button { background:transparent; min-height:38px; font-size:13px; }
.eyebrow,.cb-kicker { display:block; font-size:10px; line-height:1.4; font-weight:800; color:var(--accent-strong); letter-spacing:1.6px; }
.studio-cinema { margin-bottom:28px; }
.reference-introduction { margin:0; }
.reference-head { display:none; }
.reference-layout { display:block; }
.reference-carousel { position:relative; border:1px solid #ffffff20; border-radius:22px; overflow:hidden; background:#273f35; box-shadow:0 15px 35px #243d3020,0 3px 8px #243d300a; }
.reference-cards { display:flex; transition:transform .72s cubic-bezier(.22,1,.36,1); }
.reference-card { position:relative; isolation:isolate; min-width:100%; flex:0 0 100%; min-height:318px; display:grid; grid-template-columns:1fr .9fr; gap:35px; align-items:center; padding:42px 48px 72px; background:linear-gradient(120deg,#233c32 5%,#365749 64%,#6f8874 145%); text-align:left; color:#fff; }
html[data-teacher-practice] .reference-card,html[data-accent="blue"] .reference-card { background:linear-gradient(120deg,#263e51 5%,#47677a 68%,#8399a6 145%); }
html[data-accent="plum"] .reference-card { background:linear-gradient(120deg,#403446 5%,#68546b 68%,#a395a2 145%); }
.reference-card::after { content:""; position:absolute; z-index:-1; width:350px; aspect-ratio:1; right:8%; top:-50%; border:1px solid #ffffff20; border-radius:50%; box-shadow:0 0 0 48px #ffffff08,0 0 0 96px #ffffff08; pointer-events:none; }
.reference-card-copy,.preview-visual { transition:opacity .48s ease,transform .68s cubic-bezier(.22,1,.36,1); }
.reference-card[aria-hidden="true"] .reference-card-copy { opacity:.2; transform:translateY(15px); }
.reference-card[aria-hidden="true"] .preview-visual { opacity:.25; transform:translateY(16px) rotate(1deg) scale(.97); }
.reference-card h3 { max-width:580px; font-size:clamp(30px,3vw,42px); line-height:1.23; letter-spacing:-1.3px; margin:16px 0 15px; color:#fff; }
.reference-card p { color:#e1ebe4; font-size:16px; line-height:1.8; margin:0 0 25px; max-width:470px; }
.reference-card-tag { display:inline-flex; align-items:center; width:fit-content; color:#d4e7d8; font-size:11px; font-weight:800; letter-spacing:2px; }
.reference-card-link { display:inline-flex; align-items:center; gap:12px; padding:10px 16px; border:1px solid #ffffff65; border-radius:9px; background:#ffffff12; font-size:14px; font-weight:750; color:#fff; transition:background .2s,transform .2s; }.reference-card-link:hover { background:#ffffff25; transform:translateY(-2px); }
.reference-card-icon { display:none; }
.reference-controls { position:absolute; left:44px; right:35px; bottom:22px; display:flex; gap:8px; align-items:center; justify-content:flex-end; }
.reference-dots { display:flex; align-items:center; gap:6px; margin-right:auto; }
.reference-dots button { width:7px; height:7px; padding:0; border-radius:6px; background:#C5D0C7; transition:width .2s,background .2s; }
.reference-dots button.active { width:25px; background:var(--accent); }
.reference-controls>button { display:grid; place-items:center; width:28px; height:28px; border:1px solid var(--accent-border); border-radius:50%; background:#FFFFFF99; font-size:17px; color:var(--accent-strong); }
.preview-visual { position:relative; justify-self:end; width:min(100%,355px); padding:25px 27px; border:1px solid #ffffffa0; border-radius:16px; background:#fafcf9; box-shadow:0 24px 60px #0e211d35,0 3px 10px #0e211d12; color:var(--text); transform:rotate(-2deg); }
.preview-visual small { font-size:9px; font-weight:800; letter-spacing:1.2px; color:var(--muted); }
.preview-visual p { color:var(--text); font-size:17px; line-height:1.8; margin:16px 0; }
.preview-visual strong { font-family:var(--serif); font-size:34px; color:var(--accent-strong); letter-spacing:-1px; }
.preview-visual .preview-answer,.preview-visual em { color:var(--accent-strong); font-style:normal; border-bottom:2px solid var(--accent); }
.preview-visual .preview-chip { display:inline-block; padding:6px 10px; border-radius:6px; margin:5px 3px 0 0; border:1px solid var(--border); background:var(--surface); font-size:13px; }
.preview-line { display:block; width:80%; height:5px; margin-top:12px; border-radius:3px; background:var(--accent-soft); }
.preview-line.short { width:55%; }
.preview-visual .preview-person { display:flex; align-items:center; gap:8px; color:var(--muted); font-size:12px; }
.preview-visual .preview-person i { width:25px; height:25px; border-radius:50%; background:var(--accent-soft); }
.reference-insight { display:none; }
.cb-dashboard { margin-bottom:28px; }
.cb-dash-top { display:flex; justify-content:space-between; align-items:center; gap:20px; margin:0 0 18px; }
.cb-dash-top h2 { font-size:23px; margin:5px 0 5px; }
.cb-dash-top p { margin:0; color:var(--muted); font-size:14px; }
.cb-profile { display:flex; align-items:center; gap:9px; font-size:13px; }
.cb-profile-avatar { width:37px; height:37px; display:grid; place-items:center; border-radius:50%; background:var(--accent-soft); color:var(--accent-strong); font-weight:750; }
.cb-profile small { display:block; color:var(--muted); font-size:10px; margin-top:3px; }
.cb-metrics { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-bottom:16px; }
.cb-metric { padding:20px 23px; border:1px solid var(--border); border-radius:15px; background:var(--surface); box-shadow:0 4px 16px #20382D08; display:flex; justify-content:space-between; align-items:center; gap:12px; }
.cb-metric span { color:var(--muted); font-size:13px; font-weight:650; }
.cb-metric b { color:var(--text); font-size:29px; line-height:1.1; font-weight:750; font-variant-numeric:tabular-nums; }
.cb-dashboard-grid { display:grid; grid-template-columns:minmax(0,1.9fr) minmax(245px,1fr); gap:16px; }
.cb-assignment-card,.cb-progress-card,.studio-recent { padding:25px; border:1px solid var(--border); border-radius:16px; background:var(--surface); box-shadow:0 5px 22px #20382D08; }
.cb-section-head { display:flex; justify-content:space-between; align-items:center; gap:15px; margin-bottom:16px; }
.cb-section-head h3,.cb-progress-card h3 { font-size:18px; margin:6px 0 0; }
.cb-updated { color:var(--faint); font-size:11px; }
.cb-empty { display:flex; align-items:center; gap:14px; padding:26px 8px; color:var(--muted); }
.cb-empty b { display:block; font-size:15px; color:var(--text); }
.cb-empty p { font-size:13px; margin:6px 0 0; }
.cb-empty-icon { width:42px; height:42px; flex:none; display:grid; place-items:center; color:var(--accent); background:var(--accent-soft); border-radius:12px; font-size:22px; }
.cb-assignment-row { display:flex; align-items:center; gap:12px; padding:17px 0; border-top:1px solid var(--border); }
.cb-task-mark { display:grid; place-items:center; width:36px; height:38px; flex:none; background:var(--accent-soft); border-radius:8px; color:var(--accent-strong); font-family:var(--serif); font-size:21px; }
.cb-task-copy { flex:1; min-width:0; }
.cb-task-copy b { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:14px; }
.cb-task-copy small { display:block; color:var(--muted); font-size:11px; margin-top:5px; line-height:1.5; }
.cb-state { display:inline-flex; align-items:center; white-space:nowrap; padding:3px 7px; border-radius:5px; color:var(--muted); background:var(--surface-alt); font-size:10px; font-weight:750; }
.cb-state.is-done { background:var(--success-soft); color:var(--success); }.cb-state.is-active { background:var(--accent-soft); color:var(--accent-strong); }.cb-state.is-late { background:var(--danger-soft); color:var(--danger); }
.cb-score { font:750 16px var(--mono); color:var(--accent-strong); }
.cb-task-action { min-height:34px; padding:6px 10px; border-radius:7px; font-size:12px; }
.cb-task-action:disabled { background:var(--surface-alt); border-color:var(--border); color:var(--muted); opacity:1; }
.cb-progress-summary { margin:23px 0; }
.cb-progress-line { display:flex; justify-content:space-between; font-size:13px; }
.cb-progress-line b { color:var(--accent-strong); }
.cb-progress-track,.bar { height:5px; border-radius:4px; background:#E7ECE5; overflow:hidden; }
.cb-progress-track { margin-top:12px; }.cb-progress-track i,.bar i { display:block; height:100%; background:var(--accent); border-radius:4px; transition:width .22s ease; }
.cb-progress-summary p { font-size:12px; color:var(--muted); margin:10px 0 0; }
.cb-practice-summary { border-top:1px solid var(--border); padding-top:18px; }
.cb-practice-summary>div { display:flex; justify-content:space-between; gap:10px; font-size:12px; margin-top:12px; color:var(--muted); }.cb-practice-summary b { color:var(--text); }
.home-resume-row { display:flex; gap:16px; margin:0 0 28px; }
.home-resume-row .studio-hero { flex:1; display:flex; justify-content:space-between; align-items:center; gap:24px; padding:24px 28px; border:1px solid var(--accent-border); border-radius:14px; background:var(--accent-soft); }
.resume-copy h2 { font-size:21px; margin:8px 0 7px; }.resume-copy p { font-size:13px; margin:0; color:var(--muted); }
.daily-goal,.studio-stats,.word-art { display:none; }
.studio-section-title { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:16px; }
.studio-section-title h2 { font-size:19px; margin:0; }.studio-section-title h2 span { color:var(--faint); font-size:10px; letter-spacing:1.3px; margin-left:7px; font-weight:650; }.studio-section-title button { color:var(--accent-strong); font-size:12px; font-weight:700; }
.section-note { font-size:13px; color:var(--muted); }
.studio-history-row { display:flex; align-items:center; gap:12px; width:100%; text-align:left; padding:18px 0; border-top:1px solid var(--border); font-size:14px; }
.studio-history-row>span:nth-child(2) { flex:1; min-width:0; }.studio-history-row small { display:block; font-size:11px; color:var(--muted); font-weight:550; margin-top:5px; }.studio-history-row>b { color:var(--accent-strong); font-size:18px; }.studio-history-row>b small { display:inline; margin-left:2px; }
.history-type { color:var(--accent-strong); font-family:var(--serif); font-size:23px; width:30px; text-align:center; }
.studio-empty { display:flex; align-items:center; gap:16px; padding:25px 0; color:var(--muted); }.studio-empty>span { font-size:28px; color:var(--accent); }.studio-empty b { font-size:15px; color:var(--text); }.studio-empty p { margin:6px 0 0; font-size:13px; }
.studio-bottom-grid { display:grid; grid-template-columns:1fr; gap:18px; }
.studio-modules { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }.studio-module { display:flex; flex-direction:column; text-align:left; padding:24px; border:1px solid var(--border); border-radius:14px; background:var(--surface); }.studio-module h3 { font-size:21px; margin:18px 0 10px; }.studio-module p { color:var(--muted); font-size:14px; }.module-top { display:flex; align-items:center; gap:10px; font-size:11px; color:var(--faint); }.module-top i { margin-left:auto; font-style:normal; }.module-icon { color:var(--accent); font-size:30px; margin-top:20px; }.module-bottom { display:flex; justify-content:space-between; font-size:11px; color:var(--muted); margin-top:auto; }.module-bottom i { color:var(--accent-strong); font-style:normal; }
.training-section { margin-bottom:28px; }.wordbook-promo { display:none; }
.workspace-footer { display:flex; justify-content:space-between; gap:15px; margin:28px 0 0; padding-top:20px; border-top:1px solid var(--border); color:var(--faint); font-size:10px; letter-spacing:.6px; }.site-foot { display:none; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
 .toc-card,.ord-card,.wq-card,.vb-card,.studio-module { transition:transform .25s var(--ease-out),border-color .25s,box-shadow .25s; }
 .toc-card:hover,.ord-card:hover,.wq-card:hover,.vb-card:hover,.studio-module:hover { transform:translateY(-3px); box-shadow:0 12px 30px #20382D12; }
}
/* Libraries and practice setup. */
.library-head { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; flex-wrap:wrap; margin:0 0 26px; padding:0 0 24px; border-bottom:1px solid var(--border); }
.library-head h1 { font-size:32px; margin:12px 0 10px; letter-spacing:-1px; }.library-head .desc { font-size:15px; color:var(--muted); line-height:1.75; max-width:720px; }
.toolbar { display:flex; gap:14px; align-items:center; margin-bottom:22px; flex-wrap:wrap; }.search { display:flex; align-items:center; gap:10px; border:1px solid var(--border); border-radius:10px; background:var(--surface); padding:0 14px; min-height:46px; }.search svg { width:18px; height:18px; color:var(--muted); }.search input { border:0; padding:10px 0; background:none; box-shadow:none; min-width:150px; }.search:focus-within { border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-soft); }
.toc,.ord-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(245px,1fr)); gap:16px; }.toc-card,.ord-card { display:flex; flex-direction:column; text-align:left; border:1px solid var(--border); border-radius:14px; padding:22px; background:var(--surface); box-shadow:var(--shadow); transition:border-color .16s,box-shadow .16s; }.toc-card:hover,.ord-card:hover,.wq-card:hover,.vb-card:hover { border-color:var(--accent-border); box-shadow:0 5px 20px #20382D09; }
.toc-card .no { display:flex; justify-content:space-between; gap:8px; color:var(--muted); font-size:11px; font-weight:750; letter-spacing:.5px; }.toc-card.done .no { color:var(--accent-strong); }.toc-card .ti { font-family:var(--serif); font-weight:650; font-size:18px; line-height:1.5; margin:21px 0 25px; min-height:81px; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }.toc-card .bar { width:100%; margin-top:auto; }.toc-card .meta { display:flex; gap:7px; color:var(--muted); font-size:12px; margin-top:16px; }
.ord-bar { display:flex; gap:20px; align-items:center; padding:20px 23px; border:1px solid var(--border); border-radius:13px; background:var(--surface); margin-bottom:20px; }.ord-bar-l b { display:block; font-size:15px; }.ord-bar-l span { font-size:12px; color:var(--muted); }.ord-limits { display:flex; gap:7px; margin-left:auto; flex-wrap:wrap; }.ord-chip { padding:9px 13px; border:1px solid var(--border); border-radius:8px; background:var(--surface); color:var(--muted); font-size:13px; font-weight:700; }.ord-chip.on { color:var(--accent-strong); background:var(--accent-soft); border-color:var(--accent-border); }
.ord-card { min-height:194px; }.ord-card-top { display:flex; justify-content:space-between; align-items:center; gap:10px; font-size:12px; color:var(--muted); }.ord-no { font-weight:750; }.ord-badge { font-size:11px; }.ord-card-mid { margin:22px 0 19px; }.ord-card-mid b { font-size:31px; line-height:1; }.ord-card-mid span { color:var(--muted); font-size:12px; margin-left:5px; }.ord-card-foot { margin-top:15px; color:var(--muted); font-size:12px; }
.test-library-intro { margin-bottom:20px; padding:17px 22px; border-radius:12px; border:1px solid var(--accent-border); background:var(--accent-soft); font-size:14px; color:var(--accent-strong); }
.practice-head { display:flex; align-items:center; gap:12px; flex-wrap:wrap; padding:0 0 22px; margin-bottom:10px; }.progressline { display:flex; align-items:center; gap:13px; flex:1; min-width:230px; }.progressline .bar { flex:1; min-width:60px; }.progressline .pct { color:var(--muted); font-size:13px; white-space:nowrap; }.progressline>div:first-child { font-size:14px !important; }
.ord-timer { display:flex; align-items:center; gap:7px; padding:8px 12px; border:1px solid var(--border); border-radius:20px; color:var(--muted); font-size:13px; }.ord-timer-dot { width:6px; height:6px; border-radius:50%; background:var(--accent); }.urgent,.ord-timer.urgent { color:var(--danger); border-color:#E6BEB8; }
.passage { padding:30px 34px 35px; font-family:var(--serif); color:var(--text); font-size:calc(22px * var(--dens)); font-weight:500; line-height:2.25; max-width:1120px; margin:auto; overflow-wrap:break-word; }
.blank { position:relative; display:inline-flex; align-items:baseline; padding:0 4px 2px; margin:0 2px; border:1px solid transparent; border-radius:5px; color:var(--text); vertical-align:baseline; line-height:1.3; cursor:text; white-space:nowrap; }
.blank:hover { background:var(--surface-alt); }.blank.active { background:var(--accent-soft); border-color:var(--accent-border); box-shadow:0 0 0 2px var(--accent-soft); }.given { font-weight:650; }.slot { position:relative; display:inline-flex; align-items:baseline; }.cell { display:inline-block; min-width:.64em; height:1.22em; font-family:var(--mono); font-style:normal; font-size:.82em; font-weight:750; color:var(--accent-strong); text-align:center; border-bottom:1.5px solid #819189; margin:0 1px; }.cell.on { border-bottom-color:var(--accent); }.blank .caret { display:inline-block; width:2px; height:1.05em; margin:0 -1px; background:var(--accent); vertical-align:middle; animation:caretBlink 1s step-end infinite; }.blank.correct { color:var(--success); background:var(--success-soft); border-color:#CEE1D1; }.blank.correct .cell { color:var(--success); border-bottom-color:transparent; }.blank.wrong { color:var(--danger); background:var(--danger-soft); border-color:#ECD1CC; }.blank.wrong .cell { color:var(--danger); border-bottom-color:#CD8D84; }.blank.correct .caret,.blank.wrong .caret { display:none; }.blank .badge { font:750 11px var(--font); margin-left:4px; }.blank .ans { position:absolute; left:0; top:100%; z-index:3; display:none; padding:5px 8px; border:1px solid var(--border); border-radius:5px; font:700 13px var(--font); color:var(--success); background:white; box-shadow:var(--shadow); }.blank.wrong:hover .ans { display:block; }
.timer { font-family:var(--mono); font-size:14px; color:var(--accent-strong); }.assignment-live-state { display:inline-block; color:var(--accent-strong); font-size:11px; margin-left:15px; }.assignment-complete-note { padding:15px 18px; margin-bottom:20px; border:1px solid var(--accent-border); border-radius:10px; background:var(--accent-soft); color:var(--accent-strong); font-size:14px; font-weight:700; }
/* Dialogue and word bank use the same treatment in both modes. */
.ord-tip { display:flex; gap:16px; align-items:center; flex-wrap:wrap; padding:10px 2px 18px; font-size:12px; color:var(--muted); }.ord-tip-key { display:inline-flex; align-items:center; gap:7px; }.ord-tip-key i { font-style:normal; font-weight:750; padding:3px 7px; border-radius:5px; background:var(--accent-soft); color:var(--accent-strong); }
.ord-stage { position:relative; }.ord-stage.slide-in { animation:appear .16s ease-out; }.ord-item { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:26px 30px; }.conversation-meta { display:flex; align-items:center; justify-content:space-between; gap:15px; color:var(--faint); font-size:10px; font-weight:750; letter-spacing:1.4px; border-bottom:1px solid var(--border); padding-bottom:17px; margin-bottom:25px; }
.ex-row { display:flex; align-items:flex-start; gap:16px; margin-bottom:24px; }.conversation-message { flex:1; min-width:0; }.speaker-name { display:flex; align-items:baseline; gap:10px; font-size:13px; font-weight:750; margin-bottom:7px; }.speaker-name small { color:var(--faint); font-size:10px; font-weight:550; }.dialog-bubble { padding:18px 20px; background:var(--surface-alt); border:1px solid var(--border); border-radius:0 13px 13px 13px; }.ex-say { font-family:var(--serif); font-size:22px; line-height:1.6; color:var(--text); }.reply-bubble { background:var(--accent-soft); border-color:var(--accent-border); }.ex-sentence { display:flex; align-items:baseline; flex-wrap:wrap; gap:5px; font-family:var(--serif); font-size:22px; line-height:2; color:var(--text); }
.ord-slot { position:relative; display:inline-flex; align-items:center; justify-content:center; min-width:82px; min-height:36px; padding:0 6px; margin:0 3px 3px; border-bottom:2px solid #819189; color:var(--text); font-size:20px; line-height:1.5; cursor:pointer; border-radius:4px 4px 0 0; background:#FFFFFF70; transition:background .15s,border-color .15s; }.ord-slot:focus,.ord-slot:hover,.ord-slot.magnet { background:var(--surface); border-color:var(--accent); }.ord-slot.filled { color:var(--accent-strong); border-color:var(--accent); font-weight:650; cursor:grab; }.ord-slot.good,.ord-slot.correct { background:var(--success-soft); color:var(--success); border-color:var(--success); }.ord-slot.wrong { background:var(--danger-soft); color:var(--danger); border-color:var(--danger); }.ord-slot.dragging-out { opacity:.3; }.ord-slot.snap { animation:appear .15s ease-out; }
.word-tray-label { display:flex; justify-content:space-between; gap:10px; color:var(--faint); font-size:10px; font-weight:750; letter-spacing:1.2px; margin:28px 0 10px; }.word-tray-label>span:last-child { letter-spacing:0; font-weight:550; }.ord-tray { display:flex; align-items:center; flex-wrap:wrap; gap:10px; padding:19px; min-height:80px; border:1px solid var(--border); border-radius:10px; background:var(--surface-alt); }.ord-tile { padding:10px 15px; border:1px solid #CCD5CC; border-radius:7px; background:white; font:650 16px/1.3 var(--font); box-shadow:0 2px 0 #DDE3DB; cursor:grab; touch-action:none; user-select:none; transition:background .15s,border-color .15s; }.ord-tile:hover { background:var(--accent-soft); border-color:var(--accent-border); }.ord-tile.used { opacity:.25; pointer-events:none; box-shadow:none; }.ord-tile.dragging { opacity:.2; }.ord-tray.drop-target { border-color:var(--accent); background:var(--accent-soft); }.ord-ghost { position:fixed; z-index:900; pointer-events:none; padding:10px 15px; border:1px solid var(--accent); border-radius:7px; background:white; color:var(--accent-strong); font-size:16px; font-weight:750; box-shadow:var(--shadow-float); }.ord-ans { color:var(--success); font-size:16px; padding:12px 0 0; }
.ord-nav { display:flex; gap:15px; align-items:center; justify-content:space-between; margin:22px 0; }.ord-dots { display:flex; gap:7px; justify-content:center; flex-wrap:wrap; }.ord-dot { height:7px; width:15px; padding:0; border-radius:6px; background:#D2DBD1; }.ord-dot.done { background:var(--accent-border); }.ord-dot.on { background:var(--accent); width:28px; }.ord-hud { background:var(--surface); border:1px solid var(--border); border-radius:12px; margin-top:15px; }
/* Results: readable answers with one clearly labeled comparison row. */
.result { margin-top:24px; border:1px solid var(--border); border-radius:16px; overflow:hidden; background:var(--surface); box-shadow:var(--shadow); }.result-top { display:grid; grid-template-columns:auto 1fr; gap:28px; align-items:center; padding:30px; background:var(--accent-soft); color:var(--text); border-bottom:1px solid var(--border); }.result-top h3 { margin:0 0 10px; font-size:26px; }.result-top p { font-size:15px; color:var(--muted); margin:0; line-height:1.7; }.donut { position:relative; width:112px; height:112px; }.donut svg { transform:rotate(-90deg); }.ring-bg { stroke:var(--accent-border); }.ring-fg { stroke:var(--accent); stroke-linecap:round; transition:stroke-dashoffset .5s ease; }.donut .pct { position:absolute; inset:0; display:grid; place-items:center; font:750 27px var(--font); color:var(--accent-strong); }
.result-list { padding:12px 28px 20px; }.result-list .row { display:grid; grid-template-columns:30px 75px 1fr 1fr; gap:17px; align-items:center; min-height:72px; padding:17px 0; border-bottom:1px solid var(--border); }.result-list .row:last-child { border-bottom:0; }.result-list .i { color:var(--faint); font:650 13px var(--mono); }.ys,.right { font-size:19px; font-weight:750; overflow-wrap:anywhere; }.ys.no { color:var(--danger); text-decoration:line-through; text-decoration-color:#CC8B82; }.ys.ok { color:var(--success); }.right { color:var(--text); }.ord-result-row { display:grid; grid-template-columns:28px 1fr auto; gap:14px; padding:20px 0; border-bottom:1px solid var(--border); }.ord-result-row:last-child { border-bottom:0; }.orr-no { font:750 13px var(--mono); color:var(--faint); }.orr-ctx { color:var(--muted); font-size:16px; margin-bottom:8px; line-height:1.7; }.orr-yours { color:var(--danger); font-size:18px; line-height:1.7; }.orr-ans { color:var(--success); font-size:18px; line-height:1.7; font-weight:700; }.orr-flag { padding-top:2px; }
.hist-table { width:100%; border-collapse:collapse; font-size:15px; }.hist-table th { text-align:left; padding:16px 22px; color:var(--muted); font-size:12px; font-weight:750; background:var(--surface-alt); border-bottom:1px solid var(--border); }.hist-table td { padding:18px 22px; border-bottom:1px solid var(--border); }.hist-table tbody tr:last-child td { border-bottom:0; }.hist-table tbody tr:hover { background:#FAFBF9; }.hist-table td[style] { font-size:14px !important; }.hist-table .mod-tag { margin-right:8px; font-size:10px; }.score-pill { background:var(--accent-soft); color:var(--accent-strong); border-color:transparent; }.score-pill .dot { width:5px; height:5px; background:var(--accent); border-radius:50%; }
.report-head { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:24px; }.report-head h1 { font-size:30px; margin:0 0 9px; }.report-meta { font-size:13px; color:var(--muted); }.kpis { display:grid; grid-template-columns:repeat(4,1fr); gap:15px; margin:0 0 24px; }.kpi { padding:22px; border:1px solid var(--border); border-radius:12px; background:var(--surface); }.kpi .v { color:var(--accent-strong); font-size:30px; font-weight:750; }.kpi .k { font-size:12px; color:var(--muted); margin-top:6px; }.advice { padding:23px 26px; background:var(--accent-soft); border:1px solid var(--accent-border); border-radius:12px; font-size:15px; line-height:1.8; }.chart { display:flex; height:170px; align-items:flex-end; padding:24px; gap:5px; }.chart .b { flex:1; height:100%; display:flex; align-items:flex-end; position:relative; }.chart i { display:block; width:100%; background:var(--accent-border); border-radius:3px 3px 0 0; min-height:5px; }.chart .has i { background:var(--accent); }
/* Settings: grouped choices with aligned descriptions and controls. */
.settings-grid { display:grid; grid-template-columns:1fr; gap:22px; max-width:1060px; }.set-head { padding:23px 25px 18px; border-bottom:1px solid var(--border); background:var(--surface); }.set-head h3 { font-size:18px; margin:0 0 7px; }.set-head p { margin:0; color:var(--muted); font-size:13px; }.set-body { padding:0 25px; }.set-row { display:flex; align-items:center; justify-content:space-between; gap:28px; padding:21px 0; border-bottom:1px solid var(--border); }.set-row:last-child { border-bottom:0; }.set-l { min-width:0; }.set-name { font-size:15px; font-weight:750; }.set-desc { font-size:13px; color:var(--muted); margin-top:5px; line-height:1.65; max-width:470px; }.set-r { display:flex; align-items:center; gap:10px; justify-content:flex-end; flex:none; max-width:55%; }.set-static { color:var(--muted); font-family:var(--mono); font-size:14px; }.set-slider { display:flex; align-items:center; gap:12px; min-width:230px; }.set-val { color:var(--accent-strong); font:700 14px var(--mono); min-width:43px; }.set-slider input { width:170px; }.set-select { min-width:150px; font-size:14px; padding:8px 12px; }.inline-2 { display:flex; gap:9px; align-items:center; }.inline-2 .input { max-width:220px; }.pw-fields { display:grid; gap:9px; }.pw-form { min-width:270px; }.pw-form .btn { margin-top:10px; }.pw-meter { height:3px; border-radius:2px; background:var(--border); margin-top:10px; }.pw-meter i { display:block; height:100%; background:var(--accent); }.pw-msg { min-height:18px; font-size:12px; }.set-row.stack { align-items:flex-start; }.accent-choices { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }.accent-choice { display:flex; align-items:center; gap:8px; padding:9px 12px; border:1px solid var(--border); border-radius:9px; background:var(--surface); font-size:13px; font-weight:750; }.accent-choice i { width:12px; height:12px; border-radius:50%; background:var(--swatch); }.accent-choice[aria-pressed=true] { background:var(--accent-soft); border-color:var(--accent-border); color:var(--accent-strong); }
/* Writing setup, discussion and response. */
.wset { margin-bottom:22px; }.wset-body { padding:0 23px; }.wset-row { display:grid; grid-template-columns:145px 1fr; gap:8px 22px; align-items:center; padding:20px 0; border-bottom:1px solid var(--border); }.wset-row:last-child { border-bottom:0; }.wset-label { color:var(--text); font-size:14px; font-weight:750; }.wset-ctrl { display:flex; gap:15px; align-items:center; flex-wrap:wrap; }.wset-val { color:var(--accent-strong); font:750 16px var(--mono); }.wset-hint { grid-column:2; color:var(--muted); font-size:12px; }.wslider { width:min(300px,100%); }.wswitch { position:relative; display:flex; }.wswitch input { position:absolute; opacity:0; width:1px; height:1px; }.wswitch span { position:relative; display:block; width:44px; height:26px; border-radius:15px; background:#CBD3CA; transition:background .18s; }.wswitch span:after { content:""; position:absolute; top:3px; left:3px; width:20px; height:20px; background:white; border-radius:50%; box-shadow:0 1px 3px #20382D26; transition:transform .18s; }.wswitch input:checked+span { background:var(--accent); }.wswitch input:checked+span:after { transform:translateX(18px); }.wswitch input:focus-visible+span { outline:3px solid var(--accent-border); outline-offset:3px; }
.wq-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(270px,1fr)); gap:16px; padding:22px; }.wq-card { text-align:left; padding:23px; border:1px solid var(--border); border-radius:12px; background:var(--surface); display:flex; flex-direction:column; transition:border-color .16s,box-shadow .16s; min-height:195px; }.wq-top { display:flex; gap:10px; align-items:center; justify-content:space-between; margin-bottom:17px; }.wq-no { color:var(--accent-strong); font-size:11px; letter-spacing:1px; font-weight:800; }.wq-done { font-size:10px; font-weight:700; color:var(--success); }.wq-title { font-size:19px; font-weight:750; line-height:1.35; margin-bottom:10px; }.wq-sub { color:var(--muted); font-size:14px; line-height:1.65; }.wq-go { margin-top:auto; padding-top:18px; color:var(--accent-strong); font-size:12px; font-weight:750; }
.write-shell { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:18px; max-width:1500px; margin:auto; }.write-bar { grid-column:1/-1; display:flex; gap:13px; align-items:center; padding:0 0 18px; flex-wrap:wrap; }.write-meta { display:grid; gap:3px; }.write-meta b { font-size:15px; }.write-meta span { color:var(--muted); font-size:12px; }.write-timer { display:flex; align-items:center; gap:8px; margin-left:auto; padding:8px 12px; border:1px solid var(--border); border-radius:9px; color:var(--accent-strong); background:var(--surface); font:750 16px var(--mono); }.wt-dot { width:6px; height:6px; border-radius:50%; background:currentColor; }.write-switch { display:none; }.write-q,.write-editor { min-width:0; background:var(--surface); border:1px solid var(--border); border-radius:14px; overflow:hidden; }.write-q { padding:28px; line-height:1.85; }.wq-scenario,.wq-prompt { font-family:var(--serif); font-size:19px; line-height:1.8; margin-bottom:24px; }.wq-task { padding:0 0 0 17px; border-left:3px solid var(--accent-border); margin-bottom:23px; }.wq-task-h { font-size:16px; font-weight:700; margin-bottom:9px; }.wq-task ul { padding-left:22px; margin:0; }.wq-task li { font-size:16px; line-height:1.9; margin:8px 0; }.wq-note { font-size:13px; font-style:italic; color:var(--muted); margin-top:15px; }.wq-meta-line { font-size:13px; font-family:var(--mono); color:var(--muted); }.write-editor { display:flex; flex-direction:column; }.write-ta { flex:1; min-height:62vh; width:100%; resize:vertical; border:0; border-radius:0; padding:25px 28px; font:500 19px/1.9 var(--serif); color:var(--text); box-shadow:none; background:var(--surface); caret-color:var(--accent); }.write-ta:focus { outline:none; box-shadow:none; }.write-editor:focus-within { border-color:var(--accent-border); box-shadow:0 0 0 3px var(--accent-soft); }.response-heading,.discussion-heading { display:grid; gap:7px; margin-bottom:22px; font-size:11px; font-weight:800; letter-spacing:1px; color:var(--accent-strong); }.response-heading { padding:18px 25px; margin:0; border-bottom:1px solid var(--border); background:var(--surface-alt); }.response-heading small,.discussion-heading small { font-size:12px; letter-spacing:0; color:var(--muted); font-weight:550; line-height:1.65; }
.discussion-post { display:flex; align-items:flex-start; gap:13px; margin-bottom:23px; }.discussion-avatar { width:43px; height:43px; }.discussion-post-body { flex:1; min-width:0; }.discussion-name { display:flex; align-items:baseline; gap:8px; margin-bottom:8px; font-size:13px; }.discussion-name small { color:var(--faint); font-size:10px; }.discussion-bubble { border:1px solid var(--border); border-radius:0 11px 11px 11px; background:var(--surface-alt); padding:15px 18px; }.discussion-bubble p { font:500 17px/1.85 var(--serif); margin:0; }.professor-bubble { background:var(--accent-soft); border-color:var(--accent-border); }.discussion-replies-label { color:var(--faint); font-size:10px; font-weight:800; letter-spacing:1.2px; margin:25px 0 17px; padding-top:20px; border-top:1px solid var(--border); }.write-hud { position:fixed; z-index:70; right:24px; bottom:20px; display:flex; align-items:center; gap:18px; padding:12px 35px 12px 18px; border:1px solid var(--border); border-radius:12px; background:#FFFFFFF0; box-shadow:var(--shadow-float); font-size:12px; }.wh-row { display:flex; align-items:baseline; gap:7px; }.wh-k { color:var(--muted); font-size:11px; }.wh-v { font:750 16px var(--mono); }.wh-u { color:var(--faint); font-size:9px; }.wh-toggle { position:absolute; right:7px; top:6px; color:var(--muted); width:22px; height:22px; }.write-hud.mini .wh-row:not(:nth-child(2)) { display:none; }
.write-result { max-width:1000px; margin:auto; }.wr-head { display:flex; align-items:center; gap:20px; padding:28px; background:var(--accent-soft); border:1px solid var(--accent-border); border-radius:14px; margin-bottom:23px; }.wr-score { color:var(--accent-strong); font:800 42px var(--font); }.wr-score span { color:var(--muted); font-size:17px; margin-left:4px; }.wr-meta { font-size:14px; color:var(--muted); }.wr-bars { display:grid; gap:17px; padding:24px; border:1px solid var(--border); background:var(--surface); border-radius:13px; }.wr-bar { display:grid; grid-template-columns:90px 1fr 60px; gap:15px; align-items:center; font-size:13px; }.wr-bar-t { height:6px; border-radius:4px; background:var(--border); overflow:hidden; }.wr-bar-t i { display:block; height:100%; background:var(--accent); }.wr-bar-v { color:var(--muted); font-size:12px; }.wr-stats,.wr-note { color:var(--muted); font-size:13px; line-height:1.8; margin:18px 0; }.wr-text { border:1px solid var(--border); border-radius:13px; background:var(--surface); overflow:hidden; }.wr-text-h { padding:16px 22px; background:var(--surface-alt); border-bottom:1px solid var(--border); font-size:12px; font-weight:800; color:var(--muted); }.wr-text pre { margin:0; padding:24px; font:500 19px/1.9 var(--serif); white-space:pre-wrap; overflow-wrap:anywhere; }
/* Dedicated test surface retains the workspace's type, controls and accent. */
body.in-exam { background:var(--surface); }.in-exam .studio-sidebar,.focus-session .studio-sidebar { display:none; }.in-exam main.page,.focus-session main.page { width:100%; max-width:none; margin:0; padding:0; }.in-exam .practice-head,.in-exam .ord-tip { display:none; }.exam-shell { display:flex; flex-direction:column; min-height:100dvh; background:var(--surface); }.exam-head { display:flex; align-items:center; gap:24px; padding:20px 30px; background:var(--accent-strong); color:white; }.test-wordmark { font-size:23px; font-weight:800; letter-spacing:-1px; line-height:1; }.test-wordmark sup { font-size:9px; vertical-align:super; letter-spacing:0; }.test-wordmark small { display:block; margin-top:9px; font-size:8px; font-weight:650; letter-spacing:3px; color:#FFFFFFA8; }.exam-actions { display:flex; align-items:center; gap:9px; margin-left:auto; }.exam-btn { min-height:36px; padding:7px 13px; font-size:13px; border-radius:6px; }.exam-btn.ghost { color:white; background:transparent; border-color:#FFFFFF50; }.exam-btn.ghost:hover { background:#FFFFFF18; }.exam-btn.primary { background:white; color:var(--accent-strong); border-color:white; }.exam-btn:disabled { opacity:.35; }.exam-tool-divider { width:1px; height:24px; background:#FFFFFF40; margin:0 5px; }
.exam-bar { display:flex; align-items:center; gap:15px; justify-content:space-between; padding:13px 30px; min-height:54px; background:var(--surface-alt); border-bottom:1px solid var(--border); font-size:13px; color:var(--muted); }.exam-bar>div { display:flex; gap:13px; align-items:center; flex-wrap:wrap; }.exam-bar b { color:var(--text); }.test-section-divider { color:#B3BEB4; }.test-question-label { color:var(--faint); }.ex-time { display:flex; align-items:center; gap:18px; white-space:nowrap; font-size:14px; }.ex-time b { color:var(--accent-strong); font-size:16px; font-variant-numeric:tabular-nums; }.ex-hide { padding:4px 7px; border:1px solid var(--border); border-radius:4px; color:var(--muted); font-size:11px; background:white; }.ex-time.is-hidden-time b { visibility:hidden; }
.exam-body { flex:1; width:100%; max-width:1240px; margin:0 auto; padding:42px 45px; min-height:calc(100dvh - 230px); }.reading-exam-body { max-width:1150px; }.exam-inst { text-align:left; font-family:var(--font); font-size:23px; font-weight:750; line-height:1.45; margin:0 0 12px; }.exam-input-hint,.test-instruction { display:flex; gap:9px; color:var(--muted); font-size:13px; margin-bottom:30px; }.exam-body .passage { padding:14px 0 30px; font-size:22px; line-height:2.3; max-width:none; }.exam-bottom { display:flex; gap:12px; align-items:center; padding:17px 30px; background:var(--surface-alt); border-top:1px solid var(--border); margin-top:auto; }.exam-bottom-exit { color:var(--muted); text-decoration:underline; text-underline-offset:3px; font-size:13px; margin-right:12px; }.test-bottom-label { font-size:9px; letter-spacing:1.5px; color:var(--faint); margin-right:auto; }.exam-bottom .btn { border-radius:6px; }.exam-body .ord-item { padding:0; border:0; border-radius:0; box-shadow:none; }.exam-body .conversation-meta { display:none; }.exam-body .dialog-bubble { padding:0; background:none; border:0; }.exam-body .ex-row { margin:28px 0; }.exam-body .ex-avatar { width:52px; height:52px; }.exam-body .ex-say,.exam-body .ex-sentence { font-family:var(--font); font-size:21px; line-height:1.8; }.exam-body .speaker-name { margin-bottom:10px; }.exam-body .speaker-name small { display:none; }.exam-body .ord-tray { justify-content:center; margin-top:25px; padding:20px; background:var(--surface-alt); }.exam-question-map { display:flex; justify-content:center; margin:28px 0 0; }.in-exam #resultWrap,.in-exam #ordResultWrap { max-width:1120px; padding:0 24px; margin:28px auto; }.review-question-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:10px; }.review-question { padding:12px; border:1px solid var(--border); border-radius:8px; background:var(--surface-alt); font-size:13px; }.review-question.done { background:var(--accent-soft); border-color:var(--accent-border); }.review-instruction { color:var(--muted); font-size:14px; }.in-exam .write-shell { padding:0 28px 35px; }.exam-writing-banner { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:20px 30px; margin:0 0 26px; border-bottom:1px solid var(--border); background:var(--accent-strong); color:white; font-weight:750; }.exam-writing-banner small { color:#FFFFFFBB; font-size:11px; }.exam-writing-banner>span { color:#FFFFFFBB; font-size:12px; }
/* Lexicon uses the same cards, type and contrast. */
.vocab-list { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:16px; }.vb-card { position:relative; text-align:left; padding:23px; border:1px solid var(--border); border-radius:13px; background:var(--surface); }.vb-top { display:flex; justify-content:space-between; align-items:center; gap:10px; }.vb-w { font-family:var(--serif); font-size:24px; font-weight:750; color:var(--text); }.vb-del { width:24px; height:24px; color:var(--faint); border-radius:5px; }.vb-del:hover { background:var(--danger-soft); color:var(--danger); }.vb-phon { font-size:12px; color:var(--faint); margin-top:7px; }.vb-sense { font-size:15px; color:var(--muted); line-height:1.7; margin:14px 0; }.vb-srcrow,.vb-src { font-size:11px; color:var(--accent-strong); }.vb-ctxsnip { font:500 14px/1.7 var(--serif); color:var(--muted); margin-top:13px; }.vb-detail { padding:32px; }.vd-head { display:flex; justify-content:space-between; gap:20px; margin-bottom:22px; }.vd-head h1 { font:750 34px var(--serif); margin:0; }.vd-def { font-size:19px; line-height:1.8; margin-bottom:28px; }.vd-sec-title { color:var(--muted); font-size:12px; font-weight:800; margin:25px 0 12px; }.vd-src { font-size:13px; color:var(--accent-strong); }.vd-snip { font-family:var(--serif); font-size:19px; line-height:1.8; padding:22px; margin-top:13px; border:1px solid var(--border); border-radius:10px; background:var(--surface-alt); }.vb-detail-acts { display:flex; gap:10px; margin-top:25px; }.lookup-bubble { position:absolute; z-index:800; width:min(365px,calc(100vw - 24px)); padding:22px; border:1px solid var(--border); border-radius:14px; background:white; box-shadow:var(--shadow-float); }.lk-word { font:750 26px var(--serif); }.lk-phon,.lk-src { color:var(--muted); font-size:12px; }.lk-sense { font-size:15px; margin:12px 0; }.lk-snip { font:500 15px/1.7 var(--serif); }.lk-acts { display:flex; gap:8px; margin-top:16px; }
/* Login: legible form alongside the original film at its original aspect. */
.auth { min-height:100dvh; display:grid; grid-template-columns:minmax(0,1.1fr) minmax(390px,.9fr); padding:24px; gap:24px; background:var(--bg); }.auth-stage { position:relative; display:flex; flex-direction:column; justify-content:space-between; min-height:600px; padding:33px; border-radius:20px; background:#203C2E; overflow:hidden; color:white; }.auth-stage:after,.auth-stage:before,.aurora,.auth-grid,.auth-scan,.letters,.auth-letter-art { display:none; }.auth-promo-video { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; background:#17291F; z-index:0; pointer-events:none; }.auth-stage:has(.auth-promo-video) .auth-editorial,.auth-stage:has(.auth-promo-video) .auth-editorial-foot,.auth-stage:has(.auth-promo-video) .auth-copy,.auth-stage:has(.auth-promo-video) .auth-foot { display:none; }.auth-brand,.auth-studio-brand { position:relative; z-index:2; display:flex; align-items:center; gap:10px; width:fit-content; padding:9px 13px; border-radius:10px; background:#15281D80; backdrop-filter:blur(10px); color:white; font-size:17px; font-weight:750; }.auth-studio-brand small { display:block; color:#D6E2DA; font-size:8px; letter-spacing:1.5px; margin-top:3px; }.auth-studio-brand .studio-logo { color:white; font-size:33px; }.brand-mark { font-family:var(--serif); font-size:35px; }.auth-brand small { display:block; font-size:9px; color:#CFDDD1; }.auth-copy { position:relative; z-index:2; margin:auto 0; }.auth-title { font-size:clamp(38px,5vw,64px); line-height:1.15; color:white; letter-spacing:-2px; }.auth-title .line { display:block; }.auth-title em { color:#A9C5AE; font-style:normal; }.auth-sub { color:#D9E3DC; line-height:1.9; max-width:460px; font-size:16px; }.auth-foot { position:relative; font-size:12px; color:#CCD9CF; }.auth-side { display:flex; align-items:center; justify-content:center; padding:40px; min-width:0; }.auth-card { width:100%; max-width:380px; }.auth-card h2 { font-size:32px; margin:0 0 12px; }.auth-card>.sub,.auth-subline { font-size:15px; color:var(--muted); margin:0 0 30px; line-height:1.75; }.auth-tabs { display:flex; margin-bottom:30px; border-bottom:1px solid var(--border); gap:25px; }.auth-tabs button { padding:11px 0; font-size:14px; font-weight:750; color:var(--muted); border-bottom:2px solid transparent; margin-bottom:-1px; }.auth-tabs button.active { color:var(--accent-strong); border-bottom-color:var(--accent); }.field { margin-bottom:18px; }.input-wrap label { display:block; font-size:13px; font-weight:750; margin-bottom:8px; }.input-wrap label small { font-size:11px; color:var(--muted); margin-left:7px; font-weight:550; }.input-wrap .input { min-height:47px; }.code-hint { color:var(--muted); font-size:12px; margin-top:7px; }.auth-card .btn-block { min-height:48px; margin-top:9px; }.auth-switch { display:flex; align-items:center; gap:8px; color:var(--muted); margin-top:23px; font-size:14px; }.auth-switch button { color:var(--accent-strong); font-weight:750; padding:0; }.auth-mini { display:flex; justify-content:space-between; align-items:center; gap:10px; padding-top:24px; margin-top:24px; border-top:1px solid var(--border); color:var(--faint); font-size:11px; }.mini-btn { color:var(--muted); font-size:11px; }.local-privacy { color:var(--faint); font-size:11px; margin-top:26px; line-height:1.8; }.auth-video-hint { position:absolute; inset:auto 25px 25px; z-index:3; background:#FFFFFFE6; border-radius:11px; padding:14px 18px; font-size:13px; color:var(--text); backdrop-filter:blur(10px); }.auth-video-hint button { color:var(--accent-strong); font-weight:750; margin-left:10px; }
/* Responsive layout, without losing task controls. */
@media(max-height:880px) and (min-width:761px) { .sidebar-note { display:none; }.sidebar-tools { margin-top:auto; }.topbar.studio-sidebar { padding-top:20px; }.studio-brand { padding-bottom:22px; }.studio-mode-switch { margin-top:18px; } }
@media(min-width:1932px) { main.page { margin-left:auto; margin-right:auto; padding-left:292px; width:100%; max-width:1840px; } }
@media(max-width:1180px) { main.page { padding:27px 26px 40px; }.reference-card { gap:25px; padding:30px 30px 65px; }.reference-controls { left:30px; }.preview-visual { padding:16px 19px; }.cb-metric { padding:18px; }.cb-assignment-row { gap:9px; }.cb-task-mark { display:none; }.cb-dashboard-grid { grid-template-columns:minmax(0,1.6fr) minmax(215px,1fr); }.cb-profile { display:none; }.cb-assignment-card,.cb-progress-card,.studio-recent { padding:20px; }.set-r { max-width:58%; } }
@media(max-width:980px) { :root { --teacher-nav-edge:220px; }.topbar.studio-sidebar { width:220px; padding-left:12px; padding-right:12px; }.studio-brand { padding-left:10px; gap:10px; }.studio-brand strong { font-size:16px; }.studio-brand small { font-size:7px; }.studio-sidebar .navlink,.teacher-manager-btn { font-size:14px; gap:9px; }.sidebar-note { display:none; }main.page { width:calc(100% - 220px); margin-left:220px; padding:24px; }.cb-dashboard-grid { grid-template-columns:1fr; }.cb-progress-card { display:none; }.cb-metrics { gap:10px; }.cb-metric { padding:16px 13px; display:block; }.cb-metric b { display:block; margin-top:9px; }.cb-metric span { font-size:11px; }.reference-card { grid-template-columns:1fr; min-height:270px; }.preview-visual { display:none; }.reference-card h3 { font-size:34px; }.home-resume-row .studio-hero { padding:22px; }.studio-modules { grid-template-columns:1fr; }.write-shell { grid-template-columns:1fr; }.write-q { max-height:50vh; overflow:auto; }.write-ta { min-height:50vh; }.set-row { align-items:flex-start; gap:20px; }.set-r { max-width:55%; }.set-slider { min-width:180px; }.set-slider input { width:120px; }.auth { grid-template-columns:1fr 1fr; padding:16px; gap:10px; }.auth-side { padding:30px; }.auth-card h2 { font-size:28px; }.auth-stage { min-height:650px; }.hist-table th,.hist-table td { padding:16px 14px; }.ord-bar { align-items:flex-start; flex-direction:column; gap:13px; }.ord-limits { margin-left:0; }.write-hud { gap:13px; }.wh-row:nth-child(3) { display:none; } }
@media(max-width:760px) { :root { --teacher-nav-edge:0px; }.topbar.studio-sidebar { position:sticky; top:0; left:auto; width:100%; height:auto; padding:12px 16px 10px; border-right:0; border-bottom:1px solid var(--border); overflow:visible; z-index:60; display:grid; grid-template-columns:1fr auto; gap:10px; }.studio-brand { padding:0; gap:8px; }.studio-brand .studio-logo { font-size:31px; }.studio-brand strong { font-size:15px; }.studio-brand small { display:none; }.nav-caption,.sidebar-note,.studio-user,.studio-mode-switch,.teacher-tools-label { display:none; }.studio-sidebar nav { grid-column:1/-1; display:flex; overflow:auto; padding-bottom:2px; gap:5px; scrollbar-width:none; }.studio-sidebar nav::-webkit-scrollbar { display:none; }.studio-sidebar .navlink,.teacher-manager-btn { flex:none; width:auto; min-height:34px; padding:7px 11px; font-size:12px; gap:5px; white-space:nowrap; }.nav-symbol { font-size:17px; width:20px; }.navlink small { font-size:9px; }.sidebar-tools { grid-column:2; grid-row:1; padding:0; margin:0; border:0; }.sidebar-tool { font-size:0; }.sidebar-tool>span { font-size:20px; }.sidebar-tools .icon-btn { width:29px; height:29px; }.teacher-manager-btn { display:inline-flex; }.teacher-manager-overlay { top:106px; left:0; }main.page { margin:0; width:100%; padding:24px 18px 35px; }.workspace-top { display:none; }.welcome-row { align-items:flex-start; margin-bottom:20px; }.welcome-row h1 { font-size:27px; }.welcome-row p { font-size:13px; }.welcome-row .subtle-button { font-size:11px; min-height:32px; padding:6px 9px; }.reference-card { min-height:270px; padding:28px 27px 68px; }.reference-card h3 { font-size:34px; margin:13px 0; }.reference-card p { font-size:14px; }.reference-card-tag { font-size:9px; }.reference-controls { left:27px; right:24px; bottom:21px; }.cb-dash-top h2 { font-size:22px; }.cb-dash-top p { font-size:13px; }.cb-metrics { grid-template-columns:repeat(2,1fr); gap:10px; }.cb-metric { display:flex; padding:17px 18px; }.cb-metric b { margin:0; font-size:27px; }.cb-metric span { font-size:12px; }.cb-updated { display:none; }.cb-task-copy small { font-size:10px; }.cb-score { display:none; }.cb-state { font-size:9px; }.cb-task-action { font-size:10px; min-height:32px; padding:5px 8px; }.home-resume-row .studio-hero { align-items:flex-start; flex-direction:column; gap:17px; }.resume-copy h2 { font-size:20px; }.hero-button { min-height:37px; font-size:13px; }.studio-section-title h2 { font-size:18px; }.studio-section-title h2 span { display:none; }.studio-history-row { font-size:13px; }.workspace-footer { font-size:8px; }.workspace-footer span:last-child { display:none; }.library-head h1 { font-size:28px; }.library-head .desc { font-size:14px; }.library-head { margin-bottom:21px; padding-bottom:20px; }.toolbar { gap:11px; }.toolbar .search { width:100%; flex:auto; }.toolbar .seg { width:100%; justify-content:center; }.toc,.ord-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px; }.toc-card,.ord-card { padding:18px; }.toc-card .ti { font-size:17px; margin:17px 0 22px; }.toc-card .meta { font-size:10px; gap:4px; }.toc-card .no { font-size:10px; }.ord-card { min-height:174px; }.ord-card-top { font-size:11px; }.ord-card-mid b { font-size:28px; }.ord-card-foot { font-size:11px; }.practice-head { gap:9px; }.practice-head .progressline { order:1; flex-basis:100%; }.practice-head>.btn { font-size:12px; min-height:33px; padding:6px 9px; }.passage { font-size:20px; padding:24px 22px; line-height:2.25; }.panel-head { padding:16px 20px; font-size:12px; }.hud { padding:17px 20px; }.hud .hint { width:100%; font-size:11px; flex-wrap:wrap; gap:10px; }.hud .btn { font-size:12px; min-height:35px; padding:7px 11px; }.ord-item { padding:21px 18px; }.conversation-meta { font-size:8px; }.ex-row { gap:11px; margin-bottom:20px; }.dialog-bubble { padding:14px 15px; }.ex-say,.ex-sentence { font-size:20px; }.speaker-name { font-size:12px; }.speaker-name small { font-size:9px; }.ord-slot { font-size:17px; min-width:65px; min-height:31px; }.ord-tray { padding:15px; gap:9px; }.ord-tile { font-size:14px; padding:9px 12px; }.word-tray-label { font-size:9px; }.word-tray-label>span:last-child { font-size:9px; }.ord-nav .btn { min-height:34px; padding:7px 10px; font-size:12px; }.ord-dot { width:9px; }.ord-dot.on { width:20px; }.result-top { padding:24px 20px; gap:20px; }.result-top h3 { font-size:22px; }.result-top p { font-size:13px; }.donut { width:90px; height:90px; }.donut svg { width:90px; height:90px; }.donut .pct { font-size:23px; }.result-list { padding:10px 20px 16px; }.result-list .row { grid-template-columns:20px 58px 1fr 1fr; gap:10px; padding:17px 0; }.result-list .row .chip { font-size:11px; padding:3px 6px; }.ys,.right { font-size:17px; }.orr-ctx { font-size:15px; }.orr-yours,.orr-ans { font-size:17px; }.orr-flag .chip { font-size:10px; padding:3px 6px; }.hist-table { font-size:13px; }.hist-table th,.hist-table td { padding:13px 10px; }.hist-table td[style] { font-size:11px !important; }.hist-table th:nth-child(4),.hist-table td:nth-child(4) { display:none; }.hist-table td:nth-child(2) { max-width:135px; }.hist-table .btn { padding:3px 5px; min-height:28px; font-size:11px; }.kpis { grid-template-columns:repeat(2,1fr); gap:10px; }.kpi { padding:18px; }.kpi .v { font-size:26px; }.report-head h1 { font-size:26px; }.set-head { padding:21px; }.set-body { padding:0 21px; }.set-row { display:block; padding:20px 0; }.set-r { max-width:100%; margin-top:14px; justify-content:flex-start; }.set-desc { font-size:12px; }.set-slider { min-width:230px; }.set-slider input { width:180px; }.pw-form { min-width:0; width:100%; }.wset-row { grid-template-columns:1fr; gap:10px; }.wset-hint { grid-column:1; }.wset-body { padding:0 20px; }.wq-grid { padding:16px; grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px; }.wq-card { padding:17px; min-height:206px; }.wq-title { font-size:17px; }.wq-sub { font-size:12px; }.wq-no { font-size:10px; }.write-bar { gap:10px; }.write-meta b { font-size:13px; }.write-meta span { font-size:11px; }.write-timer { padding:7px 9px; font-size:14px; }.write-q { padding:22px; }.wq-scenario,.wq-prompt { font-size:18px; }.wq-task-h,.wq-task li { font-size:15px; }.write-ta { font-size:18px; min-height:48vh; padding:22px; }.discussion-bubble p { font-size:16px; }.discussion-name { flex-wrap:wrap; gap:3px 8px; }.write-hud { right:12px; bottom:12px; padding:9px 30px 9px 13px; gap:13px; }.wh-row:first-child,.wh-row:nth-child(3) { display:none; }.wh-v { font-size:14px; }.wr-text pre { font-size:17px; padding:20px; }.wr-head { padding:24px; }.wr-score { font-size:34px; }.wr-meta { font-size:12px; }.exam-head { padding:16px 18px; flex-wrap:wrap; gap:15px; }.test-wordmark { font-size:19px; }.test-wordmark small { font-size:7px; letter-spacing:2px; }.exam-actions { gap:6px; }.exam-btn { padding:6px 8px; font-size:11px; min-height:32px; }.exam-tool-divider { display:none; }.exam-bar { padding:13px 18px; gap:10px; font-size:11px; }.test-question-label { display:none; }.exam-bar>div { gap:8px; }.ex-time { gap:8px; }.ex-time b { font-size:14px; }.ex-hide { font-size:9px; }.exam-body { padding:28px 22px; min-height:calc(100dvh - 220px); }.exam-inst { font-size:20px; }.exam-input-hint,.test-instruction { font-size:11px; margin-bottom:22px; }.exam-body .passage { font-size:20px; }.exam-body .ex-say,.exam-body .ex-sentence { font-size:19px; }.exam-bottom { padding:15px 18px; gap:9px; flex-wrap:wrap; }.test-bottom-label { display:none; }.exam-bottom .btn { font-size:11px; padding:7px 10px; min-height:34px; }.exam-bottom-exit { font-size:11px; margin-right:auto; }.in-exam .write-shell { padding:0 18px 25px; }.exam-writing-banner { margin-bottom:20px; padding:18px; font-size:14px; }.exam-writing-banner>span { font-size:10px; }.auth { grid-template-columns:1fr; padding:0; }.auth-stage { min-height:250px; max-height:34vh; border-radius:0; padding:20px; }.auth-promo-video { object-fit:cover; }.auth-side { padding:35px 25px 45px; }.auth-card { max-width:420px; }.auth-card h2 { font-size:29px; }.auth-studio-brand { padding:7px 10px; font-size:14px; }.auth-studio-brand .studio-logo { font-size:28px; }.auth-studio-brand small { font-size:7px; }.auth-video-hint { inset:auto 15px 15px; padding:10px 13px; font-size:11px; }.vocab-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px; }.vb-card { padding:18px; }.vb-w { font-size:22px; }.vb-sense { font-size:13px; }.vb-detail { padding:24px; }.vd-def,.vd-snip { font-size:17px; } }
@media(max-width:430px) { .toc,.ord-grid,.wq-grid,.vocab-list { grid-template-columns:1fr; }.toc-card .ti { min-height:auto; -webkit-line-clamp:2; }.toc-card { padding:21px; }.cb-assignment-row { flex-wrap:wrap; }.cb-task-copy { flex-basis:70%; }.cb-state { margin-left:auto; }.cb-task-action { margin-left:auto; }.reference-card { padding-left:23px; padding-right:23px; }.result-top { grid-template-columns:1fr; text-align:center; }.donut { margin:auto; }.result-list .row { grid-template-columns:18px 48px 1fr 1fr; gap:7px; }.ys,.right { font-size:16px; }.ord-result-row { grid-template-columns:20px 1fr; }.orr-flag { grid-column:2; }.exam-actions { width:100%; margin-left:0; justify-content:flex-end; }.exam-head { gap:13px; }.word-tray-label>span:last-child { display:none; }.hist-table th:nth-child(1),.hist-table td:nth-child(1) { display:none; } }
/* Writing statistics stay inside the editor and share the same text rhythm. */
.write-stats-inline { position:static; display:flex; justify-content:flex-start; flex-wrap:wrap; gap:20px; border:0; border-top:1px solid var(--border); border-radius:0; background:var(--surface-alt); box-shadow:none; padding:14px 45px 14px 23px; min-height:52px; margin-top:auto; }
.write-stats-inline .wh-toggle { display:none; }
.write-stats-inline .wh-row { display:flex; }
.write-stats-inline .wh-v { font-size:15px; }
.teacher-manager-overlay { position:fixed; z-index:50; background:var(--bg); overflow:hidden; }
.teacher-manager-overlay[hidden] { display:none; }
.teacher-manager-overlay iframe { width:100%; height:100%; border:0; display:block; }
@media(max-width:760px) { .write-stats-inline { gap:14px; padding:12px 20px; }.write-stats-inline .wh-row { display:flex; }.write-stats-inline .wh-row:nth-child(3) { display:none; } }
/* Dashboard details and saved task feedback. */
.welcome-row .eyebrow { margin-bottom:9px; }
.section-heading { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:18px; }
.section-heading h2 { margin:7px 0 0; font-size:20px; }
.text-button { padding:5px 0; color:var(--accent-strong); font-size:13px; font-weight:750; }
.studio-empty:has(>p) { display:block; }
.task-filters { gap:2px; padding:3px; }
.task-filters button { padding:6px 10px; font-size:12px; border-radius:6px; }
.feedback-ready { color:var(--accent-strong) !important; font-weight:750; }
.goal-ring { width:142px; height:142px; border-radius:50%; margin:24px auto 20px; display:grid; place-items:center; background:conic-gradient(var(--accent) var(--goal),var(--accent-soft) 0); }
.goal-ring>div { width:119px; height:119px; border-radius:50%; background:var(--surface); display:flex; align-items:center; justify-content:center; flex-direction:column; }
.goal-ring b { font-size:30px; line-height:1.2; color:var(--accent-strong); font-weight:800; }
.goal-ring b small { font-size:15px; color:var(--muted); font-weight:600; }
.goal-ring>div>span { font-size:12px; color:var(--muted); margin-top:7px; }
.cb-progress-card>p { font-size:13px; color:var(--muted); text-align:center; line-height:1.7; margin:0 0 18px; }
.cb-progress-card>#editGoal { display:flex; margin:auto; }
.routine-summary { display:flex; align-items:center; gap:13px; flex-wrap:wrap; padding:23px; border:1px solid var(--border); border-radius:14px; background:var(--surface); margin-bottom:28px; }
.routine-summary>div { margin-right:auto; }
.routine-summary h3 { font-size:18px; margin:7px 0 0; }
.routine-summary .btn { font-size:13px; white-space:normal; text-align:left; justify-content:flex-start; }
.modal:has(.answer-report-list) { width:min(850px,100%); }
.answer-report-heading { color:var(--text) !important; font-size:18px !important; font-weight:750; }
.answer-report-list { border:1px solid var(--border); border-radius:11px; overflow:hidden; }
.answer-report-row { display:grid; grid-template-columns:28px 1fr 1fr auto; gap:13px; align-items:center; padding:18px 20px; border-bottom:1px solid var(--border); background:var(--surface); font-size:16px; line-height:1.7; }
.answer-report-row:last-child { border-bottom:0; }
.answer-report-row>b { font:650 12px var(--mono); color:var(--faint); }
.answer-report-row>span:nth-child(2) { color:var(--muted); overflow-wrap:anywhere; }
.answer-report-row>strong { color:var(--accent-strong); font-size:17px; overflow-wrap:anywhere; }
.answer-report-row>.chip { font-size:12px; white-space:nowrap; }
.teacher-feedback { padding:21px; margin:20px 0; background:var(--accent-soft); border:1px solid var(--accent-border); border-radius:11px; }
.teacher-feedback>b { font-size:14px; color:var(--accent-strong); }
.teacher-feedback>p { font-size:16px; color:var(--text); margin:9px 0 0; line-height:1.8; }
.reference-count { font:650 11px var(--mono); color:#e1ebe4; margin-right:16px; }
.reference-dots { margin-right:auto; gap:0; }
.reference-dots button,.reference-dots button.active { position:relative; width:32px; height:32px; border-radius:6px; background:none; padding:0; }
.reference-dots button:before { content:""; position:absolute; left:50%; top:50%; width:6px; height:6px; border-radius:6px; transform:translate(-50%,-50%); background:#c7d6ca90; transition:width .28s var(--ease-out),background .28s; }
.reference-dots button.active:before { width:20px; background:#fff; }
.reference-arrows { display:flex; gap:7px; }
.reference-arrows .icon-btn { width:34px; height:34px; border:1px solid #ffffff70; border-radius:50%; background:#ffffff12; color:#fff; font-size:15px; transition:background .2s,transform .2s; }.reference-arrows .icon-btn:hover { background:#ffffff30; transform:translateY(-2px); }
.preview-status { display:flex; gap:7px; align-items:center; color:var(--muted); font-size:11px; margin-top:18px; }
.preview-status i { width:5px; height:5px; background:var(--accent); border-radius:50%; }
.preview-visual strong>span { display:inline-block; font-size:26px; color:var(--accent); border-bottom:2px solid var(--accent-border); margin-left:2px; }
.preview-visual .preview-dialogue { font-size:20px; font-family:var(--serif); line-height:1.65; }
.preview-tiles { margin-top:20px; }
.preview-discussion { padding-top:14px; }
.preview-discussion p { font-size:16px; line-height:1.75; margin:10px 0; }
@media(max-width:760px) {
 .welcome-row p { font-size:15px; }.reference-card-tag { font-size:12px; letter-spacing:1.2px; }.reference-card p { font-size:16px; }.reference-card-link { font-size:14px; }.cb-dash-top p { font-size:14px; }.cb-kicker { font-size:11px; }.cb-task-copy b { font-size:15px; }.cb-task-copy small { font-size:12px; }.cb-task-action { font-size:12px; }.cb-state { font-size:11px; }.cb-updated { font-size:12px; }.studio-history-row { font-size:15px; }.studio-history-row small { font-size:12px; }.resume-copy p { font-size:14px; }.toc-card .meta { font-size:12px; }.toc-card .no { font-size:12px; }.ord-card-top { font-size:13px; }.ord-card-foot { font-size:12px; }.ord-badge { font-size:12px; }.wq-no { font-size:12px; }.wq-sub { font-size:14px; }.wq-go { font-size:13px; }.speaker-name { font-size:13px; }.speaker-name small { font-size:11px; }.word-tray-label { font-size:11px; }.word-tray-label>span:last-child { font-size:11px; }.exam-bar { font-size:12px; }.exam-btn { font-size:12px; }.exam-input-hint,.test-instruction { font-size:12px; }.exam-bottom .btn { font-size:12px; }.exam-bottom-exit { font-size:12px; }.section-heading h2 { font-size:19px; }.routine-summary { padding:21px; align-items:flex-start; }.routine-summary>div { width:100%; margin-bottom:5px; }.routine-summary .btn { width:100%; font-size:14px; }.answer-report-row { grid-template-columns:22px 1fr auto; padding:16px; gap:7px 10px; font-size:15px; }.answer-report-row>strong { grid-column:2; font-size:16px; }.answer-report-row>.chip { grid-column:3; grid-row:1/3; }.answer-report-row>b { grid-row:1/3; }.answer-report-heading { font-size:17px !important; }.task-filters button { font-size:12px; padding:6px 8px; }.cb-section-head { flex-wrap:wrap; }.text-button { font-size:13px; }
}
.guest-start { display:flex; align-items:center; justify-content:center; gap:12px; min-height:45px; width:100%; padding:10px 15px; margin-top:14px; border:1px solid var(--border); border-radius:10px; background:var(--surface); color:var(--accent-strong); font-size:14px; font-weight:750; }
.guest-start:hover { background:var(--accent-soft); border-color:var(--accent-border); }
.key-row { display:flex; align-items:center; gap:10px; }
.key-row .input { flex:1; min-width:0; }
.teacher-summary-actions { display:flex; gap:10px; flex-wrap:wrap; padding:3px 0 0; }
.teacher-summary-actions .btn { flex:1; justify-content:space-between; font-size:13px; }
@media(max-width:760px) { #teacher-home-summary .cb-dash-top { flex-wrap:wrap; align-items:flex-start; }#teacher-home-summary .cb-dash-top .btn { min-height:36px; font-size:12px; }.teacher-summary-actions .btn { font-size:12px; }.key-row { flex-wrap:wrap; } }

/* Save state sits above exam controls rather than over the submit button. */
.in-exam .cloud-sync-status{bottom:82px!important}

.result-actions{display:flex;align-items:center;gap:20px;justify-content:space-between;padding:22px 28px;border-top:1px solid var(--border);background:var(--surface-alt)}.result-exit{min-height:48px;font-size:17px;padding:11px 24px}.result-actions .hint{font-size:13px}@media(max-width:600px){.result-actions{align-items:flex-start;flex-direction:column;gap:12px;padding:20px}.result-exit{width:100%}}

@media (prefers-reduced-motion:reduce) { .reference-cards,.reference-card-copy,.preview-visual { transition:none; } }
html.reduce-motion .reference-cards,html.reduce-motion .reference-card-copy,html.reduce-motion .preview-visual { transition:none; }
html.reduce-motion .studio-sidebar .navlink:hover,html.reduce-motion .teacher-manager-btn:hover,html.reduce-motion .reference-card-link:hover,html.reduce-motion .reference-arrows .icon-btn:hover,html.reduce-motion .toc-card:hover,html.reduce-motion .ord-card:hover,html.reduce-motion .wq-card:hover,html.reduce-motion .vb-card:hover,html.reduce-motion .studio-module:hover { transform:none; }

/* Section labels preserve the reading/writing taxonomy at every entry point. */
.studio-sidebar .nav-section-label { margin:13px 12px 3px; color:var(--muted); font-size:10px; font-weight:800; letter-spacing:.11em; }
.studio-sidebar .nav-coming-soon { display:flex; align-items:center; gap:12px; min-height:38px; padding:7px 13px; color:var(--muted); font-size:13px; opacity:.8; }
.studio-sidebar .nav-coming-soon small { margin-left:auto; color:var(--muted); font-size:11px; white-space:nowrap; }
@media(max-width:760px) { .studio-sidebar .nav-section-label { display:none; }.studio-sidebar .nav-coming-soon { flex:none; gap:5px; padding:7px 11px; font-size:12px; white-space:nowrap; }.studio-sidebar .nav-coming-soon .nav-symbol { width:20px; font-size:17px; }.studio-sidebar .nav-coming-soon small { margin-left:3px; font-size:10px; } }
/* Answers remain visible during review on touch and keyboard devices. */
.blank.wrong .ans,.blank.wrong:hover .ans { display:inline; position:static; padding:0 4px; border:0; box-shadow:none; background:transparent; color:var(--success); font:700 .8em var(--font); white-space:nowrap; }
.assignment-banner { padding:13px 28px; background:var(--accent-soft); color:var(--accent-strong); font-size:15px; font-weight:750; }
.assignment-complete-note { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; }

/* A calm, task-first home dashboard shared by students and teachers. */
.studio-home .welcome-row { margin-bottom:32px; }
.studio-home .welcome-row h1 { font-size:clamp(30px,3vw,40px); letter-spacing:-.045em; }
.studio-home .cb-dashboard { padding:28px; margin-bottom:24px; border:1px solid var(--border); border-radius:22px; background:var(--surface); box-shadow:0 14px 42px #263b2d0a; }
.studio-home .cb-dash-top { align-items:flex-start; margin-bottom:22px; }
.studio-home .cb-dash-top h2 { font-size:25px; letter-spacing:-.035em; margin:7px 0; }
.studio-home .cb-dash-top p { line-height:1.65; }
.studio-home .cb-updated { display:inline-flex; align-items:center; gap:7px; padding:6px 10px; border:1px solid var(--border); border-radius:999px; background:var(--surface-alt); color:var(--muted); font-size:12px; }
.studio-home .cb-updated:before { content:''; width:7px; height:7px; border-radius:50%; background:var(--accent); }
.studio-home .cb-metrics { gap:10px; margin-bottom:18px; }
.studio-home .cb-metric { display:flex; flex-direction:column; align-items:flex-start; justify-content:space-between; min-height:106px; padding:18px 20px; gap:12px; border:1px solid var(--border); border-radius:14px; background:var(--surface-alt); box-shadow:none; }
.studio-home .cb-metric:first-child { background:var(--accent-soft); border-color:var(--accent-border); }
.studio-home .cb-metric b { margin:0; font-size:32px; letter-spacing:-.04em; color:var(--text); }
.studio-home .cb-metric span { font-size:13px; color:var(--muted); }
.studio-home .cb-assignment-card,.studio-home .cb-progress-card { padding:23px; border-radius:15px; box-shadow:none; }
.studio-home .cb-assignment-card { background:var(--surface); }
.studio-home .cb-progress-card { background:var(--surface-alt); }
.studio-home .cb-section-head h3,.studio-home .cb-progress-card h3 { font-size:18px; }
.studio-home .cb-assignment-row { min-height:77px; }
.studio-home .cb-task-copy b { font-size:15px; }
.studio-home .cb-task-copy small { font-size:12px; }
.studio-home .cb-state { padding:5px 9px; font-size:11px; }
.studio-home .cb-empty { min-height:100px; }
.studio-home .cb-empty-icon { width:46px; height:46px; }
.studio-home .goal-ring>div { background:var(--surface-alt); }
.studio-home #teacher-home-summary .teacher-summary-actions { margin-top:8px; }
.studio-home #teacher-home-summary .teacher-summary-actions .btn { min-height:44px; padding:10px 14px; background:var(--surface-alt); }
.studio-home .studio-cinema { margin-top:6px; }
@media(max-width:980px) { .studio-home .cb-dashboard { padding:22px; }.studio-home .cb-metric { min-height:96px; }.studio-home .cb-metric b { margin:0; } }
@media(max-width:760px) { .studio-home .welcome-row { margin-bottom:22px; }.studio-home .cb-dashboard { padding:20px 17px; border-radius:17px; }.studio-home .cb-dash-top { flex-wrap:wrap; gap:10px; margin-bottom:17px; }.studio-home .cb-dash-top h2 { font-size:22px; }.studio-home .cb-updated { display:none; }.studio-home .cb-metric { min-height:82px; padding:14px; }.studio-home .cb-metric b { font-size:27px; }.studio-home .cb-assignment-card { padding:17px; }.studio-home .cb-task-copy b { font-size:14px; }.studio-home .cb-task-copy small { font-size:12px; }.studio-home .cb-assignment-row { flex-wrap:wrap; }.studio-home .cb-task-action { margin-left:auto; }.studio-home .reference-card { padding:28px 27px 68px; } }
.studio-home .cb-dashboard-grid { align-items:start; }

/* Task overview: a quiet editorial surface with clear priorities. */
.studio-home .cb-dashboard { position:relative; overflow:hidden; padding:32px; border-color:#d8e1d8; background:linear-gradient(145deg,#eaf0e9 0%,#f5f6f1 53%,#eeeae1 100%); box-shadow:0 18px 45px rgba(39,62,48,.08); }
.studio-home .cb-dash-top { position:relative; margin-bottom:26px; }
.studio-home .cb-dash-top h2 { color:#263d32; font-size:30px; font-weight:800; }
.studio-home .cb-dash-top p { color:#5c6c61; font-size:14px; }
.studio-home .cb-kicker { color:#55725f; letter-spacing:.16em; font-weight:800; }
.studio-home .cb-updated { color:#41634e; border-color:#c8d9c9; background:rgba(255,255,255,.65); font-weight:700; }
.studio-home .cb-metrics { gap:12px; margin-bottom:18px; }
.studio-home .cb-metric { position:relative; overflow:hidden; min-height:116px; padding:19px 21px; background:rgba(255,255,255,.7); border:1px solid rgba(255,255,255,.95); border-radius:16px; }
.studio-home .cb-metric::after { content:''; position:absolute; width:54px; height:54px; right:-14px; bottom:-16px; border:1px solid rgba(65,101,76,.14); border-radius:50%; box-shadow:0 0 0 10px rgba(65,101,76,.035); pointer-events:none; }
.studio-home .cb-metric:first-child { background:#314e3e; border-color:#314e3e; }
.studio-home .cb-metric:first-child span { color:#c7d7ca; }
.studio-home .cb-metric:first-child b { color:#fff; }
.studio-home .cb-metric b { color:#294334; font-size:34px; font-weight:800; line-height:1; }
.studio-home .cb-metric span { color:#66786c; font-size:13px; font-weight:700; }
.studio-home .cb-assignment-card,.studio-home .cb-progress-card { background:rgba(255,255,255,.82); border:1px solid rgba(255,255,255,.94); border-radius:18px; box-shadow:0 8px 24px rgba(40,65,49,.045); }
.studio-home .cb-assignment-card { padding:24px; }
.studio-home .cb-section-head { padding-bottom:16px; border-bottom:1px solid #e5ebe4; }
.studio-home .cb-section-head h3,.studio-home .cb-progress-card h3 { color:#263d32; font-size:18px; font-weight:800; }
.studio-home .task-filters { background:#eef2ed; border:0; padding:4px; border-radius:10px; }
.studio-home .task-filters button { color:#566b5e; font-weight:700; border-radius:7px; }
.studio-home .task-filters button.on { color:#254936; background:#fff; box-shadow:0 2px 8px rgba(40,65,49,.1); }
.studio-home .cb-empty { min-height:125px; padding:25px 18px; margin-top:12px; border:1px dashed #cfdbcf; border-radius:14px; background:linear-gradient(115deg,#f2f7f1,#fafbf8); }
.studio-home .cb-empty-icon { width:54px; height:54px; border-radius:17px; color:#436c51; background:#dcebdd; font-size:24px; }
.studio-home .cb-empty b { color:#2d4937; font-size:16px; }
.studio-home .cb-empty p { color:#617568; line-height:1.6; }
.studio-home .cb-assignment-row { margin-top:10px; padding:14px; min-height:78px; border:1px solid #e3ebe2; border-radius:13px; background:#fbfcfa; transition:background .18s ease,border-color .18s ease; }
.studio-home .cb-assignment-row:hover { border-color:#b7cfba; background:#f3f8f2; }
.studio-home .cb-task-mark { display:grid; width:42px; height:42px; background:#e1ece1; }
.studio-home .cb-task-action { min-height:38px; padding:8px 12px; font-weight:700; }
.studio-home .cb-progress-card { background:#e0eadf; border-color:#d4e1d3; }
.studio-home .goal-ring>div { background:#e0eadf; }
.studio-home .cb-progress-card>p { color:#516b58; }
@media(max-width:980px) { .studio-home .cb-progress-card { display:block; } }
@media(max-width:760px) { .studio-home .cb-dashboard { padding:20px 17px; }.studio-home .cb-dash-top h2 { font-size:25px; }.studio-home .cb-metric { min-height:93px; padding:15px; }.studio-home .cb-metric b { font-size:29px; }.studio-home .cb-assignment-card { padding:17px; }.studio-home .cb-section-head { align-items:flex-start; }.studio-home .cb-empty { padding:18px 13px; }.studio-home .cb-assignment-row { gap:8px; }.studio-home .cb-task-mark { display:grid; } }
@media(prefers-reduced-motion:reduce) { .studio-home .cb-assignment-row { transition:none; } }
.auth-initial-password { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:4px 0 16px; padding:13px 15px; border:1px solid #d7e5d7; border-radius:12px; background:#edf5ed; color:#405c48; font-size:13px; font-weight:700; }
.auth-initial-password strong { color:#274c34; font-size:17px; letter-spacing:.12em; }
.auth-initial-password span { flex-basis:100%; color:#65796a; font-size:12px; font-weight:500; }

/* Login and registration: a quiet editorial frame around the original film. */
.auth { min-height:100dvh; grid-template-columns:minmax(0,1.16fr) minmax(410px,.84fr); gap:0; padding:18px; background:#f0f2ee; }
.auth-stage { min-height:calc(100dvh - 36px); border-radius:18px; background:#14291f; padding:26px; box-shadow:0 12px 35px #233d2e16; }
.auth-promo-video { background:#14291f; object-fit:contain; }
.auth-studio-brand { padding:11px 14px; border:1px solid #ffffff30; border-radius:11px; background:#10271dcc; }
.auth-video-hint { inset:auto auto 24px 24px; max-width:calc(100% - 48px); padding:10px 14px; border:1px solid #ffffff55; border-radius:9px; background:#10271dd9; color:#eef5ef; font-size:12px; }
.auth-side { padding:36px clamp(30px,5vw,86px); }
.auth-card { max-width:420px; }
.auth-kicker { margin:0 0 15px; color:var(--accent-strong); font-size:10px; font-weight:800; letter-spacing:.18em; }
.auth-kicker span { color:#a3b0a7; margin:0 6px; }
.auth-card h2 { margin-bottom:10px; font-size:clamp(34px,3vw,42px); letter-spacing:-.055em; }
.auth-card .auth-subline { margin-bottom:26px; font-size:15px; color:#52645a; }
.auth-tabs { display:inline-flex; gap:4px; padding:4px; margin-bottom:36px; border:1px solid #d8e1d8; border-radius:11px; background:#e8ede7; }
.auth-tabs button { min-width:78px; margin:0; padding:8px 18px; border:0; border-radius:8px; color:#54645b; font-size:14px; transition:background .2s,color .2s,box-shadow .2s; }
.auth-tabs button.active { color:var(--accent-strong); background:white; box-shadow:0 2px 7px #243d2d12; }
.auth .field { margin-bottom:17px; }
.auth .input-wrap label { margin-bottom:7px; color:#34463c; font-size:13px; }
.auth .input { min-height:49px; padding:11px 14px; border-color:#d6dfd7; border-radius:10px; background:#fff; box-shadow:0 2px 7px #233d2d06; }
.auth .input:hover { border-color:#a9b9ac; }
.auth .input:focus { border-color:var(--accent); box-shadow:0 0 0 4px var(--accent-soft); }
.auth .code-hint { margin-top:6px; font-size:12px; }
.auth-card .btn-block { min-height:51px; border-radius:10px; box-shadow:0 7px 17px #3157441d; transition:background .2s,transform .2s,box-shadow .2s; }
@media(hover:hover) { .auth-card .btn-block:hover { transform:translateY(-2px); box-shadow:0 10px 20px #3157442b; } }
.auth-switch { padding-top:22px; margin-top:23px; border-top:1px solid #dce3dc; font-size:14px; }
.auth .local-privacy { margin-top:24px; color:#637369; font-size:12px; }
@media(max-width:980px) { .auth { grid-template-columns:1fr 1fr; padding:12px; }.auth-stage { min-height:calc(100dvh - 24px); }.auth-side { padding:32px; } }
@media(max-width:760px) { .auth { grid-template-columns:1fr; padding:0; }.auth-stage { min-height:245px; height:34vh; max-height:320px; border-radius:0 0 18px 18px; padding:17px; }.auth-promo-video { object-fit:contain; }.auth-studio-brand { padding:7px 10px; }.auth-video-hint { inset:auto 16px 16px; }.auth-side { padding:32px 24px 45px; }.auth-tabs { margin-bottom:25px; }.auth-card h2 { font-size:32px; } }
@media(prefers-reduced-motion:reduce) { .auth-card .btn-block:hover { transform:none; } }
html.reduce-motion .auth-card .btn-block:hover { transform:none; }

.auth-admin-toggle { margin-top:7px; padding:2px 0; color:var(--accent-strong); font-size:12px; font-weight:700; }
.auth-admin-toggle:hover { text-decoration:underline; text-underline-offset:3px; }

/* A composed, legible welcome screen around the full promotional film. */
.auth { grid-template-columns:minmax(0,1.08fr) minmax(450px,.92fr); padding:22px; gap:22px; background:#e9eee8; }
.auth-stage { min-height:calc(100dvh - 44px); border-radius:24px; background:#1a3027; box-shadow:0 18px 55px rgba(35,55,43,.14); }
.auth-promo-video { background:#1a3027; }
.auth-side { position:relative; padding:42px clamp(26px,4vw,64px); border:1px solid rgba(255,255,255,.8); border-radius:24px; background:linear-gradient(145deg,#fbfcf8 0%,#f3f6f0 100%); box-shadow:0 14px 45px rgba(38,58,44,.06); }
.auth-card { max-width:390px; }
.auth-tabs { display:flex; width:100%; padding:5px; gap:5px; margin-bottom:44px; border:1px solid #dfe8de; border-radius:13px; background:#edf2eb; }
.auth-tabs button { flex:1; min-height:42px; border:0; border-radius:9px; font-size:15px; font-weight:750; }
.auth-tabs button.active { background:#fff; color:#284d38; box-shadow:0 2px 12px rgba(43,70,51,.1); }
.auth-kicker { color:#668270; font-size:10px; letter-spacing:.18em; }
.auth-card h2 { color:#243b2e; font-size:clamp(35px,3.2vw,44px); line-height:1.16; letter-spacing:-.045em; }
.auth-card .auth-subline { margin:12px 0 30px; color:#65766a; line-height:1.7; }
.auth .field { margin-bottom:20px; }
.auth .input-wrap label { margin-bottom:9px; color:#344c3c; font-size:14px; font-weight:750; }
.auth .input { min-height:55px; border:1px solid #d7e1d8; border-radius:11px; color:#253c2d; font-size:15px; background:#fff; }
.auth .input::placeholder { color:#87988b; }
.auth .input:focus-visible { outline:2px solid #648d70; outline-offset:2px; }
.auth-password-wrap { position:relative; }
.auth-password-wrap .input { padding-right:65px; }
.auth-show-password { position:absolute; right:9px; top:50%; transform:translateY(-50%); min-width:45px; min-height:38px; border-radius:8px; color:#4f6b58; font-size:13px; font-weight:700; }
.auth-show-password:hover { background:#edf4ed; }
.auth-show-password:focus-visible,.auth-tabs button:focus-visible { outline:2px solid #648d70; outline-offset:2px; }
.auth-card .btn-block { min-height:55px; margin-top:14px!important; border-radius:11px; background:#345a43; border-color:#345a43; color:#fff; font-size:15px; font-weight:800; }
.auth-card .btn-block:hover { background:#294a36; }
.auth-switch { justify-content:center; padding-top:23px; margin-top:25px; color:#627367; }
.auth .local-privacy { text-align:center; color:#738378; }
.auth-initial-password { margin:2px 0 16px; padding:15px 16px; border-color:#d5e5d4; border-radius:12px; background:#edf5ec; }
.auth-studio-brand { border-radius:13px; }
@media(max-width:980px) { .auth { grid-template-columns:minmax(0,1fr) minmax(360px,1fr); gap:12px; padding:12px; }.auth-stage { min-height:calc(100dvh - 24px); }.auth-side { padding:30px; } }
@media(max-width:760px) { .auth { grid-template-columns:1fr; gap:0; padding:0; background:#f5f7f2; }.auth-stage { min-height:220px; height:32vh; max-height:290px; border-radius:0 0 22px 22px; }.auth-side { padding:32px 24px 40px; border:0; border-radius:0; background:transparent; box-shadow:none; }.auth-tabs { margin-bottom:30px; }.auth-card h2 { font-size:34px; }.auth-card .auth-subline { margin-bottom:25px; } }
.auth-background-start{position:absolute;right:26px;top:30px;z-index:5;border:1px solid #ffffff70;border-radius:999px;padding:11px 17px;background:#102319b3;color:#fff;backdrop-filter:blur(10px);font-size:13px;font-weight:700;cursor:pointer}
.auth-background-start[hidden]{display:none!important}
.auth-background-start:focus-visible{outline:3px solid #fff;outline-offset:4px}
@media(max-width:720px){.auth-background-start{top:27px;right:20px;padding:9px 12px;font-size:11px}}

/* Assigned vocabulary books: quiet, legible study surfaces. */
.study-wrap { max-width: 1200px; margin: 0 auto; padding-bottom: 48px; }
.study-head { display:flex; justify-content:space-between; gap:20px; align-items:end; padding:5px 0 26px; margin-bottom:27px; border-bottom:1px solid var(--border); }
.study-head h1 { margin:12px 0 8px; font-size:clamp(30px,3vw,40px); letter-spacing:-.04em; }
.study-head p,.study-intro p { margin:0; color:var(--muted); font-size:15px; line-height:1.8; }
.study-note { display:flex; align-items:center; gap:20px; padding:20px 24px; margin-bottom:20px; border:1px solid var(--accent-border); border-radius:15px; background:var(--accent-soft); color:var(--accent-strong); }
.study-note b { flex:none; font-size:16px; }.study-note span { font-size:14px; line-height:1.7; }
.study-book-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(290px,1fr)); gap:16px; }
.study-book { display:flex; flex-direction:column; min-height:270px; padding:24px; border:1px solid var(--border); border-radius:16px; background:var(--surface); box-shadow:0 5px 22px #20382d08; }
.study-book-top,.study-book-progress { display:flex; align-items:center; justify-content:space-between; gap:12px; color:var(--muted); font-size:12px; font-weight:700; }
.study-book-top span:first-child,.study-label,.study-word-label { color:var(--accent-strong); font-size:11px; font-weight:800; letter-spacing:.15em; }
.study-book h2 { margin:22px 0 8px; font-size:23px; }.study-book p { color:var(--muted); font-size:14px; line-height:1.7; margin:0 0 24px; }.study-book-progress { margin-top:auto; }
.study-track,.study-session-bar { height:6px; overflow:hidden; border-radius:10px; background:var(--accent-soft); }.study-track { margin:10px 0 20px; }.study-track i,.study-session-bar i { display:block; height:100%; border-radius:inherit; background:var(--accent); transition:width .35s ease; }.study-book .btn { align-self:flex-start; }
.study-back { display:block; margin:0 0 20px; padding:0; color:var(--accent-strong); font-size:14px; font-weight:750; }.study-back:hover { text-decoration:underline; text-underline-offset:4px; }
.study-intro { display:grid; grid-template-columns:1fr auto; align-items:center; gap:30px; padding:40px; border:1px solid var(--border); border-radius:20px; background:linear-gradient(115deg,var(--surface) 35%,var(--accent-soft)); }.study-intro h2 { margin:14px 0 12px; font-size:27px; }.study-intro p { max-width:570px; }.study-intro .btn { margin-top:26px; }.study-intro-number { color:var(--accent-strong); font:700 86px/1 var(--serif); letter-spacing:-.06em; text-align:center; }.study-intro-number small { display:block; font:750 10px/1.4 var(--font); letter-spacing:.12em; margin-top:10px; }
.study-session-head { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-bottom:18px; }.study-session-head .study-back { margin:0; }.study-session-head div { text-align:right; }.study-session-head b,.study-session-head span { display:block; }.study-session-head b { font-size:14px; }.study-session-head span { color:var(--muted); font-size:12px; }.study-session-bar { margin-bottom:24px; }
.study-focus { max-width:780px; margin:0 auto; padding:clamp(26px,5vw,56px); min-height:430px; border:1px solid var(--border); border-radius:20px; background:var(--surface); box-shadow:0 12px 36px #20382d0a; }.study-word { margin:18px 0 8px; font:700 clamp(38px,5vw,60px)/1.15 var(--serif); letter-spacing:-.04em; overflow-wrap:anywhere; }.study-prompt { color:var(--muted); font-size:15px; }.study-reveal { margin-top:25px; }
.study-choices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:28px; }.study-choice { display:flex; align-items:center; gap:13px; min-height:64px; padding:13px 16px; border:1px solid var(--border); border-radius:11px; background:var(--surface); text-align:left; font-size:16px; font-weight:650; line-height:1.5; transition:background .2s,border-color .2s; }.study-choice:hover,.study-choice:focus-visible { border-color:var(--accent); background:var(--accent-soft); }.study-choice>span { display:grid; place-items:center; flex:none; width:28px; height:28px; border-radius:8px; background:var(--surface-alt); color:var(--muted); font-size:12px; }
.study-feedback,.study-self { margin-top:26px; padding:20px 22px; border-radius:12px; border:1px solid var(--accent-border); background:var(--accent-soft); }.study-feedback.is-wrong { border-color:#e8c6bf; background:var(--danger-soft); }.study-feedback b,.study-self b { font-size:17px; }.study-feedback p,.study-self p { margin:8px 0; color:var(--text); }.study-feedback small { color:var(--muted); font-size:13px; }.study-self>div { display:flex; flex-wrap:wrap; gap:10px; margin-top:15px; }
.study-complete,.study-empty { padding:54px 28px; text-align:center; border:1px solid var(--border); border-radius:18px; background:var(--surface); }.study-empty { grid-column:1/-1; }.study-empty b { font-size:18px; }.study-empty p,.study-complete p { color:var(--muted); line-height:1.8; }.study-complete-mark { display:grid; place-items:center; width:66px; height:66px; margin:24px auto; border-radius:50%; color:var(--accent-strong); background:var(--accent-soft); font-size:30px; }.study-complete h1 { margin:0 0 12px; font-size:32px; }.study-complete .btn { margin-top:12px; }.study-loading { color:var(--muted); padding:30px 0; }.study-error { padding:13px 16px; margin-bottom:18px; border-radius:10px; background:var(--danger-soft); color:var(--danger); }
@media(max-width:700px) { .study-note { align-items:flex-start; flex-direction:column; gap:5px; }.study-intro { grid-template-columns:1fr; padding:26px; }.study-intro-number { display:none; }.study-choices { grid-template-columns:1fr; }.study-focus { min-height:0; }.study-book-grid { grid-template-columns:1fr; } }
@media(prefers-reduced-motion:reduce) { .study-choice,.study-track i,.study-session-bar i { transition:none; } }html.reduce-motion .study-choice,html.reduce-motion .study-track i,html.reduce-motion .study-session-bar i { transition:none; }

/* One local portrait sheet; each participant uses a different crop. */
.ex-avatar { width:54px; height:54px; border-radius:50%; flex:none; overflow:hidden; background-image:url("/assets/9825e3476d757b4253b0a1bd0e578360698c2a4aa5d9bac3fc3b06e6547062bd.png"); background-size:300% 200%; border:2px solid white; box-shadow:0 0 0 1px var(--border); }
.ex-avatar svg { display:none; }
.ex-avatar.face-0 { background-position:0% 0%; }.ex-avatar.face-1 { background-position:50% 0%; }.ex-avatar.face-2 { background-position:100% 0%; }
.ex-avatar.face-3 { background-position:0% 100%; }.ex-avatar.face-4 { background-position:50% 100%; }.ex-avatar.face-5 { background-position:100% 100%; }
@media(max-width:600px) { .ex-avatar { width:44px; height:44px; } }

/* The conversation drawer uses the same accent, border and readable type as the workspace. */
.ft-chat-drawer { position:fixed; z-index:200; right:24px; bottom:24px; width:min(430px,calc(100vw - 32px)); height:min(660px,calc(100dvh - 48px)); display:flex; flex-direction:column; overflow:hidden; border:1px solid var(--border); border-radius:18px; background:var(--surface); color:var(--text); box-shadow:var(--shadow-float); font-family:var(--font); }
.ft-chat-drawer[hidden] { display:none; }
.ft-chat-head { display:flex; align-items:center; justify-content:space-between; padding:22px; gap:16px; border-bottom:1px solid var(--border); background:var(--surface); }
.ft-chat-head>div { position:relative; padding-left:46px; }
.ft-chat-head>div:before { content:'✉'; position:absolute; left:0; top:1px; width:34px; height:36px; display:grid; place-items:center; border-radius:10px; color:var(--accent-strong); background:var(--accent-soft); font-size:18px; }
.ft-chat-head b { display:block; font-size:16px; font-weight:750; }
.ft-chat-head small { display:block; color:var(--muted); font-size:11px; margin-top:5px; }
.ft-chat-close { width:32px; height:32px; display:grid; place-items:center; border:1px solid var(--border); border-radius:50%; color:var(--muted); font-size:21px; line-height:1; }
.ft-chat-close:hover { color:var(--text); background:var(--surface-alt); }
.ft-chat-select { margin:16px 20px 0; padding:10px 12px; width:calc(100% - 40px); border:1px solid var(--border); border-radius:9px; background:var(--surface); font-size:14px; }
.ft-chat-thread { flex:1; min-height:0; overflow-y:auto; display:flex; flex-direction:column; gap:18px; padding:23px 20px; background:var(--surface-alt); scrollbar-width:thin; scrollbar-color:var(--border) transparent; }
.ft-message { max-width:86%; align-self:flex-start; }
.ft-message.mine { align-self:flex-end; }
.ft-message span { display:block; margin:0 3px 6px; color:var(--muted); font-size:11px; }
.ft-message.mine span { text-align:right; }
.ft-message p { margin:0; padding:12px 15px; border:1px solid var(--border); border-radius:4px 13px 13px 13px; background:var(--surface); color:var(--text); font-size:15px; line-height:1.75; white-space:pre-wrap; overflow-wrap:anywhere; }
.ft-message.mine p { border-radius:13px 4px 13px 13px; border-color:var(--accent-border); background:var(--accent-soft); color:var(--accent-strong); }
.ft-chat-empty { max-width:250px; margin:auto; text-align:center; color:var(--muted); font-size:14px; line-height:1.9; }
.ft-chat-empty:before { content:'✉'; display:grid; place-items:center; width:52px; height:52px; margin:0 auto 15px; border:1px solid var(--accent-border); border-radius:15px; background:var(--accent-soft); color:var(--accent); font-size:22px; }
.ft-chat-form { display:flex; align-items:flex-end; gap:9px; padding:16px 20px 10px; border-top:1px solid var(--border); background:var(--surface); }
.ft-chat-form textarea { flex:1; min-width:0; resize:none; height:46px; max-height:110px; padding:11px 13px; border-radius:9px; font-size:14px; line-height:1.5; }
.ft-chat-form button { height:46px; padding:0 17px; border:1px solid var(--accent); border-radius:9px; background:var(--accent); color:white; font-size:13px; font-weight:750; }
.ft-chat-form button:hover { background:var(--accent-strong); }
.ft-chat-note { order:5; padding:0 21px 15px; color:var(--faint); font-size:10px; background:var(--surface); }
.ft-chat-launch { width:100%; text-align:left; }
@media(max-width:600px) { .ft-chat-drawer { right:8px; bottom:8px; width:calc(100vw - 16px); height:min(660px,calc(100dvh - 16px)); border-radius:14px; }.ft-chat-head { padding:18px; }.ft-chat-thread { padding:18px 16px; }.ft-chat-form { padding:13px 16px 10px; } }
.ft-chat-student { display:flex; align-items:center; gap:12px; margin:15px 20px 0; font-size:12px; font-weight:750; color:var(--muted); }
.ft-chat-student .ft-chat-select { flex:1; width:100%; min-width:0; margin:0; font-size:14px; }
.studio-sidebar .navlink .chat-unread { display:inline-grid; place-items:center; min-width:19px; height:19px; padding:0 5px; margin-left:auto; border-radius:10px; background:var(--accent); color:white; font-size:10px; font-weight:800; }
.studio-sidebar .navlink .chat-unread[hidden] { display:none; }

/* Administrator workspace: the shared F TOEFL visual language, adapted for account management. */
.admin-shell {
  max-width: 1300px;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 32px 48px 56px;
  animation: admin-enter .42s cubic-bezier(.22, 1, .36, 1) both;
}
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 23px;
  border-bottom: 1px solid var(--border);
}
.admin-brand { display: flex; align-items: center; gap: 13px; }
.admin-brand > span { color: var(--accent-strong); font: 750 43px/1 var(--serif); letter-spacing: -3px; }
.admin-brand > b { color: var(--text); font-size: 16px; letter-spacing: .01em; }
.admin-brand small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 1.6px; }
.admin-header > div:last-child { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 13px; font-weight: 650; }
.admin-header .btn { min-height: 39px; font-size: 13px; }

.admin-welcome {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  margin: 30px 0 20px;
  padding: 34px 36px;
  border: 1px solid var(--accent-border);
  border-radius: 20px;
  background: linear-gradient(115deg, var(--surface) 18%, var(--accent-soft) 100%);
}
.admin-welcome::after {
  content: "";
  position: absolute;
  right: 18%;
  top: -105px;
  width: 260px;
  height: 260px;
  border: 1px solid var(--accent-border);
  border-radius: 50%;
  opacity: .55;
  pointer-events: none;
}
.admin-welcome > * { position: relative; z-index: 1; }
.admin-welcome h1 { margin: 10px 0 10px; color: var(--text); font-size: clamp(29px, 3vw, 39px); letter-spacing: -.045em; }
.admin-welcome p { margin: 0; color: var(--muted); font-size: 15px; }
.admin-security-note { flex: none; padding: 7px 12px; border: 1px solid var(--accent-border); border-radius: 999px; background: var(--surface); color: var(--accent-strong); font-size: 12px; font-weight: 750; white-space: nowrap; }

.admin-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.admin-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 96px;
  padding: 20px 23px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s cubic-bezier(.22, 1, .36, 1);
}
.admin-stat:hover { transform: translateY(-2px); border-color: var(--accent-border); box-shadow: 0 10px 28px #20382d0c; }
.admin-stat span,.admin-stat small { color: var(--muted); font-size: 14px; font-weight: 700; }
.admin-stat b,.admin-stat strong { color: var(--accent-strong); font-size: 32px; line-height: 1; font-weight: 750; font-variant-numeric: tabular-nums; }

.admin-users { width: 100%; overflow: hidden; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.admin-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 27px 28px 21px; }
.admin-panel-head h2 { margin: 0 0 6px; font-size: 21px; }
.admin-count { margin: 0; color: var(--muted); font-size: 13px; }
.admin-panel-head .btn { min-height: 39px; font-size: 13px; }
.admin-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 0 28px; margin-bottom: 22px; }
.admin-toolbar input { flex: 1; min-width: 220px; min-height: 44px; }
.admin-toolbar select { width: auto; min-width: 145px; min-height: 44px; font-size: 14px; }
.admin-notice { padding: 0 28px 14px; color: var(--success); font-size: 14px; font-weight: 650; }
.admin-notice:empty { display: none; }
.admin-notice.is-error { color: var(--danger); }
.admin-table-wrap { width: 100%; overflow-x: auto; }
.admin-users table { width: 100%; min-width: 720px; border-collapse: collapse; text-align: left; }
.admin-users th { padding: 14px 22px; border-block: 1px solid var(--border); background: var(--surface-alt); color: var(--muted); font-size: 12px; font-weight: 750; white-space: nowrap; }
.admin-users td { padding: 17px 22px; border-bottom: 1px solid var(--border); color: var(--text); font-size: 14px; vertical-align: middle; }
.admin-users tr:last-child td { border-bottom: 0; }
.admin-users tbody tr { transition: background .18s ease; }
.admin-users tbody tr:hover { background: var(--surface-alt); }
.admin-users td:nth-child(2) { color: var(--muted); font-family: var(--mono); font-size: 13px; }
.admin-users td .btn { min-height: 36px; padding: 6px 12px; font-size: 13px; }
.admin-avatar { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-right: 10px; border-radius: 11px; background: var(--accent-soft); color: var(--accent-strong); font-size: 14px; font-weight: 750; vertical-align: middle; }
.admin-users .admin-role,.admin-users .admin-state { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 7px; background: var(--accent-soft); color: var(--accent-strong); font-size: 12px; font-weight: 750; white-space: nowrap; }
.admin-users .admin-state.disabled { background: var(--danger-soft); color: var(--danger); }
.admin-empty { padding: 45px 25px; color: var(--muted); text-align: center; font-size: 14px; }
.admin-empty b { display: block; color: var(--text); font-size: 16px; }
.admin-empty p { margin: 6px 0 0; }
.admin-note { margin-top: 20px; color: var(--muted); font-size: 13px; line-height: 1.8; }

.admin-dialog-backdrop { position: fixed; z-index: 650; inset: 0; display: grid; place-items: center; padding: 25px; background: #172a2355; backdrop-filter: blur(5px); animation: admin-fade .2s ease both; }
.admin-dialog-backdrop[hidden] { display: none; }
.admin-dialog { width: min(520px, 100%); max-height: calc(100dvh - 50px); overflow: auto; padding: 30px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-float); animation: admin-dialog-enter .3s cubic-bezier(.22, 1, .36, 1) both; }
.admin-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 8px; }
.admin-dialog-head .eyebrow { margin-bottom: 8px; }
.admin-dialog h2,.admin-dialog h3 { margin: 0 0 10px; font-size: 24px; }
.admin-dialog > p,.admin-dialog-account { margin: 0 0 24px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.admin-dialog label { display: block; margin: 17px 0 8px; color: var(--text); font-size: 14px; font-weight: 750; }
.admin-dialog label small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; font-weight: 550; }
.admin-dialog .input,.admin-dialog input:not([type=checkbox]),.admin-dialog select { min-height: 46px; font-size: 16px; }
.admin-dialog form > label:not(.admin-enable) input { display: block; width: 100%; margin-top: 8px; }
.admin-dialog input[readonly] { background: var(--surface-alt); color: var(--muted); }
.admin-field-hint { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.admin-dialog .admin-enable { display: flex; align-items: center; justify-content: flex-start; gap: 12px; margin: 18px 0 10px; padding: 17px 0; border-block: 1px solid var(--border); font-size: 14px; }
.admin-dialog .admin-enable input { flex: none; width: 18px; height: 18px; margin: 0; }
.admin-dialog .admin-dialog-actions,.admin-dialog .acts { display: flex; justify-content: flex-end; gap: 10px; margin-top: 25px; }
.admin-dialog .admin-form-error { margin-top: 12px; color: var(--danger); font-size: 13px; line-height: 1.7; }
.admin-form-error:empty { display: none; }
@keyframes admin-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes admin-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes admin-dialog-enter { from { opacity: 0; transform: translateY(12px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (prefers-reduced-motion: reduce) { .admin-shell,.admin-dialog-backdrop,.admin-dialog { animation: none; } .admin-stat,.admin-users tbody tr { transition: none; } .admin-stat:hover { transform: none; } }
html.reduce-motion .admin-shell,html.reduce-motion .admin-dialog-backdrop,html.reduce-motion .admin-dialog { animation: none; }
html.reduce-motion .admin-stat,html.reduce-motion .admin-users tbody tr { transition: none; }
html.reduce-motion .admin-stat:hover { transform: none; }
@media (max-width: 760px) {
  .admin-shell { padding: 22px 18px 36px; }
  .admin-header { flex-wrap: wrap; gap: 15px; padding-bottom: 20px; }
  .admin-header > div:last-child { width: 100%; justify-content: space-between; }
  .admin-brand > span { font-size: 38px; }
  .admin-welcome { display: block; margin: 24px 0 16px; padding: 25px 22px; }
  .admin-welcome h1 { font-size: 29px; }
  .admin-welcome::after { right: -100px; }
  .admin-security-note { display: inline-flex; margin-top: 17px; }
  .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
  .admin-stat { min-height: 82px; padding: 17px; }
  .admin-stat b,.admin-stat strong { font-size: 27px; }
  .admin-stat span,.admin-stat small { font-size: 12px; }
  .admin-panel-head { padding: 22px 18px 18px; }
  .admin-toolbar { padding: 0 18px; }
  .admin-toolbar input { width: 100%; flex-basis: 100%; }
  .admin-toolbar select { flex: 1; min-width: 120px; }
  .admin-notice { padding-left: 18px; padding-right: 18px; }
  .admin-users td { padding: 16px 17px; }
  .admin-users th { padding: 14px 17px; }
  .admin-dialog-backdrop { padding: 16px; }
  .admin-dialog { max-height: calc(100dvh - 32px); padding: 25px 22px; }
  .admin-dialog .btn { min-height: 40px; font-size: 14px; }
}

/* Class progress is kept separate from account changes for quick scanning. */
.admin-courses { margin-top: 22px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.admin-courses .admin-panel-head { border-bottom: 1px solid var(--border); }
.admin-courses h2 { margin: 8px 0 6px; }
.admin-course-caption,.admin-course-loading,.admin-course-empty p { color: var(--muted); font-size: 14px; margin: 0; }
.admin-course-notice { padding: 0 28px; color: var(--accent-strong); font-size: 14px; font-weight: 700; }
.admin-course-notice:not(:empty) { padding-top: 16px; }
.admin-course-list { padding: 24px 28px 28px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.admin-course-empty { grid-column: 1/-1; text-align: center; padding: 34px 15px; }
.admin-course-empty b { display: block; font-size: 17px; margin-bottom: 7px; }
.admin-course-card { min-width: 0; padding: 22px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-alt); }
.admin-course-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.admin-course-top h3 { margin: 7px 0; font-size: 18px; overflow-wrap: anywhere; }
.admin-course-top p { margin: 0; color: var(--muted); font-size: 13px; }
.admin-course-class { color: var(--accent-strong); font-size: 12px; font-weight: 750; }
.admin-task-status { flex: none; border-radius: 999px; padding: 4px 10px; color: var(--success); background: var(--success-soft); font-size: 12px; font-weight: 750; }
.admin-task-status.is-closed { color: var(--muted); background: var(--border); }
.admin-course-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin: 22px 0 16px; }
.admin-course-metrics span { color: var(--muted); font-size: 12px; }
.admin-course-metrics b { display: block; color: var(--text); font-size: 24px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.admin-student-details { border-top: 1px solid var(--border); padding: 13px 0; font-size: 13px; color: var(--text); }
.admin-student-details summary { cursor: pointer; font-weight: 700; color: var(--accent-strong); }
.admin-student-details div { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; }
.admin-student-details span { padding: 5px 8px; border: 1px solid var(--border); border-radius: 7px; background: var(--surface); }
.admin-student-details small { color: var(--muted); margin-left: 4px; }
.admin-course-actions { display: flex; justify-content: flex-end; border-top: 1px solid var(--border); padding-top: 14px; }
.admin-course-actions .btn { min-height: 36px; font-size: 13px; }
.admin-course-actions .btn:disabled { background: var(--surface); border-color: var(--border); color: var(--muted); opacity: 1; }
@media (max-width: 900px) { .admin-course-list { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .admin-course-list { padding: 18px; } .admin-courses .admin-panel-head { align-items: flex-start; flex-wrap: wrap; } .admin-course-notice { padding-left: 18px; padding-right: 18px; } .admin-course-card { padding: 18px; } }

.admin-books { margin-top: 22px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.admin-books .admin-panel-head { border-bottom: 1px solid var(--border); }
.admin-books h2 { margin: 8px 0 6px; }
.admin-book-notice { padding: 0 28px; color: var(--accent-strong); font-size: 14px; font-weight: 700; }
.admin-book-notice:not(:empty) { padding-top: 16px; }
.admin-book-list { display: grid; gap: 12px; padding: 24px 28px 28px; }
.admin-book-card { display: flex; align-items: center; gap: 17px; padding: 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-alt); }
.admin-book-symbol { display: grid; place-items: center; flex: none; width: 50px; height: 55px; color: var(--accent-strong); background: var(--accent-soft); border: 1px solid var(--accent-border); border-radius: 10px; font: 700 23px var(--serif); }
.admin-book-copy { flex: 1; min-width: 0; }
.admin-book-copy h3 { margin: 0 0 4px; font-size: 17px; overflow-wrap: anywhere; }
.admin-book-copy p { margin: 0 0 5px; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.admin-book-copy small { color: var(--muted); font-size: 12px; }
.admin-book-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-book-actions .btn { min-height: 37px; font-size: 13px; }
.admin-delete-book { color: var(--danger); }
.admin-book-dialog { width: min(760px,100%); }
.admin-book-dialog form > label { display: grid; gap: 7px; margin-bottom: 15px; font-size: 14px; font-weight: 750; }
.admin-book-textarea { min-height: 165px; resize: vertical; line-height: 1.7; font-family: var(--mono); font-weight: 500; }
.admin-book-roster-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; margin: 20px 0 10px; font-size: 14px; }
.admin-book-roster-head > div { display: flex; gap: 12px; flex-wrap: wrap; }
.admin-book-roster-head button { color: var(--accent-strong); font-size: 12px; font-weight: 750; padding: 4px 0; }
.admin-book-roster { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; max-height: 220px; overflow: auto; border: 1px solid var(--border); border-radius: 11px; padding: 10px; background: var(--surface-alt); }
.admin-book-roster label { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px; border-radius: 8px; background: var(--surface); }
.admin-book-roster input { width: 17px; height: 17px; flex: none; accent-color: var(--accent); }
.admin-book-roster span { min-width: 0; }
.admin-book-roster b,.admin-book-roster small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-book-roster b { font-size: 13px; }
.admin-book-roster small { color: var(--muted); font-size: 11px; }
.admin-book-roster > p { grid-column: 1/-1; margin: 0; padding: 12px; color: var(--muted); font-size: 13px; }
@media(max-width:760px) { .admin-books .admin-panel-head { align-items: flex-start; flex-wrap: wrap; } .admin-book-list { padding: 18px; } .admin-book-notice { padding-left: 18px; padding-right: 18px; } .admin-book-card { align-items: flex-start; flex-wrap: wrap; } .admin-book-actions { width: 100%; justify-content: flex-end; } .admin-book-roster { grid-template-columns: 1fr; } }
.admin-insights { padding:26px; margin:22px 0; border:1px solid var(--border); border-radius:18px; background:var(--surface); }
.admin-insights-head { display:flex; justify-content:space-between; align-items:start; gap:16px; }
.admin-insights h2 { margin:6px 0; font-size:22px; }.admin-insights-head p,.insight-note { color:var(--muted); font-size:13px; line-height:1.6; }
.insight-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin:20px 0; }.insight-metrics div { padding:16px; border-radius:12px; background:var(--surface-alt); }.insight-metrics span,.insight-metrics strong { display:block; }.insight-metrics span { color:var(--muted); font-size:13px; }.insight-metrics strong { margin-top:8px; color:var(--accent-strong); font-size:26px; }
.insight-tools { display:flex; flex-wrap:wrap; align-items:center; gap:9px; }.insight-tools label { display:flex; align-items:center; gap:8px; font-size:13px; font-weight:700; }.insight-tools select { padding:9px; border:1px solid var(--border); border-radius:8px; background:var(--surface); color:var(--text); }
.insight-results { margin-top:15px; }.insight-row { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:13px 2px; border-top:1px solid var(--border); font-size:13px; }.insight-row>span:first-child { flex:1; min-width:0; }.insight-row small { display:block; margin-top:5px; color:var(--muted); }.insight-status { padding:5px 8px; border-radius:8px; background:var(--accent-soft); color:var(--accent-strong); white-space:nowrap; }.insight-empty { padding:20px 0; color:var(--muted); }
@media(max-width:760px){.admin-insights { padding:18px; }.insight-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }.admin-insights-head { flex-wrap:wrap; }.insight-row { flex-wrap:wrap; }}
.admin-account-deletion-controls{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:18px;padding-top:18px;border-top:1px solid var(--border)}
.admin-delete-account{color:#a64040!important;border-color:#dec0c0!important;margin-left:8px}
.admin-delete-account:hover{background:#fff0f0!important}

.reading-workspace { max-width:1550px; }.reading-heading { margin:8px 0 27px; }.reading-heading h1 { font-size:clamp(31px,3vw,42px); letter-spacing:-.04em; margin:10px 0; }.reading-heading p,.reading-notice p,.reading-timing-help,.reading-answer p,.reading-document p { color:var(--muted); font-size:14px; line-height:1.7; }.reading-type { display:flex; flex-wrap:wrap; gap:9px; }.reading-type button { min-height:45px; padding:10px 16px; border:1px solid var(--border); border-radius:10px; background:var(--surface); font-weight:700; color:var(--text); }.reading-type button.selected { color:var(--accent-strong); border-color:var(--accent-border); background:var(--accent-soft); }.reading-notice { margin:20px 0; padding:17px 20px; border:1px solid var(--accent-border); border-radius:14px; background:var(--accent-soft); }.reading-notice p { margin:5px 0 0; }.reading-picker { display:flex; align-items:end; gap:12px; margin-bottom:25px; }.reading-picker label,.reading-answer>label,.reading-controls label { display:grid; gap:7px; color:var(--text); font-size:13px; font-weight:700; }.reading-picker select,.reading-answer select,.reading-controls input,.reading-answer textarea,.reading-answer-grid input { border:1px solid var(--border); border-radius:9px; background:var(--surface); color:var(--text); padding:10px; font:inherit; }.reading-picker select { min-width:230px; }.reading-session-head { display:flex; align-items:center; justify-content:space-between; gap:10px; border-top:1px solid var(--border); padding-top:25px; }.reading-session-head h2 { margin:8px 0; }.reading-session-head p { color:var(--muted); font-size:13px; }.reading-session-head [data-reading-status] { font-weight:700; color:var(--accent-strong); }.reading-controls { display:flex; flex-wrap:wrap; gap:10px; align-items:end; margin-top:20px; }.reading-controls input { width:140px; }.reading-timer { padding:10px 14px; border-radius:9px; background:var(--accent-soft); color:var(--accent-strong); }.reading-grid { display:grid; grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr); gap:16px; margin-top:20px; }.reading-document,.reading-answer { padding:20px; border:1px solid var(--border); border-radius:16px; background:var(--surface); }.reading-document iframe { display:block; width:100%; height:75vh; min-height:550px; border:1px solid var(--border); border-radius:10px; background:#f5f5f2; }.reading-answer h3 { margin:0; }.reading-answer-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:8px; margin:14px 0 22px; max-height:410px; overflow:auto; }.reading-answer-grid label { color:var(--muted); font-size:11px; font-weight:750; }.reading-answer-grid input { display:block; width:100%; margin-top:4px; padding:8px; text-align:center; font-size:14px; }.reading-answer textarea { width:100%; resize:vertical; }.reading-answer button { margin-top:15px; }.reading-timing-help { font-size:12px; }.reading-answer-grid input:focus-visible,.reading-type button:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
@media(max-width:900px){.reading-grid { grid-template-columns:1fr; }.reading-document iframe { height:65vh; min-height:420px; }}@media(max-width:600px){.reading-picker { flex-direction:column; align-items:stretch; }.reading-picker select { min-width:0; }.reading-document,.reading-answer { padding:14px; }.reading-answer-grid { grid-template-columns:repeat(4,1fr); }}
.reading-library { display:grid; grid-template-columns:repeat(auto-fill,minmax(190px,1fr)); gap:14px; }.reading-card { display:flex; min-height:150px; flex-direction:column; align-items:start; justify-content:space-between; padding:21px; text-align:left; border:1px solid var(--border); border-radius:15px; background:var(--surface); color:var(--text); }.reading-card:hover { border-color:var(--accent); }.reading-card span,.reading-panel-label { color:var(--accent-strong); letter-spacing:.12em; font-size:11px; font-weight:800; }.reading-card strong { font-size:22px; }.reading-card small { color:var(--muted); }.reading-empty,.reading-setup,.reading-result { padding:28px; border:1px solid var(--border); border-radius:16px; background:var(--surface); }.reading-setup { max-width:700px; }.reading-setup h1,.reading-result h1 { margin:12px 0; font-size:30px; }.reading-setup>p,.reading-result>p { color:var(--muted); line-height:1.7; }.reading-setup label { display:grid; gap:8px; margin:20px 0; font-weight:700; }.reading-setup select,.reading-setup input { padding:12px; border:1px solid var(--border); border-radius:9px; background:var(--surface); color:var(--text); }.reading-setup-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }.reading-practice-head { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:20px; }.reading-practice-head h1 { margin:8px 0; }.reading-practice-head p { margin:0; color:var(--muted); }.reading-exam-layout { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr); gap:16px; }.reading-passage,.reading-question { padding:25px; border:1px solid var(--border); border-radius:16px; background:var(--surface); min-width:0; }.reading-passage img,.reading-question-image { display:block; width:100%; max-width:100%; height:auto; margin:18px 0; }.reading-question h2 { font-size:19px; margin:20px 0 8px; }.reading-question-text { font-size:17px; line-height:1.6; }.reading-options { display:grid; gap:10px; }.reading-option { display:flex; align-items:center; gap:12px; min-height:48px; padding:10px 12px; text-align:left; border:1px solid var(--border); border-radius:9px; background:var(--surface); color:var(--text); }.reading-option b { display:grid; place-items:center; width:30px; height:30px; flex:none; border-radius:50%; background:var(--surface-alt); }.reading-option.selected { border-color:var(--accent); background:var(--accent-soft); }.reading-navigation { display:flex; justify-content:space-between; gap:10px; margin-top:24px; }.reading-result-score { display:grid; gap:5px; margin:20px 0; padding:22px; border-radius:14px; background:var(--accent-soft); }.reading-result-score strong { font-size:30px; color:var(--accent-strong); }.reading-review-row { display:flex; flex-wrap:wrap; gap:10px 20px; padding:18px 0; border-top:1px solid var(--border); }.reading-review-row p { width:100%; margin:0; color:var(--muted); line-height:1.7; }.reading-result>button { margin-top:20px; }@media(max-width:800px){.reading-exam-layout { grid-template-columns:1fr; }.reading-practice-head { align-items:start; flex-direction:column; }}
body.reading-focus main.reading-workspace { max-width:none; padding:28px clamp(18px,3vw,48px); }
.reading-question-text { font-size:18px; font-weight:650; line-height:1.6; margin:20px 0; }
.reading-option { font-size:16px; line-height:1.5; }
.reading-confirm-backdrop { position:fixed; inset:0; z-index:1000; display:grid; place-items:center; padding:20px; background:rgba(20,35,25,.48); }
.reading-review-row .review-prompt { color:var(--text); font-size:16px; font-weight:700; }

.subject-workspace{max-width:1450px}.subject-hero{padding:36px 40px;border:1px solid var(--border);border-radius:22px;background:linear-gradient(120deg,var(--accent-soft),var(--surface));margin-bottom:36px}.subject-hero h1{font-size:clamp(32px,4vw,48px);letter-spacing:-.035em;margin:12px 0}.subject-hero p,.subject-test-note p,.subject-empty p{color:var(--muted);line-height:1.7}.subject-section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:16px}.subject-section-head h2,.subject-test-note h2{font-size:22px;margin:7px 0}.subject-section-head>span{color:var(--muted);font-size:13px}.subject-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.subject-card,.subject-empty{min-height:190px;text-align:left;padding:24px;border:1px solid var(--border);border-radius:16px;background:var(--surface);color:var(--text)}.subject-card{display:flex;flex-direction:column;align-items:flex-start;transition:transform .18s ease,border-color .18s ease}.subject-card:hover{transform:translateY(-3px);border-color:var(--accent)}.subject-card>span,.subject-card small{font-size:11px;letter-spacing:.1em;color:var(--accent-strong);font-weight:750}.subject-card strong{font-size:23px;margin-top:24px}.subject-card p{margin:7px 0 24px;color:var(--muted)}.subject-card small{margin-top:auto}.subject-empty{grid-column:1/-1;min-height:auto}.subject-test-note{margin-top:20px;padding:24px;border:1px solid var(--border);border-radius:16px;background:var(--surface)}@media(max-width:650px){.subject-hero{padding:25px}.subject-section-head{align-items:start;flex-direction:column;gap:5px}}

.reading-passage [data-material]{white-space:pre-wrap;line-height:1.7;font-size:16px}.reading-review-image{display:block;width:100%;max-width:640px;height:auto}.reading-option:focus-visible,.subject-card:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.ft-mock-head{position:sticky;top:0;z-index:5;background:var(--surface);padding:14px 18px;border:1px solid var(--border);border-radius:12px}.ft-mock-fill{grid-template-columns:1fr}.ft-mock-inputs{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:14px}.ft-mock-inputs label{font-weight:700}.ft-mock-inputs input,.reading-question textarea{display:block;width:100%;padding:9px;border:1px solid var(--border);border-radius:8px;color:var(--text);background:var(--surface)}.reading-question img{max-width:100%;height:auto}.ft-mock-fill .reading-passage img{max-width:950px;margin:auto}
.ft-inline-passage{max-width:1020px;margin:16px auto;font-family:Georgia,'Times New Roman',serif;font-size:clamp(21px,1.8vw,26px);font-weight:500;line-height:2.45;color:#26352f;white-space:normal}
.ft-inline-blank{display:inline-block;position:relative;vertical-align:baseline;width:calc(var(--letters)*.78em);height:1.35em;margin:0 .05em;transform:translateY(.27em);border-bottom:2px solid var(--accent);border-radius:5px 5px 0 0;background:var(--accent-soft);transition:background .16s ease,box-shadow .16s ease}
.ft-inline-blank:focus-within{background:var(--surface);box-shadow:0 0 0 3px var(--accent-soft);border-color:var(--accent-strong)}
.ft-inline-cells{display:flex;position:absolute;inset:0;pointer-events:none}
.ft-inline-cells .cell{display:grid;place-items:center;width:.78em;height:1.3em;min-width:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--accent-strong);font:600 1em/1.3 Georgia,serif;border-right:1px solid var(--accent-border)}
.ft-inline-blank input{position:absolute;inset:0;width:100%;height:100%;border:0!important;border-radius:0!important;background:transparent!important;padding:0!important;font:600 1em/1.3 Georgia,serif!important;letter-spacing:.17em;color:transparent!important;caret-color:var(--accent-strong);box-shadow:none!important;opacity:1}
.ft-inline-hint{font-size:13px;color:var(--muted);margin:0}
.ft-mock-fill .reading-question{padding-top:16px}
.reading-inline-feedback{margin-top:24px;padding:22px 24px;border:1px solid var(--accent-border);border-radius:14px;background:var(--accent-soft);animation:readingReveal .24s cubic-bezier(.2,.7,.3,1) both}
.reading-inline-feedback h3{font-size:19px;margin:9px 0}
.reading-inline-feedback p{font-size:16px;line-height:1.8;margin:8px 0 18px;color:var(--text)}
.reading-inline-answer{display:grid;gap:9px;padding-top:16px;border-top:1px solid var(--accent-border);font-size:16px;line-height:1.7}
.reading-inline-answer span{color:var(--muted)}
.reading-exam-layout{animation:readingReveal .18s ease-out both}
.reading-option{transition:border-color .16s ease,background-color .16s ease}
.reading-option:disabled{opacity:1;cursor:default}
@keyframes readingReveal{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.reading-exam-layout,.reading-inline-feedback{animation:none}.ft-inline-blank,.reading-option{transition:none}}
.reduce-motion .reading-exam-layout,.reduce-motion .reading-inline-feedback{animation:none}
.reading-exam-layout:not(.ft-mock-fill){
 grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:18px;
}
.reading-exam-layout:not(.ft-mock-fill)>.reading-passage,
.reading-exam-layout:not(.ft-mock-fill)>.reading-question{
 box-sizing:border-box;height:clamp(520px,calc(100dvh - 210px),800px);
 padding:28px;overflow-y:auto;scrollbar-gutter:stable;
}
.reading-exam-layout:not(.ft-mock-fill)>.reading-question{display:flex;flex-direction:column}
.reading-exam-layout:not(.ft-mock-fill)>.reading-question>[data-mock-answer],
.reading-exam-layout:not(.ft-mock-fill)>.reading-question>[data-question]{flex:1}
.reading-exam-layout:not(.ft-mock-fill) .reading-navigation{
 position:sticky;bottom:-28px;margin-top:24px;padding:16px 0 4px;background:var(--surface);
}
.reading-exam-layout:not(.ft-mock-fill) .reading-navigation .btn{min-width:106px;min-height:46px}
.reading-exam-layout:not(.ft-mock-fill) .reading-options .reading-option{min-height:64px}
.reading-exam-layout:not(.ft-mock-fill) .reading-panel-label{display:block;line-height:18px}
.reading-exam-layout:not(.ft-mock-fill) .ft-reading-prompt{margin-top:24px}

.ft-reading-text{max-width:68ch;margin:0 auto;color:#26352f;font:400 19px/1.95 Georgia,'Times New Roman',serif;overflow-wrap:break-word;white-space:normal;text-align:left}
.reading-question .ft-reading-prompt{font-family:inherit;font-size:19px;line-height:1.65;font-weight:650;margin:16px 0 24px;color:var(--text)}
.reading-question .reading-options{gap:12px}
.reading-question .reading-option{min-height:58px;padding:14px 16px;font-size:16px;line-height:1.65;align-items:flex-start}
.reading-question .reading-option>b{width:28px;height:28px;line-height:28px;font-size:13px}
.ft-mock-head h1{font-size:27px;margin:5px 0}
.ft-mock-head p{font-size:13px}

@media(max-width:800px){
 .reading-exam-layout:not(.ft-mock-fill){grid-template-columns:1fr}
 .reading-exam-layout:not(.ft-mock-fill)>.reading-passage,
 .reading-exam-layout:not(.ft-mock-fill)>.reading-question{height:auto;max-height:none;min-height:0;padding:22px;overflow:visible;scrollbar-gutter:auto}
 .reading-exam-layout:not(.ft-mock-fill) .reading-navigation{position:static;padding:12px 0 0}
 .ft-reading-text{font-size:18px}
}
.ft-reading-text p{font:inherit;line-height:inherit;color:inherit;margin:0 0 1.1em}
.ft-reading-text p:last-child{margin-bottom:0}
.ft-daily-material{display:flex;flex-direction:column;align-items:center;gap:28px}
.ft-daily-material>.reading-panel-label{align-self:flex-start}
.reading-passage .ft-daily-material img{display:block;width:100%;max-width:640px;height:auto;margin:0 auto;object-fit:contain}

/* Reading mock exam chrome */
body main.reading-mock-screen{padding:0;background:#b3b3b3}
body.reading-focus main.reading-mock-screen,
body.reading-focus main.reading-workspace.reading-mock-screen {
 width:100%;max-width:none;margin:0;padding:0;background:#b3b3b3;
}
.ft-exam-shell {
 width:75%;min-height:100dvh;margin-inline:auto;background:#fff;color:#111;
 font:400 17px/1.35 Arial,"PingFang SC",sans-serif;
}
.ft-exam-controls{position:sticky;top:0;z-index:5;background:#fff}
.ft-exam-top,.ft-exam-top nav,.ft-exam-identity,.ft-exam-status,.ft-exam-status>div {
 display:flex;align-items:center;
}
.ft-exam-top {
 min-height:64px;padding:6px 8px 6px 15px;gap:14px;
 justify-content:space-between;background:#09686d;color:#fff;font-weight:700;
}
.ft-exam-identity,.ft-exam-top nav{gap:8px}
.ft-exam-identity>b{padding:8px 12px;border-radius:999px;background:#ffffff32;white-space:nowrap}
.ft-exam-identity>strong{margin-left:10px}
.ft-exam-top button {
 min-height:48px;padding:0 clamp(12px,1.8vw,30px);border:1px solid #ffffffb5;border-radius:15px;
 background:#ffffff16;color:#fff;font:inherit;white-space:nowrap;
}
.ft-exam-top button[hidden],.ft-exam-status [hidden]{display:none}
.ft-exam-top button:disabled{opacity:.8;cursor:default}
.ft-exam-top button:not(:disabled):hover{background:#ffffff30}
.ft-exam-top [data-exit]{min-height:34px;border-radius:10px;padding:0 10px}
.ft-exam-top [data-next]{
 display:inline-flex;justify-content:center;align-items:center;gap:9px;min-width:116px;
 background:#fff;color:#09686d;border-color:#fff;box-shadow:0 2px 5px #08373938;
 transition:background-color .15s ease,box-shadow .15s ease,transform .15s ease;
}
.ft-exam-top [data-next] svg{width:19px;height:19px;flex:none}
.ft-exam-top [data-next]:hover{background:#edf8f7;color:#09686d;box-shadow:0 3px 8px #08373950}
.ft-exam-top [data-next]:active{transform:translateY(1px);box-shadow:none}
.ft-exam-top [data-next]:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.ft-exam-top [data-next]{transition:none}}
.ft-exam-top button span{margin-left:8px}
.ft-exam-status {
 min-height:36px;padding:3px clamp(14px,2.7vw,48px);justify-content:space-between;
 gap:8px;border-bottom:1px solid #222;color:#383838;font-weight:700;
}
.ft-exam-status>div{gap:12px}
.ft-exam-status>div:first-child>span{border-left:1px solid #aaa;padding-left:12px}
.ft-exam-status button{padding:0;border:0;background:none;color:#09686d;font:inherit}
.ft-exam-content.reading-exam-layout{
 min-height:calc(100dvh - 100px);border-inline:1px solid #222;
 border-radius:0;background:#fff;animation:none;
}
.ft-exam-content.reading-exam-layout:not(.ft-mock-fill){
 grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"passage question";gap:0;
}
.ft-exam-content.reading-exam-layout:not(.ft-mock-fill)>.reading-passage{grid-area:passage}
.ft-exam-content.reading-exam-layout:not(.ft-mock-fill)>.reading-question{grid-area:question}
@media(max-width:800px){
 .ft-exam-content.reading-exam-layout:not(.ft-mock-fill){grid-template-columns:minmax(0,1fr);grid-template-areas:"passage" "question"}
}
.ft-exam-content.reading-exam-layout:not(.ft-mock-fill)>.reading-passage,
.ft-exam-content.reading-exam-layout:not(.ft-mock-fill)>.reading-question{
 height:calc(100dvh - 100px);padding:clamp(20px,3vw,54px);
 border:0;border-radius:0;background:#fff;
}
.ft-exam-content.reading-exam-layout:not(.ft-mock-fill)>.reading-passage{border-right:1px solid #aaa}
.ft-exam-content .ft-reading-text{font:inherit;color:inherit}
.ft-exam-content .reading-options .reading-option{min-height:48px;border-radius:4px;font:inherit;color:#111}
.ft-exam-content.ft-mock-fill{display:grid;grid-template-rows:auto 1fr auto;gap:0;align-items:start;padding:0 clamp(22px,3.15vw,58px)}
.ft-exam-content.ft-mock-fill h1{
 margin:0;padding-top:clamp(32px,7.4vh,82px);text-align:center;
 color:#080808;font-size:clamp(23px,1.9vw,35px);line-height:1.2;font-weight:800;
}
.ft-exam-content.ft-mock-fill .reading-passage{
 align-self:center;padding:0 0 clamp(0px,3.4vh,36px);border:0;border-radius:0;background:#fff;
}
.ft-exam-content.ft-mock-fill .reading-question{border:0;border-radius:0;padding:0 0 20px}
.ft-exam-content .ft-inline-passage{
 max-width:none;margin:0;font:400 clamp(17px,1.25vw,24px)/1.38 Arial,sans-serif;color:#111;
}
.ft-exam-content .ft-inline-blank{
 background:#d4d4d4;border:0;border-radius:0;width:calc(var(--letters)*.72em);
 height:1.45em;margin:0;transform:translateY(.32em);
}
.ft-exam-content .ft-inline-blank:focus-within{background:#e7f3f2;outline:2px solid #09686d;box-shadow:none}
.ft-inline-word{white-space:nowrap}
.ft-exam-content .ft-inline-cells{gap:.14em;padding-inline:.07em}
.ft-letter-slot{
 display:grid;place-items:center;flex:1;min-width:0;
 border-bottom:1.5px solid #424242;color:#111;line-height:1;
}
.ft-exam-content .ft-inline-blank input{caret-color:#09686d}
.reading-dialog{
 width:min(580px,calc(100% - 32px));max-height:78dvh;padding:24px;
 background:#fff;color:#111;border:1px solid #09686d;border-radius:12px;
}
.reading-dialog::backdrop{background:#0006}
.reading-confirm-backdrop .reading-dialog{position:static;margin:0}
.reading-dialog-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:18px}
.ft-exam-review[open]{display:flex;flex-direction:column;overflow:hidden}
.ft-exam-review[open] .ft-exam-review-list{min-height:0;overflow-y:auto}
.ft-exam-review[open] .reading-dialog-actions{flex:none}
.reading-volume-control{display:grid;grid-template-columns:1fr auto;gap:8px;font-weight:700}
.reading-volume-control input{grid-column:1/-1;width:100%;accent-color:#09686d}
.ft-exam-review-list{display:grid;gap:6px;margin:16px 0}
.ft-exam-review button{background:#f1f8f7;color:#15494c;border:1px solid #b3cfcd;border-radius:6px;padding:9px 12px;text-align:left}
.ft-exam-review button[aria-current]{background:#d5ece9;font-weight:700}
@media(max-width:1100px){.ft-exam-shell{width:100%}}
@media(max-width:760px){
 .ft-exam-top{flex-wrap:wrap;padding:8px 12px;font-size:14px}
 .ft-exam-top nav{flex-wrap:wrap;min-width:0}
 .ft-exam-top button{min-height:36px;border-radius:9px}
 .ft-exam-top [data-next]{min-width:84px}
 .ft-exam-status{font-size:13px}.ft-exam-status>div{gap:6px}
}
@media(max-width:800px){
 .ft-exam-content.reading-exam-layout:not(.ft-mock-fill)>.reading-passage,
 .ft-exam-content.reading-exam-layout:not(.ft-mock-fill)>.reading-question{height:auto;overflow:visible;border:0}
 .ft-exam-content.reading-exam-layout:not(.ft-mock-fill)>.reading-passage{border-bottom:1px solid #aaa}
}
.join-class-card{margin:18px 0;padding:20px 22px;border:1px solid var(--border);border-radius:16px;background:var(--surface)}
.join-class-card .join-desc{color:var(--muted);margin:2px 0 14px;font-size:.92rem}
.join-row{display:flex;gap:10px;max-width:440px}
.join-row input{flex:1;min-height:44px;letter-spacing:.18em;font-size:1.1rem;font-weight:700}
.ft-chat-popup{position:fixed;top:18px;right:18px;z-index:520;display:none;flex-direction:column;gap:3px;max-width:260px;padding:12px 16px;border:1px solid var(--accent-border);border-radius:12px;background:#fff;box-shadow:0 12px 40px rgba(20,35,28,.18);cursor:pointer;font-size:.9rem}
.ft-chat-popup.show{display:flex}
.ft-chat-popup b{color:var(--text)}
.ft-chat-popup span{color:var(--muted);font-size:.8rem}



/* Shared surfaces and the local role selector. Exam colors remain independent. */
:root {
  --bg:#f3f5f1; --surface:#fff; --surface-alt:#f7f9f5;
  --text:#192923; --muted:#4f6158; --faint:#596960; --border:#d7dfd8;
}
html[data-accent="sage"] { --accent:#356450; --accent-strong:#28503e; --accent-soft:#e6f0e8; }
html[data-teacher-practice],html[data-accent="blue"] { --accent:#3a5f7c; --accent-strong:#2b4d68; --accent-soft:#e7eef5; }
html[data-accent="plum"] { --accent:#704e69; --accent-strong:#5d3e57; --accent-soft:#f1e8ef; }
html[data-teacher-practice] { --bg:#f1f5f8; --surface-alt:#f5f8fb; --border:#d8e1e9; }
html[data-admin] { --bg:#f5f2f5; --surface-alt:#faf7fa; --border:#e2dbe3; }
.role-entrance {
  min-height:100dvh;
  display:grid;
  grid-template-columns:minmax(320px,.74fr) minmax(0,1.55fr);
  background:#e9eee7;
  color:#192923;
  padding:0;
  isolation:isolate;
}
.role-entrance-content {
  width:100%; max-width:none; margin:0;
  display:flex; flex-direction:column; justify-content:center;
  padding:clamp(26px,4vw,68px);
  background:#f8faf6;
}
.role-entrance-brand {
  display:flex; align-items:baseline; gap:10px; margin:0 0 clamp(24px,4vh,48px);
  min-height:0; max-width:none; color:#28503e;
  font:800 22px/1 var(--font);
}
.role-entrance-brand>b { font:700 36px/.85 Georgia,serif; letter-spacing:-.06em; }
.role-entrance-content>h1 { color:#192923; margin:0; font-size:clamp(29px,3vw,47px); font-weight:820; line-height:1.14; text-shadow:none; }
.role-entrance-content>p { color:#516257; margin:10px 0 0; text-shadow:none; font-size:15px; }
.role-entrance-grid { display:grid; grid-template-columns:1fr; gap:8px; margin:22px 0 16px; }
.role-entrance .role-entrance-card {
  --role-ink:#28503e; --role-soft:#e6f0e8;
  display:grid; grid-template-columns:38px minmax(0,1fr) 18px;
  align-items:center; gap:12px; min-height:66px; padding:11px 13px;
  border:1px solid #d6e0d7; border-radius:12px; background:#fff;
  text-align:left; color:#192923; cursor:pointer;
  transition:background-color 170ms ease,border-color 170ms ease;
}
.role-entrance .role-entrance-card[data-login-role="teacher"] { --role-ink:#2b4d68; --role-soft:#e7eef5; }
.role-entrance .role-entrance-card[data-login-role="admin"] { --role-ink:#5d3e57; --role-soft:#f1e8ef; }
.role-entrance .role-entrance-card:hover:not(:disabled) { transform:none; border-color:var(--role-ink); background:var(--role-soft); box-shadow:none; }
.role-entrance-card:focus-visible,.role-session summary:focus-visible { outline:2px solid #28503e; outline-offset:3px; }
.role-card-icon { display:grid; place-items:center; width:38px; aspect-ratio:1; border-radius:9px; font-weight:750; background:var(--role-soft); color:var(--role-ink); }
.role-card-name,.role-card-description { display:block; }
.role-card-name { font-size:17px; font-weight:800; }
.role-card-description { margin-top:3px; font-size:13px; color:#46584e; line-height:1.4; }
.role-card-arrow { color:var(--role-ink); font-weight:800; text-align:center; }
.role-session { padding:12px 0 0; border-top:1px solid #d6e0d7; color:#405347; font-size:13px; }
.role-session summary { cursor:pointer; width:fit-content; padding:4px 0; }
.role-session label { display:flex; align-items:center; gap:8px; cursor:pointer; min-height:32px; }
.role-session input { width:17px; height:17px; accent-color:#356450; }
.role-session p { margin:0; font-size:13px; line-height:1.5; }
.role-entrance [data-role-error] { color:#9b3934; font-weight:700; }
.role-entrance [data-role-error]:empty { margin:0; }
.role-film {
  min-width:0; display:grid; place-items:center; margin:0;
  padding:clamp(16px,3vw,48px);
  background:radial-gradient(ellipse at 32% 18%,#33463b,#18241e 80%);
}
.role-film-frame {
  position:relative; width:100%; max-width:1280px; aspect-ratio:16/9;
  border-radius:16px; background:#18241e; overflow:hidden;
  box-shadow:0 20px 52px #0c18127a,0 0 0 1px #dbe9dc40;
}
.role-film .role-background-video { position:absolute; inset:0; width:100%; height:100%; z-index:auto; object-fit:contain; display:block; background:transparent; }
.role-film .auth-background-start {
  top:50%; left:50%; right:auto; transform:translate(-50%,-50%);
  padding:12px 19px; background:#15241df5; color:#fff; border-color:#edf5edaa;
  white-space:nowrap; font-size:14px; box-shadow:0 6px 28px #0005;
}
.role-film:has(video[autoplay]) .auth-background-start:not([hidden]) { top:auto; bottom:12px; left:auto; right:12px; transform:none; }
.role-film [data-film-status] { position:absolute; bottom:0; inset-inline:0; margin:0; padding:10px; text-align:center; color:white; background:#15241de8; font-size:13px; }
.role-film [data-film-status]:empty { display:none; }
@media(max-width:780px) {
  .role-entrance { grid-template-columns:1fr; }
  .role-film { padding:14px; align-self:start; }
  .role-film-frame { border-radius:10px; }
  .role-entrance-content { padding:23px clamp(17px,5vw,36px); }
  .role-entrance-brand { margin-bottom:17px; }
  .role-entrance-grid { margin-top:16px; }
}
@media(prefers-reduced-motion:reduce) { .role-entrance .role-entrance-card { transition:none; } }
.studio-sidebar .sidebar-tools { flex-wrap:wrap; margin-top:auto; }
.studio-sidebar .sidebar-tool { flex:1 0 auto; min-height:34px; }
.studio-sidebar .navlink:focus-visible,.studio-sidebar .sidebar-tool:focus-visible,.studio-sidebar .mode-option:focus-visible { outline:2px solid var(--accent-strong); outline-offset:-2px; }

.school-role-tabs{display:flex;gap:4px;padding:4px;background:#e7eee7;border-radius:10px;margin:24px 0 20px}
.school-role-tabs button{flex:1;padding:10px 4px;border-radius:7px;color:#465b4e;font-weight:750}
.school-role-tabs [aria-pressed=true]{background:#fff;color:#1d4e36;box-shadow:0 2px 5px #233d211a}
.school-login{display:grid;gap:9px}
.school-login>label{font-size:14px;font-weight:750;margin-top:6px}
.school-login .input{width:100%;min-height:46px;background:white}
.school-password{position:relative}
.school-password input{padding-right:60px}
.school-password button{position:absolute;right:6px;top:5px;bottom:5px;padding:0 9px;color:#375e46;font-weight:700}
.school-login [role=alert]{color:#9b3934;font-size:14px;margin:0}
.school-login [role=alert]:empty{display:none}
.school-login [type=submit]{margin-top:10px;min-height:46px}
.school-login-help{font-size:12px;color:#506154;line-height:1.6;margin:8px 0 0}
.school-profile{display:grid;gap:12px;max-width:480px;padding:16px}
.school-profile label{display:grid;gap:7px;font-weight:650}
.school-profile [role=status]{color:var(--text)}

.school-assignment-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;border:1px solid var(--accent-border);background:var(--accent-soft);color:var(--text);border-radius:9px;margin-bottom:14px}
.school-assignment-bar small{display:block;max-width:650px;margin-top:4px;font-size:13px;line-height:1.5}
.school-assignment-bar [role=status]{font-weight:700;white-space:nowrap}

.writing-time-presets{display:flex;flex-wrap:wrap;gap:7px;width:100%}
.writing-time-presets button{padding:9px 12px;border:1px solid var(--border);border-radius:8px;background:var(--surface);font-weight:700}
.writing-time-presets [aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-strong)}
.writing-custom-time{display:flex;align-items:center;gap:8px;font-size:14px}
.writing-custom-time input{width:88px;padding:8px;border:1px solid var(--border);border-radius:8px;background:var(--surface);font-size:16px;color:var(--text)}
.wset-ctrl:has(.writing-time-presets){flex-wrap:wrap}
.wq-open{display:block;width:100%;text-align:left}
.wq-restart{margin-top:12px;padding:9px 0 0;width:100%;border-top:1px solid var(--border);color:var(--accent-strong);font-size:13px;font-weight:700;text-align:left}
.group-page-head,.group-plan>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}
.group-page-head h1{margin:0;font-size:32px}.group-page-head p,.group-plan header p{color:var(--muted);margin:8px 0}
.group-plan{padding:24px;margin:20px 0;background:var(--surface);border:1px solid var(--border);border-radius:14px}
.group-plan h2{margin:0;font-size:22px}.group-summary{color:var(--accent-strong);font-size:14px;font-weight:700}
.group-actions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.group-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}
.group-card{padding:18px;background:var(--surface-alt);border:1px solid var(--border);border-radius:11px}
.group-card.is-mine{border-color:var(--accent);background:var(--accent-soft)}
.group-card h3{margin:0 0 8px;font-size:18px}.group-card h3 small{font-size:12px;color:var(--accent-strong)}
.group-card p{color:var(--muted);font-size:14px}.group-card ul{list-style:none;padding:0;margin:12px 0}
.group-card li{padding:7px 0;display:flex;justify-content:space-between;gap:8px}.group-card li small{color:var(--muted)}
.group-request{display:flex;align-items:center;gap:9px;padding:12px 0;border-top:1px solid var(--border)}.group-request>span{flex:1}
.school-dialog{width:min(560px,calc(100vw - 28px));max-height:85dvh;padding:24px;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow-float)}
.school-dialog::backdrop{background:#14201d80}.school-dialog header,.school-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.school-dialog h2{font-size:23px;margin:0 0 16px}
.school-dialog footer{justify-content:flex-end;margin-top:18px}.school-dialog header button{font-size:24px}
.school-dialog label{display:grid;gap:6px;margin:12px 0;font-size:14px;font-weight:700}
.school-dialog input,.school-dialog select,.school-dialog textarea{width:100%;padding:10px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);font:inherit}
.school-dialog [role=alert]{color:var(--danger);margin:10px 0}.school-dialog [role=alert]:empty{display:none}
.group-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.group-targets{max-height:190px;overflow:auto;display:grid;grid-template-columns:1fr 1fr}
.group-targets label{display:flex;align-items:center;gap:8px;margin:5px 0}.group-targets input{width:auto}
.dashboard-groups{padding:22px;background:var(--surface);border:1px solid var(--border);border-radius:14px;margin:18px 0}
.dashboard-group-row{display:flex;gap:16px;align-items:center;padding:15px 0;border-top:1px solid var(--border)}.dashboard-group-row>span{flex:1}.dashboard-group-row small{display:block;color:var(--muted);margin-top:5px}
@media(max-width:700px){.group-page-head,.group-plan>header{flex-direction:column;gap:10px}.group-plan{padding:17px}.group-grid{grid-template-columns:1fr}.group-targets{grid-template-columns:1fr}.group-request{flex-wrap:wrap}}


.ft-chat-popup{width:min(340px,calc(100vw - 36px));max-width:340px;text-align:left}.ft-chat-popup:not(.school-group-popup){padding-right:48px}.ft-popup-open{display:flex;flex-direction:column;gap:4px;padding:0;border:0;background:transparent;text-align:left;font:inherit;color:inherit;cursor:pointer}.ft-popup-dismiss{position:absolute;top:8px;right:8px;width:26px;height:26px;border:0;border-radius:7px;background:var(--surface-alt);color:var(--muted);font:inherit;cursor:pointer}.school-group-popup{top:auto;bottom:24px!important;height:auto}.group-grid{grid-template-columns:repeat(auto-fill,minmax(min(260px,100%),1fr))}.page.admin-groups{margin:0 auto!important;width:100%;max-width:1280px;padding:28px}.admin-mode #app>button{margin:22px 28px 0}
.late-request-card{padding:10px;margin-top:8px;border:1px solid var(--accent-border);border-radius:8px;background:var(--accent-soft);color:var(--text)}
.late-request-card>div{display:flex;gap:8px;margin-top:8px}
