/* Povodňové tabulky v2.1.0. Styly jsou omezené na tabulky .pp-card .pp-table. */
.pp-card {
  --pp-primary:#4472c4;
  box-sizing:border-box;
  width:100%;max-width:100%;margin:24px 0;
  background:#fff;border:1px solid #dce6f2;border-radius:14px;
  overflow:hidden;box-shadow:0 4px 18px rgba(32,56,76,.055);
}
.pp-card *, .pp-card *::before, .pp-card *::after {box-sizing:border-box;}
.pp-card .pp-card-header {padding:20px 24px;}
.pp-card .pp-card-header h3 {margin:0!important;color:#20384c;font-family:inherit;font-size:20px;font-weight:700;line-height:1.35;}
.pp-card .pp-table-scroll {display:block!important;width:100%!important;max-width:100%!important;overflow-x:auto;-webkit-overflow-scrolling:touch;}
.pp-card table.pp-table {
 display:table!important;width:100%!important;max-width:none!important;
 min-width:var(--pp-min-width, 600px)!important;margin:0!important;
 border:0!important;border-spacing:0!important;border-collapse:collapse!important;
 table-layout:auto!important;background:#fff;color:#20384c;
 font-family:inherit;font-size:15px;line-height:1.5;
}
.pp-card table.pp-table.pp-table--fixed {table-layout:fixed!important;}
.pp-card .pp-table tr > th,.pp-card .pp-table tr > td {
 width:auto!important;padding:15px 14px!important;border:0!important;
 border-bottom:1px solid #e7edf5!important;
 background-color:transparent;color:inherit;text-align:center!important;
 vertical-align:middle!important;white-space:normal!important;
 overflow-wrap:break-word;word-break:normal;
}
.pp-card .pp-table tr > :first-child {text-align:left!important;}
.pp-card .pp-table tbody tr > :first-child {font-weight:700;}
.pp-card .pp-table td p,.pp-card .pp-table th p {margin:0!important;text-align:inherit!important;}
.pp-card .pp-table thead tr > * {
 background:var(--pp-primary)!important;color:#fff!important;
 font-size:15px!important;font-weight:700!important;line-height:1.38;
 border-bottom:0!important;
}
.pp-card .pp-table thead tr > * + * {border-left:1px solid rgba(255,255,255,.25)!important;}
/* Výchozí stav: žádné svislé čáry mezi datovými sloupci */
.pp-card .pp-table tbody tr:nth-child(odd) > * {background:#e9edf3!important;}
.pp-card .pp-table tbody tr:nth-child(even) > * {background:#fff!important;}
.pp-card .pp-table tbody tr:hover > * {background:#e4ecfa!important;}
.pp-card .pp-table tbody tr:last-child > * {border-bottom:0!important;}
.pp-card .pp-table.pp-table--columns tbody tr > * + * {border-left:1px solid rgba(68,114,196,.13)!important;}
.pp-card .pp-table.pp-table--compact tbody tr > * {padding-top:11px!important;padding-bottom:11px!important;}
.pp-card .pp-table.pp-table--contacts tbody tr {height:72px;}
.pp-card .pp-table.pp-table--contacts tbody tr > * {line-height:1.4!important;}
.pp-card .pp-table.pp-table--left tr > * {text-align:left!important;}
.pp-card .pp-table.pp-table--technical tbody tr > * {font-variant-numeric:tabular-nums;}
.pp-card .pp-table.pp-table--technical thead tr > * {font-size:14px!important;}
/* Adresář institucí – levý sloupec normálním písmem, vpravo kontaktní bloky. */
.pp-card .pp-table.pp-table--directory tbody tr > :first-child,
.pp-card .pp-table.pp-table--directory tbody tr > :first-child strong,
.pp-card .pp-table.pp-table--directory tbody tr > :first-child b {font-weight:400!important;}
.pp-card .pp-table.pp-table--directory tbody tr > :nth-child(2) {line-height:1.55!important;}
.pp-card .pp-table.pp-table--directory tbody tr > :nth-child(2) strong,
.pp-card .pp-table.pp-table--directory tbody tr > :nth-child(2) b {
 display:block!important;font-weight:700!important;margin-top:14px!important;margin-bottom:3px!important;
}
.pp-card .pp-table.pp-table--directory tbody tr > :nth-child(2) strong + br,
.pp-card .pp-table.pp-table--directory tbody tr > :nth-child(2) b + br {display:none!important;}
.pp-card .pp-table.pp-table--directory tbody tr > :nth-child(2) > strong:first-child,
.pp-card .pp-table.pp-table--directory tbody tr > :nth-child(2) > b:first-child {margin-top:0!important;}
/* Speciální barvy štítků pro průtoky. Význam je vždy uveden i textem. */
.pp-card .pp-q,.pp-q-legend .pp-q {
 display:inline-block;min-width:58px;padding:5px 10px;
 border:1px solid rgba(25,60,96,.13);border-radius:6px;
 color:#173a5c!important;font-family:inherit;font-size:13px;
 font-weight:700;line-height:1.35;text-align:center;white-space:nowrap;
}
.pp-card .pp-q--5,.pp-q-legend .pp-q--5 {background:#84a1c8;}
.pp-card .pp-q--10,.pp-q-legend .pp-q--10 {background:#87acda;}
.pp-card .pp-q--20,.pp-q-legend .pp-q--20 {background:#7eb7e7;}
.pp-card .pp-q--50,.pp-q-legend .pp-q--50 {background:#82cbe8;}
.pp-card .pp-q--100,.pp-q-legend .pp-q--100 {background:#91e5ef;}
.pp-card .pp-q--500,.pp-q-legend .pp-q--500 {background:#b8dcfa;}
/* Pouze hodnoty ano/ne ve sloupci Aktivní zóna / AZZÚ */
.pp-card .pp-zone-badge {
 display:inline-block;padding:5px 12px;border-radius:6px;
 border:1px solid;font-weight:700;font-size:13px;line-height:1.4;white-space:nowrap;
}
.pp-card .pp-zone-badge--yes {background:#f8dada!important;color:#a63d3d!important;border-color:#e7b1b1!important;}
.pp-card .pp-zone-badge--no {background:#c6ebd5!important;color:#166534!important;border-color:#8ccda6!important;}
.pp-card .pp-direction {display:inline-block;padding:5px 12px;border-radius:6px;background:#e3ebfc;color:#315ca8;font-size:13px;font-weight:600;white-space:nowrap;}
@media (max-width:600px) {
 .pp-card .pp-card-header {padding:17px 18px;}
 .pp-card .pp-card-header h3 {font-size:18px;}
 .pp-card .pp-table tr > th,.pp-card .pp-table tr > td {padding:12px 12px!important;}
}

/* Individuální barvy SPA ve vizuálním editoru v3; pouze explicitně označené buňky. */
.pp-card .pp-table.pp-table tr > .pp-cell-spa-1,
#ppve-preview .pp-card .pp-table tr > .pp-cell-spa-1,
#ppve-grid .ppve-edit-table tr > .pp-cell-spa-1 {background:#a7ffa7!important;color:#18324b!important;font-weight:700!important;}
.pp-card .pp-table.pp-table tr > .pp-cell-spa-2,
#ppve-preview .pp-card .pp-table tr > .pp-cell-spa-2,
#ppve-grid .ppve-edit-table tr > .pp-cell-spa-2 {background:#ffff97!important;color:#18324b!important;font-weight:700!important;}
.pp-card .pp-table.pp-table tr > .pp-cell-spa-3,
#ppve-preview .pp-card .pp-table tr > .pp-cell-spa-3,
#ppve-grid .ppve-edit-table tr > .pp-cell-spa-3 {background:#ff8975!important;color:#18324b!important;font-weight:700!important;}
/* Nové SPA vzory fungují i bez dPP Core; stávající .pp-spa-table nepřestylujeme. */

/* 3.0.1 – typografie buněk je nezávislá na globálních stylech šablony.
   Platí i pro dříve vložené tabulky, importované odstavce a odkazy. */
.pp-card table.pp-table {
  font-size:15px!important;
  line-height:1.5;
}
.pp-card table.pp-table tr > :is(td,th) {
  font-size:15px!important;
  line-height:1.5!important;
}
.pp-card table.pp-table thead tr > :is(td,th) {
  font-size:15px!important;
  line-height:1.38!important;
}
.pp-card table.pp-table.pp-table--technical thead tr > :is(td,th) {
  font-size:14px!important;
}
.pp-card table.pp-table.pp-table--contacts tbody tr > :is(td,th) {
  line-height:1.4!important;
}
.pp-card table.pp-table.pp-table--directory tbody tr > :nth-child(2) {
  line-height:1.55!important;
}
/* Zachování dosavadní výjimky adresáře krizových kontaktů. */
.pp-card table.pp-table.pp-kontakty-cernuc,
.pp-card table.pp-table.pp-kontakty-cernuc tbody tr > :is(td,th) {
  font-size:16px!important;
}
/* Odstavce a běžné formátování nesmí přebrat velikost textu z Elementoru.
   Speciální štítky a horní/dolní indexy si ponechají vlastní velikost. */
.pp-card table.pp-table tr > :is(td,th) :where(p,div,span,a,b,strong,i,em,u,s,del,ul,ol,li,abbr):not(.pp-q,.pp-zone-badge,.pp-direction) {
  font-size:inherit!important;
  line-height:inherit!important;
}
.pp-card table.pp-table tr > :is(td,th) :is(sup,sub) {
  font-size:.75em!important;
  line-height:0!important;
}
.pp-card table.pp-table tr > :is(td,th) :is(.pp-q,.pp-zone-badge,.pp-direction) {
  font-size:13px!important;
}
.pp-card table.pp-table tr > :is(td,th) .pp-q {line-height:1.35!important;}
.pp-card table.pp-table tr > :is(td,th) .pp-zone-badge {line-height:1.4!important;}

/* 3.0.2 – Word může přenést text buněk jako nadpisy h1–h6.
   Potlačíme typografii šablony jen uvnitř buněk, nikoliv nadpis karty. */
.pp-card table.pp-table tr > :is(td,th) :is(h1,h2,h3,h4,h5,h6) {
  font-size:inherit!important;
  line-height:inherit!important;
  font-family:inherit!important;
  font-weight:inherit!important;
  margin:0!important;
  padding:0!important;
  text-align:inherit!important;
  color:inherit;
}

/* 3.0.3 – tučné části vyčištěných buněk adresáře jsou přirozeně řádkové.
   Výslovná zalomení a odstavce zůstávají viditelná; staré nevyčištěné buňky
   zachovají původní styl (kvůli existujícím adresářům na dalších webech). */
.pp-card table.pp-table.pp-table--directory tbody tr > .pp-cell-natural-wrap:nth-child(2) :is(strong,b) {
 display:inline!important;margin:0!important;
}
.pp-card table.pp-table.pp-table--directory tbody tr > .pp-cell-natural-wrap:nth-child(2) :is(strong,b) + br {
 display:inline!important;
}
/* Rozměry a předformátované mezery přenesené do vnitřních úseků nesmí
   bránit přirozenému zalomení; speciální štítky si nechají vlastní styl. */
.pp-card table.pp-table tr > .pp-cell-natural-wrap :where(p,div,h1,h2,h3,h4,h5,h6,span,a,b,strong,i,em,u,s,del,abbr):not(.pp-q,.pp-zone-badge,.pp-direction) {
 white-space:normal!important;
}
