/* harvest.sk - dizajnovy system, smer A3 (Listina), verzia 1 (01.10.2026)
   Jediny subor so stylmi pre vsetky stranky portalu.
   Nazov portalu je v sablonach premenna (site_name), v CSS sa nevyskytuje.
   Pisma: z vlastneho servera (static/pisma.css, static/fonts/).
   Cast 16 (prototyp) sa do ostrej verzie neprenasa. */

/* ---------- 1. Tokeny ---------- */
:root {
  --bg: #F7F6F2;
  --surface: #FFFFFF;
  --surface-2: #ECEAE3;
  --ink: #1B2422;
  --muted: #5B6461;
  --line: #E2DFD6;
  --line-strong: #CFCBBF;
  --accent: #1D5C57;
  --accent-hover: #134440;
  --accent-soft: #CFE0DD;
  --on-accent: #FFFFFF;
  --focus: #1D5C57;

  --font-display: 'Source Serif 4', 'Source Serif Pro', Georgia, 'Times New Roman', serif;
  --font-text: 'IBM Plex Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --fs-xs: 12px;
  --fs-s: 14px;
  --fs-m: 15px;
  --fs-l: 18px;
  --fs-xl: 22px;
  --fs-2xl: 28px;
  --fs-3xl: 34px;
  --fs-4xl: 44px;

  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-12: 48px;

  --radius: 2px;
  --page-max: 1120px;
  --tap: 44px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #121816;
    --surface: #1A2220;
    --surface-2: #222B29;
    --ink: #E8ECE9;
    --muted: #9AA5A1;
    --line: #2C3633;
    --line-strong: #3A4642;
    --accent: #6FB5AC;
    --accent-hover: #8CC9C1;
    --accent-soft: #2A4541;
    --on-accent: #0E1513;
    --focus: #8CC9C1;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #121816;
  --surface: #1A2220;
  --surface-2: #222B29;
  --ink: #E8ECE9;
  --muted: #9AA5A1;
  --line: #2C3633;
  --line-strong: #3A4642;
  --accent: #6FB5AC;
  --accent-hover: #8CC9C1;
  --accent-soft: #2A4541;
  --on-accent: #0E1513;
  --focus: #8CC9C1;
}

/* ---------- 2. Zaklad ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--fs-m);
  line-height: 1.55;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0; }
dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

.wrap { max-width: var(--page-max); margin: 0 auto; padding-inline: var(--sp-5); }

/* ---------- 3. Hlavicka a navigacia ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--sp-4); padding-block: var(--sp-2) 0; min-height: 60px; }
.brand { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-xl); line-height: 1; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; flex-shrink: 0; min-height: var(--tap); display: inline-flex; align-items: center; }
.brand__tld { color: var(--muted); font-weight: 400; }
.site-nav { display: flex; order: 3; width: 100%; gap: var(--sp-5); overflow-x: auto; scrollbar-width: none; font-size: var(--fs-s); }
.site-nav a { flex-shrink: 0; min-height: var(--tap); display: inline-flex; align-items: center; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; }
@media (min-width: 900px) { .site-header .wrap { padding-block: var(--sp-2); flex-wrap: nowrap; } .site-nav { order: 0; width: auto; overflow: visible; } }

.search { position: relative; display: flex; flex-grow: 1; max-width: 520px; margin: 0; }
.search input {
  width: 100%; min-width: 0; height: var(--tap);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 0 var(--tap) 0 var(--sp-3);
  font: inherit; background: var(--bg); color: var(--ink);
}
.search button {
  position: absolute; right: 0; top: 0; width: var(--tap); height: var(--tap);
  border: 0; background: transparent; color: var(--accent);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.search--big { max-width: 680px; }
.search--big input { height: 56px; font-size: var(--fs-l); padding-left: var(--sp-4); background: var(--surface); }
@media (max-width: 479px) { .search--big input { font-size: 16px; padding-left: var(--sp-3); } }
.search--big button { width: 56px; height: 56px; background: var(--accent); color: var(--on-accent); border-radius: 0 var(--radius) var(--radius) 0; }

.section-nav { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; }
.section-nav .wrap { display: flex; gap: var(--sp-5); overflow-x: auto; scrollbar-width: none; font-size: var(--fs-s); }
.section-nav a { flex-shrink: 0; min-height: var(--tap); display: flex; align-items: center; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; }
.section-nav a:hover { color: var(--ink); }
.section-nav a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--accent); }

/* ---------- 4. Typografia obsahu ---------- */
.eyebrow { font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
.rule { width: 40px; height: 1px; background: var(--accent); border: 0; margin: 0; }
.source { font-size: var(--fs-xs); color: var(--muted); }
.crumbs { font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; }
.crumbs a { text-decoration: none; }

/* ---------- 5. Tlacidla ---------- */
.btn {
  min-height: var(--tap); padding: 0 var(--sp-4);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  border-radius: var(--radius); border: 1px solid var(--accent);
  background: var(--surface); color: var(--accent); font-size: var(--fs-s); cursor: pointer; text-decoration: none;
}
.btn:hover { border-color: var(--accent-hover); color: var(--accent-hover); }
.btn--primary { background: var(--accent); color: var(--on-accent); font-size: var(--fs-m); font-weight: 500; min-height: 52px; }
.btn--primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn--text { border: 0; padding: 0; background: transparent; }
.btn-icon {
  width: var(--tap); height: var(--tap); flex-shrink: 0;
  border: 0; background: transparent; color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; border-radius: var(--radius);
}
.btn-icon:hover { background: var(--surface-2); }
.copied-flag { font-size: var(--fs-xs); color: var(--accent); }
.icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- 6. Stav firmy (text a ikona, nie semafor) ---------- */
.state { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-s); }
.state--active { color: var(--accent); }
.state--proceeding, .state--dissolved { color: var(--ink); }
.state--dissolved { text-decoration: none; }

/* ---------- 7. Riadok udaja s kopirovanim ---------- */
.idlist { border-top: 1px solid var(--line); }
.idrow { display: flex; align-items: center; gap: var(--sp-2); padding-block: 6px; border-bottom: 1px solid var(--line); }
.idrow > div { flex-grow: 1; min-width: 0; }
.idrow dd { overflow-wrap: anywhere; }
.idrow--lead dd { font-family: var(--font-display); font-size: var(--fs-xl); letter-spacing: 0.03em; }

/* ---------- 8. Sekcie ---------- */
.block { padding-block: var(--sp-8); display: flex; flex-direction: column; gap: var(--sp-3); }
.block + .block { border-top: 1px solid var(--line); }
.block h2 { font-size: 26px; }
.facts { display: flex; flex-direction: column; }
.fact { padding-block: var(--sp-4); border-bottom: 1px solid var(--line); }
.fact__value { font-family: var(--font-display); font-size: 40px; line-height: 1.1; }
.fact__value--m { font-size: var(--fs-2xl); }
.fact__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); padding-block: var(--sp-4); border-bottom: 1px solid var(--line); }
.fact-link { color: var(--ink); text-decoration: none; }
.kv { display: flex; flex-direction: column; font-size: var(--fs-s); }
.kv > div { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3); min-height: var(--tap); border-top: 1px solid var(--line); }
.kv > div:last-child { border-bottom: 1px solid var(--line); }
.kv dt { color: var(--muted); }
.kv dd { text-align: right; }

/* ---------- 9. Graf a tabulka hospodarenia (prepinac bez JavaScriptu) ---------- */
.tabs { display: flex; gap: var(--sp-5); border-bottom: 1px solid var(--line); font-size: var(--fs-s); }
.tabs label { min-height: 40px; display: flex; align-items: center; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; }
.tab-radio { position: absolute; opacity: 0; pointer-events: none; }
.chart { display: none; }
#m-rev:checked ~ .tabs label[for="m-rev"],
#m-res:checked ~ .tabs label[for="m-res"],
#m-ast:checked ~ .tabs label[for="m-ast"] { color: var(--ink); border-bottom-color: var(--accent); }
#m-rev:focus-visible ~ .tabs label[for="m-rev"],
#m-res:focus-visible ~ .tabs label[for="m-res"],
#m-ast:focus-visible ~ .tabs label[for="m-ast"] { outline: 2px solid var(--focus); outline-offset: 2px; }
#m-rev:checked ~ .chart--rev, #m-res:checked ~ .chart--res, #m-ast:checked ~ .chart--ast { display: block; }
.bars { height: 170px; display: flex; align-items: flex-end; gap: 14px; border-bottom: 1px solid var(--ink); padding: 0 2px; position: relative; }
.bars--signed { border-bottom: 0; }
.bar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 2px; height: 100%; font-size: 11px; color: var(--muted); }
.bar i { display: block; width: 100%; background: var(--accent-soft); }
.bar--last { color: var(--ink); font-weight: 500; }
.bar--last i { background: var(--accent); }
.bar--neg i { background: repeating-linear-gradient(45deg, var(--accent-soft) 0 4px, transparent 4px 7px); outline: 1px solid var(--accent-soft); }
.axis { display: flex; justify-content: space-between; gap: 14px; padding: 0 2px; font-size: var(--fs-xs); color: var(--muted); }
.axis span { flex: 1; text-align: center; }
.unit { font-size: var(--fs-xs); color: var(--muted); margin-top: var(--sp-1); }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-s); font-variant-numeric: tabular-nums; }
.table th { font-weight: 400; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-align: right; padding: 4px 0; }
.table th:first-child, .table td:first-child { text-align: left; }
.table td { text-align: right; padding: 7px 0; border-top: 1px solid var(--line); }
.table tr:last-child td { border-bottom: 1px solid var(--line); }

/* ---------- 10. Casova os ---------- */
.timeline { display: flex; flex-direction: column; gap: 18px; font-size: var(--fs-s); }
.timeline li { display: flex; gap: var(--sp-4); }
.timeline .year { font-family: var(--font-display); font-size: var(--fs-xl); color: var(--accent); width: 56px; flex-shrink: 0; line-height: 1.2; }

/* ---------- 11. Zoznamy odkazov ---------- */
.linkrow { min-height: 56px; display: flex; align-items: center; gap: var(--sp-3); padding-block: 10px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.linkrow:last-of-type { border-bottom: 1px solid var(--line); }
.linkrow__main { flex-grow: 1; min-width: 0; }
.linkrow__title { font-family: var(--font-display); font-size: var(--fs-l); }
.linkrow__arrow { color: var(--accent); }
.minirow { min-height: var(--tap); display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); font-size: var(--fs-s); border-top: 1px solid var(--line); }
.minirow:last-child { border-bottom: 1px solid var(--line); }
a.minirow { color: var(--ink); text-decoration: none; }
a.minirow:hover span:first-child { color: var(--accent); text-decoration: underline; }
.title-row h1 { flex-grow: 0; }

/* ---------- 12. Profil: rozlozenie mobil a pocitac ---------- */
.profile-head { background: var(--surface); border-bottom: 1px solid var(--line); }
.profile-head .wrap { padding-block: var(--sp-8) var(--sp-6); display: flex; flex-direction: column; gap: 14px; }
.profile-head h1 { font-size: var(--fs-3xl); flex-grow: 1; }
.title-row { display: flex; align-items: flex-start; gap: var(--sp-2); }
.status-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: var(--fs-s); color: var(--muted); }
.profile { display: grid; grid-template-columns: minmax(0, 1fr); }
.profile__aside { padding-block: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-4); border-bottom: 1px solid var(--line); }
.profile__main { min-width: 0; }
.actions { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); font-size: var(--fs-s); }
@media (min-width: 960px) {
  .profile-head h1 { font-size: var(--fs-4xl); }
  .profile { grid-template-columns: minmax(0, 1fr) 340px; column-gap: var(--sp-12); align-items: start; }
  .profile__aside { grid-column: 2; grid-row: 1; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 60px); border-bottom: 0; }
  .profile__main { grid-column: 1; grid-row: 1; }
}

/* ---------- 13. Vysledky vyhladavania ---------- */
.results-head { padding-block: var(--sp-8) var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-2); }
.results-head h1 { font-size: var(--fs-2xl); }
.result { padding-block: 14px; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--sp-4); row-gap: 4px; align-items: baseline; }
.result:last-child { border-bottom: 1px solid var(--line); }
.result__name { grid-column: 1; font-family: var(--font-display); font-size: var(--fs-xl); line-height: 1.25; color: var(--ink); text-decoration: none; }
.result__name:hover { color: var(--accent); }
.result__val { grid-column: 2; font-family: var(--font-display); font-size: var(--fs-l); color: var(--ink); text-align: right; white-space: nowrap; }
.result__meta { grid-column: 1 / -1; grid-row: 3; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: var(--fs-s); color: var(--muted); }
@media (min-width: 600px) {
  .result__meta { grid-column: 1; grid-row: 2; gap: 2px 0; }
  .result__meta > * + *::before { content: "·"; margin-inline: 10px; color: var(--muted); }
}
.result__ico { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); }
.result .btn-icon { width: 28px; height: 28px; min-height: 28px; margin-block: -6px; }
.result__lbl { grid-column: 2; grid-row: 2; font-size: var(--fs-xs); color: var(--muted); text-align: right; white-space: nowrap; }
.pager { display: flex; gap: var(--sp-2); align-items: center; padding-block: var(--sp-6); font-size: var(--fs-s); }
.pager a, .pager span { min-width: var(--tap); min-height: var(--tap); display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.pager [aria-current="page"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* ---------- 14. Uvod ---------- */
.hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.hero .wrap { padding-block: var(--sp-12); display: flex; flex-direction: column; gap: var(--sp-5); }
.hero h1 { font-size: 36px; max-width: 18ch; }
.hero__hint { font-size: var(--fs-s); color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4); padding-block: var(--sp-8); border-bottom: 1px solid var(--line); }
.stat__value { font-family: var(--font-display); font-size: var(--fs-2xl); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat__label { font-size: var(--fs-s); color: var(--muted); overflow-wrap: anywhere; hyphens: auto; }
.grid-3 { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-8); padding-block: var(--sp-8); }
.freshness { width: 100%; border-collapse: collapse; font-size: var(--fs-s); }
.freshness td, .freshness th { text-align: left; padding: 8px 0; border-top: 1px solid var(--line); vertical-align: top; }
.freshness th { font-weight: 400; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); border-top: 0; }
.freshness td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (min-width: 720px) {
  .hero h1 { font-size: 52px; }
  .stats .stat__value { font-size: var(--fs-3xl); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- 15. Pata ---------- */
.site-footer { background: var(--surface-2); margin-top: var(--sp-12); }
.site-footer .wrap { padding-block: var(--sp-8) var(--sp-12); display: flex; flex-direction: column; gap: var(--sp-3); font-size: var(--fs-xs); color: var(--muted); }
.site-footer p { max-width: 80ch; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-2) var(--sp-6); padding-bottom: var(--sp-3); border-bottom: 1px solid var(--line-strong); }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 0 var(--sp-5); font-size: var(--fs-s); }
.site-footer .links a { min-height: var(--tap); display: inline-flex; align-items: center; }

/* ---------- 17. Hlavicka stranky (zoznamy a texty) ---------- */
.page-head { background: var(--surface); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-block: var(--sp-8) var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-3); }
.page-head h1 { font-size: var(--fs-2xl); }
.lead { font-size: var(--fs-m); color: var(--muted); max-width: 64ch; }
@media (min-width: 720px) { .page-head h1 { font-size: var(--fs-3xl); } .lead { font-size: var(--fs-l); } }
.list-main { max-width: 820px; }
.day-head { padding-block: var(--sp-6) var(--sp-2); }

/* ---------- 18. Textova stranka ---------- */
.prose { max-width: 68ch; padding-block: var(--sp-8); display: flex; flex-direction: column; gap: var(--sp-4); }
.prose h2 { font-size: var(--fs-xl); padding-top: var(--sp-4); }
.prose ul { list-style: disc; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }
.prose .meta { font-size: var(--fs-s); color: var(--muted); }

/* ---------- 19. Formular ---------- */
.form { display: flex; flex-direction: column; gap: var(--sp-5); max-width: 560px; padding-block: var(--sp-8); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: var(--fs-s); font-weight: 500; }
.field .hint { font-size: var(--fs-xs); color: var(--muted); }
.input, .textarea { width: 100%; min-height: var(--tap); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 10px 12px; font: inherit; background: var(--surface); color: var(--ink); }
.input--ico { max-width: 14ch; font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn--primary { align-self: flex-start; padding-inline: var(--sp-6); }

/* ---------- 20. Miesto pre partnera (BZ8, mimo profilu firmy) ---------- */
.partner { border: 1px solid var(--line-strong); background: var(--surface); padding: var(--sp-4) var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-1); max-width: 520px; }
.partner__label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.partner__name { font-family: var(--font-display); font-size: var(--fs-l); }
.partner p { font-size: var(--fs-s); }
.partner a { font-size: var(--fs-s); min-height: var(--tap); display: inline-flex; align-items: center; align-self: flex-start; }

/* ---------- 21. Zdroje ---------- */
.src { padding-block: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-3); border-top: 1px solid var(--line); }
.src h2 { font-size: var(--fs-xl); }
.src .kv > div { display: grid; grid-template-columns: minmax(7.5rem, 30%) minmax(0, 1fr); padding-block: 8px; align-items: start; }
.src .kv dd { text-align: left; overflow-wrap: anywhere; }

/* ---------- 22. Jazyky (prepinac bez JavaScriptu, nazvy jazykov, nie vlajky) ---------- */
.lang { position: relative; flex-shrink: 0; order: 2; font-size: var(--fs-s); }
.lang summary { list-style: none; min-height: var(--tap); min-width: var(--tap); display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 var(--sp-2); color: var(--muted); cursor: pointer; border-radius: var(--radius); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.lang summary:hover, .lang[open] summary { color: var(--ink); background: var(--surface-2); }
.lang__list { position: absolute; right: 0; top: calc(100% + 4px); z-index: 20; min-width: 190px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); padding-block: var(--sp-1); }
.lang__list a, .lang__list span { display: flex; align-items: center; min-height: var(--tap); padding-inline: var(--sp-4); color: var(--ink); text-decoration: none; }
.lang__list a:hover { background: var(--surface-2); color: var(--accent); }
.lang__list [aria-current] { color: var(--muted); }
.lang__list [aria-current]::after { content: "✓"; margin-left: auto; padding-left: var(--sp-3); color: var(--accent); }
.header-break { flex-basis: 100%; height: 0; order: 2; }
.site-header .search { order: 1; flex: 1 1 140px; min-width: 0; }
.site-header .site-nav { flex: 1 1 0; width: auto; min-width: 0; }
.lang { order: 4; }
@media (min-width: 900px) { .header-break { display: none; } .site-header .search, .site-header .site-nav, .lang { order: 0; } .site-header .site-nav { flex: 0 1 auto; } }
.footer-langs { display: flex; flex-wrap: wrap; gap: 0 var(--sp-2); font-size: var(--fs-s); }
.footer-langs a { min-height: var(--tap); display: inline-flex; align-items: center; }
.footer-langs a[aria-current] { color: var(--ink); text-decoration: none; font-weight: 500; }
.lang-note { border: 1px solid var(--line-strong); background: var(--surface-2); padding: var(--sp-3) var(--sp-4); font-size: var(--fs-s); }

/* ---------- 23. Web firmy (P3 bod 6): overeny s kontaktmi, neovereny iba odkaz s hlasovanim ---------- */
.webinfo { display: flex; flex-direction: column; gap: 4px; font-size: var(--fs-s); border-top: 1px solid var(--line); padding-top: var(--sp-3); }
.webinfo dl { display: flex; flex-direction: column; }
.webinfo__row { display: flex; align-items: center; gap: var(--sp-2); }
.webinfo__row > div { flex-grow: 1; min-width: 0; }
.webinfo__row dd { overflow-wrap: anywhere; }
.webinfo__row a { min-height: var(--tap); display: inline-flex; align-items: center; }
.tag { display: inline-block; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 1px 6px; vertical-align: middle; white-space: nowrap; }
.vote { display: flex; flex-direction: column; gap: var(--sp-2); }
.vote__q { font-size: var(--fs-s); }
.vote__btns { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.vote__btns form { margin: 0; }
.vote__btns .btn { min-height: var(--tap); padding-inline: var(--sp-4); font-size: var(--fs-s); }

/* ---------- 24. Porovnanie s odvetvim (blok 3a): iba text, bez farieb a znamok (P11) ---------- */
.cmp { display: flex; flex-direction: column; }
.cmp__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px var(--sp-4); padding-block: var(--sp-3); border-top: 1px solid var(--line); }
.cmp__row:last-child { border-bottom: 1px solid var(--line); }
.cmp__row dt { font-size: var(--fs-s); color: var(--muted); }
.cmp__val { font-family: var(--font-display); font-size: var(--fs-xl); text-align: right; font-variant-numeric: tabular-nums; }
.cmp__pos { grid-column: 1 / -1; font-size: var(--fs-m); }
.cmp__group { font-size: var(--fs-s); color: var(--muted); max-width: 64ch; }

/* ---------- 25. Verzia 7 (06.10.2026): hlavicka bez odkazov, prva obrazovka profilu podla zvyku pouzivatelov ---------- */
.site-header--v7 .wrap { padding-bottom: var(--sp-2); row-gap: var(--sp-2); }
.site-header--v7 .lang { margin-left: auto; order: 2; }
.site-header--v7 .search { order: 3; flex: 1 1 100%; max-width: none; }
@media (min-width: 900px) {
  .site-header--v7 .search { order: 1; flex: 1 1 auto; max-width: 520px; }
  .site-header--v7 .lang { order: 2; }
}
.former { font-size: var(--fs-s); color: var(--muted); }
.first { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-6) var(--sp-8); padding-block: var(--sp-6) var(--sp-8); border-bottom: 1px solid var(--line); }
.panel { display: flex; flex-direction: column; gap: var(--sp-3); min-width: 0; }
.panel h2 { font-family: var(--font-text); font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.panel--bill { order: 1; }
.panel--events { order: 2; }
.panel--fin { order: 3; }
.kv--tight > div { min-height: 36px; padding-block: 4px; }
.kv--tight dd { font-variant-numeric: tabular-nums; }
.table--fin th:not(:first-child), .table--fin td:not(:first-child) { white-space: nowrap; }
.table--fin tbody th { text-align: left; font-size: var(--fs-s); letter-spacing: 0; text-transform: none; color: var(--muted); padding: 7px 0; border-top: 1px solid var(--line); font-weight: 400; }
.table--fin tbody td { color: var(--ink); }
.table--fin .col-old { color: var(--muted); }
.events { display: flex; flex-direction: column; font-size: var(--fs-s); }
.events > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px var(--sp-3); padding-block: 7px; border-top: 1px solid var(--line); align-items: baseline; }
.events > div:last-child { border-bottom: 1px solid var(--line); }
.events dt { color: var(--muted); }
.events dt { flex: 1 1 9.5rem; min-width: 0; }
.events dd { flex: 0 1 auto; min-width: 0; margin-left: auto; text-align: right; overflow-wrap: anywhere; }
.events a { min-height: var(--tap); display: inline-flex; align-items: center; }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-6); }
.split h3, .fin-sub h3 { font-family: var(--font-display); font-size: var(--fs-l); font-weight: 600; }
.barlist { display: flex; flex-direction: column; font-size: var(--fs-s); }
.barlist > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px var(--sp-3); padding-block: 6px; border-top: 1px solid var(--line); }
.barlist dd { text-align: right; font-variant-numeric: tabular-nums; }
.barlist i { grid-column: 1 / -1; display: block; height: 6px; background: var(--accent-soft); }
.fin-sub { display: flex; flex-direction: column; gap: var(--sp-3); padding-top: var(--sp-6); border-top: 1px solid var(--line); }
.main-single { max-width: 820px; }
@media (min-width: 720px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-8); }
}
@media (min-width: 760px) {
  .first { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel--bill { grid-row: span 2; }
}
@media (min-width: 1060px) {
  .first { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 0.95fr); }
  .panel--bill { grid-row: auto; }
  .panel--fin { order: 2; }
  .panel--events { order: 3; }
}
.table--fin td, .table--fin thead th:not(:first-child) { padding-left: var(--sp-4); }
.table--fin tbody th { padding-right: var(--sp-2); }

/* ---------- 26. Verzia 8: claim pod znakom, zdroj iba ako nenapadny odkaz ---------- */
.brand { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; }
.brand__claim { font-family: var(--font-text); font-size: 11px; font-weight: 400; letter-spacing: 0.02em; color: var(--muted); }
.srclink { font-size: var(--fs-xs); color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-strong); align-self: flex-start; min-height: 32px; display: inline-flex; align-items: center; }
.srclink:hover { color: var(--accent); }
.more { font-size: var(--fs-s); display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-2); align-items: center; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-8); padding-block: var(--sp-8); }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat__value { white-space: nowrap; font-size: clamp(20px, 6vw, 34px); }

/* ---------- 27. Uvod: hero s cislami (verzia 10) ---------- */
.hero--facts { background: linear-gradient(160deg, var(--surface-2) 0%, var(--bg) 70%); }
.hero--facts .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-6); padding-block: var(--sp-8) var(--sp-8); grid-template-areas: "text" "search" "facts"; }
.hero__text { grid-area: text; display: flex; flex-direction: column; gap: var(--sp-3); }
.hero--facts h1 { font-size: clamp(28px, 6vw, 44px); max-width: 20ch; }
.hero__search { grid-area: search; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.05); }
.hero__label { font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.hero__search .search { max-width: none; flex-direction: column; gap: var(--sp-2); }
.search__row { display: flex; width: 100%; position: relative; }
.search__row input { flex: 1 1 auto; min-width: 0; }
.hero__facts { grid-area: facts; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4) var(--sp-6); margin: 0; }
.hero__facts > div { display: flex; flex-direction: column-reverse; gap: 2px; border-top: 1px solid var(--line-strong); padding-top: var(--sp-2); }
.hero__facts dd { margin: 0; font-family: var(--font-display); font-size: clamp(24px, 6vw, 34px); line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hero__facts dt { font-size: var(--fs-s); color: var(--muted); }
@media (min-width: 900px) {
  .hero--facts .wrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-areas: "text search" "facts search"; column-gap: var(--sp-12); align-items: start; padding-block: var(--sp-12); }
  .hero__search { align-self: center; padding: var(--sp-6); }
  .hero__facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.hero__facts > div { justify-content: flex-end; }
@media (min-width: 900px) { .hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 520px; } }

/* ---------- 28. Overiť v zdrojoch (P12, 07.10.2026) ---------- */
.events .ev-note { grid-column: 1 / -1; text-align: left; font-size: var(--fs-xs); color: var(--muted); }
.events .ev-note a { min-height: 24px; display: inline; }
.ext { margin-left: 2px; font-size: 0.9em; }
.verify__lead { margin: 0; color: var(--muted); font-size: var(--fs-s); max-width: 70ch; }
.verify { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); column-gap: var(--sp-8); }
.verify li { border-top: 1px solid var(--line); }
.verify__link { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name ext" "what ext"; align-items: center; gap: 0 var(--sp-3); min-height: 56px; padding-block: 8px; color: var(--ink); text-decoration: none; }
.verify__name { grid-area: name; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.verify__what { grid-area: what; font-size: var(--fs-xs); color: var(--muted); }
.verify__link .ext { grid-area: ext; color: var(--accent); }
.verify__link:hover .verify__name { color: var(--accent-hover); }
@media (min-width: 900px) { .verify { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- 29. Prvé zobrazenie v16 (08.10.2026): jeden tvar riadku, graf hore, zoznamy pod tým ---------- */
.idrow--lead dd { font-family: inherit; font-size: inherit; letter-spacing: 0; }
.facts { display: flex; flex-direction: column; font-size: var(--fs-s); border-top: 1px solid var(--line); }
.facts__row { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) 28px; align-items: center; column-gap: var(--sp-3); min-height: 40px; padding-block: 6px; border-bottom: 1px solid var(--line); }
.facts__row dt { color: var(--muted); }
.facts__row dd { min-width: 0; overflow-wrap: anywhere; }
.facts__row .btn-icon { width: 28px; height: 28px; min-height: 28px; }
.facts__row a { min-height: 24px; }
.facts__sub { display: block; font-size: var(--fs-xs); color: var(--muted); }
.srcnote { margin: 0; font-size: var(--fs-xs); color: var(--muted); line-height: 1.5; }
.panel--fin .chart .bars { height: 170px; }
.first { border-bottom: 0; }
.panel--events { padding-block: var(--sp-6) var(--sp-8); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.panel--events .events { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: var(--sp-8); }
.panel--events .events > div:last-child { border-bottom: 0; }
.panel--events .events { border-bottom: 1px solid var(--line); }
.events__debt { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .first { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .first .panel--bill, .first .panel--fin { order: 0; grid-row: auto; }
  .panel--events .events { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel--events .events > div:nth-last-child(2) { border-bottom: 0; }
}
/* vysvetlenie ukazovatela: popover bez JavaScriptu */
.info { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin-left: 4px; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; color: var(--accent); font: italic 600 12px/1 var(--font-display); cursor: pointer; vertical-align: 1px; }
.info:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.info__pop { margin: auto; max-width: min(360px, 90vw); padding: var(--sp-4); border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); color: var(--ink); font-size: var(--fs-s); line-height: 1.5; text-transform: none; letter-spacing: 0; font-weight: 400; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.info__pop::backdrop { background: rgba(0,0,0,.15); }
.kv--ind { margin-top: var(--sp-4); }
/* kolacove grafy aktiv a pasiv; farby overene validatorom (svetly aj tmavy rezim) */
:root { --s1: #009485; --s2: #E07B39; --s3: #4F86D6; --s4: #D9A21B; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --s1: #1A9E91; --s2: #D06A2E; --s3: #5A8DDB; --s4: #B8861A; } }
:root[data-theme="dark"] { --s1: #1A9E91; --s2: #D06A2E; --s3: #5A8DDB; --s4: #B8861A; }
.split--donuts { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-8); }
@media (min-width: 900px) { .split--donuts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.donut { margin: 0; display: flex; flex-direction: column; gap: var(--sp-3); }
.donut__title { font-size: var(--fs-s); color: var(--muted); }
.donut__body { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: var(--sp-5); align-items: center; }
.donut svg { width: 140px; height: 140px; }
.donut .seg { fill: none; stroke-width: 16; }
.seg--1 { stroke: var(--s1); } .seg--2 { stroke: var(--s2); } .seg--3 { stroke: var(--s3); } .seg--4 { stroke: var(--s4); }
.donut__sum { fill: var(--ink); font: 600 13px var(--font-text); }
.donut__unit { fill: var(--muted); font: 10px var(--font-text); }
.legend { display: flex; flex-direction: column; font-size: var(--fs-s); }
.legend > div { display: grid; grid-template-columns: minmax(0, 1fr) auto 4.2rem; gap: var(--sp-3); align-items: center; min-height: 34px; border-top: 1px solid var(--line); }
.legend > div:last-child { border-bottom: 1px solid var(--line); }
.legend dt { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.legend .pct { color: var(--muted); text-align: right; }
.sw { width: 10px; height: 10px; border-radius: 2px; flex-shrink: 0; }
.sw--1 { background: var(--s1); } .sw--2 { background: var(--s2); } .sw--3 { background: var(--s3); } .sw--4 { background: var(--s4); }
@media (max-width: 420px) { .donut__body { grid-template-columns: minmax(0, 1fr); justify-items: center; } .legend { width: 100%; } }
.hist-lead { color: var(--muted); font-size: var(--fs-s); margin: var(--sp-6) 0 0; }
/* osoby vo firme a formulár námietky */
.osoby table { width: 100%; }
.check { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: var(--fs-s); }
fieldset.field { border: 0; padding: 0; margin: 0; }
fieldset.field legend { font-size: var(--fs-s); font-weight: 500; margin-bottom: 4px; }
.footer-partner { display: flex; align-items: center; gap: var(--sp-3); font-size: var(--fs-xs); color: var(--muted); }
.davar { font: 700 15px/1 var(--font-text); letter-spacing: 0.12em; color: var(--ink); text-decoration: none; padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 3px; min-height: 32px; display: inline-flex; align-items: center; }
.davar:hover { color: var(--accent); }
/* lišta častí profilu: názov firmy ostáva viditeľný pri posúvaní */
.section-nav .wrap.section-nav__wrap { display: flex; flex-direction: column; gap: 0; overflow: visible; padding-top: 6px; }
.section-nav__name { font-family: var(--font-display); font-size: var(--fs-s); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.section-nav__links { display: flex; gap: var(--sp-5); overflow-x: auto; scrollbar-width: none; }
.section-nav__links a { min-height: 40px; }
.split--donuts { grid-template-columns: minmax(0, 1fr) !important; gap: var(--sp-6); }
.donut__body { grid-template-columns: 120px minmax(0, 26rem); }
.donut svg { width: 120px; height: 120px; }
.legend dt { min-width: 0; }
.legend > div { grid-template-columns: minmax(0, 1fr) 7rem 4rem; }
.legend dd { text-align: right; white-space: nowrap; }
/* jazyky v päte bez oddeľovačov, iba medzera */
.footer-langs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--sp-5); }
.verify__h { font-family: var(--font-text); font-size: var(--fs-s); font-weight: 600; margin: var(--sp-5) 0 0; }
.panel--events .verify { margin-top: var(--sp-2); }
@media (min-width: 1100px) { .panel--events .verify { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* panel Preverenie: rovnaká výška riadkov aj s odkazom */
.panel--events .events > div { min-height: 44px; align-items: center; padding-block: 6px; }
.panel--events .events a { min-height: 0; display: inline; }
.facts--wide .facts__row { grid-template-columns: minmax(10rem, 30%) minmax(0, 1fr) 0; }

/* ---------- 30. Profil v26 (09.10.2026): tržby a výnosy, kľúčové čísla, vzťahy so štátom, ikonky i ---------- */
.info::before { content: "i"; }
.info__pop strong { display: block; margin-bottom: 4px; font-weight: 600; }
.table th .info { width: 18px; height: 18px; font-size: 11px; vertical-align: 0; }
/* farby radov overene validatorom: trzby a vynosy v svetlom aj tmavom rezime */
:root { --c-rev: #4A5DE0; --c-inc: #009485; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --c-rev: #7584F0; --c-inc: #1A9E91; } }
:root[data-theme="dark"] { --c-rev: #7584F0; --c-inc: #1A9E91; }
.tabs { flex-wrap: wrap; row-gap: 6px; }
#m-both:checked ~ .tabs label[for="m-both"],
#m-inc:checked ~ .tabs label[for="m-inc"] { color: var(--ink); border-bottom-color: var(--accent); }
#m-both:focus-visible ~ .tabs label[for="m-both"],
#m-inc:focus-visible ~ .tabs label[for="m-inc"] { outline: 2px solid var(--focus); outline-offset: 2px; }
#m-both:checked ~ .chart--both, #m-inc:checked ~ .chart--inc { display: block; }
.bars--pair { gap: 14px; }
.pair { flex: 1; display: flex; align-items: flex-end; gap: 3px; height: 100%; }
.pair i { flex: 1; display: block; border-radius: 3px 3px 0 0; }
.pair__rev { background: var(--c-rev); }
.pair__inc { background: var(--c-inc); }
.bars--inc .bar i { background: color-mix(in srgb, var(--c-inc) 22%, var(--surface)); }
.bars--inc .bar--last i { background: var(--c-inc); }
.sw--rev { background: var(--c-rev); } .sw--inc { background: var(--c-inc); }
.pairleg { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 var(--sp-6); font-size: var(--fs-s); margin: var(--sp-3) 0 0; }
.pairleg > div { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-2); min-height: 38px; border-top: 1px solid var(--line); }
.pairleg dt { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.pairleg dd { margin: 0; text-align: right; }
@media (min-width: 560px) { .pairleg { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pairleg__diff { grid-column: 1 / -1; } }
.first__side { display: flex; flex-direction: column; gap: var(--sp-6); min-width: 0; }
.kpi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5) var(--sp-6); margin: 0; }
.kpi > div { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--line); padding-top: var(--sp-2); min-width: 0; }
.kpi dt { font-size: var(--fs-s); color: var(--muted); display: flex; align-items: center; flex-wrap: wrap; }
.kpi dd { margin: 0; }
.kpi .num { font-family: var(--font-display); font-size: clamp(20px, 5vw, 26px); line-height: 1.15; white-space: nowrap; }
.kpi__prev { font-size: var(--fs-xs); color: var(--muted); }
.state-tiles { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-5) var(--sp-6); margin: 0; }
.state-tiles > div { display: flex; flex-direction: column; gap: 2px; border-top: 2px solid var(--accent); padding-top: var(--sp-3); min-width: 0; }
.state-tiles dt { font-size: var(--fs-s); color: var(--muted); display: flex; align-items: center; flex-wrap: wrap; }
.state-tiles dd { margin: 0; }
.state-tile__big { font-family: var(--font-display); font-size: clamp(22px, 6vw, 30px); line-height: 1.15; white-space: nowrap; }
.state-tile__cnt { font-size: var(--fs-s); }
.state-tile__note { font-size: var(--fs-xs); color: var(--muted); }
.state__none { margin: 0; font-size: var(--fs-s); color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; }
@media (min-width: 720px) { .state-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1060px) { .state-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.main-cards { display: flex; flex-direction: column; gap: var(--sp-6); padding-block: var(--sp-6) var(--sp-12); }
.cards-2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-6); }
@media (min-width: 900px) { .cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; } }
@media (min-width: 1000px) { .main-cards .split--donuts { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: var(--sp-10, 40px); } }
.legend > div { grid-template-columns: minmax(0, 1fr) auto 3.6rem; }
.legend dt, .kpi dt, .state-tiles dt, .pairleg dt { display: block; }
.legend .sw, .pairleg .sw { display: inline-block; margin-right: 8px; vertical-align: 0; }
.main-cards .donut__body { grid-template-columns: 124px minmax(0, 1fr); gap: var(--sp-4); }
.main-cards .donut svg { width: 124px; height: 124px; }
.first__side { order: 2; }
.first__side > .panel { order: 0; }
@media (min-width: 900px) { .first__side { order: 0; } }
/* skladany stlpec trzby + ostatne vynosy = vynosy (09.10.2026) */
.bars--stack { gap: 14px; }
.stack { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; gap: 2px; height: 100%; font-size: 11px; color: var(--muted); text-align: center; }
.stack i { display: block; width: 100%; }
.stack__rev { background: var(--c-rev); }
.stack__inc { background: var(--c-inc); }
.stack > i:first-of-type { border-radius: 4px 4px 0 0; }
.stack--last { color: var(--ink); font-weight: 500; }
.stack__val { line-height: 1.2; margin-bottom: 2px; }
.pairleg { grid-template-columns: minmax(0, 1fr) !important; } .pairleg dd { white-space: nowrap; }
/* tabulka financii na mobile: cisla v jednom riadku, posun do strany, rok ostava viditelny (09.10.2026) */
.table--scroll th, .table--scroll td { white-space: nowrap; padding-left: var(--sp-4); }
.table--scroll th:first-child, .table--scroll td:first-child { padding-left: 0; padding-right: var(--sp-3); position: sticky; left: 0; background: var(--surface); z-index: 1; }
.table--scroll th { vertical-align: bottom; }
.table-wrap { -webkit-overflow-scrolling: touch; }
.scroll-hint { display: none; margin: 0; font-size: var(--fs-xs); color: var(--muted); }
@media (max-width: 899px) { .scroll-hint { display: block; } }
.kv--ind dd { white-space: nowrap; }
/* osoby vo firme na mobile: kazdy riadok ako karta (meno, funkcia, od, do) */
@media (max-width: 599px) {
  .table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table--stack, .table--stack tbody { display: block; }
  .table--stack tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--sp-3); padding-block: 10px; border-top: 1px solid var(--line); }
  .table--stack tr:last-child { border-bottom: 1px solid var(--line); }
  .table--stack td { border: 0 !important; padding: 0; text-align: left; }
  .table--stack td:nth-child(1) { grid-column: 1 / -1; font-weight: 500; }
  .table--stack td:nth-child(2) { grid-row: 2 / 4; color: var(--muted); }
  .table--stack td:nth-child(3), .table--stack td:nth-child(4) { grid-column: 2; text-align: right; font-variant-numeric: tabular-nums; }
  .table--stack td:nth-child(3)::before { content: "od "; color: var(--muted); }
  .table--stack td:nth-child(4)::before { content: "do "; color: var(--muted); }
}
@media (max-width: 599px) { .table--stack td.trva::before { content: none; } }
/* kolace na mobile: prstenec nad legendou, legenda cez celu sirku (09.10.2026) */
@media (max-width: 599px) {
  .donut__body, .main-cards .donut__body { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: var(--sp-4); }
  .legend { width: 100%; }
  .legend > div { grid-template-columns: minmax(0, 1fr) auto 3.4rem; min-height: 40px; padding-block: 4px; }
  .legend dd { white-space: nowrap; }
}
/* suvaha na vrchu kapitoly Financie (09.10.2026): kazda strana cez celu sirku, skupiny s podpolozkami, sucet, predchadzajuci rok */
:root { --s5: #9A98A6; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --s5: #6E6C7A; } }
:root[data-theme="dark"] { --s5: #6E6C7A; }
.seg--5 { stroke: var(--s5); } .sw--5 { background: var(--s5); }
.fin-sub--first { border-top: 0; padding-top: 0; }
.bs__lead { margin: 0; font-size: var(--fs-s); color: var(--muted); max-width: 70ch; }
.bs { display: flex; flex-direction: column; gap: var(--sp-4); padding-top: var(--sp-5); border-top: 1px solid var(--line); }
.bs + .bs { margin-top: var(--sp-4); }
.bs__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--sp-2) var(--sp-6); }
.bs__head h3 { margin: 0; font-size: 18px; font-weight: 600; }
.bs__total { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.bs__total-lbl { font-size: var(--fs-s); color: var(--muted); }
.bs__total .num { font-size: 24px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; }
.bs__total .muted { font-size: var(--fs-s); white-space: nowrap; }
.bs__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-5); align-items: start; }
.bs__donut { width: 170px; height: 170px; justify-self: center; }
.bs__donut .seg { fill: none; stroke-width: 16; }
.bs__table { width: 100%; border-collapse: collapse; font-size: var(--fs-s); font-variant-numeric: tabular-nums; }
.bs__table th, .bs__table td { padding: 7px 0 7px var(--sp-4); text-align: right; white-space: nowrap; font-weight: 400; }
.bs__table th:first-child { padding-left: 0; text-align: left; white-space: normal; }
.bs__table thead th { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-bottom: 6px; }
.bs__grp th, .bs__grp td { border-top: 1px solid var(--line); font-weight: 500; padding-top: 10px; }
.bs__grp th .sw { display: inline-block; margin-right: 8px; vertical-align: 0; }
.bs__sub th { padding-left: 18px !important; color: var(--muted); }
.bs__sub td { color: var(--muted); }
.bs__sub th, .bs__sub td { padding-top: 3px; padding-bottom: 3px; }
.bs__pct, .bs__prev { color: var(--muted); }
.bs__table tfoot th, .bs__table tfoot td { border-top: 2px solid var(--ink); font-weight: 600; color: var(--ink); padding-top: 10px; }
@media (min-width: 760px) {
  .bs__body { grid-template-columns: 200px minmax(0, 1fr); gap: var(--sp-8); }
  .bs__donut { width: 200px; height: 200px; position: sticky; top: 120px; }
}
@media (max-width: 479px) { .bs__table .bs__prev { display: none; } .bs__sub th { padding-left: 12px !important; } }
@media (max-width: 479px) { .bs__table { font-size: 13px; } .bs__table th, .bs__table td { padding-left: 10px; } }
/* logo DAVAR v päte (09.10.2026): vlastný súbor davar-logo.svg, v tmavom režime biele */
.davar { border: 0; padding: 4px 0; min-height: 36px; }
.davar img { display: block; height: 28px; width: auto; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .davar img { filter: brightness(0) invert(1); opacity: .92; } }
:root[data-theme="dark"] .davar img { filter: brightness(0) invert(1); opacity: .92; }
.partner-logo { margin: var(--sp-4) 0 0; }
.partner-logo img { height: 48px; width: auto; display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .partner-logo img { filter: brightness(0) invert(1); opacity: .92; } }
:root[data-theme="dark"] .partner-logo img { filter: brightness(0) invert(1); opacity: .92; }
/* konkurzy a reštrukturalizácie (10.10.2026) */
.panel--konanie { margin-top: 8px; }
.kon { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 var(--sp-8); margin: 0; font-size: var(--fs-s); }
.kon > div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: var(--sp-3); padding-block: 8px; border-top: 1px solid var(--line); }
.kon dt { color: var(--muted); }
.kon dd { margin: 0; }
@media (min-width: 900px) { .kon { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kon__note, .kon-tip { margin: 0; font-size: var(--fs-s); line-height: 1.55; padding: 12px 14px; border-left: 3px solid var(--ink); background: var(--surface-2); border-radius: 0 8px 8px 0; max-width: 80ch; }
.kon-tip { margin-top: var(--sp-4); }
.filter-pills { display: flex; flex-wrap: wrap; gap: 6px; padding-top: var(--sp-5); }
.filter-pills a { min-height: 36px; display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font-size: var(--fs-s); color: var(--ink); text-decoration: none; }
.filter-pills a[aria-current] { background: var(--accent-soft); border-color: transparent; color: var(--accent); }
/* fázy konania: priebeh (začaté -> vyhlásené -> skončené) a legenda fáz (10.10.2026) */
.kon-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; font-size: var(--fs-s); }
.kon-steps li { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; padding: 6px 0 6px 22px; }
.kon-steps li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; border: 2px solid var(--ink); background: var(--surface); }
.kon-steps li.done::before { background: var(--muted); border-color: var(--muted); }
.kon-steps li.now::before { background: var(--ink); }
.kon-steps li.next { color: var(--muted); }
.kon-steps li.next::before { border-color: var(--line-strong); border-style: dashed; }
.kon-steps__d { min-width: 6.5rem; color: var(--muted); }
.kon-steps li.now .kon-steps__t { font-weight: 600; }
@media (min-width: 900px) {
  .kon-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); padding-top: 6px; }
  .kon-steps li { flex-direction: column; align-items: flex-start; padding: 8px 0 4px 22px; }
  .kon-steps li::before { top: 16px; margin-top: 0; }
}
.kon-legend { list-style: none; margin: var(--sp-3) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: var(--fs-s); color: var(--muted); }
.kon-legend li { display: inline-flex; align-items: center; }

/* ---------- 30. Obsahové stránky z Markdownu (etapa 2) ---------- */
.prose h1 { font-size: var(--fs-2xl); }
.prose h3 { font-size: var(--fs-l); padding-top: var(--sp-2); }
.prose table { display: block; overflow-x: auto; border-collapse: collapse; font-size: var(--fs-s); max-width: 100%; }
.prose th, .prose td { padding: 8px 10px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; min-width: 120px; }
.prose th { font-weight: 600; color: var(--muted); }
.prose a { overflow-wrap: anywhere; }
.chyba-udaja { background: #fde68a; color: #7c2d12; padding: 0 4px; border-radius: 3px; }
.day-head { padding-top: var(--sp-6); }

/* ---------- 31. Hlavička profilu bez zbytočných riadkov (pripomienka zadávateľa 17.11.2026) ----------
   Stav firmy je štítok hneď za názvom, kopírovanie pri názve; názov v lište sekcií sa ukáže až pri posúvaní,
   keď hlavný názov zmizne z obrazovky. */
.profile-head .wrap { padding-block: var(--sp-6) var(--sp-5); gap: 0; }
.profile-head .title-row { flex-wrap: wrap; align-items: center; column-gap: 10px; row-gap: 6px; }
.profile-head .title-row h1 { flex: 0 1 auto; min-width: 0; overflow-wrap: anywhere; }
.profile-head .title-row .btn-icon { flex-shrink: 0; }
.state--chip { font-size: var(--fs-s); padding: 3px 10px 3px 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); white-space: nowrap; }
.state--chip.state--active { border-color: color-mix(in srgb, currentColor 30%, transparent); }
.section-nav__name { display: none; }
.section-nav.is-stuck .section-nav__name { display: block; }
.section-nav .wrap.section-nav__wrap { padding-top: 0; }
.section-nav.is-stuck .wrap.section-nav__wrap { padding-top: 6px; }
/* názov, kopírovanie a stav plynú v jednom riadku textu: ikona a štítok idú hneď za posledné slovo názvu */
.profile-head .title-row { display: block; }
.profile-head .title-row h1 { display: inline; margin-right: 6px; }
.profile-head .title-row .btn-icon, .profile-head .title-row .state--chip { vertical-align: 0.35em; margin-right: 6px; }
.profile-head .title-row .btn-icon { display: inline-flex; }
@media (max-width: 600px) {
  /* na mobile pri aktívnej firme iba značka, text stavu ostáva pre čítačky; iné stavy (zanikla, likvidácia) zostávajú celé */
  .state--chip.state--active { padding: 3px 5px; }
  .state--chip.state--active .state__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .profile-head .title-row .btn-icon, .profile-head .title-row .state--chip { vertical-align: 0.15em; }
}
/* posledné slovo názvu drží spolu s ikonou a štítkom, aby nezostali samé na novom riadku */
.title-glue { white-space: nowrap; }
.profile-head .title-row h1 { display: block; margin: 0; }
.profile-head .title-row h1 .btn-icon, .profile-head .title-row h1 .state--chip { font-family: var(--font-sans, inherit); letter-spacing: 0; margin-left: 4px; margin-right: 0; }
@media (max-width: 600px) { .profile-head .title-row h1 { font-size: 1.75rem; line-height: 1.2; } }
.profile-head .title-row h1 .btn-icon, .profile-head .title-row h1 .state--chip { vertical-align: middle; position: relative; top: -0.08em; margin-left: 2px; }

/* ---------- 32. Mobil (test náhľadu 18.11.2026, nálezy 5, 6, 10, 29, 30) ----------
   Identifikátory a IBAN sa nikdy nelámu uprostred čísla; pod 600 px je popis nad hodnotou cez celú šírku. */
.facts__row .num, .kv dd.num, .kv .num { white-space: nowrap; }
@media (max-width: 600px) {
  .facts__row { grid-template-columns: minmax(0, 1fr) 28px; grid-template-rows: auto auto; row-gap: 2px; align-items: start; }
  .facts__row dt { grid-column: 1; grid-row: 1; font-size: var(--fs-xs); }
  .facts__row dd { grid-column: 1; grid-row: 2; overflow-wrap: break-word; }
  .facts__row > .btn-icon, .facts__row > .facts__nocopy { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .kv > div { flex-wrap: wrap; row-gap: 0; padding-block: 6px; }
  .kv > div dt { flex: 1 1 100%; font-size: var(--fs-xs); }
  .kv > div dd { flex: 1 1 100%; text-align: left; }
  /* stav firmy aj textom (P11), štítok je krátky a zmestí sa za názov */
  .state--chip.state--active { padding: 3px 10px 3px 8px; }
  .state--chip.state--active .state__text { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}

/* ---------- 33. Prístupnosť a drobnosti (test 18.11.2026, nálezy 34, 36) ---------- */
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: #17171F; color: #fff; text-decoration: none; }
.skip-link:focus { top: 8px; }
#obsah:focus { outline: none; }
.firma-hlasenie { padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }

/* 34. Pôvod čísel roka v tabuľke hospodárenia (ODKAZ PRE WEB 25.11.2026) */
.table--scroll td.tb__src { white-space: normal; min-width: 14rem; font-size: .875em; color: var(--muted); }
.table--scroll td .facts__sub { display: block; min-width: 8.5rem; white-space: normal; font-size: .8125em; color: var(--muted); }

/* 35. Odkaz pod hodnotou ako samostatná akcia (štatutári v obchodnom registri, pripomienka 25.11.2026) */
.facts__action { display: block; width: fit-content; margin-top: var(--sp-1, .25rem); font-size: var(--fs-s); }

/* 36. Štítok prebiehajúceho konania pod názvom firmy (rozhodnutie 25.11.2026) */
.head-konanie { margin: var(--sp-2, 8px) 0 0; }
.state--chip.state--konanie { white-space: normal; display: inline-flex; align-items: center; gap: 4px; }

/* 37. Novinky pre podnikateľov (ROZHRANIE MONITOR WEB 26.11.2026); štádium vždy viditeľné, návrh odlíšený */
.news-topics { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: var(--sp-4, 16px) 0; font-size: var(--fs-s); }
.news-topics a[aria-current] { font-weight: 600; text-decoration: none; color: var(--ink); }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-item { padding: var(--sp-4, 16px) 0; border-top: 1px solid var(--line); }
.news-item h2 { margin: 4px 0 6px; font-size: var(--fs-l); }
.news-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin: 0; font-size: var(--fs-s); color: var(--muted); }
.news-meta--small { font-size: var(--fs-xs); display: block; }
.news-stage { display: inline-block; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); font-size: var(--fs-xs); font-weight: 600; }
.news-stage--draft { border-style: dashed; }
.news-draft-note { padding: 10px 14px; border-left: 3px solid var(--line); background: var(--surface-2); }
.news-box { margin: var(--sp-4, 16px) 0; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.news-box h2 { margin: 0 0 8px; font-size: var(--fs-m); font-weight: 600; }
.news-numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: var(--sp-4, 16px) 0; }
.news-numbers dt { font-size: var(--fs-xl); font-weight: 600; }
.news-numbers dd { margin: 0; color: var(--muted); }
.news-sources ul { padding-left: 1.2em; }
.news-foot { margin-top: var(--sp-4, 16px); font-size: var(--fs-s); }
.news-empty { padding: var(--sp-4, 16px) 0; color: var(--muted); }
.news-company ul { list-style: none; padding: 0; margin: 8px 0; }
.news-company li { padding: 6px 0; }

/* 38: popis s „i“ sa nerozdelí; dlhá hodnota v preverení ide pod popis (0.7.2) */
.lbl-end { white-space: nowrap; }
.lbl-end .info__pop { white-space: normal; }
.events .ev-note, .events__debt { flex-basis: 100%; }
