/* Readable defaults on both the voting explorer and the council directory. */
:root{--muted:#5d555a;--text-body:16px;--text-small:15px;--text-meta:14px}
body{font-size:var(--text-body);line-height:1.65}
nav{font-size:15px}.source-top{font-size:14px}
.eyebrow,.section-kicker,.tag,.brand-sub{font-size:12px;letter-spacing:1.3px}
.brand-sub{max-width:190px}.eyebrow{line-height:1.7}
.intro,.section-heading p,.topic p,.method p,.directory-hero p:not(.eyebrow),.directory-source p{font-size:16px;line-height:1.8}
.primary,.secondary,.text-link,.tabs button,label,.check,.scope,.small,.meta,.interpretation,.method summary,.method details a,.coverage,.source-table,.min-label,.matrix-legend,.directory-source-links,.member-status{font-size:14px;line-height:1.65}
select,input[type=search],input[type=number]{font-size:16px;min-height:44px}
.filters{align-items:end;flex-wrap:wrap}.filters>label:not(.check){min-width:190px;flex:1}.filters>.search{flex:1.6}.check{max-width:190px;padding-bottom:8px}.check input{width:18px;height:18px;flex-shrink:0}
.scope{align-items:flex-start}.scope .dot{margin-top:8px}.tabs{gap:30px}.tabs button{padding:16px 0}
.stats span,.rank-index,.rank-name small,.vote-total,.member-source,.contact-missing,footer p,footer>span,.source-table th{font-size:14px}
.rank{grid-template-columns:28px 1fr 62px;padding:16px 0;align-items:start}.rank-name,.rank-score,.difference button,.choices,.vote-title,.pair-copy{font-size:15px;line-height:1.65}.rank-name small{margin-top:5px}.rank-score{font-weight:600}.rank-bar{height:5px;margin-top:9px}
h3{font-size:17px}.pair-copy strong{font-size:17px}.pair-copy p{line-height:1.7}.pair-select label{font-size:14px}.pair-select select{font-size:19px}.score-track{height:7px}
.difference{padding:18px 0}.choices{flex-wrap:wrap;gap:7px 16px}.interpretation{gap:20px;padding:20px 24px}.vote-row{grid-template-columns:130px 1fr 220px}.vote-row .date{font-size:15px}.vote-total{line-height:1.7}.vote-bar{height:11px}.source-table td,.source-table th{padding:16px 12px}.method details{padding:20px 0}.method summary{font-size:16px}
.logo-caption,.art-caption{font-size:12px;line-height:1.7;letter-spacing:1px}.hero-art{padding-bottom:15px}.logo-caption{top:-22px}.art-caption{bottom:-25px}
/* Large cells retain legibility; scroll instead of squeezing 33 columns. */
.matrix-scroll{max-height:75vh;overflow:auto;padding:0 0 12px;scrollbar-gutter:stable;overscroll-behavior:contain;border:1px solid var(--line);background:var(--paper)}
.matrix{border-spacing:3px;font-size:16px;table-layout:fixed}
.matrix td{min-width:44px;width:44px;height:44px;text-align:center}
.matrix td button{width:44px;height:44px;font-size:16px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1;padding:0}
.matrix td button:hover{outline:2px solid var(--ink);outline-offset:-2px}
.matrix th{font-size:14px;line-height:1.4;min-width:170px;padding:10px 14px;text-align:left;position:sticky;left:0;z-index:2;background:var(--paper);box-shadow:2px 0 0 var(--line)}
.matrix thead th{height:190px;min-width:44px;max-width:none;width:44px;padding:10px 0;position:sticky;top:0;left:auto;z-index:3;background:var(--paper);vertical-align:bottom;box-shadow:0 2px 0 var(--line)}
.matrix thead th:first-child{left:0;z-index:4;min-width:170px;width:170px;padding:12px 14px;vertical-align:bottom;white-space:normal;box-shadow:2px 2px 0 var(--line)}
.matrix thead span{font-size:14px;max-height:175px;line-height:1.4;display:block;padding:0 10px}
.matrix-scroll-hint{font-size:14px;color:var(--muted);margin:16px 0}.matrix-legend{font-size:14px}.matrix-legend .gradient{height:10px}
/* Public contacts are reading content, not fine print. */
.directory-controls label,.club-filter-label,.club-chip,.club-chip small,.member-group-heading>span{font-size:14px}
.directory-controls .secondary{height:auto;min-height:44px}.club-chip{padding:10px 14px;line-height:1.65}.club-chip:before{width:9px;height:9px}.club-chip small{padding:1px 6px}
.directory-numbers span{font-size:14px;max-width:200px}.directory-numbers{padding-left:30px}.directory-numbers>div strong{font-size:38px}
.member-info{padding:20px}.member-info h4{font-size:21px;line-height:1.35}.member-official-name{font-size:14px;line-height:1.6;min-height:45px;margin-bottom:13px}
.member-club,.member-district,.member-role,.member-source,.contact-missing{font-size:14px;line-height:1.6}.member-club{padding:4px 8px}.member-district{padding:5px 8px}.member-role{margin:0 0 14px}.member-badges{gap:8px}
.member-contacts{gap:15px;padding-top:17px}.member-contacts a{font-size:15px;line-height:1.7}.contact-label{font-size:12px;letter-spacing:.6px;margin-bottom:3px}.member-source{margin-top:20px}.member-group-heading h3{font-size:21px}.directory-source .small{font-size:14px}
@media(max-width:1100px){header{flex-wrap:wrap;gap:14px 24px}nav{gap:22px}.source-top{font-size:14px}.directory-hero{grid-template-columns:1fr 230px}.directory-controls{flex-wrap:wrap}.directory-controls label:first-child{flex:1 1 300px}.directory-controls label:nth-child(2){flex:1 1 220px}}
@media(max-width:760px){.directory-hero{grid-template-columns:1fr}.directory-numbers span{font-size:14px;width:auto;max-width:190px}.directory-numbers{display:grid;grid-template-columns:auto 1fr;gap:10px 20px}.directory-numbers>span{margin:0}.directory-numbers>div{grid-column:1/-1;border-left:0;padding:8px 0 0;display:flex;gap:18px;align-items:center}.directory-numbers>div span{max-width:none}.member-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.member-info{padding:16px}.member-group-heading{flex-wrap:wrap}.member-group-heading>span{font-size:14px}.vote-row{grid-template-columns:1fr;gap:12px}.vote-bar{max-width:350px}.interpretation{display:block}.interpretation p{margin-top:8px}}
@media(max-width:650px){header{padding:12px 6%;display:grid;grid-template-columns:1fr auto}.brand{grid-column:1}.source-top{display:block;grid-column:2;grid-row:1}nav{grid-column:1/-1;justify-content:space-between;gap:12px;font-size:15px;width:100%;padding:8px 0 3px}.brand-sub{display:none}.eyebrow,.directory-hero .eyebrow{font-size:12px;line-height:1.8;letter-spacing:1px}.hero-art{padding-bottom:12px}.logo-caption,.art-caption{font-size:12px;width:110px;max-width:110px}.logo-caption{top:20px}.art-caption{bottom:12px}.hero-logo{width:145px}.tabs{gap:18px;flex-wrap:wrap}.tabs button{font-size:14px}.filters>label:not(.check){min-width:100%}.check{max-width:none}.pair-select select{font-size:17px}.pair-copy{font-size:15px}.pair-copy strong{font-size:16px}.big-score{font-size:43px}#pair-result{flex-wrap:wrap;gap:18px}.pair-columns{gap:30px}.small,.scope,.meta,.choices,.vote-total,.min-label,.source-table,.source-table th,footer p,footer>span{font-size:14px}.stats .period{font-size:20px}.directory-controls label:first-child{min-width:100%}.directory-controls .secondary{white-space:normal}.directory-source-links{font-size:14px;gap:18px}.member-group-heading h3{font-size:20px}.member-official-name{font-size:14px}.member-contacts a{font-size:15px}.member-club,.member-district,.member-role,.member-source,.contact-missing{font-size:14px}}
@media(max-width:520px){.member-grid{grid-template-columns:1fr}.member-photo-wrap{height:320px}.member-photo{object-position:center 22%}.member-info{padding:22px}.member-official-name{min-height:0}.member-info h4{font-size:23px}.member-contacts a{font-size:16px}.member-badges{margin-bottom:17px}.directory-numbers span{font-size:14px}.directory-controls label:nth-child(2){min-width:100%}.directory-controls .secondary{width:100%}.hero-art .logo-caption{display:none}.hero-art .art-caption{position:static;width:auto;max-width:none;align-self:end}.hero-art{gap:20px}.section-heading .text-link{white-space:normal}}
@media(min-width:761px){.member-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}}
/* Compact overview; magnify only the hovered or keyboard-focused cell. */
.matrix{border-spacing:2px;font-size:8px}.matrix td{position:relative;min-width:25px;width:25px;height:25px;padding:0}.matrix td button{width:25px;height:25px;font-size:8px;transition:transform .12s ease,box-shadow .12s ease;transform-origin:center;position:relative}.matrix td:hover,.matrix td:focus-within{z-index:10}.matrix td button:hover,.matrix td button:focus-visible{transform:scale(2.1);box-shadow:0 3px 12px #29202645;outline:1px solid var(--ink);outline-offset:0}.matrix th{font-size:12px;min-width:155px;padding:5px 10px}.matrix thead th{height:150px;min-width:25px;width:25px;padding:7px 0}.matrix thead th:first-child{min-width:155px;width:155px;padding:10px}.matrix thead span{font-size:11px;max-height:140px;padding:0 4px}.matrix tr:last-child button{transform-origin:center bottom}.matrix td:last-child button{transform-origin:right center}.matrix tr:last-child td:last-child button{transform-origin:right bottom}@media(prefers-reduced-motion:reduce){.matrix td button{transition:none}}
