.election-tools {max-width:1120px;margin-block:clamp(22px,4vw,48px);color:#152b44}
.election-tools h1{font-size:clamp(28px,3vw,38px);line-height:1.16;letter-spacing:-.035em;margin:0 0 12px}
.election-tools>p,.election-section>p,.election-count p,.election-history>p{color:#46576c;max-width:84ch;line-height:1.55}
.election-section,.election-select,.election-count,.election-history{padding:clamp(16px,2.5vw,28px);margin-block:16px}
.election-section h2,.election-count h2,.election-history h2{margin:0 0 10px;font-size:clamp(19px,2vw,23px);line-height:1.24}
.election-select,.election-actions{display:flex;align-items:end;gap:12px;flex-wrap:wrap}
.election-select label{font-weight:600;display:grid;gap:5px;min-width:min(240px,100%)}
.election-tools input,.election-tools select{font:inherit;font-size:15px;border:1px solid #b7c4d1;background:white;color:#10243a;border-radius:7px;padding:9px;max-width:100%}
.election-table-scroll{overflow-x:auto;margin:12px 0 16px}
.election-table{border-collapse:collapse;width:100%;font-size:15px;font-variant-numeric:tabular-nums}
.election-table th,.election-table td{text-align:right;border-bottom:1px solid #e3e8ef;padding:9px 10px}
.election-table th:first-child,.election-table td:first-child{text-align:left}
.election-table thead{background:#f4f7fa}.election-table th{font-weight:650}
.election-input th,.election-input td{text-align:left}.election-input input{width:100%;min-width:72px}.election-input td:first-child{min-width:132px}.election-input select{min-width:112px}
.election-table small{display:block;font-size:13px;font-weight:400}
.election-result{margin:24px 0 0;border-top:1px solid #dce3eb;padding-top:16px}
.election-error{background:#fff2f2;color:#9b1423!important;padding:12px 15px;border-radius:8px}
.election-sources a,.election-count a,.milestone-list a,.election-history a{color:#174d79;text-decoration:underline;text-underline-offset:3px}
.election-sources{font-size:14px}
.election-count strong{display:block;font-size:clamp(22px,3vw,32px);font-variant-numeric:tabular-nums;margin:.3em 0}
.milestone-list{list-style:none;margin:0;padding:0}.milestone-list li{display:grid;grid-template-columns:minmax(140px,1fr) 3fr;gap:20px;border-top:1px solid #e4eaf1;padding:16px 0}
.milestone-list time{font-weight:650;font-variant-numeric:tabular-nums}.milestone-list h3,.milestone-list p{margin:0 0 6px}.milestone-list a{font-size:14px}
.election-history details{border-top:1px solid #dde4ec}.election-history summary{cursor:pointer;padding:13px 0;font-size:17px;font-weight:650}.election-history .election-year{color:#a91827}
.election-history .elected-list{columns:2;column-gap:32px;padding-left:22px}.elected-list li{break-inside:avoid;padding:3px 0}.elected-list small{display:block;color:#43566b}
@media(max-width:600px){.milestone-list li{grid-template-columns:1fr;gap:6px}.election-history .elected-list{columns:1}.election-table td,.election-table th{padding:8px 6px}.election-tools h3{font-size:17px}}

#secim-sonuclari,#sonuc,#hesap{scroll-margin-top:80px}

.current-filter {padding:16px 20px;margin:18px 0}
.delegation {margin:8px 0;padding:0 clamp(14px,2vw,22px)}
.delegation summary {display:flex;align-items:center;gap:12px;cursor:pointer;min-height:52px;list-style:none}
.delegation summary strong {font-size:18px;flex:1}
.delegation summary span,.deputy-directory small {color:#4b6076;font-size:14px}
.delegation[open] summary .icon {transform:rotate(180deg)}
.deputy-directory {list-style:none;margin:0;padding:10px 0 16px;border-top:1px solid #dde4ec;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:4px 18px}
.deputy-directory a {display:flex;align-items:center;gap:12px;padding:8px;border-radius:7px;color:inherit;height:100%}
.deputy-directory a:hover,.deputy-directory a:focus-visible {background:#f1f5fa}
.deputy-directory strong,.deputy-directory small {display:block;line-height:1.45}
.deputy-thumb {flex:0 0 44px;height:44px;display:grid;place-items:center;border-radius:50%;overflow:hidden;background:#e9eff7}
.deputy-thumb .initials {width:100%;height:100%;color:#184169;font-size:14px;font-weight:650}
.deputy-thumb img {width:100%;height:100%;object-fit:cover;object-position:center}
