
.row-tier5 { background-color: #F1F8EC !important; }
.badge-tier5 { background-color: #E2F0D9; color: #274E13; border: 1px solid #c2e0b1; }
.bar-tier5 { background-color: #10B981; }
.row-tier4plus { background-color: #F0F6FC !important; }
.badge-tier4plus { background-color: #DDEBF7; color: #1F4E79; border: 1px solid #b8d6f0; }
.bar-tier4plus { background-color: #0EA5E9; }
.row-tier4 { background-color: #F7FAFD !important; }
.badge-tier4 { background-color: #EDF4FB; color: #2E5B88; border: 1px solid #d4e5f7; }
.bar-tier4 { background-color: #3B82F6; }
.row-tier3 { background-color: #FFFDF4 !important; }
.badge-tier3 { background-color: #FFF8E1; color: #7F6000; border: 1px solid #fce8a6; }
.bar-tier3 { background-color: #F59E0B; }
.row-tierRisk { background-color: #FEF3EC !important; }
.badge-tierRisk { background-color: #FCE4D6; color: #833C0C; border: 1px solid #f7c7ac; }
.bar-tierRisk { background-color: #F97316; }
.row-tierCrit { background-color: #FDF0F0 !important; }
.badge-tierCrit { background-color: #F4CCCC; color: #9C0006; border: 1px solid #ea9999; }
.bar-tierCrit { background-color: #EF4444; }
.cell-good { background-color: #E2F0D9 !important; color: #274E13 !important; font-weight: 700; }
.cell-bad { background-color: #F4CCCC !important; color: #9C0006 !important; font-weight: 700; }
.hm-high { background-color: #DCFCE7; color: #166534; font-weight: 700; }
.hm-mid { background-color: #DBEAFE; color: #1E40AF; font-weight: 600; }
.hm-low { background-color: #FEF3C7; color: #92400E; font-weight: 600; }
.hm-crit { background-color: #FEE2E2; color: #991B1B; font-weight: 700; }
.hm-miss { background-color: #F8FAFC; color: #94A3B8; font-style: italic; }
.hm-future { background-color: #F1F5F9; color: #CBD5E1; }
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
.sticky-col { position: sticky; left: 0; z-index: 10; box-shadow: 1px 0 0 rgba(203, 213, 225, 0.7); }
thead .sticky-col, tfoot .sticky-col { z-index: 25; }
.tab-btn-active { background-color: #2F5597; color: #FFFFFF; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); }
.tab-btn-idle { color: #CBD5E1; }
.tab-btn-idle:hover { color: #FFFFFF; background-color: rgba(255, 255, 255, 0.1); }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.toast-enter { animation: toastIn 0.2s ease-out forwards; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.spin { animation: spinSlow 0.9s linear infinite; }
@media print {
  header nav, #control-bar, #refresh-btn, #student-modal, #toast-container { display: none !important; }
  .overflow-x-auto { overflow: visible !important; max-height: none !important; }
}
