.teacher-overview { display: grid; gap: 14px; margin-bottom: 14px; }
.teacher-overview-head { display: flex; gap: 18px; align-items: flex-start; justify-content: space-between; padding: 18px 20px; border: 1px solid #d4e2ef; border-radius: 14px; background: linear-gradient(135deg, #f8fbff, #edf7f6); }
.teacher-overview h2, .teacher-overview h3 { margin: 0; color: #123d65; }
.teacher-overview h2 { font-size: 24px; }
.teacher-overview h3 { font-size: 17px; }
.teacher-overview p { margin: 5px 0 0; color: #536b80; line-height: 1.4; }
.teacher-overview-kicker, .teacher-overview-panel header span, .teacher-general-card header span { display: block; color: #16705f; font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.teacher-overview-head-actions { display: grid; justify-items: end; gap: 8px; }
.teacher-overview-tabs, .teacher-overview-scope-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.teacher-overview-tabs button, .teacher-overview-scope-tabs button, .teacher-presentation-toggle { border: 1px solid #bfd2e6; border-radius: 8px; background: #fff; color: #174f88; padding: 8px 11px; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.teacher-overview-tabs button.active { background: #164f83; color: #fff; border-color: #164f83; }
.teacher-tab-count { display: inline-grid; min-width: 20px; min-height: 20px; margin-left: 4px; place-items: center; border-radius: 999px; background: #c43e32; color: #fff; font-size: 11px; }
.teacher-overview-tabs button.active .teacher-tab-count { background: #fff; color: #9c2e25; }
.teacher-presentation-toggle { border-color: #80c9b4; color: #075d4b; }
.teacher-presentation-toggle:hover, .teacher-presentation-toggle:focus-visible { background: #e3f4ef; }
.teacher-overview-scope-tabs { border-bottom: 1px solid #dce6ef; padding: 0 4px 10px; }
.teacher-overview-scope-tabs button.active { background: #e3f4ef; border-color: #80c9b4; color: #075d4b; }
.teacher-overview-main-grid { display: grid; grid-template-columns: minmax(300px, .82fr) minmax(0, 1.55fr); gap: 14px; align-items: start; }
.teacher-overview-panel { border: 1px solid #dce6ef; border-radius: 12px; background: #fff; overflow: hidden; }
.teacher-overview-panel > header { display: flex; gap: 12px; justify-content: space-between; align-items: flex-start; padding: 14px 16px; border-bottom: 1px solid #e8eef5; background: #fbfdff; }
.teacher-overview-panel > header > strong { color: #174f88; font-size: 22px; }
.teacher-overview-roster { display: grid; max-height: 690px; overflow-y: auto; }
.teacher-overview-student { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; border-bottom: 1px solid #edf2f6; background: #fff; }
.teacher-overview-student:last-child { border-bottom: 0; }
.teacher-overview-student-main { width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; border: 0; background: transparent; padding: 10px 9px 10px 14px; text-align: left; cursor: pointer; font: inherit; }
.teacher-overview-student-main:hover, .teacher-overview-student-main:focus-visible { background: #f5faff; outline: 0; }
.teacher-overview-student-avatar { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #dbeaf8; color: #164f83; font-size: 11px; font-weight: 900; }
.teacher-overview-student strong, .teacher-overview-student small { display: block; }
.teacher-overview-student strong { color: #1e405f; font-size: 13px; }
.teacher-overview-student small { margin-top: 2px; color: #61758a; font-size: 11px; }
.teacher-overview-unread { align-self: center; display: grid; min-width: 63px; justify-items: center; gap: 1px; margin-right: 9px; border: 1px solid #edb9a1; border-radius: 9px; padding: 5px 7px; background: #fff4ed; color: #9f3f13; font: inherit; cursor: pointer; }
.teacher-overview-unread strong { color: #a23b12; font-size: 16px; line-height: 1; }
.teacher-overview-unread span { font-size: 9px; font-weight: 900; }
.teacher-overview-unread:hover, .teacher-overview-unread:focus-visible { background: #ffe8db; border-color: #d8794d; }
.teacher-overview-reviewed { align-self: center; margin-right: 14px; color: #16805f; font-size: 10px; font-weight: 900; }
.teacher-school-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.teacher-school-panel > header { min-height: 105px; }
.teacher-school-ranking { display: grid; max-height: 650px; overflow-y: auto; }
.teacher-school-ranking-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; border-bottom: 1px solid #edf2f6; background: #fff; }
.teacher-school-ranking-row:last-child { border-bottom: 0; }
.teacher-school-alert-count { align-self: center; display: grid; min-width: 74px; justify-items: center; gap: 1px; margin-right: 10px; border: 1px solid #edb9a1; border-radius: 9px; padding: 6px 8px; background: #fff4ed; color: #9f3f13; font: inherit; cursor: pointer; }
.teacher-school-alert-count strong { color: #a23b12; font-size: 18px; line-height: 1; }
.teacher-school-alert-count span { font-size: 10px; font-weight: 900; }
.teacher-school-alert-count small { color: #73594d; font-size: 9px; }
.teacher-school-alert-count:hover, .teacher-school-alert-count:focus-visible { background: #ffe8db; border-color: #d8794d; }
.teacher-school-course-header { align-items: center !important; }
.teacher-school-course-header label { display: grid; gap: 4px; min-width: 170px; color: #536b80; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.teacher-school-course-header select { width: 100%; min-height: 36px; border: 1px solid #9abbd8; border-radius: 7px; background: #fff; color: #174f88; padding: 6px 9px; font: inherit; font-size: 12px; font-weight: 800; text-transform: none; }
.teacher-school-semester { display: grid; gap: 4px; min-width: 180px; color: #536b80; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.teacher-school-semester select { width: 100%; min-height: 36px; border: 1px solid #80c9b4; border-radius: 7px; background: #fff; color: #075d4b; padding: 6px 9px; font: inherit; font-size: 12px; font-weight: 800; text-transform: none; }
.teacher-course-general { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.teacher-general-card { min-height: 140px; padding: 15px 16px; border: 1px solid #dce6ef; border-radius: 12px; background: #fff; }
.teacher-general-card header { margin-bottom: 10px; }
.teacher-general-card h3 { margin-top: 3px; }
.teacher-general-agenda, .teacher-general-orientation { grid-column: 1 / -1; }
.teacher-general-list { display: grid; gap: 7px; }
.teacher-general-list > div { display: grid; grid-template-columns: 68px 1fr; gap: 10px; align-items: start; padding-top: 7px; border-top: 1px solid #edf2f6; }
.teacher-general-list time { color: #8f245f; font-size: 12px; font-weight: 900; text-transform: capitalize; }
.teacher-general-list strong, .teacher-general-list small { display: block; }
.teacher-general-list strong { color: #1e405f; font-size: 13px; }
.teacher-general-list small { margin-top: 2px; color: #61758a; font-size: 11px; }
.teacher-general-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.teacher-general-chips span { border-radius: 999px; padding: 7px 10px; background: #fff2df; color: #8f4c0a; font-size: 12px; font-weight: 900; }
.teacher-general-value { color: #174f88; font-size: 35px; font-weight: 900; line-height: 1; }
.teacher-general-value.compact { font-size: 20px; line-height: 1.2; }
.teacher-general-orientation ul { display: grid; gap: 7px; margin: 0; padding-left: 20px; color: #38546d; font-size: 13px; }
.teacher-subject-summary { grid-column: 1 / -1; min-height: auto; }
.teacher-subject-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.teacher-subject-metrics > div { display: grid; gap: 3px; border: 1px solid #dce6ef; border-radius: 9px; background: #f8fbff; padding: 11px 12px; }
.teacher-subject-metrics strong { color: #174f88; font-size: 25px; line-height: 1; }
.teacher-subject-metrics span { color: #536b80; font-size: 11px; font-weight: 800; }
.teacher-subject-ranking { display: grid; gap: 7px; }
.teacher-subject-ranking > div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid #edf2f6; padding-bottom: 7px; color: #38546d; font-size: 12px; }
.teacher-subject-ranking > div:last-child { border-bottom: 0; padding-bottom: 0; }
.teacher-subject-ranking strong { display: grid; min-width: 24px; min-height: 24px; place-items: center; border-radius: 999px; background: #fff2df; color: #8f4c0a; font-size: 11px; }
.teacher-overview.is-presentation .teacher-overview-roster-panel, .teacher-overview.is-presentation .teacher-overview-scope-tabs, .teacher-overview.is-presentation .teacher-overview-tabs { display: none; }
.teacher-overview.is-presentation .teacher-overview-main-grid { grid-template-columns: 1fr; }
.teacher-overview.is-presentation .teacher-course-general { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.teacher-overview-empty, .teacher-overview-loading, .teacher-overview-error, .teacher-overview-calendar-note { margin: 0; padding: 15px 16px; color: #61758a; }
.teacher-overview-error { border: 1px solid #f0c7c3; border-radius: 10px; background: #fff4f2; color: #9f281e; }
.teacher-overview-calendar-choice { margin-bottom: 14px; }
.teacher-overview-calendar-choice > header { display: flex; gap: 18px; align-items: flex-start; justify-content: space-between; padding: 18px 20px; border: 1px solid #d4e2ef; border-radius: 14px; background: linear-gradient(135deg, #f8fbff, #edf7f6); }
.teacher-alert-summary { display: flex; align-items: baseline; gap: 7px; padding: 13px 16px; border: 1px solid #dce6ef; border-radius: 10px; background: #fff; color: #536b80; }
.teacher-alert-summary strong { color: #9f3f13; font-size: 25px; }
.teacher-alert-summary span { font-weight: 900; }
.teacher-alert-summary small { margin-left: auto; color: #16805f; }
.teacher-alert-list { display: grid; gap: 10px; }
.teacher-alert-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 15px 16px; border: 1px solid #e1c5b8; border-left: 5px solid #d56b35; border-radius: 10px; background: #fff; }
.teacher-alert-card.teacher-alert-critical { border-left-color: #bd3328; }
.teacher-alert-card.is-reviewed { border-color: #d7e3dd; border-left-color: #58a787; background: #f8fcfa; opacity: .82; }
.teacher-alert-card-meta { display: flex; gap: 7px; align-items: center; margin-bottom: 5px; }
.teacher-alert-card-meta span { color: #9f3f13; font-size: 10px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.teacher-alert-card-meta small { color: #61758a; font-size: 11px; }
.teacher-alert-card h3 { margin-bottom: 6px; font-size: 16px; }
.teacher-alert-card-main > strong { color: #432f29; font-size: 14px; }
.teacher-alert-card p { font-size: 12px; }
.teacher-alert-evidence { display: inline-block; margin-top: 8px; padding: 6px 8px; border-radius: 5px; background: #fff3ea; color: #873b17; font-size: 11px; font-weight: 800; }
.teacher-alert-actions { display: grid; align-content: center; gap: 7px; min-width: 155px; }
.teacher-alert-actions button { min-height: 34px; border: 1px solid #9abbd8; border-radius: 6px; padding: 7px 10px; background: #fff; color: #174f88; font: inherit; font-size: 11px; font-weight: 900; cursor: pointer; }
.teacher-alert-actions button.primary { border-color: #174f88; background: #174f88; color: #fff; }
.teacher-alert-actions span { color: #16805f; font-size: 12px; font-weight: 900; text-align: center; }
@media (max-width: 920px) { .teacher-overview-main-grid, .teacher-school-grid { grid-template-columns: 1fr; } .teacher-overview-roster, .teacher-school-ranking { max-height: 440px; } }
@media (max-width: 680px) { .teacher-overview-head, .teacher-overview-calendar-choice > header { display: grid; } .teacher-overview-head-actions { justify-items: start; } .teacher-course-general, .teacher-overview.is-presentation .teacher-course-general, .teacher-subject-metrics { grid-template-columns: 1fr; } .teacher-general-agenda, .teacher-general-orientation, .teacher-subject-summary { grid-column: auto; } .teacher-alert-card { grid-template-columns: 1fr; } .teacher-alert-actions { grid-template-columns: 1fr 1fr; } }
