/* District-only result-page popup. Legacy archive tables and global layout stay unchanged. */
.standings-dialog{position:fixed;inset:0;width:calc(100% - 32px);max-width:600px;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:0;border:0;border-radius:10px;background:var(--paper);color:var(--ink);box-shadow:0 18px 70px #071a3299;overflow:auto;overscroll-behavior:contain}
.standings-dialog::backdrop{background:rgb(8 25 45 / 65%)}
.standings-dialog-header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px 14px;background:var(--paper);border-bottom:1px solid var(--line)}
.standings-dialog-eyebrow{margin:0 0 4px;color:var(--muted);font-size:12px;font-weight:700;line-height:1.4;letter-spacing:.5px}
.standings-dialog-header h2{font-size:30px;line-height:1.1}
.standings-dialog-close{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-width:76px;min-height:44px;padding:8px 10px;border:1px solid var(--line);border-radius:5px;background:#fff;color:var(--navy);font-size:13px;font-weight:700;cursor:pointer}
.standings-dialog-close:hover{background:#e3eaf2}
.standings-dialog-close:focus-visible{outline:3px solid var(--red);outline-offset:2px}
.standings-dialog-body{padding:16px 20px 18px}
.standings-dialog-description{margin:0 0 14px;font-size:13px;line-height:1.6;color:var(--muted)}
.standings-dialog-note{margin:12px 0 0;font-size:12px;line-height:1.5;color:var(--muted)}
.standings-dialog .standings-table th:first-child{width:58%}
.standings-dialog .standings-table th:not(:first-child),.standings-dialog .standings-table td{width:21%}
.standings-dialog .standings-table th,.standings-dialog .standings-table td{padding:10px 9px}
@media(max-width:430px){
 .standings-dialog{width:calc(100% - 20px);max-height:calc(100vh - 20px);max-height:calc(100dvh - 20px)}
 .standings-dialog-header{padding:14px 12px 12px;gap:8px}
 .standings-dialog-header h2{font-size:26px}
 .standings-dialog-body{padding:12px}
 .standings-dialog-close{min-width:72px;padding:8px;font-size:12px}
 .standings-dialog .standings-table{font-size:12px}
 .standings-dialog .standings-table th,.standings-dialog .standings-table td{padding:9px 6px}
 .standings-dialog .standings-table thead th{font-size:10px}
}
