:root{font-family:Inter,Arial,sans-serif;color:#1d2734;background:#fff;font-synthesis:none}*{box-sizing:border-box}body{margin:0}.eg-wrap{padding:15px 3px 22px;max-width:1200px;margin:auto}.eg-heading{border-bottom:2px solid #3e5a9d;padding:0 0 15px;margin-bottom:18px}.eg-eyebrow{font-size:10px;letter-spacing:1.5px;color:#3e5a9d;font-weight:800}.eg-heading h2{font-size:clamp(22px,3vw,32px);margin:7px 0}.eg-heading p{color:#667080;margin:0;font-size:14px}.eg-profiles,.eg-answers{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:16px}.eg-card,.eg-answer,.eg-question,.eg-issue{border:1px solid #d8dfeb;border-radius:12px;padding:19px;background:#fff}.eg-person,.eg-answer-head{display:flex;align-items:center;gap:14px}.eg-avatar{width:94px;height:94px;flex:none;border-radius:50%;background:#e5ebf5;display:grid;place-items:center;overflow:hidden;position:relative;color:#3e5a9d;font-size:34px;font-weight:700}.eg-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}.eg-small{width:52px;height:52px;font-size:20px}.eg-person h3{font-size:20px;margin:0 0 8px;line-height:1.2}.eg-tags{display:flex;gap:6px;flex-wrap:wrap}.eg-tags span{font-size:11px;border-radius:20px;padding:5px 8px;background:#edf1f8}.eg-tags .eg-incumbent{background:#3e5a9d;color:#fff}.eg-facts{margin:20px 0 12px}.eg-facts div{display:grid;grid-template-columns:100px 1fr;gap:8px;padding:7px 0;border-bottom:1px solid #edf0f4;font-size:13px}.eg-facts dt{font-weight:700;color:#53647a}.eg-facts dd{margin:0}.eg-bio,.eg-answer p{line-height:1.65;font-size:14px;white-space:normal}.eg-contacts{display:flex;gap:8px;flex-wrap:wrap;border-top:1px solid #e5e9f0;padding-top:14px;margin-top:18px}.eg-contact{display:grid;place-items:center;width:37px;height:37px;border:1px solid #c9d3e3;border-radius:50%;color:#3e5a9d}.eg-contact:hover{background:#e9eef8}.eg-disabled{opacity:.25;cursor:not-allowed}.eg-question,.eg-issue{padding:22px}.eg-question h3,.eg-issue h3{font-size:21px;line-height:1.35;margin:0 0 20px}.eg-answer{background:#f9fbff}.eg-answer-head strong{font-size:15px}.eg-muted,.eg-unanswered{color:#657184}.eg-scale-labels{display:flex;justify-content:space-between;gap:10px;font-size:12px;font-weight:700;color:#3e5a9d}.eg-scale{position:relative;height:53px;margin:10px 18px 4px}.eg-track{position:absolute;top:13px;height:8px;background:linear-gradient(90deg,#dce1e8,#c2cbd6,#a6b2c0,#7e90a3,#53677c);border-radius:8px;width:100%}.eg-tick{position:absolute;top:0;transform:translateX(-50%);width:27px;height:27px;border:3px solid white;border-radius:50%;background:#3e5a9d;color:white;text-align:center;line-height:21px;font-size:12px}.eg-tick b{font-weight:700}.eg-scale-groups{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.eg-scale-group{border-top:1px solid #dce2eb;padding:8px 4px;min-width:0}.eg-scale-number{text-align:center;font-weight:800;color:#53647a;margin-bottom:8px}.eg-scale-person{display:flex;align-items:center;flex-direction:column;text-align:center;gap:6px;padding:10px 3px;border:1px solid #e3e8f1;border-radius:9px;margin-bottom:7px;min-width:0}.eg-scale-person strong{font-size:12px;overflow-wrap:anywhere}.eg-reply-button{border:0;background:none;text-decoration:underline;color:#3e5a9d;font-size:11px;cursor:pointer;padding:5px}.eg-reply{font-size:12px;line-height:1.5;text-align:left;overflow-wrap:anywhere;padding:9px;background:#f0f4fa;border-radius:6px;width:100%}.eg-key{font-size:12px;color:#5b687a;line-height:1.6;margin-top:20px}.eg-empty{padding:28px;border:1px dashed #bdc7d6;border-radius:9px;color:#59697b}@media(max-width:600px){.eg-scale-groups{gap:3px}.eg-scale-group{padding:5px 1px}.eg-scale-person{padding:7px 2px}.eg-small{width:38px;height:38px;font-size:16px}.eg-scale-person strong{font-size:10px}.eg-reply-button{font-size:10px}.eg-question,.eg-issue{padding:12px}.eg-scale-labels{font-size:10px}}

/* Party identification: no outlines on candidate photographs. */
.eg-avatar{border:0;box-shadow:none;isolation:auto}
.eg-avatar-wrap{position:relative;display:inline-flex;flex:none;align-self:center}
.eg-party-badge{position:absolute;right:-5px;bottom:-3px;z-index:3;min-width:23px;height:23px;padding:0 5px;border:2px solid #fff;border-radius:999px;display:flex;align-items:center;justify-content:center;color:#fff;font:800 11px/1 Inter,Arial,sans-serif;box-shadow:0 1px 3px rgba(0,0,0,.2)}
.eg-party-r{background:#c83b40!important;color:#fff!important}
.eg-party-d{background:#3271c5!important;color:#fff!important}
.eg-party-i{background:#8b65aa!important;color:#fff!important}
.eg-party-np{background:#9299a3!important;color:#fff!important}
.eg-tags .eg-party{font-size:11px;border-radius:20px;padding:5px 9px;font-weight:700}
@media(max-width:600px){.eg-party-badge{min-width:21px;height:21px;font-size:10px;right:-6px;bottom:-4px}}

/* Incumbency is a neutral status, visually distinct from party affiliation. */
.eg-tags .eg-incumbent{background:#eef0f3!important;color:#596273!important;font-weight:600}
/* Photo-anchored thought bubbles on issue-scale candidate cards. */
.eg-scale-person{position:relative;overflow:visible;padding-top:12px}
.eg-thought-anchor{position:relative;display:flex;justify-content:center;align-items:center;width:100%;min-height:47px;margin:0 0 5px}
.eg-thought-anchor .eg-avatar{flex:none}
.eg-thought-button{position:absolute;z-index:2;left:calc(50% + 11px);top:-17px;width:clamp(66px,8vw,108px);min-height:42px;margin:0;padding:7px 5px;border:1px solid #ccd6e6;border-radius:17px;background:#fff;color:#33435b;box-shadow:0 2px 7px rgba(25,42,69,.13);font:500 10px/1.25 Inter,Arial,sans-serif;text-align:left;cursor:pointer;overflow:visible;overflow-wrap:anywhere;display:flex;align-items:flex-start;gap:3px}
/* Three small circles lead the eye back to the upper-right of the photograph. */
.eg-thought-button:before,.eg-thought-button:after{content:"";position:absolute;background:#fff;border:1px solid #ccd6e6;border-radius:50%;pointer-events:none}
.eg-thought-button:before{width:8px;height:8px;left:-10px;bottom:2px}
.eg-thought-button:after{width:4px;height:4px;left:-15px;bottom:-3px}
.eg-thought-icon{flex:none;width:12px;height:12px;margin-top:1px;color:#3e5a9d}
.eg-thought-preview{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;min-width:0}
.eg-thought-more{position:absolute;right:4px;bottom:1px;font-size:9px;color:#3e5a9d}
.eg-thought-button:hover,.eg-thought-button[aria-expanded="true"]{background:#f2f5fb;border-color:#a7b9d5}
.eg-thought-button:focus-visible{outline:2px solid #3e5a9d;outline-offset:3px}
.eg-scale-person .eg-reply[hidden]{display:none}
.eg-scale-person .eg-reply{margin:4px 0 7px}
@media(max-width:600px){.eg-thought-button{left:calc(50% + 7px);top:-14px;width:clamp(46px,9vw,68px);min-height:36px;padding:5px 3px;font-size:8px;border-radius:12px}.eg-thought-icon{display:none}.eg-thought-button:before{width:6px;height:6px;left:-8px}.eg-thought-button:after{width:3px;height:3px;left:-12px}.eg-thought-anchor{min-height:45px}}

/* Unified race view: compact candidate roster and expandable questions. */
.eg-section-title{font:700 19px/1.35 Inter,Arial,sans-serif;color:#1d2734;margin:0 0 16px}
.eg-roster{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:22px 12px;margin:0 0 28px;padding:8px 4px 24px;border-bottom:1px solid #dce2eb}
.eg-roster-person{text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px;min-width:0}
.eg-roster-person strong{font-size:13px;line-height:1.35;font-weight:650;overflow-wrap:anywhere}
.eg-roster-photo{position:relative;width:94px;height:94px;display:grid;place-items:center}
.eg-roster-photo .eg-avatar-wrap,.eg-roster-photo .eg-avatar{width:88px;height:88px}
.eg-roster-photo .eg-avatar{font-size:30px}
.eg-roster-photo .eg-party-badge{right:-4px;bottom:0}
.eg-profile-open{position:absolute;top:-3px;right:-5px;z-index:4;border:2px solid #fff;border-radius:50%;width:28px;height:28px;background:#3e5a9d;color:#fff;display:grid;place-items:center;cursor:pointer;font:700 20px/1 Inter,Arial,sans-serif;box-shadow:0 2px 6px #0002}
.eg-profile-open:hover{background:#283f77}.eg-profile-open:focus-visible,.eg-profile-close:focus-visible,.eg-guide-question summary:focus-visible{outline:3px solid #3e5a9d;outline-offset:3px}
.eg-guide-question{border:1px solid #d8dfeb;border-radius:10px;margin:0 0 11px;background:#fff;overflow:hidden}
.eg-guide-question summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:17px 18px;font-size:15px;line-height:1.4;font-weight:700;cursor:pointer;background:#f7f9fd}
.eg-guide-question summary::-webkit-details-marker{display:none}
.eg-guide-question[open] summary{border-bottom:1px solid #d8dfeb}
.eg-question-chevron{width:11px;height:11px;flex:none;border-right:2px solid #3e5a9d;border-bottom:2px solid #3e5a9d;transform:rotate(45deg);transition:transform .15s}
.eg-guide-question[open] .eg-question-chevron{transform:rotate(225deg)}
.eg-guide-question-body{padding:15px}.eg-guide-question .eg-answer{min-width:0}
.eg-profile-dialog{border:0;border-radius:13px;padding:25px 16px 16px;width:min(540px,calc(100% - 24px));max-height:calc(100% - 30px);overflow-y:auto;box-shadow:0 15px 55px #15203855;background:#fff;color:#1d2734}
.eg-profile-dialog::backdrop{background:rgba(17,26,43,.65)}
.eg-profile-dialog .eg-card{border:0;padding:8px;box-shadow:none}
.eg-profile-close{position:sticky;top:0;float:right;z-index:5;width:34px;height:34px;border:0;border-radius:50%;background:#eef0f3;color:#283647;font:700 26px/1 Inter,Arial,sans-serif;cursor:pointer}
@media(max-width:600px){.eg-roster{grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:20px 8px}.eg-roster-photo{width:80px;height:80px}.eg-roster-photo .eg-avatar-wrap,.eg-roster-photo .eg-avatar{width:76px;height:76px}.eg-profile-open{width:26px;height:26px}.eg-guide-question summary{padding:14px 12px}.eg-guide-question-body{padding:10px}.eg-profile-dialog{padding:14px 8px 12px}}

/* Reference-inspired candidate guide: neutral gray panel, horizontal roster, pill questions. */
.eg-heading:has(+ .eg-guide){display:none}
.eg-wrap:has(> .eg-guide){padding:8px 2px 16px}
.eg-guide{background:#f1f1f1;border:1px solid #c7c7c7;border-radius:16px;overflow:hidden;color:#2e343b}
.eg-guide-topline{display:flex;justify-content:space-between;gap:10px;align-items:center;background:#dfdfdf;border-bottom:1px solid #c9c9c9;padding:13px 16px;text-transform:uppercase;letter-spacing:.04em;font-size:12px;font-weight:600}
.eg-guide-content{padding:20px 16px 25px}
.eg-race-title{display:flex;align-items:center;gap:14px;border-bottom:1px solid #cfcfcf;padding:0 0 19px;margin-bottom:14px;font-size:15px;line-height:1.35;font-weight:750;text-transform:uppercase;letter-spacing:.02em}
.eg-race-title span+span{border-left:1px solid #ccc;padding-left:14px}
.eg-roster-hint{font-size:12px;color:#6a7077;margin:0 0 16px}
.eg-roster{display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;gap:22px 25px;padding:4px 6px 28px;margin:0 0 20px;border-bottom:1px solid #ccc}
.eg-roster-person{flex:0 0 115px;max-width:115px;gap:9px}
.eg-roster-person strong{font-size:13px;line-height:1.4;font-weight:500}
.eg-roster-photo{width:92px;height:92px}
.eg-roster-photo .eg-avatar-wrap,.eg-roster-photo .eg-avatar{width:84px;height:84px}
.eg-profile-open{top:-1px;right:-4px;width:25px;height:25px;font-size:18px}
.eg-guide-questions .eg-section-title{font-size:13px;text-transform:uppercase;letter-spacing:.025em;margin:0 0 12px}
.eg-guide-question{border:1px solid #d0d0d0;border-radius:21px;background:#e2e2e2;margin-bottom:11px}
.eg-guide-question summary{background:#e2e2e2;font-size:14px;font-weight:500;padding:16px;border-radius:21px}
.eg-guide-question[open] summary{border-radius:21px 21px 0 0;border-bottom:1px solid #d0d0d0}
.eg-guide-question-body{background:#f6f6f6}
.eg-guide-question .eg-answer{background:#fff}
@media(max-width:600px){.eg-guide-content{padding:15px 10px 19px}.eg-guide-topline{padding:11px;font-size:10px}.eg-race-title{font-size:13px;gap:10px}.eg-race-title span+span{padding-left:10px}.eg-roster{gap:18px 8px;justify-content:space-around}.eg-roster-person{flex-basis:94px;max-width:94px}.eg-roster-photo{width:80px;height:80px}.eg-roster-photo .eg-avatar-wrap,.eg-roster-photo .eg-avatar{width:76px;height:76px}.eg-roster-person strong{font-size:12px}.eg-guide-question summary{padding:15px 13px;font-size:13px}}

/* Candidate guide polish: light panel, neutral profile control, thinner party ring. */
.eg-guide{background:#fafafa;border-color:#dedede}
.eg-guide-topline{background:#f1f1f1;border-bottom-color:#e1e1e1}
.eg-guide-question,.eg-guide-question summary{background:#eeeeee;border-color:#dedede}
.eg-guide-question-body{background:#fbfbfb}
.eg-profile-open{background:rgba(255,255,255,.94);color:#525b66;border:1px solid #b9c0c8;box-shadow:0 1px 4px rgba(0,0,0,.14)}
.eg-profile-open:hover{background:#e9ecef;color:#303842}
.eg-party-badge{border-width:1px}
.eg-avatar{background:#edf0f3}
.eg-avatar-silhouette{width:100%;height:100%;display:block;position:absolute;inset:0;z-index:0}
.eg-avatar img{z-index:1}

/* 2026 candidate audio + compact roster controls */
.eg-roster-photo .eg-profile-open{width:21px;height:21px;top:-1px;right:-3px;font-size:15px;line-height:1;border-width:1px}
.eg-roster-photo .eg-profile-open:hover{background:#f1f1f1}
.eg-roster-photo .eg-party-badge{min-width:29px;height:29px;padding:0 6px;font-size:13px;border-width:1px;right:-5px;bottom:-4px}
@media(max-width:600px){.eg-roster-photo .eg-profile-open{width:20px;height:20px;font-size:14px}.eg-roster-photo .eg-party-badge{min-width:27px;height:27px;font-size:12px}}
.eg-audio-player{display:flex;align-items:center;gap:9px;max-width:100%;width:100%;margin-top:13px;padding:9px 11px;border:1px solid #d9dfe4;border-radius:10px;background:#f6f7f8;color:#444e58;font-family:Inter,Arial,sans-serif}
.eg-audio-toggle{flex:none;width:31px;height:31px;border:1px solid #cbd2d8;border-radius:50%;display:grid;place-items:center;background:#fff;color:#4a5560;cursor:pointer;padding:6px}
.eg-audio-toggle svg{width:17px;height:17px;fill:currentColor}.eg-audio-pause-icon{display:none}.eg-audio-player.is-playing .eg-audio-play-icon{display:none}.eg-audio-player.is-playing .eg-audio-pause-icon{display:block}
.eg-audio-wave{position:relative;flex:1;min-width:40px;height:36px;border:0;padding:0;background:none;cursor:pointer;overflow:hidden;color:#a7afb7}
.eg-audio-wave svg{display:block;width:100%;height:100%;fill:currentColor}.eg-audio-progress{position:absolute;inset:0 auto 0 0;width:0%;pointer-events:none;background:#677581;opacity:.22}
.eg-audio-player.is-playing .eg-audio-wave-bars rect{animation:egAudioPulse .8s ease-in-out infinite alternate;transform-box:fill-box;transform-origin:center}
.eg-audio-player.is-playing .eg-audio-wave-bars rect:nth-child(3n){animation-delay:-.24s}.eg-audio-player.is-playing .eg-audio-wave-bars rect:nth-child(4n){animation-delay:-.43s}
@keyframes egAudioPulse{from{transform:scaleY(.7)}to{transform:scaleY(1.2)}}
.eg-audio-time{flex:none;font-size:11px;font-variant-numeric:tabular-nums;color:#69737d}
.eg-audio-player audio{display:none}
.eg-audio-toggle:focus-visible,.eg-audio-wave:focus-visible{outline:2px solid #3e5a9d;outline-offset:2px}
@media(prefers-reduced-motion:reduce){.eg-audio-player.is-playing .eg-audio-wave-bars rect{animation:none}}

/* Charleston municipal guide */
.eg-municipal{border:1px solid #dedede;border-radius:16px;background:#fafafa;padding:20px;color:#303640}.eg-municipal-head h3{margin:0 0 8px;font-size:23px}.eg-municipal-head p{margin:0 0 20px;color:#646b75;font-size:14px;line-height:1.5}.eg-municipal-picker{display:flex;flex-direction:column;gap:8px}.eg-municipal-picker label{font-size:14px;font-weight:700}.eg-municipal-picker select{width:100%;background:white;border:1px solid #bfc5cc;border-radius:9px;padding:12px;font:inherit;color:#303640}.eg-find-ward{align-self:flex-start;border:0;background:transparent;padding:4px 0 8px;text-align:left;font:inherit;font-size:13px;color:#646b75;cursor:pointer}.eg-find-ward span{color:#3e5a9d;text-decoration:underline;text-underline-offset:3px}.eg-find-ward svg{width:14px;height:14px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:2}.eg-municipal-tabs{display:flex;background:#e9eaec;border-radius:10px;padding:4px;gap:4px;margin:14px 0 20px}.eg-municipal-tabs button{flex:1;border:0;background:transparent;padding:12px 7px;border-radius:8px;color:#505967;font:inherit;font-size:14px;cursor:pointer}.eg-municipal-tabs button[aria-selected=true]{background:white;color:#26384f;font-weight:700;box-shadow:0 1px 4px #0002}.eg-municipal-section{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:18px;margin:0 0 12px}.eg-municipal-section h3{margin:0;font-size:18px}.eg-ward-tag{border-radius:20px;background:#e5e9f0;color:#3e5a9d;padding:5px 10px;font-size:12px}.eg-ward-empty{background:#f0f1f3;border-radius:9px;padding:22px;text-align:center;color:#68717b}.eg-nested-frame{width:100%;height:450px;border:0;display:block;overflow:hidden}.eg-municipal-race{border:1px solid #dedede;border-radius:10px;background:#fff;margin:10px 0;overflow:hidden}.eg-municipal-race summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;padding:15px;font-weight:650;list-style:none}.eg-municipal-race summary::-webkit-details-marker{display:none}.eg-municipal-race summary svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;transition:transform .2s}.eg-municipal-race[open] summary svg{transform:rotate(90deg)}.eg-municipal-race .eg-nested-frame{padding:0}.eg-ward-map-dialog{border:0;border-radius:14px;padding:18px;width:min(94vw,900px);max-height:90vh;box-shadow:0 15px 60px #0005}.eg-ward-map-dialog::backdrop{background:#0009}.eg-map-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.eg-map-top strong{font-size:19px}.eg-map-top button{border:0;background:#eee;border-radius:50%;font-size:24px;width:36px;height:36px;cursor:pointer}.eg-ward-map-dialog p{font-size:13px;color:#555;line-height:1.5}.eg-ward-map-dialog iframe{width:100%;height:min(58vh,520px);border:1px solid #ddd;border-radius:8px}.eg-map-fallback a{color:#3e5a9d}.eg-municipal [hidden]{display:none!important}@media(max-width:550px){.eg-municipal{padding:14px}.eg-municipal-head h3{font-size:21px}.eg-municipal-tabs button{font-size:13px}}

/* Municipal embedded candidate guide: one clean visual hierarchy, no repeated title bars. */
body.eg-embedded-municipal{background:transparent}
.eg-embedded-municipal .eg-heading,.eg-embedded-municipal .eg-guide-topline{display:none!important}
.eg-embedded-municipal .eg-wrap{padding:0!important;margin:0!important;max-width:none!important}
.eg-embedded-municipal .eg-guide{border:0;border-radius:0;background:transparent;overflow:visible}
.eg-embedded-municipal .eg-guide-content{padding:5px 0 14px}
.eg-embedded-municipal .eg-race-title{display:none}
.eg-embedded-municipal .eg-roster-hint{font-size:12px;color:#68717b;margin:4px 0 15px}
.eg-embedded-municipal .eg-roster{padding:4px 0 17px}
.eg-embedded-municipal .eg-guide-questions{border-top:1px solid #e4e7eb;padding-top:17px;margin-top:5px}
.eg-embedded-municipal .eg-guide-questions .eg-section-title{color:#525d6b;font-size:12px;letter-spacing:.065em;margin-bottom:12px}
.eg-municipal [data-ward-frame]{background:#fff;border:1px solid #e1e5ea;border-radius:12px;padding:17px 19px;overflow:hidden}
.eg-municipal .eg-nested-frame{background:transparent}
.eg-municipal-race[open]>summary{border-bottom:1px solid #e4e7eb;background:#f7f8fa}
.eg-municipal-race [data-office-frame]{padding:14px 17px 3px}
.eg-municipal-section{margin:4px 0 13px}
.eg-municipal-section h3{font-size:17px;font-weight:700}
@media(max-width:600px){.eg-municipal [data-ward-frame]{padding:12px 10px}.eg-municipal-race [data-office-frame]{padding:10px 9px 0}.eg-embedded-municipal .eg-guide-content{padding:3px 0 10px}.eg-embedded-municipal .eg-roster{gap:18px 8px}}

/* 2026-10-14: center controls and keep dialogs within the reader's visible viewport. */
.eg-roster-photo .eg-profile-open{right:0!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;font-family:Arial,sans-serif!important;font-weight:500!important;line-height:1!important;text-indent:0!important}
.eg-roster-photo .eg-party-badge,.eg-party-badge{display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;line-height:1!important;padding-top:0!important;padding-bottom:0!important}
.eg-profile-dialog,.eg-ward-map-dialog{position:fixed!important;margin:0!important;left:50%!important;top:12px;transform:translateX(-50%)!important;max-height:calc(100dvh - 24px);overscroll-behavior:contain}
.eg-ward-map-dialog{padding:14px!important;width:min(94vw,900px)}
.eg-ward-map-dialog iframe{height:min(67dvh,560px)!important;display:block}
.eg-ward-map-dialog .eg-map-fallback{display:none!important}
@media(max-width:600px){.eg-ward-map-dialog{width:calc(100% - 14px)!important;padding:10px!important}.eg-ward-map-dialog iframe{height:min(70dvh,590px)!important}}

/* Municipal guides: place the voter-guide label inside the widget, above the city heading. */
.eg-municipal-page .eg-heading{display:none}
.eg-municipal-head .eg-municipal-eyebrow{display:block;margin:0 0 9px;line-height:1.45}
/* Editorial spacing between the municipal heading and controls; no divider. */
.eg-municipal-head{border-bottom:0;padding-bottom:0;margin-bottom:26px}
.eg-municipal-head p{margin-bottom:0}

/* Municipal editorial masthead: restrained two-sided header, all three cities. */
.eg-municipal{overflow:hidden}
.eg-municipal-titlebar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:-20px -20px 22px;padding:13px 19px;background:#e9edf3;border-bottom:1px solid #d3dbe5;color:#344e86;font-family:Inter,Arial,sans-serif;font-size:11px;font-weight:700;letter-spacing:.065em;line-height:1.35;text-transform:uppercase}
.eg-municipal-titlebar span:last-child{text-align:right;font-weight:600;color:#5b6676}
.eg-municipal-head{margin-bottom:26px}
@media(max-width:550px){.eg-municipal-titlebar{margin:-14px -14px 20px;padding:12px 13px;font-size:9px;letter-spacing:.035em;gap:8px}}

/* Compact masthead and social sharing */
.eg-municipal-titlebar{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.eg-municipal-titlebar>span:nth-child(2){margin-left:auto}
.eg-share{display:flex;align-items:center;gap:5px;margin-left:8px}
.eg-share a,.eg-share button{display:inline-flex;align-items:center;justify-content:center;width:27px;height:27px;flex:none;border:1px solid #c5cfdb;border-radius:50%;background:#f9fbff;color:#3e5a9d;text-decoration:none;font:700 13px/1 Inter,Arial,sans-serif;letter-spacing:0;cursor:pointer}
.eg-share a:hover,.eg-share button:hover{background:#3e5a9d;color:white}
@media(max-width:550px){.eg-municipal-titlebar{gap:7px}.eg-municipal-titlebar>span:nth-child(2){margin-left:auto}.eg-share{margin-left:0;width:100%;justify-content:flex-end}}
.eg-profile-full-link{display:inline-block;margin:13px 0 0;padding:10px 14px;border-radius:7px;background:#3e5a9d;color:#fff!important;text-decoration:none!important;font:600 13px Inter,Arial,sans-serif}
.eg-profile-full-link:hover{background:#304779}


/* Unified 2026 election editorial masthead */
.eg-municipal-titlebar,.eg-complete-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;background:#e9edf3;color:#344e86}
.eg-header-identity{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font:600 11px/1.4 Inter,Arial,sans-serif;letter-spacing:.045em;text-transform:uppercase}
.eg-header-identity strong{font-weight:800;color:#344e86}.eg-header-identity>span:last-child{color:#5b6676;text-align:left}.eg-header-separator{width:1px;height:14px;background:#aab6c6;flex:none}
.eg-municipal-titlebar .eg-share,.eg-complete-bar .eg-share{margin-left:auto;width:auto;display:flex;align-items:center;gap:6px}
.eg-share a,.eg-share button{width:30px;height:30px;flex:none;border:1px solid #c5cfdb;border-radius:50%;background:#f9fbff;color:#3e5a9d;display:inline-flex;align-items:center;justify-content:center;padding:6px;cursor:pointer}
.eg-share svg{width:16px;height:16px;display:block;flex:none}
.eg-share a:hover,.eg-share button:hover{background:#3e5a9d;color:#fff}
.eg-party-badge,.eg-roster-photo .eg-party-badge{width:31px!important;min-width:31px!important;max-width:31px!important;height:31px!important;min-height:31px!important;padding:0!important;border-radius:50%!important;aspect-ratio:1!important;font-size:11px!important;letter-spacing:-.03em;white-space:nowrap}
.eg-find-ward .eg-external-icon,.eg-profile-full-link .eg-external-icon{width:15px;height:15px;vertical-align:-3px;display:inline-block;fill:none;stroke:currentColor;stroke-width:1.8}
.eg-contact-groups{display:flex;gap:24px;flex-wrap:wrap;border-top:1px solid #e5e9f0;padding-top:14px;margin-top:18px}
.eg-contact-group{min-width:0}.eg-contact-label{display:block;font:700 11px/1.3 Inter,Arial,sans-serif;color:#526278;margin-bottom:9px;letter-spacing:.025em}
.eg-contact-group .eg-contacts{display:flex;gap:7px;flex-wrap:wrap;border:0;padding:0;margin:0}
.eg-contact-group .eg-contact{width:33px;height:33px}.eg-contact-group .eg-contact svg{width:16px;height:16px}
@media(max-width:550px){.eg-municipal-titlebar .eg-share{margin-left:0;width:auto;justify-content:flex-start}.eg-header-identity{font-size:10px;gap:7px}.eg-share a,.eg-share button{width:29px;height:29px}}

/* Contact icons: two clearly separated rows, with unavailable links muted. */
.eg-contact-groups{display:flex;flex-direction:column;align-items:flex-start;gap:15px}
.eg-contact-group{display:block;width:100%}
.eg-contact-group + .eg-contact-group{padding-top:12px;border-top:1px solid #edf0f4}
.eg-contact-group .eg-contacts{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0;padding:0;border:0}
.eg-contact-group .eg-contact{width:35px;height:35px;flex:0 0 35px;transition:background .15s,border-color .15s}
.eg-contact-group a.eg-contact{color:#3e5a9d;background:#f4f7fc;border-color:#b9c9e2}
.eg-contact-group a.eg-contact:hover{background:#e4ecf9;border-color:#3e5a9d}
.eg-contact-group .eg-contact.eg-disabled{opacity:1;color:#aeb7c4;background:#f5f6f8;border-color:#e3e7ed;cursor:default}

/* Brand identity in candidate-guide mastheads; white logo on site-blue tile. */
.eg-header-identity .eg-kvu-logo{display:inline-flex;align-items:center;justify-content:center;flex:none;width:112px;height:35px;padding:5px 8px;border-radius:4px;background:#3e5a9d;box-sizing:border-box;text-decoration:none}
.eg-header-identity .eg-kvu-logo img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.eg-header-identity .eg-kvu-logo:hover{background:#2f477e}
@media(max-width:550px){.eg-header-identity .eg-kvu-logo{width:94px;height:31px;padding:5px 7px}.eg-header-identity{gap:7px}}

/* 2026-10-14: neutral agreement scale; preserve the original KVU logo pixels while displaying them in muted slate blue on transparent background. */
.eg-header-identity .eg-kvu-logo{background:transparent!important;padding:2px 0!important;border-radius:0!important}
.eg-header-identity .eg-kvu-logo:hover{background:transparent!important;opacity:.8}
.eg-header-identity .eg-kvu-logo img{filter:brightness(0) saturate(100%) invert(37%) sepia(19%) saturate(1120%) hue-rotate(176deg) brightness(95%) contrast(92%);object-fit:contain}

/* Stronger contrast for CSV-backed contact and social links. Unavailable icons remain visibly muted. */
.eg-contact-group a.eg-contact:not(.eg-disabled){color:#203f72;background:#e8eef8;border:1.5px solid #6683ad;opacity:1;box-shadow:0 1px 2px rgba(25,49,85,.08)}
.eg-contact-group a.eg-contact:not(.eg-disabled) svg{stroke:currentColor;opacity:1}
.eg-contact-group a.eg-contact:not(.eg-disabled):hover,.eg-contact-group a.eg-contact:not(.eg-disabled):focus-visible{color:#17325b;background:#dce7f7;border-color:#294e83}
.eg-contact-group .eg-contact.eg-disabled{color:#b5beca;background:#f5f6f8;border-color:#e3e7ed;opacity:1;box-shadow:none}

/* Match contact headings to Age / Education / Occupation text and space the full-profile link. */
.eg-contact-group .eg-contact-label{font-family:Inter,Arial,sans-serif;font-size:13px;line-height:1.4;font-weight:700;letter-spacing:0}
.eg-profile-dialog .eg-profile-full-link{margin-top:25px}

/* KVU mobile full-bleed election guide and compact party markers, 2026-10-15 */
@media (max-width:600px) {
  html,body,.eg-wrap {width:100%;max-width:100%;margin-left:0;margin-right:0;}
  .eg-wrap,.eg-wrap:has(> .eg-guide) {padding-left:0!important;padding-right:0!important;}
  .eg-guide,.eg-municipal {border-left:0!important;border-right:0!important;border-radius:0!important;}
  .eg-guide-topline,.eg-municipal-titlebar {border-radius:0!important;}
  .eg-profile-close,.eg-profile-close:focus,.eg-profile-close:focus-visible {border:0!important;outline:none!important;box-shadow:none!important;-webkit-tap-highlight-color:transparent;}
  .eg-party-badge,.eg-roster-photo .eg-party-badge {width:20px!important;min-width:20px!important;max-width:20px!important;height:20px!important;min-height:20px!important;font-size:9px!important;line-height:1!important;padding:0!important;border-width:1px!important;letter-spacing:-.03em!important;}
}

/* Publisher credit at the bottom of the municipal election widget. */
.eg-municipal-footer{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:7px 4px;margin:24px -20px -20px;padding:11px 19px;border-top:1px solid #d5dbe4;background:#f1f3f6;min-height:49px}
.eg-footer-credit{font:italic 400 12px/1.4 Inter,Arial,sans-serif;color:#788394}
.eg-footer-logo{display:inline-flex;align-items:center;justify-content:center;width:70px;height:21px;flex:none;text-decoration:none}
.eg-footer-logo img{display:block;width:100%;height:100%;object-fit:contain;filter:brightness(0) saturate(100%) invert(37%) sepia(19%) saturate(1120%) hue-rotate(176deg) brightness(95%) contrast(92%)}
.eg-footer-logo:hover{opacity:.8}
@media(max-width:550px){.eg-municipal-footer{margin:20px -14px -14px;padding:11px 13px;gap:6px 4px}.eg-footer-credit{font-size:11px}.eg-footer-logo{width:66px;height:20px}}

/* Pull publisher logo closer to the credit text. */
.eg-municipal-footer .eg-footer-logo{margin-left:-6px;}

/* Meet the candidates: party-colored circles behind transparent candidate PNGs. */
.eg-roster-person .eg-roster-photo .eg-party-badge{display:none!important}
.eg-roster-person .eg-roster-photo .eg-avatar{border:0!important;background:var(--eg-roster-party-color,#7b8491)!important;box-shadow:none!important}
/* The fallback silhouette should not show through transparent PNGs. */
.eg-roster-person .eg-roster-photo .eg-avatar:has(img) .eg-avatar-silhouette{display:none}
.eg-roster-party-d{--eg-roster-party-color:#3e5a9d}
.eg-roster-party-r{--eg-roster-party-color:#b4474d}
.eg-roster-party-i{--eg-roster-party-color:#a58b51}
.eg-roster-party-np{--eg-roster-party-color:#7b8491}
.eg-roster-person .eg-roster-name{display:flex;align-items:center;justify-content:center;gap:5px;width:100%;min-width:0}
.eg-roster-person .eg-roster-name strong{min-width:0}
.eg-roster-person .eg-roster-name .eg-profile-open{position:static!important;display:inline-flex!important;align-items:center;justify-content:center;flex:none;width:21px!important;height:21px!important;border:1px solid #c5ccd5;border-radius:50%;background:#fff;color:#53647a;padding:3px!important;box-shadow:none;font-size:0!important;cursor:pointer}
.eg-roster-person .eg-roster-name .eg-profile-open svg{display:block;width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.eg-roster-person .eg-roster-name .eg-profile-open:hover{background:#e9eef8;color:#3e5a9d}
.eg-roster-person .eg-roster-name .eg-profile-open:focus-visible{outline:2px solid #3e5a9d;outline-offset:2px}

/* Muted party colors for transparent PNG headshots. */
.eg-roster-party-d{--eg-roster-party-color:#849bc5}
.eg-roster-party-r{--eg-roster-party-color:#d18d91}
.eg-roster-party-i{--eg-roster-party-color:#c9b68a}
.eg-roster-party-np{--eg-roster-party-color:#aab3bf}
/* Compact, accessible issue comparisons within the candidate roster. */
.eg-guide-issues .eg-issues-intro{margin:0 0 16px;color:#626d7b;font-size:12px;line-height:1.55}
.eg-issue-ratings{display:flex;flex-direction:column;gap:10px}
.eg-issue-rating-row{display:grid;grid-template-columns:minmax(125px,165px) minmax(0,1fr);gap:12px;padding:12px;background:#fff;border:1px solid #e2e6eb;border-radius:10px}
.eg-issue-rating-label{display:flex;align-items:center;gap:8px;color:#495669;font-size:12px;font-weight:600}
.eg-issue-rating-number{display:grid;place-items:center;flex:none;width:29px;height:29px;border-radius:50%;background:#e9eef7;color:#344e86;font-size:14px;font-weight:800}
.eg-issue-candidates{display:flex;flex-wrap:wrap;gap:10px;min-width:0}
.eg-issue-candidate{min-width:0;flex:1 1 150px;max-width:260px}
.eg-issue-candidate-identity{display:flex;align-items:center;gap:9px;min-width:0}
.eg-issue-candidate-identity .eg-avatar-wrap{flex:none}
.eg-issue-candidate-identity .eg-avatar{width:40px;height:40px;font-size:16px}
.eg-issue-candidate-identity .eg-party-badge{display:none!important}
.eg-issue-candidate-identity strong{font-size:12px;line-height:1.35;overflow-wrap:anywhere}
.eg-issue-explanation{margin:7px 0 0 49px;font-size:12px}
.eg-issue-explanation>summary{display:list-item;cursor:pointer;color:#3e5a9d;font-weight:600;line-height:1.5}
.eg-issue-explanation-body{padding:6px 0 0;line-height:1.55;color:#354155;overflow-wrap:anywhere}
.eg-issue-explanation-body p{margin:4px 0 8px}
.eg-issue-skipped{margin:13px 0 0;color:#687483;font-size:12px;line-height:1.5}
.eg-issue-no-positions{border-top:1px solid #dce2eb;margin-top:19px;padding:15px 0 0;color:#566172;font-size:12px;line-height:1.55}
.eg-issue-no-positions strong{font-size:12px}
.eg-issue-no-positions p{margin:6px 0 0}
@media(max-width:600px){.eg-issue-rating-row{grid-template-columns:1fr;gap:9px;padding:10px}.eg-issue-candidate{flex-basis:135px}.eg-issue-rating-label{font-size:11px}}


/* 2026 candidate-by-candidate editorial layout; scoped to the profile view. */
.eg-candidate-list .eg-guide-content{padding:18px clamp(15px,3vw,30px) 12px}
.eg-candidate-list .eg-candidate-row{display:grid;grid-template-columns:clamp(94px,15vw,150px) minmax(0,1fr);gap:clamp(16px,3vw,30px);padding:28px 0 32px;border-bottom:1px solid #cbd2da;align-items:start}
.eg-candidate-list .eg-candidate-row:first-of-type{padding-top:12px}
.eg-candidate-list .eg-candidate-row:last-child{border-bottom:0;padding-bottom:12px}
.eg-candidate-list .eg-candidate-portrait{width:100%;max-width:150px;position:relative}
.eg-candidate-list .eg-candidate-portrait .eg-avatar{width:100%;height:auto;aspect-ratio:1;border-radius:50%;background:var(--eg-roster-party-color,#aab3bf)!important;box-shadow:none!important}
.eg-candidate-list .eg-candidate-portrait .eg-avatar:has(img) .eg-avatar-silhouette{display:none}
.eg-candidate-list .eg-candidate-portrait .eg-avatar img{object-fit:cover}
.eg-candidate-list .eg-candidate-info{min-width:0}
.eg-candidate-list .eg-candidate-heading h3{font-size:clamp(21px,2.6vw,29px);line-height:1.17;letter-spacing:-.035em;color:#1d2734;margin:0 0 5px;font-weight:800}
.eg-candidate-list .eg-candidate-office{font-size:clamp(13px,1.6vw,16px);font-weight:700;color:#566274;margin:0 0 15px}
.eg-candidate-list .eg-candidate-bio{font-size:14px;line-height:1.65;color:#384352;max-width:76ch}
.eg-candidate-list .eg-candidate-bio p{margin:0 0 7px}
.eg-candidate-list .eg-candidate-bio.is-clamped{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;line-clamp:4;overflow:hidden}
.eg-candidate-list .eg-bio-more{border:0;background:none;padding:3px 0;color:#3e5a9d;font:700 12px Inter,Arial,sans-serif;text-decoration:underline;cursor:pointer}
.eg-candidate-list .eg-candidate-links{display:flex;flex-wrap:wrap;gap:18px 30px;margin:20px 0 22px}
.eg-candidate-list .eg-candidate-link-group>span{display:block;font-size:12px;font-weight:750;color:#475366;margin-bottom:8px}
.eg-candidate-list .eg-candidate-icons{display:flex;flex-wrap:wrap;gap:8px}
.eg-candidate-list .eg-candidate-icons .eg-contact{width:36px;height:36px;border-radius:50%;color:#3e5a9d;background:#fff;border:1px solid #c7d2e2}
.eg-candidate-list .eg-candidate-icons .eg-contact:hover{background:#e8eef8}
.eg-candidate-list .eg-candidate-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}
.eg-candidate-list .eg-candidate-action{display:inline-flex;align-items:center;justify-content:space-between;gap:17px;min-height:42px;border-radius:6px;padding:10px 14px;font:700 13px/1.25 Inter,Arial,sans-serif;text-decoration:none;cursor:pointer;transition:background .15s}
.eg-candidate-list .eg-candidate-position-toggle{border:1px solid #3e5a9d;background:#3e5a9d;color:#fff}
.eg-candidate-list .eg-candidate-position-toggle:hover{background:#304879}
.eg-candidate-list .eg-candidate-profile-link{border:1px solid #c4ccda;background:#fff;color:#314b80}
.eg-candidate-list .eg-candidate-profile-link:hover{background:#edf1f8}
.eg-candidate-list .eg-candidate-action svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.eg-candidate-list .eg-candidate-position-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
.eg-candidate-list .eg-candidate-action:focus-visible,.eg-candidate-list .eg-bio-more:focus-visible{outline:3px solid #3e5a9d;outline-offset:3px}
.eg-candidate-list .eg-candidate-positions{background:#fff;border:1px solid #d9e0e9;border-radius:10px;margin-top:16px;padding:18px;max-width:760px}
.eg-candidate-list .eg-candidate-positions[hidden]{display:none!important}
.eg-candidate-list .eg-candidate-positions h4{margin:0 0 5px;font-size:17px;color:#253750}
.eg-candidate-list .eg-candidate-position-intro{margin:0 0 14px;font-size:12px;line-height:1.5;color:#647183}
.eg-candidate-list .eg-candidate-position{border-top:1px solid #e6eaf0;padding:15px 0}
.eg-candidate-list .eg-candidate-issue-title{font-weight:700;font-size:13px;line-height:1.5;margin:0 0 11px}
.eg-candidate-list .eg-candidate-scale{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;max-width:410px}
.eg-candidate-list .eg-candidate-scale span{border:1px solid #d4dce7;background:#edf1f6;color:#697789;border-radius:5px;text-align:center;padding:8px 0;font-size:13px;font-weight:700}
.eg-candidate-list .eg-candidate-scale span.is-selected{background:#3e5a9d;border-color:#3e5a9d;color:#fff;box-shadow:0 0 0 2px #d7e2f4}
.eg-candidate-list .eg-candidate-rating-word{margin:8px 0 0;font-size:12px;font-weight:700;color:#3e5a9d}
.eg-candidate-list .eg-candidate-no-response,.eg-candidate-list .eg-candidate-no-positions{font-size:12px;color:#697587;margin:5px 0}
.eg-candidate-list .eg-candidate-explanation{margin-top:11px;font-size:12px;line-height:1.6;color:#354155}
.eg-candidate-list .eg-candidate-explanation summary{color:#3e5a9d;cursor:pointer;font-weight:700}
.eg-candidate-list .eg-candidate-explanation p{margin:10px 0}
@media(max-width:620px){
 .eg-candidate-list .eg-guide-content{padding:10px 14px 12px}
 .eg-candidate-list .eg-candidate-row{grid-template-columns:82px minmax(0,1fr);gap:13px;padding:23px 0 27px}
 .eg-candidate-list .eg-candidate-heading h3{font-size:20px}
 .eg-candidate-list .eg-candidate-office{font-size:12px;margin-bottom:10px}
 .eg-candidate-list .eg-candidate-bio{font-size:13px;line-height:1.55}
 .eg-candidate-list .eg-candidate-links{gap:14px;margin:14px 0}
 .eg-candidate-list .eg-candidate-actions{flex-direction:column;align-items:stretch}
 .eg-candidate-list .eg-candidate-action{width:100%;min-height:42px}
 .eg-candidate-list .eg-candidate-positions{padding:12px;margin-left:-95px;width:calc(100% + 95px)}
}
@media(max-width:380px){.eg-candidate-list .eg-candidate-row{grid-template-columns:68px minmax(0,1fr);gap:10px}.eg-candidate-list .eg-candidate-positions{margin-left:-78px;width:calc(100% + 78px)}}

/* Candidate list refinement: separate contact and social rows. */
.eg-candidate-list .eg-candidate-links{display:flex;flex-direction:column;align-items:flex-start;flex-wrap:nowrap;gap:16px;margin:20px 0 22px}
.eg-candidate-list .eg-candidate-link-group{display:block;width:100%}
.eg-candidate-list .eg-candidate-link-group>span{display:block;margin-bottom:9px}
/* Neutral, portrait-marked agreement scale. Main candidate portraits remain party-colored. */
.eg-candidate-list .eg-candidate-scale-graphic{max-width:490px;margin:8px 15px 4px}
.eg-candidate-list .eg-candidate-scale-track{height:88px;position:relative;margin:0 29px}
.eg-candidate-list .eg-candidate-scale-line{position:absolute;top:49px;left:0;right:0;height:7px;border-radius:8px;background:#cbd1d8}
.eg-candidate-list .eg-candidate-scale-tick{position:absolute;top:38px;transform:translateX(-50%);width:29px;height:29px;border:2px solid white;border-radius:50%;background:#8b96a3;color:#fff;text-align:center;line-height:25px;font-size:12px;z-index:1}
.eg-candidate-list .eg-candidate-scale-tick.is-selected{background:#596674}
.eg-candidate-list .eg-candidate-scale-marker{position:absolute;top:0;transform:translateX(-50%);z-index:2;pointer-events:none}
.eg-candidate-list .eg-candidate-scale-avatar{display:block;width:49px;height:49px;border:2px solid #fff;border-radius:50%;overflow:hidden;background:#b9bec5;box-shadow:0 2px 7px #0003}
.eg-candidate-list .eg-candidate-scale-avatar .eg-avatar{display:block;width:100%;height:100%;background:#b9bec5!important;border:0;box-shadow:none!important}
.eg-candidate-list .eg-candidate-scale-avatar .eg-avatar img{object-fit:cover}
.eg-candidate-list .eg-candidate-scale-avatar .eg-avatar:has(img) .eg-avatar-silhouette{display:none}
.eg-candidate-list .eg-candidate-scale-endpoints{display:flex;justify-content:space-between;gap:12px;color:#66717e;font-size:11px;font-weight:650}
.eg-candidate-list .eg-candidate-no-positions{font-size:14px;line-height:1.55;color:#566273;margin:14px 0 2px}
@media(max-width:620px){.eg-candidate-list .eg-candidate-links{gap:13px;margin:15px 0}.eg-candidate-list .eg-candidate-scale-graphic{margin:8px 5px 4px}.eg-candidate-list .eg-candidate-scale-track{margin:0 25px}.eg-candidate-list .eg-candidate-scale-avatar{width:44px;height:44px}.eg-candidate-list .eg-candidate-scale-endpoints{font-size:10px}}

/* Candidate issue positions: restore original gradient, center portrait on selected tick. */
.eg-candidate-list .eg-candidate-scale-line{background:linear-gradient(90deg,#dce1e8,#c2cbd6,#a6b2c0,#7e90a3,#53677c);top:49px}
.eg-candidate-list .eg-candidate-scale-tick{background:#3e5a9d;top:39px}
.eg-candidate-list .eg-candidate-scale-tick.is-selected{background:#3e5a9d}
.eg-candidate-list .eg-candidate-scale-marker{top:27px}
.eg-candidate-list .eg-candidate-scale-avatar{width:49px;height:49px}
.eg-candidate-list .eg-candidate-scale-avatar,.eg-candidate-list .eg-candidate-scale-avatar .eg-avatar{background:#b9bec5!important}
.eg-candidate-list .eg-candidate-position-summary{font-size:13px;line-height:1.55;color:#3b495c;margin:0 0 12px}
.eg-candidate-list .eg-candidate-quote{margin:17px 0 4px;padding:0 0 0 13px;border-left:3px solid #aebbcf;color:#354155;font-size:13px;line-height:1.65;white-space:normal;overflow-wrap:anywhere}
.eg-candidate-list .eg-candidate-quote em{font-style:italic}
@media(max-width:620px){.eg-candidate-list .eg-candidate-scale-avatar{width:44px;height:44px}.eg-candidate-list .eg-candidate-scale-marker{top:29.5px}}

/* Neutral issue-position palette: distinct from political party portraits. */
.eg-candidate-list .eg-candidate-scale-line{background:linear-gradient(90deg,#e0e3e5,#cbd0d2,#aeb7b9,#899597,#626f72)!important}
.eg-candidate-list .eg-candidate-scale-tick,.eg-candidate-list .eg-candidate-scale-tick.is-selected{background:#626d70!important;color:#fff!important;border-color:#fff!important}
.eg-candidate-list .eg-candidate-position-summary{color:#38434a;font-weight:400}
.eg-candidate-list .eg-candidate-rating-emphasis{color:#526c62;font-weight:750}
/* Compact scale endpoints, with pale guide strokes leading to ticks 1 and 5. */
.eg-candidate-list .eg-candidate-scale-track{height:79px}
.eg-candidate-list .eg-candidate-scale-endpoints{position:relative;display:flex;justify-content:space-between;gap:10px;margin:0 0 0;color:#a0a8ac;font-size:10px;font-weight:400;line-height:1.35}
.eg-candidate-list .eg-candidate-scale-endpoints span{position:relative;max-width:45%}
.eg-candidate-list .eg-candidate-scale-endpoints span:first-child{text-align:left}
.eg-candidate-list .eg-candidate-scale-endpoints span:last-child{text-align:right}
.eg-candidate-list .eg-candidate-scale-endpoints span:before{content:"";position:absolute;bottom:calc(100% + 2px);height:10px;width:1px;background:#e1e5e6}
.eg-candidate-list .eg-candidate-scale-endpoints span:first-child:before{left:29px}
.eg-candidate-list .eg-candidate-scale-endpoints span:last-child:before{right:29px}
/* Editorial quotation treatment: one sage-colored opening quote, no left rule. */
.eg-candidate-list .eg-candidate-quote{display:flex;align-items:flex-start;gap:8px;margin:13px 0 5px;padding:0;border:0!important;color:#354155;font-size:13px;line-height:1.65}
.eg-candidate-list .eg-candidate-quote-mark{flex:none;font-family:Georgia,serif;font-size:54px;line-height:.95;color:#7a9182;font-style:normal}
.eg-candidate-list .eg-candidate-quote-text{padding-top:6px;min-width:0}
@media(max-width:620px){.eg-candidate-list .eg-candidate-scale-endpoints span:first-child:before{left:25px}.eg-candidate-list .eg-candidate-scale-endpoints span:last-child:before{right:25px}.eg-candidate-list .eg-candidate-quote-mark{font-size:47px}}

/* October 2026: editorial color refresh, clearly separate from party colors. */
.eg-candidate-list .eg-candidate-scale-line{background:linear-gradient(90deg,#d9e9e3 0%,#b2d0c2 25%,#80ac9b 55%,#467e73 80%,#285a54 100%)!important}
.eg-candidate-list .eg-candidate-scale-tick{background:#537f74!important;border:2px solid #fff!important;color:#fff!important;box-shadow:0 1px 3px #193a3426}
.eg-candidate-list .eg-candidate-scale-tick.is-selected{background:#265b51!important;box-shadow:0 0 0 3px #d3e9df,0 2px 5px #193a3433}
.eg-candidate-list .eg-candidate-rating-emphasis{color:#28685a!important}
.eg-candidate-list .eg-candidate-quote-mark{color:#a27a43!important}
.eg-candidate-list .eg-candidate-positions{border-color:#d5e5dc;background:#fbfdfb}
.eg-candidate-list .eg-candidate-position{border-top-color:#dfebe4}
.eg-candidate-list .eg-candidate-position-summary{font-size:15px;line-height:1.55}
.eg-candidate-list .eg-candidate-issue-title{font-size:15px;line-height:1.55}
.eg-candidate-list .eg-candidate-quote{font-size:15px;line-height:1.7}
.eg-candidate-list .eg-candidate-scale-endpoints{font-size:12px;color:#788881}
.eg-candidate-list .eg-candidate-position-intro{font-size:13px}
.eg-candidate-list .eg-candidate-office{margin-bottom:7px;font-weight:600;color:#596678}
.eg-candidate-list .eg-candidate-status-pills{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:0 0 16px}
.eg-candidate-list .eg-candidate-status-pills span{display:inline-flex;align-items:center;min-height:25px;border-radius:999px;padding:4px 10px;font-size:11px;font-weight:750;line-height:1.3}
.eg-candidate-list .eg-candidate-party-r{background:#f8e5e5;color:#933c42}
.eg-candidate-list .eg-candidate-party-d{background:#e4ecf9;color:#375c91}
.eg-candidate-list .eg-candidate-party-i{background:#f3ebdb;color:#806439}
.eg-candidate-list .eg-candidate-party-np{background:#e9edf0;color:#515f6c}
.eg-candidate-list .eg-candidate-incumbent-pill{background:#edf0f3;color:#4e5966;border:1px solid #d9dfe5}
@media(max-width:620px){
 .eg-candidate-list .eg-candidate-heading h3{font-size:clamp(21px,5.8vw,25px);line-height:1.22}
 .eg-candidate-list .eg-candidate-office{font-size:14px;line-height:1.45}
 .eg-candidate-list .eg-candidate-bio{font-size:15px;line-height:1.65}
 .eg-candidate-list .eg-candidate-link-group>span{font-size:13px}
 .eg-candidate-list .eg-candidate-status-pills span{font-size:12px;min-height:27px}
 .eg-candidate-list .eg-candidate-action{font-size:15px;min-height:46px}
 .eg-candidate-list .eg-bio-more{font-size:14px}
 .eg-candidate-list .eg-candidate-positions h4{font-size:18px}
 .eg-candidate-list .eg-candidate-position-intro{font-size:14px}
 .eg-candidate-list .eg-candidate-issue-title{font-size:15px}
 .eg-candidate-list .eg-candidate-position-summary{font-size:15px}
 .eg-candidate-list .eg-candidate-quote{font-size:15px}
 .eg-candidate-list .eg-candidate-scale-endpoints{font-size:12px}
 .eg-candidate-list .eg-candidate-no-response,.eg-candidate-list .eg-candidate-no-positions{font-size:14px}
 .eg-candidate-list .eg-candidate-row{grid-template-columns:76px minmax(0,1fr);gap:13px}
 .eg-candidate-list .eg-candidate-positions{margin-left:-89px;width:calc(100% + 89px)}
}
@media(max-width:380px){.eg-candidate-list .eg-candidate-row{grid-template-columns:68px minmax(0,1fr);gap:10px}.eg-candidate-list .eg-candidate-positions{margin-left:-78px;width:calc(100% + 78px)}}

/* KVU election palette. I and NP receive distinct, neutral supporting hues. */
:root{--eg-ink:#101424;--eg-mint:#afddd0;--eg-rep:#ea463a;--eg-dem:#4b5ea6;--eg-ind:#c6a66d;--eg-np:#9ba5b2}
.eg-roster-party-r{--eg-roster-party-color:var(--eg-rep)}
.eg-roster-party-d{--eg-roster-party-color:var(--eg-dem)}
.eg-roster-party-i{--eg-roster-party-color:var(--eg-ind)}
.eg-roster-party-np{--eg-roster-party-color:var(--eg-np)}
.eg-candidate-list .eg-candidate-portrait .eg-avatar{background:var(--eg-roster-party-color,var(--eg-np))!important}
.eg-candidate-list .eg-candidate-party-r{background:#fff0ee;color:#a42b22}
.eg-candidate-list .eg-candidate-party-d{background:#eef0fa;color:#344787}
.eg-candidate-list .eg-candidate-party-i{background:#f7f0e2;color:#705424}
.eg-candidate-list .eg-candidate-party-np{background:#edf0f4;color:#3f4b5b}
.eg-candidate-list .eg-candidate-incumbent-pill{background:#fff;color:#101424;border-color:#cdd4db}
.eg-candidate-list .eg-candidate-heading h3{color:#101424}
.eg-candidate-list .eg-candidate-office{color:#50596b}
.eg-candidate-list .eg-candidate-positions{background:#f7fcfa;border-color:#c8e5dc}
.eg-candidate-list .eg-candidate-position{border-top-color:#d8e9e4}
.eg-candidate-list .eg-candidate-scale-line{background:linear-gradient(90deg,#e7f4ef 0%,#cce9e0 25%,#afddd0 50%,#74b6a3 75%,#357c69 100%)!important}
.eg-candidate-list .eg-candidate-scale-tick{background:#397c6b!important;color:#fff!important;border-color:#fff!important}
.eg-candidate-list .eg-candidate-scale-tick.is-selected{background:#101424!important;box-shadow:0 0 0 3px #afddd0,0 2px 5px #10142424}
.eg-candidate-list .eg-candidate-rating-emphasis{color:#256a58!important}
.eg-candidate-list .eg-candidate-quote-mark{color:#36816e!important}
.eg-candidate-list .eg-candidate-quote{color:#101424}
.eg-candidate-list .eg-candidate-scale-endpoints{color:#6e807a}
.eg-candidate-list .eg-candidate-scale-endpoints span:before{background:#d8e6e2}
.eg-candidate-list .eg-candidate-scale-avatar,.eg-candidate-list .eg-candidate-scale-avatar .eg-avatar{background:#b9bec5!important}
@media(max-width:620px){.eg-candidate-list .eg-candidate-position-summary,.eg-candidate-list .eg-candidate-issue-title,.eg-candidate-list .eg-candidate-quote{font-size:15px}.eg-candidate-list .eg-candidate-scale-endpoints{font-size:12px}}

/* 2026-10-18: solid party pills, near-white issue panels and separated issue titles. */
.eg-candidate-list .eg-candidate-party-pill{color:#fff!important;border:1px solid transparent!important;font-weight:700}
.eg-candidate-list .eg-candidate-party-r{background:#bd3028!important;color:#fff!important}
.eg-candidate-list .eg-candidate-party-d{background:#354785!important;color:#fff!important}
.eg-candidate-list .eg-candidate-party-i{background:#795b29!important;color:#fff!important}
.eg-candidate-list .eg-candidate-party-np{background:#414c5a!important;color:#fff!important}
.eg-candidate-list .eg-candidate-positions{background:#fcfcfd!important;border-color:#e6e8ec!important}
.eg-candidate-list .eg-candidate-position{border-top:1px solid #e6e8ec!important}
.eg-candidate-list .eg-candidate-issue-title{
 display:block;margin:0 0 6px!important;padding:0 0 0 11px;
 border-left:3px solid #72b7a4;color:#101424!important;
 font-size:17px!important;font-weight:800!important;line-height:1.35!important;
}
.eg-candidate-list .eg-candidate-issue-statement{
 margin:0 0 11px;padding-left:14px;color:#283345;
 font-size:15px;line-height:1.6;font-weight:400;
}
@media(max-width:620px){
 .eg-candidate-list .eg-candidate-issue-title{font-size:17px!important}
 .eg-candidate-list .eg-candidate-issue-statement{font-size:15px;line-height:1.65}
}


/* October 2026: warm amber editorial accent replacing mint in candidate issues.
   Coral and indigo remain reserved for party identification. */
:root{--eg-mint:#f5c56b;--eg-issue-amber:#e9a83e;--eg-issue-amber-dark:#936018}
.eg-candidate-list .eg-candidate-positions{background:#fcfcfd!important;border-color:#e6e8ec!important}
.eg-candidate-list .eg-candidate-position{border-top-color:#e6e8ec!important}
.eg-candidate-list .eg-candidate-issue-title{
  border-left:0!important;padding-left:0!important;
  color:#101424!important;margin-bottom:7px!important;
}
.eg-candidate-list .eg-candidate-issue-statement{
  border-left:3px solid var(--eg-issue-amber)!important;
  padding:3px 0 3px 12px!important;
  margin:0 0 12px!important;
}
.eg-candidate-list .eg-candidate-scale-line{
  background:linear-gradient(90deg,#fff4dd 0%,#fce4af 25%,#f5c56b 50%,#e9a83e 75%,#bd7d21 100%)!important;
}
.eg-candidate-list .eg-candidate-scale-tick{
  background:#a46c1b!important;color:#fff!important;border-color:#fff!important;
}
.eg-candidate-list .eg-candidate-scale-tick.is-selected{
  background:#101424!important;box-shadow:0 0 0 3px #f5c56b,0 2px 5px #10142424!important;
}
.eg-candidate-list .eg-candidate-rating-emphasis{color:#946018!important}
.eg-candidate-list .eg-candidate-quote-mark{color:#b7781d!important}
.eg-candidate-list .eg-candidate-scale-endpoints{color:#8b8172!important}
.eg-candidate-list .eg-candidate-scale-endpoints span:before{background:#eae3d6!important}
.eg-candidate-list .eg-candidate-scale-avatar,
.eg-candidate-list .eg-candidate-scale-avatar .eg-avatar{background:#b9bec5!important}

/* Reference-matched sunny yellow highlight (screenshot: updated-time strip).
   Neutral issue surfaces and party identification are intentionally unchanged. */
:root{--eg-mint:#f9e781;--eg-issue-amber:#f4d35e;--eg-issue-amber-dark:#785000}
.eg-candidate-list .eg-candidate-positions{background:#fcfcfd!important;border-color:#e6e8ec!important}
.eg-candidate-list .eg-candidate-issue-title{border-left:0!important;padding-left:0!important;color:#101424!important}
.eg-candidate-list .eg-candidate-issue-statement{border-left:3px solid #f4d35e!important;padding-left:14px!important}
.eg-candidate-list .eg-candidate-scale-line{background:linear-gradient(90deg,#fff9e5 0%,#fdf0ae 25%,#f9e781 50%,#f4d35e 75%,#e7b63f 100%)!important}
.eg-candidate-list .eg-candidate-scale-tick{background:#8d620c!important;color:#fff!important;border-color:#fff!important}
.eg-candidate-list .eg-candidate-scale-tick.is-selected{background:#101424!important;box-shadow:0 0 0 3px #f9e781,0 2px 5px #10142424!important}
.eg-candidate-list .eg-candidate-rating-emphasis{color:#795000!important}
.eg-candidate-list .eg-candidate-quote-mark{color:#a66b00!important}
.eg-candidate-list .eg-candidate-scale-endpoints{color:#807d72!important}
.eg-candidate-list .eg-candidate-scale-endpoints span:before{background:#e9e5d7!important}
.eg-candidate-list .eg-candidate-scale-avatar,.eg-candidate-list .eg-candidate-scale-avatar .eg-avatar{background:#b9bec5!important}

/* Bright yellow-orange editorial emphasis, readable against near-white. */
.eg-candidate-list .eg-candidate-rating-emphasis{color:#b27700!important;background:#f9e781;padding:0 .18em;border-radius:2px;font-weight:800}
.eg-candidate-list .eg-candidate-quote-mark{color:#e2a800!important;font-weight:900!important;font-family:Georgia,serif!important;text-shadow:.35px 0 currentColor,-.35px 0 currentColor}
/* Scroll-activated portrait moves from rating 1 to its selected position. */
.eg-candidate-list .eg-candidate-scale-marker{left:0!important;transition:left 1100ms cubic-bezier(.2,.75,.2,1)!important;will-change:left}
.eg-candidate-list .eg-candidate-scale-marker.eg-marker-arrived{left:var(--eg-target,0%)!important}
@media(prefers-reduced-motion:reduce){.eg-candidate-list .eg-candidate-scale-marker{transition:none!important;left:var(--eg-target,0%)!important}}

/* Single issue card with dot navigation. */
.eg-candidate-list .eg-issue-carousel{width:100%;min-width:0}
.eg-candidate-list .eg-issue-carousel.eg-carousel-ready .eg-candidate-position[hidden]{display:none!important}
.eg-candidate-list .eg-issue-carousel .eg-candidate-position{border:1px solid #e7e8ec!important;border-radius:13px;background:#fff!important;padding:clamp(15px,2.4vw,24px);margin:12px 0 0;box-shadow:0 3px 12px rgba(16,20,36,.045)}
.eg-candidate-list .eg-issue-carousel-nav{display:flex;align-items:center;justify-content:center;gap:18px;margin:16px auto 0}
.eg-candidate-list .eg-issue-dots{display:flex;align-items:center;justify-content:center;gap:7px}
.eg-candidate-list .eg-issue-dot{display:grid;place-items:center;width:30px;height:38px;padding:0;border:0;background:transparent;cursor:pointer}
.eg-candidate-list .eg-issue-dot span{display:block;width:9px;height:9px;border-radius:50%;background:#cbd0d5;transition:background .2s,transform .2s}
.eg-candidate-list .eg-issue-dot[aria-pressed="true"] span{background:#101424;transform:scale(1.4)}
.eg-candidate-list .eg-issue-dot:hover span{background:#d2a929}
.eg-candidate-list .eg-issue-nav-arrow{width:39px;height:39px;display:grid;place-items:center;background:#fff;border:1px solid #d9dce2;border-radius:50%;font:26px/1 Arial,sans-serif;color:#101424;cursor:pointer}
.eg-candidate-list .eg-issue-nav-arrow:disabled{opacity:.28;cursor:default}
.eg-candidate-list .eg-issue-carousel-count{text-align:center;margin:3px 0 0;font-size:12px;color:#68717e}
.eg-candidate-list .eg-issue-dot:focus-visible,.eg-candidate-list .eg-issue-nav-arrow:focus-visible{outline:3px solid #f9e781;outline-offset:2px}
@media(max-width:600px){.eg-candidate-list .eg-issue-carousel .eg-candidate-position{padding:14px 12px}.eg-candidate-list .eg-issue-carousel-count{font-size:13px}}


/* Distinct editorial blue for issue cards: cooler and brighter than the
   Democrats' muted indigo (#4b5ea6), never used for party identification. */
:root{--eg-issue-blue:#147ea9;--eg-issue-blue-deep:#075875;--eg-issue-blue-pale:#e8f5fa}
.eg-candidate-list .eg-candidate-positions{background:#f8f9fa!important;border-color:#e7e9ec!important}
.eg-candidate-list .eg-candidate-issue-statement{border-left-color:var(--eg-issue-blue)!important}
.eg-candidate-list .eg-candidate-scale-line{
 background:linear-gradient(90deg,#dceef5 0%,#a9d5e6 25%,#69b4d1 50%,#278fb8 75%,#086589 100%)!important;
}
.eg-candidate-list .eg-candidate-scale-tick{background:var(--eg-issue-blue-deep)!important;color:#fff!important}
.eg-candidate-list .eg-candidate-scale-tick.is-selected{background:#101424!important;box-shadow:0 0 0 3px #90c9df,0 2px 5px #10142424!important}
.eg-candidate-list .eg-candidate-rating-emphasis{background:var(--eg-issue-blue-pale)!important;color:var(--eg-issue-blue-deep)!important}
.eg-candidate-list .eg-candidate-quote-mark{color:var(--eg-issue-blue)!important}
.eg-candidate-list .eg-candidate-scale-endpoints{color:#7a8992!important}
.eg-candidate-list .eg-candidate-scale-endpoints span:before{background:#dce5ea!important}
.eg-candidate-list .eg-issue-dot:hover span{background:var(--eg-issue-blue)!important}
.eg-candidate-list .eg-issue-dot[aria-pressed="true"] span{background:var(--eg-issue-blue-deep)!important}
.eg-candidate-list .eg-issue-dot:focus-visible,
.eg-candidate-list .eg-issue-nav-arrow:focus-visible{outline-color:#5cb2d2!important}
/* Delayed, slower portrait motion; position 1 remains correctly anchored. */
.eg-candidate-list .eg-candidate-scale-marker{
 transition:left 1850ms cubic-bezier(.18,.7,.24,1)!important;
}
.eg-candidate-list .eg-issue-slides{touch-action:pan-y;min-width:0}
@media(max-width:620px){
 /* Extend the positions panel across the candidate row, with square corners. */
 .eg-candidate-list .eg-candidate-positions{
   margin-left:calc(-1 * (76px + 13px))!important;
   width:calc(100% + 76px + 13px)!important;
   border-radius:0!important;
 }
 .eg-candidate-list .eg-issue-carousel .eg-candidate-position{border-radius:9px}
 .eg-candidate-list .eg-candidate-position-summary,
 .eg-candidate-list .eg-candidate-issue-statement,
 .eg-candidate-list .eg-candidate-quote{font-size:15px!important;line-height:1.6}
}
@media(max-width:380px){
 .eg-candidate-list .eg-candidate-positions{
   margin-left:calc(-1 * (68px + 10px))!important;
   width:calc(100% + 68px + 10px)!important;
   border-radius:0!important;
 }
}
@media(prefers-reduced-motion:reduce){
 .eg-candidate-list .eg-candidate-scale-marker{transition:none!important;left:var(--eg-target,0%)!important}
}

/* Screenshot-matched slate blue gradient. The portrait is unchanged. */
.eg-candidate-list .eg-candidate-scale-line{background:linear-gradient(90deg,#d5dce5 0%,#c0cad6 25%,#a6b4c4 50%,#8195aa 75%,#607b96 100%)!important}
.eg-candidate-list .eg-candidate-scale-tick,.eg-candidate-list .eg-candidate-scale-tick.is-selected{background:#f8fafc!important;border:2px solid #a3b1c2!important;color:#667b91!important;box-shadow:inset 0 0 0 2px #fff!important}
.eg-candidate-list .eg-candidate-scale-tick b{color:#667b91!important}

/* Final slate-blue editorial accents (separate from party indigo). */
.eg-candidate-list .eg-candidate-issue-statement{border-left-color:#607b96!important}
.eg-candidate-list .eg-candidate-quote-mark{color:#607b96!important;font-weight:900!important;text-shadow:none!important}

/* Swipe affordance: shown only on touch-first devices until first real swipe. */
.eg-candidate-list .eg-issue-swipe-hint{display:none}
@media(hover:none) and (pointer:coarse){
 .eg-candidate-list .eg-issue-swipe-hint{
   display:flex;align-items:center;justify-content:center;gap:10px;
   margin:10px 0 0;color:#607b96;font-size:13px;font-weight:650;
   animation:egSwipeHintPulse 1.65s ease-in-out infinite;
 }
 .eg-candidate-list .eg-issue-carousel.eg-has-swiped .eg-issue-swipe-hint{display:none}
}
@keyframes egSwipeHintPulse{0%,100%{opacity:1}50%{opacity:.35}}
/* An outgoing card briefly floats over the next card, like a deck. */
.eg-candidate-list .eg-issue-slides{position:relative;isolation:isolate}
.eg-candidate-list .eg-issue-card-ghost{
 position:absolute;inset:0 0 auto;z-index:3;pointer-events:none;
 margin:0!important;transform-origin:center center;
 transition:transform 360ms cubic-bezier(.2,.75,.3,1),opacity 360ms ease;
}
.eg-candidate-list .eg-issue-card-ghost.eg-depart-left{transform:translateX(-38%) rotate(-5deg) scale(.94);opacity:0}
.eg-candidate-list .eg-issue-card-ghost.eg-depart-right{transform:translateX(38%) rotate(5deg) scale(.94);opacity:0}
.eg-candidate-list .eg-issue-card-enter{animation:egCardEnter 360ms ease-out both}
@keyframes egCardEnter{from{transform:translateY(8px) scale(.985);opacity:.78}to{transform:none;opacity:1}}
@media(max-width:620px){
 /* Align the panel nearly with the white guide edges, not just the text column. */
 .eg-candidate-list .eg-candidate-positions{
   margin-left:calc(-1 * (82px + 13px + 10px))!important;
   width:calc(100% + 82px + 13px + 20px)!important;
   max-width:none!important;
   border-radius:11px!important;
   padding:14px 12px!important;
 }
}
@media(max-width:380px){
 .eg-candidate-list .eg-candidate-positions{
   margin-left:calc(-1 * (68px + 10px + 8px))!important;
   width:calc(100% + 68px + 10px + 16px)!important;
   border-radius:11px!important;
 }
}
@media(prefers-reduced-motion:reduce){
 .eg-candidate-list .eg-issue-swipe-hint,
 .eg-candidate-list .eg-issue-card-enter{animation:none!important}
 .eg-candidate-list .eg-issue-card-ghost{transition:none!important}
}

/* Mobile swipe fix: no cloned cards, no overlay intercepting gestures. */
.eg-candidate-list .eg-issue-card-ghost{display:none!important}
.eg-candidate-list .eg-issue-slides{touch-action:pan-y;overscroll-behavior-x:contain}
.eg-candidate-list .eg-issue-slides .eg-candidate-position.eg-card-arrive-right{
 animation:egCardArriveRight 290ms cubic-bezier(.22,.75,.32,1) both
}
.eg-candidate-list .eg-issue-slides .eg-candidate-position.eg-card-arrive-left{
 animation:egCardArriveLeft 290ms cubic-bezier(.22,.75,.32,1) both
}
@keyframes egCardArriveRight{from{opacity:.55;transform:translateX(16px) scale(.985)}to{opacity:1;transform:none}}
@keyframes egCardArriveLeft{from{opacity:.55;transform:translateX(-16px) scale(.985)}to{opacity:1;transform:none}}
/* Animated hand with two directional arrows, visible on mobile/touch devices. */
.eg-candidate-list .eg-issue-swipe-hint{display:none}
@media(max-width:620px) and (pointer:coarse){
 .eg-candidate-list .eg-issue-swipe-hint{
  display:flex;align-items:center;justify-content:center;flex-wrap:wrap;
  gap:7px;margin:8px auto 4px;color:#607b96;pointer-events:none
 }
 .eg-candidate-list .eg-issue-swipe-hint .eg-swipe-hand{
  width:31px;height:34px;flex:none;animation:egHandSwipe 1.75s ease-in-out infinite
 }
 .eg-candidate-list .eg-issue-swipe-hint .eg-swipe-arrow{
  font-size:22px;font-weight:800;line-height:1;animation:egSwipeArrowPulse 1.75s ease-in-out infinite
 }
 .eg-candidate-list .eg-issue-swipe-hint .eg-swipe-arrow-right{animation-delay:.2s}
 .eg-candidate-list .eg-issue-swipe-hint .eg-swipe-caption{
  flex-basis:100%;text-align:center;font-size:12px;font-weight:650;line-height:1.4
 }
 .eg-candidate-list .eg-issue-carousel.eg-has-swiped .eg-issue-swipe-hint{display:none}
}
/* The light-gray panel fills exactly the white candidate row's width on mobile.
   The candidate text starts after the portrait column, so cancel that offset. */
@media(max-width:620px){
 .eg-candidate-list .eg-candidate-positions{
  box-sizing:border-box!important;
  margin-left:-95px!important;
  width:calc(100% + 95px)!important;
  max-width:none!important;
  border-radius:11px!important;
 }
}
@media(max-width:380px){
 .eg-candidate-list .eg-candidate-positions{
  margin-left:-78px!important;
  width:calc(100% + 78px)!important;
  border-radius:11px!important;
 }
}
@keyframes egHandSwipe{
  0%,100%{transform:translateX(0) rotate(-8deg);opacity:.95}
  28%{transform:translateX(-13px) rotate(-13deg);opacity:1}
  72%{transform:translateX(13px) rotate(8deg);opacity:1}
}
@keyframes egSwipeArrowPulse{0%,100%{opacity:.35}50%{opacity:1}}
@media(prefers-reduced-motion:reduce){
 .eg-candidate-list .eg-issue-slides .eg-candidate-position.eg-card-arrive-right,
 .eg-candidate-list .eg-issue-slides .eg-candidate-position.eg-card-arrive-left,
 .eg-candidate-list .eg-issue-swipe-hint .eg-swipe-hand,
 .eg-candidate-list .eg-issue-swipe-hint .eg-swipe-arrow{animation:none!important}
}

/* The panel spans the actual white candidate row. Width/offset are measured
   from the rendered grid, so they don't depend on iPhone model or iframe width. */
@media(max-width:620px){
 .eg-candidate-list .eg-candidate-positions{
   box-sizing:border-box!important;
   margin-left:calc(-1 * var(--eg-panel-shift,95px))!important;
   width:var(--eg-panel-width,calc(100% + 95px))!important;
   max-width:none!important;
   border-radius:11px!important;
 }
}
@media(max-width:380px){
 .eg-candidate-list .eg-candidate-positions{
   margin-left:calc(-1 * var(--eg-panel-shift,78px))!important;
   width:var(--eg-panel-width,calc(100% + 78px))!important;
 }
}
/* Hand + arrows float over the issue card, not the navigation controls. */
.eg-candidate-list .eg-issue-slides{position:relative}
@media(max-width:620px) and (pointer:coarse){
 .eg-candidate-list .eg-issue-slides>.eg-issue-swipe-hint{
   position:absolute!important;
   display:flex!important;
   left:50%;top:50%;
   transform:translate(-50%,-50%);
   width:max-content;max-width:90%;
   z-index:5;
   flex-wrap:wrap;align-items:center;justify-content:center;
   padding:10px 16px!important;margin:0!important;
   border:1px solid #b6c6d6;
   border-radius:40px;
   background:rgba(255,255,255,.92);
   box-shadow:0 3px 15px #10142424;
   pointer-events:none;
   gap:8px;
 }
 .eg-candidate-list .eg-issue-slides>.eg-issue-swipe-hint .eg-swipe-caption{
   flex-basis:100%;font-size:12px;line-height:1.3;text-align:center
 }
 .eg-candidate-list .eg-issue-carousel.eg-has-swiped .eg-issue-slides>.eg-issue-swipe-hint{
   display:none!important
 }
}
@media(prefers-reduced-motion:reduce){
 .eg-candidate-list .eg-issue-slides>.eg-issue-swipe-hint .eg-swipe-hand,
 .eg-candidate-list .eg-issue-slides>.eg-issue-swipe-hint .eg-swipe-arrow{
   animation:none!important
 }
}

/* Structural mobile layout: the positions panel is a direct grid child
   and spans both portrait and text columns, matching the white row width. */
@media(max-width:620px){
 .eg-candidate-list .eg-candidate-row>.eg-candidate-positions{
  grid-column:1 / -1!important;
  justify-self:stretch!important;
  margin:14px 0 0!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  box-sizing:border-box!important;
  border-radius:11px!important;
 }
}
/* Opaque black swipe instruction over the card, not the nav controls. */
@media(max-width:620px) and (pointer:coarse){
 .eg-candidate-list .eg-issue-slides>.eg-issue-swipe-hint{
  background:#101010!important;
  color:#fff!important;
  border:1px solid #101010!important;
  box-shadow:0 5px 18px rgba(0,0,0,.25)!important;
 }
 .eg-candidate-list .eg-issue-slides>.eg-issue-swipe-hint .eg-swipe-arrow,
 .eg-candidate-list .eg-issue-slides>.eg-issue-swipe-hint .eg-swipe-caption{color:#fff!important}
 .eg-candidate-list .eg-issue-slides>.eg-issue-swipe-hint .eg-swipe-hand path{
  fill:#101010!important;stroke:#fff!important;
 }
}
/* Balance the issue summary, 1–5 scale, and candidate's quote. */
.eg-candidate-list .eg-issue-carousel .eg-candidate-position-summary{
 margin-bottom:7px!important;
}
.eg-candidate-list .eg-issue-carousel .eg-candidate-scale-graphic{
 margin-top:0!important;
 margin-bottom:0!important;
}
.eg-candidate-list .eg-issue-carousel .eg-candidate-scale-track{
 height:78px!important;
}
.eg-candidate-list .eg-issue-carousel .eg-candidate-quote{
 margin-top:30px!important;
 margin-bottom:8px!important;
}
@media(max-width:620px){
 .eg-candidate-list .eg-issue-carousel .eg-candidate-scale-track{height:76px!important}
 .eg-candidate-list .eg-issue-carousel .eg-candidate-quote{margin-top:27px!important}
}

/* Desktop safeguard: panel must remain in the candidate information column. */
@media(min-width:621px){
 .eg-candidate-list .eg-candidate-row>.eg-candidate-positions{display:none!important}
 .eg-candidate-list .eg-candidate-info>.eg-candidate-positions{
  display:block;position:static!important;grid-column:auto!important;
  width:auto!important;max-width:760px!important;margin:16px 0 0!important;
  justify-self:auto!important;
 }
 .eg-candidate-list .eg-candidate-info>.eg-candidate-positions[hidden]{display:none!important}
}

/* Final structural fix: ONE positions panel, always a direct grid child.
   Full row width at all breakpoints; desktop inset, mobile edge-to-edge. */
.eg-candidate-list .eg-candidate-row>.eg-candidate-positions{
  grid-column:1 / -1!important;
  grid-row:auto!important;
  justify-self:stretch!important;
  box-sizing:border-box!important;
  min-width:0!important;
  max-width:none!important;
  width:auto!important;
  margin:18px 16px 0!important;
  border-radius:11px!important;
  display:block;
}
.eg-candidate-list .eg-candidate-row>.eg-candidate-positions[hidden]{display:none!important}
@media(max-width:620px){
 .eg-candidate-list .eg-candidate-row>.eg-candidate-positions{
   margin:16px -14px 0!important;
   width:calc(100% + 28px)!important;
   max-width:none!important;
   border-radius:0!important;
 }
}

/* On phones: toggle, expanded full-width issue panel, then profile link. */
@media(max-width:620px){
 .eg-candidate-list .eg-candidate-row>.eg-candidate-profile-link{
   grid-column:1 / -1!important;
   display:flex!important;
   align-items:center;
   justify-content:center;
   margin:12px 0 0!important;
   box-sizing:border-box;
 }
 .eg-candidate-list .eg-candidate-actions{margin-bottom:0!important}
}

/* Center carousel chevrons optically and geometrically inside circular controls. */
.eg-candidate-list .eg-issue-nav-arrow{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  box-sizing:border-box!important;
  line-height:1!important;
  text-indent:0!important;
}
.eg-candidate-list .eg-issue-nav-arrow svg{
  display:block;
  width:18px;
  height:18px;
  flex:none;
}

/* At-large council voting instruction */
.eg-vote-instruction{margin:0 0 18px;padding:11px 14px;background:#f0f2f5;border-left:3px solid #607b96;color:#253750;font-size:14px;line-height:1.4}

/* October 2026 responsive candidate layout: final authoritative rules. */
@media(min-width:621px){
  .eg-candidate-list .eg-candidate-row>.eg-candidate-positions:not([hidden]){
    display:block!important;
    grid-column:1/-1!important;
    width:auto!important;
    margin:18px 16px 0!important;
  }
}
@media(max-width:620px){
  .eg-candidate-list .eg-candidate-row>.eg-candidate-bio,
  .eg-candidate-list .eg-candidate-row>.eg-bio-more,
  .eg-candidate-list .eg-candidate-row>.eg-candidate-links,
  .eg-candidate-list .eg-candidate-row>.eg-candidate-actions,
  .eg-candidate-list .eg-candidate-row>.eg-candidate-positions,
  .eg-candidate-list .eg-candidate-row>.eg-candidate-profile-link{
    grid-column:1/-1!important;
    min-width:0!important;
    box-sizing:border-box!important;
    width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  .eg-candidate-list .eg-candidate-row>.eg-candidate-actions{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    margin-top:4px!important;
  }
  .eg-candidate-list .eg-candidate-row>.eg-candidate-actions .eg-candidate-action,
  .eg-candidate-list .eg-candidate-row>.eg-candidate-profile-link{
    width:100%!important;
    display:flex!important;
    justify-content:space-between!important;
  }
  .eg-candidate-list .eg-candidate-row>.eg-candidate-positions:not([hidden]){
    display:block!important;
    margin-top:0!important;
    border-radius:11px!important;
  }
  .eg-candidate-list .eg-candidate-row>.eg-candidate-profile-link{
    margin-top:0!important;
  }
}

/* October 19 editorial refinements */
.eg-candidate-list .eg-bio-more,
.eg-candidate-list .eg-candidate-row>.eg-bio-more{
  text-align:left!important;
  justify-self:start!important;
  align-self:start!important;
  width:max-content!important;
  max-width:100%!important;
}
/* On phones the open panel visually continues the blue response tab. */
@media(max-width:620px){
 .eg-candidate-list .eg-candidate-row>.eg-candidate-actions:has(.eg-candidate-position-toggle[aria-expanded="true"]){margin-bottom:0!important;gap:0!important}
 .eg-candidate-list .eg-candidate-row>.eg-candidate-actions .eg-candidate-position-toggle[aria-expanded="true"]{
   border-radius:6px 6px 0 0!important;
   border-bottom:0!important;
 }
 .eg-candidate-list .eg-candidate-row>.eg-candidate-positions:not([hidden]){
   margin-top:-1px!important;
   border-radius:0 0 10px 10px!important;
   border-top:3px solid #3e5a9d!important;
 }
}
.eg-outside-credit{margin:14px 2px 4px;color:#929aa6;font:400 11px/1.55 Inter,Arial,sans-serif;text-align:left}
.eg-outside-credit strong{font-weight:700;color:inherit;padding:0 3px}
.eg-municipal-footer{display:none!important}

/* Oct. 18: connect the mobile response tab and its explanatory panel.
   The candidate row's grid row-gap was creating the remaining seam. */
@media (max-width:620px){
  .eg-candidate-list .eg-candidate-row > .eg-candidate-actions:has(.eg-candidate-position-toggle[aria-expanded="true"]) + .eg-candidate-positions:not([hidden]){
    margin-top:calc(-1 * 13px - 1px)!important;
  }
}
/* Clearer but still restrained separation between candidate entries. */
.eg-candidate-list .eg-candidate-row{border-bottom-color:#aeb9c7!important}

/* Candidate separators: stronger definition without additional cards. */
.eg-candidate-list .eg-candidate-row {
  border-bottom-color: #8998ab !important;
}

/* Long issue-response quotations: four-line preview and inline editorial control. */
.eg-candidate-list .eg-quote-collapsible:not(.eg-quote-expanded) .eg-candidate-quote-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
}
.eg-candidate-list .eg-quote-more {
  display: inline-block;
  margin: 3px 0 12px 0;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: #3e5a9d;
  font: 600 13px/1.4 Inter, Arial, sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  text-align: left;
}
.eg-candidate-list .eg-quote-more[hidden] { display: none !important; }
.eg-candidate-list .eg-quote-more:focus-visible {
  outline: 2px solid #3e5a9d;
  outline-offset: 3px;
}

/* Quote link aligns with quoted text rather than the oversized quotation mark. */
.eg-candidate-list .eg-quote-more{margin-left:44px!important}
@media(max-width:620px){.eg-candidate-list .eg-quote-more{margin-left:39px!important}}
/* Editorial race overview strip. */
.eg-candidate-list .eg-race-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(10px,3vw,30px);padding:20px 0 23px;margin:0 0 18px;border-bottom:1px solid #d9dee6}
.eg-candidate-list .eg-race-overview>div{min-width:0}
.eg-candidate-list .eg-race-overview span{display:block;color:#d34b32;font-size:11px;font-weight:700;letter-spacing:.045em;margin-bottom:5px}
.eg-candidate-list .eg-race-overview strong{display:block;font-size:clamp(16px,2.2vw,22px);line-height:1.25;color:#182337;overflow-wrap:anywhere}
@media(max-width:620px){.eg-candidate-list .eg-race-overview{gap:10px;padding:16px 0 19px;margin-bottom:16px}.eg-candidate-list .eg-race-overview span{font-size:9px}.eg-candidate-list .eg-race-overview strong{font-size:15px}}

/* Compact editorial race summary: content-width columns, site-blue labels. */
.eg-candidate-list .eg-race-overview {
  grid-template-columns: max-content max-content minmax(0, 1fr) !important;
  column-gap: clamp(12px, 2.1vw, 26px) !important;
  justify-content: start;
}
.eg-candidate-list .eg-race-overview span { color: #3e5a9d !important; }
.eg-candidate-list .eg-race-overview strong {
  font-size: clamp(15px, 1.75vw, 19px) !important;
  overflow-wrap: normal !important;
}
@media(max-width:620px) {
  .eg-candidate-list .eg-race-overview { column-gap: 10px !important; }
  .eg-candidate-list .eg-race-overview strong { font-size: 14px !important; }
}
@media(max-width:370px) {
  .eg-candidate-list .eg-race-overview { grid-template-columns: max-content max-content minmax(0,1fr) !important; column-gap: 8px !important; }
  .eg-candidate-list .eg-race-overview strong { font-size: 13px !important; }
}

/* Slightly roomier overview; compact columns remain unchanged. */
.eg-candidate-list .eg-race-overview {
  row-gap: 18px !important;
  padding-top: 23px !important;
  padding-bottom: 27px !important;
}
.eg-candidate-list .eg-race-overview > div { padding-block: 3px; }
/* A parenthetical salary qualifier always starts on a second line. */
.eg-candidate-list .eg-race-overview strong .eg-salary-note {
  display: block !important;
  margin-top: 5px;
  color: #182337 !important;
  font-size: .82em !important;
  font-weight: 500 !important;
  letter-spacing: normal !important;
  line-height: 1.35;
}
@media(max-width:620px) {
  .eg-candidate-list .eg-race-overview { row-gap: 14px !important; padding-top: 19px !important; padding-bottom: 23px !important; }
}

/* Match race overview values to candidate names; leave blue labels unchanged. */
.eg-candidate-list .eg-race-overview strong {
  font-family: inherit !important;
  font-size: clamp(21px, 2.6vw, 29px) !important;
  font-weight: 800 !important;
  line-height: 1.17 !important;
  letter-spacing: -.035em !important;
}
.eg-candidate-list .eg-race-overview strong .eg-salary-note {
  font-size: 0.58em !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  letter-spacing: normal !important;
  color: #87919d !important;
}
@media(max-width:620px) {
  .eg-candidate-list .eg-race-overview strong {
    font-size: clamp(21px, 5.8vw, 25px) !important;
    line-height: 1.22 !important;
  }
}

/* Refine overview value tracking and column separation; preserve header styles. */
.eg-candidate-list .eg-race-overview {
  column-gap: clamp(22px, 4vw, 54px) !important;
}
.eg-candidate-list .eg-race-overview strong {
  letter-spacing: 0.012em !important;
}
.eg-candidate-list .eg-race-overview strong .eg-salary-note {
  letter-spacing: normal !important;
}
@media (max-width: 620px) {
  .eg-candidate-list .eg-race-overview {
    column-gap: clamp(12px, 2.8vw, 20px) !important;
  }
}
@media (max-width: 370px) {
  .eg-candidate-list .eg-race-overview {
    column-gap: 10px !important;
  }
}

/* Keep each label/value pair together. When a full column no longer fits,
   wrap the whole column to a new left-aligned row instead of breaking its value. */
.eg-candidate-list .eg-race-overview {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  column-gap: clamp(30px, 5vw, 70px) !important;
  row-gap: 20px !important;
}
.eg-candidate-list .eg-race-overview > div {
  flex: 0 1 auto !important;
  width: max-content !important;
  max-width: 100% !important;
  min-width: 0 !important;
  text-align: left !important;
}
.eg-candidate-list .eg-race-overview > div > strong {
  overflow-wrap: normal !important;
}
@media (max-width: 620px) {
  .eg-candidate-list .eg-race-overview {
    column-gap: clamp(20px, 4.5vw, 34px) !important;
    row-gap: 18px !important;
  }
}
@media (max-width: 370px) {
  .eg-candidate-list .eg-race-overview {
    column-gap: 20px !important;
  }
}

/* Ward map: fourth overview column follows the same whole-column wrap rules. */
.eg-candidate-list .eg-race-overview-with-map{align-items:start!important;column-gap:clamp(26px,4.6vw,62px)!important}
.eg-candidate-list .eg-race-overview-with-map .eg-ward-overview{width:138px;max-width:100%;min-width:0}
.eg-candidate-list .eg-ward-overview img{display:block;width:138px;max-width:100%;height:93px;object-fit:contain;object-position:left center;border:0;margin-top:2px}
@media(max-width:620px){.eg-candidate-list .eg-race-overview-with-map{column-gap:clamp(18px,3.5vw,32px)!important}.eg-candidate-list .eg-race-overview-with-map .eg-ward-overview{width:120px}.eg-candidate-list .eg-ward-overview img{width:120px;height:82px}}
/* Align quote controls to the beginning of the quote text, not the glyph. */
.eg-candidate-list .eg-quote-more{margin-left:36px!important}
@media(max-width:620px){.eg-candidate-list .eg-quote-more{margin-left:31px!important}}
/* Restore the swipe cue on touch-width layouts, irrespective of pointer detection.
   The cue is a child of .eg-issue-slides (not a sibling of navigation). */
@media(max-width:620px){
 .eg-candidate-list .eg-issue-carousel:not(.eg-has-swiped) .eg-issue-slides>.eg-issue-swipe-hint{display:flex!important;visibility:visible!important;opacity:1;pointer-events:none}
 .eg-candidate-list .eg-issue-carousel.eg-has-swiped .eg-issue-slides>.eg-issue-swipe-hint{display:none!important}
}

/* Ward-map overview: click-to-enlarge and city locator */
.eg-candidate-list .eg-ward-map-enlarge{display:block;border:0;background:transparent;padding:0;text-align:left;cursor:zoom-in;color:#3e5a9d;font:inherit}
.eg-candidate-list .eg-ward-map-enlarge img{display:block}
.eg-candidate-list .eg-ward-map-enlarge small{display:block;font-size:11px;font-weight:600;margin-top:3px;letter-spacing:.01em}
.eg-ward-thumbnail-dialog{border:0;border-radius:12px;padding:18px;width:min(94vw,850px);max-width:850px;max-height:90vh;box-shadow:0 16px 65px #0005;color:#202a37}
.eg-ward-thumbnail-dialog::backdrop{background:rgba(15,25,40,.72)}
.eg-ward-thumbnail-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:12px;font-family:Inter,Arial,sans-serif}
.eg-ward-thumbnail-dialog-head strong{font-size:19px}
.eg-ward-thumbnail-dialog-head button{border:0;border-radius:50%;background:#edf0f4;font-size:25px;width:36px;height:36px;cursor:pointer}
.eg-ward-thumbnail-dialog>img{display:block;width:100%;height:auto;max-height:65vh;object-fit:contain}
.eg-ward-thumbnail-dialog>p{font:12px/1.5 Inter,Arial,sans-serif;color:#647184;margin:10px 0 0}

/* Interactive ward street-map dialog (thumbnail remains the original blue-highlight map). */
.eg-ward-thumbnail-dialog{width:min(96vw,1000px);max-width:1000px;padding:14px}
.eg-ward-thumbnail-dialog>iframe{display:block;width:100%;height:min(68dvh,650px);border:1px solid #dbe1e9;border-radius:8px;background:#f3f5f7}
.eg-ward-thumbnail-dialog>p{margin:9px 0 0}
@media(max-width:620px){.eg-ward-thumbnail-dialog{padding:10px;width:calc(100% - 12px)}.eg-ward-thumbnail-dialog>iframe{height: min(73dvh,650px)}}

/* Larger ward thumbnails, still wrapping as one complete overview column. */
.eg-candidate-list .eg-race-overview-with-map .eg-ward-overview{width:180px!important}
.eg-candidate-list .eg-ward-overview img{width:180px!important;height:121px!important;max-width:100%!important}
@media(max-width:620px){
 .eg-candidate-list .eg-race-overview-with-map .eg-ward-overview{width:155px!important}
 .eg-candidate-list .eg-ward-overview img{width:155px!important;height:105px!important}
}

/* Ward map action replaces the ward pill alongside the enlarged ward heading. */
.eg-municipal-section h3[data-ward-heading]{font-size:clamp(21px,2.5vw,28px);line-height:1.2;letter-spacing:-.02em}
.eg-municipal-section .eg-ward-explore-link{display:inline-flex;align-items:center;gap:9px;border:1px solid #d9e1ec;background:#fff;border-radius:9px;padding:5px 10px 5px 5px;color:#3e5a9d;font:600 12px/1.25 Inter,Arial,sans-serif;cursor:pointer;text-align:left;transition:background .15s,border-color .15s}
.eg-municipal-section .eg-ward-explore-link:hover,.eg-municipal-section .eg-ward-explore-link:focus-visible{background:#eef3fa;border-color:#9baeca}
.eg-municipal-section .eg-ward-explore-link img{width:58px;height:42px;object-fit:contain;flex:none}
.eg-municipal-section .eg-ward-explore-link svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
@media(max-width:550px){.eg-municipal-section{flex-wrap:wrap;row-gap:12px}.eg-municipal-section .eg-ward-explore-link{font-size:12px}}

/* Ward heading: thumbnail beside ward name; map action styled like Find your ward. */
.eg-municipal-section .eg-ward-heading-group{display:inline-flex;align-items:center;gap:12px;min-width:0;flex-wrap:wrap}
.eg-municipal-section .eg-ward-heading-thumb{width:76px;height:54px;object-fit:contain;flex:none}
.eg-municipal-section .eg-ward-explore-link{display:inline-flex;align-items:center;gap:4px;border:0;background:transparent;border-radius:0;padding:4px 0;color:#3e5a9d;font:inherit;font-size:13px;font-weight:400;line-height:1.4;text-decoration:underline;text-underline-offset:3px;cursor:pointer;white-space:normal}
.eg-municipal-section .eg-ward-explore-link:hover,.eg-municipal-section .eg-ward-explore-link:focus-visible{background:transparent;border-color:transparent;color:#293f74}
.eg-municipal-section .eg-ward-explore-link .eg-external-icon{width:15px;height:15px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.8;flex:none}
@media(max-width:550px){.eg-municipal-section .eg-ward-heading-thumb{width:65px;height:47px}}

/* Restore original ward heading size; map link remains unchanged. */
.eg-municipal-section h3[data-ward-heading]{font-size:17px;line-height:normal;letter-spacing:normal}

/* Incumbent council attendance report: editorial link and responsive modal. */
.eg-candidate-heading .eg-attendance-link{display:inline-flex;align-items:center;gap:5px;max-width:100%;margin:9px 0 2px;padding:0;border:0;background:transparent;color:#3e5a9d;text-decoration:underline;text-underline-offset:3px;font:400 13px/1.45 Inter,Arial,sans-serif;text-align:left;cursor:pointer}
.eg-candidate-heading .eg-attendance-link:hover,.eg-candidate-heading .eg-attendance-link:focus-visible{color:#293f74}
.eg-candidate-heading .eg-attendance-link svg{width:15px;height:15px;flex:none;stroke:currentColor;fill:none}
.eg-attendance-dialog{width:min(95vw,760px);max-width:760px;max-height:92dvh;padding:0;border:1px solid #dce3ed;border-radius:15px;box-shadow:0 20px 70px #172a4760;overflow:hidden}
.eg-attendance-dialog::backdrop{background:#14233cb8}
.eg-attendance-dialog-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;border-bottom:1px solid #e3e9f0;background:#fff;font:600 14px/1.4 Inter,Arial,sans-serif;color:#283951}
.eg-attendance-dialog-top button{border:0;background:#f1f4f8;color:#354761;border-radius:50%;width:32px;height:32px;font:24px/1 Arial,sans-serif;cursor:pointer}
.eg-attendance-dialog iframe{display:block;width:100%;height:min(77dvh,780px);border:0;background:white}
@media(max-width:600px){.eg-attendance-dialog{width:calc(100% - 14px);max-height:95dvh}.eg-attendance-dialog iframe{height:83dvh}.eg-attendance-dialog-top{padding:10px 13px}}

/* Attendance report refinements: link spacing and viewport-centered popup. */
.eg-candidate-heading .eg-attendance-link {font-weight:700!important;margin-bottom:17px!important;padding-bottom:3px!important;}
.eg-attendance-dialog[open] {position:fixed!important;inset:0!important;margin:auto!important;top:0!important;left:0!important;right:0!important;bottom:0!important;transform:none!important;max-height:min(92dvh,900px)!important;overscroll-behavior:contain;}
.eg-attendance-dialog iframe {height:min(76dvh,760px)!important;}
@media(max-width:600px){.eg-attendance-dialog[open]{max-height:95dvh!important}.eg-attendance-dialog iframe{height:80dvh!important}}

/* Attendance action belongs with candidate body content, not portrait/name/pills. */
.eg-candidate-list .eg-candidate-info > .eg-attendance-link {
  display:inline-flex;align-items:center;gap:5px;
  font-size:15px!important;font-weight:700!important;line-height:1.5;
  margin:13px 0 20px!important;padding:0!important;
  text-align:left;max-width:100%;
}
.eg-candidate-list .eg-candidate-info > .eg-attendance-link svg {
  width:16px;height:16px;flex:none;stroke:currentColor;fill:none;
}
@media(max-width:620px){
  .eg-candidate-list .eg-candidate-info > .eg-attendance-link {
    grid-column:1/-1!important;justify-self:start!important;
    width:max-content!important;max-width:100%!important;
    margin-left:0!important;margin-right:0!important;
  }
}

/* Attendance action: true text link, not a button, including mobile. */
.eg-candidate-list .eg-candidate-info > a.eg-attendance-link,
.eg-candidate-list .eg-candidate-info > a.eg-attendance-link:visited,
.eg-candidate-list .eg-candidate-info > a.eg-attendance-link:hover,
.eg-candidate-list .eg-candidate-info > a.eg-attendance-link:focus-visible {
  display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:5px!important;
  background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;
  padding:0!important;min-height:0!important;height:auto!important;width:auto!important;max-width:100%!important;
  color:#3e5a9d!important;text-decoration:underline!important;text-underline-offset:3px!important;
  font:700 15px/1.5 Inter,Arial,sans-serif!important;text-align:left!important;
  margin:13px 0 20px!important;cursor:pointer!important;
}
.eg-candidate-list .eg-candidate-info > a.eg-attendance-link svg{width:16px;height:16px;flex:none;}
@media(max-width:620px){
 .eg-candidate-list .eg-candidate-info > a.eg-attendance-link{grid-column:1/-1!important;justify-self:start!important;margin-left:0!important;}
}

/* Attendance link: identical inline editorial treatment on desktop and mobile.
   Override the earlier flex / max-content rules that broke narrow screens. */
.eg-candidate-list .eg-candidate-info > a.eg-attendance-link,
.eg-candidate-list .eg-candidate-info > a.eg-attendance-link:visited {
  display:block!important; width:100%!important; max-width:100%!important;
  box-sizing:border-box!important; min-width:0!important;
  font:700 15px/1.5 Inter,Arial,sans-serif!important;
  color:#3e5a9d!important; text-decoration:underline!important;
  text-underline-offset:3px!important; text-align:left!important;
  background:transparent!important; border:0!important; border-radius:0!important;
  box-shadow:none!important; padding:0!important; margin:13px 0 20px!important;
  white-space:normal!important; overflow-wrap:normal!important;
}
.eg-candidate-list .eg-candidate-info > a.eg-attendance-link .eg-external-icon {
  display:inline-block!important; position:static!important;
  width:15px!important; height:15px!important; min-width:15px!important; max-width:15px!important;
  min-height:15px!important; max-height:15px!important;
  margin:0 0 0 3px!important; padding:0!important;
  vertical-align:-2px!important; flex:none!important;
  fill:none!important; stroke:currentColor!important;
}

/* Correct the mobile DOM relocation: election.js moves the attendance link
   from .eg-candidate-info to a DIRECT child of .eg-candidate-row. */
@media (max-width:620px) {
  .eg-candidate-list .eg-candidate-row > a.eg-attendance-link,
  .eg-candidate-list .eg-candidate-row > a.eg-attendance-link:visited {
    grid-column:1 / -1 !important;
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    box-sizing:border-box !important;
    margin:12px 0 18px !important;
    padding:0 !important;
    background:transparent !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    color:#3e5a9d !important;
    font:700 15px/1.5 Inter,Arial,sans-serif !important;
    text-align:left !important;
    text-decoration:underline !important;
    text-underline-offset:3px !important;
    white-space:normal !important;
  }
  .eg-candidate-list .eg-candidate-row > a.eg-attendance-link > svg.eg-external-icon {
    display:inline-block !important;
    position:static !important;
    width:15px !important;
    height:15px !important;
    min-width:15px !important;
    min-height:15px !important;
    max-width:15px !important;
    max-height:15px !important;
    margin:0 0 0 4px !important;
    padding:0 !important;
    vertical-align:-2px !important;
    fill:none !important;
    stroke:currentColor !important;
    stroke-width:1.8 !important;
  }
}

/* Attendance report link: prevent desktop hover/focus layout shift. */
.eg-candidate-list a.eg-attendance-link,
.eg-candidate-list a.eg-attendance-link:hover,
.eg-candidate-list a.eg-attendance-link:focus,
.eg-candidate-list a.eg-attendance-link:focus-visible,
.eg-candidate-list a.eg-attendance-link:active {
  position:static!important; transform:none!important; translate:none!important; scale:none!important;
  top:auto!important; bottom:auto!important; left:auto!important; right:auto!important;
  font-size:15px!important; font-weight:700!important; line-height:1.5!important;
  margin-top:13px!important; margin-bottom:20px!important; padding-top:0!important; padding-bottom:0!important;
  border:0!important; background:transparent!important; box-shadow:none!important;
  text-decoration:underline!important; text-underline-offset:3px!important;
  transition:none!important; animation:none!important;
}
.eg-candidate-list a.eg-attendance-link > svg.eg-external-icon,
.eg-candidate-list a.eg-attendance-link:hover > svg.eg-external-icon {
  transform:none!important; transition:none!important; animation:none!important;
  width:15px!important; height:15px!important; vertical-align:-2px!important;
}

/* Fix desktop hover jump: the earlier :hover selector forces inline-flex,
   while the resting link is block. Keep display and box metrics identical. */
@media (min-width:621px) {
  .eg-candidate-list .eg-candidate-info > a.eg-attendance-link:is(:link,:visited,:hover,:focus,:focus-visible,:active) {
    display:block!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    box-sizing:border-box!important;
    margin:13px 0 20px!important;padding:0!important;
    font:700 15px/1.5 Inter,Arial,sans-serif!important;
    text-align:left!important;vertical-align:baseline!important;
    transform:none!important;transition:none!important;
  }
}


/* Attendance link: stable appearance on mobile */
@media (max-width: 620px) {
  .eg-candidate-list .eg-candidate-row > a.eg-attendance-link:is(
    :link, :visited, :hover, :focus, :focus-visible, :active
  ) {
    display: block !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    margin: 13px 0 20px !important;
    padding: 0 !important;
    font: 700 15px/1.5 Inter, Arial, sans-serif !important;
    color: #3e5a9d !important;
    text-align: left !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    position: static !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  .eg-candidate-list .eg-candidate-row > a.eg-attendance-link > svg.eg-external-icon {
    display: inline-block !important;
    width: 15px !important;
    height: 15px !important;
    margin: 0 0 0 4px !important;
    padding: 0 !important;
    vertical-align: -2px !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Attendance modal follows the reader's visible viewport inside the tall election iframe. */
.eg-attendance-dialog[open]{
 top:var(--eg-attendance-visible-top,50%)!important;
 bottom:auto!important;
 left:0!important;right:0!important;
 margin:0 auto!important;
 transform:translateY(-50%)!important;
 max-height:var(--eg-attendance-visible-height,90dvh)!important;
}
.eg-attendance-dialog[open] iframe{height:min(70dvh,700px)!important;}


/* Keep the attendance dialog and its close button below the fixed KVU header. */
.eg-attendance-dialog[open]{
  display:flex!important;
  flex-direction:column!important;
  height:min(760px,var(--eg-attendance-visible-height,calc(100dvh - 92px)))!important;
  max-height:var(--eg-attendance-visible-height,calc(100dvh - 92px))!important;
}
.eg-attendance-dialog-top{flex:0 0 auto;position:relative;z-index:1}
.eg-attendance-dialog[open] iframe{flex:1 1 auto;min-height:0;height:auto!important}


/* Ward maps: match attendance popup's visible-viewport placement and header clearance. */
.eg-ward-map-dialog[open]{
 position:fixed!important;
 top:var(--eg-ward-visible-top,50%)!important;
 bottom:auto!important;
 left:50%!important;right:auto!important;
 transform:translate(-50%,-50%)!important;
 margin:0!important;
 width:min(94vw,900px)!important;
 max-height:var(--eg-ward-visible-height,calc(100dvh - 92px))!important;
 overflow-y:auto!important;
 overscroll-behavior:contain;
}
.eg-ward-map-dialog .eg-map-top{position:sticky;top:-14px;z-index:5;background:#fff;padding:8px 0}
.eg-ward-map-dialog .eg-map-top button{flex:none;position:relative;z-index:6}
.eg-ward-map-dialog iframe{height:min(58dvh,520px)!important;max-height:calc(var(--eg-ward-visible-height,80dvh) - 110px)!important}
@media(max-width:600px){
 .eg-ward-map-dialog[open]{width:calc(100% - 14px)!important;padding:10px!important}
 .eg-ward-map-dialog .eg-map-top{top:-10px}
}

/* Ward maps: top-align to the actual host-page viewport, below the fixed header.
   Unlike the attendance report, these maps should not be vertically centered. */
.eg-ward-map-dialog[open]{
  top:var(--eg-ward-visible-top,76px)!important;
  transform:translateX(-50%)!important;
  max-height:var(--eg-ward-visible-height,calc(100dvh - 92px))!important;
}

/* FIX: Position individual ward maps in the visible viewport */
dialog.eg-ward-explore-dialog[open] {
  position: fixed !important;
  top: var(--eg-explore-visible-top, 76px) !important;
  bottom: auto !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  margin: 0 !important;
  width: min(94vw, 900px) !important;
  max-height: var(--eg-explore-visible-height, calc(100dvh - 92px)) !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
}

/* Mobile-only spacing: municipal candidate guide. Keep dialogs untouched. */
@media (max-width: 600px) {
  .eg-municipal {
    padding: 10px !important;
    border: 1px solid #aeb9c9 !important;
    border-radius: 9px 9px 0 0 !important;
    box-sizing: border-box;
  }
  .eg-municipal-titlebar {
    margin: -10px -10px 13px !important;
    padding: 10px 12px !important;
    border-radius: 8px 8px 0 0 !important;
  }
  .eg-municipal-head {
    margin-bottom: 14px !important;
  }
  .eg-municipal-head h3 {
    margin-bottom: 5px !important;
  }
  .eg-municipal-head p {
    margin-bottom: 0 !important;
  }
  .eg-municipal-picker {
    gap: 6px !important;
  }
  .eg-municipal-picker select {
    padding: 10px 12px !important;
  }
  .eg-find-ward {
    padding: 2px 0 3px !important;
  }
  .eg-municipal-tabs {
    margin: 8px 0 12px !important;
    padding: 3px !important;
  }
  .eg-municipal-tabs button {
    padding: 9px 6px !important;
  }
  .eg-municipal-section {
    margin: 2px 0 9px !important;
    row-gap: 6px !important;
  }
  .eg-municipal [data-ward-frame] {
    padding: 9px 8px !important;
  }
  .eg-municipal-race {
    margin: 7px 0 !important;
  }
  .eg-municipal-race summary {
    padding: 11px 12px !important;
  }
  .eg-municipal-race [data-office-frame] {
    padding: 9px 9px 0 !important;
  }
  .eg-municipal-footer {
    margin: 16px -10px -10px !important;
  }
}

/* 2026-10-20: final mobile-only spacing refinement.
   Keep desktop styles and all dialog positioning unchanged. */
@media (max-width: 600px) {
  .eg-municipal { padding: 8px !important; }
  .eg-municipal-titlebar {
    margin: -8px -8px 11px !important;
  }
  .eg-municipal-head { margin-bottom: 11px !important; }
  .eg-municipal-tabs { margin: 7px 0 10px !important; }
  .eg-municipal-section { margin: 2px 0 7px !important; }
  .eg-municipal [data-ward-frame] { padding: 7px 7px !important; }
  .eg-municipal-race [data-office-frame] { padding: 7px 7px 0 !important; }
  .eg-municipal-footer { margin: 14px -8px -8px !important; }

  /* Link is moved into the candidate row on mobile by election.js. */
  .eg-candidate-list .eg-candidate-row {
    row-gap: 8px !important;
  }
  .eg-candidate-list .eg-candidate-row > a.eg-attendance-link:is(
    :link, :visited, :hover, :focus, :focus-visible, :active
  ) {
    margin: 2px 0 6px !important;
  }
}

/* 2026-10-20: balanced white dropdown interiors, mobile only. */
@media (max-width: 600px) {
  /* Both My Ward and Citywide Races content panels. */
  .eg-municipal [data-ward-frame] {
    padding: 15px !important;
  }
  .eg-municipal-race [data-office-frame] {
    padding: 15px 15px 2px !important;
  }
  /* Keep nested iframe candidate content close to its white panel edges. */
  .eg-embedded-municipal .eg-guide-content {
    padding: 5px 0 9px !important;
  }
  /* Match bottom corners to the widget's existing 9px top corners. */
  .eg-municipal {
    border-radius: 9px !important;
  }
}

/* ================================================================
   KVU MOBILE EDITORIAL REFINEMENT — 2026-10-20
   Approved four-screen concept. ALL changes limited to <=600px.
   No markup, JS, desktop, or iframe viewport positioning changes.
   ================================================================ */
@media screen and (max-width:600px) {
  /* 1. Municipal guide / ward selection */
  .eg-wrap:has(.eg-municipal){padding:8px 3px 18px!important}
  .eg-municipal{padding:11px!important;border-radius:10px!important;background:#fff!important;border-color:#cbd4e1!important}
  .eg-municipal-titlebar{margin:-11px -11px 15px!important;padding:12px 13px!important;background:#edf2f9!important;border-radius:9px 9px 0 0!important;gap:7px!important;line-height:1.4!important}
  .eg-municipal-head{margin-bottom:17px!important}
  .eg-municipal-head h3{font-size:clamp(23px,6.2vw,28px)!important;line-height:1.15!important;letter-spacing:-.035em!important;margin:0 0 9px!important;color:#101e3a!important}
  .eg-municipal-head p{font-size:14px!important;line-height:1.55!important;color:#56657d!important}
  .eg-municipal-picker{gap:8px!important}
  .eg-municipal-picker label{font-size:13px!important;line-height:1.4!important;color:#203250!important}
  .eg-municipal-picker select{min-height:46px!important;padding:11px 13px!important;border-color:#c5d1e1!important;border-radius:9px!important;background-color:#fff!important;font-size:14px!important;color:#152744!important}
  .eg-find-ward{padding:7px 0 5px!important;font-size:12px!important;line-height:1.5!important}
  .eg-municipal-tabs{margin:12px 0 16px!important;padding:4px!important;border-radius:10px!important;gap:3px!important}
  .eg-municipal-tabs button{min-height:43px!important;padding:10px 7px!important;font-size:13px!important;line-height:1.25!important;border-radius:8px!important}
  .eg-municipal-section{margin:4px 0 13px!important;gap:8px!important;align-items:center!important}
  .eg-municipal-section [data-ward-heading]{font-size:clamp(17px,4.8vw,21px)!important;line-height:1.25!important;letter-spacing:-.02em!important}
  .eg-municipal-section .eg-ward-explore-link{font-size:12px!important;line-height:1.45!important}
  .eg-municipal [data-ward-frame]{padding:12px!important;border-radius:9px!important}
  .eg-municipal-race [data-office-frame]{padding:12px 12px 3px!important}
  .eg-municipal-footer{margin:17px -11px -11px!important}

  /* 2. Candidate portraits, bylines and profile details */
  .eg-embedded-municipal .eg-guide-content{padding:5px 0 10px!important}
  .eg-candidate-list .eg-candidate-row{grid-template-columns:clamp(78px,23vw,96px) minmax(0,1fr)!important;column-gap:12px!important;row-gap:9px!important;padding:18px 0 22px!important}
  .eg-candidate-list .eg-candidate-row:first-of-type{padding-top:10px!important}
  .eg-candidate-list .eg-candidate-heading h3{font-size:clamp(19px,5.2vw,23px)!important;line-height:1.17!important;letter-spacing:-.03em!important;margin:0 0 6px!important;color:#101e3a!important}
  .eg-candidate-list .eg-candidate-office{font-size:13px!important;line-height:1.42!important;margin:0 0 9px!important;font-weight:500!important;color:#50617a!important}
  .eg-candidate-list .eg-candidate-status-pills{gap:6px!important;margin:0 0 11px!important}
  .eg-candidate-list .eg-candidate-status-pills span{min-height:26px!important;padding:5px 9px!important;font-size:11px!important;line-height:1.15!important}
  .eg-candidate-list .eg-candidate-bio{font-size:14px!important;line-height:1.63!important;color:#3c4c62!important}
  .eg-candidate-list .eg-candidate-bio p{margin-bottom:12px!important}
  .eg-candidate-list .eg-candidate-links{gap:14px!important;margin:17px 0 16px!important;padding-top:13px!important;border-top:1px solid #e4eaf2!important}
  .eg-candidate-list .eg-candidate-link-group>span{font-size:13px!important;font-weight:700!important;margin-bottom:9px!important;color:#2d4262!important}
  .eg-candidate-list .eg-candidate-icons{gap:10px!important}
  .eg-candidate-list .eg-candidate-icons .eg-contact{width:44px!important;height:44px!important;border-color:#cbd7e8!important}
  .eg-candidate-list .eg-candidate-actions{gap:8px!important;margin-top:14px!important}
  .eg-candidate-list .eg-candidate-action{min-height:44px!important;padding:10px 12px!important;font-size:13px!important;border-radius:8px!important}
  .eg-candidate-list .eg-candidate-row>a.eg-attendance-link:is(:link,:visited,:hover,:focus,:focus-visible,:active){margin:3px 0 8px!important;font-size:13px!important;line-height:1.45!important;text-underline-offset:3px!important}

  /* 3. Expanded responses: clearer hierarchy and balanced scale */
  .eg-candidate-list .eg-candidate-row>.eg-candidate-positions:not([hidden]){grid-column:1/-1!important;margin:9px 0 0!important;width:100%!important;min-width:0!important;padding:13px!important;background:#fff!important;border:1px solid #d9e3ef!important;border-radius:11px!important}
  .eg-candidate-list .eg-candidate-positions h4{font-size:18px!important;line-height:1.3!important;margin:0 0 9px!important;color:#172b4d!important}
  .eg-candidate-list .eg-candidate-position-intro{font-size:13px!important;line-height:1.57!important;color:#596b84!important;margin:0 0 13px!important}
  .eg-candidate-list .eg-candidate-position{padding:12px 0 8px!important}
  .eg-candidate-list .eg-candidate-issue-title{font-size:16px!important;line-height:1.32!important;letter-spacing:-.015em!important;margin:0 0 10px!important;color:#152744!important}
  .eg-candidate-list .eg-candidate-issue-statement{font-size:14px!important;line-height:1.57!important;margin:0 0 13px!important;color:#36465c!important}
  .eg-candidate-list .eg-candidate-position-summary{font-size:14px!important;line-height:1.55!important;margin:0 0 8px!important}
  .eg-candidate-list .eg-candidate-scale-graphic{margin:5px 8px 8px!important;max-width:none!important}
  .eg-candidate-list .eg-candidate-scale-track{margin-left:25px!important;margin-right:25px!important}
  .eg-candidate-list .eg-candidate-scale-tick{width:28px!important;height:28px!important;font-size:12px!important}
  .eg-candidate-list .eg-candidate-scale-endpoints{font-size:11px!important;line-height:1.4!important;color:#63748a!important}
  .eg-candidate-list .eg-issue-carousel .eg-candidate-quote{font-size:14px!important;line-height:1.62!important;margin-top:20px!important}
  .eg-candidate-list .eg-issue-carousel-nav{margin-top:11px!important}
  .eg-candidate-list .eg-issue-nav-arrow{min-width:42px!important;min-height:42px!important}
  .eg-candidate-list .eg-issue-dot{min-width:25px!important;min-height:42px!important}

  /* 4. Attendance report overlay shell (iframe content stays unchanged) */
  .eg-attendance-dialog[open]{width:calc(100% - 18px)!important;max-width:520px!important;border-radius:15px!important;border-color:#d8e2ee!important;box-shadow:0 18px 48px #13243d55!important}
  .eg-attendance-dialog-top{padding:13px 15px!important;min-height:56px!important;font-size:14px!important;font-weight:750!important;line-height:1.35!important;color:#1b2b46!important}
  .eg-attendance-dialog-top button{width:40px!important;height:40px!important;flex:none!important;font-size:25px!important;background:#edf2f8!important;color:#273b59!important}
  .eg-attendance-dialog[open] iframe{width:100%!important;min-height:0!important}
}
@media screen and (max-width:370px){
 .eg-candidate-list .eg-candidate-row{grid-template-columns:74px minmax(0,1fr)!important;column-gap:10px!important}
 .eg-candidate-list .eg-candidate-row>.eg-candidate-positions:not([hidden]){padding:10px!important}
 .eg-municipal [data-ward-frame]{padding:9px!important}
}

/* Mobile-only follow-up polish: issue inset, connected response header, scale spacing. */
@media screen and (max-width:600px) {
  /* The earlier generic .eg-candidate-position padding:12px 0 was
     overriding the inset on the bordered carousel card. */
  .eg-candidate-list .eg-issue-carousel .eg-candidate-position {
    padding:14px 15px 12px!important;
  }
  .eg-candidate-list .eg-issue-carousel .eg-candidate-issue-statement {
    padding-left:13px!important;
  }
  /* Square off the bottom of the blue bar when the panel is open. */
  .eg-candidate-list .eg-candidate-row > .eg-candidate-actions .eg-candidate-position-toggle[aria-expanded="true"] {
    border-radius:8px 8px 0 0!important;
  }
  .eg-candidate-list .eg-candidate-row > .eg-candidate-positions:not([hidden]) {
    border-radius:0 0 10px 10px!important;
    border-top:0!important;
  }
  /* Keep the issue response visually connected to its rating scale. */
  .eg-candidate-list .eg-issue-carousel .eg-candidate-position-summary {
    margin-bottom:2px!important;
  }
  .eg-candidate-list .eg-issue-carousel .eg-candidate-scale-graphic {
    margin-top:0!important;
    margin-bottom:2px!important;
  }
  .eg-candidate-list .eg-issue-carousel .eg-candidate-scale-track {
    height:68px!important;
  }
}
