*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    font-family:Arial,sans-serif;
    color:#171717;
    background:#f6f7f8;
    line-height:1.5;
}

img{
    max-width:100%;
}

a{
    color:inherit;
}

.container{
    width:min(1180px,92%);
    margin:auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header{
    position:sticky;
    top:0;
    z-index:1000;
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(12px);
    border-bottom:1px solid #e5e7eb;
}

.nav{
    min-height:74px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.brand{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    color:#111;
    flex:0 0 auto;
}

.brand-mark{
    display:grid;
    place-items:center;
    width:42px;
    height:42px;
    border-radius:10px;
    background:#111;
    color:#fff;
    font-weight:800;
    letter-spacing:.04em;
}

.brand-copy{
    display:flex;
    flex-direction:column;
    line-height:1.15;
}

.brand-copy strong{
    font-size:17px;
    font-weight:800;
}

.brand small{
    display:block;
    color:#6b7280;
    font-size:11px;
    margin-top:3px;
}

.primary-nav,
.nav nav{
    display:flex;
    align-items:center;
    gap:6px;
}

.primary-nav > a:not(.btn),
.nav nav > a:not(.btn){
    text-decoration:none;
    color:#222;
    font-weight:600;
    font-size:13px;
    padding:10px 11px;
    border-radius:9px;
    white-space:nowrap;
    transition:.15s ease;
}

.primary-nav > a:not(.btn):hover,
.nav nav > a:not(.btn):hover{
    background:#f3f4f6;
}

.primary-nav > a.active{
    background:#f1f1f1;
    font-weight:800;
}

.nav-claim{
    margin-left:4px;
}


/* =========================================================
   MOBILE NAVIGATION
========================================================= */

.mobile-menu-toggle{
    display:none;
    width:42px;
    height:42px;
    border:1px solid #d1d5db;
    border-radius:10px;
    background:#fff;
    padding:10px;
    cursor:pointer;
}

.mobile-menu-toggle span{
    display:block;
    width:100%;
    height:2px;
    background:#111;
    margin:4px 0;
    border-radius:2px;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:none;
    border-radius:10px;
    background:#111;
    color:#fff!important;
    padding:12px 18px;
    text-decoration:none;
    font-weight:700;
    cursor:pointer;
    transition:
        transform .15s ease,
        box-shadow .15s ease,
        opacity .15s ease;
}

.btn:hover{
    transform:translateY(-1px);
    box-shadow:0 8px 20px rgba(0,0,0,.09);
}

.btn-sm{
    padding:9px 14px;
    font-size:13px;
}

.btn-outline{
    background:#fff!important;
    color:#111!important;
    border:1px solid #d1d5db;
}

.btn-outline:hover{
    background:#f9fafb!important;
}


/* =========================================================
   HERO
========================================================= */

.hero{
    padding:78px 0 58px;
    background:
        linear-gradient(
            180deg,
            #fff,
            #f2f4f7
        );
}

.hero-grid{
    display:grid;
    grid-template-columns:1.25fr .75fr;
    gap:48px;
    align-items:center;
}

.eyebrow{
    font-size:13px;
    letter-spacing:.12em;
    text-transform:uppercase;
    font-weight:800;
    color:#6b7280;
}

.hero h1{
    font-size:clamp(42px,6vw,76px);
    line-height:.98;
    letter-spacing:-.04em;
    margin:12px 0 22px;
}

.hero p{
    font-size:20px;
    line-height:1.6;
    color:#4b5563;
    max-width:760px;
}

.searchbox{
    display:flex;
    gap:10px;
    margin-top:28px;
}

.searchbox input{
    flex:1;
    min-width:0;
    padding:17px;
    border:1px solid #d1d5db;
    border-radius:12px;
    font-size:17px;
    background:#fff;
    outline:none;
}

.searchbox input:focus{
    border-color:#111;
    box-shadow:0 0 0 3px rgba(17,17,17,.07);
}

.hero-links{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:18px;
}

.hero-card{
    background:#111;
    color:#fff;
    border-radius:22px;
    padding:30px;
    box-shadow:0 20px 50px rgba(0,0,0,.12);
}

.hero-card h3{
    font-size:28px;
    margin:0 0 10px;
}

.hero-card p{
    color:#d1d5db;
    font-size:15px;
    line-height:1.65;
}

.hero-card .stat{
    font-size:42px;
    font-weight:800;
    margin-top:24px;
}

.hero-stats{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
    margin-top:24px;
}

.hero-stat{
    border-top:1px solid rgba(255,255,255,.15);
    padding-top:14px;
}

.hero-stat .stat{
    margin:0 0 5px;
    font-size:30px;
}

.hero-stat small{
    color:#b9bec7;
    line-height:1.35;
}


/* =========================================================
   SECTIONS
========================================================= */

.section{
    padding:62px 0;
}

.section h2{
    font-size:36px;
    margin:0 0 12px;
    letter-spacing:-.02em;
}

.section-heading-row{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:20px;
    margin-bottom:24px;
}

.section-heading-row h2{
    margin-bottom:5px;
}

.muted{
    color:#6b7280;
}


/* =========================================================
   GRID / CARDS
========================================================= */

.grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px;
    margin-top:28px;
}

.card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:16px;
    padding:22px;
    box-shadow:0 8px 30px rgba(0,0,0,.03);
}

.card:hover{
    border-color:#d7d9dd;
}


/* =========================================================
   GENERAL CANDIDATE CARDS
========================================================= */

.candidate{
    display:flex;
    gap:16px;
    align-items:flex-start;
}

.candidate-avatar-wrap{
    flex:0 0 auto;
}

.avatar,
.candidate .avatar{
    width:78px;
    height:98px;
    border-radius:12px;
    background:#e5e7eb;
    object-fit:cover;
    object-position:center top;
    border:1px solid #e5e7eb;
}

.candidate-card-body{
    min-width:0;
}

.candidate-badges{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
}

.candidate h3{
    margin:7px 0;
    line-height:1.25;
}

.meta{
    font-size:14px;
    color:#6b7280;
    line-height:1.5;
}

.link{
    color:#111;
    font-weight:700;
    text-decoration:none;
}

.link:hover{
    text-decoration:underline;
}


/* =========================================================
   BADGES
========================================================= */

.badge{
    display:inline-flex;
    align-items:center;
    font-size:11px;
    padding:5px 8px;
    border-radius:999px;
    background:#ecfdf5;
    color:#065f46;
    font-weight:700;
    white-space:nowrap;
}

.badge.gray{
    background:#f3f4f6;
    color:#374151;
}

.badge.soft{
    background:#f5f5f5;
    color:#222;
}

.race-badge{
    display:inline-flex;
    align-items:center;
    padding:5px 8px;
    border-radius:999px;
    font-size:10px;
    line-height:1;
    text-transform:uppercase;
    letter-spacing:.05em;
    font-weight:800;
    background:#f1f1f1;
    color:#222;
}


/* =========================================================
   PRESIDENTIAL CARDS
========================================================= */

.presidential-grid{
    display:grid;
    grid-template-columns:
        repeat(auto-fit,minmax(235px,1fr));
    gap:18px;
}

.presidential-card{
    display:flex;
    flex-direction:column;
    border:1px solid #e5e7eb;
    border-radius:18px;
    overflow:hidden;
    text-decoration:none;
    color:inherit;
    background:#fff;
    transition:
        transform .16s ease,
        box-shadow .16s ease,
        border-color .16s ease;
}

.presidential-card:hover{
    transform:translateY(-3px);
    box-shadow:0 16px 34px rgba(0,0,0,.06);
    border-color:#d1d5db;
}

.presidential-image{
    position:relative;
    aspect-ratio:4/5;
    overflow:hidden;
    background:#eef0f2;
}

.presidential-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center top;
    display:block;
}

.presidential-placeholder{
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:72px;
    font-weight:800;
    color:#9ca3af;
    background:#f3f4f6;
}

.presidential-content{
    padding:17px;
}

.presidential-content h3{
    margin:9px 0 5px;
    font-size:20px;
    line-height:1.25;
}

.presidential-content p{
    margin:0 0 13px;
    font-size:13px;
    color:#6b7280;
}

.profile-link{
    font-size:13px;
    font-weight:700;
}

.presidential-note{
    margin-top:18px;
    padding:13px 15px;
    border:1px solid #e5e7eb;
    border-radius:12px;
    font-size:12px;
    line-height:1.55;
    color:#6b7280;
    background:#fff;
}


/* =========================================================
   GEOGRAPHY
========================================================= */

.geography-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:14px;
}

.geography-stat,
.geography-action{
    border:1px solid #e5e7eb;
    border-radius:16px;
    padding:22px;
    background:#fff;
}

.geography-stat strong{
    display:block;
    font-size:36px;
    line-height:1;
    margin-bottom:8px;
}

.geography-stat span{
    color:#6b7280;
}

.geography-action{
    display:flex;
    flex-direction:column;
    justify-content:center;
    text-decoration:none;
    color:inherit;
}

.geography-action:hover{
    border-color:#c8ccd1;
}

.geography-action strong{
    margin-bottom:6px;
}

.geography-action span{
    font-size:13px;
    color:#6b7280;
}


/* =========================================================
   PARTY HOMEPAGE BLOCK
========================================================= */

.split-feature{
    display:grid;
    grid-template-columns:1.4fr .6fr;
    gap:30px;
    align-items:center;
    border:1px solid #e5e7eb;
    border-radius:20px;
    padding:30px;
    background:#fff;
}

.party-number{
    text-align:center;
}

.party-number strong{
    display:block;
    font-size:58px;
    line-height:1;
    margin-bottom:8px;
}

.party-number span{
    display:block;
    margin-bottom:18px;
    color:#6b7280;
}


/* =========================================================
   PAGE HEAD
========================================================= */

.page-head{
    padding:48px 0 28px;
}

.page-head h1{
    font-size:46px;
    margin:0 0 8px;
    letter-spacing:-.03em;
}


/* =========================================================
   FILTERS / FORMS
========================================================= */

.filters{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin:18px 0;
}

.filters input,
.filters select,
.form input,
.form select,
.form textarea{
    padding:13px 14px;
    border:1px solid #d1d5db;
    border-radius:10px;
    background:#fff;
    font:inherit;
    outline:none;
}

.filters input:focus,
.filters select:focus,
.form input:focus,
.form select:focus,
.form textarea:focus{
    border-color:#111;
    box-shadow:0 0 0 3px rgba(17,17,17,.06);
}

.filters input{
    min-width:260px;
}

.form{
    display:grid;
    gap:14px;
    max-width:720px;
}

.form label{
    font-weight:700;
}

.form textarea{
    min-height:130px;
    resize:vertical;
}


/* =========================================================
   PROFILE
========================================================= */

.profile{
    display:grid;
    grid-template-columns:320px minmax(0,1fr);
    gap:34px;
    align-items:start;
}

.profile-side{
    position:sticky;
    top:96px;
    display:grid;
    gap:16px;
}

.profile-image-card{
    border-radius:18px;
    overflow:hidden;
    border:1px solid #e5e7eb;
    background:#e5e7eb;
}

.profile-photo{
    width:100%;
    aspect-ratio:4/5;
    object-fit:cover;
    object-position:center top;
    display:block;
    background:#e5e7eb;
}

.profile-main{
    min-width:0;
}

.profile-main h1{
    font-size:48px;
    margin:0 0 8px;
    letter-spacing:-.03em;
    line-height:1.05;
}

.profile-subtitle{
    font-size:16px;
}

.profile-status-stack{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
}

.profile-actions-card{
    display:grid;
    gap:10px;
}

.party-logo-block{
    display:flex;
    align-items:center;
    gap:12px;
    margin:8px 0;
    padding:12px;
    border:1px solid #e5e7eb;
    border-radius:14px;
}

.party-logo-block img{
    width:44px;
    height:44px;
    object-fit:contain;
    border-radius:10px;
    background:#fff;
}

.party-logo-block small,
.party-logo-block strong{
    display:block;
}

.contact-list,
.social-links{
    display:grid;
    gap:8px;
}

.contact-list a,
.social-links a{
    text-decoration:none;
    font-size:14px;
}

.contact-list a:hover,
.social-links a:hover{
    text-decoration:underline;
}

.candidate-disclaimer{
    margin:20px 0;
    padding:15px 17px;
    border:1px solid #e5e7eb;
    border-radius:14px;
    font-size:14px;
    line-height:1.55;
    background:#fff;
}

.facts{
    display:grid;
    grid-template-columns:
        repeat(auto-fit,minmax(150px,1fr));
    gap:12px;
    margin:24px 0;
}

.fact{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:12px;
    padding:15px;
}

.fact small{
    display:block;
    color:#6b7280;
    margin-bottom:5px;
}

.fact strong{
    display:block;
    line-height:1.4;
}


/* =========================================================
   CONTENT CARD
========================================================= */

.content-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:16px;
    padding:24px;
    margin:18px 0;
    line-height:1.7;
}

.content-card h2,
.content-card h3{
    margin-top:0;
}

.card-heading-row{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:16px;
}


/* =========================================================
   PRIORITIES
========================================================= */

.priority-grid{
    display:grid;
    grid-template-columns:
        repeat(auto-fit,minmax(210px,1fr));
    gap:10px;
}

.priority-item{
    display:flex;
    gap:8px;
    padding:11px 13px;
    border:1px solid #e5e7eb;
    border-radius:12px;
    background:#fff;
}

.priority-dot{
    font-weight:800;
}


/* =========================================================
   SOURCES
========================================================= */

.candidate-source-list{
    display:grid;
    gap:10px;
    margin-top:16px;
}

.candidate-source-item{
    display:flex;
    justify-content:space-between;
    gap:16px;
    padding:14px 16px;
    border:1px solid #e5e7eb;
    border-radius:13px;
    text-decoration:none;
    color:inherit;
    background:#fff;
    transition:
        transform .15s ease,
        border-color .15s ease,
        box-shadow .15s ease;
}

.candidate-source-item:hover{
    transform:translateY(-1px);
    border-color:#cfd3d8;
    box-shadow:0 6px 18px rgba(0,0,0,.04);
}

.source-meta{
    margin-top:4px;
    font-size:12px;
    color:#6b7280;
}

.source-arrow{
    font-size:18px;
    flex:0 0 auto;
}


/* =========================================================
   NOTICE / SUCCESS
========================================================= */

.notice{
    padding:14px 16px;
    border-radius:10px;
    background:#fef3c7;
    color:#92400e;
}

.success{
    background:#ecfdf5;
    color:#065f46;
}


/* =========================================================
   TABLE
========================================================= */

.table{
    width:100%;
    border-collapse:collapse;
    background:#fff;
    border-radius:14px;
    overflow:hidden;
}

.table th,
.table td{
    padding:12px;
    border-bottom:1px solid #e5e7eb;
    text-align:left;
    vertical-align:top;
}

.table th{
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.04em;
    color:#6b7280;
    background:#fafafa;
}


/* =========================================================
   ADMIN
========================================================= */

.admin-shell{
    display:grid;
    grid-template-columns:230px 1fr;
    min-height:100vh;
}

.admin-side{
    background:#111;
    color:#fff;
    padding:24px;
}

.admin-side a{
    display:block;
    color:#ddd;
    text-decoration:none;
    padding:10px 0;
}

.admin-side a:hover{
    color:#fff;
}

.admin-main{
    padding:30px;
    min-width:0;
}


/* =========================================================
   FOOTER
========================================================= */

.footer{
    background:#111;
    color:#ddd;
    padding:34px 0;
    margin-top:50px;
}

.footer-grid{
    display:flex;
    justify-content:space-between;
    gap:30px;
}

.footer a{
    color:#ddd;
    margin-left:18px;
    text-decoration:none;
}

.footer a:hover{
    color:#fff;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:980px){

    .mobile-menu-toggle{
        display:block;
    }

    .primary-nav{
        display:none;
        position:absolute;
        top:74px;
        left:0;
        right:0;
        padding:14px 20px 18px;
        background:#fff;
        border-bottom:1px solid #e5e7eb;
        flex-direction:column;
        align-items:stretch;
        gap:4px;
        box-shadow:0 14px 30px rgba(0,0,0,.07);
    }

    .primary-nav.open{
        display:flex;
    }

    .primary-nav > a:not(.btn){
        min-height:44px;
        display:flex;
        align-items:center;
        padding:0 12px;
    }

    .nav-claim{
        margin:7px 0 0;
        text-align:center;
    }

}


@media(max-width:900px){

    .hero-grid,
    .profile{
        grid-template-columns:1fr;
    }

    .grid{
        grid-template-columns:1fr 1fr;
    }

    .profile-side{
        position:static;
    }

    .profile-image-card{
        max-width:420px;
    }

    .geography-grid{
        grid-template-columns:1fr 1fr;
    }

    .split-feature{
        grid-template-columns:1fr;
    }

    .admin-shell{
        grid-template-columns:1fr;
    }

    .admin-side{
        display:flex;
        gap:18px;
        overflow:auto;
    }

}


@media(max-width:700px){

    .section{
        padding:46px 0;
    }

    .hero{
        padding:58px 0 42px;
    }

    .hero h1{
        font-size:clamp(40px,13vw,58px);
    }

    .hero p{
        font-size:17px;
    }

    .section-heading-row{
        align-items:flex-start;
        flex-direction:column;
    }

    .grid{
        grid-template-columns:1fr;
    }

    .searchbox{
        flex-direction:column;
    }

    .facts{
        grid-template-columns:1fr 1fr;
    }

    .card-heading-row{
        flex-direction:column;
    }

}


@media(max-width:560px){

    .brand-copy small{
        display:none;
    }

    .brand-mark{
        width:38px;
        height:38px;
    }

    .nav{
        min-height:64px;
    }

    .primary-nav{
        top:64px;
    }

    .hero-links{
        flex-direction:column;
    }

    .hero-links .btn{
        width:100%;
    }

    .hero-stats{
        grid-template-columns:1fr 1fr;
    }

    .geography-grid{
        grid-template-columns:1fr;
    }

    .facts{
        grid-template-columns:1fr;
    }

    .candidate{
        align-items:center;
    }

    .candidate .avatar,
    .avatar{
        width:72px;
        height:90px;
    }

    .profile-main h1{
        font-size:38px;
    }

    .page-head h1{
        font-size:38px;
    }

    .footer-grid{
        flex-direction:column;
    }

    .footer a{
        margin:0 14px 0 0;
    }

}


@media(max-width:420px){

    .container{
        width:min(94%,1180px);
    }

    .hero-stats{
        grid-template-columns:1fr;
    }

    .presidential-grid{
        grid-template-columns:1fr;
    }

    .candidate{
        align-items:flex-start;
    }

}
/* ===== Phase 10 additions ===== */
.comparison th,.comparison td{min-width:210px}.comparison th:first-child{min-width:150px}.table-wrap{overflow:auto;border:1px solid #e5e7eb;border-radius:14px}.section-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin-bottom:24px}.section-head h1{font-size:42px;margin:4px 0}.filters select{max-width:280px}.candidate img[alt]{color:transparent}
@media(max-width:700px){.section-head{align-items:flex-start;flex-direction:column}.filters>*{width:100%;max-width:none!important}.comparison th,.comparison td{min-width:180px}}

/* =========================================================
   PHASE 11 — TRUST, INTELLIGENCE & PUBLIC DATA
========================================================= */
.race-link-card{display:block;text-decoration:none;color:inherit;transition:transform .15s ease,box-shadow .15s ease}.race-link-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(0,0,0,.05)}
.updates-list{display:grid;gap:14px}.updates-list .content-card{margin:0}.table-scroll{overflow:auto;-webkit-overflow-scrolling:touch}.comparison{min-width:900px}.comparison th:first-child{min-width:180px}.comparison td{min-width:220px;white-space:normal}.compare-topic-head{margin-top:34px}
.trust-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0}.trust-strip>div{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:12px}.trust-strip small{display:block;color:#6b7280;margin-bottom:4px}.status-timeline{display:grid;gap:14px}.timeline-item{display:grid;grid-template-columns:14px 1fr;gap:10px}.timeline-dot{width:10px;height:10px;background:#111;border-radius:50%;margin-top:7px}.profile-public-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}
.badge.warning{background:#fff7ed;color:#9a3412}.api-note{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;background:#111;color:#fff;padding:14px;border-radius:12px;overflow:auto}
@media(max-width:700px){.trust-strip{grid-template-columns:1fr 1fr}.profile-public-actions{flex-direction:column}.profile-public-actions .btn{width:100%}}


/* Phase 12 */
.table-wrap{overflow-x:auto}.timeline-list{display:grid;gap:16px}.stat{font-size:34px;font-weight:800}.admin-topbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.admin-brand{display:flex;align-items:center;gap:10px;margin-bottom:24px}.admin-brand small{display:block;color:#999}.admin-group{margin:22px 0}.admin-group-label{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:#777;margin-bottom:8px}.admin-side .admin-group a{padding:8px 0}.admin-user{font-weight:700}.actions{display:flex;gap:8px}.result-row .stat{font-size:24px}
@media(max-width:700px){.admin-topbar{align-items:flex-start;flex-direction:column}.table{min-width:720px}}


/* =========================================================
   PHASE 13 — PREMIUM ELECTION DATA PLATFORM
========================================================= */

:root{
    --kv-black:#0b0b0c;
    --kv-ink:#151619;
    --kv-muted:#6f737b;
    --kv-soft:#f3f4f5;
    --kv-line:#e3e5e8;
    --kv-white:#ffffff;
    --kv-radius:18px;
}

body{
    color:var(--kv-ink);
    background:#f7f8f9;
}

.election-strip{
    background:var(--kv-black);
    color:#fff;
    font-size:12px;
}

.election-strip-inner{
    min-height:36px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
}

.strip-election,
.strip-links{
    display:flex;
    align-items:center;
    gap:8px;
}

.strip-links a{
    color:#d7d9dd;
    text-decoration:none;
}

.strip-links a:hover{
    color:#fff;
}

.strip-separator{
    opacity:.45;
}

.live-dot{
    width:7px;
    height:7px;
    border-radius:999px;
    background:#fff;
    box-shadow:0 0 0 4px rgba(255,255,255,.12);
}

.site-header{
    top:0;
    background:rgba(255,255,255,.97);
}

.nav{
    min-height:70px;
}

.primary-nav{
    gap:2px;
}

.primary-nav > a:not(.btn){
    font-size:12.5px;
    padding:9px 9px;
}

.platform-hero{
    background:
        radial-gradient(circle at 80% 10%,rgba(0,0,0,.06),transparent 28%),
        linear-gradient(180deg,#fff 0%,#f5f6f7 100%);
    border-bottom:1px solid var(--kv-line);
}

.platform-hero > .container{
    min-height:610px;
    display:grid;
    grid-template-columns:minmax(0,1.15fr) minmax(340px,.65fr);
    gap:60px;
    align-items:center;
    padding-top:72px;
    padding-bottom:72px;
}

.hero-kicker{
    display:inline-flex;
    align-items:center;
    min-height:30px;
    padding:0 11px;
    border:1px solid #dfe2e6;
    border-radius:999px;
    background:#fff;
    font-size:11px;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.platform-hero h1{
    max-width:900px;
    margin:18px 0 22px;
    font-size:clamp(48px,6.1vw,88px);
    line-height:.92;
    letter-spacing:-.055em;
}

.platform-hero h1 span{
    color:#7b7f86;
}

.platform-hero-copy > p{
    max-width:760px;
    margin:0;
    color:#5f646c;
    font-size:19px;
    line-height:1.65;
}

.platform-search{
    max-width:790px;
    margin-top:30px;
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    gap:10px;
    align-items:center;
    padding:8px;
    border:1px solid #d9dce1;
    border-radius:16px;
    background:#fff;
    box-shadow:0 18px 45px rgba(10,15,20,.06);
}

.platform-search-icon{
    width:36px;
    display:grid;
    place-items:center;
    color:#777c84;
    font-size:21px;
}

.platform-search input{
    min-width:0;
    min-height:48px;
    border:0;
    outline:0;
    background:transparent;
    font-size:16px;
}

.hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:16px;
}

.election-dashboard-card{
    padding:30px;
    border-radius:26px;
    background:var(--kv-black);
    color:#fff;
    box-shadow:0 28px 70px rgba(0,0,0,.17);
}

.dashboard-card-head{
    display:flex;
    justify-content:space-between;
    gap:20px;
    align-items:flex-start;
}

.dashboard-label{
    color:#aeb3ba;
    font-size:11px;
    font-weight:800;
    letter-spacing:.07em;
    text-transform:uppercase;
}

.dashboard-card-head h2{
    margin:6px 0 0;
    font-size:24px;
    letter-spacing:-.03em;
}

.dashboard-status{
    padding:7px 10px;
    border:1px solid rgba(255,255,255,.15);
    border-radius:999px;
    color:#dfe2e6;
    font-size:11px;
    font-weight:700;
}

.countdown-number{
    margin-top:42px;
    font-size:clamp(70px,9vw,116px);
    font-weight:900;
    line-height:.8;
    letter-spacing:-.065em;
}

.countdown-label{
    margin-top:13px;
    color:#b9bec5;
    font-size:14px;
}

.dashboard-metrics{
    margin-top:34px;
    display:grid;
    grid-template-columns:1fr 1fr;
    border-top:1px solid rgba(255,255,255,.12);
    border-left:1px solid rgba(255,255,255,.12);
}

.dashboard-metrics div{
    padding:17px 14px;
    border-right:1px solid rgba(255,255,255,.12);
    border-bottom:1px solid rgba(255,255,255,.12);
}

.dashboard-metrics strong{
    display:block;
    font-size:24px;
}

.dashboard-metrics span{
    color:#aeb3ba;
    font-size:11px;
}

.platform-stat-strip{
    background:#fff;
    border-bottom:1px solid var(--kv-line);
}

.platform-stat-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
}

.platform-stat-grid a{
    min-height:120px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:24px 28px;
    text-decoration:none;
    border-right:1px solid var(--kv-line);
}

.platform-stat-grid a:first-child{
    border-left:1px solid var(--kv-line);
}

.platform-stat-grid a:hover{
    background:#fafafa;
}

.platform-stat-grid strong{
    font-size:31px;
    line-height:1;
    letter-spacing:-.04em;
}

.platform-stat-grid span{
    margin-top:7px;
    color:var(--kv-muted);
    font-size:12px;
}

.home-section{
    background:#f7f8f9;
}

.section-heading-row{
    align-items:end;
}

.section-heading-row h2{
    font-size:clamp(30px,4vw,48px);
    letter-spacing:-.035em;
}

.section-heading-row.compact h2{
    font-size:28px;
}

.platform-feature-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
}

.platform-feature{
    min-height:270px;
    display:flex;
    flex-direction:column;
    padding:26px;
    border:1px solid var(--kv-line);
    border-radius:var(--kv-radius);
    background:#fff;
    color:inherit;
    text-decoration:none;
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}

.platform-feature:hover{
    transform:translateY(-3px);
    border-color:#cacdd2;
    box-shadow:0 18px 40px rgba(0,0,0,.07);
}

.platform-feature.feature-dark{
    background:var(--kv-black);
    color:#fff;
    border-color:var(--kv-black);
}

.feature-index{
    color:#92969d;
    font-size:11px;
    font-weight:800;
}

.platform-feature h3{
    margin:42px 0 8px;
    font-size:25px;
    letter-spacing:-.025em;
}

.platform-feature p{
    margin:0;
    color:#6a6e75;
    line-height:1.6;
}

.feature-dark p{
    color:#b7bbc2;
}

.feature-link{
    margin-top:auto;
    padding-top:28px;
    font-size:13px;
    font-weight:800;
}

.race-spotlight{
    background:#fff;
    border-top:1px solid var(--kv-line);
    border-bottom:1px solid var(--kv-line);
}

.candidate-rail{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:14px;
}

.race-person-card{
    overflow:hidden;
    border:1px solid var(--kv-line);
    border-radius:18px;
    background:#fff;
    color:inherit;
    text-decoration:none;
    transition:transform .18s ease,box-shadow .18s ease;
}

.race-person-card:hover{
    transform:translateY(-3px);
    box-shadow:0 16px 36px rgba(0,0,0,.07);
}

.race-person-photo{
    position:relative;
    aspect-ratio:1/1;
    overflow:hidden;
    background:#eceef0;
}

.race-person-photo > img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.race-person-placeholder{
    width:100%;
    height:100%;
    display:grid;
    place-items:center;
    font-size:70px;
    font-weight:900;
}

.race-party-symbol{
    position:absolute;
    right:12px;
    bottom:12px;
    width:48px;
    height:48px;
    display:grid;
    place-items:center;
    padding:5px;
    border-radius:12px;
    background:#fff;
    border:1px solid rgba(0,0,0,.08);
    box-shadow:0 5px 18px rgba(0,0,0,.12);
}

.race-party-symbol img{
    width:100%;
    height:100%;
    object-fit:contain;
}

.race-person-body{
    padding:18px;
}

.race-status{
    font-size:10px;
    font-weight:800;
    letter-spacing:.06em;
    text-transform:uppercase;
    color:#6f737a;
}

.race-person-body h3{
    margin:8px 0 2px;
    font-size:18px;
}

.race-person-body p{
    margin:0;
    color:#6d7178;
    font-size:13px;
}

.data-disclaimer{
    margin:18px 0 0;
    color:#777b82;
    font-size:12px;
}

.election-history-home{
    background:#f2f3f4;
}

.history-year-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
}

.history-year-card{
    display:grid;
    grid-template-columns:180px 1fr;
    min-height:240px;
    overflow:hidden;
    border:1px solid var(--kv-line);
    border-radius:20px;
    background:#fff;
}

.history-year-number{
    display:grid;
    place-items:center;
    background:var(--kv-black);
    color:#fff;
    font-size:54px;
    font-weight:900;
    letter-spacing:-.05em;
}

.history-year-links{
    display:grid;
    grid-template-columns:1fr 1fr;
}

.history-year-links a{
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
    border-right:1px solid var(--kv-line);
    border-bottom:1px solid var(--kv-line);
    text-decoration:none;
    font-size:13px;
    font-weight:800;
}

.history-year-links a:hover{
    background:#f6f7f8;
}

.home-data-section{
    background:#fff;
}

.home-data-layout{
    display:grid;
    grid-template-columns:minmax(0,1.55fr) minmax(300px,.65fr);
    gap:18px;
}

.home-data-panel,
.home-tool-panel{
    border:1px solid var(--kv-line);
    border-radius:20px;
    background:#fff;
}

.home-data-panel{
    padding:26px;
}

.home-update-list{
    border-top:1px solid var(--kv-line);
}

.home-update-item{
    padding:20px 0;
    border-bottom:1px solid var(--kv-line);
}

.home-update-item:last-child{
    border-bottom:0;
}

.home-update-meta{
    display:flex;
    gap:8px;
    color:#8a8e95;
    font-size:10px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.05em;
}

.home-update-item h3{
    margin:7px 0;
    font-size:18px;
}

.home-update-item p{
    margin:0 0 7px;
    color:#656970;
}

.home-tool-panel{
    padding:26px;
    background:#f5f6f7;
}

.home-tool-panel h2{
    margin:8px 0 18px;
    font-size:34px;
}

.home-tool-panel > a{
    display:block;
    padding:17px 0;
    border-top:1px solid #dfe1e4;
    text-decoration:none;
}

.home-tool-panel > a strong,
.home-tool-panel > a span{
    display:block;
}

.home-tool-panel > a span{
    margin-top:4px;
    color:#70747b;
    font-size:12px;
}

.platform-cta{
    padding:0 0 62px;
    background:#fff;
}

.platform-cta-inner{
    min-height:260px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    padding:44px;
    border-radius:24px;
    background:var(--kv-black);
    color:#fff;
}

.platform-cta .eyebrow{
    color:#9ca1a8;
}

.platform-cta h2{
    max-width:700px;
    margin:8px 0 0;
    font-size:clamp(32px,4vw,54px);
    letter-spacing:-.04em;
}

.platform-cta-actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.btn-light{
    background:#fff!important;
    color:#111!important;
}

.btn-ghost-light{
    background:transparent!important;
    color:#fff!important;
    border:1px solid rgba(255,255,255,.28);
}

.archive-head,
.data-explorer-head{
    background:#fff;
    border-bottom:1px solid var(--kv-line);
}

.archive-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
}

.archive-card{
    overflow:hidden;
    display:grid;
    grid-template-columns:170px 1fr;
    border:1px solid var(--kv-line);
    border-radius:20px;
    background:#fff;
}

.archive-year{
    min-height:350px;
    display:grid;
    place-items:center;
    background:var(--kv-black);
    color:#fff;
    font-size:52px;
    font-weight:900;
    letter-spacing:-.05em;
}

.archive-card-body{
    padding:26px;
}

.archive-race-links{
    display:grid;
    gap:0;
    margin-top:24px;
    border-top:1px solid var(--kv-line);
}

.archive-race-links a{
    display:flex;
    justify-content:space-between;
    gap:16px;
    padding:16px 0;
    border-bottom:1px solid var(--kv-line);
    text-decoration:none;
}

.archive-race-links a span{
    color:#6f737b;
}

.data-stat-grid{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:10px;
}

.data-stat-card{
    min-height:125px;
    padding:20px;
    border:1px solid var(--kv-line);
    border-radius:16px;
    background:#fff;
}

.data-stat-card strong{
    display:block;
    font-size:29px;
    letter-spacing:-.04em;
}

.data-stat-card span{
    color:#73777e;
    font-size:11px;
}

.data-tool-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:12px;
    margin-top:28px;
}

.data-tool-card{
    min-height:240px;
    display:flex;
    flex-direction:column;
    padding:24px;
    border:1px solid var(--kv-line);
    border-radius:18px;
    background:#fff;
    color:inherit;
    text-decoration:none;
}

.data-tool-card h2{
    margin:30px 0 8px;
    font-size:22px;
}

.data-tool-card p{
    margin:0;
    color:#6e7279;
}

.data-tool-card > strong{
    margin-top:auto;
    padding-top:20px;
    font-size:13px;
}

.data-tool-primary{
    background:var(--kv-black);
    color:#fff;
    border-color:var(--kv-black);
}

.data-tool-primary p,
.data-tool-primary .eyebrow{
    color:#b9bdc4;
}

.data-explorer-layout{
    display:grid;
    grid-template-columns:.7fr 1.3fr;
    gap:16px;
    margin-top:28px;
}

.office-data-list > div{
    display:flex;
    justify-content:space-between;
    gap:20px;
    padding:13px 0;
    border-top:1px solid var(--kv-line);
}

.footer{
    background:#0b0b0c;
}

.footer-grid{
    grid-template-columns:1.7fr repeat(3,.65fr);
    align-items:start;
}

.footer-brand .brand-mark{
    background:#fff;
    color:#111;
}

.footer-brand,
.footer-brand strong{
    color:#fff;
}

.footer-brand small{
    color:#999fa6;
}

.footer-brand-area p{
    max-width:520px;
    color:#91969d;
}

.footer-column{
    display:grid;
    gap:10px;
}

.footer-column strong{
    margin-bottom:5px;
    color:#fff;
    font-size:12px;
}

.footer-column a{
    color:#a8adb4;
    font-size:12px;
    text-decoration:none;
}

.footer-column a:hover{
    color:#fff;
}

.footer-bottom{
    display:flex;
    justify-content:space-between;
    gap:20px;
}

@media(max-width:1050px){
    .platform-hero > .container{
        grid-template-columns:1fr;
        min-height:0;
    }

    .election-dashboard-card{
        max-width:720px;
    }

    .candidate-rail{
        grid-template-columns:repeat(3,1fr);
    }

    .data-stat-grid{
        grid-template-columns:repeat(3,1fr);
    }

    .footer-grid{
        grid-template-columns:1.5fr 1fr 1fr;
    }
}

@media(max-width:820px){
    .election-strip-inner{
        min-height:42px;
    }

    .strip-links{
        display:none;
    }

    .platform-stat-grid{
        grid-template-columns:1fr 1fr;
    }

    .platform-stat-grid a:nth-child(3){
        border-left:1px solid var(--kv-line);
    }

    .platform-feature-grid{
        grid-template-columns:1fr 1fr;
    }

    .candidate-rail{
        grid-template-columns:1fr 1fr;
    }

    .history-year-grid,
    .archive-grid,
    .home-data-layout,
    .data-explorer-layout{
        grid-template-columns:1fr;
    }

    .data-tool-grid{
        grid-template-columns:1fr 1fr;
    }

    .footer-grid{
        grid-template-columns:1fr 1fr;
    }
}

@media(max-width:620px){
    .election-strip{
        font-size:10px;
    }

    .strip-election{
        gap:5px;
        flex-wrap:wrap;
        padding:7px 0;
    }

    .platform-hero > .container{
        padding-top:48px;
        padding-bottom:48px;
        gap:35px;
    }

    .platform-hero h1{
        font-size:48px;
    }

    .platform-search{
        grid-template-columns:1fr;
    }

    .platform-search-icon{
        display:none;
    }

    .platform-search .btn{
        width:100%;
    }

    .election-dashboard-card{
        padding:22px;
        border-radius:20px;
    }

    .countdown-number{
        font-size:74px;
    }

    .platform-stat-grid,
    .platform-feature-grid,
    .candidate-rail,
    .data-stat-grid,
    .data-tool-grid{
        grid-template-columns:1fr;
    }

    .platform-stat-grid a{
        min-height:95px;
        border-left:1px solid var(--kv-line);
        border-bottom:1px solid var(--kv-line);
    }

    .history-year-card,
    .archive-card{
        grid-template-columns:1fr;
    }

    .history-year-number,
    .archive-year{
        min-height:120px;
    }

    .history-year-links{
        grid-template-columns:1fr;
    }

    .platform-cta-inner{
        align-items:flex-start;
        flex-direction:column;
        padding:30px;
    }

    .footer-grid{
        grid-template-columns:1fr;
    }

    .footer-bottom{
        flex-direction:column;
    }
}


/* =========================================================
   PHASE 14 — INTERACTIVE ELECTION INTELLIGENCE DASHBOARD
========================================================= */

.quick-results-section{
    background:#fff;
    border-bottom:1px solid var(--kv-line);
}

.home-race-launcher{
    display:grid;
    grid-template-columns:150px minmax(240px,1fr) minmax(230px,1fr) auto;
    gap:12px;
    align-items:end;
    padding:22px;
    border:1px solid var(--kv-line);
    border-radius:18px;
    background:#f7f8f9;
}

.launcher-field{
    display:grid;
    gap:7px;
}

.launcher-field label{
    color:#6d7279;
    font-size:10px;
    font-weight:900;
    letter-spacing:.07em;
    text-transform:uppercase;
}

.launcher-field select{
    min-height:48px;
    width:100%;
}

.launcher-action .btn{
    min-height:48px;
    white-space:nowrap;
}

.launcher-hint{
    margin-top:9px;
    color:#7a7e85;
    font-size:11px;
}

.intelligence-grid-section{
    background:#f2f3f4;
}

.intelligence-card-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
}

.intel-card{
    min-height:360px;
    display:flex;
    flex-direction:column;
    padding:24px;
    border:1px solid var(--kv-line);
    border-radius:20px;
    background:#fff;
}

.intel-card-dark{
    background:#0b0b0c;
    color:#fff;
    border-color:#0b0b0c;
}

.intel-card-head{
    display:flex;
    justify-content:space-between;
    gap:12px;
    align-items:center;
}

.intel-chip{
    padding:6px 8px;
    border-radius:999px;
    border:1px solid #dde0e3;
    color:#777b82;
    font-size:10px;
    font-weight:800;
}

.intel-card-dark .intel-chip{
    color:#c0c4ca;
    border-color:rgba(255,255,255,.16);
}

.intel-card h3{
    margin:28px 0 16px;
    font-size:25px;
    letter-spacing:-.03em;
}

.intel-list{
    border-top:1px solid var(--kv-line);
}

.intel-card-dark .intel-list{
    border-top-color:rgba(255,255,255,.12);
}

.intel-list-row{
    display:flex;
    justify-content:space-between;
    gap:20px;
    padding:13px 0;
    border-bottom:1px solid var(--kv-line);
}

.intel-card-dark .intel-list-row{
    border-bottom-color:rgba(255,255,255,.12);
}

.intel-list-row strong,
.intel-list-row span{
    display:block;
}

.intel-list-row span{
    margin-top:3px;
    color:#747880;
    font-size:11px;
}

.intel-card-dark .intel-list-row span{
    color:#a9aeb5;
}

.intel-list-row b{
    font-size:17px;
}

.intel-card-link{
    margin-top:auto;
    padding-top:22px;
    color:inherit;
    text-decoration:none;
    font-size:12px;
    font-weight:900;
}

.intel-empty{
    padding:16px 0;
    color:#777b82;
    font-size:12px;
    line-height:1.6;
}

.coverage-bars{
    display:grid;
    gap:20px;
    margin-top:12px;
}

.coverage-meta{
    display:flex;
    justify-content:space-between;
    gap:20px;
    align-items:center;
    margin-bottom:7px;
}

.coverage-meta strong{
    font-size:18px;
}

.coverage-meta span{
    color:#aab0b7;
    font-size:11px;
}

.coverage-bar{
    height:10px;
    overflow:hidden;
    border-radius:999px;
    background:rgba(255,255,255,.12);
}

.coverage-bar span{
    display:block;
    height:100%;
    border-radius:inherit;
    background:#fff;
}

.swing-section{
    background:#fff;
}

.swing-table-wrap{
    overflow:auto;
    border:1px solid var(--kv-line);
    border-radius:18px;
    background:#fff;
}

.swing-table{
    width:100%;
    border-collapse:collapse;
}

.swing-table th,
.swing-table td{
    padding:15px 18px;
    border-bottom:1px solid var(--kv-line);
    text-align:left;
}

.swing-table th{
    color:#72767d;
    font-size:10px;
    text-transform:uppercase;
    letter-spacing:.06em;
    background:#f7f8f9;
}

.swing-table tbody tr:last-child td{
    border-bottom:0;
}

.swing-up{
    font-weight:800;
}

.swing-down{
    color:#7b7f86;
    font-weight:800;
}

@media(max-width:980px){
    .home-race-launcher{
        grid-template-columns:1fr 1fr;
    }

    .intelligence-card-grid{
        grid-template-columns:1fr;
    }
}

@media(max-width:620px){
    .home-race-launcher{
        grid-template-columns:1fr;
    }

    .launcher-action .btn{
        width:100%;
    }

    .swing-table th,
    .swing-table td{
        padding:12px;
        white-space:nowrap;
    }
}

/* =========================================================
   PHASE 15 — VOTER & CANDIDATE DECISION CENTRE
========================================================= */

.kv15-head{
    background:#fff;
    border-bottom:1px solid var(--kv-line,#e3e5e8);
}

.kv15-location-form,
.kv15-race-form{
    display:grid;
    grid-template-columns:repeat(3,minmax(170px,1fr)) auto;
    gap:12px;
    align-items:end;
    margin-top:24px;
    padding:18px;
    border:1px solid var(--kv-line,#e3e5e8);
    border-radius:18px;
    background:#f7f8f9;
}

.kv15-race-form{
    grid-template-columns:repeat(4,minmax(155px,1fr)) auto;
}

.kv15-location-form > div,
.kv15-race-form > div{
    display:grid;
    gap:6px;
}

.kv15-location-form label,
.kv15-race-form label{
    font-size:10px;
    font-weight:900;
    letter-spacing:.07em;
    text-transform:uppercase;
    color:#6e737a;
}

.kv15-location-form select,
.kv15-race-form select{
    min-height:46px;
    width:100%;
}

.kv15-empty{
    padding:28px;
}

.kv15-location-summary,
.kv15-dashboard-title{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:20px;
    margin-bottom:22px;
}

.kv15-location-summary h2,
.kv15-dashboard-title h2{
    margin:6px 0 0;
    font-size:clamp(28px,4vw,44px);
    letter-spacing:-.035em;
}

.kv15-location-actions{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.kv15-ballot-list{
    display:grid;
    gap:18px;
}

.kv15-race-panel,
.kv15-dashboard-panel{
    padding:22px;
    border:1px solid var(--kv-line,#e3e5e8);
    border-radius:20px;
    background:#fff;
}

.kv15-race-title,
.kv15-panel-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:20px;
    margin-bottom:16px;
}

.kv15-race-title h2,
.kv15-panel-head h2{
    margin:5px 0 0;
    font-size:24px;
}

.kv15-count{
    color:#747980;
    font-size:12px;
}

.kv15-no-profiles{
    padding:18px 0 4px;
    color:#777b82;
}

.kv15-ballot-candidates{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:12px;
}

.kv15-ballot-card{
    overflow:hidden;
    border:1px solid var(--kv-line,#e3e5e8);
    border-radius:16px;
    background:#fff;
}

.kv15-ballot-photo{
    position:relative;
    aspect-ratio:1/1;
    overflow:hidden;
    background:#eef0f2;
}

.kv15-ballot-photo > img,
.kv15-compare-photo > img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.kv15-photo-fallback{
    width:100%;
    height:100%;
    min-height:150px;
    display:grid;
    place-items:center;
    background:#eceef0;
    font-size:52px;
    font-weight:900;
}

.kv15-party-symbol{
    position:absolute;
    right:10px;
    bottom:10px;
    width:44px;
    height:44px;
    display:grid;
    place-items:center;
    padding:5px;
    border:1px solid rgba(0,0,0,.08);
    border-radius:11px;
    background:#fff;
}

.kv15-party-symbol img{
    width:100%;
    height:100%;
    object-fit:contain;
}

.kv15-ballot-body{
    padding:15px;
}

.kv15-ballot-body h3{
    margin:9px 0 3px;
    font-size:18px;
}

.kv15-ballot-body p{
    margin:0;
    color:#6e737a;
    font-size:12px;
}

.kv15-badge-row{
    display:flex;
    flex-wrap:wrap;
    gap:5px;
}

.kv15-status-badge,
.kv15-source-badge{
    display:inline-flex;
    align-items:center;
    min-height:24px;
    padding:0 8px;
    border-radius:999px;
    font-size:9px;
    font-weight:900;
    letter-spacing:.04em;
    text-transform:uppercase;
}

.kv15-status-badge{
    background:#111;
    color:#fff;
}

.kv15-source-badge{
    border:1px solid #dfe1e4;
    color:#5f646b;
    background:#f7f8f9;
}

.kv15-source-badge.official{
    background:#111;
    color:#fff;
    border-color:#111;
}

.kv15-source-badge.verified{
    background:#eceef0;
    color:#111;
}

.kv15-source-badge.candidate,
.kv15-source-badge.linked,
.kv15-source-badge.unconfirmed{
    background:#fff;
}

.kv15-card-actions{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    margin-top:14px;
}

.kv15-compare-check{
    display:flex;
    align-items:center;
    gap:5px;
    font-size:11px;
    color:#6e7279;
}

.kv15-compare-dock{
    position:sticky;
    bottom:18px;
    z-index:20;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    margin-top:22px;
    padding:15px 18px;
    border-radius:16px;
    background:#0b0b0c;
    color:#fff;
    box-shadow:0 18px 45px rgba(0,0,0,.18);
}

.kv15-compare-dock span{
    display:block;
    margin-top:2px;
    color:#aeb3ba;
    font-size:11px;
}

.kv15-compare-grid{
    display:grid;
    grid-template-columns:150px repeat(var(--compare-cols),minmax(210px,1fr));
    overflow:auto;
    border-top:1px solid var(--kv-line,#e3e5e8);
    border-left:1px solid var(--kv-line,#e3e5e8);
    background:#fff;
}

.kv15-compare-profile,
.kv15-compare-label,
.kv15-compare-value{
    padding:16px;
    border-right:1px solid var(--kv-line,#e3e5e8);
    border-bottom:1px solid var(--kv-line,#e3e5e8);
}

.kv15-compare-profile{
    min-width:210px;
}

.kv15-compare-photo{
    aspect-ratio:1/1;
    overflow:hidden;
    margin-bottom:14px;
    border-radius:14px;
    background:#eef0f2;
}

.kv15-compare-profile h2{
    margin:10px 0 3px;
    font-size:19px;
}

.kv15-compare-label{
    font-size:11px;
    font-weight:900;
    background:#f6f7f8;
}

.kv15-compare-value{
    color:#4f545b;
    font-size:12px;
    line-height:1.6;
}

.kv15-notice,
.kv15-ethics-note{
    margin-bottom:18px;
    padding:14px 16px;
    border:1px solid var(--kv-line,#e3e5e8);
    border-radius:14px;
    background:#f7f8f9;
    color:#5f646b;
    font-size:12px;
    line-height:1.6;
}

.kv15-ethics-note{
    margin-top:18px;
    margin-bottom:0;
}

.kv15-metric-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:10px;
    margin-bottom:16px;
}

.kv15-metric-card{
    min-height:120px;
    padding:18px;
    border:1px solid var(--kv-line,#e3e5e8);
    border-radius:16px;
    background:#fff;
}

.kv15-metric-card span{
    display:block;
    color:#777b82;
    font-size:10px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.05em;
}

.kv15-metric-card strong{
    display:block;
    margin-top:16px;
    font-size:29px;
    letter-spacing:-.04em;
}

.kv15-dashboard-layout{
    display:grid;
    grid-template-columns:1.4fr .6fr;
    gap:16px;
    margin-bottom:16px;
}

.kv15-history-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}

.kv15-history-card{
    min-height:230px;
    display:flex;
    flex-direction:column;
    padding:18px;
    border:1px solid var(--kv-line,#e3e5e8);
    border-radius:16px;
    background:#f8f9fa;
}

.kv15-history-year{
    font-size:11px;
    font-weight:900;
    color:#6f747b;
}

.kv15-history-card h3{
    margin:26px 0 3px;
    font-size:19px;
}

.kv15-history-card p{
    margin:0;
    color:#6f747b;
}

.kv15-history-card > strong{
    margin-top:16px;
    font-size:22px;
}

.kv15-history-card > span:not(.kv15-history-year){
    margin-top:4px;
    color:#757a81;
    font-size:11px;
}

.kv15-history-card .link{
    margin-top:auto;
    padding-top:16px;
}

.kv15-party-presence > div{
    display:flex;
    justify-content:space-between;
    gap:15px;
    padding:12px 0;
    border-top:1px solid var(--kv-line,#e3e5e8);
}

.kv15-race-candidate-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:12px;
}

.kv15-race-candidate{
    overflow:hidden;
    border:1px solid var(--kv-line,#e3e5e8);
    border-radius:15px;
    background:#fff;
    color:inherit;
    text-decoration:none;
}

.kv15-race-candidate > img,
.kv15-race-candidate > .kv15-photo-fallback{
    width:100%;
    aspect-ratio:1/1;
    object-fit:cover;
}

.kv15-race-candidate > div:last-child{
    padding:14px;
}

.kv15-race-candidate h3{
    margin:8px 0 2px;
    font-size:17px;
}

.kv15-race-candidate p{
    margin:0;
    color:#70747b;
    font-size:12px;
}

@media(max-width:1050px){
    .kv15-location-form,
    .kv15-race-form{
        grid-template-columns:1fr 1fr;
    }

    .kv15-ballot-candidates,
    .kv15-race-candidate-grid{
        grid-template-columns:repeat(3,1fr);
    }

    .kv15-metric-grid{
        grid-template-columns:repeat(3,1fr);
    }
}

@media(max-width:760px){
    .kv15-location-form,
    .kv15-race-form,
    .kv15-dashboard-layout,
    .kv15-history-grid{
        grid-template-columns:1fr;
    }

    .kv15-location-summary,
    .kv15-dashboard-title{
        align-items:flex-start;
        flex-direction:column;
    }

    .kv15-ballot-candidates,
    .kv15-race-candidate-grid{
        grid-template-columns:1fr 1fr;
    }

    .kv15-metric-grid{
        grid-template-columns:1fr 1fr;
    }

    .kv15-compare-dock{
        align-items:flex-start;
        flex-direction:column;
    }

    .kv15-compare-dock .btn{
        width:100%;
    }
}

@media(max-width:520px){
    .kv15-ballot-candidates,
    .kv15-race-candidate-grid,
    .kv15-metric-grid{
        grid-template-columns:1fr;
    }
}


/* =========================================================
   PHASE 16 — ELECTION INTELLIGENCE UI
========================================================= */
:root{--kv-green:#006b3c;--kv-green2:#0a8a4e;--kv-ink:#12171c;--kv-muted:#68717b;--kv-line:#dfe4e8;--kv-soft:#f6f8f7;--kv-gold:#f2b400;--kv-blue:#2b83d5;--kv-purple:#7442a8;--kv-red:#d84343}
body{background:#fff;color:var(--kv-ink)}
.container{width:min(1320px,94%)}
.kv16-topbar{background:linear-gradient(90deg,#004526,#006b3c);color:#fff;font-size:11px}
.kv16-topbar-inner{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.kv16-election-clock,.kv16-top-stats{display:flex;align-items:center;gap:10px}.kv16-top-stats{gap:22px;color:#e9f7ef}.kv16-live-dot{width:8px;height:8px;border-radius:50%;background:#31d17c;box-shadow:0 0 0 4px rgba(49,209,124,.13);display:inline-block}.kv16-header{position:sticky;top:0;background:rgba(255,255,255,.98);border-bottom:1px solid var(--kv-line)}.kv16-nav{min-height:62px}.kv16-brand-mark{background:#0c1712;color:#fff;border-radius:7px;width:38px;height:38px;font-size:23px}.kv16-brand .brand-copy strong{font-size:19px}.kv16-brand .brand-copy strong span{color:var(--kv-green)}.kv16-brand small{font-size:9px;letter-spacing:.04em}.kv16-primary-nav{gap:0}.kv16-primary-nav>a:not(.btn){font-size:12px;padding:9px 10px;border-radius:6px}.kv16-primary-nav>a.active{color:var(--kv-green);background:#edf8f2}.kv16-claim{background:var(--kv-green)!important;border-radius:7px}

.kv16-home-hero{padding:34px 0 16px;background:linear-gradient(180deg,#fff,#fbfcfb)}.kv16-home-hero-grid{display:grid;grid-template-columns:1fr 1.05fr;gap:28px;align-items:center}.kv16-home-hero h1{font-family:Georgia,serif;font-size:clamp(46px,5.2vw,72px);line-height:.92;letter-spacing:-.045em;margin:0 0 18px}.kv16-home-hero h1 span{color:var(--kv-green)}.kv16-home-hero p{font-size:15px;color:var(--kv-muted);max-width:650px}.kv16-hero-search{margin-top:20px;display:grid;grid-template-columns:34px 1fr auto;align-items:center;border:1px solid var(--kv-line);border-radius:8px;overflow:hidden;background:#fff}.kv16-hero-search span{display:grid;place-items:center;color:#79818a}.kv16-hero-search input{border:0;min-height:46px;outline:0;font-size:13px}.kv16-hero-search .btn{border-radius:0;min-height:46px;background:var(--kv-green)}.kv16-trending{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin-top:14px;font-size:10px}.kv16-trending>span{color:var(--kv-muted)}.kv16-trending a{padding:6px 9px;border:1px solid var(--kv-line);border-radius:5px;text-decoration:none;background:#fff}.kv16-countdown-panel{padding:24px;border-radius:14px;background:linear-gradient(145deg,#0c151e,#111b24);color:#fff;box-shadow:0 18px 45px rgba(0,0,0,.16)}.kv16-countdown-panel>span{color:#55d98e;font-size:10px;font-weight:800;letter-spacing:.06em}.kv16-countdown-value{display:block;margin-top:12px;font-size:44px;letter-spacing:.02em}.kv16-countdown-units{font-size:9px;color:#939da7;letter-spacing:.12em}.kv16-countdown-stats{display:grid;grid-template-columns:repeat(4,1fr);margin-top:22px;border-top:1px solid rgba(255,255,255,.12);border-bottom:1px solid rgba(255,255,255,.12)}.kv16-countdown-stats div{padding:14px 12px;border-right:1px solid rgba(255,255,255,.12)}.kv16-countdown-stats div:last-child{border-right:0}.kv16-countdown-stats b,.kv16-countdown-stats small{display:block}.kv16-countdown-stats b{font-size:18px}.kv16-countdown-stats small{color:#a6afb8;font-size:8px}.kv16-live-line{display:flex;align-items:center;gap:7px;margin-top:16px;font-size:10px;color:#aeb7bf}.kv16-live-line a{margin-left:auto;color:#66e39c;text-decoration:none;font-weight:700}

.kv16-section-card,.kv16-election-explorer,.kv16-county-snapshot,.kv16-polls-panel,.kv16-news-panel,.kv16-stats-board,.kv16-bottom-grid>div{border:1px solid var(--kv-line);border-radius:10px;background:#fff}.kv16-section-card{padding:16px}.kv16-card-top,.kv16-card-footer,.kv16-panel-head,.kv16-summary-bar,.kv16-page-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px}.kv16-card-top{font-size:11px}.kv16-official-pill{margin-left:10px;padding:4px 7px;border-radius:999px;background:#ebf8ef;color:var(--kv-green);font-size:9px}.kv16-result-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:13px}.kv16-result-card{position:relative;padding:14px;border:1px solid var(--kv-line);border-top:3px solid #a0a6ad;border-radius:8px;background:#fff}.kv16-result-card.winner{background:#fffdf4;border-color:#eadc9b}.kv16-result-card.party-uda{border-top-color:var(--kv-gold)}.kv16-result-card.party-odm{border-top-color:var(--kv-blue)}.kv16-result-card.party-roots{border-top-color:#39a24a}.kv16-result-card.party-agano{border-top-color:var(--kv-purple)}.kv16-result-person{display:flex;gap:10px;align-items:center}.kv16-result-avatar{width:42px;height:42px;border-radius:5px;overflow:hidden;background:#edf0f2;display:grid;place-items:center;font-weight:800}.kv16-result-avatar img{width:100%;height:100%;object-fit:cover}.kv16-result-person h3{font-size:13px;margin:1px 0}.kv16-result-person p{font-size:9px;color:var(--kv-muted);margin:0}.kv16-winner-label{font-size:8px;font-weight:900;color:#b78300;text-transform:uppercase}.kv16-big-pct{display:block;margin-top:13px;font-size:25px;letter-spacing:-.03em}.party-uda .kv16-big-pct{color:#c99500}.party-odm .kv16-big-pct{color:#176fc7}.party-roots .kv16-big-pct{color:#2e983d}.party-agano .kv16-big-pct{color:#71409f}.kv16-votes{display:block;color:var(--kv-muted);font-size:10px}.kv16-mini-bar{height:4px;background:#edf0f2;margin-top:9px}.kv16-mini-bar span{height:100%;display:block;background:#333}.party-uda .kv16-mini-bar span,.kv16-stacked-bar .party-uda{background:var(--kv-gold)}.party-odm .kv16-mini-bar span,.kv16-stacked-bar .party-odm{background:var(--kv-blue)}.party-roots .kv16-mini-bar span,.kv16-stacked-bar .party-roots{background:#39a24a}.party-agano .kv16-mini-bar span,.kv16-stacked-bar .party-agano{background:var(--kv-purple)}.kv16-stacked-bar{height:9px;margin-top:10px;display:flex;background:#eee}.kv16-stacked-bar span{display:block;height:100%}.kv16-card-footer{padding-top:12px;color:var(--kv-muted);font-size:9px}

.kv16-dashboard-zone{padding-top:4px}.kv16-main-dashboard{display:grid;grid-template-columns:1.45fr .7fr .78fr;gap:12px}.kv16-election-explorer,.kv16-county-snapshot,.kv16-polls-panel{padding:14px}.kv16-panel-head strong{font-size:11px}.kv16-panel-head p{margin:2px 0 0;color:var(--kv-muted);font-size:9px}.kv16-switch-mini{display:flex;border:1px solid var(--kv-line);border-radius:5px;overflow:hidden}.kv16-switch-mini a{padding:5px 9px;text-decoration:none;font-size:9px}.kv16-switch-mini a.active{background:var(--kv-green);color:#fff}.kv16-explorer-filters{display:flex;gap:6px;margin:12px 0}.kv16-explorer-filters a{padding:7px 9px;border:1px solid var(--kv-line);border-radius:5px;text-decoration:none;font-size:9px}.kv16-home-map,.kv16-map-card{position:relative;min-height:420px;background:#fafbfb;border:1px solid var(--kv-line);border-radius:7px;overflow:hidden}.kv16-home-map svg,.kv16-map-card svg{width:100%;height:390px;display:block}.kv16-home-map svg path,.kv16-map-card svg path{cursor:pointer;transition:opacity .15s,filter .15s}.kv16-home-map svg path:hover,.kv16-map-card svg path:hover{opacity:.8;filter:brightness(.92)}.kv16-map-status{position:absolute;left:10px;top:10px;z-index:2;padding:5px 7px;border-radius:4px;background:rgba(255,255,255,.92);font-size:8px;color:var(--kv-muted)}.kv16-map-legend{position:absolute;left:10px;bottom:10px;display:grid;gap:4px;padding:7px;background:rgba(255,255,255,.94);border:1px solid var(--kv-line);border-radius:5px;font-size:8px}.kv16-map-legend span{display:flex;align-items:center;gap:5px}.kv16-map-legend i{width:8px;height:8px;border-radius:2px}.kv16-map-legend .party-uda{background:var(--kv-gold)}.kv16-map-legend .party-odm{background:var(--kv-blue)}.kv16-map-legend .party-other{background:#8b9097}.kv16-map-legend .no-data{background:#eef0f2}.kv16-snapshot-tabs{display:flex;gap:12px;margin:12px 0;border-bottom:1px solid var(--kv-line);font-size:8px}.kv16-snapshot-tabs span{padding-bottom:6px}.kv16-snapshot-tabs .active{color:var(--kv-green);border-bottom:2px solid var(--kv-green)}.kv16-snapshot-person{display:grid;grid-template-columns:34px 1fr;gap:8px;padding:9px 0;border-bottom:1px solid var(--kv-line);text-decoration:none}.kv16-snapshot-person>img,.kv16-snapshot-person>span{width:34px;height:34px;border-radius:4px;object-fit:cover;background:#edf0f2;display:grid;place-items:center}.kv16-snapshot-person small,.kv16-snapshot-person strong,.kv16-snapshot-person em{display:block}.kv16-snapshot-person small{font-size:8px;color:var(--kv-muted)}.kv16-snapshot-person strong{font-size:10px}.kv16-snapshot-person em{font-size:8px;color:var(--kv-muted);font-style:normal}.kv16-view-races{display:block;margin-top:10px}.kv16-mini-insight{margin-top:12px;padding:12px;border:1px solid var(--kv-line);border-radius:7px;background:#fbfcfc}.kv16-mini-insight>span{color:#3974c7;font-size:8px;font-weight:900}.kv16-mini-insight strong,.kv16-mini-insight p{display:block}.kv16-mini-insight strong{font-size:11px;margin-top:4px}.kv16-mini-insight p{font-size:9px;color:var(--kv-muted)}.kv16-polls-panel .btn{width:100%;margin-top:12px;font-size:9px;padding:8px}

.kv16-lower-grid{padding-top:4px}.kv16-lower-panels{display:grid;grid-template-columns:1.35fr .65fr;gap:12px}.kv16-news-panel{padding:14px}.kv16-news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}.kv16-news-grid article{padding:12px;border:1px solid var(--kv-line);border-radius:7px}.kv16-news-grid article>span{font-size:7px;color:var(--kv-green);font-weight:900}.kv16-news-grid h3{font-size:11px;margin:6px 0}.kv16-news-grid p,.kv16-news-grid small{font-size:8px;color:var(--kv-muted)}.kv16-stats-board{display:grid;grid-template-columns:repeat(3,1fr);padding:10px}.kv16-stats-board div{padding:13px;border:1px solid #edf0f2;margin:-1px 0 0 -1px}.kv16-stats-board strong,.kv16-stats-board span{display:block}.kv16-stats-board strong{font-size:18px}.kv16-stats-board span{font-size:8px;color:var(--kv-muted)}.kv16-bottom-cards{padding-top:4px}.kv16-bottom-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}.kv16-bottom-grid>div{padding:14px}.kv16-bottom-grid p{font-size:9px;color:var(--kv-muted)}.kv16-party-row{display:flex;align-items:center;gap:8px;padding:6px 0;text-decoration:none;font-size:9px}.kv16-party-row img{width:22px;height:22px;object-fit:contain}.kv16-tool-link{display:block;padding:9px 0;border-top:1px solid var(--kv-line);text-decoration:none;font-size:10px;font-weight:700}

.kv16-results-head,.kv16-content-head{padding:34px 0 26px;background:#fafbf9;border-bottom:1px solid var(--kv-line)}.kv16-results-head-grid,.kv16-content-head-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:30px;align-items:end}.kv16-results-head h1,.kv16-content-head h1{font-family:Georgia,serif;font-size:clamp(34px,4vw,52px);line-height:.95;margin:8px 0 12px}.kv16-results-head p,.kv16-content-head p{color:var(--kv-muted);font-size:12px}.kv16-head-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.kv16-head-metrics>div{padding:12px;border:1px solid var(--kv-line);background:#fff;text-align:center}.kv16-head-metrics strong,.kv16-head-metrics span{display:block}.kv16-head-metrics strong{font-size:16px}.kv16-head-metrics span{font-size:7px;text-transform:uppercase;color:var(--kv-muted)}.kv16-head-metrics.small{grid-template-columns:repeat(2,1fr)}.kv16-summary-bar{margin-bottom:12px}.kv16-summary-bar h2{font-size:17px;margin:4px 0}.kv16-summary-bar>div:last-child{text-align:right}.kv16-summary-bar>div:last-child strong,.kv16-summary-bar>div:last-child span{display:block}.kv16-summary-bar>div:last-child span{font-size:8px;color:var(--kv-muted)}.kv16-explorer-section{padding-top:20px}.kv16-explorer-title h2{font-family:Georgia,serif;font-size:26px;margin:0}.kv16-result-filters{margin-top:15px}.kv16-office-tabs{display:flex;flex-wrap:wrap;gap:0;border-bottom:1px solid var(--kv-line)}.kv16-office-tabs button{border:0;background:transparent;padding:10px 15px;font-size:10px;font-weight:700;cursor:pointer}.kv16-office-tabs button.active{color:var(--kv-green);border:1px solid var(--kv-green);border-bottom-color:#fff;margin-bottom:-1px}.kv16-filter-row{display:flex;gap:8px;padding:12px 0}.kv16-filter-row select{min-height:38px;border:1px solid var(--kv-line);padding:0 10px;background:#fff}.kv16-filter-row .btn{padding:8px 14px;background:var(--kv-green)}.kv16-view-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:6px 0 10px}.kv16-search-inline{flex:1;display:flex;gap:8px;align-items:center;border:1px solid var(--kv-line);padding:0 10px}.kv16-search-inline input{width:100%;border:0;outline:0;min-height:36px}.kv16-view-switch{display:flex}.kv16-view-switch button{border:1px solid var(--kv-line);background:#fff;padding:8px 12px;font-size:9px}.kv16-view-switch button.active{background:#111;color:#fff}.kv16-view{display:none}.kv16-view.active{display:block}.kv16-map-layout{display:grid;grid-template-columns:1fr 300px;gap:12px}.kv16-map-card{min-height:560px}.kv16-map-card svg{height:520px}.kv16-map-side{padding:15px;border:1px solid var(--kv-line);background:#fff}.kv16-map-side h3{font-family:Georgia,serif;font-size:18px}.kv16-side-row{display:flex;justify-content:space-between;gap:15px;padding:8px 0;border-bottom:1px solid var(--kv-line);font-size:9px}.kv16-grid-results{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.kv16-grid-results article{padding:14px;border:1px solid var(--kv-line);border-radius:7px}.kv16-grid-results article>span{font-size:8px;color:var(--kv-muted)}.kv16-grid-results h3{font-size:12px;margin:5px 0}.kv16-grid-results p{font-size:9px;color:var(--kv-muted)}.kv16-grid-results strong,.kv16-grid-results b{display:block}.kv16-grid-results b{font-size:18px;margin:4px 0}.kv16-result-table{font-size:10px}.kv16-empty-state{padding:25px}

.kv16-method-box{padding:16px;border:1px solid var(--kv-line);background:#fff}.kv16-method-box strong{font-size:10px}.kv16-method-box p{font-size:9px;margin-bottom:0}.kv16-prediction-warning{padding:12px 0;background:#fbfbf8;border-bottom:1px solid var(--kv-line);font-size:9px}.kv16-poll-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.kv16-poll-card{padding:16px;border:1px solid var(--kv-line);background:#fff}.kv16-poll-card h2{font-family:Georgia,serif;font-size:18px;margin:6px 0}.kv16-poll-card>p{font-size:9px;color:var(--kv-muted)}.kv16-poll-meta{display:flex;gap:10px;flex-wrap:wrap;color:var(--kv-muted);font-size:8px;margin:10px 0}.kv16-poll-option{display:grid;grid-template-columns:1fr auto;gap:5px;padding:8px 0;border-top:1px solid var(--kv-line)}.kv16-poll-option>div:first-child strong,.kv16-poll-option>div:first-child span{display:block}.kv16-poll-option>div:first-child strong{font-size:10px}.kv16-poll-option>div:first-child span{font-size:8px;color:var(--kv-muted)}.kv16-poll-option>b{font-size:12px}.kv16-poll-option>div:last-child{grid-column:1/-1;height:4px;background:#edf0f2}.kv16-poll-option>div:last-child span{display:block;height:100%;background:var(--kv-green)}.kv16-empty-publish{grid-column:1/-1;padding:30px;border:1px dashed #cfd5d9;background:#fafbfb}.kv16-empty-publish h2{font-family:Georgia,serif}

@media(max-width:1100px){.kv16-primary-nav>a:not(.btn){padding:8px 6px;font-size:10px}.kv16-home-hero-grid,.kv16-results-head-grid,.kv16-content-head-grid{grid-template-columns:1fr}.kv16-main-dashboard{grid-template-columns:1fr 1fr}.kv16-election-explorer{grid-column:1/-1}.kv16-result-cards{grid-template-columns:repeat(2,1fr)}.kv16-grid-results{grid-template-columns:repeat(3,1fr)}}
@media(max-width:780px){.kv16-top-stats{display:none}.kv16-topbar-inner{justify-content:center}.kv16-home-hero h1{font-size:46px}.kv16-countdown-stats{grid-template-columns:1fr 1fr}.kv16-result-cards,.kv16-main-dashboard,.kv16-lower-panels,.kv16-bottom-grid,.kv16-poll-grid,.kv16-map-layout{grid-template-columns:1fr}.kv16-news-grid,.kv16-grid-results{grid-template-columns:1fr 1fr}.kv16-head-metrics{grid-template-columns:1fr 1fr}.kv16-filter-row{flex-direction:column}.kv16-filter-row select,.kv16-filter-row .btn{width:100%}.kv16-view-toolbar{align-items:stretch;flex-direction:column}.kv16-map-side{min-height:180px}}
@media(max-width:520px){.kv16-result-cards,.kv16-news-grid,.kv16-grid-results{grid-template-columns:1fr}.kv16-countdown-value{font-size:34px}.kv16-stats-board{grid-template-columns:1fr 1fr}.kv16-office-tabs{overflow:auto;flex-wrap:nowrap}.kv16-office-tabs button{white-space:nowrap}}


/* =========================================================
   PHASE 17 — PREMIUM HOMEPAGE REDESIGN
========================================================= */

:root{
    --kv17-green:#08723f;
    --kv17-green-dark:#064f30;
    --kv17-green-soft:#edf8f1;
    --kv17-ink:#10171d;
    --kv17-muted:#6d7680;
    --kv17-line:#dfe5e1;
    --kv17-soft:#f7f9f8;
    --kv17-blue:#247bd5;
    --kv17-gold:#dfa700;
    --kv17-purple:#7340a7;
    --kv17-red:#d13858;
}

body{
    background:#fff;
    color:var(--kv17-ink);
}

.container{
    width:min(1480px,94%);
}

.kv17-topbar{
    background:linear-gradient(
        90deg,
        #004526,
        #075f39
    );
    color:#fff;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.kv17-topbar-inner{
    min-height:34px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
}

.kv17-election-clock{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:10px;
    letter-spacing:.015em;
}

.kv17-election-clock strong{
    font-size:10px;
}

.kv17-live-dot{
    width:8px;
    height:8px;
    display:inline-block;
    border-radius:50%;
    background:#2fd47b;
    box-shadow:
        0 0 0 4px
        rgba(47,212,123,.12);
}

.kv17-top-stats{
    display:flex;
    gap:25px;
    align-items:center;
    font-size:10px;
}

.kv17-top-stats span{
    display:flex;
    align-items:center;
    gap:4px;
    font-weight:800;
}

.kv17-top-stats small{
    color:#dceee4;
    font-size:8px;
    font-weight:500;
}

.kv17-header{
    position:sticky;
    top:0;
    z-index:100;
    background:rgba(255,255,255,.985);
    border-bottom:1px solid var(--kv17-line);
    backdrop-filter:blur(12px);
}

.kv17-nav{
    min-height:64px;
}

.kv17-brand{
    gap:10px;
}

.kv17-logo-mark{
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    border-radius:6px;
    background:linear-gradient(
        145deg,
        #0a7a45,
        #0a3e27
    );
    color:#fff;
    font-size:24px;
    font-weight:900;
    box-shadow:
        0 5px 15px
        rgba(0,72,39,.14);
}

.kv17-brand .brand-copy strong{
    font-family:Georgia,serif;
    font-size:21px;
    letter-spacing:-.025em;
}

.kv17-brand .brand-copy strong span{
    color:var(--kv17-green);
}

.kv17-brand .brand-copy small{
    display:none;
}

.kv17-primary-nav{
    gap:1px;
}

.kv17-primary-nav > a:not(.btn),
.kv17-primary-nav > span{
    font-size:11px;
}

.kv17-primary-nav > a:not(.btn){
    padding:9px 9px;
    border-radius:4px;
}

.kv17-primary-nav > a.active{
    color:var(--kv17-green);
    background:#eef8f2;
}

.kv17-nav-tools{
    display:flex;
    gap:5px;
    margin-left:4px;
}

.kv17-icon-button{
    width:32px;
    height:32px;
    display:grid;
    place-items:center;
    padding:0!important;
    border:1px solid var(--kv17-line);
    border-radius:5px;
    background:#fff;
    color:#263139!important;
    text-decoration:none;
    cursor:pointer;
}

.kv17-claim{
    background:var(--kv17-green)!important;
    border-radius:5px;
    min-height:34px;
}

.kv17-hero{
    padding:22px 0 10px;
    background:#fff;
}

.kv17-hero-grid{
    display:grid;
    grid-template-columns:minmax(430px,.88fr) minmax(650px,1.35fr);
    gap:30px;
    align-items:center;
}

.kv17-hero-copy{
    padding:20px 0 16px;
}

.kv17-hero-copy h1{
    margin:0 0 15px;
    font-family:Georgia,serif;
    font-size:clamp(46px,4.8vw,72px);
    line-height:.96;
    letter-spacing:-.048em;
    font-weight:800;
}

.kv17-hero-copy h1 span{
    color:var(--kv17-green);
}

.kv17-hero-copy > p{
    max-width:650px;
    margin:0;
    color:var(--kv17-muted);
    font-size:14px;
    line-height:1.65;
}

.kv17-search{
    display:grid;
    grid-template-columns:34px minmax(0,1fr) auto;
    align-items:center;
    max-width:680px;
    margin-top:18px;
    border:1px solid #dce1de;
    border-radius:6px;
    background:#fff;
    overflow:hidden;
    box-shadow:0 4px 18px rgba(0,0,0,.025);
}

.kv17-search > span{
    display:grid;
    place-items:center;
    color:#778089;
    font-size:17px;
}

.kv17-search input{
    min-width:0;
    min-height:46px;
    border:0;
    outline:0;
    font-size:12px;
}

.kv17-search .btn{
    min-height:46px;
    padding:0 18px;
    border-radius:0;
    background:var(--kv17-green);
}

.kv17-trending{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:7px;
    margin-top:12px;
    font-size:9px;
}

.kv17-trending > span{
    color:#6e777f;
    font-weight:700;
}

.kv17-trending a{
    padding:6px 9px;
    border:1px solid #e0e5e2;
    border-radius:4px;
    background:#fff;
    color:#48515a;
    text-decoration:none;
}

.kv17-trending a:hover{
    color:var(--kv17-green);
    border-color:#bdd7c8;
}

.kv17-featured-results{
    padding:16px;
    border:1px solid #dfe4e1;
    border-radius:10px;
    background:#fff;
    box-shadow:0 8px 26px rgba(0,0,0,.035);
}

.kv17-results-topline{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    padding-bottom:12px;
    border-bottom:1px solid #edf0ee;
    font-size:9px;
}

.kv17-results-topline > div:first-child{
    display:flex;
    align-items:center;
    gap:6px;
}

.kv17-results-topline strong{
    font-size:9px;
    color:var(--kv17-green);
}

.kv17-results-topline em{
    color:#737c85;
    font-style:normal;
    text-transform:uppercase;
}

.kv17-result-meta{
    display:flex;
    gap:18px;
}

.kv17-result-meta span{
    color:#7c858d;
    text-transform:uppercase;
    font-size:7px;
}

.kv17-result-meta strong{
    margin-left:5px;
    color:#111;
    font-size:10px;
}

.kv17-featured-candidate-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    margin-top:12px;
    border:1px solid #e4e8e5;
    border-radius:8px;
    overflow:hidden;
}

.kv17-featured-candidate{
    min-width:0;
    padding:13px;
    border-right:1px solid #e6e9e7;
    background:#fff;
}

.kv17-featured-candidate:last-child{
    border-right:0;
}

.kv17-featured-candidate.winner{
    background:linear-gradient(
        145deg,
        #f1fbf5,
        #fff
    );
    box-shadow:inset 0 0 0 1px #bddfc9;
}

.kv17-featured-person{
    display:flex;
    align-items:center;
    gap:9px;
}

.kv17-featured-avatar{
    width:46px;
    height:52px;
    display:grid;
    place-items:center;
    flex:0 0 auto;
    overflow:hidden;
    border-radius:5px;
    background:#edf1ef;
    font-weight:900;
}

.kv17-featured-avatar img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.kv17-featured-person h3{
    margin:3px 0 1px;
    font-size:12px;
    line-height:1.25;
}

.kv17-featured-person p{
    margin:0;
    color:#707981;
    font-size:8px;
}

.kv17-winner-pill{
    display:inline-flex;
    align-items:center;
    min-height:18px;
    padding:0 7px;
    border:1px solid #a9d9bc;
    border-radius:999px;
    background:#ebf9f0;
    color:var(--kv17-green);
    font-size:7px;
    font-weight:900;
    text-transform:uppercase;
}

.kv17-featured-pct{
    display:block;
    margin-top:17px;
    font-size:25px;
    letter-spacing:-.03em;
}

.kv17-featured-candidate.party-uda .kv17-featured-pct{
    color:#147840;
}

.kv17-featured-candidate.party-odm .kv17-featured-pct{
    color:var(--kv17-blue);
}

.kv17-featured-candidate.party-roots .kv17-featured-pct{
    color:#26913c;
}

.kv17-featured-candidate.party-agano .kv17-featured-pct{
    color:var(--kv17-purple);
}

.kv17-featured-votes{
    display:block;
    color:#666f78;
    font-size:9px;
}

.kv17-featured-bar{
    height:4px;
    margin-top:8px;
    background:#edf0ee;
}

.kv17-featured-bar span{
    display:block;
    height:100%;
    background:#6f777e;
}

.kv17-featured-candidate.party-uda .kv17-featured-bar span{
    background:var(--kv17-green);
}

.kv17-featured-candidate.party-odm .kv17-featured-bar span{
    background:var(--kv17-blue);
}

.kv17-featured-candidate.party-roots .kv17-featured-bar span{
    background:#359a48;
}

.kv17-featured-candidate.party-agano .kv17-featured-bar span{
    background:var(--kv17-purple);
}

.kv17-featured-footer{
    display:flex;
    justify-content:space-between;
    gap:15px;
    align-items:center;
    padding-top:11px;
    color:#7a838b;
    font-size:8px;
}

.kv17-dashboard{
    padding:4px 0 8px;
}

.kv17-dashboard-grid{
    display:grid;
    grid-template-columns:minmax(0,1.55fr) minmax(270px,.78fr) minmax(300px,.9fr);
    gap:12px;
}

.kv17-panel{
    border:1px solid var(--kv17-line);
    border-radius:9px;
    background:#fff;
}

.kv17-explorer-panel,
.kv17-county-panel,
.kv17-insights-panel{
    padding:13px;
}

.kv17-panel-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:15px;
}

.kv17-panel-header strong{
    font-size:10px;
    letter-spacing:.01em;
}

.kv17-panel-header p{
    margin:3px 0 0;
    color:#747d85;
    font-size:8px;
}

.kv17-panel-header .link{
    font-size:8px;
}

.kv17-view-tabs{
    display:flex;
    border:1px solid #e0e5e2;
    border-radius:4px;
    overflow:hidden;
}

.kv17-view-tabs a{
    min-width:44px;
    padding:7px 9px;
    color:#333b42;
    text-align:center;
    text-decoration:none;
    font-size:8px;
}

.kv17-view-tabs a.active{
    background:var(--kv17-green);
    color:#fff;
}

.kv17-explorer-controls{
    display:grid;
    grid-template-columns:repeat(3,minmax(110px,1fr)) minmax(110px,1fr);
    gap:7px;
    margin:12px 0;
}

.kv17-explorer-controls select,
.kv17-filter-link{
    min-height:37px;
    width:100%;
    display:flex;
    align-items:center;
    padding:0 10px;
    border:1px solid #e0e5e2;
    border-radius:4px;
    background:#fff;
    color:#4a535b;
    font-size:9px;
    text-decoration:none;
}

.kv17-map{
    position:relative;
    min-height:420px;
    overflow:hidden;
    border:1px solid #e0e5e2;
    border-radius:6px;
    background:#fbfcfb;
}

.kv17-map svg{
    width:100%;
    height:390px;
    display:block;
}

.kv17-map svg path{
    cursor:pointer;
    transition:opacity .15s ease,filter .15s ease;
}

.kv17-map svg path:hover{
    opacity:.83;
    filter:brightness(.94);
}

.kv17-map-legend{
    position:absolute;
    left:10px;
    bottom:10px;
    display:grid;
    gap:5px;
    padding:8px;
    border:1px solid #e0e5e2;
    border-radius:5px;
    background:rgba(255,255,255,.95);
    font-size:8px;
}

.kv17-map-legend span{
    display:flex;
    align-items:center;
    gap:6px;
}

.kv17-map-legend i{
    width:9px;
    height:9px;
    border-radius:50%;
}

.kv17-map-legend .party-uda{
    background:var(--kv17-green);
}

.kv17-map-legend .party-odm{
    background:var(--kv17-blue);
}

.kv17-map-legend .party-other{
    background:#7e858b;
}

.kv17-map-legend .no-data{
    background:#edf0ee;
    border:1px solid #d6dcda;
}

.kv17-map-hint{
    padding-top:8px;
    color:#7a838b;
    font-size:8px;
}

.kv17-county-picker{
    margin-top:9px;
}

.kv17-county-picker select{
    width:100%;
    min-height:34px;
    border:1px solid #e0e5e2;
    padding:0 8px;
    background:#fff;
    font-size:8px;
}

.kv17-mini-tabs{
    display:flex;
    gap:12px;
    margin-top:10px;
    border-bottom:1px solid #e5e9e6;
    font-size:7px;
}

.kv17-mini-tabs span{
    padding:7px 0;
    color:#747d85;
}

.kv17-mini-tabs span.active{
    color:var(--kv17-green);
    border-bottom:2px solid var(--kv17-green);
}

.kv17-county-races{
    margin-top:5px;
}

.kv17-county-race-row{
    display:grid;
    grid-template-columns:38px 1fr;
    gap:8px;
    align-items:center;
    padding:9px 0;
    border-bottom:1px solid #e8ebe9;
    color:inherit;
    text-decoration:none;
}

.kv17-county-race-row img,
.kv17-mini-avatar{
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    border-radius:4px;
    background:#edf1ef;
    object-fit:cover;
    font-size:14px;
    font-weight:900;
}

.kv17-county-race-row small,
.kv17-county-race-row strong,
.kv17-county-race-row em{
    display:block;
}

.kv17-county-race-row small{
    color:#747d85;
    font-size:7px;
}

.kv17-county-race-row strong{
    margin-top:1px;
    font-size:9px;
}

.kv17-county-race-row em{
    margin-top:1px;
    color:#798189;
    font-size:7px;
    font-style:normal;
}

.kv17-all-races{
    display:block;
    margin-top:10px;
    font-size:8px;
}

.kv17-insights-panel{
    display:flex;
    flex-direction:column;
}

.kv17-insight-card{
    margin-top:10px;
    padding:11px;
    border:1px solid #e1e5e3;
    border-radius:6px;
    background:#fff;
}

.kv17-insight-label{
    display:inline-flex;
    padding:3px 5px;
    border-radius:3px;
    background:#eff6ff;
    color:#2d6eb9;
    font-size:7px;
    font-weight:900;
    text-transform:uppercase;
}

.kv17-insight-label.prediction{
    background:#eef9f2;
    color:var(--kv17-green);
}

.kv17-insight-card h3{
    margin:7px 0 2px;
    font-size:10px;
}

.kv17-insight-card > p,
.kv17-insight-card > small{
    color:#747d85;
    font-size:7px;
}

.kv17-insight-row{
    display:grid;
    grid-template-columns:18px minmax(70px,.8fr) 1fr auto;
    gap:6px;
    align-items:center;
    padding:6px 0;
}

.kv17-rank{
    width:17px;
    height:17px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#f0f2f1;
    font-size:7px;
}

.kv17-insight-row strong{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:8px;
}

.kv17-insight-row b{
    font-size:8px;
}

.kv17-insight-meter{
    height:4px;
    overflow:hidden;
    background:#edf0ee;
}

.kv17-insight-meter span{
    display:block;
    height:100%;
    background:var(--kv17-blue);
}

.kv17-insight-meter.prediction span{
    background:var(--kv17-green);
}

.kv17-insight-button{
    width:100%;
    margin-top:auto;
    padding:7px 10px;
    font-size:8px;
}

.kv17-lower{
    padding:4px 0 8px;
}

.kv17-lower-grid{
    display:grid;
    grid-template-columns:1.35fr 1fr;
    gap:12px;
}

.kv17-news{
    padding:13px;
}

.kv17-news-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:9px;
    margin-top:10px;
}

.kv17-news-grid article{
    min-height:150px;
    padding:11px;
    border:1px solid #e1e5e3;
    border-radius:6px;
}

.kv17-news-grid article > span{
    display:inline-flex;
    padding:3px 5px;
    border-radius:3px;
    background:#eef8f2;
    color:var(--kv17-green);
    font-size:6px;
    font-weight:900;
}

.kv17-news-grid h3{
    margin:8px 0 5px;
    font-size:10px;
    line-height:1.4;
}

.kv17-news-grid p,
.kv17-news-grid small{
    color:#737c84;
    font-size:7px;
    line-height:1.5;
}

.kv17-stat-board{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:8px;
}

.kv17-stat-board > div{
    min-height:90px;
    display:grid;
    grid-template-columns:34px 1fr;
    grid-template-rows:auto auto;
    align-content:center;
    padding:11px;
    border:1px solid #e1e5e3;
    border-radius:7px;
    background:#fff;
}

.kv17-stat-icon{
    grid-row:1/3;
    width:30px;
    height:30px;
    display:grid;
    place-items:center;
    border-radius:7px;
    background:#edf8f1;
    color:var(--kv17-green);
    font-size:14px;
}

.kv17-stat-board strong{
    align-self:end;
    font-size:17px;
    letter-spacing:-.03em;
}

.kv17-stat-board small{
    color:#717a82;
    font-size:7px;
}

.kv17-resources{
    padding:4px 0 8px;
}

.kv17-resource-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:12px;
}

.kv17-resource-card{
    min-height:180px;
    padding:13px;
    border:1px solid #e1e5e3;
    border-radius:8px;
    background:#fff;
}

.kv17-resource-card > p{
    max-width:360px;
    color:#737c84;
    font-size:8px;
    line-height:1.6;
}

.kv17-party-list{
    margin-top:8px;
}

.kv17-party-list > a{
    display:flex;
    align-items:center;
    gap:8px;
    padding:5px 0;
    color:inherit;
    text-decoration:none;
}

.kv17-party-list img{
    width:24px;
    height:24px;
    object-fit:contain;
}

.kv17-party-list span strong,
.kv17-party-list span small{
    display:block;
}

.kv17-party-list span strong{
    font-size:8px;
}

.kv17-party-list span small{
    color:#7a838b;
    font-size:7px;
}

.kv17-tool-row{
    display:flex;
    justify-content:space-between;
    gap:12px;
    padding:10px 0;
    border-top:1px solid #e7eae8;
    color:inherit;
    text-decoration:none;
    font-size:9px;
    font-weight:800;
}

.kv17-subscribe{
    padding:8px 0 26px;
}

.kv17-subscribe-inner{
    display:grid;
    grid-template-columns:1fr minmax(340px,.8fr) auto;
    gap:18px;
    align-items:center;
    padding:15px;
    border:1px solid #dce7e0;
    border-radius:9px;
    background:linear-gradient(
        90deg,
        #f2faf5,
        #fbfdfb
    );
}

.kv17-subscribe-copy{
    display:flex;
    align-items:center;
    gap:10px;
}

.kv17-subscribe-icon{
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#e4f6eb;
    color:var(--kv17-green);
}

.kv17-subscribe-copy strong{
    display:block;
    font-size:10px;
}

.kv17-subscribe-copy p{
    margin:2px 0 0;
    color:#747d85;
    font-size:7px;
}

.kv17-subscribe-form{
    display:grid;
    grid-template-columns:1fr auto;
    overflow:hidden;
    border:1px solid #dce2de;
    border-radius:5px;
    background:#fff;
}

.kv17-subscribe-form input{
    min-width:0;
    min-height:39px;
    padding:0 10px;
    border:0;
    outline:0;
    font-size:9px;
}

.kv17-subscribe-form .btn{
    min-height:39px;
    border-radius:0;
    background:var(--kv17-green);
    font-size:8px;
}

.kv17-subscribe-message{
    min-width:120px;
    color:var(--kv17-green);
    font-size:8px;
}

body.kv17-dark-accent .kv17-featured-results,
body.kv17-dark-accent .kv17-panel,
body.kv17-dark-accent .kv17-resource-card{
    box-shadow:
        0 8px 28px
        rgba(3,68,39,.06);
}

@media(max-width:1200px){

    .kv17-primary-nav > a:not(.btn){
        padding:8px 6px;
        font-size:9px;
    }

    .kv17-hero-grid{
        grid-template-columns:1fr;
    }

    .kv17-dashboard-grid{
        grid-template-columns:1fr 1fr;
    }

    .kv17-explorer-panel{
        grid-column:1/-1;
    }

    .kv17-lower-grid{
        grid-template-columns:1fr;
    }
}

@media(max-width:850px){

    .kv17-top-stats{
        display:none;
    }

    .kv17-topbar-inner{
        justify-content:center;
    }

    .kv17-featured-candidate-grid{
        grid-template-columns:1fr 1fr;
    }

    .kv17-featured-candidate:nth-child(2){
        border-right:0;
    }

    .kv17-dashboard-grid,
    .kv17-resource-grid{
        grid-template-columns:1fr;
    }

    .kv17-news-grid{
        grid-template-columns:1fr 1fr;
    }

    .kv17-stat-board{
        grid-template-columns:1fr 1fr;
    }

    .kv17-subscribe-inner{
        grid-template-columns:1fr;
    }
}

@media(max-width:560px){

    .kv17-election-clock{
        font-size:8px;
    }

    .kv17-election-clock strong{
        font-size:8px;
    }

    .kv17-hero{
        padding-top:12px;
    }

    .kv17-hero-copy h1{
        font-size:43px;
    }

    .kv17-featured-candidate-grid{
        grid-template-columns:1fr;
    }

    .kv17-featured-candidate{
        border-right:0;
        border-bottom:1px solid #e6e9e7;
    }

    .kv17-result-meta{
        display:none;
    }

    .kv17-featured-footer{
        align-items:flex-start;
        flex-direction:column;
    }

    .kv17-explorer-controls{
        grid-template-columns:1fr 1fr;
    }

    .kv17-news-grid,
    .kv17-stat-board{
        grid-template-columns:1fr;
    }

    .kv17-subscribe-form{
        grid-template-columns:1fr;
    }

    .kv17-subscribe-form .btn{
        width:100%;
    }
}

/* =========================================================
   PHASE 18 — COMPLETE DECISION INTELLIGENCE SUITE
========================================================= */
.kv18-head{background:linear-gradient(180deg,#fff,#f7faf8);border-bottom:1px solid #e1e7e3}.kv18-head h1{max-width:980px;font-size:clamp(36px,5vw,64px);letter-spacing:-.045em}.kv18-tool-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.kv18-tool-card{min-height:230px;display:flex;flex-direction:column;padding:20px;border:1px solid #dfe5e1;border-radius:14px;background:#fff;color:inherit;text-decoration:none;transition:.18s}.kv18-tool-card:hover{transform:translateY(-3px);box-shadow:0 16px 40px rgba(0,70,40,.07);border-color:#bdd4c5}.kv18-tool-card h2{margin:28px 0 8px;font-size:21px}.kv18-tool-card p{color:#6f777f;line-height:1.55}.kv18-tool-card strong{margin-top:auto;color:#08723f;font-size:12px}.kv18-metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:16px}.kv18-metric-grid>div{padding:18px;border:1px solid #dfe5e1;border-radius:12px;background:#fff}.kv18-metric-grid span,.kv18-metric-grid strong{display:block}.kv18-metric-grid span{font-size:10px;color:#727b83;text-transform:uppercase;font-weight:800}.kv18-metric-grid strong{margin-top:14px;font-size:28px}.kv18-two-col{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}.kv18-panel{padding:20px;border:1px solid #dfe5e1;border-radius:14px;background:#fff}.kv18-panel h2{margin:6px 0 16px;font-size:25px}.kv18-history{padding:15px 0;border-top:1px solid #e7ebe8}.kv18-history h3{margin:7px 0 2px}.kv18-history p,.kv18-history small{color:#6f777f}.kv18-compact-list{display:grid}.kv18-compact-list>a,.kv18-compact-list>div{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-top:1px solid #e7ebe8;color:inherit;text-decoration:none}.kv18-compact-list span{color:#737c84;font-size:11px}.kv18-chip-list{display:flex;flex-wrap:wrap;gap:7px}.kv18-chip-list span{padding:7px 9px;border:1px solid #dfe5e1;border-radius:999px;background:#f8faf9;font-size:11px}.kv18-evidence{padding:15px 0;border-top:1px solid #e7ebe8}.kv18-evidence h3{margin:8px 0}.kv18-trust{display:inline-flex;padding:4px 7px;border-radius:999px;font-size:9px;font-weight:900;text-transform:uppercase;border:1px solid #dce3df}.kv18-trust.official{background:#0a5c38;color:#fff;border-color:#0a5c38}.kv18-trust.verified{background:#e9f7ef;color:#075d36}.kv18-trust.candidate{background:#f3f4f5;color:#4c5359}.kv18-trust.media{background:#eef4fb;color:#275d9d}.kv18-trust.unconfirmed{background:#fff8e7;color:#765700}.kv18-record-grid,.kv18-answer-grid,.kv18-compare-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.kv18-record-grid>article,.kv18-answer-grid>article,.kv18-compare-card{padding:18px;border:1px solid #dfe5e1;border-radius:12px;background:#fff}.kv18-compare-card h2 a{color:inherit;text-decoration:none}.kv18-compare-card h3{margin-top:20px;font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:#6f777f}.kv18-filter-form,.kv18-question-form,.kv18-watch-form{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.kv18-filter-form select,.kv18-filter-form input,.kv18-question-form select,.kv18-question-form input,.kv18-watch-form input,.kv18-watch-form select{min-height:44px;padding:0 10px;border:1px solid #dce2de;border-radius:6px;background:#fff}.kv18-question-form textarea{width:100%;min-height:100px;padding:10px;border:1px solid #dce2de;border-radius:6px}.kv18-result-row{display:grid;grid-template-columns:1fr auto;gap:20px;padding:12px 0;border-top:1px solid #e7ebe8}.kv18-result-row span{display:block;color:#747d85;font-size:11px}.kv18-poll-series{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.kv18-poll-series article{padding:20px;border:1px solid #dfe5e1;border-radius:14px}.kv18-poll-point{display:grid;grid-template-columns:90px 1fr 55px 120px;gap:10px;align-items:center;padding:9px 0;border-top:1px solid #e7ebe8}.kv18-poll-point>div{height:7px;background:#edf0ee;overflow:hidden;border-radius:99px}.kv18-poll-point i{display:block;height:100%;background:#08723f}.kv18-poll-point small{color:#737c84}.kv18-timeline{display:grid}.kv18-timeline>article{display:grid;grid-template-columns:180px 1fr;gap:25px;padding:20px 0;border-top:1px solid #e2e7e4}.kv18-timeline time{font-weight:900;color:#08723f}.kv18-inline-form{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.kv18-inline-form input,.kv18-inline-form select{min-height:38px;border:1px solid #dce2de;border-radius:5px;padding:0 8px}.kv18-ask{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:20px}.kv18-ask textarea{min-height:100px;padding:12px;border:1px solid #dce2de;border-radius:8px}.kv18-ai-answer{padding:24px;border:1px solid #b9d9c5;border-radius:14px;background:#f1faf5}.kv18-ai-answer p{font-size:17px;line-height:1.7}.kv18-source-list{display:grid;margin-top:14px}.kv18-source-list article{display:grid;grid-template-columns:44px 1fr;gap:12px;padding:14px 0;border-top:1px solid #e4e9e6}.kv18-source-list>article>span{font-weight:900;color:#08723f}.kv18-question-list>article{display:grid;grid-template-columns:110px 1fr;gap:20px;padding:20px 0;border-top:1px solid #e1e7e3}.kv18-votes{display:grid;gap:4px;align-content:start}.kv18-votes strong{font-size:30px}.kv18-votes span{color:#737c84;font-size:10px}.kv18-response{margin-top:10px;padding:12px;background:#f7f9f8;border-radius:8px}.kv18-live-head{background:#071c14;color:#fff}.kv18-live-head .muted{color:#b7c7bf}.kv18-live-status{display:flex;align-items:center;gap:7px;font-weight:900;font-size:10px;color:#5ee69a}.kv18-live-status span{width:8px;height:8px;border-radius:50%;background:#35dc80;box-shadow:0 0 0 5px rgba(53,220,128,.12)}.kv18-live-meta{display:flex;gap:20px;flex-wrap:wrap;margin-bottom:12px;color:#69727a;font-size:11px}.kv18-live-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.kv18-live-grid article{padding:16px;border:1px solid #dfe5e1;border-radius:12px}.kv18-live-grid article>div:first-child{display:grid;grid-template-columns:28px 1fr}.kv18-live-grid small,.kv18-live-grid span{color:#727b83;font-size:10px}.kv18-live-grid footer{display:flex;justify-content:space-between;gap:10px;margin-top:12px;padding-top:10px;border-top:1px solid #e7ebe8}.kv18-rank{grid-row:1/3}.kv18-review{padding:12px 0;border-top:1px solid #e3e8e5}.kv18-review p{color:#6f777f}.kv18-review select{min-height:36px;margin-right:6px}
@media(max-width:1050px){.kv18-tool-grid{grid-template-columns:repeat(3,1fr)}.kv18-record-grid,.kv18-answer-grid,.kv18-compare-cards,.kv18-live-grid{grid-template-columns:1fr 1fr}.kv18-metric-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.kv18-tool-grid,.kv18-two-col,.kv18-record-grid,.kv18-answer-grid,.kv18-compare-cards,.kv18-poll-series,.kv18-live-grid{grid-template-columns:1fr}.kv18-question-list>article,.kv18-timeline>article{grid-template-columns:1fr}.kv18-poll-point{grid-template-columns:70px 1fr 50px}.kv18-poll-point small{grid-column:2/-1}.kv18-ask{grid-template-columns:1fr}.kv18-metric-grid{grid-template-columns:1fr 1fr}}


/* =========================================================
   PHASE 19 — DECISION-FIRST HOMEPAGE
========================================================= */

:root{
    --kv19-green:#08713f;
    --kv19-green-dark:#064d2e;
    --kv19-green-soft:#edf8f2;
    --kv19-black:#111817;
    --kv19-muted:#6d7673;
    --kv19-line:#dde4e0;
    --kv19-soft:#f7f9f8;
    --kv19-blue:#2f6fca;
    --kv19-purple:#6b52a5;
    --kv19-orange:#b06a17;
}

.kv19-primary-nav{
    gap:3px;
}

.kv19-primary-nav > a:not(.btn){
    font-size:11px;
    font-weight:700;
}

.kv19-hero{
    padding:46px 0 34px;
    background:
        radial-gradient(
            circle at 82% 20%,
            rgba(8,113,63,.08),
            transparent 32%
        ),
        linear-gradient(
            180deg,
            #fff,
            #f8faf9
        );
    border-bottom:1px solid var(--kv19-line);
}

.kv19-hero-grid{
    display:grid;
    grid-template-columns:minmax(0,1.1fr) minmax(410px,.75fr);
    gap:70px;
    align-items:center;
}

.kv19-kicker{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-bottom:18px;
    color:var(--kv19-green);
    font-size:11px;
    font-weight:900;
    letter-spacing:.08em;
}

.kv19-kicker:before{
    content:"";
    width:9px;
    height:9px;
    border-radius:50%;
    background:var(--kv19-green);
}

.kv19-hero h1{
    margin:0;
    max-width:820px;
    font-family:Georgia,serif;
    font-size:clamp(58px,6vw,88px);
    line-height:.96;
    letter-spacing:-.055em;
}

.kv19-hero h1 span{
    color:var(--kv19-green);
}

.kv19-hero-copy > p{
    max-width:760px;
    margin:24px 0 0;
    color:var(--kv19-muted);
    font-size:17px;
    line-height:1.75;
}

.kv19-hero-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-top:28px;
}

.kv19-primary-btn{
    background:var(--kv19-green)!important;
    color:#fff!important;
    border-color:var(--kv19-green)!important;
}

.kv19-proof-strip{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
    margin-top:26px;
    padding-top:20px;
    border-top:1px solid var(--kv19-line);
}

.kv19-proof-strip span{
    color:#7a837f;
    font-size:11px;
}

.kv19-proof-strip strong{
    margin-right:4px;
    color:#151b19;
    font-size:14px;
}

.kv19-hero-tool{
    padding:26px;
    border:1px solid #cfdad3;
    border-radius:18px;
    background:#fff;
    box-shadow:
        0 24px 70px
        rgba(0,65,37,.08);
}

.kv19-tool-header{
    display:flex;
    flex-direction:column;
    gap:5px;
    margin-bottom:20px;
}

.kv19-tool-header span{
    color:var(--kv19-green);
    font-size:10px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.kv19-tool-header strong{
    font-family:Georgia,serif;
    font-size:32px;
    letter-spacing:-.03em;
}

.kv19-ballot-form{
    display:grid;
    gap:8px;
}

.kv19-ballot-form label{
    margin-top:5px;
    color:#5d6763;
    font-size:10px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.05em;
}

.kv19-ballot-form select{
    width:100%;
    min-height:49px;
    padding:0 12px;
    border:1px solid var(--kv19-line);
    border-radius:7px;
    background:#fff;
    font-size:13px;
}

.kv19-ballot-form .btn{
    width:100%;
    min-height:50px;
    margin-top:8px;
}

.kv19-tool-note{
    margin:15px 0 0;
    color:#7b8581;
    font-size:10px;
    line-height:1.55;
}

.kv19-core-tools{
    padding:70px 0;
}

.kv19-section-heading{
    display:flex;
    justify-content:space-between;
    gap:30px;
    align-items:flex-end;
    margin-bottom:25px;
}

.kv19-section-heading h2{
    max-width:760px;
    margin:6px 0 0;
    font-family:Georgia,serif;
    font-size:clamp(32px,4vw,52px);
    line-height:1.04;
    letter-spacing:-.04em;
}

.kv19-core-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:12px;
}

.kv19-core-card{
    min-height:350px;
    display:flex;
    flex-direction:column;
    padding:24px;
    border:1px solid var(--kv19-line);
    border-radius:15px;
    background:#fff;
    color:inherit;
    text-decoration:none;
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

.kv19-core-card:hover{
    transform:translateY(-4px);
    box-shadow:
        0 20px 50px
        rgba(0,50,30,.07);
    border-color:#b7cdc0;
}

.kv19-card-number{
    color:#a0aaa5;
    font-size:10px;
    font-weight:900;
}

.kv19-card-icon{
    width:46px;
    height:46px;
    display:grid;
    place-items:center;
    margin-top:35px;
    border-radius:11px;
    background:var(--kv19-green-soft);
    color:var(--kv19-green);
    font-size:22px;
    font-weight:900;
}

.kv19-core-card.manifesto .kv19-card-icon{
    background:#f1f4fb;
    color:var(--kv19-blue);
}

.kv19-core-card.local .kv19-card-icon{
    background:#fff6eb;
    color:var(--kv19-orange);
}

.kv19-core-card.ai .kv19-card-icon{
    background:#f3eefb;
    color:var(--kv19-purple);
}

.kv19-core-card h3{
    margin:22px 0 9px;
    font-size:23px;
    letter-spacing:-.025em;
}

.kv19-core-card p{
    color:var(--kv19-muted);
    line-height:1.6;
}

.kv19-core-card strong{
    margin-top:auto;
    padding-top:20px;
    color:var(--kv19-green);
    font-size:12px;
}

.kv19-compare-now{
    padding:75px 0;
    background:#0c2118;
    color:#fff;
}

.kv19-compare-layout{
    display:grid;
    grid-template-columns:.8fr 1.2fr;
    gap:70px;
    align-items:center;
}

.kv19-compare-copy .eyebrow{
    color:#6de0a1;
}

.kv19-compare-copy h2{
    margin:8px 0 18px;
    font-family:Georgia,serif;
    font-size:clamp(40px,4vw,58px);
    line-height:1.02;
    letter-spacing:-.04em;
}

.kv19-compare-copy p{
    max-width:590px;
    color:#bdcbc4;
    line-height:1.75;
}

.kv19-candidate-preview{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
}

.kv19-person{
    display:grid;
    grid-template-columns:72px 1fr;
    gap:13px;
    align-items:center;
    min-height:110px;
    padding:14px;
    border:1px solid rgba(255,255,255,.12);
    border-radius:12px;
    background:rgba(255,255,255,.06);
    color:#fff;
    text-decoration:none;
}

.kv19-person-photo{
    width:72px;
    height:78px;
    display:grid;
    place-items:center;
    overflow:hidden;
    border-radius:9px;
    background:rgba(255,255,255,.1);
    font-size:24px;
    font-weight:900;
}

.kv19-person-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.kv19-person small,
.kv19-person strong,
.kv19-person span{
    display:block;
}

.kv19-person small{
    color:#7ed9a8;
    font-size:9px;
    text-transform:uppercase;
}

.kv19-person strong{
    margin:4px 0 2px;
    font-size:14px;
}

.kv19-person span{
    color:#b6c5be;
    font-size:10px;
}

.kv19-issues-section{
    padding:75px 0;
    background:#fff;
}

.kv19-issue-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:10px;
}

.kv19-issue-card{
    min-height:180px;
    display:flex;
    flex-direction:column;
    padding:18px;
    border:1px solid var(--kv19-line);
    border-radius:12px;
    background:#fff;
    color:inherit;
    text-decoration:none;
}

.kv19-issue-card > span{
    color:#7c8580;
    font-size:9px;
    text-transform:uppercase;
    font-weight:900;
}

.kv19-issue-card h3{
    margin:20px 0 7px;
    font-size:18px;
}

.kv19-issue-card p{
    margin:0;
    color:#7a837f;
    font-size:11px;
}

.kv19-issue-card strong{
    margin-top:auto;
    color:var(--kv19-green);
    font-size:11px;
}

.kv19-local-section{
    padding:75px 0;
    background:#f5f8f6;
    border-top:1px solid var(--kv19-line);
    border-bottom:1px solid var(--kv19-line);
}

.kv19-local-grid{
    display:grid;
    grid-template-columns:1.25fr .75fr;
    gap:50px;
    align-items:center;
}

.kv19-local-main h2{
    max-width:780px;
    margin:7px 0 17px;
    font-family:Georgia,serif;
    font-size:clamp(38px,4vw,58px);
    line-height:1.02;
    letter-spacing:-.04em;
}

.kv19-local-main p{
    max-width:760px;
    color:var(--kv19-muted);
    font-size:15px;
    line-height:1.75;
}

.kv19-local-actions{
    display:flex;
    gap:9px;
    flex-wrap:wrap;
    margin-top:22px;
}

.kv19-local-side{
    padding:28px;
    border:1px solid #cbd8d1;
    border-radius:15px;
    background:#fff;
}

.kv19-side-label{
    color:var(--kv19-green);
    font-size:10px;
    font-weight:900;
    letter-spacing:.08em;
}

.kv19-local-side h3{
    margin:15px 0 9px;
    font-size:27px;
    line-height:1.1;
}

.kv19-local-side p{
    color:var(--kv19-muted);
    line-height:1.65;
}

.kv19-ai-section{
    padding:80px 0;
    background:#fff;
}

.kv19-ai-layout{
    display:grid;
    grid-template-columns:1fr .85fr;
    gap:65px;
    align-items:center;
}

.kv19-ai-window{
    border:1px solid #d3dcd7;
    border-radius:16px;
    overflow:hidden;
    background:#fff;
    box-shadow:
        0 25px 70px
        rgba(0,55,34,.08);
}

.kv19-ai-bar{
    display:flex;
    justify-content:space-between;
    padding:14px 17px;
    border-bottom:1px solid var(--kv19-line);
    background:#f8faf9;
}

.kv19-ai-bar span{
    font-weight:900;
}

.kv19-ai-bar em{
    color:var(--kv19-green);
    font-size:10px;
    font-style:normal;
    font-weight:900;
    text-transform:uppercase;
}

.kv19-ai-question{
    margin:22px;
    padding:16px 18px;
    border-radius:10px;
    background:#eef8f2;
    font-weight:800;
    line-height:1.55;
}

.kv19-ai-answer-preview{
    display:grid;
    grid-template-columns:40px 1fr;
    gap:12px;
    margin:22px;
    padding-top:20px;
    border-top:1px solid var(--kv19-line);
}

.kv19-ai-mark{
    width:36px;
    height:36px;
    display:grid;
    place-items:center;
    border-radius:10px;
    background:#f1edf9;
    color:var(--kv19-purple);
    font-size:19px;
}

.kv19-ai-answer-preview p{
    color:var(--kv19-muted);
    line-height:1.65;
}

.kv19-ai-copy h2{
    margin:7px 0 15px;
    font-family:Georgia,serif;
    font-size:clamp(40px,4vw,58px);
    line-height:1.03;
    letter-spacing:-.04em;
}

.kv19-ai-copy > p{
    color:var(--kv19-muted);
    line-height:1.7;
}

.kv19-ai-form{
    display:grid;
    grid-template-columns:1fr auto;
    margin-top:20px;
    border:1px solid var(--kv19-line);
    border-radius:8px;
    overflow:hidden;
}

.kv19-ai-form input{
    min-width:0;
    min-height:50px;
    padding:0 12px;
    border:0;
    outline:0;
}

.kv19-ai-form .btn{
    border-radius:0;
}

.kv19-important{
    padding:75px 0;
    background:#f7f9f8;
    border-top:1px solid var(--kv19-line);
}

.kv19-important-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
}

.kv19-important-grid > a{
    min-height:210px;
    padding:20px;
    border:1px solid var(--kv19-line);
    border-radius:12px;
    background:#fff;
    color:inherit;
    text-decoration:none;
}

.kv19-important-grid > a > span{
    color:var(--kv19-green);
    font-size:9px;
    font-weight:900;
    text-transform:uppercase;
}

.kv19-important-grid h3{
    margin:24px 0 8px;
    font-size:20px;
}

.kv19-important-grid p{
    color:var(--kv19-muted);
    line-height:1.6;
}

.kv19-latest{
    padding:75px 0;
}

.kv19-latest-grid{
    display:grid;
    grid-template-columns:1.25fr .75fr;
    gap:20px;
}

.kv19-update-list{
    display:grid;
}

.kv19-update-list article{
    display:grid;
    grid-template-columns:100px 1fr;
    gap:18px;
    padding:17px 0;
    border-top:1px solid var(--kv19-line);
}

.kv19-update-list article > span{
    color:var(--kv19-green);
    font-size:9px;
    font-weight:900;
}

.kv19-update-list h3{
    margin:0 0 5px;
    font-size:18px;
}

.kv19-update-list p,
.kv19-update-list small{
    color:var(--kv19-muted);
}

.kv19-data-card{
    padding:25px;
    border:1px solid var(--kv19-line);
    border-radius:14px;
    background:#0c2118;
    color:#fff;
}

.kv19-data-card h2{
    margin:7px 0 20px;
    font-family:Georgia,serif;
    font-size:32px;
}

.kv19-data-stats{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    margin-bottom:20px;
}

.kv19-data-stats div{
    padding:14px;
    border:1px solid rgba(255,255,255,.12);
    border-radius:9px;
    background:rgba(255,255,255,.06);
}

.kv19-data-stats strong,
.kv19-data-stats span{
    display:block;
}

.kv19-data-stats strong{
    font-size:23px;
}

.kv19-data-stats span{
    margin-top:2px;
    color:#b7c5be;
    font-size:10px;
}

.kv19-data-card .btn-outline{
    color:#fff;
    border-color:rgba(255,255,255,.35);
}

.kv19-final-cta{
    padding:28px 0 50px;
}

.kv19-final-inner{
    display:flex;
    justify-content:space-between;
    gap:25px;
    align-items:center;
    padding:30px;
    border:1px solid #c8d8cf;
    border-radius:16px;
    background:
        linear-gradient(
            135deg,
            #eef9f3,
            #fbfdfc
        );
}

.kv19-final-inner h2{
    max-width:800px;
    margin:7px 0 0;
    font-size:30px;
    letter-spacing:-.03em;
}

.kv19-final-inner > div:last-child{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
}

@media(max-width:1100px){

    .kv19-hero-grid,
    .kv19-compare-layout,
    .kv19-local-grid,
    .kv19-ai-layout,
    .kv19-latest-grid{
        grid-template-columns:1fr;
    }

    .kv19-core-grid,
    .kv19-issue-grid{
        grid-template-columns:1fr 1fr;
    }

    .kv19-important-grid{
        grid-template-columns:1fr 1fr;
    }

    .kv19-hero h1{
        font-size:68px;
    }
}

@media(max-width:700px){

    .kv19-hero{
        padding-top:28px;
    }

    .kv19-hero h1{
        font-size:48px;
    }

    .kv19-core-grid,
    .kv19-issue-grid,
    .kv19-important-grid,
    .kv19-candidate-preview{
        grid-template-columns:1fr;
    }

    .kv19-section-heading,
    .kv19-final-inner{
        align-items:flex-start;
        flex-direction:column;
    }

    .kv19-ai-form{
        grid-template-columns:1fr;
    }

    .kv19-update-list article{
        grid-template-columns:1fr;
        gap:6px;
    }

    .kv19-data-stats{
        grid-template-columns:1fr 1fr;
    }
}
