/* ═══════════════════════════════════════════════════════════════════════════
   APPENDED: Full mockup-aligned component styles
   Matches mockups 03, 06, 07, 09 from .design-mockups/
   ═══════════════════════════════════════════════════════════════════════════ */

/* BUTTONS & ACTIONS — hard offset shadow, punches down on press like a
   physical key, not a soft hover-fade. This is the single most-repeated
   interactive element in the app, so it carries a lot of the "feel." */
.btn-action {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 11px 18px;
    border-radius: var(--r-lg);
    border: 1px solid var(--civic);
    background: var(--paper-3);
    color: var(--civic);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-start;
    transition: transform 90ms var(--ease-out), box-shadow 90ms var(--ease-out), background var(--t-fast);
    text-decoration: none;
    box-shadow: 3px 3px 0 0 var(--civic);
}
.btn-action:hover {
    background: var(--civic-soft);
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0 0 var(--civic);
}
.btn-action:active {
    transform: translate(3px, 3px);
    box-shadow: 0 0 0 0 var(--civic);
}
.btn-action.primary {
    background: var(--civic);
    color: var(--paper);
    border-color: var(--civic);
    box-shadow: 3px 3px 0 0 var(--accent);
}
.btn-action.primary:hover {
    background: var(--civic);
    box-shadow: 2px 2px 0 0 var(--accent);
}
.btn-action.primary:active {
    box-shadow: 0 0 0 0 var(--accent);
}

/* PROMISE GRID (mockup 09) */
.promise-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    padding: var(--s-6);
}
@media (max-width: 900px) {
    .promise-grid {
        grid-template-columns: 1fr;
    }
}
.promise-score {
    text-align: center;
    padding: var(--s-6);
    background: var(--paper-2);
    border-radius: var(--r-lg);
}
.promise-score .num {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 600;
    line-height: 1;
}
.promise-score .num .pct {
    font-size: 24px;
    color: var(--ink-3);
}
.promise-score .grade {
    font-family: "JetBrains Mono", monospace;
    font-size: 14px;
    font-weight: 700;
    margin-top: var(--s-2);
}
.promise-score .grade.good {
    color: var(--good);
}
.promise-score .grade.warn {
    color: var(--warn);
}
.promise-score .grade.bad {
    color: var(--bad);
}
.promise-score .l {
    font-size: 13px;
    color: var(--ink-2);
    margin-top: var(--s-2);
}
.promise-score .compare {
    font-size: 12px;
    color: var(--civic);
    margin-top: var(--s-3);
    cursor: pointer;
}
.promise-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.promise-item {
    display: grid;
    grid-template-columns: 24px 1fr 140px 48px;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}
.promise-item:hover {
    background: var(--paper);
}
.promise-status {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.promise-status.fulfilled {
    background: var(--good-soft);
    color: var(--good);
}
.promise-status.in_progress {
    background: var(--warn-soft);
    color: var(--warn);
}
.promise-status.broken {
    background: var(--bad-soft);
    color: var(--bad);
}
.promise-status.pending {
    background: rgba(92, 122, 113, 0.15);
    color: var(--ink-3);
}
.promise-text {
    font-size: 14px;
    color: var(--ink);
    line-height: 1.4;
}
.promise-bar {
    height: 8px;
    background: var(--paper-2);
    border-radius: 4px;
    overflow: hidden;
}
.promise-bar-fill {
    height: 100%;
    border-radius: 4px;
}
.promise-bar-fill.good {
    background: var(--good);
}
.promise-bar-fill.warn {
    background: var(--warn);
}
.promise-bar-fill.bad {
    background: var(--bad);
}
.promise-src {
    font-size: 11px;
    color: var(--civic);
}
.promise-pct {
    font-family: "JetBrains Mono", monospace;
    font-size: 13px;
    font-weight: 700;
    text-align: right;
}
.promise-pct.good {
    color: var(--good);
}
.promise-pct.warn {
    color: var(--warn);
}
.promise-pct.bad {
    color: var(--bad);
}

/* VOTING CATS + TIMELINE */
.voting-cats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: var(--s-6);
}
@media (max-width: 900px) {
    .voting-cats {
        grid-template-columns: 1fr;
    }
}
.vc-cell {
    padding: var(--s-4);
    background: var(--paper);
    border-radius: var(--r-md);
    cursor: pointer;
}
.vc-cell:hover {
    background: var(--paper-2);
}
.vc-cell .cat {
    font-size: 13px;
    color: var(--ink);
    font-weight: 600;
}
.vc-cell .ratio {
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    color: var(--ink-3);
    margin-top: 4px;
}
.vc-cell .ratio .out {
    color: var(--bad);
}
.vote-timeline-h {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-3);
    padding: var(--s-4) var(--s-6);
    border-bottom: 1px solid var(--line);
}
.vote-row {
    display: grid;
    grid-template-columns: 100px 60px 1fr;
    gap: 14px;
    padding: 12px var(--s-6);
    border-bottom: 1px solid var(--line);
    align-items: center;
    cursor: pointer;
}
.vote-row:last-child {
    border-bottom: none;
}
.vote-row:hover {
    background: var(--paper);
}
.vote-when {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    color: var(--ink-3);
}
.vote-call {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    padding: 3px 8px;
    border-radius: 4px;
}
.vote-call.yea {
    background: var(--good-soft);
    color: var(--good);
}
.vote-call.nay {
    background: var(--bad-soft);
    color: var(--bad);
}
.vote-call.abstain {
    background: var(--warn-soft);
    color: var(--warn);
}
.vote-call.absent {
    background: rgba(92, 122, 113, 0.15);
    color: var(--ink-3);
}
.vote-what {
    font-size: 14px;
    color: var(--ink);
}
.vote-what .bill {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    color: var(--civic);
    margin-right: 8px;
}

/* FUNDING */
.funding-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: var(--s-6);
}
@media (max-width: 900px) {
    .funding-content {
        grid-template-columns: 1fr;
    }
}
.funding-stat-big {
    background: var(--paper);
    border-radius: var(--r-lg);
    padding: var(--s-6);
    text-align: center;
}
.fsb-num {
    font-family: var(--font-serif);
    font-size: 42px;
    font-weight: 600;
    color: var(--ink);
}
.fsb-lbl {
    font-size: 12px;
    color: var(--ink-3);
    margin-top: var(--s-2);
}
.fsb-meta {
    font-size: 12px;
    color: var(--ink-3);
    margin-top: var(--s-1);
}
.funding-stat-sm {
    background: var(--paper);
    border-radius: var(--r-md, 8px);
    padding: var(--s-4);
    text-align: center;
}
.fsb-num-sm {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 600;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}
.fsb-lbl-sm {
    font-size: 11px;
    color: var(--ink-3);
    margin-top: var(--s-1);
}
.funding-source-bar {
    display: flex;
    height: 32px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 14px;
}
.fsb-seg {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    font-weight: 700;
    color: white;
}
.fsb-seg.individual {
    background: var(--good);
}
.fsb-seg.pac {
    background: var(--bad);
}
.fsb-seg.corporate {
    background: var(--bad);
}
.fsb-seg.union {
    background: var(--warn);
}
.funding-key {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12px;
}
.funding-key .sw {
    width: 10px;
    height: 10px;
    border-radius: 2px;
    display: inline-block;
    margin-right: 6px;
}
.funding-key .sw.individual {
    background: var(--good);
}
.funding-key .sw.pac {
    background: var(--bad);
}
.funding-key .sw.corporate {
    background: var(--bad);
}
.funding-key .sw.union {
    background: var(--warn);
}
.top-funders {
    margin-top: var(--s-5);
}
.top-funder-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
}
.top-funder-row .nm {
    color: var(--ink);
    font-weight: 500;
}
.top-funder-row .amt {
    font-family: "JetBrains Mono", monospace;
    color: var(--ink-2);
}

/* ELECTIONS */
.evo-content {
    padding: var(--s-6);
}
.evo-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
@media (max-width: 1000px) {
    .evo-timeline {
        grid-template-columns: 1fr 1fr;
    }
}
.evo-cell {
    background: var(--paper);
    border-radius: var(--r-md);
    padding: var(--s-4);
}
.evo-cell .yr {
    font-family: "JetBrains Mono", monospace;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
}
.evo-cell .stance {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
}
.evo-cell .stance.pro {
    color: var(--good);
}
.evo-cell .stance.opp {
    color: var(--bad);
}
.evo-cell .stance.neutral {
    color: var(--ink-3);
}

/* ACTIVITY */
.act-row {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}
.act-row:last-child {
    border-bottom: none;
}
.act-row .when {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    color: var(--ink-3);
    white-space: nowrap;
    min-width: 80px;
}
.act-row .what {
    font-size: 14px;
    color: var(--ink);
}

/* HERO HOME */
.hero-home {
    padding: var(--s-11) var(--s-6) var(--s-9);
    text-align: center;
    background: linear-gradient(180deg, var(--paper-3) 0%, var(--paper) 100%);
}
.hero-kicker {
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: var(--s-3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.hero-kicker::before {
    content: "";
    width: 36px;
    height: 1px;
    background: var(--accent);
}
.hero-home h1 {
    font-family: var(--font-serif), Georgia, serif;
    font-size: var(--t-5xl);
    font-weight: 600;
    letter-spacing: -0.025em;
    max-width: 14ch;
    margin: 0 auto var(--s-3);
    line-height: 1.1;
}
.hero-home .lede {
    font-size: var(--t-lg);
    color: var(--ink-2);
    max-width: 52ch;
    margin: 0 auto var(--s-7);
}

/* STATS STRIP */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-4);
    max-width: 960px;
    margin: var(--s-8) auto 0;
}
@media (max-width: 900px) {
    .stats-strip {
        grid-template-columns: 1fr 1fr;
    }
}
.stat .num {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 600;
    color: var(--ink);
}
.stat .lbl {
    font-size: 13px;
    color: var(--ink-2);
    font-weight: 600;
}
.stat .sub {
    font-size: 11px;
    color: var(--ink-3);
    font-family: "JetBrains Mono", monospace;
}

/* REP SECTIONS */
.rep-section {
    max-width: 960px;
    margin: var(--s-9) auto var(--s-6);
}
.gov-tier {
    margin-bottom: var(--s-5);
}
.tier-head {
    display: flex;
    align-items: baseline;
    gap: var(--s-2);
    margin-bottom: var(--s-3);
}
.tier-label {
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
}
.tier-label.federal {
    background: rgba(26, 68, 128, 0.1);
    color: var(--civic);
}
.tier-label.state {
    background: rgba(185, 28, 28, 0.1);
    color: var(--accent);
}
.tier-label.local {
    background: var(--warn-soft);
    color: var(--warn);
}
.tier-name {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
}
.tier-count {
    font-size: 13px;
    color: var(--ink-3);
}
.reps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--s-3);
}
.rep-card {
    background: var(--paper-3);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: var(--s-4);
    display: flex;
    gap: var(--s-4);
    align-items: center;
    cursor: pointer;
    transition: all var(--t-fast);
    text-decoration: none;
    color: inherit;
}
.rep-card:hover {
    border-color: var(--ink-3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}
.rep-portrait {
    width: 48px;
    height: 56px;
    border-radius: var(--r-md);
    background: linear-gradient(135deg, var(--civic), var(--accent));
    flex-shrink: 0;
}
.rep-info .role {
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    color: var(--ink-3);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.rep-info .name {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
}
.rep-tag {
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 3px;
    font-weight: 700;
}
.rep-tag.dem {
    background: rgba(26, 68, 128, 0.1);
    color: var(--civic);
}
.rep-tag.rep {
    background: rgba(185, 28, 28, 0.1);
    color: var(--accent);
}
.rep-tag.inc {
    background: var(--good-soft);
    color: var(--good);
}

/* ADMIN */
.admin-body {
    padding: var(--s-7);
    max-width: 900px;
}
.admin-theme {
    background: var(--paper-2);
}
.admin-card {
    background: var(--paper-3);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: var(--s-5);
    margin-bottom: var(--s-4);
}
.admin-card-header {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: var(--s-3);
    padding-bottom: var(--s-3);
    border-bottom: 1px solid var(--line);
}
.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-4);
}
@media (max-width: 900px) {
    .admin-stat-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.admin-stat {
    text-align: center;
}
.admin-stat .num {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 600;
    color: var(--ink);
}
.admin-stat .lbl {
    font-size: 12px;
    color: var(--ink-3);
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.admin-table th {
    text-align: left;
    padding: 10px 8px;
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    color: var(--ink-3);
    border-bottom: 2px solid var(--ink);
}
.admin-table td {
    padding: 10px 8px;
    border-bottom: 1px solid var(--line);
}
.admin-table tr:hover td {
    background: var(--paper);
}
.admin-badge {
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: 700;
}
.admin-badge.active {
    background: var(--good-soft);
    color: var(--good);
}
.admin-badge.inactive {
    background: rgba(92, 122, 113, 0.15);
    color: var(--ink-3);
}
.admin-badge.pending {
    background: var(--warn-soft);
    color: var(--warn);
}
.admin-btn {
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--r-md);
    border: 1px solid var(--line);
    background: var(--paper-3);
    color: var(--ink);
    cursor: pointer;
    transition: all var(--t-fast);
}
.admin-btn:hover {
    background: var(--paper-2);
}
.admin-btn.primary {
    background: var(--ink);
    color: var(--paper-3);
    border-color: var(--ink);
}
.admin-btn.danger {
    background: var(--bad);
    color: white;
    border-color: var(--bad);
}
.admin-btn.danger:hover {
    background: var(--accent);
}
.admin-input {
    font-family: inherit;
    font-size: 13px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--paper-3);
    width: 100%;
}
.admin-input:focus {
    border-color: var(--ink);
    outline: none;
}
.admin-section {
    margin-bottom: var(--s-6);
}
.admin-section-title {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: var(--s-4);
}

/* FOOTER */
.site-footer {
    padding: var(--s-8) var(--s-6);
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--ink-3);
    flex-wrap: wrap;
    gap: var(--s-4);
}
.site-footer a {
    color: var(--ink-2);
    text-decoration: none;
}
.site-footer a:hover {
    color: var(--ink);
}
.site-footer .footer-brand {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
}
.site-footer .footer-brand .dot {
    color: var(--accent);
}

@media (max-width: 768px) {
    .topbar {
        padding: var(--s-3) var(--s-4);
    }
    .topbar-nav {
        gap: var(--s-3);
    }
    .hero {
        padding: var(--s-6) var(--s-4);
    }
    .hero-portrait {
        width: 100%;
        height: 240px;
        margin-right: 0;
        margin-bottom: var(--s-4);
        float: none;
    }
    .hero-identity h1 {
        font-size: var(--t-2xl);
    }
    .hero-home h1 {
        font-size: var(--t-2xl);
    }
    .profile-body {
        grid-template-columns: 1fr;
    }
    .scorecard-strip {
        grid-template-columns: 1fr 1fr;
    }
    .page {
        padding: var(--s-4);
    }
    .hero-actions {
        flex-direction: column;
    }
}

/* FIND-CARD (homepage hero search) */
.find-card-wrap {
    margin-top: 28px;
}
.find-card {
    background: var(--paper-3);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    padding: 24px 28px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    max-width: 560px;
    margin: 0 auto;
}
.find-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
}
.find-row h3 {
    font-family: var(--font-serif), Georgia, serif;
    font-size: 18px;
    font-weight: 600;
}
.find-detected {
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    color: var(--ink-3);
}
.find-input-wrap {
    margin-bottom: 12px;
}
.find-input {
    width: 100%;
    font-family: var(--font-mono);
    font-size: 15px;
    padding: 14px 16px 14px 34px;
    border: 1px solid var(--line-2);
    border-radius: 2px;
    outline: none;
    background: var(--paper);
    color: var(--ink);
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.find-input:focus {
    border-color: var(--civic);
    box-shadow: 0 0 0 1px var(--civic), 0 0 16px var(--civic-soft);
}
.find-options {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 13px;
}
.find-options a {
    color: var(--civic);
    text-decoration: none;
    font-weight: 500;
}
.find-options a:hover {
    text-decoration: underline;
}

/* BUTTON SUBTITLE */
.btn-action .sub {
    display: block;
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    color: var(--ink-3);
    margin-top: 2px;
    font-weight: 400;
}

/* STRIP VALUE COLORS */
.strip-value.good {
    color: var(--good);
}
.strip-value.warn {
    color: var(--warn);
}
.strip-value.bad {
    color: var(--bad);
}

/* GENERIC POLISH: Hover transitions on cards */
.psection {
    transition: box-shadow 0.2s ease;
}
.psection:hover {
    box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.1);
}
.cmp-pick {
    transition: all 0.15s ease;
    cursor: pointer;
}
.cmp-pick:hover {
    border-color: var(--ink-3);
    transform: translateY(-1px);
}
.rel-item {
    transition: all 0.15s ease;
}
.rel-item:hover {
    background: var(--paper);
}
.trust-card {
    transition: all 0.2s ease;
}
.trust-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* RESPONSIVE: Section padding */
@media (max-width: 768px) {
    section[style*="padding:40px"] {
        padding: 24px 16px !important;
    }
    .psection {
        margin: 0 16px !important;
    }
    .card {
        margin: 0 16px !important;
    }
    .compare-page {
        margin: 0 16px !important;
    }
    .donate-section {
        margin: 0 16px !important;
        padding: 32px 24px !important;
    }
    .trust-strip {
        margin: 24px 16px !important;
        grid-template-columns: 1fr 1fr !important;
    }
    .cmp-metric-row {
        padding: 14px 16px !important;
        grid-template-columns: 160px repeat(auto-fit, minmax(80px, 1fr)) !important;
        font-size: 12px !important;
    }
    .cmp-selector {
        grid-template-columns: 1fr 1fr !important;
        padding: 16px !important;
    }
}

/* ANIMATIONS */
/* Referenced inline by SkeletonBlock (page_shell.rs) — was previously
   undefined, so loading states rendered as a flat gray box with no
   shimmer at all. */
@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.hero-home,
.psection,
.card,
.compare-page,
.donate-section {
    animation: fadeIn 0.4s ease-out;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ENHANCED HOMEPAGE: rep tiers, elections banner, features grid
   ═══════════════════════════════════════════════════════════════════════════ */

.rep-hierarchy { max-width:1100px; margin:0 auto; padding:0 24px 48px; }
.rep-tiers { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media (max-width:768px) { .rep-tiers { grid-template-columns:1fr; } }
.rep-tier { background:var(--paper-3); border:1px solid var(--line); border-radius:var(--r-lg); padding:24px; transition:box-shadow 0.2s, border-color 0.2s; }
.rep-tier:hover { box-shadow:0 0 24px var(--civic-soft); border-color:var(--civic); }
.rep-tier-header { display:flex; align-items:center; gap:10px; margin-bottom:16px; padding-bottom:12px; border-bottom:1px solid var(--line); }
.rep-tier-icon { font-size:24px; }
.rep-tier-header h3 { font-family:var(--font-mono); font-size:20px; font-weight:600; margin:0; color:var(--ink); text-transform:uppercase; letter-spacing:0.02em; }
.rep-tier-items { display:flex; flex-direction:column; gap:8px; }
.rep-tier-link { display:block; padding:8px 12px; border-radius:var(--r-sm); font-size:14px; color:var(--civic); text-decoration:none; transition:background 0.15s; }
.rep-tier-link:hover { background:var(--civic-soft); }

.elections-banner { background:linear-gradient(135deg,var(--paper-2),var(--paper)); padding:48px 24px; margin:48px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.elections-cta { max-width:800px; margin:0 auto; display:grid; grid-template-columns:1fr 1fr; gap:24px; }
@media (max-width:640px) { .elections-cta { grid-template-columns:1fr; } }
.election-card { background:var(--paper-3); border:1px solid var(--line-2); border-radius:var(--r-lg); padding:28px; color:var(--ink); }
.election-card-icon { font-size:32px; margin-bottom:12px; }
.election-card h3 { font-family:var(--font-mono); font-size:20px; font-weight:600; margin:0 0 8px; color:var(--ink); text-transform:uppercase; }
.election-card p { font-size:14px; color:var(--ink-2); line-height:1.6; margin:0 0 16px; }
.election-card .btn-action { background:var(--paper-2); border:1px solid var(--line-2); color:var(--ink); }
.election-card .btn-action.primary { background:var(--civic); color:var(--paper); border-color:var(--civic); }
.election-card .btn-action:hover { background:var(--civic-soft); border-color:var(--civic); }

.features-grid { max-width:1100px; margin:0 auto 48px; padding:0 24px; display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media (max-width:768px) { .features-grid { grid-template-columns:1fr; } }
.feature-card { background:var(--paper-3); border:1px solid var(--line); border-radius:var(--r-lg); padding:28px; transition:box-shadow 0.2s, border-color 0.2s; }
.feature-card:hover { box-shadow:0 0 24px var(--civic-soft); border-color:var(--civic); }
.feature-icon { font-size:28px; margin-bottom:10px; }
.feature-card h3 { font-family:var(--font-mono); font-size:18px; font-weight:600; margin:0 0 8px; color:var(--ink); text-transform:uppercase; letter-spacing:0.02em; }
.feature-card p { font-size:14px; color:var(--ink-3); line-height:1.6; margin:0 0 14px; }
.feature-link { font-size:13px; font-weight:600; color:var(--civic); text-decoration:none; }
.feature-link:hover { text-decoration:underline; }

/* Focus indicators (see crate::a11y::focus_indicator_css) */
:focus-visible {
    outline: 3px solid var(--civic) !important;
    outline-offset: 2px !important;
    border-radius: 4px;
}
.a11y-high-contrast :focus-visible {
    outline: 4px solid #fff !important;
    outline-offset: 2px !important;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--civic) !important;
    outline-offset: 2px !important;
}

/* Skip navigation link (see crate::a11y::SkipNav) */
.skip-nav {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--civic);
    color: #fff;
    padding: 12px 20px;
    border-radius: 0 0 8px 8px;
    z-index: 99999;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.15s ease;
}
.skip-nav:focus {
    top: 0;
    outline: 3px solid #fff;
    outline-offset: -3px;
}
