/* Władzoskop — style motywu (2.0: nowocześniejszy układ, karty z grafikami, czytelniejsza typografia).
   Kontrast (WCAG 2.2, sprawdzony obliczeniowo): tekst #14202B na #F5F3EE 14,9:1; drugorzędny #48566A 7,0:1; linki #066B76 5,6:1;
   etykiety #9A4D00 5,5:1; biały na #087F8C 4,75:1 (przyciski). Turkus #087F8C i bursztyn #B75C00 tylko jako akcent/duże elementy.
   Tryb ciemny: #DCE3E8 na #0E1820 13,8:1; drugorzędny #A3B3C0 8,2:1; linki #5CC8D3 9,1:1. */

:root {
	--bg: #F5F3EE; --surface: #FFFFFF; --surface-2: #EFEBE2; --surface-3: #E7E2D6; --text: #14202B; --muted: #48566A; --line: #E2DDD1; --line-strong: #CFC8B8;
	--link: #066B76; --link-hover: #14202B; --accent: #087F8C; --accent-ink: #FFFFFF; --accent-soft: #E1F1F2; --amber: #9A4D00; --amber-bg: #FBEBDD;
	--teal-bg: #E3F2F3; --danger: #A12622; --ok: #1F6B3A; --ok-bg: #E2F2E6; --no-bg: #F9E3E1; --focus: #B75C00;
	--accent-mark: #087F8C; --amber-mark: #B75C00; --chrome-bg: #14202B; --chrome-2: #1B2A37; --chrome-ink: #F6F4EE; --chrome-muted: #B9C3CC;
	--yes: #1F8A5B; --no: #C2453D; --abstain: #C9A23A;
	--font-text: Charter, "Bitstream Charter", "Sitka Text", Cambria, "Iowan Old Style", Georgia, serif;
	--font-ui: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
	--scale: 1; --measure: 68ch; --radius: 14px; --radius-sm: 8px; --gap: clamp(1rem, 2.5vw, 1.75rem);
	--shadow: 0 1px 2px rgb(20 32 43 / .05), 0 6px 18px rgb(20 32 43 / .06);
	--shadow-hover: 0 2px 4px rgb(20 32 43 / .08), 0 14px 34px rgb(20 32 43 / .13);
	color-scheme: light;
}
html[data-size="2"] { --scale: 1.1; }
html[data-size="3"] { --scale: 1.22; }

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #0E1820; --surface: #142029; --surface-2: #1B2A37; --surface-3: #22364A; --text: #DCE3E8; --muted: #A3B3C0; --line: #243444; --line-strong: #31465A;
		--link: #5CC8D3; --link-hover: #FFFFFF; --accent: #2FB3C0; --accent-ink: #0E1820; --accent-soft: #11303A; --amber: #F2A65A; --amber-bg: #2A2116;
		--teal-bg: #112C31; --danger: #FF8A80; --ok: #7FD69B; --ok-bg: #133024; --no-bg: #35191A; --focus: #F2A65A; --accent-mark: #2FB3C0; --amber-mark: #F2A65A;
		--chrome-bg: #070D12; --chrome-2: #0E1820; --chrome-ink: #DCE3E8; --chrome-muted: #A3B3C0; --yes: #3DBE84; --no: #EF6B62; --abstain: #E2BE55;
		--shadow: 0 1px 2px rgb(0 0 0 / .35), 0 6px 18px rgb(0 0 0 / .25); --shadow-hover: 0 2px 4px rgb(0 0 0 / .4), 0 14px 34px rgb(0 0 0 / .4);
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--bg: #0E1820; --surface: #142029; --surface-2: #1B2A37; --surface-3: #22364A; --text: #DCE3E8; --muted: #A3B3C0; --line: #243444; --line-strong: #31465A;
	--link: #5CC8D3; --link-hover: #FFFFFF; --accent: #2FB3C0; --accent-ink: #0E1820; --accent-soft: #11303A; --amber: #F2A65A; --amber-bg: #2A2116;
	--teal-bg: #112C31; --danger: #FF8A80; --ok: #7FD69B; --ok-bg: #133024; --no-bg: #35191A; --focus: #F2A65A; --accent-mark: #2FB3C0; --amber-mark: #F2A65A;
	--chrome-bg: #070D12; --chrome-2: #0E1820; --chrome-ink: #DCE3E8; --chrome-muted: #A3B3C0; --yes: #3DBE84; --no: #EF6B62; --abstain: #E2BE55;
	--shadow: 0 1px 2px rgb(0 0 0 / .35), 0 6px 18px rgb(0 0 0 / .25); --shadow-hover: 0 2px 4px rgb(0 0 0 / .4), 0 14px 34px rgb(0 0 0 / .4);
	color-scheme: dark;
}

/* Podstawy */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; font-size: calc(100% * var(--scale)); }
body { margin: 0; background: var(--bg); color: var(--text); font: 1.0625rem/1.6 var(--font-ui); overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--link-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--text); color: var(--bg); padding: .75rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; }
.wrap { width: min(78rem, 100% - 2rem); margin-inline: auto; }
.small { font-size: .875rem; color: var(--muted); }
.js-only { display: none !important; }
html.js .js-only { display: inline-flex !important; }
html.js .js-only[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--font-ui); line-height: 1.18; text-wrap: balance; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(1.85rem, 1.25rem + 2.6vw, 3rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { text-wrap: pretty; }
button, .button, input[type="submit"] { font: 650 1rem var(--font-ui); min-height: 44px; padding: .55rem 1.1rem; border-radius: 999px; border: 2px solid var(--accent); background: var(--accent); color: var(--accent-ink); cursor: pointer; display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; }
button:hover, .button:hover { filter: brightness(1.08); color: var(--accent-ink); }
.button--ghost { background: transparent; color: inherit; border-color: currentColor; }
.button--ghost:hover { color: inherit; background: rgb(255 255 255 / .08); }
input, select, textarea { font: 1rem var(--font-ui); color: var(--text); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: .55rem .8rem; min-height: 44px; max-width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
label { display: block; font-weight: 600; margin-bottom: .25rem; }
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.2em; }

/* Nagłówek */
.topbar { background: var(--chrome-bg); color: var(--chrome-ink); font-size: .84rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; flex-wrap: wrap; }
.topbar__claim { margin: 0; color: var(--chrome-muted); display: flex; gap: .6rem; align-items: center; }
.topbar__date { color: var(--chrome-ink); font-weight: 650; }
.topbar__tools { display: flex; align-items: center; gap: .35rem; }
.topbar__link { color: var(--chrome-ink); font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; padding-inline: .35rem; text-decoration: none; }
.topbar__link:hover { color: var(--chrome-ink); text-decoration: underline; }
.topbar .tool { min-width: 44px; min-height: 36px; padding: .2rem .6rem; background: transparent; border: 1px solid rgb(255 255 255 / .28); color: var(--chrome-ink); border-radius: 999px; justify-content: center; }
.topbar .tool:hover { background: rgb(255 255 255 / .08); }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .9rem; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: .65rem; color: var(--text); text-decoration: none; }
.logo:hover { color: var(--text); }
.logo__mark { color: var(--text); width: 48px; height: 48px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.02; }
.logo__name { font: 850 clamp(1.5rem, 1.2rem + 1.4vw, 2.05rem) var(--font-ui); letter-spacing: -.035em; }
.logo__tag { font-size: .78rem; color: var(--amber); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-top: .2rem; }
.search-mini { display: flex; flex: 1 1 18rem; min-width: 0; max-width: 26rem; position: relative; }
.search-mini input { flex: 1; min-width: 0; border-radius: 999px; padding-left: 2.6rem; padding-right: 6.2rem; background: var(--surface); }
.search-mini > .icon { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-mini button { position: absolute; right: 4px; top: 4px; bottom: 4px; min-height: 0; padding: 0 1rem; display: inline-flex; align-items: center; justify-content: center; gap: .35rem; }
.search-mini button .icon { display: none; }
.nav { position: sticky; top: 0; z-index: 30; border-block: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 92%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.nav__list, .nav__sub { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.nav__list a, .nav__sub a { display: flex; align-items: center; min-height: 48px; padding: .4rem .8rem; color: var(--text); font-weight: 650; text-decoration: none; font-size: .97rem; }
.nav__list a:hover, .nav__list a[aria-current="page"], .nav__list .current-menu-item a { box-shadow: inset 0 -3px 0 var(--accent); color: var(--text); }
.nav__more { position: relative; }
.nav__more summary { min-height: 48px; display: flex; align-items: center; gap: .3rem; padding: .4rem .8rem; cursor: pointer; font-weight: 650; list-style: none; }
.nav__more summary::-webkit-details-marker { display: none; }
.nav__more summary::after { content: ""; width: .45rem; height: .45rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: .2rem; }
.nav__more[open] .nav__sub { position: absolute; right: 0; z-index: 20; flex-direction: column; flex-wrap: nowrap; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); min-width: min(16rem, calc(100vw - 1.5rem)); max-width: calc(100vw - 1.5rem); max-height: min(75vh, 34rem); overflow-y: auto; overscroll-behavior: contain; box-shadow: var(--shadow-hover); padding: .4rem; }
.nav__more[open] .nav__sub a { border-radius: var(--radius-sm); min-height: 44px; }
.nav__more[open] .nav__sub a:hover { background: var(--surface-2); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem; padding: 0; margin: 1.1rem 0 .5rem; font-size: .86rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: .25rem; }

/* Wejście na stronie głównej */
.hero { background: radial-gradient(120% 140% at 85% 10%, #1F4351 0%, var(--chrome-bg) 55%) var(--chrome-bg); color: var(--chrome-ink); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding-block: clamp(2rem, 5vw, 3.75rem) clamp(1.5rem, 3vw, 2.5rem); }
.hero__eyebrow { margin: 0 0 .8rem; font: 700 .8rem var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: #F2A65A; }
.hero h1 { color: #FFFFFF; font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); margin-bottom: .45em; }
.hero h1 em { font-style: normal; color: #5CC8D3; }
.hero__text { font: 1.15rem/1.6 var(--font-ui); color: var(--chrome-muted); max-width: 36rem; margin: 0 0 1.5rem; }
.hero__actions { display: flex; gap: .65rem; flex-wrap: wrap; }
.hero__actions .button { background: #2FB3C0; border-color: #2FB3C0; color: #0E1820; }
.hero__actions .button--ghost { background: transparent; color: #F6F4EE; border-color: rgb(246 244 238 / .5); }
.hero__art { position: relative; }
.hero__art .hemicycle { width: 100%; height: auto; display: block; }
.hemicycle circle { fill: rgb(246 244 238 / .22); }
.hemicycle .h-a { fill: #2FB3C0; }
.hero__caption { margin: .5rem 0 0; text-align: center; font-size: .86rem; color: var(--chrome-muted); }
.stats { list-style: none; margin: 0; padding: 0 0 clamp(1.5rem, 3vw, 2.25rem); display: grid; gap: .75rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .1); border-radius: var(--radius); padding: .9rem 1.1rem; }
.stat__n { display: block; font: 800 clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem)/1.1 var(--font-ui); color: #FFFFFF; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat__l { display: block; font-size: .88rem; color: var(--chrome-muted); margin-top: .2rem; }
.hero__fresh { margin: 0; padding-bottom: 1.1rem; font-size: .82rem; color: var(--chrome-muted); }

/* Karty i listy */
.cards { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.cards--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); }
.cards--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.cards--list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow-hover); border-color: var(--line-strong); }
.card__body { padding: 1rem 1.15rem 1.15rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.card__title { font-size: 1.14rem; line-height: 1.28; margin: 0; letter-spacing: -.01em; }
.card__title a { color: var(--text); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.card a:not(.card__title a), .card .badge a { position: relative; z-index: 2; }
.card--lead .card__title { font-size: clamp(1.45rem, 1.1rem + 1.5vw, 2.15rem); line-height: 1.15; letter-spacing: -.02em; }
.card--lead .card__body { padding: 1.25rem 1.4rem 1.4rem; gap: .6rem; }
.card__lead { margin: 0; color: var(--muted); font: 1rem/1.55 var(--font-ui); }
.card--lead .card__lead { font: 1.12rem/1.6 var(--font-text); color: var(--text); opacity: .86; }
.card__meta { margin: 0; font-size: .8rem; color: var(--muted); display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.card:hover .card__media img { transform: scale(1.03); }
.card__ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--accent); background: radial-gradient(circle at 70% 20%, var(--accent-soft), transparent 60%), repeating-linear-gradient(135deg, var(--surface-2) 0 10px, var(--surface) 10px 20px); }
.card__ph .icon { width: 3.25rem; height: 3.25rem; }
.card--small { flex-direction: row; align-items: stretch; }
.card--small .card__media { flex: 0 0 7.5rem; aspect-ratio: auto; min-height: 6.5rem; }
.card--small .card__body { padding: .75rem .95rem; gap: .3rem; }
.card--small .card__title { font-size: 1.02rem; }
.card--institution .card__ph { color: var(--amber-mark); }
.card__media--ph { aspect-ratio: 4 / 1; }
.card--small .card__media--ph { aspect-ratio: auto; }
.card__ph .icon { width: 2.6rem; height: 2.6rem; }
.cards--list .card__lead, .cards .card--medium .card__lead { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.card__recent { margin: .15rem 0 0; font-size: .86rem; line-height: 1.45; color: var(--text); background: var(--surface-2); border-radius: var(--radius-sm); padding: .45rem .65rem; }
.card__recent span { font-weight: 700; color: var(--amber); }
.badge--status { background: var(--teal-bg); color: var(--link); }
.card__note { margin: 0; font: 700 .76rem var(--font-ui); color: var(--amber); }
.badge { display: inline-flex; align-items: center; gap: .3rem; font: 700 .72rem/1.4 var(--font-ui); letter-spacing: .05em; text-transform: uppercase; padding: .16rem .55rem; border-radius: 999px; background: var(--surface-2); color: var(--text); }
.badge--kind { background: var(--amber-bg); color: var(--amber); }
.badge--ai { background: var(--teal-bg); }
.badge--ai a { color: var(--link); text-decoration: none; }
.badge--ok { background: var(--ok-bg); color: var(--ok); }
.badge--no { background: var(--no-bg); color: var(--danger); }
.list-header { margin: .75rem 0 1.75rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.list-header h1 { margin-bottom: .3em; }
.list-header__desc { color: var(--muted); max-width: var(--measure); font-size: 1.08rem; margin: 0; }
.empty { background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 1.25rem 1.4rem; max-width: 52rem; color: var(--muted); }

/* Strona główna — moduły */
.home-grid { display: grid; gap: clamp(2.25rem, 5vw, 3.5rem); padding-block: clamp(1.75rem, 4vw, 2.75rem) 3rem; }
.module__head { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem 1rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.module__title { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.6rem); margin: 0; display: flex; align-items: center; gap: .55rem; }
.module__title::before { content: ""; width: .55rem; height: 1.3em; border-radius: 4px; background: linear-gradient(var(--accent), var(--amber-mark)); flex: none; }
.module--top .module__title::before, .top-grid__news .module__title::before { height: 1.1em; }
.module__more { font-weight: 650; font-size: .95rem; text-decoration: none; display: inline-flex; align-items: center; gap: .3rem; }
.module__more::after { content: "→"; transition: transform .2s; }
.module__more:hover::after { transform: translateX(3px); }
.module__fresh { margin: -.6rem 0 1rem; font-size: .84rem; color: var(--muted); flex-basis: 100%; }
.module__fresh.is-stale { color: var(--amber); }
.top-grid { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
.top-grid__news { display: grid; gap: .8rem; align-content: start; }
.top-grid__news .module__title { font-size: 1.15rem; margin-bottom: .2rem; }
.minute { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.minute li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1.1rem; font-family: var(--font-text); box-shadow: var(--shadow); }
.minute time { display: block; font: 700 .78rem var(--font-ui); color: var(--amber); letter-spacing: .04em; margin-bottom: .2rem; }
.minute a { color: var(--text); text-decoration: none; }
.minute a:hover { text-decoration: underline; }
.split { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.votes-mini { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; box-shadow: var(--shadow); }
.votes-mini h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .9rem; }
.votes-mini ul, .docs-list, .promise-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.docs-list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 24rem), 1fr)); gap: .8rem; }
.vote { display: grid; gap: .35rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.vote:last-child { border-bottom: 0; padding-bottom: 0; }
.vote__title { margin: 0; font-weight: 600; line-height: 1.4; }
.vote__nums { display: flex; gap: .9rem; flex-wrap: wrap; font-size: .82rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.vote__nums b { color: var(--text); }
.vbar { display: flex; height: .5rem; border-radius: 999px; overflow: hidden; background: var(--surface-2); }
.vbar span { display: block; height: 100%; }
.vbar__yes { background: var(--yes); }
.vbar__no { background: var(--no); }
.vbar__abs { background: var(--abstain); }
.dot { display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; margin-right: .25rem; vertical-align: .05em; }
.dot--yes { background: var(--yes); }
.dot--no { background: var(--no); }
.dot--abs { background: var(--abstain); }
.docs-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .35rem .8rem; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .85rem 1rem; box-shadow: var(--shadow); }
.docs-list .doc-ico { grid-row: span 2; width: 2.6rem; height: 2.6rem; border-radius: 10px; display: grid; place-items: center; background: var(--teal-bg); color: var(--accent); }
.docs-list .doc-ico--akt-prawny { background: var(--amber-bg); color: var(--amber-mark); }
.docs-list a { font-weight: 600; color: var(--text); text-decoration: none; line-height: 1.4; }
.docs-list a:hover { text-decoration: underline; color: var(--link); }
.docs-list .small { grid-column: 2; }
.module--method { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow); }
.module--method > p { margin: 1.25rem 0 0; color: var(--muted); }
.steps { list-style: none; counter-reset: step; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14.5rem), 1fr)); padding: 0; margin: 1rem 0 0; }
.steps li { counter-increment: step; position: relative; padding: 3.1rem 0 0; color: var(--muted); line-height: 1.55; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 2.3rem; height: 2.3rem; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font: 800 1rem var(--font-ui); }
.steps strong { display: block; color: var(--text); font-size: 1.05rem; margin-bottom: .2rem; }

/* Artykuł */
.article, .dossier, .profile, .promise, .page { padding-block: .5rem 3rem; }
.article__header { max-width: 50rem; margin-bottom: 1.5rem; }
.article__kind { display: flex; gap: .5rem; align-items: center; margin: 0 0 .85rem; flex-wrap: wrap; }
.article__title { margin-bottom: .35em; }
.article__lead { font: 1.3rem/1.55 var(--font-text); margin: 0 0 1.25rem; color: var(--text); opacity: .9; }
.article__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.75rem; margin: 0; padding: .85rem 0; border-block: 1px solid var(--line); font-size: .9rem; }
.article__meta div { display: flex; gap: .4rem; }
.article__meta dt { color: var(--muted); }
.article__meta dd { margin: 0; font-weight: 600; }
.article__figure { margin: 0 0 2rem; max-width: 60rem; }
.article__figure img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); display: block; box-shadow: var(--shadow); }
.article__figure figcaption { font-size: .84rem; color: var(--muted); margin-top: .55rem; }
.figure__note { font: 700 .78rem var(--font-ui); color: var(--amber); }
.profile__icon { width: 4rem; height: 4rem; border-radius: 18px; display: grid; place-items: center; background: var(--amber-bg); color: var(--amber-mark); margin-bottom: 1rem; }
.profile__icon .icon { width: 2.3rem; height: 2.3rem; }
.votes details { margin-top: .3rem; font-size: .85rem; }
.votes summary { cursor: pointer; color: var(--link); min-height: 32px; display: inline-flex; align-items: center; }
.prose { font-family: var(--font-text); font-size: clamp(1.08rem, 1rem + .35vw, 1.22rem); line-height: 1.75; max-width: var(--measure); }
.prose p { margin: 0 0 1.1em; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.6rem); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.25em 0; padding: .25em 1em; border-left: 4px solid var(--accent); font-style: italic; }
.prose table, .data, .votes { border-collapse: collapse; width: 100%; font: .95rem/1.45 var(--font-ui); }
.prose th, .prose td, .data th, .data td, .votes th, .votes td { border-bottom: 1px solid var(--line); padding: .6rem .65rem; text-align: left; vertical-align: top; }
.votes thead th, .data thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); border-bottom: 2px solid var(--line-strong); }
.votes tbody tr:hover { background: var(--surface-2); }
caption, figcaption { caption-side: bottom; text-align: left; font-size: .85rem; color: var(--muted); padding-top: .4rem; }
.table-wrap { position: relative; overflow-x: auto; max-width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .25rem .5rem; }
.wsk-ref { font: 700 .7em var(--font-ui); white-space: nowrap; margin-left: .1em; }
.wsk-ref a { text-decoration: none; padding: .1em .2em; border-radius: 4px; background: var(--teal-bg); }
.tldr { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.15rem 1.4rem; margin: 0 0 2rem; max-width: 50rem; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.tldr::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: linear-gradient(var(--accent), var(--amber-mark)); }
.tldr h2 { font-size: .92rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .6rem; color: var(--muted); }
.tldr ul { margin: 0; padding-left: 1.2rem; font-family: var(--font-text); font-size: 1.07rem; line-height: 1.6; }
.tldr li { margin-bottom: .4rem; }
.tldr li::marker { color: var(--accent); }
.wsk-box, .is-style-wsk-potwierdzone, .is-style-wsk-niewiadome { border-radius: var(--radius); padding: .9rem 1.25rem; margin: 1.5rem 0; }
.wsk-box h2 { font-size: 1.15rem; margin-top: .25rem; }
.wsk-box--confirmed, .is-style-wsk-potwierdzone { background: var(--teal-bg); border-left: 5px solid var(--accent); }
.wsk-box--unknown, .is-style-wsk-niewiadome { background: var(--amber-bg); border-left: 5px solid var(--amber); }
.wsk-box--positions { background: var(--surface); border: 1px solid var(--line); }
.wsk-box--analysis, .wsk-box--forecast { background: var(--surface-2); border-left: 5px solid var(--muted); }
.wsk-box__note { font: .85rem var(--font-ui); color: var(--muted); }
.status-banner { background: var(--amber-bg); border-left: 5px solid var(--amber); border-radius: var(--radius); padding: .8rem 1.15rem; margin: 0 0 1.5rem; max-width: 50rem; }
.status-banner ul { margin: .25rem 0; padding-left: 1.2rem; }
.related, .sources, .history, .report, .ai-note, .money { max-width: 50rem; margin-top: 2.25rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.related ul { padding-left: 1.2rem; }
.sources ol { padding: 0; list-style: none; counter-reset: src; display: grid; gap: .55rem; }
.sources li { counter-increment: src; position: relative; padding: .7rem .9rem .7rem 3rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); scroll-margin-top: 4rem; }
.sources li::before { content: counter(src); position: absolute; left: .8rem; top: .7rem; width: 1.6rem; height: 1.6rem; display: grid; place-items: center; border-radius: 50%; background: var(--teal-bg); color: var(--link); font: 800 .8rem var(--font-ui); }
.sources li:target { background: var(--amber-bg); outline: 2px solid var(--amber); }
.history ol { padding-left: 1.4rem; }
.ai-note { background: var(--teal-bg); border-radius: var(--radius); padding: 1rem 1.25rem; border-top: 0; }
.notice-test { background: var(--amber-bg); border: 2px solid var(--amber); padding: .5rem .75rem; border-radius: var(--radius-sm); font-weight: 700; }
.report__details summary { min-height: 44px; display: inline-flex; align-items: center; cursor: pointer; font-weight: 700; color: var(--link); }
.report__form textarea, .report__form input { width: 100%; }
.report__ok { background: var(--teal-bg); padding: .75rem 1rem; border-radius: var(--radius-sm); }
.report__error { background: var(--amber-bg); padding: .75rem 1rem; border-radius: var(--radius-sm); }
.hp { position: absolute; left: -9999px; }
.timeline { list-style: none; padding: 0; border-left: 3px solid var(--line); margin-left: .5rem; }
.timeline li { position: relative; padding: 0 0 1rem 1.1rem; }
.timeline li::before { content: ""; position: absolute; left: -.55rem; top: .35rem; width: .8rem; height: .8rem; border-radius: 50%; background: var(--accent); }
.timeline time { font: 700 .85rem var(--font-ui); color: var(--muted); }
.timeline p { margin: .1rem 0 0; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .35rem .85rem; }
.promise__quote { font: 1.3rem/1.5 var(--font-text); margin: 1rem 0; padding: 1rem 1.25rem; border-left: 6px solid var(--amber); background: var(--surface); max-width: 50rem; border-radius: 0 var(--radius) var(--radius) 0; }
.promise__quote footer { font: .9rem var(--font-ui); color: var(--muted); margin-top: .5rem; }
.facts div { display: grid; grid-template-columns: 10rem 1fr; gap: .5rem; padding: .45rem 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.facts__note { display: block; margin-top: .2rem; font: .9rem/1.45 var(--font-ui); color: var(--muted); }
.promise__context { max-width: 50rem; margin: -.25rem 0 1rem; font-size: 1rem; color: var(--muted); }
.promise .facts { max-width: 52rem; margin-bottom: 1.5rem; }
.promise__dates, .promise__check { max-width: 52rem; margin-block: 1.5rem; }
.dates time { white-space: nowrap; }
.dates td:last-child { overflow-wrap: anywhere; }
.dates__src { display: none; }
@media (max-width: 480px) {
	.dates th:last-child, .dates td:last-child { display: none; }
	.dates__src { display: block; margin-top: .3rem; font-size: .9em; font-weight: 400; overflow-wrap: anywhere; }
}
.dates tr.is-deadline td { color: var(--muted); font-style: italic; }
.dates tr.is-done td { font-weight: 650; }
.promise__check { padding: .9rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--ok); border-radius: 0 var(--radius) var(--radius) 0; }
.promise__check--niezweryfikowana, .promise__check--brak-dokumentow { border-left-color: var(--amber); }
.promise__check h2 { margin-top: 0; font-size: 1.15rem; }
.promise__check p { margin: .3rem 0; }
.check-docs { margin: .4rem 0 0; padding-left: 1.2rem; }
.check-docs li { margin: .2rem 0; overflow-wrap: anywhere; }
.badge--unverified { background: var(--amber-bg); color: var(--amber); text-transform: none; letter-spacing: .01em; }
.timeline__entered { font: .8rem var(--font-ui); color: var(--muted); }
.timeline li.is-revised > p:not(.timeline__revised) { color: var(--muted); }
.timeline li.is-revised::before { background: var(--line-strong); }
.timeline__revised { font-size: .95rem; padding: .35rem .6rem; margin-top: .3rem !important; background: var(--amber-bg); border-radius: var(--radius-sm); }
.card__deadline { margin: .25rem 0 0; font: .88rem/1.4 var(--font-ui); color: var(--muted); overflow-wrap: anywhere; }
/* Okienko zgody na Google Analytics (Front\Consent): pod nawigacją (z-index 30), dwa równorzędne przyciski. */
.consent { position: fixed; z-index: 25; left: 0; right: 0; bottom: 0; max-height: 60vh; overflow-y: auto; background: var(--surface); color: var(--text); border-top: 1px solid var(--line-strong); box-shadow: 0 -6px 24px rgb(0 0 0 / .18); font-family: var(--font-ui); }
.consent[hidden] { display: none; }
.consent__inner { max-width: 72rem; margin: 0 auto; padding: .9rem 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .4rem 1.5rem; align-items: center; }
.consent__title { grid-column: 1; margin: 0; font-size: 1.05rem; font-weight: 700; }
.consent__text { grid-column: 1; margin: 0; font-size: .95rem; line-height: 1.5; overflow-wrap: anywhere; }
.consent__actions { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-wrap: wrap; gap: .6rem; }
.consent__btn { justify-content: center; min-width: 8.5rem; }
@media (max-width: 760px) {
	.consent__inner { grid-template-columns: minmax(0, 1fr); }
	.consent__actions { grid-column: 1; grid-row: auto; }
	.consent__btn { flex: 1 1 8rem; min-width: 0; }
}
.publisher { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.25rem; font-family: var(--font-ui); font-size: 1rem; }
.publisher dt { font-weight: 700; color: var(--muted); }
.publisher dd { margin: 0; }

/* Kalendarz i słownik */
.calendar { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.calendar__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.15rem; box-shadow: var(--shadow); }
.calendar__date { margin: 0; font: 700 .95rem var(--font-ui); color: var(--amber); }
.calendar__title { margin: .2rem 0 .3rem; font-weight: 650; }
.calendar details summary { cursor: pointer; color: var(--link); min-height: 36px; display: inline-flex; align-items: center; }
.calendar--mini { grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.calendar--mini .calendar__item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .25rem 1rem; align-items: start; }
.calendar--mini .calendar__item > :not(.cal-tile) { grid-column: 2; }
.cal-tile { grid-row: span 3; width: 4.4rem; border-radius: 12px; overflow: hidden; text-align: center; background: var(--surface-2); border: 1px solid var(--line); font-family: var(--font-ui); }
.cal-tile__m { display: block; background: var(--accent); color: var(--accent-ink); font: 800 .7rem/1.9 var(--font-ui); letter-spacing: .1em; text-transform: uppercase; }
.cal-tile__d { display: block; font: 850 1.75rem/1.25 var(--font-ui); color: var(--text); letter-spacing: -.02em; font-variant-numeric: tabular-nums; padding: .15rem 0 .25rem; }
.calendar--mini ul { margin: .35rem 0 0; padding-left: 1.1rem; }
a.term { color: inherit; text-decoration: underline dotted var(--link); text-decoration-thickness: 2px; text-underline-offset: .2em; }
a.term:hover { color: var(--link); }
.az ul { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; padding: 0; }
.az a { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; font-weight: 700; background: var(--surface); }
.az a:hover { border-color: var(--accent); }
.glossary { max-width: 52rem; }
.glossary dt { font-weight: 700; margin-top: 1.1rem; font-size: 1.1rem; }
.glossary dd { margin: .25rem 0 0; color: var(--muted); max-width: var(--measure); line-height: 1.55; }

/* Wyszukiwanie */
.tabs ul { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem; padding: 0; margin: 1rem 0; border-bottom: 2px solid var(--line); }
.tabs a { display: flex; align-items: center; min-height: 44px; padding: .4rem .85rem; text-decoration: none; font-weight: 650; }
.tabs a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--accent); color: var(--text); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: end; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.15rem; margin-bottom: 1.5rem; }
.filters p { margin: 0; }
.filters > p { min-width: 0; max-width: 100%; }
.filters select { width: 100%; text-overflow: ellipsis; }
.back-to-results { margin: 0 0 .5rem; }
.search-big { display: flex; flex-wrap: wrap; gap: .5rem; align-items: end; max-width: 36rem; }
.search-big input { flex: 1; border-radius: 999px; }

/* Politycy: skład Sejmu, katalog, profil */
.seatmap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.5rem 2rem; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(1rem, 3vw, 1.75rem); box-shadow: var(--shadow); margin-bottom: 1.5rem; }
.seats { width: 100%; height: auto; display: block; }
.seatmap__legend h2 { font-size: 1.25rem; margin-bottom: .75rem; }
.seatmap__legend ul { list-style: none; margin: 0 0 .75rem; padding: 0; display: grid; gap: .35rem; }
.seatmap__legend li { display: grid; grid-template-columns: auto auto 1fr; gap: .1rem .5rem; align-items: baseline; font-size: .95rem; }
.seatmap__legend li b { font-variant-numeric: tabular-nums; }
.seatmap__legend li .small { grid-column: 2 / -1; font-size: .78rem; line-height: 1.35; }
.swatch { width: .85rem; height: .85rem; border-radius: 50%; display: inline-block; align-self: center; }
.filters .chips { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: .35rem; margin: .25rem 0 0; }
.filters .chips a { display: inline-flex; align-items: center; min-height: 36px; padding: .2rem .8rem; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; font-weight: 650; font-size: .9rem; color: var(--text); background: var(--bg); }
.filters .chips a[aria-current="page"], .filters .chips a:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.people { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.5rem), 1fr)); }
.person { position: relative; display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: .9rem; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem; box-shadow: var(--shadow); transition: box-shadow .2s, border-color .2s; }
.person:hover { box-shadow: var(--shadow-hover); border-color: var(--line-strong); }
.person--inactive { opacity: .78; }
.person__photo { width: 4.5rem; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.person__init { font: 800 1.35rem var(--font-ui); color: var(--accent); letter-spacing: .02em; }
.person__name { font-size: 1.02rem; margin: 0 0 .25rem; line-height: 1.25; }
.person__name a { color: var(--text); text-decoration: none; }
.person__name a::after { content: ""; position: absolute; inset: 0; }
.person__name a:hover { text-decoration: underline; }
.person__meta { margin: 0 0 .25rem; display: flex; gap: .3rem; flex-wrap: wrap; }
.person__line { margin: .1rem 0 0; font-size: .82rem; color: var(--muted); display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.person__line b { color: var(--text); font-variant-numeric: tabular-nums; }
.badge--club { background: var(--teal-bg); color: var(--link); text-transform: none; letter-spacing: .01em; }
.meter { display: inline-block; width: 3.2rem; height: .4rem; border-radius: 999px; background: var(--surface-2); overflow: hidden; vertical-align: middle; }
.meter span { display: block; height: 100%; background: var(--accent); }
.meter--big { width: 100%; height: .6rem; margin: .4rem 0; display: block; }
.profile__head.has-photo { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.25rem; align-items: center; max-width: 52rem; }
.profile__photo { margin: 0; width: clamp(6.5rem, 18vw, 9rem); }
.profile__photo img { width: 100%; height: auto; border-radius: 14px; display: block; box-shadow: var(--shadow); }
.profile__photo figcaption { font-size: .68rem; color: var(--muted); margin-top: .35rem; line-height: 1.3; overflow-wrap: anywhere; }
.profile__head .article__title, .person__name, .cmte__name { overflow-wrap: break-word; hyphens: auto; }
.mpfacts { max-width: 52rem; margin: 0 0 2rem; display: grid; gap: 1rem; }
.mpfacts .facts { margin: 0; }
.turnout { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; box-shadow: var(--shadow); }
.turnout p { margin: 0; }
.turnout__n { font: 850 2.2rem/1.1 var(--font-ui); color: var(--accent); font-variant-numeric: tabular-nums; }
.person__role { margin: 0 0 .25rem; font: 700 .78rem var(--font-ui); color: var(--amber); }
.tally { display: inline-flex; align-items: center; justify-content: center; min-width: 1.8em; padding: 0 .45em; margin-left: .25rem; border-radius: 999px; background: var(--surface-2); font: 700 .8em var(--font-ui); color: var(--muted); vertical-align: .12em; }

/* Komisje sejmowe i aktywność posła */
.cmtes { margin: 0 0 2.25rem; }
.cmtes--ended summary { cursor: pointer; font: 700 1.05rem var(--font-ui); padding: .5rem 0; }
.cmtes--ended[open] summary { margin-bottom: .8rem; }
.cmte-list { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); }
.cmte { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem; box-shadow: var(--shadow); display: grid; gap: .35rem; align-content: start; transition: box-shadow .2s, border-color .2s; }
.cmte:hover { box-shadow: var(--shadow-hover); border-color: var(--line-strong); }
.cmte__name { font-size: 1.02rem; line-height: 1.3; margin: 0; }
.cmte__name a { color: var(--text); text-decoration: none; }
.cmte__name a::after { content: ""; position: absolute; inset: 0; }
.cmte__name a:hover { text-decoration: underline; }
.cmte__chair { margin: 0; font-size: .9rem; }
.cmte p.small { margin: 0; }
.clubbar { display: flex; height: .6rem; border-radius: 999px; overflow: hidden; background: var(--surface-2); margin: .3rem 0 .2rem; }
.clubbar span { display: block; height: 100%; min-width: 2px; }
.clubbar__legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .15rem .8rem; font-size: .8rem; color: var(--muted); }
.clubbar__legend li { display: inline-flex; align-items: center; gap: .3rem; }
.clubbar__legend b { color: var(--text); font-variant-numeric: tabular-nums; }
.cmte-clubs { max-width: 46rem; }
.cmte-clubs .clubbar { height: .9rem; }
.cmte-clubs .clubbar__legend { font-size: .9rem; gap: .3rem 1rem; }
.committee .facts { max-width: 52rem; margin-bottom: 1.5rem; }
.committee section { margin-bottom: 2rem; }
.mpwork { max-width: 52rem; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); align-items: start; margin: 0 0 2rem; }
.mpwork__box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; box-shadow: var(--shadow); }
.mpwork__box h2 { font-size: 1.15rem; margin: 0 0 .6rem; }
.mpwork__box .small:last-child { margin-bottom: 0; }
.cmte-roles { list-style: none; margin: 0 0 .6rem; padding: 0; display: grid; gap: .45rem; }
.cmte-roles li { line-height: 1.35; }
.badge--role { background: var(--amber-bg); color: var(--amber); text-transform: none; letter-spacing: .01em; }
.qcount { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin: 0 0 .6rem; }
.qcount b { font: 850 1.6rem/1.1 var(--font-ui); color: var(--accent); font-variant-numeric: tabular-nums; }
.small-h { font: 700 .8rem var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: .4rem 0 .4rem; }
.qlist { list-style: none; margin: 0 0 .6rem; padding: 0; display: grid; gap: .6rem; }
.qlist li { display: grid; gap: .2rem; font-size: .92rem; line-height: 1.4; }
.qlist__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .5rem; font-size: .8rem; color: var(--muted); }
.clubsum { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.clubsum li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .65rem 1rem; box-shadow: var(--shadow); min-width: 9rem; }
.clubsum b { display: block; font: 850 1.5rem/1.15 var(--font-ui); color: var(--accent); font-variant-numeric: tabular-nums; }
.clubsum span { font-size: .82rem; color: var(--muted); }
/* Głosowania: strona głosowania i „Jak głosował” na profilu */
.voting .facts { max-width: 52rem; margin-bottom: 1.5rem; }
.voting .article__title { font-size: clamp(1.6rem, 1.15rem + 1.7vw, 2.5rem); overflow-wrap: break-word; }
.voting section { margin-bottom: 2rem; }
.vote-result { max-width: 52rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; box-shadow: var(--shadow); margin: 0 0 1.5rem; }
.vote-result__label { font-size: 1.35rem; margin: 0 0 .5rem; }
.vote-result__nums { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; margin: 0 0 .5rem; }
.vote-result__nums b { font: 850 1.5rem/1.1 var(--font-ui); font-variant-numeric: tabular-nums; }
.vbar--big { height: .8rem; margin: .4rem 0 .6rem; }
.clubvotes td, .clubvotes th { white-space: nowrap; }
.clubvotes__bar { width: 30%; min-width: 6rem; vertical-align: middle; }
.dissent, .votelist { list-style: none; margin: 0 0 .6rem; padding: 0; display: grid; gap: .45rem; max-width: 52rem; }
.votelist li { line-height: 1.45; }
.mpvotes { border-top: 1px solid var(--line); padding: .3rem 0; max-width: 64rem; }
.mpvotes summary { cursor: pointer; font: 700 1.05rem var(--font-ui); min-height: 44px; display: flex; align-items: center; gap: .4rem; }
.mpvotes__list { list-style: none; margin: .2rem 0 .8rem; padding: 0; columns: 16rem auto; column-gap: 1.5rem; }
.mpvotes__list li { break-inside: avoid; padding: .15rem 0; }
.mpvoting { max-width: 52rem; margin: 0 0 2rem; }
.badge--vote-yes { background: var(--ok-bg); color: var(--ok); }
.badge--vote-no { background: var(--no-bg); color: var(--danger); }
.badge--vote-abstain { background: var(--amber-bg); color: var(--amber); }
.clubsum--links li { padding: 0; }
.clubsum--links a { display: block; padding: .65rem 1rem; color: inherit; text-decoration: none; border-radius: inherit; }
.clubsum--links a:hover b, .clubsum--links a[aria-current="page"] b { text-decoration: underline; text-underline-offset: .2em; }
.clubsum--links li:has(a[aria-current="page"]) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent), var(--shadow); }
.filters--plain { display: block; }
.filters--plain .small-h { margin: 0 0 .4rem; }
.filters--plain .chips li { background: none; border: 0; padding: 0; }
.filters--plain .chips a .tally { background: transparent; color: inherit; margin-left: .15rem; }

/* Strona 404 */
.notfound { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 18rem); gap: 2rem; align-items: center; padding-block: 2rem 3rem; }
.notfound__art { color: var(--accent); opacity: .85; }
.notfound__icon { width: 100%; height: auto; stroke-width: 1.1; }

/* Paginacja i stopka */
.pagination .nav-links { display: flex; gap: .5rem; flex-wrap: wrap; margin: 2rem 0; }
.pagination .page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; padding: 0 .8rem; background: var(--surface); }
.pagination .current { background: var(--text); color: var(--bg); border-color: var(--text); }
.site-footer { background: var(--chrome-bg); color: var(--chrome-ink); margin-top: 3.5rem; padding-block: 2.75rem 1.5rem; }
.site-footer a { color: inherit; }
.footer__grid { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); }
.footer__brand { display: flex; align-items: center; gap: .6rem; font-size: 1.2rem; margin-top: 0; }
.footer__brand .logo__mark { color: var(--chrome-ink); width: 40px; height: 40px; }
.footer__ai { color: var(--chrome-muted); max-width: 32rem; }
.footer__h { font: 700 .8rem var(--font-ui); letter-spacing: .12em; text-transform: uppercase; color: #F2A65A; margin: 0 0 .75rem; }
.footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; }
.footer__links a { display: inline-flex; min-height: 36px; align-items: center; color: var(--chrome-muted); text-decoration: none; }
.footer__links a:hover { color: var(--chrome-ink); text-decoration: underline; }
.footer__bottom { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / .1); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer__small { font-size: .85rem; color: var(--chrome-muted); margin: 0; }

@media (max-width: 960px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero__art { max-width: 34rem; margin-inline: auto; width: 100%; }
	.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.top-grid { grid-template-columns: 1fr; }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.footer__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
	.topbar__claim { display: none; }
	.seatmap { grid-template-columns: 1fr; }
	.profile__head.has-photo { grid-template-columns: clamp(4.5rem, 24vw, 6rem) minmax(0, 1fr); gap: .8rem; }
	.profile__head.has-photo .profile__photo { width: 100%; }
	.profile__head .article__title { font-size: clamp(1.55rem, 1rem + 3.2vw, 2.25rem); }
	.facts div { grid-template-columns: 1fr; }
	.article__lead { font-size: 1.15rem; }
	.nav__inner { flex-wrap: nowrap; }
	.nav__list { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; min-width: 0; flex: 1; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
	.nav__list::-webkit-scrollbar { display: none; }
	.nav__list li { flex: 0 0 auto; }
	.nav__list a { padding-inline: .6rem; white-space: nowrap; }
	.nav__more { flex: 0 0 auto; }
	.masthead { padding-block: .7rem; }
	.search-mini { max-width: none; flex-basis: 100%; }
	.logo__mark { width: 40px; height: 40px; }
	.notfound { grid-template-columns: 1fr; }
	.notfound__art { max-width: 12rem; }
	.footer__grid { grid-template-columns: 1fr; }
	.card--small .card__media { flex-basis: 6rem; }
}
@media (max-width: 480px) {
	/* Profil: zdjęcie obok oznaczeń, imię i nazwisko na całą szerokość — długie nazwiska bez łamania w środku słowa. */
	.profile__head.has-photo { grid-template-columns: 4.75rem minmax(0, 1fr); align-items: center; row-gap: .4rem; }
	.profile__head.has-photo > div { display: contents; }
	.profile__head.has-photo .profile__photo { display: contents; }
	.profile__head.has-photo .profile__photo img { grid-column: 1; grid-row: 1; width: 100%; }
	.profile__head.has-photo .profile__photo figcaption { grid-column: 1 / -1; grid-row: 2; margin: 0; }
	.profile__head.has-photo .article__kind { grid-column: 2; grid-row: 1; margin: 0; }
	.profile__head.has-photo .article__title, .profile__head.has-photo .article__lead { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
	.stats { gap: .5rem; }
	.stat { padding: .75rem .85rem; }
	.search-mini input { padding-left: 1rem; padding-right: 3.4rem; }
	.search-mini > .icon { display: none; }
	.search-mini button { width: 2.9rem; min-width: 44px; padding: 0; }
	.search-mini button .icon { display: block; }
	.search-mini__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
	a, button { transition: color .15s, filter .15s, background-color .15s; }
}
@media print {
	.site-header, .site-footer, .report, .back-to-results, .nav, .hero { display: none; }
	body { background: #fff; color: #000; }
	.prose { max-width: none; }
	.card, .tldr, .sources li { box-shadow: none; }
	a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
