@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("/assets/fonts/inter-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --bg: #F4F7FC;
    --surface: #FFFFFF;
    --surface-secondary: #EEF2F8;
    --text: #101828;
    --text-secondary: #475467;
    --text-muted: #667085;
    --primary: #174EA6;
    --primary-light: #E8F0FE;
    --accent: #F5C242;
    --success: #16865C;
    --danger: #C73E4D;
    --warning: #D98E04;
    --border: rgba(16, 24, 40, 0.08);
    --glass: rgba(255, 255, 255, 0.64);
    --glass-strong: rgba(255, 255, 255, 0.82);
    --glass-border: rgba(255, 255, 255, 0.72);
    --shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 12px 32px rgba(23, 78, 166, 0.06);
    --radius: 20px;
    --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    background-color: var(--bg);
    background-image:
        radial-gradient(ellipse 70% 42% at 8% -8%, rgba(23, 78, 166, 0.11), transparent 58%),
        radial-gradient(ellipse 46% 36% at 96% 0%, rgba(245, 194, 66, 0.14), transparent 52%);
    background-attachment: fixed;
    color: var(--text);
    line-height: 1.5;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link { position: absolute; left: -999px; top: 0; }
.skip-link:focus {
    left: 1rem; top: 1rem; z-index: 20;
    background: #fff; padding: .5rem 1rem; border-radius: 10px; box-shadow: var(--shadow);
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

@supports not ((-webkit-backdrop-filter: blur(18px)) or (backdrop-filter: blur(18px))) {
    .site-header, .metric-card, .mep-card, .chart-card, .compare-card, .table-wrap, .notice, .filters, .feed-item, .profile-hero, .section-nav, .news-card,
    .news-item-card, .news-event-card, .news-section.is-opinion {
        background: #fff;
    }
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 8;
    background: var(--glass-strong);
    -webkit-backdrop-filter: blur(22px) saturate(1.25);
    backdrop-filter: blur(22px) saturate(1.25);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    align-items: center;
    padding: .9rem 1.25rem;
    position: relative;
    flex-wrap: wrap;
}
.brand { text-decoration: none; color: inherit; display: flex; align-items: center; gap: .6rem; min-width: 0; }
.brand-mark { flex: 0 0 auto; display: block; border-radius: 8px; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand strong { font-size: 1.02rem; letter-spacing: 0; }
.brand-text span { color: var(--text-secondary); font-size: .82rem; }

.publisher {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    flex-shrink: 0;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: .78rem;
    line-height: 1.2;
    padding-left: .75rem;
    border-left: 1px solid var(--border);
}
.publisher img {
    height: 32px;
    width: auto;
    display: block;
}
.publisher span { max-width: 7.5rem; }

.nav-open { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nav-toggle {
    display: none;
    width: 42px; height: 42px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fff;
    cursor: pointer;
    position: relative;
}
.nav-toggle::before, .nav-toggle::after {
    content: "";
    position: absolute;
    left: 12px; right: 12px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
}
.nav-toggle::before { top: 15px; box-shadow: 0 6px 0 var(--text); }
.nav-toggle::after { bottom: 15px; }

.site-nav { display: flex; gap: .25rem; flex-wrap: wrap; margin-left: auto; }
.site-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: .45rem .8rem;
    border-radius: 999px;
    font-weight: 600;
}
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a[aria-current="page"] {
    color: var(--primary);
    background: var(--primary-light);
}

main.wrap { padding-top: 2.25rem; padding-bottom: 4rem; min-height: 62vh; }

h1 {
    font-size: clamp(2rem, 4.2vw, 3.15rem);
    margin: 0 0 .8rem;
    letter-spacing: -.035em;
    line-height: 1.12;
    color: #0b1b3a;
}
h2 { font-size: 1.2rem; margin: 0 0 .75rem; letter-spacing: -.02em; }
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin: 2.4rem 0 1rem;
}
.section-head h2 { margin: 0; }
.section-head a { color: var(--primary); text-decoration: none; font-weight: 600; }
.lede { color: var(--text-secondary); max-width: 40rem; font-size: 1.05rem; }
.kicker {
    color: var(--primary);
    font-size: .78rem;
    font-weight: 650;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin: 0 0 .55rem;
}

.hero {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 1.75rem;
    align-items: stretch;
    margin-bottom: 1.75rem;
}
.hero-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: .75rem; }
.sync-line { color: var(--text-muted); font-size: .88rem; margin: 1rem 0 0; }

.metric-card, .mep-card, .chart-card, .compare-card, .notice, .feed-item {
    background: var(--glass);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    backdrop-filter: blur(18px) saturate(1.2);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.15rem 1.2rem;
}
.metric-card .label, .mep-card .meta {
    color: var(--text-muted);
    font-size: .75rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-weight: 600;
}
.metric-card .value {
    font-size: clamp(1.7rem, 3.4vw, 2.55rem);
    font-weight: 720;
    line-height: 1.05;
    margin: .4rem 0 .2rem;
    font-variant-numeric: tabular-nums lining-nums;
    letter-spacing: -.03em;
    color: #0b1b3a;
}
.metric-card .hint { color: var(--text-secondary); font-size: .88rem; }

/* Karta s číslom je preklik na zoznam, z ktorého číslo pochádza. */
.metric-card.is-linked { padding: 0; }
.metric-link {
    display: block;
    padding: 1.15rem 1.2rem;
    color: inherit;
    text-decoration: none;
    border-radius: var(--radius);
}
.metric-link .label,
.metric-link .value,
.metric-link .hint,
.metric-link .metric-cta { display: block; }
.metric-cta {
    margin-top: .55rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--primary);
}
.metric-cta::after { content: " →"; }
.metric-link:hover .metric-cta,
.metric-link:focus-visible .metric-cta { text-decoration: underline; }
.metric-card.is-linked:hover { box-shadow: 0 12px 32px rgba(11, 27, 58, .14); }
.metric-card.is-linked .how { padding: 0 1.2rem 1.15rem; margin-top: -.35rem; }
.how { margin-top: .55rem; font-size: .82rem; color: var(--text-secondary); }
.how summary { cursor: pointer; font-weight: 600; color: var(--primary); }
.how p { margin: .35rem 0 0; }

.chart-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) 220px;
    gap: 1rem;
}
.chart-card .lede { font-size: .95rem; margin: 0 0 1rem; }
.chart-frame { position: relative; height: 240px; }
.chart-side { display: grid; gap: .75rem; }
.chart-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(220px, .7fr);
    gap: 1rem;
    margin-top: 1.25rem;
}
.chart-grid .chart-frame { height: 220px; }

.pies-intro { margin: -.25rem 0 1rem; color: var(--text-secondary); }
.pie-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.pie-card h3 { margin: 0 0 .35rem; font-size: 1.15rem; }
.pie-lead {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .35rem .6rem;
    margin: 0 0 .75rem;
    font-size: .95rem;
}
.pie-lead a { font-weight: 700; }
.pie-lead strong {
    font-size: 1.45rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.03em;
    color: #0b1b3a;
}
.pie-lead span { color: var(--text-secondary); }
.pie-frame { height: 220px; }
canvas.is-clickable { cursor: pointer; }
.pie-ranking {
    list-style: none;
    margin: .85rem 0 0;
    padding: 0;
    display: grid;
    gap: .35rem;
}
.pie-ranking li {
    display: grid;
    grid-template-columns: 1.25rem .7rem 1fr auto;
    align-items: center;
    gap: .45rem;
    font-size: .9rem;
}
.pie-rank {
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    font-weight: 650;
}
.pie-dot {
    width: .7rem;
    height: .7rem;
    border-radius: 50%;
}
.pie-n {
    font-variant-numeric: tabular-nums;
    font-weight: 650;
    color: #0b1b3a;
}
.pie-dot-0 { background: #174EA6; }
.pie-dot-1 { background: #C73E4D; }
.pie-dot-2 { background: #16865C; }
.pie-dot-3 { background: #D98E04; }
.pie-dot-4 { background: #6B4C9A; }
.pie-dot-5 { background: #0E7C8B; }
.pie-dot-6 { background: #B42318; }
.pie-dot-7 { background: #3B6D11; }
.pie-dot-8 { background: #C2410C; }
.pie-dot-9 { background: #1D4ED8; }
.pie-dot-10 { background: #BE185D; }
.pie-dot-11 { background: #0F766E; }
.pie-dot-12 { background: #854D0E; }
.pie-dot-13 { background: #4C1D95; }
.pie-dot-14 { background: #334155; }

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1rem;
}
.mep-card {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: .85rem;
    color: inherit;
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.mep-card:hover, .mep-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(23, 78, 166, 0.22);
    box-shadow: 0 16px 36px rgba(23, 78, 166, 0.1);
}
.mep-card .avatar { grid-row: 1 / 3; margin: 0; }
.mep-card h2 { margin: 0; font-size: 1.05rem; }
.mep-card .meta { margin: .15rem 0 0; }
.mep-card .card-foot {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: .75rem;
    margin-top: .85rem;
}
.card-stat {
    font-size: 1.35rem;
    font-weight: 720;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.03em;
    line-height: 1;
}
.card-stat small {
    display: block;
    margin-top: .25rem;
    color: var(--text-muted);
    font-size: .72rem;
    font-weight: 650;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.sparkline { color: var(--primary); display: block; }

.avatar {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--primary-light); color: var(--primary);
    display: grid; place-items: center; font-weight: 700;
    overflow: hidden; flex-shrink: 0; padding: 0;
}
img.avatar {
    object-fit: cover;
    object-position: center 18%;
    display: block;
    background: var(--surface-secondary);
}
.avatar-profile { width: 96px; height: 96px; font-size: 1.55rem; }
.avatar-compare { width: 56px; height: 56px; }

.badge {
    display: inline-flex; align-items: center; gap: .3rem;
    border-radius: 999px; padding: .18rem .6rem; font-size: .78rem; font-weight: 650;
}
.badge-for { background: #e8f6ef; color: var(--success); }
.badge-against { background: #fdecee; color: var(--danger); }
.badge-abstain { background: #fff6e5; color: var(--warning); }
.badge-other, .badge-missing { background: var(--surface-secondary); color: var(--text-secondary); }

.table-wrap {
    overflow-x: auto;
    background: var(--glass);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    backdrop-filter: blur(18px) saturate(1.2);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: .75rem .9rem; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--text-muted); font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }
td a { color: var(--text); text-decoration: none; font-weight: 550; }
td a:hover, td a:focus-visible { color: var(--primary); text-decoration: underline; }

.feed { display: grid; gap: .55rem; }
.feed-item {
    display: grid;
    grid-template-columns: 6.5rem minmax(0, 1fr) auto;
    gap: .8rem;
    align-items: center;
    padding: .85rem 1rem;
    text-decoration: none;
    color: inherit;
    border-radius: 16px;
}
.feed-item:hover, .feed-item:focus-visible { border-color: rgba(23, 78, 166, 0.2); }
.feed-item time { color: var(--text-muted); font-size: .86rem; font-variant-numeric: tabular-nums; }
.feed-item strong { display: block; font-size: .95rem; }
.feed-item span { color: var(--text-secondary); font-size: .88rem; }

.filters {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
    margin: 1rem 0;
    padding: .75rem;
    border-radius: 16px;
    background: var(--glass);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
}
.filters input, .filters select, .filters button {
    font: inherit; padding: .5rem .7rem; border: 1px solid var(--border); border-radius: 10px; background: #fff;
}
.filters button { background: var(--primary); color: #fff; border: 0; cursor: pointer; font-weight: 600; }
.filters button:hover, .filters button:focus-visible { filter: brightness(1.05); }

.section-nav {
    position: sticky; top: 64px; z-index: 2;
    background: var(--glass-strong);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    padding: .55rem;
    margin: 0 0 1.25rem;
    display: flex; gap: .35rem; flex-wrap: wrap;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    box-shadow: var(--shadow);
}
.section-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: .35rem .75rem;
    border-radius: 999px;
}
.section-nav a:hover, .section-nav a:focus-visible, .section-nav a[aria-current="page"] {
    color: var(--primary);
    background: var(--primary-light);
}

.source { color: var(--text-muted); font-size: .85rem; }
.meta { color: var(--text-secondary); font-size: .92rem; margin: 0 0 1.1rem; }
.empty {
    padding: 1.1rem 1.2rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

.pair-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .85rem; }
.pair-card { text-decoration: none; color: inherit; display: block; }
.pair-card .value { font-size: 1.8rem; font-weight: 720; letter-spacing: -.03em; margin: .35rem 0; }
.pair-card p { margin: 0; color: var(--text-secondary); }

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: .85rem;
}
.news-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    min-height: 100%;
}
.news-card img {
    width: 100%;
    height: 132px;
    object-fit: cover;
    background: var(--surface-secondary);
    display: block;
}
.news-card h3 {
    margin: .85rem 1rem .35rem;
    font-size: .98rem;
    line-height: 1.3;
}
.news-card p {
    margin: 0 1rem 1rem;
    color: var(--text-secondary);
    font-size: .86rem;
    line-height: 1.4;
}
.news-card:hover, .news-card:focus-visible {
    border-color: rgba(23, 78, 166, 0.22);
}

.heatmap { overflow-x: auto; }
.heatmap table { font-size: .8rem; }
.heatmap td, .heatmap th { min-width: 2.8rem; text-align: center; }
.heatmap a { display: grid; place-items: center; min-height: 44px; padding: .4rem; text-decoration: none; color: inherit; }
.heat-na { background: var(--surface-secondary); color: var(--text-muted); }
.heat-0 { background: #f2f4f7; }
.heat-1 { background: #e8edf5; }
.heat-2 { background: #dbe7f8; }
.heat-3 { background: #c5daf4; }
.heat-4 { background: #a8c8ee; }
.heat-5 { background: #86b4e6; }
.heat-6 { background: #5a96d4; color: #fff; }
.heat-7 { background: #3b7fc4; color: #fff; }
.heat-8 { background: #2a6b9e; color: #fff; }
.heat-9 { background: #1c7a56; color: #fff; }
.heat-10 { background: #16865c; color: #fff; }

.pagination { display: flex; gap: .5rem; margin-top: 1rem; align-items: center; }
.pagination a { color: var(--primary); }

.site-footer {
    border-top: 1px solid var(--border);
    padding: 2.2rem 0 2.6rem;
    color: var(--text-secondary);
    font-size: .92rem;
    background: rgba(255,255,255,.35);
}
.site-footer a { color: var(--primary); }

.profile-hero {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1.2rem 1.3rem;
    border-radius: var(--radius);
    background: var(--glass);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    backdrop-filter: blur(18px) saturate(1.2);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
}
.profile-hero .avatar { width: 96px; height: 96px; font-size: 1.55rem; }
.profile-hero p { margin: .15rem 0; color: var(--text-secondary); }
.body-section { margin: 0 0 1.5rem; }
.body-section h2 { margin: 0 0 .85rem; font-size: 1.15rem; }
.body-section h3 {
    margin: 1rem 0 .4rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.body-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.body-list li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .45rem .7rem;
    padding: .45rem .7rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}
.body-code {
    font-weight: 750;
    font-variant-numeric: tabular-nums;
    color: var(--primary);
    min-width: 3.4rem;
}
.metrics-6 { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .75rem; }
.metrics-6.spaced { margin-top: 1.25rem; }

.compare-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: start; }
.compare-vs { align-self: center; color: var(--text-muted); font-weight: 700; }
.compare-head { display: flex; gap: .85rem; align-items: center; margin-bottom: .35rem; }
.compare-head h2 { margin: 0; font-size: 1.15rem; }
.compare-head p { margin: .15rem 0 0; }
.speech-list { display: grid; gap: .75rem; }
.speech-card {
    background: var(--glass);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    backdrop-filter: blur(18px) saturate(1.2);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.05rem 1.2rem;
}
.speech-links { display: flex; flex-wrap: wrap; gap: .75rem 1.1rem; margin: 0; }
.speech-links a { color: var(--primary); font-weight: 600; text-decoration: none; }
.speech-links a:hover, .speech-links a:focus-visible { text-decoration: underline; }
.speech-meta { display: flex; flex-wrap: wrap; gap: .55rem 1rem; align-items: center; color: var(--text-secondary); font-size: .88rem; }
.speech-factual { border-color: rgba(217, 142, 4, 0.45); }
.badge-factual { background: #fff6e5; color: var(--warning); }

.speech-kind-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin: 0 0 1rem;
}
.speech-kind-nav a {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    text-decoration: none;
    font-weight: 650;
    font-size: .86rem;
    padding: .35rem .75rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text-secondary);
}
.speech-kind-nav a span {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}
.speech-kind-nav a[aria-current="page"] { color: #fff; }
.speech-kind-nav a.kind-all[aria-current="page"] { background: var(--text); border-color: var(--text); color: #fff; }
.speech-kind-nav a.kind-debate { color: var(--primary); border-color: rgba(23, 78, 166, .28); background: var(--primary-light); }
.speech-kind-nav a.kind-debate[aria-current="page"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.speech-kind-nav a.kind-oneminute { color: #0f6a56; border-color: rgba(22, 134, 92, .28); background: #e8f6ef; }
.speech-kind-nav a.kind-oneminute[aria-current="page"] { background: var(--success); border-color: var(--success); color: #fff; }
.speech-kind-nav a.kind-factual { color: #9a6400; border-color: rgba(217, 142, 4, .35); background: #fff6e5; }
.speech-kind-nav a.kind-factual[aria-current="page"] { background: var(--warning); border-color: var(--warning); color: #fff; }
.speech-kind-nav a.kind-written { color: #5b3d8f; border-color: rgba(91, 61, 143, .28); background: #f3eef9; }
.speech-kind-nav a.kind-written[aria-current="page"] { background: #5b3d8f; border-color: #5b3d8f; color: #fff; }
.speech-kind-nav a.kind-chair { color: #3d4a5c; border-color: rgba(71, 84, 103, .28); background: var(--surface-secondary); }
.speech-kind-nav a.kind-chair[aria-current="page"] { background: #3d4a5c; border-color: #3d4a5c; color: #fff; }

.speech-card.speech-kind-debate { border-left: 4px solid var(--primary); }
.speech-card.speech-kind-oneminute { border-left: 4px solid var(--success); }
.speech-card.speech-kind-factual { border-left: 4px solid var(--warning); }
.speech-card.speech-kind-written { border-left: 4px solid #5b3d8f; }
.speech-card.speech-kind-chair { border-left: 4px solid #667085; }
.badge-kind-debate { background: var(--primary-light); color: var(--primary); }
.badge-kind-oneminute { background: #e8f6ef; color: var(--success); }
.badge-kind-factual { background: #fff6e5; color: var(--warning); }
.badge-kind-written { background: #f3eef9; color: #5b3d8f; }
.badge-kind-chair { background: var(--surface-secondary); color: #3d4a5c; }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.cookie-settings {
    appearance: none;
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
}
.cookie-settings:hover { color: var(--primary); }

.site-search {
    display: flex;
    gap: .35rem;
    flex: 1;
    min-width: 10rem;
    max-width: 22rem;
    margin-left: .5rem;
}
.site-search input {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: .45rem .9rem;
    font: inherit;
    background: #fff;
}
.site-search button {
    border: 0;
    border-radius: 999px;
    padding: .45rem .9rem;
    font: inherit;
    font-weight: 600;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
}
.module-subnav {
    display: flex;
    gap: .25rem;
    flex-wrap: wrap;
    padding: 0 1.25rem .65rem;
}
.module-subnav a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: .3rem .7rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: .9rem;
}
.module-subnav a:hover, .module-subnav a[aria-current="page"] {
    color: var(--primary);
    background: var(--primary-light);
}
.hub-modules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1.5rem 0 2rem; }
.hub-module {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.15rem 1.25rem;
}
.hub-module h2 { margin: 0 0 .35rem; font-size: 1.15rem; }
.hub-module p { margin: 0; color: var(--text-secondary); }
.hub-module .soon { color: var(--text-muted); font-size: .85rem; font-weight: 600; }
.hub-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.soon-page { max-width: 40rem; }
.search-summary { color: var(--text-secondary); margin: 0 0 1rem; }
.search-top { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .75rem; margin: 0 0 1.5rem; }
.search-top-card {
    display: flex;
    gap: .8rem;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: .85rem 1rem;
    text-decoration: none;
    color: inherit;
}
.search-top-card:hover, .search-top-card:focus-visible { box-shadow: 0 12px 32px rgba(11, 27, 58, .14); }
.search-top-body { display: grid; gap: .1rem; min-width: 0; }
.search-top-body strong { font-size: 1.05rem; }
.search-top-body .metric-cta { margin-top: .25rem; }
.search-results { display: grid; gap: 1.25rem; max-width: 62rem; }
.search-group { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.25rem; box-shadow: var(--shadow); }
.search-group h2 { margin: 0 0 .25rem; font-size: 1.2rem; }
.search-group h3 { margin: 1rem 0 .25rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.search-count { font-weight: 500; color: var(--text-muted); margin-left: .25rem; }
.search-results ul { list-style: none; padding: 0; margin: 0; }
.search-results li { border-bottom: 1px solid var(--border); }
.search-results li:last-child { border-bottom: 0; }
.search-item { display: grid; gap: .2rem; padding: .65rem 0; }
.search-title { display: grid; gap: .1rem; text-decoration: none; color: inherit; }
.search-title strong { font-weight: 600; line-height: 1.35; }
.search-title:hover strong, .search-title:focus-visible strong { color: var(--primary); }
.search-out { color: var(--text-muted); font-weight: 400; font-size: .85em; }
.search-kicker { font-size: .75rem; color: var(--text-muted); }
.search-meta { font-size: .85rem; color: var(--text-secondary); }
.search-meta a { color: var(--primary); text-decoration: none; }
.search-meta a:hover, .search-meta a:focus-visible { text-decoration: underline; }
.search-snippet { font-size: .9rem; color: var(--text-secondary); line-height: 1.45; }
.search-results mark, .search-snippet mark { background: rgba(245, 194, 66, .45); color: inherit; padding: 0 .1em; border-radius: 3px; }
}
.member-club-history { list-style: none; padding: 0; }
.member-club-history li { padding: .35rem 0; border-bottom: 1px solid var(--border); }
.vote-grid { display: grid; gap: .5rem; }
.club-members { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; }

@media (max-width: 1024px) {
    .hub-modules, .hub-columns { grid-template-columns: 1fr; }
    .site-search { max-width: none; }
}
#cc-main {
    --cc-font-family: Inter, system-ui, sans-serif;
    --cc-btn-primary-bg: #174EA6;
    --cc-btn-primary-hover-bg: #0f3d82;
    --cc-btn-primary-color: #fff;
    --cc-link-color: #174EA6;
    --cc-toggle-on-bg: #174EA6;
    --cc-overlay-bg: rgba(11, 27, 58, 0.48);
}
#cc-main .cm {
    max-width: 28rem;
}
#cc-main .cm__btn:not(.cm__btn--secondary):not(.cm__btn--close) {
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(23, 78, 166, 0.32);
}

@media (max-width: 1024px) {
    .hero, .compare-grid, .profile-hero, .chart-panel, .chart-grid, .pair-grid, .pie-grid { grid-template-columns: 1fr; }
    .chart-frame { height: 220px; }
}
@media (max-width: 720px) {
    .nav-toggle { display: inline-block; margin-left: auto; }
    .site-search { order: 5; flex-basis: 100%; max-width: none; margin: .35rem 0 0; }
    .site-nav {
        display: none;
        margin-left: 0;
        position: absolute;
        right: 1.25rem;
        top: calc(100% + .4rem);
        flex-direction: column;
        min-width: 220px;
        padding: .5rem;
        border-radius: 16px;
        background: #fff;
        border: 1px solid var(--border);
        box-shadow: var(--shadow);
    }
    .nav-open:focus-visible + .nav-toggle { outline: 2px solid var(--primary); }
    .nav-open:checked ~ .site-nav { display: flex; }
    .feed-item { grid-template-columns: 1fr auto; }
    .feed-item time { grid-column: 1 / -1; }
    h1 { font-size: 1.7rem; }
    .section-nav { top: 58px; border-radius: 16px; }
}
/* NR SR — vystúpenia a landing page videa */
.member-back {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin: 0 0 .75rem;
    padding: .3rem .8rem .3rem .3rem;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
}
.member-back img { border-radius: 999px; object-fit: cover; object-position: center 12%; width: 44px; height: 44px; }
.member-back:hover, .member-back:focus-visible { border-color: rgba(23, 78, 166, 0.28); color: var(--primary); }

.filter-row {
    display: flex;
    gap: .45rem;
    flex-wrap: wrap;
    margin: 1.1rem 0 1.4rem;
}
.filter-row a {
    display: inline-flex;
    align-items: baseline;
    gap: .4rem;
    padding: .45rem .85rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: .88rem;
    font-weight: 600;
}
.filter-row a b { font-variant-numeric: tabular-nums; color: var(--text-muted); font-weight: 600; }
.filter-row a:hover, .filter-row a:focus-visible { color: var(--primary); border-color: rgba(23, 78, 166, 0.28); }
.filter-row a[aria-current="page"] {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.filter-row a[aria-current="page"] b { color: rgba(255, 255, 255, 0.75); }

.nrsr-clips { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.nrsr-clip > a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .9rem;
    align-items: start;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
}
.nrsr-clip > a:hover, .nrsr-clip > a:focus-visible { border-color: rgba(23, 78, 166, 0.3); }
.nrsr-clip .play {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: .8rem;
}
.nrsr-clip .headline {
    display: block;
    font-size: 1.02rem;
    line-height: 1.5;
    font-weight: 550;
}
.nrsr-clip .meta {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .85rem;
    margin: .5rem 0 0;
    color: var(--text-muted);
    font-size: .84rem;
}
.nrsr-clip .meta .tag {
    color: var(--primary);
    background: var(--primary-light);
    padding: .05rem .5rem;
    border-radius: 999px;
    font-weight: 600;
}

.speech-page { max-width: 62rem; }
.speech-page h2 { margin-top: 2.25rem; }

.print-ref { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .6rem 0 0; }
.print-ref-label { color: var(--text-muted); font-size: .88rem; }
.print-chips { display: inline-flex; flex-wrap: wrap; gap: .3rem; margin-left: .35rem; vertical-align: middle; }
.print-chip {
    display: inline-block;
    padding: .12rem .55rem;
    border-radius: 999px;
    background: var(--surface-secondary);
    color: var(--text-secondary);
    font-size: .78rem;
    font-weight: 600;
    white-space: nowrap;
}
.print-chip.is-link { background: var(--primary-light); color: var(--primary); text-decoration: none; font-size: .88rem; padding: .3rem .75rem; }
.print-chip.is-link:hover, .print-chip.is-link:focus-visible { text-decoration: underline; }

.day-agenda { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.day-agenda li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .1rem .7rem;
    align-items: baseline;
    padding: .7rem .9rem;
    border-radius: 14px;
    background: var(--surface-secondary);
}
.day-agenda .print-chips { margin: 0; }
@media (max-width: 720px) {
    .day-agenda li { grid-template-columns: 1fr; }
}
.day-agenda a { color: var(--text); font-weight: 550; text-decoration: none; }
.day-agenda a:hover, .day-agenda a:focus-visible { color: var(--primary); text-decoration: underline; }

.portrait {
    position: relative;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 14px;
    overflow: hidden;
    background: var(--primary-light);
}
.portrait-card { width: 64px; height: 82px; }
.portrait-profile { width: 96px; height: 122px; border-radius: 20px; }
.portrait-small { width: 44px; height: 56px; border-radius: 999px; }
.portrait-small .portrait-initials { font-size: .85rem; }
.portrait-profile .portrait-initials { font-size: 1.7rem; }

.portrait-initials {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: .02em;
}
.portrait img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 12%;
}

h2 .count {
    font-size: .8rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--surface-secondary);
    border-radius: 999px;
    padding: .1rem .55rem;
    vertical-align: middle;
}
.print-votes {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem .9rem;
    margin: .6rem 0 0;
    padding-top: .6rem;
    border-top: 1px solid var(--border);
    font-size: .87rem;
}
.print-votes .votes-count { color: var(--text-secondary); }
.print-votes .my-vote { color: var(--text); }
.print-votes a { color: var(--primary); font-weight: 600; text-decoration: none; }
.print-votes a:hover, .print-votes a:focus-visible { text-decoration: underline; }

/* Rozloženie hlasov — vykreslené na serveri, funguje aj bez JavaScriptu. */
.vote-bar {
    display: flex;
    width: 100%;
    height: 2.2rem;
    border-radius: 999px;
    overflow: hidden;
    background: var(--surface-secondary);
}
.vote-bar.is-compact { height: 1.1rem; border-radius: 8px; }
.vote-bar .seg {
    display: grid;
    place-items: center;
    min-width: 2px;
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.vote-bar.is-compact .seg { font-size: 0; }
.seg.is-yes, .dot.is-yes { background: var(--success); }
.seg.is-no, .dot.is-no { background: var(--danger); }
.seg.is-abstain, .dot.is-abstain { background: var(--warning); }
.seg.is-notvoting, .dot.is-notvoting { background: #8896ad; }
.seg.is-absent, .dot.is-absent { background: #c7cedb; color: var(--text-secondary); }

.vote-legend {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: .4rem 1.1rem;
    margin: .6rem 0 0;
    padding: 0;
    font-size: .88rem;
    color: var(--text-secondary);
}
.vote-legend .dot,
.vote-row-numbers .dot {
    display: inline-block;
    width: .7rem;
    height: .7rem;
    border-radius: 999px;
    margin-right: .35rem;
    vertical-align: -1px;
}
.vote-legend strong { color: var(--text); font-variant-numeric: tabular-nums; }

.vote-bar .w-1 { width: 1%; }
.vote-bar .w-2 { width: 2%; }
.vote-bar .w-3 { width: 3%; }
.vote-bar .w-4 { width: 4%; }
.vote-bar .w-5 { width: 5%; }
.vote-bar .w-6 { width: 6%; }
.vote-bar .w-7 { width: 7%; }
.vote-bar .w-8 { width: 8%; }
.vote-bar .w-9 { width: 9%; }
.vote-bar .w-10 { width: 10%; }
.vote-bar .w-11 { width: 11%; }
.vote-bar .w-12 { width: 12%; }
.vote-bar .w-13 { width: 13%; }
.vote-bar .w-14 { width: 14%; }
.vote-bar .w-15 { width: 15%; }
.vote-bar .w-16 { width: 16%; }
.vote-bar .w-17 { width: 17%; }
.vote-bar .w-18 { width: 18%; }
.vote-bar .w-19 { width: 19%; }
.vote-bar .w-20 { width: 20%; }
.vote-bar .w-21 { width: 21%; }
.vote-bar .w-22 { width: 22%; }
.vote-bar .w-23 { width: 23%; }
.vote-bar .w-24 { width: 24%; }
.vote-bar .w-25 { width: 25%; }
.vote-bar .w-26 { width: 26%; }
.vote-bar .w-27 { width: 27%; }
.vote-bar .w-28 { width: 28%; }
.vote-bar .w-29 { width: 29%; }
.vote-bar .w-30 { width: 30%; }
.vote-bar .w-31 { width: 31%; }
.vote-bar .w-32 { width: 32%; }
.vote-bar .w-33 { width: 33%; }
.vote-bar .w-34 { width: 34%; }
.vote-bar .w-35 { width: 35%; }
.vote-bar .w-36 { width: 36%; }
.vote-bar .w-37 { width: 37%; }
.vote-bar .w-38 { width: 38%; }
.vote-bar .w-39 { width: 39%; }
.vote-bar .w-40 { width: 40%; }
.vote-bar .w-41 { width: 41%; }
.vote-bar .w-42 { width: 42%; }
.vote-bar .w-43 { width: 43%; }
.vote-bar .w-44 { width: 44%; }
.vote-bar .w-45 { width: 45%; }
.vote-bar .w-46 { width: 46%; }
.vote-bar .w-47 { width: 47%; }
.vote-bar .w-48 { width: 48%; }
.vote-bar .w-49 { width: 49%; }
.vote-bar .w-50 { width: 50%; }
.vote-bar .w-51 { width: 51%; }
.vote-bar .w-52 { width: 52%; }
.vote-bar .w-53 { width: 53%; }
.vote-bar .w-54 { width: 54%; }
.vote-bar .w-55 { width: 55%; }
.vote-bar .w-56 { width: 56%; }
.vote-bar .w-57 { width: 57%; }
.vote-bar .w-58 { width: 58%; }
.vote-bar .w-59 { width: 59%; }
.vote-bar .w-60 { width: 60%; }
.vote-bar .w-61 { width: 61%; }
.vote-bar .w-62 { width: 62%; }
.vote-bar .w-63 { width: 63%; }
.vote-bar .w-64 { width: 64%; }
.vote-bar .w-65 { width: 65%; }
.vote-bar .w-66 { width: 66%; }
.vote-bar .w-67 { width: 67%; }
.vote-bar .w-68 { width: 68%; }
.vote-bar .w-69 { width: 69%; }
.vote-bar .w-70 { width: 70%; }
.vote-bar .w-71 { width: 71%; }
.vote-bar .w-72 { width: 72%; }
.vote-bar .w-73 { width: 73%; }
.vote-bar .w-74 { width: 74%; }
.vote-bar .w-75 { width: 75%; }
.vote-bar .w-76 { width: 76%; }
.vote-bar .w-77 { width: 77%; }
.vote-bar .w-78 { width: 78%; }
.vote-bar .w-79 { width: 79%; }
.vote-bar .w-80 { width: 80%; }
.vote-bar .w-81 { width: 81%; }
.vote-bar .w-82 { width: 82%; }
.vote-bar .w-83 { width: 83%; }
.vote-bar .w-84 { width: 84%; }
.vote-bar .w-85 { width: 85%; }
.vote-bar .w-86 { width: 86%; }
.vote-bar .w-87 { width: 87%; }
.vote-bar .w-88 { width: 88%; }
.vote-bar .w-89 { width: 89%; }
.vote-bar .w-90 { width: 90%; }
.vote-bar .w-91 { width: 91%; }
.vote-bar .w-92 { width: 92%; }
.vote-bar .w-93 { width: 93%; }
.vote-bar .w-94 { width: 94%; }
.vote-bar .w-95 { width: 95%; }
.vote-bar .w-96 { width: 96%; }
.vote-bar .w-97 { width: 97%; }
.vote-bar .w-98 { width: 98%; }
.vote-bar .w-99 { width: 99%; }
.vote-bar .w-100 { width: 100%; }

/* Úradné názvy predlôh majú aj 400 znakov — nadpis sa im prispôsobí. */
h1.is-long { font-size: 1.55rem; line-height: 1.35; }
h1.is-xlong { font-size: 1.25rem; line-height: 1.4; }
.vote-subject {
    margin: .5rem 0 0;
    padding: .8rem 1rem;
    border-radius: 14px;
    background: var(--surface-secondary);
    color: var(--text-secondary);
    font-size: .93rem;
    line-height: 1.55;
    max-width: 62rem;
}
.vote-subject .label {
    display: block;
    margin-bottom: .2rem;
    color: var(--text-muted);
    font-size: .74rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-weight: 700;
}
.vote-subject .topic {
    margin: 0 0 .35rem;
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 650;
    line-height: 1.4;
}
.vote-subject .official { margin: 0; }
.vote-subject .stage-chip {
    display: inline-block;
    margin-left: .4rem;
    padding: .05rem .5rem;
    border-radius: 999px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: .78rem;
    font-weight: 600;
}
@media (max-width: 720px) {
    h1.is-long { font-size: 1.3rem; }
    h1.is-xlong { font-size: 1.15rem; }
}

.vote-result {
    margin: 1.2rem 0 1.4rem;
    padding: 1.1rem 1.25rem;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 5px solid var(--danger);
    box-shadow: var(--shadow);
}
.vote-result.is-passed { border-left-color: var(--success); }
.vote-result .verdict {
    margin: 0 0 .75rem;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -.01em;
}

.club-votes { list-style: none; margin: .8rem 0 0; padding: 0; display: grid; gap: .85rem; }
.club-votes > li {
    padding: .9rem 1.05rem;
    border-radius: 16px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
}
.club-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .4rem .8rem;
    margin-bottom: .5rem;
}
.club-head .club-name { font-weight: 650; color: var(--text); text-decoration: none; }
.club-head a.club-name:hover, .club-head a.club-name:focus-visible { color: var(--primary); text-decoration: underline; }
.club-head .club-size { color: var(--text-muted); font-size: .84rem; }
.club-head .club-majority {
    margin-left: auto;
    padding: .1rem .55rem;
    border-radius: 999px;
    background: var(--surface-secondary);
    color: var(--text-secondary);
    font-size: .78rem;
    font-weight: 600;
}
.club-majority.is-yes { background: rgba(22, 134, 92, .12); color: var(--success); }
.club-majority.is-no { background: rgba(199, 62, 77, .12); color: var(--danger); }
.club-majority.is-abstain { background: rgba(217, 142, 4, .14); color: var(--warning); }

.club-dissent, .club-absent { margin: .55rem 0 0; font-size: .86rem; color: var(--text-secondary); }
.club-absent a { color: var(--text-secondary); text-decoration: none; border-bottom: 1px dotted var(--border); }
.club-absent a:hover, .club-absent a:focus-visible { color: var(--primary); }
.club-dissent a { color: var(--primary); font-weight: 600; text-decoration: none; }
.club-dissent a:hover, .club-dissent a:focus-visible { text-decoration: underline; }
.club-dissent .how { color: var(--text-muted); }

@media (max-width: 720px) {
    .club-head .club-majority { margin-left: 0; }
    .vote-result .verdict { font-size: 1.1rem; }
}

.vote-group { margin: 1.1rem 0 0; }
.vote-group h3 {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0 0 .5rem;
    font-size: 1rem;
}
.vote-group h3 .dot { width: .75rem; height: .75rem; border-radius: 999px; }
.vote-group h3 .count {
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--surface-secondary);
    border-radius: 999px;
    padding: .1rem .55rem;
}
.voter-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .3rem;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.voter-list li {
    display: flex;
    flex-direction: column;
    padding: .45rem .7rem;
    border-radius: 12px;
    background: var(--surface-secondary);
}
.voter-list a { color: var(--text); font-weight: 600; text-decoration: none; font-size: .92rem; }
.voter-list a:hover, .voter-list a:focus-visible { color: var(--primary); text-decoration: underline; }
.voter-list .club { color: var(--text-muted); font-size: .78rem; }

.motion-box {
    margin: 1.1rem 0 1.4rem;
    padding: 1.1rem 1.25rem;
    border-radius: var(--radius);
    background: var(--primary-light);
    border: 1px solid rgba(23, 78, 166, 0.18);
}
.motion-box h2 { margin: 0 0 .5rem; font-size: 1.05rem; }
.motion-box blockquote {
    margin: 0;
    padding: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text);
}
.motion-box .meta { display: flex; flex-wrap: wrap; gap: .35rem .9rem; margin: .7rem 0 0; font-size: .88rem; }
.motion-box .meta a { color: var(--primary); font-weight: 600; text-decoration: none; }
.motion-box .meta a:hover, .motion-box .meta a:focus-visible { text-decoration: underline; }
.motion-box .hint { margin: .6rem 0 0; font-size: .82rem; }

.print-page { max-width: 62rem; }
.print-page h1 { font-size: 1.55rem; line-height: 1.35; }
.print-page h2 { margin-top: 2rem; }
.proposer-list { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; gap: .4rem; }
.proposer-list li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    padding: .6rem .85rem;
    border-radius: 14px;
    background: var(--surface-secondary);
}
.proposer-list li.is-primary { background: var(--primary-light); }
.proposer-list a { color: var(--text); font-weight: 600; text-decoration: none; }
.proposer-list a:hover, .proposer-list a:focus-visible { color: var(--primary); text-decoration: underline; }
.proposer-list .club { color: var(--text-muted); font-size: .84rem; }

.print-list { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; gap: .6rem; }
.print-card {
    padding: .95rem 1.1rem;
    border-radius: 18px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
}
.print-head { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-bottom: .45rem; }
.print-head .stage { color: var(--text-muted); font-size: .82rem; }
.role-chip {
    padding: .12rem .55rem;
    border-radius: 999px;
    background: var(--surface-secondary);
    color: var(--text-secondary);
    font-size: .76rem;
    font-weight: 600;
}
.role-chip.is-primary { background: var(--primary-light); color: var(--primary); }
.print-title { display: block; color: var(--text); font-weight: 550; line-height: 1.5; text-decoration: none; }
.print-title:hover, .print-title:focus-visible { color: var(--primary); text-decoration: underline; }
.print-card .meta { display: flex; flex-wrap: wrap; gap: .3rem .8rem; margin: .45rem 0 0; color: var(--text-muted); font-size: .84rem; }
.print-card .hint { margin: .35rem 0 0; font-size: .82rem; }

.speaker-group { margin: 1.75rem 0 0; }
.speaker-group h2 { display: flex; align-items: baseline; gap: .6rem; margin-bottom: .3rem; }
.speaker-group h2 .count {
    font-size: .8rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--surface-secondary);
    border-radius: 999px;
    padding: .1rem .55rem;
}
.speaker-group .hint { margin: 0 0 .5rem; max-width: 46rem; }
.speaker-card .role { display: block; margin-top: .15rem; color: var(--primary); font-size: .82rem; font-weight: 600; }
.sort-row { color: var(--text-muted); font-size: .88rem; margin: 0 0 .5rem; }
.sort-row a { color: var(--text-secondary); margin-left: .5rem; }
.sort-row strong { color: var(--primary); margin-left: .5rem; }
.role-title { margin: .1rem 0 0; color: var(--primary); font-weight: 600; }

.speaker-grid {
    list-style: none;
    margin: .75rem 0 0;
    padding: 0;
    display: grid;
    gap: .7rem;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.speaker-card > a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .85rem;
    align-items: center;
    height: 100%;
    padding: .9rem 1rem;
    border-radius: 18px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
}
.speaker-card > a:hover, .speaker-card > a:focus-visible { border-color: rgba(23, 78, 166, 0.3); }
.speaker-card .portrait { border-radius: 14px; }
.speaker-card strong { display: block; font-size: 1rem; }
.speaker-card .count { display: block; margin-top: .2rem; color: var(--text-muted); font-size: .86rem; }
.speaker-card .tag {
    display: inline-block;
    margin-top: .4rem;
    padding: .1rem .5rem;
    border-radius: 999px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: .74rem;
    font-weight: 600;
}

.nrsr-clip .meta .tag.is-guest { background: #fff2df; color: var(--warning); }

.time-block {
    margin: 1.5rem 0 0;
    padding: 1.1rem 1.25rem;
    border-radius: var(--radius);
    background: #fff6e5;
    border: 1px solid rgba(217, 142, 4, 0.28);
}
.time-block h2 { margin: 0 0 .5rem; font-size: 1.05rem; color: #8a5a00; }
.time-block p { color: #6b4a08; margin: 0 0 .6rem; }
.time-block .hint { color: #8a6a2a; }
.time-block-list { margin: .6rem 0; padding-left: 1.3rem; display: grid; gap: .3rem; }
.time-block-list li { color: #6b4a08; }
.time-block-list a { color: var(--primary); font-weight: 600; }
.time-block-list [aria-current="true"] { font-weight: 600; }
.time-block-list .kind { color: #8a6a2a; font-size: .84rem; margin-left: .35rem; }

.role-note {
    margin: .8rem 0 0;
    padding: .7rem 1rem;
    border-radius: 14px;
    background: #fff6e5;
    color: #8a5a00;
    font-size: .9rem;
}

.player {
    margin: 1.5rem 0 0;
    padding: .5rem;
    border-radius: calc(var(--radius) + .5rem);
    background: var(--glass-strong);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
}
.player video {
    display: block;
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background: #0b1220;
    border-radius: var(--radius);
    border: 0;
}
body.is-swapping [data-nrsr-head],
body.is-swapping [data-nrsr-body] { opacity: .45; }
[data-nrsr-head], [data-nrsr-body] { transition: opacity .12s ease; }

@media (max-width: 720px) {
    .player { padding: .35rem; }
}

.player-loading {
    display: none;
    margin: .75rem 0 0;
    color: var(--text-muted);
    font-size: .9rem;
}
.player.is-loading .player-loading { display: block; }

.player-fallback {
    display: none;
    margin: .75rem 0 0;
    padding: .9rem 1.1rem;
    border-radius: 14px;
    background: var(--surface-secondary);
    color: var(--text-secondary);
    font-size: .9rem;
}
.player.is-unsupported video { display: none; }
.player.is-unsupported .player-fallback { display: block; }
.player-note { margin: .6rem 0 0; color: var(--text-muted); font-size: .85rem; }

.video-cta {
    margin: 1.5rem 0 0;
    padding: 1.25rem;
    border-radius: var(--radius);
    background: var(--primary-light);
    border: 1px solid rgba(23, 78, 166, 0.18);
}
.video-cta h2 { margin-top: 0; }
.video-cta p { color: var(--text-secondary); }

.button {
    display: inline-block;
    padding: .7rem 1.2rem;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}
.button:hover, .button:focus-visible { background: #123d82; color: #fff; }
.button-small { padding: .35rem .8rem; font-size: .88rem; border: 0; cursor: pointer; font-family: inherit; }

.transcript { max-width: 44rem; }
.transcript p { margin: 0 0 .9rem; line-height: 1.75; }

.profile-identity { display: flex; gap: 1.1rem; align-items: flex-start; }
.profile-identity h1 { margin: .15rem 0 .35rem; }
@media (max-width: 720px) {
    .profile-identity { gap: .8rem; }
}

.profile-photo { border-radius: 20px; object-fit: cover; object-position: center 12%; width: 96px; height: 122px; }

@media (max-width: 720px) {
    .nrsr-clip > a { padding: .9rem; gap: .7rem; }
    .nrsr-clip .headline { font-size: .97rem; }
    .profile-photo { width: 64px; height: 82px; }
    .member-back { margin-bottom: .5rem; }
    .section-nav { margin-bottom: .9rem; }

    /* Filtre sa na mobile nezalamujú do piatich radov, ale sa posúvajú prstom. */
    .filter-row {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin: .9rem -1rem 1rem;
        padding: 0 1rem .35rem;
    }
    .filter-row::-webkit-scrollbar { display: none; }
    .filter-row a { flex: 0 0 auto; scroll-snap-align: start; font-size: .84rem; padding: .45rem .8rem; }
    .filter-note { font-size: .82rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
    .mep-card:hover, .mep-card:focus-visible { transform: none; }
}

.muted { color: var(--text-muted); }

/* Zoznam hlasovaní — každý riadok povie výsledok aj rozloženie hlasov naraz. */
.vote-list { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .8rem; }
.vote-row {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: .95rem 1.1rem 1rem;
}
.vote-row:hover { box-shadow: 0 12px 32px rgba(11, 27, 58, .13); }
.vote-row-main {
    display: grid;
    grid-template-columns: 8.5rem minmax(0, 1fr) auto;
    gap: .5rem 1rem;
    align-items: start;
    color: inherit;
    text-decoration: none;
}
.vote-row-when { display: block; color: var(--text-muted); font-size: .85rem; }
.vote-row-no { display: block; font-size: .78rem; }
.vote-row-what { display: block; min-width: 0; }
.vote-row-topic {
    display: block;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--primary);
    text-transform: uppercase;
}
.vote-row-title { display: block; font-weight: 620; line-height: 1.35; }
.vote-row-main:hover .vote-row-title { text-decoration: underline; }
.vote-chip {
    align-self: start;
    white-space: nowrap;
    font-size: .82rem;
    font-weight: 700;
    padding: .28rem .6rem;
    border-radius: 999px;
    background: rgba(102, 112, 133, .14);
    color: var(--text-secondary);
}
.vote-chip.is-passed { background: rgba(22, 134, 92, .14); color: #106b49; }
.vote-chip.is-failed { background: rgba(199, 62, 77, .14); color: #a83140; }
.vote-row .vote-bar { margin-top: .7rem; }
.vote-row-numbers {
    margin: .55rem 0 0;
    font-size: .85rem;
    color: var(--text-secondary);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .15rem .5rem;
}
.vote-row-numbers strong { color: var(--text); font-variant-numeric: tabular-nums; }
.vote-row-numbers .dot { margin-right: .1rem; }
.pager { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 1.5rem; }
.pager span { color: var(--text-muted); font-size: .9rem; }
@media (max-width: 720px) {
    .vote-row-main { grid-template-columns: minmax(0, 1fr); }
    .vote-row-when { display: flex; gap: .5rem; }
    .vote-row-no::before { content: "· "; }
    .vote-chip { justify-self: start; }
}

/* Percento ako pruh — porovnanie očami bez toho, aby sa čísla museli čítať. */
.share-bar {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-width: 8.5rem;
}
.share-bar::before {
    content: "";
    flex: 1 1 auto;
    height: .5rem;
    border-radius: 999px;
    background: rgba(102, 112, 133, .18);
}
.share-bar { position: relative; }
.share-fill {
    position: absolute;
    left: 0;
    height: .5rem;
    border-radius: 999px;
    background: var(--primary);
}
.share-value { font-variant-numeric: tabular-nums; font-size: .88rem; color: var(--text-secondary); }
.share-bar .w-1 { width: calc((100% - 4rem) * 0.0100); }
.share-bar .w-2 { width: calc((100% - 4rem) * 0.0200); }
.share-bar .w-3 { width: calc((100% - 4rem) * 0.0300); }
.share-bar .w-4 { width: calc((100% - 4rem) * 0.0400); }
.share-bar .w-5 { width: calc((100% - 4rem) * 0.0500); }
.share-bar .w-6 { width: calc((100% - 4rem) * 0.0600); }
.share-bar .w-7 { width: calc((100% - 4rem) * 0.0700); }
.share-bar .w-8 { width: calc((100% - 4rem) * 0.0800); }
.share-bar .w-9 { width: calc((100% - 4rem) * 0.0900); }
.share-bar .w-10 { width: calc((100% - 4rem) * 0.1000); }
.share-bar .w-11 { width: calc((100% - 4rem) * 0.1100); }
.share-bar .w-12 { width: calc((100% - 4rem) * 0.1200); }
.share-bar .w-13 { width: calc((100% - 4rem) * 0.1300); }
.share-bar .w-14 { width: calc((100% - 4rem) * 0.1400); }
.share-bar .w-15 { width: calc((100% - 4rem) * 0.1500); }
.share-bar .w-16 { width: calc((100% - 4rem) * 0.1600); }
.share-bar .w-17 { width: calc((100% - 4rem) * 0.1700); }
.share-bar .w-18 { width: calc((100% - 4rem) * 0.1800); }
.share-bar .w-19 { width: calc((100% - 4rem) * 0.1900); }
.share-bar .w-20 { width: calc((100% - 4rem) * 0.2000); }
.share-bar .w-21 { width: calc((100% - 4rem) * 0.2100); }
.share-bar .w-22 { width: calc((100% - 4rem) * 0.2200); }
.share-bar .w-23 { width: calc((100% - 4rem) * 0.2300); }
.share-bar .w-24 { width: calc((100% - 4rem) * 0.2400); }
.share-bar .w-25 { width: calc((100% - 4rem) * 0.2500); }
.share-bar .w-26 { width: calc((100% - 4rem) * 0.2600); }
.share-bar .w-27 { width: calc((100% - 4rem) * 0.2700); }
.share-bar .w-28 { width: calc((100% - 4rem) * 0.2800); }
.share-bar .w-29 { width: calc((100% - 4rem) * 0.2900); }
.share-bar .w-30 { width: calc((100% - 4rem) * 0.3000); }
.share-bar .w-31 { width: calc((100% - 4rem) * 0.3100); }
.share-bar .w-32 { width: calc((100% - 4rem) * 0.3200); }
.share-bar .w-33 { width: calc((100% - 4rem) * 0.3300); }
.share-bar .w-34 { width: calc((100% - 4rem) * 0.3400); }
.share-bar .w-35 { width: calc((100% - 4rem) * 0.3500); }
.share-bar .w-36 { width: calc((100% - 4rem) * 0.3600); }
.share-bar .w-37 { width: calc((100% - 4rem) * 0.3700); }
.share-bar .w-38 { width: calc((100% - 4rem) * 0.3800); }
.share-bar .w-39 { width: calc((100% - 4rem) * 0.3900); }
.share-bar .w-40 { width: calc((100% - 4rem) * 0.4000); }
.share-bar .w-41 { width: calc((100% - 4rem) * 0.4100); }
.share-bar .w-42 { width: calc((100% - 4rem) * 0.4200); }
.share-bar .w-43 { width: calc((100% - 4rem) * 0.4300); }
.share-bar .w-44 { width: calc((100% - 4rem) * 0.4400); }
.share-bar .w-45 { width: calc((100% - 4rem) * 0.4500); }
.share-bar .w-46 { width: calc((100% - 4rem) * 0.4600); }
.share-bar .w-47 { width: calc((100% - 4rem) * 0.4700); }
.share-bar .w-48 { width: calc((100% - 4rem) * 0.4800); }
.share-bar .w-49 { width: calc((100% - 4rem) * 0.4900); }
.share-bar .w-50 { width: calc((100% - 4rem) * 0.5000); }
.share-bar .w-51 { width: calc((100% - 4rem) * 0.5100); }
.share-bar .w-52 { width: calc((100% - 4rem) * 0.5200); }
.share-bar .w-53 { width: calc((100% - 4rem) * 0.5300); }
.share-bar .w-54 { width: calc((100% - 4rem) * 0.5400); }
.share-bar .w-55 { width: calc((100% - 4rem) * 0.5500); }
.share-bar .w-56 { width: calc((100% - 4rem) * 0.5600); }
.share-bar .w-57 { width: calc((100% - 4rem) * 0.5700); }
.share-bar .w-58 { width: calc((100% - 4rem) * 0.5800); }
.share-bar .w-59 { width: calc((100% - 4rem) * 0.5900); }
.share-bar .w-60 { width: calc((100% - 4rem) * 0.6000); }
.share-bar .w-61 { width: calc((100% - 4rem) * 0.6100); }
.share-bar .w-62 { width: calc((100% - 4rem) * 0.6200); }
.share-bar .w-63 { width: calc((100% - 4rem) * 0.6300); }
.share-bar .w-64 { width: calc((100% - 4rem) * 0.6400); }
.share-bar .w-65 { width: calc((100% - 4rem) * 0.6500); }
.share-bar .w-66 { width: calc((100% - 4rem) * 0.6600); }
.share-bar .w-67 { width: calc((100% - 4rem) * 0.6700); }
.share-bar .w-68 { width: calc((100% - 4rem) * 0.6800); }
.share-bar .w-69 { width: calc((100% - 4rem) * 0.6900); }
.share-bar .w-70 { width: calc((100% - 4rem) * 0.7000); }
.share-bar .w-71 { width: calc((100% - 4rem) * 0.7100); }
.share-bar .w-72 { width: calc((100% - 4rem) * 0.7200); }
.share-bar .w-73 { width: calc((100% - 4rem) * 0.7300); }
.share-bar .w-74 { width: calc((100% - 4rem) * 0.7400); }
.share-bar .w-75 { width: calc((100% - 4rem) * 0.7500); }
.share-bar .w-76 { width: calc((100% - 4rem) * 0.7600); }
.share-bar .w-77 { width: calc((100% - 4rem) * 0.7700); }
.share-bar .w-78 { width: calc((100% - 4rem) * 0.7800); }
.share-bar .w-79 { width: calc((100% - 4rem) * 0.7900); }
.share-bar .w-80 { width: calc((100% - 4rem) * 0.8000); }
.share-bar .w-81 { width: calc((100% - 4rem) * 0.8100); }
.share-bar .w-82 { width: calc((100% - 4rem) * 0.8200); }
.share-bar .w-83 { width: calc((100% - 4rem) * 0.8300); }
.share-bar .w-84 { width: calc((100% - 4rem) * 0.8400); }
.share-bar .w-85 { width: calc((100% - 4rem) * 0.8500); }
.share-bar .w-86 { width: calc((100% - 4rem) * 0.8600); }
.share-bar .w-87 { width: calc((100% - 4rem) * 0.8700); }
.share-bar .w-88 { width: calc((100% - 4rem) * 0.8800); }
.share-bar .w-89 { width: calc((100% - 4rem) * 0.8900); }
.share-bar .w-90 { width: calc((100% - 4rem) * 0.9000); }
.share-bar .w-91 { width: calc((100% - 4rem) * 0.9100); }
.share-bar .w-92 { width: calc((100% - 4rem) * 0.9200); }
.share-bar .w-93 { width: calc((100% - 4rem) * 0.9300); }
.share-bar .w-94 { width: calc((100% - 4rem) * 0.9400); }
.share-bar .w-95 { width: calc((100% - 4rem) * 0.9500); }
.share-bar .w-96 { width: calc((100% - 4rem) * 0.9600); }
.share-bar .w-97 { width: calc((100% - 4rem) * 0.9700); }
.share-bar .w-98 { width: calc((100% - 4rem) * 0.9800); }
.share-bar .w-99 { width: calc((100% - 4rem) * 0.9900); }
.share-bar .w-100 { width: calc((100% - 4rem) * 1.0000); }

/* Polkruh sály — koľko kresiel má ktorý klub. */
.seat-chart { margin: 1.5rem 0 2rem; }
.seat-chart-svg { width: 100%; height: auto; display: block; max-width: 46rem; margin: 0 auto; }
.seat-chart-total { font-size: 2.1rem; font-weight: 760; fill: #0b1b3a; }
.seat-chart-unit { font-size: .82rem; fill: var(--text-muted); letter-spacing: .06em; text-transform: uppercase; }
.seat-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .45rem 1.1rem;
    margin-top: .5rem;
    font-size: .9rem;
    color: var(--text-secondary);
}
.seat-legend a { color: inherit; text-decoration: none; }
.seat-legend a:hover { text-decoration: underline; }
.seat-legend strong { color: var(--text); font-variant-numeric: tabular-nums; }
.seat-swatch { width: .68rem; height: .68rem; margin-right: .35rem; vertical-align: -1px; }

/* Karta klubu v prehľade. */
.club-card {
    display: grid;
    gap: .5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1rem 1.1rem;
    color: inherit;
    text-decoration: none;
}
.club-card:hover { box-shadow: 0 12px 32px rgba(11, 27, 58, .14); }
.club-card-head { display: flex; align-items: center; gap: .1rem; }
.club-card-name { font-weight: 660; line-height: 1.3; }
.club-card:hover .club-card-name { text-decoration: underline; }
.club-card-seats { font-size: 2rem; font-weight: 740; line-height: 1; color: #0b1b3a; font-variant-numeric: tabular-nums; }
.club-card-seats span { font-size: .82rem; font-weight: 600; color: var(--text-muted); letter-spacing: .04em; text-transform: uppercase; }
.club-card-stats { display: flex; flex-wrap: wrap; gap: .2rem 1rem; font-size: .87rem; color: var(--text-secondary); }
.club-card-stats strong { color: var(--text); font-variant-numeric: tabular-nums; }
.note { font-size: .87rem; color: var(--text-muted); margin-top: 1rem; }
h2 .count { font-size: .8rem; font-weight: 600; color: var(--text-muted); vertical-align: middle; margin-left: .3rem; }

/* Porovnanie čísla s priemerom klubu a snemovne. */
.benchmark { display: block; margin-top: .5rem; font-size: .82rem; color: var(--text-muted); }
.benchmark-row { display: block; }
.benchmark-row strong { color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.benchmark-diff { display: inline-block; margin-top: .25rem; font-weight: 650; }
.benchmark-diff.is-above { color: #106b49; }
.benchmark-diff.is-below { color: #a83140; }

/* Zoradenie zoznamu poslancov. */
.sort-link { color: inherit; text-decoration: none; border-bottom: 1px dotted var(--border); }
.sort-link:hover { color: var(--primary); }
.sort-link.is-active { color: var(--primary); border-bottom-color: currentColor; }
.sort-note { display: block; font-weight: 500; font-size: .72rem; color: var(--text-muted); text-transform: none; letter-spacing: 0; }

.vote-seats { margin: 1.75rem 0 1.25rem; }
.vote-seats .lede { margin-bottom: .25rem; }

/* Hlasovania poslanca — filtre, jeho hlas a porovnanie s klubom. */
.vote-summary { margin: 1.25rem 0 1rem; }
.chip-filters { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1rem 0 1.25rem; }
.chip {
    display: inline-flex;
    align-items: baseline;
    gap: .4rem;
    padding: .38rem .75rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--glass);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: .87rem;
    font-weight: 600;
}
.chip span { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--text-muted); }
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
.chip.is-active span { color: rgba(255, 255, 255, .82); }
.chip.is-highlight:not(.is-active) { border-color: rgba(199, 62, 77, .45); color: #a83140; }
.chip.is-highlight:not(.is-active) span { color: #a83140; }
.result-count { font-size: .87rem; color: var(--text-muted); margin: 0 0 .6rem; }

.own-vote {
    align-self: start;
    white-space: nowrap;
    font-size: .84rem;
    font-weight: 700;
    padding: .3rem .65rem;
    border-radius: 999px;
    color: #fff;
}
.own-vote.is-yes { background: var(--success); }
.own-vote.is-no { background: var(--danger); }
.own-vote.is-abstain { background: var(--warning); }
.own-vote.is-notvoting { background: #8896ad; }
.own-vote.is-absent { background: #c7cedb; color: var(--text-secondary); }

.vote-row.is-dissent { border-color: rgba(199, 62, 77, .5); }
.club-line { color: var(--text-muted); }
.club-line.is-dissent { color: #a83140; font-weight: 650; }
@media (max-width: 720px) {
    .own-vote { justify-self: start; }
}

/* Osud návrhov a s kým ich poslanec predkladá. */
.outcome, .co-proposers { margin: 1.5rem 0; }
.outcome h2, .co-proposers h2 { margin: 0 0 .3rem; font-size: 1.15rem; }
.outcome .hero-kpis { margin-top: .8rem; }
.people-strip { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; margin: .6rem 0 0; padding: 0; }
.people-strip a {
    display: inline-flex;
    align-items: baseline;
    gap: .4rem;
    padding: .4rem .75rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--glass);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: .88rem;
}
.people-strip a:hover { border-color: var(--primary); color: var(--primary); }
.people-strip strong { color: var(--text); font-variant-numeric: tabular-nums; }

/* Rebríčky naprieč snemovňou. */
.rankings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: 1rem; margin: 1.25rem 0; }
.ranking {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.05rem 1.15rem 1.15rem;
}
.ranking h3 { margin: 0 0 .2rem; font-size: 1.02rem; }
.ranking-note { margin: 0 0 .7rem; font-size: .84rem; color: var(--text-muted); }
.ranking-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; counter-reset: rank; }
.ranking-list li {
    display: grid;
    grid-template-columns: 1.4rem minmax(0, 1fr) 4.5rem auto;
    align-items: center;
    gap: .5rem;
    font-size: .89rem;
}
.ranking-place { color: var(--text-muted); font-variant-numeric: tabular-nums; text-align: right; }
.ranking-who { min-width: 0; }
.ranking-who a { color: inherit; text-decoration: none; font-weight: 600; }
.ranking-who a:hover { color: var(--primary); text-decoration: underline; }
.ranking-club { display: block; font-size: .76rem; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ranking-bar { position: relative; height: .45rem; border-radius: 999px; background: rgba(102, 112, 133, .16); }
.ranking-fill { position: absolute; left: 0; top: 0; height: .45rem; border-radius: 999px; background: var(--primary); }
.ranking-value { text-align: right; font-variant-numeric: tabular-nums; font-weight: 650; white-space: nowrap; }
.ranking-value small { display: block; font-weight: 500; font-size: .74rem; color: var(--text-muted); }
.ranking-bar .w-1 { width: 1%; }
.ranking-bar .w-2 { width: 2%; }
.ranking-bar .w-3 { width: 3%; }
.ranking-bar .w-4 { width: 4%; }
.ranking-bar .w-5 { width: 5%; }
.ranking-bar .w-6 { width: 6%; }
.ranking-bar .w-7 { width: 7%; }
.ranking-bar .w-8 { width: 8%; }
.ranking-bar .w-9 { width: 9%; }
.ranking-bar .w-10 { width: 10%; }
.ranking-bar .w-11 { width: 11%; }
.ranking-bar .w-12 { width: 12%; }
.ranking-bar .w-13 { width: 13%; }
.ranking-bar .w-14 { width: 14%; }
.ranking-bar .w-15 { width: 15%; }
.ranking-bar .w-16 { width: 16%; }
.ranking-bar .w-17 { width: 17%; }
.ranking-bar .w-18 { width: 18%; }
.ranking-bar .w-19 { width: 19%; }
.ranking-bar .w-20 { width: 20%; }
.ranking-bar .w-21 { width: 21%; }
.ranking-bar .w-22 { width: 22%; }
.ranking-bar .w-23 { width: 23%; }
.ranking-bar .w-24 { width: 24%; }
.ranking-bar .w-25 { width: 25%; }
.ranking-bar .w-26 { width: 26%; }
.ranking-bar .w-27 { width: 27%; }
.ranking-bar .w-28 { width: 28%; }
.ranking-bar .w-29 { width: 29%; }
.ranking-bar .w-30 { width: 30%; }
.ranking-bar .w-31 { width: 31%; }
.ranking-bar .w-32 { width: 32%; }
.ranking-bar .w-33 { width: 33%; }
.ranking-bar .w-34 { width: 34%; }
.ranking-bar .w-35 { width: 35%; }
.ranking-bar .w-36 { width: 36%; }
.ranking-bar .w-37 { width: 37%; }
.ranking-bar .w-38 { width: 38%; }
.ranking-bar .w-39 { width: 39%; }
.ranking-bar .w-40 { width: 40%; }
.ranking-bar .w-41 { width: 41%; }
.ranking-bar .w-42 { width: 42%; }
.ranking-bar .w-43 { width: 43%; }
.ranking-bar .w-44 { width: 44%; }
.ranking-bar .w-45 { width: 45%; }
.ranking-bar .w-46 { width: 46%; }
.ranking-bar .w-47 { width: 47%; }
.ranking-bar .w-48 { width: 48%; }
.ranking-bar .w-49 { width: 49%; }
.ranking-bar .w-50 { width: 50%; }
.ranking-bar .w-51 { width: 51%; }
.ranking-bar .w-52 { width: 52%; }
.ranking-bar .w-53 { width: 53%; }
.ranking-bar .w-54 { width: 54%; }
.ranking-bar .w-55 { width: 55%; }
.ranking-bar .w-56 { width: 56%; }
.ranking-bar .w-57 { width: 57%; }
.ranking-bar .w-58 { width: 58%; }
.ranking-bar .w-59 { width: 59%; }
.ranking-bar .w-60 { width: 60%; }
.ranking-bar .w-61 { width: 61%; }
.ranking-bar .w-62 { width: 62%; }
.ranking-bar .w-63 { width: 63%; }
.ranking-bar .w-64 { width: 64%; }
.ranking-bar .w-65 { width: 65%; }
.ranking-bar .w-66 { width: 66%; }
.ranking-bar .w-67 { width: 67%; }
.ranking-bar .w-68 { width: 68%; }
.ranking-bar .w-69 { width: 69%; }
.ranking-bar .w-70 { width: 70%; }
.ranking-bar .w-71 { width: 71%; }
.ranking-bar .w-72 { width: 72%; }
.ranking-bar .w-73 { width: 73%; }
.ranking-bar .w-74 { width: 74%; }
.ranking-bar .w-75 { width: 75%; }
.ranking-bar .w-76 { width: 76%; }
.ranking-bar .w-77 { width: 77%; }
.ranking-bar .w-78 { width: 78%; }
.ranking-bar .w-79 { width: 79%; }
.ranking-bar .w-80 { width: 80%; }
.ranking-bar .w-81 { width: 81%; }
.ranking-bar .w-82 { width: 82%; }
.ranking-bar .w-83 { width: 83%; }
.ranking-bar .w-84 { width: 84%; }
.ranking-bar .w-85 { width: 85%; }
.ranking-bar .w-86 { width: 86%; }
.ranking-bar .w-87 { width: 87%; }
.ranking-bar .w-88 { width: 88%; }
.ranking-bar .w-89 { width: 89%; }
.ranking-bar .w-90 { width: 90%; }
.ranking-bar .w-91 { width: 91%; }
.ranking-bar .w-92 { width: 92%; }
.ranking-bar .w-93 { width: 93%; }
.ranking-bar .w-94 { width: 94%; }
.ranking-bar .w-95 { width: 95%; }
.ranking-bar .w-96 { width: 96%; }
.ranking-bar .w-97 { width: 97%; }
.ranking-bar .w-98 { width: 98%; }
.ranking-bar .w-99 { width: 99%; }
.ranking-bar .w-100 { width: 100%; }

@media (max-width: 460px) {
    /* Na úzkom displeji dostane meno celý riadok a pruh sa presunie pod neho. */
    .ranking-list li { grid-template-columns: 1.4rem minmax(0, 1fr) auto; row-gap: .2rem; }
    .ranking-bar { grid-column: 2 / -1; }
    .ranking-value { grid-row: 1; grid-column: 3; }
}

/* Pás klubov nad kreslami pri hlasovaní. */
.seat-bands-note {
    margin: .1rem 0 0;
    font-size: .85rem;
    color: var(--text-secondary);
    display: flex;
    flex-wrap: wrap;
    gap: .2rem .7rem;
    align-items: center;
}
.seat-band-tag { white-space: nowrap; }
.seat-band-tag strong { color: var(--text); font-variant-numeric: tabular-nums; }

/* Tlačové konferencie. */
.press-list { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .75rem; }
.press-item {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: .9rem;
    align-items: start;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: .8rem .9rem;
}
.press-item:hover { box-shadow: 0 12px 32px rgba(11, 27, 58, .13); }
.press-thumb { width: 160px; height: auto; border-radius: 10px; display: block; }
.press-body { min-width: 0; }
.press-title { font-weight: 640; line-height: 1.35; color: inherit; text-decoration: none; }
.press-title:hover { text-decoration: underline; color: var(--primary); }
.press-meta { margin: .3rem 0 0; font-size: .85rem; color: var(--text-muted); }
.press-has-video { color: var(--success); font-weight: 600; }
.press-people { margin: .35rem 0 0; font-size: .88rem; color: var(--text-secondary); }
.press-people a { color: inherit; }
@media (max-width: 620px) {
    .press-item { grid-template-columns: minmax(0, 1fr); }
    .press-thumb { width: 100%; max-width: 320px; }
}

/* Poznámka, keď sa zdroj rozchádza sám so sebou. */
.source-note {
    margin: 1rem 0;
    padding: .7rem .9rem;
    border-left: 3px solid var(--warning);
    background: rgba(217, 142, 4, .07);
    border-radius: 0 10px 10px 0;
    font-size: .88rem;
    color: var(--text-secondary);
}
.source-note strong { color: var(--text); font-variant-numeric: tabular-nums; }

.last-sitting { color: var(--text-secondary); font-size: .95rem; margin: 1.25rem 0 0; }
.last-sitting strong { color: var(--text); }

/* Členovia výboru. */
.committee-members { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: .5rem; }
.committee-member {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .5rem .7rem;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    background: var(--glass);
}
.committee-member.is-leader { border-color: rgba(23, 78, 166, .4); }
.committee-member img { border-radius: 8px; }
.committee-member-body { min-width: 0; }
.committee-member-body a { color: inherit; text-decoration: none; font-weight: 620; display: block; }
.committee-member-body a:hover { color: var(--primary); text-decoration: underline; }
.committee-role { display: block; font-size: .8rem; color: var(--text-muted); }

.committee-tags { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; margin: .6rem 0 0; padding: 0; }
.committee-tags a {
    display: inline-flex; align-items: baseline; gap: .45rem;
    padding: .42rem .8rem; border-radius: 999px;
    border: 1px solid var(--border); background: var(--glass);
    color: var(--text-secondary); text-decoration: none; font-size: .88rem;
}
.committee-tags a:hover { border-color: var(--primary); color: var(--primary); }
.committee-tags strong { color: var(--primary); font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; }

/* Zahraničné cesty. */
.trip-list { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: .6rem; }
.trip-item {
    background: var(--glass); border: 1px solid var(--glass-border);
    border-radius: var(--radius); box-shadow: var(--shadow); padding: .8rem .95rem;
}
.trip-when { margin: 0; font-size: .84rem; color: var(--text-muted); font-weight: 600; }
.trip-when strong { color: var(--primary); }
.trip-where { margin: .15rem 0 0; font-weight: 680; font-size: 1.02rem; }
.trip-what { margin: .3rem 0 0; font-size: .9rem; color: var(--text-secondary); line-height: 1.45; }
.trip-people { margin: .4rem 0 0; font-size: .87rem; color: var(--text-muted); }
.trip-people a { color: var(--text-secondary); }
.trip-list.is-compact .trip-what { font-size: .86rem; }

/* Neprítomný, ktorý mal v ten deň zahraničnú pracovnú cestu. */
.trip-tag {
    display: inline-block;
    margin-left: .3rem;
    padding: .1rem .45rem;
    border-radius: 999px;
    background: rgba(23, 78, 166, .1);
    color: var(--primary);
    font-size: .74rem;
    font-weight: 650;
    white-space: nowrap;
}

/* Kancelária poslanca. */
.office-line { margin: .7rem 0 0; font-size: 1rem; color: var(--text-secondary); }
.office-line strong { color: var(--text); font-variant-numeric: tabular-nums; }
.office-address { margin: .5rem 0 0; font-size: .88rem; color: var(--text-muted); }
.people-strip.is-plain span {
    display: inline-block; padding: .35rem .7rem; border-radius: 999px;
    border: 1px solid var(--border); background: var(--glass);
    color: var(--text-secondary); font-size: .87rem;
}

/* Program schôdze. */
.agenda-list { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: .5rem; counter-reset: agenda; }
.agenda-item {
    display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: .6rem;
    background: var(--glass); border: 1px solid var(--glass-border);
    border-radius: var(--radius); padding: .7rem .9rem;
}
.agenda-order { color: var(--text-muted); font-variant-numeric: tabular-nums; font-weight: 650; text-align: right; }
.agenda-body { min-width: 0; }
.agenda-title { margin: 0; font-weight: 600; line-height: 1.4; }
.agenda-meta { margin: .3rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem .7rem; align-items: center; font-size: .84rem; }
.agenda-state { padding: .16rem .5rem; border-radius: 999px; font-weight: 650; font-size: .76rem; }
.agenda-state.is-done { background: rgba(22, 134, 92, .13); color: #106b49; }
.agenda-state.is-open { background: rgba(102, 112, 133, .14); color: var(--text-secondary); }
.agenda-state.is-other { background: rgba(217, 142, 4, .14); color: #8a5c00; }
.agenda-votes { list-style: none; margin: .45rem 0 0; padding: 0; display: grid; gap: .25rem; }
.agenda-votes li { font-size: .86rem; display: flex; flex-wrap: wrap; gap: .4rem; align-items: baseline; }
.agenda-vote-result { color: var(--text-muted); font-size: .8rem; }

/* Zoznam schôdzí. */
.session-list { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: .5rem; }
.session-link {
    display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: .5rem; align-items: baseline;
    padding: .7rem .9rem; border: 1px solid var(--glass-border); border-radius: var(--radius);
    background: var(--glass); color: inherit; text-decoration: none;
}
.session-link:hover { box-shadow: 0 10px 26px rgba(11, 27, 58, .12); }
.session-number { font-size: 1.4rem; font-weight: 740; color: #0b1b3a; text-align: right; }
.session-title { font-weight: 620; }
.session-meta { display: block; font-size: .82rem; color: var(--text-muted); }

/* Zaujímavosti zo schôdze. */
.insight-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: .8rem; margin: 1rem 0 2rem; }
.insight {
    background: var(--glass); border: 1px solid var(--glass-border);
    border-radius: var(--radius); box-shadow: var(--shadow); padding: 1rem 1.1rem;
}
.insight h3 { margin: 0 0 .5rem; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); }
.insight-lead { margin: 0 0 .35rem; font-size: 1.02rem; color: var(--text-secondary); }
.insight-lead strong { color: #0b1b3a; font-size: 1.35rem; font-weight: 740; font-variant-numeric: tabular-nums; }
.insight-item { margin: .35rem 0 0; font-size: .89rem; line-height: 1.4; }
.insight-item a { color: inherit; }
.insight-note { margin: .4rem 0 0; font-size: .8rem; color: var(--text-muted); }
.insight-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.insight-list li { display: flex; flex-wrap: wrap; gap: .2rem .5rem; align-items: baseline; font-size: .92rem; }
.insight-list a { color: inherit; text-decoration: none; font-weight: 620; }
.insight-list a:hover { color: var(--primary); text-decoration: underline; }
.insight-list span { color: var(--text-muted); font-size: .82rem; font-variant-numeric: tabular-nums; }
.insight .share-bar { min-width: 100%; margin-top: .2rem; }

.agenda-repeat {
    padding: .16rem .5rem; border-radius: 999px;
    background: rgba(217, 142, 4, .13); color: #8a5c00;
    font-size: .76rem; font-weight: 650;
}

/* Zoznam poslancov: karty s tvárou, klubovou farbou a účasťou. */
.filter-row { align-items: center; margin: 1.1rem 0 0; }
.filter-row.is-sort { margin: .5rem 0 0; }
.filter-label { font-size: .82rem; color: var(--text-muted); margin-right: .15rem; }
.filter-row a svg { align-self: center; flex: none; }

.deputy-grid {
    list-style: none; margin: 1.25rem 0 0; padding: 0;
    display: grid; gap: .75rem;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
}
.deputy-card > a {
    display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .85rem;
    height: 100%; padding: .9rem 1rem;
    border-radius: 18px; background: var(--surface);
    border: 1px solid var(--border); box-shadow: var(--shadow);
    text-decoration: none; color: inherit;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.deputy-card > a:hover, .deputy-card > a:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(23, 78, 166, .22);
    box-shadow: 0 16px 36px rgba(23, 78, 166, .1);
}
.deputy-card .portrait { border-radius: 14px; }
.deputy-body { display: block; min-width: 0; }
.deputy-body strong { display: block; font-size: 1rem; line-height: 1.25; }
.deputy-club {
    display: flex; align-items: center; gap: .35rem;
    margin-top: .25rem; font-size: .85rem; color: var(--text-secondary);
}
.deputy-club svg { flex: none; }
.deputy-status { display: block; margin-top: .1rem; font-size: .78rem; color: var(--text-muted); }
.deputy-bar { display: block; margin-top: .5rem; }
.deputy-bar-label { display: block; font-size: .72rem; color: var(--text-muted); margin-bottom: .15rem; }
.deputy-bar .share-bar { min-width: 100%; }
.deputy-meta { display: block; margin-top: .4rem; font-size: .78rem; color: var(--text-muted); }

/* Výbory na úvodnej stránke NR SR. */
.hub-committees { margin: 2rem 0 0; }
.committee-tags { list-style: none; margin: .75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.committee-tags a {
    display: inline-flex; align-items: baseline; gap: .4rem;
    padding: .4rem .75rem; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--border);
    color: var(--text-secondary); text-decoration: none; font-size: .85rem;
}
.committee-tags a:hover, .committee-tags a:focus-visible { border-color: rgba(23, 78, 166, .3); color: var(--primary); }
.committee-tags strong { color: var(--primary); font-variant-numeric: tabular-nums; }

/* Dokumenty parlamentnej tlače. */
.document-list { list-style: none; margin: .75rem 0 1.5rem; padding: 0; display: grid; gap: .3rem; }
.document-list li {
    display: flex; flex-wrap: wrap; gap: .5rem; align-items: baseline;
    padding: .55rem .8rem; border-radius: 12px;
    background: var(--surface); border: 1px solid var(--border);
}
.document-list a { color: inherit; text-decoration: none; font-weight: 600; }
.document-list a:hover, .document-list a:focus-visible { color: var(--primary); text-decoration: underline; }
.doc-size { color: var(--text-muted); font-size: .8rem; font-variant-numeric: tabular-nums; }
.proposer-summary { margin: .5rem 0 .2rem; font-size: 1.05rem; }
.print-agenda { list-style: none; margin: .75rem 0 1.5rem; padding: 0; display: grid; gap: .35rem; }
.print-agenda li {
    display: flex; flex-wrap: wrap; gap: .5rem; align-items: baseline;
    padding: .5rem .8rem; border-radius: 12px;
    background: var(--surface); border: 1px solid var(--border);
}
.print-agenda a { color: inherit; text-decoration: none; font-weight: 650; }
.print-agenda a:hover, .print-agenda a:focus-visible { color: var(--primary); text-decoration: underline; }

/* Zoznam parlamentných tlačí. */
.result-line { margin: 1rem 0 .25rem; color: var(--text-secondary); font-size: .92rem; }
.print-index { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; gap: .6rem; }
.print-index-item > a {
    display: block; padding: .9rem 1.05rem;
    border-radius: 16px; background: var(--surface);
    border: 1px solid var(--border); box-shadow: var(--shadow);
    text-decoration: none; color: inherit;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.print-index-item > a:hover, .print-index-item > a:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(23, 78, 166, .22);
    box-shadow: 0 16px 36px rgba(23, 78, 166, .1);
}
.print-index-head { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.print-index-type { font-size: .8rem; color: var(--text-secondary); font-weight: 600; }
.print-index-title { display: block; margin: .45rem 0 .35rem; font-size: 1rem; font-weight: 650; line-height: 1.35; }
.print-index-meta { display: flex; flex-wrap: wrap; gap: .25rem .85rem; font-size: .82rem; color: var(--text-muted); }
.print-index-meta .muted { color: var(--warning); }

/* „Čo leží v parlamente“ na úvode NR SR. */
.hub-prints { margin: 2rem 0 0; }
.hub-print-list { list-style: none; margin: .85rem 0 .75rem; padding: 0; display: grid; gap: .45rem; }
.hub-print-list li {
    padding: .7rem .95rem; border-radius: 14px;
    background: var(--surface); border: 1px solid var(--border);
}
.hub-print-list a { color: inherit; text-decoration: none; font-weight: 640; line-height: 1.35; }
.hub-print-list a:hover, .hub-print-list a:focus-visible { color: var(--primary); text-decoration: underline; }
.hub-print-list span { display: block; margin-top: .25rem; font-size: .8rem; color: var(--text-muted); }
.hub-print-links { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; }
.hub-print-links a {
    display: inline-flex; align-items: baseline; gap: .4rem;
    padding: .4rem .8rem; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--border);
    color: var(--text-secondary); text-decoration: none; font-size: .85rem; font-weight: 600;
}
.hub-print-links a:hover, .hub-print-links a:focus-visible { border-color: rgba(23, 78, 166, .3); color: var(--primary); }
.hub-print-links b { color: var(--primary); font-variant-numeric: tabular-nums; }

/* Prieskumy: rozpätie, detail prieskumu a koaličná kalkulačka. */
.poll-section { margin: 2.5rem 0; }
.poll-section > h2 { margin-bottom: .35rem; }
.poll-section > p { color: var(--text-secondary); max-width: 70ch; }

.poll-chart { margin: 1.25rem 0 .75rem; }
.poll-chart-scroll { overflow-x: auto; }
.poll-chart-svg { width: 100%; min-width: 520px; height: auto; display: block; }
.poll-chart figcaption { color: var(--text-muted); font-size: .88rem; margin-top: .4rem; }
.chart-frame.is-tall { height: 340px; }

.poll-source { color: var(--text-secondary); font-size: .92rem; margin: .5rem 0; }
.poll-note {
    color: var(--text-secondary);
    font-size: .92rem;
    background: var(--surface-secondary);
    border-radius: 12px;
    padding: .7rem .9rem;
    margin: .75rem 0;
}
.poll-alias { display: block; color: var(--text-muted); font-size: .82rem; font-weight: 400; }

.poll-table { width: 100%; border-collapse: collapse; }
.poll-table th, .poll-table td { padding: .55rem .7rem; border-bottom: 1px solid var(--border); text-align: left; }
.poll-table thead th { font-size: .85rem; color: var(--text-secondary); white-space: nowrap; }
.poll-table td.is-up { color: var(--success); }
.poll-table td.is-down { color: var(--danger); }

.poll-facts { display: grid; gap: .1rem; margin: 1.25rem 0; }
.poll-facts > div {
    display: grid;
    grid-template-columns: minmax(9rem, 14rem) 1fr;
    gap: .75rem;
    padding: .55rem .2rem;
    border-bottom: 1px solid var(--border);
}
.poll-facts dt { color: var(--text-secondary); font-size: .92rem; }
.poll-facts dd { margin: 0; }
.poll-facts .hint { display: block; color: var(--text-muted); font-size: .85rem; margin-top: .15rem; }
@media (max-width: 640px) {
    .poll-facts > div { grid-template-columns: 1fr; gap: .1rem; }
}

.poll-card { background: var(--surface); border-radius: var(--radius); padding: 1.1rem 1.2rem; box-shadow: var(--shadow); }
.poll-card h3 { margin: 0 0 .35rem; font-size: 1.15rem; }
.poll-card-when { margin: 0 0 .2rem; font-size: .92rem; }
.poll-card-meta { margin: 0 0 .75rem; color: var(--text-secondary); font-size: .88rem; }
.poll-card-cta { font-weight: 600; }

.poll-question {
    margin: 1rem 0;
    padding: .9rem 1.1rem;
    border-left: 4px solid var(--primary);
    background: var(--surface-secondary);
    border-radius: 0 12px 12px 0;
    font-style: italic;
}

.poll-agency-list { list-style: none; padding: 0; display: grid; gap: .6rem; }
.poll-agency-list .hint { display: block; color: var(--text-muted); font-size: .88rem; }
.poll-range-sources { margin: .5rem 0 0; padding-left: 1.1rem; color: var(--text-secondary); font-size: .92rem; }

/* Koaličná kalkulačka */
.coalition-form fieldset { border: 0; padding: 0; margin: 0 0 1rem; }
.coalition-form legend { font-weight: 600; margin-bottom: .5rem; }
.coalition-parties { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.coalition-party {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: .7rem;
    padding: .6rem .9rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
}
.coalition-party:hover { border-color: var(--primary); }
.coalition-party:has(input:checked) { border-color: var(--primary); background: var(--primary-light); }
.coalition-seats { color: var(--text-secondary); font-size: .9rem; white-space: nowrap; }

.coalition-result {
    display: block;
    margin: 1.25rem 0;
    padding: 1.1rem 1.3rem;
    border-radius: var(--radius);
    background: var(--surface);
    border-left: 6px solid var(--text-muted);
}
.coalition-result.is-none { border-left-color: var(--text-muted); }
.coalition-result.is-narrow { border-left-color: var(--warning); }
.coalition-result.is-majority { border-left-color: var(--success); }
.coalition-result.is-constitutional { border-left-color: var(--primary); }
.coalition-total { margin: 0; font-size: 1.05rem; color: var(--text-secondary); }
.coalition-total strong { font-size: 2.4rem; color: var(--text); display: inline-block; margin-right: .3rem; }
.coalition-state { margin: .2rem 0 .1rem; font-size: 1.2rem; font-weight: 700; }
.coalition-hint { margin: 0; color: var(--text-secondary); font-size: .92rem; }
.coalition-legend { color: var(--text-muted); font-size: .9rem; }
.poll-basis { color: var(--text-secondary); }
.button.is-quiet { background: transparent; color: var(--primary); border: 1px solid var(--border); }

/* Názov strany a agentúry v riadku tabuľky je meno, nie nadpis stĺpca —
   globálne veľké písmená z `th` by z neho robili krik. */
.poll-table tbody th {
    text-transform: none;
    letter-spacing: normal;
    font-size: 1rem;
    color: var(--text);
    font-weight: 600;
}


/* Prieskumy — kompaktné grafy a hexagram mandátov. */
.poll-chart.is-compact { margin: .9rem 0 .5rem; }
.poll-chart.is-compact .poll-chart-svg { min-width: 460px; }
.poll-chart figcaption { max-width: 72ch; }

.poll-details { margin: .25rem 0 1.25rem; }
.poll-details > summary {
    cursor: pointer;
    color: var(--primary);
    font-size: .92rem;
    padding: .35rem 0;
}
.poll-details > summary:hover { text-decoration: underline; }
.poll-details[open] > summary { margin-bottom: .4rem; }

.poll-hexagram { margin: 1rem 0 .5rem; }
.poll-hexagram-svg { width: 100%; min-width: 420px; max-width: 680px; height: auto; display: block; margin: 0 auto; }
.poll-hexagram figcaption { color: var(--text-muted); font-size: .88rem; margin-top: .2rem; }
.poll-hexagram-party polygon { transition: opacity .12s ease; }
.poll-hexagram-party:hover polygon,
.poll-hexagram-party:focus-visible polygon { opacity: .62; }
.poll-hexagram-party:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.poll-hexagram-legend {
    list-style: none;
    padding: 0;
    margin: .4rem 0 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .5rem;
}
.poll-hexagram-legend a,
.poll-hexagram-legend span.poll-swatch-wrap {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .3rem .6rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    font-size: .9rem;
    color: var(--text);
    text-decoration: none;
}
.poll-hexagram-legend a:hover,
.poll-hexagram-legend a:focus-visible { border-color: var(--primary); background: var(--primary-light); }
.poll-swatch { display: inline-flex; line-height: 0; }
.poll-swatch-seats { font-variant-numeric: tabular-nums; }

/* Prieskumy — profil strany, matica agentúr, klikacie riadky grafu. */
.poll-bar-link { cursor: pointer; }
.poll-bar-link rect:not([fill="transparent"]) { transition: opacity .12s ease; }
.poll-bar-link:hover rect:not([fill="transparent"]) { opacity: .7; }
.poll-bar-link:hover text { text-decoration: underline; }
.poll-bar-link:focus-visible { outline: 2px solid var(--primary); outline-offset: 1px; }

.poll-headline .poll-headline-meta {
    background: var(--surface-secondary);
    border-radius: 12px;
    padding: .7rem .9rem;
    color: var(--text-secondary);
    font-size: .93rem;
    max-width: 78ch;
}

.poll-matrix th[scope="col"] { vertical-align: bottom; }
.poll-matrix-when {
    display: block;
    font-size: .72rem;
    font-weight: 400;
    color: var(--text-muted);
    text-transform: none;
    letter-spacing: normal;
}
.poll-matrix td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.poll-matrix td a { text-decoration: none; color: var(--text); font-weight: 600; }
.poll-matrix td a:hover { text-decoration: underline; color: var(--primary); }
.poll-matrix-missing { color: var(--text-muted); }
.poll-matrix-party a { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; }
.poll-matrix-party a:hover { text-decoration: underline; }
.poll-dot { display: inline-flex; line-height: 0; }

.party-hero { display: flex; gap: 1.1rem; align-items: flex-start; margin-bottom: 1.25rem; }
.party-hero h1 { margin: 0 0 .35rem; }
.party-hero .lede { margin: 0 0 .5rem; }
.party-hero-meta { margin: 0; color: var(--text-secondary); font-size: .92rem; }
.party-badge { flex: 0 0 auto; display: inline-flex; line-height: 0; }
.party-badge svg, .party-badge img { display: block; border-radius: 10px; }
.party-badge.is-lg svg, .party-badge.is-lg img { width: 72px; height: 72px; object-fit: contain; }
.party-badge.is-md svg, .party-badge.is-md img { width: 44px; height: 44px; object-fit: contain; }
@media (max-width: 560px) {
    .party-hero { flex-direction: column; gap: .7rem; }
    .party-badge.is-lg svg, .party-badge.is-lg img { width: 56px; height: 56px; }
}

.party-facts { list-style: none; padding: 0; margin: .75rem 0 1.5rem; display: grid; gap: .55rem; }
.party-facts > li {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: .7rem .9rem;
    line-height: 1.5;
}
.party-facts .hint { display: block; color: var(--text-muted); font-size: .85rem; margin-top: .25rem; }
.party-aliases { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem .5rem; }
.party-aliases > li {
    background: var(--surface-secondary);
    border-radius: 999px;
    padding: .25rem .7rem;
    font-size: .9rem;
}
.party-aliases .hint { color: var(--text-muted); font-size: .8rem; }

/* Prieskumy — prepínače grafu vývoja podpory. */
.trend-controls {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    margin: .75rem 0 1rem;
}
.trend-group { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.trend-group-label {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--text-muted);
    margin-right: .3rem;
    min-width: 4.6rem;
}
.trend-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .3rem .7rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text-secondary);
    font-size: .88rem;
    text-decoration: none;
    cursor: pointer;
    transition: background .12s ease, border-color .12s ease, color .12s ease;
}
.trend-chip:hover, .trend-chip:focus-visible { border-color: var(--primary); color: var(--primary); }
.trend-chip.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    font-weight: 600;
}
.trend-chip-count {
    font-size: .74rem;
    padding: .05rem .35rem;
    border-radius: 999px;
    background: var(--surface-secondary);
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}
.trend-chip.is-active .trend-chip-count { background: rgba(255, 255, 255, .22); color: #fff; }

.trend-custom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem;
    font-size: .85rem;
    color: var(--text-muted);
}
.trend-custom label { color: var(--text-muted); }
.trend-custom input[type="date"] {
    padding: .28rem .5rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    font-family: inherit;
    font-size: .85rem;
}
.trend-custom input[type="date"]:focus-visible { outline: 2px solid var(--primary); outline-offset: 1px; }
.trend-reset { color: var(--text-secondary); }

@media (max-width: 640px) {
    .trend-group-label { min-width: 100%; margin-bottom: .1rem; }
    .trend-custom { font-size: .8rem; }
}
.trend-dot { display: inline-flex; line-height: 0; }
.trend-chip-agency.is-active .trend-dot circle { stroke: #fff; stroke-width: 2; }

/* Prieskumy — prepínač medzi prieskumami agentúry. */
.poll-switcher {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem .75rem;
    padding: .6rem .8rem;
    margin: 0 0 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
}
.poll-switcher-step { font-size: .9rem; text-decoration: none; white-space: nowrap; }
.poll-switcher-step:hover { text-decoration: underline; }
.poll-switcher-step.is-empty { color: var(--text-muted); }
.poll-switcher-pick { display: flex; align-items: center; gap: .4rem; flex: 1 1 16rem; }
.poll-switcher-pick label {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--text-muted);
    white-space: nowrap;
}
.poll-switcher-pick select {
    flex: 1 1 auto;
    min-width: 9rem;
    padding: .3rem .5rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    font-family: inherit;
    font-size: .9rem;
}
.poll-switcher-pick select:focus-visible { outline: 2px solid var(--primary); outline-offset: 1px; }
@media (max-width: 640px) {
    .poll-switcher { gap: .4rem; }
    .poll-switcher-pick { flex: 1 1 100%; order: 3; }
    .poll-switcher-pick label { display: none; }
}


/* ---- Modul Správy ---------------------------------------------------- */
/* Karta správy má vnútri viac odkazov — zdroj, entity, titulok, odklik —
   preto nemôže byť celá jedným odkazom ako .news-card. Vnorené odkazy sú
   neplatné HTML, takže je to samostatná trieda. */
.news-section { margin-block: 2.25rem; }
.news-section.is-opinion {
    border-left: 3px solid var(--warning);
    padding: 1rem 0 1rem 1.1rem;
    border-radius: 0 var(--radius) var(--radius) 0;
}
.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: .85rem;
}
.news-item-card {
    background: var(--glass);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    backdrop-filter: blur(18px) saturate(1.2);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.news-item-head {
    margin: 0;
    display: flex;
    align-items: center;
    gap: .4rem;
    flex-wrap: wrap;
    font-size: .85rem;
}
.news-source { font-weight: 650; color: var(--primary); text-decoration: none; }
.news-source:hover, .news-source:focus-visible { text-decoration: underline; }
.news-time { color: var(--text-muted); font-variant-numeric: tabular-nums; }
.news-item-title { margin: 0; font-size: 1rem; line-height: 1.32; font-weight: 640; }
.news-item-title a { color: inherit; text-decoration: none; }
.news-item-title a:hover, .news-item-title a:focus-visible { text-decoration: underline; }
.news-excerpt { margin: 0; color: var(--text-secondary); font-size: .88rem; line-height: 1.45; }
.news-entities { margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.news-entity {
    padding: .15rem .5rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: .8rem;
    text-decoration: none;
    color: var(--text-secondary);
}
.news-entity:hover, .news-entity:focus-visible { border-color: var(--primary); color: var(--primary); }
.news-item-foot {
    margin: .15rem 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .6rem;
    flex-wrap: wrap;
}
.news-cluster-hint { font-size: .85rem; color: var(--primary); text-decoration: none; }
.news-cluster-hint:hover, .news-cluster-hint:focus-visible { text-decoration: underline; }
.news-badge-type.is-opinion { background: #fff6e5; color: var(--warning); }
.news-badge-type.is-live { background: #fdecee; color: var(--danger); }
.news-badge-type.is-sponsored { background: var(--surface-secondary); color: var(--text-secondary); }

.news-event-card {
    background: var(--glass);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    backdrop-filter: blur(18px) saturate(1.2);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.1rem 1.25rem;
}
.news-event-card h3 { margin: 0 0 .35rem; font-size: 1.06rem; line-height: 1.3; }
.news-event-card h3 a { color: inherit; text-decoration: none; }
.news-event-card h3 a:hover, .news-event-card h3 a:focus-visible { text-decoration: underline; }
.news-event-meta { margin: 0; font-size: .86rem; color: var(--text-secondary); }
.news-event-sources { margin: .35rem 0 0; font-size: .84rem; color: var(--text-muted); }

.news-timeline { list-style: none; margin: 0; padding-left: 1.4rem; border-left: 2px solid var(--border); }
.news-timeline li { position: relative; padding-bottom: 1rem; }
.news-timeline li::before {
    content: "";
    position: absolute;
    left: -1.85rem;
    top: .45rem;
    width: .55rem;
    height: .55rem;
    border-radius: 50%;
    background: var(--primary);
}
.news-timeline time { font-variant-numeric: tabular-nums; color: var(--text-muted); font-size: .85rem; }

.news-rights { display: inline-block; padding: .1rem .5rem; border-radius: 999px; font-size: .78rem; }
.news-rights.is-explicit { background: #e7f5ee; color: var(--success); }
.news-rights.is-linkonly { background: var(--surface-secondary); color: var(--text-secondary); }
.news-rights.is-unclear, .news-rights.is-unknown { background: #fff6e5; color: var(--warning); }
.news-rights.is-restricted { background: #fdecee; color: var(--danger); }

@media (max-width: 640px) {
    .news-list { grid-template-columns: 1fr; }
}

/* Prehľad správ: hlavička so stavom sťahovania, prúd po dňoch, bočný panel.
   Prúd je zámerne bez kariet — tridsať sklenených kariet za sebou nemalo
   kde oko zastaviť. Riadok má čas, médium, titulok a koho sa týka. */
.news-head { margin-bottom: 1.25rem; }
.news-head h1 { margin: .1rem 0 .4rem; }
.news-head .lede { margin: 0; max-width: 62ch; }
.news-status {
    margin: .75rem 0 0;
    font-size: .88rem;
    line-height: 1.6;
    color: var(--text-secondary);
}
.news-status a { color: var(--primary); text-decoration: none; }
.news-status a:hover, .news-status a:focus-visible { text-decoration: underline; }
.news-status-dot {
    display: inline-block;
    width: .6rem;
    height: .6rem;
    border-radius: 50%;
    vertical-align: middle;
    background: var(--text-muted);
    margin: -.1rem .35rem 0 0;
}
.news-status.is-live .news-status-dot { background: var(--success); box-shadow: 0 0 0 3px rgba(22, 134, 92, .18); }

.news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 19rem;
    gap: 2rem;
    align-items: start;
}
.news-filterbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
    margin: 0 0 1rem;
}
.news-filterbar-count { margin-left: auto; font-size: .85rem; color: var(--text-muted); }

.news-day { margin: 0 0 1.5rem; }
.news-day-title {
    display: flex;
    align-items: baseline;
    gap: .6rem;
    margin: 0 0 .35rem;
    padding-bottom: .4rem;
    border-bottom: 2px solid var(--text);
    font-size: 1.05rem;
}
.news-day-date { font-size: .82rem; font-weight: 500; color: var(--text-muted); }

.news-stream { list-style: none; margin: 0; padding: 0; }
.news-row {
    display: grid;
    grid-template-columns: 3.2rem minmax(0, 1fr);
    gap: .75rem;
    padding: .7rem 0;
    border-bottom: 1px solid var(--border);
}
.news-row:last-child { border-bottom: 0; }
.news-row-time {
    padding-top: .15rem;
    font-size: .85rem;
    font-variant-numeric: tabular-nums;
    color: var(--text-muted);
}
.news-row-body { display: grid; gap: .3rem; min-width: 0; }
.news-row-meta {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem;
    font-size: .8rem;
}
.news-row-source { font-weight: 650; color: var(--primary); }
.news-row-cluster { color: var(--text-muted); }
.news-row-title { margin: 0; font-size: 1rem; line-height: 1.35; font-weight: 600; }
.news-row-title a { color: inherit; text-decoration: none; }
.news-row-title a:hover, .news-row-title a:focus-visible { color: var(--primary); text-decoration: underline; }
.news-row-out { color: var(--text-muted); font-size: .85em; font-weight: 400; }
.news-stream.is-compact .news-row { grid-template-columns: 1fr; padding: .55rem 0; }
.news-stream.is-compact .news-row-time { display: none; }
.news-stream.is-compact .news-row-title { font-size: .92rem; }
.news-stream.is-compact .news-excerpt, .news-stream.is-compact .news-entities { display: none; }

.news-side { display: grid; gap: 1rem; position: sticky; top: 1rem; }
.side-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1rem 1.1rem;
}
.side-box h2 { margin: 0 0 .25rem; font-size: 1rem; }
.side-box .hint { margin: 0 0 .6rem; }
.side-box p { font-size: .9rem; }
.side-box.is-opinion { border-left: 3px solid var(--warning); }
.side-more { display: inline-block; margin-top: .5rem; font-size: .9rem; font-weight: 600; color: var(--primary); text-decoration: none; }
.side-more:hover, .side-more:focus-visible { text-decoration: underline; }
.news-source-list, .news-top-list { list-style: none; margin: 0; padding: 0; }
.news-source-list li a, .news-top-list li a {
    display: flex;
    justify-content: space-between;
    gap: .5rem;
    padding: .38rem 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    font-size: .92rem;
}
.news-source-list li:last-child a, .news-top-list li:last-child a { border-bottom: 0; }
.news-source-list li a:hover span, .news-top-list li a:hover span,
.news-source-list li a:focus-visible span, .news-top-list li a:focus-visible span { color: var(--primary); text-decoration: underline; }
.news-source-list li.is-active a span { color: var(--primary); font-weight: 650; }
.news-source-list b, .news-top-list b { font-variant-numeric: tabular-nums; color: var(--text-muted); font-weight: 600; }

@media (max-width: 900px) {
    .news-layout { grid-template-columns: 1fr; }
    .news-side { position: static; }
}
@media (max-width: 480px) {
    .news-row { grid-template-columns: 1fr; gap: .2rem; }
    .news-row-time { padding-top: 0; }
}

/* Mediálny obsah na karte entity je vizuálne oddelený od vlastných dát —
   čitateľ musí vidieť, kde končia čísla Mandátova a kde začínajú cudzie
   články. */
.news-entity-block { border-top: 2px solid var(--border); padding-top: 1.25rem; }
.news-entity-feed .feed-item strong a { color: inherit; text-decoration: none; }
.news-entity-feed .feed-item strong a:hover,
.news-entity-feed .feed-item strong a:focus-visible { text-decoration: underline; }
.news-entity-feed .feed-item strong a::after { content: " \2197"; color: var(--text-muted); font-size: .85em; }

/* ---- Modul Voľby ------------------------------------------------------ */
.el-head { margin-bottom: 1.25rem; }
.el-head h1 { margin: .1rem 0 .4rem; }
.el-head .lede { margin: 0 0 .5rem; max-width: 64ch; }
.el-head .kicker a { color: inherit; text-decoration: none; }
.el-head .kicker a:hover, .el-head .kicker a:focus-visible { text-decoration: underline; }
.el-source { margin: 0; font-size: .85rem; color: var(--text-muted); }
.el-source a { color: var(--primary); text-decoration: none; }
.el-source a:hover, .el-source a:focus-visible { text-decoration: underline; }
.el-source code { font-size: .8rem; background: var(--surface-secondary); padding: .05rem .3rem; border-radius: 4px; }

.el-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; margin: 1.25rem 0 2rem; }
.el-type {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.1rem 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: transform .15s ease, box-shadow .15s ease;
}
.el-type:hover, .el-type:focus-visible { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(11, 27, 58, .14); }
.el-type.is-empty { opacity: .7; }
.el-type h2 { margin: 0; font-size: 1.15rem; line-height: 1.3; }
.el-type .kicker { margin: 0; }
.el-type-meta, .el-type-facts { margin: 0; font-size: .88rem; color: var(--text-secondary); }
.el-type-lead { list-style: none; margin: .35rem 0 0; padding: 0; display: grid; gap: .25rem; }
/* Názov, percento a mandáty v pevných stĺpcoch — čísla stoja pod sebou
   bez ohľadu na dĺžku názvu strany. */
.el-type-lead li { display: grid; grid-template-columns: minmax(0, 1fr) 4.5em 5.5em; column-gap: .6rem; align-items: baseline; font-size: .92rem; border-bottom: 1px solid var(--border); padding-bottom: .25rem; }
.el-type-lead li:last-child { border-bottom: 0; }
.el-type-lead li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.el-type-lead li b { font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.el-type-lead li i { font-style: normal; color: var(--text-muted); font-size: .82rem; white-space: nowrap; text-align: right; }
.el-type-lead li b:last-child { grid-column: 2 / 4; }
.el-type .metric-cta { margin-top: auto; padding-top: .5rem; }
.el-about { margin: 1rem 0 2rem; max-width: 70ch; }
.el-about h2 { font-size: 1.05rem; margin: 0 0 .3rem; }
.el-about p { margin: 0; color: var(--text-secondary); }

.el-section { margin: 2rem 0; }
.el-section h3 { margin: 1.25rem 0 .5rem; font-size: 1rem; }
.el-kpis { margin: 1rem 0 1.5rem; }
.el-round + .el-round { border-top: 1px solid var(--border); padding-top: 1.5rem; }

.el-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.el-table th, .el-table td { padding: .55rem .7rem; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.el-table thead th { font-size: .74rem; color: var(--text-muted); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.el-table tbody th { font-weight: 600; color: var(--text); font-size: .93rem; letter-spacing: 0; text-transform: none; }
.el-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.el-table td .hint, .el-table th .hint { display: block; font-weight: 400; font-size: .8rem; color: var(--text-muted); margin-top: .1rem; }
.el-table tr.is-elected td, .el-table tr.is-elected th { background: rgba(22, 134, 92, .06); }
.el-table tr.is-passed th { font-weight: 700; }
.el-table tr.is-withdrawn td, .el-table tr.is-withdrawn th { color: var(--text-muted); }
.el-status { display: inline-block; padding: .1rem .5rem; border-radius: 999px; font-size: .75rem; white-space: nowrap; }
.el-status.is-elected { background: #e8f6ef; color: var(--success); }
.el-status.is-substitute { background: var(--surface-secondary); color: var(--text-secondary); }
.el-status.is-withdrawn { background: #fdecee; color: var(--danger); }

.el-seats { margin: .5rem 0 .75rem; }
.el-seats-strip { display: block; width: 100%; height: 22px; border-radius: 6px; overflow: hidden; }
.el-seats-legend { list-style: none; margin: .5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem 1rem; font-size: .88rem; }
.el-seats-legend li { display: inline-flex; align-items: center; gap: .35rem; }
.el-seats-legend b { font-variant-numeric: tabular-nums; }

.el-elected-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .85rem; }
.el-elected-party { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: .9rem 1.1rem; }
.el-elected-party h3 { margin: 0 0 .4rem; font-size: 1rem; display: flex; justify-content: space-between; gap: .5rem; }
.el-elected-party h3 a { color: inherit; text-decoration: none; }
.el-elected-party h3 a:hover, .el-elected-party h3 a:focus-visible { color: var(--primary); text-decoration: underline; }
.el-elected-party ol { margin: 0; padding-left: 1.3rem; font-size: .9rem; line-height: 1.5; }
.el-elected-party ol .hint { color: var(--text-muted); font-size: .8rem; }

.el-ranked { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; max-width: 46rem; }
.el-ranked li { display: grid; grid-template-columns: minmax(0, 14rem) 1fr 3rem; gap: .6rem; align-items: center; font-size: .9rem; }
.el-ranked-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.el-ranked-bar { display: block; width: 100%; height: .55rem; background: var(--surface-secondary); border-radius: 999px; overflow: hidden; color: var(--primary); }
.el-ranked b { text-align: right; font-variant-numeric: tabular-nums; }

.el-search { margin: .5rem 0 1rem; max-width: 40rem; }
.el-search label { display: block; font-weight: 600; margin-bottom: .35rem; }
.el-search-row { display: flex; gap: .5rem; }
.el-search-row input { flex: 1; min-width: 0; padding: .6rem .8rem; border: 1px solid var(--border); border-radius: 10px; font: inherit; }
.el-search-row button { padding: .6rem 1rem; border: 0; border-radius: 10px; background: var(--primary); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.el-search-results { list-style: none; margin: 0 0 1rem; padding: 0; max-width: 40rem; }
.el-search-results li { display: flex; justify-content: space-between; gap: .5rem; padding: .45rem 0; border-bottom: 1px solid var(--border); }
.el-search-results a { font-weight: 600; text-decoration: none; color: var(--text); }
.el-search-results a:hover, .el-search-results a:focus-visible { color: var(--primary); text-decoration: underline; }

.el-question { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.2rem; margin: .85rem 0; }
.el-question h3 { margin: 0 0 .3rem; font-size: 1rem; }
.el-question-text { margin: 0 0 .75rem; color: var(--text-secondary); }
.el-yesno svg { display: block; border-radius: 6px; overflow: hidden; }
.el-yesno-legend { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: .5rem 0 0; }
.el-yesno-legend div { display: flex; gap: .4rem; align-items: baseline; }
.el-yesno-legend dt { font-weight: 600; }
.el-yesno-legend dd { margin: 0; font-variant-numeric: tabular-nums; }

.el-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 1rem; }
.el-plain-list { margin: 0; padding-left: 1.3rem; line-height: 1.6; }
.el-plain-list li { display: flex; justify-content: space-between; gap: .5rem; border-bottom: 1px solid var(--border); padding: .25rem 0; }
.el-plain-list li a { text-decoration: none; color: var(--text); }
.el-plain-list li a:hover, .el-plain-list li a:focus-visible { color: var(--primary); text-decoration: underline; }
.el-plain-list.is-text li { display: list-item; border: 0; padding: .2rem 0; }
.el-plain-list b { font-variant-numeric: tabular-nums; }

@media (max-width: 640px) {
    .el-ranked li { grid-template-columns: minmax(0, 1fr) 3rem; }
    .el-ranked-bar { grid-column: 1 / -1; }
}

/* Vložiteľný prehrávač: len video na čiernom pozadí. */
body.embed { margin: 0; background: #000; }
body.embed .player.is-embed { max-width: none; margin: 0; border: 0; border-radius: 0; box-shadow: none; background: #000; }
body.embed .player.is-embed video { display: block; width: 100%; height: 100vh; object-fit: contain; background: #000; }
body.embed .player-loading, body.embed .player-fallback { color: #ccc; text-align: center; margin: .5rem; }

/* Schvaľovanie príspevkov na sociálne siete (interné). */
.soc-card { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; margin: .75rem 0; }
.soc-card:has(> .soc-body:only-child) { grid-template-columns: 1fr; }
.soc-image { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--border); }
.soc-body { min-width: 0; }
.soc-meta { margin: 0 0 .4rem; font-size: .85rem; color: var(--text-secondary); }
.soc-text { white-space: pre-wrap; font: inherit; margin: 0 0 .5rem; line-height: 1.5; }
.soc-link { margin: 0 0 .5rem; font-size: .85rem; word-break: break-all; }
.soc-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.soc-actions .button { padding: .45rem .9rem; border: 0; border-radius: 10px; background: var(--primary); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.soc-actions .button.is-quiet { background: var(--surface-secondary); color: var(--text); }
@media (max-width: 640px) { .soc-card { grid-template-columns: 1fr; } }
