/* Dědictví: návrhová soustava interních stránek (.ded-ui)
   ------------------------------------------------------------------------
   Jedna sada dílů pro rozhraní komise, jednání, náhledy, oponenturu, Můj
   účet, otevřená data a dokumenty. Tokeny jsou tytéž, co má veřejná šablona
   (černý text, červená jen na akci, šedý pás #efefef jako jediné ztlumené
   pozadí, vlasová linka, Open Sans, šikmý řez tlačítek). Typ záznamu se
   rozlišuje slovem (Žádost, Mistr), ne barvou. Nový prvek vzniká tady, ne
   ve stránce. Předloha: docs/prototypy/navrhova-soustava-interni.html. */

.ded-ui {
	--ui-ink: var(--ded-w-ink, #000);
	--ui-soft: var(--ded-w-soft, #4a4a4a);
	--ui-mut: var(--ded-w-mut, #7d7d7d);
	--ui-line: var(--ded-w-line, #e2e2e2);
	--ui-band: var(--ded-w-band, #efefef);
	--ui-paper: #fff;
	--ui-red: var(--ded-w-red, #a81521);
	--ui-red-tm: var(--ded-w-red-tm, #7e0f18);
	--ui-ok: #1f6b3a;
	--ui-warn: #7a5600;
	--ui-err: #a81521;
	--ui-rez: var(--ded-w-rez, 15px);
	font-family: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	color: var(--ui-ink);
	line-height: 1.55;
	font-size: 16px;
	max-width: none;
	margin: 0 0 4rem;
	padding: 0;
	box-sizing: border-box;
}
/* Pásy: sekce se střídají na bílém a šedém pásu přes celou šířku, čísla
   v černém pásu. Členění dělají plochy, ne čáry. Hlavní prvek stránky je
   alignfull, uvnitř každého pásu .in drží šířku obsahu šablony. */
.ded-ui .pas { padding: 36px 0; }
.ded-ui .pas.sedy { background: var(--ui-band); }
.ded-ui .pas.cerny { background: var(--ui-ink); color: var(--ui-paper); }
.ded-ui .pas.cerny a { color: var(--ui-paper); }
.ded-ui .pas.cerny .t-meta, .ded-ui .pas.cerny .cisla span { color: var(--ui-paper); opacity: .8; }
.ded-ui .pas.cerny .cisla a, .ded-ui .pas.cerny .cisla div, .ded-ui .pas.cerny .cisla b { color: var(--ui-paper); }
.ded-ui .in { max-width: var(--wp--style--global--content-size, 1400px); margin: 0 auto; padding-left: var(--wp--style--root--padding-left, 1.25rem); padding-right: var(--wp--style--root--padding-right, 1.25rem); }
.ded-ui .dva { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.ded-ui .dva > * { min-width: 0; }
.ded-ui *, .ded-ui *::before, .ded-ui *::after { box-sizing: border-box; }
.ded-ui h1, .ded-ui h2, .ded-ui h3, .ded-ui p, .ded-ui ul, .ded-ui ol { margin: 0; }
.ded-ui ul, .ded-ui ol { padding: 0; list-style: none; }
.ded-ui a { color: var(--ui-red); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ded-ui a:hover { text-decoration-thickness: 2px; }
.ded-ui a:focus-visible, .ded-ui button:focus-visible, .ded-ui input:focus-visible, .ded-ui select:focus-visible, .ded-ui textarea:focus-visible { outline: 3px solid var(--ui-red); outline-offset: 2px; }

/* Typografie: čtyři velikosti a nic mezi tím. */
.ded-ui .t-titul { font-size: clamp(28px, 4vw, 36px); font-weight: 800; line-height: 1.1; letter-spacing: -.01em; color: var(--ui-ink); }
.ded-ui .t-nadpis { font-size: 20px; font-weight: 700; line-height: 1.25; }
.ded-ui .t-text { font-size: 16px; }
.ded-ui .t-meta { font-size: 14px; color: var(--ui-soft); }
.ded-ui .t-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ui-ink); }

/* Hlavička stránky: titul, řádek o uživateli, akce vpravo. */
.ded-ui .hlava { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; margin: 0 0 22px; }
.ded-ui .hlava .t-meta { margin-top: 6px; }
.ded-ui .hlava .akce { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.ded-ui .drob { font-size: 14px; color: var(--ui-soft); margin: 0 0 12px; }

/* Lišta správce: jediná černá plocha na stránce. */
.ded-ui .sprava { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; background: var(--ui-ink); color: var(--ui-paper); padding: 10px 16px; margin: 0 0 22px; font-size: 14px; }
.ded-ui .sprava .odkazy { display: flex; gap: 8px; flex-wrap: wrap; }
.ded-ui .sprava .tl { border-color: var(--ui-paper); color: var(--ui-paper); background: transparent; }
.ded-ui .sprava .tl.prim { background: var(--ui-red); border-color: var(--ui-red); color: var(--ui-paper); }

/* Sdělení po akci (potvrzení účasti, chyba). */
.ded-ui .flash { padding: 10px 14px; margin: 0 0 18px; background: var(--ui-band); font-size: 15px; border-left: 0; }
.ded-ui .flash.ok { color: var(--ui-ok); font-weight: 600; }
.ded-ui .flash.err { color: var(--ui-err); font-weight: 600; }

/* Sekce: eyebrow s počtem, černá linka. Žádné rámečky ani barevné plochy. */
.ded-ui .sekce { margin: 0 0 8px; }
.ded-ui .sekce + .sekce { margin-top: 36px; }
.ded-ui .sekce > .sh { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.ded-ui .sekce > .sh .t-eyebrow { font-size: 24px; font-weight: 800; letter-spacing: 0; text-transform: none; line-height: 1.2; }
.ded-ui .sekce > .sh .pocet { font-size: 14px; font-weight: 600; color: var(--ui-mut); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ded-ui .sekce > .pod { font-size: 14px; color: var(--ui-mut); margin: 0 0 14px; }
.ded-ui .sekce > .vic { padding-top: 10px; font-size: 15px; }

/* Řádek seznamu: název, pod ním meta, vpravo stav nebo datum. */
.ded-ui .radek { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 20px; align-items: baseline; padding: 12px 0; }
.ded-ui .radek .n { font-weight: 700; font-size: 17px; }
.ded-ui .radek .n a { color: var(--ui-ink); text-decoration: none; }
.ded-ui .radek .n a:hover { text-decoration: underline; }
.ded-ui .radek .m { font-size: 14px; color: var(--ui-soft); grid-column: 1; }
.ded-ui .radek .n { grid-column: 1; grid-row: 1; }
.ded-ui .radek .p { grid-column: 2; grid-row: 1; align-self: baseline; text-align: right; font-size: 14px; color: var(--ui-mut); white-space: nowrap; }
.ded-ui .radek .m .odkazy { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; }

/* Osoba: jméno a role. */
.ded-ui .osoba { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 5px 0; }
.ded-ui .osoba b { font-weight: 600; }
.ded-ui .osoba span { font-size: 13px; color: var(--ui-mut); white-space: nowrap; }
.ded-ui .osoba.hl span { color: var(--ui-red); font-weight: 700; }

/* Štítek stavu: tichý, barvu nese jen text. */
.ded-ui .stav { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .02em; padding: 2px 9px; background: var(--ui-band); color: var(--ui-soft); border-radius: 2px; white-space: nowrap; line-height: 1.6; }
.ded-ui .stav.ok { color: var(--ui-ok); }
.ded-ui .stav.warn { color: var(--ui-warn); }
.ded-ui .stav.err { color: var(--ui-err); }
.ded-ui .stav.ted { background: var(--ui-ink); color: var(--ui-paper); }

/* Tlačítka: jedno červené na obrazovku, ostatní obrys nebo odkaz. */
.ded-ui .tl { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 18px; font-weight: 700; font-size: 15px; text-decoration: none; border: 2px solid var(--ui-ink); background: var(--ui-paper); color: var(--ui-ink); border-radius: 0; cursor: pointer; font-family: inherit; line-height: 1.3; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--ui-rez)), calc(100% - var(--ui-rez)) 100%, 0 100%); }
.ded-ui .tl:hover { background: var(--ui-band); text-decoration: none; }
.ded-ui .tl.prim { background: var(--ui-red); border-color: var(--ui-red); color: var(--ui-paper); }
.ded-ui .tl.prim:hover { background: var(--ui-red-tm); border-color: var(--ui-red-tm); }
.ded-ui .tl.mal { min-height: 34px; padding: 4px 12px; font-size: 14px; }
.ded-ui .odkaz { background: none; border: 0; padding: 0; color: var(--ui-red); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; cursor: pointer; font-family: inherit; font-size: inherit; }
.ded-ui .tls { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* Prázdný stav: jedna věta. */
.ded-ui .prazd { padding: 14px 0; color: var(--ui-mut); font-size: 15px; }

/* Čísla jako sazba. */
.ded-ui .cisla { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; margin: 22px 0 0; }
.ded-ui .cisla a, .ded-ui .cisla div { display: block; text-decoration: none; color: var(--ui-ink); }
.ded-ui .cisla b { display: block; font-size: 48px; line-height: 1; font-weight: 800; font-variant-numeric: tabular-nums; }
.ded-ui .cisla span { font-size: 14px; color: var(--ui-soft); }

/* Program: číslovaný seznam, čísla v sazbě, výsledek na šedém pásu. */
.ded-ui .program { counter-reset: b; }
.ded-ui .program > li { counter-increment: b; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 2px 10px; padding: 12px 0; }
.ded-ui .program > li::before { content: counter(b) "."; font-weight: 800; color: var(--ui-ink); font-variant-numeric: tabular-nums; grid-row: 1 / span 6; }
.ded-ui .program .tag { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ui-mut); margin-right: 8px; }
.ded-ui .program .n { font-weight: 700; font-size: 17px; }
.ded-ui .program .n a { color: var(--ui-ink); text-decoration: none; }
.ded-ui .program .n a:hover { text-decoration: underline; }
.ded-ui .program .m { font-size: 14px; color: var(--ui-soft); }
.ded-ui .program .popis { font-size: 15px; color: var(--ui-soft); margin-top: 4px; }
.ded-ui .program .popis p { margin: 0 0 6px; }
.ded-ui .program .prilohy { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; font-size: 14px; }
.ded-ui .program .vys { margin-top: 8px; padding: 10px 14px; background: var(--ui-band); font-size: 14px; display: flex; flex-direction: column; gap: 4px; }
.ded-ui .program .vys .r { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.ded-ui .program .vys em { font-style: italic; }
.ded-ui .pozn { font-size: 14px; color: var(--ui-mut); margin-top: 10px; }

/* Osa stavů. */
.ded-ui .osa { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; margin: 0 0 22px; }
.ded-ui .osa div { font-size: 13px; padding-top: 8px; border-top: 3px solid var(--ui-line); color: var(--ui-mut); }
.ded-ui .osa div.je { border-top-color: var(--ui-ink); color: var(--ui-soft); }
.ded-ui .osa div.ted { border-top-color: var(--ui-red); color: var(--ui-ink); font-weight: 700; }

/* Formulář. */
.ded-ui .pole { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; }
.ded-ui .pole input, .ded-ui .pole select, .ded-ui .pole textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 9px 12px; border: 1px solid var(--ui-soft); border-radius: 0; background: var(--ui-paper); color: var(--ui-ink); width: 100%; }
.ded-ui .pole small { font-weight: 400; color: var(--ui-mut); }
.ded-ui .pole.chyba input { border-color: var(--ui-err); }
.ded-ui .pole.chyba small { color: var(--ui-err); }

/* Tabulka. */
.ded-ui table { border-collapse: collapse; width: 100%; font-size: 15px; }
.ded-ui th { text-align: left; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ui-mut); padding: 6px 10px 8px 0; border-bottom: 2px solid var(--ui-ink); font-weight: 800; }
.ded-ui td { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--ui-line); vertical-align: top; }
.ded-ui td.c, .ded-ui th.c { text-align: right; font-variant-numeric: tabular-nums; }

/* Mřížka stránky. */
.ded-ui .mriz { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.ded-ui .mriz-karty { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 24px; }

/* Stránkování seznamů (klientské): skryté položky a ovládání. */
.ded-ui .dedictvi-pageable-hidden { display: none; }
.ded-ui .dedictvi-pageable-controls { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; padding-top: 12px; font-size: 14px; }
.ded-ui .dedictvi-pageable-btn { background: none; border: 0; padding: 0; color: var(--ui-red); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; cursor: pointer; font-family: inherit; font-size: 14px; }
.ded-ui .dedictvi-pageable-info { color: var(--ui-mut); }

@media (max-width: 800px) {
	.ded-ui .mriz { grid-template-columns: 1fr; gap: 24px; }
	.ded-ui .osa { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
	.ded-ui .radek .p { grid-row: auto; text-align: left; }
}

.ded-ui .pas.sedy .program .vys, .ded-ui .pas.sedy .stav, .ded-ui .pas.sedy .flash { background: var(--ui-paper); }
.ded-ui .mriz-karty .radek .n { font-size: 17px; }
.ded-ui .mriz-karty { gap: 0 32px; }
.ded-ui .sprava { margin: 0 0 22px; }
@media (max-width: 800px) {
	.ded-ui .dva { grid-template-columns: 1fr; gap: 28px; }
	.ded-ui .pas { padding: 26px 0; }
	.ded-ui .cisla { grid-template-columns: 1fr 1fr; }
}

/* ------------------------------------------------------------------------
   Díly pro náhledy, oponenturu a Můj účet (krok 2 soustavy).
   ------------------------------------------------------------------------ */

/* Dvojice klíč a hodnota: sazba bez rámečků, klíč tlumený nad hodnotou. */
.ded-ui .kv { display: grid; grid-template-columns: 1fr; gap: 12px 24px; margin: 0; }
.ded-ui .kv.dva-sl { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.ded-ui .kv > div { min-width: 0; }
.ded-ui .kv dt { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ui-mut); margin: 0 0 2px; }
.ded-ui .kv dd { margin: 0; font-size: 16px; color: var(--ui-ink); overflow-wrap: anywhere; }
.ded-ui .kv dd .mut { color: var(--ui-mut); }

/* Čtecí text: delší odstavce drží šířku řádku, ne šířku stránky. */
.ded-ui .text { font-size: 17px; line-height: 1.65; max-width: 74ch; color: var(--ui-ink); }
.ded-ui .text p { margin: 0 0 1em; }
.ded-ui .text p:last-child { margin-bottom: 0; }
.ded-ui .text ul, .ded-ui .text ol { padding-left: 1.3em; margin: 0 0 1em; }
.ded-ui .text ul { list-style: disc; }
.ded-ui .text ol { list-style: decimal; }
.ded-ui .text li { margin: 0 0 .3em; }
.ded-ui .text h3 { font-size: 20px; font-weight: 700; margin: 1.4em 0 .4em; }
.ded-ui .text h3:first-child { margin-top: 0; }
.ded-ui .sekce .text + .text { margin-top: 1em; }

/* Postranní sloupec drží při rolování. */
.ded-ui .lepi { position: sticky; top: 24px; }
.ded-ui .dva.uzky { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
.ded-ui .dva .sekce + .sekce { margin-top: 28px; }

/* Fotografie: mřížka, popisek pod snímkem, zvětšení kliknutím. */
.ded-ui .foto { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px 20px; }
.ded-ui .foto figure { margin: 0; min-width: 0; }
.ded-ui .foto a { display: block; position: relative; text-decoration: none; background: var(--ui-ink); }
.ded-ui .foto img, .ded-ui .portret img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.ded-ui .portret img { aspect-ratio: 3 / 4; max-width: 320px; }
.ded-ui .foto a img { transition: opacity .15s ease; }
.ded-ui .foto a:hover img, .ded-ui .foto a:focus-visible img { opacity: .85; }
.ded-ui .foto .zoom { position: absolute; right: 10px; bottom: 10px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: var(--ui-ink); color: var(--ui-paper); font-size: 16px; line-height: 1; opacity: 0; transition: opacity .15s ease; pointer-events: none; }
.ded-ui .foto a:hover .zoom, .ded-ui .foto a:focus-visible .zoom { opacity: 1; }
.ded-ui .foto figcaption, .ded-ui .portret figcaption { font-size: 13px; color: var(--ui-soft); margin-top: 6px; line-height: 1.45; }
.ded-ui .foto figcaption em, .ded-ui .portret figcaption em { color: var(--ui-mut); font-style: normal; }

/* Lightbox: černá plocha, snímek, zavření křížkem nebo klávesou Esc. */
.ded-lightbox { position: fixed; inset: 0; z-index: 99999; background: rgba(0, 0, 0, .92); display: flex; align-items: center; justify-content: center; padding: 32px; }
.ded-lightbox[hidden] { display: none; }
.ded-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ded-lightbox button { position: absolute; top: 14px; right: 20px; background: none; border: 0; color: #fff; font: 40px/1 'Open Sans', system-ui, sans-serif; cursor: pointer; padding: 0; width: 44px; height: 44px; }
.ded-lightbox button:hover { opacity: .7; }

/* Dokumenty a přílohy: název, za ním velikost. */
.ded-ui .dok li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 8px 0; }
.ded-ui .dok li a { color: var(--ui-ink); font-weight: 600; }
.ded-ui .dok li span { font-size: 13px; color: var(--ui-mut); }
.ded-ui .dok li img { display: block; width: 120px; height: 90px; object-fit: cover; }

/* Formulář: skupina polí, pomocný text, řada polí vedle sebe, patka s akcemi. */
.ded-ui form { margin: 0; }
.ded-ui form.uzka { max-width: 640px; }
.ded-ui .pole + .pole, .ded-ui .radka + .pole, .ded-ui .pole + .radka, .ded-ui .radka + .radka { margin-top: 18px; }
.ded-ui .pole > span:first-child, .ded-ui .pole > label:first-child, .ded-ui .pole legend { display: block; font-size: 13px; font-weight: 700; color: var(--ui-ink); margin: 0 0 2px; padding: 0; }
.ded-ui .pole .vol { font-weight: 400; color: var(--ui-mut); }
.ded-ui .pole .napo { font-size: 14px; font-weight: 400; color: var(--ui-soft); margin: 0 0 6px; }
.ded-ui .pole textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.ded-ui .pole input::placeholder, .ded-ui .pole textarea::placeholder { color: var(--ui-mut); }
.ded-ui fieldset.pole { border: 0; margin: 0; padding: 0; min-width: 0; }
.ded-ui .radka { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.ded-ui .radka .pole { margin: 0; }
.ded-ui .radka .cela { grid-column: 1 / -1; }
.ded-ui .akce-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }
.ded-ui .pozn a { color: var(--ui-red); }

/* Volba závěru: tři možnosti vedle sebe, zvolená je černá. */
.ded-ui .volby { display: flex; flex-wrap: wrap; gap: 10px; }
.ded-ui .volba { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 2px solid var(--ui-ink); background: var(--ui-paper); font-weight: 700; font-size: 15px; cursor: pointer; line-height: 1.3; }
.ded-ui .volba input { margin: 0; width: auto; accent-color: var(--ui-ink); }
.ded-ui .volba:hover { background: var(--ui-band); }
.ded-ui .volba.is-checked { background: var(--ui-ink); color: var(--ui-paper); }
.ded-ui .pas.sedy .volba { background: var(--ui-paper); }
.ded-ui .pas.sedy .volba.is-checked { background: var(--ui-ink); }

/* Nahrání souboru: plocha s čárkovaným obrysem, stav vybraného souboru. */
.ded-ui .dropzone { display: block; padding: 22px 20px; border: 2px dashed var(--ui-soft); text-align: center; cursor: pointer; background: var(--ui-paper); color: var(--ui-soft); font-size: 15px; }
.ded-ui .dropzone:hover, .ded-ui .dropzone.is-dragover { border-color: var(--ui-ink); color: var(--ui-ink); background: var(--ui-band); }
.ded-ui .dropzone.is-vybrano { border-style: solid; border-color: var(--ui-ink); }
.ded-ui .dropzone svg { display: block; margin: 0 auto 8px; }
.ded-ui .dropzone .typy { font-size: 13px; color: var(--ui-mut); margin-top: 4px; }
.ded-ui .dropzone .vybrano { margin-top: 10px; font-size: 14px; color: var(--ui-ink); }
.ded-ui .dropzone .vybrano:empty { display: none; }
.ded-ui .dropzone .vybrano svg { display: inline; vertical-align: -3px; margin: 0 4px 0 0; }
.ded-ui .soubor { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--ui-band); margin: 0 0 10px; font-size: 15px; }
.ded-ui .pas.sedy .soubor { background: var(--ui-paper); }
.ded-ui .soubor a { color: var(--ui-ink); font-weight: 600; }
.ded-ui .soubor { flex-wrap: wrap; }
.ded-ui .soubor .m { font-size: 13px; color: var(--ui-mut); margin-left: auto; }

/* Stav průběžného ukládání: jedna věta, barvu nese text. */
.ded-ui .autosave { font-size: 14px; color: var(--ui-mut); margin-top: 18px; }
.ded-ui .autosave.saving { color: var(--ui-warn); }
.ded-ui .autosave.success { color: var(--ui-ok); }
.ded-ui .autosave.error { color: var(--ui-err); font-weight: 600; }

/* Patka interních stránek: odkazy vedle sebe. */
.ded-ui .pata { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 36px; font-size: 14px; }
.ded-ui .pata a { color: var(--ui-soft); }

@media (max-width: 800px) {
	.ded-ui .dva.uzky { grid-template-columns: 1fr; }
	.ded-ui .radka { grid-template-columns: 1fr; }
	.ded-ui .lepi { position: static; }
	.ded-ui .foto { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px 12px; }
	.ded-ui .text { font-size: 16px; }
}

/* ------------------------------------------------------------------------
   Otevřená data (krok 3 soustavy): sady ke stažení a žebřík pěti hvězdiček.
   ------------------------------------------------------------------------ */
.ded-ui .pas.cerny .kv dt { color: var(--ui-paper); opacity: .7; }
.ded-ui .pas.cerny .kv dd { color: var(--ui-paper); }
.ded-ui .pas.cerny .t-nadpis { color: var(--ui-paper); }
.ded-ui .sady { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px 48px; }
.ded-ui .sekce > .sh + .sady { margin-top: 14px; }
.ded-ui .sada { min-width: 0; }
.ded-ui .sada .t-nadpis { margin: 0 0 8px; }
.ded-ui .sada .t-nadpis small { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ui-red); margin-left: 8px; }
.ded-ui .sada .t-text { color: var(--ui-soft); margin: 0 0 14px; }
.ded-ui .sada .tls { margin: 0; }
.ded-ui .zebrik li { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 2px 14px; padding: 10px 0; align-items: baseline; }
.ded-ui .zebrik .hv { grid-row: 1 / span 2; color: var(--ui-red); font-size: 13px; letter-spacing: .06em; white-space: nowrap; }
.ded-ui .zebrik .n { font-weight: 700; font-size: 16px; }
.ded-ui .zebrik .m { grid-column: 2; font-size: 14px; color: var(--ui-soft); }
.ded-ui .zebrik .p { grid-column: 3; grid-row: 1; }
.ded-ui .zebrik + .pozn { margin-top: 6px; }
@media (max-width: 800px) {
	.ded-ui .zebrik li { grid-template-columns: 60px minmax(0, 1fr); }
	.ded-ui .zebrik .p { grid-column: 2; grid-row: auto; margin-top: 4px; }
}
