.standings-page { min-height:60vh; }
.standings-page .heading-description { margin-top:12px; max-width:650px; }
.standings-page .dashboard-heading>div { min-width:0; }
.standings-page h1 { overflow-wrap:anywhere; }
.standings-filters { padding:22px 24px; margin-bottom:24px; }
.standings-filter-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)) auto; align-items:end; gap:16px; }
.standings-filter { min-width:0; }
.standings-filter label { display:block; margin-bottom:8px; font-size:12px; font-weight:600; }
.standings-filter select { width:100%; min-width:0; min-height:44px; padding:10px 30px 10px 12px; background:var(--bg); border:1px solid var(--line); border-radius:7px; text-overflow:ellipsis; }
.standings-filter select:disabled { color:var(--muted); cursor:default; }
.standings-filters[aria-busy=true] { opacity:.7; }
#standings-status { margin-top:12px; }
.standings-empty { min-height:240px; gap:14px; padding:32px 24px; }
.standings-table-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:22px 24px; border-bottom:1px solid var(--line); }
.standings-table-heading>div { min-width:0; }
.standings-table-heading h2 { margin-top:6px; overflow-wrap:anywhere; }
.standings-table-heading .count-badge { flex-shrink:0; }
.standings-results table { width:100%; border-collapse:collapse; }
.standings-results th,.standings-results td { padding:18px 24px; text-align:right; border-bottom:1px solid var(--line); }
.standings-results thead th { background:var(--hover); color:var(--muted); font-size:11px; text-transform:uppercase; letter-spacing:.6px; }
.standings-results th:first-child { text-align:left; width:65%; }
.standings-results tbody tr:last-child>* { border-bottom:0; }
.standings-results tbody tr:hover { background:var(--hover); }
.standings-results td { font-variant-numeric:tabular-nums; white-space:nowrap; }
.standings-district-record { font-weight:600; }
.standings-team { display:flex; align-items:center; gap:16px; }
.standings-team strong,.standings-team small { display:block; overflow-wrap:anywhere; }
.standings-team strong { font-size:14px; }
.standings-team small { color:var(--muted); font-size:12px; font-weight:400; margin-top:3px; }
.standings-key { margin-top:20px; }
.standings-key summary { padding:16px 24px; font-size:12px; font-weight:600; cursor:pointer; border-radius:10px; }
.standings-key summary:focus-visible { outline:3px solid var(--link); outline-offset:3px; }
.standings-key p { padding:0 24px 20px; max-width:760px; color:var(--muted); font-size:13px; line-height:1.7; }
@media (max-width:800px) {
    .standings-filter-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .standings-filter-grid>button { grid-column:1/-1; }
}
@media (max-width:600px) {
    .standings-filters { padding:18px; }
    .standings-filter-grid { gap:14px 12px; }
    .standings-filter select { font-size:12px; }
    .standings-table-heading { padding:18px; }
    .standings-table-heading h2 { font-size:16px; }
    .standings-results th,.standings-results td { padding:16px 10px; font-size:12px; }
    .standings-results th:first-child { width:auto; }
    .standings-results thead th { font-size:10px; }
    .standings-team { gap:8px; }
    .standings-team .school-logo { width:32px; height:32px; }
    .standings-team strong { font-size:12px; }
    .standings-team small { font-size:10px; }
    .standings-key summary { padding:16px 18px; }
    .standings-key p { padding:0 18px 18px; }
}
