/* Lecznica 24h – wygląd na stronie.
   Zasada kolorów: czerwony / pomarańczowy / zielony wyłącznie w wynikach triażu.
   Wyjątek: przycisk „Zadzwoń teraz” jest czerwony. Status dyżuru = turkus.
   Dwa motywy: dzienny (białe tło, domyślny) i nocny (granat) – klasa l24-night na <html>. */
@font-face { font-family: "L24 Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/inter-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "L24 Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/inter-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "L24 Caveat"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/caveat-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "L24 Caveat"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/caveat-latin-700-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

.l24 {
	/* motyw dzienny */
	--l24-bg: #ffffff;
	--l24-card: #f3f6fa;
	--l24-card-2: #e6edf5;
	--l24-line: #d5dee9;
	--l24-text: #0d1f35;
	--l24-muted: #4b5d73;
	--l24-accent-ink: #0e7490;
	--l24-accent-line: #0891b2;
	--l24-triage-bg: #ffffff;
	--l24-focus: #0a1e3a;
	--l24-error: #b42318;
	--l24-warnc: #b45309;
	--l24-demo-bg: #fff4d6;
	--l24-demo-fg: #7a4b00;
	--l24-ok-bg: #e3f8fc;
	--l24-no-bg: #eef1f5;
	--l24-bar-bg: rgba(255, 255, 255, .97);
	--l24-shadow: 0 1px 2px rgba(13, 31, 53, .06), 0 6px 20px rgba(13, 31, 53, .06);
	--l24-call: #e5383b;
	--l24-go: #2f7df6;
	--l24-teal: #22d3ee;
	--l24-red: #ef4444;
	--l24-orange: #f59e0b;
	--l24-green: #10b981;
	--l24-r: 14px;
	font-family: "L24 Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 16px;
	line-height: 1.45;
	color: var(--l24-text);
	box-sizing: border-box;
}
.l24-night .l24 {
	/* motyw nocny */
	--l24-bg: #0a1e3a;
	--l24-card: #0f2747;
	--l24-card-2: #13305a;
	--l24-line: #24446e;
	--l24-text: #f2f6fa;
	--l24-muted: #b4c3d6;
	--l24-accent-ink: #22d3ee;
	--l24-accent-line: #22d3ee;
	--l24-triage-bg: #0f2747;
	--l24-focus: #ffffff;
	--l24-error: #ffb4b4;
	--l24-warnc: #ffb020;
	--l24-demo-bg: #3a2a05;
	--l24-demo-fg: #ffe6a8;
	--l24-ok-bg: #0d3a4a;
	--l24-no-bg: #2a3550;
	--l24-bar-bg: rgba(10, 30, 58, .97);
	--l24-shadow: none;
}
.l24 *, .l24 *::before, .l24 *::after { box-sizing: inherit; }
.l24 h3, .l24 h4 { font-weight: 700; }
.l24 h3 { font-size: 1.35rem; line-height: 1.25; margin: .4em 0 .5em; color: var(--l24-text); }
.l24 h4 { font-size: 1.05rem; margin: 0 0 .5em; color: var(--l24-text); }
.l24 p { margin: 0 0 .7em; }
.l24 strong, .l24 b { font-weight: 700; }
.l24-muted { color: var(--l24-muted); font-size: .95rem; display: block; }
.l24-ico { width: 1.6em; height: 1.6em; fill: currentColor; flex: 0 0 auto; }

.l24-card, .l24-screen, .l24-triage, .l24-jade, .l24-panel {
	background: var(--l24-bg);
	border: 1px solid var(--l24-line);
	border-radius: var(--l24-r);
	padding: 18px;
}
.l24-triage, .l24-jade { padding: 0; border: 0; background: transparent; }
.l24-screen { position: relative; }

/* --- trzy przyciski --- */
.l24-buttons { display: grid; gap: 12px; }
.l24-big {
	display: flex; align-items: center; gap: 14px;
	padding: 18px 20px; border-radius: var(--l24-r);
	text-decoration: none !important; color: #fff !important; min-height: 76px;
}
.l24-big strong { display: block; font-size: 1.25rem; line-height: 1.2; }
.l24-big small { display: block; font-size: .95rem; opacity: .92; margin-top: 2px; }
.l24-big-call { background: var(--l24-call); }
.l24-big-go { background: var(--l24-go); }
.l24-big-triage { background: var(--l24-triage-bg); border: 2px solid var(--l24-accent-line); color: var(--l24-text) !important; }
.l24-big-triage .l24-ico { color: var(--l24-accent-ink); }
.l24-big:focus-visible, .l24-btn:focus-visible, .l24-tile:focus-visible, .l24-ans:focus-visible, .l24-opt:focus-visible { outline: 3px solid var(--l24-focus); outline-offset: 2px; }
.l24-mode-toggle {
	justify-self: end; display: inline-flex; align-items: center; gap: 6px;
	background: transparent; border: 1px solid var(--l24-line); color: var(--l24-muted);
	border-radius: 999px; padding: 6px 12px; font-size: .9rem; cursor: pointer;
}
.l24-mode-toggle .l24-ico { width: 1.1em; height: 1.1em; }

/* --- status dyżuru --- */
.l24-duty { background: var(--l24-card); }
.l24-duty-doc { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--l24-line); margin-bottom: 12px; }
.l24-duty-doc strong { font-size: 1.1rem; }
.l24-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--l24-card-2); display: inline-block; }
.l24-duty-row { display: flex; gap: 10px; align-items: flex-start; font-size: 1.02rem; }
.l24-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--l24-accent-line); margin-top: .45em; flex: 0 0 auto; }
.l24-duty-expired { color: var(--l24-text); background: color-mix(in srgb, var(--l24-accent-line) 14%, var(--l24-card)); border: 1px solid color-mix(in srgb, var(--l24-accent-line) 35%, var(--l24-line)); padding: 10px 12px; border-radius: 10px; }
.l24-duty-rule { display: flex; gap: 8px; align-items: center; color: var(--l24-text); font-size: 1rem; margin: 6px 0 0; }
.l24-duty-rule .l24-ico { width: 1.2em; height: 1.2em; color: var(--l24-accent-ink); }

/* --- przyciski ogólne --- */
.l24-actions { display: grid; gap: 10px; margin: 12px 0; }
.l24-actions-row { grid-template-columns: 1fr; }
@media (min-width: 560px) { .l24-actions-row { grid-template-columns: 1fr 1fr; } }
.l24-btn {
	display: flex; align-items: center; justify-content: center; gap: 10px; text-align: left;
	padding: 14px 16px; border-radius: 12px; font-size: 1.05rem; font-weight: 600;
	text-decoration: none !important; cursor: pointer; border: 2px solid transparent; color: #fff !important; width: 100%;
}
.l24-btn span { display: block; }
.l24-btn small { display: block; font-weight: 400; font-size: .9rem; opacity: .92; }
.l24-btn-call, .l24-btn-red { background: var(--l24-call); }
.l24-btn-go { background: var(--l24-go); }
.l24-btn-send, .l24-btn-primary { background: var(--l24-teal); color: #062033 !important; }
.l24-btn-primary[disabled], .l24-btn-send[disabled] { opacity: .5; cursor: not-allowed; }
.l24-btn-outline { background: transparent; border-color: currentColor; color: inherit !important; }
.l24-link { background: none; border: 0; color: var(--l24-accent-ink); font-size: 1rem; padding: 8px 0; cursor: pointer; text-decoration: none; font-weight: 600; }

/* --- triaż --- */
.l24-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.l24-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 14px; }
.l24-step i { display: block; height: 4px; border-radius: 4px; background: var(--l24-line); }
.l24-step.is-done i { background: var(--l24-accent-line); }
.l24-step em { display: block; font-style: normal; font-size: .82rem; color: var(--l24-muted); margin-top: 4px; }
.l24-step.is-current em { color: var(--l24-text); font-weight: 600; }
.l24-demo { background: var(--l24-demo-bg); color: var(--l24-demo-fg); border-radius: 8px; padding: 8px 12px; font-size: .92rem; font-weight: 600; }
.l24-chip-line { display: inline-block; background: var(--l24-card-2); border-radius: 999px; padding: 4px 12px; font-size: .92rem; color: var(--l24-muted); }
.l24-species-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.l24-sym-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 12px 0 16px; }
@media (min-width: 560px) { .l24-sym-grid { grid-template-columns: repeat(3, 1fr); } }
.l24-tile {
	background: var(--l24-card); border: 2px solid var(--l24-line); color: var(--l24-text);
	border-radius: 12px; padding: 16px 10px; font-size: 1.02rem; font-weight: 600; cursor: pointer; min-height: 64px; width: 100%;
}
.l24-tile.is-on { border-color: var(--l24-accent-line); background: var(--l24-card-2); box-shadow: inset 0 0 0 1px var(--l24-accent-line); }
.l24-tile.is-on::after { content: " ✓"; color: var(--l24-accent-ink); }
.l24-answers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.l24-ans { grid-column: span 1; background: var(--l24-card); border: 2px solid var(--l24-line); color: var(--l24-text); font-size: 1.15rem; font-weight: 700; border-radius: 12px; padding: 16px; cursor: pointer; }
.l24-ans:hover { border-color: var(--l24-accent-line); }
.l24-ans-unknown { grid-column: span 2; font-weight: 500; font-size: 1rem; }
.l24-sticky { position: sticky; bottom: 0; padding-top: 10px; background: linear-gradient(transparent, var(--l24-bg) 30%); margin-top: 8px; }

.l24-result { border-radius: var(--l24-r); padding: 18px; margin-bottom: 14px; color: #10202e; }
.l24-result h3 { color: inherit; font-size: 1.6rem; }
.l24-result-red { background: #fde4e4; border: 3px solid var(--l24-red); }
.l24-result-red h3 { color: #b91c1c; }
.l24-result-orange { background: #fdeccc; border: 3px solid var(--l24-orange); }
.l24-result-orange h3 { color: #92400e; }
.l24-result-green { background: #dcf5ea; border: 3px solid var(--l24-green); }
.l24-result-green h3 { color: #065f46; }
.l24-result .l24-btn-outline { color: #10202e !important; }
.l24-strong { font-weight: 700; }
.l24-note { background: rgba(255,255,255,.6); border-radius: 8px; padding: 8px 10px; }
.l24-checks, .l24-dots, .l24-steps { margin: 0 0 12px; padding-left: 0; list-style: none; }
.l24-checks li { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 6px; }
.l24-checks .l24-ico { color: #059669; width: 1.3em; height: 1.3em; }
.l24-dots li { position: relative; padding-left: 18px; margin-bottom: 4px; }
.l24-dots li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: #10202e; }
.l24-steps { counter-reset: s; }
.l24-steps li { counter-increment: s; position: relative; padding-left: 34px; margin-bottom: 8px; }
.l24-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--l24-card-2); color: var(--l24-text); font-size: .85rem; display: flex; align-items: center; justify-content: center; }
.l24-disclaimer { display: flex; gap: 8px; align-items: flex-start; color: var(--l24-muted); font-size: .95rem; }
.l24-disclaimer .l24-ico { width: 1.2em; height: 1.2em; }
.l24-notice { background: color-mix(in srgb, var(--l24-accent-line) 12%, var(--l24-card)); border: 1px solid color-mix(in srgb, var(--l24-accent-line) 35%, var(--l24-line)); padding: 14px; border-radius: 12px; }
.l24-fallback h3 { margin-top: 0; }
.l24-debug { white-space: pre-wrap; font-size: 12px; background: #000; color: #9fe; padding: 8px; border-radius: 6px; }

/* --- formularz Jadę do was --- */
.l24-form { display: grid; gap: 6px; }
.l24-label { font-weight: 600; margin-top: 10px; font-size: 1rem; }
.l24-input { font-family: inherit; width: 100%; padding: 12px 14px; font-size: 1.05rem; border-radius: 10px; border: 2px solid var(--l24-line); background: var(--l24-card); color: var(--l24-text); }
.l24-input:focus { border-color: var(--l24-accent-line); outline: none; }
.l24-choice { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.l24-opt { padding: 12px; border-radius: 10px; border: 2px solid var(--l24-line); background: var(--l24-card); color: var(--l24-text); font-size: 1.02rem; font-weight: 600; cursor: pointer; }
.l24-opt.is-on { border-color: var(--l24-accent-line); background: var(--l24-teal); color: #062033; }
.l24-error { color: var(--l24-error); font-weight: 600; min-height: 1em; }
.l24-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.l24-req-state { border-radius: var(--l24-r); padding: 18px; border: 2px solid var(--l24-line); background: var(--l24-card); }
.l24-req-state h3 { margin-top: 0; }
.l24-req-ok { border-color: var(--l24-accent-line); background: var(--l24-ok-bg); }
.l24-req-no { border-color: var(--l24-line); background: var(--l24-no-bg); }

/* --- lekarze, dojazd, opłaty --- */
.l24-doctors { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.l24-doctor { display: flex; gap: 12px; align-items: center; background: var(--l24-card); }
.l24-doctor .l24-avatar { width: 64px; height: 64px; }
.l24-dir-addr { display: flex; gap: 10px; align-items: flex-start; font-size: 1.05rem; }
.l24-dir-addr .l24-ico { color: var(--l24-accent-ink); }
.l24-fees ul { margin: 0; padding-left: 1.1em; }
.l24-fees li { margin-bottom: 6px; }

/* --- dolny pasek na telefonie --- */
.l24-bar { display: none; }
@media (max-width: 782px) {
	.l24-bar {
		display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
		padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: var(--l24-bar-bg);
		border-top: 1px solid var(--l24-line);
	}
	.l24-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 10px; color: #fff !important; text-decoration: none !important; font-weight: 700; font-size: 1.02rem; }
	.l24-bar-call { background: var(--l24-call); }
	.l24-bar-go { background: var(--l24-go); }
	body { padding-bottom: 76px; }
}

/* --- panel dyżuru --- */
.l24-staff fieldset { border: 1px solid var(--l24-line); border-radius: 10px; padding: 10px 14px; margin: 0 0 12px; }
.l24-staff legend { font-weight: 700; padding: 0 6px; }
.l24-radio { display: block; padding: 8px 0; font-size: 1.05rem; }
.l24-btn-confirm { width: 100%; padding: 14px !important; font-size: 1.05rem !important; }
.l24-req { border: 1px solid var(--l24-line); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; background: var(--l24-card); }
.l24-req-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 6px; }
.l24-req-time { color: var(--l24-muted); font-size: .92rem; }
.l24-lvl-red { background: color-mix(in srgb, var(--l24-red) 12%, var(--l24-card)); border-color: color-mix(in srgb, var(--l24-red) 40%, var(--l24-line)); }
.l24-lvl-orange { background: color-mix(in srgb, var(--l24-orange) 13%, var(--l24-card)); border-color: color-mix(in srgb, var(--l24-orange) 40%, var(--l24-line)); }
.l24-lvl-green { background: color-mix(in srgb, var(--l24-green) 12%, var(--l24-card)); border-color: color-mix(in srgb, var(--l24-green) 40%, var(--l24-line)); }
.l24-pill { border-radius: 999px; padding: 2px 10px; font-size: .85rem; font-weight: 700; color: #10202e; }
.l24-pill-red { background: #fca5a5; }
.l24-pill-orange { background: #fcd34d; }
.l24-pill-green { background: #6ee7b7; }
.l24-req-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.l24-btn-ok, .l24-btn-no { flex: 1 1 160px; padding: 14px; border-radius: 10px; border: 0; font-size: 1.05rem; font-weight: 700; cursor: pointer; }
.l24 .l24-btn-ok { background: var(--l24-teal) !important; color: #062033 !important; }
.l24 .l24-btn-no { background: #e2e8f0 !important; color: #10202e !important; }
.l24 .l24-btn-confirm { background: var(--l24-teal) !important; color: #062033 !important; border: 0 !important; border-radius: 10px; font-weight: 700; cursor: pointer; }
.l24-btn-small { border: 1px solid var(--l24-line); background: transparent; color: inherit; border-radius: 8px; padding: 6px 10px; cursor: pointer; }
.l24-btn-small.is-on { background: var(--l24-teal); color: #062033; }
.l24-warn { color: var(--l24-warnc); }
.l24-empty { color: var(--l24-muted); }

/* --- tryb nocny --- */
.l24-night .l24-ukryj-noca { display: none !important; }

/* --- moduły 0.2: zdjęcia, SMS kontrolny --- */
.l24-file { display: none; }
.l24-btn-photo { justify-content: flex-start; font-weight: 600; }
.l24-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.l24-thumb { position: relative; width: 84px; height: 84px; border-radius: 10px; overflow: hidden; border: 2px solid var(--l24-line); }
.l24-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.l24-thumb-x { position: absolute; top: 2px; right: 2px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(0,0,0,.7); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.l24-followup { margin-bottom: 14px; display: grid; gap: 8px; }
.l24-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--l24-muted); }
.l24-consent input { width: 22px; height: 22px; flex: 0 0 auto; margin-top: 2px; }
.l24-photos { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 10px; }
.l24-photos img { width: 96px; height: 96px; object-fit: cover; border-radius: 8px; border: 1px solid var(--l24-line); }
.l24-duty-team { display: grid; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--l24-line); margin-bottom: 12px; }
.l24-duty-doc-sm { padding: 0; border: 0; margin: 0; }
.l24-duty-doc-sm .l24-avatar { width: 40px; height: 40px; }

/* --- wybór gatunku: kafle ze zdjęciem --- */
.l24-species-grid { gap: 14px; margin-bottom: 14px; }
.l24 .l24-species {
	display: flex; flex-direction: column; width: 100%; padding: 0; margin: 0; overflow: hidden; cursor: pointer; text-align: left;
	background: var(--l24-card); border: 1px solid var(--l24-line); border-radius: 16px; color: var(--l24-text);
	box-shadow: var(--l24-shadow); font: inherit; transition: border-color .15s, transform .15s, box-shadow .15s;
}
.l24 .l24-species:hover, .l24 .l24-species:focus { background: var(--l24-card); color: var(--l24-text); border-color: var(--l24-accent-line); }
.l24 .l24-species:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(13, 31, 53, .14); }
.l24 .l24-species:focus-visible { outline: 3px solid var(--l24-focus); outline-offset: 2px; }
.l24-species-img { display: block; width: 100%; aspect-ratio: 4 / 3; background: var(--l24-card-2) center / cover no-repeat; transition: transform .4s ease; }
.l24-species.has-img:hover .l24-species-img { transform: scale(1.04); }
.l24-species-img.is-art { display: flex; align-items: center; justify-content: center; color: var(--l24-accent-ink);
	background: radial-gradient(120% 100% at 50% 0%, var(--l24-ok-bg), var(--l24-card-2)); }
.l24-species-img.is-art svg { width: 44%; max-width: 120px; height: auto; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.l24-species-name { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px;
	padding: 14px 18px; font-size: 1.3rem; font-weight: 700; background: var(--l24-card); }
.l24-species-go { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%;
	background: var(--l24-card-2); color: var(--l24-accent-ink); font-size: 1.4rem; line-height: 1; padding-bottom: 3px; transition: background .15s, color .15s; }
.l24-species:hover .l24-species-go { background: var(--l24-accent-line); color: #fff; }
@media (max-width: 420px) {
	.l24-species-name { padding: 10px 12px; font-size: 1.1rem; }
	.l24-species-go { width: 28px; height: 28px; font-size: 1.2rem; }
}

/* --- przyciski pomocnicze: Wróć, Przerwij, Zacznij od nowa --- */
.l24 .l24-ghost, .l24 .l24-ghost:hover, .l24 .l24-ghost:focus, .l24 .l24-ghost:active {
	display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; margin: 0; min-height: 36px;
	background: transparent; border: 1px solid var(--l24-line); border-radius: 999px; color: var(--l24-muted);
	font-family: inherit; font-size: .92rem; font-weight: 600; line-height: 1.2; text-decoration: none; text-transform: none; letter-spacing: normal;
	cursor: pointer; box-shadow: none; white-space: nowrap; transition: background .15s, color .15s, border-color .15s;
}
.l24 .l24-ghost:hover { background: var(--l24-card); color: var(--l24-text); border-color: var(--l24-muted); }
.l24 .l24-ghost:focus-visible { outline: 3px solid var(--l24-focus); outline-offset: 2px; }
.l24 .l24-ghost span { font-size: 1.2em; line-height: 1; margin-top: -2px; }
.l24 .l24-ghost svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.l24-fallback .l24-ghost { margin-top: 6px; }
.l24-top { margin-bottom: 14px; min-height: 36px; }

/* --- osłona przed stylami motywu (np. Hello Elementor: różowe obramowania przycisków, podkreślone linki) --- */
.l24 a, .l24 a:hover, .l24 a:focus, .l24 a:active, .l24 a:visited { text-decoration: none; }
.l24 button { font-family: inherit; text-transform: none; letter-spacing: normal; white-space: normal; line-height: 1.25; text-decoration: none; }
.l24 .l24-link, .l24 .l24-link:hover, .l24 .l24-link:focus { background: none; border: 0; color: var(--l24-accent-ink); padding: 8px 0; text-decoration: none; box-shadow: none; }
.l24 .l24-tile, .l24 .l24-tile:hover, .l24 .l24-tile:focus { background: var(--l24-card); border: 2px solid var(--l24-line); color: var(--l24-text); border-radius: 12px; padding: 16px 10px; font-size: 1.02rem; font-weight: 600; }
.l24 .l24-tile:hover { border-color: var(--l24-accent-line); }
.l24 .l24-tile.is-on, .l24 .l24-tile.is-on:hover, .l24 .l24-tile.is-on:focus { border-color: var(--l24-accent-line); background: var(--l24-card-2); box-shadow: inset 0 0 0 1px var(--l24-accent-line); }
.l24 .l24-ans, .l24 .l24-ans:hover, .l24 .l24-ans:focus { background: var(--l24-card); border: 2px solid var(--l24-line); color: var(--l24-text); border-radius: 12px; padding: 16px; font-size: 1.15rem; font-weight: 700; }
.l24 .l24-ans:hover { border-color: var(--l24-accent-line); }
.l24 .l24-ans-unknown, .l24 .l24-ans-unknown:hover, .l24 .l24-ans-unknown:focus { font-weight: 500; font-size: 1rem; }
.l24 .l24-opt, .l24 .l24-opt:hover, .l24 .l24-opt:focus { background: var(--l24-card); border: 2px solid var(--l24-line); color: var(--l24-text); border-radius: 10px; padding: 12px; font-size: 1.02rem; font-weight: 600; }
.l24 .l24-opt:hover { border-color: var(--l24-accent-line); }
.l24 .l24-opt.is-on, .l24 .l24-opt.is-on:hover, .l24 .l24-opt.is-on:focus { border-color: var(--l24-accent-line); background: var(--l24-teal); color: #062033; }
.l24 .l24-btn { border-style: solid; border-width: 2px; border-radius: 12px; font-size: 1.05rem; }
.l24 .l24-btn-call, .l24 .l24-btn-call:hover, .l24 .l24-btn-call:focus, .l24 .l24-btn-red, .l24 .l24-btn-red:hover { background: var(--l24-call); border-color: transparent; }
.l24 .l24-btn-go, .l24 .l24-btn-go:hover, .l24 .l24-btn-go:focus { background: var(--l24-go); border-color: transparent; }
.l24 .l24-btn-send, .l24 .l24-btn-send:hover, .l24 .l24-btn-send:focus, .l24 .l24-btn-primary, .l24 .l24-btn-primary:hover, .l24 .l24-btn-primary:focus { background: var(--l24-teal); border-color: transparent; }
.l24 .l24-btn-outline, .l24 .l24-btn-outline:hover, .l24 .l24-btn-outline:focus { background: transparent; border-color: currentColor; }
.l24 .l24-btn:hover { filter: brightness(1.06); }
@media (min-width: 700px) { .l24-species-img { aspect-ratio: 16 / 10; } }

/* --- kafle objawów z ikonami --- */
.l24 .l24-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; }
.l24-sym-grid.has-icons .l24-tile { min-height: 118px; padding: 16px 10px 14px; }
.l24-sym-icon { display: block; width: 44px; height: 44px; object-fit: contain; flex: 0 0 auto; }
.l24-sym-icon.is-mono { background: var(--l24-text); -webkit-mask: var(--l24-icon) center / contain no-repeat; mask: var(--l24-icon) center / contain no-repeat; }
.l24-night .l24 .l24-sym-icon.is-mono { background: var(--l24-accent-ink); }
.l24 .l24-tile.is-on .l24-sym-icon.is-mono { background: var(--l24-accent-ink); }
.l24-sym-icon.is-empty { visibility: hidden; }
.l24-tile-label { display: block; line-height: 1.25; }
.l24 .l24-tile.is-on::after { content: none; }
.l24 .l24-tile { position: relative; }
.l24 .l24-tile.is-on::before {
	content: "✓"; position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 50%;
	background: var(--l24-accent-line); color: #fff; font-size: .8rem; font-weight: 700; line-height: 22px; text-align: center;
}
.l24-night .l24 .l24-tile.is-on::before { color: #062033; }
@media (max-width: 420px) {
	.l24-sym-grid.has-icons .l24-tile { min-height: 104px; font-size: .95rem; }
	.l24-sym-icon { width: 36px; height: 36px; }
}

/* --- pierwsza pomoc w drodze --- */
.l24-aid-ico { display: inline-block; width: 28px; height: 28px; flex: 0 0 auto; background: var(--l24-accent-ink);
	-webkit-mask: var(--l24-icon) center / contain no-repeat; mask: var(--l24-icon) center / contain no-repeat; }
.l24-aid-ico-big { width: 40px; height: 40px; }
.l24-aid-index, .l24-aid-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 0 0 22px; }
.l24-aid-links { margin: 8px 0 0; grid-template-columns: 1fr; }
@media (min-width: 560px) { .l24-aid-links { grid-template-columns: 1fr 1fr; } }
.l24 .l24-aid-tile, .l24 .l24-aid-tile:visited {
	display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px;
	background: var(--l24-card); border: 1px solid var(--l24-line); color: var(--l24-text) !important;
	font-weight: 600; line-height: 1.25; text-decoration: none !important; transition: border-color .15s, background .15s;
}
.l24 .l24-aid-tile:hover { border-color: var(--l24-accent-line); background: var(--l24-card-2); }
.l24-aid-box h4 { margin-bottom: 4px; }
.l24-aid-list { display: grid; gap: 18px; }
.l24-aid-card {
	background: var(--l24-card); border: 1px solid var(--l24-line); border-radius: 18px; padding: 22px;
	scroll-margin-top: 90px; box-shadow: var(--l24-shadow);
}
.l24-aid-card:target { border-color: var(--l24-accent-line); box-shadow: 0 0 0 3px color-mix(in srgb, var(--l24-accent-line) 30%, transparent); }
.l24-aid-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.l24-aid-head .l24-aid-ico-big { margin-top: 2px; }
.l24 .l24-aid-head h2 { margin: 0; font-size: 1.4rem; line-height: 1.2; color: var(--l24-text); }
.l24-aid-lead { margin: 4px 0 0 !important; color: var(--l24-muted); }
.l24-aid-steps li { font-size: 1.08rem; line-height: 1.4; margin-bottom: 12px; padding-left: 40px; }
.l24-aid-steps li::before { width: 28px !important; height: 28px !important; top: -1px !important; background: var(--l24-accent-line) !important; color: #fff !important; font-weight: 700; }
.l24-night .l24 .l24-aid-steps li::before { color: #062033 !important; }
.l24-aid-warn { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px;
	background: color-mix(in srgb, var(--l24-orange) 14%, var(--l24-card)); border: 1px solid color-mix(in srgb, var(--l24-orange) 40%, var(--l24-line)); font-weight: 600; }
.l24-aid-warn .l24-ico { width: 1.3em; height: 1.3em; flex: 0 0 auto; color: var(--l24-warnc); }
.l24-aid-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.l24-aid-actions .l24-btn { padding: 12px; }
.l24 .l24-aid-top { display: inline-block; margin-top: 12px; font-size: .92rem; color: var(--l24-muted) !important; }
@media (max-width: 560px) {
	.l24-aid-index { grid-template-columns: 1fr 1fr; }
	.l24 .l24-aid-tile { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; font-size: .95rem; }
	.l24-aid-links .l24-aid-tile { flex-direction: row; align-items: center; }
	.l24-aid-card { padding: 18px 16px; }
}

/* --- rezerwacja wizyty --- */
.l24-bk-info { display: grid; gap: 10px; padding: 14px; border-radius: 14px; margin-bottom: 16px;
	background: color-mix(in srgb, var(--l24-call) 8%, var(--l24-card)); border: 1px solid color-mix(in srgb, var(--l24-call) 28%, var(--l24-line)); }
.l24-bk-info p { margin: 0; font-weight: 600; }
@media (min-width: 640px) { .l24-bk-info { grid-template-columns: 1fr auto; align-items: center; } .l24-bk-info .l24-btn { width: auto; } }
.l24-bk-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-bottom: 16px; }
.l24-bk-types .l24-tile { min-height: 84px; }
.l24-bk-min { color: var(--l24-muted); font-weight: 500; font-size: .85rem; }
.l24-bk-next { margin-top: 16px; }
.l24-bk-docs { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.l24 .l24-bk-doc, .l24 .l24-bk-doc:hover, .l24 .l24-bk-doc:focus {
	display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px; text-align: left; cursor: pointer;
	background: var(--l24-card); border: 2px solid var(--l24-line); border-radius: 14px; color: var(--l24-text); font: inherit;
}
.l24 .l24-bk-doc:hover { border-color: var(--l24-accent-line); }
.l24-bk-doc strong { display: block; font-size: 1.02rem; }
.l24-bk-doc small { display: block; color: var(--l24-muted); font-size: .88rem; margin-top: 2px; }
.l24-bk-ava { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; display: grid; place-items: center;
	background: var(--l24-card-2); color: var(--l24-accent-ink); font-weight: 800; font-size: 1.3rem; }
.l24-bk-ava.is-any { background: var(--l24-accent-line); color: #fff; }
.l24-bk-days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.l24 .l24-bk-day, .l24 .l24-bk-day:hover, .l24 .l24-bk-day:focus {
	flex: 0 0 74px; display: grid; justify-items: center; gap: 1px; padding: 10px 4px; scroll-snap-align: start; cursor: pointer;
	background: var(--l24-card); border: 2px solid var(--l24-line); border-radius: 14px; color: var(--l24-text); font: inherit; line-height: 1.15;
}
.l24-bk-day strong { font-size: 1.4rem; }
.l24-bk-day small { font-size: .78rem; color: var(--l24-muted); }
.l24-bk-day em { font-style: normal; font-size: .7rem; color: var(--l24-accent-ink); font-weight: 700; margin-top: 3px; }
.l24 .l24-bk-day.is-on, .l24 .l24-bk-day.is-on:hover { background: var(--l24-accent-line); border-color: var(--l24-accent-line); color: #fff; }
.l24-bk-day.is-on small, .l24-bk-day.is-on em { color: inherit; }
.l24-night .l24 .l24-bk-day.is-on { color: #062033; }
.l24-bk-daylabel { font-weight: 700; margin: 8px 0; }
.l24-bk-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.l24 .l24-bk-slot, .l24 .l24-bk-slot:hover, .l24 .l24-bk-slot:focus {
	padding: 12px 6px; border-radius: 12px; cursor: pointer; font: inherit; font-weight: 700; font-size: 1.02rem;
	background: var(--l24-card); border: 2px solid var(--l24-line); color: var(--l24-text);
}
.l24 .l24-bk-slot:hover { border-color: var(--l24-accent-line); background: var(--l24-card-2); }
.l24-bk-summary { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; margin-bottom: 12px;
	background: color-mix(in srgb, var(--l24-accent-line) 12%, var(--l24-card)); border: 1px solid color-mix(in srgb, var(--l24-accent-line) 35%, var(--l24-line)); }
.l24-bk-summary span { color: var(--l24-muted); }
.l24-bk-when { font-size: 1.15rem; font-weight: 700; }
.l24-bk .l24-ghost { margin: 12px 8px 0 0; }
.l24-bk-small { font-size: .9rem; margin-top: 10px; }
.l24 .l24-btn-visit, .l24 .l24-btn-visit:hover, .l24 .l24-btn-visit:focus { background: var(--l24-accent-line); border-color: transparent; color: #fff !important; }
.l24-night .l24 .l24-btn-visit, .l24-night .l24 .l24-btn-visit:hover { color: #062033 !important; }
span.l24 > .l24-btn-visit { display: inline-flex; width: auto; }
