:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#17202a;font-synthesis:none;text-rendering:optimizelegibility;background:#f6f7f9;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.65}.app-shell{min-height:100vh}.topbar{background:#fff;border-bottom:1px solid #dfe4ea;justify-content:space-between;align-items:center;min-height:68px;padding:0 24px;display:flex}.brand,.topbar-actions,.icon-text,.language-select,.section-kicker,.session-actions,.page-controls,.mode-row,.activity-actions,.mode-pill{align-items:center;gap:10px;display:flex}.brand-mark{color:#fff;background:#123c69;border-radius:8px;place-items:center;width:42px;height:42px;display:grid}.brand strong{font-size:18px;display:block}.brand span{color:#64748b;margin-top:2px;font-size:13px;display:block}.language-select{background:#f1f5f9;border:1px solid #d7dee8;border-radius:8px;padding:8px 10px}.language-select select{background:0 0;border:0;outline:0}.login-page{place-items:center;min-height:calc(100vh - 68px);padding:28px;display:grid}.login-panel{background:#fff;border:1px solid #dde3ea;border-radius:8px;width:100%;max-width:440px;padding:32px;box-shadow:0 20px 60px #0f172a14}.login-panel h1,.hero-strip h2,.student-header h2{margin:10px 0 8px}.login-panel p,.hero-strip p,.student-header p,.hint,.activity-card p,.results-box p{color:#64748b;margin:0}.student-identity{color:#334155;margin-top:8px;font-size:14px;font-weight:600}.login-form{gap:14px;margin-top:24px;display:grid}.login-form label{color:#334155;gap:7px;font-size:14px;display:grid}.login-form input{border:1px solid #cbd5e1;border-radius:8px;padding:12px}.form-error{color:#be123c;background:#fff1f2;border:1px solid #fecdd3;border-radius:8px;padding:10px 12px}.theme-choice{background:#f1f5f9;border:1px solid #d7dee8;border-radius:8px;grid-template-columns:1fr 1fr;gap:6px;margin-top:20px;padding:5px;display:grid}.theme-choice button{color:#334155;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;gap:8px;min-height:36px;display:flex}.theme-choice button.active{color:#fff;background:#176b87}.compact-theme-choice{min-width:190px;margin-top:0}.compact-theme-choice button{min-height:34px;padding:0 10px}.primary,.secondary,.ghost,.danger,.icon-only,.upload-button{border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:38px;padding:9px 13px;display:inline-flex}.primary{color:#fff;background:#176b87}.secondary{color:#145369;background:#e8f4f8;border-color:#b9dce7}.danger{color:#be123c;background:#fff1f2;border-color:#fecdd3}.ghost,.icon-only{color:#334155;background:#fff;border-color:#d8e0e8}.icon-only{width:38px;height:38px;padding:0}.wide{width:100%}.workspace{grid-template-columns:220px 1fr;min-height:calc(100vh - 68px);display:grid}.sidebar{color:#d7e2ea;background:#102331;padding:22px 14px}.nav-title{color:#93a8b7;text-transform:uppercase;margin:0 8px 16px;font-size:12px}.nav-item{border-radius:8px;align-items:center;gap:10px;margin-bottom:6px;padding:11px 10px;display:flex}.nav-item.active,.nav-item:hover{color:#fff;background:#1d3a4e}.main-grid,.student-page{padding:22px}.hero-strip,.student-header,.panel{background:#fff;border:1px solid #dce3ea;border-radius:8px}.hero-strip,.student-header{justify-content:space-between;align-items:center;margin-bottom:18px;padding:20px;display:flex}.section-kicker{color:#176b87;letter-spacing:0;text-transform:uppercase;font-size:12px;font-weight:700}.teacher-layout{grid-template-columns:minmax(220px,.8fr) minmax(420px,1.7fr) minmax(260px,1fr);gap:16px;display:grid}.student-layout{grid-template-columns:minmax(0,1.5fr) minmax(300px,.8fr);gap:16px;display:grid}.panel{min-width:0;padding:16px}.panel-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.panel h3{margin:0}.preview-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.upload-cluster{align-items:stretch;gap:8px;min-width:180px;display:grid}.group-select{gap:4px;display:grid}.group-select span{color:#64748b;font-size:12px;font-weight:700}.group-select select{background:#fff;border:1px solid #cbd5e1;border-radius:8px;min-height:38px;padding:8px 10px}.upload-button{color:#246b36;background:#eef6ee;border-color:#c9e6c9;position:relative;overflow:hidden}.upload-button input{opacity:0;position:absolute;inset:0}.activity-list,.option-list{gap:10px;display:grid}.material-list{gap:6px;margin-left:14px;padding-left:14px;display:grid;position:relative}.material-tree{gap:2px;margin-top:14px;display:grid}.material-group{border-left:2px solid #d8e0e8;padding:0 0 8px 10px;position:relative}.material-group summary{cursor:pointer;justify-content:space-between;align-items:center;gap:8px;padding:8px 0 8px 2px;font-weight:700;list-style:none;display:flex}.material-group summary::-webkit-details-marker{display:none}.material-group summary:before{color:#176b87;content:"▾";width:14px;font-size:13px}.material-group:not([open]) summary:before{content:"▸"}.material-group summary small{color:#475569;text-align:center;background:#eef6fb;border-radius:999px;min-width:24px;padding:2px 8px}.material-group .material-list{margin:0 0 0 7px;padding:0 0 0 16px}.material-list:before{content:"";background:#d8e0e8;width:1px;position:absolute;inset:0 auto 8px 0}.material-row{color:#17202a;text-align:left;background:0 0;border:1px solid #0000;border-radius:6px;grid-template-columns:minmax(0,1fr) 32px;align-items:start;gap:8px;padding:5px;display:grid;position:relative}.material-row:before{content:"";background:#d8e0e8;width:16px;height:1px;position:absolute;top:21px;left:-16px}.material-row:hover{background:#f8fafc;border-color:#e2e8f0}.material-row.active{background:#e8f4f8;border-color:#86c5d7}.material-row small{color:#64748b}.material-select{color:inherit;text-align:left;background:0 0;border:0;gap:4px;min-width:0;padding:4px 4px 4px 9px;display:grid}.material-select span,.material-select small{overflow-wrap:anywhere}.material-remove{width:30px;height:30px;min-height:30px}.material-preview{aspect-ratio:16/10;background:#edf2f7;border:1px solid #d8e0e8;border-radius:8px;justify-content:center;align-items:center;min-height:280px;display:flex;overflow:hidden}.material-preview iframe,.material-preview video{border:0;width:100%;height:100%}.document-placeholder{color:#475569;text-align:center;place-items:center;gap:8px;padding:26px;display:grid}.document-placeholder strong{color:#17202a}.mode-row{margin-top:14px}.delivery-focus{background:#f8fafc;border:1px solid #dce3ea;border-radius:8px;gap:12px;margin-top:14px;padding:14px;display:grid}.delivery-focus.live{background:#eef8fb;border-color:#86c5d7}.delivery-focus-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.delivery-focus-header h3{margin:4px 0 0}.delivery-focus-header small{color:#176b87;text-transform:uppercase;font-size:12px;font-weight:800}.delivery-focus p{color:#334155;margin:0}.delivery-focus em{color:#64748b;font-size:13px;font-style:normal}.activity-design-box{background:#fff;border:1px solid #dce3ea;border-radius:8px;gap:10px;padding:12px;display:grid}.activity-design-box>strong{color:#17202a;font-size:13px}.teacher-choice-list,.teacher-match-grid{gap:8px;display:grid}.teacher-choice-row{grid-template-columns:28px 1fr;align-items:start;gap:9px;display:grid}.teacher-choice-row span{color:#145369;background:#e8f4f8;border:1px solid #b9dce7;border-radius:999px;justify-content:center;align-items:center;width:28px;height:28px;font-size:12px;font-weight:800;display:inline-flex}.teacher-choice-row p{margin:4px 0 0}.open-response-row p{color:#64748b}.teacher-keyword-examples{background:#f6fbfa;border:1px solid #d8e8e5;border-radius:8px;flex-wrap:wrap;gap:10px;min-height:64px;padding:12px;display:flex}.teacher-keyword-examples span{color:#145369;background:#fff;border:1px solid #b9dce7;border-radius:999px;align-items:center;min-height:34px;padding:7px 13px;font-weight:800;display:inline-flex}.teacher-match-grid{grid-template-columns:1fr 1fr}.teacher-match-grid>div{gap:7px;display:grid}.teacher-match-grid span{color:#334155;background:#f8fafc;border:1px solid #dce3ea;border-radius:6px;padding:8px 10px;font-size:13px}.delivery-focus .results-box{margin-top:0}.student-material-strip{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;margin-bottom:12px;display:grid}.student-material-chip{color:#17202a;text-align:left;background:#f8fafc;border:1px solid #dce3ea;border-radius:8px;gap:4px;min-height:58px;padding:10px;display:grid}.student-material-chip.active{background:#e8f4f8;border-color:#86c5d7}.student-material-chip span{overflow-wrap:anywhere}.student-material-chip small{color:#64748b;text-transform:uppercase}.activity-card{cursor:pointer;border:1px solid #dce3ea;border-radius:8px;padding:12px;transition:border-color .16s,box-shadow .16s,transform .16s}.activity-card.focused{background:#f8fafc;border-color:#9ccfdd}.activity-card.active{border-color:#176b87;box-shadow:0 0 0 3px #176b871f}.activity-card:hover{transform:translateY(-1px)}.activity-card-top{align-items:center;gap:8px;margin-bottom:8px;display:flex}.activity-step{color:#fff;background:#176b87;border-radius:999px;justify-content:center;align-items:center;width:24px;height:24px;font-size:12px;font-weight:800;display:inline-flex}.activity-card-top small{color:#176b87;text-transform:uppercase;font-weight:800}.live-now-pill{color:#176145;text-transform:uppercase;background:#dff3ea;border:1px solid #a8dbc6;border-radius:999px;margin-left:auto;padding:3px 8px;font-size:11px;font-weight:800}.activity-card em{color:#64748b;margin-bottom:10px;font-size:13px;font-style:normal;display:block}.delivery-focus-tools{align-items:center;gap:8px;margin-left:auto;display:flex}.activity-editor{gap:10px;display:grid}.activity-editor label{gap:5px;display:grid}.activity-editor span{color:#64748b;font-size:12px;font-weight:800}.activity-editor input,.activity-editor textarea{color:#17202a;font:inherit;resize:vertical;background:#fff;border:1px solid #ccd6df;border-radius:8px;width:100%;min-width:0;padding:9px 10px}.activity-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.ai-actions{gap:8px;min-width:190px;display:grid}.generation-progress{background:#f8fafc;border:1px solid #dce3ea;border-radius:8px;gap:7px;padding:9px;display:grid}.generation-progress>div:first-child{color:#475569;justify-content:space-between;align-items:center;font-size:12px;font-weight:700;display:flex}.generation-track{background:#e2e8f0;border-radius:999px;height:9px;overflow:hidden}.generation-track div{border-radius:inherit;background:linear-gradient(90deg,#176b87,#7ac7a4);height:100%;transition:width .32s}.ai-provider-pill{color:#475569;background:#f1f5f9;border:1px solid #d8e0e8;border-radius:8px;padding:7px 9px;font-size:12px;font-weight:700}.ai-config-grid{border:1px solid #dce3ea;border-radius:8px;gap:8px;padding:9px;display:grid}.ai-config-grid label{gap:4px;display:grid}.ai-config-grid span{color:#64748b;font-size:12px;font-weight:700}.ai-config-grid input,.ai-config-grid select{border:1px solid #cbd5e1;border-radius:8px;width:100%;min-height:36px;padding:8px 9px}.ai-config-buttons{grid-template-columns:1fr 1fr;gap:8px;display:grid}.lesson-plan-draft{background:#f8fafc;border:1px solid #dce3ea;border-radius:8px;gap:12px;margin-bottom:14px;padding:12px;display:grid}.lesson-plan-draft p{color:#64748b;margin:0}.plan-activity-list{gap:8px;max-height:260px;display:grid;overflow:auto}.plan-activity-row{background:#fff;border:1px solid #dce3ea;border-radius:8px;gap:4px;padding:9px 10px;display:grid}.plan-activity-row small{color:#176b87;font-weight:700}.plan-activity-row span{color:#475569;font-size:13px}.live-activity-banner{color:#64748b;background:#f8fafc;border:1px solid #dce3ea;border-radius:8px;grid-template-columns:30px 1fr;align-items:center;gap:10px;margin-bottom:12px;padding:10px 12px;display:grid}.live-activity-banner.active{color:#145369;background:#e8f4f8;border-color:#86c5d7;animation:.22s ease-out activityIn}.live-activity-banner svg{box-sizing:content-box;background:#fff;border-radius:999px;padding:6px}.live-activity-banner small{text-transform:uppercase;font-size:11px;font-weight:800;display:block}.live-activity-banner strong{color:#17202a;margin-top:2px;display:block}.activity-card p{margin:6px 0 12px;font-size:14px}.results-box{background:#f8fafc;border:1px solid #dce3ea;border-radius:8px;gap:10px;margin-top:16px;padding:12px;display:grid}.result-row{border-top:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:10px;padding-top:8px;display:flex}.keyword-response-list{gap:8px;display:grid}.result-bar-row{gap:7px;display:grid}.result-bar-row>div:first-child{justify-content:space-between;align-items:center;gap:10px;display:flex}.result-bar-track{background:#e2e8f0;border-radius:999px;height:10px;overflow:hidden}.result-bar-fill{border-radius:inherit;background:#176b87;min-width:4px;height:100%;transition:width .32s}.teacher-keyword-cloud{background:#fff;border:1px solid #dce3ea;border-radius:8px;flex-wrap:wrap;align-items:center;gap:10px;min-height:100px;padding:12px;display:flex}.teacher-keyword-cloud span{color:#145369;background:#e8f4f8;border:1px solid #b9dce7;border-radius:999px;padding:7px 10px;font-weight:800;animation:3s ease-in-out infinite floatWord}.teacher-keyword-cloud small{color:#64748b;background:#fff;border-radius:999px;margin-left:6px;padding:1px 5px;font-size:11px}.score-summary{color:#145369;background:#e8f4f8;border-radius:8px;align-items:baseline;gap:6px;padding:10px 12px;display:flex}.score-summary b{font-size:24px}.student-manager{border-top:1px solid #e2e8f0;gap:12px;margin-top:16px;padding-top:16px;display:grid}.panel-subheader{justify-content:space-between;align-items:center;display:flex}.panel-subheader span{color:#145369;text-align:center;background:#e8f4f8;border-radius:999px;min-width:28px;padding:3px 8px}.student-form{gap:8px;display:grid}.student-form input{border:1px solid #cbd5e1;border-radius:8px;min-height:38px;padding:9px 10px}.student-list{gap:8px;max-height:220px;display:grid;overflow:auto}.student-row{background:#f8fafc;border:1px solid #dce3ea;border-radius:8px;gap:3px;padding:9px 10px;display:grid}.student-row small{color:#64748b;overflow-wrap:anywhere}.teacher-ai-control{border-top:1px solid #e2e8f0;gap:12px;margin-top:16px;padding-top:16px;display:grid}.toggle-row{background:#f8fafc;border:1px solid #dce3ea;border-radius:8px;align-items:center;gap:10px;padding:10px;display:flex}.ai-limit-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.ai-limit-grid label{gap:4px;display:grid}.ai-limit-grid span{color:#64748b;font-size:12px;font-weight:700}.ai-limit-grid input{border:1px solid #cbd5e1;border-radius:8px;min-height:36px;padding:8px 9px}.compact{min-height:32px;padding:6px 10px}.ai-summary-list,.ai-log-list{gap:8px;display:grid}.ai-summary-row{background:#f8fafc;border:1px solid #dce3ea;border-radius:8px;justify-content:space-between;align-items:center;padding:8px 10px;display:flex}.ai-log-row{background:#fff;border:1px solid #dce3ea;border-radius:8px;padding:9px 10px}.ai-log-row summary{cursor:pointer;justify-content:space-between;display:flex}.ai-log-row strong{margin-top:9px;display:block}.ai-log-row p{color:#334155;white-space:pre-wrap;margin:8px 0}.ai-log-row small{color:#64748b}.mode-pill{background:#f1f5f9;border:1px solid #d8e0e8;border-radius:999px;padding:9px 13px}.mode-pill.free{color:#246b36;background:#eef6ee;border-color:#c9e6c9}.response-panel{align-self:start}.student-activity h4{margin:10px 0 8px}.student-activity p{color:#334155}.student-activity{animation:.26s ease-out activityIn}.student-ai-panel{border-top:1px solid #e2e8f0;gap:12px;margin-top:16px;padding-top:16px;display:grid}.ai-limit-message{color:#9a3412;background:#fff7ed;border:1px solid #fed7aa;border-radius:8px;margin:0;padding:9px 10px}.student-ai-form{gap:10px;display:grid}.student-ai-form textarea{resize:vertical;border:1px solid #cbd5e1;border-radius:8px;width:100%;min-height:92px;padding:11px 12px}.student-ai-answer{background:#f8fafc;border:1px solid #dce3ea;border-radius:8px;gap:8px;padding:12px;display:grid}.student-ai-answer p{color:#334155;white-space:pre-wrap;margin:0}.student-ai-answer small{color:#64748b}.caption-panel{background:#f8fbfc;border:1px solid #d8e8ee;border-radius:8px;gap:10px;margin-top:14px;padding:12px;display:grid}.caption-panel.live{background:#edf8fb;border-color:#8bd0e3}.student-caption-panel{margin:0 0 16px}.student-caption-panel .caption-transcript{min-height:190px;max-height:360px}.caption-panel-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.caption-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.caption-panel-header strong,.caption-panel-header small{display:block}.caption-panel-header small{color:#64748b;margin-top:3px}.caption-live-status{color:#176b87;align-items:center;gap:7px;font-size:13px;font-weight:700;display:flex}.caption-live-status svg{animation:1.4s ease-in-out infinite pulseRadio}.caption-source-select{align-items:center;gap:8px;display:flex}.caption-source-select span{color:#64748b;font-size:12px;font-weight:800}.caption-source-select select{border:1px solid #cbd5e1;border-radius:8px;min-height:36px;padding:7px 10px}.caption-interim{color:#475569;background:#fff;border:1px dashed #a9d7e5;border-radius:8px;margin:0;padding:9px 10px}.caption-manual-form{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.caption-manual-form input{border:1px solid #cbd5e1;border-radius:8px;min-height:38px;padding:8px 10px}.caption-display{background:#fff;border:1px solid #dce3ea;border-radius:8px;gap:8px;padding:12px;display:grid}.caption-transcript{scroll-behavior:smooth;background:#fff;border:1px solid #dce3ea;border-radius:8px;gap:8px;max-height:300px;padding:10px;display:grid;overflow-y:auto}.caption-single-transcript{gap:10px;display:grid}.caption-language-selector{background:#fff;border:1px solid #dce3ea;border-radius:8px;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:5px;display:grid}.caption-language-selector button{color:#334155;cursor:pointer;background:0 0;border:0;border-radius:6px;min-height:34px;padding:7px 8px;font-weight:800}.caption-language-selector button.active{color:#fff;background:#176b87}.caption-single-text{color:#0f172a;overflow-wrap:anywhere;scroll-behavior:smooth;background:#fff;border:1px solid #dce3ea;border-radius:8px;min-height:128px;max-height:210px;margin:0;padding:12px;font-size:16px;font-weight:700;line-height:1.5;overflow-y:auto}.caption-display.transcript-line{box-shadow:none;border-color:#e2e8f0;padding:10px}.student-caption-panel .caption-display.transcript-line{background:#fbfdff}.caption-display.transcript-line+.caption-display.transcript-line{margin-top:0}.caption-source,.caption-translation,.caption-secondary{margin:0}.caption-source{color:#334155;font-size:14px}.caption-translation{color:#0f172a;font-size:18px;font-weight:800;line-height:1.45}.caption-secondary{color:#176b87;font-weight:700}.caption-display small{color:#64748b}.compact-caption .caption-translation{font-size:15px}.caption-bilingual-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.transcript-line .caption-bilingual-grid{gap:8px}.caption-bilingual-grid>div{background:#f8fafc;border:1px solid #dce3ea;border-radius:8px;gap:6px;padding:10px;display:grid}.caption-bilingual-grid span{color:#176b87;font-size:12px;font-weight:800}.caption-bilingual-grid p{color:#0f172a;margin:0;font-size:17px;font-weight:800;line-height:1.45}.transcript-line .caption-bilingual-grid p{font-size:15px;font-weight:750}.activity-type{color:#176b87;text-transform:uppercase;font-size:12px;font-weight:700}.activity-visual{margin:14px 0}.keyword-visual{background:linear-gradient(135deg,#edf7f5,#f8fafc);border:1px solid #d8e8e5;border-radius:8px;flex-wrap:wrap;align-items:center;gap:10px;min-height:96px;padding:14px;display:flex}.keyword-visual span{color:#145369;background:#fff;border:1px solid #b9dce7;border-radius:999px;padding:8px 12px;font-weight:700;animation:2.8s ease-in-out infinite floatWord}.keyword-visual span:nth-child(2){animation-delay:.4s}.keyword-visual span:nth-child(3){animation-delay:.8s}.poll-visual{background:#f6faf8;border:1px solid #d6e6df;border-radius:8px;gap:9px;padding:14px;display:grid}.poll-visual-row{grid-template-columns:26px 1fr;align-items:center;gap:10px;display:grid}.poll-visual-row span{color:#fff;background:#176b87;border-radius:999px;justify-content:center;align-items:center;height:26px;font-size:12px;font-weight:800;display:inline-flex}.poll-visual-row div{background:#e2e8f0;border-radius:999px;height:12px;position:relative;overflow:hidden}.poll-visual-row div:after{animation:2.4s ease-in-out infinite pulseBar;animation-delay:var(--delay);border-radius:inherit;content:"";width:var(--fill);background:linear-gradient(90deg,#28a0b8,#7ac7a4);position:absolute;inset:0 auto 0 0}.match-visual{background:#f8fafc;border:1px solid #dce3ea;border-radius:8px;grid-template-columns:1fr 34px 1fr;align-items:center;gap:10px;padding:14px;display:grid}.match-visual>div:not(.match-line){gap:7px;display:grid}.match-visual span{color:#334155;text-overflow:ellipsis;white-space:nowrap;background:#fff;border:1px solid #d8e0e8;border-radius:8px;padding:8px 10px;font-size:12px;font-weight:700;overflow:hidden}.match-line{background:linear-gradient(#0000,#28a0b8,#0000);border-radius:999px;width:3px;height:100%;min-height:88px;animation:2s ease-in-out infinite connectionGlow}.option{background:#f8fafc;border:1px solid #dce3ea;border-radius:8px;align-items:flex-start;gap:10px;padding:12px;display:flex}.dynamic-options .option{min-height:58px;transition:transform .16s,border-color .16s,background .16s}.dynamic-options .option:hover{transform:translateY(-1px)}.option.selected{background:#e8f4f8;border-color:#86c5d7}.matching-dnd{gap:12px;margin:14px 0;display:grid}.match-bank{background:#f8fafc;border:1px dashed #b9dce7;border-radius:8px;flex-wrap:wrap;gap:8px;padding:12px;display:flex}.match-chip,.matched-chip{color:#17202a;cursor:grab;text-align:left;background:#fff;border:1px solid #cbd5e1;border-radius:8px;gap:8px;min-height:40px;padding:9px 11px;font-weight:700;line-height:1.25;display:inline-flex}.match-chip.selected{background:#e8f4f8;border-color:#28a0b8;box-shadow:0 0 0 3px #28a0b81f}.match-chip.used{color:#64748b;cursor:default;opacity:.58;background:#eef2f6}.match-chip small{color:#64748b;font-size:11px}.match-target-list{gap:10px;display:grid}.match-target{background:#fff;border:1px solid #dce3ea;border-radius:8px;gap:8px;min-height:88px;padding:12px;transition:background .16s,border-color .16s,transform .16s;display:grid}.match-target.ready{border-color:#b9dce7}.match-target:hover{transform:translateY(-1px)}.match-target.filled{background:#eef8fb;border-color:#86c5d7}.match-target strong{color:#17202a}.match-target>span{color:#64748b;border:1px dashed #cbd5e1;border-radius:8px;align-items:center;min-height:42px;padding:9px 10px;display:flex}.matched-chip{cursor:pointer;justify-content:space-between;align-items:center}.matched-chip small{color:#64748b;background:#fff;border-radius:999px;justify-content:center;align-items:center;min-width:20px;height:20px;font-size:14px;display:inline-flex}.text-response{resize:vertical;border:1px solid #cbd5e1;border-radius:8px;width:100%;min-height:120px;padding:12px}.text-result{align-items:flex-start;display:grid}.text-result b{color:#17202a;overflow-wrap:anywhere;text-align:left;font-weight:500}.empty-state{color:#64748b}.theme-dark{color:#e5edf6;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#0f172a}.theme-dark .topbar,.theme-dark .login-panel,.theme-dark .panel,.theme-dark .hero-strip,.theme-dark .student-header,.theme-dark .caption-panel,.theme-dark .delivery-focus,.theme-dark .activity-card,.theme-dark .results-box,.theme-dark .student-ai-answer,.theme-dark .student-row,.theme-dark .ai-summary-row,.theme-dark .ai-log-row,.theme-dark .lesson-plan-draft,.theme-dark .live-activity-banner,.theme-dark .document-placeholder{color:#e5edf6;background:#111827;border-color:#334155}.theme-dark .login-page,.theme-dark .workspace,.theme-dark .student-page,.theme-dark .main-grid{background:#0f172a}.theme-dark .brand span,.theme-dark .login-panel p,.theme-dark .hero-strip p,.theme-dark .student-header p,.theme-dark .hint,.theme-dark .activity-card p,.theme-dark .results-box p,.theme-dark .student-identity,.theme-dark .caption-panel-header small,.theme-dark .caption-source,.theme-dark .empty-state,.theme-dark .ai-log-row small,.theme-dark .student-row small{color:#a8b3c4}.theme-dark input,.theme-dark select,.theme-dark textarea,.theme-dark .language-select,.theme-dark .theme-choice,.theme-dark .ai-provider-pill,.theme-dark .material-row,.theme-dark .student-material-chip,.theme-dark .caption-single-text,.theme-dark .caption-language-selector,.theme-dark .caption-display,.theme-dark .caption-manual-form input,.theme-dark .activity-design-box,.theme-dark .toggle-row,.theme-dark .ai-limit-grid input{color:#e5edf6;background:#0b1220;border-color:#334155}.theme-dark .theme-choice button,.theme-dark .caption-language-selector button{color:#cbd5e1}.theme-dark .theme-choice button.active,.theme-dark .caption-language-selector button.active,.theme-dark .primary{color:#fff;background:#2b8aaa}.theme-dark .secondary{color:#d8f3fb;background:#123247;border-color:#2b8aaa}.theme-dark .ghost,.theme-dark .icon-only{color:#dbeafe;background:#111827;border-color:#334155}.theme-dark .material-row.active,.theme-dark .student-material-chip.active,.theme-dark .activity-card.active,.theme-dark .activity-card.focused,.theme-dark .delivery-focus.live,.theme-dark .caption-panel.live{background:#102f3b;border-color:#38bdf8}.theme-dark .form-error,.theme-dark .ai-limit-message{color:#fed7aa;background:#431407;border-color:#9a3412}.theme-dark .sidebar{background:#071522}.theme-dark .material-preview,.theme-dark .caption-interim,.theme-dark .keyword-visual,.theme-dark .match-bank,.theme-dark .match-target,.theme-dark .option,.theme-dark .result-row,.theme-dark .caption-bilingual-grid>div{color:#e5edf6;background:#0b1220;border-color:#334155}.theme-dark .caption-translation,.theme-dark .caption-bilingual-grid p,.theme-dark .text-result b,.theme-dark .activity-card strong,.theme-dark .student-activity p{color:#e5edf6}@keyframes activityIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes floatWord{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}@keyframes pulseBar{0%,to{opacity:.65;transform-origin:0;transform:scaleX(.88)}50%{opacity:1;transform-origin:0;transform:scaleX(1)}}@keyframes connectionGlow{0%,to{opacity:.45;transform:scaleY(.86)}50%{opacity:1;transform:scaleY(1)}}@keyframes pulseRadio{0%,to{opacity:.55;transform:scale(.96)}50%{opacity:1;transform:scale(1.08)}}@media (width<=1180px){.teacher-layout,.student-layout,.workspace{grid-template-columns:1fr}.sidebar{display:none}}@media (width<=720px){.topbar,.hero-strip,.student-header{flex-direction:column;align-items:flex-start}.topbar{padding:14px}.topbar-actions,.session-actions,.mode-row{flex-wrap:wrap}.main-grid,.student-page,.login-page{padding:14px}.panel-header{flex-direction:column;align-items:flex-start}.material-preview{min-height:220px}}
