
:root {
    --navy: #062d59;
    --navy-2: #0a447a;
    --green: #4aa71f;
    --green-dark: #348014;
    --bg: #f5f8fb;
    --card: #ffffff;
    --text: #14253b;
    --muted: #64748b;
    --line: #dce5ed;
    --good-bg: #eaf7e5;
    --good: #2f7e18;
    --mid-bg: #fff5d9;
    --mid: #8a6300;
    --bad-bg: #fdecec;
    --bad: #a53535;
    --shadow: 0 10px 30px rgba(10, 44, 77, .08);
}
* { box-sizing: border-box; }
html { color-scheme: light; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.5;
}
a { color: var(--navy-2); }
.container { width: min(1240px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.header-inner {
    min-height: 118px;
    display: flex;
    align-items: center;
}
.brand { display: inline-flex; }
.brand img {
    display: block;
    width: min(610px, 86vw);
    height: 92px;
    object-fit: contain;
    object-position: left center;
}
.hero {
    color: #fff;
    background:
      radial-gradient(circle at 85% 20%, rgba(74,167,31,.34), transparent 26rem),
      linear-gradient(125deg, #052b54, #0c4575);
    padding: 54px 0 60px;
}
.hero-copy { max-width: 900px; }
.eyebrow {
    margin: 0 0 8px;
    color: var(--green);
    font-weight: 800;
    font-size: .9rem;
    letter-spacing: .12em;
}
.hero .eyebrow { color: #9edb79; }
h1, h2, h3 { line-height: 1.14; margin-top: 0; }
h1 { font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 16px; }
h2 { font-size: clamp(1.55rem, 2.2vw, 2.1rem); margin-bottom: 6px; }
.lead {
    max-width: 820px;
    margin: 0;
    font-size: 1.1rem;
    color: rgba(255,255,255,.87);
}
.results-section { padding: 42px 0 64px; }
.section-head {
    display: flex;
    gap: 24px;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 20px;
}
.section-head p { margin: 0; color: var(--muted); }
.search-box input {
    width: min(320px, 100%);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 11px 14px;
    background: #fff;
    font: inherit;
    outline: none;
}
.search-box input:focus { border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(10,68,122,.12); }
.table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
}
.results-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1060px;
}
.results-table th {
    padding: 13px 15px;
    background: #eef4f8;
    color: #41566e;
    font-size: .9rem;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: .035em;
    white-space: nowrap;
}
.results-table td {
    padding: 15px;
    border-top: 1px solid var(--line);
    vertical-align: middle;
}
.clickable-row { cursor: pointer; transition: background .15s ease; }
.clickable-row:hover, .clickable-row:focus { background: #f4f9fc; outline: none; }
.municipality a {
    color: var(--navy);
    font-weight: 800;
    text-decoration: none;
    font-size: 1.02rem;
}
.subtle { display: block; margin-top: 2px; color: var(--muted); font-size: .9rem; }
.score-pill {
    display: inline-block;
    border-radius: 999px;
    padding: 5px 9px;
    font-weight: 800;
    white-space: nowrap;
}
.score-good { background: var(--good-bg); color: var(--good); }
.score-mid { background: var(--mid-bg); color: var(--mid); }
.score-bad { background: var(--bad-bg); color: var(--bad); }
.score-neutral { background: #edf1f4; color: #536171; }
.rank { display: block; white-space: nowrap; }
.method-note { margin: 15px 2px 0; color: var(--muted); font-size: .88rem; }
.empty-state {
    background: #fff;
    border: 1px dashed #b9c8d5;
    border-radius: 14px;
    padding: 34px;
    color: var(--muted);
}
.empty-state h3 { color: var(--text); margin-bottom: 8px; }
.empty-state p { margin-bottom: 0; }
.site-footer {
    background: #05294f;
    color: rgba(255,255,255,.8);
    padding: 24px 0;
}
.footer-inner { display: flex; justify-content: space-between; gap: 20px; font-size: .9rem; }
.detail-page { padding: 28px 0 64px; }
.breadcrumb { margin-bottom: 26px; }
.breadcrumb a { text-decoration: none; font-weight: 700; }
.detail-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow);
}
.detail-title h1 { margin-bottom: 8px; color: var(--navy); }
.detail-meta { margin: 0; color: var(--muted); }
.big-score {
    min-width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 8px solid rgba(255,255,255,.75);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.04);
}
.big-score span { font-size: 2.7rem; line-height: 1; font-weight: 900; }
.big-score small { margin-top: 6px; font-size: .9rem; font-weight: 800; letter-spacing: .08em; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 22px 0 38px;
}
.stat-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 20px;
}
.stat-card span { display: block; color: var(--muted); font-size: .86rem; }
.stat-card strong { display: block; margin-top: 5px; color: var(--navy); font-size: 1.65rem; }
.report-section { margin-top: 20px; }
.button {
    display: inline-block;
    background: var(--green);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    border-radius: 9px;
    padding: 10px 14px;
}
.button.secondary { background: var(--navy); }
.pdf-frame {
    height: min(1180px, 86vh);
    min-height: 720px;
    overflow: hidden;
    background: #d9e0e6;
    border: 1px solid #bac7d2;
    border-radius: 14px;
    box-shadow: var(--shadow);
}
.pdf-frame object { display: block; }
.not-found { padding: 80px 0; }
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}
@media (max-width: 800px) {
    .container { width: min(100% - 24px, 1240px); }
    .header-inner { min-height: 92px; }
    .brand img { height: 70px; }
    .hero { padding: 40px 0; }
    .section-head { align-items: stretch; flex-direction: column; }
    .search-box input { width: 100%; }
    .detail-title { align-items: flex-start; flex-direction: column; }
    .big-score { min-width: 120px; width: 120px; height: 120px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { flex-direction: column; }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .detail-title { padding: 22px; }
}


/* === HTML REPORT DETAIL V2 === */
.report-body { background:#eef2f5; }
.compact-header .header-inner.compact { min-height:82px; justify-content:space-between; }
.compact-header .brand img { height:60px; width:390px; }
.back-link { text-decoration:none; font-weight:800; color:var(--navy); white-space:nowrap; }

.report-page-wrap { padding:24px 12px 56px; overflow-x:auto; }
.html-report {
    --r-blue:#002f64;
    --r-green:#3fa447;
    --r-red:#dd4740;
    --r-orange:#ed7d32;
    --r-yellow:#f0a12e;
    width:min(1120px, calc(100vw - 34px));
    min-width:860px;
    margin:0 auto;
    padding:20px 26px 14px;
    background:#fff;
    border:1px solid #d5dee7;
    box-shadow:0 12px 40px rgba(10,40,65,.14);
    color:#112b4a;
    font-family:Arial, Helvetica, sans-serif;
}
.report-head { display:grid; grid-template-columns:260px 1fr 290px; align-items:center; gap:24px; min-height:86px; }
.report-logo img { width:230px; height:74px; object-fit:contain; object-position:left center; }
.report-town { text-align:center; letter-spacing:.14em; color:var(--r-blue); }
.report-town span { display:block; font-size:14px; }
.report-town strong { display:block; font-family:Georgia,serif; font-size:26px; letter-spacing:.08em; }
.report-contact { text-align:right; font-size:14px; line-height:1.25; color:#193858; }
.report-rule { height:2px; background:#d8e2eb; margin-bottom:12px; }

.report-top { display:grid; grid-template-columns:1.45fr .92fr; gap:18px; }
.score-block { padding:2px 0 0; }
.score-block h1 { margin:0 0 6px; color:var(--r-blue); font-size:29px; line-height:1.02; letter-spacing:.025em; }
.score-number { display:flex; align-items:flex-end; gap:7px; color:var(--r-red); }
.score-number strong { font-size:76px; line-height:.9; font-weight:900; }
.score-number span { color:var(--r-blue); font-size:33px; line-height:1.1; font-weight:900; }
.score-class { margin-top:6px; color:var(--r-red); font-weight:900; font-size:15px; letter-spacing:.04em; }
.score-block p { max-width:630px; font-size:13px; line-height:1.28; color:#183a5b; font-weight:600; }
.score-scale { position:relative; height:18px; margin-top:14px; border-radius:10px; background:linear-gradient(90deg,#dc4a43 0 22%,#ed792f 43%,#e8b82e 62%,#69b543 100%); }
.score-scale i { position:absolute; top:-8px; width:0; height:29px; border-left:3px solid #052e5b; transform:translateX(-1px); }
.score-scale i:before { content:""; position:absolute; top:-2px; left:-6px; border-left:5px solid transparent; border-right:5px solid transparent; border-top:7px solid #052e5b; }
.score-scale-labels { display:flex; justify-content:space-between; font-size:13px; color:#425c75; padding:4px 0 0; }

.report-card { border:1px solid #cbd8e4; border-radius:12px; background:#fff; }
.report-card h2 { margin:0; color:var(--r-blue); font-size:15px; line-height:1; letter-spacing:.055em; text-align:center; }
.dimensions-card { padding:14px 16px 12px; }
.dimension-row { margin-top:10px; }
.dimension-label { display:flex; justify-content:space-between; gap:8px; font-size:14px; }
.dimension-label strong { color:var(--r-red); }
.dimension-bar { height:8px; margin-top:3px; background:#e6edf3; border-radius:6px; overflow:hidden; }
.dimension-bar i { display:block; height:100%; border-radius:6px; background:linear-gradient(90deg,#ef7b35,#ee8d32); }
.dimension-row:nth-of-type(4) .dimension-bar i { background:#42a85a; }
.mini-kpis { display:grid; grid-template-columns:1fr 1fr; gap:10px 16px; margin-top:16px; padding-top:12px; border-top:1px solid #dfe7ee; }
.mini-kpis div { display:grid; grid-template-columns:18px 32px 1fr; align-items:start; gap:3px; }
.mini-kpis b { color:var(--r-blue); font-size:14px; }
.mini-kpis b.ok { color:#40a64d; } .mini-kpis b.warn { color:#df4f47; } .mini-kpis b.orange { color:#ed7c31; } .mini-kpis b.blue { color:#3373ba; }
.mini-kpis strong { color:var(--r-blue); font-size:23px; line-height:1; }
.mini-kpis span { font-size:13.5px; line-height:1.12; color:#34516d; }

.chart-grid { display:grid; grid-template-columns:1fr 1fr 1fr; gap:14px; margin-top:14px; }
.chart-card { min-height:300px; padding:14px 14px 12px; }
.donut { width:154px; height:154px; margin:22px auto 13px; border-radius:50%; position:relative; }
.donut span { position:absolute; inset:38px; border-radius:50%; background:#fff; }
.legend { font-size:13.5px; line-height:1.45; }
.legend div { display:flex; align-items:center; gap:6px; }
.legend i { width:10px; height:10px; border-radius:2px; flex:0 0 auto; }
.legend b { margin-left:auto; color:#243f5b; }

.radar-card { overflow:hidden; }
.radar-svg { display:block; width:100%; height:240px; margin:10px auto 0; overflow:visible; }
.radar-grid { fill:#eaf3fa; fill-opacity:.38; stroke:#9ec1dc; stroke-width:.8; }
.radar-axis { stroke:#a8bfd1; stroke-width:.7; }
.radar-value { fill:#77aee8; fill-opacity:.32; stroke:#1f72b8; stroke-width:2; }
.radar-label { fill:#173d61; font-size:13px; font-weight:700; dominant-baseline:middle; }

.impact-list { margin-top:24px; }
.impact-row { margin:14px 0; }
.impact-row > div:first-child { display:flex; justify-content:space-between; font-size:14px; }
.impact-track { height:12px; background:#e7edf2; border-radius:8px; overflow:hidden; margin-top:5px; }
.impact-track i { display:block; height:100%; border-radius:8px; background:#ed7c31; }
.impact-track i.zasadni-dopad { background:#df4a44; }
.impact-track i.vysoky-dopad { background:#ed6c2e; }
.impact-track i.stredni-dopad { background:#eca52d; }
.impact-track i.nizky-dopad { background:#9ba9b4; }
.tiny-note { margin:18px 0 0; font-size:13px; color:#708398; }

.priorities-card { margin-top:10px; padding:10px 16px 9px; }
.priorities-card h2 { margin:0 0 3px; }
.priority-intro { margin:0 0 7px; color:#49657c; font-size:13px; line-height:1.28; }
.priority-head, .priority-row { display:grid; grid-template-columns:62px 2.55fr .8fr 1.15fr 1.15fr; align-items:center; gap:9px; }
.priority-head { color:#71879b; font-size:13px; line-height:1.15; font-weight:900; letter-spacing:.025em; padding:5px 0 5px; }
.priority-row { min-height:47px; border-top:1px solid #d8e3ec; font-size:13px; line-height:1.22; padding:4px 0; }
.priority-row > b { width:24px; height:24px; display:grid; place-items:center; border-radius:50%; background:#063a71; color:#fff; font-size:13px; }
.priority-change { min-width:0; }
.priority-change strong { display:block; margin:0 0 2px; font-size:13.5px; color:#10395e; }
.priority-change small { display:block; color:#526c82; font-size:13px; line-height:1.2; font-weight:400; }
.priority-row span { color:#223f5b; }
.priority-impact strong { display:block; color:#063a71; font-size:13px; line-height:1; margin-bottom:2px; }
.priority-impact { font-size:13px; line-height:1.15; }
.priority-explanation { margin-top:6px; padding-top:6px; border-top:1px solid #d8e3ec; color:#526c82; font-size:13px; line-height:1.25; }
.priority-explanation p { margin:0 0 3px; }
.priority-explanation p:last-child { margin-bottom:0; }

.summary-grid { display:grid; grid-template-columns:1fr 1.15fr .92fr; gap:12px; margin-top:12px; }
.summary-grid > .report-card { padding:12px; min-height:154px; }
.summary-grid h2 { text-align:left; font-size:13px; margin-bottom:9px; }
.comparison-row { display:flex; justify-content:space-between; font-size:13.5px; margin-top:5px; }
.comparison-row strong { color:#0f426d; }
.comparison-bar { height:8px; background:#e6edf2; border-radius:5px; margin-top:3px; overflow:hidden; }
.comparison-bar i { display:block; height:100%; background:#d94a43; border-radius:5px; }
.comparison-bar.muted i { background:#7ea2c0; }
.comparison-bar.best i { background:#45a84a; }
.comparison-card p { margin:7px 0 0; font-size:13px; color:#637b92; }

.verdict-badge { display:inline-block; padding:4px 8px; color:#d44a42; background:#fff1ef; border:1px solid #efc0bc; border-radius:7px; font-size:14px; font-weight:800; }
.verdict-card p { margin:9px 0 0; font-size:13.5px; line-height:1.35; }

.potential-card .potential-main { display:block; color:#47a636; font-size:48px; line-height:.95; }
.potential-card > span { display:block; font-size:13.5px; line-height:1.2; }
.potential-card p { margin:8px 0 0; font-size:13px; color:#62768a; }

.hot-card { margin-top:12px; padding:11px 14px 10px; }
.hot-card h2 { text-align:left; font-size:13px; margin-bottom:8px; }
.hot-grid { display:grid; grid-template-columns:1fr 1fr; column-gap:24px; row-gap:4px; }
.hot-item { display:grid; grid-template-columns:22px 1fr; gap:5px; align-items:start; font-size:13px; line-height:1.28; }
.hot-item > b { width:18px; height:18px; display:grid; place-items:center; border-radius:50%; background:#eaf4fb; color:#2a6fac; font-size:13px; }
.hot-item span strong { color:#0b3c67; }

.no-data { display:grid; place-items:center; min-height:180px; color:#7b8997; font-size:14px; text-align:center; padding:15px; }
.priority-empty { min-height:70px; }

.report-footer { display:flex; justify-content:space-between; gap:15px; border-top:1px solid #d5e0e9; margin-top:10px; padding-top:7px; color:#647a8e; font-size:13px; }

@media (max-width:900px) {
    .compact-header .brand img { width:300px; }
}
@media print {
    .site-header { display:none; }
    .report-page-wrap { padding:0; }
    .html-report { width:100%; min-width:0; border:0; box-shadow:none; }
}

/* === MODÁLNÍ OTEVÍRÁNÍ DETAILU V3 === */
body.modal-open { overflow:hidden; }
.detail-modal {
    position:fixed;
    inset:0;
    z-index:1000;
    display:none;
}
.detail-modal.is-open { display:block; }
.detail-modal-backdrop {
    position:absolute;
    inset:0;
    background:rgba(18,38,58,.72);
    backdrop-filter:blur(1px);
}
.detail-modal-window {
    position:absolute;
    left:50%;
    top:3.5vh;
    transform:translateX(-50%);
    width:min(1120px, calc(100vw - 54px));
    height:93vh;
    background:#f8fbfd;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 26px 80px rgba(0,0,0,.34);
    border:1px solid rgba(255,255,255,.45);
}
.detail-modal-head {
    height:92px;
    padding:17px 22px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    background:linear-gradient(135deg,#083f73,#0d5d93);
    color:#fff;
}
.detail-modal-head h2 {
    margin:0 0 4px;
    color:#fff;
    font-size:27px;
}
.detail-modal-head p {
    margin:0;
    color:rgba(255,255,255,.9);
    font-size:14px;
    font-weight:700;
}
.detail-modal-close {
    width:40px;
    height:40px;
    flex:0 0 auto;
    border:0;
    border-radius:50%;
    background:#fff;
    color:#0a477a;
    font-size:32px;
    line-height:34px;
    font-weight:900;
    cursor:pointer;
    box-shadow:0 2px 8px rgba(0,0,0,.15);
}
.detail-modal-close:hover { background:#eef7fd; }
.detail-modal-body {
    position:relative;
    height:calc(100% - 92px);
    background:#e8eef3;
}
.detail-modal-loading {
    position:absolute;
    inset:0;
    z-index:2;
    display:grid;
    place-items:center;
    color:#536b80;
    font-weight:800;
    background:#f8fbfd;
}
.detail-modal-loading[hidden] { display:none; }
#detailModalFrame {
    display:block;
    width:100%;
    height:100%;
    border:0;
    opacity:0;
    transition:opacity .15s ease;
    background:#fff;
}
#detailModalFrame.is-loaded { opacity:1; }
.modal-embedded { background:transparent; margin:0; }
.modal-embedded .report-page-wrap { padding:0; overflow:visible; }
.modal-embedded .html-report {
    width:100%;
    min-width:0;
    margin:0;
    padding:0 0 14px;
    border:0;
    border-radius:0;
    box-shadow:none;
    background:#fff;
}

@media (max-width:800px) {
    .detail-modal-window { width:calc(100vw - 16px); height:96vh; top:2vh; border-radius:13px; }
    .detail-modal-head { height:82px; padding:14px 16px; }
    .detail-modal-head h2 { font-size:21px; }
    .detail-modal-body { height:calc(100% - 82px); }
    .detail-modal-close { width:36px; height:36px; font-size:27px; }
}


/* === HLASOVÁNÍ OBČANŮ V4 === */
.detail-modal-actions {
    display:flex;
    align-items:center;
    gap:12px;
}
.vote-open-button {
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-height:40px;
    padding:0 15px;
    border:1px solid rgba(255,255,255,.38);
    border-radius:9px;
    background:#fff;
    color:#0b4b80;
    font-weight:900;
    font-size:13px;
    cursor:pointer;
    box-shadow:0 2px 8px rgba(0,0,0,.12);
}
.vote-open-button:hover { background:#eff8ff; }
.vote-open-button:disabled { opacity:.45; cursor:default; }
.vote-icon {
    width:15px;
    height:15px;
    display:inline-grid;
    place-items:center;
    border-radius:50%;
    background:#49a72a;
    color:#fff;
    font-size:0;
}
.vote-icon::after {
    content:"✓";
    font-size:14px;
    line-height:1;
}

.vote-modal {
    position:fixed;
    inset:0;
    z-index:2100;
    display:none;
}
.vote-modal.is-open { display:block; }
.vote-modal-backdrop {
    position:absolute;
    inset:0;
    background:rgba(5,24,42,.42);
}
.vote-modal-window {
    position:absolute;
    left:50%;
    top:6vh;
    transform:translateX(-50%);
    width:min(760px, calc(100vw - 42px));
    max-height:88vh;
    display:flex;
    flex-direction:column;
    background:#f8fbfd;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 28px 90px rgba(0,0,0,.42);
    border:1px solid rgba(255,255,255,.72);
}
.vote-modal-head {
    min-height:82px;
    padding:15px 18px 15px 20px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    background:linear-gradient(135deg,#07477d,#0a6398);
    color:#fff;
}
.vote-modal-head h2 {
    margin:0 0 4px;
    color:#fff;
    font-size:22px;
}
.vote-modal-head p {
    margin:0;
    color:rgba(255,255,255,.88);
    font-size:14px;
    font-weight:700;
}
.vote-modal-close {
    width:38px;
    height:38px;
    flex:0 0 auto;
    border:0;
    border-radius:50%;
    background:#fff;
    color:#0a477a;
    font-size:29px;
    font-weight:900;
    cursor:pointer;
}
.vote-modal-body {
    overflow:auto;
    padding:18px;
    background:#f3f7fa;
}
.vote-modal-loading,
.vote-load-error {
    min-height:180px;
    display:grid;
    place-items:center;
    color:#5e7488;
    font-weight:800;
}
.vote-test-note {
    margin-bottom:13px;
    padding:9px 11px;
    border:1px solid #f0c477;
    border-radius:8px;
    background:#fff7e7;
    color:#775414;
    font-size:14px;
}
.vote-message {
    margin-bottom:12px;
    padding:10px 12px;
    border-radius:8px;
    font-size:14px;
    font-weight:800;
}
.vote-message.success {
    border:1px solid #a9d79b;
    background:#eef9e9;
    color:#326d22;
}
.vote-message.error {
    border:1px solid #e6aaa5;
    background:#fff0ef;
    color:#a3332c;
}
.vote-form { display:grid; gap:13px; }
.vote-question {
    position:relative;
    margin:0;
    padding:14px 14px 11px;
    border:1px solid #cedbe6;
    border-radius:11px;
    background:#fff;
}
.vote-question legend {
    max-width:calc(100% - 85px);
    display:flex;
    align-items:flex-start;
    gap:8px;
    padding:0 5px;
    color:#092f58;
    font-size:13px;
    font-weight:900;
}
.vote-question legend b {
    width:22px;
    height:22px;
    display:grid;
    place-items:center;
    flex:0 0 auto;
    border-radius:50%;
    background:#0a4c82;
    color:#fff;
    font-size:14px;
}
.vote-question-total {
    position:absolute;
    right:14px;
    top:12px;
    color:#71869a;
    font-size:13.5px;
    font-weight:700;
}
.vote-options { display:grid; gap:7px; margin-top:7px; }
.vote-option {
    display:grid;
    grid-template-columns:20px 1fr;
    gap:8px;
    align-items:start;
    cursor:pointer;
}
.vote-option input {
    margin:3px 0 0;
    accent-color:#438f27;
}
.vote-option-main { min-width:0; }
.vote-option-text {
    display:block;
    color:#203c57;
    font-size:14px;
    font-weight:700;
    line-height:1.25;
}
.vote-result-line {
    display:grid;
    grid-template-columns:1fr 48px 58px;
    gap:7px;
    align-items:center;
    margin-top:4px;
}
.vote-result-track {
    display:block;
    height:7px;
    overflow:hidden;
    border-radius:5px;
    background:#e6edf3;
}
.vote-result-track i {
    display:block;
    height:100%;
    border-radius:5px;
    background:linear-gradient(90deg,#59af38,#3b9725);
}
.vote-result-line strong {
    text-align:right;
    color:#275d1b;
    font-size:13.5px;
}
.vote-result-line small {
    text-align:right;
    color:#7a8b99;
    font-size:13px;
}
.vote-submit-row {
    position:sticky;
    bottom:-18px;
    margin:2px -18px -18px;
    padding:12px 18px 16px;
    background:linear-gradient(180deg,rgba(243,247,250,.84),#f3f7fa 35%);
    text-align:right;
}
.vote-submit {
    min-width:160px;
    border:0;
    border-radius:8px;
    padding:11px 18px;
    background:#49a929;
    color:#fff;
    font-size:13px;
    font-weight:900;
    cursor:pointer;
}
.vote-submit:hover { background:#3d9421; }
.vote-submit:disabled { opacity:.55; cursor:wait; }

@media (max-width:650px) {
    .vote-open-button { padding:0 10px; font-size:14px; }
    .vote-modal-window { width:calc(100vw - 16px); top:2vh; max-height:96vh; }
    .vote-modal-body { padding:12px; }
    .vote-result-line { grid-template-columns:1fr 42px 52px; }
}


/* === VIDITELNÉ VÝSLEDKY HLASOVÁNÍ V ZÁHLAVÍ V5 === */
.detail-modal-actions {
    flex-wrap: nowrap;
}
.vote-header-summary {
    display:flex;
    align-items:center;
    gap:12px;
    min-height:48px;
    padding:6px 10px 6px 12px;
    border:1px solid rgba(255,255,255,.32);
    border-radius:10px;
    background:rgba(255,255,255,.11);
    color:#fff;
}
.vote-header-summary[hidden] { display:none !important; }
.vote-header-count {
    min-width:112px;
    padding-right:10px;
    border-right:1px solid rgba(255,255,255,.28);
}
.vote-header-count span {
    display:block;
    font-size:13px;
    line-height:1.1;
    color:rgba(255,255,255,.78);
    text-transform:uppercase;
    letter-spacing:.04em;
}
.vote-header-count strong {
    display:block;
    margin-top:3px;
    font-size:13px;
    line-height:1.1;
    color:#fff;
    white-space:nowrap;
}
.vote-header-leaders {
    display:flex;
    align-items:center;
    gap:5px;
}
.vote-header-q {
    min-width:42px;
    padding:4px 5px;
    border-radius:7px;
    background:rgba(255,255,255,.14);
    text-align:center;
    cursor:help;
}
.vote-header-q b {
    display:block;
    color:#bceaa5;
    font-size:13px;
    line-height:1;
}
.vote-header-q em {
    display:block;
    margin-top:3px;
    color:#fff;
    font-size:13.5px;
    line-height:1;
    font-style:normal;
    font-weight:900;
    white-space:nowrap;
}

@media (max-width: 1040px) {
    .vote-header-summary { display:none !important; }
}


/* === HLASOVÁNÍ V DETAILU V6 === */
.civic-vote-card {
    display:flex;
    flex-direction:column;
}
.civic-vote-card h2 {
    line-height:1.18;
}
.civic-vote-intro {
    margin:16px 0 12px;
    color:#304d68;
    font-size:14px;
    line-height:1.4;
}
.civic-vote-summary {
    margin-bottom:12px;
    padding:10px 11px;
    border-radius:9px;
    background:#eef7eb;
    border:1px solid #c6dfba;
}
.civic-vote-summary strong {
    display:block;
    color:#317921;
    font-size:18px;
    line-height:1.05;
}
.civic-vote-summary span {
    display:block;
    margin-top:3px;
    color:#577065;
    font-size:13px;
}
.civic-vote-bars {
    display:grid;
    gap:7px;
    margin-bottom:13px;
}
.civic-vote-result-row {
    display:grid;
    grid-template-columns:25px 1fr 52px;
    align-items:center;
    gap:7px;
}
.civic-vote-result-row > span {
    color:#0c477a;
    font-size:13px;
    font-weight:900;
}
.civic-vote-result-row > strong {
    text-align:right;
    color:#317921;
    font-size:13.5px;
}
.civic-vote-result-track {
    height:8px;
    overflow:hidden;
    border-radius:6px;
    background:#e4ebf0;
}
.civic-vote-result-track i {
    display:block;
    height:100%;
    border-radius:6px;
    background:linear-gradient(90deg,#66b74c,#3e9a2a);
}
.civic-vote-placeholder {
    min-height:48px;
    display:grid;
    place-items:center;
    color:#7b8c99;
    font-size:13.5px;
}
.civic-vote-button {
    width:100%;
    margin-top:auto;
    border:0;
    border-radius:8px;
    padding:11px 12px;
    background:#0a4f84;
    color:#fff;
    font-size:14px;
    font-weight:900;
    cursor:pointer;
}
.civic-vote-button:hover {
    background:#073f6a;
}


/* === GRAF HLASOVÁNÍ V DETAILU V7 === */
.civic-vote-chart {
    display:grid;
    gap:8px;
    margin:1px 0 13px;
}
.civic-vote-chart-row {
    display:grid;
    grid-template-columns:54px 1fr;
    column-gap:8px;
    row-gap:3px;
    align-items:center;
}
.civic-vote-chart-label {
    grid-column:1;
    grid-row:1;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:5px;
}
.civic-vote-chart-label span {
    color:#0a4f84;
    font-size:13.5px;
    font-weight:900;
}
.civic-vote-chart-label strong {
    color:#357d25;
    font-size:13.5px;
    white-space:nowrap;
}
.civic-vote-chart-track {
    grid-column:2;
    grid-row:1;
    height:10px;
    overflow:hidden;
    border-radius:7px;
    background:#e5edf2;
}
.civic-vote-chart-track i {
    display:block;
    height:100%;
    min-width:0;
    border-radius:7px;
    background:linear-gradient(90deg,#6cbb4d,#3b9627);
    transition:width .28s ease;
}
.civic-vote-chart-row small {
    grid-column:1 / -1;
    grid-row:2;
    overflow:hidden;
    color:#526c82;
    font-size:13px;
    line-height:1.15;
    white-space:nowrap;
    text-overflow:ellipsis;
}
\n\n/* === TEXTOVÉ INTERPRETACE GRAFŮ V8 === */\n.chart-interpretation {\n    margin-top:14px;\n    padding-top:11px;\n    border-top:1px solid #dbe6ee;\n    color:#274760;\n    font-size:13px;\n    line-height:1.38;\n    text-align:left;\n}\n.chart-interpretation p { margin:0 0 8px; }\n.chart-interpretation p:last-child { margin-bottom:0; }\n.radar-card .radar-svg { height:205px; margin-top:4px; }\n

/* === KOMPAKTNÍ ROZESTUPY A SROZUMITELNOST V9 === */
.html-report .report-card h2 { margin-top:0; }
.html-report p { margin-top:0; }
.chart-interpretation { margin-top:8px; padding-top:7px; line-height:1.3; }
.chart-interpretation p { margin:0 0 4px; }
.chart-interpretation p:last-child { margin-bottom:0; }
.radar-card .radar-svg { margin-bottom:0; }
.civic-vote-intro { margin-bottom:8px; }
.civic-vote-summary { margin-bottom:8px; }
.civic-vote-chart { margin-bottom:8px; gap:6px; }
.civic-vote-card .tiny-note { margin-top:8px; }
.summary-grid { gap:10px; margin-top:10px; }
.summary-grid > .report-card { padding:10px 12px; }
.summary-grid h2 { margin-bottom:6px; }
.verdict-card p, .potential-card p, .comparison-card p { margin-top:5px; }
.hot-card { margin-top:10px; }
.report-footer { margin-top:8px; }


/* === V10: OPRAVA HLASOVÁNÍ + KOMPAKTNÍ TITULNÍ STRÁNKA === */

/* Titulní stránka – menší hlavička a výrazně menší prázdné plochy */
.header-inner {
    min-height: 82px;
}
.brand img {
    height: 66px;
    width: min(470px, 82vw);
}
.hero {
    padding: 28px 0 30px;
}
.hero h1 {
    margin-bottom: 8px;
    font-size: clamp(1.75rem, 3.2vw, 2.8rem);
}
.hero .lead {
    font-size: 1rem;
    line-height: 1.42;
}
.hero .eyebrow {
    margin-bottom: 5px;
}
.results-section {
    padding: 24px 0 38px;
}
.results-section > .section-head {
    margin-bottom: 12px;
}
.section-head h2 {
    margin-bottom: 2px;
}
.method-note {
    margin-top: 9px;
}
.table-wrap {
    border-radius: 11px;
}
.results-table th {
    padding: 10px 12px;
}
.results-table td {
    padding: 11px 12px;
}
.site-footer {
    padding: 16px 0;
}

/* Detail – ještě kompaktnější mezery */
.report-page-wrap {
    padding-top: 10px;
    padding-bottom: 24px;
}
.html-report {
    padding-top: 14px;
}
.report-rule {
    margin-bottom: 8px;
}
.report-top {
    gap: 12px;
}
.chart-grid {
    gap: 10px;
    margin-top: 10px;
}
.chart-card {
    padding: 11px 12px 10px;
}
.civic-vote-intro {
    margin: 10px 0 7px;
}
.civic-vote-summary {
    margin-bottom: 6px;
    padding: 8px 10px;
}
.civic-vote-chart {
    gap: 5px;
    margin-bottom: 6px;
}
.civic-vote-button {
    padding: 9px 10px;
}
.priorities-card {
    margin-top: 9px;
}
.hot-card {
    margin-top: 8px;
}

/* Pokud JS ještě nestihl načíst data, graf je i tak okamžitě viditelný;
   po načtení app.js se hodnoty přepíší skutečnými výsledky z DB. */
.civic-vote-chart-row small {
    min-height: 10px;
}


/* === V11: ČITELNĚJŠÍ DETAIL A SROZUMITELNÝ HLAS OBČANŮ === */

/* Zvětšení drobných textů v celém detailu */
.html-report {
    font-size: 13px;
}
.report-contact {
    font-size: 13px;
}
.score-block p {
    font-size: 14px;
    line-height: 1.38;
}
.score-scale-labels {
    font-size: 12.3px;
}
.report-card h2 {
    font-size: 17px;
    line-height: 1.15;
}
.dimension-label {
    font-size: 12px;
}
.mini-kpis span {
    font-size: 12.3px;
    line-height: 1.2;
}
.legend {
    font-size: 12.3px;
    line-height: 1.5;
}
.radar-label {
    font-size: 10.8px;
}
.tiny-note {
    font-size: 11.5px;
    line-height: 1.3;
}
.chart-interpretation {
    font-size: 12px;
    line-height: 1.42;
}
.priority-intro {
    font-size: 12.3px;
    line-height: 1.35;
}
.priority-head {
    font-size: 10.8px;
}
.priority-row {
    font-size: 11.5px;
}
.priority-change strong {
    font-size: 12.3px;
}
.priority-change small {
    font-size: 11.5px;
    line-height: 1.3;
}
.priority-impact {
    font-size: 11.5px;
}
.priority-explanation {
    font-size: 11.5px;
    line-height: 1.35;
}
.comparison-row,
.verdict-card p,
.potential-card > span {
    font-size: 12.3px;
}
.comparison-card p,
.potential-card p {
    font-size: 11.5px;
}
.hot-item {
    font-size: 11.5px;
    line-height: 1.35;
}
.report-footer {
    font-size: 10.8px;
}

/* Hlasování: rychle pochopitelný souhrn místo Q1–Q5 */
.civic-vote-intro {
    font-size: 12px;
    line-height: 1.4;
}
.civic-vote-summary strong {
    font-size: 20px;
}
.civic-vote-summary span {
    font-size: 12.3px;
}
.civic-vote-insight {
    display:grid;
    gap:8px;
    margin:0 0 10px;
}
.civic-vote-empty-state {
    min-height:130px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:4px;
    padding:12px;
    border-radius:9px;
    background:#f4f8fb;
    border:1px solid #d7e2ea;
    text-align:center;
}
.civic-vote-empty-state strong {
    color:#0b4b80;
    font-size:14px;
}
.civic-vote-empty-state span {
    color:#60798e;
    font-size:14px;
}
.civic-vote-headline {
    padding:9px 10px;
    border-radius:9px;
    background:#eef7eb;
    border:1px solid #c5dfba;
}
.civic-vote-headline span {
    display:block;
    color:#5c7652;
    font-size:13.5px;
    text-transform:uppercase;
    letter-spacing:.03em;
    font-weight:800;
}
.civic-vote-headline strong {
    display:block;
    margin-top:3px;
    color:#2f7720;
    font-size:13px;
    line-height:1.25;
}
.civic-insight-list {
    display:grid;
    gap:7px;
}
.civic-insight-row {
    padding:7px 8px;
    border-radius:8px;
    border:1px solid #dbe4eb;
    background:#fff;
}
.civic-insight-head {
    display:flex;
    justify-content:space-between;
    gap:8px;
    align-items:center;
}
.civic-insight-head span {
    color:#153c61;
    font-size:14px;
    font-weight:900;
}
.civic-insight-head strong {
    color:#2f7720;
    font-size:14px;
}
.civic-insight-track {
    height:8px;
    margin:4px 0 4px;
    border-radius:6px;
    overflow:hidden;
    background:#e7edf2;
}
.civic-insight-track i {
    display:block;
    height:100%;
    border-radius:6px;
    background:linear-gradient(90deg,#6aba4d,#3f982a);
}
.civic-insight-row p {
    margin:0;
    color:#48627a;
    font-size:13.5px;
    line-height:1.25;
}
.civic-vote-button {
    font-size:14px;
    padding:10px 12px;
}


/* === V12: OBJEDNÁVKA, OBSAH REPORTU, VĚTŠÍ PRIORITY === */
.detail-modal-head {
    gap:16px;
}
.detail-modal-actions {
    display:flex;
    align-items:center;
    gap:8px;
}
.detail-head-button {
    min-height:38px;
    padding:0 13px;
    border-radius:8px;
    border:1px solid rgba(255,255,255,.48);
    font-weight:900;
    font-size:14px;
    cursor:pointer;
    white-space:nowrap;
}
.report-info-button {
    background:rgba(255,255,255,.12);
    color:#fff;
}
.report-info-button:hover {
    background:rgba(255,255,255,.22);
}
.order-button {
    background:#56ad2d;
    border-color:#56ad2d;
    color:#fff;
}
.order-button:hover {
    background:#479a23;
}
.order-button--two-line {
    min-height:48px;
    padding:5px 14px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    line-height:1.05;
}
.order-button-main {
    display:block;
    font-size:13px;
    font-weight:900;
}
.order-button-sub {
    display:block;
    margin-top:3px;
    font-size:13px;
    font-weight:700;
    opacity:.95;
}

.submodal {
    position:fixed;
    inset:0;
    z-index:2300;
    display:none;
}
.submodal.is-open { display:block; }
.submodal-backdrop {
    position:absolute;
    inset:0;
    background:rgba(3,20,36,.52);
}
.submodal-window {
    position:absolute;
    left:50%;
    top:5vh;
    transform:translateX(-50%);
    width:min(860px, calc(100vw - 34px));
    max-height:90vh;
    display:flex;
    flex-direction:column;
    overflow:hidden;
    border-radius:14px;
    background:#f7fafc;
    box-shadow:0 30px 100px rgba(0,0,0,.46);
}
.submodal-head {
    min-height:78px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:14px 18px;
    background:linear-gradient(135deg,#07477d,#0b6498);
    color:#fff;
}
.submodal-head h2 {
    margin:0 0 3px;
    color:#fff;
    font-size:22px;
}
.submodal-head p {
    margin:0;
    color:rgba(255,255,255,.85);
    font-size:14px;
}
.submodal-close {
    width:38px;
    height:38px;
    flex:0 0 auto;
    border:0;
    border-radius:50%;
    background:#fff;
    color:#0a4b7e;
    font-size:27px;
    font-weight:900;
    cursor:pointer;
}
.submodal-body {
    overflow:auto;
    padding:18px;
}

.report-info-window { width:min(980px, calc(100vw - 34px)); }
.report-info-lead {
    margin:0 0 12px;
    color:#24445f;
    font-size:13px;
    line-height:1.45;
    font-weight:700;
}
.report-content-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
}
.report-content-grid article {
    display:grid;
    grid-template-columns:34px 1fr;
    gap:9px;
    padding:10px;
    border:1px solid #d4e0e9;
    border-radius:9px;
    background:#fff;
}
.report-content-grid article > b {
    width:30px;
    height:30px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#0a4d82;
    color:#fff;
}
.report-content-grid strong {
    display:block;
    color:#123d62;
    font-size:14px;
    margin-bottom:2px;
}
.report-content-grid span {
    display:block;
    color:#516b80;
    font-size:14px;
    line-height:1.32;
}
.report-questions {
    margin-top:12px;
    padding:12px 14px;
    border:1px solid #d4e0e9;
    border-radius:10px;
    background:#fff;
}
.report-questions h3 {
    margin:0 0 8px;
    color:#0b3d67;
    font-size:15px;
}
.report-questions ol {
    columns:2;
    column-gap:32px;
    margin:0;
    padding-left:22px;
}
.report-questions li {
    break-inside:avoid;
    margin:0 0 5px;
    color:#36536d;
    font-size:14px;
    line-height:1.3;
}
.report-info-footer {
    margin-top:10px;
    padding:10px 12px;
    border-radius:9px;
    background:#eef7eb;
    border:1px solid #c7dfbc;
}
.report-info-footer strong,
.report-info-footer span {
    display:block;
}
.report-info-footer strong {
    color:#2f7222;
    font-size:14px;
}
.report-info-footer span {
    margin-top:3px;
    color:#5d7255;
    font-size:13.5px;
}

.order-window { width:min(760px, calc(100vw - 34px)); }
.order-form {
    display:grid;
    gap:12px;
}
.order-form fieldset {
    margin:0;
    padding:12px;
    border:1px solid #d4e0e9;
    border-radius:10px;
    background:#fff;
}
.order-form legend {
    padding:0 6px;
    color:#0b3d67;
    font-size:13px;
    font-weight:900;
}
.form-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px 12px;
}
.form-grid label {
    display:block;
}
.form-grid label.wide {
    grid-column:1 / -1;
}
.form-grid label > span {
    display:block;
    margin-bottom:4px;
    color:#405b73;
    font-size:14px;
    font-weight:800;
}
.form-grid input,
.form-grid textarea {
    width:100%;
    border:1px solid #c8d6e1;
    border-radius:7px;
    padding:9px 10px;
    background:#fff;
    color:#193650;
    font:inherit;
    font-size:14px;
}
.form-grid input[readonly] {
    background:#f1f5f8;
    color:#536b80;
}
.form-grid input:focus,
.form-grid textarea:focus {
    outline:none;
    border-color:#0a5d96;
    box-shadow:0 0 0 3px rgba(10,93,150,.11);
}
.order-confirm {
    display:grid;
    grid-template-columns:20px 1fr;
    gap:7px;
    align-items:start;
    color:#50677c;
    font-size:13.5px;
    line-height:1.3;
}
.order-confirm input { margin-top:2px; }
.order-submit-row { text-align:right; }
.order-submit {
    min-width:190px;
    border:0;
    border-radius:8px;
    padding:11px 16px;
    background:#53aa2c;
    color:#fff;
    font-size:14px;
    font-weight:900;
    cursor:pointer;
}
.order-submit:disabled { opacity:.55; cursor:wait; }
.order-message {
    margin-bottom:10px;
    padding:10px 12px;
    border-radius:8px;
    font-size:14px;
    font-weight:800;
}
.order-message.success {
    background:#edf8e9;
    color:#2d7120;
    border:1px solid #b9dcae;
}
.order-message.error {
    background:#fff0ef;
    color:#a13a32;
    border:1px solid #e6b5b1;
}
.honeypot {
    position:absolute !important;
    left:-10000px !important;
    width:1px !important;
    height:1px !important;
}

/* Tabulka priorit – zřetelně větší text */
.priority-intro {
    font-size:14px;
}
.priority-head {
    font-size:13.5px;
    line-height:1.2;
}
.priority-row {
    font-size:14px;
    line-height:1.3;
    min-height:56px;
}
.priority-change strong {
    font-size:13px;
}
.priority-change small {
    font-size:14px;
    line-height:1.32;
}
.priority-impact {
    font-size:14px;
}
.priority-impact strong {
    font-size:15px;
}
.priority-explanation {
    font-size:14px;
    line-height:1.4;
}

@media (max-width:900px) {
    .detail-head-button {
        padding:0 9px;
        font-size:13.5px;
    }
    .report-content-grid {
        grid-template-columns:1fr;
    }
    .report-questions ol {
        columns:1;
    }
}
@media (max-width:650px) {
    .detail-modal-actions {
        gap:4px;
    }
    .detail-head-button {
        max-width:120px;
        white-space:normal;
        line-height:1.1;
    }
    .form-grid {
        grid-template-columns:1fr;
    }
    .form-grid label.wide {
        grid-column:auto;
    }
}


/* === V13: RÚIAN + PRODEJNĚJŠÍ POPIS REPORTU + CENA === */
.report-price-badge {
    min-width:115px;
    padding:5px 10px;
    border:1px solid rgba(255,255,255,.34);
    border-radius:9px;
    background:rgba(255,255,255,.1);
    color:#fff;
    text-align:right;
}
.report-price-badge span {
    display:block;
    font-size:13px;
    line-height:1;
    color:rgba(255,255,255,.75);
}
.report-price-badge strong {
    display:block;
    margin-top:3px;
    font-size:15px;
    line-height:1;
}

.report-sales-hero {
    display:grid;
    grid-template-columns:1fr 170px;
    gap:18px;
    align-items:center;
    padding:16px;
    border-radius:12px;
    background:linear-gradient(135deg,#eef6fb,#f5faef);
    border:1px solid #d0e1e8;
}
.report-sales-kicker {
    display:block;
    margin-bottom:5px;
    color:#4e9e2c;
    font-size:13.5px;
    font-weight:900;
    letter-spacing:.07em;
}
.report-sales-hero h3 {
    margin:0 0 7px;
    color:#073c68;
    font-size:21px;
    line-height:1.18;
}
.report-sales-hero p {
    margin:0;
    color:#39576f;
    font-size:14px;
    line-height:1.45;
}
.report-sales-price {
    padding:15px 10px;
    border-radius:11px;
    background:#0a4d82;
    color:#fff;
    text-align:center;
}
.report-sales-price span,
.report-sales-price small {
    display:block;
}
.report-sales-price span {
    font-size:13.5px;
    color:rgba(255,255,255,.78);
}
.report-sales-price strong {
    display:block;
    margin:4px 0;
    font-size:25px;
}
.report-sales-price small {
    font-size:13px;
    color:rgba(255,255,255,.72);
}

.report-benefits {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:8px;
    margin-top:10px;
}
.report-benefits article {
    padding:10px;
    border:1px solid #d7e2ea;
    border-radius:9px;
    background:#fff;
}
.report-benefits strong {
    display:block;
    color:#0b4777;
    font-size:14px;
}
.report-benefits span {
    display:block;
    margin-top:3px;
    color:#526c81;
    font-size:13.5px;
    line-height:1.34;
}

.report-questions.detailed {
    margin-top:10px;
}
.report-questions.detailed > h3 {
    margin-bottom:10px;
}
.report-question-detail {
    display:grid;
    grid-template-columns:34px 1fr;
    gap:9px;
    padding:9px 0;
    border-top:1px solid #e0e7ed;
}
.report-question-detail:first-of-type {
    border-top:0;
}
.report-question-detail > b {
    width:28px;
    height:28px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#0a4d82;
    color:#fff;
    font-size:14px;
}
.report-question-detail strong {
    display:block;
    margin-bottom:3px;
    color:#103e65;
    font-size:14px;
}
.report-question-detail p {
    margin:0;
    color:#506a80;
    font-size:14px;
    line-height:1.38;
}
.report-info-footer.sales {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
}
.order-from-info {
    flex:0 0 auto;
    border:0;
    border-radius:8px;
    padding:10px 14px;
    background:#53aa2c;
    color:#fff;
    font-size:14px;
    font-weight:900;
    cursor:pointer;
}

@media (max-width:900px) {
    .report-price-badge {
        display:none;
    }
    .report-sales-hero {
        grid-template-columns:1fr;
    }
    .report-benefits {
        grid-template-columns:1fr 1fr;
    }
}
@media (max-width:600px) {
    .report-benefits {
        grid-template-columns:1fr;
    }
    .report-info-footer.sales {
        align-items:stretch;
        flex-direction:column;
    }
}


/* === V14: CENA A PRŮBĚH OBJEDNÁVKY === */
.order-modal-head {
    display:grid;
    grid-template-columns:1fr auto auto;
    align-items:center;
}
.order-head-price {
    min-width:150px;
    padding:7px 12px;
    border:1px solid rgba(255,255,255,.32);
    border-radius:9px;
    background:rgba(255,255,255,.11);
    text-align:right;
    color:#fff;
}
.order-head-price span,
.order-head-price small {
    display:block;
}
.order-head-price span {
    font-size:13px;
    line-height:1;
    color:rgba(255,255,255,.76);
}
.order-head-price strong {
    display:block;
    margin:3px 0 2px;
    font-size:20px;
    line-height:1;
}
.order-head-price small {
    font-size:13px;
    color:rgba(255,255,255,.82);
}

.order-process-info {
    margin-bottom:12px;
    padding:11px 13px;
    border:1px solid #c5dfba;
    border-radius:9px;
    background:#eef7eb;
}
.order-process-info strong {
    display:block;
    margin-bottom:3px;
    color:#2f7421;
    font-size:14px;
}
.order-process-info p {
    margin:0;
    color:#516b4b;
    font-size:14px;
    line-height:1.38;
}

@media (max-width:700px) {
    .order-modal-head {
        grid-template-columns:1fr auto;
    }
    .order-head-price {
        grid-column:1 / -1;
        grid-row:2;
        width:100%;
        margin-top:6px;
        text-align:left;
    }
}


/* === V15: KONEČNÉ CENY + 50 SITUACÍ + VEŘEJNÉ MÍNĚNÍ === */
.report-price-badge {
    min-width:155px;
}
.report-price-badge small {
    display:block;
    margin-top:3px;
    font-size:13px;
    line-height:1.1;
    color:rgba(255,255,255,.78);
    white-space:nowrap;
}
.report-sales-price {
    min-width:180px;
}
.report-sales-price small {
    font-size:13px;
    line-height:1.25;
}
.order-head-price {
    min-width:185px;
}
.order-head-price small {
    font-size:13px;
}

.public-opinion-highlight {
    display:grid;
    grid-template-columns:46px 1fr;
    gap:12px;
    margin-top:10px;
    padding:14px 15px;
    border:2px solid #91c77a;
    border-radius:12px;
    background:linear-gradient(135deg,#f0f9ec,#f7fbf4);
    box-shadow:0 5px 18px rgba(63,119,40,.08);
}
.public-opinion-icon {
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#55a92f;
    color:#fff;
    font-size:21px;
    font-weight:900;
}
.public-opinion-kicker {
    display:block;
    margin-bottom:3px;
    color:#4d982d;
    font-size:13.5px;
    font-weight:900;
    letter-spacing:.07em;
}
.public-opinion-highlight h3 {
    margin:0 0 6px;
    color:#174f31;
    font-size:16px;
    line-height:1.2;
}
.public-opinion-highlight p {
    margin:0 0 6px;
    color:#486654;
    font-size:14px;
    line-height:1.42;
}
.public-opinion-highlight p:last-child {
    margin-bottom:0;
}
.report-sales-hero p strong,
.order-process-info p strong {
    color:#225f1d;
}


/* === V16: HLAVNÍ NAVIGACE + INFORMAČNÍ A PRÁVNÍ STRÁNKY === */
.header-inner {
    gap:18px;
}
.main-nav {
    margin-left:auto;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    flex-wrap:wrap;
    gap:3px 12px;
}
.main-nav a {
    color:#234966;
    text-decoration:none;
    font-size:13.5px;
    line-height:1.2;
    font-weight:800;
    white-space:nowrap;
}
.main-nav a:hover,
.main-nav a:focus-visible {
    color:#0a5b94;
    text-decoration:underline;
}
.site-header .brand {
    flex:0 0 auto;
}
.site-header .brand img {
    width:min(360px, 36vw);
    height:auto;
}

.footer-inner {
    gap:20px;
}
.footer-brand {
    display:flex;
    flex-direction:column;
    gap:2px;
    flex:0 0 auto;
}
.footer-brand strong {
    color:#183e5d;
}
.footer-brand span {
    font-size:13.5px;
}
.footer-nav {
    margin-left:auto;
    display:flex;
    justify-content:flex-end;
    flex-wrap:wrap;
    gap:5px 12px;
}
.footer-nav a {
    color:#49677e;
    font-size:13px;
    font-weight:700;
    text-decoration:none;
}
.footer-nav a:hover {
    color:#0a5b94;
    text-decoration:underline;
}

.legal-main {
    min-height:calc(100vh - 180px);
    background:#f4f7f9;
}
.legal-hero {
    padding:22px 0 18px;
    background:linear-gradient(135deg,#073f70,#0a6498);
    color:#fff;
}
.legal-hero h1 {
    margin:6px 0 0;
    color:#fff;
    font-size:30px;
    line-height:1.15;
}
.back-home {
    color:rgba(255,255,255,.82);
    font-size:14px;
    font-weight:800;
    text-decoration:none;
}
.back-home:hover {
    color:#fff;
    text-decoration:underline;
}
.legal-content {
    padding-top:20px;
    padding-bottom:34px;
}
.legal-card {
    max-width:940px;
    margin:0 auto;
    padding:22px 25px;
    border:1px solid #d7e1e8;
    border-radius:12px;
    background:#fff;
    box-shadow:0 5px 18px rgba(26,55,77,.05);
    color:#38536a;
    font-size:13px;
    line-height:1.55;
}
.legal-card h2 {
    margin:20px 0 5px;
    color:#0b426f;
    font-size:18px;
}
.legal-card h2:first-of-type {
    margin-top:15px;
}
.legal-card p {
    margin:0 0 9px;
}
.legal-card a {
    color:#075b96;
    font-weight:700;
}
.legal-lead {
    color:#294b65;
    font-size:15px;
    line-height:1.5;
}
.legal-highlight {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-top:16px;
    padding:12px 14px;
    border:1px solid #bfdcad;
    border-radius:9px;
    background:#eff8eb;
}
.legal-highlight strong {
    color:#2e7420;
    font-size:15px;
}
.legal-highlight span {
    color:#56764c;
    font-size:14px;
    font-weight:800;
}
.contact-box {
    display:inline-flex;
    flex-direction:column;
    gap:2px;
    min-width:300px;
    margin:8px 0 12px;
    padding:14px 16px;
    border-radius:9px;
    background:#eef5fa;
    border:1px solid #cbdde9;
}
.contact-box span {
    color:#6a8091;
    font-size:13.5px;
    font-weight:900;
    text-transform:uppercase;
}
.contact-box a {
    font-size:18px;
}
.legal-update {
    margin-top:20px !important;
    padding-top:10px;
    border-top:1px solid #e0e7ec;
    color:#718596;
    font-size:13.5px;
}

@media (max-width:1100px) {
    .header-inner {
        flex-direction:column;
        align-items:flex-start;
        padding-top:9px;
        padding-bottom:9px;
    }
    .site-header .brand img {
        width:min(360px, 78vw);
    }
    .main-nav {
        margin-left:0;
        justify-content:flex-start;
    }
}
@media (max-width:700px) {
    .main-nav {
        gap:7px 11px;
    }
    .main-nav a {
        font-size:13.5px;
    }
    .legal-card {
        padding:17px;
    }
    .legal-highlight {
        align-items:flex-start;
        flex-direction:column;
        gap:2px;
    }
    .footer-inner {
        align-items:flex-start;
        flex-direction:column;
    }
    .footer-nav {
        margin-left:0;
        justify-content:flex-start;
    }
}

/* === V17: SROZUMITELNÉ CHYBĚJÍCÍ INFORMACE === */
.missing-card{overflow:visible}
.missing-intro{margin:0 0 9px;color:#405d75;font-size:14px;line-height:1.38}
.missing-bars{display:grid;gap:7px}
.missing-row{padding:7px 8px;border:1px solid #d7e2ea;border-radius:8px;background:#fff}
.missing-row-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.missing-row-head strong{color:#123f65;font-size:14px;line-height:1.2}
.missing-row-head span{flex:0 0 auto;color:#0b6b9e;font-size:13.5px;font-weight:900}
.missing-track{height:8px;margin:4px 0 5px;overflow:hidden;border-radius:5px;background:#e5edf3}
.missing-track i{display:block;height:100%;border-radius:5px;background:linear-gradient(90deg,#4f9bd0,#1974b5)}
.missing-row p{margin:0;color:#536d82;font-size:13.5px;line-height:1.3}
.missing-conclusion{margin-top:9px;padding:9px 10px;border:1px solid #c7dceb;border-radius:8px;background:#eef6fb}
.missing-conclusion strong,.missing-conclusion span{display:block}
.missing-conclusion strong{color:#0b4b7c;font-size:14px}
.missing-conclusion span{margin-top:3px;color:#506b80;font-size:13.5px;line-height:1.3}
.missing-empty{padding:15px;border-radius:8px;background:#f2f6f8;color:#60778a;text-align:center;font-size:14px}


/* === V18: KOMPAKTNÍ HERO S OBRÁZKEM + ČITELNÁ PATIČKA === */
.hero {
    padding: 20px 0 22px;
}
.hero-main {
    min-height: 176px;
    display:grid;
    grid-template-columns:minmax(0,1.12fr) minmax(370px,.88fr);
    gap:20px;
    align-items:center;
}
.hero-copy {
    position:relative;
    z-index:2;
}
.hero-copy h1 {
    margin-top:0;
}
.hero-visual {
    height:176px;
    display:flex;
    justify-content:flex-end;
    align-items:center;
    overflow:hidden;
}
.hero-visual img {
    display:block;
    height:164px;
    width:auto;
    max-width:100%;
    object-fit:fill;
    object-position:right center;
    filter:drop-shadow(0 8px 14px rgba(0,0,0,.16));
}
.site-footer {
    background:#07345d;
}
.footer-inner {
    min-height:76px;
    align-items:center;
}
.footer-brand strong,
.footer-brand span {
    color:#fff !important;
}
.footer-brand strong { font-size:14px; }
.footer-brand span { font-size:14px; opacity:.92; }
.footer-nav {
    gap:8px 16px;
}
.footer-nav a {
    color:#fff !important;
    font-size:14px !important;
    line-height:1.3;
    font-weight:800;
    opacity:.98;
}
.footer-nav a:hover,
.footer-nav a:focus-visible {
    color:#fff !important;
    text-decoration:underline;
}
@media (max-width:1000px) {
    .hero-main { grid-template-columns:1fr; }
    .hero-visual { display:none; }
}


/* === V19: ČITELNÁ PATIČKA + KONTAKT + ROZŠÍŘENÉ INFORMAČNÍ STRÁNKY === */

/* Patička: odkazy opravdu velké a bílé */
.site-footer {
    background:#06335c !important;
}
.footer-inner {
    min-height:92px;
    padding-top:18px;
    padding-bottom:18px;
}
.footer-brand strong {
    color:#fff !important;
    font-size:16px !important;
    line-height:1.2;
}
.footer-brand span {
    color:#fff !important;
    font-size:14px !important;
    line-height:1.3;
    opacity:.92;
}
.footer-nav {
    gap:10px 19px !important;
}
.footer-nav a {
    color:#fff !important;
    font-size:14px !important;
    line-height:1.35 !important;
    font-weight:800 !important;
    opacity:1 !important;
    text-decoration:none;
}
.footer-nav a:visited {
    color:#fff !important;
}
.footer-nav a:hover,
.footer-nav a:focus-visible {
    color:#fff !important;
    text-decoration:underline;
}

/* Delší informační stránky */
.legal-card {
    max-width:1040px;
    font-size:14px;
    line-height:1.62;
}
.legal-card h2 {
    margin-top:25px;
    font-size:20px;
}
.legal-lead {
    font-size:16px;
    line-height:1.58;
}
.legal-kicker {
    display:block;
    margin-bottom:5px;
    color:#409b24;
    font-size:14px;
    font-weight:900;
    letter-spacing:.08em;
}

/* Kontakt */
.contact-intro {
    max-width:1040px;
    margin:0 auto 18px;
    padding:0 2px;
}
.contact-intro h2 {
    margin:0 0 7px;
    color:#083e69;
    font-size:28px;
    line-height:1.15;
}
.contact-intro p {
    max-width:760px;
    margin:0;
    color:#49647a;
    font-size:13px;
    line-height:1.5;
}
.contact-layout {
    max-width:1040px;
    margin:0 auto;
    display:grid;
    grid-template-columns:38% 62%;
    gap:16px;
    align-items:start;
}
.contact-profile,
.contact-form-card {
    border:1px solid #d3e0e9;
    border-radius:12px;
    background:#fff;
    box-shadow:0 7px 20px rgba(20,56,82,.06);
}
.contact-profile {
    padding:16px;
}
.contact-profile > h2,
.contact-form-card > h2 {
    margin:0 0 14px;
    color:#083e69;
    font-size:20px;
}
.contact-details {
    margin:0;
}
.contact-details > div {
    padding:9px 0;
    border-bottom:1px solid #dfe7ed;
}
.contact-details dt {
    margin:0 0 3px;
    color:#183d5d;
    font-size:14px;
    font-weight:900;
}
.contact-details dd {
    margin:0;
    color:#183d5d;
    font-size:14px;
    line-height:1.4;
}
.contact-details a {
    color:#268f18;
    font-weight:900;
}
.contact-expertise {
    margin:11px 0 6px;
    padding:12px 13px;
    border:1px solid #cbdde8;
    border-left:3px solid #4aaa2d;
    border-radius:8px;
    background:#f5f9fb;
}
.contact-expertise h3 {
    margin:0 0 5px;
    color:#143b5b;
    font-size:14px;
}
.contact-expertise h3:not(:first-child) {
    margin-top:12px;
}
.contact-expertise p,
.contact-expertise li {
    color:#405e75;
    font-size:14px;
    line-height:1.45;
}
.contact-expertise p {
    margin:0;
}
.contact-expertise ul {
    margin:5px 0 0 16px;
    padding:0;
}
.contact-form-card {
    padding:16px;
}
.contact-form {
    display:block;
}
.contact-form-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:11px 13px;
}
.contact-form-grid label {
    display:block;
}
.contact-form-grid label.full {
    grid-column:1 / -1;
}
.contact-form-grid label > span {
    display:block;
    margin-bottom:5px;
    color:#153a59;
    font-size:14px;
    font-weight:900;
}
.contact-form-grid label > span b {
    color:#c52828;
}
.contact-form-grid input,
.contact-form-grid textarea {
    width:100%;
    box-sizing:border-box;
    border:1px solid #bfcfdb;
    border-radius:6px;
    background:#fff;
    padding:10px 11px;
    color:#183a56;
    font:inherit;
    font-size:14px;
}
.contact-form-grid textarea {
    resize:vertical;
    min-height:120px;
}
.contact-form-grid input:focus,
.contact-form-grid textarea:focus {
    outline:none;
    border-color:#3d91c8;
    box-shadow:0 0 0 3px rgba(61,145,200,.12);
}
.contact-privacy {
    margin:12px 0 11px;
    padding:9px 10px;
    border:1px solid #d3e0e8;
    border-radius:7px;
    background:#f6f9fb;
    color:#60778a;
    font-size:13px;
    line-height:1.4;
}
.contact-privacy a {
    color:#318e1f;
    font-weight:800;
}
.contact-submit {
    border:0;
    border-radius:7px;
    background:#40a521;
    color:#fff;
    padding:11px 17px;
    font-size:14px;
    font-weight:900;
    cursor:pointer;
}
.contact-submit:hover {
    background:#348d19;
}
.contact-submit:disabled {
    opacity:.55;
    cursor:wait;
}

@media (max-width:850px) {
    .contact-layout {
        grid-template-columns:1fr;
    }
    .contact-form-grid {
        grid-template-columns:1fr;
    }
    .contact-form-grid label.full {
        grid-column:auto;
    }
}


/* === V20: HERO PODLE SCHVÁLENÉHO VZHLEDU === */
.hero {
    position:relative;
    overflow:hidden;
    padding:0 !important;
    background:#073a6a !important;
}
.hero-main {
    position:relative;
    min-height:225px !important;
    display:grid !important;
    grid-template-columns:minmax(0,1.05fr) minmax(500px,.95fr) !important;
    gap:12px !important;
    align-items:center !important;
    padding-top:18px !important;
    padding-bottom:18px !important;
}
.hero-copy {
    position:relative;
    z-index:3;
    max-width:690px;
}
.hero .eyebrow {
    margin:0 0 8px !important;
    color:#79df50 !important;
    font-size:14px !important;
    font-weight:900 !important;
    letter-spacing:.08em !important;
}
.hero h1 {
    max-width:680px !important;
    margin:0 0 10px !important;
    color:#fff !important;
    font-size:clamp(2rem,3vw,3rem) !important;
    line-height:1.08 !important;
}
.hero .lead {
    max-width:720px !important;
    margin:0 !important;
    color:#fff !important;
    font-size:15px !important;
    line-height:1.45 !important;
}

/* Obrázek je součástí stejného modrého pruhu, nikoli vložený obdélník. */
.hero-visual {
    position:absolute !important;
    z-index:1;
    top:0;
    right:-10px;
    bottom:0;
    width:55% !important;
    height:100% !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    overflow:hidden !important;
    pointer-events:none;
}
.hero-visual img {
    position:absolute;
    right:-18px;
    bottom:-5px;
    display:block;
    width:auto !important;
    height:auto !important;
    max-width:760px !important;
    max-height:228px !important;
    object-fit:contain !important;
    object-position:right bottom !important;
    filter:none !important;

    /* Plynulé rozpuštění levého okraje obrázku do stejné modré. */
    -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.15) 4%,rgba(0,0,0,.55) 11%,#000 22%,#000 100%);
    mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.15) 4%,rgba(0,0,0,.55) 11%,#000 22%,#000 100%);
}

/* Modrý přechod přes levý okraj obrázku odstraní viditelnou hranici fotografie. */
.hero-visual::after {
    content:"";
    position:absolute;
    inset:0;
    z-index:2;
    background:linear-gradient(90deg,#073a6a 0%,rgba(7,58,106,.92) 6%,rgba(7,58,106,.55) 14%,rgba(7,58,106,.12) 27%,rgba(7,58,106,0) 43%);
    pointer-events:none;
}

/* Výsledky těsně pod hero jako ve schváleném návrhu. */
.results-section {
    padding-top:24px !important;
    padding-bottom:34px !important;
}
.section-head h2 {
    font-size:32px !important;
}

/* Patička zůstává výrazná, bílá a čitelná. */
.site-footer {
    background:#06345e !important;
}
.footer-nav a {
    color:#fff !important;
    font-size:14px !important;
    font-weight:800 !important;
}
.footer-brand strong,
.footer-brand span {
    color:#fff !important;
}

@media (max-width:1180px) {
    .hero-main {
        grid-template-columns:minmax(0,1fr) minmax(390px,.8fr) !important;
    }
    .hero-visual {
        width:48% !important;
    }
    .hero-visual img {
        max-height:205px !important;
        right:-35px;
    }
}
@media (max-width:900px) {
    .hero-main {
        grid-template-columns:1fr !important;
        padding-right:170px !important;
    }
    .hero-visual {
        width:290px !important;
        opacity:.45;
    }
    .hero-visual img {
        max-height:190px !important;
        right:-65px;
    }
}
@media (max-width:680px) {
    .hero-main {
        min-height:auto !important;
        padding-right:0 !important;
    }
    .hero-visual {
        display:none !important;
    }
}


/* === V21: SCHVÁLENÝ HERO JAKO JEDEN OBRÁZEK === */
.hero.hero-image-only {
    display:block !important;
    min-height:0 !important;
    height:auto !important;
    padding:0 !important;
    margin:0 !important;
    overflow:hidden !important;
    background:#051e44 !important;
}
.hero.hero-image-only::before,
.hero.hero-image-only::after {
    display:none !important;
    content:none !important;
}
.hero.hero-image-only > img {
    display:block !important;
    width:100% !important;
    height:auto !important;
    max-width:none !important;
    max-height:none !important;
    margin:0 !important;
    padding:0 !important;
    object-fit:contain !important;
}

/* Staré skládání hero z V18–V20 se už nepoužívá. */
.hero-image-only .hero-main,
.hero-image-only .hero-copy,
.hero-image-only .hero-visual {
    display:none !important;
}

/* Na velmi širokých obrazovkách zůstává poměr stran přesně podle schváleného návrhu. */
@media (min-width:1516px) {
    .hero.hero-image-only > img {
        width:100% !important;
    }
}


/* === V22: MENŠÍ LOGO, NIŽŠÍ HERO, HUSTŠÍ STRÁNKA === */

/* Hlavička */
.site-header .header-inner {
    min-height:64px !important;
    padding-top:5px !important;
    padding-bottom:5px !important;
    gap:14px !important;
}
.site-header .brand img {
    width:260px !important;
    max-width:260px !important;
    height:auto !important;
}
.main-nav {
    gap:3px 14px !important;
}
.main-nav a {
    font-size:14px !important;
}

/* Hero jako jeden obrázek – nově nižší */
.hero.hero-image-only {
    background:#051e44 !important;
}
.hero.hero-image-only > img {
    width:100% !important;
    height:auto !important;
    max-height:330px !important;
    object-fit:contain !important;
}

/* Výsledky – méně prázdného prostoru */
.results-section {
    padding-top:16px !important;
    padding-bottom:22px !important;
}
.section-head {
    margin-bottom:8px !important;
}
.section-head h2 {
    margin-bottom:0 !important;
    font-size:29px !important;
}
.section-head p {
    margin-top:2px !important;
    font-size:14px !important;
}
.search-box input {
    min-height:42px !important;
    padding:9px 12px !important;
}
.table-wrap {
    margin-top:6px !important;
}
.results-table th {
    padding:8px 10px !important;
    font-size:13.5px !important;
}
.results-table td {
    padding:9px 10px !important;
}
.method-note {
    margin-top:7px !important;
    font-size:13.5px !important;
}

/* Patička nižší, ale stále čitelná */
.site-footer {
    padding:0 !important;
}
.footer-inner {
    min-height:68px !important;
    padding-top:11px !important;
    padding-bottom:11px !important;
}
.footer-brand strong {
    font-size:14px !important;
}
.footer-brand span {
    font-size:14px !important;
}
.footer-nav {
    gap:6px 14px !important;
}
.footer-nav a {
    font-size:14px !important;
}

/* Statické stránky také hustší */
.legal-hero {
    padding:14px 0 12px !important;
}
.legal-hero h1 {
    font-size:26px !important;
}
.legal-content {
    padding-top:14px !important;
    padding-bottom:24px !important;
}
.legal-card {
    padding:18px 21px !important;
}
.legal-card h2 {
    margin-top:20px !important;
}
.contact-intro {
    margin-bottom:12px !important;
}
.contact-layout {
    gap:12px !important;
}

/* Tablet */
@media (max-width:1100px) {
    .site-header .brand img {
        width:230px !important;
        max-width:230px !important;
    }
    .site-header .header-inner {
        min-height:60px !important;
    }
}

/* Mobil */
@media (max-width:700px) {
    .site-header .brand img {
        width:210px !important;
        max-width:75vw !important;
    }
    .footer-inner {
        min-height:auto !important;
    }
}


/* === V28: PŘESNĚ SCHVÁLENÝ HERO Z NÁHLEDU === */
.hero.hero-image-only {
    display:block !important;
    width:100% !important;
    min-height:0 !important;
    height:auto !important;
    padding:0 !important;
    margin:0 !important;
    overflow:hidden !important;
    background:#062b55 !important;
}
.hero.hero-image-only::before,
.hero.hero-image-only::after {
    display:none !important;
    content:none !important;
}
.hero.hero-image-only > img {
    display:block !important;
    width:100% !important;
    height:auto !important;
    max-width:none !important;
    max-height:none !important;
    margin:0 !important;
    padding:0 !important;
    object-fit:contain !important;
    object-position:center center !important;
}

/* Kompaktní proporce schváleného vzhledu */
.site-header .header-inner {
    min-height:64px !important;
    padding-top:5px !important;
    padding-bottom:5px !important;
}
.site-header .brand img {
    width:260px !important;
    max-width:260px !important;
    height:auto !important;
}
.results-section {
    padding-top:18px !important;
    padding-bottom:24px !important;
}


/* === V30: HERO SE NEROZTAHUJE S OKNEM === */
.hero.hero-image-only {
    width:100% !important;
    background:#062b55 !important;
    overflow:hidden !important;
    padding:0 !important;
    margin:0 !important;
}
.hero.hero-image-only > img {
    display:block !important;
    width:min(100%, 1440px) !important;
    max-width:1440px !important;
    height:auto !important;
    margin:0 auto !important;
    object-fit:contain !important;
    object-position:center center !important;
}

/* Na menších obrazovkách se hero jen proporcionálně zmenší,
   nikdy se vodorovně neroztáhne nad svou obsahovou šířku. */
@media (max-width: 1440px) {
    .hero.hero-image-only > img {
        width:100% !important;
        max-width:100% !important;
    }
}


/* === V31: HERO OBSAH PŘESNĚ VE STEJNÉ ŠÍŘCE JAKO STRÁNKA === */
.hero.hero-image-only {
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
    min-height:0 !important;
    height:auto !important;
    overflow:hidden !important;
    background:#082f5b !important;
}

.hero.hero-image-only .hero-image-container {
    width:min(1240px, calc(100% - 40px)) !important;
    max-width:1240px !important;
    margin:0 auto !important;
    padding:0 !important;
}

.hero.hero-image-only .hero-image-container > img {
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    margin:0 !important;
    padding:0 !important;
    object-fit:contain !important;
    object-position:center center !important;
}

@media (max-width:800px) {
    .hero.hero-image-only .hero-image-container {
        width:min(100% - 24px, 1240px) !important;
    }
}


/* === V32: sjednocení barvy boků horního modrého pruhu === */
.hero.hero-image-only {
    background:#012147 !important;
}


/* === V33: přesné zarovnání horní hrany hero === */
.hero.hero-image-only {
    border:0 !important;
    border-top:0 !important;
    margin-top:-1px !important;
    vertical-align:top !important;
}
.hero.hero-image-only .hero-image-container {
    border:0 !important;
    vertical-align:top !important;
    line-height:0 !important;
}
.hero.hero-image-only .hero-image-container > img {
    vertical-align:top !important;
    border:0 !important;
}


/* === V34: skutečná oprava horní hrany === */
.hero.hero-image-only {
    margin-top:0 !important;
}


/* === V35: JEDNA LEVÁ A PRAVÁ OSA PRO CELOU STRÁNKU === */
.container {
    width:min(1240px, calc(100% - 40px)) !important;
    max-width:1240px !important;
    margin-left:auto !important;
    margin-right:auto !important;
}

.hero.hero-image-only {
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    background:linear-gradient(
        to right,
        #022145 0%,
        #022145 50%,
        #011f45 50%,
        #011f45 100%
    ) !important;
}

.hero.hero-image-only .hero-image-container {
    width:min(1240px, calc(100% - 40px)) !important;
    max-width:1240px !important;
    margin:0 auto !important;
    padding:0 !important;
    border:0 !important;
    line-height:0 !important;
}

.hero.hero-image-only .hero-image-container > img {
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    object-fit:contain !important;
}

/* Hlavička, výsledky a patička používají tentýž společný kontejner. */
.site-header .header-inner,
.results-section,
.site-footer .footer-inner {
    width:min(1240px, calc(100% - 40px)) !important;
    max-width:1240px !important;
    margin-left:auto !important;
    margin-right:auto !important;
}

@media (max-width:800px) {
    .container,
    .hero.hero-image-only .hero-image-container,
    .site-header .header-inner,
    .results-section,
    .site-footer .footer-inner {
        width:min(100% - 24px, 1240px) !important;
    }
}


/* ==========================================================
   V40 – HTML HERO S JEDNÍM GRAFICKÝM PRVKEM
   Jedna levá a pravá osa celé stránky.
   ========================================================== */

:root {
    --page-content-width: 1240px;
    --page-gutter: 40px;
    --hero-blue: #002046;
}

.container,
.site-header .header-inner,
.results-section,
.site-footer .footer-inner {
    width: min(var(--page-content-width), calc(100% - var(--page-gutter))) !important;
    max-width: var(--page-content-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Celý horní pruh je jedna jediná modrá plocha. */
.home-hero {
    width: 100%;
    margin: 0;
    padding: 0;
    background: var(--hero-blue);
    overflow: hidden;
}

/* Obsah hero má přesně stejnou šířku jako výsledky pod ním. */
.home-hero-inner {
    position: relative;
    min-height: 294px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    overflow: visible;
}

/* Levý text začíná přesně na levé hraně společného kontejneru. */
.home-hero-copy {
    position: relative;
    z-index: 2;
    flex: 0 0 52%;
    padding: 39px 0 34px 0;
    margin: 0;
    color: #fff;
    box-sizing: border-box;
}

.home-hero-kicker {
    margin: 0 0 14px 0;
    padding: 0;
    color: #8fcf45;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .045em;
}

.home-hero-copy h1 {
    margin: 0 0 22px 0;
    padding: 0;
    color: #fff;
    font-size: 35px;
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -.015em;
}

.home-hero-copy p {
    margin: 0 0 7px 0;
    padding: 0;
    color: #fff;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 400;
}

/* Pravý grafický prvek končí přesně na pravé hraně společného kontejneru. */
.home-hero-visual {
    position: absolute;
    z-index: 1;
    top: 10px;
    right: 0;
    bottom: 0;
    width: 58%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    pointer-events: none;
}

/* PNG má průhledné pozadí – pod ním je tedy vždy stejná modrá jako v celém pruhu. */
.home-hero-visual img {
    display: block;
    max-width: 100%;
    max-height: 284px;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    object-fit: contain;
    object-position: right bottom;
}

/* Výsledky zůstanou zarovnané na stejné svislé osy. */
.results-section {
    box-sizing: border-box !important;
}

/* Responzivita bez vodorovného rozpadnutí os. */
@media (max-width: 1000px) {
    .home-hero-copy {
        flex-basis: 58%;
    }

    .home-hero-visual {
        width: 52%;
        opacity: .92;
    }

    .home-hero-copy h1 {
        font-size: 30px;
    }
}

@media (max-width: 760px) {
    :root {
        --page-gutter: 24px;
    }

    .home-hero-inner {
        min-height: 270px;
    }

    .home-hero-copy {
        flex: 0 0 100%;
        padding: 31px 0 30px 0;
        padding-right: 0;
    }

    .home-hero-visual {
        opacity: .18;
        width: 70%;
        right: -12%;
    }

    .home-hero-copy h1 {
        font-size: 27px;
    }

    .home-hero-copy p {
        font-size: 14px;
        max-width: 92%;
    }
}

/* V42 – dvě souhrnné hodnoticí věty pod hlavním teploměrem */
.score-summary {
    margin-top: 13px;
    padding-top: 11px;
    border-top: 1px solid #d8e2ec;
}
.score-summary p {
    margin: 0 0 7px 0;
    font-size: 12.5px;
    line-height: 1.38;
    font-weight: 600;
    color: #063563;
}
.score-summary p:last-child { margin-bottom: 0; }

/* V44 – tři zřetelné odstavce pod grafem „Jak občan věc vyřídí?“ */
.processing-summary {
    margin-top: 14px !important;
}
.processing-summary p {
    display: block !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    font-size: 12.5px !important;
    line-height: 1.42 !important;
}
.processing-summary p:last-child {
    margin-bottom: 0 !important;
}

/* V47 – vysvětlení percentilu ve srovnání obcí */
.comparison-note {
    margin: 5px 0 12px 0 !important;
    font-size: 12.3px !important;
    line-height: 1.35 !important;
    color: #53697d !important;
}

/* V50 – doplnění původního podrobného okna o další části reportu */
.report-added-sections {
    margin: 18px 0 22px;
    padding: 18px;
    border: 1px solid #d7e1ea;
    border-radius: 9px;
    background: #f7fafc;
}
.report-added-head {
    margin-bottom: 14px;
}
.report-added-head > span {
    display: block;
    margin-bottom: 5px;
    font-size: 11.5px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .055em;
    color: #5d8d25;
}
.report-added-head h3 {
    margin: 0 0 6px;
    font-size: 17px;
    line-height: 1.25;
    color: #063563;
}
.report-added-head p {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: #52697d;
}
.report-added-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px;
}
.report-added-grid article {
    padding: 13px 14px;
    border: 1px solid #dce5ed;
    border-radius: 7px;
    background: #fff;
}
.report-added-grid h4 {
    margin: 0 0 7px;
    font-size: 13px;
    line-height: 1.3;
    color: #063563;
}
.report-added-grid p {
    margin: 0;
    font-size: 12.3px;
    line-height: 1.42;
    color: #40566b;
}
@media(max-width:760px){
    .report-added-grid { grid-template-columns:1fr; }
}

/* V52 – stránkování tabulky obcí po 10 záznamech */
.table-pagination {
    margin: 16px 0 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.table-pagination[hidden] { display: none !important; }
.pagination-pages {
    display: flex;
    align-items: center;
    gap: 5px;
}
.pagination-page,
.pagination-arrow {
    min-width: 34px;
    height: 34px;
    padding: 0 9px;
    border: 1px solid #cbd8e4;
    border-radius: 6px;
    background: #fff;
    color: #063563;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.pagination-page:hover,
.pagination-arrow:hover:not(:disabled) {
    border-color: #8eabc4;
    background: #f4f8fb;
}
.pagination-page.is-active {
    border-color: #063563;
    background: #063563;
    color: #fff;
}
.pagination-arrow:disabled {
    opacity: .38;
    cursor: default;
}
.pagination-info {
    margin-left: 8px;
    font-size: 12px;
    color: #667b8e;
}

/* V54 – třídění tabulky pomocí dvojice malých trojúhelníků */
.results-table th.sortable-th {
    position: relative;
}
.sortable-th {
    white-space: nowrap;
}
.sort-head-label {
    display: inline-block;
    vertical-align: middle;
}
.sort-arrows {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    margin-left: 5px;
    vertical-align: middle;
    transform: translateY(1px);
}
.sort-arrow {
    display: block;
    width: 13px;
    height: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #9aa9b7;
    font-size: 9.2px;
    line-height: 9px;
    cursor: pointer;
}
.sort-arrow:hover {
    color: #315f89;
}
.sortable-th.is-active .sort-head-label {
    color: #063563;
    font-weight: 800;
}
.sort-arrow.is-active {
    color: #0b67ad;
    transform: scale(1.18);
}
.sort-arrow:focus-visible {
    outline: 2px solid #0b67ad;
    outline-offset: 1px;
    border-radius: 2px;
}

/* V55 – větší a výraznější třídicí trojúhelníky */
.sort-arrows {
    gap: 1px;
    margin-left: 7px;
}
.sort-arrow {
    width: 17px;
    height: 13px;
    font-size: 12.3px;
    line-height: 12px;
    font-weight: 900;
    color: #71879a;
}
.sort-arrow:hover {
    color: #174f7d;
}
.sort-arrow.is-active {
    color: #005fa8;
    transform: scale(1.12);
    text-shadow: 0 0 0.4px currentColor;
}

/* V57 – aktivní třídicí směr musí být vidět na první pohled */
.sort-arrow.is-active {
    color: #e85d04 !important;
    font-size: 16px !important;
    line-height: 15px !important;
    width: 20px !important;
    height: 16px !important;
    font-weight: 900 !important;
    transform: scale(1.18) !important;
    text-shadow: 0 1px 0 rgba(0,0,0,.12);
}
.sortable-th.is-active .sort-head-label {
    color: #063563 !important;
    font-weight: 900 !important;
}

/* V58 – dvě informační funkce v horním menu a podrobné modální výklady */
.main-nav {
    gap: 16px;
}
.main-nav-modal-link {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    color: inherit;
    cursor: pointer;
    white-space: nowrap;
}
.main-nav-modal-link:hover,
.main-nav-modal-link:focus-visible {
    color: #0b67ad;
    text-decoration: underline;
    text-underline-offset: 4px;
}
body.method-modal-open {
    overflow: hidden;
}
.method-info-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
}
.method-info-modal[aria-hidden="false"] {
    display: block;
}
.method-info-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 20, 45, .68);
    backdrop-filter: blur(2px);
}
.method-info-window {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(1080px, calc(100vw - 44px));
    max-height: calc(100vh - 44px);
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(0, 22, 52, .28);
    overflow: hidden;
}
.method-info-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 32px 24px;
    background: #002046;
    color: #fff;
}
.method-info-head h2 {
    margin: 4px 0 7px;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.12;
}
.method-info-head p {
    margin: 0;
    max-width: 780px;
    color: rgba(255,255,255,.82);
    font-size: 15px;
    line-height: 1.55;
}
.method-info-kicker {
    display: block;
    font-size: 12.3px;
    font-weight: 900;
    letter-spacing: .12em;
    color: #8fc7ef;
}
.method-info-close {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: 29px;
    line-height: 1;
    cursor: pointer;
}
.method-info-close:hover {
    background: rgba(255,255,255,.18);
}
.method-info-body {
    max-height: calc(100vh - 190px);
    overflow-y: auto;
    padding: 32px;
    color: #1f3347;
}
.method-info-lead {
    padding: 26px 28px;
    border-radius: 14px;
    background: #f1f7fb;
    border-left: 5px solid #0b67ad;
    margin-bottom: 28px;
}
.method-info-lead h3 {
    margin: 0 0 13px;
    color: #002f59;
    font-size: 23px;
    line-height: 1.28;
}
.method-info-body p {
    font-size: 15px;
    line-height: 1.75;
    margin: 0 0 14px;
}
.method-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 18px;
    margin: 26px 0 30px;
}
.method-info-grid article {
    padding: 22px;
    border: 1px solid #dbe7ef;
    border-radius: 13px;
    background: #fff;
}
.method-info-grid h3,
.legal-basis-list h3,
.method-comment h3 {
    margin: 0 0 10px;
    color: #063563;
    font-size: 18px;
    line-height: 1.3;
}
.method-comment {
    padding: 24px 26px;
    border-radius: 14px;
    background: #fff8ed;
    border: 1px solid #f0d5aa;
}
.method-comment.warning {
    margin-top: 28px;
    background: #f6f8fa;
    border-color: #d8e0e6;
}
.legal-basis-list {
    display: grid;
    gap: 18px;
}
.legal-basis-list article {
    display: grid;
    grid-template-columns: 48px minmax(0,1fr);
    gap: 18px;
    padding: 22px 24px;
    border: 1px solid #dce7ef;
    border-radius: 14px;
}
.legal-basis-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: #e9f4fb;
    color: #075b9d;
    font-weight: 900;
}
.legal-basis-list a {
    display: inline-block;
    margin-top: 2px;
    color: #075b9d;
    font-weight: 800;
    text-decoration: none;
}
.legal-basis-list a:hover {
    text-decoration: underline;
}
@media (max-width: 1120px) {
    .main-nav {
        gap: 10px;
    }
    .main-nav-modal-link,
    .main-nav a {
        font-size: 12px;
    }
}
@media (max-width: 820px) {
    .method-info-window {
        width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
    }
    .method-info-head,
    .method-info-body {
        padding-left: 20px;
        padding-right: 20px;
    }
    .method-info-body {
        max-height: calc(100vh - 155px);
    }
    .method-info-grid {
        grid-template-columns: 1fr;
    }
    .legal-basis-list article {
        grid-template-columns: 1fr;
    }
}

/* V59 – kompaktnější obsah obou metodických oken */
.method-info-head {
    padding: 20px 26px 17px;
    gap: 18px;
}
.method-info-head h2 {
    margin: 2px 0 4px;
}
.method-info-body {
    padding: 20px 26px 24px;
}
.method-info-body p {
    line-height: 1.58;
    margin: 0 0 8px;
}
.method-info-lead {
    padding: 18px 21px;
    margin-bottom: 16px;
}
.method-info-lead h3 {
    margin-bottom: 8px;
}
.method-info-grid {
    gap: 11px;
    margin: 15px 0 17px;
}
.method-info-grid article {
    padding: 16px 18px;
}
.method-info-grid h3,
.legal-basis-list h3,
.method-comment h3 {
    margin-bottom: 6px;
}
.method-comment {
    padding: 17px 20px;
}
.method-comment.warning {
    margin-top: 16px;
}
.legal-basis-list {
    gap: 10px;
}
.legal-basis-list article {
    gap: 13px;
    padding: 15px 18px;
}
.legal-basis-list a {
    margin-top: 0;
}

.digital-certificate{margin:26px 0;padding:24px;background:#fff;border:1px solid #dbe5ee;border-radius:18px;box-shadow:0 8px 26px rgba(0,32,70,.07)}
.digital-certificate h2{margin:0 0 8px;color:#002046;font-size:26px}.digital-certificate-intro{margin:0 0 17px;line-height:1.55;color:#40556a}
.digital-certificate-table-wrap{overflow-x:auto;border:1px solid #dce6ee;border-radius:13px}.digital-certificate-table{width:100%;min-width:850px;border-collapse:collapse}
.digital-certificate-table th,.digital-certificate-table td{padding:13px 14px;border-right:1px solid #e5edf3;border-bottom:1px solid #e5edf3;text-align:center;vertical-align:middle}
.digital-certificate-table thead th{background:#002046;color:#fff;font-size:14px;font-weight:800}.digital-certificate-table thead th:first-child,.digital-certificate-table tbody th{text-align:left}
.digital-certificate-table tbody th{width:31%;background:#f6f9fb;color:#173a5d}.digital-certificate-table tbody td{color:#7a8996;font-size:13px;font-style:italic;background:#fbfcfd}
.digital-certificate-table tbody td.current{background:#eef8f1;color:#164d2c;font-size:15px;font-style:normal}.digital-certificate-table tr:last-child>*{border-bottom:0}.digital-certificate-table tr>*:last-child{border-right:0}
.digital-certificate-note{margin:12px 2px 0;color:#617487;font-size:13px;line-height:1.5}@media(max-width:760px){.digital-certificate{padding:18px}.digital-certificate h2{font-size:22px}}


/* V61 – pavučinový graf „Co občanovi nejčastěji chybí?“ */
.missing-radar-wrap{margin:4px 0 8px;padding:4px 10px 0;overflow:hidden}
.missing-radar-svg{display:block;width:100%;height:255px;overflow:hidden}
.missing-radar-grid{fill:#eef6fb;fill-opacity:.38;stroke:#b5cad9;stroke-width:1}
.missing-radar-axis{stroke:#c4d4df;stroke-width:1}
.missing-radar-value{fill:#4c91c7;fill-opacity:.24;stroke:#176ea9;stroke-width:2.2}
.missing-radar-label{fill:#123f65;font-size:13px;font-weight:800;dominant-baseline:middle}
.missing-radar-center{fill:#0b4b7c;font-size:14px;font-weight:900}
.missing-radar-center-small{fill:#6b8193;font-size:13px}
.missing-radar-legend{display:grid;gap:6px;margin-top:4px;padding-top:9px;border-top:1px solid #dbe6ee}
.missing-radar-legend-item{display:grid;grid-template-columns:10px 1fr;gap:7px;align-items:start}
.missing-radar-legend-item>i{width:9px;height:9px;margin-top:3px;border-radius:50%;box-shadow:0 0 0 1px rgba(0,0,0,.05)}
.missing-radar-legend-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.missing-radar-legend-head strong{color:#123f65;font-size:13.5px}
.missing-radar-legend-head span{color:#0b6b9e;font-size:13.5px;font-weight:900;white-space:nowrap}
.missing-radar-legend-item p{margin:1px 0 0;color:#536d82;font-size:13px;line-height:1.28}
@media(max-width:760px){.missing-radar-svg{height:235px}}

/* V63 – vyvážená hustota tří souhrnných bloků */
.verdict-card p,.potential-card p{margin:8px 0 0;line-height:1.43}
.verdict-card p+p,.potential-card p+p{margin-top:7px}


/* V64 – pět barevných pásem indexu v hlavní tabulce */
.index-legend{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:7px 15px;
    margin:0 0 10px;
    padding:9px 12px;
    background:#f8fbfd;
    border:1px solid #cbdce8;
    border-radius:11px;
    color:#173a5d;
    font-size:.9rem;
}
.index-legend-title{font-weight:900;color:#073b69;margin-right:2px}
.index-legend-item{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.index-legend-item strong{font-size:.9rem}
.index-legend-item small{font-size:.9rem;color:#5f7283}
.index-band-dot{
    display:inline-block;
    width:10px;
    height:10px;
    flex:0 0 10px;
    border-radius:50%;
}
.index-score-pill{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    min-width:104px;
    padding:5px 9px;
    border:1px solid transparent;
    background:#fff;
    color:#082e52;
}
.index-score-pill .index-band-letter{font-weight:900}
.index-band-a.index-band-dot{background:#2fa84f}
.index-band-b.index-band-dot{background:#86bf45}
.index-band-c.index-band-dot{background:#f1bd23}
.index-band-d.index-band-dot{background:#ef8a21}
.index-band-e.index-band-dot{background:#df3f3f}
.index-score-pill.index-band-a{background:#edf8f0;border-color:#b7dfc0;color:#17682e}
.index-score-pill.index-band-b{background:#f3f8e9;border-color:#cfe1aa;color:#4d751d}
.index-score-pill.index-band-c{background:#fff8df;border-color:#ecd889;color:#7d5a00}
.index-score-pill.index-band-d{background:#fff1e4;border-color:#efc49c;color:#9a4f0a}
.index-score-pill.index-band-e{background:#fff0f0;border-color:#efb9b9;color:#a52222}
.index-score-pill.index-band-neutral{background:#edf1f4;border-color:#d4dde3;color:#536171}
.index-band-neutral.index-band-dot{background:#9aa8b3}
@media(max-width:900px){
    .index-legend{align-items:flex-start}
}


/* V65 – vysvětlení významu sloupců nad legendou */
.table-explainer{
    width:100%;
    box-sizing:border-box;
    margin:0 0 10px;
    padding:14px 16px;
    background:#f5f9fc;
    border:1px solid #c9dbe8;
    border-radius:12px;
    color:#27465f;
    font-size:.9rem;
    line-height:1.55;
}
.table-explainer p{
    margin:0;
}
.table-explainer p+p{
    margin-top:8px;
}
.table-explainer strong{
    color:#073b69;
}


/* V68 – nižší hlavní modrý pruh; zachována symetrie schváleného HTML hero */
.home-hero-inner{
    min-height:230px;
}
.home-hero-copy{
    flex:0 0 57%;
    padding:25px 0 22px 0;
}
.home-hero-kicker{
    margin-bottom:9px;
    font-size:14px;
}
.home-hero-copy h1{
    max-width:650px;
    margin-bottom:13px;
    font-size:31px;
    line-height:1.13;
}
.home-hero-copy p{
    margin-bottom:5px;
    font-size:14px;
    line-height:1.36;
}
.home-hero-visual{
    top:8px;
    right:0;
    bottom:0;
    width:48%;
    align-items:center;
    justify-content:flex-end;
}
.home-hero-visual img{
    max-width:100%;
    max-height:210px;
    width:auto;
    height:auto;
    object-fit:contain;
    object-position:right center;
}
@media(max-width:1000px){
    .home-hero-inner{min-height:220px}
    .home-hero-copy{flex-basis:61%;padding:23px 0 20px}
    .home-hero-visual{width:43%;opacity:.92}
    .home-hero-visual img{max-height:195px}
    .home-hero-copy h1{font-size:28px}
}
@media(max-width:760px){
    .home-hero-inner{min-height:225px}
    .home-hero-copy{flex:0 0 100%;padding:25px 0 23px}
    .home-hero-visual{width:58%;right:-9%;opacity:.16}
    .home-hero-visual img{max-height:205px}
    .home-hero-copy h1{font-size:26px}
}


/* V69 – kompaktní jednořádková hlavní tabulka */
.results-table{
    table-layout:auto;
}
.results-table th,
.results-table td{
    padding-top:5px !important;
    padding-bottom:5px !important;
    vertical-align:middle !important;
    white-space:nowrap;
    line-height:1.18 !important;
}
.results-table tbody tr{
    height:38px;
}
.results-table .municipality{
    min-width:175px;
    width:22%;
}
.results-table .municipality .detail-link{
    display:inline !important;
    white-space:nowrap;
    line-height:1.15 !important;
}
.results-table th:last-child,
.results-table td:last-child{
    min-width:190px;
    width:22%;
}
.results-table td:last-child .rank,
.results-table td:last-child .subtle{
    display:inline !important;
    white-space:nowrap;
}
.results-table td:last-child .subtle{
    margin-left:4px;
}
.results-table .index-score-pill{
    min-width:100px;
    padding-top:4px;
    padding-bottom:4px;
}


/* V70 – posun sloupců vlevo a více místa pro Porovnání */
.results-table{
    width:100% !important;
    table-layout:fixed !important;
}
.results-table th,
.results-table td{
    padding-left:8px !important;
    padding-right:8px !important;
}
.results-table th:nth-child(1),
.results-table td:nth-child(1){
    width:31% !important;
}
.results-table th:nth-child(2),
.results-table td:nth-child(2){
    width:10% !important;
}
.results-table th:nth-child(3),
.results-table td:nth-child(3){
    width:11% !important;
}
.results-table th:nth-child(4),
.results-table td:nth-child(4){
    width:9% !important;
}
.results-table th:nth-child(5),
.results-table td:nth-child(5){
    width:11% !important;
}
.results-table th:nth-child(6),
.results-table td:nth-child(6){
    width:12% !important;
}
.results-table th:nth-child(7),
.results-table td:nth-child(7){
    width:16% !important;
}
.results-table .municipality{
    min-width:0 !important;
}
.results-table .municipality .detail-link{
    display:block !important;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.results-table th:last-child,
.results-table td:last-child{
    min-width:0 !important;
    width:16% !important;
}
.results-table td:last-child{
    text-align:left;
    overflow:hidden;
}
.results-table td:last-child .rank,
.results-table td:last-child .subtle{
    display:inline !important;
    white-space:nowrap;
}
.results-table td:last-child .subtle{
    margin-left:3px;
    font-size:13.5px !important;
}


/* V71 – tlačítko Jak číst tabulku v legendě + modální vysvětlení */
.index-legend{
    position:relative;
}
.table-help-button{
    margin-left:auto;
    border:1px solid #0b4f82;
    border-radius:8px;
    padding:6px 12px;
    background:#fff;
    color:#073b69;
    font:inherit;
    font-weight:800;
    cursor:pointer;
    white-space:nowrap;
}
.table-help-button:hover,
.table-help-button:focus-visible{
    background:#eaf3f9;
    outline:none;
}
.table-help-modal{
    position:fixed;
    inset:0;
    z-index:10000;
    display:none;
    align-items:center;
    justify-content:center;
    padding:24px;
}
.table-help-modal.is-open{
    display:flex;
}
.table-help-backdrop{
    position:absolute;
    inset:0;
    background:rgba(2,24,45,.58);
}
.table-help-dialog{
    position:relative;
    z-index:1;
    width:min(820px,100%);
    max-height:calc(100vh - 48px);
    overflow:auto;
    box-sizing:border-box;
    padding:25px 28px;
    border-radius:14px;
    background:#fff;
    box-shadow:0 18px 60px rgba(0,0,0,.28);
    color:#27465f;
}
.table-help-dialog h2{
    margin:0 38px 13px 0;
    color:#073b69;
}
.table-help-dialog p{
    margin:0;
    font-size:15px;
    line-height:1.65;
}
.table-help-dialog strong{
    color:#073b69;
}
.table-help-close{
    position:absolute;
    top:10px;
    right:12px;
    width:34px;
    height:34px;
    border:0;
    background:transparent;
    color:#27465f;
    font-size:28px;
    line-height:1;
    cursor:pointer;
}
body.table-help-open{
    overflow:hidden;
}
@media(max-width:700px){
    .table-help-button{
        margin-left:0;
    }
    .table-help-dialog{
        padding:22px 20px;
    }
}


/* V73 – legenda hned pod hero, hledání v záhlaví Obec */
.results-section{
    padding-top:0 !important;
}
.index-legend{
    margin-top:0 !important;
}
.results-table th:first-child{
    white-space:nowrap;
}
.header-search-box{
    display:inline-block;
    margin-left:7px;
    vertical-align:middle;
}
.header-search-box input{
    width:135px;
    height:27px;
    box-sizing:border-box;
    padding:4px 8px;
    border:1px solid #b8cad8;
    border-radius:6px;
    background:#fff;
    color:#173a5d;
    font-size:14px;
    font-weight:400;
    outline:none;
}
.header-search-box input:focus{
    border-color:#3977a7;
    box-shadow:0 0 0 2px rgba(57,119,167,.12);
}
@media(max-width:900px){
    .header-search-box input{width:105px}
}


/* V75 – O nás, Kontakt a Obchodní podmínky se otevírají ve stejném typu modálního okna jako metodické položky */
.page-content-window{
    width:min(1080px, calc(100vw - 48px)) !important;
    height:min(820px, calc(100vh - 48px)) !important;
    max-height:calc(100vh - 48px) !important;
    display:flex;
    flex-direction:column;
    overflow:hidden !important;
}
.page-content-head{
    flex:0 0 auto;
}
.page-content-frame-wrap{
    flex:1 1 auto;
    min-height:0;
    background:#fff;
}
.page-content-frame{
    display:block;
    width:100%;
    height:100%;
    border:0;
    background:#fff;
}
.embedded-info-page{
    margin:0;
    background:#fff;
}
.embedded-info-main{
    margin:0;
    padding:0;
}
.embedded-info-content{
    padding:22px 26px 30px;
}
.embedded-info-content .legal-card{
    box-shadow:none !important;
    border:0 !important;
    padding:0 !important;
}
.embedded-info-content .contact-intro{
    margin-top:0 !important;
}
@media(max-width:700px){
    .page-content-window{
        width:calc(100vw - 20px) !important;
        height:calc(100vh - 20px) !important;
        max-height:calc(100vh - 20px) !important;
    }
    .embedded-info-content{
        padding:16px;
    }
}

/* ==========================================================
   V76 – interaktivní mapa výsledků ČR
   ========================================================== */
.home-hero-copy{
    flex:0 0 42%;
    max-width:42%;
}
.home-hero-visual{
    width:40%;
}
.hero-map-launch{
    position:absolute;
    z-index:3;
    left:38%;
    top:8px;
    bottom:18px;
    width:23%;
    margin:0;
    padding:12px 10px 10px;
    border:0;
    border-radius:14px;
    background:transparent;
    color:#fff;
    cursor:pointer;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    font:inherit;
    transition:background .18s ease, transform .18s ease;
}
.hero-map-launch:hover,
.hero-map-launch:focus-visible{
    background:rgba(255,255,255,.075);
    outline:2px solid rgba(143,207,69,.85);
    outline-offset:2px;
}
.hero-map-launch:active{ transform:translateY(1px); }
.hero-map-mini{
    display:block;
    width:170px;
    height:112px;
    max-width:none;
    max-height:none;
    margin:0 auto 2px;
    overflow:hidden;
    object-fit:fill;
    border-radius:0;
    filter:drop-shadow(0 5px 8px rgba(0,0,0,.15));
}
.hero-map-launch-title{
    display:block;
    margin-top:-4px;
    font-size:17px;
    line-height:1.15;
    font-weight:800;
    color:#fff;
}
.hero-map-launch-sub{
    display:block;
    margin-top:3px;
    font-size:14px;
    line-height:1.2;
    color:#cfe1f2;
}

body.map-results-open{ overflow:hidden; }
.map-results-modal{
    position:fixed;
    inset:0;
    z-index:1800;
    display:none;
    align-items:center;
    justify-content:center;
    padding:24px;
}
.map-results-modal.is-open{ display:flex; }
.map-results-backdrop{
    position:absolute;
    inset:0;
    background:rgba(3,20,37,.58);
    backdrop-filter:blur(2px);
}
.map-results-dialog{
    position:relative;
    z-index:1;
    width:min(1180px,calc(100vw - 48px));
    max-height:calc(100vh - 48px);
    overflow:auto;
    background:#fff;
    border:1px solid #cbd9e5;
    border-radius:16px;
    box-shadow:0 24px 70px rgba(0,24,48,.3);
    color:#12324f;
}
.map-results-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
    padding:18px 22px 13px;
    border-bottom:1px solid #dce6ee;
}
.map-results-head h2{
    margin:0;
    color:#052d58;
    font-size:22px;
    line-height:1.2;
}
.map-results-head p{
    margin:4px 0 0;
    color:#678096;
    font-size:13px;
}
.map-results-close{
    flex:0 0 auto;
    width:38px;
    height:38px;
    border:0;
    border-radius:8px;
    background:#f2f6f9;
    color:#173b5d;
    font-size:27px;
    line-height:1;
    cursor:pointer;
}
.map-results-close:hover,.map-results-close:focus-visible{ background:#e6eef4; outline:2px solid #0c5c98; }
.map-results-controls{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    padding:12px 22px;
    border-bottom:1px solid #e2eaf0;
    background:#fbfdff;
}
.map-size-filters,.map-mode-switch{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
}
.map-filter,.map-mode{
    min-height:36px;
    padding:7px 11px;
    border:1px solid #c8d7e3;
    border-radius:8px;
    background:#fff;
    color:#24465f;
    font:inherit;
    font-size:14px;
    font-weight:650;
    cursor:pointer;
}
.map-filter:hover,.map-filter:focus-visible,.map-mode:hover,.map-mode:focus-visible{ border-color:#0b5b9d; outline:none; }
.map-filter.is-active,.map-mode.is-active{
    border-color:#073b69;
    background:#073b69;
    color:#fff;
}
.map-results-status{
    margin:14px 22px 0;
    padding:10px 12px;
    border-radius:8px;
    background:#eef6fc;
    color:#27506f;
    font-size:13px;
}
.map-results-status.is-error{ background:#fff0f0; color:#a12626; border:1px solid #f0b4b4; }
.map-results-main{
    display:grid;
    grid-template-columns:minmax(0,1fr) 270px;
    gap:18px;
    padding:18px 22px 12px;
}
.map-canvas-wrap{
    min-width:0;
    height:440px;
    min-height:440px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid #e1e9ef;
    border-radius:12px;
    background:#f8fbfd;
    overflow:hidden;
    position:relative;
}
.map-canvas-loading{
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    width:100%;
    height:100%;
    box-sizing:border-box;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:24px;
    color:#31566f;
    font-size:18px;
    line-height:1.3;
    font-weight:700;
    text-align:center;
    white-space:nowrap;
    background:#f8fbfd;
    z-index:5;
    pointer-events:none;
}
.map-canvas-loading[hidden]{display:none;}
.cz-results-map{
    display:block;
    width:100%;
    height:auto;
    max-height:500px;
}
.map-region path{
    stroke:#ffffff;
    stroke-width:1.8;
    vector-effect:non-scaling-stroke;
    cursor:pointer;
    transition:filter .15s ease, stroke .15s ease;
}
.map-region path:hover,.map-region path:focus-visible{
    filter:brightness(.90);
    stroke:#ffffff;
    stroke-width:1.8;
    outline:none;
}
.map-region.is-selected path{
    filter:brightness(.86);
    stroke:#ffffff;
    stroke-width:1.8;
}
.map-region-label{
    fill:#102e46;
    font-size:14px;
    font-weight:800;
    paint-order:stroke;
    stroke:rgba(255,255,255,.72);
    stroke-width:3px;
    stroke-linejoin:round;
}
.map-region-value{ font-size:14px; font-weight:700; }
.map-region-panel{
    align-self:stretch;
    height:440px;
    min-height:440px;
    max-height:440px;
    box-sizing:border-box;
    overflow:hidden;
    padding:16px;
    display:flex;
    flex-direction:column;
    border:1px solid #d6e1ea;
    border-radius:12px;
    background:#fff;
}
.map-region-panel h3{ margin:0 0 4px; color:#062e58; font-size:19px; }
.map-region-hint{ margin:0 0 13px; color:#668096; font-size:14px; line-height:1.4; }
.map-region-panel dl{ margin:0; }
.map-region-panel dl div{
    display:flex;
    justify-content:space-between;
    gap:10px;
    padding:9px 0;
    border-top:1px solid #e4ebf0;
}
.map-region-panel dt{ color:#526d82; font-size:14px; }
.map-region-panel dd{ margin:0; color:#092f53; font-size:13px; font-weight:800; text-align:right; }
 .map-region-municipalities{
    margin-top:14px;
    flex:0 0 auto;
    min-height:0;
    display:flex;
    flex-direction:column;
    border:1px solid #d9e4ec;
    border-radius:9px;
    background:#f9fbfd;
    overflow:hidden;
}
.map-region-municipalities-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    padding:7px 9px;
    border-bottom:1px solid #dfe8ef;
    background:#eef5fa;
}
.map-region-municipalities-title{
    min-width:0;
}
.map-region-municipalities-head h4{
    margin:0;
    color:#08365f;
    font-size:14px;
    font-weight:800;
}
.map-region-municipalities-title > span{
    display:block;
    margin-top:2px;
    color:#607b8f;
    font-size:13.5px;
    white-space:nowrap;
}
.map-region-audited-filter{
    display:inline-flex;
    align-items:center;
    gap:5px;
    flex:0 0 auto;
    color:#31566f;
    font-size:13.5px;
    font-weight:700;
    white-space:nowrap;
    cursor:pointer;
}
.map-region-audited-filter input{
    width:14px;
    height:14px;
    margin:0;
    accent-color:#0a4d7c;
}
.map-region-table-wrap{
    flex:0 0 auto;
    height:174px;
    min-height:174px;
    max-height:174px;
    overflow-y:auto;
    overflow-x:hidden;
    scrollbar-gutter:stable;
}
.map-region-table-placeholder[hidden]{display:none;}
.map-region-table-placeholder{
    min-height:86px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:12px;
    color:#71889a;
    font-size:14px;
    text-align:center;
}
.map-region-table{
    width:100%;
    border-collapse:collapse;
    table-layout:fixed;
    background:#fff;
    font-size:13.5px;
}
.map-region-table th{
    position:sticky;
    top:0;
    z-index:1;
    padding:6px 5px;
    border-bottom:1px solid #dfe8ef;
    background:#f2f7fa;
    color:#536f83;
    font-size:13px;
    text-align:left;
    text-transform:uppercase;
    letter-spacing:.02em;
}
.map-region-table th:nth-child(1){width:43%;}
.map-region-table th:nth-child(2){width:35%;}
.map-region-table th:nth-child(3){width:22%;text-align:right;}
.map-region-table td{
    height:27px;
    padding:5px;
    border-bottom:1px solid #edf1f4;
    color:#173e5f;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.map-region-table td:nth-child(1){font-weight:700;}
.map-region-table td:nth-child(3){text-align:right;}
.map-region-table tr:last-child td{border-bottom:0;}
.map-region-score-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:50px;
    padding:2px 4px;
    border-radius:999px;
    border:1px solid color-mix(in srgb,var(--score-color) 48%,white);
    background:color-mix(in srgb,var(--score-color) 12%,white);
    color:#173e5f;
    font-size:13px;
    font-weight:800;
}
.map-region-score.is-empty{color:#8ba0af;}
.map-results-bottom{
    display:grid;
    grid-template-columns:minmax(0,1fr) 330px;
    gap:18px;
    padding:8px 22px 22px;
}
.map-explanation,.map-legend-card{
    border:1px solid #dce5ec;
    border-radius:12px;
    background:#fff;
    padding:14px 16px;
}
.map-explanation h3,.map-legend-card h3{ margin:0 0 8px; color:#08345e; font-size:15px; }
.map-explanation p{ margin:0; color:#304f66; font-size:14px; line-height:1.55; }
.map-explanation p+p{ margin-top:8px; }
.map-data-note{ color:#6b8294 !important; }
#mapLegendIndex,#mapLegendCoverage{ display:grid; gap:7px; }
#mapLegendIndex[hidden],#mapLegendCoverage[hidden]{ display:none; }
#mapLegendIndex span,#mapLegendCoverage span{ display:flex; align-items:center; gap:7px; color:#34546b; font-size:14px; }
.legend-swatch{ width:24px; height:14px; border-radius:4px; border:1px solid rgba(0,0,0,.09); flex:0 0 auto; }
.legend-swatch.band-a{background:#2dbd65}.legend-swatch.band-b{background:#83c341}.legend-swatch.band-c{background:#f5c331}.legend-swatch.band-d{background:#f59a32}.legend-swatch.band-e{background:#ef4b4f}.legend-swatch.band-none{background:#d7dde2}
.legend-swatch.cov-1{background:#dceaf7}.legend-swatch.cov-2{background:#b5d2ec}.legend-swatch.cov-3{background:#7fb0da}.legend-swatch.cov-4{background:#4388c1}.legend-swatch.cov-5{background:#0b5b9d}

@media(max-width:1050px){
    .home-hero-copy{flex-basis:48%;max-width:48%}
    .hero-map-launch{left:47%;width:20%}
    .home-hero-visual{width:37%}
    .hero-map-launch-title{font-size:14px}
    .map-results-controls{align-items:flex-start;flex-direction:column}
    .map-results-main{grid-template-columns:1fr 235px}
}
@media(max-width:780px){
    .home-hero-copy{flex:0 0 70%;max-width:70%}
    .hero-map-launch{left:auto;right:0;top:25px;bottom:auto;width:31%;height:170px}
    .hero-map-launch-sub{display:none}
    .hero-map-mini{width:150px;height:100px;max-width:none;max-height:none}
    .home-hero-visual{display:none}
    .map-results-modal{padding:10px}
    .map-results-dialog{width:calc(100vw - 20px);max-height:calc(100vh - 20px)}
    .map-results-main,.map-results-bottom{grid-template-columns:1fr}
    .map-canvas-wrap{height:320px;min-height:320px}
    .map-region-panel{height:auto;min-height:0;max-height:none;overflow:visible}
    .map-region-table-wrap{height:174px;min-height:174px;max-height:174px}
    .map-region-label{font-size:13.5px}
}
@media(max-width:540px){
    .home-hero-copy{flex:0 0 100%;max-width:100%;padding-right:80px}
    .hero-map-launch{right:-5px;top:54px;width:92px;height:115px;padding:4px}
    .hero-map-launch-title{font-size:14px}
    .hero-map-mini{width:84px;height:62px;max-width:none;max-height:none}
    .map-results-head{padding:14px}
    .map-results-head h2{font-size:18px}
    .map-results-controls,.map-results-main,.map-results-bottom{padding-left:14px;padding-right:14px}
    .map-filter,.map-mode{font-size:14px}
    .map-region-label{display:none}
}

/* Statický náhled mapy v hero – lokální PNG s průhledným pozadím. */
.hero-map-static{
    width:170px;
    height:112px;
    max-width:none;
    max-height:none;
    object-fit:fill;
    background:transparent !important;
    border-radius:0;
}

@media(max-width:780px){
    .map-region-panel{min-height:0;}
    .map-region-municipalities{min-height:190px;}
}


/* === DETAIL OBCE V84: orientační poloha na slepé mapě ČR === */
.score-overview-grid {
    display:grid;
    grid-template-columns:minmax(0,1fr) 220px;
    gap:14px;
    align-items:start;
}
.score-overview-main { min-width:0; }
.score-overview-main p { margin-bottom:0; }
.detail-locator {
    min-width:0;
    margin-top:2px;
    padding:8px 9px 7px;
    border:1px solid #d4e0ea;
    border-radius:10px;
    background:#f8fbfd;
}
.detail-locator-title {
    margin-bottom:3px;
    color:#6a8093;
    font-size:13px;
    line-height:1.1;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.05em;
    text-align:center;
}
.detail-locator-canvas {
    position:relative;
    width:100%;
    height:112px;
    overflow:hidden;
}
.detail-locator-canvas svg {
    display:block;
    width:100%;
    height:100%;
}
.detail-locator-loading,
.detail-locator-error {
    position:absolute;
    inset:0;
    display:grid;
    place-items:center;
    padding:8px;
    color:#6d8192;
    font-size:13px;
    line-height:1.25;
    text-align:center;
}
.detail-locator-region {
    fill:#edf3f7;
    stroke:#b9cad7;
    stroke-width:1.05;
    vector-effect:non-scaling-stroke;
}
.detail-locator-dot {
    fill:#dd4740;
    stroke:#fff;
    stroke-width:2;
    vector-effect:non-scaling-stroke;
}
.detail-locator-label-bg {
    fill:#fff;
    stroke:#cbd9e4;
    stroke-width:.8;
    vector-effect:non-scaling-stroke;
}
.detail-locator-label {
    fill:#002f64;
    font-size:13px;
    font-weight:800;
    dominant-baseline:middle;
}
@media (max-width: 980px) {
    .score-overview-grid { grid-template-columns:minmax(0,1fr) 190px; gap:10px; }
    .detail-locator-canvas { height:100px; }
}

/* === V85: POROVNÁNÍ OBCÍ V DETAILU === */
.report-head {
    grid-template-columns: 225px minmax(210px, 1fr) 172px 255px;
    gap: 16px;
}
.report-compare-slot {
    display:flex;
    justify-content:center;
    align-items:center;
}
.report-compare-button {
    width:100%;
    min-height:46px;
    padding:8px 12px;
    border:1px solid rgba(255,255,255,.48);
    border-radius:9px;
    background:rgba(255,255,255,.12);
    color:#fff;
    font:800 11px/1.18 Arial,sans-serif;
    cursor:pointer;
    box-shadow:0 1px 2px rgba(9,55,88,.05);
}
.report-compare-button:hover,
.report-compare-button:focus-visible {
    background:rgba(255,255,255,.22);
    border-color:rgba(255,255,255,.48);
    outline:none;
}
.compare-modal {
    position:fixed;
    inset:0;
    z-index:2600;
    display:none;
}
.compare-modal.is-open { display:block; }
.compare-modal-backdrop {
    position:absolute;
    inset:0;
    background:rgba(4,25,43,.62);
}
.compare-modal-window {
    position:absolute;
    left:50%;
    top:4vh;
    transform:translateX(-50%);
    width:min(980px, calc(100vw - 28px));
    height:92vh;
    display:flex;
    flex-direction:column;
    overflow:hidden;
    border-radius:15px;
    background:#f4f8fb;
    box-shadow:0 24px 70px rgba(0,20,40,.35);
}
.compare-modal-head {
    flex:0 0 auto;
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
    padding:17px 20px 15px;
    background:#0b5689;
    color:#fff;
}
.compare-modal-head h2 { margin:0 0 4px; font-size:22px; line-height:1.1; }
.compare-modal-head p { margin:0; font-size:14px; color:#dcecf7; }
.compare-modal-close {
    width:38px;
    height:38px;
    flex:0 0 38px;
    border:0;
    border-radius:10px;
    background:#fff;
    color:#0b5689;
    font-size:27px;
    font-weight:900;
    line-height:1;
    cursor:pointer;
}
.compare-modal-body {
    flex:1 1 auto;
    min-height:0;
    overflow-y:auto;
    padding:16px 18px 24px;
}
.compare-selection {
    display:grid;
    grid-template-columns:1.05fr 1fr 1fr 1fr;
    gap:10px;
    margin-bottom:14px;
}
.compare-base,
.compare-select {
    min-height:46px;
    border:1px solid #bfd0dd;
    border-radius:9px;
    background:#fff;
    color:#173b57;
    font-size:14px;
}
.compare-base {
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:7px 11px;
    background:#eaf4fa;
}
.compare-base small { color:#607d92; font-size:13px; text-transform:uppercase; font-weight:800; }
.compare-base strong { font-size:14px; line-height:1.2; }
.compare-select { padding:0 9px; font-weight:700; }
.compare-loading,
.compare-error {
    padding:16px;
    border-radius:9px;
    text-align:center;
    background:#fff;
    color:#5b7286;
}
.compare-error { color:#a52f2f; background:#fff0f0; }
.compare-charts { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.compare-chart-card {
    min-width:0;
    padding:13px 14px 12px;
    border:1px solid #c9d8e4;
    border-radius:12px;
    background:#fff;
}
.compare-chart-card.wide { grid-column:1 / -1; }
.compare-chart-card h3 {
    margin:0 0 9px;
    color:#063f69;
    font-size:14px;
    text-align:center;
    letter-spacing:.025em;
}
.compare-chart-subtitle { margin:-3px 0 10px; text-align:center; color:#617c91; font-size:13.5px; }
.compare-svg-wrap svg { display:block; width:100%; height:auto; max-height:330px; }
.compare-chart-grid { stroke:#dce6ed; stroke-width:1; }
.compare-axis-label { fill:#72899a; font-size:13.5px; }
.compare-row-label { fill:#143a59; font-size:14px; font-weight:700; }
.compare-bar-bg { fill:#edf2f5; }
.compare-bar-value { fill:#153b59; font-size:14px; font-weight:900; }
.compare-radar-grid { fill:none; stroke:#d2dee7; stroke-width:1; }
.compare-radar-axis { stroke:#c7d5df; stroke-width:1; }
.compare-radar-label { fill:#153b59; font-size:14px; font-weight:800; }
.compare-radar-center { fill:#8295a4; font-size:13px; }
.compare-legend {
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:7px 15px;
    margin-bottom:8px;
}
.compare-legend-item { display:flex; align-items:center; gap:5px; color:#35546d; font-size:13.5px; font-weight:700; }
.compare-legend-item i { width:10px; height:10px; border-radius:3px; }
.compare-process-row { margin:12px 0 15px; }
.compare-process-head { display:flex; justify-content:space-between; gap:12px; align-items:baseline; margin-bottom:5px; }
.compare-process-head strong { color:#153b59; font-size:14px; }
.compare-process-head span { color:#758b9c; font-size:13px; }
.compare-stacked-bar { display:flex; height:18px; overflow:hidden; border-radius:6px; background:#e9eef2; }
.compare-stacked-bar i { display:block; height:100%; }
.compare-stacked-bar .online, .compare-process-legend .online { background:#55ad45; }
.compare-stacked-bar .partial, .compare-process-legend .partial { background:#eca128; }
.compare-stacked-bar .barrier, .compare-process-legend .barrier { background:#dc4c45; }
.compare-stacked-bar .rest { background:#c8d1d7; }
.compare-process-values { display:flex; gap:12px; margin-top:4px; color:#617a8e; font-size:13px; }
.compare-process-values b { color:#264b66; }
.compare-process-legend { display:flex; gap:16px; flex-wrap:wrap; padding-top:4px; border-top:1px solid #e1e8ed; }
.compare-process-legend span { display:flex; align-items:center; gap:5px; font-size:13px; color:#5a7184; }
.compare-process-legend i { width:9px; height:9px; border-radius:2px; }
body.compare-open { overflow:hidden; }

@media (max-width: 980px) {
    .report-head { grid-template-columns:200px 1fr 150px 225px; gap:10px; }
    .report-compare-button { font-size:13.5px; padding:7px 8px; }
}
@media (max-width: 760px) {
    .report-head { grid-template-columns:1fr; text-align:center; }
    .report-logo, .report-town, .report-contact, .report-compare-slot { text-align:center; justify-content:center; }
    .report-contact { text-align:center; }
    .report-compare-button { max-width:280px; }
    .compare-selection { grid-template-columns:1fr; }
    .compare-charts { grid-template-columns:1fr; }
    .compare-chart-card.wide { grid-column:auto; }
    .compare-modal-window { top:2vh; height:96vh; }
}

/* V86 – kompaktní porovnání obcí */
.compare-modal-window {
    width:min(960px, calc(100vw - 28px));
}
.compare-modal-body {
    overflow-y:auto;
    overflow-x:hidden;
    padding:12px 14px 18px;
    scrollbar-gutter:stable;
}
.compare-selection {
    grid-template-columns:112px repeat(3, minmax(0, 1fr));
    gap:8px;
    align-items:stretch;
    margin-bottom:10px;
}
.compare-base {
    min-width:0;
    min-height:72px;
    padding:8px 9px;
}
.compare-picker {
    position:relative;
    min-width:0;
    padding:6px 7px 7px;
    border:1px solid #bfd0dd;
    border-radius:9px;
    background:#fff;
}
.compare-picker label { display:block; min-width:0; }
.compare-picker label > span {
    display:block;
    margin:0 0 2px;
    color:#607d92;
    font-size:13px;
    line-height:1.1;
    font-weight:800;
    text-transform:uppercase;
}
.compare-name-label { margin-top:4px; }
.compare-region,
.compare-name-input {
    display:block;
    width:100%;
    height:27px;
    min-width:0;
    box-sizing:border-box;
    border:1px solid #ccd9e2;
    border-radius:5px;
    background:#fff;
    color:#173b57;
    font-size:13.5px;
    font-weight:700;
    padding:0 6px;
}
.compare-name-input { padding-right:5px; }
.compare-name-input::placeholder { color:#8294a2; font-weight:500; }
.compare-suggestions {
    position:absolute;
    z-index:20;
    left:7px;
    right:7px;
    top:calc(100% - 3px);
    border:1px solid #b8cad7;
    border-radius:7px;
    background:#fff;
    box-shadow:0 10px 24px rgba(15,47,70,.18);
    overflow:hidden;
}
.compare-suggestion {
    display:flex;
    width:100%;
    border:0;
    border-bottom:1px solid #e5edf2;
    background:#fff;
    padding:6px 8px;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    cursor:pointer;
    text-align:left;
}
.compare-suggestion:last-child { border-bottom:0; }
.compare-suggestion:hover,
.compare-suggestion:focus-visible { background:#eef7fc; outline:none; }
.compare-suggestion strong {
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#123c5b;
    font-size:13.5px;
}
.compare-suggestion span {
    flex:0 0 auto;
    color:#71889a;
    font-size:13px;
}
.compare-suggestion-empty {
    padding:8px;
    color:#71889a;
    font-size:13px;
}
.compare-charts { gap:10px; }
.compare-chart-card { padding:9px 10px 9px; }
.compare-chart-card h3 { margin-bottom:6px; font-size:13px; }
.compare-chart-subtitle { margin:-2px 0 6px; font-size:13px; }
.compare-svg-wrap svg { max-height:245px; }
.compare-legend { gap:5px 11px; margin-bottom:4px; }
.compare-legend-item { font-size:13px; }
.compare-legend-item i { width:8px; height:8px; }
.compare-radar-label { font-size:13.5px; }
.compare-process-row { margin:7px 0 9px; }
.compare-process-head { margin-bottom:3px; }
.compare-stacked-bar { height:14px; border-radius:5px; }
.compare-process-values { gap:8px; margin-top:3px; font-size:13px; }
.compare-process-legend { gap:10px; padding-top:3px; }
.compare-process-legend span { font-size:13px; }
.compare-evaluation {
    margin:7px 0 0;
    padding:7px 8px;
    border-top:1px solid #e2eaf0;
    color:#284d67;
    font-size:13px;
    line-height:1.4;
}
@media (max-width:760px) {
    .compare-selection { grid-template-columns:1fr; }
    .compare-base { min-height:48px; }
    .compare-picker { min-height:0; }
}

/* === V88: viditelné modré tlačítko Porovnat v bílém záhlaví reportu === */
.report-compare-button {
    background:#17618f;
    border-color:#17618f;
    color:#fff;
    box-shadow:0 1px 3px rgba(0,47,100,.16);
}
.report-compare-button:hover,
.report-compare-button:focus-visible {
    background:#0f527e;
    border-color:#0f527e;
    color:#fff;
}

/* V89 – Statistika */
body.statistics-open { overflow: hidden; }
.statistics-modal { position: fixed; inset: 0; z-index: 1200; display: none; }
.statistics-modal.is-open { display: block; }
.statistics-backdrop { position: absolute; inset: 0; background: rgba(7, 31, 52, .66); }
.statistics-window { position: absolute; inset: 22px max(28px, calc((100vw - 1180px)/2)); background: #f4f8fb; border: 1px solid #d5e2ec; border-radius: 18px; box-shadow: 0 24px 70px rgba(0,0,0,.28); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.statistics-head { flex: 0 0 auto; min-height: 78px; padding: 15px 20px; background: #0b5689; color: #fff; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.statistics-head h2 { margin:0 0 3px; font-size:24px; line-height:1.1; }
.statistics-head p { margin:0; font-size:14px; opacity:.92; }
.statistics-close { width:42px; height:42px; border:0; border-radius:11px; background:#fff; color:#075083; font-size:30px; line-height:1; font-weight:900; cursor:pointer; }
.statistics-scroll { flex:1 1 auto; min-height:0; overflow-y:auto; overflow-x:hidden; padding:14px 16px 18px; scrollbar-gutter:stable; }
.statistics-filters { display:grid; grid-template-columns: 1.4fr 1fr .65fr; gap:10px; margin:0 0 10px; }
.statistics-filters label { display:flex; flex-direction:column; gap:4px; font-size:14px; font-weight:800; color:#17466b; }
.statistics-filters select { width:100%; height:36px; border:1px solid #c5d8e8; border-radius:8px; background:#fff; padding:0 10px; color:#153f5f; font-weight:700; }
.statistics-status { padding:9px 12px; margin-bottom:10px; border:1px solid #cdddea; border-radius:8px; background:#fff; color:#315772; }
.statistics-kpis { display:grid; grid-template-columns:repeat(4,1fr); gap:9px; margin:0 0 9px; }
.statistics-kpis article { background:#fff; border:1px solid #cedeea; border-radius:10px; padding:10px 12px; min-width:0; }
.statistics-kpis span,.statistics-kpis small { display:block; color:#658097; font-size:14px; }
.statistics-kpis strong { display:block; color:#073d68; font-size:28px; line-height:1.05; margin:3px 0 2px; }
.statistics-grid { display:grid; grid-template-columns:1fr 1fr; gap:9px; }
.statistics-card,.statistics-extremes article { min-width:0; background:#fff; border:1px solid #cedeea; border-radius:11px; padding:11px 12px; overflow:hidden; }
.statistics-card h3,.statistics-extremes h3 { margin:0 0 3px; color:#083f6d; font-size:15px; }
.statistics-subtitle { margin:0 0 5px; color:#647f94; font-size:13.5px; line-height:1.3; }
.statistics-chart { height:220px; width:100%; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.statistics-chart svg { width:100%; height:100%; display:block; }
.statistics-card-coverage .statistics-chart { height:205px; }
.statistics-comment { margin:7px 0 0; padding-top:7px; border-top:1px solid #e0e8ef; color:#264b66; font-size:14px; line-height:1.42; }
.stat-donut-bg { fill:none; stroke:#e7eef4; stroke-width:18; }
.stat-donut-fg { fill:none; stroke:#177bbb; stroke-width:18; stroke-linecap:round; }
.stat-donut-value { font-size:25px; font-weight:900; fill:#073f6c; }
.stat-donut-note { font-size:14px; font-weight:700; fill:#698296; }
.stat-bar { fill:#177bbb; }
.stat-axis,.stat-radar-axis { stroke:#9eb5c6; stroke-width:1; }
.stat-gridline { stroke:#e5edf3; stroke-width:1; }
.stat-axis-label { font-size:13.5px; fill:#587288; font-weight:700; }
.stat-chart-value { font-size:14px; fill:#123f60; font-weight:900; }
.stat-radar-grid { fill:none; stroke:#c9dae7; stroke-width:1; }
.stat-radar-area { fill:rgba(23,123,187,.2); stroke:#177bbb; stroke-width:3; }
.stat-radar-point { fill:#177bbb; stroke:#fff; stroke-width:1.5; }
.stat-scatter-point { fill:#177bbb; opacity:.78; stroke:#fff; stroke-width:1; }
.statistics-extremes { display:grid; grid-template-columns:1fr 1fr; gap:9px; margin-top:9px; }
.statistics-extremes ol { margin:5px 0 0; padding:0; list-style:none; }
.statistics-extremes li { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:5px 0; border-bottom:1px solid #e8eef3; color:#234861; font-size:14px; }
.statistics-extremes li:last-child { border-bottom:0; }
.statistics-extremes strong { color:#083f6d; }
.statistics-empty { margin:8px 0; color:#74899a; font-size:14px; }
.statistics-method-note { margin:9px 0 0; padding:9px 11px; border-radius:9px; background:#eaf3f9; color:#31556f; font-size:13.5px; line-height:1.4; }
@media (max-width: 850px) {
  .statistics-window { inset:10px; }
  .statistics-filters,.statistics-kpis,.statistics-grid,.statistics-extremes { grid-template-columns:1fr; }
  .statistics-chart { height:210px; }
}


/* V90 – Statistika: pastelové rozlišení a čitelnější bodový graf */
.statistics-filters label:nth-child(1) select { background:#eef7ff; border-color:#bfd9ec; }
.statistics-filters label:nth-child(2) select { background:#f4f1ff; border-color:#d4caef; }
.statistics-filters label:nth-child(3) select { background:#fff6e8; border-color:#ead6b2; }
.statistics-kpis article:nth-child(1) { background:#eef7ff; border-color:#c5ddee; }
.statistics-kpis article:nth-child(2) { background:#f4f1ff; border-color:#d8d0ef; }
.statistics-kpis article:nth-child(3) { background:#eef8f0; border-color:#c9e2ce; }
.statistics-kpis article:nth-child(4) { background:#fff6e8; border-color:#ead8b9; }
.statistics-card:nth-child(1) { background:#f3f9fd; border-color:#c8dfea; }
.statistics-card:nth-child(2) { background:#fff8ee; border-color:#ead9bc; }
.statistics-card:nth-child(3) { background:#f7f3fc; border-color:#d9cdea; }
.statistics-card:nth-child(4) { background:#f1f8f2; border-color:#cce2cf; }
.statistics-extremes article:first-child { background:#f1f8f2; border-color:#cce2cf; }
.statistics-extremes article:last-child { background:#fff2f0; border-color:#eccbc6; }
.statistics-method-note { background:#edf5fb; border:1px solid #d4e4ef; }
.stat-donut-bg { stroke:#dbe8f1; }
.stat-donut-fg { stroke:#3287b8; }
.stat-bar:nth-of-type(1) { fill:#ef9a8d; }
.stat-bar:nth-of-type(2) { fill:#f1bd72; }
.stat-bar:nth-of-type(3) { fill:#e9d86c; }
.stat-bar:nth-of-type(4) { fill:#93c9ae; }
.stat-bar:nth-of-type(5) { fill:#77b6d7; }
.stat-radar-area { fill:rgba(126, 102, 181, .20); stroke:#7e66b5; }
.stat-radar-point { fill:#7e66b5; }
.stat-scatter-point { fill:#4f9b72; opacity:.9; }
.stat-scatter-label { font-size:13px; fill:#2f6148; font-weight:800; paint-order:stroke; stroke:#f1f8f2; stroke-width:3px; stroke-linejoin:round; }


/* V91 – bodový graf bez názvů; velikost bodu vyjadřuje 5 velikostních pásem obcí */
.stat-scatter-point { stroke:#fff; stroke-width:1.4; }

/* V92 – zvýraznění bodu pod kurzorem v grafu velikost × index */
.stat-scatter-point {
  transition: stroke .12s ease, stroke-width .12s ease, opacity .12s ease;
  vector-effect: non-scaling-stroke;
}
.stat-scatter-point:hover {
  stroke:#083f6d;
  stroke-width:2px;
  opacity:1;
}

/* V94 – záhlaví Statistik přesně ve stejné syté modři jako metodická modální okna */
.statistics-head {
  background:#002046;
}


/* V97 – vysvědčení obce a medaile výsledku v období vedení */
.leadership-certificate{margin:18px 0 10px;padding:17px 18px 14px;background:#f8fbfd;border:1px solid #c8d9e6;border-radius:14px;color:#153b5e}
.leadership-certificate-main{display:grid;grid-template-columns:145px minmax(0,1fr) 185px;gap:18px;align-items:center}
.leadership-avatar{text-align:center;border-right:1px solid #d8e4ed;padding-right:16px}.leadership-avatar svg{display:block;width:82px;height:96px;margin:0 auto 4px}.leadership-avatar-head,.leadership-avatar-body{fill:#d8e8f3;stroke:#0b5689;stroke-width:3}.leadership-avatar-collar{fill:none;stroke:#0b5689;stroke-width:3}.leadership-avatar-chain{fill:#fff;stroke:#b69243;stroke-width:4}.leadership-avatar-chain-line{stroke:#b69243;stroke-width:4}.leadership-avatar strong{display:block;color:#002046;font-size:14px;letter-spacing:.06em}.leadership-avatar span{display:block;margin-top:2px;color:#6b7f90;font-size:13px}
.leadership-kicker{display:block;margin-bottom:4px;color:#17618f;font-size:13.5px;font-weight:900;letter-spacing:.1em}.leadership-award-copy h2{margin:0 0 6px;color:#002046;font-size:19px;line-height:1.15}.leadership-award-copy p{margin:0;color:#40586d;font-size:14px;line-height:1.45}.leadership-award-copy .leadership-next{margin-top:7px;color:#0b5689}.leadership-next strong{color:#002046}
.leadership-medal{text-align:center;padding:12px 9px;border:2px solid #ccd7df;border-radius:13px;background:#fff}.leadership-medal-symbol{display:flex;align-items:center;justify-content:center;width:54px;height:54px;margin:0 auto 6px;border-radius:50%;font-size:27px;font-weight:900;border:4px double currentColor}.leadership-medal>strong{display:block;font-size:13.5px;letter-spacing:.05em}.leadership-medal>b{display:block;margin-top:2px;font-size:28px;line-height:1;color:#002046}.leadership-medal>b small{font-size:14px}.leadership-medal>span{display:block;margin-top:4px;color:#687c8d;font-size:13px}.leadership-medal.critical{color:#c94d3f;border-color:#efc5bf;background:#fff7f5}.leadership-medal.bronze{color:#a66a3f;border-color:#dec1a9;background:#fffaf6}.leadership-medal.silver{color:#778a99;border-color:#c9d3da;background:#fbfcfd}.leadership-medal.gold{color:#b28a20;border-color:#e2d19b;background:#fffdf4}.leadership-medal.platinum{color:#537f91;border-color:#b9d3dd;background:#f7fcfd}
.leadership-legend{display:grid;grid-template-columns:150px repeat(5,minmax(0,1fr));gap:7px;align-items:stretch;margin-top:13px;padding-top:12px;border-top:1px solid #d8e4ed}.leadership-legend-title{display:flex;align-items:center;color:#002046;font-size:13.5px;letter-spacing:.08em}.leadership-legend-item{display:grid;grid-template-columns:28px 1fr;gap:6px;align-items:center;padding:7px;border:1px solid #dce5ec;border-radius:9px;background:#fff;opacity:.66}.leadership-legend-item.active{opacity:1;border-width:2px;box-shadow:0 0 0 2px rgba(11,86,137,.08)}.leadership-legend-item i{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border:2px solid currentColor;border-radius:50%;font-style:normal;font-weight:900}.leadership-legend-item span>*{display:block}.leadership-legend-item b{font-size:13.5px;color:#002046}.leadership-legend-item strong{font-size:13px}.leadership-legend-item small{font-size:13px;color:#7a8995}.leadership-legend-item.critical{color:#c94d3f}.leadership-legend-item.bronze{color:#a66a3f}.leadership-legend-item.silver{color:#778a99}.leadership-legend-item.gold{color:#b28a20}.leadership-legend-item.platinum{color:#537f91}.leadership-method-note{margin:9px 0 0;color:#708292;font-size:13px;line-height:1.4}
@media(max-width:850px){.leadership-certificate-main{grid-template-columns:110px 1fr}.leadership-medal{grid-column:1/-1}.leadership-legend{grid-template-columns:repeat(2,1fr)}.leadership-legend-title{grid-column:1/-1}.leadership-avatar{padding-right:10px}}
@media(max-width:560px){.leadership-certificate-main{grid-template-columns:1fr}.leadership-avatar{border-right:0;border-bottom:1px solid #d8e4ed;padding:0 0 10px}.leadership-legend{grid-template-columns:1fr}.leadership-legend-title{grid-column:auto}}

/* === V98: POSOUZENÍ SOULADU S POŽADAVKY === */
.report-head {
    grid-template-columns: 210px minmax(180px, 1fr) 336px 235px;
    gap: 14px;
}
.report-action-slot {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    align-items:stretch;
}
.report-action-slot .report-compare-button,
.report-compliance-button {
    width:100%;
    min-height:48px;
    padding:7px 9px;
    border:1px solid #17618f;
    border-radius:9px;
    background:#17618f;
    color:#fff;
    font:800 10.5px/1.18 Arial,sans-serif;
    cursor:pointer;
    box-shadow:0 1px 3px rgba(0,47,100,.16);
}
.report-action-slot .report-compare-button:hover,
.report-action-slot .report-compare-button:focus-visible,
.report-compliance-button:hover,
.report-compliance-button:focus-visible {
    background:#0f527e;
    border-color:#0f527e;
    color:#fff;
    outline:none;
}
body.compliance-open { overflow:hidden; }
.compliance-modal {
    position:fixed;
    inset:0;
    z-index:2700;
    display:none;
}
.compliance-modal.is-open { display:block; }
.compliance-modal-backdrop {
    position:absolute;
    inset:0;
    background:rgba(4,25,43,.66);
}
.compliance-modal-window {
    position:absolute;
    left:50%;
    top:4vh;
    transform:translateX(-50%);
    width:min(940px, calc(100vw - 28px));
    height:92vh;
    display:flex;
    flex-direction:column;
    overflow:hidden;
    border-radius:15px;
    background:#f4f8fb;
    box-shadow:0 24px 70px rgba(0,20,40,.35);
}
.compliance-modal-head {
    flex:0 0 auto;
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
    padding:17px 20px 15px;
    background:#002046;
    color:#fff;
}
.compliance-modal-head h2 { margin:0 0 4px; font-size:22px; line-height:1.1; }
.compliance-modal-head p { margin:0; font-size:14px; color:#dcecf7; }
.compliance-modal-close {
    width:38px;
    height:38px;
    flex:0 0 38px;
    border:0;
    border-radius:10px;
    background:#fff;
    color:#002046;
    font-size:27px;
    font-weight:900;
    line-height:1;
    cursor:pointer;
}
.compliance-modal-body {
    flex:1 1 auto;
    min-height:0;
    overflow-y:auto;
    overflow-x:hidden;
    padding:14px 16px 18px;
    scrollbar-gutter:stable;
}
.compliance-overview {
    display:grid;
    grid-template-columns:58px 1fr;
    gap:13px;
    align-items:center;
    padding:13px 15px;
    border:1px solid #d4e0e9;
    border-radius:12px;
    background:#fff;
}
.compliance-overview-mark {
    width:48px;
    height:48px;
    border-radius:50%;
    display:grid;
    place-items:center;
    font-size:29px;
    font-weight:900;
}
.compliance-overview.fail .compliance-overview-mark { background:#fff0f0; color:#a52222; }
.compliance-overview.partial .compliance-overview-mark { background:#fff8df; color:#8a6100; }
.compliance-overview.pass .compliance-overview-mark { background:#edf8f0; color:#17682e; }
.compliance-overview.unknown .compliance-overview-mark { background:#edf1f4; color:#536171; }
.compliance-overview small { display:block; margin-bottom:3px; color:#648096; font-size:13px; font-weight:900; letter-spacing:.08em; }
.compliance-overview h3 { margin:0; color:#123e62; font-size:17px; line-height:1.2; }
.compliance-overview p { margin:5px 0 0; color:#4c687c; font-size:13.5px; line-height:1.4; }
.compliance-summary {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:8px;
    margin:10px 0;
}
.compliance-summary div {
    min-width:0;
    padding:9px 10px;
    border:1px solid #d5e2ec;
    border-radius:10px;
    background:#fff;
    text-align:center;
}
.compliance-summary strong { display:block; color:#002f64; font-size:24px; line-height:1; }
.compliance-summary span { display:block; margin-top:4px; color:#526e84; font-size:13px; line-height:1.2; }
.compliance-frameworks { display:grid; gap:8px; }
.compliance-framework {
    padding:11px 12px 10px;
    border:1px solid #d4e0e9;
    border-left-width:5px;
    border-radius:10px;
    background:#fff;
}
.compliance-framework.fail { border-left-color:#c84747; }
.compliance-framework.partial { border-left-color:#d8a62b; }
.compliance-framework.pass { border-left-color:#4aa161; }
.compliance-framework.unknown { border-left-color:#8a9baa; }
.compliance-framework-head {
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:14px;
}
.compliance-framework-head > div:first-child { min-width:0; }
.compliance-type {
    display:block;
    margin-bottom:2px;
    color:#6c8294;
    font-size:13px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
}
.compliance-framework h3 { margin:0; color:#123e62; font-size:13px; line-height:1.18; }
.compliance-framework-head p { margin:3px 0 0; color:#60798c; font-size:13px; line-height:1.3; }
.compliance-status {
    flex:0 0 auto;
    max-width:190px;
    padding:6px 8px;
    border-radius:7px;
    font-size:13px;
    font-weight:900;
    text-align:center;
    white-space:normal;
}
.compliance-status.fail { background:#fff0f0; color:#a52222; }
.compliance-status.partial { background:#fff8df; color:#7d5a00; }
.compliance-status.pass { background:#edf8f0; color:#17682e; }
.compliance-status.unknown { background:#edf1f4; color:#536171; }
.compliance-meter {
    height:7px;
    margin-top:8px;
    overflow:hidden;
    border-radius:999px;
    background:#e5edf3;
}
.compliance-meter i { display:block; height:100%; border-radius:inherit; background:#17618f; }
.compliance-framework.fail .compliance-meter i { background:#c84747; }
.compliance-framework.partial .compliance-meter i { background:#d8a62b; }
.compliance-framework.pass .compliance-meter i { background:#4aa161; }
.compliance-meter-label {
    display:flex;
    justify-content:space-between;
    gap:10px;
    margin-top:3px;
    color:#70879a;
    font-size:13px;
}
.compliance-meter-label strong { color:#294e69; }
.compliance-explanation { margin:5px 0 0; color:#405f76; font-size:13px; line-height:1.35; }
.compliance-paid-boundary {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-top:10px;
    padding:12px 14px;
    border:1px solid #bcd4e4;
    border-radius:11px;
    background:#eaf4fa;
}
.compliance-paid-boundary strong { color:#002f64; font-size:14px; }
.compliance-paid-boundary p { margin:3px 0 0; color:#48687f; font-size:13px; line-height:1.35; }
.compliance-report-link {
    flex:0 0 auto;
    padding:9px 13px;
    border-radius:8px;
    background:#17618f;
    color:#fff;
    font-size:13.5px;
    font-weight:900;
    text-decoration:none;
    white-space:nowrap;
}
.compliance-report-link:hover { background:#0f527e; color:#fff; }
.compliance-legal-note {
    margin:9px 2px 0;
    color:#667d8f;
    font-size:13px;
    line-height:1.4;
}
@media (max-width:980px) {
    .report-head { grid-template-columns:190px minmax(160px,1fr) 300px 210px; gap:10px; }
    .report-action-slot .report-compare-button, .report-compliance-button { font-size:13px; padding:6px 7px; }
}
@media (max-width:760px) {
    .report-action-slot { grid-template-columns:1fr; width:min(320px,100%); }
    .compliance-summary { grid-template-columns:1fr 1fr; }
    .compliance-framework-head { flex-direction:column; gap:7px; }
    .compliance-status { max-width:none; }
    .compliance-paid-boundary { flex-direction:column; align-items:stretch; }
    .compliance-report-link { text-align:center; }
}

/* V99 – Životní situace */
.life-situations-window {
    width: min(1040px, calc(100vw - 44px));
}
.life-situations-head {
    align-items: flex-start;
}
.life-situations-head-copy {
    flex: 1 1 auto;
    min-width: 0;
}
.life-situations-picker {
    display: grid;
    grid-template-columns: auto minmax(280px, 560px);
    align-items: center;
    gap: 12px;
    margin: 16px 0 12px;
}
.life-situations-picker > span {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
}
.life-situations-picker select {
    width: 100%;
    min-height: 44px;
    padding: 9px 40px 9px 13px;
    border: 1px solid rgba(255,255,255,.48);
    border-radius: 9px;
    background: #fff;
    color: #15324d;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.life-situations-picker select:focus-visible {
    outline: 3px solid rgba(143,199,239,.55);
    outline-offset: 2px;
}
.life-situations-body {
    padding-top: 24px;
}
.life-situation-intro {
    margin: 0 0 20px;
    padding: 18px 20px;
    border-left: 4px solid #0b67ad;
    border-radius: 10px;
    background: #f3f8fc;
}
.life-situation-intro p {
    margin: 0;
}
.life-situation-card {
    border: 1px solid #d9e5ee;
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
}
.life-situation-card-head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 24px;
    background: #edf5fa;
    border-bottom: 1px solid #d9e5ee;
}
.life-situation-card-head > span {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    min-height: 34px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #0b67ad;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
}
.life-situation-card-head h3 {
    margin: 0 0 6px;
    color: #002f59;
    font-size: 24px;
    line-height: 1.2;
}
.life-situation-card-head p {
    margin: 0;
    color: #4e6477;
    font-size: 14px;
    line-height: 1.55;
}
.life-situation-text-block {
    padding: 21px 24px 8px;
}
.life-situation-text-block + .life-situation-text-block {
    border-top: 1px solid #edf1f4;
}
.life-situation-text-block h4 {
    margin: 0 0 8px;
    color: #063563;
    font-size: 17px;
}
.life-situation-text-block p {
    margin-bottom: 12px;
}
.life-situation-online {
    background: #fbfdfd;
}
.life-situation-principle {
    margin: 18px 24px 24px;
    padding: 16px 18px;
    border-radius: 10px;
    background: #fff8e8;
    border: 1px solid #f1dfae;
}
.life-situation-principle strong {
    display: block;
    margin-bottom: 6px;
    color: #704f08;
    font-size: 14px;
}
.life-situation-principle p {
    margin: 0;
    color: #4e4b3f;
}
@media (max-width: 760px) {
    .life-situations-picker {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .life-situations-picker > span {
        white-space: normal;
    }
    .life-situation-card-head {
        padding: 18px;
    }
    .life-situation-card-head h3 {
        font-size: 21px;
    }
    .life-situation-text-block {
        padding: 18px 18px 7px;
    }
    .life-situation-principle {
        margin: 16px 18px 20px;
    }
}

/* V100 – kompaktní okno Životní situace bez vnitřního svislého posuvníku */
.life-situations-window {
    max-height: calc(100vh - 28px);
}
.life-situations-head {
    padding: 13px 22px 11px;
    gap: 12px;
}
.life-situations-head h2 {
    margin: 0 0 2px;
    font-size: clamp(22px, 2.4vw, 29px);
}
.life-situations-head .method-info-kicker {
    line-height: 1.15;
}
.life-situations-head p {
    font-size: 13px;
    line-height: 1.35;
}
.life-situations-picker {
    grid-template-columns: auto minmax(280px, 560px);
    gap: 9px;
    margin: 7px 0 6px;
}
.life-situations-picker select {
    min-height: 36px;
    padding: 6px 36px 6px 11px;
    border-radius: 7px;
    font-size: 13px;
}
.life-situations-head .method-info-close {
    width: 36px;
    height: 36px;
    font-size: 25px;
}
.life-situations-body {
    max-height: none;
    overflow-y: visible;
    padding: 11px 20px 14px;
}
.life-situations-body p {
    font-size: 13px;
    line-height: 1.38;
    margin-bottom: 4px;
}
.life-situation-intro {
    margin: 0 0 8px;
    padding: 9px 13px;
    border-radius: 7px;
}
.life-situation-card {
    border-radius: 10px;
}
.life-situation-card-head {
    gap: 10px;
    padding: 10px 14px;
}
.life-situation-card-head > span {
    min-width: 50px;
    min-height: 28px;
    padding: 4px 8px;
    font-size: 12.3px;
}
.life-situation-card-head h3 {
    margin: 0 0 2px;
    font-size: 19px;
    line-height: 1.15;
}
.life-situation-card-head p {
    font-size: 12.5px;
    line-height: 1.32;
}
.life-situation-text-block {
    padding: 8px 14px 5px;
}
.life-situation-text-block h4 {
    margin: 0 0 3px;
    font-size: 14px;
    line-height: 1.2;
}
.life-situation-text-block p {
    margin: 0;
}
.life-situation-principle {
    margin: 7px 14px 10px;
    padding: 8px 11px;
    border-radius: 7px;
}
.life-situation-principle strong {
    margin-bottom: 2px;
    font-size: 12.5px;
}
.life-situation-principle p {
    margin: 0;
}
@media (max-width: 760px) {
    .life-situations-window { max-height: calc(100vh - 20px); }
    .life-situations-body { max-height: calc(100vh - 150px); overflow-y: auto; }
    .life-situations-head { padding: 12px 15px 10px; }
    .life-situations-picker { grid-template-columns: 1fr; gap: 3px; margin: 5px 0; }
    .life-situation-card-head { padding: 9px 11px; }
    .life-situation-text-block { padding: 7px 11px 4px; }
    .life-situation-principle { margin: 6px 11px 9px; }
}

/* V103 – výběr životní situace přes celou dostupnou šířku */
.life-situations-picker {
    grid-template-columns: 1fr;
    gap: 4px;
}
.life-situations-picker select {
    width: 100%;
    max-width: none;
}

/* V104 – záhlaví Životních situací využívá celou šířku řádku */
.life-situations-head {
    position: relative;
    display: block;
}
.life-situations-head-copy {
    width: 100%;
    max-width: none;
}
.life-situations-head .method-info-close {
    position: absolute;
    top: 13px;
    right: 22px;
    margin: 0;
}
.life-situations-picker,
.life-situations-head-copy > p {
    width: 100%;
    max-width: none;
}
@media (max-width: 760px) {
    .life-situations-head .method-info-close {
        top: 12px;
        right: 15px;
    }
}

/* V109 – výraznější barevné rozlišení úrovní medailí v detailu obce */
.leadership-medal{border-width:3px;box-shadow:0 5px 14px rgba(0,32,70,.10)}
.leadership-medal.critical{color:#b42318;border-color:#d92d20;background:#ffe4e0}
.leadership-medal.bronze{color:#7a3f13;border-color:#b9682b;background:#f4d2b5}
.leadership-medal.silver{color:#425563;border-color:#8796a1;background:#e3e9ed}
.leadership-medal.gold{color:#765600;border-color:#d4a900;background:#ffe9a3}
.leadership-medal.platinum{color:#145d72;border-color:#3b9bb4;background:#d8f1f6}
.leadership-medal .leadership-medal-symbol{background:rgba(255,255,255,.58)}

.leadership-legend-item{opacity:1;border-width:2px}
.leadership-legend-item.critical{color:#b42318;border-color:#e16b62;background:#ffe7e3}
.leadership-legend-item.bronze{color:#7a3f13;border-color:#c9834e;background:#f5d8bf}
.leadership-legend-item.silver{color:#425563;border-color:#9ba8b1;background:#e7ecef}
.leadership-legend-item.gold{color:#765600;border-color:#d8b62c;background:#fff0b8}
.leadership-legend-item.platinum{color:#145d72;border-color:#65adbf;background:#ddf3f7}
.leadership-legend-item i{background:rgba(255,255,255,.62);border-width:3px}
.leadership-legend-item.active{border-width:3px;box-shadow:0 0 0 3px rgba(0,32,70,.16),0 5px 12px rgba(0,32,70,.12);transform:translateY(-1px)}
.leadership-legend-item.active b,.leadership-legend-item.active strong{font-weight:900}

/* V110 – obrazová varianta odpovídající dosažené úrovni vysvědčení */
.leadership-award-visual{align-self:stretch;display:flex;flex-direction:column;justify-content:center}
.leadership-award-visual img{display:block;width:128px;aspect-ratio:1.22/1;object-fit:cover;object-position:center;margin:0 auto 7px;border:3px solid #fff;border-radius:13px;box-shadow:0 5px 14px rgba(0,32,70,.16)}
@media(max-width:850px){.leadership-award-visual img{width:100px}}
@media(max-width:560px){.leadership-award-visual img{width:min(220px,75vw);aspect-ratio:1.3/1}}

/* V111 – výrazné vysvědčení obce s pěti vizuálními variantami */
.leadership-certificate{position:relative;overflow:hidden;margin:22px 0 12px;padding:18px 18px 14px;background:#fbfdff;border:1px solid #c6d9e8;border-radius:16px;color:#153b5e;box-shadow:0 8px 24px rgba(0,32,70,.06)}
.leadership-certificate-main{display:grid;grid-template-columns:minmax(285px,330px) minmax(0,1fr);gap:24px;align-items:stretch}
.leadership-scene{position:relative;min-height:245px;border-radius:16px;overflow:hidden;background:#e8f1f7;border:1px solid rgba(0,32,70,.12);box-shadow:0 8px 20px rgba(0,32,70,.12)}
.leadership-scene-svg{display:block;width:100%;height:100%;min-height:245px}
.leadership-scene-badge{position:absolute;left:14px;top:13px;max-width:58%;padding:9px 12px;border-radius:11px;background:var(--award-accent);color:var(--award-badge-text,#fff);box-shadow:0 4px 10px rgba(0,0,0,.17);text-align:left}
.leadership-scene-badge strong{display:block;font-size:14px;line-height:1.13;letter-spacing:.045em}.leadership-scene-badge span{display:block;margin-top:2px;font-size:13px;font-weight:800;opacity:.92}
.leadership-scene-caption{position:absolute;left:14px;right:14px;bottom:10px;padding:5px 8px;border-radius:8px;background:rgba(255,255,255,.88);backdrop-filter:blur(2px);color:#002046;font-size:13px;font-weight:900;letter-spacing:.06em;text-align:center}.leadership-scene-caption span{display:block;margin-top:1px;color:#63798b;font-size:13px;font-weight:600;letter-spacing:0}
.leadership-award-copy{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:5px 0 3px}.leadership-kicker{display:block;margin-bottom:7px;color:#17618f;font-size:13.5px;font-weight:900;letter-spacing:.11em}.leadership-award-copy h2{margin:0 0 10px;color:#002046;font-size:23px;line-height:1.13}.leadership-award-copy p{margin:0;color:#40586d;font-size:14px;line-height:1.55}.leadership-award-copy .leadership-next{margin-top:9px;color:#0b5689}.leadership-next strong{color:#002046}
.leadership-medal{display:grid;grid-template-columns:76px minmax(0,1fr);gap:14px;align-items:center;margin-top:17px;padding:13px 16px;text-align:left;border:2px solid var(--award-accent);border-radius:15px;background:linear-gradient(135deg,var(--award-soft),#fff 78%);box-shadow:0 7px 17px rgba(0,32,70,.09)}
.leadership-medal-symbol{display:flex;align-items:center;justify-content:center;width:68px;height:68px;margin:0;border-radius:50%;font-size:31px;font-weight:900;color:var(--award-deep);border:5px double var(--award-accent);background:radial-gradient(circle at 35% 28%,#fff 0 12%,var(--award-metal-light) 13%,var(--award-metal-mid) 64%,var(--award-metal-dark) 100%);box-shadow:inset 0 0 0 2px rgba(255,255,255,.45),0 5px 10px rgba(0,0,0,.12)}
.leadership-medal-summary>strong{display:block;color:var(--award-deep);font-size:16px;line-height:1.1;letter-spacing:.035em}.leadership-medal-summary>b{display:block;margin-top:3px;color:#002046;font-size:34px;line-height:1}.leadership-medal-summary>b small{font-size:14px}.leadership-medal-summary>span{display:block;margin-top:4px;color:#687c8d;font-size:13px}
.leadership-legend{display:grid;grid-template-columns:145px repeat(5,minmax(0,1fr));gap:8px;align-items:stretch;margin-top:16px;padding-top:14px;border-top:1px solid #d8e4ed}.leadership-legend-title{display:flex;align-items:center;color:#002046;font-size:13.5px;letter-spacing:.08em}.leadership-legend-item{display:grid;grid-template-columns:31px 1fr;gap:7px;align-items:center;padding:8px;border:2px solid currentColor;border-radius:10px;opacity:1;box-shadow:none}.leadership-legend-item i{display:flex;align-items:center;justify-content:center;width:29px;height:29px;border:2px solid currentColor;border-radius:50%;font-style:normal;font-weight:900;background:rgba(255,255,255,.68)}.leadership-legend-item span>*{display:block}.leadership-legend-item b{font-size:13.5px;color:#002046}.leadership-legend-item strong{font-size:13px}.leadership-legend-item small{font-size:13px;color:#596f81}.leadership-legend-item.active{border-width:3px;box-shadow:0 0 0 3px rgba(0,32,70,.12),0 5px 12px rgba(0,32,70,.10);transform:translateY(-1px)}.leadership-method-note{margin:10px 0 0;color:#667c8d;font-size:13px;line-height:1.45}
.leadership-level-critical{--award-accent:#d83b2e;--award-deep:#8f2019;--award-soft:#ffe5e1;--award-metal-light:#ffd8d4;--award-metal-mid:#e75b50;--award-metal-dark:#ad291f;--award-badge-text:#fff}.leadership-level-critical .award-sky-a{stop-color:#cbd0d4}.leadership-level-critical .award-sky-b{stop-color:#8e969d}.leadership-level-critical .award-sun{fill:#aab0b4}.leadership-level-critical .award-ground{fill:#7d8588}.leadership-level-critical .award-hall{fill:#8d8984}.leadership-level-critical .award-clock{fill:#d7d5d2}.leadership-level-critical .award-door{fill:#5f5852}.leadership-level-critical .award-window{fill:#81898f}.leadership-level-critical .award-ribbon path{fill:#d83b2e}.leadership-level-critical .award-medal-inner{fill:#cc4438;stroke:#8f2019;stroke-width:2}.leadership-level-critical .award-medal-mark{fill:#fff;font:bold 45px Arial}.leadership-level-critical .award-score-ribbon rect{fill:#bd3025}.leadership-level-critical .award-score-ribbon text{fill:#fff;font:bold 20px Arial}
.leadership-level-bronze{--award-accent:#bd6f31;--award-deep:#744016;--award-soft:#f7dfca;--award-metal-light:#ffe1bd;--award-metal-mid:#c77a3e;--award-metal-dark:#8b491f;--award-badge-text:#fff}.leadership-level-bronze .award-sky-a{stop-color:#bfe1f3}.leadership-level-bronze .award-sky-b{stop-color:#e9dcc9}.leadership-level-bronze .award-sun{fill:#f4c77d}.leadership-level-bronze .award-ground{fill:#93ad7d}.leadership-level-bronze .award-hall{fill:#d7b989}.leadership-level-bronze .award-clock{fill:#f8f3e8}.leadership-level-bronze .award-door{fill:#8c603d}.leadership-level-bronze .award-window{fill:#86a9be}.leadership-level-bronze .award-ribbon path{fill:#a95825}.leadership-level-bronze .award-medal-inner{fill:#cf8245;stroke:#7d431b;stroke-width:2}.leadership-level-bronze .award-medal-glyph{fill:#ffe1a8;stroke:#7d431b;stroke-width:1.5}.leadership-level-bronze .award-score-ribbon rect{fill:#aa5d26}.leadership-level-bronze .award-score-ribbon text{fill:#fff;font:bold 20px Arial}
.leadership-level-silver{--award-accent:#8998a3;--award-deep:#465662;--award-soft:#e8edf0;--award-metal-light:#fff;--award-metal-mid:#c3cbd0;--award-metal-dark:#7f8b93;--award-badge-text:#fff}.leadership-level-silver .award-sky-a{stop-color:#c8e5f5}.leadership-level-silver .award-sky-b{stop-color:#edf3f6}.leadership-level-silver .award-sun{fill:#f7e7b2}.leadership-level-silver .award-ground{fill:#9ab494}.leadership-level-silver .award-hall{fill:#d7c9b2}.leadership-level-silver .award-clock{fill:#fff}.leadership-level-silver .award-door{fill:#88705e}.leadership-level-silver .award-window{fill:#92b7cb}.leadership-level-silver .award-ribbon path{fill:#768893}.leadership-level-silver .award-medal-inner{fill:#d5dce0;stroke:#687680;stroke-width:2}.leadership-level-silver .award-medal-glyph{fill:#fff;stroke:#687680;stroke-width:1.5}.leadership-level-silver .award-score-ribbon rect{fill:#72828d}.leadership-level-silver .award-score-ribbon text{fill:#fff;font:bold 20px Arial}
.leadership-level-gold{--award-accent:#d3a315;--award-deep:#765500;--award-soft:#fff0bb;--award-metal-light:#fff8c9;--award-metal-mid:#f0c93f;--award-metal-dark:#b98100;--award-badge-text:#5d4300}.leadership-level-gold .award-sky-a{stop-color:#9fd9f5}.leadership-level-gold .award-sky-b{stop-color:#eaf7ff}.leadership-level-gold .award-sun{fill:#ffd45e}.leadership-level-gold .award-ground{fill:#7eb46e}.leadership-level-gold .award-hall{fill:#e2c287}.leadership-level-gold .award-clock{fill:#fff8e8}.leadership-level-gold .award-door{fill:#95623b}.leadership-level-gold .award-window{fill:#79a9c6}.leadership-level-gold .award-ribbon path{fill:#e0b016}.leadership-level-gold .award-medal-inner{fill:#f2cc45;stroke:#986c00;stroke-width:2}.leadership-level-gold .award-medal-glyph{fill:#fff2a1;stroke:#986c00;stroke-width:1.5}.leadership-level-gold .award-score-ribbon rect{fill:#c6940e}.leadership-level-gold .award-score-ribbon text{fill:#fff;font:bold 20px Arial}
.leadership-level-platinum{--award-accent:#3d9fba;--award-deep:#145d72;--award-soft:#dff5fa;--award-metal-light:#f9ffff;--award-metal-mid:#8bd4e2;--award-metal-dark:#3d8da5;--award-badge-text:#073f51}.leadership-level-platinum .award-sky-a{stop-color:#91ddf1}.leadership-level-platinum .award-sky-b{stop-color:#eefcff}.leadership-level-platinum .award-sun{fill:#e8fbff}.leadership-level-platinum .award-ground{fill:#70b9aa}.leadership-level-platinum .award-hall{fill:#d6e8ea}.leadership-level-platinum .award-clock{fill:#fff}.leadership-level-platinum .award-door{fill:#5d7882}.leadership-level-platinum .award-window{fill:#71bcd0}.leadership-level-platinum .award-ribbon path{fill:#318fa8}.leadership-level-platinum .award-medal-inner{fill:#9adce8;stroke:#1f6d82;stroke-width:2}.leadership-level-platinum .award-medal-glyph{fill:#ecfcff;stroke:#1f6d82;stroke-width:1.5}.leadership-level-platinum .award-score-ribbon rect{fill:#2c8ca5}.leadership-level-platinum .award-score-ribbon text{fill:#fff;font:bold 20px Arial}
.award-hall{fill:#d7b989}.award-clock{stroke:#5c6871;stroke-width:2}.award-hall-label{fill:#4f3c2b;font:bold 10px Arial;letter-spacing:.6px}.award-person .award-head{fill:#e7e8e8;stroke:#7b8790;stroke-width:2}.award-person .award-jacket{fill:#263746;stroke:#12222e;stroke-width:2}.award-person .award-shirt{fill:#f4f6f7;stroke:#cad1d6;stroke-width:1.5}.award-person .award-arm,.award-person .award-lapel{fill:none;stroke:#12222e;stroke-width:7;stroke-linecap:round;stroke-linejoin:round}.award-person .award-lapel{stroke-width:2.5}.award-ribbon path{stroke:rgba(0,0,0,.18);stroke-width:1}.award-medal-large>circle:first-child{stroke:rgba(0,0,0,.18);stroke-width:1.5}.leadership-legend-item.critical{color:#b42318;background:#ffe7e3}.leadership-legend-item.bronze{color:#7a3f13;background:#f5d8bf}.leadership-legend-item.silver{color:#425563;background:#e7ecef}.leadership-legend-item.gold{color:#765600;background:#fff0b8}.leadership-legend-item.platinum{color:#145d72;background:#ddf3f7}
@media(max-width:850px){.leadership-certificate-main{grid-template-columns:minmax(230px,280px) minmax(0,1fr);gap:16px}.leadership-award-copy h2{font-size:20px}.leadership-legend{grid-template-columns:repeat(3,1fr)}.leadership-legend-title{grid-column:1/-1}.leadership-scene{min-height:220px}.leadership-scene-svg{min-height:220px}}
@media(max-width:620px){.leadership-certificate-main{grid-template-columns:1fr}.leadership-scene{max-width:390px;width:100%;margin:0 auto;min-height:245px}.leadership-scene-svg{min-height:245px}.leadership-award-copy{padding-top:3px}.leadership-medal{grid-template-columns:62px 1fr}.leadership-medal-symbol{width:56px;height:56px}.leadership-legend{grid-template-columns:1fr}.leadership-legend-title{grid-column:auto}}

/* V112 – prémiové medaile ve vysvědčení obce */
.leadership-certificate-main{grid-template-columns:minmax(285px,340px) minmax(0,1fr);gap:24px;align-items:stretch}
.leadership-award-visual{position:relative;min-height:330px;padding:20px 20px 16px;overflow:hidden;border:1px solid color-mix(in srgb,var(--award-accent) 38%,#d7e2ea);border-radius:18px;background:radial-gradient(circle at 50% 34%,color-mix(in srgb,var(--award-soft) 82%,#fff) 0 26%,#fff 66%);box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 8px 22px rgba(0,32,70,.08)}
.leadership-award-visual:before{content:"";position:absolute;inset:-70px -90px auto auto;width:220px;height:220px;border-radius:50%;background:var(--award-soft);opacity:.72}
.leadership-award-visual-label{position:relative;z-index:2;text-align:center}.leadership-award-visual-label>span{display:block;color:#17618f;font-size:13px;font-weight:900;letter-spacing:.16em}.leadership-award-visual-label>strong{display:block;margin-top:5px;color:var(--award-deep);font-size:19px;line-height:1.05;letter-spacing:.04em}.leadership-award-visual-label>small{display:block;margin-top:4px;color:#617587;font-size:13.5px;font-weight:700}
.leadership-premium-medal{position:relative;z-index:1;display:block;width:100%;height:220px;margin:-2px auto -3px;overflow:visible}.leadership-premium-medal .award-medal-outer{fill:var(--award-metal-dark);stroke:var(--award-deep);stroke-width:2}.leadership-premium-medal .award-medal-disc{stroke:rgba(255,255,255,.78);stroke-width:3}.leadership-premium-medal .award-medal-inner-ring{fill:none;stroke:var(--award-deep);stroke-opacity:.48;stroke-width:3}.leadership-premium-medal .award-medal-center{fill:rgba(255,255,255,.16);stroke:rgba(255,255,255,.58);stroke-width:2}.leadership-premium-medal .award-ribbon-fold{fill:var(--award-ribbon-dark);opacity:.82}.leadership-premium-medal .award-tail{fill:var(--award-ribbon-dark);stroke:var(--award-deep);stroke-opacity:.38;stroke-width:1.5}.leadership-premium-medal .award-symbol-fill{fill:var(--award-symbol);}.leadership-premium-medal .award-symbol-stroke{stroke:var(--award-deep);stroke-width:2;stroke-linejoin:round}.leadership-premium-medal .award-symbol-shine{fill:rgba(255,255,255,.42)}.leadership-premium-medal .award-critical-core{fill:rgba(255,255,255,.18);stroke:var(--award-symbol);stroke-width:3}
.leadership-award-score{position:relative;z-index:3;display:grid;grid-template-columns:auto auto;justify-content:center;align-items:end;column-gap:3px;margin-top:-1px;color:#002046;text-align:center}.leadership-award-score strong{font-size:37px;line-height:.92}.leadership-award-score>span{font-size:14px;font-weight:900;line-height:1.1}.leadership-award-score small{grid-column:1/-1;margin-top:5px;color:#6c8091;font-size:13px;font-weight:700;letter-spacing:.02em}
.leadership-level-critical{--award-ribbon-light:#e85b4f;--award-ribbon-dark:#a92a20;--award-metal-highlight:#ffd4cf;--award-symbol:#fff4f2}
.leadership-level-bronze{--award-ribbon-light:#d4935b;--award-ribbon-dark:#81451f;--award-metal-highlight:#ffe8ca;--award-symbol:#fff1c8}
.leadership-level-silver{--award-ribbon-light:#c5d0d7;--award-ribbon-dark:#667580;--award-metal-highlight:#ffffff;--award-symbol:#ffffff}
.leadership-level-gold{--award-ribbon-light:#f3d25a;--award-ribbon-dark:#9b6b00;--award-metal-highlight:#fffbd5;--award-symbol:#fff6af}
.leadership-level-platinum{--award-ribbon-light:#aee9f2;--award-ribbon-dark:#397e92;--award-metal-highlight:#ffffff;--award-symbol:#f5feff}
.leadership-award-copy{padding:12px 0 8px;justify-content:center}.leadership-award-copy h2{font-size:25px}.leadership-medal{margin-top:20px;padding:15px 18px}.leadership-medal-symbol{width:72px;height:72px}.leadership-medal-summary>strong{font-size:17px}.leadership-medal-summary>b{font-size:38px}
@media(max-width:850px){.leadership-certificate-main{grid-template-columns:minmax(250px,310px) minmax(0,1fr);gap:17px}.leadership-award-visual{min-height:305px}.leadership-premium-medal{height:205px}.leadership-award-copy h2{font-size:21px}}
@media(max-width:620px){.leadership-certificate-main{grid-template-columns:1fr}.leadership-award-visual{max-width:390px;width:100%;margin:0 auto}.leadership-premium-medal{height:215px}}


/* V113 – kompaktní vysvědčení bez duplicit */
.leadership-certificate{margin:16px 0 9px;padding:14px 16px 12px;border-radius:14px}
.leadership-certificate-main{grid-template-columns:220px minmax(0,1fr);gap:22px;align-items:center}
.leadership-award-visual{min-height:0;height:auto;padding:13px 14px 12px;border-radius:15px}
.leadership-award-visual:before{width:150px;height:150px;inset:-58px -62px auto auto}
.leadership-award-visual-label>span{font-size:13px;letter-spacing:.14em}
.leadership-award-visual-label>strong{margin-top:3px;font-size:15px;line-height:1.08}
.leadership-award-visual-label>small{margin-top:2px;font-size:13px}
.leadership-premium-medal{width:150px;height:142px;margin:-2px auto -4px}
.leadership-award-score{margin-top:-2px}
.leadership-award-score strong{font-size:31px}
.leadership-award-score>span{font-size:14px}
.leadership-award-score small{margin-top:3px;font-size:13px}
.leadership-award-copy{display:block;padding:0}
.leadership-kicker{margin-bottom:5px;font-size:13px}
.leadership-award-copy h2{margin:0 0 7px;font-size:22px;line-height:1.12}
.leadership-award-copy p{font-size:14px;line-height:1.42}
.leadership-award-copy .leadership-next{margin-top:8px}
/* druhé velké zobrazení medaile již ve V113 není; případné starší styly nesmí zabírat místo */
.leadership-medal{display:none!important}
.leadership-legend{grid-template-columns:140px repeat(5,minmax(0,1fr));gap:7px;margin-top:12px;padding-top:11px}
.leadership-legend-item{padding:6px 7px;min-height:50px}
.leadership-legend-item i{width:25px;height:25px}
.leadership-method-note{margin-top:7px;font-size:13px;line-height:1.35}
@media(max-width:850px){.leadership-certificate-main{grid-template-columns:190px minmax(0,1fr);gap:16px}.leadership-award-visual{padding:11px 12px}.leadership-premium-medal{width:132px;height:126px}.leadership-award-copy h2{font-size:19px}.leadership-legend{grid-template-columns:repeat(3,1fr)}.leadership-legend-title{grid-column:1/-1}}
@media(max-width:620px){.leadership-certificate-main{grid-template-columns:1fr;gap:12px}.leadership-award-visual{max-width:240px;width:100%;margin:0 auto}.leadership-premium-medal{width:145px;height:138px}.leadership-award-copy{text-align:left}.leadership-legend{grid-template-columns:1fr 1fr}.leadership-legend-title{grid-column:1/-1}.leadership-method-note{font-size:13px}}

/* V114 – vysvětlení dosažené medaile */
.leadership-award-explanation {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 32, 70, .12);
}
.leadership-award-explanation p {
    margin: 0 0 8px;
    font-size: 12.5px;
    line-height: 1.48;
    color: #24445f;
}
.leadership-award-explanation p:last-child { margin-bottom: 0; }
\n\n/* === V116: PRODEJNI SDĚLENI V ZAHLAVI DETAILU === */
.detail-modal-head > div:first-child { flex:0 0 auto; min-width:240px; }
.detail-report-notice {
    flex:1 1 360px;
    max-width:430px;
    padding:9px 14px;
    border-left:3px solid #9bd12f;
    color:#fff;
    font-size:13px;
    line-height:1.3;
    text-align:left;
}
.detail-report-notice strong { font-weight:900; }
.detail-modal-actions { flex:0 0 auto; }
@media (max-width:1180px) {
    .detail-modal-head > div:first-child { min-width:190px; }
    .detail-report-notice { max-width:330px; font-size:14px; padding:7px 10px; }
    .detail-head-button { padding-left:9px; padding-right:9px; }
}
@media (max-width:900px) {
    .detail-report-notice { display:none; }
}

/* V117 – popisky pavučinového grafu vždy uvnitř karty */
.missing-radar-wrap,.missing-radar-svg{max-width:100%;box-sizing:border-box}


/* V118 – čitelné dvouřádkové popisky pavučinového grafu */
.missing-radar-label{font-size:13.5px;font-weight:900;letter-spacing:.05px;dominant-baseline:auto}
.missing-radar-svg{height:265px;overflow:visible}
.missing-radar-wrap{padding-left:14px;padding-right:14px;overflow:hidden}
@media(max-width:760px){.missing-radar-label{font-size:13.5px}.missing-radar-svg{height:250px}}

/* V119 – čitelnost drobných textů v bloku „Co občanovi nejčastěji chybí?“ */
.missing-card .missing-intro{font-size:13px;line-height:1.42}
.missing-radar-label{font-size:14px;font-weight:900}
.missing-radar-center{font-size:13px}
.missing-radar-center-small{font-size:13px}
.missing-radar-legend{gap:9px;padding-top:11px}
.missing-radar-legend-item{grid-template-columns:11px 1fr;gap:8px}
.missing-radar-legend-item>i{width:10px;height:10px;margin-top:4px}
.missing-radar-legend-head strong{font-size:14px;line-height:1.25}
.missing-radar-legend-head span{font-size:14px;line-height:1.25}
.missing-radar-legend-item p{font-size:14px;line-height:1.38;margin-top:2px}
@media(max-width:760px){
 .missing-card .missing-intro{font-size:14px}
 .missing-radar-label{font-size:14px}
 .missing-radar-legend-head strong{font-size:14px}
 .missing-radar-legend-head span{font-size:14px}
 .missing-radar-legend-item p{font-size:14px}
}

/* === V123: rychlé hodnocení obce z úvodní tabulky === */
.header-search-actions{
    display:flex;
    align-items:center;
    gap:8px;
    margin-top:7px;
}
.header-search-actions .header-search-box{margin:0;}
.quick-vote-open{
    flex:0 0 auto;
    min-height:34px;
    padding:7px 13px;
    border:1px solid #07599b;
    border-radius:7px;
    background:#0b67ad;
    color:#fff;
    font-size:14px;
    line-height:1.1;
    font-weight:900;
    white-space:nowrap;
    cursor:pointer;
    box-shadow:0 2px 7px rgba(0,65,120,.22);
}
.quick-vote-open:hover,.quick-vote-open:focus-visible{background:#07558f;border-color:#07558f;}
.quick-vote-selector{
    margin:0 0 16px;
    padding:15px;
    border:1px solid #c9d9e6;
    border-radius:11px;
    background:#fff;
}
.quick-vote-selector[hidden]{display:none!important;}
.quick-vote-selector-head{margin-bottom:12px;}
.quick-vote-selector-head strong{display:block;color:#002f59;font-size:15px;}
.quick-vote-selector-head span{display:block;margin-top:3px;color:#61788c;font-size:14px;line-height:1.35;}
.quick-vote-controls{display:grid;grid-template-columns:180px 1fr;gap:10px 12px;}
.quick-vote-controls label{display:grid;gap:5px;color:#24445f;font-size:13.5px;font-weight:900;}
.quick-vote-controls select,.quick-vote-controls input{
    width:100%;
    min-height:38px;
    padding:8px 10px;
    border:1px solid #b9cddd;
    border-radius:7px;
    background:#fff;
    color:#173b58;
    font:inherit;
    font-size:14px;
    font-weight:700;
    outline:none;
}
.quick-vote-controls select:focus,.quick-vote-controls input:focus{border-color:#0b67ad;box-shadow:0 0 0 3px rgba(11,103,173,.12);}
.quick-vote-municipality-label{grid-column:1/-1;}
.quick-vote-municipality-label select{min-height:118px;padding:4px;}
.quick-vote-municipality-label option{padding:6px 8px;}
.quick-vote-placeholder{
    min-height:92px;
    display:grid;
    place-items:center;
    padding:18px;
    border:1px dashed #bfd0de;
    border-radius:10px;
    background:#f8fbfd;
    color:#647d91;
    font-size:14px;
    font-weight:800;
    text-align:center;
}
@media(max-width:900px){
    .header-search-actions{align-items:stretch;flex-direction:column;}
    .quick-vote-open{width:100%;}
}
@media(max-width:650px){
    .quick-vote-controls{grid-template-columns:1fr;}
    .quick-vote-municipality-label{grid-column:auto;}
}

/* === V125: hledání a hodnocení v záhlaví Obec na jednom řádku === */
.results-table th:first-child{
    white-space:nowrap;
}
.results-table th:first-child .header-search-actions{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-top:0;
    margin-left:18px;
    vertical-align:middle;
}
@media(max-width:1100px){
    .results-table th:first-child .header-search-actions{margin-left:10px;gap:6px;}
    .results-table th:first-child .header-search-box input{width:120px;}
    .results-table th:first-child .quick-vote-open{padding-left:10px;padding-right:10px;}
}


/* === V126: poděkování po úspěšném hlasování === */
.vote-thanks-modal{
    position:fixed;
    inset:0;
    z-index:2200;
    display:none;
}
.vote-thanks-modal.is-open{display:block;}
.vote-thanks-backdrop{
    position:absolute;
    inset:0;
    background:rgba(5,24,42,.34);
}
.vote-thanks-window{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    width:min(330px,calc(100vw - 36px));
    padding:22px 22px 18px;
    border:1px solid rgba(255,255,255,.78);
    border-radius:14px;
    background:#fff;
    box-shadow:0 20px 60px rgba(0,0,0,.30);
    text-align:center;
}
.vote-thanks-icon{
    width:42px;
    height:42px;
    margin:0 auto 10px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#0b67ad;
    color:#fff;
    font-size:24px;
    font-weight:900;
}
.vote-thanks-window h2{
    margin:0 0 6px;
    color:#002f59;
    font-size:19px;
    line-height:1.2;
}
.vote-thanks-window p{
    margin:0 0 15px;
    color:#5d7183;
    font-size:14px;
    line-height:1.4;
}
.vote-thanks-confirm{
    min-width:92px;
    padding:9px 20px;
    border:1px solid #0b67ad;
    border-radius:8px;
    background:#0b67ad;
    color:#fff;
    font:inherit;
    font-size:13px;
    font-weight:900;
    cursor:pointer;
}
.vote-thanks-confirm:hover,.vote-thanks-confirm:focus-visible{
    background:#07558f;
    border-color:#07558f;
    outline:2px solid rgba(11,103,173,.20);
    outline-offset:2px;
}

/* === V129: HLAS OBČANŮ V HORNÍ HLAVIČCE === */
.header-civic-cta{
    flex:0 0 270px;
    align-self:stretch;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:10px 16px;
    border-left:1px solid #d8e3ec;
    border-right:1px solid #d8e3ec;
    background:#f5f9fc;
}
.header-civic-cta strong{
    display:block;
    color:#002b55;
    font-size:13px;
    line-height:1.15;
    font-weight:900;
    text-transform:uppercase;
    margin-bottom:4px;
}
.header-civic-cta span{
    display:block;
    color:#38556d;
    font-size:13.5px;
    line-height:1.25;
    margin-bottom:7px;
}
.header-civic-cta .quick-vote-open{
    width:100%;
    min-height:34px;
    padding:6px 12px;
    font-size:14px;
    font-weight:900;
    white-space:nowrap;
}
.site-header .header-inner{gap:12px}
.site-header .brand img{width:min(315px,25vw)}
.site-header .main-nav{gap:4px 9px}
.site-header .main-nav-modal-link{font-size:13.5px;line-height:1.12}
.header-search-actions .quick-vote-open{display:none!important}
@media(max-width:1180px){
  .header-civic-cta{flex-basis:235px;padding:8px 11px}
  .header-civic-cta strong{font-size:14px}
  .header-civic-cta span{font-size:13px}
  .site-header .brand img{width:min(275px,24vw)}
  .site-header .main-nav{gap:3px 7px}
  .site-header .main-nav-modal-link{font-size:13px}
}
@media(max-width:900px){.header-civic-cta{display:none}}

/* === V131: VĚTŠÍ A KOMPAKTNÍ DVOUŘÁDKOVÉ MENU === */
.site-header .main-nav{
    flex:1 1 auto;
    flex-wrap:nowrap;
    gap:4px 11px;
    align-items:center;
    justify-content:flex-end;
}
.site-header .main-nav-modal-link{
    font-size:14px;
    line-height:1.08;
    font-weight:900;
    white-space:normal;
    text-align:center;
}
.site-header .main-nav-modal-link:nth-child(1){max-width:64px}
.site-header .main-nav-modal-link:nth-child(2){max-width:68px}
.site-header .main-nav-modal-link:nth-child(3){max-width:112px}
.site-header .main-nav-modal-link:nth-child(4){max-width:106px}
.site-header .main-nav-modal-link:nth-child(5){max-width:42px}
.site-header .main-nav-modal-link:nth-child(6){max-width:54px}
.site-header .main-nav-modal-link:nth-child(7){max-width:72px}
@media(max-width:1180px){
  .site-header .main-nav{gap:3px 7px}
  .site-header .main-nav-modal-link{font-size:14px;line-height:1.08}
}


/* === V132: PŘÍJEMNĚJŠÍ KARTA HLAS OBČANŮ === */
.header-civic-cta{
    position:relative;
    flex:0 0 292px;
    align-self:center;
    min-height:104px;
    display:grid;
    grid-template-columns:48px minmax(0,1fr);
    column-gap:10px;
    align-items:start;
    padding:11px 15px 10px 12px;
    border:1px solid #dbe6ee;
    border-radius:18px;
    background:linear-gradient(135deg,#ffffff 0%,#f5f8fb 72%,#f0f5f8 100%);
    box-shadow:0 7px 20px rgba(0,43,85,.08);
    overflow:hidden;
}
.header-civic-cta::before{
    content:"";
    position:absolute;
    right:-26px;
    top:-34px;
    width:90px;
    height:90px;
    border-radius:50%;
    background:rgba(117,190,40,.07);
    pointer-events:none;
}
.header-civic-icon{
    width:48px;
    height:48px;
    margin-top:1px;
}
.header-civic-icon svg{
    width:100%;
    height:100%;
    display:block;
    fill:none;
    stroke:#67b51f;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.header-civic-content{
    min-width:0;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
}
.header-civic-cta .header-civic-content > strong{
    display:block;
    margin:0 0 3px;
    color:#59a614;
    font-size:15px;
    line-height:1.05;
    font-weight:950;
    text-transform:uppercase;
    letter-spacing:.1px;
}
.header-civic-cta .header-civic-content > span{
    display:block;
    margin:0 0 7px;
    color:#1e3850;
    font-size:13.5px;
    line-height:1.28;
}
.header-civic-cta .header-civic-content > span b{
    color:#002b55;
    font-weight:900;
}
.header-civic-cta .quick-vote-open{
    width:auto;
    min-height:33px;
    padding:7px 15px;
    border-radius:18px;
    border:1px solid #075db5;
    background:linear-gradient(180deg,#0b73d4,#075db5);
    color:#fff;
    box-shadow:0 3px 8px rgba(7,93,181,.2);
    font-size:14px;
    font-weight:900;
    white-space:nowrap;
}
.header-civic-cta .quick-vote-open:hover,
.header-civic-cta .quick-vote-open:focus-visible{
    background:linear-gradient(180deg,#0869c3,#064f98);
    border-color:#064f98;
}
.header-civic-arrow{
    position:absolute;
    right:11px;
    bottom:7px;
    color:#65b51c;
    font-size:25px;
    line-height:1;
    transform:rotate(7deg);
    font-weight:400;
}
@media(max-width:1180px){
  .header-civic-cta{flex-basis:252px;grid-template-columns:40px minmax(0,1fr);column-gap:8px;padding:9px 11px 9px 9px;border-radius:15px;min-height:96px}
  .header-civic-icon{width:40px;height:40px}
  .header-civic-cta .header-civic-content > strong{font-size:13px}
  .header-civic-cta .header-civic-content > span{font-size:13px;line-height:1.22;margin-bottom:6px}
  .header-civic-cta .quick-vote-open{font-size:13.5px;padding:6px 10px;min-height:30px}
  .header-civic-arrow{font-size:20px;right:8px;bottom:6px}
}


/* === V133: NIŽŠÍ HLASOVACÍ KARTA + MENU MÍRNĚ DOLEVA === */
.site-header .header-inner{
    gap:8px;
}
.site-header .main-nav{
    justify-content:center;
    gap:3px 9px;
    margin-left:-10px;
    margin-right:2px;
}
.header-civic-cta{
    flex:0 0 306px;
    min-height:82px;
    grid-template-columns:40px minmax(0,1fr);
    column-gap:9px;
    padding:7px 13px 7px 10px;
    border-radius:16px;
}
.header-civic-icon{
    width:40px;
    height:40px;
    margin-top:0;
}
.header-civic-cta .header-civic-content > strong{
    margin-bottom:2px;
    font-size:14px;
}
.header-civic-cta .header-civic-content > span{
    margin:0 0 5px;
    font-size:13.5px;
    line-height:1.18;
    white-space:normal;
}
.header-civic-cta .quick-vote-open{
    min-height:29px;
    padding:5px 13px;
    font-size:13.5px;
}
.header-civic-arrow{
    right:9px;
    bottom:5px;
    font-size:20px;
}
@media(max-width:1180px){
  .site-header .main-nav{margin-left:-7px;gap:3px 6px}
  .header-civic-cta{flex-basis:272px;min-height:78px;grid-template-columns:36px minmax(0,1fr);column-gap:7px;padding:6px 9px 6px 8px}
  .header-civic-icon{width:36px;height:36px}
  .header-civic-cta .header-civic-content > strong{font-size:14px}
  .header-civic-cta .header-civic-content > span{font-size:13px;line-height:1.16;margin-bottom:4px}
  .header-civic-cta .quick-vote-open{font-size:13px;min-height:27px;padding:4px 9px}
}

/* === V134: VEŘEJNÝ DETAIL PODLE ROZŠÍŘENÉ DB === */
.v134-report-top{grid-template-columns:minmax(0,1.45fr) minmax(280px,.75fr);align-items:stretch;gap:14px}
.v134-scan-meta{padding:18px 18px 14px;display:flex;flex-direction:column;justify-content:center}
.v134-scan-meta h2,.v134-data-card h2,.v134-role-comparison h2,.v134-linkage-card h2,.v134-compliance-public h2{margin:0 0 8px;color:#002b55;font-size:14px;line-height:1.16;font-weight:950}
.v134-scan-meta>p{margin:0 0 14px;color:#38556d;font-size:14px;line-height:1.45}
.v134-meta-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
.v134-meta-grid>div{border:1px solid #dce7ef;border-radius:10px;background:#f7fafc;padding:9px 7px;text-align:center;min-width:0}
.v134-meta-grid strong{display:block;color:#002b55;font-size:15px;line-height:1.1;overflow-wrap:anywhere}
.v134-meta-grid span{display:block;margin-top:4px;color:#6b8192;font-size:13px;line-height:1.2}

.v134-score-pairs{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:14px}
.v134-score-card{position:relative;padding:15px 16px 14px;overflow:hidden;border-top:4px solid #1976b9}
.v134-score-card.office{border-top-color:#7f66b5}.v134-score-card.state{border-top-color:#e39a21}.v134-score-card.local{border-top-color:#64ad2d}
.v134-score-card:after{content:"";position:absolute;right:-30px;top:-34px;width:95px;height:95px;border-radius:50%;background:rgba(25,118,185,.045)}
.v134-eyebrow{display:block;color:#5eaa19;font-size:13px;line-height:1.1;font-weight:950;letter-spacing:.45px;text-transform:uppercase}
.v134-big-score{margin-top:8px;color:#002b55;font-size:32px;line-height:1;font-weight:950}
.v134-big-score small{font-size:13px;font-weight:800;color:#74899a}
.v134-score-card p{min-height:48px;margin:8px 0 0;color:#405d73;font-size:13.5px;line-height:1.42}
.v134-score-card em,.v134-count-note{display:block;margin-top:7px;color:#778b9a;font-size:13px;line-height:1.25;font-style:normal}

.v134-orientation-card,.v134-linkage-card{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 95px;gap:8px 18px;align-items:center;margin-top:12px;padding:14px 18px 13px}
.v134-orientation-card h2,.v134-linkage-card h2{margin:4px 0 5px;color:#002b55;font-size:15px;line-height:1.18}
.v134-orientation-card p,.v134-linkage-card p{margin:0;color:#49667c;font-size:13.5px;line-height:1.4}
.v134-orientation-score{text-align:right;white-space:nowrap}.v134-orientation-score strong{font-size:31px;line-height:1;color:#002b55;font-weight:950}.v134-orientation-score span{font-size:14px;color:#7b8f9f;font-weight:800}
.v134-meter{grid-column:1/-1;height:7px;border-radius:10px;background:#e8eef3;overflow:hidden}.v134-meter i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#d94a4a 0%,#e6a31a 46%,#55aa32 100%)}
.v134-meter.linkage i{background:linear-gradient(90deg,#d94a4a,#e5a000 50%,#1976b9)}

.v134-public-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:12px}
.v134-data-card{padding:14px 15px;min-width:0}
.v134-card-intro{margin:0 0 11px;color:#607789;font-size:13px;line-height:1.38}
.v134-awaiting{padding:18px 10px;border-radius:10px;border:1px dashed #c8d6e0;background:#f8fafc;text-align:center;color:#7b8f9f;font-size:13.5px;font-weight:800}

.v134-journey-list{display:grid;gap:7px}.v134-journey-list>div{display:grid;grid-template-columns:38px 1fr;align-items:center;padding:7px 9px;border-radius:9px;background:#f6f9fb;border-left:4px solid #98a9b6}.v134-journey-list>div.ok{border-left-color:#48a94e}.v134-journey-list>div.partial{border-left-color:#e5a000}.v134-journey-list>div.bad{border-left-color:#d94a4a}.v134-journey-list>div.contact{border-left-color:#e67f22}.v134-journey-list>div.dead{border-left-color:#1976b9}.v134-journey-list strong{font-size:16px;color:#002b55}.v134-journey-list span{font-size:13.5px;color:#405d73}

.v134-bars{display:grid;gap:7px}.v134-bar-row{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(70px,1fr) 25px;gap:7px;align-items:center}.v134-bar-row>span{font-size:13px;color:#405d73}.v134-bar-row>span b{display:inline-grid;place-items:center;width:17px;height:17px;border-radius:50%;background:#eaf1f6;color:#002b55;font-size:13px}.v134-bar-row>div{height:7px;background:#e8eef3;border-radius:10px;overflow:hidden}.v134-bar-row>div i{display:block;height:100%;background:#1976b9;border-radius:inherit}.v134-bar-row>strong{font-size:13.5px;color:#002b55;text-align:right}

.v134-find-list{display:grid;gap:7px}.v134-find-list>div{display:flex;justify-content:space-between;gap:8px;padding:8px 9px;border-radius:9px;background:#f6f9fb}.v134-find-list span{font-size:13px;color:#405d73}.v134-find-list strong{font-size:13.5px;color:#002b55;white-space:nowrap}.v134-find-list small{font-size:13px;color:#6b8192}

.v134-stage-list{display:grid;gap:6px}.v134-stage-list>div{display:grid;grid-template-columns:27px 1fr 24px;align-items:center;gap:6px;padding:7px 8px;border-radius:8px;background:#f6f9fb}.v134-stage-list b{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#dce8f1;color:#002b55;font-size:13px}.v134-stage-list .a2 b{background:#e6f1da}.v134-stage-list .a3 b{background:#fff0c9}.v134-stage-list .a4 b{background:#d9ebfa}.v134-stage-list span{font-size:13px;color:#405d73}.v134-stage-list strong{font-size:14px;color:#002b55;text-align:right}

.v134-failure-list{display:grid;grid-template-columns:1fr 1fr;gap:6px}.v134-failure-list>div{display:flex;justify-content:space-between;gap:8px;padding:7px 8px;border:1px solid #e5ebf0;border-radius:8px;background:#fbfcfd}.v134-failure-list span{font-size:13px;line-height:1.2;color:#4c6579}.v134-failure-list strong{font-size:14px;color:#b53b37}

.v134-cap-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.v134-cap-grid>div{min-height:53px;padding:7px 5px;border-radius:9px;background:#f5f9fc;text-align:center}.v134-cap-grid strong{display:block;color:#0871c7;font-size:16px;line-height:1.1}.v134-cap-grid span{display:block;margin-top:3px;color:#516b7f;font-size:13px;line-height:1.15}

.v134-role-comparison{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:18px;align-items:center;margin-top:12px;padding:14px 18px}.v134-role-comparison h2{margin:4px 0 6px;font-size:15px}.v134-role-comparison p{margin:0;color:#4d677b;font-size:13.5px;line-height:1.4}.v134-role-scores{display:grid;grid-template-columns:1fr 1fr;gap:8px}.v134-role-scores>div{padding:10px;border-radius:10px;background:#f4f8fb;text-align:center}.v134-role-scores span{display:block;color:#577084;font-size:13px}.v134-role-scores strong{display:block;margin-top:4px;color:#002b55;font-size:25px}

.v134-dimensions-wrap{display:grid;grid-template-columns:1.25fr .75fr;gap:12px;margin-top:12px}.v134-dimensions-wrap .dimensions-card{margin:0}.v134-compliance-public{padding:14px 16px}.v134-compliance-score{margin:7px 0}.v134-compliance-score strong{font-size:30px;color:#002b55}.v134-compliance-score span{font-size:14px;color:#758a9b;font-weight:800}.v134-compliance-public p{margin:7px 0;color:#4d677b;font-size:13.5px;line-height:1.4}.v134-inline-button{margin-top:6px!important;width:auto!important}

.v134-vote-card{margin-top:12px;min-height:0!important;padding:14px 16px!important}.v134-vote-card .civic-vote-intro{max-width:900px}.v134-vote-card .civic-vote-summary{margin-top:8px}

.v134-paid-teaser{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:14px;align-items:center;margin-top:12px;padding:15px 17px;border:1px solid #bdd5e7;background:linear-gradient(135deg,#f8fcff,#eef6fb)}.v134-paid-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#002b55;color:#fff;font-size:22px;font-weight:900}.v134-paid-teaser h2{margin:3px 0 5px;color:#002b55;font-size:15px}.v134-paid-teaser p{margin:0;color:#466277;font-size:13.5px;line-height:1.4}.v134-paid-button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:8px 14px;border-radius:18px;background:#075fb8;color:#fff!important;font-size:13.5px;font-weight:900;text-decoration:none;white-space:nowrap;box-shadow:0 4px 10px rgba(7,95,184,.18)}.v134-paid-button:hover{background:#004c94}

/* V134: staré konkrétní veřejné priority a radar se již nepoužívají; detail zůstává v placeném reportu. */

@media(max-width:1050px){
 .v134-score-pairs{grid-template-columns:repeat(2,1fr)}
 .v134-public-grid{grid-template-columns:1fr 1fr}
 .v134-public-grid>.v134-data-card:last-child{grid-column:1/-1}
 .v134-role-comparison{grid-template-columns:1fr 240px}
 .v134-dimensions-wrap{grid-template-columns:1fr}
}
@media(max-width:760px){
 .v134-report-top,.v134-score-pairs,.v134-public-grid,.v134-role-comparison,.v134-orientation-card,.v134-linkage-card,.v134-paid-teaser{grid-template-columns:1fr}
 .v134-public-grid>.v134-data-card:last-child{grid-column:auto}
 .v134-orientation-score{text-align:left}
 .v134-role-scores{grid-template-columns:1fr 1fr}
 .v134-paid-button{justify-self:start}
 .v134-meta-grid{grid-template-columns:1fr}
 .v134-failure-list{grid-template-columns:1fr}
 .v134-cap-grid{grid-template-columns:repeat(2,1fr)}
}

/* === V137: pestřejší grafy detailu obce – prstence, pavučina, tečky a lollipop === */
.v137-score-ring,.v137-orientation-ring,.v137-compliance-ring,.v137-mini-ring{--ring:#1976b9;position:relative;border-radius:50%;background:conic-gradient(var(--ring) calc(var(--score)*1%),#e6eef4 0);display:grid;place-items:center;box-shadow:inset 0 0 0 1px rgba(13,71,109,.06)}
.v137-score-ring:after,.v137-orientation-ring:after,.v137-compliance-ring:after,.v137-mini-ring:after{content:"";position:absolute;border-radius:50%;background:#fff}
.v137-score-ring>div,.v137-orientation-ring>div,.v137-compliance-ring>div,.v137-mini-ring>strong{position:relative;z-index:1;text-align:center}
.v137-score-ring{width:94px;height:94px;margin:7px auto 10px}.v137-score-ring:after{inset:10px}.v137-score-ring strong{display:block;color:#073d68;font-size:29px;line-height:1}.v137-score-ring small{font-size:14px;color:#668095;font-weight:800}
.v134-score-card.citizen .v137-score-ring{--ring:#2586c3}.v134-score-card.office .v137-score-ring{--ring:#5c6fb5}.v134-score-card.state .v137-score-ring{--ring:#268e80}.v134-score-card.local .v137-score-ring{--ring:#72a934}
.v137-orientation-ring{width:116px;height:116px;flex:0 0 116px;--ring:#1b79b8}.v137-orientation-ring:after{inset:12px}.v137-orientation-ring strong{display:block;font-size:32px;color:#083e68;line-height:1}.v137-orientation-ring span{font-size:14px;font-weight:800;color:#728798}.v137-orientation-ring.linkage{--ring:#62a43a}
.v137-compliance-ring{width:112px;height:112px;margin:5px auto 12px;--ring:#5d70b4}.v137-compliance-ring:after{inset:12px}.v137-compliance-ring strong{display:block;font-size:31px;color:#193f64;line-height:1}.v137-compliance-ring span{font-size:14px;font-weight:800;color:#70879a}
.v137-dot-distribution{display:grid;gap:9px;margin-top:12px}.v137-dot-row{display:grid;grid-template-columns:minmax(138px,1.35fr) minmax(90px,1fr) 28px;gap:8px;align-items:center}.v137-dot-label{font-size:13.5px;color:#294b65;line-height:1.2}.v137-dot-label b{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#eaf1f6;color:#0c4f7e;margin-right:4px}.v137-dot-strip{display:grid;grid-template-columns:repeat(10,1fr);gap:3px}.v137-dot-strip i{aspect-ratio:1;border-radius:50%;background:#dce7ee;min-width:5px}.v137-dot-strip i.on{background:#2c84bf}.v137-dot-row.level-5 .v137-dot-strip i.on{background:#3aa85b}.v137-dot-row.level-4 .v137-dot-strip i.on{background:#75ae3b}.v137-dot-row.level-3 .v137-dot-strip i.on{background:#dfae25}.v137-dot-row.level-2 .v137-dot-strip i.on{background:#e58a27}.v137-dot-row.level-1 .v137-dot-strip i.on,.v137-dot-row.level-0 .v137-dot-strip i.on{background:#d94a4a}.v137-dot-row>strong{color:#073f69;font-size:13px;text-align:right}
.v137-donut-layout{display:grid;grid-template-columns:130px 1fr;gap:18px;align-items:center;margin-top:10px}.v137-donut{width:126px;height:126px;border-radius:50%;position:relative;display:grid;place-items:center}.v137-donut:after{content:"";position:absolute;inset:19px;background:#fff;border-radius:50%;box-shadow:0 0 0 1px #e5edf2}.v137-donut>div{position:relative;z-index:1;text-align:center}.v137-donut strong{display:block;font-size:26px;color:#093f68;line-height:1}.v137-donut span{font-size:13px;color:#6f8595;font-weight:800}.v137-donut-legend{display:grid;gap:8px}.v137-donut-legend>div{display:grid;grid-template-columns:10px 1fr auto;gap:7px;align-items:center;font-size:13.5px;color:#36566d}.v137-donut-legend i{width:9px;height:9px;border-radius:50%}.v137-donut-legend .c1 i{background:#35a85b}.v137-donut-legend .c2 i{background:#2f83c5}.v137-donut-legend .c3 i{background:#e6a31a}.v137-donut-legend .c4 i{background:#d94a4a}.v137-donut-legend strong{font-size:14px;color:#123f65}.v137-donut-legend small{font-size:13px;color:#748999}
.v137-lollipop-list{display:grid;gap:8px;margin-top:11px}.v137-lollipop-list>div{position:relative;display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;padding:5px 0 5px 18px;border-bottom:1px dotted #d4e0e8}.v137-lollipop-list>div:before{content:"";position:absolute;left:2px;top:50%;width:9px;height:9px;border-radius:50%;background:#e0822b;transform:translateY(-50%);box-shadow:0 0 0 4px #fff,0 0 0 5px #f0c89f}.v137-lollipop-list>div:after{content:"";position:absolute;left:11px;right:42px;top:50%;height:1px;background:#e5edf2;z-index:0}.v137-lollipop-list span,.v137-lollipop-list strong{position:relative;z-index:1;background:#fff}.v137-lollipop-list span{padding-right:7px;font-size:13.5px;color:#35556d}.v137-lollipop-list strong{padding-left:7px;color:#0b4c78;font-size:13px}
.v137-role-rings{display:flex;gap:24px;justify-content:center;align-items:flex-start}.v137-role-rings>div{text-align:center}.v137-role-rings span{display:block;margin-top:5px;font-size:13.5px;font-weight:800;color:#49677c}.v137-mini-ring{width:78px;height:78px;--ring:#3184b9}.v137-mini-ring:after{inset:9px}.v137-mini-ring strong{font-size:22px;color:#0c466f}.v137-role-rings>div:nth-child(2) .v137-mini-ring{--ring:#75aa3d}
.v137-radar-wrap{max-width:390px;margin:4px auto 0}.v137-radar{display:block;width:100%;height:278px;overflow:visible}.v137-radar-grid{fill:#eef5fa;fill-opacity:.35;stroke:#b9cede;stroke-width:1}.v137-radar-axis{stroke:#b8cad7;stroke-width:1}.v137-radar-area{fill:#1f7dbb;fill-opacity:.24;stroke:#176da4;stroke-width:2.5}.v137-radar-point{fill:#176da4;stroke:#fff;stroke-width:1.5}.v137-radar-label{fill:#173f60;font-size:13.5px;font-weight:900}
@media(max-width:900px){.v137-donut-layout{grid-template-columns:1fr}.v137-donut{margin:auto}.v137-role-rings{justify-content:flex-start}.v137-orientation-ring{width:100px;height:100px;flex-basis:100px}.v137-orientation-ring strong{font-size:28px}}

/* V138 – soulad je součástí detailu, nikoli samostatná modální funkce */
.v138-compliance-block{padding:22px 24px}
.v138-compliance-block>h2{margin:4px 0 14px}
.v138-compliance-layout{display:grid;grid-template-columns:150px minmax(0,1fr);gap:22px;align-items:center}
.v138-compliance-layout .v137-compliance-ring{margin:0 auto}
.v138-compliance-copy>p{margin:0 0 11px;color:#405d73;font-size:14px;line-height:1.5}
.v138-review-count{display:flex;align-items:center;gap:11px;margin:8px 0 12px;padding:10px 13px;border-radius:10px;background:#fff7e3;border:1px solid #f0d59b;color:#6f5200}
.v138-review-count strong{font-size:28px;line-height:1;color:#a06d00}
.v138-review-count span{font-size:14px;font-weight:900;line-height:1.25}
.v138-review-count.is-clear{background:#edf8f0;border-color:#c7e5cf;color:#17682e}
.v138-review-count.is-clear strong{color:#17682e}
.v138-compliance-report-link{display:inline-flex;align-items:center;justify-content:center;margin-top:3px;padding:10px 14px;border-radius:9px;background:#075ea8;color:#fff!important;text-decoration:none;font-size:14px;font-weight:900;line-height:1.2;box-shadow:0 5px 14px rgba(0,70,130,.14)}
.v138-compliance-report-link:hover,.v138-compliance-report-link:focus-visible{background:#004d8c}
@media(max-width:760px){.v138-compliance-layout{grid-template-columns:1fr}.v138-compliance-copy{text-align:left}.v138-compliance-report-link{width:100%}}

/* === V139: SOULAD – PLNÁ ŠÍŘKA, BEZ NEFUNKČNÍHO CTA === */
.v139-compliance-block{margin-top:12px;padding:18px 22px}.v139-compliance-head{text-align:center;margin-bottom:12px}.v139-compliance-head h2{margin:4px 0 0}.v139-compliance-content{display:grid;grid-template-columns:150px minmax(0,1fr) 185px;gap:26px;align-items:center}.v139-compliance-content .v137-compliance-ring{margin:0 auto}.v139-compliance-explain p{margin:0 0 8px;color:#405d73;font-size:14px;line-height:1.55}.v139-compliance-explain p:last-child{margin-bottom:0}.v139-review-count{min-height:105px;border:1px solid #d9c3b4;background:#fff7f1;border-radius:14px;display:flex;align-items:center;justify-content:center;gap:11px;padding:15px;text-align:left}.v139-review-count strong{font-size:38px;line-height:1;color:#a34b12}.v139-review-count span{font-size:14px;line-height:1.3;font-weight:900;color:#6c3d20}.v139-review-count.is-clear{border-color:#b9ddc9;background:#eef9f2}.v139-review-count.is-clear strong{color:#078144}.v139-review-count.is-clear span{color:#176b43}@media(max-width:760px){.v139-compliance-content{grid-template-columns:1fr;gap:14px}.v139-review-count{min-height:auto;text-align:center}.v139-compliance-explain{text-align:left}}


/* === V140: ROZPAD SOULADU NA JEDNOTLIVÉ PRÁVNÍ A METODICKÉ RÁMCE === */
.v140-framework-heading{margin-top:24px;padding-top:20px;border-top:1px solid #d9e5ee}
.v140-framework-heading h3{margin:0 0 6px;color:#063b68;font-size:18px;line-height:1.2;text-align:center}
.v140-framework-heading p{max-width:850px;margin:0 auto;color:#4d697e;font-size:14px;line-height:1.55;text-align:center}
.v140-framework-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}
.v140-framework-card{border:1px solid #d9e5ee;border-left:5px solid #8b9eac;border-radius:12px;background:#fff;padding:15px 16px;box-shadow:0 2px 8px rgba(18,62,98,.04)}
.v140-framework-card.pass{border-left-color:#35a45a}.v140-framework-card.partial{border-left-color:#d7a31f}.v140-framework-card.fail{border-left-color:#c84949}.v140-framework-card.unknown{border-left-color:#8799a8}
.v140-framework-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.v140-framework-top>div{min-width:0}.v140-framework-top span{display:block;margin-bottom:4px;color:#168d36;font-size:13px;font-weight:900;letter-spacing:.08em}
.v140-framework-top h3{margin:0;color:#0b3e67;font-size:14px;line-height:1.28}
.v140-framework-status{flex:0 0 auto;border-radius:999px;padding:5px 8px;font-size:13px;line-height:1.1;white-space:nowrap}
.v140-framework-status.pass{background:#eaf8ef;color:#167037}.v140-framework-status.partial{background:#fff6dc;color:#8a6500}.v140-framework-status.fail{background:#fff0f0;color:#a52828}.v140-framework-status.unknown{background:#eef2f5;color:#536574}
.v140-framework-card>p{margin:11px 0 0;color:#334f64;font-size:14px;line-height:1.5}
.v140-framework-scoreline{display:flex;align-items:center;gap:12px;margin-top:12px}
.v140-framework-scoreline>strong{margin-left:auto;color:#073c69;font-size:20px;line-height:1}.v140-framework-scoreline small{font-size:13.5px;color:#607b90}
.v140-framework-dots{display:flex;gap:5px;flex:1}.v140-framework-dots i{display:block;width:11px;height:11px;border-radius:50%;background:#dbe5ec}.v140-framework-dots i.on{background:#1374b9}
.v140-framework-note{font-size:13.5px!important;color:#688093!important}
.v140-framework-legal{margin:14px 0 0!important;padding:11px 13px;border-radius:9px;background:#f4f8fb;color:#4c667a!important;font-size:13.5px!important;line-height:1.5!important}
@media (max-width:760px){.v140-framework-grid{grid-template-columns:1fr}.v140-framework-top{display:block}.v140-framework-status{display:inline-block;margin-top:8px}.v140-framework-dots i{width:9px;height:9px}}

/* === V141: vysvětlení pavučinového grafu === */
.v134-dimensions-wrap{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch}
.v134-dimensions-wrap>.report-card{height:100%;box-sizing:border-box}
.v141-dimensions-explainer{padding:16px 18px 14px}
.v141-dimensions-explainer h2{margin:3px 0 7px;text-align:center}
.v141-explainer-lead{margin:0 0 10px;color:#39566d;font-size:13.5px;line-height:1.48}
.v141-explain-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.v141-explain-item{border:1px solid #d8e6f0;border-radius:10px;padding:9px 10px;background:#f8fbfd}
.v141-explain-item strong{display:flex;justify-content:space-between;gap:8px;color:#003b70;font-size:14px;line-height:1.25}
.v141-explain-item strong span{white-space:nowrap;color:#0a6aa8}
.v141-explain-item p{margin:5px 0 0;color:#39566d;font-size:13px;line-height:1.43}
.v141-explainer-note{margin:9px 0 0;padding:9px 10px;border-radius:10px;background:#eef7ec;color:#315a38;font-size:13px;line-height:1.43}
@media(max-width:800px){.v134-dimensions-wrap{grid-template-columns:1fr}.v141-explain-list{grid-template-columns:1fr}}

/* === V143: nové srovnávací ukazatele + vysvětlující tooltipy v záhlaví === */
.results-table th:nth-child(1),
.results-table td:nth-child(1){width:28% !important;}
.results-table th:nth-child(2),
.results-table td:nth-child(2){width:10% !important;}
.results-table th:nth-child(3),
.results-table td:nth-child(3){width:11% !important;}
.results-table th:nth-child(4),
.results-table td:nth-child(4){width:13% !important;}
.results-table th:nth-child(5),
.results-table td:nth-child(5){width:13% !important;}
.results-table th:nth-child(6),
.results-table td:nth-child(6){width:13% !important;}
.results-table th:nth-child(7),
.results-table td:nth-child(7){width:12% !important;}
.results-table th:last-child,
.results-table td:last-child{width:12% !important;}

.column-tip{
    --tip-color:#0b568c;
    position:relative;
    display:inline-flex;
    width:16px;
    height:16px;
    margin-left:4px;
    align-items:center;
    justify-content:center;
    vertical-align:middle;
    border:1px solid color-mix(in srgb, var(--tip-color) 75%, white);
    border-radius:50%;
    background:color-mix(in srgb, var(--tip-color) 12%, white);
    color:var(--tip-color);
    font-size:13.5px;
    font-weight:950;
    line-height:1;
    text-transform:none;
    letter-spacing:0;
    cursor:help;
    outline:none;
    z-index:20;
}
.column-tip--blue{--tip-color:#07589a;}
.column-tip--cyan{--tip-color:#007c91;}
.column-tip--gold{--tip-color:#a66b00;}
.column-tip--green{--tip-color:#348b28;}
.column-tip--violet{--tip-color:#6652a3;}
.column-tip--orange{--tip-color:#c85f08;}
.column-tip--teal{--tip-color:#08796f;}
.column-tip-box{
    position:absolute;
    top:calc(100% + 9px);
    left:50%;
    width:260px;
    padding:11px 13px 12px;
    border-radius:10px;
    background:var(--tip-color);
    color:#fff;
    box-shadow:0 10px 30px rgba(0,31,60,.24);
    font-size:14px;
    font-weight:500;
    line-height:1.42;
    text-align:left;
    text-transform:none;
    letter-spacing:0;
    white-space:normal;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:translate(-50%,5px);
    transition:opacity .13s ease, transform .13s ease, visibility .13s ease;
    z-index:2000;
}
.column-tip-box::before{
    content:"";
    position:absolute;
    top:-6px;
    left:50%;
    width:12px;
    height:12px;
    background:var(--tip-color);
    transform:translateX(-50%) rotate(45deg);
}
.column-tip-box strong{
    display:block;
    margin-bottom:5px;
    color:#fff;
    font-size:14px;
    font-weight:950;
}
.column-tip:hover .column-tip-box,
.column-tip:focus .column-tip-box,
.column-tip:focus-within .column-tip-box{
    opacity:1;
    visibility:visible;
    transform:translate(-50%,0);
}
.results-table th:first-child .column-tip-box{
    left:0;
    transform:translate(0,5px);
}
.results-table th:first-child .column-tip:hover .column-tip-box,
.results-table th:first-child .column-tip:focus .column-tip-box{
    transform:translate(0,0);
}
.results-table th:first-child .column-tip-box::before{left:8px;transform:rotate(45deg);}
.results-table th:nth-last-child(-n+2) .column-tip-box{
    left:auto;
    right:-8px;
    transform:translate(0,5px);
}
.results-table th:nth-last-child(-n+2) .column-tip:hover .column-tip-box,
.results-table th:nth-last-child(-n+2) .column-tip:focus .column-tip-box{
    transform:translate(0,0);
}
.results-table th:nth-last-child(-n+2) .column-tip-box::before{left:auto;right:10px;transform:rotate(45deg);}

.metric-cell{font-variant-numeric:tabular-nums;}
.table-metric-main{
    display:inline-block;
    min-width:46px;
    color:#073b69;
    font-weight:950;
    font-size:13px;
}
.table-metric-main small{font-size:13px;color:#61788c;font-weight:800;}
.online-dot-scale{
    display:inline-flex;
    gap:2px;
    margin-left:5px;
    vertical-align:middle;
}
.online-dot-scale i{
    display:block;
    width:6px;
    height:6px;
    border-radius:50%;
    background:#d9e3ea;
    box-shadow:inset 0 0 0 1px #c4d3dd;
}
.online-dot-scale i.is-on{background:#3d9c36;box-shadow:none;}
.table-percent-badge,
.table-orientation-score{
    display:inline-flex;
    align-items:center;
    gap:4px;
    min-height:24px;
    padding:3px 8px;
    border:1px solid #d2dfe8;
    border-radius:999px;
    background:#f6f9fb;
    color:#173a5d;
    font-size:14px;
    font-variant-numeric:tabular-nums;
}
.table-percent-badge strong,
.table-orientation-score strong{font-weight:950;}
.table-orientation-score small{font-size:13px;color:#5d7488;font-weight:800;}
.table-percent-badge.index-band-a,.table-orientation-score.index-band-a{background:#edf8ef;border-color:#b8dfbf;color:#23772b;}
.table-percent-badge.index-band-b,.table-orientation-score.index-band-b{background:#f3f8e9;border-color:#cedfa8;color:#537c1b;}
.table-percent-badge.index-band-c,.table-orientation-score.index-band-c{background:#fff8df;border-color:#f0d583;color:#956600;}
.table-percent-badge.index-band-d,.table-orientation-score.index-band-d{background:#fff0e5;border-color:#f2c198;color:#ac5400;}
.table-percent-badge.index-band-e,.table-orientation-score.index-band-e{background:#fff0f0;border-color:#f0b3b3;color:#b51d25;}

@media(max-width:1100px){
    .column-tip-box{width:230px;}
    .online-dot-scale{display:none;}
}

/* === V144: více prostoru pro sloupec Porovnání === */
.results-table th:nth-child(1),
.results-table td:nth-child(1){width:24% !important;}
.results-table th:nth-child(7),
.results-table td:nth-child(7),
.results-table th:last-child,
.results-table td:last-child{width:16% !important;}


/* === V147: FACEBOOK V HORNÍ NAVIGACI === */
.site-header .main-nav-social{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 28px;
    width:28px;
    height:28px;
    padding:0;
    color:#1877f2;
    text-decoration:none;
    border-radius:50%;
    line-height:1;
}
.site-header .main-nav-social svg{display:block;width:24px;height:24px}
.site-header .main-nav-social:hover,
.site-header .main-nav-social:focus-visible{color:#0d65d9;text-decoration:none;transform:translateY(-1px)}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:1180px){.site-header .main-nav-social{flex-basis:24px;width:24px;height:24px}.site-header .main-nav-social svg{width:22px;height:22px}}

/* V151 – dvě varianty reportu v detailu a objednávce */
.report-price-group{display:flex;gap:8px;align-items:stretch;flex-wrap:wrap;justify-content:flex-end}
.report-price-group .report-price-badge{min-width:150px}
.report-price-badge--recommended{border-color:rgba(13,148,136,.45);background:linear-gradient(180deg,#f0fdfa 0%,#fff 100%)}
.detail-report-notice span{display:block;margin-top:3px;font-size:14px;line-height:1.3;color:#475569}
.order-variant-fieldset{margin:0 0 18px}
.order-variant-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.order-variant-card{display:flex;gap:10px;align-items:flex-start;border:1px solid #cbd5e1;border-radius:14px;padding:14px;background:#fff;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}
.order-variant-card:hover{border-color:#94a3b8;box-shadow:0 4px 14px rgba(15,23,42,.07)}
.order-variant-card:has(input:checked){border-color:#2563eb;background:#eff6ff;box-shadow:0 0 0 2px rgba(37,99,235,.10)}
.order-variant-card--recommended:has(input:checked){border-color:#0f766e;background:#f0fdfa;box-shadow:0 0 0 2px rgba(15,118,110,.10)}
.order-variant-card input{margin-top:4px;flex:0 0 auto}
.order-variant-copy{display:flex;flex-direction:column;gap:5px;min-width:0}
.order-variant-copy strong{display:flex;justify-content:space-between;gap:10px;font-size:14px;line-height:1.3;color:#0f172a}
.order-variant-copy strong b{white-space:nowrap;font-size:15px}
.order-variant-copy small{font-size:14px;line-height:1.45;color:#475569}
@media (max-width:900px){.order-variant-grid{grid-template-columns:1fr}.report-price-group{justify-content:flex-start}.detail-modal-actions{flex-wrap:wrap}}
.report-sales-price--dual{display:grid;gap:10px;min-width:240px}
.report-sales-price--dual>div{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border:1px solid rgba(148,163,184,.35);border-radius:12px;background:rgba(255,255,255,.72)}
.report-sales-price--dual>div+div{border-color:rgba(13,148,136,.35);background:#f0fdfa}


/* V152 – čitelné dvě varianty reportu + pravdivé porovnání obsahu */
.report-price-badge--recommended,
.report-price-badge--recommended span,
.report-price-badge--recommended strong,
.report-price-badge--recommended small{color:#0b2e59!important}
.report-price-badge--recommended span{color:#0f766e!important}
.report-price-badge--recommended small{color:#475569!important}
.report-price-badge--recommended{box-shadow:inset 0 0 0 1px rgba(13,148,136,.08)}
.report-variant-comparison{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0}
.report-variant-box{border:1px solid #cbd5e1;border-radius:16px;background:#fff;padding:18px;box-shadow:0 5px 18px rgba(15,23,42,.05)}
.report-variant-box--recommended{border-color:#5eead4;background:linear-gradient(180deg,#f0fdfa 0%,#fff 100%)}
.report-variant-title{display:flex;justify-content:space-between;gap:16px;align-items:baseline;padding-bottom:10px;border-bottom:1px solid #e2e8f0;margin-bottom:10px}
.report-variant-title span{font-weight:900;font-size:17px;color:#0b2e59}
.report-variant-title strong{font-size:20px;color:#0f766e;white-space:nowrap}
.report-variant-box p{font-size:13px;line-height:1.55;color:#334155}
.report-variant-box ul{margin:12px 0 0;padding-left:20px}
.report-variant-box li{margin:7px 0;font-size:14px;line-height:1.45;color:#334155}
@media(max-width:800px){.report-variant-comparison{grid-template-columns:1fr}}

/* V153 – oprava přetékání obsahu okna „Co najdete v reportu“ */
.report-info-window,
.report-info-body,
.report-sales-hero,
.report-sales-hero > div,
.report-variant-comparison,
.report-variant-box { min-width:0; }
.report-info-body { overflow-x:hidden; }
.report-sales-hero {
    grid-template-columns:minmax(0,1fr) minmax(220px,280px);
    width:100%;
    box-sizing:border-box;
}
.report-sales-price--dual {
    min-width:0;
    width:100%;
    max-width:280px;
    justify-self:end;
    box-sizing:border-box;
}
.report-sales-price--dual > div { min-width:0; box-sizing:border-box; }
.report-sales-price--dual strong { white-space:nowrap; }
@media (max-width:760px) {
    .report-sales-hero { grid-template-columns:1fr; }
    .report-sales-price--dual { max-width:none; justify-self:stretch; }
}

/* V154 – čitelnost cenových boxů v okně „Co najdete v reportu“ */
.report-sales-price--dual > div,
.report-sales-price--dual > div span,
.report-sales-price--dual > div strong,
.report-sales-price--dual > div small {
    color:#0b2e59 !important;
}
.report-sales-price--dual > div span {
    color:#475569 !important;
    font-weight:700;
}
.report-sales-price--dual > div strong {
    color:#0b2e59 !important;
}
.report-sales-price--dual > div small {
    color:#64748b !important;
}
.report-sales-price--dual > div+div span,
.report-sales-price--dual > div+div strong {
    color:#0f766e !important;
}


/* === V157: dlouhé názvy obcí nesmí rozbít záhlaví detailu === */
.detail-modal-head > .detail-modal-identity {
    flex: 0 1 240px;
    width: 240px;
    min-width: 0;
    max-width: 240px;
    overflow: hidden;
}
.detail-modal-head > .detail-modal-identity h2 {
    margin: 0 0 3px;
    font-size: 25px;
    line-height: 1.04;
    letter-spacing: -.25px;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: manual;
}
.detail-modal-head > .detail-modal-identity h2.is-long-title {
    font-size: 20px;
    line-height: 1.06;
}
.detail-modal-head > .detail-modal-identity h2.is-very-long-title {
    font-size: 17px;
    line-height: 1.05;
}
.detail-modal-head > .detail-modal-identity p {
    font-size: 12.3px;
    line-height: 1.15;
    white-space: nowrap;
}
@media (max-width: 1180px) {
    .detail-modal-head > .detail-modal-identity {
        flex-basis: 210px;
        width: 210px;
        max-width: 210px;
        min-width: 0;
    }
    .detail-modal-head > .detail-modal-identity h2 { font-size: 22px; }
    .detail-modal-head > .detail-modal-identity h2.is-long-title { font-size: 18px; }
    .detail-modal-head > .detail-modal-identity h2.is-very-long-title { font-size: 16px; }
}
@media (max-width: 900px) {
    .detail-modal-head > .detail-modal-identity {
        flex: 1 1 auto;
        width: auto;
        max-width: none;
    }
}

/* === V158: vertikální vycentrování prodejního sdělení v záhlaví detailu === */
.detail-modal-head > .detail-report-notice {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

/* === V159: skutečné vertikální vystředění hlavního sdělení v záhlaví detailu === */
.detail-modal-head > .detail-report-notice {
    align-self: center;
    height: 100%;
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.detail-modal-head > .detail-report-notice > strong {
    display: block;
    margin: 0;
}
/* Doplňková věta se v nízkém záhlaví zbytečně tísnila a bránila skutečnému vystředění. */
.detail-modal-head > .detail-report-notice > span {
    display: none;
}


/* === V160: kompaktnější cenové karty + přímý detail nad hlavním přehledem === */
.report-sales-price--dual {
    padding: 7px;
    gap: 6px;
    align-self: center;
}
.report-sales-price--dual > div {
    padding: 7px 10px;
    gap: 0;
    min-height: 0;
}
.report-sales-price--dual > div span {
    line-height: 1.15;
}
.report-sales-price--dual > div strong {
    margin: 2px 0 1px;
    line-height: 1.05;
    font-size: 23px;
}
.report-sales-price--dual > div small {
    line-height: 1.15;
}

/* V163 – jeden placený produkt a prodejní funnel */
.detail-report-notice--sales strong { font-size: 1.02rem; }
.detail-report-notice--sales span { max-width: 620px; }
.report-price-group--single { min-width: 250px; }
.report-price-group--single .report-price-badge { width: 100%; }

.report-info-window--funnel { max-width: 1180px; }
.report-info-body--funnel { padding-bottom: 26px; }
.report-sales-hero--single { align-items: stretch; }
.report-sales-hero--single h3 em { font-style: normal; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.report-sales-price--single { min-width: 260px; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; border-radius:18px; padding:22px; background:#eef6ff; border:1px solid #bfd7f2; }
.report-sales-price--single span { font-size:13px; font-weight:800; text-transform:uppercase; letter-spacing:.04em; color:#365a7c; }
.report-sales-price--single strong { display:block; font-size:34px; line-height:1; margin:10px 0 8px; color:#0b2e59; }
.report-sales-price--single small { color:#53677a; }

.sales-gap-panel { margin:22px 0; border:1px solid #d5e2ef; border-radius:18px; background:#fff; overflow:hidden; }
.sales-gap-head { padding:22px 24px 12px; }
.sales-gap-head > span, .report-unlock-section .report-added-head > span { color:#2f6fb0; font-size:14px; font-weight:900; letter-spacing:.08em; }
.sales-gap-head h3, .report-unlock-section .report-added-head h3 { margin:6px 0; color:#0b2e59; }
.sales-gap-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px; background:#d9e5ef; border-top:1px solid #d9e5ef; }
.sales-gap-grid article { background:#f9fbfd; padding:18px 20px; min-height:145px; }
.sales-gap-grid strong { display:block; font-size:30px; line-height:1.05; color:#0b2e59; margin-bottom:8px; }
.sales-gap-grid span { display:block; font-weight:800; color:#263e55; }
.sales-gap-grid small { display:block; margin-top:8px; color:#65788a; line-height:1.4; }

.report-unlock-section { margin-top:26px; }
.report-unlock-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-top:16px; }
.report-unlock-grid article { border:1px solid #d8e3ee; border-radius:14px; padding:17px; background:#fff; }
.report-unlock-grid article b { display:inline-block; border-radius:999px; background:#e9f3ff; color:#1f5d95; padding:4px 8px; font-size:14px; letter-spacing:.06em; }
.report-unlock-grid h4 { margin:10px 0 6px; color:#0b2e59; font-size:17px; }
.report-unlock-grid p { margin:0; color:#5b6e80; line-height:1.45; }

.report-sample-card { display:flex; gap:18px; margin:26px 0; padding:22px; border-radius:18px; background:#fff8e8; border:1px solid #edd7a0; }
.report-sample-lock { width:52px; height:52px; flex:0 0 52px; display:grid; place-items:center; border-radius:50%; background:#0b2e59; color:#fff; font-size:24px; font-weight:900; }
.report-sample-card span { font-size:14px; font-weight:900; letter-spacing:.08em; color:#8a6518; }
.report-sample-card h3 { color:#0b2e59; margin:5px 0 8px; }
.report-sample-card p { margin:5px 0; color:#536271; }

.report-value-strip { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1px; background:#dbe6ef; border:1px solid #dbe6ef; border-radius:16px; overflow:hidden; margin:22px 0; }
.report-value-strip div { background:#f8fbfd; padding:16px; text-align:center; }
.report-value-strip strong { display:block; font-size:23px; color:#0b2e59; }
.report-value-strip span { display:block; margin-top:4px; font-size:14px; color:#637587; }
.report-info-footer--single { align-items:center; }
.report-info-footer--single .order-from-info { max-width:390px; }

.order-process-info--single { border-left:4px solid #2f6fb0; }
.order-product-summary { margin:16px 0 20px; border:1px solid #cfe0ef; background:#f5faff; border-radius:14px; padding:16px 18px; }
.order-product-summary strong { display:block; color:#0b2e59; font-size:18px; }
.order-product-summary span { display:block; margin-top:6px; color:#596f82; line-height:1.45; }

.sales-funnel-card { margin-top:18px; border:2px solid #bcd3e8 !important; background:linear-gradient(180deg,#f9fcff 0%,#f1f7fc 100%) !important; overflow:hidden; }
.sales-funnel-head h2 { margin:4px 0 7px; color:#0b2e59; }
.sales-funnel-head p { margin:0 0 16px; font-size:15px; color:#506476; }
.sales-funnel-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.sales-funnel-metrics article { background:#fff; border:1px solid #d7e3ed; border-radius:13px; padding:14px; min-height:118px; }
.sales-funnel-metrics strong { display:block; color:#0b2e59; font-size:27px; line-height:1.05; }
.sales-funnel-metrics span { display:block; margin-top:5px; font-weight:800; color:#2f455a; }
.sales-funnel-metrics small { display:block; margin-top:7px; line-height:1.35; color:#6d7e8e; }
.sales-funnel-potential { background:#effaf2 !important; border-color:#b9dfc3 !important; }
.sales-funnel-potential strong { color:#267740; }
.sales-benchmark-line { padding:12px 14px; border-radius:12px; background:#fff8e9; border:1px solid #ead6a7; color:#634d1b; }
.sales-funnel-lock { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-top:14px; }
.sales-funnel-lock div { display:flex; gap:8px; align-items:center; border-radius:10px; background:#eaf1f7; padding:10px 12px; color:#30485f; }
.sales-funnel-lock span { font-size:15px; }
.sales-funnel-cta-row { margin-top:16px; padding:15px 16px; border-radius:14px; background:#0b2e59; color:#fff; display:flex; align-items:center; justify-content:space-between; gap:18px; }
.sales-funnel-cta-row strong { display:block; font-size:18px; }
.sales-funnel-cta-row span { display:block; margin-top:4px; opacity:.82; font-size:13px; }
.sales-funnel-cta { display:inline-flex; justify-content:center; align-items:center; text-align:center; border-radius:10px; background:#fff; color:#0b2e59; padding:12px 16px; font-weight:900; text-decoration:none; min-width:270px; }
.sales-funnel-cta:hover { background:#eaf3fb; }

.sales-sample-public { margin-top:14px; position:relative; }
.sales-sample-badge { display:inline-block; font-weight:900; font-size:14px; letter-spacing:.08em; color:#1e5f97; background:#e8f3fd; border-radius:999px; padding:5px 9px; }
.sales-sample-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-top:10px; }
.sales-sample-head span { display:block; color:#6c7e8e; font-size:14px; }
.sales-sample-head h2 { margin:2px 0 0; color:#0b2e59; }
.sales-sample-head > strong { border-radius:999px; padding:6px 10px; background:#fff2e9; color:#b44e1e; font-size:14px; }
.sales-sample-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-top:14px; }
.sales-sample-grid > div { border:1px solid #dce6ee; border-radius:11px; padding:12px; background:#fafcfe; }
.sales-sample-grid span { font-size:14px; font-weight:900; letter-spacing:.05em; color:#60778d; text-transform:uppercase; }
.sales-sample-grid p { margin:5px 0 0; line-height:1.45; color:#3f5365; overflow-wrap:anywhere; }
.sales-sample-note { margin:12px 0 0; color:#687b8c; font-size:14px; }

@media (max-width: 900px) {
  .sales-gap-grid, .report-unlock-grid, .sales-funnel-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .report-value-strip { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .sales-funnel-cta-row { flex-direction:column; align-items:stretch; }
  .sales-funnel-cta { min-width:0; width:100%; }
}
@media (max-width: 620px) {
  .report-sales-hero--single { display:block; }
  .report-sales-price--single { margin-top:14px; min-width:0; }
  .sales-gap-grid, .report-unlock-grid, .sales-funnel-metrics, .sales-funnel-lock, .sales-sample-grid { grid-template-columns:1fr; }
  .report-value-strip { grid-template-columns:1fr 1fr; }
  .report-sample-card { display:block; }
  .report-sample-lock { margin-bottom:12px; }
}
.potential-model-line { margin:12px 0; padding:12px; border-radius:12px; background:#eff9f2; border:1px solid #c5e5cd; }
.potential-model-line span { display:block; color:#4f6c58; font-size:14px; }
.potential-model-line strong { display:block; margin-top:4px; font-size:24px; color:#24743d; }
.homepage-sales-strip { margin-top:22px; margin-bottom:22px; display:grid; grid-template-columns:minmax(0,1.6fr) minmax(320px,.9fr) auto; gap:22px; align-items:center; padding:22px 24px; border:1px solid #cbddec; border-radius:18px; background:linear-gradient(135deg,#f5faff 0%,#eef6fc 100%); }
.homepage-sales-copy > span { font-size:14px; font-weight:900; letter-spacing:.09em; color:#2f6fb0; }
.homepage-sales-copy h2 { margin:5px 0 7px; color:#0b2e59; font-size:23px; }
.homepage-sales-copy p { margin:0; color:#52687a; line-height:1.5; }
.homepage-sales-steps { display:grid; gap:8px; }
.homepage-sales-steps div { display:flex; gap:9px; align-items:center; color:#39536a; font-weight:750; }
.homepage-sales-steps b { width:28px; height:28px; flex:0 0 28px; border-radius:50%; display:grid; place-items:center; background:#0b2e59; color:#fff; }
.homepage-sales-cta { display:inline-flex; align-items:center; justify-content:center; padding:12px 16px; border-radius:10px; background:#0b2e59; color:#fff; text-decoration:none; font-weight:900; white-space:nowrap; }
.homepage-sales-cta:hover { background:#164b7d; }
@media (max-width:1000px) { .homepage-sales-strip { grid-template-columns:1fr; } .homepage-sales-cta { width:max-content; } }
@media (max-width:620px) { .homepage-sales-strip { padding:18px; } .homepage-sales-copy h2 { font-size:20px; } .homepage-sales-cta { width:100%; } }


/* === V164: kompaktní objednávka bez svislého posouvání === */
#orderModal .order-window {
    top:1.5vh;
    max-height:97vh;
    height:auto;
}
#orderModal .order-modal-head {
    min-height:64px;
    padding:9px 14px;
    gap:12px;
}
#orderModal .order-modal-head h2 { font-size:19px; margin-bottom:1px; }
#orderModal .order-modal-head p { font-size:13.5px; }
#orderModal .order-head-price { padding:6px 10px; min-width:170px; }
#orderModal .order-head-price span { font-size:13px; }
#orderModal .order-head-price strong { font-size:20px; line-height:1; }
#orderModal .order-head-price small { font-size:13px; }
#orderModal .submodal-body {
    overflow:hidden;
    padding:9px 12px 10px;
}
#orderModal .order-process-info {
    margin-bottom:7px;
    padding:7px 9px;
}
#orderModal .order-process-info strong { font-size:14px; }
#orderModal .order-process-info p { margin-top:2px; font-size:13px; line-height:1.25; }
#orderModal .order-form { gap:7px; }
#orderModal .order-product-summary { padding:7px 9px; }
#orderModal .order-product-summary strong { font-size:14px; }
#orderModal .order-product-summary span { margin-top:2px; font-size:13px; line-height:1.22; }
#orderModal .order-form fieldset { padding:7px 9px 8px; }
#orderModal .order-form legend { font-size:14px; }
#orderModal .form-grid { gap:6px 9px; }
#orderModal .form-grid label > span { margin-bottom:2px; font-size:13px; }
#orderModal .form-grid input,
#orderModal .form-grid textarea { padding:6px 8px; font-size:14px; }
#orderModal .form-grid textarea { min-height:40px; max-height:48px; resize:none; }
#orderModal .order-confirm { font-size:13px; line-height:1.2; gap:5px; }
#orderModal .order-submit { padding:8px 13px; font-size:14px; min-width:220px; }
#orderModal .order-message { margin:0; }

/* Po úspěšném odeslání se formulář schová a potvrzení je vždy ihned viditelné. */
#orderModal.order-sent .order-process-info,
#orderModal.order-sent .order-form { display:none; }
#orderModal.order-sent .submodal-body {
    min-height:220px;
    display:grid;
    place-items:center;
    padding:24px;
}
#orderModal.order-sent .order-message.success {
    width:min(560px, 100%);
    margin:0;
    padding:22px 24px;
    text-align:center;
    font-size:15px;
    line-height:1.45;
    box-shadow:0 10px 30px rgba(32,91,22,.10);
}

/* Nižší notebookové obrazovky – formulář se ještě více zhutní, stále bez scrollu. */
@media (min-width: 700px) and (max-height: 820px) {
    #orderModal .order-window { top:.5vh; max-height:99vh; }
    #orderModal .order-modal-head { min-height:56px; padding:6px 11px; }
    #orderModal .order-modal-head h2 { font-size:17px; }
    #orderModal .order-head-price { padding:4px 8px; }
    #orderModal .order-head-price strong { font-size:17px; }
    #orderModal .submodal-body { padding:6px 9px 7px; }
    #orderModal .order-process-info { padding:5px 7px; margin-bottom:5px; }
    #orderModal .order-process-info p { font-size:13px; }
    #orderModal .order-form { gap:5px; }
    #orderModal .order-product-summary { padding:5px 7px; }
    #orderModal .order-product-summary span { font-size:13px; }
    #orderModal .order-form fieldset { padding:5px 7px 6px; }
    #orderModal .form-grid { gap:4px 7px; }
    #orderModal .form-grid input,
    #orderModal .form-grid textarea { padding:4px 6px; font-size:13.5px; }
    #orderModal .form-grid textarea { min-height:31px; max-height:34px; }
    #orderModal .order-confirm { font-size:13px; line-height:1.15; }
    #orderModal .order-submit { padding:6px 11px; }
}

/* Na telefonech ponecháváme bezpečný scroll – bez něj by se formulář na malé výšce nedal použít. */
@media (max-width: 699px) {
    #orderModal .order-window { top:1vh; max-height:98vh; }
    #orderModal .submodal-body { overflow:auto; }
}
\n\n/* === V165: objednávka skutečně celá bez scrollu na desktopu/notebooku === */
@media (min-width:700px) {
    #orderModal .order-window {
        width:min(940px, calc(100vw - 28px));
        top:1vh;
        max-height:98vh;
        height:auto;
    }
    #orderModal .order-modal-head {
        min-height:56px;
        padding:7px 12px;
        gap:10px;
    }
    #orderModal .order-modal-head h2 { font-size:18px; line-height:1.05; margin:0 0 1px; }
    #orderModal .order-modal-head p { font-size:13px; line-height:1.1; }
    #orderModal .order-head-price { min-width:170px; padding:4px 8px; }
    #orderModal .order-head-price span { font-size:13px; }
    #orderModal .order-head-price strong { margin:2px 0 1px; font-size:18px; }
    #orderModal .order-head-price small { font-size:13px; }
    #orderModal .submodal-close { width:34px; height:34px; font-size:24px; }

    #orderModal .submodal-body {
        overflow:hidden !important;
        padding:6px 10px 7px;
    }
    #orderModal .order-process-info {
        margin:0 0 5px;
        padding:5px 8px;
        display:grid;
        grid-template-columns:auto 1fr;
        align-items:center;
        gap:9px;
    }
    #orderModal .order-process-info strong { margin:0; font-size:13.5px; white-space:nowrap; }
    #orderModal .order-process-info p { margin:0; font-size:13px; line-height:1.15; }

    #orderModal .order-form { gap:5px; }
    #orderModal .order-product-summary {
        padding:5px 8px;
        display:grid;
        grid-template-columns:auto 1fr;
        align-items:center;
        gap:10px;
    }
    #orderModal .order-product-summary strong { font-size:13.5px; white-space:nowrap; }
    #orderModal .order-product-summary span { margin:0; font-size:13px; line-height:1.15; }

    #orderModal .order-form fieldset { padding:4px 7px 6px; border-radius:8px; }
    #orderModal .order-form legend { padding:0 5px; font-size:13.5px; line-height:1; }
    #orderModal .form-grid { gap:4px 7px; }
    #orderModal .form-grid label > span { margin-bottom:1px; font-size:13px; line-height:1.05; }
    #orderModal .form-grid input,
    #orderModal .form-grid textarea { padding:5px 7px; min-height:30px; font-size:13.5px; line-height:1.1; }
    #orderModal .form-grid textarea { min-height:30px; height:30px; max-height:30px; }

    #orderModal .order-municipality .form-grid {
        grid-template-columns:minmax(180px,1fr) 115px minmax(260px,1.55fr);
    }
    #orderModal .order-municipality .form-grid label { grid-column:auto !important; }

    #orderModal .order-confirm {
        grid-template-columns:17px 1fr;
        gap:4px;
        font-size:13px;
        line-height:1.12;
    }
    #orderModal .order-confirm input { margin:0; transform:scale(.88); transform-origin:top left; }
    #orderModal .order-submit-row { line-height:1; }
    #orderModal .order-submit { min-width:215px; padding:7px 11px; font-size:13.5px; }
    #orderModal .order-message { padding:7px 9px; font-size:13.5px; line-height:1.2; }

    #orderModal.order-sent .submodal-body {
        min-height:180px;
        display:grid;
        place-items:center;
        padding:18px;
    }
    #orderModal.order-sent .order-message.success {
        width:min(600px,100%);
        padding:18px 22px;
        font-size:15px;
        line-height:1.35;
    }
}

/* Ještě nižší notebooky: zachovat celý formulář bez vnitřního posuvníku. */
@media (min-width:700px) and (max-height:760px) {
    #orderModal .order-window { top:.4vh; max-height:99.2vh; }
    #orderModal .order-modal-head { min-height:48px; padding:4px 9px; }
    #orderModal .order-modal-head h2 { font-size:16px; }
    #orderModal .order-head-price { padding:3px 7px; }
    #orderModal .order-head-price strong { font-size:16px; }
    #orderModal .submodal-body { padding:4px 8px 5px; }
    #orderModal .order-process-info { padding:4px 6px; margin-bottom:4px; }
    #orderModal .order-process-info strong { font-size:13px; }
    #orderModal .order-process-info p { font-size:13px; }
    #orderModal .order-form { gap:4px; }
    #orderModal .order-product-summary { padding:4px 6px; }
    #orderModal .order-product-summary strong { font-size:13px; }
    #orderModal .order-product-summary span { font-size:13px; }
    #orderModal .order-form fieldset { padding:3px 6px 4px; }
    #orderModal .form-grid input,
    #orderModal .form-grid textarea { min-height:26px; height:26px; padding:3px 6px; font-size:13px; }
    #orderModal .order-confirm { font-size:13px; }
    #orderModal .order-submit { padding:5px 9px; font-size:13px; }
}

/* === V166: citelnejsi objednavka + posun pod zahlavi detailu obce === */
@media (min-width:700px) {
    #orderModal .order-window {
        top:120px;
        max-height:calc(100vh - 140px);
    }
    #orderModal .order-modal-head { min-height:64px; padding:9px 14px; }
    #orderModal .order-modal-head h2 { font-size:20px; line-height:1.1; }
    #orderModal .order-modal-head p { font-size:14px; line-height:1.2; }
    #orderModal .order-head-price span { font-size:13.5px; }
    #orderModal .order-head-price strong { font-size:21px; }
    #orderModal .order-head-price small { font-size:13px; }

    #orderModal .submodal-body { padding:8px 12px 10px; }
    #orderModal .order-process-info { padding:7px 9px; margin-bottom:6px; }
    #orderModal .order-process-info strong { font-size:14px; }
    #orderModal .order-process-info p { font-size:13.5px; line-height:1.2; }
    #orderModal .order-form { gap:6px; }
    #orderModal .order-product-summary { padding:7px 9px; }
    #orderModal .order-product-summary strong { font-size:14px; }
    #orderModal .order-product-summary span { font-size:13.5px; line-height:1.2; }
    #orderModal .order-form fieldset { padding:6px 9px 8px; }
    #orderModal .order-form legend { font-size:14px; }
    #orderModal .form-grid { gap:5px 8px; }
    #orderModal .form-grid label > span { font-size:13.5px; line-height:1.1; margin-bottom:2px; }
    #orderModal .form-grid input,
    #orderModal .form-grid textarea { min-height:32px; height:32px; padding:5px 8px; font-size:14px; line-height:1.15; }
    #orderModal .order-confirm { font-size:13px; line-height:1.2; }
    #orderModal .order-submit { padding:8px 13px; font-size:14px; }
    #orderModal .order-message { font-size:14px; }
}

/* Na nizsich notebookovych displejich zustane modal pod zahlavim, ale musi se cely vejit. */
@media (min-width:700px) and (max-height:820px) {
    #orderModal .order-window { top:72px; max-height:calc(100vh - 84px); }
    #orderModal .order-modal-head { min-height:56px; padding:6px 11px; }
    #orderModal .order-modal-head h2 { font-size:18px; }
    #orderModal .order-modal-head p { font-size:13.5px; }
    #orderModal .order-head-price strong { font-size:19px; }
    #orderModal .submodal-body { padding:6px 10px 7px; }
    #orderModal .order-process-info { padding:5px 8px; margin-bottom:5px; }
    #orderModal .order-process-info strong { font-size:14px; }
    #orderModal .order-process-info p { font-size:13px; }
    #orderModal .order-product-summary { padding:5px 8px; }
    #orderModal .order-product-summary strong { font-size:14px; }
    #orderModal .order-product-summary span { font-size:13px; }
    #orderModal .order-form fieldset { padding:4px 7px 6px; }
    #orderModal .order-form legend { font-size:14px; }
    #orderModal .form-grid label > span { font-size:13px; }
    #orderModal .form-grid input,
    #orderModal .form-grid textarea { min-height:29px; height:29px; font-size:13.5px; }
    #orderModal .order-confirm { font-size:13px; }
}


/* === V173: objednávkové CTA až na konci detailu obce === */
.detail-final-order {
  margin-top: 18px;
}
.detail-final-order .sales-funnel-cta-row {
  margin-top: 0;
}

/* === V174: hlas občanů těsně před digitálním vysvědčením === */
.digital-certificate .certificate-help{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;margin-left:5px;border:1px solid #9bb1c8;border-radius:50%;font-size:14px;font-weight:800;cursor:help;color:#174a7c;background:#f4f8fc;vertical-align:middle}
.digital-certificate-table .certificate-result-row th,.digital-certificate-table .certificate-result-row td.current{background:#eef8f0}
.digital-certificate-table td.current small{display:block;margin-top:4px;font-size:13.5px;line-height:1.3;font-weight:400;color:#506579}

/* === V175: detail obce výrazně úspornější na výšku; velikosti písma beze změny === */
.html-report{padding-top:9px;padding-bottom:8px}
.html-report .report-head{min-height:62px;gap:14px}
.html-report .report-logo img{height:58px}
.html-report .report-rule{margin-bottom:6px}
.html-report .report-top{gap:8px}
.html-report .score-block h1{margin-bottom:3px}
.html-report .score-class{margin-top:3px}
.html-report .score-block p{margin-bottom:5px;line-height:1.22}
.html-report .score-scale{margin-top:7px}
.html-report .score-scale-labels{padding-top:2px}
.html-report .detail-locator{padding:5px 7px 4px;margin-top:0}
.html-report .detail-locator-title{margin-bottom:1px}
.html-report .detail-locator-canvas{height:82px}

.html-report .v134-scan-meta{padding:10px 12px 9px}
.html-report .v134-scan-meta h2,
.html-report .v134-data-card h2,
.html-report .v134-role-comparison h2,
.html-report .v134-linkage-card h2{margin-bottom:4px}
.html-report .v134-scan-meta>p{margin-bottom:7px;line-height:1.3}
.html-report .v134-meta-grid{gap:4px}
.html-report .v134-meta-grid>div{padding:5px 6px}
.html-report .v134-meta-grid span{margin-top:2px}

.html-report .v134-score-pairs{gap:7px;margin-top:7px}
.html-report .v134-score-card{padding:8px 10px 8px}
.html-report .v134-big-score{margin-top:4px}
.html-report .v134-score-card p{min-height:0;margin-top:4px;line-height:1.28}
.html-report .v134-score-card em,
.html-report .v134-count-note{margin-top:3px;line-height:1.15}

.html-report .v139-compliance-block{margin-top:7px;padding:10px 13px}
.html-report .v139-compliance-head{margin-bottom:6px}
.html-report .v139-compliance-content{gap:12px}
.html-report .v139-compliance-explain p{margin-bottom:4px;line-height:1.3}
.html-report .v139-review-count{min-height:72px;padding:8px;gap:7px}
.html-report .v140-framework-heading{margin-top:10px;padding-top:9px}
.html-report .v140-framework-heading h3{margin-bottom:3px}
.html-report .v140-framework-heading p{line-height:1.3}
.html-report .v140-framework-grid{gap:7px;margin-top:8px}
.html-report .v140-framework-card{padding:8px 10px}
.html-report .v140-framework-top{gap:8px}
.html-report .v140-framework-top span{margin-bottom:2px}
.html-report .v140-framework-card>p{margin-top:5px;line-height:1.3}
.html-report .v140-framework-scoreline{gap:7px;margin-top:6px}
.html-report .v140-framework-legal{margin-top:7px!important;padding:6px 8px;line-height:1.3!important}

.html-report .v134-orientation-card,
.html-report .v134-linkage-card{gap:4px 12px;margin-top:7px;padding:8px 12px}
.html-report .v134-orientation-card h2,
.html-report .v134-linkage-card h2{margin:1px 0 2px}
.html-report .v134-orientation-card p,
.html-report .v134-linkage-card p{line-height:1.25}
.html-report .v134-meter{height:5px}

.html-report .v134-public-grid{gap:7px;margin-top:7px}
.html-report .v134-data-card{padding:8px 10px}
.html-report .v134-card-intro{margin-bottom:6px;line-height:1.25}
.html-report .v134-awaiting{padding:10px 7px}
.html-report .v134-journey-list{gap:4px}
.html-report .v134-journey-list>div{padding:4px 6px}
.html-report .v134-bars{gap:4px}
.html-report .v134-bar-row{gap:5px}
.html-report .v134-find-list{gap:4px}
.html-report .v134-find-list>div{padding:5px 6px}
.html-report .v134-stage-list{gap:4px}
.html-report .v134-stage-list>div{padding:4px 6px}
.html-report .v134-failure-list{gap:4px}
.html-report .v134-failure-list>div{padding:4px 6px}
.html-report .v134-cap-grid{gap:4px}
.html-report .v134-cap-grid>div{min-height:0;padding:5px 4px}
.html-report .v134-cap-grid span{margin-top:1px}
.html-report .v137-donut-layout{grid-template-columns:108px 1fr;gap:10px;margin-top:5px}
.html-report .v137-donut{width:104px;height:104px}
.html-report .v137-donut:after{inset:16px}
.html-report .v137-donut-legend{gap:4px}

.html-report .v134-role-comparison{gap:10px;margin-top:7px;padding:8px 12px}
.html-report .v134-role-comparison h2{margin:1px 0 3px}
.html-report .v134-role-comparison p{line-height:1.25}
.html-report .v134-role-scores{gap:5px}
.html-report .v134-role-scores>div{padding:6px}
.html-report .v134-role-scores strong{margin-top:1px}

.html-report .v134-dimensions-wrap{gap:7px;margin-top:7px}
.html-report .dimensions-card{padding:8px 10px}
.html-report .dimension-row{margin-top:6px}
.html-report .dimension-bar{margin-top:2px;height:6px}
.html-report .mini-kpis{gap:6px 10px;margin-top:8px;padding-top:7px}
.html-report .v137-radar-wrap{margin-top:0;max-width:330px}
.html-report .v137-radar{height:205px}
.html-report .v141-dimensions-explainer{padding:8px 10px}
.html-report .v141-dimensions-explainer h2{margin:1px 0 3px}
.html-report .v141-explainer-lead{margin-bottom:5px;line-height:1.28}
.html-report .v141-explain-list{gap:4px}
.html-report .v141-explain-item{padding:5px 7px}
.html-report .v141-explain-item p{margin-top:2px;line-height:1.25}
.html-report .v141-explainer-note{margin-top:5px;padding:5px 7px;line-height:1.25}

.html-report .sales-funnel-card{margin-top:8px}
.html-report .sales-funnel-head h2{margin:2px 0 3px}
.html-report .sales-funnel-head p{margin-bottom:7px;line-height:1.25}
.html-report .sales-funnel-metrics{gap:6px}
.html-report .sales-funnel-metrics article{min-height:0;padding:8px 9px}
.html-report .sales-funnel-metrics span{margin-top:2px}
.html-report .sales-funnel-metrics small{margin-top:3px;line-height:1.2}
.html-report .sales-benchmark-line{padding:7px 9px}
.html-report .sales-funnel-lock{gap:5px;margin-top:7px}
.html-report .sales-funnel-lock div{padding:6px 8px}

.html-report .summary-grid{gap:7px;margin-top:7px}
.html-report .summary-grid>.report-card{min-height:0;padding:7px 9px}
.html-report .summary-grid h2{margin-bottom:3px}
.html-report .comparison-row{margin-top:3px}
.html-report .comparison-card p,
.html-report .verdict-card p,
.html-report .potential-card p{margin-top:4px;line-height:1.25}
.html-report .potential-model-line{margin:5px 0;padding:6px 8px}
.html-report .potential-model-line strong{margin-top:1px}

.html-report .leadership-certificate{margin:8px 0 6px;padding:8px 10px}
.html-report .leadership-certificate-main{gap:12px}
.html-report .leadership-award-visual{padding:7px 9px}
.html-report .leadership-premium-medal{height:105px}
.html-report .leadership-award-copy h2{margin-bottom:3px}
.html-report .leadership-award-copy p{margin-top:3px;margin-bottom:4px;line-height:1.25}
.html-report .leadership-medal{margin-top:5px}
.html-report .leadership-legend{margin-top:6px;gap:4px}
.html-report .leadership-method-note{margin-top:5px;padding-top:5px;line-height:1.2}

.html-report .v134-vote-card{margin-top:7px!important;padding:8px 10px!important}
.html-report .civic-vote-intro{margin:5px 0 4px;line-height:1.25}
.html-report .civic-vote-summary{margin-top:4px!important;margin-bottom:4px;padding:5px 8px}
.html-report .civic-vote-summary span{margin-top:1px}
.html-report .civic-vote-insight{gap:4px;margin-bottom:5px}
.html-report .civic-vote-headline{padding:5px 7px}
.html-report .civic-vote-headline strong{margin-top:1px;line-height:1.18}
.html-report .civic-vote-empty-state{min-height:72px;padding:7px;gap:2px}
.html-report .civic-vote-chart{gap:4px;margin-bottom:4px}
.html-report .civic-vote-chart-row{row-gap:1px}
.html-report .civic-vote-button{padding-top:7px;padding-bottom:7px}

.html-report .digital-certificate{margin:8px 0;padding:9px 10px}
.html-report .digital-certificate h2{margin-bottom:3px}
.html-report .digital-certificate-intro{margin-bottom:7px;line-height:1.3}
.html-report .digital-certificate-table th,
.html-report .digital-certificate-table td{padding:7px 9px}
.html-report .digital-certificate-table td.current small{margin-top:2px;line-height:1.2}
.html-report .digital-certificate-note{margin-top:6px;line-height:1.3}

.html-report .detail-final-order{margin-top:8px}
.html-report .detail-final-order .sales-funnel-cta-row{padding:9px 11px;gap:10px}
.html-report .sales-funnel-cta-row span{margin-top:2px;line-height:1.25}
.html-report .sales-funnel-cta{padding-top:8px;padding-bottom:8px}

/* Grafické prvky: menší prázdná plocha, nikoli menší text. */
.html-report .radar-svg{height:170px;margin-top:2px}
.html-report .missing-radar-wrap{margin:2px 0 4px;padding-top:1px}
.html-report .missing-radar-svg{height:195px}
.html-report .chart-interpretation{margin-top:5px;padding-top:4px;line-height:1.25}
.html-report .chart-interpretation p{margin-bottom:2px}
.html-report .impact-list{margin-top:10px}
.html-report .impact-row{margin:7px 0}
.html-report .impact-track{margin-top:3px;height:8px}
.html-report .tiny-note{margin-top:7px}

@media(max-width:900px){
  .html-report .detail-locator-canvas{height:76px}
  .html-report .v137-radar{height:190px}
  .html-report .missing-radar-svg{height:180px}
}

/* === V176: ještě menší svislé mezery v řádkových seznamech, hlasování a vysvědčení; velikost písma beze změny === */
/* A1–A4 a podobné řádkové seznamy */
.html-report .v134-stage-list{gap:2px}
.html-report .v134-stage-list>div{padding:2px 6px;min-height:0}

/* Kde obec ztrácí občana */
.html-report .v137-lollipop-list{gap:2px;margin-top:5px}
.html-report .v137-lollipop-list>div{padding:2px 0 2px 18px;min-height:0}

/* Hlasování občanů – zmenšení mezer mezi jednotlivými odpověďmi */
.html-report .civic-vote-insight{gap:3px;margin-bottom:3px}
.html-report .civic-vote-headline{padding:4px 8px}
.html-report .civic-insight-list{gap:3px}
.html-report .civic-insight-row{padding:4px 7px}
.html-report .civic-insight-head{gap:6px;line-height:1.15}
.html-report .civic-insight-track{height:7px;margin:2px 0}
.html-report .civic-insight-row p{line-height:1.15}
.html-report .civic-vote-summary{padding:4px 8px}

/* Digitální vysvědčení – výrazně nižší řádky tabulky */
.html-report .digital-certificate-table th,
.html-report .digital-certificate-table td{padding:4px 8px;line-height:1.18}
.html-report .digital-certificate-table thead th{padding-top:6px;padding-bottom:6px;line-height:1.15}
.html-report .digital-certificate-table tbody th{line-height:1.18}
.html-report .digital-certificate-table td.current small{margin-top:1px;line-height:1.12}
.html-report .digital-certificate .certificate-help{margin-left:3px}

/* V182: výrazné sdělení bonusu přímo v prodejním bloku detailu obce */
.sales-funnel-bonus { margin-top:14px; padding:15px 16px; border:2px solid #b9dfc3; border-radius:13px; background:#effaf2; color:#29483a; }
.sales-funnel-bonus-kicker { margin-bottom:4px; font-size:14px; font-weight:900; letter-spacing:.055em; color:#267740; }
.sales-funnel-bonus > strong { display:block; font-size:19px; line-height:1.25; color:#185f32; }
.sales-funnel-bonus p { margin:6px 0 0; line-height:1.45; color:#405b4c; }

/* V183 – kompaktní bonus v cenovém štítku detailu */
.detail-modal-head .report-price-badge--recommended small {
    display:block;
    margin-top:4px;
    white-space:nowrap;
    font-size:13.5px;
    line-height:1.1;
}
.detail-modal-head .report-price-badge--recommended small strong {
    display:inline;
    margin:0;
    font-size:inherit;
    line-height:inherit;
    font-weight:800;
}

/* V184 – vyvážené záhlaví detailu: cena bez bílé karty, bonus jako součást nabídky */
.detail-modal-head {
    gap: 16px;
}
.detail-modal-head > .detail-modal-identity {
    flex: 0 1 175px;
    width: 175px;
    max-width: 175px;
}
.detail-modal-head > .detail-report-notice {
    flex: 1 1 300px;
    max-width: 390px;
}
.detail-modal-actions {
    gap: 9px;
}
.detail-modal-head .report-price-group--single {
    min-width: 218px;
}
.detail-modal-head .report-price-badge--recommended {
    position: relative;
    min-width: 218px;
    padding: 7px 13px 8px;
    border: 1px solid rgba(255,255,255,.34);
    border-radius: 11px;
    background: rgba(255,255,255,.10);
    box-shadow: none;
    color: #fff !important;
    text-align: left;
}
.detail-modal-head .report-price-badge--recommended span,
.detail-modal-head .report-price-badge--recommended strong,
.detail-modal-head .report-price-badge--recommended small,
.detail-modal-head .report-price-badge--recommended small strong {
    color: #fff !important;
}
.detail-modal-head .report-price-badge--recommended > span {
    font-size: 11.5px;
    line-height: 1.1;
    font-weight: 800;
    opacity: .86;
}
.detail-modal-head .report-price-badge--recommended > strong {
    margin-top: 3px;
    font-size: 19px;
    line-height: 1;
}
.detail-modal-head .report-price-badge--recommended small {
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px solid rgba(255,255,255,.22);
    font-size: 11.5px;
    line-height: 1.15;
    opacity: .96;
}
.detail-modal-head .report-price-badge--recommended small strong {
    font-weight: 900;
}
@media (max-width:1180px) {
    .detail-modal-head > .detail-modal-identity {
        flex-basis: 150px;
        width: 150px;
        max-width: 150px;
    }
    .detail-modal-head > .detail-report-notice { max-width: 330px; }
    .detail-modal-head .report-price-group--single,
    .detail-modal-head .report-price-badge--recommended { min-width: 195px; }
}


/* V185 – počet stran přesunut do tlačítka informací, bonus v cenovém bloku lépe čitelný */
.detail-modal-head .report-price-badge--recommended small {
    margin-top: 6px;
    padding-top: 6px;
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: .01em;
}
.detail-modal-head .report-price-badge--recommended small strong {
    font-size: 12px;
    font-weight: 900;
}
.report-info-button--two-line {
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:2px;
    line-height:1.08;
    min-height:48px;
}
.report-info-button-main {
    display:block;
    font-weight:900;
}
.report-info-button-sub {
    display:block;
    font-size:13.5px;
    font-weight:700;
    opacity:.86;
    white-space:nowrap;
}


/* === V186: znaky/erby obcí v detailu === */
.detail-modal-head > .detail-modal-identity {
    display: flex;
    align-items: center;
    gap: 10px;
}
.detail-modal-crest {
    flex: 0 0 auto;
    width: 50px;
    height: 58px;
    object-fit: contain;
    object-position: center;
    padding: 2px;
    box-sizing: border-box;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,.16));
}
.detail-modal-crest[hidden] { display: none !important; }
.detail-modal-identity-text {
    min-width: 0;
    overflow: hidden;
}
.detail-modal-identity-text h2,
.detail-modal-identity-text p { min-width: 0; }

.html-report .report-town.report-town-with-crest {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: left;
}
.html-report .report-town-crest {
    flex: 0 0 auto;
    width: 58px;
    height: 66px;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 1px 1px rgba(15,46,89,.18));
}
.html-report .report-town-crest[hidden] { display: none !important; }
.html-report .report-town-copy { min-width: 0; }
.html-report .report-town-copy span,
.html-report .report-town-copy strong { text-align: left; }

@media (max-width: 900px) {
    .detail-modal-crest { width: 42px; height: 48px; }
    .html-report .report-town.report-town-with-crest { text-align:center; }
    .html-report .report-town-copy span,
    .html-report .report-town-copy strong { text-align:center; }
}

/* === V187: oprava záhlaví detailu + přesun porovnání mimo hlavičku reportu === */
/* Více prostoru pro celý název obce v modálním záhlaví. */
.detail-modal-window {
    width: min(1200px, calc(100vw - 54px));
}
.detail-modal-head > .detail-modal-identity {
    flex: 0 0 220px;
    width: 220px;
    max-width: 220px;
    overflow: visible;
}
.detail-modal-identity-text {
    overflow: visible;
}
.detail-modal-head > .detail-modal-identity h2 {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}
.detail-modal-head > .detail-report-notice {
    flex: 1 1 245px;
    max-width: 275px;
}
.detail-modal-head .report-price-group--single,
.detail-modal-head .report-price-badge--recommended {
    min-width: 200px;
}

/* Erb a název obce uvnitř reportu jsou součást jedné čisté identity; tlačítka sem nepatří. */
.html-report .report-head {
    grid-template-columns: 225px minmax(300px, 1fr) 255px;
    gap: 22px;
}
.html-report .report-town.report-town-with-crest {
    justify-content: flex-start;
    padding-left: 10px;
}
.html-report .report-town-copy strong {
    white-space: normal;
    overflow-wrap: anywhere;
}

/* Porovnání je samostatná sekundární akce pod hlavičkou reportu. */
.report-toolbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 7px 0 8px;
}
.report-toolbar .report-compare-button {
    width: auto;
    min-width: 178px;
    min-height: 34px;
    padding: 7px 14px;
    border: 1px solid #17618f;
    border-radius: 8px;
    background: #f3f8fc;
    color: #17618f;
    box-shadow: none;
    font: 800 10.5px/1.15 Arial,sans-serif;
}
.report-toolbar .report-compare-button:hover,
.report-toolbar .report-compare-button:focus-visible {
    background: #e5f1f8;
    color: #0f527e;
    border-color: #0f527e;
}

@media (max-width: 1180px) {
    .detail-modal-head > .detail-modal-identity {
        flex-basis: 205px;
        width: 205px;
        max-width: 205px;
    }
    .detail-modal-head > .detail-report-notice {
        max-width: 235px;
    }
    .detail-modal-head .report-price-group--single,
    .detail-modal-head .report-price-badge--recommended {
        min-width: 185px;
    }
}
@media (max-width: 900px) {
    .detail-modal-window { width: calc(100vw - 16px); }
    .detail-modal-head > .detail-modal-identity {
        flex: 1 1 auto;
        width: auto;
        max-width: none;
    }
    .html-report .report-head {
        grid-template-columns: 1fr;
    }
    .html-report .report-town.report-town-with-crest {
        justify-content: center;
        padding-left: 0;
    }
    .report-toolbar {
        justify-content: center;
    }
}


/* === V188: čisté modální záhlaví + porovnání u výsledku, nikoli jako osamocené tlačítko === */
/* V záhlaví zobrazujeme jen datum hodnocení; interní ID auditu se do UI nevypisuje. */
.detail-modal-head > .detail-modal-identity {
    flex: 0 0 235px;
    width: 235px;
    max-width: 235px;
}
.detail-modal-head > .detail-report-notice {
    flex: 1 1 250px;
    max-width: 300px;
}
.detail-modal-identity-text p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Porovnání patří k výsledku/indexu, ne mezi identifikační údaje reportu. */
.score-compare-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin: 7px 0 4px;
    min-height: 34px;
}
.score-compare-row > span {
    color: #5b7286;
    font: 700 10px/1.2 Arial,sans-serif;
}
.score-compare-row .report-compare-button {
    width: auto;
    min-width: 178px;
    min-height: 32px;
    padding: 6px 14px;
    border: 1px solid #17618f;
    border-radius: 8px;
    background: #f3f8fc;
    color: #17618f;
    box-shadow: none;
    font: 800 10.5px/1.15 Arial,sans-serif;
}
.score-compare-row .report-compare-button:hover,
.score-compare-row .report-compare-button:focus-visible {
    background: #e5f1f8;
    color: #0f527e;
    border-color: #0f527e;
}
/* starý V187 toolbar už v HTML není */
.report-toolbar { display:none !important; }

@media (max-width: 1180px) {
    .detail-modal-head > .detail-modal-identity {
        flex-basis: 225px;
        width: 225px;
        max-width: 225px;
    }
    .detail-modal-head > .detail-report-notice { max-width: 250px; }
}
@media (max-width: 900px) {
    .detail-modal-head > .detail-modal-identity {
        flex: 1 1 auto;
        width: auto;
        max-width: none;
    }
    .detail-modal-identity-text p { white-space: normal; }
    .score-compare-row {
        justify-content: center;
        flex-wrap: wrap;
    }
}


/* V208 – v přehledu barevně zvýrazňujeme pouze Celkový index */
.results-table .overall-index-head{background:#f3f7fa!important;color:#082e52!important;}
.results-table .overall-index-cell{background:transparent!important;border-left:0!important;border-right:0!important;}
.results-table .overall-score-pill{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;
    min-width:112px!important;padding:6px 10px!important;border-radius:999px!important;box-shadow:none!important;
    font-size:13px!important;color:inherit!important;
}
.results-table .overall-score-pill strong{font-size:13px!important;color:inherit!important;}
.results-table .overall-score-pill .index-band-dot{width:10px!important;height:10px!important;border:0!important;}
.results-table .plain-score{display:inline-block;font-weight:900;color:#082e52;white-space:nowrap;font-size:14px;line-height:1.2;}
.results-table .plain-score.missing,.results-table .crisis-table-missing{color:#8796a3;font-weight:800;}
.results-table .digital-table-cell,.results-table .crisis-table-cell,.results-table .compliance-table-cell{background:transparent!important;}
.results-table .crisis-score-pill{background:transparent!important;border:0!important;box-shadow:none!important;color:#082e52!important;padding:0!important;}

/* V209 – pouze Celkový index používá barevnou klasifikaci A–E.
   Vzhled je shodný s původním barevným pill-em Digitální samoobsluhy. */
.results-table .overall-index-cell{background:transparent!important;border-left:0!important;border-right:0!important;}
.results-table .overall-score-pill.index-band-a{background:#edf8f0!important;border:1px solid #b7dfc0!important;color:#17682e!important;}
.results-table .overall-score-pill.index-band-b{background:#f3f8e9!important;border:1px solid #cfe1aa!important;color:#4d751d!important;}
.results-table .overall-score-pill.index-band-c{background:#fff8df!important;border:1px solid #ecd889!important;color:#7d5a00!important;}
.results-table .overall-score-pill.index-band-d{background:#fff1e4!important;border:1px solid #efc49c!important;color:#9a4f0a!important;}
.results-table .overall-score-pill.index-band-e{background:#fff0f0!important;border:1px solid #efb9b9!important;color:#a52222!important;}
.results-table .overall-score-pill.index-band-neutral{background:#edf1f4!important;border:1px solid #d4dde3!important;color:#536171!important;}
.results-table .overall-score-pill strong,.results-table .overall-score-pill .index-band-letter{color:inherit!important;}
.results-table .overall-score-pill .index-band-dot.index-band-a{background:#2fa84f!important;}
.results-table .overall-score-pill .index-band-dot.index-band-b{background:#86bf45!important;}
.results-table .overall-score-pill .index-band-dot.index-band-c{background:#f1bd23!important;}
.results-table .overall-score-pill .index-band-dot.index-band-d{background:#ef8a21!important;}
.results-table .overall-score-pill .index-band-dot.index-band-e{background:#df3f3f!important;}
.results-table .overall-score-pill .index-band-dot.index-band-neutral{background:#9aa8b3!important;}


/* === V215: plnější modré záhlaví detailu === */
.detail-modal-head > .detail-report-notice.detail-report-notice--filled {
    flex: 1 1 auto;
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-width: 0;
    padding: 0 14px;
}
.detail-report-notice--filled > span {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    color: rgba(255,255,255,.94);
    font-size: 12px;
    line-height: 1.2;
}
.detail-report-notice--filled > span + span::before {
    content: "•";
    margin-right: 18px;
    color: rgba(255,255,255,.55);
}
.detail-report-notice--filled strong { color:#fff; font-weight:800; }
@media (max-width: 1100px) {
    .detail-modal-head > .detail-report-notice.detail-report-notice--filled { gap:10px; }
    .detail-report-notice--filled > span { font-size:14px; }
    .detail-report-notice--filled > span + span::before { margin-right:10px; }
}
@media (max-width: 900px) {
    .detail-modal-head > .detail-report-notice.detail-report-notice--filled {
        flex-wrap: wrap; gap:4px 10px; padding:0; justify-content:flex-start;
    }
    .detail-report-notice--filled > span { white-space:normal; }
    .detail-report-notice--filled > span + span::before { display:none; }
}

/* === V217: dvouřádkové sjednocené záhlaví detailu ===
   První řádek tvoří modré záhlaví modálního okna, druhá řádka je horní
   informační pás detailu. V modálním zobrazení na sebe vizuálně navazují. */
.detail-modal-head {
    min-height: 76px;
    height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
}

/* Druhá řádka záhlaví začíná hned pod modálním pruhem. */
.modal-embedded.report-body {
    background: linear-gradient(to bottom, #082e52 0, #082e52 136px, #eef2f5 136px, #eef2f5 100%);
}
.modal-embedded .report-page-wrap {
    padding: 0 14px 30px;
}
.modal-embedded .html-report {
    width: 100%;
    max-width: none;
    min-width: 780px;
    margin: 0 auto;
    padding-top: 0;
    border-top: 0;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 8px 22px rgba(20,50,75,.10);
}
.modal-embedded .html-report .report-head {
    grid-template-columns: minmax(250px,1fr) 430px minmax(240px,300px);
    gap: 24px;
    min-height: 136px;
    margin: 0 -26px;
    padding: 13px 28px 15px;
    background: #082e52;
    color: #fff;
    align-items: center;
}

/* Logo je v první řádce už přítomné; ve druhé řádce uvolníme prostor obci a mapě. */
.modal-embedded .html-report .report-logo { display:none; }

.modal-embedded .html-report .report-town.report-town-with-crest {
    justify-content: flex-start;
    padding-left: 0;
    color: #fff;
}
.modal-embedded .html-report .report-town-crest {
    width: 76px;
    height: 76px;
    max-width: 76px;
    max-height: 76px;
    object-fit: contain;
    background: rgba(255,255,255,.98);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,.16);
}
.modal-embedded .html-report .report-town-copy span {
    color: rgba(255,255,255,.70);
    font-size: 11.5px;
    letter-spacing: .12em;
}
.modal-embedded .html-report .report-town-copy strong {
    color: #fff;
    font-size: 29px;
    line-height: 1.06;
    letter-spacing: .02em;
}

/* Výrazně větší orientační mapa obce. */
.modal-embedded .report-head-locator {
    min-height: 108px;
    padding: 7px 10px 8px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.modal-embedded .report-head-locator .detail-locator-title {
    margin-bottom: 3px;
    font-size: 11.5px;
    color: #415e70;
}
.modal-embedded .report-head-locator .detail-locator-canvas {
    height: 86px;
}
.modal-embedded .html-report .report-contact {
    color: #fff;
    font-size: 12px;
    line-height: 1.45;
}
.modal-embedded .html-report .report-contact strong,
.modal-embedded .html-report .report-contact span {
    color: #fff;
}
.modal-embedded .html-report .report-rule { display:none; }
.modal-embedded .compact-detail { padding-top: 12px; }

@media (max-width: 1050px) {
    .modal-embedded .html-report .report-head {
        grid-template-columns: minmax(220px,1fr) 340px minmax(190px,240px);
        gap: 16px;
    }
    .modal-embedded .html-report .report-town-copy strong { font-size: 24px; }
}
@media (max-width: 820px) {
    .modal-embedded.report-body { background:#eef2f5; }
    .modal-embedded .report-page-wrap { padding:0 8px 24px; }
    .modal-embedded .html-report { min-width:0; border-radius:0 0 14px 14px; }
    .modal-embedded .html-report .report-head {
        grid-template-columns:1fr;
        min-height:auto;
        margin:0 -26px;
        padding:14px 20px 16px;
        text-align:center;
    }
    .modal-embedded .html-report .report-town.report-town-with-crest { justify-content:center; }
    .modal-embedded .report-head-locator { width:min(440px,100%); margin:0 auto; }
    .modal-embedded .html-report .report-contact { text-align:center; }
}


/* === V219: celkový index a vysvětlení integrovány do druhé řádky modrého záhlaví detailu === */
.modal-embedded.report-body {
    background: linear-gradient(to bottom, #082e52 0, #082e52 212px, #eef2f5 212px, #eef2f5 100%);
}
.modal-embedded .html-report .report-head {
    min-height: 212px;
    padding-bottom: 14px;
    align-content: center;
}
.modal-embedded .report-head-overall {
    grid-column: 1 / -1;
    grid-template-columns: 260px minmax(0,1fr);
    gap: 12px;
    margin-top: 2px;
}
.modal-embedded .report-head-overall-score {
    background: #164d72;
    border: 1px solid rgba(255,255,255,.28);
    box-shadow: none;
}
.modal-embedded .report-head-overall-note {
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.24);
    color: rgba(255,255,255,.88);
}
.modal-embedded .report-head-overall-note strong { color:#fff; }
.modal-embedded .compact-detail { padding-top: 10px; }
@media (max-width: 1050px) {
    .modal-embedded .report-head-overall { grid-template-columns: 235px minmax(0,1fr); }
}
@media (max-width: 820px) {
    .modal-embedded.report-body { background:#eef2f5; }
    .modal-embedded .html-report .report-head { min-height:auto; }
    .modal-embedded .report-head-overall { grid-template-columns:1fr; }
}

/* V219.1 – sjednocení typografie textu o zpracování údajů v objednávce PDF */
#orderModal .privacy-brief {
    margin: 0;
    color: #50677c;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 12.3px;
    line-height: 1.4;
    font-weight: 400;
}
#orderModal .privacy-brief a {
    font: inherit;
    color: var(--navy-2);
    text-decoration: underline;
}

/* V230 – přehled 12 oblastí */
.results-table.results-12,
.results-table { min-width: 2260px; table-layout: auto; }
.results-table .screening-head { min-width: 118px; }
.results-table .screening-table-cell { min-width: 118px; text-align:center; white-space:nowrap; }
.results-table th:first-child { min-width: 220px; }
.results-table th:nth-child(2) { min-width: 105px; }
.results-table th:nth-child(3) { min-width: 120px; }
.table-wrap { overflow-x:auto; }


/* V237 – detail obce v modalu má pouze jednu hlavičku uvnitř detailu */
.detail-modal-window--singlehead {
    background:#eef2f5;
}
.detail-modal-body--full {
    height:100%;
}
.detail-modal-window--singlehead #detailModalFrame {
    background:#eef2f5;
}


/* === V244: detail obce – pouze svislé posouvání a bezpečné vnitřní okraje === */
.detail-modal-window--singlehead{
    width:min(1200px, calc(100vw - 70px));
    max-width:calc(100vw - 70px);
}
.detail-modal-body--full{
    height:100%;
    overflow:hidden;
}
.detail-modal-window--singlehead #detailModalFrame{
    width:100%;
    height:100%;
    overflow:hidden;
    background:#fff;
}
@media (max-width:800px){
    .detail-modal-window--singlehead{
        width:calc(100vw - 16px);
        max-width:calc(100vw - 16px);
    }
}


/* V253: zvětšení drobných textů bez potřeby horizontálního scrollu */
.modal-card,
.report-detail-page,
.order-form-card,
.report-order-card,
.table-wrap,
.detail-tabs,
.order-page,
.report-page,
body{
    overflow-x:hidden;
}

.reserve-potential-pill small,
.score-pill small,
.kpi small,
.stat small,
.legend-note,
.legend-item,
.overall-basis,
.table-note,
.compare-note,
.form-note,
.form-hint,
.field-help,
.help-text,
.muted,
.text-muted,
.small,
small{
    line-height:1.22;
}

.results-table td,
.results-table th,
.compare-table td,
.compare-table th,
.order-form-card label,
.order-form-card .form-note,
.order-form-card .form-hint,
.report-head-overall-score small,
.report-head-meta,
.report-head-meta *,
.modal-card *,
.report-detail-page *,
.order-form-card * {
    overflow-wrap:anywhere;
}

/* === V258: detail obce – plnější a čitelnější hlavička === */
.html-report .report-town-main{min-width:0;display:flex;flex-direction:column;gap:9px}
.html-report .report-town-meta{display:grid;gap:4px;margin-top:3px;font-size:14px;line-height:1.3;color:#496170;letter-spacing:0;text-transform:none}
.html-report .report-town-meta-row{display:block;overflow-wrap:anywhere}
.html-report .report-town-meta-row b{font-weight:800;color:inherit}

/* V modálním detailu tvoří první řádek tři rovnocenné informační karty:
   obec / velká mapa / hlavní výsledek. Vysvětlení je přes celou šířku pod nimi. */
.modal-embedded.report-body{
    background:linear-gradient(to bottom,#082e52 0,#082e52 286px,#eef2f5 286px,#eef2f5 100%);
}
.modal-embedded .html-report .report-head{
    display:grid;
    grid-template-columns:minmax(300px,1.05fr) minmax(390px,1.25fr) minmax(245px,.85fr);
    grid-template-rows:minmax(164px,auto) auto;
    gap:14px 18px;
    min-height:286px;
    padding:16px 30px 15px;
    align-items:stretch;
    align-content:start;
}
.modal-embedded .html-report .report-town.report-town-with-crest{
    grid-column:1;
    grid-row:1;
    display:flex;
    align-items:center;
    gap:16px;
    min-width:0;
    padding:15px 16px;
    border:1px solid rgba(255,255,255,.22);
    border-radius:16px;
    background:rgba(255,255,255,.07);
}
.modal-embedded .html-report .report-town-crest{
    width:88px;
    height:88px;
    max-width:88px;
    max-height:88px;
    flex:0 0 88px;
    border-radius:14px;
    padding:7px;
}
.modal-embedded .html-report .report-town-copy span{
    font-size:13.5px;
    color:rgba(255,255,255,.72);
}
.modal-embedded .html-report .report-town-copy strong{
    margin-top:2px;
    font-size:31px;
    line-height:1.02;
    letter-spacing:.01em;
}
.modal-embedded .html-report .report-town-meta{
    color:rgba(255,255,255,.88);
    font-size:14px;
    line-height:1.35;
}
.modal-embedded .html-report .report-town-meta-row b{color:#fff}

.modal-embedded .report-head-locator{
    grid-column:2;
    grid-row:1;
    min-height:164px;
    height:100%;
    padding:9px 13px 10px;
    border-radius:16px;
    border:1px solid rgba(255,255,255,.32);
    background:#fff;
    box-shadow:0 5px 16px rgba(0,0,0,.14);
}
.modal-embedded .report-head-locator .detail-locator-title{
    margin:0 0 4px;
    font-size:14px;
    font-weight:900;
    letter-spacing:.05em;
    color:#31556a;
}
.modal-embedded .report-head-locator .detail-locator-canvas{
    height:129px;
}

/* V258: obal je v gridu průhledný – jeho děti se stanou přímými položkami hlavičky. */
.modal-embedded .report-head-overall{display:contents}
.modal-embedded .report-head-overall-score{
    grid-column:3;
    grid-row:1;
    min-width:0;
    min-height:164px;
    height:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:6px;
    padding:16px 14px;
    text-align:center;
    border-radius:16px;
    background:linear-gradient(145deg,#175d80 0%,#0e496e 100%);
    border:1px solid rgba(255,255,255,.28);
    box-shadow:0 5px 16px rgba(0,0,0,.10);
}
.modal-embedded .report-head-overall-score span{
    max-width:190px;
    font-size:14px;
    line-height:1.15;
    letter-spacing:.07em;
}
.modal-embedded .report-head-overall-score strong{
    font-size:39px;
    line-height:1;
    margin:3px 0 1px;
}
.modal-embedded .report-head-overall-score small{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:28px;
    padding:5px 11px;
    border-radius:999px;
    background:rgba(255,255,255,.15);
    color:#fff;
    font-size:14px;
    font-weight:850;
    line-height:1.15;
}
.modal-embedded .report-head-overall-note{
    grid-column:1 / -1;
    grid-row:2;
    min-height:57px;
    display:flex;
    align-items:center;
    padding:11px 15px;
    border-radius:13px;
    background:rgba(255,255,255,.09);
    border:1px solid rgba(255,255,255,.21);
    color:rgba(255,255,255,.90);
    font-size:14px;
    line-height:1.38;
}

@media (max-width:1100px){
    .modal-embedded .html-report .report-head{
        grid-template-columns:minmax(260px,1fr) minmax(330px,1.15fr) minmax(220px,.8fr);
        gap:12px;
        padding-left:24px;
        padding-right:24px;
    }
    .modal-embedded .html-report .report-town-crest{width:74px;height:74px;max-width:74px;max-height:74px;flex-basis:74px}
    .modal-embedded .html-report .report-town-copy strong{font-size:27px}
    .modal-embedded .report-head-locator .detail-locator-canvas{height:125px}
}
@media (max-width:820px){
    .modal-embedded.report-body{background:#eef2f5}
    .modal-embedded .html-report .report-head{
        grid-template-columns:1fr;
        grid-template-rows:auto;
        min-height:auto;
        gap:12px;
        padding:16px 20px;
    }
    .modal-embedded .html-report .report-town.report-town-with-crest,
    .modal-embedded .report-head-locator,
    .modal-embedded .report-head-overall-score,
    .modal-embedded .report-head-overall-note{
        grid-column:1;
        grid-row:auto;
        width:100%;
    }
    .modal-embedded .html-report .report-town.report-town-with-crest{justify-content:flex-start;text-align:left}
    .modal-embedded .html-report .report-town-copy span,
    .modal-embedded .html-report .report-town-copy strong{text-align:left}
    .modal-embedded .report-head-locator{min-height:180px}
    .modal-embedded .report-head-locator .detail-locator-canvas{height:142px}
    .modal-embedded .report-head-overall-score{min-height:132px}
}

/* === V259: detail obce – centrovaná identita obce v levé kartě === */
.modal-embedded .html-report .report-town.report-town-with-crest{
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    gap:8px;
    padding:12px 16px;
}
.modal-embedded .html-report .report-town-main{
    width:100%;
    align-items:center;
    text-align:center;
    gap:6px;
}
.modal-embedded .html-report .report-town-copy{
    width:100%;
    text-align:center;
}
.modal-embedded .html-report .report-town-copy span,
.modal-embedded .html-report .report-town-copy strong{
    display:block;
    width:100%;
    text-align:center;
}
.modal-embedded .html-report .report-town-meta{
    width:100%;
    justify-items:center;
    text-align:center;
    margin-top:1px;
}
.modal-embedded .html-report .report-town-meta-row{
    text-align:center;
}
@media (max-width:820px){
    .modal-embedded .html-report .report-town.report-town-with-crest{
        justify-content:center;
        align-items:center;
        text-align:center;
    }
    .modal-embedded .html-report .report-town-copy span,
    .modal-embedded .html-report .report-town-copy strong,
    .modal-embedded .html-report .report-town-meta,
    .modal-embedded .html-report .report-town-meta-row{
        text-align:center;
    }
}

/* === V259: detail obce – znak vlevo + údaje vpravo, celek vycentrovaný v kartě === */
.modal-embedded .html-report .report-town.report-town-with-crest{
    justify-content:center;
}
.modal-embedded .html-report .report-town-main{
    flex:0 1 auto;
    width:auto;
    max-width:230px;
    text-align:left;
}
.modal-embedded .html-report .report-town-copy,
.modal-embedded .html-report .report-town-meta{
    text-align:left;
}

/* === V260: detail obce – FINÁLNÍ rozložení identity: znak vlevo, údaje vpravo, celý celek vycentrovaný === */
.modal-embedded .html-report .report-town.report-town-with-crest{
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    justify-content:center !important;
    align-items:center !important;
    text-align:left !important;
    gap:18px !important;
    padding:15px 18px !important;
}
.modal-embedded .html-report .report-town-crest{
    flex:0 0 88px !important;
    width:88px !important;
    height:88px !important;
    max-width:88px !important;
    max-height:88px !important;
    margin:0 !important;
}
.modal-embedded .html-report .report-town-main{
    flex:0 1 auto !important;
    width:auto !important;
    max-width:245px !important;
    min-width:0 !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    justify-content:center !important;
    gap:6px !important;
    text-align:left !important;
}
.modal-embedded .html-report .report-town-copy,
.modal-embedded .html-report .report-town-meta{
    width:auto !important;
    max-width:100% !important;
    text-align:left !important;
    justify-items:start !important;
    align-items:start !important;
}
.modal-embedded .html-report .report-town-copy span,
.modal-embedded .html-report .report-town-copy strong,
.modal-embedded .html-report .report-town-meta-row{
    width:auto !important;
    text-align:left !important;
}
@media (max-width:820px){
    .modal-embedded .html-report .report-town.report-town-with-crest{
        flex-direction:row !important;
        justify-content:center !important;
        align-items:center !important;
        text-align:left !important;
    }
    .modal-embedded .html-report .report-town-crest{
        flex-basis:74px !important;
        width:74px !important;
        height:74px !important;
        max-width:74px !important;
        max-height:74px !important;
    }
    .modal-embedded .html-report .report-town-main,
    .modal-embedded .html-report .report-town-copy,
    .modal-embedded .html-report .report-town-meta,
    .modal-embedded .html-report .report-town-meta-row,
    .modal-embedded .html-report .report-town-copy span,
    .modal-embedded .html-report .report-town-copy strong{
        text-align:left !important;
        align-items:flex-start !important;
        justify-items:start !important;
    }
}

/* === V261: detail obce – identita jako jeden vodorovný, vycentrovaný celek === */
.modal-embedded .html-report .report-town.report-town-with-crest{
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    justify-content:center !important;
    gap:18px !important;
    min-height:164px !important;
    height:100% !important;
    box-sizing:border-box !important;
    text-align:left !important;
}
.modal-embedded .html-report .report-town-crest{
    flex:0 0 88px !important;
    width:88px !important;
    height:88px !important;
    max-width:88px !important;
    max-height:88px !important;
    margin:0 !important;
}
.modal-embedded .html-report .report-town-main{
    flex:0 1 auto !important;
    width:auto !important;
    max-width:245px !important;
    min-width:0 !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    justify-content:center !important;
    text-align:left !important;
}
.modal-embedded .html-report .report-town-copy,
.modal-embedded .html-report .report-town-meta,
.modal-embedded .html-report .report-town-meta-row,
.modal-embedded .html-report .report-town-copy span,
.modal-embedded .html-report .report-town-copy strong{
    text-align:left !important;
}
@media (max-width:820px){
    .modal-embedded .html-report .report-town.report-town-with-crest{
        flex-direction:row !important;
        align-items:center !important;
        justify-content:center !important;
        min-height:164px !important;
        text-align:left !important;
    }
    .modal-embedded .html-report .report-town-crest{
        flex-basis:74px !important;
        width:74px !important;
        height:74px !important;
        max-width:74px !important;
        max-height:74px !important;
    }
}


/* === V268: globální čitelnost webu ===
   Základní text zvětšen napříč webem. Drobné technické popisky zůstávají menší,
   ale už neklesají do obtížně čitelného rozsahu 9–12 px. */
html{font-size:17px}
body{font-size:17px;line-height:1.58}
p,li,dd,dt,label,input,select,textarea,button,td,th{line-height:1.48}
small,.small,.meta,.muted,.caption,.hint,.help-text,.note{font-size:.84rem!important;line-height:1.45!important}
.site-footer,.site-footer a,.footer-inner,.footer-links{font-size:14px!important}
.modal p,.modal li,.modal label,.modal input,.modal select,.modal textarea,.modal button{font-size:15px}
.html-report{font-size:15px!important}
.html-report p,.html-report li,.html-report td,.html-report th{font-size:14px!important;line-height:1.48!important}
.html-report small,.html-report .small,.html-report .meta{font-size:12.8px!important}
@media(max-width:760px){html,body{font-size:16px}.site-footer,.site-footer a{font-size:13.5px!important}}


/* === V269: ČITELNOST WEBU ===
   Zvětšení drobného textu v návštěvnickém webovém rozhraní.
   Reportové stránky (.report-body) zůstávají beze změny, aby se nerozbila sazba PDF. */
body:not(.report-body){font-size:16px;line-height:1.55}
body:not(.report-body) p,
body:not(.report-body) li,
body:not(.report-body) label,
body:not(.report-body) input,
body:not(.report-body) select,
body:not(.report-body) textarea,
body:not(.report-body) button{font-size:15px;line-height:1.5}
body:not(.report-body) .subtle,
body:not(.report-body) .method-note,
body:not(.report-body) .tiny-note,
body:not(.report-body) .footer-inner,
body:not(.report-body) .section-head p{font-size:14.5px!important;line-height:1.5!important}
body:not(.report-body) .site-header,
body:not(.report-body) .main-nav,
body:not(.report-body) .main-nav a,
body:not(.report-body) .main-nav button{font-size:15px!important}
body:not(.report-body) .embedded-info-page,
body.embedded-info-page{font-size:16px!important}
body.embedded-info-page p,body.embedded-info-page li{font-size:15.5px!important;line-height:1.6!important}
body:not(.report-body) .detail-modal,
body:not(.report-body) .detail-modal p,
body:not(.report-body) .detail-modal li{font-size:15px;line-height:1.55}
body:not(.report-body) .button,
body:not(.report-body) .btn{font-size:15px!important}


/* === V275: objednávací formulář – čitelnost a současný obsah služby === */
#orderModal .submodal-window{font-size:16px}
#orderModal .order-modal-head{min-height:72px !important;padding:11px 16px !important}
#orderModal .order-modal-head h2{font-size:24px !important;line-height:1.12 !important;margin:0 0 3px !important}
#orderModal .order-modal-head p{font-size:15.5px !important;line-height:1.3 !important}
#orderModal .free-badge{font-size:14px !important}
#orderModal .submodal-body{font-size:15.5px !important;line-height:1.45 !important;padding:10px 14px 12px !important}
#orderModal .order-process-info{font-size:15.5px !important;line-height:1.45 !important;padding:11px 12px !important}
#orderModal .order-process-info strong{font-size:16.5px !important;line-height:1.3 !important}
#orderModal .order-process-info p{font-size:15px !important;line-height:1.42 !important;margin-top:5px !important}
#orderModal .order-form{gap:10px !important}
#orderModal .order-form fieldset{padding:10px 12px 12px !important;border-radius:10px !important}
#orderModal .order-form legend{font-size:16px !important;line-height:1.2 !important;font-weight:850 !important}
#orderModal .order-form label span{font-size:15px !important;line-height:1.2 !important;font-weight:750 !important}
#orderModal .order-form input,
#orderModal .order-form textarea{font-size:15.5px !important;line-height:1.3 !important;min-height:38px !important;padding:8px 10px !important}
#orderModal .order-form textarea{min-height:54px !important}
#orderModal .privacy-brief{font-size:14px !important;line-height:1.4 !important}
#orderModal .marketing-consent span{font-size:14px !important;line-height:1.4 !important}
#orderModal .order-submit{font-size:16px !important;min-height:42px !important;padding:9px 18px !important}
#orderModal .submodal-close{width:40px !important;height:40px !important;font-size:24px !important}
@media(max-width:760px){
  #orderModal .order-modal-head h2{font-size:21px !important}
  #orderModal .order-modal-head p{font-size:14.5px !important}
  #orderModal .submodal-body{font-size:15px !important}
}

/* === V284: objednávací formulář vždy celý ovladatelný + centrování příjmů v hlavičce === */
@media (min-width:700px) {
  #orderModal .order-window {
    top:12px !important;
    bottom:auto !important;
    max-height:calc(100dvh - 24px) !important;
    height:auto !important;
    display:flex !important;
    flex-direction:column !important;
    overflow:hidden !important;
  }
  #orderModal .order-modal-head {
    flex:0 0 auto !important;
  }
  #orderModal .submodal-body {
    flex:1 1 auto !important;
    min-height:0 !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    overscroll-behavior:contain;
    scrollbar-gutter:stable;
    padding-bottom:8px !important;
  }
  #orderModal .order-submit-row {
    position:sticky !important;
    bottom:0 !important;
    z-index:5 !important;
    margin:4px -10px -7px !important;
    padding:8px 10px 9px !important;
    background:linear-gradient(180deg,rgba(255,255,255,.94),#fff 35%) !important;
    border-top:1px solid #d8e4ec !important;
    box-shadow:0 -8px 18px rgba(15,49,76,.06) !important;
  }
  #orderModal .order-submit {
    min-width:250px !important;
  }
}
@media (max-width:699px) {
  #orderModal .order-window {
    top:6px !important;
    max-height:calc(100dvh - 12px) !important;
    display:flex !important;
    flex-direction:column !important;
    overflow:hidden !important;
  }
  #orderModal .submodal-body {
    flex:1 1 auto !important;
    min-height:0 !important;
    overflow-y:auto !important;
  }
  #orderModal .order-submit-row {
    position:sticky !important;
    bottom:0 !important;
    z-index:5 !important;
    margin:4px -8px -5px !important;
    padding:8px !important;
    background:#fff !important;
    border-top:1px solid #d8e4ec !important;
  }
}


/* === V290: HOSPODÁRNOST OBCE + vyváženější šířky souhrnné tabulky === */
.results-table.results-table--summary{
    width:100% !important;
    min-width:0 !important;
    table-layout:fixed !important;
}
.results-table.results-table--summary th,
.results-table.results-table--summary td{
    box-sizing:border-box;
}
/* Užší název obce, více prostoru pro obsahové sloupce a čitelný poslední sloupec. */
.results-table.results-table--summary th:nth-child(1),
.results-table.results-table--summary td:nth-child(1){width:17% !important;min-width:0 !important;}
.results-table.results-table--summary th:nth-child(2),
.results-table.results-table--summary td:nth-child(2){width:11% !important;min-width:0 !important;}
.results-table.results-table--summary th:nth-child(3),
.results-table.results-table--summary td:nth-child(3){width:19% !important;min-width:0 !important;}
.results-table.results-table--summary th:nth-child(4),
.results-table.results-table--summary td:nth-child(4){width:18% !important;min-width:0 !important;}
.results-table.results-table--summary th:nth-child(5),
.results-table.results-table--summary td:nth-child(5){width:19% !important;min-width:0 !important;}
.results-table.results-table--summary th:nth-child(6),
.results-table.results-table--summary td:nth-child(6),
.results-table.results-table--summary th:last-child,
.results-table.results-table--summary td:last-child{width:16% !important;min-width:0 !important;}
.results-table.results-table--summary .municipality{white-space:normal !important;}
.results-table.results-table--summary .municipality .detail-link{font-size:15px !important;line-height:1.3 !important;}
.results-table.results-table--summary td:last-child,
.results-table.results-table--summary td:last-child *,
.results-table.results-table--summary .compare-cell,
.results-table.results-table--summary .compare-cell span{font-size:14px !important;line-height:1.3 !important;}
.results-table.results-table--summary .income-cell,
.results-table.results-table--summary .income-cell *{font-size:14px;line-height:1.3;}
.results-table.results-table--summary .income-amount-line strong{font-size:15px !important;}
.results-table.results-table--summary .income-ideas-line{font-size:13.5px !important;}
.results-table.results-table--summary .header-search-box input{width:118px !important;max-width:100% !important;}
@media(max-width:1100px){
  .results-table.results-table--summary{min-width:980px !important;}
  .table-wrap{overflow-x:auto !important;}
}


/* V292: hodnoty Nové příjmy obce a Hospodárnost obce jsou vizuálně centrované. */
.results-table.results-table--summary td:nth-child(4),
.results-table.results-table--summary td:nth-child(5){text-align:center !important;}
.results-table.results-table--summary td:nth-child(4) .income-value-wrap{justify-content:center !important;}
.results-table.results-table--summary td:nth-child(4) .income-text-lines,
.results-table.results-table--summary td:nth-child(5) .income-text-lines{align-items:center !important;text-align:center !important;width:100%;}
.results-table.results-table--summary td:nth-child(4) .income-amount-line,
.results-table.results-table--summary td:nth-child(4) .income-ideas-line,
.results-table.results-table--summary td:nth-child(5) .income-amount-line,
.results-table.results-table--summary td:nth-child(5) .income-ideas-line{text-align:center !important;}
