/* Compact teacher workbench; keep its lesson and review actions in the ordinary app flows. */
.workbench-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,1fr);gap:24px;align-items:start}
.workbench-lessons,.workbench-attention{min-width:0}
.teacher-workbench .daily-lessons{max-width:none}
.workbench-lessons>.section-title{min-height:32px;margin:0 0 15px}
.workbench-lessons>.section-title h2{font-size:1.125rem}
.workbench-attention{margin:0;padding:22px}
.workbench-attention>h2{font-size:1.125rem;margin:0 0 4px}
.workbench-attention-section{padding:18px 0;border-bottom:1px solid var(--line)}
.workbench-attention-section:last-child{border-bottom:0;padding-bottom:0}
.workbench-attention-heading{font-size:.9375rem;line-height:1.45;font-weight:650}
.workbench-attention-open{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;min-height:44px;width:100%;padding:0;color:var(--text);font-size:inherit;line-height:inherit;font-weight:inherit;border-radius:8px}
.workbench-attention-open:hover{color:var(--accent)}
.workbench-count{display:grid;place-items:center;flex:none;min-width:32px;min-height:32px;padding:3px 9px;border-radius:9px;background:var(--surface-2);font-variant-numeric:tabular-nums;color:var(--muted);font-weight:700}
.workbench-count.has-items{background:var(--accent-soft);color:var(--accent)}
.workbench-empty,.workbench-hint{font-size:.875rem;line-height:1.6;color:var(--muted);margin:7px 0 0}
.workbench-hint{margin-bottom:12px}
.workbench-action-row{padding:13px 0 0;display:flex;gap:10px;align-items:flex-start;justify-content:space-between;flex-wrap:wrap}
.workbench-action-row+ .workbench-action-row{margin-top:13px;border-top:1px solid var(--line-soft)}
.workbench-action-row>div{min-width:0;flex:1 1 135px;overflow-wrap:anywhere}
.workbench-action-row strong{font-size:.9375rem;font-weight:650}
.workbench-action-row p{font-size:.8125rem;line-height:1.6;color:var(--muted);margin:4px 0 0}
.workbench-action-row .btn,.workbench-attention-section>.btn{min-height:44px;font-size:.875rem;padding:10px 12px;max-width:100%}
.workbench-attention-section>.btn{margin-top:12px}
.workbench-attention-section .compact-details{margin-top:14px}
.workbench-attention-section summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:var(--accent);font-size:.875rem}
.workbench-overdue{padding-top:18px}
.workbench-overdue .btn{width:100%;text-align:left;justify-content:flex-start;font-size:.875rem}
.workbench-reports{margin-top:24px;display:flex;gap:12px;flex-wrap:wrap}
.teacher-workbench>#classroom-report-drafts{margin-top:24px}
@media(min-width:1101px){.teacher-workbench .lesson-card{padding:22px}.workbench-lessons .lesson-top{gap:10px}.workbench-lessons .lesson-actions{gap:8px}.workbench-lessons .lesson-actions .btn{padding:10px 12px;font-size:.875rem}}
@media(max-width:1100px){.workbench-layout{grid-template-columns:minmax(0,1.3fr) minmax(260px,1fr);gap:18px}.workbench-attention{padding:18px}.workbench-action-row .btn{flex:0 1 auto}}
@media(max-width:900px){.workbench-layout{grid-template-columns:1fr}.workbench-attention{max-width:none}.workbench-attention-section{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:16px}.workbench-attention-heading{grid-column:1/-1}.workbench-attention-section>.workbench-empty,.workbench-attention-section>.workbench-hint,.workbench-attention-section>.workbench-action-row,.workbench-attention-section>.compact-details{grid-column:1/-1}.workbench-attention-section>.btn{justify-self:start}}
/* A clock is useful at the desk, but must never push Menu to a second phone row. */
@media(max-width:760px){
 .topbar{display:flex;flex-wrap:nowrap;gap:8px;padding:8px 12px;min-height:60px;height:auto}
 .topbar .desktop-context,.topbar-actions .live-clock{display:none}
 .topbar .mobile-brand{display:block;flex:1 1 0;min-width:0;overflow:hidden}
 .topbar .mobile-brand .brand{gap:7px;min-width:0;margin:0}
 .topbar .mobile-brand .brand>div{min-width:0;overflow:hidden}
 .topbar .mobile-brand .brand strong{font-size:.9375rem;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .topbar .mobile-brand .brand span{display:none}
 .topbar .mobile-brand .brand-image{width:30px;height:34px;max-height:34px;flex:none}
 .topbar .topbar-actions{display:flex;flex:none;flex-wrap:nowrap;gap:6px;min-width:max-content;align-items:center}
 .topbar .topbar-actions>.icon-btn{width:44px;height:44px;min-width:44px;min-height:44px;flex:none}
 .topbar .topbar-actions>.header-menu{min-width:60px;min-height:44px;flex:none;white-space:nowrap;padding:10px;font-size:.875rem}
 .workbench-layout{gap:20px}
 .workbench-lessons{order:1}
 .workbench-attention{order:0;padding:16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .workbench-attention>h2{grid-column:1/-1;margin:0 0 2px}
 .workbench-attention-section{display:block;padding:0;border:0;min-width:0}
 .workbench-attention-section>:not(.workbench-attention-heading){display:none}
 .workbench-attention-open{font-size:.8125rem;line-height:1.4;min-height:72px;height:100%;padding:10px;gap:6px;background:var(--surface-2);border:1px solid var(--line);border-radius:10px}
 .workbench-count{min-width:27px;min-height:30px;padding:2px 7px;font-size:.875rem}
 .workbench-overdue{grid-column:1/-1;padding:0}
 .workbench-overdue .btn{font-size:.8125rem;padding:9px}
 .workbench-action-row{gap:10px}
 .workbench-action-row>.btn{min-height:44px}
 .workbench-reports{margin-top:20px}
}
@media(max-width:380px){.topbar{padding-left:10px;padding-right:10px;gap:6px}.topbar .mobile-brand .brand-image{display:none}.topbar .mobile-brand .brand{gap:0}.topbar .topbar-actions{gap:5px}.workbench-attention{padding:16px}.workbench-action-row .btn{width:100%}}
