/* Class folders: one class and one task at a time. */
main:has(#teacherDashboard:not([hidden])){margin:20px auto;width:min(1280px,calc(100% - 40px))}
body:has(#teacherDashboard:not([hidden])){background:#f4f6f9}
#teacherDashboard{color:#172334}
#teacherDashboard .teacher-workspace-bar{display:flex;justify-content:space-between;align-items:center;margin:0 0 16px;color:#617083;font-size:14px}
#teacherDashboard .dashboard-settings{position:relative}
#teacherDashboard .dashboard-settings summary{padding:9px 14px;border:1px solid #d8e0ea;background:#fff;border-radius:8px;color:#334359;font-weight:600}
#teacherDashboard .settings-menu{z-index:30;min-width:220px}
#teacherDashboard .class-folder-strip{display:flex;align-items:end;gap:8px;flex-wrap:wrap}
#teacherDashboard .class-folder-tabs{display:flex;gap:5px;flex-wrap:wrap;max-width:100%;align-items:end}
#teacherDashboard .class-folder-tabs button,#teacherDashboard .new-class-tab{font:inherit;font-size:14px;cursor:pointer;padding:13px 18px;border:1px solid #d4deeb;border-bottom:0;border-radius:9px 9px 0 0;background:#eaf0f7;color:#56677d;overflow-wrap:anywhere;max-width:240px}
#teacherDashboard .class-folder-tabs button[aria-pressed=true]{background:#fff;color:var(--blue);font-weight:800;position:relative;z-index:1;padding-bottom:14px;margin-bottom:-1px}
#teacherDashboard .new-class-tab{border:0;background:transparent;color:#52667f;font-size:13px;max-width:none}
#teacherDashboard button:focus-visible,#teacherDashboard summary:focus-visible{outline:3px solid #92bcff;outline-offset:2px}
#teacherDashboard .class-folder{background:#fff;border:1px solid #d4deeb;border-radius:0 12px 12px 12px;padding:24px;min-width:0}
#teacherDashboard .class-folder[aria-busy=true]{opacity:.65}
#teacherDashboard .dashboard-head{padding:0 0 20px;margin:0 0 18px;box-shadow:none;border:0;border-bottom:1px solid #e4e9ef;border-radius:0;background:transparent;flex-wrap:wrap}
#teacherDashboard .class-title-line{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
#teacherDashboard .class-title-line h1{font-size:27px;line-height:1.2;margin:0;letter-spacing:-.5px}
#teacherDashboard .class-title-line>span{font-size:13px;color:#627184}
#teacherDashboard .code-pill{font-size:13px;padding:4px 8px;border:0;background:#edf3fc;color:var(--blue);border-radius:5px}
#teacherDashboard .class-section-tabs{display:flex;gap:4px;background:#eef2f7;padding:4px;border-radius:9px;flex-wrap:wrap}
#teacherDashboard .class-section-tabs button{border:0;border-radius:6px;background:transparent;color:#607086;font:inherit;font-weight:600;font-size:14px;padding:10px 18px;cursor:pointer}
#teacherDashboard .class-section-tabs button[aria-selected=true]{background:#fff;color:#172334;box-shadow:0 1px 5px #17233417}
#teacherDashboard .summary-grid{display:flex;flex-wrap:wrap;gap:12px 24px;margin:0 0 18px}
#teacherDashboard .summary-grid article{padding:0;background:transparent;border:0;border-radius:0;gap:7px;justify-content:flex-start;align-items:baseline;flex-direction:row}
#teacherDashboard .summary-grid span{font-size:12px;color:#718096}
#teacherDashboard .summary-grid strong{font-size:14px;color:#334359}
#teacherDashboard .dashboard-panel{padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}
#teacherDashboard .gradebook-heading h2{font-size:19px}
#teacherDashboard .gradebook-heading .eyebrow{display:none}
#teacherDashboard .gradebook-toolbar{background:transparent;padding:0;gap:10px;margin-top:16px;border-radius:0;align-items:center}
#teacherDashboard .progress-tabs{margin-right:0;background:#eef2f7;border-radius:8px;flex-shrink:0}
#teacherDashboard .report-tab{font-weight:600;font-size:12px}
#teacherDashboard .report-tab.active{box-shadow:none}
#teacherDashboard .compact-field{font-size:11px;text-transform:none;letter-spacing:0;font-weight:600}
#teacherDashboard .compact-field select,#teacherDashboard .gradebook-search input{height:35px;font-size:13px;border-color:#d0dae6;border-radius:7px}
#teacherDashboard .used-topics-toggle{font-size:12px;font-weight:400;color:#53667c}
#teacherDashboard .gradebook-search{margin-left:auto}
#teacherDashboard .gradebook-more-filters{position:relative;font-size:12px}
#teacherDashboard .gradebook-more-filters summary{padding:9px 10px;border:1px solid #d4deeb;border-radius:7px;cursor:pointer;color:#52667f}
#teacherDashboard .gradebook-more-filters>div{position:absolute;top:calc(100% + 8px);left:0;min-width:220px;display:grid;gap:12px;padding:16px;background:#fff;border:1px solid #d4deeb;box-shadow:0 8px 24px #17233418;border-radius:9px;z-index:12}
#teacherDashboard .table-head{margin:16px 0 10px;align-items:center}
#teacherDashboard .table-head h3{font-size:14px;font-weight:600}
#teacherDashboard .table-head p{font-size:12px;max-width:680px;line-height:1.5}
#teacherDashboard .table-scroll{border:1px solid #e0e6ee;border-radius:9px;max-width:100%}
#teacherDashboard th{background:#f7f9fc;color:#627184;font-size:12px}
#teacherDashboard .privacy-note{font-size:11px;line-height:1.5;color:#718096;margin:18px 0 0}
#teacherDashboard .folder-section-intro{margin:0 0 18px}
#teacherDashboard .folder-section-intro h2{font-size:20px;margin:0 0 5px}
#teacherDashboard .folder-section-intro p{font-size:14px;color:#65768b;line-height:1.5;margin:0;max-width:700px}
#teacherDashboard .teacher-quick-actions{grid-template-columns:1fr;gap:12px;max-width:940px;margin:0}
#teacherDashboard .quiz-window-card,#teacherDashboard .group-mode-card,#teacherDashboard .tournament-mode-card{border:1px solid #dce4ed;background:#fff;box-shadow:none;border-radius:10px;padding:18px;flex-wrap:wrap;gap:14px;flex-direction:row;align-items:center}
#teacherDashboard .quiz-window-card>div:first-child,#teacherDashboard .group-mode-card>div:first-child,#teacherDashboard .tournament-mode-card>div:first-child{flex:1 1 260px;gap:5px}
#teacherDashboard .quiz-window-card.open,#teacherDashboard .group-mode-card.active,#teacherDashboard .tournament-mode-card.active{background:#f5f9ff;border-color:#9dbff0}
#teacherDashboard .quiz-window-label{font-size:13px;color:#172334;letter-spacing:0;text-transform:none}
#teacherDashboard .teacher-quick-actions strong{font-size:14px;font-weight:600}
#teacherDashboard .teacher-quick-actions small{font-size:12px;color:#65768b;line-height:1.5}
#teacherDashboard .teacher-quick-actions label{display:grid;gap:5px;font-size:12px;color:#65768b}
#teacherDashboard .teacher-quick-actions select{font:inherit;padding:8px;border:1px solid #d4deeb;border-radius:7px;background:#fff}
#teacherDashboard .group-primary,#teacherDashboard .tournament-primary{background:var(--blue);box-shadow:none;border-radius:8px;font-weight:600}
#teacherDashboard .roster-search{display:grid;gap:7px;max-width:300px;font-size:13px;font-weight:600}
#teacherDashboard .roster-search input{padding:10px 12px;border:1px solid #d4deeb;border-radius:7px;background:#fff;min-width:0}
#teacherDashboard .roster-count{font-size:12px;color:#65768b;margin:12px 0}
#teacherDashboard #classRosterTable{width:100%;border-collapse:collapse;font-size:13px}
#teacherDashboard #classRosterTable th,#teacherDashboard #classRosterTable td{padding:11px 14px;text-align:left;border-bottom:1px solid #edf0f4;white-space:nowrap}
@media(max-width:760px){main:has(#teacherDashboard:not([hidden])){width:calc(100% - 20px);margin:12px auto}#teacherDashboard .class-folder{padding:15px}#teacherDashboard .dashboard-head{align-items:flex-start;gap:16px}#teacherDashboard .class-section-tabs{width:100%}#teacherDashboard .class-section-tabs button{flex:1;padding:10px 12px}#teacherDashboard .class-folder-tabs button{padding:11px 12px;font-size:13px;max-width:180px}#teacherDashboard .gradebook-search{margin-left:0;flex:1 1 100%}#teacherDashboard .teacher-quick-actions .primary,#teacherDashboard .teacher-quick-actions .secondary{width:auto}#teacherDashboard .summary-grid{gap:8px 16px}#teacherDashboard .summary-grid article{gap:5px}#teacherDashboard .gradebook-more-filters>div{left:auto;right:0}#teacherDashboard .teacher-workspace-bar{margin-bottom:12px}}
#teacherDashboard .teacher-test-card{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin:0 0 22px;padding:18px;border:1px solid #bfd3ee;border-radius:10px;background:#f3f7fe}#teacherDashboard .teacher-test-card h3{margin:0 0 5px;font-size:16px}#teacherDashboard .teacher-test-card p{margin:0;max-width:540px;font-size:13px;line-height:1.5;color:#52667f}#teacherDashboard .teacher-test-card>div:last-child{display:flex;gap:10px;flex-wrap:wrap}#teacherDashboard .teacher-test-card a{text-decoration:none;font-size:13px}
