/* Czcionka Nunito (licencja SIL OFL, patrz fonts/LICENSE-Nunito-OFL.txt) z własnego serwera, bez Google Fonts */
@font-face {
	font-family: "Nunito";
	font-style: normal;
	font-display: swap;
	font-weight: 200 1000;
	src: url(fonts/nunito-latin-ext-wght-normal.woff2) format("woff2");
	unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
	font-family: "Nunito";
	font-style: normal;
	font-display: swap;
	font-weight: 200 1000;
	src: url(fonts/nunito-latin-wght-normal.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;
}

/* Kot Eliye – wygląd 2026 */

:root {
	--akcent: #d9443c;
	--akcent-ciemny: #b8342d;
	--akcent-jasny: #fdecea;
	--tlo: #f6f3f0;
	--karta: #ffffff;
	--tekst: #2a2422;
	--przygaszony: #7b706b;
	--linia: #e8e1dc;
	--cien: 0 1px 2px rgba(42, 36, 34, .06), 0 2px 8px rgba(42, 36, 34, .06);
	--cien-hover: 0 4px 10px rgba(42, 36, 34, .10), 0 10px 24px rgba(42, 36, 34, .08);
	--r: 14px;
	--r-maly: 9px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--tlo);
	color: var(--tekst);
	font: 400 16px/1.5 "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

a { color: var(--akcent-ciemny); text-decoration: none; }
a:hover { color: var(--akcent); }

img { max-width: 100%; border: 0; }

.ico { width: 20px; height: 20px; flex: none; vertical-align: middle; }

mark { background: #ffe58f; color: inherit; border-radius: 3px; padding: 0 1px; }

/* ---------------------------------------------------------- pasek górny */

.topbar {
	position: sticky;
	top: 0;
	z-index: 900;
	background: rgba(255, 255, 255, .92);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--linia);
}

.topbar-in {
	max-width: 1180px;
	margin: 0 auto;
	padding: 8px 20px;
	display: flex;
	align-items: center;
	gap: 18px;
}

.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 38px; width: auto; display: block; }

.nav { display: flex; gap: 4px; }

.nav-link {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 8px 12px;
	border-radius: 999px;
	color: var(--przygaszony);
	font-weight: 700;
	white-space: nowrap;
	transition: background .15s, color .15s;
}
.nav-link:hover { background: var(--tlo); color: var(--tekst); }
.nav-link.active { background: var(--akcent-jasny); color: var(--akcent-ciemny); }

.search {
	flex: 1;
	min-width: 140px;
	max-width: 340px;
	margin-left: auto;
	position: relative;
}
.search .ico {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--przygaszony);
	width: 18px;
	height: 18px;
	pointer-events: none;
}
.search input {
	width: 100%;
	margin: 0;
	padding: 9px 14px 9px 38px;
	border: 1px solid var(--linia);
	border-radius: 999px;
	background: var(--tlo);
	font: inherit;
	color: inherit;
	outline: none;
	transition: border-color .15s, background .15s, box-shadow .15s;
}
.search input:focus { background: #fff; border-color: var(--akcent); box-shadow: 0 0 0 3px var(--akcent-jasny); }

.nav-right { display: flex; gap: 2px; margin-left: auto; }
.search + .nav-right { margin-left: 0; }

.icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	color: var(--przygaszony);
	background: none;
	border: 0;
	cursor: pointer;
	transition: background .15s, color .15s;
}
.icon-btn:hover { background: var(--tlo); color: var(--tekst); }
.icon-btn.active { color: var(--akcent-ciemny); background: var(--akcent-jasny); }

/* ---------------------------------------------------------- treść */

.page {
	flex: 1;
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 28px 20px 110px;
}

.page-head {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 18px;
}
.page-head h1 { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -.01em; }
.page-head .podtytul { color: var(--przygaszony); width: 100%; margin-top: -8px; }

.stopka {
	text-align: center;
	padding: 18px 20px 26px;
	font-size: 13px;
	color: var(--przygaszony);
}
.stopka a { color: var(--przygaszony); text-decoration: underline; text-decoration-color: var(--linia); }

/* komunikaty */
.alert {
	padding: 12px 16px;
	border-radius: var(--r-maly);
	margin: 0 0 18px;
	font-weight: 600;
}
.alert-blad { background: #fdecea; color: #9b2c25; border: 1px solid #f6c9c4; }
.alert-ok { background: #e8f6ec; color: #22663a; border: 1px solid #bfe5cb; }

.pusto {
	background: var(--karta);
	border: 2px dashed var(--linia);
	border-radius: var(--r);
	padding: 34px 24px;
	text-align: center;
	color: var(--przygaszony);
}
.pusto strong { display: block; font-size: 22px; color: var(--tekst); margin-bottom: 4px; }
.pusto p { margin: 0; }
.pusto .uwaga { color: var(--akcent-ciemny); margin-top: 10px; font-weight: 700; }

/* ---------------------------------------------------------- kategorie (pigułki) */

.chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 24px;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--karta);
	border: 1px solid var(--linia);
	color: var(--tekst);
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: border-color .15s, background .15s, color .15s;
}
.chip:hover { border-color: var(--akcent); color: var(--akcent-ciemny); }
.chip.active { background: var(--akcent); border-color: var(--akcent); color: #fff; }
.chip .licznik { font-weight: 600; opacity: .6; font-size: 12px; }
.chip .kropka { width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }

.chip-akcja {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	border: 1px dashed #cfc5bf;
	background: none;
	color: var(--przygaszony);
	font: 700 14px/1.4 inherit;
	font-family: inherit;
	cursor: pointer;
}
.chip-akcja .ico { width: 16px; height: 16px; }
.chip-akcja:hover { border-color: var(--akcent); color: var(--akcent-ciemny); }

/* lista rozwijana kategorii/pudeł – tylko na telefonie, zamiast chipów */
.lista-wyboru { display: none; position: relative; flex: 1 1 0; min-width: 0; }
.lista-wyboru select {
	appearance: none;
	-webkit-appearance: none;
	padding: 11px 42px 11px 16px;
	border-radius: 999px;
	font-weight: 700;
	background: var(--karta);
	cursor: pointer;
}
.lista-wyboru .ico { position: absolute; right: 14px; top: 50%; width: 20px; height: 20px; margin-top: -10px; pointer-events: none; color: var(--akcent); }

/* ---------------------------------------------------------- tagi */

.tagi { display: inline-flex; flex-wrap: wrap; gap: 4px 6px; }
.tag {
	display: inline-block;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--przygaszony);
	background: var(--tlo);
	padding: 1px 8px;
	border-radius: 999px;
}
.tag:hover { background: var(--akcent-jasny); color: var(--akcent-ciemny); }
.tag-aktywny { background: var(--akcent-jasny); color: var(--akcent-ciemny); font-size: 14px; padding: 4px 12px; }

/* ---------------------------------------------------------- karty wspólne */

.karta {
	position: relative;
	background: var(--karta);
	border-radius: var(--r);
	box-shadow: var(--cien);
	transition: box-shadow .2s, transform .2s;
}
.karta:hover { box-shadow: var(--cien-hover); }

.karta-edytuj {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 32px;
	height: 32px;
	opacity: 0;
	background: rgba(255, 255, 255, .85);
	transition: opacity .15s, background .15s;
}
.karta-edytuj .ico { width: 16px; height: 16px; }
/* :focus-visible – tylko z klawiatury; po zamknięciu okna (fokus wraca na przycisk) ołówek nie zostaje */
.karta:hover .karta-edytuj, .karta-edytuj:focus-visible { opacity: 1; }
@media (hover: none) { .karta-edytuj { opacity: 1; } }

/* ---------------------------------------------------------- linki */

.lista-linkow {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
	gap: 14px;
}

.link-karta {
	border-left: 6px solid var(--kolor, #fff);
	padding: 14px 46px 14px 16px;
	min-width: 0;
}
.link-karta .tytul {
	display: block;
	font-weight: 800;
	font-size: 16.5px;
	line-height: 1.3;
	color: var(--tekst);
	margin-bottom: 4px;
	word-break: break-word;
}
.link-karta .tytul:hover { color: var(--akcent-ciemny); }
.link-karta .adres {
	display: flex;
	align-items: center;
	gap: 7px;
	color: var(--przygaszony);
	font-size: 13.5px;
	min-width: 0;
}
.link-karta .adres .favicon { width: 16px; height: 16px; border-radius: 3px; flex: none; object-fit: contain; }
.link-karta .adres svg.favicon { color: #b3a9a4; }
.link-karta { scroll-margin-top: 90px; }
.link-karta:target { box-shadow: 0 0 0 3px var(--akcent), var(--cien-hover); }

/* stan linku po sprawdzeniu */
.stan-linku { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 7px; margin-top: 7px; font-size: 13px; font-weight: 700; line-height: 1.35; }
.stan-linku .ico { width: 15px; height: 15px; flex: none; }
.stan-linku span { min-width: 0; overflow-wrap: anywhere; }
.stan-martwy { color: #b42318; }
.stan-problem { color: #a15c07; }
.stan-przeniesiony { color: #1d6fa5; }
.popraw-adres { border: 1px solid currentColor; background: none; color: inherit; border-radius: 999px; padding: 2px 10px; font: inherit; font-size: 12.5px; cursor: pointer; }
.popraw-adres:hover { background: #e8f2fa; }
.popraw-adres:disabled { opacity: .5; cursor: default; }

/* pasek nad listą: filtr, kolejność, sprawdzanie */
.pasek-linkow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; }
.pasek-linkow [hidden], .postep-linkow[hidden], .podsumowanie-linkow[hidden], .podglad-linku[hidden] { display: none; }
.szukaj-duze.filtr-linkow { flex: 1 1 260px; max-width: 420px; margin: 0; }
.filtr-linkow input { padding: 10px 16px 10px 48px; font-size: 16px; }
.wybor { position: relative; display: inline-block; }
.wybor select {
	appearance: none;
	-webkit-appearance: none;
	margin: 0;
	padding: 10px 40px 10px 16px;
	border: 1px solid var(--linia);
	border-radius: 999px;
	background: var(--karta);
	font: 700 15px/1.3 inherit;
	font-family: inherit;
	color: var(--tekst);
	cursor: pointer;
	box-shadow: var(--cien);
}
.wybor .ico { position: absolute; right: 13px; top: 50%; width: 18px; height: 18px; margin-top: -9px; pointer-events: none; color: var(--akcent); }
#sprawdz-linki.trwa .ico { animation: obrot 1s linear infinite; }
@keyframes obrot { to { transform: rotate(360deg); } }
.postep-linkow { display: flex; align-items: center; gap: 10px; margin: -4px 0 16px; color: var(--przygaszony); font-weight: 700; font-size: 14px; }
.postep-linkow progress { flex: 1; max-width: 420px; height: 8px; accent-color: var(--akcent); }
.podsumowanie-linkow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: -4px 0 18px; padding: 12px 16px; background: var(--karta); border-radius: var(--r); box-shadow: var(--cien); font-weight: 700; }
.podsumowanie-linkow .btn { padding: 7px 14px; font-size: 14px; }

/* podgląd strony po najechaniu na tytuł */
.podglad-linku {
	position: absolute;
	z-index: 50;
	width: 340px;
	max-width: calc(100vw - 20px);
	background: var(--karta);
	border-radius: var(--r);
	box-shadow: 0 12px 40px rgba(42, 36, 34, .22), 0 2px 6px rgba(42, 36, 34, .1);
	overflow: hidden;
	pointer-events: none;
}
.podglad-obrazek { display: block; width: 100%; max-height: 190px; object-fit: cover; background: var(--tlo); }
.podglad-tresc { padding: 12px 14px 13px; }
.podglad-host { display: flex; align-items: center; gap: 7px; color: var(--przygaszony); font-size: 13px; font-weight: 700; }
.podglad-host .favicon { width: 16px; height: 16px; flex: none; }
.podglad-tytul { margin-top: 6px; font-weight: 800; line-height: 1.3; }
.podglad-opis { margin-top: 4px; font-size: 13.5px; color: var(--przygaszony); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.podglad-licznik { margin-top: 8px; font-size: 12.5px; color: var(--przygaszony); }
.podpowiedz-opisu { font-weight: 600; color: var(--przygaszony); }
.link-karta .adres span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-karta .tagi { margin-top: 8px; }

/* ---------------------------------------------------------- notatki */

.siatka-notatek {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 16px;
}

.notatka {
	height: 230px;
	padding: 18px 18px 0;
	cursor: pointer;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	border: 1px solid rgba(0, 0, 0, .05);
}
.notatka:hover { transform: translateY(-2px); }
.notatka h3 { margin: 0 0 8px; font-size: 17px; font-weight: 800; line-height: 1.3; }
.notatka .tresc {
	white-space: pre-wrap;
	font-size: 14px;
	line-height: 1.45;
	overflow: hidden;
	flex: 1;
	opacity: .85;
	-webkit-mask-image: linear-gradient(#000 70%, transparent);
	mask-image: linear-gradient(#000 70%, transparent);
}
.notatka .ukryta { display: flex; align-items: center; gap: 8px; opacity: .7; font-weight: 700; font-size: 14px; }
.notatka .tagi-karty { display: flex; flex-wrap: wrap; gap: 4px 5px; margin: -2px 0 8px; max-height: 24px; overflow: hidden; }
.notatka .tagi-karty span { font-size: 12px; font-weight: 700; line-height: 1.5; padding: 0 8px; border-radius: 999px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(0, 0, 0, .06); white-space: nowrap; }
.notatka .tresc.kod { font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; font-size: 12.5px; line-height: 1.4; white-space: pre; }
.notatka { scroll-margin-top: 90px; }
.notatka:target { box-shadow: 0 0 0 3px var(--akcent), var(--cien-hover); }

/* ---------------------------------------------------------- przepisy */

.siatka-przepisow {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 16px;
}

.przepis {
	aspect-ratio: 1 / 1;
	overflow: hidden;
	cursor: pointer;
	background: #efe9e4 center / cover no-repeat;
}
.przepis:hover { transform: translateY(-2px); }
.przepis.bez-zdjecia { display: flex; align-items: center; justify-content: center; color: #cdbfb6; }
.przepis.bez-zdjecia .ico { width: 64px; height: 64px; stroke-width: 1.5; margin-bottom: 40px; }
.przepis .tytul {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 34px 14px 12px;
	background: linear-gradient(transparent, rgba(0, 0, 0, .72));
	color: #fff;
	font-weight: 800;
	font-size: 16px;
	line-height: 1.25;
}

/* ---------------------------------------------------------- pudła */

.pudlo-info {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 18px;
	background: var(--karta);
	border-radius: var(--r);
	box-shadow: var(--cien);
	border-left: 6px solid var(--kolor, #ccc);
	padding: 12px 16px;
	margin: -8px 0 22px;
	color: var(--przygaszony);
}
.pudlo-info strong { color: var(--tekst); font-size: 18px; }

.siatka-elementow {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 14px;
}

.element {
	border-left: 6px solid var(--kolor, #ccc);
	padding: 12px 46px 12px 16px;
	scroll-margin-top: 90px;
}
.element h3 { margin: 0; font-size: 16.5px; font-weight: 800; line-height: 1.3; word-break: break-word; }
.element .opis { color: var(--przygaszony); font-size: 14px; margin-top: 2px; }
.element .stopka-el { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 8px; }
.element:target { box-shadow: 0 0 0 3px var(--akcent), var(--cien-hover); }

.znaczek-pudla {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--tekst);
	background: var(--tlo);
	padding: 2px 9px 2px 7px;
	border-radius: 999px;
}
.znaczek-pudla:hover { color: var(--akcent-ciemny); }
.znaczek-pudla .ico { width: 14px; height: 14px; color: var(--kolor, #999); }

/* ---------------------------------------------------------- strona startowa */

.powitanie h1 { margin: 6px 0 4px; font-size: 32px; font-weight: 800; }
.powitanie p { margin: 0 0 22px; color: var(--przygaszony); font-size: 17px; }

.szukaj-duze { position: relative; max-width: 640px; margin-bottom: 30px; }
.szukaj-duze .ico { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--przygaszony); width: 22px; height: 22px; }
.szukaj-duze input {
	width: 100%;
	margin: 0;
	padding: 15px 18px 15px 52px;
	font: 600 18px/1.3 inherit;
	font-family: inherit;
	border: 1px solid var(--linia);
	border-radius: 999px;
	background: var(--karta);
	box-shadow: var(--cien);
	outline: none;
}
.szukaj-duze input:focus { border-color: var(--akcent); box-shadow: 0 0 0 4px var(--akcent-jasny); }

.kafle {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 16px;
}
.kafel {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 22px;
	color: var(--tekst);
}
.kafel:hover { transform: translateY(-2px); color: var(--tekst); }
.kafel .ikona-kafla {
	width: 54px;
	height: 54px;
	border-radius: 16px;
	background: var(--akcent-jasny);
	color: var(--akcent);
	display: flex;
	align-items: center;
	justify-content: center;
}
.kafel .ikona-kafla .ico { width: 28px; height: 28px; }
.kafel strong { display: block; font-size: 20px; font-weight: 800; }
.kafel span { color: var(--przygaszony); font-size: 14px; }

/* ---------------------------------------------------------- wyszukiwarka */

.wyniki-sekcja { margin-bottom: 30px; }
.wyniki-sekcja h2 {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 20px;
	font-weight: 800;
	margin: 0 0 12px;
}
.wyniki-sekcja h2 .ico { color: var(--akcent); }
.wyniki-sekcja h2 .licznik {
	font-size: 13px;
	font-weight: 700;
	background: var(--akcent-jasny);
	color: var(--akcent-ciemny);
	border-radius: 999px;
	padding: 1px 9px;
}
.wynik {
	display: block;
	padding: 12px 16px;
	color: var(--tekst);
	border-left: 6px solid var(--kolor, var(--linia));
	margin-bottom: 10px;
}
.wynik:hover { color: var(--tekst); }
.wynik .tytul { font-weight: 800; font-size: 16.5px; }
.wynik .fragment { color: var(--przygaszony); font-size: 14px; margin-top: 2px; word-break: break-word; }
.wynik .gdzie { font-size: 12.5px; color: var(--przygaszony); margin-top: 4px; font-weight: 700; }

/* ---------------------------------------------------------- profil */

.siatka-profilu {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 18px;
	margin-bottom: 18px;
}
.panel { background: var(--karta); border-radius: var(--r); box-shadow: var(--cien); padding: 20px 22px; }
.panel h2 { margin: 0 0 14px; font-size: 18px; font-weight: 800; }

.dane { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; }
.dane dt { color: var(--przygaszony); }
.dane dd { margin: 0; font-weight: 700; word-break: break-word; }

.statystyki { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.stat { background: var(--tlo); border-radius: var(--r-maly); padding: 10px 12px; color: var(--tekst); }
a.stat:hover { background: var(--akcent-jasny); color: var(--tekst); }
.stat strong { display: block; font-size: 24px; font-weight: 800; line-height: 1.1; }
.stat span { font-size: 13px; color: var(--przygaszony); }

.tabela-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tabela { border-collapse: collapse; width: 100%; font-size: 14px; }
.tabela th, .tabela td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--linia); vertical-align: top; }
.tabela th { font-weight: 800; color: var(--przygaszony); white-space: nowrap; }
.tabela td.agent { max-width: 340px; font-size: 12.5px; color: var(--przygaszony); }

/* ---------------------------------------------------------- formularze */

.pole { display: block; margin-bottom: 14px; }
.pole > span { display: block; font-size: 13.5px; font-weight: 700; color: var(--przygaszony); margin-bottom: 5px; }

.pola-rzad { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0 14px; }

input[type=text], input[type=url], input[type=email], input[type=password], input:not([type]), select, textarea {
	width: 100%;
	margin: 0;
	padding: 10px 12px;
	font: inherit;
	font-size: 15.5px;
	color: var(--tekst);
	background: #fff;
	border: 1px solid #ddd4ce;
	border-radius: var(--r-maly);
	outline: none;
	transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--akcent); box-shadow: 0 0 0 3px var(--akcent-jasny); }
textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
input.color { cursor: pointer; font-family: ui-monospace, Consolas, monospace; }

.check { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-weight: 600; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--akcent); }

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 10px 18px;
	border-radius: 999px;
	border: 1px solid var(--linia);
	background: #fff;
	color: var(--tekst);
	font: 800 15px/1.2 inherit;
	font-family: inherit;
	cursor: pointer;
	transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
	text-decoration: none;
}
.btn .ico { width: 17px; height: 17px; }
.btn:hover { border-color: #cfc5bf; color: var(--tekst); background: var(--tlo); }
.btn-glowny { background: var(--akcent); border-color: var(--akcent); color: #fff; }
.btn-glowny:hover { background: var(--akcent-ciemny); border-color: var(--akcent-ciemny); color: #fff; }
.btn-usun { color: #b3261e; }
.btn-usun:hover { background: #fdecea; border-color: #f2b8b2; color: #8c1d17; }

.przyciski { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; align-items: center; }
.przyciski .odstep { flex: 1; }

/* pływający przycisk dodawania */
.fab {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 800;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--akcent);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 16px rgba(217, 68, 60, .4);
	transition: transform .15s, background .15s;
}
.fab:hover { background: var(--akcent-ciemny); color: #fff; transform: scale(1.06); }
.fab .ico { width: 28px; height: 28px; stroke-width: 2.5; }

/* ---------------------------------------------------------- okna dialogowe */

.mfp-bg { background: #2a2422; }
.mfp-content .zoom-anim-dialog.dialog {
	position: relative;
	width: calc(100vw - 24px); /* jawna szerokość: okno nie kurczy się do treści */
	max-width: 560px;
	margin: 30px auto;
	padding: 26px 28px 24px;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
	text-align: left;
	color: var(--tekst);
}
.mfp-content .zoom-anim-dialog.dialog-szeroki { max-width: 760px; }
.dialog-tytul { margin: 0 0 18px; font-size: 22px; font-weight: 800; padding-right: 30px; }
.dialog .mfp-close { color: var(--przygaszony); opacity: 1; font-size: 30px; width: 44px; height: 44px; line-height: 44px; right: 6px; top: 6px; }
.dialog .mfp-close:hover { color: var(--akcent); }
.dialog p { margin: 0 0 16px; }

/* podgląd notatki w kolorach notatki */
.dialog.podglad-notatki textarea {
	border: 0;
	background: transparent;
	box-shadow: none;
	padding: 4px 0;
	color: inherit;
	resize: none;
	border-radius: 0;
}
.dialog.podglad-notatki textarea.tyt { font-size: 22px; font-weight: 800; min-height: 0; padding-right: 30px; }
.dialog.podglad-notatki textarea.tresc { min-height: 90px; max-height: 60vh; max-height: 60dvh; overflow-y: auto !important; font-size: 15.5px; }
.dialog.podglad-notatki textarea:focus { box-shadow: none; background: rgba(255, 255, 255, .35); }
.dialog.podglad-notatki .btn:not(.btn-glowny) { background: rgba(255, 255, 255, .7); }
.dialog.podglad-notatki .btn:not(.btn-glowny):not(.btn-usun) { color: var(--tekst); }
.dialog.podglad-notatki .btn-glowny { box-shadow: 0 0 0 2px rgba(255, 255, 255, .85); }
.dialog.podglad-notatki .mfp-close { color: inherit; opacity: .6; }
.dialog.podglad-notatki textarea.tresc.kod { font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; font-size: 13.5px; line-height: 1.45; white-space: pre; overflow-x: auto; }

/* notatka do czytania */
.tytul-notatki { margin: 0 0 10px; padding-right: 30px; font-size: 22px; font-weight: 800; line-height: 1.3; overflow-wrap: anywhere; }
.tekst-notatki {
	white-space: pre-wrap;
	overflow-wrap: anywhere;
	font-size: 15.5px;
	line-height: 1.55;
	max-height: 60vh;
	max-height: 60dvh;
	overflow-y: auto;
	margin-bottom: 14px;
}
.tekst-notatki a { color: inherit; text-decoration: underline; text-underline-offset: 2px; font-weight: 700; }
.tekst-notatki pre.kod {
	margin: 0;
	padding: 12px 14px;
	background: rgba(255, 255, 255, .55);
	border: 1px solid rgba(0, 0, 0, .08);
	border-radius: var(--r-maly);
	font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
	font-size: 13.5px;
	line-height: 1.45;
	white-space: pre;
	overflow-x: auto;
	tab-size: 4;
}
.zadanie { display: flex; align-items: flex-start; gap: 10px; white-space: normal; padding: 3px 0; cursor: pointer; }
.zadanie input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--akcent); cursor: pointer; }
.zadanie.zrobione span { opacity: .6; text-decoration: line-through; }
.btn-kopiuj .ico { width: 16px; height: 16px; }

/* podgląd przepisu */
.przepis-podglad h2 { margin: 0 0 4px; font-size: 26px; font-weight: 800; padding-right: 30px; }
.przepis-podglad .danie { color: var(--akcent-ciemny); font-weight: 800; text-transform: uppercase; font-size: 13px; letter-spacing: .05em; }
.mfp-content .zoom-anim-dialog.dialog-przepis { max-width: 1000px; }
.przepis-podglad .zdjecia { margin: 18px 0; border-radius: var(--r); overflow: hidden; background: var(--tlo); }
.przepis-podglad .przepis-prawa h3 { margin-top: 18px; }
.przepis-podglad .wstep { font-style: italic; color: var(--przygaszony); }
/* na szerokim ekranie: zdjęcie po lewej, składniki obok */
@media (min-width: 820px) {
	.przepis-uklad.z-zdjeciem { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; align-items: start; }
	.przepis-uklad.z-zdjeciem .zdjecia { margin-bottom: 12px; }
	.przepis-uklad.z-zdjeciem .galeria-pas > img { height: 360px; max-height: none; }
	.przepis-uklad.z-zdjeciem .przepis-prawa {
		margin-top: 18px;
		padding: 2px 20px 16px;
		background: var(--tlo);
		border-radius: var(--r);
	}
	.przepis-uklad.z-zdjeciem .przepis-prawa h3 { margin-top: 14px; }
}
.przepis-podglad h3 { font-size: 16px; font-weight: 800; margin: 18px 0 6px; color: var(--akcent-ciemny); }
.przepis-podglad .tekst { white-space: pre-wrap; font-size: 15.5px; }
.miniatury { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.miniatura { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.okladka-znak { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; font-size: 13px; font-weight: 800; color: var(--akcent-ciemny); }
.okladka-znak .ico { width: 15px; height: 15px; fill: currentColor; }
.miniatura img { display: block; width: 130px; height: 130px; object-fit: cover; border-radius: var(--r-maly); }
.miniatura .btn { padding: 5px 12px; font-size: 13px; }

/* ---------------------------------------------------------- logowanie, strony tekstowe */

.strona-logowania .page { display: flex; align-items: center; justify-content: center; padding-top: 40px; }
.logowanie { width: 100%; max-width: 380px; padding: 32px 30px 26px; }
.logowanie .logo { display: block; text-align: center; margin-bottom: 26px; }
.logowanie .logo img { width: 230px; }
.logowanie .dol { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; font-size: 14px; }

.tekst-strony { max-width: 820px; overflow-wrap: anywhere; }
.tekst-strony.panel { padding: 26px 30px; }
.tekst-strony p, .tekst-strony li { line-height: 1.65; }
.tekst-strony ol, .tekst-strony ul { padding-left: 24px; }
.tekst-strony li.par1, .tekst-strony li.poz1 { list-style: none; font-weight: 800; font-size: 17px; margin: 22px 0 8px; margin-left: -24px; }
.tekst-strony ol.poz3 { list-style-type: lower-latin; }
.kot-obrazek { float: right; width: 190px; margin: 0 0 16px 24px; }

/* ---------------------------------------------------------- telefon */

@media (max-width: 900px) {
	.nav-link span { display: none; }
	.nav-link { padding: 9px; }
}

@media (max-width: 640px) {
	body { font-size: 15.5px; }
	.topbar-in { flex-wrap: wrap; gap: 6px 8px; padding: 8px 12px; }
	.brand img { height: 32px; }
	.nav-right { margin-left: auto; }
	.search + .nav-right { margin-left: auto; }
	.nav { order: 3; width: 100%; justify-content: space-between; gap: 2px; }
	.nav-link { flex: 1; flex-direction: column; gap: 2px; padding: 6px 4px; border-radius: 12px; }
	.nav-link span { display: block; font-size: 11.5px; }
	.search { order: 4; max-width: none; width: 100%; flex-basis: 100%; margin: 0 0 4px; }
	.page { padding: 18px 12px 100px; }
	.page-head h1 { font-size: 25px; }
	.lista-linkow, .siatka-elementow { grid-template-columns: 1fr; }
	.siatka-notatek { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
	.notatka { height: 180px; padding: 14px 14px 0; }
	.siatka-przepisow { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.przepis .tytul { font-size: 14px; padding: 26px 10px 10px; }
	.fab { right: 16px; bottom: 16px; width: 56px; height: 56px; }
	.mfp-content .zoom-anim-dialog.dialog { padding: 22px 18px 18px; margin: 12px auto; border-radius: 16px; }
	.kot-obrazek { display: none; }
	.chips .chip { display: none; }
	.chips .lista-wyboru { display: block; }
	/* obok listy: same ikony, ta sama wysokość co lista */
	.chips .lista-wyboru select { height: 46px; padding-top: 0; padding-bottom: 0; }
	.chips .chip-akcja { width: 46px; height: 46px; padding: 0; justify-content: center; flex: 0 0 auto; border-style: solid; border-color: var(--linia); background: var(--karta); color: var(--akcent-ciemny); }
	.chips .chip-akcja .ico { width: 21px; height: 21px; }
	.chips .chip-akcja .etykieta { display: none; }
	.element, .link-karta { scroll-margin-top: 190px; }
	.szukaj-duze.filtr-linkow { flex-basis: 100%; max-width: none; }
	.pasek-linkow .wybor { flex: 1 1 0; min-width: 0; }
	.pasek-linkow #sortuj-wybor { flex-grow: 1.6; }
	.pasek-linkow .wybor select { width: 100%; }
	#sprawdz-linki { width: 46px; height: 46px; padding: 0; flex: none; }
	#sprawdz-linki .etykieta, .pasek-linkow a.btn .etykieta { display: none; }
	.chips { margin-bottom: 18px; flex-wrap: nowrap; }
	.dane { grid-template-columns: 1fr; gap: 0; }
	.dane dd { margin-bottom: 8px; }
	.powitanie h1 { font-size: 26px; }
}

/* Archiwum notatek */
.pasek-archiwum { margin: 4px 0 10px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pasek-archiwum a { display: inline-flex; align-items: center; gap: 6px; }
.pasek-archiwum svg { width: 1.1em; height: 1.1em; }
.przyciski form.w-przyciskach { display: contents; }

/* Kod w tekście notatki */
.tekst-notatki code.kod { font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; font-size: .92em; padding: 1px 5px; background: rgba(255, 255, 255, .6); border: 1px solid rgba(0, 0, 0, .1); border-radius: 4px; }
.tekst-notatki pre.kod { margin: 8px 0; }

/* Duże okna (notatki, przepisy): na całą wysokość ekranu, przewija się tylko zawartość, strona pod spodem stoi */
.mfp-content .zoom-anim-dialog.dialog-duzy {
	display: flex;
	flex-direction: column;
	height: calc(100vh - 24px);
	height: calc(100dvh - 24px);
	margin: 12px auto;
	overflow: hidden;
}
.dialog-duzy > .dialog-tresc,
.dialog-duzy > .tekst-notatki { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.dialog-duzy > form > .dialog-tresc { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; }
.dialog-duzy > .dialog-tytul { flex: none; }
.dialog-duzy > .przyciski, .dialog-duzy > .tytul-notatki, .dialog-duzy > .danie, .dialog-duzy > h2 { flex: none; }
.dialog-duzy > form { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.dialog-duzy > form > textarea.tresc { flex: 1 1 auto; min-height: 90px; height: auto !important; max-height: none; overflow-y: auto !important; overscroll-behavior: contain; }
.dialog-duzy > form > .przyciski { flex: none; margin-top: 12px; }
.dialog-duzy > .tekst-notatki { margin-bottom: 10px; }

/* Sprzątanie linków (Napraw, Usuń nieaktualne) */
.lista-sprzatania { list-style: none; margin: 0; padding: 0; }
.lista-sprzatania li { border-bottom: 1px solid var(--linia, rgba(0, 0, 0, .08)); }
.lista-sprzatania label { display: flex; gap: 10px; align-items: flex-start; padding: 9px 2px; cursor: pointer; }
.lista-sprzatania input { margin-top: 4px; flex: none; }
.lista-sprzatania .sprz-tekst { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lista-sprzatania .sprz-adres { color: var(--przygaszony); font-size: 13px; overflow-wrap: anywhere; }
.lista-sprzatania .sprz-uwaga { font-size: 13px; color: var(--akcent-ciemny); font-style: normal; }
.opis-sprzatania { color: var(--przygaszony); }

/* Kod QR pojemnika */
.etykieta-qr { display: flex; align-items: center; gap: 22px; padding: 18px; margin-bottom: 14px; background: #fff; border: 2px dashed var(--linia, rgba(0, 0, 0, .2)); border-radius: var(--r); width: fit-content; max-width: 100%; }
.etykieta-kod { width: 160px; height: 160px; flex: none; }
.etykieta-kod svg { width: 100%; height: 100%; display: block; }
.etykieta-opis { display: flex; flex-direction: column; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
.etykieta-opis strong { font-size: 20px; line-height: 1.2; }
.podpowiedz-qr { color: var(--przygaszony); margin: 0 0 10px; }
@media (max-width: 520px) { .etykieta-qr { flex-direction: column; align-items: flex-start; } }

/* Zdjęcia pojemników i przedmiotów */
.dialog-podtytul { margin: 22px 0 8px; font-size: 17px; font-weight: 800; padding-top: 16px; border-top: 1px solid var(--linia, rgba(0, 0, 0, .1)); }

/* Galeria zdjęć (przewijanie palcem, strzałki, pełny ekran) */
.galeria { position: relative; border-radius: var(--r); overflow: hidden; background: rgba(0, 0, 0, .06); outline: none; }
.galeria:focus-visible { box-shadow: 0 0 0 3px rgba(217, 68, 60, .45); }
.galeria-pas { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.galeria-pas::-webkit-scrollbar { display: none; }
.galeria-pas > img { flex: 0 0 100%; width: 100%; min-width: 0; scroll-snap-align: center; scroll-snap-stop: always; display: block; object-fit: cover; max-height: 420px; cursor: zoom-in; user-select: none; -webkit-user-drag: none; }
.galeria-strz { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; padding: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .9); color: #2a2422; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); cursor: pointer; transition: opacity .15s, transform .15s; }
.galeria-strz:hover { transform: translateY(-50%) scale(1.07); }
.galeria-strz:disabled { opacity: 0; pointer-events: none; }
.galeria-wstecz { left: 10px; }
.galeria-dalej { right: 10px; }
.galeria-licznik { position: absolute; right: 12px; bottom: 10px; z-index: 2; padding: 3px 11px; border-radius: 99px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 13px; font-weight: 800; pointer-events: none; }
@media (hover: none) { .galeria-strz { display: none; } }

.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(12, 9, 9, .96); display: flex; flex-direction: column; }
.lightbox[hidden] { display: none; }
.lightbox .galeria-pas { flex: 1; height: 100%; }
.lightbox .galeria-pas > img { max-height: none; height: 100%; object-fit: contain; cursor: default; padding: 0; }
.lightbox .galeria-strz { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: none; width: 48px; height: 48px; }
.lightbox .galeria-licznik { bottom: 16px; right: 50%; transform: translateX(50%); background: rgba(255, 255, 255, .18); }
.lightbox.jedno .galeria-strz, .lightbox.jedno .galeria-licznik { display: none; }
.lb-zamknij { position: absolute; top: 12px; right: 12px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .16); color: #fff; cursor: pointer; }
.lb-zamknij:hover { background: rgba(255, 255, 255, .3); }
html.lb-otwarty { overflow: hidden; }

.miniatura-zdjecie { padding: 0; border: 0; background: none; cursor: zoom-in; display: block; border-radius: var(--r-maly); overflow: hidden; }

.element-gdzie { display: flex; align-items: center; gap: 8px; color: var(--przygaszony); }
.element-gdzie .ico { width: 18px; height: 18px; }
.element .tagi-karty { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 13px; color: var(--przygaszony); }

.foto-znacznik { position: absolute; right: 10px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 99px; background: rgba(0, 0, 0, .12); font-size: 12px; font-weight: 800; }
.foto-znacznik .ico { width: 14px; height: 14px; }
.galeria-notatki { margin-bottom: 14px; }
.dialog.podglad-notatki .miniatura .btn { background: rgba(255, 255, 255, .7); }

.galeria-pojemnika { max-width: 640px; margin: 0 0 20px; }
.galeria-pojemnika .galeria-pas > img { height: 320px; max-height: 60vh; }

/* Wszystko, co się otwiera albo klika, pokazuje łapkę */
.popup-with-zoom-anim, article[href], [href^="#"], button, summary, select, label[for], input[type="checkbox"], input[type="radio"], input[type="file"] { cursor: pointer; }
button:disabled { cursor: default; }

/* Przewijanie nie "przecieka" z okna na stronę pod spodem */
.mfp-wrap, .dialog-duzy .dialog-tresc, .dialog-duzy > .tekst-notatki { overscroll-behavior: contain; }
.lightbox { overscroll-behavior: contain; touch-action: pan-x pinch-zoom; }

/* Wypożyczenia w Archiwum */
.wypozyczone-znaczek { margin-top: 6px; font-size: 13px; font-weight: 700; color: #8a5a00; background: #fff3d6; border-radius: 8px; padding: 3px 8px; width: fit-content; max-width: 100%; overflow-wrap: anywhere; }
.wypozyczenie { margin: 12px 0; padding: 12px; border: 1px solid var(--linia); border-radius: var(--r); }
.wypozyczone-opis { margin: 0 0 8px; }

/* Skaner kodów QR i arkusz etykiet */
.skaner { position: relative; max-width: 520px; margin: 0 auto 14px; border-radius: var(--r); overflow: hidden; background: #000; }
.skaner video { display: block; width: 100%; max-height: 60vh; object-fit: cover; }
.skaner-ramka { position: absolute; inset: 18%; border: 3px solid rgba(255, 255, 255, .85); border-radius: 14px; box-shadow: 0 0 0 999px rgba(0, 0, 0, .35); pointer-events: none; }
.et-lista { display: grid; gap: 4px; max-height: 360px; overflow: auto; padding: 4px; border: 1px solid var(--linia); border-radius: var(--r); }
.et-wiersz { display: flex; align-items: center; gap: 10px; padding: 6px 8px; cursor: pointer; border-radius: 8px; }
.et-wiersz:hover { background: rgba(0, 0, 0, .04); }

/* Przepisy: skala, tryb gotowania, import */
.skala-przepisu { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 10px; font-size: 14px; }
.skala-przepisu .btn { padding: 4px 10px; min-width: 0; }
.skala-przepisu .btn.aktywna { background: var(--akcent); border-color: var(--akcent); color: #fff; }
.skala-przepisu .skala-wlasna { width: 80px; padding: 5px 8px; border: 1px solid var(--linia); border-radius: 8px; font: inherit; }
.import-przepisu { margin-bottom: 14px; padding-bottom: 6px; border-bottom: 1px solid var(--linia); }
.gotowanie { position: fixed; inset: 0; z-index: 100000; overflow: auto; -webkit-overflow-scrolling: touch; background: var(--tlo, #faf7f2); padding: 18px clamp(14px, 4vw, 48px) 60px; line-height: 1.5; font-size: 22px; overscroll-behavior: contain; }
.gotowanie-gora { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; position: sticky; top: -18px; padding: 10px 0; background: var(--tlo, #faf7f2); z-index: 1; }
.gotowanie h2 { margin: 0; font-size: 1.3em; }
.gotowanie h3 { margin: 1.1em 0 .4em; font-size: 1.05em; }
.gotowanie-narzedzia { display: flex; gap: 8px; }
.gotowanie-stan { font-size: 14px; margin: 0; }
.gotowanie-pozycja { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; cursor: pointer; }
.gotowanie-pozycja input { width: 1.2em; height: 1.2em; margin-top: .25em; flex: none; }
.gotowanie-pozycja:has(input:checked) span { text-decoration: line-through; opacity: .5; }
.gotowanie-podtytul { margin-top: .6em; font-weight: 800; }
.gotowanie-krok { padding: 10px 12px; margin: 0 0 10px; background: var(--karta, #fff); border-radius: var(--r); cursor: pointer; white-space: pre-wrap; }
.gotowanie-krok.zrobiony { text-decoration: line-through; opacity: .45; }

/* Tagi ze wszystkich działów */
.chmura-tagow { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 10px; margin-bottom: 26px; }
.chmura-tagow .licznik { font-size: .75em; }

/* ---------------------------------------------------------- ciemny motyw (data-motyw ustawia skrypt w <head>) */
html[data-motyw="ciemny"] {
	color-scheme: dark;
	--akcent-ciemny: #ff8a82;
	--akcent-jasny: #3a2523;
	--tlo: #181514;
	--karta: #242120;
	--tekst: #efe9e5;
	--przygaszony: #a79d98;
	--linia: #3a3432;
	--cien: 0 1px 2px rgba(0, 0, 0, .3), 0 2px 8px rgba(0, 0, 0, .3);
	--cien-hover: 0 4px 10px rgba(0, 0, 0, .4), 0 10px 24px rgba(0, 0, 0, .35);
}
html[data-motyw="ciemny"] .topbar { background: rgba(24, 21, 20, .92); }
html[data-motyw="ciemny"] .search input:focus,
html[data-motyw="ciemny"] .btn,
html[data-motyw="ciemny"] .dialog,
html[data-motyw="ciemny"] input[type="text"], html[data-motyw="ciemny"] input[type="url"], html[data-motyw="ciemny"] input[type="email"],
html[data-motyw="ciemny"] input[type="password"], html[data-motyw="ciemny"] input[type="search"], html[data-motyw="ciemny"] input[type="number"],
html[data-motyw="ciemny"] input[type="date"], html[data-motyw="ciemny"] select, html[data-motyw="ciemny"] textarea { background: var(--karta); color: var(--tekst); }
html[data-motyw="ciemny"] .btn { border-color: var(--linia); }
html[data-motyw="ciemny"] .btn-glowny { background: var(--akcent); border-color: var(--akcent); color: #fff; }
html[data-motyw="ciemny"] .btn:hover { background: #2e2a28; border-color: #5a504d; }
html[data-motyw="ciemny"] .btn-glowny:hover { background: var(--akcent-ciemny); color: #1a1110; }
html[data-motyw="ciemny"] .btn-usun { color: #ff9a92; }
html[data-motyw="ciemny"] .btn-usun:hover { background: #3a2220; border-color: #6a3a36; color: #ffb4ad; }
html[data-motyw="ciemny"] .alert-blad { background: #3a2220; color: #ffb4ad; border-color: #6a3a36; }
html[data-motyw="ciemny"] .alert-ok { background: #1f3326; color: #a6e0b8; border-color: #35583f; }
html[data-motyw="ciemny"] .chip-akcja { border-color: #5a504d; }
html[data-motyw="ciemny"] .popraw-adres:hover { background: #1f3040; }
html[data-motyw="ciemny"] .stan-przeniesiony { color: #6fb7e6; }
html[data-motyw="ciemny"] .wypozyczone-znaczek { background: #4a3a14; color: #ffd98a; }
html[data-motyw="ciemny"] mark { background: #7a6a1f; color: #fff; }
html[data-motyw="ciemny"] .mfp-bg { background: #000; }
html[data-motyw="ciemny"] .przepis { background-color: #2a2624; }
html[data-motyw="ciemny"] .galeria-pas, html[data-motyw="ciemny"] .przepis-podglad .zdjecia { background: #1f1c1b; }
/* okna notatek mają kolory wybrane przez użytkownika: tekst i przyciski zostają jak w jasnym motywie */
html[data-motyw="ciemny"] .dialog.podglad-notatki { --tekst: #2a2422; --przygaszony: #7b706b; --linia: #e8e1dc; }
html[data-motyw="ciemny"] .dialog.podglad-notatki .btn:not(.btn-glowny) { background: rgba(255, 255, 255, .7); color: #2a2422; }
html[data-motyw="ciemny"] .etykieta-qr { background: #fff; color: #2a2422; }
html[data-motyw="ciemny"] .tekst-notatki code.kod { color: inherit; }
html[data-motyw="ciemny"] .mfp-content .zoom-anim-dialog.dialog { background: var(--karta); box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
html[data-motyw="ciemny"] .mfp-content .zoom-anim-dialog.dialog.podglad-notatki { --tekst: #2a2422; --przygaszony: #7b706b; --linia: #e8e1dc; }
