/* eDzisiaj.pl – arkusz stylów. Układ mobile-first, motyw jasny/ciemny, czcionki lokalne (bez zewnętrznych połączeń). */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
	src: url("../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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
	src: url("../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: "Newsreader"; font-style: normal; font-weight: 400 700; font-display: swap;
	src: url("../fonts/newsreader-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400 700; font-display: swap;
	src: url("../fonts/newsreader-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; }

/* ------------------------------------------------------------------ zmienne */
:root {
	--bg: #f6f4ef; --surface: #ffffff; --surface-2: #efece5; --ink: #16181c; --ink-2: #444a52; --ink-3: #6f757e;
	--line: #e3dfd6; --line-2: #cfcabf; --brand: #d0101a; --brand-2: #a60c14; --brand-soft: #fbe9ea;
	--shadow: 0 1px 2px rgba(20, 20, 20, .05), 0 6px 20px rgba(20, 20, 20, .06);
	--c0: #0e6a7a; --c1: #c2790a; --c2: #4f46e5; --c3: #be185d; --c4: #15803d; --c5: #64748b; --c6: #0891b2; --c7: #ea580c;
	--sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--radius: 14px; --header-top: 0px;
	color-scheme: light;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #0f1114; --surface: #171a1e; --surface-2: #1f2328; --ink: #ecebe6; --ink-2: #bcbfc5; --ink-3: #8c9199;
		--line: #2a2f35; --line-2: #3b4149; --brand: #ff5a62; --brand-2: #ff8a90; --brand-soft: #2b1517;
		--shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
		--c0: #4cc3d6; --c1: #f0a93a; --c2: #8b87ff; --c3: #f472b6; --c4: #4ade80; --c5: #94a3b8; --c6: #22d3ee; --c7: #fb923c;
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--bg: #0f1114; --surface: #171a1e; --surface-2: #1f2328; --ink: #ecebe6; --ink-2: #bcbfc5; --ink-3: #8c9199;
	--line: #2a2f35; --line-2: #3b4149; --brand: #ff5a62; --brand-2: #ff8a90; --brand-soft: #2b1517;
	--shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
	--c0: #4cc3d6; --c1: #f0a93a; --c2: #8b87ff; --c3: #f472b6; --c4: #4ade80; --c5: #94a3b8; --c6: #22d3ee; --c7: #fb923c;
	color-scheme: dark;
}

/* ------------------------------------------------------------------ baza */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 130px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: var(--line-2); text-underline-offset: .2em; }
a:hover { color: var(--brand); text-decoration-color: currentColor; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -.012em; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--brand); color: #fff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 10px; }
.ico { flex: none; vertical-align: -.2em; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.wrap--narrow { max-width: 860px; }
.wrap--article { max-width: 780px; }
.wrap--form { max-width: 700px; }
.wrap--chart { max-width: 1080px; }
.main { min-height: 60vh; padding-bottom: 56px; }
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 0; background: var(--brand); z-index: 120; transition: width .1s linear; }

/* ------------------------------------------------------------------ nagłówek */
.site-header { position: sticky; top: var(--header-top); z-index: 60; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.topbar { display: none; }
.mainbar__in { display: flex; align-items: center; gap: 16px; height: 58px; }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 28px; width: auto; }
.logo__l { display: block; }
.logo__d { display: none; }
.tagline { display: none; }
.search { display: none; align-items: center; position: relative; margin-left: auto; }
.search input { width: 220px; height: 40px; padding: 0 44px 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink); font: inherit; font-size: .95rem; transition: border-color .15s, width .2s; }
.search input:focus { outline: none; border-color: var(--brand); width: 280px; }
.search .icon-btn { position: absolute; right: 2px; top: 2px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); }
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.menu-btn { margin-left: auto; }
.t-sun { display: none; }
.catnav { border-top: 1px solid var(--line); }
.catnav__list { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 8px 0; margin: 0 -4px; }
.catnav__list::-webkit-scrollbar { display: none; }
.catnav__item { flex: none; position: relative; }
.catnav__link { display: block; padding: 6px 14px; border-radius: 999px; font-size: .92rem; font-weight: 500; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.catnav__link:hover { background: var(--surface-2); color: var(--ink); }
.catnav__link.is-active { background: var(--ink); color: var(--bg); }
.is-numbers .catnav__link { border: 1px solid var(--line-2); }
.is-numbers .catnav__link.is-active { border-color: var(--ink); }
.catnav__sub { display: none; }

/* ------------------------------------------------------------------ menu mobilne i dolny pasek */
.sheet { position: fixed; inset: 0; z-index: 90; background: var(--bg); overflow-y: auto; padding: 116px 0 100px; }
.sheet[hidden] { display: none; }
.sheet__in { max-width: 560px; margin: 0 auto; padding: 0 20px; }
.sheet__date { color: var(--ink-3); font-size: .9rem; margin-bottom: 8px; }
.sheet__date::first-letter { text-transform: uppercase; }
.sheet__group { padding: 14px 0; border-bottom: 1px solid var(--line); }
.sheet__top { font: 600 1.5rem/1.2 var(--serif); text-decoration: none; }
.sheet__subs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sheet__subs a { padding: 5px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .88rem; color: var(--ink-2); text-decoration: none; }
.sheet__foot { display: grid; gap: 4px; padding-top: 20px; }
.sheet__foot a, .link-btn { padding: 8px 0; color: var(--ink-2); text-decoration: none; background: none; border: 0; text-align: left; font-size: 1rem; }
body.menu-open { overflow: hidden; }
body.menu-open .tabbar { z-index: 95; }
body.menu-open .site-header { z-index: 95; }

.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: repeat(4, 1fr); background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.tabbar__i { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 7px; font-size: .72rem; font-weight: 500; color: var(--ink-3); text-decoration: none; background: none; border: 0; }
.tabbar__i.is-on, .tabbar__i:hover { color: var(--brand); }

/* ------------------------------------------------------------------ elementy wspólne */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--bg); font-size: .95rem; font-weight: 600; text-decoration: none; line-height: 1.2; transition: background .15s, color .15s, border-color .15s; }
.btn:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--surface-2); border-color: var(--ink-3); color: var(--ink); }
.more { display: inline-flex; align-items: center; gap: 6px; font-size: .92rem; font-weight: 600; text-decoration: none; color: var(--ink); }
.more:hover { color: var(--brand); }
.more--block { margin-top: 10px; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 8px; font-size: .8rem; color: var(--ink-3); }
.meta__cat { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .72rem; color: var(--brand); text-decoration: none; }
.meta__cat:hover { text-decoration: underline; }
.hot { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.5; }
.hot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .72rem; font-weight: 600; line-height: 1.5; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.chip--projekt { background: #fdecc8; color: #7a4a00; } .chip--uchwalone { background: #dbeafe; color: #0b4a8f; } .chip--obowiazujace { background: #d9f3e3; color: #14633a; }
.chip--badanie-naukowe { background: #e0e7ff; color: #3730a3; } .chip--publikacja-recenzowana { background: #ede9fe; color: #5b21b6; } .chip--preprint { background: #ffe4d1; color: #9a3412; }
.chip--komunikat-uczelni { background: #d5f5f1; color: #115e59; } .chip--informacja-producenta { background: #e5e7eb; color: #374151; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .chip--projekt { background: #3a2a07; color: #f6c561; } :root:not([data-theme="light"]) .chip--uchwalone { background: #10294b; color: #8bbcf7; }
	:root:not([data-theme="light"]) .chip--obowiazujace { background: #0f3320; color: #7fdba3; } :root:not([data-theme="light"]) .chip--badanie-naukowe { background: #1e1b4b; color: #a5b4fc; }
	:root:not([data-theme="light"]) .chip--publikacja-recenzowana { background: #2e1b5c; color: #c4b5fd; } :root:not([data-theme="light"]) .chip--preprint { background: #3b1c0b; color: #fdba74; }
	:root:not([data-theme="light"]) .chip--komunikat-uczelni { background: #0b2f2c; color: #7ae0d6; } :root:not([data-theme="light"]) .chip--informacja-producenta { background: #2a2e34; color: #cbd5e1; }
}
:root[data-theme="dark"] .chip--projekt { background: #3a2a07; color: #f6c561; } :root[data-theme="dark"] .chip--uchwalone { background: #10294b; color: #8bbcf7; }
:root[data-theme="dark"] .chip--obowiazujace { background: #0f3320; color: #7fdba3; } :root[data-theme="dark"] .chip--badanie-naukowe { background: #1e1b4b; color: #a5b4fc; }
:root[data-theme="dark"] .chip--publikacja-recenzowana { background: #2e1b5c; color: #c4b5fd; } :root[data-theme="dark"] .chip--preprint { background: #3b1c0b; color: #fdba74; }
:root[data-theme="dark"] .chip--komunikat-uczelni { background: #0b2f2c; color: #7ae0d6; } :root[data-theme="dark"] .chip--informacja-producenta { background: #2a2e34; color: #cbd5e1; }

.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.sec-title { font-size: 1.35rem; }
.sec-title a { text-decoration: none; }
.sec-title a:hover { color: var(--brand); }
.sec-note { color: var(--ink-3); font-size: .85rem; text-align: right; }
.sec-head--small { border-bottom-width: 1px; border-color: var(--line-2); }
.sec-title--small { font-size: 1.1rem; }
.sec-foot { margin: 12px 0 0; font-size: .82rem; color: var(--ink-3); }
.empty { padding: 24px; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--ink-3); text-align: center; }

.crumbs { margin: 18px 0 6px; font-size: .82rem; color: var(--ink-3); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 2px 0; }
.crumbs li + li::before { content: "›"; padding: 0 8px; color: var(--line-2); }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }

.page-head { padding: 28px 0 22px; }
.page-title { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); }
.page-lead { margin: 12px 0 0; max-width: 62ch; color: var(--ink-2); font-size: 1.1rem; }
.page-back { margin: 14px 0 0; font-size: .9rem; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pill { display: inline-block; padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .88rem; text-decoration: none; color: var(--ink-2); background: var(--surface); }
.pill:hover { border-color: var(--brand); color: var(--brand); }

/* ------------------------------------------------------------------ strona główna */
.hero { padding-top: 26px; }
.hero__grid { display: grid; gap: 24px; }
.lead { display: grid; gap: 18px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.lead__title { font-size: clamp(1.8rem, 1.2rem + 2.6vw, 2.9rem); line-height: 1.08; margin-bottom: 14px; }
.lead__title a { text-decoration: none; }
.lead__title a:hover { color: var(--brand); }
.lead__text { font-size: 1.1rem; color: var(--ink-2); max-width: 60ch; }
.lead__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 16px 0 0; font-size: .88rem; color: var(--ink-3); }
.lead__foot strong { color: var(--ink-2); font-weight: 600; }
.lead__img { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface-2); }
.lead__img img { width: 100%; height: 100%; object-fit: cover; }
.five { margin: 0; display: grid; gap: 0; }
.five__row { display: grid; grid-template-columns: 7.5rem 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .98rem; }
.five__row:first-child { border-top: 0; }
.five dt { font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); padding-top: .35em; }
.five dd { margin: 0; color: var(--ink); }
.hero__side { padding: 4px 0; }
.side-title { font: 700 .72rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.brief { padding: 14px 0; border-bottom: 1px solid var(--line); }
.brief:last-of-type { border-bottom: 0; }
.brief .meta { margin-bottom: 4px; }
.brief__title { font-size: 1.12rem; line-height: 1.25; font-weight: 600; }
.brief__title a { text-decoration: none; }
.brief__title a:hover { color: var(--brand); }
.brief__chip { margin: 6px 0 0; }

.numbers { margin-top: 48px; }
.stats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 78%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 14px; margin: 0 -2px; scrollbar-width: thin; }
.stat { scroll-snap-align: start; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 4px; padding: 16px 16px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.stat:hover { border-color: var(--ink-3); transform: translateY(-2px); box-shadow: var(--shadow); color: inherit; }
.stat__name { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.stat__value { font: 600 2.1rem/1.1 var(--serif); font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.02em; }
.stat__value small { font: 500 .9rem var(--sans); color: var(--ink-3); margin-left: 5px; letter-spacing: 0; }
.stat__delta { display: inline-flex; align-items: center; gap: 3px; font-size: .82rem; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.stat__spark { display: block; margin: 6px 0 4px; min-height: 44px; color: var(--c0); }
.stat__foot { font-size: .72rem; color: var(--ink-3); line-height: 1.35; }
.stat__lines { display: grid; gap: 3px; margin: 8px 0 6px; font-size: .8rem; color: var(--ink-3); align-content: start; }
.stat__lines span { display: flex; justify-content: space-between; gap: 8px; }
.stat__lines b { color: var(--ink-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.spark { display: block; width: 100%; height: auto; overflow: visible; }
.spark .line { fill: none; stroke: var(--c0); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.spark .area { fill: var(--c0); opacity: .1; }
.spark circle { fill: var(--c0); }
.spark-bar rect { fill: var(--c0); opacity: .32; }
.spark-bar rect.on { opacity: 1; }

.cols { display: grid; gap: 40px; margin-top: 52px; }
.side-block + .side-block { margin-top: 32px; }

.row { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.row--img { grid-template-columns: 1fr 96px; }
.row__title { font-size: 1.35rem; line-height: 1.2; margin-bottom: 6px; }
.row__title a { text-decoration: none; }
.row__title a:hover { color: var(--brand); }
.row__lead { margin: 0 0 6px; color: var(--ink-2); font-size: .98rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.row__src { margin: 0; font-size: .8rem; color: var(--ink-3); }
.row__img { display: block; border-radius: 10px; overflow: hidden; background: var(--surface-2); align-self: start; aspect-ratio: 1; }
.row__img img { width: 100%; height: 100%; object-fit: cover; }
.list { border-top: 1px solid var(--line); }

.cta { display: grid; gap: 18px; margin-top: 56px; padding: 26px; border-radius: 20px; background: var(--ink); color: var(--bg); }
.cta__title { font-size: clamp(1.4rem, 1rem + 1.6vw, 2rem); }
.cta__text { margin: 8px 0 0; max-width: 56ch; opacity: .8; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cta .btn { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.cta .btn:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.cta .btn--ghost { background: transparent; color: var(--bg); border-color: color-mix(in srgb, var(--bg) 40%, transparent); }
.cta .btn--ghost:hover { background: color-mix(in srgb, var(--bg) 14%, transparent); border-color: var(--bg); color: var(--bg); }

/* ------------------------------------------------------------------ artykuł */
.a-head { padding: 14px 0 6px; }
.a-title { font-size: clamp(2rem, 1.3rem + 3vw, 3.3rem); line-height: 1.08; margin-bottom: 14px; }
.a-lead { font-size: 1.25rem; line-height: 1.5; color: var(--ink-2); margin: 0 0 14px; font-family: var(--serif); }
.a-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 24px; font-size: .84rem; color: var(--ink-3); }
.pill-box { margin: 0 0 28px; padding: 18px 20px 12px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 12px; }
.pill-box__title { font: 700 .75rem/1 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; }
.a-fig { margin: 0 0 28px; }
.a-fig img { width: 100%; border-radius: 14px; background: var(--surface-2); }
.a-fig figcaption { margin-top: 8px; font-size: .84rem; color: var(--ink-3); }
.prose { font-size: 1.12rem; line-height: 1.75; }
.prose > * { max-width: 68ch; }
.prose p { margin: 0 0 1.2em; }
.prose h2 { font-size: 1.7rem; margin: 2em 0 .6em; }
.prose h3 { font-size: 1.3rem; margin: 1.6em 0 .5em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.4em; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: .3em 0; padding-left: .2em; }
.prose a { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; }
.prose blockquote { margin: 1.4em 0; padding: .2em 0 .2em 1.2em; border-left: 3px solid var(--line-2); color: var(--ink-2); font-family: var(--serif); font-size: 1.2em; }
.prose img { border-radius: 12px; }
.prose .table, .prose table { max-width: 100%; margin: 1.4em 0; }
.prose .chip { vertical-align: 1px; margin-right: 6px; }
.prose ul.ticks { list-style: none; padding-left: 0; }
.prose ul.ticks li { padding-left: 1.6em; position: relative; }
.prose ul.ticks li::before { content: "—"; position: absolute; left: 0; color: var(--brand); }

.source { margin: 36px 0 22px; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.source__title { display: flex; align-items: center; gap: 8px; font: 700 .78rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; }
.source__grid { margin: 0; display: grid; gap: 14px 28px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.source__grid dt { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 3px; }
.source__grid dd { margin: 0; font-size: .98rem; }
.source__grid--tight { margin-top: 14px; }
.ext { display: inline-flex; align-items: center; gap: 5px; color: var(--brand); text-decoration: underline; text-underline-offset: .2em; word-break: break-all; }
.a-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.tags a { display: inline-block; padding: 3px 11px; border-radius: 999px; background: var(--surface-2); font-size: .82rem; text-decoration: none; color: var(--ink-2); }
.tags a::before { content: "#"; color: var(--ink-3); }
.related { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.related .sec-title { margin-bottom: 4px; }

/* ------------------------------------------------------------------ Polska w liczbach (podstrona) */
.stats--all { display: grid; grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr; overflow: visible; scroll-snap-type: none; gap: 14px; padding: 0; margin: 0; }
.kpi { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 32px; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 18px; }
.kpi__label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.kpi__value { font: 600 clamp(2.4rem, 1.6rem + 3vw, 3.6rem)/1.05 var(--serif); font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.025em; }
.kpi__value small { font: 500 1.1rem var(--sans); margin-left: 8px; color: var(--ink-3); letter-spacing: 0; }
.kpi__delta { display: inline-flex; align-items: center; gap: 6px; font-size: 1rem; padding-bottom: 8px; }
.kpi__delta small { color: var(--ink-3); font-weight: 400; }
.kpi__aux { padding-bottom: 8px; color: var(--ink-2); font-size: 1rem; }
.panel { padding: 20px 20px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 18px; }
.panel__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.panel__title { font-size: 1.2rem; margin-bottom: 8px; }
.panel__bar .panel__title { margin: 0; }
.panel__unit { margin: 6px 0 0; font-size: .8rem; color: var(--ink-3); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; background: var(--surface-2); border-radius: 12px; }
.seg--tabs { margin-bottom: 12px; }
.seg__i { padding: 6px 14px; border-radius: 9px; font-size: .86rem; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.seg__i:hover { color: var(--ink); }
.seg__i.is-on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 10px; }
.legend__i { display: inline-flex; align-items: center; gap: 7px; padding: 4px 6px; background: none; border: 0; border-radius: 8px; font-size: .88rem; color: var(--ink-2); }
.legend__i:hover { background: var(--surface-2); }
.legend__i[aria-pressed="false"] { opacity: .42; text-decoration: line-through; }
.sw { width: 12px; height: 12px; border-radius: 4px; background: var(--c0); }
.sw-1 { background: var(--c1); } .sw-2 { background: var(--c2); } .sw-3 { background: var(--c3); } .sw-4 { background: var(--c4); } .sw-5 { background: var(--c5); } .sw-6 { background: var(--c6); } .sw-7 { background: var(--c7); }

.chart { position: relative; margin: 0; touch-action: pan-y; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .chart__narrow { display: block; } .chart .chart__wide { display: none; }
.chart text { font: 500 12px var(--sans); fill: var(--ink-3); }
.chart .xtick, .chart .ytick { font-variant-numeric: tabular-nums; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .grid.zero { stroke: var(--line-2); stroke-width: 1.4; }
.chart .ln { fill: none; stroke: var(--c0); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.chart .area { fill: var(--c0); opacity: .1; }
.chart .dot { fill: var(--c0); stroke: var(--surface); stroke-width: 2; }
.chart .bar { fill: var(--c0); opacity: .32; }
.chart .bar.on { opacity: 1; }
.chart .ser-1 .ln, .chart .ser-1 .area { stroke: var(--c1); } .chart .ser-1 .dot { fill: var(--c1); } .chart .ser-1 .area { fill: var(--c1); stroke: none; }
.chart .ser-2 .ln { stroke: var(--c2); } .chart .ser-2 .dot { fill: var(--c2); }
.chart .ser-3 .ln { stroke: var(--c3); } .chart .ser-3 .dot { fill: var(--c3); }
.chart .ser-4 .ln { stroke: var(--c4); } .chart .ser-4 .dot { fill: var(--c4); }
.chart .ser-5 .ln { stroke: var(--c5); } .chart .ser-5 .dot { fill: var(--c5); }
.chart .ser-6 .ln { stroke: var(--c6); } .chart .ser-6 .dot { fill: var(--c6); }
.chart .ser-7 .ln { stroke: var(--c7); } .chart .ser-7 .dot { fill: var(--c7); }
.chart .ser.is-off { display: none; }
.chart .xh { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 3 3; pointer-events: none; }
.chart .hv { stroke: var(--surface); stroke-width: 2; pointer-events: none; }
.chart-tip { position: absolute; z-index: 5; min-width: 150px; max-width: 260px; padding: 10px 12px; background: var(--ink); color: var(--bg); border-radius: 10px; font-size: .82rem; line-height: 1.4; box-shadow: var(--shadow); pointer-events: none; transform: translate(-50%, -100%); }
.chart-tip[hidden] { display: none; }
.chart-tip b { display: block; margin-bottom: 4px; font-size: .78rem; letter-spacing: .03em; opacity: .75; font-weight: 600; }
.chart-tip div { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.chart-tip i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 6px; }
.chart-tip span { font-variant-numeric: tabular-nums; font-weight: 600; }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.table th, .table td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.table thead th { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); border-bottom-color: var(--line-2); }
.table tbody th { font-weight: 500; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table--plain td, .table--plain th { vertical-align: top; }
.note { margin: 28px 0 0; padding: 20px 22px; background: var(--surface-2); border-radius: 14px; }
.note__title { font-size: 1.1rem; margin-bottom: 8px; }
.note p { margin: 0 0 .6em; color: var(--ink-2); }
.note__small { font-size: .85rem; color: var(--ink-3); margin-top: 10px !important; }

/* ------------------------------------------------------------------ formularze */
.form { display: grid; gap: 18px; }
.field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--ink-3); }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); color: var(--ink); font: inherit; }
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field.has-err input, .field.has-err textarea { border-color: var(--brand); }
.field__err { margin: 6px 0 0; color: var(--brand); font-size: .86rem; }
.field-row { display: grid; gap: 18px; }
.form-note, .form-art { font-size: .85rem; color: var(--ink-3); margin: 0; }
.form-art { font-size: .95rem; color: var(--ink-2); padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 14px; padding: 16px 18px; border-radius: 12px; margin-bottom: 20px; }
.alert p { margin: 4px 0 0; font-size: .95rem; }
.alert--ok { background: #d9f3e3; color: #14633a; }
.alert--err { background: var(--brand-soft); color: var(--brand-2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .alert--ok { background: #0f3320; color: #7fdba3; } }
:root[data-theme="dark"] .alert--ok { background: #0f3320; color: #7fdba3; }
.contact { display: grid; gap: 14px; margin-top: 10px; }
.contact__card { display: grid; gap: 6px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.contact__card:hover { border-color: var(--brand); color: inherit; }
.contact__card strong { font: 600 1.3rem var(--serif); }
.contact__card span { color: var(--ink-2); font-size: .95rem; }
.contact__card .ico { color: var(--brand); }
.notfound { text-align: left; padding-top: 48px; }
.notfound__code { font: 600 5rem/1 var(--serif); color: var(--brand); margin: 0 0 8px; }
.search--big { display: flex; margin: 18px 0; gap: 10px; }
.search--big input { flex: 1; width: auto; height: 48px; border-radius: 999px; }
.search--big input:focus { width: auto; }
.search__count { color: var(--ink-3); margin: 6px 0 12px; font-size: .92rem; }

/* ------------------------------------------------------------------ paginacja */
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 30px; }
.pager__list { display: flex; gap: 4px; }
.pager__n, .pager__nav { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 12px; border-radius: 999px; font-size: .9rem; font-weight: 600; text-decoration: none; color: var(--ink-2); }
.pager__n:hover, .pager__nav:hover { background: var(--surface-2); color: var(--ink); }
.pager__n.is-cur { background: var(--ink); color: var(--bg); }
.pager__nav.is-off { opacity: .35; }
.pager__gap { padding: 0 4px; color: var(--ink-3); align-self: center; }

/* ------------------------------------------------------------------ stopka */
.site-footer { margin-top: 24px; padding: 44px 0 28px; background: var(--surface); border-top: 1px solid var(--line); }
.footer__h { font: 700 .75rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.promise { display: grid; gap: 16px; margin-bottom: 36px; }
.promise li { display: flex; gap: 14px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); }
.promise .ico { color: var(--brand); margin-top: 2px; }
.promise strong { color: var(--ink); }
.footer__cols { display: grid; gap: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.footer__cols ul { display: grid; gap: 7px; }
.footer__cols a { text-decoration: none; font-size: .95rem; color: var(--ink-2); }
.footer__cols a:hover { color: var(--brand); }
.footer__brand p, .footer__p { font-size: .92rem; color: var(--ink-2); max-width: 36ch; margin: 12px 0; }
.footer__legal { margin: 30px 0 0; font-size: .8rem; color: var(--ink-3); max-width: 90ch; }

/* ------------------------------------------------------------------ motyw ciemny: logo i przełącznik */
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .logo__l { display: none; } :root:not([data-theme="light"]) .logo__d { display: block; }
	:root:not([data-theme="light"]) .t-moon { display: none; } :root:not([data-theme="light"]) .t-sun { display: inline; }
}
:root[data-theme="dark"] .logo__l { display: none; } :root[data-theme="dark"] .logo__d { display: block; }
:root[data-theme="dark"] .t-moon { display: none; } :root[data-theme="dark"] .t-sun { display: inline; }
:root[data-theme="light"] .logo__l { display: block; } :root[data-theme="light"] .logo__d { display: none; }

/* ------------------------------------------------------------------ telefon */
@media (max-width: 639px) {
	.sec-note { display: none; }
	.five__row { grid-template-columns: 1fr; gap: 2px; padding: 10px 0; }
	.five dt { padding-top: 0; }
	.lead { padding: 18px; border-radius: 16px; }
	.pill-box { padding: 16px 16px 8px; }
	.kpi, .panel, .source, .note { padding-left: 16px; padding-right: 16px; }
}

/* ------------------------------------------------------------------ tablet i większe */
@media (min-width: 640px) {
	.stats { grid-auto-columns: minmax(240px, 42%); }
	.stats--all { grid-template-columns: repeat(2, 1fr); }
	.field-row { grid-template-columns: 1fr 1fr; }
	.contact { grid-template-columns: 1fr 1fr; }
	.row--img { grid-template-columns: 1fr 160px; }
	.row__img { aspect-ratio: 4 / 3; }
	.search { display: flex; }
	.chart .chart__wide { display: block; } .chart .chart__narrow { display: none; }
	.promise { grid-template-columns: repeat(3, 1fr); gap: 28px; }
	.footer__cols { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}

/* ------------------------------------------------------------------ komputer */
@media (min-width: 960px) {
	:root { --header-top: -102px; }
	body { padding-bottom: 0; }
	.tabbar, .menu-btn, .sheet { display: none !important; }
	.topbar { display: block; height: 34px; border-bottom: 1px solid var(--line); font-size: .8rem; color: var(--ink-3); }
	.topbar__in { display: flex; align-items: center; justify-content: space-between; height: 34px; }
	.topbar__date { display: inline-block; }
	.topbar__date::first-letter { text-transform: uppercase; }
	.topbar__links { display: flex; align-items: center; gap: 18px; }
	.topbar__links a { text-decoration: none; } .topbar__links a:hover { color: var(--brand); }
	.topbar__links .icon-btn { width: 28px; height: 28px; }
	.mainbar__in { height: 68px; }
	.logo img { height: 34px; width: auto; }
	.tagline { display: block; margin-left: 4px; padding-left: 16px; border-left: 1px solid var(--line-2); font-size: .82rem; color: var(--ink-3); line-height: 1.2; }
	.catnav { border-top: 0; }
	.catnav__list { overflow: visible; padding: 4px 0 8px; gap: 2px; margin: 0 -14px; }
	.catnav__link { font-size: .95rem; }
	.has-sub:hover > .catnav__sub, .has-sub:focus-within > .catnav__sub { display: grid; }
	.catnav__sub { position: absolute; left: 0; top: 100%; z-index: 20; min-width: 240px; padding: 8px; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
	.catnav__sub a { display: block; padding: 8px 12px; border-radius: 8px; font-size: .92rem; color: var(--ink-2); text-decoration: none; }
	.catnav__sub a:hover, .catnav__sub a[aria-current] { background: var(--surface-2); color: var(--ink); }
	.is-numbers { margin-left: auto; }

	.hero__grid { grid-template-columns: minmax(0, 1fr) 330px; gap: 40px; align-items: start; }
	.lead { padding: 30px; }
	.lead--img { grid-template-columns: 1fr; }
	.lead__img { aspect-ratio: 16 / 9; }
	.stats { display: grid; grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(3, 1fr); overflow: visible; padding: 0; margin: 0; }
	.stats--all { grid-template-columns: repeat(3, 1fr); }
	.cols { grid-template-columns: minmax(0, 1fr) 330px; gap: 56px; }
	.cta { grid-template-columns: 1fr auto; align-items: center; padding: 34px 40px; }
	.footer__cols { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; }
}
@media (min-width: 1180px) {
	.stats { grid-template-columns: repeat(6, 1fr); }
	.stats .stat__value { font-size: 1.85rem; }
	.stats--all { grid-template-columns: repeat(4, 1fr); }
	.stats--all .stat__value { font-size: 2.1rem; }
}
@media (max-width: 959px) {
	.hero__side { border-top: 1px solid var(--line); padding-top: 14px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print {
	.site-header, .tabbar, .site-footer, .a-actions, .cta, .progress { display: none !important; }
	body { background: #fff; color: #000; padding: 0; }
}

/* ------------------------------------------------------------------ inne ujęcia tej sprawy (grupy mediów pod artykułem) */
:root { --cov-l-bg: #e2defa; --cov-l-fg: #3c3489; --cov-c-bg: #e4e1d8; --cov-c-fg: #444441; --cov-p-bg: #fbe3b8; --cov-p-fg: #633806; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) { --cov-l-bg: #2d2a5c; --cov-l-fg: #d4d0fa; --cov-c-bg: #2c3036; --cov-c-fg: #d3d6db; --cov-p-bg: #4a3513; --cov-p-fg: #f7cf86; }
}
:root[data-theme="dark"] { --cov-l-bg: #2d2a5c; --cov-l-fg: #d4d0fa; --cov-c-bg: #2c3036; --cov-c-fg: #d3d6db; --cov-p-bg: #4a3513; --cov-p-fg: #f7cf86; }
.cov { margin: 0 0 22px; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.cov__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.cov__title { font: 700 .78rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.cov__count { font-size: .85rem; color: var(--ink-3); }
.cov__bar { display: flex; gap: 2px; height: 38px; border-radius: 8px; overflow: hidden; }
.cov__seg { flex: 1 1 0; display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; padding: 0 8px; font-size: .85rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cov__lbl { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.cov__seg b { flex: none; }
.cov__seg--left, .cov__tag--left { background: var(--cov-l-bg); color: var(--cov-l-fg); }
.cov__seg--center, .cov__tag--center { background: var(--cov-c-bg); color: var(--cov-c-fg); }
.cov__seg--right, .cov__tag--right { background: var(--cov-p-bg); color: var(--cov-p-fg); }
.cov__seg--inst, .cov__tag--inst, .cov__tag--none { background: transparent; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.cov__tag--none { color: var(--ink-3); }
.cov__note { margin: 10px 0 4px; font-size: .84rem; color: var(--ink-3); }
.cov__note a { color: var(--ink-2); text-underline-offset: .2em; }
.cov__list { list-style: none; margin: 0; padding: 0; }
.cov__item { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.cov__item:first-child { margin-top: 8px; }
.cov__main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cov__medium { font-size: .9rem; font-weight: 700; }
.cov__link { display: inline-flex; align-items: baseline; gap: 5px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: .2em; }
.cov__link:hover { color: var(--brand); text-decoration-color: currentColor; }
.cov__why { font-size: .8rem; color: var(--ink-3); }
.cov__tag { flex: none; padding: 2px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600; line-height: 1.6; white-space: nowrap; }
.cov__more summary { cursor: pointer; padding: 12px 0 2px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--brand); }
.cov__legend { display: none; list-style: none; margin: 8px 0 0; padding: 0; flex-wrap: wrap; gap: 4px 14px; font-size: .8rem; color: var(--ink-2); }
.cov__lg::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 2px; background: var(--sw, transparent); box-shadow: inset 0 0 0 1px var(--line-2); }
.cov__lg--left { --sw: var(--cov-l-bg); } .cov__lg--center { --sw: var(--cov-c-bg); } .cov__lg--right { --sw: var(--cov-p-bg); }
@media (max-width: 639px) {
	.cov { padding: 16px; }
	.cov__lbl { display: none; }
	.cov__legend { display: flex; }
	.cov__item { flex-direction: column; gap: 6px; }
}
