.table-view{flex-direction:column;min-width:0;display:flex}.filters{border-bottom:1px solid var(--border);background:var(--bg);flex-wrap:wrap;align-items:flex-end;gap:10px 12px;padding:12px 20px;font-size:.85rem;display:flex}.filters label{color:var(--muted);flex-direction:column;gap:4px;display:flex}.filters .search{flex:16rem}.filters select:disabled{opacity:.5;cursor:default}.filters button{font:inherit;color:var(--brand);background:var(--panel);border:1px solid var(--border);cursor:pointer;border-radius:3px;padding:6px 14px;font-weight:600}.filters button:hover{border-color:var(--brand);background:var(--brand-soft)}.actions{gap:8px;margin-left:auto;display:flex}.status{color:var(--muted);font-variant-numeric:tabular-nums;margin:0;padding:8px 20px;font-size:.8rem}.scroller{border-top:1px solid var(--border);background:var(--panel);flex:1;min-width:0;min-height:0;overflow:auto}.scroller tbody{transition:opacity .15s}.scroller[aria-busy=true]{cursor:progress}.scroller[aria-busy=true] tbody{opacity:.4}@media (prefers-reduced-motion:reduce){.scroller tbody{transition:none}}.grid{table-layout:fixed;border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums;margin:0;font-size:.82rem}.grid th,.grid td{white-space:nowrap;text-overflow:ellipsis;text-align:left;vertical-align:middle;padding:0 8px;overflow:hidden}.grid .num{text-align:right;padding-left:8px}.grid .band-start{border-left:1px solid var(--border);padding-left:12px}.grid td.muted{color:var(--muted)}.grid .graph{text-align:center}.grid thead th{z-index:1;background:var(--panel);border-bottom:1px solid var(--text);font-weight:600;position:sticky;top:0}.grid th button{all:unset;box-sizing:border-box;cursor:pointer;text-overflow:ellipsis;width:100%;padding:8px 0;overflow:hidden}.grid thead th.group{text-align:center;height:26px;color:var(--muted);border-bottom:1px solid var(--border);border-left:1px solid var(--border);padding-top:6px;font-size:.75rem;font-weight:600}.grid thead th.sub{color:var(--muted);font-weight:600;top:26px}.grid thead th.sub[aria-sort=ascending],.grid thead th.sub[aria-sort=descending]{color:var(--text)}.grid th button:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}.grid th[aria-sort=ascending] button:after{content:" ▲";font-size:.7em}.grid th[aria-sort=descending] button:after{content:" ▼";font-size:.7em}.grid tbody td{height:30px;position:relative}.grid tbody tr.alt td{background:color-mix(in srgb, var(--text) 4%, var(--panel))}.grid tbody tr:not(.spacer):hover td{background:var(--brand-soft)}.grid tbody tr.spacer td{border:0;height:auto;padding:0}.grid .dem{color:var(--dem-text)}.grid .rep{color:var(--rep-text)}.grid .uncontested{color:var(--muted);font-style:italic}.lean{vertical-align:-1px;width:100px;height:8px;display:inline-block;position:relative}.lean:before{content:"";background:var(--muted);opacity:.6;width:1px;position:absolute;top:-3px;bottom:-3px;left:50%}.lean i{height:6px;position:absolute;top:1px}.lean i.left{border-radius:3px 0 0 3px;right:50%}.lean i.right{border-radius:0 3px 3px 0;left:50%}.grid tbody tr.empty td{text-align:center;height:60px;color:var(--muted)}.grid tfoot td{background:var(--panel);border-top:1px solid var(--text);height:34px;font-weight:600;position:sticky;bottom:0}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@media (width<=640px){.filters{padding:10px 16px}.status{padding:8px 16px}.filters label:not(.search){flex:40%}.actions{flex:100%;margin-left:0}.actions button{flex:1}}
