/* Teacher home is a small work queue; detailed teaching records stay in their pages. */
.teacher-dashboard{min-width:0;max-width:1120px;margin:0 auto}
.td-page-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:6px 0 20px}
.td-page-head h2{font-size:24px;line-height:1.4;margin:0;color:var(--fg,#1e2b42)}
.td-page-head p{font-size:12px;color:var(--muted);margin:5px 0 0}
.td-account{max-width:160px;overflow-wrap:anywhere;color:var(--fg2);font-size:12px;text-align:right}
.td-live[hidden]{display:none!important}
.td-live{border-color:var(--p80,#b7cdfa)!important}
.td-live h3{font-size:18px;margin:8px 0 4px}
.td-live p,.td-assistant p{font-size:12px;color:var(--fg2);line-height:1.7;margin:4px 0 12px}
.td-live .btn{margin:10px 0 0}
.td-task-row,.td-class-row{width:100%;display:flex;justify-content:space-between;align-items:center;gap:12px;border:0;border-bottom:1px solid var(--line,#e1e8f2);background:transparent;text-align:left;padding:12px 0;font:inherit;color:var(--fg,#223247);cursor:pointer}
.td-task-row>span:first-child,.td-class-row>span:first-child{min-width:0;flex:1}
.td-task-row b,.td-class-row b{display:block;font-size:13px;line-height:1.65;overflow-wrap:anywhere}
.td-task-row small,.td-class-row small{display:block;margin-top:3px;color:var(--muted);font-size:11px;line-height:1.65;overflow-wrap:anywhere}
.td-task-tag{flex:none;color:var(--p40,#2457D6);font-size:11px;white-space:nowrap}
.td-task-tag.warn{color:var(--warn,#9a6508)}
.td-empty,.td-status{font-size:12px;color:var(--muted);line-height:1.8;margin:8px 0}
.td-status.error{color:var(--bad,#c13b45)}
.td-inline-link{padding:4px 0;border:0;background:transparent;font:inherit;font-size:12px;color:var(--p40,#2457D6);cursor:pointer;text-align:left;line-height:1.7}
.td-all-classes{margin-top:12px}
.td-primary-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:4px}
.td-primary-actions>button{min-width:0;display:flex;flex-direction:column;align-items:flex-start;text-align:left;border:1px solid var(--line,#dee7f6);border-radius:12px;padding:13px;background:var(--surface,#fff);color:var(--fg,#223247);font:inherit;cursor:pointer}
.td-action-symbol{height:30px;width:30px;display:grid;place-items:center;border-radius:9px;background:var(--p95,#edf3ff);color:var(--p40,#2457D6);font-size:13px;font-weight:700;margin-bottom:8px}
.td-primary-actions b{font-size:13px;line-height:1.6}
.td-primary-actions small{font-size:11px;color:var(--muted);line-height:1.6;margin-top:3px}
.td-assistant-actions{display:flex;gap:8px;flex-wrap:wrap}
.td-assistant-actions .btn{width:auto;flex:1;margin:0;padding:10px 12px;font-size:12px}
@media(min-width:1100px){
 .teacher-dashboard{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:16px;align-items:start}
 .teacher-dashboard>.gSemHome,.teacher-dashboard>.td-page-head,.teacher-dashboard>.td-live{grid-column:1/-1}
 .teacher-dashboard>.gSemHome,.teacher-dashboard>.td-page-head,.teacher-dashboard>.card{margin-bottom:0}
 .teacher-dashboard>.td-pending{grid-row:span 2}
 .teacher-dashboard>.td-classes{grid-column:1/-1}
 .td-classes .td-class-row{padding:11px 0}
}
@media(max-width:600px){
 .td-page-head{margin-bottom:16px;gap:12px}.td-page-head h2{font-size:22px}.td-account{max-width:110px}
 .td-primary-actions{gap:7px}.td-primary-actions>button{padding:11px 9px}.td-primary-actions b{font-size:12px}
 .td-primary-actions small{font-size:10px}.td-action-symbol{height:28px;width:28px;margin-bottom:6px}
 .td-task-row{gap:8px}.td-task-tag{font-size:10px}.td-pending>.h{align-items:flex-start;gap:8px}
 .td-pending>.h .rt{max-width:48%;font-size:10px;text-align:right;line-height:1.6}
}
