:root{--font-body: "Hiragino Kaku Gothic ProN", "Avenir Next", "Trebuchet MS", sans-serif;--font-heading: "Avenir Next", "Hiragino Sans", "Trebuchet MS", sans-serif;--font-display: Georgia, "Times New Roman", serif;--bg: #eef3f1;--bg-secondary: #fbf7ef;--surface: rgba(255, 255, 255, .94);--panel: #f8f6f0;--border: rgba(30, 41, 59, .13);--input-border: rgba(30, 41, 59, .18);--text: #263445;--text-strong: #0f172a;--muted: #64748b;--brand: #2563eb;--brand-deep: #1d4ed8;--accent: #0f766e;--accent-soft: #ccfbf1;--brand-soft: #dbeafe;--brand-gradient: linear-gradient(135deg, #0f766e 0%, #2563eb 100%);--brand-gradient-reverse: linear-gradient(135deg, #2563eb 0%, #0891b2 100%);--color-writing: #c2410c;--color-writing-bg: #fff7ed;--color-review: #2563eb;--color-review-bg: #eff6ff;--color-classes: #0f766e;--color-classes-bg: #f0fdfa;--color-tools: #be123c;--color-tools-bg: #fff1f2;--color-reports: #4d7c0f;--color-reports-bg: #f7fee7;--success: #15803d;--success-bg: #f0fdf4;--warning: #b45309;--warning-bg: #fffbeb;--danger: #b42318;--danger-bg: #fff1f2;--ai: #7c3aed;--ai-bg: #f5f3ff;--ai-border: rgba(124, 58, 237, .24);--radius-xl: 16px;--radius-2xl: 22px;--paper: #fffdf8;--paper-soft: rgba(255, 253, 248, .92);--surface-tint: rgba(240, 253, 250, .58);--surface-blue-tint: rgba(239, 246, 255, .62);--shadow: 0 14px 38px rgba(15, 23, 42, .1);--soft-shadow: 0 12px 28px rgba(42, 34, 22, .07)}*{box-sizing:border-box}html,body{min-height:100%}#root{min-height:100dvh}body{margin:0;color:var(--text);font-family:var(--font-body);background:linear-gradient(90deg,rgba(15,23,42,.025) 1px,transparent 1px),linear-gradient(180deg,rgba(15,23,42,.018) 1px,transparent 1px),radial-gradient(circle at 12% -10%,rgba(255,247,237,.86),transparent 30rem),radial-gradient(circle at 88% 8%,rgba(240,253,250,.76),transparent 28rem),linear-gradient(180deg,var(--paper) 0%,var(--bg-secondary) 34%,var(--bg) 100%);background-size:28px 28px,28px 28px,auto,auto,auto;background-attachment:fixed}a{color:inherit}code{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,monospace;font-size:.92em;background:#14202b0f;border-radius:8px;padding:.15rem .4rem}h1,h2,h3{margin:0;color:var(--text-strong);font-family:var(--font-heading);line-height:1.1}h1{font-size:clamp(2rem,4.2vw,3.6rem);margin-bottom:.9rem}h2{font-size:clamp(1.35rem,2.2vw,2rem)}h3{font-size:1.12rem}p{margin:0}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}label{display:block;margin:1rem 0 .45rem;font-weight:700;color:var(--text-strong)}label.inline{display:inline-flex;align-items:center;gap:.7rem;margin:0}label.inline input{width:auto}input,select,textarea{width:100%;border:1px solid var(--input-border);border-radius:12px;padding:.95rem 1rem;background:#fffdf8e6;color:var(--text-strong);font:inherit;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}select{border-radius:12px}input:focus,select:focus,textarea:focus{outline:none;border-color:#2563eb7a;box-shadow:0 0 0 4px #2563eb21}textarea{min-height:150px;resize:vertical}button,.btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:.45rem;border-radius:999px;border:1px solid rgba(37,99,235,.16);background:linear-gradient(180deg,#fffdf8f5,#eff6ffbd);color:var(--text-strong);cursor:pointer;font:inherit;font-weight:700;text-decoration:none;padding:.82rem 1.15rem;transition:transform .16s ease,background .16s ease,box-shadow .16s ease}button:hover,.btn:hover{transform:translateY(-1px);background:#fffdf8fa;box-shadow:0 14px 32px #14202b1a}button:disabled,.btn:disabled{opacity:.55;cursor:not-allowed;transform:none;box-shadow:none}button:focus-visible,.btn:focus-visible{outline:2px solid var(--brand);outline-offset:2px}button:active:not(:disabled),.btn:active:not(:disabled){transform:scale(.97);box-shadow:none}button.primary,.btn.primary,button[type=submit]{color:#fff;border-color:transparent;background:var(--brand-gradient-reverse);box-shadow:0 12px 26px #2563eb29}button.primary:hover,.btn.primary:hover,button[type=submit]:hover{background:linear-gradient(135deg,var(--brand-deep),var(--accent))}button.danger{color:var(--danger);border-color:#b423182e;background:var(--danger-bg)}button.danger:hover{background:#b4231814}button.ai-action,.btn.ai-action{color:var(--ai);border-color:var(--ai-border);background:var(--ai-bg)}button.ai-action:hover,.btn.ai-action:hover{background:#ede9fe;box-shadow:0 14px 28px #7c3aed1f}.language-toggle{color:var(--brand-deep);border-color:#2563eb33;background:#eff6ff}.language-toggle:hover{background:#dbeafe}.page-shell{width:100%;max-width:1180px;margin:0 auto;padding:1.8rem 1.1rem 3.8rem}.student-page-shell{width:100%;max-width:1680px}.site-footer{padding:0 1.1rem 1.6rem}.site-footer-inner{max-width:1180px;margin:0 auto;padding-top:.4rem;color:var(--muted);font-size:.9rem;text-align:center}.page-header{display:flex;justify-content:space-between;align-items:flex-end;gap:1.5rem;margin-bottom:1.3rem}.page-header.compact{align-items:flex-start}.page-header.compact h1{margin-bottom:.55rem;font-size:clamp(1.95rem,3.5vw,3.05rem)}.teacher-shell .page-header.compact h1{max-width:18ch}.teacher-shell .page-header.compact,.page-header.compact{margin-bottom:1rem}.page-copy{max-width:60ch;color:var(--muted);line-height:1.7;font-size:1.02rem}.page-title-with-badge{display:flex;align-items:center;flex-wrap:wrap;gap:.55rem}.eyebrow{margin-bottom:.7rem;color:var(--brand-deep);font-size:.78rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.muted{color:var(--muted)}.field-hint{margin-top:.5rem;color:var(--muted);font-size:.94rem}.status-message{margin-top:1rem;padding:.9rem 1rem;border-radius:16px;border:1px solid var(--border);background:#ffffffa6}.status-message.error{color:var(--danger);border-color:#b4231829;background:var(--danger-bg)}.status-message.success{color:var(--success);border-color:#15803d33;background:var(--success-bg)}.status-message.warning{color:var(--warning);border-color:#f59e0b3d;background:var(--warning-bg)}.compact-status{margin-top:.75rem;padding:.7rem .85rem;border-radius:12px;font-size:.9rem}.usage-message{color:var(--success);border-color:#15803d33;background:var(--success-bg)}.auth-note{margin-top:1rem;color:var(--muted);line-height:1.7}.auth-chip{display:inline-flex;align-items:center;max-width:100%;min-width:0;min-height:48px;padding:.7rem 1rem;border-radius:0;border:1px solid rgba(23,107,179,.16);background:#ffffffb8;color:var(--brand-deep);font-size:.92rem;font-weight:700;line-height:1.25;overflow-wrap:anywhere}.usage-chip{display:inline-flex;align-items:center;min-height:48px;padding:.7rem 1rem;border-radius:0;border:1px solid rgba(22,101,52,.18);background:#f0fdf4db;color:var(--success);font-size:.92rem;font-weight:800}.access-chip{display:inline-flex;align-items:center;min-height:48px;padding:.7rem 1rem;border-radius:0;border:1px solid rgba(37,99,235,.18);background:#eff6ffe6;color:var(--brand-deep);font-size:.92rem;font-weight:850}.access-chip.paid{border-color:#c2410c38;background:var(--color-writing-bg);color:var(--color-writing)}.teacher-dashboard-header{position:relative;padding-top:1.45rem}.access-corner{position:absolute;top:0;right:0;display:inline-flex;align-items:center;min-height:28px;padding:.28rem .62rem;border:1px solid rgba(37,99,235,.16);border-top:0;border-right:0;border-radius:0 0 0 10px;background:#eff6ffb8;color:var(--brand-deep);font-size:.74rem;font-weight:750;letter-spacing:.04em;line-height:1;text-transform:uppercase}.access-corner.paid{border-color:#0f766e2e;background:#f0fdfacc;color:var(--accent)}.teacher-header-actions{display:grid;justify-items:end;gap:.55rem;min-width:min(100%,430px);padding-top:.1rem}.teacher-account-strip{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.45rem;color:var(--muted)}.teacher-header-actions .auth-chip{min-height:30px;max-width:min(100%,280px);padding:.12rem 0;border:0;border-radius:0;background:transparent;color:var(--muted);font-size:.85rem;font-weight:620;line-height:1.35;overflow-wrap:anywhere}.teacher-header-actions .auth-chip:before{content:"";flex:0 0 auto;width:7px;height:7px;margin-right:.48rem;border-radius:999px;background:var(--accent);opacity:.72}.teacher-header-actions .usage-chip{min-height:32px;padding:.34rem .62rem;border-color:#0f766e21;background:#f0fdfa8a;color:#167047;font-size:.84rem;font-weight:680}.teacher-header-nav{justify-content:flex-end;gap:.45rem}.teacher-header-nav .btn,.teacher-header-nav button{min-height:38px;padding:.5rem .78rem;border-color:#2563eb24;background:#fffdf8ad;color:var(--text-strong);font-size:.9rem;font-weight:660;box-shadow:0 8px 18px #1c4a760d}.field-hint-valid{color:var(--brand-deep);font-weight:700}.surface-card{border-radius:var(--radius-xl);border:1px solid rgba(30,41,59,.11);background:linear-gradient(180deg,#fffdf8f5,#ffffffe6);box-shadow:var(--soft-shadow)}.quickwrite-logo{display:inline-flex;align-items:center;gap:.52rem;color:inherit;text-decoration:none}.quickwrite-logo:hover{transform:none;box-shadow:none}.quickwrite-logo-icon{width:56px;height:56px;object-fit:contain;display:block}.quickwrite-logo-word{display:inline-flex;align-items:baseline;font-family:var(--font-heading);font-size:2rem;font-style:italic;font-weight:900;line-height:1;color:#2fb2f6}.quickwrite-logo-word strong{color:#ff5b14;font-weight:900}.quickwrite-logo-compact{gap:.42rem}.quickwrite-logo-compact .quickwrite-logo-icon{width:38px;height:38px}.quickwrite-logo-compact .quickwrite-logo-word{font-size:1.35rem}.workspace-logo{margin-bottom:.55rem}.button-row{display:flex;align-items:center;flex-wrap:wrap;gap:.7rem}.home-shell{padding-top:1rem}.home-topbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.75rem}.home-brand .quickwrite-logo-icon{width:48px;height:48px}.home-brand .quickwrite-logo-word{font-size:1.85rem}.home-topbar-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:.55rem .75rem}.home-status-pill{display:inline-flex;align-items:center;min-height:34px;padding:.45rem .78rem;border-radius:0;border:1px solid rgba(37,99,235,.14);background:#fffdf8d1;color:var(--muted);font-size:.84rem;font-weight:800}.product-hunt-badge{display:inline-flex;flex:0 0 auto;line-height:0;border-radius:8px;transition:transform .16s ease,box-shadow .16s ease}.product-hunt-badge:hover{transform:translateY(-1px);box-shadow:0 10px 24px #0f172a1a}.product-hunt-badge:focus-visible{outline:2px solid var(--brand);outline-offset:3px}.product-hunt-badge img{display:block;width:250px;max-width:100%;height:auto}.hero-panel{position:relative;overflow:hidden;padding:clamp(1.35rem,3.2vw,2.05rem) clamp(1.25rem,4vw,2.6rem);border:1px solid rgba(15,118,110,.22);border-radius:18px;background:radial-gradient(circle at 88% 18%,rgba(255,255,255,.18),transparent 28%),var(--brand-gradient);box-shadow:0 18px 42px #0f172a26}.hero-panel h1,.hero-panel .eyebrow{color:#fffaf3}.hero-panel h1{max-width:18ch;margin-bottom:.55rem;font-size:clamp(2rem,4vw,3.7rem)}.hero-panel .page-copy{max-width:64ch;color:#f5f7fad4;line-height:1.55}.hero-copy{position:relative;z-index:1}.role-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem;margin-top:.95rem}.role-grid-primary{margin-top:.8rem}.role-card{display:flex;flex-direction:column;gap:.55rem;min-height:156px;padding:1.1rem 1.2rem;border-radius:14px;border:1px solid rgba(30,41,59,.1);background:linear-gradient(180deg,#fffdf8f5,#f0fdfa6b);text-decoration:none;box-shadow:var(--soft-shadow);transition:transform .18s ease,border-color .18s ease,background .18s ease}.role-card:hover{transform:translateY(-3px)}.student-card:hover{border-color:#2563eb3d}.teacher-card:hover{border-color:#0f766e42}.role-card p{color:var(--muted);line-height:1.55;font-size:.95rem}.role-kicker{font-size:.76rem;font-weight:800;text-transform:uppercase;letter-spacing:.14em;color:var(--brand-deep);line-height:1}.role-action{display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;margin-top:auto;padding:.55rem .8rem;border-radius:0;border:1px solid rgba(37,99,235,.12);background:#eff6ffbd;font-size:.9rem;font-weight:800;color:var(--brand-deep)}.paid-access-box{display:flex;flex-direction:column;gap:.85rem;padding:1rem;border:1px solid rgba(15,118,110,.16);border-radius:14px;background:linear-gradient(180deg,#f0fdfabd,#fffdf8eb)}.paid-access-box strong{color:var(--accent)}.paid-access-box span,.paid-access-box p{color:var(--muted);line-height:1.55}.teacher-access-request-form{padding:1rem;border:1px solid rgba(37,99,235,.12);border-radius:14px;background:#fffdf8c7}.teacher-access-request-form.compact{padding:.95rem}.request-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem}.teacher-access-request-form label{margin-top:0}.teacher-access-request-form input{margin-top:.45rem}.teacher-access-gate-card{width:100%;max-width:1320px;padding:clamp(1.35rem,3vw,2rem)}.teacher-access-gate-card h1{max-width:12em;margin-bottom:.65rem;font-size:clamp(2.4rem,4.2vw,4.35rem);line-height:1.03}.access-gate-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,360px);gap:clamp(1.25rem,3vw,2.4rem);align-items:start;padding-bottom:1rem;border-bottom:1px solid var(--border)}.access-gate-account{justify-self:end;max-width:340px;padding:.75rem .9rem;border:1px solid rgba(37,99,235,.14);border-radius:12px;background:#eff6ffb8;color:var(--muted);font-size:.92rem;line-height:1.45}.access-gate-account strong{display:block;margin-top:.18rem;color:var(--text-strong);overflow-wrap:anywhere}.access-panel-head{display:grid;gap:.35rem}.access-panel-head h2{font-size:1.24rem}.access-panel-head p{color:var(--muted);line-height:1.55}.access-gate-layout{display:grid;grid-template-columns:minmax(420px,.9fr) minmax(500px,1.1fr);gap:1rem;margin-top:1rem;align-items:start}.access-gate-panel{min-width:0}.request-access-panel{display:grid;gap:.85rem;padding:1rem;border:1px solid rgba(37,99,235,.12);border-radius:14px;background:#f0fdfa75}.request-access-panel .teacher-access-request-form{padding:0;border:none;background:transparent}.teacher-access-gate-card .teacher-access-request-form .button-row{margin-top:.15rem}.teacher-access-gate-card .teacher-access-request-form button[type=submit]{width:100%}.pricing-list{display:grid;gap:.55rem}.pricing-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,auto);gap:1rem;align-items:center;padding:.85rem 0;border-top:1px solid rgba(194,65,12,.14)}.pricing-row:first-child{border-top:none;padding-top:.1rem}.pricing-row-copy{display:grid;gap:.2rem;min-width:0}.pricing-row-copy span{color:var(--color-writing);font-size:.74rem;font-weight:850;letter-spacing:.1em;line-height:1.2;text-transform:uppercase}.pricing-row-copy h3{font-size:1.05rem}.pricing-row-copy p{color:var(--muted);font-size:.92rem;line-height:1.45}.pricing-row-action{display:grid;gap:.5rem;justify-items:end}.pricing-row-action strong{color:var(--text-strong);font-size:1.2rem;line-height:1;white-space:nowrap}.pricing-row-action small{margin-left:.18rem;color:var(--muted);font-size:.78rem;font-weight:800}.pricing-row-action button{min-width:148px;min-height:42px;padding:.62rem .95rem}.pricing-note{color:var(--muted);font-size:.9rem;line-height:1.5}.access-gate-footer{margin-top:1rem}.quick-start{margin-top:1.35rem;padding:1.5rem}.quick-start h3{margin-bottom:.9rem}.quick-start-list{margin:0;padding-left:1.2rem;color:var(--muted);line-height:1.75}.center-panel{min-height:calc(100vh - 170px);display:flex;align-items:center;justify-content:center}.auth-card,.submission-confirmation{max-width:660px;padding:clamp(1.7rem,4vw,2.6rem)}.teacher-gate-shell{max-width:1460px}.center-panel .teacher-access-gate-card{max-width:1320px}.submission-confirmation-wide{max-width:none;margin-bottom:1.25rem}.student-layout{display:grid;grid-template-columns:1fr;gap:1.25rem;width:100%}.classroom-layout{display:grid;grid-template-columns:minmax(320px,.82fr) minmax(0,1.18fr);gap:1.25rem;margin-bottom:1rem}.student-form-panel,.student-helper-panel,.classroom-create-panel,.classroom-list-panel,.feedback-tool-panel,.teacher-detail-panel,.teacher-list-panel,.export-layout{padding:1.45rem}.student-form-panel form{display:grid;grid-template-columns:minmax(280px,.72fr) minmax(360px,1.28fr);gap:.9rem;align-items:start}.student-form-panel form>.form-step{margin:0}.student-form-panel form>.form-step:nth-of-type(3),.student-form-panel form>.button-row{grid-column:1 / -1}.student-form-panel form>.button-row{margin-top:.15rem}.form-step{--step-color: var(--color-review);--step-bg: var(--color-review-bg);margin:0 0 1rem;padding:1rem;border:1px solid rgba(30,41,59,.1);border-radius:13px 15px 12px 14px;background:linear-gradient(180deg,color-mix(in srgb,var(--step-bg) 42%,var(--paper)),#fffdf8f0);box-shadow:0 8px 18px #5b3d1c0d}.form-step:nth-of-type(2){--step-color: var(--color-classes);--step-bg: var(--color-classes-bg)}.form-step:nth-of-type(3){--step-color: var(--color-writing);--step-bg: var(--color-writing-bg)}.form-step:last-of-type{margin-bottom:0}.form-step legend{padding:0 .35rem;color:var(--text-strong);font-family:var(--font-heading);font-weight:680;letter-spacing:0}.form-step legend span{display:inline-flex;align-items:center;justify-content:center;margin-right:.45rem;padding:.2rem .46rem;border:1px solid color-mix(in srgb,var(--step-color) 16%,transparent);border-radius:3px;background:#fffdf8eb;color:var(--step-color);font-size:.72rem;letter-spacing:.04em;text-transform:uppercase}.form-step label:first-of-type{margin-top:.35rem}.student-form-panel .form-step:nth-of-type(1),.student-form-panel .form-step:nth-of-type(2){padding:.82rem .9rem .9rem}.student-form-panel .form-step:nth-of-type(1) label,.student-form-panel .form-step:nth-of-type(2) label{margin-top:.25rem}.student-form-panel .form-step:nth-of-type(1) input,.student-form-panel .form-step:nth-of-type(2) input{min-height:46px;padding:.72rem .85rem}.student-form-panel .form-step:nth-of-type(1) .field-hint{margin-top:.45rem;font-size:.9rem;line-height:1.4}.student-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.student-info-grid label{margin-top:.25rem}.local-draft-panel{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:.85rem;padding:.85rem;border:1px solid rgba(15,118,110,.18);border-radius:12px;background:#f0fdfab8}.local-draft-panel strong{color:#0f766e}.local-draft-panel p{margin-top:.2rem;color:var(--muted);font-size:.92rem;line-height:1.55}.local-draft-panel button{flex-shrink:0}.student-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin:1.15rem 0}.student-helper-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.72fr);gap:.8rem 1.1rem;align-items:start}.student-helper-panel>.eyebrow,.student-helper-panel>h2,.student-helper-panel>.student-stats,.student-helper-panel>.normal-writing-goals-panel{grid-column:1 / -1}.student-helper-panel>.student-stats{margin:.45rem 0 .3rem}.student-helper-panel>.quick-start-list{grid-column:1;margin-top:.15rem}.student-helper-panel>.draft-note{grid-column:1;margin:.15rem 0 0}.student-helper-panel>.quick-prompt-mini-panel{grid-column:2;margin-top:0}.normal-writing-goals-panel{display:grid;gap:.65rem;margin:0 0 1rem;padding:.85rem;border:1px solid rgba(37,99,235,.16);border-radius:12px;background:linear-gradient(180deg,#eff6ff9e,#fffdf8e0)}.normal-writing-goals-panel strong{color:#1d4ed8}.normal-writing-goals-panel p{margin:0;color:var(--muted);font-size:.92rem;line-height:1.5}.normal-writing-goal-menu{display:flex;flex-wrap:wrap;gap:.5rem}.stat-chip,.stat-card{display:flex;flex-direction:column;gap:.5rem}.stat-chip{padding:1rem;border-radius:18px;border:1px solid rgba(30,41,59,.1);background:#fffdf8c2}.stat-chip:nth-child(1),.stat-card:nth-child(1){border-color:#2563eb29;background:linear-gradient(180deg,#eff6ffbd,#fffdf8e6)}.stat-chip:nth-child(2),.stat-card:nth-child(2){border-color:#0f766e29;background:linear-gradient(180deg,#f0fdfac7,#fffdf8e6)}.stat-chip:nth-child(3),.stat-card:nth-child(3){border-color:#2563eb1f;background:linear-gradient(180deg,#eff6ff8a,#f0fdfa75)}.stat-chip span,.stat-card span{color:var(--muted);font-size:.78rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.stat-chip strong,.stat-card strong{color:var(--text-strong);font-size:1.32rem}.draft-note{margin-top:1rem;color:var(--muted);line-height:1.7}.student-history-panel{margin-top:1.25rem;padding:1.45rem}.portfolio-filter-row{display:flex;flex-wrap:wrap;gap:.55rem;margin:0 0 1rem;padding:.55rem;border:1px solid var(--border);border-radius:10px;background:var(--panel)}.portfolio-filter-row button{min-height:42px;padding:.55rem .85rem}.quick-prompt-watch-note{margin:0 0 1rem;padding:.85rem 1rem;border-radius:14px;border:1px solid rgba(15,118,110,.16);background:linear-gradient(90deg,#f0fdfacc,#eff6ffb3);color:var(--accent);font-weight:800}.quick-prompt-banner{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin:0 0 1rem;padding:1.1rem 1.25rem;border-radius:var(--radius-xl);border:1px solid rgba(15,118,110,.18);background:linear-gradient(135deg,#f0fdfad6,#eff6ffeb);box-shadow:var(--soft-shadow)}.quick-prompt-banner.has-prompt{border-color:#2563eb3d;background:linear-gradient(135deg,#f0fdfae6,#eff6fff5)}.quick-prompt-banner .eyebrow{margin-bottom:.35rem}.quick-prompt-banner h2{margin-bottom:.3rem}.quick-prompt-mini-panel{display:grid;gap:.55rem;margin-top:1rem;padding:.9rem;border-radius:14px;border:1px solid rgba(15,118,110,.16);background:linear-gradient(180deg,#f0fdfac2,#fffdf8e6)}.quick-prompt-mini-panel strong{color:var(--accent)}.quick-prompt-mini-panel p{color:var(--muted);line-height:1.55}.quick-prompt-mini-panel button,.quick-prompt-mini-panel .btn{justify-self:start;min-height:40px;padding:.56rem .85rem}.team-writing-mini-panel{border-color:#2563eb2e;background:linear-gradient(180deg,#eff6ffd1,#fffdf8eb)}.team-writing-mini-panel strong{display:inline-flex;align-items:center;gap:.45rem;color:var(--brand-deep)}.team-writing-student-entry{border-color:#2563eb38;background:linear-gradient(135deg,#eff6ffeb,#f0fdfae0)}.team-writing-student-entry .eyebrow{display:inline-flex;align-items:center;gap:.45rem}.writing-task-picker,.writing-task-switcher,.writing-task-assignment-card,.writing-task-empty{margin-bottom:1rem}.writing-task-picker{display:grid;gap:1rem;min-width:0;max-width:100%;padding:clamp(1rem,2vw,1.3rem);border-color:#2563eb2e;background:linear-gradient(135deg,#eff6fff5,#f0fdfae6),var(--surface)}.writing-task-picker-head{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;min-width:0;max-width:100%}.writing-task-picker-head>div{min-width:0;max-width:100%}.writing-task-picker-head p:not(.eyebrow){margin-top:.35rem;color:var(--muted);font-weight:700;line-height:1.45;overflow-wrap:anywhere}.writing-task-count-pill{flex:0 0 auto;max-width:100%;min-height:34px;padding:.42rem .68rem;border:1px solid rgba(37,99,235,.18);border-radius:0;background:#ffffffd1;color:var(--brand-deep);font-size:.82rem;font-weight:900;line-height:1.15;overflow-wrap:anywhere}.writing-task-picker-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:.75rem;min-width:0;max-width:100%}.writing-task-picker-list .writing-task-option-card{display:grid;grid-template-rows:minmax(0,1fr) auto;gap:.85rem;align-items:stretch;justify-items:stretch;min-width:0;width:100%;max-width:100%;min-height:142px;padding:.92rem;border-color:#2563eb29;border-radius:14px;background:#ffffffe0;box-shadow:0 12px 24px #0f172a0f;text-align:left}.writing-task-option-main{display:grid;gap:.38rem;min-width:0}.writing-task-option-main strong{min-width:0;color:var(--text-strong);font-size:1.04rem;line-height:1.25;overflow-wrap:anywhere}.writing-task-option-meta{color:var(--muted);font-size:.86rem;font-weight:750;line-height:1.35;overflow-wrap:anywhere}.writing-task-option-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.45rem;min-width:0}.writing-task-status-badge,.writing-task-open-action{display:inline-flex;align-items:center;justify-content:center;min-width:0;max-width:100%;min-height:30px;padding:.36rem .6rem;border-radius:0;font-size:.8rem;font-weight:900;line-height:1.15;text-align:center;overflow-wrap:anywhere;white-space:normal}.writing-task-status-badge{border:1px solid rgba(21,128,61,.18);background:var(--success-bg);color:var(--success)}.writing-task-open-action{margin-left:auto;border:1px solid rgba(37,99,235,.18);background:#eff6ffeb;color:var(--brand-deep)}.writing-task-option-card:hover .writing-task-open-action,.writing-task-option-card:focus .writing-task-open-action{background:var(--brand);color:#fff;border-color:transparent}.writing-task-switcher{display:grid;gap:.45rem;min-width:0;max-width:100%;padding:.85rem;border:1px solid rgba(37,99,235,.16);border-radius:14px;background:#eff6ffad}.writing-task-switcher label{margin:0}.writing-task-switcher select{width:100%;min-width:0}.writing-task-assignment-card{min-width:0;max-width:100%;padding:1rem;border:1px solid rgba(15,118,110,.18);border-radius:14px;background:linear-gradient(180deg,#f0fdfac7,#fffdf8f2)}.editable-submission-note{display:inline-flex;flex-wrap:wrap;gap:.35rem;margin-top:.45rem;padding:.45rem .65rem;border-radius:6px;border:1px solid rgba(21,128,61,.18);background:var(--success-bg);color:var(--success);font-size:.86rem;font-weight:800}.writing-task-assignment-card h2{margin:.2rem 0 .35rem;font-size:1.35rem;overflow-wrap:anywhere}.writing-task-assignment-card .muted{overflow-wrap:anywhere}.writing-task-assignment-card .quick-prompt-combined-text{margin-top:.75rem;color:var(--text-strong);line-height:1.7;white-space:pre-wrap}.quick-prompt-assignment-body{display:grid;grid-template-areas:"main";gap:.8rem}.quick-prompt-assignment-body.has-left-materials,.quick-prompt-assignment-body.has-right-materials{align-items:start}.quick-prompt-assignment-body.has-left-materials:not(.has-right-materials){grid-template-columns:fit-content(560px) minmax(0,1fr);grid-template-areas:"left main"}.quick-prompt-assignment-body.has-right-materials:not(.has-left-materials){grid-template-columns:minmax(0,1fr) fit-content(560px);grid-template-areas:"main right"}.quick-prompt-assignment-body.has-left-materials.has-right-materials{grid-template-columns:fit-content(360px) minmax(0,1fr) fit-content(360px);grid-template-areas:"left main right"}.quick-prompt-assignment-main{grid-area:main;min-width:0}.quick-prompt-materials{display:grid;gap:.65rem;margin-top:.95rem}.quick-prompt-materials-position-above{margin:.85rem 0 0}.quick-prompt-materials-position-left,.quick-prompt-materials-position-right{margin-top:.75rem}.quick-prompt-materials-position-left{grid-area:left}.quick-prompt-materials-position-right{grid-area:right}.quick-prompt-material-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:.7rem}.quick-prompt-materials-position-left .quick-prompt-material-grid,.quick-prompt-materials-position-right .quick-prompt-material-grid{grid-template-columns:1fr}.quick-prompt-image-material{--quick-prompt-image-max-width: 360px;--quick-prompt-image-max-height: 320px;display:grid;gap:.35rem;width:min(100%,var(--quick-prompt-image-max-width));margin:0;padding:.55rem;border:1px solid rgba(15,118,110,.14);border-radius:12px;background:#fffdf8c7}.quick-prompt-image-material img{width:100%;max-height:var(--quick-prompt-image-max-height);object-fit:contain;border-radius:10px;background:#ffffffc7}.quick-prompt-image-size-small{--quick-prompt-image-max-width: 220px;--quick-prompt-image-max-height: 190px}.quick-prompt-image-size-medium{--quick-prompt-image-max-width: 360px;--quick-prompt-image-max-height: 320px}.quick-prompt-image-size-large{--quick-prompt-image-max-width: 560px;--quick-prompt-image-max-height: 460px}.quick-prompt-image-size-full{--quick-prompt-image-max-width: 100%;--quick-prompt-image-max-height: 560px;grid-column:1 / -1}.quick-prompt-image-material figcaption{color:var(--muted);font-size:.86rem;font-weight:700;overflow-wrap:anywhere}.quick-prompt-document-material{display:grid;grid-template-columns:54px minmax(0,1fr);gap:.65rem;align-items:center;padding:.65rem;border:1px solid rgba(37,99,235,.14);border-radius:12px;background:#eff6ffb8}.quick-prompt-document-material strong{display:block;margin-bottom:.45rem;color:var(--text-strong);overflow-wrap:anywhere}.quick-prompt-document-icon{display:inline-flex;align-items:center;justify-content:center;width:54px;height:54px;aspect-ratio:1;border-radius:12px;border:1px solid rgba(37,99,235,.18);background:#fffdf8f0;color:var(--brand-deep);font-size:.72rem;font-weight:900;letter-spacing:.04em}.modal-overlay.quick-prompt-overlay{align-items:center;overflow-y:auto;padding:.45rem}.modal-card.quick-prompt-modal{width:min(1500px,calc(100vw - .9rem));max-width:1500px;max-height:calc(100dvh - .9rem);margin:0 auto;overflow:auto;padding:.85rem}.quick-prompt-modal .panel-head{align-items:center;margin-bottom:.55rem;gap:.75rem}.quick-prompt-modal .panel-head h2{margin:.16rem 0 .04rem;font-size:clamp(1.35rem,2vw,1.95rem);line-height:1.08}.quick-prompt-modal .panel-head button{min-height:40px;padding:.5rem .9rem}.quick-prompt-modal-grid{display:grid;grid-template-columns:minmax(230px,.72fr) minmax(420px,1.45fr) minmax(210px,.62fr);gap:.7rem;align-items:start}.quick-prompt-left-column,.quick-prompt-compose-column,.quick-prompt-side-column{min-width:0}.quick-prompt-left-column,.quick-prompt-side-column{max-height:calc(100dvh - 6.3rem);overflow:auto}.quick-prompt-compose-column{display:grid;gap:.5rem}.quick-prompt-identity-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(170px,.7fr);gap:.55rem}.quick-prompt-identity-row label{margin:0;font-size:.86rem}.quick-prompt-identity-row input{margin-top:.28rem;min-height:40px;padding:.56rem .7rem;font-size:.94rem}.quick-prompt-side-column{display:grid;gap:.55rem;align-content:start}.quick-prompt-student-copy{display:grid;gap:.55rem;margin-bottom:0}.quick-prompt-student-copy>div{padding:.72rem .78rem;border-radius:12px;border:1px solid var(--border);background:var(--panel)}.quick-prompt-student-copy .eyebrow{margin-bottom:.38rem;font-size:.72rem}.quick-prompt-student-copy p:last-child{color:var(--text-strong);line-height:1.5;white-space:pre-wrap}.quick-prompt-live-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;margin:0}.quick-prompt-side-column .quick-prompt-live-stats{grid-template-columns:1fr}.quick-prompt-live-stats .stat-chip{min-height:76px;padding:.7rem .78rem;border-radius:12px}.quick-prompt-live-stats .stat-chip strong{font-size:1.7rem}.quick-prompt-advice-tools{display:grid;gap:.55rem;margin:0;padding:.72rem;border-radius:12px;border:1px solid rgba(37,99,235,.16);background:#eff6ffb8}.quick-prompt-advice-tools .button-row{gap:.42rem}.quick-prompt-advice-tools .eyebrow{margin-bottom:0}.quick-prompt-advice-tools button{min-height:34px;padding:.42rem .62rem;font-size:.84rem}.quick-prompt-advice-popup-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:280;display:flex;align-items:flex-start;justify-content:center;overflow-y:auto;padding:1.2rem;background:#0f172a6b}.quick-prompt-advice-popup{position:relative;width:min(1180px,calc(100vw - 2rem));min-height:min(620px,calc(100dvh - 2.4rem));padding:clamp(1.2rem,3vw,2rem);border-radius:10px;background:#fff;color:#030712;box-shadow:0 24px 80px #0f172a47}.quick-prompt-advice-popup h2{margin:0 2.5rem .9rem;color:#030712;font-size:clamp(2rem,4.4vw,4rem);line-height:1.02;text-align:center}.advice-popup-close{position:absolute;top:.8rem;right:.9rem;width:42px;min-width:42px;height:42px;min-height:42px;padding:0;border:none;background:transparent;color:#030712;font-size:2.6rem;line-height:1;box-shadow:none}.advice-popup-lead{max-width:1060px;margin:0 auto 1.5rem;color:#030712;font-size:clamp(1.25rem,2.4vw,2rem);font-weight:800;line-height:1.45;text-align:center}.advice-popup-chart{display:grid;gap:.75rem;width:min(920px,100%);margin:0 auto 1.4rem}.advice-popup-chart h3{color:#64748b;font-size:clamp(1.1rem,2.2vw,1.8rem);text-align:center}.advice-popup-legend{display:inline-flex;align-items:center;justify-content:center;gap:.75rem;color:#64748b;font-size:clamp(1rem,2vw,1.55rem);font-weight:900}.advice-popup-legend span{width:86px;height:28px;border-radius:5px;background:#ef4444}.advice-popup-bar-row{display:grid;grid-template-columns:minmax(160px,240px) minmax(0,1fr);gap:1rem;align-items:center}.advice-popup-bar-row>strong{color:#64748b;font-size:clamp(.98rem,1.8vw,1.45rem);text-align:right}.advice-popup-bar{height:54px;min-height:54px;border-left:2px solid #cbd5e1;background:repeating-linear-gradient(to right,transparent,transparent calc(20% - 1px),rgba(203,213,225,.42) calc(20% - 1px),rgba(203,213,225,.42) 20%)}.advice-popup-bar span{display:flex;align-items:center;justify-content:center;height:100%;min-width:52px;padding:0 .55rem;color:#fff;font-size:clamp(1rem,2vw,1.55rem);font-weight:900}.advice-popup-bar.target span{background:#ef4444}.advice-popup-bar.student span{background:#2b59d9}.missing-word-list .word-chip-list span,.copied-phrase-list mark{color:#b91c1c;border-color:#b91c1c24;background:#fee2e2cc}.copied-phrase-list{display:flex;flex-wrap:wrap;gap:.55rem}.copied-phrase-list mark{padding:.45rem .65rem;border-radius:10px;font-weight:800}.quick-prompt-advice-panel{max-height:190px;overflow:auto;padding:.72rem;border-radius:12px;border:1px solid var(--border);background:#ffffffdb}.quick-prompt-advice-panel h3{margin-bottom:.55rem;font-size:1rem}.quick-prompt-compose-column label{margin:0}.quick-prompt-compose-column textarea{height:clamp(220px,42vh,390px);min-height:220px}.quick-prompt-compose-column .field-hint{margin-top:-.15rem;font-size:.86rem}.advice-meter{height:14px;overflow:hidden;border-radius:3px;background:#2563eb1f}.advice-meter span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--brand),var(--accent))}.advice-facts{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:.75rem}.advice-facts span{padding:.58rem .75rem;border-radius:12px;border:1px solid var(--border);background:var(--panel);color:var(--muted)}.advice-facts strong{color:var(--text-strong)}.repeated-word-list a{color:var(--danger);border-color:#b4231824;background:#fef2f2e6}.short-sentence-list{display:grid;gap:.5rem}.short-sentence-list mark{padding:.55rem .7rem;border-radius:12px;background:#2563eb1f;color:var(--brand-deep);line-height:1.55}.quick-prompt-submit-row{margin-top:0}.student-feedback-card{margin-top:1rem;padding:1rem;border-radius:20px;border:1px solid rgba(51,144,220,.18);background:#e9f6ffc7}.student-history-list{display:grid;gap:.9rem}.saved-submission-card{padding:1.15rem;border-radius:22px;border:1px solid var(--border);background:var(--panel)}.saved-submission-card.is-latest{border-color:#3390dc47;box-shadow:0 18px 44px #1c4a7614}.saved-submission-text{margin:0;color:var(--text-strong);line-height:1.8;white-space:pre-wrap}.ai-revision-comparison{display:grid;gap:.85rem;margin-top:1rem;padding:1rem;border:1px solid rgba(21,128,61,.18);border-radius:14px;background:linear-gradient(180deg,#f0fdf4db,#fffdf8f0)}.ai-revision-comparison.compact{padding:.75rem}.ai-revision-head{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem}.ai-revision-head h4{margin:.15rem 0 0;color:var(--text-strong);font-size:1rem;line-height:1.35}.ai-revision-head-copy>p:last-child{max-width:64ch;margin:.35rem 0 0;color:var(--muted);font-size:.88rem;line-height:1.5}.ai-assisted-disclosure{display:inline-flex;align-items:center;min-height:18px;padding:.08rem .38rem;border:1px solid rgba(21,128,61,.2);border-radius:4px;background:#f0fdf4cc;color:#39704a;font-size:.62rem;font-weight:750;letter-spacing:.04em;line-height:1.2}.ai-revision-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.ai-revision-grid article{min-width:0;padding:.85rem;border:1px solid rgba(30,41,59,.1);border-radius:10px;background:#ffffffbd}.ai-revision-grid h5{margin:0 0 .55rem;color:var(--text-strong);font-size:.86rem}.ai-revision-grid p{margin:0;color:var(--text-strong);line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}.ai-revision-student-result{padding:.9rem;border:1px solid rgba(37,99,235,.18);border-left:4px solid #2563a6;border-radius:10px;background:#eff6ffb8}.ai-revision-student-result>div{display:flex;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.55rem}.ai-revision-student-result h5,.ai-revision-student-result p{margin:0}.ai-revision-student-result p{color:var(--text-strong);line-height:1.75;white-space:pre-wrap}.ai-revision-preview-card{min-width:0;padding:.95rem;border:1px solid rgba(30,41,59,.1);border-radius:10px;background:#ffffffc7}.ai-revision-preview-card h5{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem;margin:0 0 .55rem;color:var(--text-strong);font-size:.9rem}.ai-revision-preview-card p{margin:0;color:var(--text-strong);line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.ai-revision-summary{display:grid;gap:.4rem;padding:.75rem;border-radius:10px;background:#fff9}.ai-revision-summary strong{color:var(--text-strong)}.ai-revision-summary ul{display:grid;gap:.35rem;margin:0;padding-left:1.2rem}.ai-revision-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden;border:1px solid rgba(30,41,59,.1);border-radius:9px;background:#ffffffa8}.ai-revision-summary-grid>section{min-width:0;padding:.8rem}.ai-revision-summary-grid>section+section{border-left:1px solid rgba(30,41,59,.1)}.ai-revision-summary-grid h5{margin:0 0 .5rem;color:var(--text-strong);font-size:.78rem;letter-spacing:.06em;text-transform:uppercase}.ai-revision-summary-grid [lang=ja] h5{letter-spacing:.02em;text-transform:none}.ai-revision-summary-grid .field-hint{margin:0}.ai-revision-request-panel{display:grid;gap:.6rem;padding:.9rem;border:1px solid rgba(37,99,235,.14);border-radius:10px;background:#eff6ff9e}.ai-revision-request-panel>label{margin:0}.ai-revision-request-panel>.field-hint{margin:-.2rem 0 0;line-height:1.5}.student-revision-editor{display:grid;gap:.7rem;padding:1rem;border:1px solid rgba(37,99,235,.18);border-radius:12px;background:#eff6ffb8}.student-revision-editor-head,.student-revision-actions{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.student-revision-editor-head h5{margin:0 0 .3rem;color:var(--text-strong);font-size:.95rem}.student-revision-editor-head .field-hint{margin:0}.student-revision-editor-head>span{flex:0 0 auto;white-space:nowrap}.student-revision-editor textarea{min-height:210px;resize:vertical;background:#fffffff0;line-height:1.7}.student-revision-actions{align-items:center}.student-revision-actions>.primary{flex:0 0 auto}.student-ai-revision .status-message{margin:0}.rich-feedback-view{white-space:normal}.rich-feedback-content,.rich-feedback-view{color:var(--text-strong)}.rich-feedback-content p,.rich-feedback-content div,.rich-feedback-view p,.rich-feedback-view div{margin:0 0 .65rem;line-height:1.8}.rich-feedback-content p:last-child,.rich-feedback-content div:last-child,.rich-feedback-view p:last-child,.rich-feedback-view div:last-child{margin-bottom:0}.rich-feedback-original{color:var(--text-strong)}.rich-feedback-correction{color:var(--danger)}.confirmation-meta{display:flex;flex-wrap:wrap;gap:.7rem;margin:1.1rem 0 1.5rem}.confirmation-meta span{padding:.7rem .95rem;border-radius:0;border:1px solid var(--border);background:var(--panel);font-weight:700}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.9rem;margin-bottom:1rem}.teacher-shell{display:flex;flex-direction:column}.teacher-shell>*{order:20}.teacher-shell>.page-header{order:0}.teacher-shell>.teacher-dashboard-tabs{order:1}.teacher-shell>.teacher-tab-panel{order:2}.teacher-dashboard-tabs{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));align-items:center;gap:.45rem;margin:0 0 .85rem;padding:.5rem;overflow-x:auto;border:1px solid rgba(30,41,59,.12);border-radius:16px;background:#fffdf8d1;box-shadow:var(--soft-shadow);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.teacher-tab-button{--tab-color: var(--brand);--tab-wash: rgba(239, 246, 255, .94);--tab-border: rgba(37, 99, 235, .24);position:relative;display:grid;grid-template-columns:34px minmax(0,1fr);gap:.7rem;min-height:68px;justify-content:stretch;align-items:center;margin:0;padding:.78rem .92rem;overflow:hidden;border:1px solid transparent;border-radius:12px;background:transparent;color:var(--muted);text-decoration:none;box-shadow:none}.teacher-tab-button:after{content:"";position:absolute;left:.95rem;right:.95rem;bottom:.38rem;height:3px;border-radius:999px;background:var(--tab-color);opacity:0;transform:scaleX(.6);transform-origin:left center;transition:opacity .16s ease,transform .16s ease}.teacher-tab-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid color-mix(in srgb,var(--tab-color) 18%,transparent);border-radius:10px 12px 9px 11px;background:color-mix(in srgb,var(--tab-color) 9%,#ffffff);color:var(--tab-color);font-size:1.05rem;font-weight:650;line-height:1}.teacher-tab-copy{display:grid;gap:.16rem;min-width:0;text-align:left}.teacher-tab-label{display:inline-flex;align-items:center;gap:.4rem;min-width:0;color:var(--text-strong);font-size:.98rem;font-weight:720;letter-spacing:0}.beta-badge{display:inline-flex;align-items:center;justify-content:center;min-height:19px;padding:.12rem .4rem;border:1px solid rgba(124,58,237,.2);border-radius:0;background:#f5f3ffeb;color:#6d28d9;font-size:.62rem;font-weight:850;line-height:1;text-transform:uppercase;white-space:nowrap}.teacher-tab-meta{color:var(--muted);font-size:.76rem;font-weight:620}.teacher-tab-button:hover{transform:translateY(-1px);border-color:#1e293b1a;background:#ffffffad;box-shadow:0 10px 22px #0f172a0f}.teacher-tab-button.is-active{z-index:2;border-color:var(--tab-border);background:linear-gradient(180deg,rgba(255,255,255,.98),var(--tab-wash));color:var(--tab-color);box-shadow:0 14px 28px #0f172a1a}.teacher-tab-button.is-active:after{opacity:1;transform:scaleX(1)}.teacher-tab-button.is-active .teacher-tab-icon{border-color:color-mix(in srgb,var(--tab-color) 28%,transparent);background:#fff;box-shadow:inset 0 -8px 16px color-mix(in srgb,var(--tab-color) 8%,transparent)}.teacher-tab-button.is-active .teacher-tab-label,.teacher-tab-button.is-active .teacher-tab-meta{color:var(--tab-color)}.teacher-tab-button.is-active .teacher-tab-label{font-weight:780}.teacher-tab-panel{--tab-color: var(--brand);--tab-wash: rgba(239, 246, 255, .72);--tab-border: rgba(37, 99, 235, .2);min-width:0;margin-bottom:1rem;padding:.95rem;border:1px solid var(--tab-border);border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.92),var(--tab-wash));box-shadow:0 18px 42px #0f172a14}.teacher-tab-review,.teacher-tab-panel-review{--tab-color: var(--color-review);--tab-wash: var(--color-review-bg);--tab-border: rgba(37, 99, 235, .26)}.teacher-tab-classes,.teacher-tab-panel-classes{--tab-color: var(--color-classes);--tab-wash: var(--color-classes-bg);--tab-border: rgba(15, 118, 110, .26)}.teacher-tab-quick-prompts,.teacher-tab-panel-quick-prompts{--tab-color: var(--color-writing);--tab-wash: var(--color-writing-bg);--tab-border: rgba(194, 65, 12, .16)}.teacher-tab-tools,.teacher-tab-panel-tools{--tab-color: var(--color-tools);--tab-wash: var(--color-tools-bg);--tab-border: rgba(190, 18, 60, .22)}.teacher-tab-team-writing{--tab-color: var(--accent);--tab-wash: var(--accent-soft);--tab-border: rgba(15, 118, 110, .26)}.teacher-tab-reports,.teacher-tab-panel-reports{--tab-color: var(--color-reports);--tab-wash: var(--color-reports-bg);--tab-border: rgba(77, 124, 15, .24)}.teacher-tab-settings,.teacher-tab-panel-settings{--tab-color: #475569;--tab-wash: rgba(241, 245, 249, .84);--tab-border: rgba(71, 85, 105, .22)}.settings-layout{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:1rem}.settings-card{display:grid;align-content:start;gap:1rem;min-width:0}.settings-wide-message{grid-column:1 / -1;margin:0}.settings-facts{display:grid;gap:0;margin:0;border-top:1px solid var(--border)}.settings-facts>div{display:grid;grid-template-columns:minmax(130px,.75fr) minmax(0,1.25fr);gap:1rem;padding:.82rem 0;border-bottom:1px solid var(--border)}.settings-facts dt{color:var(--muted);font-weight:650}.settings-facts dd{min-width:0;margin:0;color:var(--text-strong);font-weight:750;overflow-wrap:anywhere}.settings-note{margin:0;padding:.85rem .95rem;border:1px solid rgba(37,99,235,.16);border-radius:12px;background:#eff6ffb8;color:var(--text)}.teacher-shell>.teacher-dashboard-header{order:0}.teacher-shell>.compact-status{order:1}.teacher-tab-panel>.surface-card,.teacher-tab-panel>.collapsible-block>.surface-card,.teacher-tab-panel>.stats-grid>.surface-card{border-color:var(--tab-border)}.teacher-tab-panel-quick-prompts .quick-prompts-section{border-color:var(--tab-border);background:linear-gradient(90deg,rgba(15,23,42,.02) 1px,transparent 1px),linear-gradient(180deg,color-mix(in srgb,var(--class-theme-soft, #dbeafe) 28%,rgba(255,253,248,.98)),#f8f6f0f0);background-size:30px 30px,auto}.teacher-tab-panel-quick-prompts .quick-prompt-form,.teacher-tab-panel-quick-prompts .quick-prompt-export-panel,.teacher-tab-panel-quick-prompts .quick-prompt-card,.teacher-tab-panel-quick-prompts .quick-prompt-empty{border-color:var(--border);background:#fffdf8db}.teacher-tab-panel-quick-prompts .quick-prompt-advice-chips span{border-color:#c2410c2e;background:var(--color-writing-bg);color:var(--tab-color)}.teacher-tab-panel-tools .teacher-tools-panel,.teacher-tab-panel-tools .translation-panel{background:linear-gradient(180deg,var(--tab-wash),rgba(255,255,255,.96))}.teacher-tab-panel-reports .stat-card{background:linear-gradient(180deg,#f7fee7e6,#fffffff0)}.stat-card{min-height:128px;justify-content:space-between;padding:1.2rem}.filter-panel{margin-bottom:1rem;padding:1.25rem}.feedback-tool-panel,.class-setup-section{margin-bottom:1rem}.quick-prompts-section{margin-bottom:1rem;padding:1.2rem;border-color:#0f766e33;background:#fffffff5}.quick-prompts-workflow-head{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.85rem}.quick-prompts-workflow-head h2{margin-bottom:.25rem;font-weight:680;letter-spacing:0}.quick-prompts-head-actions{display:flex;align-items:flex-start;justify-content:flex-end;gap:.55rem;flex-wrap:wrap}.quick-prompts-head-actions .primary{min-height:48px;box-shadow:0 12px 24px #2563eb21}.quick-prompt-workflow-actions{display:flex;flex-wrap:wrap;gap:.55rem;justify-content:flex-end}.quick-prompt-class-banner{display:flex;align-items:stretch;justify-content:space-between;gap:1rem;margin:0 0 .85rem;padding:1rem;border:1px solid color-mix(in srgb,var(--class-theme-color, #dbeafe) 50%,rgba(30,41,59,.1));border-radius:14px;background:linear-gradient(135deg,color-mix(in srgb,var(--class-theme-soft, #dbeafe) 62%,#ffffff),#fffdf8eb);box-shadow:0 12px 26px #0f172a0f}.quick-prompt-class-summary{display:flex;align-items:center;gap:.85rem;min-width:0}.quick-prompt-class-summary h3{margin:.08rem 0 .32rem;color:var(--text-strong);font-size:1.35rem;letter-spacing:0}.quick-prompt-class-stats,.quick-prompt-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:.45rem}.quick-prompt-class-stats span{display:inline-flex;align-items:center;gap:.28rem;min-height:28px;padding:.25rem .52rem;border:1px solid rgba(30,41,59,.08);border-radius:0;background:#ffffffad;color:var(--muted);font-size:.82rem;font-weight:800}.quick-prompt-class-stats strong{color:var(--text-strong)}.quick-prompt-class-controls{position:relative;display:flex;align-items:flex-end;justify-content:flex-end;flex-wrap:wrap;gap:.55rem;min-width:min(100%,460px)}.quick-prompt-class-select{display:grid;gap:.25rem;min-width:min(100%,250px);margin:0}.quick-prompt-class-select span{color:var(--muted);font-size:.78rem;font-weight:900;text-transform:uppercase}.quick-prompt-class-select select{min-height:44px;background-color:#ffffffdb;font-weight:750}.class-color-control{position:relative}.class-color-button{display:inline-flex;align-items:center;gap:.45rem;min-height:44px}.class-color-dot{display:inline-flex;width:14px;height:14px;flex:0 0 auto;border:1px solid rgba(15,23,42,.16);border-radius:999px;background:var(--class-theme-color, #dbeafe);box-shadow:inset 0 1px #ffffff9e}.class-color-dot.large{width:42px;height:42px;border-radius:13px}.class-color-popover{position:absolute;top:calc(100% + .45rem);right:0;z-index:20;display:grid;grid-template-columns:repeat(4,34px);gap:.35rem;padding:.48rem;border:1px solid var(--border);border-radius:12px;background:#fffdf8fa;box-shadow:0 16px 32px #0f172a24}.class-color-popover button{width:34px;height:34px;min-height:34px;padding:0;border-radius:10px}.class-color-popover button.is-selected{border-color:var(--brand);box-shadow:0 0 0 3px #2563eb1f}.quick-prompt-toolbar{justify-content:space-between;gap:.75rem;margin:0 0 .85rem}.quick-prompt-status-tabs{display:inline-flex;align-items:center;width:fit-content;max-width:100%;padding:.22rem;border:1px solid rgba(37,99,235,.12);border-radius:12px;background:#fffdf8c7}.quick-prompt-status-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:.42rem;min-height:40px;padding:.48rem .78rem;border:0;border-radius:10px;background:transparent;color:var(--muted);box-shadow:none;font-weight:850}.quick-prompt-status-tabs button.is-active{background:#fffffff0;color:var(--brand-deep);box-shadow:0 5px 15px #1c4a7614}.quick-prompt-status-tabs strong{min-width:1.5rem;padding:.08rem .42rem;border-radius:0;background:var(--color-review-bg);color:var(--color-review);font-size:.78rem}.quick-prompts-workspace{display:grid;grid-template-columns:minmax(220px,255px) minmax(0,1fr);gap:1.2rem;align-items:start;margin-top:1rem}.quick-prompts-flow-rail{display:grid;gap:.72rem;padding:.78rem;border:1px solid rgba(194,65,12,.11);border-radius:15px 17px 14px 16px;background:#fffdf8a8;box-shadow:inset 0 1px #ffffffb8,var(--soft-shadow);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.quick-prompts-main-panel{min-width:0}.quick-prompt-stepper{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:.4rem;align-items:center;padding:.05rem .08rem .18rem}.quick-prompt-stepper:before{content:"";position:absolute;left:1rem;right:1rem;top:50%;height:2px;border-radius:3px;background:linear-gradient(90deg,#0f766e42,#2563eb33,#0891b238)}.quick-prompt-stepper span{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;justify-self:center;width:28px;height:28px;border:1px solid rgba(37,99,235,.14);border-radius:999px;background:#fffdf8f5;color:var(--accent);font-size:.88rem;font-weight:650;box-shadow:0 5px 12px #1c4a760f}.quick-prompt-flow-step{display:grid;gap:.48rem;padding:.74rem;border:1px solid rgba(15,118,110,.11);border-radius:13px 15px 12px 14px;background:#f0fdfa80;box-shadow:0 8px 18px #5b3d1c0d;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}.quick-prompt-step-head{display:flex;justify-content:flex-start;align-items:center;gap:.7rem}.quick-prompt-step-number{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:999px;border:1px solid rgba(15,118,110,.14);background:#ffffffb8;color:var(--accent);font-size:1.02rem;font-weight:650;box-shadow:inset 0 -8px 14px #2563eb12}.quick-prompt-flow-step:hover{transform:translateY(-1px);box-shadow:0 12px 22px #5b3d1c14}.quick-prompt-flow-step:nth-of-type(1){background:linear-gradient(180deg,#f0fdfaa3,#fffdf8d6);border-color:#0f766e21}.quick-prompt-flow-step:nth-of-type(2){min-height:156px;border-radius:15px 12px 16px 13px;background:linear-gradient(180deg,#eff6ff9e,#fffdf8db)}.quick-prompt-flow-step h3{margin:0;font-size:1rem;font-weight:660;letter-spacing:0}.quick-prompt-flow-step label,.quick-prompt-flow-step .field-hint{margin:0}.quick-prompt-flow-actions-panel{min-height:132px;border-color:#0891b221;border-radius:12px 16px 14px 13px;background:linear-gradient(180deg,#ecfeff75,#fffdf8e6)}.quick-prompt-flow-actions-panel .quick-prompt-workflow-actions{display:grid;justify-content:stretch}.quick-prompt-flow-actions-panel .quick-prompt-workflow-actions>*{width:100%}.quick-prompt-total-row{display:flex;flex-wrap:wrap;gap:.6rem;margin:.9rem 0}.quick-prompt-total-row span{display:inline-flex;align-items:center;gap:.35rem;padding:.45rem .65rem;border-radius:0;border:1px solid var(--border);background:var(--panel);color:var(--muted);font-size:.86rem;font-weight:800}.quick-prompt-total-row strong{color:var(--text-strong)}.quick-prompt-flow-summary{display:grid;margin:0}.quick-prompt-flow-summary span{justify-content:space-between;border-radius:12px}.quick-prompt-status-select{display:grid;gap:.4rem}.quick-prompt-status-select label{margin:0}.quick-prompt-status-select select{min-height:48px;border-color:#2563eb29;background-color:#fffdf8eb;font-weight:650}.quick-prompt-inline-create{width:100%;min-height:42px;border-color:#0f766e2e;background:#f0fdfad1;color:var(--accent);font-weight:700}.quick-prompt-inline-create:hover{background:#fffdf8fa;box-shadow:0 10px 20px #0f766e1a}.quick-prompt-form-head{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.quick-prompt-form-head h3{margin:.1rem 0 0}.quick-prompt-mode-toggle{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.35rem;padding:.35rem;border:1px solid var(--border);border-radius:14px;background:#fffdf8b8}.quick-prompt-mode-toggle button{min-height:44px;border-color:transparent;background:transparent;color:var(--muted)}.quick-prompt-mode-toggle button.is-active{border-color:#2563eb33;background:#fff;color:var(--brand-deep);box-shadow:0 8px 18px #0f172a0f}.quick-prompt-form{display:grid;gap:.8rem;margin:.9rem 0;padding:.95rem;border:1px solid rgba(15,118,110,.14);border-radius:14px;background:linear-gradient(180deg,#f0fdfaa8,#fffdf8f2)}.quick-prompt-form label{margin-top:0}.quick-prompt-material-editor{display:grid;gap:.65rem;padding:.8rem;border:1px solid rgba(15,118,110,.14);border-radius:14px;background:#fffdf8c7}.quick-prompt-material-editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:.85rem}.quick-prompt-material-editor-head h4{margin:.08rem 0 .18rem;color:var(--text-strong);font-size:1rem}.quick-prompt-material-dropzone{display:grid;gap:.25rem;min-height:104px;align-content:center;padding:.9rem;border:1.5px dashed rgba(15,118,110,.28);border-radius:12px;background:#f0fdfa94;color:var(--text-strong);cursor:pointer;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease}.quick-prompt-material-dropzone span{color:var(--muted);font-size:.9rem}.quick-prompt-material-dropzone.is-dragging,.quick-prompt-material-dropzone:focus{outline:none;border-color:#2563eb85;background:#eff6ffb8;box-shadow:0 0 0 3px #2563eb1f}.quick-prompt-material-list{display:grid;gap:.5rem}.quick-prompt-material-row{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:.65rem;align-items:center;padding:.55rem;border:1px solid var(--border);border-radius:12px;background:var(--panel)}.quick-prompt-material-preview{width:64px;aspect-ratio:1;overflow:hidden;border-radius:10px;border:1px solid var(--border);background:#f8fafcdb}.quick-prompt-material-preview img{width:100%;height:100%;display:block;object-fit:cover}.quick-prompt-material-icon{display:inline-flex;align-items:center;justify-content:center;width:100%;height:100%;color:var(--brand-deep);font-size:.72rem;font-weight:900;letter-spacing:.04em}.quick-prompt-material-icon.image{color:var(--accent)}.quick-prompt-material-info{display:grid;gap:.18rem;min-width:0}.quick-prompt-material-info strong{min-width:0;overflow-wrap:anywhere;color:var(--text-strong)}.quick-prompt-material-info span{color:var(--muted);font-size:.86rem;font-weight:700}.quick-prompt-material-layout-controls{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.35rem}.quick-prompt-material-layout-controls label{display:grid;gap:.18rem;min-width:132px;color:var(--muted);font-size:.74rem;font-weight:850;text-transform:uppercase;letter-spacing:.04em}.quick-prompt-material-layout-controls select{min-height:34px;padding:.34rem .52rem;border-radius:9px;font-size:.86rem;font-weight:800;text-transform:none;letter-spacing:0}.quick-prompt-material-actions{display:flex;flex-wrap:wrap;gap:.35rem;justify-content:flex-end}.quick-prompt-goals-panel{display:grid;gap:.7rem;padding:.75rem;border:1px solid rgba(37,99,235,.12);border-radius:14px;background:#fffdf8bd}.quick-prompt-readonly-status{display:grid;gap:.45rem;align-items:start;padding:.58rem;border-radius:14px;border:1px solid rgba(37,99,235,.12);background:#fffdf8bd}.resubmission-toggle{align-self:start;padding:.72rem .85rem;border-radius:14px;border:1px solid rgba(21,128,61,.18);background:var(--success-bg)}.resubmission-toggle span{color:var(--success)}.quick-prompt-goal-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:.6rem}.quick-prompt-goal-card{min-width:0;padding:.75rem;border:1px solid var(--border);border-radius:12px;background:#fffdf8e6}.quick-prompt-goal-card.wide{grid-column:1 / -1}.goal-card-head{display:flex;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.55rem}.quick-prompt-goal-toggle{color:var(--text-strong);font-size:.92rem;font-weight:800}.quick-prompt-goal-toggle input{width:auto}.quick-prompt-help-button{width:34px;min-width:34px;height:34px;min-height:34px;padding:0;border-radius:50%;color:var(--brand-deep);border-color:#2563eb2e;background:var(--color-review-bg);font-weight:900}.goal-help-text{margin:-.15rem 0 .65rem;padding:.62rem .7rem;border-radius:12px;border:1px solid rgba(15,118,110,.14);background:#f0fdfab8;color:#115e59;line-height:1.55;font-size:.92rem}.goal-settings-grid{display:grid;grid-template-columns:minmax(140px,.45fr) minmax(0,1fr);gap:.75rem;align-items:start}.goal-settings-grid.two-column{grid-template-columns:repeat(2,minmax(0,1fr))}.writing-goals-disclosure{display:grid;gap:.85rem}.writing-goals-main-toggle{padding:.75rem;border-radius:12px;border:1px solid rgba(15,118,110,.16);background:linear-gradient(180deg,#f0fdfabd,#fffdf8e6)}.writing-goals-main-toggle>span:first-child{display:grid;gap:.2rem}.writing-goals-main-toggle .field-hint{margin:0;font-weight:500}.writing-goals-group-label{margin:0;color:var(--accent);font-size:.78rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.writing-goals-advanced{display:grid;gap:.75rem}.compact-toggle{padding:.75rem .9rem;border-radius:12px;border:1px solid rgba(37,99,235,.12);background:#fffdf8b8}.advanced-goal-grid{margin-top:0}.class-writing-goals-panel{margin-top:1rem;padding-top:1rem;border-top:1px solid rgba(15,23,42,.08)}.class-writing-goals-body{display:grid;gap:.85rem}.writing-goals-actions{margin-top:.2rem}.goal-settings-grid textarea{min-height:96px}.quick-prompt-main-fields,.quick-prompt-settings-grid{display:grid;grid-template-columns:minmax(180px,.9fr) minmax(180px,1.1fr);gap:.75rem}.quick-prompt-secondary-fields{align-items:start}.quick-prompt-settings-grid{grid-template-columns:minmax(140px,.55fr) minmax(140px,.55fr) minmax(240px,1.4fr)}.quick-prompt-vocab-field textarea{min-height:88px}.quick-prompt-advice-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem}.quick-prompt-check{display:flex;align-items:center;gap:.6rem;min-height:54px;margin:0;padding:.75rem .85rem;border:1px solid var(--border);border-radius:14px;background:#fffdf8c2;color:var(--text-strong)}.quick-prompt-check input{width:auto}.quick-prompt-export-panel{display:grid;gap:.75rem;margin-top:.9rem;padding:.95rem;border:1px solid rgba(37,99,235,.16);border-radius:14px;background:linear-gradient(180deg,#eff6ff9e,#fffdf8f2)}.quick-prompt-export-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,.38fr);gap:.85rem;align-items:end}.quick-prompt-export-head h3{margin:.15rem 0 .25rem}.quick-prompt-export-controls label{margin:0 0 .35rem}.quick-prompt-export-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:.55rem}.quick-prompt-export-option{display:flex;align-items:flex-start;gap:.55rem;min-height:68px;margin:0;padding:.7rem .78rem;border:1px solid var(--border);border-radius:12px;background:var(--panel)}.quick-prompt-export-option input{width:auto;margin-top:.18rem}.quick-prompt-export-option span{display:grid;gap:.2rem;min-width:0}.quick-prompt-export-option strong{color:var(--text-strong)}.quick-prompt-export-option small{color:var(--muted);font-weight:700;text-transform:uppercase;letter-spacing:.04em}.quick-prompt-export-actions{align-items:center}.quick-prompt-list{display:grid;gap:.65rem;margin-top:.75rem}.quick-prompt-groups{display:grid;gap:1rem;margin-top:1rem}.quick-prompt-group{display:grid;gap:.6rem;padding:0;border:0;border-radius:0;background:transparent}.quick-prompt-group-head,.quick-prompt-card-head{align-items:flex-start}.quick-prompt-group-head{display:flex;justify-content:space-between;gap:1rem;padding-top:.25rem}.quick-prompt-group-head h3{margin:0}.quick-prompt-card{padding:.95rem 1rem;border-radius:12px 14px 13px 12px;border:1px solid rgba(30,41,59,.1);background:#fffdf8e6;box-shadow:0 10px 24px #0f172a0f;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.quick-prompt-copy-select{display:inline-flex;align-items:center;gap:.42rem;width:fit-content;margin:0 0 .65rem;padding:.34rem .55rem;border:1px solid rgba(37,99,235,.14);border-radius:6px;background:#eff6ff9e;color:var(--brand-deep);font-size:.78rem;font-weight:900}.quick-prompt-copy-select input{width:auto}.quick-prompt-copy-select.is-selected{border-color:#0f766e47;background:#f0fdfadb;color:var(--accent)}.quick-prompt-card:hover{transform:translateY(-1px);box-shadow:0 16px 30px #0f172a14}.quick-prompt-card-active{border-color:#0f766e24;background:linear-gradient(180deg,#f0fdfab3,#fffdf8f0)}.quick-prompt-card-draft{border-color:#c2410c24;border-radius:14px 12px 13px 15px;background:linear-gradient(180deg,#fff7edc7,#fffdf8f2)}.quick-prompt-card-closed{border-color:#64748b21;border-radius:12px 15px 12px 14px;background:linear-gradient(180deg,#f8fafcb8,#fffdf8f2)}.quick-prompt-card h3{margin:0;font-size:1.06rem;font-weight:680;letter-spacing:0;line-height:1.25}.quick-prompt-card-main{display:grid;gap:.65rem}.quick-prompt-card-content{min-width:0}.quick-prompt-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:.85rem}.quick-prompt-card-kicker{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:.45rem;flex:0 0 auto}.quick-prompt-progress-ring{--response-progress: 0deg;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:3px;border-radius:999px;background:conic-gradient(var(--color-classes) var(--response-progress),rgba(100,116,139,.13) 0deg)}.quick-prompt-progress-ring>span{display:inline-flex;align-items:center;justify-content:center;width:100%;height:100%;border-radius:999px;background:#fffdf8f5;color:var(--text-strong);font-size:.75rem;font-weight:720}.quick-prompt-card-facts{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem}.quick-prompt-card-facts .quick-prompt-advice-chips{display:contents}.quick-prompt-response-count{display:inline-flex;align-items:center;padding:.25rem .48rem;border-radius:0;border:1px solid var(--border);background:var(--panel);color:var(--muted);font-size:.76rem;font-weight:800}.quick-prompt-card-status-copy{margin:.2rem 0 0;font-size:.88rem}.quick-prompt-primary-actions,.quick-prompt-secondary-actions{display:flex;flex-wrap:wrap;gap:.4rem;justify-content:flex-start}.quick-prompt-primary-actions button,.quick-prompt-secondary-actions button{min-height:34px;padding:.4rem .65rem;border-radius:9px;font-size:.86rem}.quick-prompt-primary-actions .quick-prompt-response-toggle{min-width:150px}.quick-prompt-state-action{border-color:#0f766e33;background:#f0fdfad1;color:var(--color-classes)}.quick-prompt-card .status-badge,.quick-prompt-card .class-pill,.quick-prompt-card .resubmission-badge,.quick-prompt-meta-chip,.quick-prompt-card-facts .quick-prompt-advice-chips span{min-height:26px;padding:.24rem .48rem;border-radius:3px;font-size:.75rem;line-height:1.1}.quick-prompt-card .status-badge{text-transform:capitalize}.quick-prompt-meta-chip{display:inline-flex;align-items:center;border:1px solid rgba(100,116,139,.16);background:#f8fafceb;color:var(--muted);font-weight:800}.quick-prompt-secondary-actions{margin-top:.7rem;padding-top:.7rem;border-top:1px solid var(--border)}.quick-prompt-card-details{display:grid;gap:.6rem;margin-top:.7rem;padding-top:.7rem;border-top:1px solid var(--border)}.quick-prompt-detail-meta{display:flex;flex-wrap:wrap;gap:.5rem;color:var(--muted);font-size:.86rem;font-weight:700}.quick-prompt-card-materials{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.55rem}.quick-prompt-card-material{display:grid;grid-template-columns:52px minmax(0,1fr);gap:.55rem;align-items:center;padding:.5rem;border:1px solid var(--border);border-radius:12px;background:var(--panel);text-decoration:none}.quick-prompt-card-material img{width:52px;aspect-ratio:1;object-fit:cover;border-radius:10px;border:1px solid var(--border)}.quick-prompt-card-material .quick-prompt-material-icon{width:52px;height:52px;aspect-ratio:1;border-radius:10px;border:1px solid var(--border);background:#eff6ffb8}.quick-prompt-card-material span{display:grid;gap:.12rem;min-width:0}.quick-prompt-card-material strong{min-width:0;overflow-wrap:anywhere;color:var(--text-strong)}.quick-prompt-card-material small{color:var(--muted);font-weight:800}.quick-prompt-copy{display:grid;gap:.65rem;margin:0;padding:.75rem;border-radius:12px;border:1px solid var(--border);background:var(--panel);line-height:1.7;white-space:pre-wrap}.quick-prompt-advice-chips,.word-chip-list{display:flex;flex-wrap:wrap;gap:.38rem}.quick-prompt-advice-chips.compact span{padding:.28rem .5rem;font-size:.76rem}.quick-prompt-advice-chips span,.word-chip-list span,.word-chip-list a,.source-badge,.resubmission-badge,.edited-badge{display:inline-flex;align-items:center;padding:.38rem .65rem;border-radius:3px;border:1px solid rgba(15,118,110,.14);background:#f0fdfad1;color:var(--accent);font-size:.82rem;font-weight:800;text-decoration:none}.source-badge.free-write{color:var(--brand-deep);border-color:#2563eb24;background:#eff6ffe6}.source-badge.quick-prompt{color:var(--color-writing);border-color:#c2410c29;background:var(--color-writing-bg)}.resubmission-badge.is-on,.edited-badge{color:var(--success);border-color:#15803d2e;background:var(--success-bg)}.resubmission-badge.is-off{color:var(--muted);border-color:#64748b29;background:#f8fafceb}.quick-prompt-response-anchor{display:flex;flex-wrap:wrap;gap:.45rem .7rem;align-items:center;margin-top:.65rem;padding:.55rem .65rem;border:1px dashed rgba(100,116,139,.22);border-radius:10px;background:#fffdf8ad;color:var(--text-strong);font-size:.86rem}.quick-prompt-response-anchor strong{color:var(--accent)}.quick-prompt-completion-chip{display:inline-flex;align-items:center;padding:.25rem .48rem;border-radius:0;border:1px solid rgba(15,118,110,.16);background:#f0fdfadb;color:var(--accent);font-size:.76rem;font-weight:800}.quick-prompt-completion-chip.has-missing{border-color:#c2410c29;background:var(--color-writing-bg);color:var(--color-writing)}.quick-prompt-completion-toggle{border-color:#2563eb2e;background:#eff6ffdb;color:var(--brand-deep)}.quick-prompt-response-drawer{position:relative;display:grid;gap:.75rem;margin:.75rem 0 0 1.05rem;padding:.85rem;border:1px solid rgba(15,118,110,.14);border-radius:14px;background:linear-gradient(180deg,#f0fdfa9e,#fffdf8f0)}.quick-prompt-completion-drawer{position:relative;display:grid;gap:.75rem;margin:.75rem 0 0 1.05rem;padding:.85rem;border:1px solid rgba(37,99,235,.15);border-radius:14px;background:linear-gradient(180deg,#eff6ffa8,#fffdf8f2)}.quick-prompt-completion-drawer:before{content:"";position:absolute;top:-.8rem;left:1rem;width:3px;height:.8rem;border-radius:0;background:var(--brand)}.quick-prompt-response-drawer:before{content:"";position:absolute;top:-.8rem;left:1rem;width:3px;height:.8rem;border-radius:0;background:var(--accent)}.quick-prompt-response-drawer-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.75rem}.quick-prompt-response-drawer-head h4{margin:.1rem 0 0;font-size:1rem}.quick-prompt-response-drawer-actions,.quick-prompt-response-actions,.quick-prompt-completion-summary{display:flex;flex-wrap:wrap;gap:.45rem}.quick-prompt-completion-summary span{display:inline-flex;align-items:center;gap:.3rem;min-height:28px;padding:.25rem .52rem;border:1px solid var(--border);border-radius:0;background:var(--panel);color:var(--muted);font-size:.82rem;font-weight:800}.quick-prompt-completion-summary strong{color:var(--text-strong)}.quick-prompt-completion-table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:12px;background:var(--panel)}.quick-prompt-completion-table{width:100%;min-width:720px;border-collapse:collapse}.quick-prompt-completion-table th{padding:.55rem .65rem;border-bottom:1px solid var(--border);color:var(--muted);font-size:.74rem;font-weight:900;letter-spacing:.06em;text-align:left;text-transform:uppercase}.quick-prompt-completion-table td{padding:.65rem;border-bottom:1px solid var(--border);vertical-align:top}.quick-prompt-completion-table tr:last-child td{border-bottom:0}.quick-prompt-completion-table td:first-child,.quick-prompt-completion-table td:nth-child(3){display:grid;gap:.15rem}.quick-prompt-completion-table td:first-child strong,.quick-prompt-completion-table td:nth-child(3) strong{color:var(--text-strong)}.quick-prompt-completion-table td:first-child span,.quick-prompt-completion-table td:nth-child(3) span{color:var(--muted);font-size:.82rem;font-weight:700}.quick-prompt-completion-empty{min-height:140px}.quick-prompt-responses{display:grid;gap:.7rem;margin-top:.75rem}.quick-prompt-response-drawer .quick-prompt-responses{margin-top:0}.quick-prompt-response-row{padding:.85rem;border-radius:14px;border:1px solid var(--border);background:var(--panel)}.quick-prompt-response-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:.55rem;margin-bottom:.45rem}.quick-prompt-response-heading>div{display:grid;gap:.2rem;min-width:0}.quick-prompt-response-heading strong{color:var(--text-strong);font-weight:900}.quick-prompt-response-row summary{display:flex;flex-wrap:wrap;gap:.35rem;margin-bottom:.45rem;cursor:pointer;color:var(--text-strong);font-weight:800}.quick-prompt-response-row summary::marker{color:var(--color-writing)}.quick-prompt-response-row p{color:var(--text-strong);line-height:1.7;white-space:pre-wrap}.quick-prompt-response-preview{margin:0}.quick-prompt-response-actions{margin:.2rem 0 .65rem}.quick-prompt-empty{position:relative;overflow:hidden;min-height:360px;border:1px solid rgba(15,118,110,.12);border-radius:14px 16px 13px 15px;background:linear-gradient(90deg,rgba(15,23,42,.018) 1px,transparent 1px),linear-gradient(180deg,#f0fdfa6b,#fffdf8e6);background-size:26px 26px,auto;box-shadow:inset 0 1px #ffffffb8,var(--soft-shadow)}.quick-prompt-empty-primary{display:grid;justify-items:center;align-content:center;gap:.72rem;padding:2rem 1.25rem}.quick-prompt-empty-primary h3{max-width:34rem;font-weight:680;letter-spacing:0}.quick-prompt-empty-primary p:not(.eyebrow){max-width:42rem;line-height:1.65}.quick-prompt-empty-illustration{position:relative;width:114px;height:82px;margin-bottom:.15rem}.quick-prompt-empty-illustration:before{content:"";position:absolute;top:8px;right:18px;bottom:0;left:6px;border:1px solid rgba(15,118,110,.16);border-radius:10px 12px 9px 11px;background:linear-gradient(#c2410c21,#c2410c21) 18px 22px / 54px 2px no-repeat,linear-gradient(#c2410c1a,#c2410c1a) 18px 34px / 44px 2px no-repeat,linear-gradient(#c2410c14,#c2410c14) 18px 46px / 60px 2px no-repeat,#fffdf8eb;box-shadow:0 14px 24px #5b3d1c1a;transform:rotate(-2deg)}.quick-prompt-empty-illustration:after{content:"";position:absolute;right:10px;top:12px;width:48px;height:8px;border-radius:999px;background:linear-gradient(90deg,#2563ebb3,#0f766eb8);transform:rotate(-28deg);box-shadow:0 8px 16px #2563eb1f}.quick-prompt-empty-illustration span{position:absolute;right:5px;top:44px;width:22px;height:16px;border:1px solid rgba(37,99,235,.18);border-radius:3px 9px 9px 3px;background:#eff6ffdb;transform:rotate(9deg)}.quick-prompt-empty-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem;width:min(100%,560px);margin:.25rem 0}.quick-prompt-empty-stats span{display:grid;gap:.18rem;min-height:72px;align-content:center;padding:.75rem .8rem;border:1px solid rgba(30,41,59,.09);border-radius:12px;background:#ffffffa3;color:var(--muted);font-size:.78rem;font-weight:650}.quick-prompt-empty-stats strong{color:var(--text-strong);font-size:1.35rem;line-height:1}.quick-prompt-empty-cta{min-height:50px;padding-inline:1.35rem;box-shadow:0 14px 28px #2563eb26}.quick-prompt-template-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem;width:min(100%,640px);margin-top:.35rem}.quick-prompt-template-card{display:grid;grid-template-columns:32px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;column-gap:.58rem;row-gap:.08rem;min-height:76px;padding:.68rem .78rem;border-color:#0f766e1f;border-radius:12px 13px 11px 14px;background:#f0fdfab8;box-shadow:none}.quick-prompt-template-card:hover{background:#ffffffeb;box-shadow:0 12px 20px #5b3d1c14}.quick-prompt-template-icon{grid-row:1 / span 2;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:10px 12px 9px 11px;background:#ffffffc2;color:var(--accent);font-weight:720}.quick-prompt-template-card strong,.quick-prompt-template-card small{min-width:0;text-align:left}.quick-prompt-template-card strong{color:var(--text-strong);font-size:.9rem;font-weight:690}.quick-prompt-template-card small{color:var(--muted);font-size:.75rem;font-weight:560;line-height:1.25}.class-setup-header{display:flex;justify-content:space-between;align-items:flex-end;gap:1.25rem;margin-bottom:.9rem;padding:1.35rem 1.45rem;border-radius:var(--radius-xl);border:1px solid rgba(15,118,110,.24);background:linear-gradient(135deg,#0f766e,#2563eb);box-shadow:0 16px 40px #0f172a24}.class-setup-header h2,.class-setup-header .eyebrow{color:#fff}.class-setup-header .eyebrow{margin-bottom:.35rem}.class-setup-header .page-copy{color:#ffffffdb}.class-setup-summary{display:flex;flex-wrap:wrap;gap:.65rem;justify-content:flex-end}.class-setup-summary span{min-width:98px;padding:.75rem .9rem;border-radius:14px;border:1px solid rgba(255,255,255,.22);background:#ffffff26;color:#ffffffdb;font-size:.82rem;font-weight:800;text-transform:uppercase}.class-setup-summary strong{display:block;margin-bottom:.18rem;color:#fff;font-size:1.5rem;line-height:1}.class-setup-layout{margin-bottom:0}.class-primary-create-panel{border-color:#0f766e3d;background:linear-gradient(180deg,#f0fdfafa,#fffffff5)}.class-primary-create-panel .eyebrow{color:var(--accent)}.class-primary-create-panel h3,.classroom-list-panel h3{font-size:1.24rem}.classroom-create-form{margin-top:.2rem}.class-create-actions{margin-top:1rem}.classroom-picker{margin-bottom:.95rem}.classroom-picker label{margin-top:0}.selected-classroom-card{margin-top:.85rem;background:linear-gradient(135deg,color-mix(in srgb,var(--class-theme-soft, #dbeafe) 50%,var(--panel)),var(--panel))}.review-filter-panel{border-color:#2563eb33;padding:1rem;overflow:hidden}.ai-config-panel{border-color:var(--ai-border);background:linear-gradient(180deg,#f5f3ff9e,#fffdf8f0)}.assisted-info-row{display:flex;justify-content:space-between;align-items:center;gap:.85rem;margin-top:.9rem}.assisted-info-row .field-hint{margin:0}.info-icon-button{width:34px;min-width:34px;height:34px;min-height:34px;padding:0;border-radius:50%;color:var(--ai);border-color:var(--ai-border);background:var(--ai-bg);font-weight:900}.assisted-info-panel{margin-top:.8rem;color:var(--ai);border-color:var(--ai-border);background:var(--ai-bg)}.anonymous-section-toggle{border-color:#0f766e3d;background:linear-gradient(135deg,#f0fdfad1,#eff6ffb8)}.anonymous-section-toggle .eyebrow,.anonymous-section-toggle .collapse-hint{color:var(--accent)}.anonymous-grader-panel{padding:1.45rem;border-color:#0f766e33}.anonymous-grader-grid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(320px,1.05fr);gap:1.1rem;align-items:start}.anonymous-input-panel,.anonymous-results-panel{min-width:0}.anonymous-controls{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center}.anonymous-drop-zone{display:grid;gap:.35rem;place-items:center;min-height:118px;margin-bottom:.9rem;padding:1rem;border:2px dashed rgba(15,118,110,.28);border-radius:14px;background:linear-gradient(180deg,#f0fdfa94,#fffdf8db);color:var(--accent);text-align:center}.anonymous-drop-zone strong{color:var(--text-strong);font-size:1.02rem}.anonymous-drop-zone span{color:var(--muted);font-weight:700}.anonymous-drop-zone.is-dragging{border-color:var(--accent);background:#ccfbf1b8}.compact-toggle{min-height:42px;padding:.58rem .85rem}.compact-action{min-height:42px;padding:.58rem .85rem;font-size:.92rem}.secondary-action{color:var(--muted);border-color:#14202b24;background:#fffdf8d1}.anonymous-summary{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:.8rem}.anonymous-summary span{padding:.48rem .75rem;border-radius:0;border:1px solid rgba(15,118,110,.16);background:#f0fdfad9;color:#0f766e;font-size:.82rem;font-weight:800}.anonymous-generate-panel{display:grid;gap:.75rem;margin:1rem 0;padding:1rem;border:1px solid rgba(15,118,110,.16);border-radius:14px;background:linear-gradient(180deg,#f0fdfa9e,#fffdf8e6)}.anonymous-generate-panel label:not(.anonymous-review-check){margin:0}.anonymous-generate-panel textarea{min-height:92px;background:#fffdf8e6}.anonymous-review-check{justify-content:flex-start;gap:.65rem;color:var(--text-strong)}.anonymous-review-check input{width:auto}.primary-action{width:100%;min-height:52px;font-size:1rem}.anonymous-progress{display:grid;gap:.45rem}.anonymous-progress-track{height:12px;overflow:hidden;border-radius:3px;background:#2563eb1f}.anonymous-progress-track span{display:block;height:100%;border-radius:inherit;background:var(--brand-gradient);transition:width .22s ease}.anonymous-progress p{color:var(--muted);font-size:.9rem;font-weight:800}.anonymous-map-details{margin:.8rem 0 1rem;color:var(--muted)}.anonymous-map-details summary{cursor:pointer;font-weight:800;color:var(--text-strong)}.anonymous-map-list{display:grid;gap:.55rem;max-height:220px;overflow:auto;margin-top:.7rem;padding:.75rem;border:1px solid var(--border);border-radius:12px;background:var(--panel)}.anonymous-map-list div{display:grid;grid-template-columns:64px minmax(0,1fr);gap:.7rem;align-items:start}.anonymous-map-list strong{color:var(--accent)}.anonymous-map-list span{overflow-wrap:anywhere}.compact-panel-head{margin-bottom:.75rem}.anonymous-feedback-table{width:100%;border-collapse:collapse;table-layout:fixed}.anonymous-feedback-table th{text-align:left;padding:.65rem .75rem;color:var(--muted);font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;border-bottom:2px solid var(--border)}.anonymous-feedback-table td{padding:.8rem .75rem;border-bottom:1px solid var(--border);vertical-align:top;white-space:pre-wrap;line-height:1.6}.anonymous-feedback-table td:first-child{color:var(--accent);font-weight:900;white-space:nowrap}.anonymous-feedback-table th:first-child,.anonymous-feedback-table td:first-child{width:76px}.anonymous-feedback-table th:nth-child(2),.anonymous-feedback-table td:nth-child(2){width:180px}.anonymous-feedback-table tr:last-child td{border-bottom:none}.translation-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,340px);gap:1rem;align-items:end;margin-bottom:1rem;padding:1.25rem}.translation-panel h2{margin-top:.25rem}.teacher-tools-panel{margin-bottom:1rem;padding:1.25rem}.teacher-tool-list{border-top:1px solid var(--border)}.teacher-tool-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1rem;align-items:center;padding:1rem 0;border-bottom:1px solid var(--border)}.teacher-tool-row:last-child{border-bottom:none}.teacher-tool-row strong{display:block;color:var(--text-strong)}.translation-control label{margin-top:0}.inline-translation-select{display:inline-flex;align-items:center;gap:.45rem;margin:0;color:var(--muted);font-size:.82rem;font-weight:700}.inline-translation-select span{white-space:nowrap}.inline-translation-select select{min-width:150px;padding:.62rem .75rem;border-radius:12px}.toolbar-grid{display:grid;grid-template-columns:minmax(220px,1.6fr) repeat(6,minmax(130px,1fr)) auto;gap:.9rem;align-items:end}.review-filter-panel .toolbar-grid{grid-template-columns:repeat(12,minmax(0,1fr));gap:.7rem;align-items:end;width:100%;max-width:100%}.review-filter-panel .toolbar-grid>div,.review-filter-panel .toolbar-grid>label{min-width:0}.review-search-filter{grid-column:span 3}.review-class-filter{grid-column:span 2}.review-task-filter{grid-column:span 4}.review-account-filter,.review-title-filter,.review-type-filter,.review-sort-filter,.review-filter-names-toggle{grid-column:span 3}.review-filter-panel .toolbar-grid>div>label{margin:0 0 .32rem;color:var(--muted);font-size:.76rem;font-weight:900;letter-spacing:.08em;line-height:1.1;text-transform:uppercase}.review-filter-panel input,.review-filter-panel select{min-height:46px;min-width:0;max-width:100%;padding:.62rem .78rem;border-radius:12px;font-size:.94rem;line-height:1.2}.review-filter-panel input::placeholder{color:#5c748cc7}.review-task-filter{min-width:0}.review-task-summary{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.9rem;padding:.85rem 1rem;border:1px solid rgba(15,118,110,.14);border-radius:14px;background:linear-gradient(180deg,#f0fdfaa8,#fffdf8f0)}.review-task-summary h3{margin:.1rem 0 .2rem;font-size:1rem}.review-task-summary .field-hint{margin:0}.review-task-accordion{display:grid;gap:.75rem}.review-task-accordion-head,.review-legacy-head{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.85rem}.review-task-accordion-head h3,.review-legacy-head h3{margin:.12rem 0 0;font-size:1.05rem}.review-task-group-list{display:grid;gap:.75rem}.review-task-group{padding:.85rem;border:1px solid rgba(15,118,110,.14);border-radius:14px;background:linear-gradient(180deg,#f0fdfa99,#fffdf8f2)}.review-task-group.is-expanded{border-color:#2563eb33;box-shadow:0 18px 42px #0f172a14}.review-task-group-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.75rem;align-items:start}.review-task-expand-button{width:100%;display:flex;justify-content:space-between;align-items:center;gap:.85rem;min-height:72px;padding:.75rem .85rem;border-radius:12px;border:1px solid rgba(37,99,235,.12);background:#fffdf8e0;color:var(--text-strong);text-align:left}.review-task-expand-button>span:first-child{display:grid;gap:.24rem;min-width:0}.review-task-expand-button strong{overflow-wrap:anywhere;font-size:1.02rem}.review-task-expand-button small{color:var(--muted);font-weight:800}.review-task-count{display:inline-flex;align-items:center;white-space:nowrap;padding:.36rem .58rem;border-radius:0;border:1px solid rgba(15,118,110,.16);background:var(--color-classes-bg);color:var(--accent);font-size:.8rem;font-weight:900}.review-task-group-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.45rem}.review-task-group-actions button{min-height:38px;padding:.48rem .72rem;border-radius:10px;font-size:.86rem}.review-task-response-stack{margin-top:.85rem;padding-top:.85rem;border-top:1px solid rgba(15,118,110,.12)}.review-legacy-section{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--border)}.toggle-row{align-self:end;min-height:56px;padding:.9rem 1rem;border-radius:18px;border:1px solid var(--border);background:var(--panel)}.review-filter-panel .toggle-row{justify-content:center;min-height:46px;width:100%;padding:.62rem .72rem;border-radius:12px;gap:.5rem;color:var(--muted);font-size:.86rem;font-weight:900;line-height:1.15;white-space:nowrap}.review-filter-panel .toggle-row span{min-width:0;overflow:hidden;text-overflow:ellipsis}.review-filter-panel .toggle-row input{width:16px;min-width:16px;height:16px;min-height:16px;padding:0}.classroom-stack{display:grid;gap:.9rem}.classroom-card{padding:1rem;border-radius:22px;border:1px solid var(--border);background:var(--panel)}.classroom-card.selected-classroom-card{background:linear-gradient(135deg,color-mix(in srgb,var(--class-theme-soft, #dbeafe) 50%,var(--panel)),var(--panel))}.classroom-card.is-active{border-color:#3390dc38}.classroom-card.is-inactive{opacity:.82}.classroom-name{margin-bottom:.65rem;font-size:1.08rem;font-weight:800;color:var(--text-strong)}.classroom-code-label{margin-bottom:.25rem;color:var(--muted);font-size:.76rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.classroom-code-value{display:inline-flex;margin-bottom:.35rem;padding:.36rem .58rem;border-radius:10px;border:1px solid rgba(37,99,235,.16);background:#eff6fff0;color:var(--brand-deep);font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,monospace;font-size:clamp(1.15rem,2.4vw,1.65rem);font-weight:900;letter-spacing:.06em;overflow-wrap:anywhere}.class-join-qr-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,240px);gap:1rem;align-items:center;margin-top:1rem;padding:1rem;border:1px solid rgba(15,118,110,.18);border-radius:14px;background:#ffffffb8}.class-join-qr-copy{display:grid;gap:.45rem;min-width:0}.class-join-qr-copy h3{margin:0}.class-join-qr-copy p{margin:0;color:var(--muted);line-height:1.55}.class-join-qr-copy a{color:var(--brand-deep);font-weight:800;overflow-wrap:anywhere}.class-join-qr-panel img{width:100%;max-width:240px;justify-self:center;border:10px solid #ffffff;border-radius:12px;background:#fff;box-shadow:0 12px 26px #0f172a1f}.classroom-empty-state{border:1px dashed rgba(15,118,110,.24);border-radius:14px;background:#f0fdfa8f}.status-badge{display:inline-flex;align-items:center;padding:.45rem .8rem;border-radius:0;font-size:.8rem;font-weight:800}.status-badge.active{background:var(--success-bg);color:var(--success)}.status-badge.inactive{background:#5c748c24;color:var(--muted)}.status-badge.feedback-draft{background:var(--warning-bg);color:var(--warning)}.status-badge.feedback-published{background:var(--success-bg);color:var(--success)}.status-badge.feedback-none{background:var(--color-review-bg);color:var(--color-review)}.dashboard-layout{display:grid;grid-template-columns:1fr;gap:1.25rem;align-items:start}.teacher-detail-panel{position:sticky;top:1.5rem;max-height:calc(100vh - 3rem);overflow-y:auto}.teacher-review-panel{scroll-margin-top:1rem}.collapsible-block{margin-bottom:1rem}.collapsible-toggle{width:100%;display:flex;justify-content:space-between;align-items:center;gap:1rem;text-align:left;cursor:pointer;padding:1.1rem 1.45rem}.collapsible-toggle .eyebrow{margin-bottom:.3rem}.collapsible-label{font-size:1.12rem;font-weight:700;color:var(--text-strong);font-family:var(--font-heading)}.collapse-hint{color:var(--muted);font-size:.9rem;font-weight:600;white-space:nowrap;flex-shrink:0}.collapsible-body{margin-top:.75rem}.panel-toggle{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;display:flex;justify-content:space-between;align-items:center;gap:1rem;text-align:left;cursor:pointer;background:none;border:none;padding:0;font:inherit;margin-bottom:0}.panel-toggle h2{color:var(--text-strong)}.selection-bar{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.6rem 0 .85rem;margin-bottom:.85rem;border-bottom:1px solid var(--border)}.submission-card.feedback-draft{border-left:4px solid var(--warning);background:linear-gradient(90deg,var(--warning-bg),var(--panel) 32%)}.submission-card.feedback-published{border-left:4px solid var(--success);background:linear-gradient(90deg,var(--success-bg),var(--panel) 32%)}.card-actions{margin:.85rem 0 0}.feedback-editor-head{display:flex;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:0}.feedback-editor-head label{margin:.85rem 0 .45rem}.grade-editor{display:grid;grid-template-columns:minmax(140px,.24fr) minmax(180px,1fr);gap:.8rem;align-items:end;margin-top:1rem}.grade-editor label{margin:0 0 .45rem}.grade-editor input{border-radius:14px}.amber-section{background:linear-gradient(135deg,#fbbf241a,#f59e0b0f)!important;border-color:#f59e0b47!important}.amber-section .eyebrow,.amber-section .collapsible-label,.amber-section .collapse-hint{color:var(--warning)}.ai-instructions-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem;margin-top:1rem}.file-label{display:inline-flex;align-items:center;gap:.5rem;margin-top:.5rem;padding:.6rem 1rem;border-radius:6px;border:1px solid rgba(20,32,43,.12);background:#ffffffd6;color:var(--text-strong);font-weight:700;font-size:.92rem;cursor:pointer}.file-label:hover{background:#fff}.file-input-hidden{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;max-width:100%;background:#11253c80;display:flex;align-items:center;justify-content:center;z-index:200;padding:1.5rem;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-card{max-width:540px;width:100%;max-height:80vh;overflow-y:auto;padding:1.45rem}.quick-prompt-copy-modal{display:grid;gap:.85rem;min-width:0;width:100%;max-width:560px;background:#fff;color:#0f172a;box-shadow:0 24px 60px #0f172a38}.quick-prompt-copy-modal .panel-head{align-items:flex-start;min-width:0;margin-bottom:0}.quick-prompt-copy-modal .field-hint,.quick-prompt-copy-modal .muted{color:#475569}.quick-prompt-copy-modal .eyebrow{color:#2563eb}.quick-prompt-copy-modal .panel-head button{border-color:#0f172a1f;background:#fff;color:#0f172a}.quick-prompt-copy-summary{display:grid;gap:.18rem;min-width:0;padding:.78rem .85rem;border:1px solid rgba(37,99,235,.14);border-radius:12px;background:#eff6ff9e}.quick-prompt-copy-summary strong{color:#0f172a;overflow-wrap:anywhere}.quick-prompt-copy-summary span{color:#475569;font-size:.9rem;font-weight:700;overflow-wrap:anywhere}.quick-prompt-copy-class-pills{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));gap:.6rem;min-width:0;max-width:100%}.quick-prompt-copy-class-pill{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.2rem .55rem;min-width:0;width:100%;min-height:72px;max-width:100%;padding:.72rem .78rem;border:1px solid color-mix(in srgb,var(--class-theme-color, #dbeafe) 50%,rgba(30,41,59,.12));border-radius:999px;background:linear-gradient(135deg,color-mix(in srgb,var(--class-theme-soft, #dbeafe) 64%,#ffffff),#fffdf8f0);color:#0f172a;text-align:left;box-shadow:0 10px 20px #0f172a0f}.quick-prompt-copy-class-pill .class-color-dot{grid-row:span 2;width:30px;height:30px}.quick-prompt-copy-class-pill strong,.quick-prompt-copy-class-pill small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quick-prompt-copy-class-pill small{color:#475569;font-weight:800}.quick-prompt-copy-class-pill:hover,.quick-prompt-copy-class-pill:focus,.quick-prompt-copy-class-pill.is-selected{transform:translateY(-1px);border-color:var(--brand);box-shadow:0 14px 28px #0f172a1a}.student-roster{margin-top:.5rem}.student-row{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.75rem 0;border-bottom:1px solid var(--border)}.student-row:last-child{border-bottom:none}.student-row-name{display:block;font-weight:700;color:var(--text-strong)}.student-row-meta{font-size:.88rem}@media (max-width: 720px){.ai-instructions-grid,.ai-revision-grid,.ai-revision-summary-grid{grid-template-columns:1fr}.ai-revision-summary-grid>section+section{border-top:1px solid rgba(30,41,59,.1);border-left:0}.ai-revision-head{flex-direction:column}.student-revision-editor-head,.student-revision-actions{flex-direction:column;align-items:stretch}.student-revision-editor-head>span{white-space:normal}.student-revision-actions>.primary{width:100%}.class-join-qr-panel{grid-template-columns:1fr}}.teacher-list-panel-wide{min-width:0}.panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem}.detail-meta{margin-top:.65rem;color:var(--muted);line-height:1.6}.detail-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin:1rem 0 1.1rem;padding:0}.detail-facts>div{padding:.95rem 1rem;border-radius:18px;border:1px solid var(--border);background:var(--panel)}.detail-facts dt{margin-bottom:.4rem;color:var(--muted);font-size:.76rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.detail-facts dd{margin:0;color:var(--text-strong);font-weight:700}.detail-body{min-height:320px;padding:1.25rem;border-radius:22px;border:1px solid var(--border);background:var(--panel)}.detail-body p{white-space:pre-wrap;line-height:1.8}.detail-body-compact{min-height:0}.translation-result{margin-top:.85rem;padding:1rem;border-radius:20px;border:1px solid rgba(23,107,179,.18);background:#eef8ffd1}.translation-result .eyebrow{margin-bottom:.55rem}.translation-result p:last-child{color:var(--text-strong);line-height:1.8;white-space:pre-wrap}.feedback-editor{margin-top:1.25rem;padding-top:1.25rem;border-top:1px solid var(--border)}.feedback-source-card{margin-top:1rem;padding:1rem;border-radius:20px;border:1px solid var(--border);background:#ffffffb8}.empty-state{padding:1.7rem .8rem;text-align:center;color:var(--muted)}.submission-stack{display:grid;gap:.9rem}.submission-stack-scrollable{max-height:72vh;overflow-y:auto;padding-right:.3rem;scrollbar-gutter:stable}.panel-actions{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-top:1rem;padding-top:1rem;border-top:1px solid var(--border)}.submission-card{padding:1.15rem;border-radius:22px;border:1px solid var(--border);background:var(--panel);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.submission-card.is-active{border-color:#3390dc47;box-shadow:0 18px 44px #1c4a7614}.submission-card:hover{transform:translateY(-1px)}.submission-expanded{margin-top:1.15rem;padding-top:1.15rem;border-top:1px solid var(--border)}.submission-top h3{margin:.55rem 0 .35rem}.submission-select-row{display:flex;justify-content:space-between;align-items:center;gap:.9rem;margin-bottom:.9rem}.selection-toggle{min-height:40px;padding:.55rem .8rem;border-radius:6px;border:1px solid var(--border);background:#ffffffb3}.meta-row{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem}.class-pill{display:inline-flex;align-items:center;max-width:100%;min-width:0;padding:.45rem .8rem;border-radius:3px;border:1px solid rgba(15,118,110,.16);background:var(--color-classes-bg);color:var(--color-classes);font-size:.84rem;font-weight:800;line-height:1.2;overflow-wrap:anywhere}.card-preview{margin:.95rem 0 0;color:var(--muted);line-height:1.75}.export-layout{margin-top:1rem}.combined{min-height:62vh;border:none;border-radius:22px;background:#12304ff5;color:#f8fafc;padding:1.25rem;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,monospace;font-size:.95rem;line-height:1.7;white-space:pre-wrap;word-break:break-word}.display-page{min-height:100vh;background:linear-gradient(180deg,#0f3f67,#dcefff)}.display-toolbar{position:sticky;top:0;z-index:10;display:flex;flex-wrap:wrap;gap:.65rem;padding:1rem 1.1rem;background:#0a2a46e0;border-bottom:1px solid rgba(255,255,255,.08);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.display-toolbar button{color:#fff;border-color:#ffffff24;background:#ffffff14}.display-toolbar select{width:auto;min-height:48px;max-width:230px;color:#fff;border-color:#ffffff24;background:#ffffff14}.display-toolbar select option{color:#11253c}.display-toolbar button:hover{background:#ffffff29}.display-toolbar button:focus-visible{outline-color:#ffffffb3}.display-position{margin-left:auto;align-self:center;color:#ffffffb8;font-weight:700}.display-shell{max-width:1180px;margin:0 auto;padding:1.55rem 1rem 2.6rem}.display-header{margin-bottom:1rem}.display-title{max-width:22ch;margin:.75rem 0 .7rem;color:#fff;font-size:clamp(2rem,5vw,4rem)}.display-meta{color:#ffffffc7;line-height:1.6}.display-paper{padding:clamp(1.35rem,4vw,2.8rem);border-radius:32px;background:#fffcf8f5;box-shadow:0 34px 70px #0000002e}.display-editor-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem}.display-editor-label{color:var(--muted);font-size:.82rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.display-format-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:.5rem}.display-format-toolbar button{min-height:40px;padding:.48rem .78rem;border-radius:12px}.display-format-toolbar button[aria-label=Italic]{font-style:italic}.display-format-toolbar button[aria-label=Underline]{text-decoration:underline}.display-format-toolbar button[aria-label=Strikethrough]{text-decoration:line-through}.display-format-toolbar .correction-mode-active{color:#fff;border-color:transparent;background:linear-gradient(135deg,var(--danger),#ef4444)}.translation-display-paper{margin-top:1rem;background:#eef8fff5}.display-translation-label{margin:0 0 1rem;color:var(--brand-deep);font-weight:800;letter-spacing:.08em;text-transform:uppercase}.display-message{margin:1rem 0 0;padding:.9rem 1rem;border-radius:16px;border:1px solid rgba(255,255,255,.25);background:#ffffffd1}.display-message.error{color:var(--danger);border-color:#b423182e;background:#fff1f2eb}.display-text{margin:0;color:#17202e;line-height:1.62;white-space:pre-wrap;font-family:var(--font-display)}.display-rich-editor{min-height:min(50vh,560px);color:#17202e;outline:none}.display-rich-editor:focus{outline:3px solid rgba(193,18,31,.18);outline-offset:.45rem}.display-rich-editor p,.display-rich-editor div{margin:0 0 .8rem}.display-rich-editor p:last-child,.display-rich-editor div:last-child{margin-bottom:0}.display-rich-editor .rich-feedback-original{color:#17202e}.display-rich-editor .rich-feedback-correction,.display-rich-editor font[color]{color:var(--danger)}@media (prefers-color-scheme: dark){:root{--bg: #101719;--bg-secondary: #15120e;--surface: rgba(24, 30, 32, .94);--panel: #1b2224;--border: rgba(226, 232, 240, .14);--input-border: rgba(226, 232, 240, .18);--text: #cbd5d9;--text-strong: #f8fafc;--muted: #94a3a8;--brand: #7aa2ff;--brand-deep: #9cc2ff;--accent: #5eead4;--accent-soft: rgba(15, 118, 110, .3);--brand-soft: rgba(37, 99, 235, .26);--brand-gradient: linear-gradient(135deg, #0f766e 0%, #3b82f6 100%);--brand-gradient-reverse: linear-gradient(135deg, #3b82f6 0%, #0f766e 100%);--color-writing: #fb923c;--color-writing-bg: rgba(154, 52, 18, .24);--color-review: #93c5fd;--color-review-bg: rgba(37, 99, 235, .2);--color-classes: #5eead4;--color-classes-bg: rgba(15, 118, 110, .22);--color-tools: #fda4af;--color-tools-bg: rgba(190, 18, 60, .2);--color-reports: #bef264;--color-reports-bg: rgba(77, 124, 15, .22);--paper: #16130f;--paper-soft: rgba(24, 30, 32, .9);--surface-tint: rgba(15, 118, 110, .18);--surface-blue-tint: rgba(37, 99, 235, .18);--shadow: 0 16px 42px rgba(0, 0, 0, .32);--soft-shadow: 0 12px 30px rgba(0, 0, 0, .24)}body{background:linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(180deg,rgba(255,255,255,.02) 1px,transparent 1px),radial-gradient(circle at 12% -10%,rgba(154,52,18,.22),transparent 30rem),radial-gradient(circle at 88% 8%,rgba(15,118,110,.16),transparent 28rem),linear-gradient(180deg,#16130f,#15120e 46%,#101719);background-size:28px 28px,28px 28px,auto,auto,auto}input,select,textarea{background:#0f1719b8;color:var(--text-strong)}select option{background:#151a1c;color:var(--text-strong)}button,.btn{border-color:#e2e8f024;background:linear-gradient(180deg,#1e292beb,#161c1edb);color:var(--text-strong)}button:hover,.btn:hover{background:#222c2ef5;box-shadow:0 14px 30px #0000003d}button.primary,.btn.primary,button[type=submit]{color:#fff;border-color:transparent;background:linear-gradient(135deg,#3b82f6,#0f766e)}button.primary:hover,.btn.primary:hover,button[type=submit]:hover{background:linear-gradient(135deg,#2563eb,#0e7490)}.surface-card,.teacher-dashboard-tabs,.teacher-tab-panel,.teacher-tab-panel-quick-prompts .quick-prompts-section,.quick-prompts-flow-rail,.quick-prompt-flow-step,.quick-prompt-card,.quick-prompt-empty,.quick-prompt-export-panel,.quick-prompt-form,.quick-prompt-class-banner,.quick-prompt-response-row,.quick-prompt-copy,.form-step,.role-card,.lti-open-full-card,.lti-launch-card,.lti-topbar,.lti-panel,.lti-response-row,.lti-activity-form,.lti-readonly-field,.quick-prompt-template-card,.quick-prompt-empty-stats span{background-color:#181e20db}.quick-prompt-class-banner,.quick-prompt-copy-class-pill,.classroom-card.selected-classroom-card{background:linear-gradient(135deg,color-mix(in srgb,var(--class-theme-soft, #dbeafe) 16%,rgba(24,30,32,.94)),#161c1eeb);color:var(--text-strong)}.quick-prompt-class-stats span,.quick-prompt-status-tabs,.class-color-popover,.quick-prompt-status-tabs button.is-active{background:#0f1719c7;color:var(--text-strong)}.quick-prompt-class-select select{background-color:#0f1719c7;color:var(--text-strong)}.teacher-tab-icon,.quick-prompt-step-number,.quick-prompt-stepper span,.quick-prompt-progress-ring>span,.quick-prompt-template-icon,.quick-prompt-empty-illustration:before{background-color:#161c1eeb}.teacher-tab-button:hover,.teacher-tab-button.is-active,.quick-prompt-inline-create,.quick-prompt-template-card:hover{background:#1e292bf0}.quick-prompt-empty-illustration:before{box-shadow:0 14px 24px #00000038}.quick-prompt-empty-illustration span{background:#2563eb38}.access-corner{border-color:#93c5fd29;background:#2563eb33;color:var(--brand-deep)}.access-corner.paid{background:#0f766e33;color:var(--accent)}.settings-note{border-color:#93c5fd29;background:#2563eb24}.teacher-header-actions .auth-chip{color:var(--muted)}.teacher-header-actions .usage-chip{border-color:#5eead429;background:#0f766e2e;color:#a7f3d0}.teacher-header-nav .btn,.teacher-header-nav button{border-color:#e2e8f024;background:#161c1ec7;color:var(--text-strong)}.writing-task-picker,.writing-task-switcher,.writing-task-empty,.writing-task-assignment-card,.local-draft-panel,.quick-prompt-mini-panel{border-color:#e2e8f024;background:#181e20e0;color:var(--text)}.writing-task-assignment-card{background:linear-gradient(180deg,#181e20f5,#14191bf0)}.writing-task-assignment-card h2,.writing-task-assignment-card .quick-prompt-combined-text,.writing-task-empty h2,.writing-task-picker h2,.local-draft-panel strong,.quick-prompt-mini-panel strong{color:var(--text-strong)}.writing-task-assignment-card .muted,.writing-task-picker-list span,.writing-task-empty p,.local-draft-panel p,.quick-prompt-mini-panel p{color:#b7c4c9}.writing-task-picker-list .writing-task-option-card{border-color:#93c5fd2e;background:#161c1ee6}.writing-task-picker-list .writing-task-option-main strong{color:var(--text-strong)}.writing-task-picker-list .writing-task-status-badge{border-color:#5eead42e;background:#14532d57;color:#bbf7d0}.writing-task-picker-list .writing-task-open-action{border-color:#93c5fd33;background:#2563eb38;color:#bfdbfe}.writing-task-picker-list .writing-task-option-card:hover .writing-task-open-action,.writing-task-picker-list .writing-task-option-card:focus .writing-task-open-action{background:#3b82f6;color:#fff}.editable-submission-note{border-color:#5eead42e;background:#14532d57;color:#bbf7d0}.student-form-panel textarea#quick-prompt-response{border-color:#93c5fd47;background:#0a1012db;color:var(--text-strong)}.student-form-panel textarea#quick-prompt-response::placeholder{color:#8ba0a8}.quick-prompt-material-editor,.quick-prompt-material-row,.quick-prompt-image-material,.quick-prompt-document-material,.quick-prompt-card-material,.quick-prompt-copy-summary{border-color:#e2e8f024;background:#161c1ed1}.quick-prompt-material-dropzone{border-color:#5eead447;background:#0f766e29}.quick-prompt-material-dropzone.is-dragging,.quick-prompt-material-dropzone:focus{border-color:#93c5fd85;background:#2563eb38}.quick-prompt-material-preview,.quick-prompt-card-material .quick-prompt-material-icon,.quick-prompt-document-icon{border-color:#e2e8f024;background:#0f1719b8}.quick-prompt-image-material img{background:#0f1719b8}.quick-prompt-material-info strong,.quick-prompt-card-material strong,.quick-prompt-document-material strong,.quick-prompt-copy-summary strong{color:var(--text-strong)}.quick-prompt-material-info span,.quick-prompt-card-material small,.quick-prompt-image-material figcaption,.quick-prompt-copy-summary span{color:#b7c4c9}.quick-prompt-copy-modal{border-color:#0f172a1f;background:#fff;color:#0f172a;box-shadow:0 24px 60px #00000057}.quick-prompt-copy-modal h3,.quick-prompt-copy-modal .quick-prompt-copy-summary strong,.quick-prompt-copy-modal .quick-prompt-copy-class-pill strong{color:#0f172a}.quick-prompt-copy-modal .field-hint,.quick-prompt-copy-modal .quick-prompt-copy-summary span,.quick-prompt-copy-modal .quick-prompt-copy-class-pill small{color:#475569}.quick-prompt-copy-modal .eyebrow{color:#2563eb}.quick-prompt-copy-modal .panel-head button{border-color:#0f172a1f;background:#fff;color:#0f172a}.quick-prompt-copy-modal .quick-prompt-copy-summary{border-color:#2563eb24;background:#eff6ffd1}.quick-prompt-copy-modal .quick-prompt-copy-class-pill{border-color:color-mix(in srgb,var(--class-theme-color, #dbeafe) 50%,rgba(30,41,59,.12));background:linear-gradient(135deg,color-mix(in srgb,var(--class-theme-soft, #dbeafe) 64%,#ffffff),#fffdf8f0);color:#0f172a}}@media (max-width: 980px){.role-grid,.student-layout,.classroom-layout,.anonymous-grader-grid,.dashboard-layout,.quick-prompt-modal-grid,.quick-prompt-export-head,.quick-prompts-workspace,.quick-prompt-main-fields,.quick-prompt-settings-grid,.access-gate-layout,.stats-grid{grid-template-columns:1fr}.quick-prompts-workflow-head,.quick-prompt-card-main{display:grid;grid-template-columns:1fr}.quick-prompts-head-actions,.quick-prompt-workflow-actions,.quick-prompt-primary-actions,.quick-prompt-secondary-actions{justify-content:flex-start}.quick-prompt-material-row{grid-template-columns:56px minmax(0,1fr)}.quick-prompt-material-preview{width:56px}.quick-prompt-material-actions{grid-column:1 / -1;justify-content:flex-start}.quick-prompt-assignment-body.has-left-materials,.quick-prompt-assignment-body.has-right-materials,.quick-prompt-assignment-body.has-left-materials.has-right-materials{grid-template-columns:1fr;grid-template-areas:"left" "main" "right"}.quick-prompt-materials-position-left,.quick-prompt-materials-position-right{margin-top:.85rem}.toolbar-grid,.review-filter-panel .toolbar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.review-search-filter,.review-task-filter{grid-column:span 2}.review-class-filter,.review-account-filter,.review-title-filter,.review-type-filter,.review-sort-filter,.review-filter-names-toggle{grid-column:span 1}.quick-prompt-advice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-prompt-goal-grid,.goal-settings-grid,.goal-settings-grid.two-column,.student-form-panel form,.student-info-grid,.student-helper-panel,.student-stats{grid-template-columns:1fr}.student-helper-panel>.quick-start-list,.student-helper-panel>.draft-note,.student-helper-panel>.quick-prompt-mini-panel{grid-column:1}.quick-prompt-identity-row,.translation-panel{grid-template-columns:1fr}.class-setup-header{flex-direction:column;align-items:stretch}.class-setup-summary{justify-content:flex-start}.inline-translation-select{width:100%;justify-content:space-between}.inline-translation-select select{flex:1;min-width:0}.teacher-dashboard-tabs{grid-template-columns:repeat(3,minmax(150px,1fr))}.settings-layout,.access-gate-hero{grid-template-columns:1fr}.access-gate-account{justify-self:stretch;max-width:none}.quick-prompt-class-banner,.quick-prompt-toolbar{flex-direction:column;align-items:stretch}.quick-prompt-class-controls{justify-content:stretch;min-width:0}.quick-prompt-class-controls>*,.quick-prompt-class-select,.quick-prompt-class-select select{width:100%}.quick-prompt-status-tabs{display:grid;width:100%;grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width: 720px){.page-shell{padding:1rem .85rem 2.5rem}.page-header{flex-direction:column;align-items:stretch}.teacher-dashboard-header{padding-top:0}.access-corner{position:static;align-self:flex-start;border:1px solid rgba(37,99,235,.14);border-radius:8px;margin-bottom:-.15rem}.teacher-header-actions{justify-items:stretch;min-width:0}.teacher-account-strip,.teacher-header-nav{justify-content:flex-start}.teacher-header-actions .auth-chip{max-width:100%}.toolbar-grid,.request-form-grid,.detail-facts,.grade-editor,.student-stats,.review-filter-panel .toolbar-grid{grid-template-columns:1fr}.review-search-filter,.review-class-filter,.review-task-filter,.review-account-filter,.review-title-filter,.review-type-filter,.review-sort-filter,.review-filter-names-toggle{grid-column:span 1}.review-filter-panel .toggle-row{justify-content:flex-start}.submission-select-row,.panel-actions,.local-draft-panel,.quick-prompt-banner,.writing-task-picker-head,.quick-prompt-response-anchor,.quick-prompt-completion-drawer .quick-prompt-response-drawer-head,.quick-prompt-response-drawer-head,.review-task-summary,.review-task-accordion-head,.review-legacy-head{flex-direction:column;align-items:stretch}.review-task-group-head{grid-template-columns:1fr}.review-task-expand-button{flex-direction:column;align-items:stretch}.review-task-count{align-self:flex-start}.review-task-group-actions{justify-content:stretch}.review-task-group-actions button{flex:1 1 150px}.quick-prompt-card-heading{flex-direction:column;gap:.55rem}.quick-prompt-card-kicker{justify-content:flex-start}.quick-prompt-mode-toggle{grid-template-columns:1fr}.quick-prompt-workflow-actions>*,.quick-prompt-primary-actions>*,.quick-prompt-secondary-actions>*{flex:1 1 160px}.quick-prompt-advice-grid,.quick-prompt-live-stats{grid-template-columns:1fr}.quick-prompt-advice-popup-overlay{padding:.55rem}.quick-prompt-advice-popup{width:100%;min-height:calc(100dvh - 1.1rem);padding:1rem .85rem}.quick-prompt-advice-popup h2{margin:0 2.1rem .8rem}.advice-popup-lead{text-align:left}.advice-popup-bar-row{grid-template-columns:1fr;gap:.35rem}.advice-popup-bar-row>strong{text-align:left}.modal-overlay.quick-prompt-overlay{align-items:flex-start}.modal-card.quick-prompt-modal{max-height:none}.quick-prompt-left-column,.quick-prompt-side-column{max-height:none;overflow:visible}.portfolio-filter-row{border-radius:18px}.writing-task-picker-list{grid-template-columns:1fr}.writing-task-picker-list .writing-task-option-card{min-height:0}.writing-task-count-pill{align-self:flex-start}.quick-prompt-copy-modal{max-width:min(100%,560px)}.quick-prompt-copy-modal .panel-head{display:grid;grid-template-columns:1fr}.quick-prompt-copy-modal .panel-head button{justify-self:start}.button-row>*{flex:1 1 180px}.teacher-access-gate-card h1{font-size:clamp(2rem,12vw,2.8rem)}.pricing-row{grid-template-columns:1fr;gap:.75rem}.pricing-row-action{justify-items:stretch}.pricing-row-action strong{white-space:normal}.pricing-row-action button{width:100%}.home-topbar{align-items:flex-start;flex-direction:column;gap:.65rem}.home-topbar-actions{justify-content:flex-start}.home-status-pill{align-self:flex-start}.teacher-dashboard-tabs{grid-template-columns:repeat(7,minmax(136px,1fr));padding:.35rem}.teacher-tab-button{grid-template-columns:30px minmax(0,1fr);min-height:60px;padding:.68rem .72rem}.teacher-tab-icon{width:30px;height:30px}.teacher-tab-label{font-size:.9rem}.settings-facts>div{grid-template-columns:1fr;gap:.25rem}.quick-prompts-section{padding:.85rem}.quick-prompts-head-actions .primary{width:100%}.quick-prompts-flow-rail{padding:.65rem}.quick-prompt-empty{min-height:0}.quick-prompt-empty-primary{padding:1.35rem .75rem}.quick-prompt-empty-stats,.quick-prompt-template-gallery{grid-template-columns:1fr}.teacher-tool-row{grid-template-columns:1fr;align-items:stretch}.hero-panel{padding:1.3rem 1.1rem}.display-toolbar{padding:.85rem}.display-toolbar select{width:100%;max-width:none}.display-position{width:100%;margin-left:0}.display-paper{border-radius:24px}}.date-view-selectors{display:grid;grid-template-columns:1fr 1fr;gap:.9rem;margin-bottom:1.25rem}.date-view-table{width:100%;border-collapse:collapse;margin-top:.5rem}.date-view-table th{text-align:left;padding:.55rem .75rem;font-size:.82rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);border-bottom:2px solid var(--border)}.date-view-table td{padding:.6rem .75rem;border-bottom:1px solid var(--border);vertical-align:middle}.date-view-table tr:last-child td{border-bottom:none}.date-view-table td:first-child{font-weight:600;color:var(--text-strong)}.btn-sm{padding:.3rem .75rem;font-size:.88rem}.notice-summary{display:grid;gap:.85rem}.notice-summary{padding:1rem;border:1px solid rgba(15,23,42,.12);border-radius:8px;background:#fffcf8f5}.notice-list{display:grid;gap:.55rem;margin:0;padding-left:1.15rem;color:var(--muted);line-height:1.6}.notice-list strong{color:var(--text-strong)}.home-privacy-notice{margin:1rem 0}@media (max-width: 720px){.date-view-selectors{grid-template-columns:1fr}}.lti-shell{max-width:none;padding:.75rem .9rem 1.4rem}.lti-shell-fullscreen{max-width:1460px;padding:1rem 1.1rem 3rem}.lti-shell-fullscreen.student-page-shell{max-width:min(1680px,100vw)}.lti-shell .eyebrow{margin:0 0 .35rem;letter-spacing:0}.lti-shell,.lti-shell .surface-card,.lti-shell .teacher-tab-panel,.lti-shell .quick-prompt-flow-step,.lti-shell .submission-card,.lti-shell .saved-submission-card{min-width:0;overflow-wrap:anywhere}.lti-shell-embedded{display:grid;min-height:52vh;place-items:center}.lti-open-full-card{display:grid;gap:.85rem;width:min(100%,620px);padding:1.15rem;border:1px solid rgba(15,118,110,.14);border-radius:10px;background:linear-gradient(180deg,#fffdf8f5,#f0fdfa8f);box-shadow:var(--soft-shadow)}.lti-open-full-heading{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.lti-open-full-card h1{margin:0;color:var(--text-strong);font-size:clamp(1.35rem,2.8vw,2rem);line-height:1.15;overflow-wrap:anywhere}.lti-open-full-card p{margin:0;color:var(--muted);line-height:1.55}.lti-open-full-copy{padding-top:.2rem}.lti-open-full-actions{display:flex;justify-content:flex-end}.lti-moodle-pill{display:inline-flex;align-items:center;min-height:28px;padding:.28rem .6rem;border-radius:3px;border:1px solid rgba(15,118,110,.18);background:#f0fdfad1;color:var(--accent);font-size:.78rem;font-weight:850}.lti-readonly-field{display:grid;gap:.18rem;padding:.78rem .85rem;border:1px solid rgba(37,99,235,.12);border-radius:12px;background:#fffdf8c7;min-width:0}.lti-readonly-field span{color:var(--muted);font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.lti-readonly-field strong{color:var(--text-strong);overflow-wrap:anywhere}.lti-readonly-field p{margin:0;color:var(--muted);overflow-wrap:anywhere}.lti-quick-prompts-workspace{grid-template-columns:minmax(240px,.62fr) minmax(0,1.38fr)}.lti-activity-form{display:grid;gap:.85rem;padding:1rem;border:1px solid rgba(15,118,110,.14);border-radius:14px;background:linear-gradient(180deg,#f0fdfa94,#fffdf8e6)}.lti-activity-form textarea{min-height:220px}.lti-teacher-preview{margin-top:1rem}.lti-shell-fullscreen .teacher-dashboard-tabs{grid-template-columns:repeat(3,minmax(150px,1fr));margin-bottom:0}.lti-launch-card{display:flex;align-items:center;gap:.85rem;max-width:680px;padding:1rem;border:1px solid rgba(15,118,110,.14);border-radius:10px;background:linear-gradient(180deg,#fffdf8f5,#eff6ff7a)}.lti-launch-card h1{margin:0 0 .25rem;font-size:1.35rem}.lti-launch-card p{margin:0;color:var(--muted)}.lti-launch-card-error{align-items:flex-start}.lti-topbar{display:flex;align-items:center;justify-content:space-between;gap:.9rem;min-height:54px;margin-bottom:.75rem;padding:.65rem .75rem;border:1px solid rgba(15,118,110,.14);border-radius:10px;background:linear-gradient(180deg,#fffdf8f5,#f0fdfa75);box-shadow:var(--soft-shadow)}.lti-title-block{display:flex;align-items:center;min-width:0;gap:.65rem;overflow-wrap:anywhere}.lti-topbar .lti-brand{flex:0 0 auto}.lti-topbar .lti-brand .quickwrite-logo-icon{width:30px;height:30px}.lti-topbar .lti-brand .quickwrite-logo-word{display:none}.lti-shell-fullscreen .lti-topbar .lti-brand .quickwrite-logo-icon{width:38px;height:38px}.lti-shell-fullscreen .lti-topbar .lti-brand .quickwrite-logo-word{display:inline-flex;font-size:1.32rem}.lti-fullscreen-kicker{display:flex;align-items:center;flex-wrap:wrap;gap:.45rem;margin-bottom:.15rem;color:var(--muted);font-size:.82rem;font-weight:800}.lti-title-block h1{margin:0;color:var(--text-strong);font-size:clamp(1.05rem,2vw,1.35rem);line-height:1.2;overflow-wrap:anywhere}.lti-title-block p{margin:.12rem 0 0;color:var(--muted);font-size:.88rem;line-height:1.35}.lti-toolbar{display:flex;align-items:center;justify-content:flex-end;flex:0 0 auto;gap:.55rem}.lti-toolbar button,.lti-panel-heading button,.lti-segmented button{min-height:36px}.lti-status-message{margin:0 0 .75rem}.lti-workspace{display:grid;gap:.75rem}.lti-segmented{display:inline-flex;align-items:center;width:fit-content;max-width:100%;padding:.18rem;border:1px solid rgba(37,99,235,.12);border-radius:10px;background:#fffdf8c7}.lti-segmented button{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;padding:.45rem .8rem;border:0;border-radius:8px;background:transparent;color:var(--muted);box-shadow:none;font-weight:800}.lti-segmented button.is-active{background:#fffffff0;color:var(--brand-deep);box-shadow:0 4px 14px #1c4a7614}.lti-segmented span{min-width:1.45rem;padding:.08rem .42rem;border-radius:0;background:var(--color-review-bg);color:var(--color-review);font-size:.78rem}.lti-setup-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(280px,.92fr);gap:.75rem;align-items:start}.lti-student-view{grid-template-columns:minmax(260px,.72fr) minmax(420px,1.28fr);align-items:start}.lti-panel{min-width:0;padding:.95rem;border:1px solid rgba(30,41,59,.1);border-radius:10px;background:linear-gradient(180deg,#fffdf8f2,#ffffffe0);box-shadow:var(--soft-shadow)}.lti-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:.8rem}.lti-panel-heading h2{margin:0;color:var(--text-strong);font-size:clamp(1.05rem,1.8vw,1.3rem);line-height:1.25}.lti-panel-heading p{margin:.18rem 0 0;color:var(--muted);font-size:.9rem;line-height:1.45}.lti-form,.lti-field{display:grid;gap:.45rem}.lti-form{gap:.85rem}.lti-field label{color:var(--text-strong);font-size:.9rem;font-weight:800}.lti-form input,.lti-form textarea{width:100%}.lti-form textarea{resize:vertical}.lti-editor-panel textarea{min-height:180px}.lti-writing-panel textarea{min-height:340px}.lti-toggle-row{display:flex;align-items:center;gap:.65rem;padding:.75rem;border:1px solid rgba(37,99,235,.12);border-radius:10px;background:#eff6ff85}.lti-toggle-row input{width:auto}.lti-toggle-row span{display:grid;gap:.12rem}.lti-toggle-row strong{color:var(--text-strong)}.lti-toggle-row small{color:var(--muted);font-size:.82rem}.lti-form-actions{display:flex;justify-content:flex-end}.lti-prompt-text{margin:0;white-space:pre-wrap;line-height:1.65;color:var(--text-strong)}.lti-prompt-panel .lti-prompt-text,.lti-preview-panel .lti-prompt-text{max-height:16rem;overflow:auto;padding-right:.25rem}.lti-preview-writing{display:grid;gap:.45rem;margin-top:1rem;padding:.85rem;border:1px dashed rgba(15,118,110,.22);border-radius:10px;background:#f0fdfa8a}.lti-preview-writing span{height:.6rem;border-radius:999px;background:#5c748c2e}.lti-preview-writing span:nth-child(2){width:84%}.lti-preview-writing span:nth-child(3){width:58%}.lti-response-list{display:grid;gap:.55rem}.lti-response-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.45rem .8rem;padding:.75rem;border:1px solid rgba(30,41,59,.1);border-radius:10px;background:#fffdf8eb}.lti-response-meta{min-width:0}.lti-response-meta h3{margin:0;color:var(--text-strong);font-size:1rem;line-height:1.25}.lti-response-meta p{margin:.16rem 0 0;color:var(--muted);font-size:.86rem;line-height:1.35;overflow-wrap:anywhere}.lti-response-preview{grid-column:1 / -1;max-height:9rem;margin:.2rem 0 0;overflow:auto;white-space:pre-wrap;color:var(--text-strong);line-height:1.65}.lti-empty-state{padding:1rem;border:1px dashed rgba(15,118,110,.22);border-radius:10px;background:#f0fdfa80}.lti-empty-state h3{margin:0 0 .3rem;color:var(--text-strong);font-size:1rem}.lti-empty-state p{margin:0;color:var(--muted)}.lti-endpoint-box{display:grid;gap:.35rem;padding:.9rem;margin:1rem 0;border:1px solid rgba(37,99,235,.12);border-radius:10px;background:#fffdf8c2}.lti-endpoint-box span{font-weight:700;color:var(--text-strong)}.lti-endpoint-box code{display:block;overflow-wrap:anywhere;font-size:.86rem;color:var(--muted)}@media (max-width: 920px){.lti-setup-grid,.lti-student-view,.lti-quick-prompts-workspace{grid-template-columns:1fr}}@media (max-width: 640px){.lti-shell{padding:.6rem .65rem 1rem}.lti-shell-fullscreen{padding:1rem .85rem 2.5rem}.lti-shell .teacher-dashboard-tabs{grid-template-columns:repeat(3,minmax(150px,1fr))}.lti-shell-embedded{min-height:48vh}.lti-open-full-actions{justify-content:stretch}.lti-open-full-actions .btn{width:100%}.lti-topbar,.lti-panel-heading{align-items:flex-start;flex-direction:column}.lti-toolbar{justify-content:flex-start;width:100%}.lti-toolbar>*,.lti-shell .button-row>*{flex:1 1 150px}.lti-segmented{width:100%}.lti-segmented button{flex:1 1 0}.lti-response-row{grid-template-columns:1fr}}.team-card:hover{border-color:#7c3aed3d}.team-writing-shell,.team-writing-student-shell{gap:1rem}.team-writing-shell{max-width:1240px}.section-heading{display:grid;gap:.25rem;margin-bottom:.9rem}.section-heading h2{margin:0}.team-writing-shell .section-heading{gap:.35rem;margin-bottom:1rem}.team-writing-shell .section-heading .eyebrow{margin-bottom:0;font-size:.72rem;letter-spacing:.14em}.team-writing-shell .section-heading h2{font-size:clamp(1.35rem,2vw,1.75rem)}.compact-copy{margin:0;font-size:.94rem}.team-writing-layout{display:grid;grid-template-columns:minmax(430px,1.08fr) minmax(320px,.92fr);gap:1rem;align-items:start;min-width:0}.team-session-create-panel,.team-session-list-panel,.team-session-control-panel,.team-join-card,.team-student-sidebar,.team-student-editor-card{border-radius:14px;min-width:0}.team-session-create-panel,.team-session-list-panel,.team-session-control-panel{padding:1.15rem}.team-session-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem .95rem}.team-session-form label,.inline-number-field{display:grid;gap:.35rem;margin:0;min-width:0;color:var(--text-strong);font-weight:760}.team-form-field-wide,.team-form-actions,.team-session-form .compact-copy{grid-column:1 / -1}.team-form-count-field{max-width:8.5rem}.team-session-form input,.team-session-form select,.team-session-form textarea,.inline-number-field input,.team-participant-row select{min-width:0;width:100%}.team-session-form input,.team-session-form select,.team-session-form textarea{min-height:46px;padding:.72rem .82rem;border-radius:10px;font-size:.95rem;font-weight:620;line-height:1.35}.team-session-form textarea{min-height:116px;resize:vertical}.team-session-form textarea::placeholder{color:#64748be0;font-weight:560}.team-form-actions{margin-top:.1rem}.team-form-actions button{min-height:44px;padding:.68rem 1rem}.inline-number-field{width:112px}.team-session-list{display:grid;gap:.55rem}.team-session-list-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.75rem;width:100%;padding:.75rem .85rem;border:1px solid rgba(30,41,59,.1);border-radius:10px;background:#ffffffb8;text-align:left}.team-session-list-item.is-active{border-color:#2563eb47;background:#eff6ffc7}.team-session-list-item span:first-child{display:grid;gap:.2rem;min-width:0}.team-session-list-item small,.team-participant-row span,.team-document-preview span,.team-student-team span,.team-editor-footer span{color:var(--muted);font-size:.84rem}.team-status-pill{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:.35rem .62rem;border:1px solid rgba(30,41,59,.1);border-radius:0;background:#f8fafce6;color:var(--text-strong);font-size:.78rem;font-weight:850;white-space:nowrap}.team-status-pill.status-forming{border-color:#2563eb2e;background:#eff6ffdb;color:#1d4ed8}.team-status-pill.status-active{border-color:#0f766e38;background:#f0fdfae6;color:#0f766e}.team-status-pill.status-locked{border-color:#c2410c33;background:#fff7edf0;color:#c2410c}.team-status-pill.status-ended{border-color:#4755692e;background:#f1f5f9f0;color:#475569}.team-session-control-panel{display:grid;gap:1rem;margin-top:1rem}.team-session-control-header,.team-editor-header,.team-editor-footer{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.team-code-card{display:grid;gap:.42rem;min-width:160px;padding:.8rem;border:1px solid rgba(37,99,235,.18);border-radius:12px;background:#eff6ffb8}.team-code-card span{color:var(--muted);font-size:.78rem;font-weight:850;text-transform:uppercase}.team-code-card strong{font-size:1.55rem;letter-spacing:.04em}.team-task-preview{display:grid;gap:.4rem;padding:.85rem;border:1px solid rgba(30,41,59,.08);border-radius:10px;background:#f8fafcc2}.team-task-preview p{margin:0;color:var(--text);line-height:1.55;white-space:pre-wrap}.team-session-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:.6rem;color:var(--muted);font-weight:720}.team-session-actions{padding:.75rem;border:1px solid rgba(30,41,59,.08);border-radius:12px;background:#ffffff9e}.danger-soft{border-color:#dc26262e;background:#fef2f2e6;color:#b91c1c}.team-board-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:.85rem;align-items:start}.team-column{display:grid;gap:.75rem;min-width:0;padding:.85rem;border:1px solid rgba(30,41,59,.1);border-radius:12px;background:#fffdf8db}.unassigned-team-column{background:#f8fafcdb}.team-column-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.team-column-header h3{margin:0;font-size:1rem}.team-column-header span{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:0;background:#1e293b14;color:var(--text-strong);font-weight:850}.team-participant-list{display:grid;gap:.5rem}.team-participant-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(116px,.68fr);align-items:center;gap:.55rem;padding:.55rem;border:1px solid rgba(30,41,59,.08);border-radius:10px;background:#ffffffb8}.team-participant-row>div{display:grid;gap:.12rem;min-width:0}.team-participant-row strong{overflow-wrap:anywhere}.team-document-preview{display:grid;gap:.45rem;min-height:118px;margin-top:.25rem;padding:.7rem;border-radius:10px;background:#f1f5f9b8}.team-document-preview>div{display:flex;align-items:center;justify-content:space-between;gap:.7rem}.team-document-preview p{margin:0;color:var(--muted);line-height:1.45;overflow-wrap:anywhere}.team-student-layout{display:grid;grid-template-columns:minmax(240px,.36fr) minmax(0,1fr);gap:1rem;align-items:start}.team-student-sidebar{position:sticky;top:1rem;display:grid;gap:.85rem}.team-student-sidebar h2,.team-student-editor-card h2,.team-waiting-panel h2{margin:0}.team-student-team{display:grid;gap:.18rem;padding:.75rem;border:1px solid rgba(15,118,110,.18);border-radius:10px;background:#f0fdfad1}.team-roster-list{display:grid;gap:.38rem}.team-roster-list h3{margin:0 0 .18rem;font-size:.92rem}.team-roster-list span{display:block;padding:.45rem .55rem;border-radius:9px;background:#f8fafce6;color:var(--text);font-weight:720}.team-roster-list span.is-you{background:#eff6fff2;color:#1d4ed8}.team-student-editor-card{display:grid;gap:1rem;min-width:0}.team-waiting-panel{display:grid;gap:.45rem;min-height:260px;place-content:center;text-align:center}.team-editor-stats{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:.45rem}.team-editor-stats span{display:inline-flex;align-items:center;min-height:30px;padding:.35rem .55rem;border-radius:0;background:#f8fafceb;color:var(--muted);font-size:.82rem;font-weight:820}.team-remote-notice{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.team-shared-textarea{width:100%;min-height:min(58vh,680px);resize:vertical;font-size:1rem;line-height:1.6;border-radius:12px}.team-shared-textarea[readonly]{background:#f8fafcd6;color:var(--muted)}@media (max-width: 900px){.team-writing-layout,.team-student-layout{grid-template-columns:1fr}.team-student-sidebar{position:static}.team-session-control-header,.team-editor-header,.team-editor-footer{flex-direction:column;align-items:stretch}.team-code-card{min-width:0}}@media (max-width: 640px){.team-session-form{grid-template-columns:1fr}.team-form-count-field{max-width:100%}.team-form-actions button{width:100%}.team-session-list-item,.team-participant-row{grid-template-columns:1fr}.inline-number-field{width:100%}.team-editor-stats{justify-content:flex-start}.team-remote-notice{align-items:stretch;flex-direction:column}}body:has(.teacher-shell){background:#f4f3ef;background-attachment:initial}.teacher-shell{--text: #334155;--text-strong: #172033;--muted: #667085;--brand: #d9562b;--brand-deep: #bd4320;--accent: #2563a6;--panel: #f7f7f5;--paper: #ffffff;--surface: #ffffff;--border: #e2e4e8;--input-border: #d5d9df;--soft-shadow: none;width:100%;max-width:1440px;padding:1.25rem 1.5rem 4rem;color:var(--text)}.teacher-shell h1,.teacher-shell h2,.teacher-shell h3{color:var(--text-strong);letter-spacing:-.025em}.teacher-shell h2{font-size:clamp(1.5rem,2vw,1.9rem);font-weight:680}.teacher-shell h3{font-weight:650}.teacher-shell .page-copy{color:var(--muted);font-size:.96rem;line-height:1.6}.teacher-shell .eyebrow{margin-bottom:.45rem;color:#667085;font-size:.72rem;font-weight:720;letter-spacing:.07em}.teacher-shell button,.teacher-shell .btn{min-height:38px;padding:.55rem .82rem;border:1px solid #d5d9df;border-radius:8px;background:#fff;color:#263244;font-size:.9rem;font-weight:630;box-shadow:none;transition:border-color .14s ease,background .14s ease,color .14s ease}.teacher-shell button:hover,.teacher-shell .btn:hover{transform:none;border-color:#aeb5bf;background:#f7f7f5;box-shadow:none}.teacher-shell button:active:not(:disabled),.teacher-shell .btn:active:not(:disabled){transform:none;background:#efefec}.teacher-shell button.primary,.teacher-shell .btn.primary,.teacher-shell button[type=submit]{border-color:#d9562b;background:#d9562b;color:#fff;box-shadow:none}.teacher-shell button.primary:hover,.teacher-shell .btn.primary:hover,.teacher-shell button[type=submit]:hover{border-color:#bd4320;background:#bd4320}.teacher-shell button.danger{border-color:#e4c7c5;background:#fff;color:#a5322c}.teacher-shell button.ai-action,.teacher-shell .btn.ai-action{border-color:#d7dce4;background:#f7f8fa;color:#4b5565}.teacher-shell input,.teacher-shell select,.teacher-shell textarea{border-color:var(--input-border);border-radius:8px;background:#fff;color:var(--text-strong);box-shadow:none}.teacher-shell input:focus,.teacher-shell select:focus,.teacher-shell textarea:focus{border-color:#6b8fbd;box-shadow:0 0 0 3px #2563a61c}.teacher-shell .surface-card{border:1px solid var(--border);border-radius:12px;background:#fff;box-shadow:none}.teacher-dashboard-header{position:relative;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:1.5rem;min-height:58px;margin:0;padding:0 0 1rem;border-bottom:1px solid var(--border)}.teacher-brand-block{display:flex;align-items:center;gap:.85rem;min-width:0}.teacher-shell .workspace-logo{margin:0}.teacher-shell .quickwrite-logo-compact{gap:.35rem}.teacher-shell .quickwrite-logo-compact .quickwrite-logo-icon{width:30px;height:30px}.teacher-shell .quickwrite-logo-compact .quickwrite-logo-word{font-size:1.1rem}.teacher-workspace-name{padding-left:.85rem;border-left:1px solid var(--border);color:#596273;font-size:.88rem;font-weight:650;white-space:nowrap}.teacher-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:.75rem;min-width:0;padding:0}.teacher-account-strip{display:flex;align-items:center;justify-content:flex-end;gap:.55rem}.teacher-shell .access-chip,.teacher-shell .usage-chip{min-height:30px;padding:.3rem .55rem;border:0;border-radius:6px;background:transparent;color:#667085;font-size:.78rem;font-weight:620}.teacher-shell .access-chip{border:1px solid #d7dce4;background:#f8f8f6;color:#4b5565;letter-spacing:.02em;text-transform:none}.teacher-shell .access-chip.paid{border-color:#cddfd8;background:#f2f8f5;color:#386b58}.teacher-shell .usage-chip{display:inline-flex;gap:.35rem}.teacher-shell .usage-chip strong{color:var(--text-strong);font-size:.82rem}.teacher-header-nav{position:relative;flex-wrap:nowrap;gap:.45rem}.teacher-shell .teacher-settings-shortcut{border-color:transparent;background:transparent;color:#4b5565}.teacher-account-menu{position:relative}.teacher-account-menu>summary{display:flex;align-items:center;gap:.55rem;min-width:0;padding:.3rem .4rem;border:1px solid transparent;border-radius:8px;cursor:pointer;list-style:none}.teacher-account-menu>summary::-webkit-details-marker{display:none}.teacher-account-menu>summary:hover,.teacher-account-menu[open]>summary{border-color:#dfe2e7;background:#fff}.teacher-account-avatar{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;flex:0 0 auto;border-radius:50%;background:#263244;color:#fff;font-size:.82rem;font-weight:720}.teacher-account-summary{display:grid;gap:.05rem;min-width:0;max-width:180px;text-align:left}.teacher-account-summary strong{color:var(--text-strong);font-size:.78rem;font-weight:670}.teacher-account-summary small{overflow:hidden;color:var(--muted);font-size:.7rem;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.teacher-account-menu-content{position:absolute;top:calc(100% + .45rem);right:0;z-index:60;display:grid;gap:.2rem;width:230px;padding:.45rem;border:1px solid #dfe2e7;border-radius:10px;background:#fff;box-shadow:0 14px 32px #18203021}.teacher-account-menu-content p{padding:.55rem .6rem .65rem;overflow-wrap:anywhere;border-bottom:1px solid #eceef1;color:var(--muted);font-size:.76rem}.teacher-shell .teacher-account-menu-content button,.teacher-shell .teacher-account-menu-content .btn{justify-content:flex-start;width:100%;min-height:34px;padding:.45rem .6rem;border-color:transparent;background:transparent;text-align:left}.teacher-dashboard-tabs{display:flex;align-items:stretch;gap:1.35rem;min-height:53px;margin:0 0 1.5rem;padding:0;overflow-x:auto;border:0;border-bottom:1px solid var(--border);border-radius:0;background:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.teacher-shell .teacher-tab-button{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:.42rem;min-width:max-content;min-height:52px;margin:0;padding:.15rem 0;border:0;border-radius:0;background:transparent;color:#667085;box-shadow:none;text-decoration:none}.teacher-shell .teacher-tab-button:after{left:0;right:0;bottom:-1px;height:2px;border-radius:0;background:#d9562b;transform:none}.teacher-shell .teacher-tab-button:hover{border:0;background:transparent;color:#263244;box-shadow:none}.teacher-shell .teacher-tab-button.is-active{border:0;background:transparent;color:var(--text-strong);box-shadow:none}.teacher-shell .teacher-tab-button.is-active:after{opacity:1}.teacher-tab-label{color:inherit;font-size:.9rem;font-weight:610}.teacher-shell .teacher-tab-button.is-active .teacher-tab-label{color:inherit;font-weight:680}.teacher-tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:21px;min-height:20px;padding:.05rem .35rem;border-radius:0;background:#e9eaec;color:#596273;font-size:.7rem;font-weight:680;line-height:1}.teacher-shell .teacher-tab-button.is-active .teacher-tab-count{background:#f5e4dd;color:#a53b1c}.teacher-shell .beta-badge{min-height:17px;padding:.08rem .3rem;border:1px solid #d7dce4;border-radius:4px;background:transparent;color:#667085;font-size:.56rem;font-weight:670}.teacher-tab-panel,.teacher-tab-panel-review,.teacher-tab-panel-classes,.teacher-tab-panel-quick-prompts,.teacher-tab-panel-tools,.teacher-tab-panel-reports,.teacher-tab-panel-settings{min-width:0;margin:0 0 1.25rem;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.teacher-tab-panel>.surface-card,.teacher-tab-panel>.collapsible-block>.surface-card,.teacher-tab-panel>.stats-grid>.surface-card{border-color:var(--border)}.teacher-tab-panel-quick-prompts .quick-prompts-section,.teacher-tab-panel-quick-prompts .quick-prompt-form,.teacher-tab-panel-quick-prompts .quick-prompt-export-panel,.teacher-tab-panel-quick-prompts .quick-prompt-card,.teacher-tab-panel-quick-prompts .quick-prompt-empty{border-color:var(--border);background:#fff}.teacher-shell .quick-prompts-section{margin:0;padding:1.5rem;border-radius:12px}.teacher-shell .quick-prompts-workflow-head{align-items:center;margin-bottom:1.25rem;padding-bottom:1.15rem;border-bottom:1px solid var(--border)}.teacher-shell .quick-prompts-workflow-head h2{margin-bottom:.35rem}.teacher-shell .quick-prompts-head-actions .primary{min-height:40px;box-shadow:none}.teacher-shell .quick-prompt-class-banner{align-items:center;margin-bottom:1rem;padding:.9rem 1rem;border:1px solid var(--border);border-radius:10px;background:#f8f8f6;box-shadow:none}.teacher-shell .quick-prompt-class-summary h3{font-size:1.1rem}.teacher-shell .class-color-dot.large{width:10px;height:40px;border:0;border-radius:999px;box-shadow:none}.teacher-shell .quick-prompt-class-stats span{min-height:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--muted);font-size:.78rem}.teacher-shell .quick-prompt-class-stats span+span:before{content:"·";margin-right:.45rem;color:#a4a9b1}.teacher-shell .quick-prompt-class-select span{font-size:.7rem;font-weight:650;letter-spacing:.04em}.teacher-shell .quick-prompt-class-select select,.teacher-shell .class-color-button{min-height:38px}.teacher-shell .quick-prompt-toolbar{margin-bottom:1rem;border-bottom:1px solid var(--border)}.teacher-shell .quick-prompt-status-tabs{gap:1.1rem;padding:0;border:0;border-radius:0;background:transparent}.teacher-shell .quick-prompt-status-tabs button{position:relative;min-height:42px;padding:0 0 .65rem;border:0;border-radius:0;background:transparent;color:var(--muted);box-shadow:none;font-weight:620}.teacher-shell .quick-prompt-status-tabs button.is-active{background:transparent;color:var(--text-strong);box-shadow:inset 0 -2px #d9562b}.teacher-shell .quick-prompt-status-tabs strong{min-width:0;padding:.05rem .32rem;background:#e9eaec;color:#596273;font-size:.7rem}.teacher-shell .quick-prompts-flow-rail{border-color:var(--border);border-radius:10px;background:#f8f8f6;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.teacher-shell .quick-prompt-stepper:before{background:#d7dce2}.teacher-shell .quick-prompt-stepper span,.teacher-shell .quick-prompt-step-number{border-color:#d7dce2;background:#fff;color:#596273;box-shadow:none}.teacher-shell .quick-prompt-flow-step,.teacher-shell .quick-prompt-flow-step:nth-of-type(1),.teacher-shell .quick-prompt-flow-step:nth-of-type(2),.teacher-shell .quick-prompt-flow-actions-panel{border-color:var(--border);border-radius:8px;background:#fff;box-shadow:none}.teacher-shell .quick-prompt-flow-step:hover{transform:none;box-shadow:none}.teacher-shell .quick-prompt-total-row span,.teacher-shell .quick-prompt-flow-summary span{border-color:var(--border);border-radius:6px;background:#f7f7f5}.teacher-shell .quick-prompt-mode-toggle{border-color:var(--border);border-radius:8px;background:#f7f7f5}.teacher-shell .quick-prompt-mode-toggle button.is-active{border-color:#d5d9df;background:#fff;color:var(--text-strong);box-shadow:none}.teacher-shell .quick-prompt-form,.teacher-shell .quick-prompt-material-editor,.teacher-shell .quick-prompt-export-panel{border-color:var(--border);border-radius:9px;background:#fff;box-shadow:none}.teacher-shell .quick-prompt-inline-create{border-color:#d5d9df;background:#fff;color:#4b5565}.teacher-shell .quick-prompt-card,.teacher-shell .quick-prompt-card-active,.teacher-shell .quick-prompt-card-draft,.teacher-shell .quick-prompt-card-closed{padding:.95rem 1rem;border-color:var(--border);border-radius:9px;background:#fff;box-shadow:none}.teacher-shell .quick-prompt-card:hover{transform:none;border-color:#c9cdd3;box-shadow:none}.teacher-shell .quick-prompt-card .status-badge,.teacher-shell .quick-prompt-card .class-pill,.teacher-shell .quick-prompt-card .resubmission-badge,.teacher-shell .quick-prompt-meta-chip,.teacher-shell .quick-prompt-response-count,.teacher-shell .quick-prompt-card-facts .quick-prompt-advice-chips span{min-height:22px;padding:.15rem .4rem;border-color:#dfe2e7;border-radius:5px;background:#f7f7f5;color:#596273;font-size:.7rem}.teacher-shell .quick-prompt-secondary-actions{border-color:var(--border)}.teacher-shell .quick-prompt-empty{min-height:260px;border-radius:10px;background:#fafaf8;box-shadow:none}.teacher-shell .quick-prompt-empty-illustration{display:none}.teacher-shell .quick-prompt-empty-stats span{min-height:64px;border-color:var(--border);border-radius:8px;background:#fff}.teacher-shell .quick-prompt-empty-cta{min-height:40px;box-shadow:none}.teacher-shell .settings-layout{gap:1rem}.teacher-shell .settings-card{padding:1.35rem}.teacher-shell .settings-note{border-color:#dce1e8;border-radius:8px;background:#f7f8fa}.teacher-shell .stats-grid{gap:.75rem}.teacher-shell .stat-card{min-height:108px;padding:1rem}.teacher-shell .status-message{border-radius:8px}.teacher-shell .status-badge{border-radius:5px}.teacher-shell .filter-panel,.teacher-shell .teacher-tools-panel,.teacher-shell .translation-panel,.teacher-shell .class-primary-create-panel,.teacher-shell .classroom-list-panel{box-shadow:none}@media (max-width: 980px){.teacher-shell{padding-inline:1rem}.teacher-dashboard-header{align-items:flex-start}.teacher-header-actions{align-items:flex-end;flex-direction:column-reverse;gap:.35rem}.teacher-account-strip{display:none}.teacher-dashboard-tabs{gap:1.1rem}}@media (max-width: 720px){.teacher-shell{padding:.8rem .8rem 2.5rem}.teacher-dashboard-header{align-items:center;min-height:52px;padding-bottom:.75rem}.teacher-workspace-name,.teacher-account-summary,.teacher-settings-shortcut{display:none}.teacher-header-actions,.teacher-header-nav{align-items:center;flex-direction:row;justify-content:flex-end}.teacher-account-menu>summary{padding:0}.teacher-dashboard-tabs{gap:1.15rem;min-height:48px;margin-bottom:1rem}.teacher-shell .teacher-tab-button{min-height:47px}.teacher-shell .quick-prompts-section{padding:1rem}.teacher-shell .quick-prompts-workflow-head{align-items:stretch;flex-direction:column}.teacher-shell .quick-prompts-head-actions{justify-content:stretch}.teacher-shell .quick-prompts-head-actions>*{flex:1 1 150px}.teacher-shell .quick-prompt-class-banner{align-items:stretch}.teacher-shell .quick-prompt-status-tabs{display:flex;width:max-content}.teacher-shell .settings-card{padding:1rem}}.teacher-shell button,.teacher-shell .btn,.teacher-shell .teacher-tab-label,.teacher-shell .teacher-tab-count,.teacher-shell .access-chip,.teacher-shell .usage-chip,.teacher-shell .status-badge{overflow-wrap:normal;white-space:nowrap;word-break:normal}.teacher-account-menu-content{width:max-content;min-width:250px;max-width:calc(100vw - 2rem)}.teacher-account-menu-content p{max-width:calc(100vw - 3rem);overflow-x:auto;overflow-wrap:normal;white-space:nowrap}.teacher-account-summary{max-width:none}.teacher-account-summary small{overflow:visible;text-overflow:clip;white-space:nowrap}.teacher-shell .class-setup-header{position:relative;isolation:isolate;align-items:center;min-height:166px;margin-bottom:1rem;padding:1.35rem 1.5rem 1.35rem 1.75rem;overflow:hidden;border:1px solid #dddcd7;border-radius:12px;background:radial-gradient(circle at 90% 18%,rgba(37,99,166,.1),transparent 12rem),linear-gradient(100deg,#fffdf8,#f7f9fb);box-shadow:none}.teacher-shell .class-setup-header:before{content:"";position:absolute;inset:0 auto 0 0;z-index:0;width:6px;background:linear-gradient(180deg,#f28a36,#d9562b)}.teacher-shell .class-setup-header:after{content:"";position:absolute;z-index:0;right:14%;bottom:-2.5rem;width:230px;height:150px;border:1px solid rgba(37,99,166,.11);border-radius:10px;background:repeating-linear-gradient(180deg,rgba(37,99,166,.08) 0,rgba(37,99,166,.08) 1px,transparent 1px,transparent 25px),#ffffff61;transform:rotate(-5deg)}.teacher-shell .class-setup-header>*{position:relative;z-index:1}.teacher-shell .class-setup-header h2{color:var(--text-strong);font-size:clamp(1.55rem,2.3vw,2.15rem);font-weight:720;white-space:nowrap}.teacher-shell .class-setup-header .eyebrow{color:#bd4320}.teacher-shell .class-setup-header .page-copy{max-width:62ch;color:#596273}.teacher-shell .class-setup-summary{position:relative;z-index:1;flex-wrap:nowrap}.teacher-shell .class-setup-summary span{min-width:104px;border:1px solid #d9dfe7;border-radius:10px;background:#ffffffe0;color:#596273;box-shadow:0 8px 20px #1820300d;white-space:nowrap}.teacher-shell .class-setup-summary strong{color:#2563a6}.teacher-shell .class-primary-create-panel{position:relative;overflow:hidden;border-top:3px solid #d9562b;background:#fff}.teacher-shell .class-primary-create-panel .eyebrow{color:#bd4320}.teacher-shell .classroom-list-panel{border-top:3px solid #2563a6}.team-writing-topbar .teacher-header-actions{flex-direction:row}.team-writing-header-nav{display:flex;align-items:center}.team-writing-header-nav .btn:first-child{border-color:transparent;background:transparent;color:#4b5565}.team-writing-intro{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2rem;min-height:160px;margin:1rem 0;padding:1.5rem 1.6rem 1.5rem 1.8rem;overflow:hidden;border:1px solid #dddcd7;border-radius:12px;background:radial-gradient(circle at 92% 5%,rgba(37,99,166,.1),transparent 13rem),linear-gradient(105deg,#fffdf8,#f8fafc)}.team-writing-intro:before{content:"";position:absolute;inset:0 auto 0 0;width:6px;background:linear-gradient(180deg,#f28a36,#d9562b)}.team-writing-intro-copy{position:relative;z-index:1;min-width:0}.teacher-shell .team-writing-intro .eyebrow{color:#bd4320}.team-writing-intro h1{display:flex;align-items:center;flex-wrap:nowrap;gap:.6rem;margin-bottom:.55rem;font-size:clamp(2rem,3.5vw,3rem);white-space:nowrap}.team-writing-flow{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(104px,1fr));gap:.55rem}.team-writing-flow:before{content:"";position:absolute;top:17px;right:13%;left:13%;height:2px;background:#dfe4ea}.team-writing-flow>div{position:relative;display:grid;justify-items:center;gap:.45rem;min-width:0;color:#596273;font-size:.78rem;text-align:center}.team-writing-flow span{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:2px solid #ffffff;border-radius:50%;background:#2563a6;color:#fff;font-size:.76rem;font-weight:760;box-shadow:0 0 0 1px #cad4df}.team-writing-flow>div:nth-child(2) span{background:#0f766e}.team-writing-flow strong{color:#4b5565;font-weight:650;white-space:nowrap}.team-form-class-field{grid-column:1 / -1}.teacher-shell .team-session-create-panel{border-top:3px solid #d9562b}.teacher-shell .team-session-list-panel{border-top:3px solid #2563a6}.teacher-shell .team-session-list-item{overflow:visible}.teacher-shell .team-session-list-item.is-active{border-color:#b8cee4;background:#f4f8fc;box-shadow:inset 4px 0 #2563a6}.teacher-shell .team-session-list-item strong,.teacher-shell .team-session-list-item small{overflow-wrap:normal;white-space:nowrap;word-break:normal}.teacher-shell .team-session-list-item>span:first-child{overflow-x:auto}@media (max-width: 980px){.teacher-shell .class-setup-header{align-items:stretch;flex-direction:column}.teacher-shell .class-setup-summary{justify-content:flex-start}.team-writing-intro{grid-template-columns:1fr;gap:1.25rem}.team-writing-flow{width:min(100%,430px)}}@media (max-width: 720px){.team-writing-topbar .team-writing-header-nav{display:none}.team-writing-intro{padding:1.2rem 1rem 1.2rem 1.3rem}.team-writing-intro h1{font-size:clamp(1.8rem,9vw,2.35rem)}.team-writing-flow{grid-template-columns:repeat(3,minmax(0,1fr));gap:.25rem}.team-writing-flow strong{font-size:.68rem}.teacher-shell .class-setup-header{min-height:0;padding:1.2rem 1rem 1.2rem 1.3rem}.teacher-shell .class-setup-header h2{font-size:clamp(1.45rem,7vw,1.8rem)}.teacher-shell .class-setup-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.teacher-shell .class-setup-summary span{min-width:0}}.teacher-shell .teacher-dashboard-tabs{gap:.3rem;min-height:54px;margin:0 0 1.25rem;padding:.35rem .4rem 0;overflow-x:auto;border:0;border-bottom:1px solid #e1e4e8;border-radius:0;background:#fff}.teacher-shell .teacher-tab-button{position:relative;min-height:50px;padding:.45rem .78rem .65rem;overflow:hidden;border:0;border-radius:0;background:transparent;color:var(--tab-color)}.teacher-shell .teacher-tab-button:before{content:"";position:absolute;inset:0 0 auto;height:4px;background:var(--tab-color);opacity:.88}.teacher-shell .teacher-tab-button:after{display:none}.teacher-shell .teacher-tab-button:hover{border:0;background:color-mix(in srgb,var(--tab-color) 9%,#ffffff);color:var(--tab-color)}.teacher-shell .teacher-tab-button.is-active{border:0;background:color-mix(in srgb,var(--tab-color) 14%,#ffffff);color:var(--tab-color);box-shadow:inset 0 -3px 0 var(--tab-color)}.teacher-shell .teacher-tab-button .teacher-tab-label,.teacher-shell .teacher-tab-button.is-active .teacher-tab-label{color:inherit;font-weight:690}.teacher-tab-quick-prompts{--tab-color: #d9562b}.teacher-tab-review{--tab-color: #2563a6}.teacher-tab-classes{--tab-color: #0f887d}.teacher-tab-team-writing{--tab-color: #7652b5}.teacher-tab-tools{--tab-color: #c33d67}.teacher-tab-reports{--tab-color: #5d7f26}.teacher-tab-settings{--tab-color: #526277}.teacher-shell .teacher-tab-count{min-width:0;min-height:0;padding:0;border:0;border-radius:0;background:transparent;color:inherit;font-size:.72rem}.teacher-shell .teacher-tab-button.is-active .teacher-tab-count{background:transparent;color:inherit}.teacher-shell .beta-badge{min-height:0;padding:0;border:0;border-radius:0;background:transparent;color:#d9562b;font-size:.58rem;letter-spacing:.08em}.teacher-tab-team-writing .beta-badge{color:inherit;opacity:.82}.teacher-shell .access-chip{border:0;border-radius:3px;background:#fff0e8;color:#a63e1f}.teacher-shell .access-chip.paid{border:0;background:#e5f5ee;color:#25674f}.teacher-shell .usage-chip{border:0;border-radius:0;background:transparent}.team-writing-header-nav .btn,.team-writing-header-nav .btn:first-child{border:0;border-radius:4px;background:#eaf3fb;color:#245f94;box-shadow:inset 0 -2px #69a4d3}.teacher-shell .team-status-pill,.teacher-shell .status-badge{display:inline-flex;align-items:center;gap:.4rem;min-height:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;line-height:1.2}.teacher-shell .team-status-pill:before,.teacher-shell .status-badge:before{content:"";width:7px;height:7px;flex:0 0 auto;border-radius:50%;background:currentColor}.teacher-shell .team-status-pill.status-forming{color:#2563a6}.teacher-shell .team-status-pill.status-active,.teacher-shell .status-badge.active,.teacher-shell .status-badge.feedback-published{color:#16734f}.teacher-shell .team-status-pill.status-locked{color:#b74c22}.teacher-shell .team-status-pill.status-ended,.teacher-shell .status-badge.inactive,.teacher-shell .status-badge.feedback-none{color:#667085}.teacher-shell .status-badge.feedback-draft{color:#7652b5}.teacher-shell .quick-prompt-card .class-pill,.teacher-shell .quick-prompt-card .resubmission-badge,.teacher-shell .quick-prompt-meta-chip,.teacher-shell .quick-prompt-response-count,.teacher-shell .quick-prompt-card-facts .quick-prompt-advice-chips span{padding:.16rem .35rem;border:0;border-radius:3px;background:color-mix(in srgb,currentColor 9%,#ffffff);box-shadow:none}.team-writing-flow:before{display:none}.team-writing-flow>div{grid-template-columns:auto minmax(0,1fr);justify-items:start;align-items:center;gap:.5rem;padding:.4rem .55rem;border-left:4px solid #2563a6;background:#2563a60f;text-align:left}.team-writing-flow>div:nth-child(2){border-left-color:#0f887d;background:#0f887d0f}.team-writing-flow>div:nth-child(3){border-left-color:#d9562b;background:#d9562b0f}.team-writing-flow span,.team-writing-flow>div:nth-child(2) span,.team-writing-flow>div:nth-child(3) span{width:24px;height:24px;border:0;border-radius:3px;background:#2563a6;box-shadow:none}.team-writing-flow>div:nth-child(2) span{background:#0f887d}.team-writing-flow>div:nth-child(3) span{background:#d9562b}.team-writing-flow strong{text-align:left}@media (max-width: 720px){.teacher-shell .teacher-dashboard-tabs{gap:.2rem;padding-inline:.2rem}.teacher-shell .teacher-tab-button{padding-inline:.65rem}.team-writing-flow>div{grid-template-columns:1fr;justify-items:center;border-left-width:0;border-top:4px solid #2563a6;text-align:center}.team-writing-flow>div:nth-child(2){border-top-color:#0f887d}.team-writing-flow>div:nth-child(3){border-top-color:#d9562b}.team-writing-flow strong{text-align:center}}.teacher-shell .teacher-tab-button:before,.teacher-shell .teacher-tab-button:after{display:none}.teacher-shell .teacher-tab-button,.teacher-shell .teacher-tab-button.is-active{overflow:visible;background:transparent;box-shadow:none}.teacher-shell .teacher-tab-button:hover{background:color-mix(in srgb,var(--tab-color) 5%,#ffffff)}.teacher-shell .teacher-tab-button .teacher-tab-label{position:relative;z-index:0}.teacher-shell .teacher-tab-button .teacher-tab-label:after{content:"";position:absolute;right:-.22rem;bottom:-.08rem;left:-.22rem;z-index:-1;height:.48em;border-radius:2px 5px 3px 4px;background:color-mix(in srgb,var(--tab-color) 24%,#ffffff);opacity:0;transform:rotate(-1deg)}.teacher-shell .teacher-tab-button.is-active .teacher-tab-label:after{opacity:1}.teacher-shell .teacher-tab-button.is-active .teacher-tab-label{font-weight:760}.team-writing-flow>div,.team-writing-flow>div:nth-child(2),.team-writing-flow>div:nth-child(3){border:0}@media (max-width: 720px){.team-writing-flow>div,.team-writing-flow>div:nth-child(2),.team-writing-flow>div:nth-child(3){border:0}}.teacher-shell .teacher-dashboard-tabs{align-items:flex-end;gap:0;min-height:62px;padding:.45rem .35rem 0;overflow-x:auto;overflow-y:hidden;border:0;border-bottom:5px solid #ffffff;background:transparent}.teacher-shell .teacher-tab-button,.teacher-shell .teacher-tab-button.is-active,.teacher-shell .teacher-tab-button:hover{position:relative;z-index:1;flex:0 0 auto;min-height:49px;margin-right:-.65rem;padding:.72rem 1.6rem .68rem 1rem;overflow:visible;border:0;border-radius:0;background:transparent;color:#fff;box-shadow:none}.teacher-shell .teacher-tab-button:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;display:block;border-radius:9px 18px 0 0;background:color-mix(in srgb,var(--tab-color) 78%,#ffffff);clip-path:polygon(0 0,calc(100% - 18px) 0,100% 100%,0 100%)}.teacher-shell .teacher-tab-button:after,.teacher-shell .teacher-tab-button .teacher-tab-label:after{display:none}.teacher-shell .teacher-tab-button:hover{z-index:8;color:#fff;transform:translateY(-2px)}.teacher-shell .teacher-tab-button:hover:before{background:color-mix(in srgb,var(--tab-color) 88%,#ffffff)}.teacher-shell .teacher-tab-button.is-active{z-index:10;min-height:56px;color:#fff;transform:none}.teacher-shell .teacher-tab-button.is-active:before{background:var(--tab-color)}.teacher-shell .teacher-tab-button .teacher-tab-label,.teacher-shell .teacher-tab-button.is-active .teacher-tab-label,.teacher-shell .teacher-tab-button .teacher-tab-count,.teacher-shell .teacher-tab-button.is-active .teacher-tab-count,.teacher-shell .teacher-tab-team-writing .beta-badge{color:inherit}.teacher-shell .teacher-tab-button .teacher-tab-label{position:relative;z-index:1;text-shadow:0 1px 1px rgba(23,32,51,.16)}.teacher-shell .teacher-tab-button .teacher-tab-count,.teacher-shell .teacher-tab-team-writing .beta-badge{opacity:.9;text-shadow:none}.teacher-shell .teacher-tab-button.is-disabled,.teacher-shell .teacher-tab-button.is-disabled:hover{z-index:0;color:#f8fafc;cursor:not-allowed;opacity:.72;transform:none}.teacher-shell .teacher-tab-button.is-disabled:before,.teacher-shell .teacher-tab-button.is-disabled:hover:before{background:#94a3b8}.teacher-shell .teacher-tab-button.is-disabled .teacher-tab-count{opacity:1}@media (max-width: 720px){.teacher-shell .teacher-dashboard-tabs{min-height:57px;padding-inline:.15rem}.teacher-shell .teacher-tab-button,.teacher-shell .teacher-tab-button.is-active,.teacher-shell .teacher-tab-button:hover{min-height:46px;margin-right:-.5rem;padding:.65rem 1.35rem .6rem .85rem}.teacher-shell .teacher-tab-button.is-active{min-height:52px}}.teacher-shell .class-setup-header:before,.team-writing-intro:before{display:none}.teacher-shell .class-setup-header{padding-left:1.5rem;background:radial-gradient(circle at 90% 18%,rgba(37,99,166,.1),transparent 12rem),linear-gradient(105deg,#fff4ec,#fffdf8 48%,#edf5fb)}.team-writing-intro{padding-left:1.6rem;background:radial-gradient(circle at 92% 5%,rgba(37,99,166,.1),transparent 13rem),linear-gradient(105deg,#fff4ec,#fffdf8 48%,#edf5fb)}.teacher-shell .class-primary-create-panel,.teacher-shell .classroom-list-panel,.teacher-shell .team-session-create-panel,.teacher-shell .team-session-list-panel{border-top:1px solid var(--border)}.teacher-shell .class-primary-create-panel,.teacher-shell .team-session-create-panel{background:linear-gradient(180deg,#fff8f3,#fff 30%)}.teacher-shell .classroom-list-panel,.teacher-shell .team-session-list-panel{background:linear-gradient(180deg,#f4f9fd,#fff 30%)}.teacher-shell .team-session-list-item.is-active{border-color:#c6d9ea;background:#edf5fb;box-shadow:none}.teacher-shell .class-setup-header .eyebrow,.teacher-shell .class-primary-create-panel .eyebrow,.teacher-shell .team-writing-intro .eyebrow,.teacher-shell .team-session-create-panel .eyebrow,.teacher-shell .team-session-list-panel .eyebrow{display:inline-flex;width:max-content;padding:.27rem .52rem;border:0;border-radius:0;background:#e85d2a;color:#fff;line-height:1}.teacher-shell .classroom-list-panel .eyebrow,.teacher-shell .team-session-list-panel .eyebrow{background:#2b6fa9}@media (max-width: 1180px){.team-writing-intro{grid-template-columns:1fr;gap:1.15rem}.team-writing-flow{grid-template-columns:repeat(3,minmax(0,1fr));width:min(100%,620px)}}@media (max-width: 720px){.teacher-shell .class-setup-header,.team-writing-intro{padding-left:1rem}}.teacher-shell .teacher-tab-button,.teacher-shell .teacher-tab-button:hover,.teacher-shell .teacher-tab-button.is-active{z-index:1;overflow:hidden;border:0;border-radius:9px 18px 0 0;background:var(--tab-color);color:#fff;clip-path:polygon(0 0,calc(100% - 18px) 0,100% 100%,0 100%);box-shadow:none}.teacher-shell .teacher-tab-button:before,.teacher-shell .teacher-tab-button:after,.teacher-shell .teacher-tab-button .teacher-tab-label:after{display:none}.teacher-shell .teacher-tab-button:hover{z-index:8;background:var(--tab-color);color:#fff;filter:brightness(1.06)}.teacher-shell .teacher-tab-button.is-active{z-index:10;background:var(--tab-color);color:#fff;filter:none}.teacher-shell .teacher-tab-button .teacher-tab-label,.teacher-shell .teacher-tab-button.is-active .teacher-tab-label,.teacher-shell .teacher-tab-button .teacher-tab-count,.teacher-shell .teacher-tab-button.is-active .teacher-tab-count,.teacher-shell .teacher-tab-team-writing .beta-badge{color:#fff}.team-writing-header-nav .btn,.team-writing-header-nav .btn:first-child{border:0;background:#2b6fa9;color:#fff;box-shadow:none}.teacher-shell .teacher-dashboard-tabs{min-height:64px}.teacher-shell .teacher-tab-button,.teacher-shell .teacher-tab-button:hover,.teacher-shell .teacher-tab-button.is-active,.teacher-shell .teacher-tab-button:active,.teacher-shell .teacher-tab-button:active:not(:disabled){min-height:56px;margin-right:-.25rem;overflow:hidden;border-radius:14px 18px 0 0;background:var(--tab-color);color:#fff;clip-path:none;filter:none;box-shadow:none;transform:translateY(6px);transition:transform .18s cubic-bezier(.2,.75,.25,1),filter .16s ease,opacity .16s ease;-webkit-tap-highlight-color:transparent}.teacher-shell .teacher-tab-button:hover{z-index:8;filter:brightness(1.05);transform:translateY(3px)}.teacher-shell .teacher-tab-button.is-active,.teacher-shell .teacher-tab-button.is-active:hover,.teacher-shell .teacher-tab-button.is-active:active{z-index:10;filter:none;transform:translateY(0)}.teacher-shell .teacher-tab-button:active:not(.is-active){background:var(--tab-color);transform:translateY(2px)}.teacher-tab-panel{animation:teacher-tab-panel-enter .19s cubic-bezier(.2,.75,.25,1) both}@keyframes teacher-tab-panel-enter{0%{opacity:.68;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media (max-width: 720px){.teacher-shell .teacher-dashboard-tabs{min-height:60px}.teacher-shell .teacher-tab-button,.teacher-shell .teacher-tab-button:hover,.teacher-shell .teacher-tab-button.is-active,.teacher-shell .teacher-tab-button:active,.teacher-shell .teacher-tab-button:active:not(:disabled){min-height:52px;border-radius:12px 16px 0 0}}@media (prefers-reduced-motion: reduce){.teacher-shell .teacher-tab-button,.teacher-tab-panel{animation:none;transition:none}}.auth-chip,.usage-chip,.access-chip,.home-status-pill{min-height:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.home-status-pill{color:var(--muted);font-size:.76rem;letter-spacing:.1em;text-transform:uppercase}.role-action{gap:.38rem;padding:0;border:0;border-radius:0;background:transparent;color:var(--brand-deep)}.role-action:after{content:"→";transition:transform .16s ease}.role-card:hover .role-action:after,.role-card:focus-visible .role-action:after{transform:translate(3px)}.form-step legend span{padding:.18rem .38rem;border:0;border-radius:3px;background:color-mix(in srgb,var(--step-color) 11%,#ffffff)}.portfolio-filter-row{border-radius:10px}.writing-task-count-pill,.quick-prompt-class-stats span,.quick-prompt-status-tabs strong,.quick-prompt-total-row span,.quick-prompt-response-count,.confirmation-meta span,.quick-prompt-completion-summary span,.anonymous-summary span,.review-task-count,.teacher-tab-count{min-width:0;min-height:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.writing-task-status-badge,.status-badge,.team-status-pill,.quick-prompt-completion-chip{display:inline-flex;align-items:center;justify-content:flex-start;gap:.4rem;min-width:0;min-height:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;line-height:1.25}.writing-task-status-badge:before,.status-badge:before,.team-status-pill:before,.quick-prompt-completion-chip:before{content:"";width:7px;height:7px;flex:0 0 auto;border-radius:50%;background:currentColor}.status-badge.active,.status-badge.inactive,.status-badge.feedback-draft,.status-badge.feedback-published,.status-badge.feedback-none,.team-status-pill.status-forming,.team-status-pill.status-active,.team-status-pill.status-locked,.team-status-pill.status-ended,.quick-prompt-completion-chip.is-complete,.quick-prompt-completion-chip.has-missing{border:0;border-radius:0;background:transparent;box-shadow:none}.writing-task-open-action{gap:.3rem;min-height:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--brand-deep)}.writing-task-open-action:after{content:"→"}.writing-task-option-card:hover .writing-task-open-action,.writing-task-option-card:focus .writing-task-open-action{border:0;background:transparent;color:var(--brand-deep);text-decoration:underline;text-underline-offset:.18em}.editable-submission-note{display:flex;width:fit-content;padding:.55rem .68rem;border:0;border-radius:6px;background:var(--success-bg)}.beta-badge,.teacher-shell .beta-badge{display:inline;min-height:0;padding:0;border:0;border-radius:0;background:transparent;color:currentColor;font-size:.6em;letter-spacing:.08em;line-height:1;vertical-align:.35em}.quick-prompt-copy-select{border-radius:6px}.quick-prompt-card .class-pill,.quick-prompt-card .resubmission-badge,.quick-prompt-meta-chip,.quick-prompt-card-facts .quick-prompt-advice-chips span,.quick-prompt-advice-chips span,.word-chip-list span,.word-chip-list a,.source-badge,.resubmission-badge,.edited-badge,.class-pill,.lti-moodle-pill{min-height:0;padding:.22rem .38rem;border:0;border-radius:3px;box-shadow:none}.quick-prompt-completion-chip{color:var(--accent)}.quick-prompt-completion-chip.has-missing{color:var(--warning)}.file-label,.selection-toggle{border-radius:6px}.lti-segmented span{min-width:0;padding:0;border-radius:0;background:transparent}.team-column-header span{width:auto;height:auto;padding:0;border-radius:0;background:transparent}.team-editor-stats{gap:.6rem}.team-editor-stats span{min-height:0;padding:0;border-radius:0;background:transparent}.advice-meter,.anonymous-progress-track{border-radius:3px}.teacher-shell .access-chip,.teacher-shell .access-chip.paid,.teacher-shell .usage-chip{min-height:0;padding:0;border:0;border-radius:0;background:transparent}.teacher-shell .quick-prompt-card .status-badge{padding:0;border:0;border-radius:0;background:transparent}.teacher-shell .quick-prompt-card .class-pill,.teacher-shell .quick-prompt-card .resubmission-badge,.teacher-shell .quick-prompt-meta-chip,.teacher-shell .quick-prompt-card-facts .quick-prompt-advice-chips span{border:0;border-radius:3px}.teacher-shell .class-setup-header .eyebrow,.teacher-shell .class-primary-create-panel .eyebrow,.teacher-shell .classroom-list-panel .eyebrow,.teacher-shell .team-writing-intro .eyebrow,.teacher-shell .team-session-create-panel .eyebrow,.teacher-shell .team-session-list-panel .eyebrow{display:block;width:auto;padding:0;border:0;border-radius:0;background:transparent;color:#bd4320;line-height:inherit}.teacher-shell .classroom-list-panel .eyebrow,.teacher-shell .team-session-list-panel .eyebrow{color:#2563a6}:root{--guide-orange: #d9562b;--guide-orange-hover: #b94322;--guide-blue: #2563a6;--guide-blue-hover: #1d5189;--guide-teal: #0f8075;--guide-teal-hover: #0b675f;--guide-purple: #7652b5;--guide-purple-hover: #604096;--guide-slate: #526277;--guide-slate-hover: #3e4b5c}button.action-orange,.btn.action-orange,.teacher-shell button.action-orange,.teacher-shell .btn.action-orange,button.action-blue,.btn.action-blue,.teacher-shell button.action-blue,.teacher-shell .btn.action-blue,button.action-teal,.btn.action-teal,.teacher-shell button.action-teal,.teacher-shell .btn.action-teal,button.action-purple,.btn.action-purple,.teacher-shell button.action-purple,.teacher-shell .btn.action-purple,button.action-slate,.btn.action-slate,.teacher-shell button.action-slate,.teacher-shell .btn.action-slate{border-color:transparent;color:#fff;box-shadow:none}button.action-orange,.btn.action-orange,.teacher-shell button.action-orange,.teacher-shell .btn.action-orange{--action-focus: var(--guide-orange);background:var(--guide-orange)}button.action-blue,.btn.action-blue,.teacher-shell button.action-blue,.teacher-shell .btn.action-blue{--action-focus: var(--guide-blue);background:var(--guide-blue)}button.action-teal,.btn.action-teal,.teacher-shell button.action-teal,.teacher-shell .btn.action-teal{--action-focus: var(--guide-teal);background:var(--guide-teal)}button.action-purple,.btn.action-purple,.teacher-shell button.action-purple,.teacher-shell .btn.action-purple{--action-focus: var(--guide-purple);background:var(--guide-purple)}button.action-slate,.btn.action-slate,.teacher-shell button.action-slate,.teacher-shell .btn.action-slate{--action-focus: var(--guide-slate);background:var(--guide-slate)}button.action-orange:hover,.btn.action-orange:hover,.teacher-shell button.action-orange:hover,.teacher-shell .btn.action-orange:hover{border-color:transparent;background:var(--guide-orange-hover);color:#fff}button.action-blue:hover,.btn.action-blue:hover,.teacher-shell button.action-blue:hover,.teacher-shell .btn.action-blue:hover{border-color:transparent;background:var(--guide-blue-hover);color:#fff}button.action-teal:hover,.btn.action-teal:hover,.teacher-shell button.action-teal:hover,.teacher-shell .btn.action-teal:hover{border-color:transparent;background:var(--guide-teal-hover);color:#fff}button.action-purple:hover,.btn.action-purple:hover,.teacher-shell button.action-purple:hover,.teacher-shell .btn.action-purple:hover{border-color:transparent;background:var(--guide-purple-hover);color:#fff}button.action-slate:hover,.btn.action-slate:hover,.teacher-shell button.action-slate:hover,.teacher-shell .btn.action-slate:hover{border-color:transparent;background:var(--guide-slate-hover);color:#fff}button.action-orange:focus-visible,.btn.action-orange:focus-visible,button.action-blue:focus-visible,.btn.action-blue:focus-visible,button.action-teal:focus-visible,.btn.action-teal:focus-visible,button.action-purple:focus-visible,.btn.action-purple:focus-visible,button.action-slate:focus-visible,.btn.action-slate:focus-visible{outline:3px solid color-mix(in srgb,var(--action-focus) 55%,#ffffff);outline-offset:2px}.student-card{background:linear-gradient(145deg,#f2f7ff,#eef9f7)}.teacher-card{background:linear-gradient(145deg,#fff5ee,#fffaf4 52%,#f1f8f6)}.student-card .role-kicker,.student-card .role-action{color:var(--guide-blue)}.teacher-card .role-kicker,.teacher-card .role-action{color:var(--guide-orange)}.student-form-panel{background:linear-gradient(145deg,#f8fbff,#fff 42%,#f7fcfa)}.student-form-panel .form-step input,.student-form-panel .form-step select,.student-form-panel .form-step textarea{border-color:color-mix(in srgb,var(--step-color) 30%,#d5d9df);background:color-mix(in srgb,var(--step-bg) 68%,#ffffff);caret-color:var(--step-color)}.student-form-panel .form-step input:focus,.student-form-panel .form-step select:focus,.student-form-panel .form-step textarea:focus{border-color:var(--step-color);background:#fff;box-shadow:0 0 0 3px color-mix(in srgb,var(--step-color) 16%,transparent)}.student-helper-panel{background:linear-gradient(155deg,#fffaf3,#f4f8ff 58%,#f1faf7)}.normal-writing-goals-panel{background:#f7f3fc}.quick-prompt-mini-panel{background:#eef6fb}.team-writing-mini-panel{background:#f3effa}.teacher-shell .class-primary-create-panel input{border-color:#edc2ae;background:#fff6f0;caret-color:var(--guide-orange)}.teacher-shell .class-primary-create-panel input:focus{border-color:var(--guide-orange);background:#fff;box-shadow:0 0 0 3px #d9562b24}.teacher-shell .classroom-list-panel select,.teacher-shell .classroom-picker select{border-color:#b8cee2;background:#f0f7fd}.teacher-shell .classroom-list-panel select:focus,.teacher-shell .classroom-picker select:focus{border-color:var(--guide-blue);background:#fff;box-shadow:0 0 0 3px #2563a624}.teacher-shell .classroom-code-value{border:0;background:#fff0e7;color:#b54220}.teacher-shell .quick-prompt-form{background:linear-gradient(145deg,#fff7f1,#fff 55%,#f5f2fb)}.teacher-shell .quick-prompt-form input,.teacher-shell .quick-prompt-form textarea{border-color:#ecc8b8;background:#fff8f3;caret-color:var(--guide-orange)}.teacher-shell .quick-prompt-form select{border-color:#b9cee2;background:#f0f7fd}.teacher-shell .quick-prompt-form input:focus,.teacher-shell .quick-prompt-form textarea:focus{border-color:var(--guide-orange);background:#fff;box-shadow:0 0 0 3px #d9562b21}.teacher-shell .quick-prompt-form select:focus{border-color:var(--guide-blue);background:#fff;box-shadow:0 0 0 3px #2563a621}.teacher-shell .quick-prompt-mode-toggle button:nth-child(1).is-active{background:#fff0e7;color:#a94325}.teacher-shell .quick-prompt-mode-toggle button:nth-child(2).is-active{background:#e8f6f2;color:#0b6d62}.teacher-shell .quick-prompt-export-controls select,.teacher-shell .review-filter-panel input,.teacher-shell .review-filter-panel select{border-color:#bdcfe2;background:#f2f7fc}.teacher-shell .review-filter-panel{background:linear-gradient(145deg,#f2f7fd,#fff 72%)}.teacher-shell .settings-card input,.teacher-shell .settings-card select,.teacher-shell .settings-card textarea,.teacher-shell .feedback-tool-panel textarea{border-color:#cfc3e2;background:#f8f5fc;caret-color:var(--guide-purple)}.teacher-shell .settings-card input:focus,.teacher-shell .settings-card select:focus,.teacher-shell .settings-card textarea:focus,.teacher-shell .feedback-tool-panel textarea:focus{border-color:var(--guide-purple);background:#fff;box-shadow:0 0 0 3px #7652b521}.teacher-shell .team-session-create-panel .team-form-class-field select{border-color:#b9cee2;background:#eff7fd}.teacher-shell .team-session-create-panel .team-form-field:nth-child(2) select{border-color:#cfc3e2;background:#f6f2fb}.teacher-shell .team-session-create-panel .team-form-field:nth-child(3) input{border-color:#edc2ae;background:#fff6f0}.teacher-shell .team-session-create-panel .team-form-count-field input{border-color:#abd4ce;background:#eef9f6}.teacher-shell .team-session-create-panel textarea{border-color:#e8c9a7;background:#fff9ef}.team-join-card{background:linear-gradient(145deg,#eef6fd,#fff 48%,#eef9f6)}.team-join-card .team-session-form label:nth-child(1) input{border-color:#b7cfe3;background:#eef6fd}.team-join-card .team-session-form label:nth-child(2) input{border-color:#acd5ce;background:#eef9f6}.team-join-card .team-session-form label:nth-child(3) input{border-color:#edc4b1;background:#fff6f0}.team-shared-textarea{border-color:#a9d2cb;background:#f1faf7;caret-color:var(--guide-teal)}.team-shared-textarea:focus{border-color:var(--guide-teal);background:#fff;box-shadow:0 0 0 4px #0f807521}.anonymous-grader-panel{background:linear-gradient(145deg,#f7f3fc,#fff 58%,#f1f7fc)}.anonymous-generate-panel textarea{border-color:#cfc3e2;background:#f8f5fc;caret-color:var(--guide-purple)}.anonymous-generate-panel textarea:focus{border-color:var(--guide-purple);background:#fff;box-shadow:0 0 0 3px #7652b521}.teacher-shell .anonymous-generate-panel .ai-action{border-color:transparent;background:var(--guide-purple);color:#fff}.teacher-shell .anonymous-generate-panel .ai-action:hover{background:var(--guide-purple-hover)}.export-page-shell .filter-panel{background:linear-gradient(145deg,#f1f7fd,#fff 62%,#f1faf7)}.export-page-shell .filter-panel select{border-color:#b8cee2;background:#f0f7fd}.export-page-shell .toggle-row:nth-of-type(1){background:#eef9f6}.export-page-shell .toggle-row:nth-of-type(2){background:#f6f2fb}.lti-activity-form{background:linear-gradient(145deg,#fff7f1,#fff 58%,#eef7fd)}.lti-activity-form input,.lti-activity-form textarea,.lti-activity-form select{border-color:#e5c4b5;background:#fff8f3}.lti-shell.student-page-shell .student-form-panel button[type=submit]{border-color:transparent;background:var(--guide-teal);color:#fff}@media (prefers-contrast: more){.student-form-panel .form-step input,.student-form-panel .form-step select,.student-form-panel .form-step textarea,.teacher-shell input,.teacher-shell select,.teacher-shell textarea{border-width:2px}}.team-writing-student-shell{width:100%;max-width:1180px}.team-writing-student-shell>.page-header.compact{align-items:flex-start;margin-bottom:1.15rem}.team-writing-student-shell>.page-header.compact h1{max-width:none;margin-bottom:.65rem;font-size:clamp(2.35rem,4.8vw,3.25rem)}.team-writing-student-shell>.page-header.compact .page-copy{max-width:66ch;font-size:1rem}.team-writing-student-shell .team-join-card{width:100%;padding:1.35rem 1.45rem 1.45rem;border-color:#d7e1e8;background:radial-gradient(circle at 100% 0%,rgba(37,99,166,.08),transparent 19rem),linear-gradient(145deg,#f8fbff,#fff 45%,#f3faf7)}.team-writing-student-shell .team-join-card h2{margin-bottom:1rem;font-size:clamp(1.55rem,2.6vw,2rem)}.team-writing-student-shell .team-join-card .team-session-form{grid-template-columns:minmax(210px,.9fr) minmax(250px,1.1fr) minmax(160px,.7fr);gap:1rem;align-items:end}.team-writing-student-shell .team-join-card .team-session-form label{gap:.45rem}.team-writing-student-shell .team-join-card .team-session-form label:nth-child(1) input{border-color:#9ebfdc;background:#eaf4fc;caret-color:var(--guide-blue)}.team-writing-student-shell .team-join-card .team-session-form label:nth-child(2) input{border-color:#91c8be;background:#e9f7f3;caret-color:var(--guide-teal)}.team-writing-student-shell .team-join-card .team-session-form label:nth-child(3) input{border-color:#e5b69f;background:#fff1e9;caret-color:var(--guide-orange)}.team-writing-student-shell .team-join-card .team-session-form input:focus{background:#fff}.team-writing-student-shell .team-join-card .button-row{grid-column:1 / -1;justify-content:flex-start;margin-top:.15rem}.team-writing-student-shell .team-join-card button[type=submit].action-teal{min-width:230px;min-height:46px;border-radius:10px;background:var(--guide-teal);color:#fff;box-shadow:none}.team-writing-student-shell .team-join-card button[type=submit].action-teal:hover{background:var(--guide-teal-hover)}.team-writing-student-shell .teacher-header-nav .btn{border-color:transparent;background:#eaf3fb;color:#245f94}.team-writing-student-shell .teacher-header-nav button{background:#fff}@media (max-width: 900px){.team-writing-student-shell .team-join-card .team-session-form{grid-template-columns:repeat(2,minmax(0,1fr))}.team-writing-student-shell .team-join-card .team-session-form label:nth-child(3){grid-column:1 / -1}}@media (max-width: 640px){.team-writing-student-shell .team-join-card{padding:1.05rem}.team-writing-student-shell .team-join-card .team-session-form{grid-template-columns:1fr}.team-writing-student-shell .team-join-card .team-session-form label:nth-child(3),.team-writing-student-shell .team-join-card .button-row{grid-column:1}.team-writing-student-shell .team-join-card button[type=submit].action-teal{width:100%}}.teacher-shell .review-toolbar{margin-bottom:.85rem;padding:1.15rem 1.25rem}.review-toolbar-head,.review-assisted-settings-head,.review-inbox-head,.review-detail-head,.review-detail-section-head,.review-composer-head,.review-composer-actions{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.review-toolbar-head h2,.review-assisted-settings-head h2,.review-inbox-head h2,.review-detail-head h2,.review-detail-section-head h3,.review-composer-head h3{margin:.12rem 0 0}.review-toolbar-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.5rem}.review-privacy-toggle{display:inline-flex;align-items:center;gap:.45rem;min-height:38px;margin:0;padding:.45rem .68rem;border:1px solid var(--border);border-radius:8px;color:var(--muted);font-size:.82rem;font-weight:700}.review-privacy-toggle input{width:16px;height:16px;min-height:0;margin:0}.review-primary-filters{display:grid;grid-template-columns:minmax(240px,1.35fr) minmax(150px,.7fr) minmax(250px,1.2fr) auto;gap:.65rem;align-items:end;margin-top:1rem}.review-advanced-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem;margin-top:.7rem;padding-top:.7rem;border-top:1px solid var(--border)}.review-filter-field{min-width:0}.review-filter-field label{display:block;margin:0 0 .3rem;color:var(--muted);font-size:.72rem;font-weight:760;letter-spacing:.06em;text-transform:uppercase}.review-filter-field input,.review-filter-field select{width:100%;min-width:0;min-height:42px}.review-filter-summary{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;margin-top:.7rem}.review-filter-summary>span{margin-right:.15rem;color:var(--muted);font-size:.8rem;font-weight:700}.teacher-shell .review-filter-summary button{min-height:30px;padding:.28rem .55rem;border-color:#d9e1eb;background:#f7f9fc;color:#4f5e70;font-size:.76rem}.teacher-shell .review-filter-summary .review-clear-filters{border-color:transparent;background:transparent;color:var(--brand-deep)}.review-assisted-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:320;display:flex;justify-content:flex-end;background:#0f172a57;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.teacher-shell .review-assisted-settings{width:min(620px,calc(100vw - 2rem));height:100%;max-height:100vh;margin:0;padding:1.25rem;overflow-y:auto;border-width:0 0 0 4px;border-left-color:#7256a8;border-radius:14px 0 0 14px;box-shadow:-18px 0 46px #0f172a33;animation:review-assisted-drawer-enter .18s ease-out both}.review-assisted-settings .ai-instructions-grid{margin-top:.8rem}.review-assisted-settings-footer{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-top:1rem;padding-top:1rem;border-top:1px solid var(--border)}.review-assisted-settings-footer .field-hint{margin:0}.review-assist-status{margin:.65rem 0 0}@keyframes review-assisted-drawer-enter{0%{opacity:.72;transform:translate(24px)}to{opacity:1;transform:translate(0)}}.review-workspace{display:grid;grid-template-columns:minmax(320px,390px) minmax(0,1fr);gap:.85rem;align-items:start}.review-workspace.is-inbox-collapsed{grid-template-columns:minmax(0,1fr)}.review-workspace.is-inbox-collapsed .review-inbox{display:none}.teacher-shell .review-inbox,.teacher-shell .review-detail-pane{min-width:0;padding:0;overflow:hidden}.review-inbox{position:sticky;top:.75rem;display:flex;flex-direction:column;max-height:calc(100vh - 1.5rem)}.review-inbox-head{align-items:center;padding:1rem;border-bottom:1px solid var(--border)}.review-inbox-head h2{font-size:1.15rem}.review-inbox-head-actions{display:flex;gap:.4rem}.teacher-shell .review-inbox-head-actions button{min-height:34px;padding:.35rem .55rem;font-size:.74rem}.teacher-shell .review-collapse-inbox{color:var(--muted)}.review-bulk-bar{display:grid;gap:.6rem;padding:.75rem;border-bottom:1px solid #dfd5b6;background:#fffaf0}.review-bulk-bar>div{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem}.review-bulk-bar strong{margin-right:auto;font-size:.84rem}.teacher-shell .review-bulk-bar button{min-height:32px;padding:.32rem .52rem;font-size:.75rem}.review-bulk-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))}.review-selected-task{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:.5rem;align-items:center;padding:.65rem .8rem;border-bottom:1px solid var(--border);background:#f3f7fc}.review-selected-task strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.82rem}.review-selected-task span{color:var(--muted);font-size:.74rem}.teacher-shell .review-selected-task button{min-height:28px;padding:.22rem .45rem;font-size:.72rem}.review-inbox-scroll{min-height:180px;overflow-y:auto;overscroll-behavior:contain}.review-inbox-groups{display:grid}.review-inbox-group{border-bottom:1px solid var(--border)}.review-inbox-group-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.4rem;padding:.35rem;background:#fafbfc}.teacher-shell .review-inbox-group-toggle{display:flex;justify-content:space-between;align-items:center;gap:.75rem;width:100%;min-width:0;min-height:48px;padding:.45rem .55rem;border:0;background:transparent;color:var(--text-strong);text-align:left}.review-inbox-group-toggle>span:first-child{display:grid;min-width:0}.review-inbox-group-toggle strong,.review-inbox-group-toggle small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.review-inbox-group-toggle strong{font-size:.84rem}.review-inbox-group-toggle small{margin-top:.1rem;color:var(--muted);font-size:.7rem}.teacher-shell .review-select-group{min-height:30px;padding:.25rem .45rem;font-size:.7rem}.review-inbox-static-heading{display:flex;justify-content:space-between;padding:.65rem .85rem;background:#fafbfc;color:var(--muted);font-size:.75rem;text-transform:uppercase}.review-inbox-row{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:stretch;border-top:1px solid #edf0f4;background:#fff}.review-inbox-row:first-child{border-top:0}.review-inbox-row:hover{background:#f8fafc}.review-inbox-row.is-current{background:#eef5fc;box-shadow:inset 4px 0 #2563a6}.review-row-select{display:grid;place-items:center;width:38px;margin:0}.review-row-select input{width:16px;height:16px;min-height:0;margin:0}.teacher-shell .review-inbox-row-button{display:grid;gap:.25rem;min-width:0;padding:.75rem .8rem;border:0;border-radius:0;background:transparent;color:inherit;text-align:left}.teacher-shell .review-inbox-row-button:hover{background:transparent}.review-inbox-row-topline{display:flex;justify-content:space-between;align-items:center;gap:.55rem;min-width:0}.review-inbox-row-topline strong,.review-inbox-row-title,.review-inbox-row-meta{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.review-inbox-row-topline strong{font-size:.84rem}.review-inbox-row-topline .status-badge{flex:0 0 auto;font-size:.68rem}.review-inbox-row-title{color:var(--text-strong);font-size:.8rem}.review-inbox-row-meta{color:var(--muted);font-size:.7rem}.review-inbox-footer{padding:.55rem .8rem;border-top:1px solid var(--border);color:var(--muted);font-size:.7rem}.review-detail-pane{min-height:560px}.review-detail-card{padding:1.3rem}.review-detail-head{padding-bottom:1rem;border-bottom:1px solid var(--border)}.review-detail-head h2{margin-top:.55rem;font-size:clamp(1.3rem,2vw,1.7rem)}.review-detail-student{margin:.35rem 0 0;color:var(--muted);font-size:.86rem}.review-detail-head-actions{display:grid;justify-items:end;gap:.65rem}.review-response-nav{display:inline-flex;align-items:center;gap:.35rem}.review-response-nav span{min-width:62px;color:var(--muted);font-size:.74rem;text-align:center}.teacher-shell .review-response-nav button{width:34px;min-height:32px;padding:0}.teacher-shell .review-show-inbox{min-height:32px;padding:.32rem .58rem;color:var(--brand-deep);font-size:.75rem}.review-detail-mobile-nav{display:none}.review-grading-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);gap:1rem;align-items:start;margin-top:1rem}.review-source-pane,.review-grading-layout>.feedback-editor{min-width:0}.review-source-pane{position:sticky;top:.75rem}.review-detail-section-head{align-items:center;margin:0 0 .65rem}.review-detail-section-head h3{font-size:1.02rem}.review-writing-body{min-height:360px;max-height:calc(100vh - 265px);overflow-y:auto;overscroll-behavior:contain;border-radius:10px;background:#fbfcfe}.review-more-menu{position:relative}.review-more-menu summary,.review-translation-tools summary{cursor:pointer;color:var(--brand-deep);font-size:.82rem;font-weight:700;list-style:none}.review-more-menu summary::-webkit-details-marker,.review-translation-tools summary::-webkit-details-marker{display:none}.review-more-menu-content{position:absolute;z-index:20;top:calc(100% + .4rem);right:0;display:grid;width:190px;padding:.45rem;border:1px solid var(--border);border-radius:10px;background:#fff;box-shadow:0 12px 30px #0f172a24}.teacher-shell .review-more-menu-content button,.teacher-shell .review-more-menu-content .btn{justify-content:flex-start;min-height:36px;padding:.45rem .55rem;border-color:transparent;background:transparent;text-align:left}.review-translation-tools{margin-top:.8rem;padding:.75rem 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.review-translation-controls{display:flex;align-items:center;gap:.6rem;margin-top:.65rem}.review-detail-card .feedback-editor{margin-top:0;padding:1rem;border:1px solid var(--border);border-radius:10px;background:#fbfcfe}.review-composer-head{align-items:center;margin-bottom:.8rem}.review-composer-head h3{font-size:1.05rem}.review-grade-row{display:grid;grid-template-columns:auto minmax(120px,1fr) auto;gap:.55rem;align-items:center}.review-grade-row label,.review-detail-card .feedback-editor-head label{margin:0;color:var(--text-strong);font-size:.84rem;font-weight:700}.review-grade-row input{min-height:40px}.review-detail-card .feedback-editor-head{margin:.85rem 0 .45rem}.teacher-shell .review-detail-card .feedback-editor-head button,.teacher-shell .review-grade-row button,.teacher-shell .review-composer-head button{min-height:36px;padding:.42rem .65rem;font-size:.78rem}.review-detail-card textarea{min-height:240px;resize:vertical}.review-composer-actions{align-items:center;margin-top:.65rem}.review-composer-actions .field-hint{margin:0}.review-detail-empty{display:grid;place-content:center;min-height:560px}@media (max-width: 1100px){.review-workspace{grid-template-columns:minmax(290px,340px) minmax(0,1fr)}.review-grading-layout{grid-template-columns:1fr}.review-source-pane{position:static}.review-writing-body{min-height:240px;max-height:42vh}.review-primary-filters{grid-template-columns:minmax(220px,1fr) minmax(140px,.65fr) minmax(210px,1fr) auto}.review-advanced-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.review-detail-card{padding:1rem}}@media (max-width: 760px){.review-toolbar-head,.review-assisted-settings-head,.review-detail-head,.review-detail-section-head,.review-composer-head,.review-composer-actions{flex-direction:column;align-items:stretch}.review-toolbar-actions{justify-content:flex-start}.review-primary-filters,.review-advanced-filters{grid-template-columns:1fr}.teacher-shell .review-assisted-settings{width:100%;border-left-width:0;border-radius:0}.review-assisted-settings-footer{align-items:stretch;flex-direction:column}.review-workspace{display:block}.review-workspace.is-inbox-collapsed .review-inbox{display:flex}.review-collapse-inbox,.review-show-inbox{display:none}.review-inbox{position:static;max-height:none}.review-workspace .review-detail-pane,.review-workspace.has-explicit-selection .review-inbox{display:none}.review-workspace.has-explicit-selection .review-detail-pane{display:block}.review-detail-mobile-nav{display:block;margin-bottom:.75rem}.teacher-shell .review-detail-mobile-nav button{padding-left:0;border-color:transparent;background:transparent;color:var(--brand-deep)}.review-detail-head-actions{justify-items:start}.review-inbox-scroll{max-height:none}.review-writing-body{min-height:190px;max-height:none}.review-grade-row{grid-template-columns:1fr}.review-translation-controls{align-items:stretch;flex-direction:column}.review-bulk-actions{grid-template-columns:1fr!important}.review-composer-actions .button-row,.review-composer-actions .button-row>*{width:100%}.review-detail-pane,.review-detail-empty{min-height:0}}.teacher-shell .quick-prompt-template-gallery{width:min(100%,900px);gap:.75rem}.teacher-shell .quick-prompt-template-card{grid-template-columns:34px minmax(0,1fr);min-width:0;min-height:88px;padding:.85rem 1rem;overflow:visible;border:0;border-radius:10px;text-align:left;white-space:normal}.teacher-shell .quick-prompt-template-card-essay{background:#eaf3fb}.teacher-shell .quick-prompt-template-card-reflection{background:#e8f6f2}.teacher-shell .quick-prompt-template-card-creative{background:#f3eef9}.teacher-shell .quick-prompt-template-card-essay:hover{background:#dcecf8}.teacher-shell .quick-prompt-template-card-reflection:hover{background:#d9eee8}.teacher-shell .quick-prompt-template-card-creative:hover{background:#e9e0f4}.teacher-shell .quick-prompt-template-icon{width:28px;height:28px;border-radius:6px;background:#fff}.teacher-shell .quick-prompt-template-card-reflection .quick-prompt-template-icon{color:var(--guide-teal)}.teacher-shell .quick-prompt-template-card-creative .quick-prompt-template-icon{color:var(--guide-purple)}.teacher-shell .quick-prompt-template-card strong,.teacher-shell .quick-prompt-template-card small{display:block;max-width:100%;white-space:normal;overflow-wrap:break-word}.teacher-shell .quick-prompt-template-card strong{font-size:.95rem;line-height:1.2}.teacher-shell .quick-prompt-template-card small{font-size:.8rem;line-height:1.35}@media (max-width: 820px){.teacher-shell .quick-prompt-template-gallery{grid-template-columns:1fr;width:min(100%,520px)}}.teacher-shell .class-live-presence{margin:1rem 0;padding:1rem;border:1px solid rgba(15,128,117,.16);border-radius:10px;background:#ffffffc7}.class-live-presence-head,.student-roster-live-summary{display:flex;align-items:center;gap:.55rem}.class-live-presence-head{justify-content:space-between}.class-live-presence-head>div{display:flex;align-items:center;gap:.5rem}.class-live-presence-head>span,.student-roster-live-summary>span:last-child{color:var(--muted);font-size:.78rem}.class-presence-dot{display:inline-block;flex:0 0 auto;width:9px;height:9px;border-radius:50%;background:#aeb6c2}.class-presence-dot.is-online{background:#14805f;box-shadow:0 0 0 3px #14805f1f}.class-live-presence-empty,.class-live-presence-more{margin-top:.75rem;color:var(--muted);font-size:.84rem}.class-live-student-list{display:grid;margin-top:.75rem;border-top:1px solid rgba(15,128,117,.12)}.class-live-student-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1rem;padding:.7rem 0;border-bottom:1px solid rgba(15,128,117,.1)}.class-live-student-row:last-child{border-bottom:0}.class-live-student-row div{min-width:0}.class-live-student-row strong,.class-live-student-row span{display:block}.class-live-student-row div>span{margin-top:.12rem;overflow-wrap:anywhere;color:var(--muted);font-size:.78rem}.class-live-student-row>span{color:#0b6d62;font-size:.78rem;font-weight:700;white-space:nowrap}.student-roster-live-summary{margin-top:.55rem}.student-row-identity{display:flex;align-items:flex-start;gap:.7rem;min-width:0}.student-row-identity .class-presence-dot{margin-top:.42rem}.student-row-identity>div{min-width:0}.student-row-email{display:block;margin-top:.12rem;overflow-wrap:anywhere;color:#245f94;font-size:.82rem}.student-row.is-online .student-row-name{color:#0b6d62}@media (max-width: 640px){.class-live-presence-head,.class-live-student-row,.student-row{align-items:flex-start}.class-live-presence-head{flex-direction:column}.class-live-student-row{grid-template-columns:1fr;gap:.25rem}.class-live-student-row>span{padding-left:0;white-space:normal}.student-row{flex-direction:column}}
