:root { --b: #1f4e79; --s: #f4f6f9; --t: #1d2430; --m: #6b7380; --r: #b42318; }
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--t); background: var(--s); }
.pruh-test { background: #6d28d9; color: #fff; text-align: center; font-size: 12px; padding: 2px; letter-spacing: .05em; }
header { display: flex; align-items: center; gap: 24px; padding: 12px 24px; background: #fff; border-bottom: 1px solid #dde2ea; }
header .logo { font-weight: 700; color: var(--b); text-decoration: none; }
header nav { display: flex; gap: 16px; flex: 1; }
header nav a { color: var(--t); text-decoration: none; }
.odhlasit { display: flex; gap: 8px; align-items: center; color: var(--m); }
main { max-width: 1100px; margin: 24px auto; padding: 0 24px; }
.karta { background: #fff; border: 1px solid #dde2ea; border-radius: 8px; padding: 20px 24px; margin-bottom: 16px; }
.uzka { max-width: 460px; margin: 60px auto; }
.tlacitko, button { display: inline-block; background: var(--b); color: #fff; border: 0; border-radius: 6px;
  padding: 7px 14px; font: inherit; text-decoration: none; cursor: pointer; }
header button, .akce button, li button { background: #fff; color: var(--b); border: 1px solid #c4ccd8; padding: 3px 10px; }
input { font: inherit; padding: 6px 10px; border: 1px solid #c4ccd8; border-radius: 6px; }
.radek { display: flex; gap: 8px; align-items: center; }
.pozn { color: var(--m); }
.chyba { color: var(--r); }
.stitek { font-size: 12px; background: #e6eef7; color: var(--b); border-radius: 4px; padding: 1px 6px; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #e8ebf0; }
tr.zadost { background: #fff8e6; }
tr.zablokovany { color: var(--m); }
.akce form { display: flex; gap: 6px; flex-wrap: wrap; }
.dlazdice { display: flex; gap: 16px; }
.dlazdice div { background: #fff; border: 1px solid #dde2ea; border-radius: 8px; padding: 16px 24px; min-width: 160px; }
.dlazdice b { display: block; font-size: 28px; color: var(--b); }
.volba { display: block; margin: 6px 0; }
ul { list-style: none; padding: 0; }
.sloupec { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.sloupec label { display: flex; flex-direction: column; gap: 4px; }
.sloupec label.volba { flex-direction: row; }
.hledani input { flex: 1; font-size: 17px; padding: 9px 12px; }
.hledani { margin: 12px 0 20px; }
.dlazdice a { background: #fff; border: 1px solid #dde2ea; border-radius: 8px; padding: 16px 24px; min-width: 160px; color: var(--t); text-decoration: none; }
.dlazdice a b { display: block; font-size: 28px; color: var(--b); }
.dlazdice { flex-wrap: wrap; margin-bottom: 16px; }
button.vedlejsi, .tlacitko.vedlejsi { background: #fff; color: var(--b); border: 1px solid #c4ccd8; }
.stitek.cerveny { background: #fde8e6; color: var(--r); }
.upozorneni { background: #fff8e6; border: 1px solid #f3d27a; padding: 8px 12px; border-radius: 6px; }
.vysledek { background: #fff; border: 1px solid #dde2ea; border-radius: 8px; padding: 12px 16px; margin-bottom: 10px; }
.vysledek .titulek { font-weight: 600; }
.cesta { color: var(--m); font-size: 13px; }
.text { white-space: pre-wrap; margin-top: 4px; }
mark { background: #fff1a8; padding: 0 1px; }
.uryvek { background: #fff; border-left: 3px solid #dde2ea; padding: 8px 14px; margin-bottom: 8px; }
.uryvek.zvyrazneny { border-left-color: var(--b); background: #f0f6fc; }
.vazby li { margin-bottom: 10px; }
.dva { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dva > div { background: var(--s); border-radius: 6px; padding: 10px 12px; min-width: 0; }
.rozpor .akce { margin-top: 10px; flex-wrap: wrap; }
tr.chyba td:last-child { color: var(--r); }
hr { border: 0; border-top: 1px solid #e8ebf0; margin: 18px 0; }
.kv { display: inline-block; min-width: 2.2em; text-align: center; border-radius: 4px; padding: 1px 6px; font-size: 13px; font-weight: 600; }
.kv-dobra { background: #e3f4e8; color: #1b6b35; }
.kv-stredni { background: #fff3d6; color: #8a5a00; }
.kv-slaba { background: #fde8e6; color: var(--r); }
h2 .kv { margin-left: 8px; vertical-align: middle; }
table.rozpad { width: auto; }
table.rozpad th { font-weight: normal; color: var(--m); padding-right: 24px; }
select { font: inherit; padding: 6px 8px; border: 1px solid #c4ccd8; border-radius: 6px; background: #fff; }
.hledani-hlava input { width: 220px; padding: 5px 10px; }
.naseptavac { position: relative; flex: 1; display: flex; }
.hledani-hlava .naseptavac { flex: none; }
.naseptavac > input { flex: 1; }
.naseptavac-seznam { position: absolute; top: 100%; left: 0; right: 0; min-width: 320px; z-index: 20; margin: 4px 0 0;
  background: #fff; border: 1px solid #c4ccd8; border-radius: 8px; box-shadow: 0 6px 20px rgba(20, 30, 50, .12);
  max-height: 70vh; overflow-y: auto; padding: 4px 0; }
.hledani-hlava .naseptavac-seznam { left: auto; width: 420px; }
.naseptavac-seznam li { padding: 6px 12px; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; }
.naseptavac-seznam li.vybrana { background: #eaf2fb; }
.naseptavac-seznam li.naseptavac-nadpis { cursor: default; font-size: 12px; color: var(--m); text-transform: uppercase;
  letter-spacing: .04em; padding: 8px 12px 2px; }
.naseptavac-typ { color: var(--m); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 45%; }
@media (max-width: 800px) { .hledani-hlava { display: none; } }
textarea { font: inherit; padding: 8px 10px; border: 1px solid #c4ccd8; border-radius: 6px; width: 100%; resize: vertical; }
.otazka-form { max-width: 760px; }
.otazka-rychla { margin: -8px 0 20px; }
.otazka-rychla input { flex: 1; }
.otazka-text { font-size: 22px; }
.odpoved p { line-height: 1.6; }
a.citace { font-size: 13px; background: #eef3f9; border-radius: 4px; padding: 0 5px; text-decoration: none; white-space: nowrap; }
ol.timeline { list-style: none; padding: 0; border-left: 2px solid #c4ccd8; margin-left: 8px; }
ol.timeline li { display: flex; gap: 16px; padding: 6px 0 12px 16px; position: relative; }
ol.timeline li::before { content: ""; position: absolute; left: -7px; top: 12px; width: 12px; height: 12px; border-radius: 50%; background: var(--b); }
ol.timeline .datum { min-width: 96px; font-weight: 600; color: var(--b); }
ul.historie li { margin-bottom: 6px; }
/* znalostní báze, karta dokumentu, lhůty, matice */
.mezera { justify-content: space-between; flex-wrap: wrap; }
.zalamovat { flex-wrap: wrap; margin: 8px 0; }
.roztahnout { flex: 1; min-width: 200px; }
.stitek.zeleny { background: #e3f4e8; color: #1b6b35; }
.hodnoceni-dulezite { background: #fde8e6; color: var(--r); }
.hodnoceni-nerelevantni { background: #eceef2; color: var(--m); }
table.pole th { font-weight: normal; color: var(--m); width: 26%; vertical-align: top; }
table.pole td { vertical-align: top; }
table.pole details summary { cursor: pointer; color: var(--b); font-size: 14px; }
.stitek-form { display: inline-flex; align-items: center; gap: 2px; }
button.mini { background: none; color: var(--m); border: 0; padding: 0 4px; }
.s-nahledem { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.nahled { position: sticky; top: 12px; }
.nahled iframe { width: 100%; height: 80vh; border: 1px solid #dde2ea; border-radius: 6px; background: #fff; }
.siroky, .siroky label, .siroky input, .siroky textarea, .siroky select { width: 100%; }
fieldset { border: 1px solid #e8ebf0; border-radius: 6px; width: 100%; display: flex; flex-direction: column; gap: 6px; }
.souhrn { font-size: 17px; }
.navrh { border-color: #f3d27a; background: #fffcf2; }
.citace-seznam summary { cursor: pointer; color: var(--m); font-size: 13px; }
.citace-seznam li { font-size: 14px; color: var(--m); margin-bottom: 4px; }
tr.lhuta-prosla td:first-child, li.lhuta-prosla { color: var(--r); font-weight: 600; }
tr.lhuta-7 td:first-child, li.lhuta-7 { color: var(--r); }
tr.lhuta-14 td:first-child, li.lhuta-14 { color: #8a5a00; }
tr.vyrizeno { color: var(--m); text-decoration: line-through; }
.siroka-tabulka { overflow-x: auto; }
table.matice td, table.matice th { font-size: 14px; vertical-align: top; min-width: 120px; }
table.matice td.navrh { color: var(--m); }
.jen-mobil { display: none; }
@media (max-width: 800px) {
  .jen-mobil { display: flex; }
  .s-nahledem { grid-template-columns: minmax(0, 1fr); }
  .nahled { position: static; }
  header nav { flex-wrap: wrap; }
}
.volba-inline { display: inline-flex; gap: 4px; align-items: center; margin-right: 10px; }
