:root {
    --ec-ink: #111318;
    --ec-ink-soft: #242832;
    --ec-red: #e51b3e;
    --ec-red-dark: #b8102e;
    --ec-blue: #1967d2;
    --ec-green: #087f5b;
    --ec-gold: #b7791f;
    --ec-paper: #ffffff;
    --ec-canvas: #f4f5f7;
    --ec-line: #dfe3e8;
    --ec-muted: #626b78;
    --ec-radius: 18px;
    --ec-shadow: 0 16px 48px rgba(17, 19, 24, .10);
}

.election-center {
    color: var(--ec-ink);
    font-variant-numeric: tabular-nums;
}

.election-center * { box-sizing: border-box; }
.election-center a:focus-visible,
.election-center button:focus-visible,
.election-center select:focus-visible { outline: 3px solid #74a9ff; outline-offset: 3px; }

.ec-shell { max-width: 1220px; margin: 0 auto; padding: 28px 16px 64px; }
.ec-serif { font-family: Georgia, "Times New Roman", serif; }
.ec-kicker { margin: 0; color: var(--ec-red); font-size: .76rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.ec-muted { color: var(--ec-muted); }
.ec-status {
    display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 5px 11px;
    border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: inherit;
    font-size: .75rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase;
}
.ec-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px currentColor; opacity: .75; }
.ec-status--upcoming { color: #b9d5ff; }
.ec-status--voting, .ec-status--results { color: #ff7188; }
.ec-status--certified { color: #75dfb8; }

.ec-index-hero {
    position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 28px;
    padding: clamp(28px, 5vw, 52px); border-radius: 26px; color: #fff;
    background: linear-gradient(120deg, #111318 0%, #1d2028 65%, #3b0a14 100%);
    box-shadow: var(--ec-shadow);
}
.ec-index-hero::before {
    content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -190px; top: -240px;
    border: 82px solid rgba(229,27,62,.28); border-radius: 50%;
}
.ec-index-hero h1 { max-width: 760px; margin: 9px 0 12px; font-size: clamp(2.7rem, 7vw, 5.2rem); line-height: .92; letter-spacing: -.045em; }
.ec-index-hero p { max-width: 720px; margin: 0; color: #c8cdd6; font-size: clamp(1rem, 2vw, 1.18rem); line-height: 1.55; }
.ec-hero-aside { align-self: end; padding: 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: rgba(255,255,255,.07); backdrop-filter: blur(16px); }
.ec-hero-aside__label { color: #aeb5c1; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ec-countdown { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.ec-countdown strong { display: block; font-size: 1.55rem; line-height: 1; }
.ec-countdown span { color: #aeb5c1; font-size: .68rem; text-transform: uppercase; }

.ec-metric-strip {
    display: grid; grid-template-columns: repeat(3, 1fr); margin: 20px 0 28px; overflow: hidden;
    border: 1px solid var(--ec-line); border-radius: var(--ec-radius); background: var(--ec-paper);
}
.ec-metric { padding: 17px 20px; border-right: 1px solid var(--ec-line); }
.ec-metric:last-child { border-right: 0; }
.ec-metric strong { display: block; font-size: 1.45rem; line-height: 1.1; }
.ec-metric span { color: var(--ec-muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }

.ec-section-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin: 26px 0 15px; }
.ec-section-head h2 { margin: 4px 0 0; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 850; letter-spacing: -.03em; }
.ec-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.ec-filter { min-height: 42px; padding: 8px 14px; border: 1px solid var(--ec-line); border-radius: 999px; background: #fff; color: var(--ec-ink); font-weight: 750; cursor: pointer; }
.ec-filter[aria-pressed="true"] { border-color: var(--ec-ink); background: var(--ec-ink); color: #fff; }

.ec-election-list { display: grid; gap: 12px; }
.ec-election-card {
    position: relative; display: grid; grid-template-columns: 116px minmax(0, 1fr) auto; gap: 22px; align-items: center;
    min-height: 150px; overflow: hidden; padding: 22px 24px 22px 27px; border: 1px solid var(--ec-line);
    border-radius: var(--ec-radius); background: var(--ec-paper); color: inherit; text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ec-election-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--ec-red); }
.ec-election-card[data-state="certified"]::before { background: var(--ec-green); }
.ec-election-card .ec-status { border-color: var(--ec-line); background: var(--ec-canvas); color: var(--ec-ink); }
.ec-election-card .ec-status--upcoming { color: #2056a8; }
.ec-election-card .ec-status--voting,
.ec-election-card .ec-status--results { color: var(--ec-red-dark); }
.ec-election-card .ec-status--certified { color: #056b4d; }
.ec-election-card:hover { color: inherit; transform: translateY(-2px); border-color: #bac1cb; box-shadow: var(--ec-shadow); }
.ec-date-block { text-align: center; }
.ec-date-block strong { display: block; font-size: 2rem; line-height: 1; }
.ec-date-block span { color: var(--ec-muted); font-size: .75rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.ec-card-title { margin: 5px 0 7px; font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 850; line-height: 1.12; letter-spacing: -.025em; }
.ec-card-summary { display: -webkit-box; overflow: hidden; margin: 0; color: var(--ec-muted); line-height: 1.5; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ec-card-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; color: var(--ec-muted); font-size: .82rem; font-weight: 700; }
.ec-card-people { display: flex; align-items: center; }
.ec-candidate-avatar { position: relative; display: inline-grid; flex: 0 0 auto; place-items: center; overflow: hidden; background: var(--candidate-avatar-color, #4b5563); color: #fff; border-radius: 50%; }
.ec-candidate-avatar__initials { font-weight: 850; letter-spacing: -.03em; line-height: 1; }
.ec-candidate-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.ec-candidate-avatar--stack { width: 34px; height: 34px; margin-left: -8px; border: 3px solid #fff; }
.ec-candidate-avatar--stack:first-child { margin-left: 0; }
.ec-candidate-avatar--stack .ec-candidate-avatar__initials { font-size: .66rem; }
.ec-candidate-avatar--card { width: 76px; height: 76px; }
.ec-candidate-avatar--card .ec-candidate-avatar__initials { font-size: 1.35rem; }
.ec-candidate-avatar--profile { width: 180px; height: 180px; align-self: center; }
.ec-candidate-avatar--profile .ec-candidate-avatar__initials { font-size: 3.35rem; }
.ec-card-action { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ec-canvas); color: var(--ec-ink); transition: background .2s ease, color .2s ease; }
.ec-election-card:hover .ec-card-action { background: var(--ec-red); color: #fff; }

.ec-detail-hero {
    position: relative; overflow: hidden; display: grid; gap: 20px; padding: clamp(24px, 4vw, 42px);
    border-radius: 24px; background: linear-gradient(125deg, #111318 0%, #191c23 70%, #340914 100%); color: #fff;
}
.ec-detail-hero::after { content: ""; position: absolute; right: -60px; bottom: -120px; width: 320px; height: 320px; border: 60px solid rgba(229,27,62,.22); border-radius: 50%; }
.ec-detail-hero > * { position: relative; z-index: 1; }
.ec-detail-hero h1 { max-width: 900px; margin: 10px 0 8px; font-size: clamp(2rem, 5vw, 4rem); line-height: .98; letter-spacing: -.04em; }
.ec-detail-summary { max-width: 820px; color: #bdc3cd; font-size: 1.05rem; line-height: 1.55; }
.ec-detail-bottom { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; }
.ec-election-date { font-size: 1.05rem; font-weight: 750; }
.ec-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 9px 16px; border: 1px solid transparent; border-radius: 10px; font-weight: 800; text-decoration: none; }
.ec-btn--red { background: var(--ec-red); color: #fff; }
.ec-btn--red:hover { background: #c91534; color: #fff; }
.ec-btn--dark { background: var(--ec-ink); color: #fff; }
.ec-btn--outline { border-color: var(--ec-line); background: #fff; color: var(--ec-ink); }

.ec-jump-nav { position: sticky; z-index: 600; top: 0; display: flex; gap: 4px; overflow-x: auto; margin: 16px 0 0; padding: 8px; border: 1px solid var(--ec-line); border-radius: 14px; background: rgba(255,255,255,.94); backdrop-filter: blur(18px); scrollbar-width: none; }
.ec-jump-nav::-webkit-scrollbar { display: none; }
.ec-jump-nav a { flex: 0 0 auto; min-height: 40px; padding: 9px 13px; border-radius: 9px; color: var(--ec-muted); font-size: .83rem; font-weight: 800; text-decoration: none; }
.ec-jump-nav a:hover { background: var(--ec-canvas); color: var(--ec-ink); }

.ec-content-section { padding: 38px 0; border-bottom: 1px solid var(--ec-line); scroll-margin-top: 74px; }
.ec-content-section h2 { margin: 5px 0 18px; font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 850; letter-spacing: -.035em; }
.ec-timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.ec-timeline-item { position: relative; min-height: 150px; padding: 18px; border: 1px solid var(--ec-line); border-radius: 14px; background: #fff; }
.ec-timeline-item time { color: var(--ec-red); font-size: .76rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.ec-timeline-item h3 { margin: 11px 0 7px; font-size: 1.05rem; font-weight: 850; }

.ec-contest-heading { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 16px; align-items: end; margin-bottom: 16px; }
.ec-contest-rule { padding: 9px 12px; border-radius: 10px; background: var(--ec-canvas); color: var(--ec-muted); font-size: .8rem; font-weight: 750; }
.ec-candidate-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ec-candidate-card { display: grid; grid-template-columns: 76px minmax(0,1fr) auto; gap: 15px; align-items: center; min-height: 112px; padding: 17px; border: 1px solid var(--ec-line); border-radius: 15px; background: #fff; color: inherit; text-decoration: none; transition: .2s ease; }
.ec-candidate-card:hover { color: inherit; border-color: #bac1cb; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(17,19,24,.09); }
.ec-candidate-card h3 { margin: 0 0 4px; font-size: 1.06rem; font-weight: 850; }
.ec-candidate-card p { margin: 0; color: var(--ec-muted); font-size: .84rem; }
.ec-incumbent { display: inline-flex; margin-top: 7px; padding: 4px 7px; border-radius: 6px; background: #eef4ff; color: #2056a8; font-size: .68rem; font-weight: 850; text-transform: uppercase; }

.ec-results-board { overflow: hidden; margin-top: 24px; border: 1px solid var(--ec-line); border-radius: 16px; background: #fff; }
.ec-results-head { display: flex; justify-content: space-between; gap: 16px; padding: 16px 18px; border-bottom: 1px solid var(--ec-line); background: var(--ec-canvas); }
.ec-result-row { position: relative; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 15px; min-height: 76px; padding: 16px 18px; overflow: hidden; border-bottom: 1px solid var(--ec-line); }
.ec-result-row:last-child { border-bottom: 0; }
.ec-result-fill { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, rgba(229,27,62,.20), rgba(229,27,62,.06)); }
.ec-result-row > *:not(.ec-result-fill) { position: relative; z-index: 1; }
.ec-result-name { color: inherit; font-weight: 850; text-decoration: none; }
.ec-result-value { text-align: right; font-size: 1.05rem; font-weight: 850; }
.ec-result-value small { display: block; color: var(--ec-muted); font-size: .74rem; font-weight: 650; }

.ec-profile-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: 190px minmax(0,1fr); gap: 30px; align-items: center; padding: clamp(24px, 4vw, 42px); border-radius: 24px; background: linear-gradient(130deg, #111318, #222630); color: #fff; }
.ec-profile-hero::after { content: ""; position: absolute; width: 300px; height: 300px; right: -120px; top: -160px; border: 56px solid rgba(229,27,62,.35); border-radius: 50%; }
.ec-profile-hero > * { position: relative; z-index: 1; }
.ec-profile-hero h1 { margin: 5px 0 7px; font-size: clamp(2.2rem, 5vw, 4rem); line-height: .95; letter-spacing: -.04em; }
.ec-profile-designation { margin: 0; color: #c6cbd3; font-size: 1.1rem; }
.ec-profile-slogan { max-width: 700px; margin: 16px 0 0; color: #fff; font-family: Georgia,serif; font-size: clamp(1.1rem, 2.2vw, 1.45rem); font-style: italic; }
.ec-profile-layout { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(280px,.75fr); gap: 32px; margin-top: 28px; }
.ec-profile-section { padding: 26px 0; border-bottom: 1px solid var(--ec-line); }
.ec-profile-section:first-child { padding-top: 0; }
.ec-profile-section h2 { margin: 0 0 13px; font-size: 1.55rem; font-weight: 850; letter-spacing: -.025em; }
.ec-profile-body { font-size: 1.08rem; line-height: 1.72; }
.ec-fact-card { position: sticky; top: 76px; padding: 20px; border: 1px solid var(--ec-line); border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(17,19,24,.06); }
.ec-fact-card h2 { margin: 0 0 15px; font-size: 1.12rem; font-weight: 850; }
.ec-fact { padding: 11px 0; border-top: 1px solid var(--ec-line); }
.ec-fact:first-of-type { border-top: 0; }
.ec-fact dt { color: var(--ec-muted); font-size: .7rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.ec-fact dd { margin: 3px 0 0; font-weight: 750; overflow-wrap: anywhere; }
.ec-profile-actions { display: grid; gap: 8px; margin-top: 16px; }
.ec-source-list { display: grid; gap: 8px; padding: 0; list-style: none; }
.ec-source-list a { display: block; padding: 13px 14px; border: 1px solid var(--ec-line); border-radius: 10px; color: var(--ec-ink); font-weight: 750; text-decoration: none; overflow-wrap: anywhere; }
.ec-source-list a:hover { border-color: var(--ec-ink); }

.results-experience { overflow: hidden; border: 1px solid var(--ec-line); border-radius: 18px; background: #fff; box-shadow: 0 18px 54px rgba(15,23,42,.08); }
.results-map-shell { position: relative; overflow: hidden; background: #eef1f5; }
.precinct-map { height: min(68vh,620px); min-height: 460px; }
.precinct-choropleth { display: block; width: 100%; height: 100%; }
.precinct-shape { cursor: pointer; outline: none; }
.precinct-shape path { stroke: rgba(255,255,255,.94); stroke-width: 2; vector-effect: non-scaling-stroke; transition: filter .16s ease, stroke-width .16s ease; }
.precinct-shape:hover path, .precinct-shape:focus path { filter: brightness(1.12); stroke-width: 4; }
.precinct-shape.is-selected path { filter: brightness(1.12) drop-shadow(0 0 8px rgba(255,255,255,.45)); stroke: #fff; stroke-width: 6; }
.precinct-shape text { fill: #fff; paint-order: stroke; stroke: rgba(0,0,0,.72); stroke-width: 5px; stroke-linejoin: round; font: 800 15px/1 system-ui,-apple-system,sans-serif; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.precinct-map-empty { display: grid; place-content: center; justify-items: center; gap: 10px; height: 100%; padding: 32px; color: var(--ec-ink); text-align: center; }
.precinct-map-empty i { font-size: 2rem; color: #9199a8; }
.precinct-map-empty span { max-width: 430px; color: #aeb5c1; }

@media (prefers-color-scheme: dark) {
    .results-map-shell { background: #070b14; }
    .precinct-map-empty { color: #fff; }
}
.results-toolbar { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--ec-line); }
.results-toolbar select { min-width: 230px; }
.results-reset { position: absolute; right: 18px; bottom: 18px; z-index: 500; display: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: #fff; color: var(--ec-ink); box-shadow: 0 5px 18px #0003; }
.results-panel { padding: 24px; }
.results-panel h3 { font-size: clamp(1.7rem,4vw,2.5rem); font-weight: 850; }
.results-meta { color: var(--ec-muted); font-size: .82rem; }
.results-empty { padding: 24px; color: var(--ec-muted); }
.map-legend { position: absolute; left: 18px; bottom: 18px; z-index: 500; display: flex; flex-wrap: wrap; gap: 7px 13px; max-width: 72%; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.94); box-shadow: 0 4px 18px #0002; font-size: .78rem; }
.map-legend:empty { display: none; }
.map-legend span { display: inline-flex; align-items: center; gap: 5px; }
.map-legend i { width: 9px; height: 9px; border-radius: 50%; }
.map-note, .location-card { padding: 16px; border: 1px solid var(--ec-line); border-radius: 14px; background: #fff; }
.result-row { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 12px; min-height: 68px; padding: 16px; overflow: hidden; border-bottom: 1px solid var(--ec-line); }
.result-row > * { position: relative; z-index: 1; }
.result-bar { position: absolute; inset: 0 auto 0 0; z-index: 0; transition: width .25s ease; }
.result-candidate { color: inherit; font-weight: 800; text-decoration: none; }

@media (min-width: 820px) {
    .ec-index-hero { grid-template-columns: minmax(0,1fr) 290px; }
    .results-experience { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(340px,.8fr); }
    .results-toolbar { grid-column: 1/-1; }
    .results-panel { max-height: 620px; overflow: auto; }
    .results-map-shell { min-height: 620px; }
}

@media (max-width: 760px) {
    .ec-shell { padding: 18px 4px 48px; }
    .ec-index-hero, .ec-detail-hero, .ec-profile-hero { border-radius: 18px; }
    .ec-metric-strip { grid-template-columns: 1fr; }
    .ec-metric { display: flex; align-items: center; justify-content: space-between; border-right: 0; border-bottom: 1px solid var(--ec-line); }
    .ec-metric:last-child { border-bottom: 0; }
    .ec-section-head { align-items: start; flex-direction: column; }
    .ec-election-card { grid-template-columns: 72px minmax(0,1fr) 42px; gap: 13px; padding: 18px 14px 18px 19px; }
    .ec-date-block strong { font-size: 1.55rem; }
    .ec-card-summary { display: none; }
    .ec-card-meta { gap: 8px; }
    .ec-card-people { display: none; }
    .ec-card-action { width: 40px; height: 40px; }
    .ec-candidate-grid { grid-template-columns: 1fr; }
    .ec-contest-heading { grid-template-columns: 1fr; }
    .ec-profile-hero { grid-template-columns: 104px minmax(0,1fr); gap: 18px; }
    .ec-candidate-avatar--profile { width: 104px; height: 104px; }
    .ec-candidate-avatar--profile .ec-candidate-avatar__initials { font-size: 2rem; }
    .ec-profile-layout { grid-template-columns: 1fr; }
    .ec-fact-card { position: static; }
    .precinct-map { min-height: 390px; }
}

@media (prefers-reduced-motion: reduce) {
    .election-center *, .election-center *::before, .election-center *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Election desk v3: compact, editorial and results-first. */
.election-center {
    --ec-ink: #101114;
    --ec-muted: #59616c;
    --ec-line: #cfd3d8;
    --ec-red: #df1738;
    --ec-green: #087252;
    --ec-canvas: #f5f5f4;
}
.ec-shell { max-width: 1180px; padding-top: 30px; }
.ec-serif { font-family: inherit; }
.ec-kicker { display: none; }

.ec-index-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
    align-items: end;
    padding: 18px 0 22px;
    border-top: 8px solid var(--ec-ink);
    border-bottom: 1px solid var(--ec-ink);
}
.ec-index-heading h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.6rem, 6vw, 5rem);
    line-height: .94;
    letter-spacing: -.045em;
}
.ec-index-heading p { margin: 12px 0 0; color: var(--ec-muted); font-size: 1.05rem; }
.ec-next-election { min-width: 260px; padding-left: 22px; border-left: 1px solid var(--ec-line); }
.ec-next-election > span { display: block; color: var(--ec-muted); font-size: .78rem; font-weight: 700; }
.ec-next-election > strong { display: block; margin-top: 2px; font-size: 1.05rem; }
.ec-countdown { display: flex; gap: 22px; margin-top: 12px; }
.ec-countdown div { display: flex; align-items: baseline; gap: 4px; }
.ec-countdown strong { font-size: 1.35rem; }
.ec-countdown span { color: var(--ec-muted); font-size: .72rem; text-transform: none; }

.ec-section-head { margin: 24px 0 8px; padding-bottom: 10px; border-bottom: 2px solid var(--ec-ink); }
.ec-section-head h2 { margin: 0; font-size: 1.25rem; letter-spacing: -.015em; }
.ec-filters { gap: 18px; }
.ec-filter {
    min-height: 38px;
    padding: 4px 0;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    color: var(--ec-muted);
}
.ec-filter[aria-pressed="true"] { border-color: var(--ec-red); background: transparent; color: var(--ec-ink); }
.ec-election-list { gap: 0; }
.ec-election-card {
    grid-template-columns: 86px minmax(0,1fr) auto;
    min-height: 138px;
    gap: 24px;
    padding: 20px 0;
    overflow: visible;
    border: 0;
    border-bottom: 1px solid var(--ec-line);
    border-radius: 0;
    transition: background-color .16s ease;
}
.ec-election-card::before { display: none; }
.ec-election-card:hover { transform: none; border-color: var(--ec-line); background: #fafafa; box-shadow: none; }
.ec-date-block { padding-right: 20px; border-right: 1px solid var(--ec-line); }
.ec-date-block strong { font-family: Georgia, "Times New Roman", serif; font-size: 2.4rem; font-weight: 500; }
.ec-card-overline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--ec-muted); font-size: .76rem; }
.ec-status {
    min-height: auto;
    padding: 0;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    font-size: .72rem;
    letter-spacing: 0;
    text-transform: none;
}
.ec-status::before { width: 7px; height: 7px; box-shadow: none; opacity: 1; }
.ec-status--upcoming { color: #1f5aa6 !important; }
.ec-status--voting, .ec-status--results { color: var(--ec-red) !important; }
.ec-status--certified { color: var(--ec-green) !important; }
.ec-card-title { margin: 5px 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.35rem, 2.5vw, 1.8rem); font-weight: 700; }
.ec-card-meta { margin-top: 8px; font-size: .76rem; }
.ec-card-action { width: 42px; height: 42px; border: 1px solid var(--ec-line); border-radius: 50%; background: #fff; }
.ec-election-card:hover .ec-card-action { border-color: var(--ec-ink); background: var(--ec-ink); color: #fff; }

.ec-detail-header {
    padding: 8px 0 22px;
    border-top: 8px solid var(--ec-ink);
    border-bottom: 1px solid var(--ec-ink);
}
.ec-detail-title h1 {
    max-width: 980px;
    margin: 14px 0 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.35rem, 5vw, 4.4rem);
    line-height: 1;
    letter-spacing: -.04em;
}
.ec-detail-summary { max-width: 780px; color: var(--ec-muted); font-size: 1.03rem; line-height: 1.55; }
.ec-detail-bottom { margin-top: 20px; }
.ec-election-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.ec-election-date { font-size: .92rem; font-weight: 700; }
.ec-jump-nav {
    gap: 22px;
    margin-top: 0;
    padding: 0;
    border: 0;
    border-bottom: 1px solid var(--ec-line);
    border-radius: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: none;
}
.ec-jump-nav a { min-height: 48px; padding: 15px 0 11px; border-radius: 0; border-bottom: 3px solid transparent; }
.ec-jump-nav a:hover { border-color: var(--ec-red); background: transparent; color: var(--ec-ink); }
.ec-content-section { padding: 30px 0; }
.ec-content-section > h2,
.ec-contest-heading h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 700; }
.ec-contest-rule { padding: 0; border-radius: 0; background: transparent; }
.ec-candidate-grid { gap: 0 24px; }
.ec-candidate-card {
    min-height: 102px;
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid var(--ec-line);
    border-radius: 0;
}
.ec-candidate-card:hover { transform: none; border-color: var(--ec-ink); box-shadow: none; }
.ec-candidate-avatar--card { width: 68px; height: 68px; }
.ec-results-board { border-radius: 0; border-color: var(--ec-ink); }
.ec-results-head { background: var(--ec-ink); color: #fff; }
.ec-result-row { min-height: 70px; }
.ec-result-fill { background: rgba(223,23,56,.12); border-right: 3px solid rgba(223,23,56,.7); }

.ec-profile-header {
    display: grid;
    grid-template-columns: 180px minmax(0,1fr);
    gap: 28px;
    align-items: end;
    padding: 22px 0 28px;
    border-top: 8px solid var(--ec-ink);
    border-bottom: 1px solid var(--ec-ink);
    color: var(--ec-ink);
}
.ec-profile-header h1 { margin: 0 0 6px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.4rem, 5vw, 4.1rem); line-height: .98; letter-spacing: -.04em; }
.ec-profile-designation { margin: 0; color: var(--ec-ink); font-size: 1.08rem; }
.ec-profile-office { margin: 4px 0 0; color: var(--ec-muted); font-size: .86rem; }
.ec-profile-slogan { margin: 16px 0 0; color: var(--ec-ink); }
.ec-profile-layout { margin-top: 24px; }
.ec-profile-section .ec-kicker { display: none; }
.ec-fact-card { padding: 18px 0; border-width: 3px 0 1px; border-radius: 0; box-shadow: none; }
.ec-source-list a { padding: 12px 0; border-width: 0 0 1px; border-radius: 0; }
.results-experience { border-radius: 0; box-shadow: none; }
.map-note, .location-card { border-radius: 0; }

@media (max-width: 760px) {
    .ec-shell { padding: 18px 14px 48px; }
    .ec-index-header { grid-template-columns: 1fr; gap: 18px; }
    .ec-next-election { padding: 14px 0 0; border-top: 1px solid var(--ec-line); border-left: 0; }
    .ec-section-head { align-items: stretch; }
    .ec-filters { gap: 16px; }
    .ec-election-card { grid-template-columns: 62px minmax(0,1fr) 32px; gap: 12px; padding: 16px 0; }
    .ec-date-block { padding-right: 10px; }
    .ec-date-block strong { font-size: 1.75rem; }
    .ec-card-action { width: 32px; height: 32px; border: 0; }
    .ec-detail-header { padding-top: 5px; }
    .ec-detail-bottom { align-items: flex-start; }
    .ec-profile-header { grid-template-columns: 104px minmax(0,1fr); gap: 16px; }
    .ec-candidate-avatar--profile { width: 104px; height: 104px; }
    .ec-profile-header h1 { font-size: clamp(1.8rem, 9vw, 2.7rem); }
}
