/* The selected A design, extended to teacher tools and analytics. */
.teacher-experience{background:#f7f8f2;color:#214638;--blue:#285a4b;--line:#dce5d9;--muted:#697b65}
.td-header{height:84px;padding:0 max(24px,calc((100vw - 1160px)/2));background:#fffefa;border-bottom:1px solid #e0e7da;display:flex;align-items:center;justify-content:space-between;gap:18px}.td-brand{display:flex;align-items:center;gap:12px;font-size:15px;letter-spacing:-.3px}.td-mark{width:40px;height:40px;background:#20564b;color:white;display:grid;place-items:center;border-radius:12px;font:28px Georgia,serif}.td-workspace{font-size:11px;color:#77866b;border-left:1px solid #e0e5d9;padding-left:14px;margin-left:6px;font-weight:400;letter-spacing:0}
.td-home{max-width:1160px;padding:40px 24px 56px;margin:auto}.td-intro h1{font:40px/1.2 Georgia,serif;letter-spacing:-1px;margin:12px 0;color:#244d3c}.td-intro p{font-size:13px;line-height:1.8;color:#728067;margin-bottom:28px}.td-kicker{font-size:10px;font-weight:750;letter-spacing:1.6px;color:#6c8260}.td-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:20px 0 25px}.td-toolbar label{display:block;font-size:11px;color:#718168;font-weight:600;flex:1;max-width:520px}.td-toolbar select{display:block;width:100%;margin-top:8px;min-height:46px;background:#fffefa;border:1px solid #d7e0d0;border-radius:9px;padding:11px 14px;color:#365442;font-size:13px}.td-course{font-size:11px;color:#637c55;background:#eaf0e2;border:1px solid #dce6d0;padding:9px 13px;border-radius:22px}
.td-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:25px}.td-metric{border:1px solid #e0e7d9;background:#fffefa;border-radius:17px;padding:22px 24px}.td-metric>span{display:block;font-size:11px;color:#78876c}.td-metric strong{display:block;font:33px Georgia,serif;color:#3d6146;margin:13px 0 8px}.td-metric small{font-size:10px;color:#7d8a72}
.td-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);gap:24px;align-items:start}.td-column{display:grid;gap:24px;min-width:0}.td-card{border:1px solid #dfe6d7;border-radius:19px;background:#fffefa;padding:26px;min-width:0}.td-card h2{font:24px/1.25 Georgia,serif;color:#30533c;margin:8px 0 20px}.td-card>p{font-size:13px;line-height:1.8;color:#728167}.td-between{display:flex;justify-content:space-between;align-items:center;gap:16px}.td-count{font-size:11px;color:#7f8d71;background:#f3f6ec;padding:6px 10px;border:1px solid #e1e8d9;border-radius:20px}
.td-release{background:#e9eee0;border:1px solid #d8e2cc;border-radius:21px;padding:28px 32px}.td-release h2{font:32px/1.2 Georgia,serif;color:#284d35;letter-spacing:-.6px;margin:28px 0 16px}.td-release>p{font-size:13px;line-height:1.85;color:#677b5b;max-width:460px;margin-bottom:24px}.td-round{font-size:11px;color:#6d805d}.td-test-info{border-top:1px solid #d2ddc5;display:flex;flex-wrap:wrap;gap:8px 20px;padding-top:18px;margin-top:24px;font-size:11px;color:#708561}.td-button{font:600 12px/1.4 Inter,'Segoe UI',Arial,sans-serif;min-height:44px;padding:13px 18px;border:1px solid #d4dfca;border-radius:10px;color:#355b42;background:#fffefa;cursor:pointer}.td-primary{background:#20564b;color:white;border-color:#20564b}.td-primary:hover{background:#173f37}.td-primary:disabled{background:#71846a;color:#fff;opacity:.8;cursor:default}.td-secondary{background:#f9fbf5;color:#31583f}.td-link{background:transparent;border:0;padding:10px 2px;min-height:40px;color:#3e6548;font-size:12px;font-weight:600;cursor:pointer;white-space:nowrap}.td-link:hover{background:transparent;text-decoration:underline}
.td-history-row{display:flex;align-items:center;gap:16px;border-top:1px solid #e5ebde;padding:18px 0}.td-history-info{flex:1;min-width:0}.td-history-info strong{display:block;font-size:12px;font-weight:650;line-height:1.5}.td-history-info small{display:block;font-size:10px;color:#7e8a72;margin-top:6px}.td-score{font:22px Georgia,serif;color:#416745}.td-status{font-size:10px;color:#738466;background:#edf2e5;padding:6px 10px;border-radius:15px}.td-empty{font-size:13px;color:#7b896e}.td-more{padding-top:14px;font-size:12px;color:#6c805f}.td-analytics .td-button{width:100%;font-size:11px}.td-subjects{margin-top:24px}.td-subjects .td-between{padding:12px 0;border-top:1px solid #e5ebdc;font-size:11px;color:#748569}.td-subjects strong{font-size:16px;color:#4d704e}.td-track{height:6px;background:#e9eedf;border-radius:6px;overflow:hidden;margin:20px 0}.td-track span{height:100%;display:block;background:#809c6b}.td-card .td-note{font-size:11px;line-height:1.8;color:#7b8b6b}.td-cycle{background:#f0f1e7}

/* Teacher portal: retain every existing control and action. */
body.teacher-view{background:#f7f8f2;color:#244735}.teacher-view>header{background:#fffefa;border-color:#dfe6d8}.teacher-view #workspace{max-width:1160px;padding-top:29px}.teacher-view .notice{background:#eff2e8;color:#71815f;border-color:#dfe6d5;font-size:11px}.teacher-view .page-title{margin:30px 0}.teacher-view .page-title h1{font:40px Georgia,serif;letter-spacing:-1px;color:#244d3a}.teacher-view .page-title p{font-size:13px;color:#758569}.teacher-view .card,.teacher-view .stat{border-radius:18px;border-color:#dfe6d7;background:#fffefa}.teacher-view .stat{padding:22px}.teacher-view .stat strong{font:35px Georgia,serif;color:#4a6d4a}.teacher-view .student-strip{padding:20px;background:#f0f3e9;border:1px solid #dfe6d5;border-radius:15px;gap:10px}.teacher-view .student-strip label{max-width:380px;font-size:11px;color:#718366}.teacher-view #practiceCoursePanel{background:#e9eee0;padding:34px;border-color:#d8e2cc}.teacher-view #practiceCoursePanel h2{font-size:32px}.teacher-view #practiceCoursePanel button{padding:14px 23px}.teacher-view .section h2{color:#3a5c3e}.teacher-view .assignment{padding:23px 0}.teacher-view .ids{background:#f0f4e9;border-radius:8px;color:#637c50}.teacher-view .primary{background:#20564b;border-color:#20564b}.teacher-view .eyebrow{color:#6b835a}

/* Statistics: same data and weighted calculations, clearer visual hierarchy. */
.teacher-experience .topbar{background:#fffefa;border-color:#dfe6d6;color:#365a3c}.teacher-experience .topbar button{font-size:12px;border-color:#dce4d1;background:#fffefa}.teacher-experience .page{max-width:1160px;margin:38px auto}.stats-page{color:#264c38}.stats-page>h1{font:40px/1.2 Georgia,serif;letter-spacing:-.8px;color:#2e543a;margin:12px 0 10px}.stats-page>.tag{font-size:10px;letter-spacing:1.5px;color:#758964;background:none;padding:0}.stats-context{font-size:13px;color:#75856b;line-height:1.7;margin-bottom:26px}.stats-filters{background:#fffefa;border:1px solid #dfe6d8;border-radius:13px;padding:15px 18px;gap:12px;margin:22px 0}.stats-filters select{font-size:12px;color:#3e6044;border:1px solid #d7e1cc;background:#fcfdf8;border-radius:8px;min-height:41px;padding:9px 12px}.stats-filters button{margin-left:auto;font-size:12px;color:#4d6b4b;border-color:#dbe5d0;background:#fffefa}
.stats-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:22px 0 25px}.stats-metric{background:#fffefa;border:1px solid #dee6d4;border-radius:16px;padding:23px}.stats-metric>span{font-size:11px;color:#718366}.stats-metric strong{display:block;font:34px Georgia,serif;color:#436648;margin:13px 0 9px}.stats-metric small{font-size:10px;color:#7e8d71}
.teacher-experience .page .card,.stats-page .card{border-color:#dfe6d7;border-radius:18px;background:#fffefa;box-shadow:none}.stats-page .history{margin-top:24px}.stats-page h2{font:25px/1.3 Georgia,serif;color:#3a5c40;letter-spacing:-.3px}.stats-page .note{color:#77876b;font-size:11px;line-height:1.8}.stats-page .progress-chart{min-height:230px}.stats-page .progress-legend{font-size:11px;gap:20px;font-weight:600}.stats-page .row.between{align-items:center;gap:18px}.stats-page .row.between h2{margin-bottom:0}.stats-page .row.between select{font-size:11px;color:#526d48;border-color:#d8e2ce;min-height:40px;background:#fffefa}
.stats-page .statistics-table{font-size:12px;margin:20px 0 0}.stats-page .statistics-table th{background:#eff3e7;color:#5c7750;border-color:#dce5cf;padding:13px 12px;font-weight:600;font-size:11px}.stats-page .statistics-table td{border-color:#e3e9da;padding:14px 12px;color:#526d49;line-height:1.8}.stats-page .statistics-table td strong{color:#3d5e3e;font-weight:650}.stats-page .statistics-table small{font-size:10px;color:#7c8e6b}.stats-page .statistics-table button{font-size:10px;padding:8px 12px;background:#fffefa;border-color:#d8e2cc;color:#4c6e42;border-radius:7px}.stats-round-note{background:#eaf0e1;border:1px solid #dae5cc;border-radius:13px;padding:20px 24px;margin-top:24px}.stats-round-note h2{font-size:21px;margin:0 0 9px}.stats-round-note p{margin:0;font-size:11px;color:#70835d;line-height:1.8}.stats-details>summary{cursor:pointer;color:#496b42;font:22px Georgia,serif;padding:2px 0}.stats-details[open]>summary{margin-bottom:20px}.teacher-experience .result-actions button{border-color:#d8e2cd;color:#3f6747}.teacher-experience .result-id-tools h2{font:25px Georgia,serif}.teacher-experience .id-list{background:#f0f4e9;border-color:#dce5d2;color:#506c43}
@media(max-width:850px){.td-layout{grid-template-columns:minmax(0,1.5fr) 265px;gap:18px}.td-release{padding:25px}.td-card{padding:22px}.td-workspace{display:none}.td-metric{padding:20px}.td-metric strong{font-size:29px}.td-release h2{font-size:29px}.td-metric>span{font-size:10px}}
@media(max-width:650px){.td-header{height:72px;padding:0 18px}.td-home{padding:28px 18px 40px}.td-intro h1{font-size:33px}.td-toolbar{flex-wrap:wrap;gap:12px}.td-toolbar label{max-width:none;flex-basis:100%}.td-course{font-size:10px}.td-layout{grid-template-columns:1fr}.td-metrics{gap:9px}.td-metric{padding:16px 12px}.td-metric strong{font-size:25px}.td-metric small{font-size:9px}.td-metric>span{font-size:10px;line-height:1.5;display:block}.td-release h2{font-size:29px}.td-history-info strong{font-size:11px}.td-score{font-size:18px}.td-history-row{gap:12px}.td-history-row .td-link{font-size:11px}.td-test-info{font-size:10px}.teacher-view .page-title h1{font-size:33px}.teacher-view .student-strip{padding:16px}.teacher-view #practiceCoursePanel{padding:25px}.teacher-view #workspace{padding-top:20px}.teacher-experience .page{margin:26px auto}.stats-page>h1{font-size:34px}.stats-filters{padding:13px;gap:9px;flex-wrap:wrap}.stats-filters select{min-width:0;flex:1;font-size:11px}.stats-filters button{margin-left:0;width:100%}.stats-metrics{gap:9px}.stats-metric{padding:17px 12px}.stats-metric strong{font-size:26px}.stats-metric>span{font-size:10px}.stats-metric small{font-size:9px;line-height:1.6;display:block}.stats-page .card{padding:20px}.stats-page .row.between{flex-wrap:wrap}.stats-page h2,.stats-details>summary{font-size:22px}.stats-page .progress-legend{gap:12px;font-size:10px}.stats-page .stats-scroll{max-width:100%;overflow-x:auto}.stats-round-note{padding:18px}.stats-context{font-size:12px}}
@media(max-width:950px){.teacher-view .page-title{display:block}.teacher-view .workspace-actions{justify-content:flex-end;margin-top:18px}.teacher-view .page-title h1{max-width:none}}
.td-metric>span,.td-metric small,.td-history-info small,.td-note,.stats-metric>span,.stats-metric small,.stats-page .note,.stats-context{color:#66765c}
