body.teacher-experience.studio-interface {
 --bg:#f8f7f2;--card:#fffefa;--primary:#2c6175;--primary-light:#39778c;--primary-muted:#e9f2f3;
 --text:#233b46;--text-muted:#5e7076;--text-light:#67777b;--border:#dbe3df;--border-light:#e9ede6;
 --success:#2e7658;--success-light:#eaf5ed;--warning:#956010;--warning-light:#fff4db;--danger:#ac4544;--danger-light:#fcefed;
 background:var(--bg);color:var(--text);
}
.teacher-experience .sidebar {background:#fffefb;border-color:#e0e6df;}
.teacher-experience .sidebar-nav button.active {background:#e9f1ed;color:#244f60;box-shadow:inset 3px 0 #477c74;}
html[dir=rtl] .teacher-experience .sidebar-nav button.active {box-shadow:inset -3px 0 #477c74;}
.teacher-experience .sidebar-nav button:hover {background:#f1f3eb;}
.teacher-experience .sidebar-school {background:#f1f4ec;border-color:#e2e7d9;}
.teacher-experience .studio-nav-search {background:#fffefa;border-color:#dce3dc;}
.teacher-experience .topbar {background:#fffefa;min-height:72px;padding:14px 28px;border-color:#e0e6df;}
.teacher-experience .topbar-avatar {background:#e8f2ed;border-color:#d5e5db;color:#2d6256;}
.teacher-experience .topbar-title {color:#233b46;}
.teacher-experience .page-content {max-width:1512px;padding:24px 28px 48px;}
.teacher-experience #content {color:var(--text);}
.teacher-experience #content [hidden],.teacher-experience #content [data-teacher-page-hidden] {display:none!important;}
.teacher-experience #content :is(button,select,input,textarea,summary) {font-family:var(--font);letter-spacing:normal;}
.teacher-experience #content :is(input,select,textarea) {border-color:#d4dfd8;background:#fffefb;color:#243b43;min-width:0;max-width:100%;border-radius:10px;}
.teacher-experience #content :is(input,select):not([type=checkbox]):not([type=radio]):not([type=hidden]) {min-height:42px;}
.teacher-experience #content :is(input[type=checkbox],input[type=radio]) {accent-color:#2c6175;flex-shrink:0;}
.teacher-experience #content :is(button,summary,input,select,textarea):focus-visible {outline:3px solid #428994;outline-offset:3px;}
.teacher-experience #content :is(.btn-primary,.btn-mint) {background:#2c6175;border:1px solid #2c6175;color:#fff;box-shadow:0 2px 4px #1e4f6112;}
.teacher-experience #content :is(.btn-primary,.btn-mint):hover {background:#214d60;}
.teacher-experience #content :is(.btn-secondary,.btn-ghost,.btn-subtle) {background:#fffefb;border-color:#d4dfd8;color:#2c5362;box-shadow:none;}
.teacher-experience #content :is(.btn-secondary,.btn-ghost,.btn-subtle):hover {background:#edf4ee;}
.teacher-experience #content :is(.btn-primary,.btn-secondary,.btn-mint,.btn-ghost,.btn-subtle) {min-height:42px;border-radius:10px;padding:10px 16px;font-size:13px;white-space:normal;}
.teacher-experience #content :is(.pill,.status-pill,.badge-pill,.teacher-signal strong,.teacher-day-meta span,.teacher-class-ready,.teacher-class-alert) {color:#233b46;}
.teacher-experience #content :is(.teacher-section-card,.mini-card,.academic-panel,.teacher-class-directory,.teacher-admin-panel) {background:#fffefb;border-color:#dce4dc;border-radius:18px;padding:22px;box-shadow:0 3px 14px #294b4304;}
.teacher-experience #content :is(.teacher-section-heading,.teacher-class-directory-head) {gap:14px;flex-wrap:wrap;margin-bottom:16px;}
.teacher-experience #content :is(.teacher-section-heading h2,.teacher-section-heading h3,.teacher-class-directory-head h2) {font-size:18px;margin:0;color:#233b46;}
.teacher-experience #content .teacher-section-heading p {font-size:12px;color:#67777b;margin:4px 0 0;max-width:580px;}
.teacher-experience #content .teacher-eyebrow {color:#60776c;font-size:10px;letter-spacing:.07em;background:none;}
.teacher-experience #content .teacher-warm-header {display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:20px;padding:22px 26px;margin:0 0 20px;background:linear-gradient(115deg,#f0f5e9,#fff9ed 65%,#f7efe5);border:1px solid #e0e5d8;border-radius:20px;box-shadow:none;overflow:visible;}
.teacher-experience #content .teacher-warm-header::after {content:none;}
.teacher-experience #content .teacher-warm-header .teacher-eyebrow {display:none;}
.teacher-experience #content .teacher-warm-header h2 {font-size:27px;line-height:1.3;letter-spacing:-.5px;margin:0 0 7px;}
.teacher-experience #content .teacher-warm-header p {font-size:14px;color:#5b7073;line-height:1.65;margin:0;max-width:640px;}
.teacher-experience #content .teacher-header-art {width:104px;height:104px;object-fit:contain;flex:0 0 104px;filter:none;position:static;}
.teacher-experience #content .teacher-header-copy {flex:1;min-width:210px;position:static;}
.teacher-experience #content .teacher-workspace-metrics {display:flex;flex-wrap:wrap;gap:8px;margin:0;}
.teacher-experience #content .teacher-workspace-metrics>:is(div,button) {padding:10px 13px;min-width:90px;background:#fffefa;border:1px solid #e1e5d9;border-radius:12px;box-shadow:none;color:#233b46;}
.teacher-experience #content .teacher-workspace-metrics strong {font-size:21px;color:#294e52;}
.teacher-experience #content .teacher-workspace-metrics span {font-size:11px;color:#5e7076;}
.teacher-experience #content .teacher-day-meta {gap:8px;margin-top:12px;}
.teacher-experience #content .teacher-day-meta span {padding:4px 9px;border-color:#dce4d5;background:#ffffffab;font-size:11px;}
.teacher-experience #content .teacher-day-status {padding:13px 16px;min-width:180px;box-shadow:none;background:#fffefb;border-color:#dfdfcd;}
.teacher-experience #content .teacher-day-status strong {font-size:22px;margin:2px 0;}
.teacher-experience #content .teacher-day-status .btn-primary {margin-top:8px;}
.teacher-experience #content .teacher-quick-actions {gap:12px;margin:0 0 20px;}
.teacher-experience #content .teacher-quick-action {padding:14px;gap:12px;background:#f1f5ee;border-color:#dce7d6;box-shadow:none;min-height:86px;}
.teacher-experience #content .teacher-quick-action:nth-child(2) {background:#fff4e5;border-color:#eee2cc;}
.teacher-experience #content .teacher-quick-action:nth-child(3) {background:#edf2f7;border-color:#dae4ec;}
.teacher-experience #content .teacher-quick-action:nth-child(4) {background:#f6edf2;border-color:#e9dfe4;}
.teacher-experience #content .teacher-quick-icon {background:#ffffffb0;color:#426a64;width:40px;height:40px;}
.teacher-experience #content .teacher-quick-action strong {color:#294550;}
.teacher-experience #content .teacher-quick-action small {color:#5e7076;line-height:1.4;}
.teacher-experience #content .studio-insights {padding:14px 18px;background:#fffefb;border-color:#dce4dc;border-radius:14px;}
.teacher-experience #content .teacher-attention-card {padding:15px;min-height:0;background:#fff8eb;border-color:#eee0c7;display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;}
.teacher-experience #content .teacher-attention-card .teacher-text-action {grid-column:auto;align-self:center;}
.teacher-experience #content .teacher-attention-value {font-size:21px;background:#f9e9c7;color:#7e571a;}
.teacher-experience #content .teacher-attention-card h4 {font-size:14px;}
.teacher-experience #content .teacher-attention-card p {font-size:12px;margin:4px 0 0;}
.teacher-experience #content :is(.teacher-kpi-grid,.academic-metric-grid) {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 20px;}
.teacher-experience #content :is(.teacher-kpi,.academic-metric-grid>*) {padding:14px 16px;min-height:86px;background:#edf3ef;border:1px solid #dce7dc;border-radius:14px;box-shadow:none;}
.teacher-experience #content :is(.teacher-kpi,.academic-metric-grid>*):nth-child(2) {background:#eef3f7;border-color:#dce5ea;}
.teacher-experience #content :is(.teacher-kpi,.academic-metric-grid>*):nth-child(3) {background:#fff5e2;border-color:#eee2c9;}
.teacher-experience #content :is(.teacher-kpi,.academic-metric-grid>*):nth-child(4) {background:#f9eeeb;border-color:#eedfda;}
.teacher-experience #content .teacher-kpi::before {display:none;}
.teacher-experience #content .teacher-kpi>strong {font-size:24px;margin:5px 0;color:#274b56;}
.teacher-experience #content :is(.teacher-kpi,.academic-metric-grid>*) :is(span,small) {color:#53696c;}
.teacher-experience #content .teacher-class-grid {grid-template-columns:repeat(auto-fit,minmax(min(290px,100%),1fr));gap:14px;}
.teacher-experience #content .teacher-class-card {min-height:0;padding:18px;background:#fffefb;border:1px solid #dce4dc;border-top:4px solid #8baa8d;border-radius:15px;box-shadow:none;gap:0;}
.teacher-experience #content .teacher-class-card[data-teacher-tone="1"] {border-top-color:#d9ac6d;}
.teacher-experience #content .teacher-class-card[data-teacher-tone="2"] {border-top-color:#91b4c6;}
.teacher-experience #content .teacher-class-card[data-teacher-tone="3"] {border-top-color:#bc9bac;}
.teacher-experience #content article.teacher-class-card {cursor:default;}
.teacher-experience #content .teacher-class-card:hover {transform:none;box-shadow:0 5px 15px #264f4310;}
.teacher-experience #content .teacher-class-card :is(h4,header strong) {font-size:17px;white-space:normal;overflow-wrap:anywhere;}
.teacher-experience #content .teacher-class-card header {grid-template-columns:auto minmax(0,1fr);gap:10px;}
.teacher-experience #content .teacher-class-card header>b {grid-column:2;justify-self:start;}
.teacher-experience #content .teacher-class-avatar {background:#ecf1e5;color:#3c6450;border-radius:12px;width:44px;height:44px;}
.teacher-experience #content .teacher-class-facts {display:flex;flex-wrap:wrap;margin-top:12px;gap:8px;}
.teacher-experience #content .teacher-class-facts span {flex:1;min-width:85px;background:#f1f4eb;padding:9px;border-radius:9px;}
.teacher-experience #content .teacher-class-facts :is(b,strong) {color:#294d50;font-size:16px;}
.teacher-experience #content .teacher-progress {background:#e7ede5;height:6px;}
.teacher-experience #content .teacher-progress i {background:#699985;}
.teacher-experience #content .teacher-card-actions {gap:7px;flex-wrap:wrap;margin-top:14px;}
.teacher-experience #content .teacher-card-actions button {background:#f8faf4;border:1px solid #d9e4d8;color:#2c5362;border-radius:8px;padding:8px 11px;font-size:12px;min-height:38px;white-space:normal;flex:1;}
.teacher-experience #content .teacher-card-actions button:hover {background:#e7f0e9;}
.teacher-experience #content .teacher-student-filters {grid-template-columns:minmax(180px,1.4fr) minmax(150px,1fr) minmax(170px,1fr);gap:12px;background:#f7f8f2;border:1px solid #e6eadf;padding:14px;border-radius:12px;margin:0 0 16px;}
.teacher-experience #content .teacher-student-filters label {min-width:0;}
.teacher-experience #content .teacher-student-directory {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));gap:14px;}
.teacher-experience #content .teacher-student-card {padding:17px;border:1px solid #e0e6db;border-radius:14px;background:#fffefb;box-shadow:none;min-width:0;}
.teacher-experience #content .teacher-student-identity h4 {font-size:16px;margin:0 0 4px;}
.teacher-experience #content .teacher-student-identity p {font-size:12px;color:#647478;overflow-wrap:anywhere;}
.teacher-experience #content .teacher-student-avatar {width:44px;height:44px;background:#eaf1e5;color:#3a6250;border-radius:14px;flex-shrink:0;}
.teacher-experience #content .teacher-student-signals {gap:6px;margin-top:13px;}
.teacher-experience #content .teacher-signal {padding:9px;background:#f0f5eb;border:0;border-radius:9px;min-width:0;}
.teacher-experience #content .teacher-signal.warn {background:#fff4e0;}
.teacher-experience #content .teacher-signal small {font-size:10px;color:#637271;}
.teacher-experience #content .teacher-signal strong {font-size:12px;overflow-wrap:anywhere;}
.teacher-experience #content .teacher-student-safety {font-size:11px;padding:8px 0 0;margin-top:8px;border-top:1px solid #e7eadf;}
.teacher-experience #content .teacher-student-safety.has-flags {background:#fff3e4;border:1px solid #ecdbbd;padding:8px;border-radius:8px;}
.teacher-experience #content .teacher-student-directory[data-layout=compact] {display:block;}
.teacher-experience #content [data-layout=compact] .teacher-student-card {border-width:0 0 1px;border-radius:0;margin:0;padding:17px 3px;display:grid;grid-template-columns:minmax(180px,1fr) minmax(280px,1.3fr);gap:10px 20px;align-items:center;}
.teacher-experience #content [data-layout=compact] .teacher-student-signals {margin:0;grid-column:2;grid-row:1 / 3;}
.teacher-experience #content [data-layout=compact] .teacher-student-safety {grid-column:1;margin:0;border:0;padding:0;}
.teacher-experience #content [data-layout=compact] .teacher-student-safety.has-flags {padding:5px 8px;}
.teacher-experience #content [data-layout=compact] .teacher-card-actions {grid-column:1/-1;margin:0;justify-content:flex-end;gap:8px;border:0;padding:0;}
.teacher-experience #content [data-layout=compact] .teacher-card-actions button {flex:0 1 auto;min-height:36px;background:#f4f7ef;padding:6px 12px;}
.teacher-experience #content .teacher-view-choice {display:flex;gap:5px;margin-inline-start:auto;flex-wrap:wrap;}
.teacher-experience #content .teacher-view-choice button {min-height:36px;padding:7px 11px;font-size:12px;}
.teacher-experience #content .teacher-view-choice button[aria-pressed=true] {background:#e7f0eb;border-color:#8ead9f;color:#274f48;}
.teacher-experience #content .teacher-list-footer {display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;padding-top:16px;margin-top:12px;color:#5d7073;font-size:12px;}
.teacher-experience #content .teacher-list-footer :is(div,label) {display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.teacher-experience #content .teacher-list-footer select {width:70px;}
.teacher-experience #content .teacher-admin-panel {padding:0;margin-top:20px;}
.teacher-experience #content .teacher-admin-panel>summary {padding:16px 20px;min-height:56px;}
.teacher-experience #content .teacher-admin-grid {padding:0 20px 20px;gap:18px;}
.teacher-experience #content .teacher-admin-form {background:#f8f9f3;border-color:#e0e5da;border-radius:12px;}
.teacher-experience #content .teacher-view-nav,
.teacher-experience #content :is(.report-studio-tabs,.assessment-tabs,.academic-view-tabs) {display:flex;flex-wrap:wrap;gap:8px;padding:0 0 14px;margin:0 0 20px;border-bottom:1px solid #dce4da;}
.teacher-experience #content .teacher-view-nav button[aria-current=page],
.teacher-experience #content :is(.report-studio-tabs,.assessment-tabs) button[aria-current=page],
.teacher-experience #content .report-steps button[aria-current=step],
.teacher-experience #content .academic-view-tabs button.active {background:#e7f0eb;border-color:#82a598;color:#244f49;}
.teacher-experience #content .composer-workspace-grid {display:block;}
.teacher-experience #content :is(.composer-editor-card,.composer-history-card) {max-width:1000px;margin-inline:auto;}
.teacher-experience #content .composer-editor-card>.teacher-section-heading {margin-bottom:8px;}
.teacher-experience #content .teacher-form-section {font-size:15px;border-inline-start:3px solid #bba16b;padding-inline-start:10px;margin:26px 0 16px;}
.teacher-experience #content .teacher-form-section:first-child {margin-top:16px;}
.teacher-experience #content .composer-guidance {background:#eef4e9;border-color:#dde7d6;color:#4c6657;}
.teacher-experience #content .composer-parent-preview {background:#f0f4e8;border-color:#dae3cd;border-radius:14px;padding:16px;}
.teacher-experience #content .composer-parent-preview-card {background:#fffefb;border-color:#dde4d6;border-radius:12px;}
.teacher-experience #content .composer-dropzone {background:#f6f8f0;border-color:#adbf9f;border-radius:14px;min-height:125px;}
.teacher-experience #content .composer-student-grid {max-height:230px;overflow:auto;overscroll-behavior:contain;padding:8px;border:1px solid #e1e7db;border-radius:12px;background:#f9faf6;}
.teacher-experience #content .check-item {background:#fffefb;border-color:#dfe6d8;color:#29444c;}
.teacher-experience #content .check-item:has(input:checked) {background:#eaf3e9;border-color:#91b299;}
.teacher-experience #content .studio-publish-bar {background:#fffefa;box-shadow:0 -5px 20px #36584d08;border:1px solid #dce4d7;border-radius:12px;padding:14px;margin-top:20px;bottom:8px;}
.teacher-experience #content .composer-preview-card {border-color:#dce4d7;border-radius:12px;background:#fffefa;}
.teacher-experience #content .composer-history-card .item {background:#fffefb;border-color:#dfe5db;border-radius:14px;padding:18px;}
.teacher-experience #content .composer-history-filters {grid-template-columns:1.6fr 1fr 1fr;}
.teacher-experience #content .composer-history-filters>* {min-width:0;}
.teacher-experience #content .planner-workspace-hero .teacher-workspace-metrics {gap:8px;}
.teacher-experience #content #planner-attendance {margin-bottom:20px;}
.teacher-experience #content #planner-attendance .table-wrap {max-height:540px;overflow:auto;overscroll-behavior:contain;border:1px solid #e0e6dc;border-radius:12px;scrollbar-gutter:stable;}
.teacher-experience #content #planner-attendance table {min-width:680px;}
.teacher-experience #content #planner-attendance th {position:sticky;top:0;background:#eff4e9;z-index:1;}
.teacher-experience #content #planner-attendance td {padding:10px 12px;}
.teacher-experience #content [data-attendance-status=present] {background:#eaf4e9;border-color:#b3cdb5;}
.teacher-experience #content [data-attendance-status=absent] {background:#fbecea;border-color:#e4b5af;}
.teacher-experience #content [data-attendance-status=late] {background:#fff4d9;border-color:#e3cb91;}
.teacher-experience #content [data-attendance-status=excused] {background:#eef1f8;border-color:#c5cce3;}
.teacher-experience #content .planner-section-intro {background:#f1f5eb;border-radius:10px;padding:12px 14px;}
.teacher-experience #content :is(.planner-utility-panel,.composer-private-note,.assessment-level-guide,.report-appearance) {background:#fafbf6;border:1px solid #dde5d5;border-radius:12px;padding:13px 16px;}
.teacher-experience #content :is(.planner-utility-panel,.composer-private-note,.assessment-level-guide,.report-appearance)>summary {color:#3d5c50;min-height:24px;cursor:pointer;}
.teacher-experience #content .daily-snapshot-item {background:#f2f6ed;border-color:#dfe7d5;border-radius:11px;}
.teacher-experience #content .assessment-mode-switch {gap:8px;margin:0 0 16px;}
.teacher-experience #content .assessment-mode-switch button {color:#48616b;border-color:#d6e1d6;background:#fffefa;}
.teacher-experience #content .assessment-mode-switch button.active {background:#edf3e7;color:#315849;border-color:#94b394;}
.teacher-experience #content :is(.assessment-entry-card,.report-builder-card) {max-width:1120px;}
.teacher-experience #content :is(.assessment-draft,.report-draft-bar) {background:#f0f4eb;border-color:#dce6d5;color:#536853;padding:12px 14px;}
.teacher-experience #content .assessment-batch-row {background:#fffefb;border-color:#dee5d9;padding:14px;grid-template-columns:minmax(160px,1fr) minmax(130px,.8fr) 90px minmax(170px,1fr);}
.teacher-experience #content .assessment-batch-row.needs-level {background:#fff5e2;border-color:#d8b56d;}
.teacher-experience #content .assessment-completion {background:#e8f2e9;color:#315a48;}
.teacher-experience #content .teacher-evidence-summary {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));margin:0 0 18px;}
.teacher-experience #content .teacher-evidence-summary>div {min-width:0;padding:12px;background:#f2f5ec;}
.teacher-experience #content .teacher-evidence-summary strong {display:block;}
.teacher-experience #content .report-steps {gap:8px;margin:18px 0;}
.teacher-experience #content .report-steps button {padding:11px 14px;border-radius:10px;min-width:0;font-size:13px;}
.teacher-experience #content .report-design-choice {background:#fffefb;border-color:#dbe3d7;padding:14px;}
.teacher-experience #content .report-design-choice[aria-pressed=true] {background:#eef5e9;border-color:#648d6e;}
.teacher-experience #content .design-miniature {height:76px;}
.teacher-experience #content :is(.report-review-note,.report-type-explanation) {background:#edf4ef;color:#385a52;border-color:#8bac91;}
.teacher-experience #content :is(.assessment-history-item,.report-history-item,.coursework-card) {border-color:#dce4d8;background:#fffefb;border-radius:13px;}
.teacher-experience #content :is(.academic-focus-day,.academic-focus-agenda,.academic-lesson-card) {border-color:#dae5d7;background:#f8faf3;}
.teacher-experience #content .academic-status-filter {min-width:140px;}
.teacher-experience #content .teacher-class-directory-head input {width:100%;min-width:0;}
.teacher-experience #content .messages-workspace-hero {padding:12px 18px;gap:16px;margin:0;background:#f1f5eb;border-radius:14px;}
.teacher-experience #content .messages-workspace-hero .teacher-header-art {width:64px;height:64px;flex-basis:64px;}
.teacher-experience #content .messages-workspace-hero h2 {font-size:21px;margin:0;}
.teacher-experience #content .messages-workspace-hero .teacher-workspace-metrics>div {padding:0;background:transparent;border:0;min-width:0;}
.teacher-experience #content .messages-workspace-hero .teacher-workspace-metrics strong {font-size:17px;}
.teacher-experience #content .messages-studio {height:calc(100dvh - 112px);min-height:580px;}
.teacher-experience #content .message-shell {border:1px solid #dce4d8;border-radius:16px;overflow:hidden;}
.teacher-experience #content .thread-list {background:#fffefb;}
.teacher-experience #content .thread-filters {background:#f7f8f2;gap:8px;}
.teacher-experience #content .thread-btn {background:#fffefb;border-radius:11px;border-color:transparent;}
.teacher-experience #content .thread-btn.active {background:#eaf2e8;border-color:#c0d5b9;box-shadow:inset 3px 0 #5d8d70;}
html[dir=rtl] .teacher-experience #content .thread-btn.active {box-shadow:inset -3px 0 #5d8d70;}
.teacher-experience #content .thread-main>small {background:#eef2e8;color:#4b6257;}
.teacher-experience #content .chat-head {background:#fffefb;border-color:#e1e7db;}
.teacher-experience #content .chat-messages {background:#f5f4ec;}
.teacher-experience #content .bubble.teacher {background:#e4f0e8;border-color:#c6dccd;color:#254c40;}
.teacher-experience #content .bubble.parent {background:#fffefb;border-color:#e5e5d9;color:#293f48;}
.teacher-experience #content .chat-form {background:#fffefb;border-color:#e0e6d9;}
.teacher-experience #content .chat-form textarea {background:#fafbf5;}
.teacher-experience #content .guardian-chip {color:#2d4b52;background:#eff3e9;border-color:#dce5d3;}
.teacher-experience #content dialog {max-width:min(1060px,calc(100vw - 32px));max-height:calc(100dvh - 48px);overflow:auto;border:1px solid #d3ded1;border-radius:18px;background:#fffefa;color:#233b46;}
.teacher-experience #content .table-wrap {max-width:100%;}
@media(min-width:1180px) {
 .teacher-experience #content [data-layout=compact] .teacher-student-card {grid-template-columns:minmax(220px,1.1fr) minmax(310px,1.4fr) minmax(180px,.9fr);}
 .teacher-experience #content [data-layout=compact] .teacher-card-actions {grid-column:3;grid-row:1 / 3;display:grid;grid-template-columns:1fr 1fr;}
}
@media(max-width:1100px) {
 .teacher-experience #content .teacher-warm-header .teacher-workspace-metrics {flex-basis:100%;}
 .teacher-experience #content .teacher-quick-actions {grid-template-columns:1fr 1fr;}
 .teacher-experience #content .teacher-evidence-summary {grid-template-columns:repeat(3,minmax(0,1fr));}
 .teacher-experience #content .assessment-batch-row {grid-template-columns:minmax(150px,1fr) minmax(120px,.8fr) 90px;}
 .teacher-experience #content .assessment-batch-row textarea {grid-column:1/-1;}
 .teacher-experience #content .teacher-attention-card {grid-template-columns:auto 1fr;}
 .teacher-experience #content .teacher-attention-card .teacher-text-action {grid-column:2;justify-self:start;}
}
@media(max-width:760px) {
 .teacher-experience .page-content {padding:16px 14px 32px;}
 .teacher-experience .topbar {padding:12px 16px;}
 .teacher-experience #content .teacher-warm-header {padding:18px;gap:14px;border-radius:16px;}
 .teacher-experience #content .teacher-header-art {width:76px;height:76px;flex-basis:76px;}
 .teacher-experience #content .teacher-header-copy {min-width:0;flex-basis:calc(100% - 100px);}
 .teacher-experience #content .teacher-warm-header h2 {font-size:23px;}
 .teacher-experience #content .teacher-warm-header p {font-size:13px;line-height:1.55;}
 .teacher-experience #content .teacher-day-status {width:100%;display:grid;grid-template-columns:1fr auto;gap:3px 12px;min-width:0;}
 .teacher-experience #content .teacher-day-status :is(span,strong,small) {grid-column:1;}
 .teacher-experience #content .teacher-day-status .btn-primary {grid-column:2;grid-row:1/4;align-self:center;margin:0;}
 .teacher-experience #content :is(.teacher-section-card,.mini-card,.academic-panel,.teacher-class-directory) {padding:16px;border-radius:14px;}
 .teacher-experience #content :is(.teacher-kpi-grid,.academic-metric-grid) {grid-template-columns:1fr 1fr;gap:9px;}
 .teacher-experience #content :is(.teacher-kpi,.academic-metric-grid>*) {padding:12px;min-height:78px;}
 .teacher-experience #content .teacher-kpi>strong {font-size:22px;}
 .teacher-experience #content .teacher-student-filters {grid-template-columns:1fr 1fr;padding:12px;}
 .teacher-experience #content .teacher-student-filters label:first-child {grid-column:1/-1;}
 .teacher-experience #content .teacher-view-choice {margin-inline-start:0;}
 .teacher-experience #content [data-layout=compact] .teacher-student-card {grid-template-columns:1fr;gap:10px;padding:16px 0;}
 .teacher-experience #content [data-layout=compact] :is(.teacher-student-signals,.teacher-student-safety,.teacher-card-actions) {grid-column:1;grid-row:auto;}
 .teacher-experience #content [data-layout=compact] .teacher-card-actions {justify-content:flex-start;}
 .teacher-experience #content [data-layout=compact] .teacher-card-actions button {flex:1 1 20%;padding:7px;}
 .teacher-experience #content .teacher-list-footer {gap:12px;}
 .teacher-experience #content .teacher-list-footer>div {justify-content:space-between;width:100%;}
 .teacher-experience #content .teacher-class-directory-head form {grid-template-columns:1fr 1fr;width:100%;}
 .teacher-experience #content .teacher-class-directory-head select {width:100%;min-width:0;}
 .teacher-experience #content .composer-history-filters {grid-template-columns:1fr 1fr;}
 .teacher-experience #content .composer-history-filters input {grid-column:1/-1;}
 .teacher-experience #content .studio-publish-bar {flex-wrap:wrap;position:static;}
 .teacher-experience #content .assessment-batch-row {grid-template-columns:1fr 1fr;}
 .teacher-experience #content .assessment-batch-row>label:first-child {grid-column:1/-1;}
 .teacher-experience #content .assessment-batch-row textarea {grid-column:1/-1;}
 .teacher-experience #content .teacher-evidence-summary {grid-template-columns:1fr 1fr;}
 .teacher-experience #content :is(.report-steps,.teacher-view-nav,.report-studio-tabs,.assessment-tabs) {gap:6px;}
 .teacher-experience #content .report-steps button {flex:1 1 28%;font-size:12px;padding:10px 8px;}
 .teacher-experience #content .messages-studio {height:calc(100dvh - 90px);min-height:620px;}
 .teacher-experience #content .messages-workspace-hero {padding:10px 14px;margin:0;}
 .teacher-experience #content .messages-workspace-hero h2 {font-size:19px;}
 .teacher-experience #content .messages-workspace-hero .teacher-workspace-metrics {display:none;}
}
@media(max-width:440px) {
 .teacher-experience #content .teacher-quick-action {padding:12px;gap:9px;}
 .teacher-experience #content .teacher-quick-icon {width:32px;height:32px;flex:0 0 32px;}
 .teacher-experience #content .teacher-quick-action>span:last-child {display:none;}
 .teacher-experience #content .teacher-quick-action strong {font-size:13px;}
 .teacher-experience #content .teacher-quick-action small {font-size:11px;}
 .teacher-experience #content .teacher-class-grid {grid-template-columns:minmax(0,1fr);}
 .teacher-experience #content .teacher-student-filters {grid-template-columns:1fr;}
 .teacher-experience #content .teacher-header-art {width:64px;height:64px;flex-basis:64px;}
 .teacher-experience #content .teacher-header-copy {flex-basis:calc(100% - 82px);}
 .teacher-experience #content .teacher-list-footer .teacher-page-number {font-size:11px;}
 .teacher-experience #content .teacher-workspace-metrics>:is(div,button) {flex:1;min-width:0;}
}
@media(prefers-reduced-motion:reduce) {
 .teacher-experience #content * {scroll-behavior:auto!important;transition:none!important;}
}

.teacher-experience #content .teacher-warm-header.messages-workspace-hero {flex-wrap:wrap;}
.teacher-experience #content .teacher-warm-header.messages-workspace-hero .teacher-workspace-metrics {flex:0 1 auto;max-width:100%;width:auto;}
.teacher-experience #content .academic-view-switch {display:flex;flex-wrap:wrap;gap:6px;}
.teacher-experience #content .academic-view-switch button.active {background:#e7f0eb;color:#315c50;border-color:#93b1a1;}
.teacher-experience #content .academic-day-strip button.active {background:#eaf2e5;border-color:#98b68e;color:#31564a;}
.teacher-experience #content .academic-toolbar.sticky {background:#fffefa;border-color:#dce4d9;border-radius:12px;}
.teacher-experience #content .academic-focus-day header {background:#edf3e7;border-color:#dbe4d2;color:#385b4d;}
.teacher-experience #content .academic-focus-week {gap:12px;}
.teacher-experience #content .report-source-option {border-color:#d6e0d5;}
.teacher-experience #content .report-source-option:has(input:checked) {background:#edf4ea;border-color:#91ae8f;}

.teacher-experience #content .teacher-student-identity {min-width:0;grid-template-columns:auto minmax(0,1fr);}
.teacher-experience #content .teacher-student-identity>div {min-width:0;max-width:100%;}
.teacher-experience #content .teacher-student-identity :is(h4,p) {white-space:normal;overflow-wrap:anywhere;max-width:100%;}
.teacher-experience #content .academic-metric-grid>* {min-width:0;overflow-wrap:anywhere;}
@media(max-width:760px) {
 .teacher-experience #content :is(.teacher-kpi-grid,.academic-metric-grid) {grid-template-columns:repeat(2,minmax(0,1fr));}
}

.teacher-experience #content .academic-metric-grid>div {display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:5px;}
.teacher-experience #content .academic-metric-grid>div :is(span,small) {width:auto;max-width:100%;white-space:normal;line-height:1.5;}
.teacher-experience #content .academic-metric-grid strong {font-size:24px;color:#294d50;max-width:100%;}
.teacher-experience #content .academic-metric-grid .metric-name {font-size:16px;white-space:normal;overflow-wrap:anywhere;text-overflow:clip;line-height:1.5;}
.teacher-experience #content .academic-view-switch {background:#f1f5ea;border:1px solid #dce5d3;border-radius:12px;padding:5px;}
.teacher-experience #content .academic-view-switch button {color:#526b61;box-shadow:none;}
.teacher-experience #content .academic-view-switch button.active {background:#fffefb;color:#315c50;box-shadow:0 2px 5px #38534810;}
.teacher-experience #content .teacher-tools-unavailable {padding:20px;border:1px solid #dce5d3;background:#fffefa;border-radius:14px;}

.teacher-experience #content .teacher-day-plan {margin-bottom:20px;}
.teacher-experience #content .teacher-day-lessons {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.teacher-experience #content .teacher-day-lesson {display:flex;flex-direction:column;gap:10px;text-align:start;min-width:0;background:#f5f7ef;border:1px solid #dce5d5;border-radius:12px;padding:15px;color:#2c4c50;}
.teacher-experience #content .teacher-day-lesson:hover {background:#eaf3e7;border-color:#95b195;}
.teacher-experience #content .teacher-lesson-time {font-size:12px;color:#526c61;}
.teacher-experience #content .teacher-lesson-detail {display:grid;gap:5px;overflow-wrap:anywhere;}
.teacher-experience #content .teacher-lesson-detail strong {font-size:15px;}
.teacher-experience #content .teacher-lesson-detail small {font-size:12px;color:#60716a;}
.teacher-experience #content .teacher-lesson-status {align-self:flex-start;background:#fffdf4;border:1px solid #e5debf;padding:3px 8px;border-radius:6px;font-size:11px;color:#594f34;}
.teacher-experience #content .teacher-timetable-empty {margin:0;background:#f5f7ef;padding:14px;border-radius:10px;color:#526b60;}
@media(max-width:760px) {
 .teacher-experience #content .teacher-day-lessons {grid-template-columns:1fr;}
 .teacher-experience #content .teacher-day-lesson {display:grid;grid-template-columns:1fr auto;gap:8px 12px;}
 .teacher-experience #content .teacher-lesson-time {grid-column:1;}
 .teacher-experience #content .teacher-lesson-detail {grid-column:1;}
 .teacher-experience #content .teacher-lesson-status {grid-column:2;grid-row:1/3;}
}

.teacher-experience #content .teacher-student-signals {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;}

.teacher-experience #content .teacher-student-directory {scroll-margin-block-start:96px;}

@media(max-width:760px) {
 .teacher-experience #content .messages-workspace-hero .teacher-header-art {width:48px;height:48px;flex-basis:48px;}
 .teacher-experience #content .messages-workspace-hero .teacher-header-copy {flex-basis:calc(100% - 62px);}
}
