/* Strážcovia moratória – verejná aplikácia */
:root {
	--ink: #0a0a0a;
	--ink-2: #222;
	--paper: #f1c227;
	--paper-2: #f1c227;
	--card: #fff8dc;
	--line: #111;
	--muted: #4a4a4a;
	--accent: #e3181e;
	--accent-d: #bf1218;
	--amber: #c98400;
	--red: #c8102e;
	--green: #2a7f62;
	--r: 0px;
	--display: "Anton", Impact, "Arial Narrow", sans-serif;
	--body: "Archivo Narrow", "Arial Narrow", system-ui, -apple-system, "Segoe UI", sans-serif;
	--mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
	--safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0; background: var(--paper); color: var(--ink);
	font: 16px/1.55 var(--body);
	-webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; letter-spacing: .2px; margin: 0; }
.wrap { width: 100%; max-width: 720px; margin: 0 auto; padding: 0 16px; }
.mono { font-family: var(--mono); }
[hidden] { display: none !important; }

/* ---------- Mapa + feed ---------- */
.board { display: grid; gap: 18px; padding-top: 18px; padding-bottom: 28px; }
.board-map { position: relative; }
.chips {
	position: absolute; z-index: 500; top: 12px; left: 12px; right: 12px;
	display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; pointer-events: none;
}
.chips::-webkit-scrollbar { display: none; }
.chips button {
	pointer-events: auto; flex: none; display: inline-flex; align-items: center; gap: 6px;
	padding: 7px 12px; border-radius: 999px; border: 0; background: var(--card); color: var(--ink);
	font-size: .85rem; font-weight: 600; box-shadow: 0 2px 10px rgba(20, 33, 61, .16);
}
.chips button i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.chips button.is-on { background: var(--ink); color: var(--paper); }
.map {
	height: 62vh; min-height: 380px; max-height: 720px; border-radius: var(--r);
	background: var(--paper-2); border: 1px solid var(--line); overflow: hidden; position: relative;
}
.map .leaflet-tile-pane { filter: saturate(.5) sepia(.18) contrast(.96) brightness(1.02); }
.map-note { margin: 8px 2px 0; font-size: .82rem; color: var(--muted); }

/* Špendlíky */
.pin { width: 34px; height: 34px; }
.pin-in {
	width: 34px; height: 34px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg);
	background: var(--c); border: 2.5px solid #fff; box-shadow: 0 3px 8px rgba(20, 33, 61, .35);
	display: grid; place-items: center;
}
.pin-in svg { width: 17px; height: 17px; color: #fff; transform: rotate(45deg); stroke-width: 2.2; }
.pin.is-active .pin-in { box-shadow: 0 0 0 5px rgba(20, 33, 61, .18), 0 3px 8px rgba(20, 33, 61, .35); }

.leaflet-popup-content-wrapper { border-radius: 12px; background: var(--card); color: var(--ink); box-shadow: 0 10px 30px rgba(20, 33, 61, .25); }
.leaflet-popup-tip { background: var(--card); }
.leaflet-popup-content { margin: 14px 16px; font: 14px/1.45 var(--body); min-width: 200px; }
.leaflet-container { font-family: var(--body); background: var(--paper-2); }
.leaflet-control-zoom a { color: var(--ink) !important; }
.pop-code { font-family: var(--mono); font-size: .8rem; color: var(--muted); }
.pop-title { font-family: var(--display); font-weight: 700; font-size: 1.05rem; margin: 2px 0 8px; }
.pop p { margin: 8px 0 0; }

/* Výber miesta na mape */
.pick-pin { display: none; position: absolute; z-index: 600; left: 50%; top: 50%; pointer-events: none; }
.pick-pin span {
	position: absolute; left: -20px; top: -46px; width: 40px; height: 40px;
	border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: var(--accent);
	border: 3px solid #fff; box-shadow: 0 6px 14px rgba(20, 33, 61, .35);
	animation: drop .35s ease-out;
}
.pick-pin::after { content: ""; position: absolute; left: -6px; top: -3px; width: 12px; height: 6px; border-radius: 50%; background: rgba(20, 33, 61, .35); }
@keyframes drop { from { transform: translateY(-14px) rotate(-45deg); opacity: 0; } }
.board-map.is-picking .pick-pin { display: block; }
.board-map.is-picking .leaflet-marker-pane { opacity: .25; }
.board-map.is-picking .chips { display: none; }
.board-map.is-picking .map { box-shadow: 0 0 0 3px var(--accent); height: calc(100dvh - 92px); max-height: none; }
.board-map.is-picking .leaflet-control-zoom { display: none; }
.board-map.is-picking .map-note { display: none; }
.pick-ui {
	position: absolute; z-index: 700; left: 10px; right: 10px; bottom: 26px;
	background: var(--card); border-radius: var(--r); padding: 12px; box-shadow: 0 10px 30px rgba(20, 33, 61, .28);
}
.pick-hint { margin: 0 0 10px; font-weight: 600; font-size: .9rem; line-height: 1.35; }
.pick-actions { display: flex; gap: 6px; }
.pick-actions .btn { padding: 10px 12px; font-size: .9rem; }
.pick-actions .btn-accent { margin-left: auto; }

/* Feed */
.feed-head { display: flex; align-items: baseline; justify-content: space-between; margin: 4px 0 12px; }
.feed-head h2 { font-size: 1.6rem; font-weight: 800; }
.feed-count { color: var(--muted); font-size: .9rem; }
.feed { display: grid; gap: 10px; }
.feed-empty { padding: 26px 18px; text-align: center; color: var(--muted); border: 1.5px dashed var(--line); border-radius: var(--r); }
.ticket {
	position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 12px;
	padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
	text-align: left; width: 100%; transition: transform .15s, box-shadow .15s;
}
.ticket.is-clickable { cursor: pointer; }
.ticket.is-clickable:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(20, 33, 61, .1); }
.ticket::before {
	content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--c);
}
.t-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--paper); color: var(--ink); }
.t-ico svg { width: 24px; height: 24px; }
.t-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.t-code { font-family: var(--mono); font-size: .78rem; color: var(--muted); }
.t-title { font-weight: 600; margin: 1px 0 2px; }
.t-meta { font-size: .84rem; color: var(--muted); }
.t-finding { margin: 10px 0 0; padding: 10px 12px; background: var(--paper); border-radius: 10px; font-size: .92rem; }
.t-finding::before { content: "Zistenie: "; font-weight: 600; }
.t-subject { margin-top: 6px; font-size: .9rem; }
.t-link { display: inline-block; margin-top: 8px; font-weight: 600; font-size: .9rem; color: var(--accent-d); }
.t-photos { display: flex; gap: 6px; margin-top: 10px; }
.t-photos img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }

/* Pečiatka stavu */
.stamp {
	--c: var(--muted);
	display: inline-block; flex: none; padding: 2px 8px 1px; border: 2px solid var(--c); border-radius: 5px;
	color: var(--c); font: 800 .68rem/1.4 var(--display); letter-spacing: .1em; text-transform: uppercase;
	transform: rotate(-3deg); background: color-mix(in srgb, var(--c) 7%, transparent); white-space: nowrap;
}
.stamp-sm { font-size: .62rem; padding: 0 6px; transform: rotate(-2deg); vertical-align: 1px; font-style: normal; }

/* ---------- Tlačidlá ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 11px 16px; border-radius: 12px; border: 0; font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-d); }
.btn-accent:disabled { background: #d9cfbd; color: #8b8371; cursor: not-allowed; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ghost { background: var(--paper); color: var(--ink); }
.btn-block { width: 100%; padding: 15px; font-size: 1.02rem; }

/* ---------- Formulár (sheet) ---------- */
.sheet {
	padding: 0; border: 0; background: transparent; color: var(--ink);
	width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; overflow: hidden;
}
.sheet::backdrop { background: rgba(20, 33, 61, .55); backdrop-filter: blur(2px); }
.sheet[open] { display: flex; align-items: flex-end; }
.sheet-in {
	position: relative; width: 100%; max-height: 92dvh; display: flex; flex-direction: column;
	background: var(--card); border-radius: 22px 22px 0 0; animation: up .28s cubic-bezier(.2, .8, .2, 1);
}
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.sheet-grip { width: 42px; height: 5px; border-radius: 3px; background: var(--line); margin: 8px auto 0; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 18px 6px; }
.sheet-head h2 { font-size: 1.5rem; font-weight: 800; }
.x { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--paper); display: grid; place-items: center; }
.x svg { width: 18px; height: 18px; }
.sheet-body { overflow-y: auto; padding: 6px 18px 18px; overscroll-behavior: contain; }
.sheet-foot { padding: 12px 18px calc(14px + var(--safe-b)); border-top: 1px solid var(--line); background: var(--card); }

.field { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.field legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 12px; font-family: var(--display); font-weight: 700; font-size: 1.12rem; }
.num { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-size: .85rem; }

.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.type { position: relative; cursor: pointer; }
.type input { position: absolute; opacity: 0; inset: 0; }
.type-ico, .type-txt { pointer-events: none; }
.type {
	display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
	padding: 14px 8px 12px; border-radius: 14px; background: var(--paper); border: 2px solid transparent;
	transition: border-color .15s, background .15s;
}
.type-ico svg { width: 30px; height: 30px; }
.type-txt { font-size: .8rem; font-weight: 600; line-height: 1.25; }
.type:has(input:checked) { border-color: var(--ink); background: #fff; box-shadow: 0 4px 14px rgba(20, 33, 61, .12); }
.type:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }

.where {
	display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px; text-align: left;
	border: 2px dashed var(--line); border-radius: 14px; background: var(--paper);
}
.where.is-set { border-style: solid; border-color: var(--green); background: color-mix(in srgb, var(--green) 7%, var(--card)); }
.where-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent); color: #fff; display: grid; place-items: center; flex: none; }
.where.is-set .where-ico { background: var(--green); }
.where-ico svg { width: 24px; height: 24px; }
.where-txt b { display: block; }
.where-txt small { color: var(--muted); }

.lbl { display: block; font-weight: 600; font-size: .9rem; margin: 14px 0 6px; }
.lbl small { font-weight: 400; color: var(--muted); margin-left: 4px; }
.inp {
	width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff;
	font: inherit; font-size: 16px; color: var(--ink); appearance: none;
}
.inp:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20, 33, 61, .12); }
textarea.inp { resize: vertical; min-height: 84px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.two .lbl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tip { margin: 8px 0 0; font-size: .85rem; color: var(--muted); }

.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: inline-block; padding: 8px 13px; border-radius: 999px; background: var(--paper); font-weight: 600; font-size: .88rem; border: 1.5px solid transparent; }
.seg input:checked + span { background: var(--ink); color: var(--paper); }
.seg input:focus-visible + span { outline: 3px solid var(--accent); }

.drop { position: relative; display: block; border: 2px dashed var(--line); border-radius: 14px; padding: 16px; background: var(--paper); cursor: pointer; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop-in { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; pointer-events: none; }
.drop-in svg { width: 30px; height: 30px; grid-row: span 2; color: var(--accent); }
.drop-in small { color: var(--muted); }
.thumbs { display: flex; gap: 6px; flex-wrap: wrap; pointer-events: none; }
.thumbs:not(:empty) { margin-top: 12px; }
.thumbs img { width: 58px; height: 58px; object-fit: cover; border-radius: 8px; }

.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: .86rem; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg:empty { display: none; }
.msg { padding: 12px 14px; border-radius: 12px; background: #fdecea; color: #8f1d14; font-weight: 500; font-size: .92rem; }

.done { text-align: center; padding: 28px 24px calc(28px + var(--safe-b)); }
.done-seal {
	width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%; background: var(--green); color: #fff;
	display: grid; place-items: center; box-shadow: 0 0 0 8px color-mix(in srgb, var(--green) 18%, transparent);
	animation: pop .4s cubic-bezier(.2, 1.4, .4, 1);
}
.done-seal svg { width: 44px; height: 44px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.done h3 { font-size: 1.7rem; font-weight: 800; }
.done p { color: var(--muted); max-width: 34ch; margin: 10px auto 20px; }
.sheet.is-done .sheet-body, .sheet.is-done .sheet-foot { display: none; }

.toast {
	position: fixed; z-index: 2000; left: 50%; bottom: calc(90px + var(--safe-b)); transform: translate(-50%, 20px);
	background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 12px; font-size: .9rem;
	opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100% - 32px);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Väčšie obrazovky ---------- */
@media (min-width: 720px) {
	.hero { padding-top: 48px; }
	.about-grid { grid-template-columns: 1.2fr 1fr; gap: 48px; }
	.sheet[open] { align-items: center; justify-content: center; }
	.sheet-in { max-width: 600px; border-radius: 22px; max-height: 88vh; }
	.sheet-grip { display: none; }
	.sheet-head { padding-top: 18px; }
	.pick-ui { left: 50%; right: auto; transform: translateX(-50%); width: 460px; }
}
@media (min-width: 1000px) {
	.board { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; }
	.map { height: 640px; max-height: none; }
	.board-feed { max-height: 668px; display: flex; flex-direction: column; }
	.feed { overflow-y: auto; padding-right: 4px; }
	.fab { left: auto; right: 28px; transform: none; }
	.fab:active { transform: scale(.97); }
}
@media (max-width: 380px) {
	.types { grid-template-columns: repeat(2, 1fr); }
	.two { grid-template-columns: 1fr; }
	.clock { font-size: .72rem; padding: 5px 9px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

.feed-more { padding: 12px 16px; border: 1.5px solid var(--line); border-radius: var(--r); background: transparent; color: inherit; font: inherit; font-weight: 700; cursor: pointer; }
.feed-more:hover { border-color: currentColor; }

.ticket.is-selected { border-color: var(--c); box-shadow: 0 8px 24px rgba(20, 33, 61, .18); }
.t-close { margin-left: auto; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(20, 33, 61, .08); color: inherit; font-size: 1.2rem; line-height: 1; cursor: pointer; }
.t-close:hover { background: rgba(20, 33, 61, .18); }
.ticket.is-selected .t-photos { flex-direction: column; }
.ticket.is-selected .t-photos img { width: 100%; height: auto; max-height: 340px; object-fit: cover; }
.pin.is-active { z-index: 1000 !important; }
.pin.is-active .pin-in { transform: scale(1.25); box-shadow: 0 0 0 4px rgba(255, 255, 255, .9), 0 6px 16px rgba(20, 33, 61, .4); }
.pin-in { transition: transform .15s; }

/* Výrazné zvýraznenie vybraného hlásenia + odznaku */
.feed.has-sel .ticket:not(.is-selected) { opacity: .55; }
.feed.has-sel .ticket:not(.is-selected):hover { opacity: 1; }
.ticket.is-selected { border: 3px solid var(--c); background: color-mix(in srgb, var(--c) 9%, var(--card)); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 22%, transparent), 0 12px 30px rgba(20, 33, 61, .22); }
.t-sel { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 -4px 6px; padding: 3px 12px; width: fit-content; border-radius: 999px 999px 0 0; background: var(--c, #14213d); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.t-sel::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.pin.is-active .pin-in { transform: scale(1.4); box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--c), 0 8px 20px rgba(20, 33, 61, .45); animation: pin-pulse 1.4s ease-out infinite; }
@keyframes pin-pulse { 0% { box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--c), 0 0 0 7px var(--c); } 100% { box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--c), 0 0 0 26px transparent; } }

/* Dátum a čas v hlásení */
.when { display: flex; gap: 6px; margin-bottom: 8px; flex-wrap: wrap; }
.when-q { padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; }
.when-q.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.inp-dt { display: block; min-height: 50px; appearance: auto; -webkit-appearance: none; text-align: left; line-height: 1.4; }
.inp-dt::-webkit-date-and-time-value { text-align: left; min-height: 1.4em; margin: 0; }
.inp-dt::-webkit-datetime-edit { padding: 0; }

/* Obnovenie údajov */
.live { display: flex; align-items: center; gap: 14px; margin: 18px 0 0; padding: 12px 14px 12px 18px; background: var(--card); border: 2px solid var(--ink); border-radius: var(--r); box-shadow: 0 6px 18px rgba(20, 33, 61, .1); }
.live-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: #1f9d63; box-shadow: 0 0 0 0 rgba(31, 157, 99, .5); animation: live-pulse 2s infinite; }
.live.is-err .live-dot { background: #d92d20; animation: none; }
.live-txt { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.25; }
.live-lbl { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.live-time { font-family: var(--display); font-size: clamp(1.15rem, 4.6vw, 1.6rem); font-weight: 800; font-variant-numeric: tabular-nums; }
.live.is-err .live-time { color: #b42318; }
.live-btn { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border: 0; border-radius: 12px; background: var(--ink); color: var(--paper); font: inherit; font-weight: 700; cursor: pointer; }
.live-btn svg { width: 20px; height: 20px; }
.live-btn:active { transform: scale(.97); }
.live.is-busy .live-btn svg { animation: live-spin .8s linear infinite; }
.live.is-busy .live-btn { opacity: .7; }
@keyframes live-spin { to { transform: rotate(360deg); } }
@keyframes live-pulse { 70% { box-shadow: 0 0 0 10px rgba(31, 157, 99, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 157, 99, 0); } }
@media (max-width: 420px) { .live { padding-left: 14px; gap: 10px; } .live-btn { padding: 0 14px; } .live-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .live-btn { width: 46px; justify-content: center; } }


/* ================= Nový vzhľad (žlto-čierny) ================= */
.red { color: var(--accent); }
.bar { padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 12px; background: #fff; text-align: center; border-bottom: 1px solid #ddd; }
.bar-title { font: 800 .78rem/1 var(--body); letter-spacing: .32em; text-transform: uppercase; }
.subbar { display: flex; justify-content: center; gap: 8px; padding: 8px 16px; background: var(--ink); color: #fff; }
.subbar:not(:has(> :not([hidden]))) { display: none; }
.clock { display: flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.clock i { width: 8px; height: 8px; border-radius: 50%; background: #888; }
.clock.is-live i { background: var(--accent); animation: pulse 1.8s infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 10px rgba(227, 24, 30, 0); } }
.install { border: 1px solid #fff; background: transparent; color: #fff; padding: 4px 12px; font-size: .8rem; font-weight: 700; }
.bar { position: sticky; top: 0; z-index: 1000; }

body > section p, body > main p { font-weight: 700; }
.hero { padding: 22px 0 18px; }
.hero-q { font-size: 1.12rem; font-weight: 800; margin: 0; }
.hero-q span { border-bottom: 4px solid var(--ink); padding-bottom: 1px; }
.hero-red { margin: 12px 0 0; color: var(--accent); font-size: 1.4rem; font-weight: 800; }
.hero h1 { margin: 4px 0 0; font-size: 2.5rem; line-height: 1.05; text-transform: uppercase; }
.hero-sub { margin: 10px 0 0; color: var(--accent); font-size: 1.06rem; font-weight: 800; }

.law { background: #000; color: #fff; }
.law p { margin: 0; padding-top: 16px; font-size: .88rem; }
.law-link { display: block; text-align: right; color: #9a9a9a; font-size: .66rem; text-decoration: none; padding: 6px 0 12px; }
.law .wrap { padding-bottom: 12px; }

.help { background: var(--paper); padding: 22px 0 22px; text-align: left; }
.help h2 { font-size: 1.9rem; line-height: 1.1; }
.dates { display: flex; justify-content: flex-start; align-items: center; gap: 14px; margin-top: 18px; }
.dates > div { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.dates b { color: var(--accent); text-transform: uppercase; font: 400 1.4rem/1.1 var(--display); }
.dates span { font-weight: 800; font-size: .9rem; }
.dates small { font-size: .7rem; font-weight: 700; }
.dates i { font: 400 1.75rem/1 var(--display); color: var(--accent); letter-spacing: -2px; }

.todo { padding-top: 22px; }
.todo h3 { color: var(--accent); font: 800 1.2rem/1.2 var(--body); margin: 0 0 8px; letter-spacing: 0; }
.todo p { margin: 0 0 18px; line-height: 1.4; font-size: .95rem; }

.stats { display: flex; margin-top: 4px; }
.stats > div { flex: 1; display: flex; align-items: center; gap: 8px; background: #fff; border: 3px solid var(--ink); margin-left: -3px; padding: 4px 8px; min-height: 54px; }
.stats > div:first-child { margin-left: 0; }
.stats b { font: 400 2.9rem/1 var(--display); font-variant-numeric: tabular-nums; }
.stats span { font-size: .76rem; font-weight: 800; line-height: 1.1; }
.stats .st-amber span { color: #f39223; }
.stats .st-red span { color: var(--accent); }

.live { margin: 16px 0 0; border: 3px solid var(--ink); border-radius: 0; box-shadow: none; background: #fff; }
.live-btn { border-radius: 0; }

.board { display: block !important; padding-top: 18px; padding-bottom: 6px; }
.board-map { border: 3px solid var(--ink); background: #fff; }
.map { height: 420px !important; min-height: 0; max-height: none; border: 0; border-radius: 0; z-index: 0; }
.map .leaflet-tile-pane { filter: none; }
.chips { top: 10px; left: 10px; right: 10px; }
.chips button { box-shadow: 0 1px 4px rgba(0, 0, 0, .35); font-size: .78rem; font-weight: 700; padding: 7px 12px; }
.report-btn {
	position: absolute; z-index: 700; left: 50%; top: 58px; transform: translateX(-50%);
	padding: 14px 26px; border: 0; border-radius: 999px; background: var(--accent); color: #fff;
	font: 400 1.25rem/1 var(--display); letter-spacing: .5px; text-transform: uppercase; white-space: nowrap;
	box-shadow: 0 3px 10px rgba(0, 0, 0, .4);
}
.report-btn:hover { background: var(--accent-d); }
.board-map.is-picking .report-btn { display: none; }
.board-map.is-picking .map { height: 56dvh !important; min-height: 300px; }
.board-map.is-picking .pick-ui { position: static; transform: none; width: auto; margin: 0; border: 0; border-top: 3px solid var(--ink); box-shadow: none; background: var(--paper); padding: 12px; }
.map-note { margin: 6px 0 0; padding: 0 2px; font-size: .76rem; font-weight: 600; color: var(--ink); }
.board-map { margin-bottom: 0; }
.board-map + .board-feed { margin-top: 0; }
.board-feed { max-height: none !important; display: block !important; padding-top: 22px; padding-bottom: 26px; }
.feed { overflow: visible !important; }
.feed-head h2 { font-size: 1.7rem; }
.feed-empty { border: 3px solid var(--ink); background: transparent; color: var(--ink); font-weight: 600; }
.ticket { background: var(--paper); border: 3px solid var(--ink); border-radius: 0; box-shadow: none; }
.ticket::before { display: none; }
.t-ico { background: #fff; border-radius: 0; }
.t-finding { background: #fff; border: 2px solid var(--ink); border-radius: 0; }
.t-photos img { border-radius: 0; border: 2px solid var(--ink); }
.t-link { color: var(--accent); }
.feed-more { border: 3px solid var(--ink); border-radius: 0; font-weight: 800; }
.stamp { border-radius: 0; }

.about { padding-top: 6px; padding-bottom: calc(28px + var(--safe-b)); }
.about-login { margin: 0 0 14px; font-size: .75rem; }
.about h2 { font-size: 1.9rem; margin-bottom: 10px; }
.about p { margin: 0 0 12px; font-size: .95rem; }
.about p.about-login { font-size: .75rem; }
.about a { color: var(--ink); }
.about-note { margin-top: 18px !important; }
.about-back { font-size: .8rem !important; }

/* Tlačidlá, formulár */
.btn, .x, .where, .where-ico, .inp, .drop, .type, .seg span, .when-q, .msg, .t-close { border-radius: 0; }
.btn-accent { font-family: var(--display); font-weight: 400; letter-spacing: .5px; text-transform: uppercase; font-size: 1.05rem; }
.btn-accent:disabled { background: #d8c47a; color: #7a6c30; }
.sheet::backdrop { background: rgba(0, 0, 0, .65); backdrop-filter: none; }
.sheet-in { background: var(--paper); border: 3px solid var(--ink); border-radius: 0; }
.sheet-foot { background: var(--paper); border-top: 3px solid var(--ink); }
.sheet-head h2 { text-transform: uppercase; font-size: 1.7rem; }
.type { background: #fff; border: 2px solid var(--ink); }
.type:has(input:checked) { background: var(--ink); color: #fff; box-shadow: none; }
.where { background: #fff; border: 2px dashed var(--ink); }
.inp { border: 2px solid var(--ink); background: #fff; }
.drop { background: #fff; border: 2px dashed var(--ink); }
.seg span { background: #fff; border: 2px solid var(--ink); }
.when-q { border: 2px solid var(--ink); }
.thumbs img { border-radius: 0; }
.live-time { font-size: 1.25rem; }
.toast { border-radius: 0; background: var(--ink); color: #fff; }

@media (min-width: 720px) {
	.hero h1 { font-size: 3.4rem; }
	.help h2 { font-size: 2.4rem; }
	.map { height: 480px !important; }
	.sheet-in { border-radius: 0; }
}
@media (max-width: 400px) {
	.hero h1 { font-size: 2.2rem; }
	.stats b { font-size: 2.4rem; }
	.stats > div { padding: 4px 6px; gap: 6px; }
}

/* Bez horného bieleho pásu */
.subbar { position: sticky; top: 0; z-index: 1000; }

/* ================= Desktop – väčšie a čitateľné ================= */
@media (min-width: 900px) {
	body { font-size: 18px; }
	.wrap { max-width: 1000px; padding: 0 24px; }
	.hero { padding: 56px 0 44px; }
	.hero-q { font-size: 1.7rem; }
	.hero-q span { border-bottom-width: 6px; }
	.hero-red { font-size: 2.4rem; margin-top: 22px; }
	.hero h1 { font-size: 6rem; line-height: 1; margin-top: 8px; }
	.hero-sub { font-size: 1.8rem; margin-top: 20px; max-width: 30em; }
	.law p { font-size: 1.3rem; padding-top: 32px; max-width: 46em; }
	.law-link { font-size: .9rem; padding: 10px 0 22px; }
	.help { padding: 56px 0 60px; }
	.help h2 { font-size: 3.8rem; line-height: 1.08; }
	.dates { gap: 36px; margin-top: 36px; }
	.dates b { font-size: 3rem; }
	.dates span { font-size: 1.6rem; }
	.dates small { font-size: 1.1rem; }
	.dates i { font-size: 3.6rem; }
	.todo { padding-top: 48px; }
	.todo h3 { font-size: 2rem; margin-bottom: 12px; }
	.todo p { font-size: 1.3rem; margin-bottom: 32px; max-width: 46em; }
	.stats > div { min-height: 96px; padding: 8px 20px; gap: 16px; }
	.stats b { font-size: 5.4rem; }
	.stats span { font-size: 1.2rem; }
	.live { padding: 16px 22px; }
	.live-lbl { font-size: .85rem; }
	.live-time { font-size: 1.8rem; }
	.live-btn { min-height: 56px; font-size: 1.1rem; }
	.board { padding-top: 32px; }
	.map { height: 620px !important; }
	.chips { top: 16px; left: 16px; }
	.chips button { font-size: 1.05rem; padding: 10px 18px; }
	.report-btn { top: 78px; font-size: 1.9rem; padding: 20px 44px; }
	.map-note { font-size: 1.05rem; margin-top: 12px; }
	.board-feed { padding-top: 44px; padding-bottom: 44px; }
	.feed-head h2 { font-size: 3rem; }
	.feed-count { font-size: 1.1rem; }
	.ticket { padding: 20px; grid-template-columns: 56px 1fr; gap: 16px; font-size: 1.05rem; }
	.t-ico { width: 56px; height: 56px; }
	.t-ico svg { width: 30px; height: 30px; }
	.t-title { font-size: 1.25rem; }
	.t-meta, .t-code { font-size: 1rem; }
	.stamp { font-size: .85rem; }
	.feed-empty { font-size: 1.2rem; padding: 36px; }
	.about { padding-bottom: 64px; }
	.about-login { font-size: .95rem; }
	.about h2 { font-size: 3rem; margin-bottom: 18px; }
	.about p { font-size: 1.25rem; max-width: 46em; margin-bottom: 18px; }
	.about p.about-login { font-size: .95rem; }
}
@media (min-width: 1300px) {
	.wrap { max-width: 1120px; }
	.hero h1 { font-size: 7rem; }
}

@media (min-width: 720px) { .board-map.is-picking .pick-ui { width: auto; transform: none; } .board-map.is-picking .map { height: 520px !important; } }

/* ================= Podľa podkladu: biele sekcie, užšie písmo ================= */
body { letter-spacing: -.1px; }
.todo { background: #fff; padding: 20px 0 8px; }
.todo h3 { color: var(--accent); font: 700 1.3rem/1.2 var(--body); letter-spacing: -.2px; margin: 0 0 6px; }
.todo p { margin: 0 0 16px; font-size: 1.02rem; font-weight: 700; line-height: 1.4; }
.statsec { padding-top: 18px; padding-bottom: 0; }
.stats { gap: 8px; margin-top: 0; }
.stats > div { margin-left: 0 !important; }
.stats .st-amber span { color: #f2a51d; }
.help h2 { text-align: left; }
.dates { justify-content: space-between; max-width: 320px; }
.dates > div { align-items: center; }
.about { background: #fff; padding: 22px 0 10px; }
.about h2 { color: var(--accent); font-size: 2.1rem; }
.about p { font-size: 1.02rem; }
.about-foot { padding: 10px 0 34px; min-height: 120px; }
.about-foot p { margin: 0; font-size: .98rem; font-weight: 800; }
.about-foot a { color: var(--ink); }

@media (min-width: 900px) {
	.todo { padding: 44px 0 20px; }
	.todo h3 { font-size: 2.2rem; }
	.todo p { font-size: 1.4rem; margin-bottom: 28px; }
	.statsec { padding-top: 36px; }
	.stats { gap: 14px; }
	.dates { max-width: 620px; }
	.about { padding: 48px 0 24px; }
	.about h2 { font-size: 3.2rem; }
	.about p { font-size: 1.35rem; }
	.about-foot { padding: 20px 0 80px; }
	.about-foot p { font-size: 1.3rem; }
}

/* ================= Čitateľné hlásenia ================= */
.feed-head h2 { font-weight: 400; }
.feed-count { color: var(--ink); font-weight: 700; font-size: 1rem; }
.ticket { color: var(--ink); }
.t-code { font: 700 .95rem/1.2 var(--body); color: var(--ink); letter-spacing: .5px; }
.t-title { font: 800 1.2rem/1.2 var(--body); margin: 3px 0 4px; }
.t-meta { font-size: 1rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.t-finding { font-size: 1rem; font-weight: 600; color: var(--ink); }
.t-subject { font-size: 1rem; font-weight: 600; }
.t-link { font-size: 1rem; font-weight: 800; color: var(--accent-d); }
.stamp {
	display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px 4px;
	background: var(--ink); color: #fff; border: 0; transform: none;
	font: 800 .85rem/1.1 var(--body); letter-spacing: .04em; text-transform: uppercase;
}
.stamp::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px #fff; flex: none; }
.stamp-sm { font-size: .8rem; }
.feed-more, .feed-empty { grid-column: 1 / -1; }
.feed-more { background: #fff; color: var(--ink); font-size: 1.05rem; padding: 14px 16px; }

@media (min-width: 900px) {
	.feed-head h2 { font-size: 3rem; }
	.feed:not(.has-sel) { grid-template-columns: 1fr 1fr; gap: 16px; }
	.ticket { grid-template-columns: 64px 1fr; padding: 22px; gap: 18px; }
	.t-ico { width: 64px; height: 64px; }
	.t-ico svg { width: 34px; height: 34px; }
	.t-code { font-size: 1.1rem; }
	.t-title { font-size: 1.55rem; }
	.t-meta, .t-finding, .t-subject, .t-link { font-size: 1.2rem; }
	.stamp { font-size: 1rem; padding: 6px 12px 5px; }
	.stamp::before { width: 13px; height: 13px; }
	.feed-count { font-size: 1.3rem; }
	.feed-more { font-size: 1.25rem; padding: 18px; }
}
@media (max-width: 480px) {
	.t-top { flex-wrap: wrap; }
}

/* Podnadpisy v bielej sekcii ako ostatné nadpisy (Anton) */
.todo h3 { font: 400 1.55rem/1.15 var(--display); letter-spacing: .2px; margin: 0 0 8px; }

/* Termíny – rovnaké zarovnanie oboch stĺpcov */
.dates { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; column-gap: 12px; max-width: 340px; }
.dates > div { align-items: center; text-align: center; }
.dates > i { align-self: start; padding-top: .35em; }
@media (min-width: 900px) {
	.todo h3 { font-size: 2.8rem; margin-bottom: 14px; }
	.dates { max-width: 760px; column-gap: 40px; }
	.dates > i { padding-top: .3em; }
}

/* Odkaz na zákon – vidieť, že je klikateľný */
.law-link { display: block; width: fit-content; margin-left: auto; color: #d0d0d0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: .8rem; line-height: 1.25; font-weight: 700; }
.law-link::after { content: " ↗"; }
.law-link:hover, .law-link:focus-visible { color: var(--paper); text-decoration-thickness: 2px; }
@media (min-width: 900px) { .law-link { font-size: 1.05rem; } }

/* Ochrana údajov */
.about-privacy { margin: 10px 0 0 !important; font-size: .85rem !important; }
.about-privacy a { color: var(--ink); text-decoration: underline; }
.consent a { color: var(--ink); font-weight: 700; }
body.privacy-page { background: #fff; }
.privacy { padding-top: 24px; padding-bottom: 60px; }
.privacy h2 { margin-bottom: 18px; }
.privacy p strong { display: inline-block; margin-top: 12px; font: 400 1.35rem/1.2 var(--display); color: var(--accent); }
@media (min-width: 900px) { .about-privacy { font-size: 1.05rem !important; } .privacy p strong { font-size: 1.8rem; } }
