/* Agendo – administrácia obce. Dizajn Agenda (nie ID-SK): Schibsted Grotesk, zelená značka, ikony Tabler. */
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url("fonts/schibsted-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url("fonts/schibsted-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0f1b2d;
  --ink-2: #3d4a5c;
  --ink-3: #5f6b7a;
  --paper: #ffffff;
  --mist: #f2f5f1;
  --mist-2: #e6ece5;
  --line: #d8e0d8;
  --brand: #0a6e4f;
  --brand-deep: #07563d;
  --brand-soft: #dff0e7;
  --sun: #f5c542;
  --sun-soft: #fdf3d1;
  --sun-ink: #6b4e00;
  --blue-soft: #e3ecf8;
  --blue-ink: #1f4c8a;
  --red: #b42318;
  --red-soft: #fde7e4;
  --night: #0b1624;
  --font: "Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif;
  --r: 12px;
  --side: 16rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--mist); color: var(--ink); font: 400 0.9375rem/1.55 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; text-wrap: balance; }
p { margin: 0 0 0.75em; }
a { color: var(--brand); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }
button { font: inherit; color: inherit; }
img, svg { display: block; }
.i { width: 1.15rem; height: 1.15rem; flex: none; stroke-width: 1.8; }
[hidden] { display: none !important; }
.adm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.adm-muted { color: var(--ink-3); }
.adm-skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; padding: 0.6rem 1rem; border-radius: 8px; background: var(--sun); color: var(--night); font-weight: 650; }
.adm-skip:focus { top: 0.5rem; }
.adm-nowrap { white-space: nowrap; }

/* Lišta ukážky */
.adm-demo { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem 1rem; padding: 0.35rem 1rem; background: var(--night); color: #c9d3dd; font-size: 0.8125rem; }
.adm-demo__role { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.35rem; }
.adm-demo button { padding: 0.05rem 0.6rem; border: 0; border-radius: 999px; background: #233244; color: #fff; font-weight: 600; cursor: pointer; }
.adm-demo button[aria-pressed="true"] { background: var(--sun); color: var(--night); }

/* Horná lišta */
.adm-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 1rem; height: 3.75rem; padding: 0 1.25rem; background: var(--paper); box-shadow: 0 1px 0 var(--line); }
.adm-top__brand { display: flex; align-items: center; gap: 0.6rem; width: calc(var(--side) - 1.25rem); color: var(--ink); text-decoration: none; }
.adm-top__brand span { display: flex; flex-direction: column; line-height: 1.1; }
.adm-top__brand b { font-size: 1.05rem; }
.adm-top__brand small { color: var(--brand); font-weight: 650; font-size: 0.75rem; letter-spacing: 0.02em; }
.adm-top__menu { display: none; padding: 0.4rem; border: 0; border-radius: 8px; background: none; cursor: pointer; }
.adm-search { position: relative; flex: 1; max-width: 30rem; }
.adm-search .i { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
.adm-search input { width: 100%; height: 2.4rem; padding: 0 0.9rem 0 2.4rem; border: 1px solid var(--line); border-radius: 999px; background: var(--mist); font: inherit; color: var(--ink); }
.adm-search input:focus { outline: 3px solid var(--sun); outline-offset: 0; background: #fff; }
.adm-top__right { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.adm-top__link { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.2rem; border: 0; background: none; color: var(--ink-2); font-weight: 550; text-decoration: none; cursor: pointer; }
.adm-top__link:hover { color: var(--brand); }
.adm-user { display: flex; align-items: center; gap: 0.6rem; }
.adm-user__avatar { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: 0.8rem; }
.adm-user__text { display: flex; flex-direction: column; line-height: 1.2; }
.adm-user__text small { color: var(--ink-3); font-size: 0.75rem; }

/* Rozloženie */
.adm-shell { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: calc(100vh - 5.5rem); }
.adm-nav { position: sticky; top: 3.75rem; align-self: start; display: flex; flex-direction: column; height: calc(100vh - 3.75rem); overflow-y: auto; padding: 1rem 0.75rem; background: #fbfcfb; box-shadow: 1px 0 0 var(--line); }
.adm-nav ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.15rem; }
.adm-nav ul a { display: flex; align-items: center; gap: 0.65rem; padding: 0.5rem 0.75rem; border-radius: 9px; color: var(--ink-2); font-weight: 550; text-decoration: none; }
.adm-nav ul a:hover { background: var(--mist); color: var(--ink); }
.adm-nav ul a .i { color: var(--ink-3); }
.adm-nav ul a.is-on { background: var(--brand-soft); color: var(--brand-deep); }
.adm-nav ul a.is-on .i { color: var(--brand); }
.adm-nav b { margin-left: auto; min-width: 1.45rem; padding: 0 0.4rem; border-radius: 999px; background: var(--brand); color: #fff; font-size: 0.75rem; text-align: center; line-height: 1.45rem; }
.adm-nav__group { margin: 1.1rem 0.75rem 0.35rem; color: var(--ink-3); font-size: 0.75rem; font-weight: 650; }
.adm-nav ul:has(> li) { margin-bottom: 0; }
.adm-nav__foot { margin: auto 0.75rem 0; padding-top: 1.25rem; color: var(--ink-3); font-size: 0.75rem; line-height: 1.5; }
.adm-main { min-width: 0; padding: 1.75rem 2rem 3rem; }
.adm-main:focus { outline: none; }
.adm-page { min-width: 0; }

/* Rola a brána */
html[data-rola="brana"] .adm-page, html[data-rola="brana"] .adm-nav, html[data-rola="brana"] .adm-top__right, html[data-rola="brana"] .adm-search { display: none; }
html[data-rola="brana"] .adm-shell { grid-template-columns: 1fr; }
html:not([data-rola="brana"]) .adm-gate { display: none; }
.adm-denied { display: none; }
.adm-readonly { display: flex; align-items: center; gap: 0.6rem; margin: -0.5rem 0 1.25rem; padding: 0.7rem 1rem; border-radius: var(--r); background: var(--blue-soft); color: var(--blue-ink); }
.adm-gate, .adm-denied { max-width: 34rem; margin: 3rem auto; padding: 2.5rem; border-radius: var(--r); background: var(--paper); text-align: center; }
.adm-gate img { margin: 0 auto 1rem; }
.adm-gate h1, .adm-denied h1 { margin-bottom: 0.75rem; font-size: 1.6rem; }
.adm-denied > .i { width: 2.5rem; height: 2.5rem; margin: 0 auto 1rem; color: var(--ink-3); }
.adm-linkbtn { padding: 0; border: 0; background: none; color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }

/* Hlavička stránky */
.adm-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.5rem; }
.adm-head h1 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.adm-head__kicker { margin: 0 0 0.3rem; color: var(--ink-3); font-weight: 550; }
.adm-head__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* Tlačidlá */
.adm-btn { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.5rem; padding: 0.5rem 1rem; border: 0; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 650; text-decoration: none; cursor: pointer; }
.adm-btn:hover { background: var(--brand-deep); color: #fff; text-decoration: none; }
.adm-btn--ghost { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.adm-btn--ghost:hover { background: var(--mist); color: var(--ink); }
.adm-btn--small { min-height: 2rem; padding: 0.3rem 0.8rem; font-size: 0.875rem; }
.adm-btn[disabled] { opacity: 0.55; cursor: default; }

/* Plochy */
.adm-panel { margin-bottom: 1.25rem; padding: 1.25rem 1.4rem; border-radius: var(--r); background: var(--paper); }
.adm-panel__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1rem; margin-bottom: 0.9rem; }
.adm-panel h2 { font-size: 1.1rem; }
.adm-panel__head a { font-weight: 600; font-size: 0.875rem; }
.adm-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; align-items: start; }
@media (min-width: 72em) { .adm-grid--main { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
.adm-grid > .adm-panel, .adm-stack > .adm-panel { margin-bottom: 0; }
.adm-grid { margin-bottom: 1.25rem; }
.adm-stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }

/* Čísla */
.adm-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 1.25rem; border-radius: var(--r); background: var(--paper); }
.adm-stat { padding: 1.1rem 1.4rem; }
.adm-stat + .adm-stat { box-shadow: -1px 0 0 var(--mist-2); }
.adm-stat dd { margin: 0; font-size: 1.85rem; font-weight: 750; letter-spacing: -0.03em; line-height: 1.15; }
.adm-stat dt { color: var(--ink-2); font-weight: 600; }
.adm-stat small { display: block; color: var(--ink-3); font-size: 0.8125rem; }
.adm-stat--warn dd { color: var(--red); }
.adm-stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; }

/* Tabuľky */
.adm-table-wrap { position: relative; overflow-x: auto; margin: 0 -1.4rem; padding: 0 1.4rem; }
.adm-table { width: 100%; border-collapse: collapse; }
.adm-table th { padding: 0.55rem 0.75rem; color: var(--ink-3); font-size: 0.8125rem; font-weight: 600; text-align: left; white-space: nowrap; box-shadow: inset 0 -1px 0 var(--line); }
.adm-table td { padding: 0.7rem 0.75rem; vertical-align: top; box-shadow: inset 0 -1px 0 var(--mist-2); }
.adm-table th:first-child, .adm-table td:first-child { padding-left: 0; }
.adm-table tbody tr:hover td { background: #fafbfa; }
.adm-table__title { font-weight: 600; color: var(--ink); }
.adm-table__title a { color: inherit; text-decoration: none; }
.adm-table__title a:hover { color: var(--brand); text-decoration: underline; }
.adm-table__sub { display: block; color: var(--ink-3); font-size: 0.8125rem; }
.adm-late { color: var(--red); font-weight: 650; }

/* Stavy */
.adm-pill { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.1rem 0.6rem; border-radius: 999px; font-size: 0.8125rem; font-weight: 650; white-space: nowrap; }
.adm-pill--sun { background: var(--sun-soft); color: var(--sun-ink); }
.adm-pill--blue { background: var(--blue-soft); color: var(--blue-ink); }
.adm-pill--grey { background: var(--mist-2); color: var(--ink-2); }
.adm-pill--green { background: var(--brand-soft); color: var(--brand-deep); }
.adm-pill--red { background: var(--red-soft); color: var(--red); }

/* Filtre */
.adm-filters { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.adm-filters button { padding: 0.35rem 0.85rem; border: 0; border-radius: 999px; background: var(--mist); color: var(--ink-2); font-weight: 600; cursor: pointer; }
.adm-filters button:hover { background: var(--mist-2); }
.adm-filters button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.adm-filters span { margin-left: 0.3rem; opacity: 0.7; font-weight: 500; }

/* Zoznamy */
.adm-list { margin: 0; padding: 0; list-style: none; }
.adm-list > li { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1rem; padding: 0.8rem 0; box-shadow: inset 0 -1px 0 var(--mist-2); }
.adm-list > li:last-child { box-shadow: none; }
.adm-list__main { flex: 1 1 14rem; min-width: 0; }
.adm-list__title { display: block; font-weight: 600; }
.adm-list__sub { display: block; color: var(--ink-3); font-size: 0.8125rem; }
.adm-log { margin: 0; padding: 0; list-style: none; }
.adm-log li { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); gap: 0.2rem 0.6rem; padding: 0.55rem 0; }
.adm-log time { color: var(--ink-3); font-weight: 600; }
.adm-log small { grid-column: 2; color: var(--ink-3); }
.adm-log__new { animation: adm-in 0.6s ease-out; }
@keyframes adm-in { from { background: var(--sun-soft); } to { background: transparent; } }

/* Graf agend */
.adm-bars { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.55rem; }
.adm-bars li { display: grid; grid-template-columns: 11rem minmax(0, 1fr) 2.5rem; align-items: center; gap: 0.75rem; }
.adm-bars__bar { height: 0.6rem; border-radius: 999px; background: var(--mist); overflow: hidden; }
.adm-bars__bar i { display: block; height: 100%; border-radius: inherit; background: var(--brand); }
.adm-bars b { text-align: right; }

/* Detail podania */
.adm-dl { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 0; margin: 0; }
.adm-dl dt, .adm-dl dd { margin: 0; padding: 0.6rem 0; box-shadow: inset 0 -1px 0 var(--mist-2); }
.adm-dl dt { color: var(--ink-3); font-weight: 600; padding-right: 1rem; }
.adm-photo { width: 100%; max-width: 26rem; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: 10px; margin-top: 1rem; }
.adm-map { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; color: var(--ink-2); font-size: 0.875rem; }

/* Formulárové prvky */
.adm-field { margin-bottom: 1rem; }
.adm-field label, .adm-field legend { display: block; margin-bottom: 0.3rem; font-weight: 600; }
.adm-field .adm-hint { display: block; margin: -0.15rem 0 0.4rem; color: var(--ink-3); font-size: 0.8125rem; }
.adm-input, .adm-select, .adm-textarea { width: 100%; padding: 0.55rem 0.75rem; border: 1px solid #b9c4b9; border-radius: 8px; background: #fff; font: inherit; color: var(--ink); }
.adm-textarea { min-height: 7rem; resize: vertical; }
.adm-input:focus, .adm-select:focus, .adm-textarea:focus { outline: 3px solid var(--sun); outline-offset: 0; border-color: var(--ink); }
.adm-check { display: flex; align-items: flex-start; gap: 0.55rem; margin-bottom: 0.6rem; }
.adm-check .adm-hint { display: block; color: var(--ink-3); font-size: 0.8125rem; }
.adm-check input { width: 1.1rem; height: 1.1rem; margin: 0.2rem 0 0; accent-color: var(--brand); }
.adm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.adm-row { display: grid; gap: 0 1rem; }
@media (min-width: 48em) { .adm-row--2 { grid-template-columns: 1fr 1fr; } }

/* Podpis */
.adm-sign { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; padding: 1rem 0; box-shadow: inset 0 -1px 0 var(--mist-2); }
.adm-sign:last-child { box-shadow: none; }
.adm-sign__icon { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 10px; background: var(--mist); color: var(--ink-2); }
.adm-sign__main { flex: 1 1 16rem; }
.adm-sign.is-signed .adm-sign__icon { background: var(--brand-soft); color: var(--brand); }

/* Oprávnenia */
.adm-matrix td, .adm-matrix th { text-align: center; }
.adm-matrix td:first-child, .adm-matrix th:first-child { text-align: left; }
.adm-matrix .i { margin: 0 auto; }
.adm-yes { color: var(--brand); }
.adm-no { color: #b9c4b9; }

/* Dialóg */
.adm-dialog { width: min(30rem, calc(100vw - 2rem)); padding: 1.6rem; border: 0; border-radius: 16px; color: var(--ink); box-shadow: 0 30px 60px -20px rgba(15, 27, 45, 0.45); }
.adm-dialog::backdrop { background: rgba(11, 22, 36, 0.45); }
.adm-dialog h2 { margin-bottom: 0.6rem; font-size: 1.25rem; }
.adm-steps { margin: 0 0 1rem; padding-left: 1.2rem; }
.adm-steps li { margin-bottom: 0.3rem; }
.adm-spin { width: 1.1rem; height: 1.1rem; border: 2px solid rgba(255, 255, 255, 0.4); border-top-color: #fff; border-radius: 50%; animation: adm-spin 0.8s linear infinite; }
@keyframes adm-spin { to { transform: rotate(360deg); } }

/* Hlásenie o výsledku */
.adm-toast { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60; display: flex; align-items: center; gap: 0.6rem; max-width: 26rem; padding: 0.85rem 1.1rem; border-radius: 12px; background: var(--night); color: #fff; font-weight: 550; box-shadow: 0 20px 40px -16px rgba(15, 27, 45, 0.5); }
.adm-toast[hidden] { display: none; }
.adm-toast .i { color: #4fd18f; }

/* Mobil */
@media (max-width: 64em) {
  .adm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adm-stat:nth-child(3) { box-shadow: 0 -1px 0 var(--mist-2); }
  .adm-stat:nth-child(4) { box-shadow: -1px 0 0 var(--mist-2), 0 -1px 0 var(--mist-2); }
}
@media (max-width: 56em) {
  .adm-shell { grid-template-columns: 1fr; }
  .adm-top { gap: 0.6rem; padding: 0 0.75rem; }
  .adm-top__brand { width: auto; }
  .adm-top__menu { display: inline-flex; order: -1; }
  .adm-search { display: none; }
  .adm-top__link span, .adm-user__text { display: none; }
  .adm-nav { position: fixed; top: 3.75rem; left: 0; z-index: 30; width: min(18rem, 85vw); transform: translateX(-100%); transition: transform 0.25s ease-out; }
  .adm-nav.is-open { transform: none; box-shadow: 0 20px 50px rgba(15, 27, 45, 0.3); }
  .adm-main { padding: 1.25rem 1rem 2.5rem; }
  .adm-panel { padding: 1rem; }
  .adm-table-wrap { margin: 0 -1rem; padding: 0 1rem; }
  .adm-bars li { grid-template-columns: 8rem minmax(0, 1fr) 2rem; }
  .adm-dl { grid-template-columns: 1fr; }
  .adm-dl dt { padding-bottom: 0; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  .adm-nav, .adm-log__new { transition: none; animation: none; }
  .adm-spin { animation-duration: 2.4s; }
}
.adm-demo a { color: #fff; font-weight: 600; }

/* Moduly zverejňovania, roly */
.adm-panel--sun { background: var(--sun-soft); }
.adm-panel--sun .adm-muted, .adm-panel--sun .adm-steps-line__date { color: var(--sun-ink); }
.adm-note { display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 1.25rem; padding: 0.9rem 1.1rem; border-radius: var(--r); background: var(--blue-soft); color: var(--blue-ink); }
.adm-note p { margin: 0; }
.adm-note .i { margin-top: 0.15rem; }
.adm-head + .adm-note { margin-top: -0.25rem; }
.adm-grid--3 { grid-template-columns: minmax(0, 1fr); align-items: stretch; }
@media (min-width: 64em) { .adm-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.adm-grid--3 h2 { margin-bottom: 0.5rem; }
.adm-grid--3 p { margin: 0; color: var(--ink-2); }
.adm-mono { font-variant-numeric: tabular-nums; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.8125rem; }
.adm-list__main > span:not([class]) { display: block; }
.adm-check-ok, .adm-check-fail { display: flex; align-items: flex-start; gap: 0.35rem; margin-top: 0.3rem; font-size: 0.8125rem; font-weight: 550; }
.adm-check-ok { color: var(--brand-deep); }
.adm-check-fail { color: var(--red); }
.adm-check-ok .i, .adm-check-fail .i { width: 1rem; height: 1rem; margin-top: 0.1rem; }
.adm-pill .i { width: 0.9rem; height: 0.9rem; }
.adm-where { display: inline-flex; gap: 0.3rem; color: var(--brand); }
.adm-calc { margin: -0.25rem 0 1rem; padding: 0.6rem 0.8rem; border-radius: 8px; background: var(--mist); }
.adm-checks { margin: -0.5rem 0 1rem; padding: 0; list-style: none; display: grid; gap: 0.3rem; color: var(--ink-3); font-size: 0.875rem; }
.adm-checks li { display: flex; align-items: center; gap: 0.4rem; }
.adm-checks li.is-ok { color: var(--brand-deep); font-weight: 550; }
.adm-dl--tight { grid-template-columns: minmax(0, 1fr); }
.adm-dl--tight dt { padding-bottom: 0; box-shadow: none; color: var(--ink); }
.adm-dl--tight dd { padding-top: 0.1rem; color: var(--ink-3); font-size: 0.875rem; }
fieldset.adm-field { margin: 0 0 1rem; padding: 0; border: 0; }

/* Priebeh krokov (VZN, funkčné obdobie) */
.adm-steps-line { margin: 0 0 1rem; padding: 0; list-style: none; counter-reset: krok; }
.adm-steps-line li { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.1rem 1rem; padding: 0.45rem 0 0.45rem 2rem; counter-increment: krok; }
.adm-steps-line li::before { content: counter(krok); position: absolute; left: 0; top: 0.45rem; display: grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--mist-2); color: var(--ink-2); font-size: 0.75rem; font-weight: 700; }
.adm-steps-line li:not(:last-child)::after { content: ""; position: absolute; left: 0.68rem; top: 2rem; bottom: -0.4rem; width: 2px; background: var(--mist-2); }
.adm-steps-line li.is-done::before { content: "✓"; background: var(--brand); color: #fff; }
.adm-steps-line li.is-now::before { background: var(--sun); color: var(--night); }
.adm-steps-line li.is-now .adm-steps-line__text { font-weight: 650; }
.adm-steps-line__date { color: var(--ink-3); font-weight: 600; white-space: nowrap; }
.adm-panel--sun .adm-steps-line li::before { background: #fff; }
.adm-panel--sun .adm-steps-line li:not(:last-child)::after { background: #f3df9a; }
.adm-panel--sun .adm-steps-line li.is-now::before { background: var(--sun); }
@media (min-width: 72em) {
  .adm-steps-line--row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
  .adm-steps-line--row li { flex-direction: column; justify-content: flex-start; padding: 2rem 0 0; }
  .adm-steps-line--row li::before { top: 0; }
  .adm-steps-line--row li:not(:last-child)::after { left: 1.8rem; right: -0.6rem; top: 0.68rem; bottom: auto; width: auto; height: 2px; }
}

/* Záložky */
.adm-tabs__list { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-bottom: 0.75rem; }
.adm-tabs__list [role="tab"] { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.5rem 1rem; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font-weight: 650; cursor: pointer; }
.adm-tabs__list [role="tab"]:hover { background: var(--mist-2); }
.adm-tabs__list [role="tab"][aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(15, 27, 45, 0.08); }
.adm-tabs__count { min-width: 1.35rem; padding: 0 0.35rem; border-radius: 999px; background: var(--mist-2); font-size: 0.75rem; line-height: 1.35rem; text-align: center; }
.adm-tabs__count--red { background: var(--red-soft); color: var(--red); }

/* Zastupiteľstvo */
.adm-program { margin: 0; padding-left: 1.4rem; }
.adm-program > li { padding: 0.55rem 0 0.55rem 0.3rem; box-shadow: inset 0 -1px 0 var(--mist-2); }
.adm-program > li:last-child { box-shadow: none; }
.adm-program__text { font-weight: 600; }
.adm-program--short > li { padding: 0.25rem 0; box-shadow: none; }
.adm-secret { display: block; margin-top: 0.5rem; padding: 0.6rem 0.8rem; border-radius: 8px; background: var(--mist); }
.adm-secret small { display: block; margin-top: 0.2rem; color: var(--ink-3); }
.adm-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0; padding: 0; list-style: none; }
.adm-chips li, .adm-chips label { padding: 0.25rem 0.7rem; border-radius: 999px; background: var(--mist); font-size: 0.875rem; font-weight: 550; }
.adm-chips--check { margin: 0.25rem 0 0 1.65rem; }
.adm-chips--check label { display: inline-flex; align-items: center; gap: 0.35rem; cursor: pointer; }
.adm-chips--check input { accent-color: var(--brand); }
.adm-chips small { color: var(--ink-3); font-weight: 500; }
.adm-votes th:not(:first-child), .adm-votes td:not(:first-child) { text-align: center; }
.adm-vote { display: inline-block; min-width: 2.6rem; padding: 0.05rem 0.35rem; border-radius: 6px; font-size: 0.8125rem; font-weight: 650; }
.adm-vote--Z { background: var(--brand-soft); color: var(--brand-deep); }
.adm-vote--P { background: var(--red-soft); color: var(--red); }
.adm-vote--D { background: var(--sun-soft); color: var(--sun-ink); }
.adm-vote--N { color: var(--ink-3); }

/* Používatelia a poverenia */
.adm-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1rem; }
.adm-card { padding: 1rem 1.1rem; border-radius: 10px; background: var(--mist); }
.adm-card h3 { font-size: 1rem; }
.adm-card__label { margin: 0.75rem 0 0.25rem; color: var(--ink-3); font-size: 0.75rem; font-weight: 700; }
.adm-card .adm-list__sub .i { display: inline-block; width: 0.95rem; height: 0.95rem; vertical-align: -0.15rem; }
.adm-ticks { margin: 0 0 0.75rem; padding: 0; list-style: none; display: grid; gap: 0.3rem; font-size: 0.875rem; }
.adm-ticks li { display: flex; align-items: flex-start; gap: 0.4rem; }
.adm-ticks .i { width: 1rem; height: 1rem; margin-top: 0.15rem; color: var(--brand); }
.adm-ticks--no .i { color: var(--red); }
.adm-matrix__group th { padding-top: 1.1rem; color: var(--ink); font-size: 0.875rem; text-align: left !important; box-shadow: none; }
.adm-matrix td:first-child { min-width: 16rem; }
.adm-matrix th { white-space: normal; min-width: 5.5rem; vertical-align: bottom; }
.adm-error { margin-bottom: 1rem; padding: 0.75rem 1rem; border-radius: 8px; background: var(--red-soft); color: var(--red); font-weight: 600; }
.adm-error:focus { outline: 3px solid var(--sun); }

/* Zvozový kalendár */
.adm-bin { display: inline-block; width: 0.75rem; height: 0.75rem; margin-right: 0.5rem; border-radius: 50%; background: var(--bin); vertical-align: -0.05rem; }
.adm-cal-wrap { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1.5rem; }
.adm-cal h3 { margin-bottom: 0.5rem; font-size: 1rem; }
.adm-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.adm-cal__dn { padding: 0.2rem 0; color: var(--ink-3); font-size: 0.75rem; font-weight: 650; text-align: center; }
.adm-cal__d { display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 2.6rem; padding: 0.25rem 0; border-radius: 6px; background: var(--mist); font-size: 0.8125rem; font-weight: 600; }
.adm-cal__d.is-volno { background: transparent; color: var(--ink-3); }
.adm-cal__d.is-dnes { background: var(--ink); color: #fff; }
.adm-cal__d i { display: block; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--bin); }
.adm-cal__d.is-dnes i { box-shadow: 0 0 0 1.5px #fff; }
@media (max-width: 56em) {
  .adm-readonly { margin-top: 0; }
  .adm-matrix td:first-child { min-width: 12rem; }
}
.adm-bin-title { display: flex; align-items: baseline; }
.adm-bin-title .adm-bin { flex: none; }

.adm-nav__text { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.adm-note--sun { background: var(--sun-soft); color: var(--sun-ink); }
.adm-note--sun a { color: var(--sun-ink); font-weight: 650; }
.adm-erb { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; padding: 1rem; border-radius: 10px; background: var(--mist); }
.adm-erb p { margin: 0; }
.adm-hours { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 0 1rem; }
.adm-integr { display: grid; grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr)); gap: 1.25rem; }
.adm-integr__item { display: flex; flex-direction: column; margin: 0; }
.adm-integr__head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.6rem; }
.adm-integr__head h2 { font-size: 1rem; }
.adm-integr__item > p { color: var(--ink-2); }
.adm-integr__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.75rem; margin: auto 0 0; padding-top: 0.5rem; font-size: 0.875rem; }
