/* ==========================================================================
   statmoc.css — styly stránky /jak-funguje-stat
   Vlastní režie stránky; přebírá barevné proměnné webu (--c-*) a fonty.
   Prefix tříd .sm-, kořen .statmoc.
   ========================================================================== */

.statmoc {
    /* vrstvy práva — sekvenční škála, bílý text uvnitř (kontrast >= 6:1) */
    --sm-l1: #4a2c6b;
    --sm-l2: #1c5a8f;
    --sm-l3: #0d6b52;
    --sm-l4: #7a5409;
    --sm-l5: #8a3a2a;
    /* rozpočet */
    --sm-pri: #1b5688;
    --sm-pri2: #24699f;
    --sm-vyd: #8a4a13;
    --sm-vyd2: #a35a1a;
    --sm-sch: #b3261e;
    /* akcenty komponenty „na papíře / v praxi" */
    --sm-papir: #5c6672;
    --sm-praxe: #b3261e;
    --sm-papir-soft: rgba(92, 102, 114, .08);
    --sm-praxe-soft: rgba(179, 38, 30, .07);
    max-width: 100%;
    font-family: var(--font-sans);
}

[data-theme="dark"] .statmoc {
    --sm-l1: #6b46a0;
    --sm-l2: #2d78ba;
    --sm-l3: #0f7a5e;
    --sm-l4: #9a6b0c;
    --sm-l5: #ad4835;
    --sm-pri: #2d78ba;
    --sm-pri2: #3d8bce;
    --sm-vyd: #a35a1a;
    --sm-vyd2: #bd6d24;
    --sm-sch: #d1453b;
    --sm-papir: #93a0b0;
    --sm-praxe: #e0685c;
    --sm-papir-soft: rgba(147, 160, 176, .1);
    --sm-praxe-soft: rgba(224, 104, 92, .1);
}

.statmoc section { margin: 0 0 3.2rem; }
.statmoc a { color: inherit; }

/* ---------- drobná typografie ---------- */
.sm-kicker {
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--c-text-muted);
    font-weight: 600;
    margin: 0 0 .4rem;
}
.sm-sec-head { margin: 0 0 1.2rem; }
.sm-sec-head h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.45rem, 3.4vw, 1.9rem);
    line-height: 1.15;
    margin: 0 0 .5rem;
    color: var(--c-text);
}
.sm-sec-head p {
    color: var(--c-text-secondary);
    max-width: 72ch;
    margin: 0 0 .4rem;
    line-height: 1.6;
}
.sm-sec-head p b { color: var(--c-text); }
.sm-sec-head a { color: var(--c-accent); text-decoration: none; font-weight: 600; }
.sm-sec-head a:hover { text-decoration: underline; }

/* ---------- hero ---------- */
.sm-hero {
    padding: 2.2rem 0 1rem;
    border-bottom: 3px double var(--c-border);
    margin-bottom: 2rem;
}
.sm-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(1.9rem, 5.5vw, 3rem);
    line-height: 1.08;
    margin: 0 0 .8rem;
    color: var(--c-text);
}
.sm-hero__lede {
    font-size: clamp(1rem, 2.4vw, 1.15rem);
    color: var(--c-text-secondary);
    max-width: 72ch;
    line-height: 1.65;
    margin: 0 0 1.1rem;
}
.sm-hero__lede b { color: var(--c-text); }
.sm-hero__pair {
    margin: 0 0 1.3rem;
    padding: .7rem 1rem;
    border: 1px solid var(--c-border);
    border-left: 4px solid var(--sm-l1);
    border-radius: 0 10px 10px 0;
    background: var(--c-surface);
    font-size: .9rem;
    color: var(--c-text-secondary);
    max-width: 62ch;
}
.sm-hero__pair a { color: var(--c-accent); text-decoration: none; font-weight: 600; }
.sm-hero__pair a:hover { text-decoration: underline; }
.sm-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem .6rem;
    margin: 0 0 1.2rem;
    padding: 0;
    list-style: none;
}
.sm-hero__stats li {
    border: 1px solid var(--c-border);
    background: var(--c-surface);
    border-radius: 999px;
    padding: .35rem .85rem;
    font-size: .82rem;
    color: var(--c-text-secondary);
}
.sm-hero__stats b { color: var(--c-text); font-weight: 700; }

/* ---------- vnitřní navigace ---------- */
.sm-toc {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    padding: .65rem 0;
}
.sm-toc a {
    text-decoration: none;
    font-size: .84rem;
    font-weight: 600;
    color: var(--c-text-secondary);
    border: 1px solid var(--c-border);
    background: var(--c-surface);
    border-radius: 999px;
    padding: .38rem .9rem;
    transition: color .15s, border-color .15s, background .15s;
}
.sm-toc a:hover { color: var(--c-text); border-color: var(--c-text-muted); }
.sm-toc a.is-act {
    color: #fff;
    background: var(--c-primary);
    border-color: var(--c-primary);
}
[data-theme="dark"] .sm-toc a.is-act {
    color: #10131c;
    background: var(--c-accent);
    border-color: var(--c-accent);
}
@media (min-width: 900px) {
    .sm-toc {
        position: sticky;
        top: 0;
        z-index: 40;
        background: var(--c-bg);
        border-bottom: 1px solid var(--c-border);
        margin-bottom: 1.4rem;
    }
}

/* ---------- diagramy (SVG) ---------- */
.sm-diagram-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--c-border);
    border-radius: 12px;
    background: var(--c-surface);
    padding: .5rem;
}
.sm-diagram-scroll svg {
    display: block;
    min-width: 880px;
    width: 100%;
    height: auto;
    font-family: var(--font-sans);
}
.sm-scrollhint {
    display: none;
    font-size: .78rem;
    color: var(--c-text-muted);
    margin: .4rem 0 0;
}
@media (max-width: 920px) {
    .sm-scrollhint { display: block; }
}

/* ---------- stoh vrstev ---------- */
.sm-layer { cursor: pointer; }
.sm-layer rect {
    stroke: none;
    transition: opacity .18s, filter .18s;
}
.sm-layer text { pointer-events: none; }
.sm-layer__badge { fill: rgba(255, 255, 255, .22); }
.sm-layer__num { font-size: 14px; font-weight: 800; fill: #fff; }
.sm-layer__t1 { font-size: 15px; font-weight: 700; fill: #fff; }
.sm-layer__t2 { font-size: 11.5px; fill: rgba(255, 255, 255, .82); }
.sm-layer--ustavni rect { fill: var(--sm-l1); }
.sm-layer--mezinarodni rect { fill: var(--sm-l2); }
.sm-layer--zakony rect { fill: var(--sm-l3); }
.sm-layer--podzakonne rect { fill: var(--sm-l4); }
.sm-layer--mekka rect { fill: var(--sm-l5); stroke: var(--c-surface); stroke-width: 2; stroke-dasharray: 8 5; }
.sm-layer:hover rect { filter: brightness(1.12); }
.sm-layer:focus { outline: none; }
.sm-layer:focus-visible rect { stroke: var(--c-text); stroke-width: 3; }
.sm-svg.has-sel .sm-layer:not(.is-on) rect { opacity: .3; }

.sm-axis path {
    fill: none;
    stroke: var(--c-text-muted);
    stroke-width: 1.4;
    stroke-dasharray: 5 4;
}
.sm-axis text {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    fill: var(--c-text-muted);
}
#sm-arr-up path { fill: var(--c-text-muted); }

/* ---------- karty (vrstvy) ---------- */
.sm-cards { margin-top: 1rem; display: flex; flex-direction: column; gap: .9rem; }
.sm-cards.is-tabbed { display: block; }
.sm-cards.is-tabbed .sm-card { display: none; }
.sm-cards.is-tabbed .sm-card.is-act { display: block; }
.sm-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-left: 5px solid var(--c-border);
    border-radius: 10px;
    padding: 1.1rem 1.3rem;
}
.sm-card--ustavni { border-left-color: var(--sm-l1); }
.sm-card--mezinarodni { border-left-color: var(--sm-l2); }
.sm-card--zakony { border-left-color: var(--sm-l3); }
.sm-card--podzakonne { border-left-color: var(--sm-l4); }
.sm-card--mekka { border-left-color: var(--sm-l5); }
.sm-card__head { display: flex; align-items: flex-start; gap: .8rem; margin: 0 0 .7rem; }
.sm-card__num {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: .95rem;
    color: #fff;
    background: var(--c-text-muted);
}
.sm-card--ustavni .sm-card__num { background: var(--sm-l1); }
.sm-card--mezinarodni .sm-card__num { background: var(--sm-l2); }
.sm-card--zakony .sm-card__num { background: var(--sm-l3); }
.sm-card--podzakonne .sm-card__num { background: var(--sm-l4); }
.sm-card--mekka .sm-card__num { background: var(--sm-l5); }
.sm-card h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    margin: 0;
    color: var(--c-text);
}
.sm-card__sub { margin: .1rem 0 0; font-size: .82rem; color: var(--c-text-muted); }
.sm-card > p {
    margin: 0 0 .7rem;
    color: var(--c-text-secondary);
    line-height: 1.6;
    font-size: .93rem;
    max-width: 76ch;
}
.sm-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem .8rem;
    margin: 0 0 .8rem;
}
.sm-card__meta p {
    flex: 1 1 240px;
    margin: 0;
    font-size: .82rem;
    color: var(--c-text-secondary);
    line-height: 1.5;
    border-top: 1px dashed var(--c-border);
    padding-top: .4rem;
}
.sm-card__meta span {
    display: block;
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--c-text-muted);
    font-weight: 700;
    margin-bottom: .15rem;
}
.sm-card__link { margin: .7rem 0 0; font-size: .85rem; }
.sm-card__link a { color: var(--c-accent); text-decoration: none; font-weight: 600; }
.sm-card__link a:hover { text-decoration: underline; }

/* ---------- komponenta „na papíře / v praxi" ---------- */
.sm-vs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: .9rem;
    margin: 1.2rem 0;
}
.sm-vs--solo { grid-template-columns: 1fr; margin: 0 0 .2rem; }
.sm-vs__col {
    border: 1px solid var(--c-border);
    border-radius: 10px;
    padding: .9rem 1.1rem;
}
.sm-vs__col--papir { border-left: 4px solid var(--sm-papir); background: var(--sm-papir-soft); }
.sm-vs__col--praxe { border-left: 4px solid var(--sm-praxe); background: var(--sm-praxe-soft); }
.sm-vs__col h4 {
    margin: 0 0 .4rem;
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 700;
}
.sm-vs__col--papir h4 { color: var(--sm-papir); }
.sm-vs__col--praxe h4 { color: var(--sm-praxe); }
.sm-vs__col p {
    margin: 0;
    font-size: .9rem;
    line-height: 1.6;
    color: var(--c-text-secondary);
}
.sm-vs__col b { color: var(--c-text); }
.sm-vs__col a { color: var(--c-accent); text-decoration: none; font-weight: 600; }
.sm-vs__col a:hover { text-decoration: underline; }

/* ---------- mřížka boxů ---------- */
.sm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: .9rem;
    margin-top: 1.2rem;
}
.sm-box {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: 10px;
    padding: 1rem 1.15rem;
}
.sm-box h3 {
    font-family: var(--font-serif);
    font-size: 1.08rem;
    margin: 0 0 .5rem;
    color: var(--c-text);
}
.sm-box p {
    font-size: .9rem;
    color: var(--c-text-secondary);
    line-height: 1.6;
    margin: 0 0 .5rem;
}
.sm-box p:last-child { margin-bottom: 0; }
.sm-box b { color: var(--c-text); }
.sm-box a { color: var(--c-accent); text-decoration: none; font-weight: 600; }
.sm-box a:hover { text-decoration: underline; }
.sm-list {
    margin: .2rem 0 .6rem;
    padding-left: 1.15rem;
    font-size: .88rem;
    color: var(--c-text-secondary);
    line-height: 1.6;
}
.sm-list li { margin: 0 0 .35rem; }
.sm-list b { color: var(--c-text); }

/* ---------- tok vlády (SVG) ---------- */
.sm-fl-node rect {
    fill: var(--c-surface);
    stroke: var(--c-text-muted);
    stroke-width: 2;
}
.sm-fl-node text { pointer-events: none; }
.sm-fl-node .sm-t1 { font-size: 13px; font-weight: 700; fill: var(--c-text); }
.sm-fl-node .sm-t3 { font-size: 10.5px; fill: var(--c-text-muted); }
.sm-fl-node--lid rect { stroke: var(--sm-l1); }
.sm-fl-node--klic rect { stroke: var(--sm-praxe); stroke-width: 2.5; }
.sm-fl-node--cil rect { stroke: var(--sm-l3); }
.sm-fl-edge path { fill: none; stroke: var(--c-text-muted); stroke-width: 2; }
#sm-arr-flow path, #sm-arr-flow2 path { fill: var(--c-text-muted); }
.sm-fl-back path {
    fill: none;
    stroke: var(--sm-praxe);
    stroke-width: 1.8;
    stroke-dasharray: 6 4;
}
.sm-fl-back text { font-size: 11px; fill: var(--sm-praxe); }
#sm-arr-back path { fill: var(--sm-praxe); }
.sm-fl-step { font-size: 20px; font-weight: 800; fill: var(--c-border); }

/* ---------- tok peněz (SVG) ---------- */
.sm-m-title {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .14em;
    fill: var(--c-text-muted);
}
.sm-m-head {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    fill: var(--c-text);
}
.sm-m-sub { font-size: 11px; fill: var(--c-text-muted); }
.sm-m-note { font-size: 10.5px; fill: var(--c-text-muted); }
.sm-m-seg { cursor: pointer; }
.sm-m-seg rect { transition: opacity .18s, filter .18s; }
.sm-m-seg text { pointer-events: none; }
.sm-m-seg--pri rect { fill: var(--sm-pri); }
.sm-m-seg--pri.sm-m-seg--alt rect { fill: var(--sm-pri2); }
.sm-m-seg--vyd rect { fill: var(--sm-vyd); }
.sm-m-seg--vyd.sm-m-seg--alt rect { fill: var(--sm-vyd2); }
.sm-m-seg--sch rect { fill: var(--sm-sch); opacity: .9; }
.sm-m-in { font-size: 13px; font-weight: 800; fill: #fff; }
.sm-m-lbl { font-size: 12.5px; fill: var(--c-text-secondary); }
.sm-m-lbl--sch { fill: var(--sm-sch); font-weight: 700; }
.sm-m-lead { stroke: var(--c-border); stroke-width: 1.5; fill: none; }
.sm-m-seg:hover rect { filter: brightness(1.12); }
.sm-m-seg:focus { outline: none; }
.sm-m-seg:focus-visible rect { stroke: var(--c-text); stroke-width: 2.5; }
.sm-money.has-sel .sm-m-seg:not(.is-on) rect { opacity: .28; }
.sm-m-mid path { fill: none; stroke: var(--c-text-muted); stroke-width: 2.5; }
.sm-m-mid text {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    fill: var(--c-text-muted);
}

/* ---------- legenda rozpočtu ---------- */
.sm-legend-hint {
    font-size: .86rem;
    color: var(--c-text-secondary);
    line-height: 1.55;
    margin: .8rem 0 1rem;
    max-width: 76ch;
}
.sm-legend {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}
.sm-legend__col h3 {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    margin: 0 0 .6rem;
    color: var(--c-text);
}
.sm-legend__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.sm-item {
    border: 1px solid var(--c-border);
    border-left: 4px solid var(--c-text-muted);
    border-radius: 8px;
    background: var(--c-surface);
    padding: .65rem .85rem;
    cursor: pointer;
    scroll-margin-top: 80px;
    transition: border-color .18s, box-shadow .18s;
}
.sm-item--pri { border-left-color: var(--sm-pri); }
.sm-item--vyd { border-left-color: var(--sm-vyd); }
.sm-item--sch { border-left-color: var(--sm-sch); }
.sm-item:hover { border-color: var(--c-text-muted); }
.sm-item:focus { outline: none; }
.sm-item:focus-visible, .sm-item.is-on { box-shadow: 0 0 0 2px var(--c-accent); }
.sm-item__head { margin: 0 0 .15rem; font-size: .9rem; color: var(--c-text-secondary); }
.sm-item__head b {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--c-text);
    margin-right: .4rem;
}
.sm-item__head span { font-weight: 600; color: var(--c-text); }
.sm-item__abs { margin: 0 0 .3rem; font-size: .74rem; color: var(--c-text-muted); }
.sm-item__txt { margin: 0; font-size: .84rem; line-height: 1.55; color: var(--c-text-secondary); }

/* ---------- stupně veřejné správy ---------- */
.sm-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: .7rem;
    margin: 1.2rem 0;
}
.sm-tier {
    border: 1px solid var(--c-border);
    border-top: 4px solid var(--sm-l2);
    border-radius: 10px;
    background: var(--c-surface);
    padding: .85rem 1rem;
}
.sm-tier b {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.6rem;
    line-height: 1;
    color: var(--c-text);
}
.sm-tier span {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: var(--c-text-secondary);
    margin: .25rem 0 .3rem;
}
.sm-tier small { font-size: .76rem; color: var(--c-text-muted); line-height: 1.45; display: block; }

/* ---------- matice situací ---------- */
.sm-matrix-head { margin: 1.6rem 0 .8rem; }
.sm-matrix-head h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    margin: 0 0 .35rem;
    color: var(--c-text);
}
.sm-matrix-head p { font-size: .9rem; color: var(--c-text-secondary); line-height: 1.55; margin: 0 0 .7rem; max-width: 72ch; }
.sm-filter { display: flex; flex-wrap: wrap; gap: .4rem; }
.sm-filter button {
    font: inherit;
    font-size: .8rem;
    font-weight: 600;
    color: var(--c-text-secondary);
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: 999px;
    padding: .32rem .85rem;
    cursor: pointer;
}
.sm-filter button:hover { color: var(--c-text); border-color: var(--c-text-muted); }
.sm-filter button.is-act {
    color: #fff;
    background: var(--c-primary);
    border-color: var(--c-primary);
}
[data-theme="dark"] .sm-filter button.is-act {
    color: #10131c;
    background: var(--c-accent);
    border-color: var(--c-accent);
}
.sm-matrix { display: flex; flex-direction: column; gap: .6rem; }
.sm-mrow {
    border: 1px solid var(--c-border);
    border-radius: 10px;
    background: var(--c-surface);
    padding: .8rem 1rem;
}
.sm-mrow__name {
    font-family: var(--font-serif);
    font-size: 1rem;
    margin: 0 0 .55rem;
    color: var(--c-text);
}
.sm-mrow__cells {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .6rem;
}
.sm-mcell {
    border-left: 3px solid var(--c-border);
    padding-left: .6rem;
}
.sm-mcell__lvl {
    display: block;
    font-size: .66rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--c-text-muted);
    margin-bottom: .2rem;
}
.sm-mcell p { margin: 0; font-size: .82rem; line-height: 1.5; color: var(--c-text-secondary); }
.sm-mcell__dash { color: var(--c-text-muted); font-style: italic; }
.sm-mcell[data-level="obec"] { border-left-color: var(--sm-l3); }
.sm-mcell[data-level="kraj"] { border-left-color: var(--sm-l2); }
.sm-mcell[data-level="stat"] { border-left-color: var(--sm-l1); }
.sm-mcell[data-level="eu"] { border-left-color: var(--sm-l4); }
.sm-mcell--empty { opacity: .55; }
.sm-matrix[data-filter="obec"] .sm-mcell:not([data-level="obec"]),
.sm-matrix[data-filter="kraj"] .sm-mcell:not([data-level="kraj"]),
.sm-matrix[data-filter="stat"] .sm-mcell:not([data-level="stat"]),
.sm-matrix[data-filter="eu"] .sm-mcell:not([data-level="eu"]) { display: none; }
.sm-matrix:not([data-filter="vse"]) .sm-mrow__cells { grid-template-columns: 1fr; }
@media (max-width: 780px) {
    .sm-mrow__cells { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
    .sm-mrow__cells { grid-template-columns: 1fr; }
}

/* ---------- kroky obrany ---------- */
.sm-steps {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0 0 0 1.4rem;
    border-left: 2px solid var(--c-border);
}
.sm-step {
    position: relative;
    display: flex;
    gap: .9rem;
    padding: 0 0 1.3rem .6rem;
}
.sm-step__num {
    position: absolute;
    left: -2.35rem;
    top: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--c-surface);
    border: 3px solid var(--sm-l2);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: .85rem;
    color: var(--c-text);
}
.sm-step__body { flex: 1; min-width: 0; }
.sm-step__sit {
    margin: 0 0 .1rem;
    font-size: .78rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--c-text-muted);
}
.sm-step h3 {
    font-family: var(--font-serif);
    font-size: 1.12rem;
    margin: 0 0 .45rem;
    color: var(--c-text);
}
.sm-step__meta {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .5rem;
    margin: 0 0 .5rem;
    padding: 0;
}
.sm-step__meta li {
    font-size: .78rem;
    color: var(--c-text-secondary);
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: 8px;
    padding: .25rem .6rem;
}
.sm-step__meta span {
    font-size: .66rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--c-text-muted);
    font-weight: 700;
    margin-right: .35rem;
}
.sm-step__body > p {
    margin: 0 0 .4rem;
    font-size: .9rem;
    line-height: 1.6;
    color: var(--c-text-secondary);
    max-width: 76ch;
}
.sm-step__src { font-size: .76rem !important; color: var(--c-text-muted) !important; margin: 0 !important; }

/* ---------- zdroj ---------- */
.sm-zdroj {
    border: 1px solid var(--c-border);
    border-radius: 10px;
    background: var(--c-surface);
    padding: 1.1rem 1.3rem;
    font-size: .86rem;
    color: var(--c-text-secondary);
    line-height: 1.65;
}
.sm-zdroj p { margin: 0 0 .7rem; }
.sm-zdroj p:last-child { margin-bottom: 0; }
.sm-zdroj a { color: var(--c-accent); text-decoration: none; font-weight: 600; }
.sm-zdroj a:hover { text-decoration: underline; }
.sm-zdroj b { color: var(--c-text); }

/* skryté prvky nesmí prosvítat žádným pravidlem výše */
.statmoc [hidden] { display: none !important; }
