/* v0.9.8 — Teacher Workflow Polish */
.teacher-dashboard-toolbar{gap:14px}.teacher-toolbar-meta{display:grid;gap:2px;min-width:0}.teacher-toolbar-meta p{margin:0}.teacher-toolbar-meta small{color:#64748b;font-size:.75rem}.teacher-toolbar-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-left:auto}.teacher-toolbar-actions .secondary-cta{min-height:38px}
.teacher-room-summary{align-self:center;padding:6px 10px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.74rem;font-weight:800;white-space:nowrap}.room-title-line{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.room-status-pill{display:inline-flex;align-items:center;min-height:24px;padding:3px 8px;border-radius:999px;font-size:.68rem;font-weight:850;letter-spacing:.01em}.room-status-pill.is-open{background:#dcfce7;color:#047857}.room-status-pill.is-closed{background:#f1f5f9;color:#64748b}.cloud-room-card.is-open{border-left-color:#10b981}.cloud-room-card.is-archived{opacity:.82;background:#f8fafc}.cloud-room-head-actions{display:grid;justify-items:end;gap:6px}.room-last-activity{font-size:.7rem;color:#64748b}.room-actions{padding-top:2px}.room-actions button{min-height:38px}.room-save-btn{border-color:#c7d2fe!important;background:#eef2ff!important;color:#4338ca!important}.room-archive-btn.is-reopen{border-color:#a7f3d0!important;background:#ecfdf5!important;color:#047857!important}.room-management-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding:8px 10px;border-radius:10px;background:#f8fafc;color:#64748b}.room-management-bar span{font-weight:800;color:#475569}.room-management-bar small{text-align:right}.room-member-empty{margin:6px 0;color:#64748b}.member-progress{display:grid;gap:3px}.member-last{font-size:.68rem;font-weight:750}.member-last.is-live{color:#047857}.member-last.is-recent{color:#0369a1}.member-last.is-normal{color:#64748b}.member-last.is-stale,.member-last.is-never{color:#b45309}.room-member-row.activity-live{box-shadow:inset 3px 0 0 #34d399}.room-member-row.activity-stale{box-shadow:inset 3px 0 0 #f59e0b}
.student-manage-title{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.student-account-state{display:inline-flex;padding:3px 7px;border-radius:999px;font-size:.65rem;font-weight:850}.student-account-state.is-live{background:#dcfce7;color:#047857}.student-account-state.is-recent{background:#e0f2fe;color:#0369a1}.student-account-state.is-normal{background:#eef2ff;color:#4f46e5}.student-account-state.is-stale{background:#fef3c7;color:#b45309}.student-account-state.is-never{background:#f1f5f9;color:#64748b}.student-account-state.is-disabled{background:#fee2e2;color:#b91c1c}.student-manage-card.activity-live{border-color:#a7f3d0}.student-manage-card.activity-stale{border-color:#fde68a}.student-manage-card.activity-disabled{border-color:#fecaca}
@media(max-width:760px){.teacher-dashboard-toolbar{flex-direction:column;align-items:stretch}.teacher-toolbar-actions{width:100%;margin-left:0}.teacher-toolbar-actions .secondary-cta{flex:1;justify-content:center}.cloud-room-head-actions{justify-items:start}.teacher-room-summary{align-self:flex-start}.room-management-bar{align-items:flex-start;flex-direction:column}.room-management-bar small{text-align:left}}
@media(max-width:520px){.teacher-toolbar-actions{display:grid;grid-template-columns:1fr 1fr}.room-actions{display:grid;grid-template-columns:1fr}.room-actions button{width:100%;justify-content:center}.room-member-actions{display:grid;grid-template-columns:1fr}.room-member-actions button{width:100%}}
