/*
 * WiseWeb – style motywu.
 * Styl: przyjazny neobrutalizm – grube granatowe kontury, twarde przesunięte cienie, zaokrąglenia,
 * fiolet jako kolor główny, limonkowy zakreślacz, miętowe panele.
 * Tokeny na :root; tryb ciemny przez prefers-color-scheme lub [data-theme].
 */

:root {
	--bg: #f4f2fb;
	--surface: #ffffff;
	--surface-2: #f1eefb;
	--panel: #e7f7d9;
	--text: #2a2745;
	--muted: #5f5b7c;
	--ink: #1c1838;
	--line: #dcd7ef;
	--line-soft: #e8e5f4;
	--primary: #6b4eff;
	--primary-hover: #5a3df0;
	--on-primary: #ffffff;
	--lime: #d5f26a;
	--lime-ink: #1c1838;
	--accent-soft: #ece7ff;
	--accent-ink: #4b31d6;
	--link: #4b31d6;
	--ok: #1e7a45;
	--free: #c42d2d;
	--bw: 1px;
	--radius: 16px;
	--radius-sm: 11px;
	--shadow: none;
	--shadow-sm: none;
	--shadow-hover: none;
	--wrap: 1180px;
	--page: 900px;
	--font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #13111f;
		--surface: #1d1a2e;
		--surface-2: #262239;
		--panel: #1f2a1a;
		--text: #ebe8f7;
		--muted: #a7a2c2;
		--ink: #ebe8f7;
		--line: #3a3556;
		--line-soft: #2e2a45;
		--primary: #8a74ff;
		--primary-hover: #9b88ff;
		--accent-soft: #2c2650;
		--accent-ink: #b8a9ff;
		--link: #b8a9ff;
		--ok: #7ad69c;
		--free: #ff8a80;
		--shadow: none;
		--shadow-sm: none;
		--shadow-hover: none;
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--bg: #13111f;
	--surface: #1d1a2e;
	--surface-2: #262239;
	--panel: #1f2a1a;
	--text: #ebe8f7;
	--muted: #a7a2c2;
	--ink: #ebe8f7;
	--line: #3a3556;
	--line-soft: #2e2a45;
	--primary: #8a74ff;
	--primary-hover: #9b88ff;
	--accent-soft: #2c2650;
	--accent-ink: #b8a9ff;
	--link: #b8a9ff;
	--ok: #7ad69c;
	--free: #ff8a80;
	--shadow: none;
	--shadow-sm: none;
	--shadow-hover: none;
	color-scheme: dark;
}

/* ── baza ───────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 500 16.5px/1.65 var(--font);
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 2.5px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.025em; color: var(--ink); font-weight: 800; }
h1 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); margin: .1em 0 .35em; }
h2 { font-size: 1.45rem; margin: 1.9em 0 .6em; }
h3 { font-size: 1.12rem; margin: 1.4em 0 .4em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 6px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ww-skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 99; }
.ww-skip:focus { left: 8px; }
.ww-muted { color: var(--muted); font-size: .92em; }
.ww-ico { vertical-align: -.2em; }

.ww-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.ww-main { min-height: 60vh; }

/* Wspólny „klocek”: kontur + twardy cień. */
.ww-tool, .ww-page__head, .ww-card a, .ww-now__item, .ww-faq details, .ww-links--cards li, .ww-post-card, .ww-search__box, .ww-file, .ww-mega__panel, .ww-result--copy, .ww-world__item {
	border: var(--bw) solid var(--line);
	box-shadow: var(--shadow);
}

/* ── nagłówek ───────────────────────────────────────── */

.ww-header { background: var(--surface); border-bottom: var(--bw) solid var(--line); position: sticky; top: 0; z-index: 20; }
.ww-header__in { display: flex; align-items: center; gap: 14px; min-height: 68px; }
.ww-logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.ww-logo__mark { border: var(--bw) solid var(--line); border-radius: 10px; box-shadow: var(--shadow-sm); }
.ww-logo__mark rect { fill: var(--primary); }
.ww-logo__mark path { stroke: var(--lime); }
.ww-logo__txt { font-size: 1.4rem; font-weight: 800; letter-spacing: -.04em; color: var(--ink); margin: 0; }
.ww-logo__txt b { font-weight: 800; color: var(--primary); }
.ww-nav { margin-left: auto; }
.ww-nav__list { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; align-items: center; }
.ww-nav__list > li > a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--text); text-decoration: none; font-size: .93rem; font-weight: 700; }
.ww-nav__list > li > a:hover, .ww-nav__list .current-menu-item > a { background: var(--accent-soft); color: var(--accent-ink); }
.ww-themebtn, .ww-burger { background: var(--surface); border: var(--bw) solid var(--line); color: var(--ink); border-radius: 12px; width: 42px; height: 42px; display: inline-grid; place-items: center; cursor: pointer; flex-shrink: 0; box-shadow: var(--shadow-sm); }
.ww-themebtn:active, .ww-burger:active { box-shadow: none; }
.ww-burger { display: none; margin-left: auto; padding: 10px 9px; gap: 4px; }
.ww-burger span:not(.screen-reader-text) { display: block; width: 20px; height: 2.5px; background: currentColor; border-radius: 2px; }

/* mega menu „Narzędzia” */
.ww-mega__btn { font: inherit; font-size: .95rem; font-weight: 800; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; margin-right: 6px; border-radius: 12px; border: var(--bw) solid var(--line); cursor: pointer; background: var(--primary); color: var(--on-primary); box-shadow: var(--shadow-sm); }
.ww-mega__btn:hover { background: var(--primary-hover); }
.ww-mega.is-open .ww-mega__btn { box-shadow: none; }
.ww-mega__chev { transition: transform .15s; }
.ww-mega__panel { display: none; position: absolute; left: 16px; right: 16px; top: calc(100% + 8px); max-width: calc(var(--wrap) - 32px); margin: 0 auto; background: var(--surface); border-radius: var(--radius); }
.ww-mega.is-open .ww-mega__panel { display: block; }
@media (hover: hover) and (min-width: 861px) {
	.ww-mega:hover .ww-mega__panel { display: block; }
	.ww-mega::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
}
.ww-mega__grid { padding: 22px 22px 24px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.ww-mega__h { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-weight: 800; font-size: .95rem; line-height: 1.2; }
.ww-mega__h .ww-ico { width: 30px; height: 30px; padding: 5px; border-radius: 9px; background: var(--lime); color: var(--lime-ink); border: 1px solid var(--line); flex-shrink: 0; }
.ww-mega__h a { color: var(--ink); text-decoration: none; }
.ww-mega__col ul { list-style: none; margin: 0 0 8px; padding: 0; }
.ww-nav__list .ww-mega__col li a { display: block; padding: 4px 0; font-weight: 600; font-size: .9rem; color: var(--text); text-decoration: none; }
.ww-nav__list .ww-mega__col li a:hover { color: var(--accent-ink); text-decoration: underline; }
.ww-mega__all { font-size: .88rem; font-weight: 800; text-decoration: none; }
@media (max-width: 1080px) and (min-width: 861px) {
	.ww-mega__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
	.ww-burger { display: grid; }
	.ww-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--surface); border-bottom: var(--bw) solid var(--line); padding: 10px 16px 16px; margin: 0; max-height: calc(100vh - 68px); overflow-y: auto; }
	.ww-nav-open .ww-nav { display: block; }
	.ww-nav__list { flex-direction: column; align-items: stretch; }
	.ww-mega__btn { width: 100%; justify-content: space-between; margin: 0 0 6px; }
	.ww-mega__panel { position: static; box-shadow: none; border: 0; background: none; max-width: none; }
	.ww-mega__grid { grid-template-columns: 1fr 1fr; padding: 8px 2px 4px; gap: 16px; }
	.ww-themebtn { margin-left: 0; }
}
@media (max-width: 520px) {
	.ww-mega__grid { grid-template-columns: 1fr; }
}

/* ── okruszki, nagłówek strony ──────────────────────── */

.ww-page { max-width: calc(var(--page) + 32px); padding-top: 20px; padding-bottom: 60px; }
.ww-crumbs ol { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .84rem; font-weight: 700; color: var(--muted); }
.ww-crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.ww-crumbs a { color: var(--muted); text-decoration: none; }
.ww-crumbs a:hover { color: var(--accent-ink); text-decoration: underline; }
.ww-crumbs li[aria-current] { color: var(--ink); background: var(--lime); border: 1px solid var(--line); border-radius: 8px; padding: 0 8px; color: var(--lime-ink); }

.ww-page__head { position: relative; background: var(--panel); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); margin: 0 0 28px; }
.ww-page__head h1 { margin-top: 0; max-width: 24ch; padding-right: 96px; }
.ww-lead { font-size: 1.04rem; color: var(--text); max-width: 64ch; }
.ww-lead p:last-child { margin-bottom: 0; }
.ww-page__head > :last-child { margin-bottom: 0; }

/* odznaki i „naklejka” z ikoną kategorii */
.ww-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.ww-badges li { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 3px 10px; font-size: .82rem; font-weight: 800; color: var(--ink); }
.ww-badges li::before { content: "✓"; color: var(--primary); font-weight: 900; }
.ww-sticker { position: absolute; top: 22px; right: 24px; width: 76px; height: 76px; display: grid; place-items: center; background: var(--lime); color: var(--lime-ink); border: var(--bw) solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.ww-sticker .ww-ico { width: 40px; height: 40px; stroke-width: 2; }
@media (max-width: 600px) {
	.ww-sticker { width: 54px; height: 54px; top: 16px; right: 16px; border-radius: 14px; }
	.ww-sticker .ww-ico { width: 28px; height: 28px; }
	.ww-page__head h1 { padding-right: 62px; }
}

/* ── narzędzie (karta) ──────────────────────────────── */

.ww-tool { background: var(--surface); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); margin: 0 0 32px; }
.ww-tool--center { text-align: center; }
.ww-tool h2:first-child { margin-top: 0; }

.ww-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; margin-bottom: 14px; }
.ww-row--center { justify-content: center; }
.ww-row--wrap > * { flex: 1 1 120px; }
.ww-field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 200px; min-width: 0; margin-bottom: 12px; }
.ww-row .ww-field { margin-bottom: 0; }
.ww-field--sm { flex: 0 1 130px; }
.ww-field > span { font-size: .78rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.ww-field input, .ww-field select, .ww-field textarea, .ww-pcalc input, .ww-ratio input, .ww-table--edit input {
	font: inherit; font-size: 1.05rem; font-weight: 700;
	color: var(--ink);
	background: var(--surface);
	border: var(--bw) solid var(--line);
	border-radius: var(--radius-sm);
	padding: 10px 12px;
	width: 100%;
	min-width: 0;
}
.ww-field textarea { font-family: var(--mono); font-weight: 500; resize: vertical; }
.ww-field input:focus, .ww-field select:focus, .ww-field textarea:focus, .ww-pcalc input:focus, .ww-ratio input:focus, .ww-table--edit input:focus { outline: none; box-shadow: var(--shadow-sm); background: var(--accent-soft); }
.ww-check { display: inline-flex; gap: 8px; align-items: center; margin: 2px 0 12px; cursor: pointer; font-size: .95rem; font-weight: 700; }
.ww-check input { width: 19px; height: 19px; accent-color: var(--primary); }
.ww-eq { font-size: 1.6rem; font-weight: 800; padding-bottom: 8px; color: var(--ink); }

.ww-btn {
	font: inherit; font-weight: 800; cursor: pointer;
	background: var(--primary); color: var(--on-primary);
	border: var(--bw) solid var(--line); border-radius: 12px; padding: 10px 22px;
	display: inline-flex; align-items: center; gap: 8px;
	box-shadow: var(--shadow-sm); text-decoration: none;
	transition: transform .08s, box-shadow .08s;
}
.ww-btn:hover { background: var(--primary-hover); color: var(--on-primary); }
.ww-btn:active { box-shadow: none; }
.ww-btn--ghost { background: var(--surface); color: var(--ink); }
.ww-btn--ghost:hover { background: var(--lime); color: var(--lime-ink); }
.ww-btn--sm { padding: 6px 14px; font-size: .9rem; }
.ww-chip { font: inherit; font-size: .88rem; font-weight: 800; cursor: pointer; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 10px; padding: 4px 12px; text-decoration: none; box-shadow: var(--shadow-hover); }
.ww-chip:hover { background: var(--lime); color: var(--lime-ink); }
.ww-presets, .ww-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 4px 0 16px; }
.ww-chips a { font-size: .88rem; font-weight: 800; border: 1px solid var(--line); border-radius: 10px; padding: 4px 12px; text-decoration: none; color: var(--ink); background: var(--surface); }
.ww-chips a:hover { background: var(--lime); }

.ww-result { background: var(--lime); color: var(--lime-ink); border: var(--bw) solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; margin: 8px 0 0; font-weight: 700; }
.ww-result:empty { display: none; }
.ww-result p:last-child { margin-bottom: 0; }
.ww-result .ww-muted { color: var(--lime-ink); opacity: .8; }
.ww-result--big, .ww-result__main { font-size: 1.4rem; font-weight: 800; color: var(--lime-ink); }
.ww-result__main { margin: 0 0 4px; }
.ww-result--copy { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.ww-result--copy p { margin: 0; font-size: 1.1rem; font-weight: 800; flex: 1 1 300px; }

.ww-stats { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px 10px; justify-content: inherit; }
.ww-tool--center .ww-stats { justify-content: center; }
.ww-stats li { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 4px 12px; font-size: .9rem; font-weight: 600; }
.ww-result .ww-stats li { background: var(--surface); color: var(--text); }
.ww-stats b { color: var(--ink); font-weight: 800; }
.ww-stats--grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.ww-stats--grid li { border-radius: var(--radius-sm); padding: 10px 12px; }
.ww-stats--grid b { display: block; font-size: 1.3rem; }

.ww-tabs { display: inline-flex; gap: 4px; background: var(--surface-2); padding: 4px; border: 1px solid var(--line); border-radius: 13px; margin: 0 0 18px; flex-wrap: wrap; }
.ww-tabs button { font: inherit; font-size: .9rem; font-weight: 800; border: 1px solid transparent; background: none; color: var(--muted); padding: 7px 14px; border-radius: 9px; cursor: pointer; }
.ww-tabs button[aria-selected="true"] { background: var(--primary); color: var(--on-primary); border-color: var(--line); }

/* duże liczby */
.ww-bignum { text-align: center; margin-bottom: 18px; }
.ww-bignum__n { display: inline-block; font-size: clamp(4rem, 3rem + 6vw, 7rem); font-weight: 800; line-height: 1; margin: 0; color: var(--lime-ink); background: var(--lime); border: var(--bw) solid var(--line); border-radius: 22px; padding: 6px 28px 10px; box-shadow: var(--shadow); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.ww-bignum__label { font-size: 1.1rem; font-weight: 700; margin: 18px 0 4px; }
.ww-progress { height: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 99px; overflow: hidden; max-width: 420px; margin: 12px auto 6px; }
.ww-progress span { display: block; height: 100%; background: var(--primary); }

/* zegary */
.ww-clock { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: clamp(2.8rem, 2rem + 6vw, 5.2rem); font-weight: 700; margin: 0; color: var(--ink); letter-spacing: -.03em; }
.ww-clock--xl { font-size: clamp(3.4rem, 2rem + 9vw, 8rem); }
.ww-clock__date { font-size: 1.1rem; font-weight: 700; color: var(--muted); margin: 4px 0 0; }
.ww-clockbox:fullscreen { display: grid; place-content: center; text-align: center; background: var(--bg); }
.ww-clockbox:fullscreen .ww-clock { font-size: 18vw; }
.ww-laps { font-family: var(--mono); max-width: 380px; margin: 16px auto 0; padding-left: 2.5em; text-align: left; }
.ww-laps li { padding: 5px 0; border-bottom: 1px dashed var(--line-soft); }
.ww-laps span { color: var(--muted); float: right; }

/* odliczanie */
.ww-count__big { margin: 0 0 18px; }
.ww-count__days { display: inline-block; font-size: clamp(4.5rem, 3rem + 8vw, 8rem); font-weight: 800; line-height: 1; color: var(--lime-ink); background: var(--lime); border: var(--bw) solid var(--line); border-radius: 24px; padding: 4px 30px 10px; box-shadow: var(--shadow); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.ww-count__unit { display: block; font-size: 1.3rem; color: var(--ink); font-weight: 800; margin-top: 12px; }
.ww-count__today { font-size: 2.6rem; font-weight: 800; color: var(--primary); }
.ww-count__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 480px; margin: 0 auto; }
.ww-count__grid div { background: var(--surface); border: var(--bw) solid var(--line); border-radius: var(--radius-sm); padding: 10px 4px; box-shadow: var(--shadow-sm); }
.ww-count__grid b { display: block; font: 700 1.7rem/1.1 var(--mono); color: var(--ink); }
.ww-count__grid span { font-size: .78rem; font-weight: 800; color: var(--muted); text-transform: uppercase; }

/* przelicznik */
.ww-convert { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: end; }
.ww-convert .ww-field { margin: 0; }
.ww-convert__swap { font-size: 1.3rem; font-weight: 800; width: 48px; height: 48px; border-radius: 12px; border: var(--bw) solid var(--line); background: var(--lime); color: var(--lime-ink); cursor: pointer; box-shadow: var(--shadow-sm); }
.ww-convert__swap:active { box-shadow: none; }
.ww-convert + .ww-result { margin-top: 16px; }
@media (max-width: 560px) {
	.ww-convert { grid-template-columns: 1fr; }
	.ww-convert__swap { justify-self: center; }
}

/* procenty, proporcje */
.ww-pcalc__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 14px 0; border-bottom: 1px dashed var(--line-soft); font-weight: 700; }
.ww-pcalc__row:last-child { border-bottom: 0; }
.ww-pcalc input { width: 110px; padding: 8px 10px; }
.ww-pcalc output { margin-left: auto; font-weight: 800; font-size: 1.2rem; color: var(--lime-ink); background: var(--lime); border: 1px solid var(--line); padding: 5px 14px; border-radius: 10px; min-width: 96px; text-align: right; }
.ww-ratio { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 1.4rem; font-weight: 800; margin-bottom: 12px; }
.ww-ratio input { width: 110px; }
.ww-ratio output { font-weight: 800; color: var(--lime-ink); background: var(--lime); border: var(--bw) solid var(--line); padding: 7px 16px; border-radius: 11px; }

/* święta */
.ww-today { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.ww-today h2 { margin-top: 0; font-size: 1.3rem; }
.ww-today h2 small { display: block; font-size: .85rem; font-weight: 700; color: var(--muted); margin-top: 2px; }
@media (max-width: 640px) { .ww-today { grid-template-columns: 1fr; } }
.ww-holidays { list-style: none; padding: 0; margin: 0 0 10px; }
.ww-holidays__item { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line-soft); }
.ww-holidays__item span { font-weight: 800; color: var(--ink); }
.ww-holidays__item em { font-style: normal; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); white-space: nowrap; border: 1px solid var(--line-soft); border-radius: 8px; padding: 0 7px; }
.ww-holidays__item--ustawowe em { color: var(--surface); background: var(--free); border-color: var(--line); }
.ww-more { font-size: .92rem; font-weight: 800; }
.ww-calendar { margin-top: 20px; border-top: var(--bw) solid var(--line); padding-top: 14px; }
.ww-calendar summary { cursor: pointer; font-weight: 800; }
.ww-calendar__months { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 20px; }
.ww-calendar__months h3 { font-size: .95rem; margin: 14px 0 4px; }
.ww-calendar__months p { display: flex; flex-wrap: wrap; gap: 3px; margin: 0; }
.ww-calendar__months a { display: inline-grid; place-items: center; width: 28px; height: 28px; font-size: .8rem; font-weight: 700; border-radius: 7px; text-decoration: none; color: var(--text); border: 1px solid transparent; }
.ww-calendar__months a:hover { background: var(--lime); border-color: var(--line); color: var(--lime-ink); }
.ww-daynav { display: flex; justify-content: space-between; gap: 8px; margin-top: 14px; font-weight: 800; }

/* godziny lustrzane */
.ww-mirror { display: inline-block; font: 800 clamp(4rem, 3rem + 7vw, 7.5rem)/1 var(--mono); margin: 4px 0 20px; color: var(--on-primary); background: var(--primary); border: var(--bw) solid var(--line); border-radius: 24px; padding: 10px 28px; box-shadow: var(--shadow); letter-spacing: -.04em; }

/* świat */
.ww-world { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 12px; }
.ww-world__item { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 11px 14px; border-radius: var(--radius-sm); background: var(--surface); text-decoration: none; color: var(--text); font-weight: 700; box-shadow: var(--shadow-sm); }
.ww-world__item b { font-family: var(--mono); font-size: 1.15rem; color: var(--ink); }
.ww-world__item--home { background: var(--lime); color: var(--lime-ink); }
.ww-world__item--home b { color: var(--lime-ink); }
a.ww-world__item:hover { background: var(--accent-soft); }

/* konwertery plików */
.ww-fileopts { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: flex-end; margin-bottom: 14px; }
.ww-fileopts > div { flex: 1 1 100%; }
.ww-fileopts .ww-field { margin-bottom: 8px; }
.ww-fileopts .ww-field--sm { flex: 0 1 210px; }
.ww-field--range input[type="range"] { padding: 0; accent-color: var(--primary); border: 0; background: none; height: 28px; }
.ww-field input[type="color"] { height: 46px; padding: 4px; }
.ww-sizes { border: 0; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.ww-sizes legend { font-size: .78rem; font-weight: 800; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.ww-drop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 36px 16px; border: 1.5px dashed var(--line); border-radius: var(--radius); background: var(--accent-soft); cursor: pointer; transition: background .15s; }
.ww-drop:hover, .ww-drop.is-over { background: var(--panel); }
.ww-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ww-drop:focus-within { outline: 3px solid var(--primary); outline-offset: 3px; }
.ww-drop .ww-ico { width: 54px; height: 54px; padding: 10px; color: var(--on-primary); background: var(--primary); border: var(--bw) solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.ww-drop strong { font-size: 1.2rem; font-weight: 800; color: var(--ink); margin-top: 6px; }
.ww-drop span { color: var(--muted); font-size: .92rem; font-weight: 600; }
.ww-drop small { color: var(--ok); font-size: .82rem; font-weight: 800; margin-top: 4px; }
.ww-filestatus { margin: 12px 0 0; font-weight: 800; }
.ww-filestatus:empty { display: none; }
.ww-filestatus.is-error { color: var(--free); }
.ww-filelist { list-style: none; padding: 0; margin: 14px 0; }
.ww-file { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-sm); margin-bottom: 10px; background: var(--surface); box-shadow: var(--shadow-sm); }
.ww-file img, .ww-file__ico { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); flex-shrink: 0; background: var(--surface-2); }
.ww-file__ico { display: grid; place-items: center; font: 700 .75rem var(--mono); color: var(--accent-ink); }
.ww-file__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; }
.ww-file__name small { display: block; font-weight: 600; color: var(--muted); font-size: .82rem; }
.ww-file__size { color: var(--muted); font-size: .88rem; font-weight: 700; white-space: nowrap; }
.ww-x { border: 0; background: none; color: var(--muted); font-size: 1.4rem; font-weight: 800; cursor: pointer; line-height: 1; }
.ww-x:hover { color: var(--free); }
.ww-x:disabled { opacity: .3; cursor: default; }

/* tabele */
.ww-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .95rem; margin: 12px 0 22px; font-variant-numeric: tabular-nums; border: var(--bw) solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); }
.ww-table th, .ww-table td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--line-soft); }
.ww-table tr:last-child td { border-bottom: 0; }
.ww-table th { font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--ink); background: var(--lime); border-bottom: var(--bw) solid var(--line); }
.ww-table tbody tr:hover { background: var(--accent-soft); }
@media (min-width: 700px) {
	.ww-table--hours tbody, .ww-table--cols tbody { display: grid; grid-template-columns: 1fr 1fr; }
	.ww-table--hours thead, .ww-table--cols thead { display: none; }
	.ww-table--hours tr, .ww-table--cols tr { display: grid; grid-template-columns: 1fr 1fr; }
	.ww-table--hours tr:nth-child(odd), .ww-table--cols tr:nth-child(odd) { border-right: 1px solid var(--line-soft); }
	.ww-table--hours td, .ww-table--cols td { border-bottom: 1px solid var(--line-soft) !important; }
}
.ww-table--grades tr.is-current { background: var(--lime); font-weight: 800; }
.ww-table--grades tr.g1 td:last-child { color: var(--free); font-weight: 800; }
.ww-table--edit input { padding: 7px 10px; }
.ww-scale { margin: 12px 0; }
.ww-scale summary { cursor: pointer; font-weight: 800; margin-bottom: 10px; }

/* treść (prose) */
.ww-prose { max-width: 72ch; }
.ww-prose h2 { display: inline-block; }
.ww-prose ul, .ww-prose ol { padding-left: 1.3em; }
.ww-prose li { margin-bottom: .4em; }
.ww-prose li::marker { color: var(--primary); font-weight: 800; }
.ww-prose blockquote { margin: 1.2em 0; padding: .6em 1em; border: var(--bw) solid var(--line); background: var(--panel); border-radius: var(--radius-sm); }
.ww-prose img { border-radius: var(--radius-sm); border: var(--bw) solid var(--line); }

/* FAQ */
.ww-faq { margin: 34px 0; }
.ww-faq details { background: var(--surface); border-radius: var(--radius-sm); margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.ww-faq summary { cursor: pointer; padding: 14px 52px 14px 16px; font-weight: 800; color: var(--ink); list-style: none; position: relative; }
.ww-faq summary::-webkit-details-marker { display: none; }
.ww-faq summary::after { content: "+"; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: grid; place-items: center; font-size: 1.2rem; font-weight: 800; color: var(--on-primary); background: var(--primary); border: 1px solid var(--line); border-radius: 8px; }
.ww-faq details[open] summary::after { content: "−"; background: var(--lime); color: var(--lime-ink); }
.ww-faq__a { padding: 0 16px 8px; color: var(--text); }

/* listy linków */
.ww-links { margin: 36px 0 0; }
.ww-links ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.ww-links li { display: flex; flex-direction: column; }
.ww-links a { font-weight: 800; text-decoration: none; }
.ww-links a:hover { text-decoration: underline; }
.ww-links span { font-size: .82rem; font-weight: 600; color: var(--muted); }
.ww-links--cards ul { gap: 14px; }
.ww-links--cards li { background: var(--surface); border-radius: var(--radius-sm); padding: 12px 14px; box-shadow: var(--shadow-sm); }
.ww-links--compact ul { grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 6px 16px; font-size: .95rem; }
.ww-links--compact a { font-weight: 700; }

/* karty (strony zbiorcze, główna) */
.ww-hubsec h2 { font-size: 1.25rem; }
.ww-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.ww-card a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 16px 18px; background: var(--surface); border-radius: var(--radius); text-decoration: none; color: var(--text); box-shadow: var(--shadow-sm); transition: transform .1s, box-shadow .1s, background .1s; }
.ww-card a:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); background: var(--accent-soft); }
.ww-card strong { color: var(--ink); font-size: 1.04rem; font-weight: 800; line-height: 1.3; }
.ww-card span { font-size: .87rem; font-weight: 600; color: var(--muted); line-height: 1.45; }
.ww-card__time { font: 700 1.4rem var(--mono) !important; color: var(--ink) !important; }

/* ── strona główna ──────────────────────────────────── */

.ww-hero { padding: clamp(40px, 6vw, 76px) 0 32px; text-align: center; }
.ww-hero__badges { justify-content: center; margin: 0 0 22px; }
.ww-hero h1 { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 3.9rem); max-width: 17ch; margin: 0 auto .4em; letter-spacing: -.04em; }
.ww-hero h1 em { font-style: normal; display: inline-block; color: var(--lime-ink); background: var(--lime); border: 0; border-radius: 14px; padding: 0 14px 4px; box-shadow: var(--shadow-hover); margin-top: 6px; }
.ww-hero p { color: var(--muted); font-size: 1.1rem; font-weight: 600; max-width: 56ch; margin: 0 auto 28px; }
.ww-search { position: relative; max-width: 640px; margin: 0 auto; text-align: left; }
.ww-search__box { display: flex; align-items: center; gap: 10px; background: var(--surface); border-radius: 16px; padding: 6px 6px 6px 16px; }
.ww-search__box:focus-within { box-shadow: var(--shadow-hover); }
.ww-search__box .ww-ico { color: var(--primary); width: 22px; height: 22px; stroke-width: 2.4; }
.ww-search__box input { flex: 1; border: 0; background: none; font: inherit; font-size: 1.08rem; font-weight: 700; color: var(--ink); padding: 10px 0; min-width: 0; }
.ww-search__box input:focus { outline: none; }
.ww-search__res { position: absolute; left: 0; right: 0; top: calc(100% + 10px); background: var(--surface); border: var(--bw) solid var(--line); border-radius: 14px; box-shadow: var(--shadow); list-style: none; margin: 0; padding: 6px; z-index: 10; }
.ww-search__res a { display: block; padding: 9px 12px; border-radius: 9px; text-decoration: none; color: var(--ink); font-weight: 700; }
.ww-search__res a:hover, .ww-search__res a:focus { background: var(--lime); }
.ww-search__res .ww-muted { padding: 9px 12px; }
.ww-quick { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }

.ww-now { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin: 14px 0 40px; }
.ww-now__item { background: var(--surface); border-radius: var(--radius); padding: 16px 18px; text-decoration: none; color: var(--text); display: block; transition: transform .1s, box-shadow .1s; }
.ww-now__item:nth-child(1) { background: var(--panel); }
.ww-now__item:nth-child(3) { background: var(--accent-soft); }
.ww-now__item:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.ww-now__item small { display: block; color: var(--muted); font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.ww-now__item b { display: block; font-size: 1.5rem; font-weight: 800; color: var(--ink); margin: 4px 0 2px; letter-spacing: -.02em; }
.ww-now__item span { font-size: .88rem; font-weight: 600; color: var(--muted); }

.ww-section { margin: 46px 0; }
.ww-section__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.ww-section__head h2 { margin: 0; display: flex; align-items: center; gap: 12px; font-size: 1.6rem; }
.ww-section__head h2 .ww-ico { width: 40px; height: 40px; padding: 7px; border-radius: 12px; background: var(--lime); color: var(--lime-ink); border: var(--bw) solid var(--line); box-shadow: var(--shadow-sm); }
.ww-section__head a { font-weight: 800; font-size: .92rem; text-decoration: none; border: 1px solid var(--line); border-radius: 10px; padding: 4px 12px; color: var(--ink); background: var(--surface); box-shadow: var(--shadow-hover); }
.ww-section__head a:hover { background: var(--lime); }

/* ── wpisy WordPressa ───────────────────────────────── */

.ww-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; list-style: none; padding: 0; }
.ww-post-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.ww-post-card img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; border-bottom: var(--bw) solid var(--line); }
.ww-post-card__body { padding: 14px 16px 16px; }
.ww-post-card h2, .ww-post-card h3 { font-size: 1.08rem; margin: 0 0 6px; }
.ww-post-card h2 a, .ww-post-card h3 a { color: var(--ink); text-decoration: none; }
.ww-post-card p { font-size: .9rem; color: var(--muted); margin: 0; }
.ww-meta { font-size: .88rem; font-weight: 700; color: var(--muted); }
.ww-article .ww-prose { max-width: none; }
.ww-article figure { margin: 1.4em 0; }
.ww-article figcaption { font-size: .85rem; color: var(--muted); }
.ww-article .wp-block-table table, .ww-article table { width: 100%; border-collapse: collapse; }
.ww-article td, .ww-article th { border: 1px solid var(--line-soft); padding: 8px 10px; }
.ww-pagination { display: flex; gap: 8px; justify-content: center; margin: 32px 0; }
.ww-pagination .page-numbers { padding: 7px 13px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; font-weight: 800; color: var(--ink); background: var(--surface); }
.ww-pagination .current { background: var(--primary); color: var(--on-primary); }

/* ── stopka ─────────────────────────────────────────── */

.ww-footer { background: var(--ink); color: var(--bg); margin-top: 48px; padding: 44px 0 0; font-size: .92rem; }
:root[data-theme="dark"] .ww-footer { background: #0b0a14; color: var(--text); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ww-footer { background: #0b0a14; color: var(--text); } }
.ww-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(6, 1fr); gap: 22px; }
@media (max-width: 960px) { .ww-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ww-footer__grid { grid-template-columns: 1fr; } }
.ww-footer .ww-logo__txt { color: inherit; }
.ww-footer .ww-logo__txt b { color: var(--lime); }
.ww-footer__about p { opacity: .8; }
.ww-footer__h { font-weight: 800; margin-bottom: 10px; }
.ww-footer__h a { color: var(--lime); text-decoration: none; }
.ww-footer ul { list-style: none; margin: 0; padding: 0; }
.ww-footer li { margin-bottom: 6px; }
.ww-footer li a { color: inherit; opacity: .8; text-decoration: none; font-weight: 600; }
.ww-footer li a:hover { opacity: 1; text-decoration: underline; }
.ww-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1.5px solid rgba(255, 255, 255, .18); margin-top: 30px; padding: 16px; font-size: .84rem; opacity: .8; }
.ww-footer__menu { display: flex; gap: 16px; }
.ww-footer__menu a { color: inherit; }

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}

/* ── wersja stonowana: cienkie jasne kontury, miękkie cienie, bez ramek na wyróżnieniach ── */

.ww-mega.is-open .ww-mega__chev { transform: rotate(180deg); }
@media (hover: hover) and (min-width: 861px) {
	.ww-mega:hover .ww-mega__chev { transform: rotate(180deg); }
}
.ww-btn, .ww-mega__btn { border-color: transparent; }
.ww-btn--ghost { border-color: var(--line); }
.ww-btn:hover { box-shadow: var(--shadow); }
.ww-logo__mark { border: 0; box-shadow: none; border-radius: 9px; }
.ww-hero h1 em { border: 0; box-shadow: none; border-radius: 12px; padding: 0 14px 4px; }
.ww-bignum__n, .ww-count__days, .ww-mirror { border: 0; box-shadow: none; }
.ww-sticker { border: 0; box-shadow: none; border-radius: 18px; }
.ww-section__head h2 .ww-ico, .ww-mega__h .ww-ico { border: 0; box-shadow: none; }
.ww-drop .ww-ico { border: 0; box-shadow: none; }
.ww-crumbs li[aria-current] { background: none; border: 0; padding: 0; color: var(--ink); }
.ww-badges li { border: 1px solid var(--line); background: var(--surface); font-weight: 700; }
.ww-result, .ww-pcalc output, .ww-ratio output, .ww-convert__swap { border: 0; }
.ww-convert__swap { box-shadow: none; }
.ww-faq summary::after { border: 0; width: 26px; height: 26px; }
.ww-table th { background: var(--surface-2); border-bottom-color: var(--line); color: var(--muted); }
.ww-tabs { border-width: 1px; }
.ww-tabs button[aria-selected="true"] { border-color: transparent; }
.ww-drop { border-width: 2px; border-color: var(--line); }
.ww-holidays__item--ustawowe em { border-color: transparent; }
.ww-holidays__item em { border-width: 1px; }
.ww-field input, .ww-field select, .ww-field textarea, .ww-pcalc input, .ww-ratio input, .ww-table--edit input { border-width: 1px; }
.ww-field input:focus, .ww-field select:focus, .ww-field textarea:focus, .ww-pcalc input:focus, .ww-ratio input:focus, .ww-table--edit input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--accent-soft); background: var(--surface); }
.ww-search__box:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--accent-soft); }
.ww-card a:hover, .ww-now__item:hover { border-color: var(--primary); }
.ww-count__grid div, .ww-stats li, .ww-chip, .ww-chips a, .ww-section__head a, .ww-pagination .page-numbers, .ww-file img, .ww-file__ico, .ww-progress { border-width: 1px; }
.ww-chip:hover, .ww-chips a:hover, .ww-section__head a:hover { background: var(--accent-soft); color: var(--accent-ink); border-color: var(--primary); }

/* płasko: bez cieni, cienkie ramki */
.ww-card a:hover, .ww-now__item:hover { transform: none; }
.ww-drop { border-width: 1.5px; }

/* hero strony głównej: hasło + wyszukiwarka po lewej, kartka „Dziś” po prawej */
.ww-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 44px; align-items: center; text-align: left; padding: clamp(36px, 5vw, 64px) 0 clamp(32px, 4vw, 52px); }
.ww-hero h1 { font-size: clamp(2.2rem, 1.4rem + 2.8vw, 3.5rem); max-width: 15ch; margin: 0 0 16px; }
.ww-hero h1 em { padding: 0 12px 3px; }
.ww-hero p { margin: 0 0 24px; max-width: 52ch; }
.ww-hero .ww-search { margin: 0; max-width: 600px; }
.ww-hero .ww-quick { justify-content: flex-start; gap: 8px; margin-top: 16px; }
.ww-daycard { background: var(--surface); border: var(--bw) solid var(--line); border-radius: 20px; overflow: hidden; }
.ww-daycard__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 20px 24px; background: var(--primary); color: var(--on-primary); text-decoration: none; }
.ww-daycard__top b { font-size: 4.2rem; line-height: .9; font-weight: 800; letter-spacing: -.05em; }
.ww-daycard__top span { text-align: right; font-weight: 700; line-height: 1.35; }
.ww-daycard ul { list-style: none; margin: 0; padding: 4px 24px 8px; }
.ww-daycard li + li { border-top: 1px solid var(--line-soft); }
.ww-daycard li a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; text-decoration: none; color: var(--text); font-weight: 700; }
.ww-daycard li a:hover span { color: var(--accent-ink); text-decoration: underline; }
.ww-daycard em { font-style: normal; font-weight: 800; color: var(--accent-ink); text-align: right; }
.ww-daycard__time { font-family: var(--mono); }
@media (max-width: 860px) {
	.ww-hero { grid-template-columns: 1fr; gap: 28px; }
	.ww-hero h1 { max-width: none; }
}
.ww-hero h1 { max-width: 17ch; }
.ww-daycard li a span { white-space: nowrap; }
.ww-daycard em small { font-size: .78em; color: var(--muted); font-weight: 700; margin-left: 4px; }

/* kalkulatory: skala BMI, ostrzeżenie */
.ww-bmibar { position: relative; display: flex; margin: 18px 0 6px; border-radius: 10px; overflow: hidden; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.ww-bmibar span { padding: 7px 8px; text-align: center; color: var(--lime-ink); }
.ww-bmibar span:nth-child(1) { background: #cfe3ff; }
.ww-bmibar span:nth-child(2) { background: var(--lime); }
.ww-bmibar span:nth-child(3) { background: #ffe08a; }
.ww-bmibar span:nth-child(4) { background: #ffb4a8; }
.ww-bmibar i { position: absolute; top: -4px; bottom: -4px; width: 4px; margin-left: -2px; background: var(--ink); border-radius: 2px; left: 0; transition: left .2s; }
.ww-warn { background: #fff1ef; border: 1px solid #f3b6ad; border-radius: var(--radius-sm); padding: 12px 14px; color: #6b1d14; }
:root[data-theme="dark"] .ww-warn { background: #3a1a17; border-color: #6b2b24; color: #ffd5cf; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ww-warn { background: #3a1a17; border-color: #6b2b24; color: #ffd5cf; } }

/* ── warstwa Automatu: banery, sponsorowane, AI, wpisy ── */

/* banery z wtyczki TP – sloty z zarezerwowaną wysokością, kreacja nie rozpycha układu */
.ww-adstrip { background: var(--surface); border-bottom: 1px solid var(--line); }
.ww-adslot { display: flex; justify-content: center; align-items: center; }
.ww-adslot--billboard { min-height: 50px; padding: 8px 0; }
.ww-adslot--billboard img { display: block; width: auto; height: auto; max-width: 100%; max-height: 90px; }
@media (max-width: 639px) { .ww-adslot--billboard img { max-height: 50px; } }
.ww-footbanners { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; padding: 20px 0 4px; }
.ww-adslot--footer { width: 300px; height: 50px; }
.ww-adslot--footer img { width: 300px; height: 50px; object-fit: contain; }
.ww-nav__list .ww-nav__promo { color: var(--accent-ink); }

/* stopka: druga linia (Redakcja, Formalne, Polecane) */
.ww-footer__row { display: flex; flex-wrap: wrap; gap: 18px 48px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); }
.ww-footer__inline { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.ww-footer__inline li { margin: 0; }
.ww-footer__bottom p { margin: 0; }
.ww-footer__ai { flex-basis: 100%; }

/* oznaczenia: materiał sponsorowany, grafika AI */
.ww-tag { display: inline-flex; align-items: center; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; border-radius: 7px; padding: 2px 8px; }
.ww-tag--sponsored { background: var(--accent-soft); color: var(--accent-ink); border: 1px solid var(--line); }
.ww-figure { position: relative; display: block; overflow: hidden; border-radius: var(--radius-sm); }
.ww-figure img { display: block; width: 100%; height: auto; }
.ww-figure--card img { aspect-ratio: 4 / 3; object-fit: cover; }
.ww-ai { position: absolute; left: 10px; bottom: 10px; background: rgba(28, 24, 56, .78); color: #fff; font-size: .72rem; font-weight: 700; line-height: 1; border-radius: 6px; padding: 5px 8px; pointer-events: none; }
.ww-ai__short { display: none; }
.ww-figure--card .ww-ai { left: 8px; bottom: 8px; padding: 4px 6px; }
.ww-figure--card .ww-ai__full { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ww-figure--card .ww-ai__short { display: inline; }

/* karty wpisów */
.ww-post-card__img { display: block; }
.ww-post-card__img .ww-figure { border-radius: 0; }
.ww-post-card__meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin: 0 0 6px !important; font-size: .78rem !important; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--accent-ink) !important; }

/* wpis */
.ww-article__head { margin: 6px 0 22px; }
.ww-article__head .ww-tag { margin-bottom: 10px; }
.ww-article__head h1 { margin-bottom: 10px; }
.ww-article__img { margin: 0 0 26px; }
.ww-toc { background: var(--panel); border-radius: var(--radius); padding: 16px 22px; margin: 0 0 28px; max-width: 72ch; }
.ww-toc__h { font-weight: 800; color: var(--ink); margin: 0 0 6px; }
.ww-toc ol { margin: 0; padding-left: 1.2em; }
.ww-toc li { margin: 3px 0; }
.ww-toc a { text-decoration: none; font-weight: 700; }
.ww-prose h2[id] { scroll-margin-top: 90px; }
.ww-qa { margin-top: 8px; }
.ww-contact { font-size: 1.05rem; }

/* udostępnianie */
.share-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 32px 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.share-label { font-weight: 800; color: var(--ink); }
.share-list { display: flex; flex-wrap: wrap; gap: 8px; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: .85rem; font-weight: 700; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 6px 12px; text-decoration: none; cursor: pointer; }
.share-btn:hover { border-color: var(--primary); color: var(--accent-ink); }
.share-btn svg { width: 16px; height: 16px; }

/* autor */
.ww-author { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin: 24px 0; }
.ww-author img { border-radius: 50%; flex-shrink: 0; }
.ww-author p { margin: 0; }
.ww-author__name { font-weight: 800; margin-bottom: 4px !important; }
.ww-author--head { background: var(--panel); border: 0; }
.ww-author--head h1 { padding-right: 0; }

/* stopka zgodna z motywem (jasna / ciemna), to samo logo co w nagłówku */
.ww-footer, :root[data-theme="dark"] .ww-footer { background: var(--surface); color: var(--text); border-top: 1px solid var(--line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ww-footer { background: var(--surface); color: var(--text); } }
.ww-footer .ww-logo__txt { color: var(--ink); }
.ww-footer .ww-logo__txt b { color: var(--primary); }
.ww-footer__h a { color: var(--ink); }
.ww-footer__h a:hover { color: var(--accent-ink); }
.ww-footer__about p { opacity: 1; color: var(--muted); }
.ww-footer li a { opacity: 1; color: var(--muted); }
.ww-footer li a:hover { color: var(--accent-ink); }
.ww-footer__row { border-top-color: var(--line); }
.ww-footer__bottom { border-top-color: var(--line); opacity: 1; color: var(--muted); }
.ww-logo__img { display: block; max-height: 40px; width: auto; }

/* informacja o AI – jak na portalach sieci */
.ww-footer__ai { display: inline-flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px 10px 10px; color: var(--muted); font-size: .86rem; }
.ww-footer__ai-ico { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 1.5px solid currentColor; border-radius: 7px; font-weight: 700; font-size: .85rem; color: var(--ink); }

/* większe logo w menu */
.ww-header .ww-logo__txt { font-size: 1.95rem; line-height: 1; }
.ww-header .ww-logo__img { max-height: 52px; }
@media (max-width: 520px) { .ww-header .ww-logo__txt { font-size: 1.65rem; } }
