.insight-refresh-table { min-width: 700px; }
.insight-refresh-table th { vertical-align: bottom; min-width: 95px; }
.insight-refresh-table th button { font-weight: 700; border: 0; padding: 4px; text-align: left; color: inherit; }
.insight-refresh-table .insight-student-cell { position: sticky; left: 0; z-index: 1; min-width: 160px; background: #fff; }
.insight-refresh-table th.insight-student-cell { z-index: 3; background: #eef2fa; }
.insight-refresh-table .insight-select-cell { min-width: 44px; width: 44px; }
.insight-refresh-table .insight-average td { background: #e8eef9; font-weight: 700; border-bottom: 2px solid #a8bad8; }
.insight-refresh-table td { font-variant-numeric: tabular-nums; }
.insight-group-student { --insight-tint:#f4f6fa; --insight-head:#e7ecf5; --insight-ink:#43536b; --insight-edge:#d4dce8; }
.insight-homework-above { --insight-homework-fill:#4ee05e; --insight-homework-ink:#102b13; }
.insight-homework-target { --insight-homework-fill:#d4efd1; --insight-homework-ink:#183817; }
.insight-homework-one-below { --insight-homework-fill:#ffe4a6; --insight-homework-ink:#513800; }
.insight-homework-below { --insight-homework-fill:#f9d9db; --insight-homework-ink:#541516; }
.insight-homework-unavailable { --insight-homework-fill:#f0f2f5; --insight-homework-ink:#59616a; }
.insight-review table.insight-refresh-table tbody tr[class*="insight-homework-"]>td { background:var(--insight-homework-fill); color:var(--insight-homework-ink); }
.insight-homework-legend { display:flex; align-items:center; flex-wrap:wrap; gap:.5rem; margin:.75rem 0; font-size:.8rem; }
.insight-homework-legend span { background:var(--insight-homework-fill); color:var(--insight-homework-ink); border-radius:5px; padding:.3rem .55rem; }
.insight-homework-legend small { color:#64748b; }
.insight-review table.insight-refresh-table tbody tr td.insight-week-above { background: #4ee05e; color: #102b13; font-weight: 700; }
.insight-review table.insight-refresh-table tbody tr td.insight-week-target { background: #d4efd1; color: #183817; }
.insight-review table.insight-refresh-table tbody tr td.insight-week-one-below { background: #ffe4a6; color: #513800; }
.insight-review table.insight-refresh-table tbody tr td.insight-week-below { background: #f6b3b5; color: #541516; }
.insight-review table.insight-refresh-table tbody tr td.insight-week-in-progress { background: #fff; }
.insight-review table.insight-refresh-table tbody tr td.insight-week-unavailable { background: #f0f2f5; color: #59616a; }
.insight-hidden-student { opacity: .6; }
.insight-review > select { width: min(420px,100%); margin: 12px 0; }
.insight-review .insight-tools { margin: 12px 0; }
.insight-review .insight-heading { gap: 12px; flex-wrap: wrap; }
@media(max-width:600px) { .insight-refresh-table .insight-student-cell { min-width: 120px; max-width: 160px; } }
