/* Profil podniku (podnik.html), sdílený checklist (podnik.html i pridat.html) a Pro podniky (pro-firmy.html).
   Verze 4 „Wherethru“ (DESIGN.md): oblé karty, jemné stíny, olivová značka, stav vždy tvar + text.
   Dashboard podniku: tmavý panel vlevo (#3A4A34), na mobilu záložky nahoře. */

/* ---------- Hlavička a prototyp ---------- */
.pd-head h1 { max-width: 18ch; }
.pd-proto { margin: 20px 0 0; max-width: 68ch; font-size: .95rem; }
.pd-find { padding-top: 8px; }
.pd-find .split-h h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.pd-find-card { display: flex; flex-direction: column; gap: 8px; }

/* Výsledky hledání (stejný vzhled jako v Přidat místo) */
.pd-pick { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 6px; max-height: 420px; overflow: auto; }
.pd-pick:empty { display: none; }
.pd-pick > li.muted { padding: 14px 4px; }
.pd-pick button[data-id] { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; text-align: left; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r); padding: 12px 14px; min-height: 60px; cursor: pointer; font: inherit; color: inherit; }
.pd-pick button[data-id]:hover { border-color: var(--brand-500); background: var(--brand-100); }
.pd-pick button[aria-pressed="true"] { border-color: var(--brand-500); background: var(--brand-200); }
.pd-pick small { display: block; color: var(--ink-3); font-size: .88rem; }
.pd-pick .pp-txt { min-width: 0; overflow-wrap: anywhere; }
.pd-pick .pp-mark { width: 26px; height: 26px; display: grid; place-items: center; color: transparent; border: 2px solid var(--line-strong); border-radius: 50%; }
.pd-pick .pp-mark svg { width: 16px; height: 16px; }
.pd-pick button[aria-pressed="true"] .pp-mark { background: var(--brand-900); border-color: var(--brand-900); color: var(--on-brand); }
.pd-pick .ck-wide { margin: 6px 0; }
.pd-mine-h { margin: 24px 0 8px; font-size: 1.05rem; }
.pd-mine { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pd-mine .rule-row { display: flex; flex-direction: column; gap: 2px; min-height: 56px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); background: var(--surface); }
.pd-mine .rule-row:hover { background: var(--brand-100); }
.pd-mine .rule-row[aria-current="true"] { border-color: var(--brand-500); background: var(--brand-200); }
.pd-mine small { color: var(--ink-3); }

/* ---------- Dashboard: tmavý panel vlevo, obsah vpravo ---------- */
.pd-dash { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(20px, 3vw, 32px); padding-block: 24px 72px; align-items: start; }
.pd-side { position: sticky; top: calc(var(--header-h) + 16px); background: #3A4A34; color: #F7F7F5; border-radius: var(--r-card); padding: 20px 14px; box-shadow: var(--shadow); --focus: #D9DED3; }
:root[data-theme="dark"] .pd-side { background: #2A3426; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pd-side { background: #2A3426; } }
.pd-side-brand { display: flex; align-items: center; gap: 10px; margin: 0 6px 18px; font: 400 1.15rem/1 var(--f-display); letter-spacing: -.02em; flex-wrap: wrap; }
.pd-side-brand b { font-weight: 700; }
.pd-side-brand img { width: 28px; height: 28px; }
.pd-side-brand small { flex-basis: 100%; font: 700 .72rem/1.2 var(--f-body); letter-spacing: .04em; color: #C9D3C2; margin-left: 38px; }
.pd-tabs { position: relative; display: flex; flex-direction: column; gap: 4px; }
.pd-tabs [role="tab"] { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 8px 12px; border: 0; border-radius: var(--r); background: transparent; color: #F7F7F5; font: 700 .98rem/1.2 var(--f-body); text-align: left; cursor: pointer; }
.pd-tabs [role="tab"] svg { width: 22px; height: 22px; flex: none; color: #C9D3C2; }
.pd-tabs [role="tab"]:hover { background: rgba(247, 247, 245, .1); }
.pd-tabs [role="tab"][aria-selected="true"] { background: #F7F7F5; color: #3A4A34; }
.pd-tabs [role="tab"][aria-selected="true"] svg { color: #3A4A34; }
.pd-tab-l { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pd-tab-l small { font: 400 .8rem/1.2 var(--f-body); color: #C9D3C2; }
.pd-tabs [aria-selected="true"] .pd-tab-l small { color: #4E5F47; }
.pd-side-links { display: flex; flex-direction: column; gap: 2px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(247, 247, 245, .18); }
.pd-side-links a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 6px 12px; border-radius: var(--r); color: #F7F7F5; text-decoration: none; font-weight: 600; font-size: .94rem; }
.pd-side-links a:hover { background: rgba(247, 247, 245, .1); color: #fff; }
.pd-side-links svg { width: 20px; height: 20px; color: #C9D3C2; flex: none; }
.pd-side-proto { margin: 16px 6px 0; font-size: .82rem; color: #C9D3C2; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pd-side-proto .proto-tag { background: #D9DED3; color: #3A4A34; }
.pd-main { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.pd-sec { scroll-margin-top: calc(var(--header-h) + 16px); min-width: 0; }
.pd-sec.card { padding: clamp(18px, 3vw, 28px); }
.pd-sec > h2 { margin: 0 0 18px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.pd-sec h2:focus { outline: none; }
.pd-sec > .kicker { margin-bottom: 6px; }
.pd-intro { color: var(--ink-2); max-width: 68ch; margin: -6px 0 20px; }
.pd-note { color: var(--ink-2); max-width: 68ch; }
.pd-empty { color: var(--ink-2); margin: 0 0 8px; padding: 14px 16px; background: var(--surface-2); border-radius: var(--r); }
.pd-err { color: var(--no); font-weight: 700; margin: 12px 0 0; }
.pd-err::before { content: "! "; }
@media (max-width: 899px) {
  .pd-dash { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-block: 0 56px; }
  .pd-side { position: sticky; top: var(--header-h); z-index: 20; margin-inline: calc(var(--gutter) * -1); border-radius: 0 0 var(--r-card) var(--r-card); padding: 8px var(--gutter) 10px; }
  .pd-side-brand, .pd-side-links, .pd-side-proto { display: none; }
  .pd-tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 6px; }
  .pd-tabs::-webkit-scrollbar { display: none; }
  .pd-tabs [role="tab"] { flex: none; width: auto; min-height: 48px; padding: 6px 14px; border-radius: var(--r-pill); font-size: .92rem; }
  .pd-tabs [role="tab"] svg { width: 20px; height: 20px; }
  .pd-tab-l small { display: none; }
}

/* Karta vybraného podniku */
.pd-place { scroll-margin-top: calc(var(--header-h) + 72px); padding: 16px; }
.pd-place:focus { outline: none; }
.pd-place:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.pd-place-in { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 16px 20px; align-items: center; }
.pd-place-media { margin: 0; width: 120px; }
.pd-place-media img { width: 120px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); background: var(--brand-100); }
.pd-place-media figcaption { font-size: .7rem; margin-top: 4px; line-height: 1.2; }
.pd-place-media figcaption a { color: var(--ink-3); }
.pd-place-media.no-photo { aspect-ratio: 4 / 3; border-radius: var(--r); background: var(--brand-100); display: grid; place-items: center; color: var(--brand-500); }
.pd-place-media.no-photo svg { width: 40px; height: 40px; }
.pd-place-txt { min-width: 0; }
.pd-place-cat { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font: 700 .76rem/1.2 var(--f-body); letter-spacing: .04em; color: var(--ink-3); }
.pd-place-cat svg { width: 18px; height: 18px; color: var(--brand-500); }
.pd-place-name { margin: 0; font-size: clamp(1.4rem, 3vw, 2rem); overflow-wrap: anywhere; }
.pd-place-meta { margin: 4px 0 0; color: var(--ink-3); font-size: .95rem; }
.pd-place-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.pd-place-side .row { justify-content: flex-end; }
@media (max-width: 760px) {
  .pd-place-in { grid-template-columns: 88px minmax(0, 1fr); }
  .pd-place-media, .pd-place-media img { width: 88px; }
  .pd-place-side { grid-column: 1 / -1; align-items: flex-start; }
  .pd-place-side .row { justify-content: flex-start; }
}

/* Přehled: kruh úplnosti, dlaždice, další krok */
.pd-ov { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.pd-ov-ring { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 32px; align-items: center; }
.pd-ov-ring h3 { margin: 0 0 6px; }
.pd-ring { position: relative; width: 136px; height: 136px; flex: none; }
.pd-ring svg { width: 100%; height: 100%; }
.pd-ring circle { fill: none; stroke-width: 12; }
.pd-ring-bg { stroke: var(--surface-3); }
.pd-ring-v { stroke: var(--brand-500); stroke-linecap: round; }
.pd-ring-n { position: absolute; inset: 0; display: grid; place-items: center; font: 700 1.7rem/1 var(--f-display); letter-spacing: -.02em; color: var(--heading); }
.pd-ov-areas { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 4px; }
.pd-ov-areas li { display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 32px; border-bottom: 1px solid var(--line); }
.pd-ov-areas li:last-child { border-bottom: 0; }
.pd-ov-areas .pd-ov-n { color: var(--ink-3); font-size: .9rem; white-space: nowrap; }
.pd-ov-areas { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); column-gap: 24px; }
.pd-ov-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pd-ov-tiles .tile { border-radius: var(--r-card); box-shadow: var(--shadow-sm); }
.pd-ov-tiles .tile .v { font-size: 1.5rem; }
.pd-ov-st .status { font-size: .95rem; }
.pd-ov-next { display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; flex-wrap: wrap; background: var(--brand-100); border-color: var(--brand-200); box-shadow: none; }
.pd-ov-next h3 { margin: 0 0 4px; }
.pd-ov-next p { margin: 0; }
@media (max-width: 520px) {
  .pd-ov-ring { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: left; }
  .pd-ov-ring > div:last-child { width: 100%; }
  .pd-ov-tiles { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Převzetí ---------- */
.pd-claim-form, .pd-sec .form-block { max-width: 680px; border: 0 !important; padding: 0 !important; box-shadow: none !important; background: none !important; }
.pd-claim-lead { margin: 0; }
.pd-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .pd-two { grid-template-columns: 1fr; } }
.pd-claimed { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.pd-kv { width: 100%; max-width: 620px; }
.pd-kv td { overflow-wrap: anywhere; }
.pd-kv td:first-child { overflow-wrap: normal; white-space: nowrap; width: 1%; font-weight: 700; }
.pd-locked { padding: 16px; background: var(--brand-100); border-radius: var(--r); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.pd-locked > p { display: flex; gap: 10px; margin: 0; }
.pd-locked > p svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--brand-900); }
.pd-step-preview { list-style: none; margin: 0; padding: 0; width: 100%; counter-reset: s; display: grid; gap: 6px; }
.pd-step-preview li { counter-increment: s; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 12px 8px 8px; background: var(--surface); border-radius: var(--r); }
.pd-step-preview li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-900); color: var(--on-brand); font: 700 .9rem var(--f-display); }
.pd-step-preview span { color: var(--ink-2); font-size: .93rem; }
@media (max-width: 420px) { .pd-step-preview li { grid-template-columns: 36px minmax(0, 1fr); } .pd-step-preview span { grid-column: 2; } }

/* ---------- Checklist ---------- */
.pd-progress { margin-bottom: 20px; }
.pd-progress p { margin: 8px 0 0; }
.pd-meter { height: 10px; background: var(--surface-3); border-radius: var(--r-pill); overflow: hidden; }
.pd-meter span { display: block; height: 100%; background: var(--brand-500); border-radius: var(--r-pill); }
.pd-saved { color: var(--ink-3); }
.ck-steps { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 8px; }
.ck-steps button { width: 100%; min-height: 64px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 2px 8px; align-items: center; text-align: left; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 8px 10px; color: var(--ink-2); font: 700 .9rem/1.2 var(--f-body); cursor: pointer; }
.ck-st-n { grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-2); font: 700 .8rem var(--f-display); }
.ck-st-l { min-width: 0; overflow-wrap: anywhere; }
.ck-st-c { grid-column: 2; font: 400 .8rem var(--f-mono); color: var(--ink-3); }
.ck-steps button:hover { border-color: var(--brand-500); }
.ck-steps button.is-part .ck-st-n { background: var(--brand-200); color: var(--brand-900); }
.ck-steps button.is-done .ck-st-n { background: var(--brand-500); color: #fff; }
.ck-steps button.is-done .ck-st-c::before { content: "✓ "; }
.ck-steps button[aria-current="step"] { border-color: var(--brand-900); background: var(--brand-100); color: var(--ink); box-shadow: inset 0 0 0 1px var(--brand-900); }
.ck-steps button[aria-current="step"] .ck-st-n { background: var(--brand-900); color: var(--on-brand); }
@media (max-width: 560px) {
  .ck-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ck-steps button { min-height: 56px; font-size: .84rem; }
}
.ck-panel { padding-top: 4px; }
.ck-h { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: clamp(1.25rem, 2.4vw, 1.5rem); }
.ck-h svg { width: 26px; height: 26px; flex: none; color: var(--brand-500); }
.ck-h:focus { outline: none; }
.ck-intro { color: var(--ink-2); margin: 0 0 8px; max-width: 62ch; }
.ck-help { margin: 20px 0 0; color: var(--ink-2); }
.ck-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.ck-nav .btn { min-width: 140px; }
@media (max-width: 420px) { .ck-nav .btn { flex: 1 1 100%; } .ck-nav > span { display: none; } }

/* Položka checklistu (sdílená s pridat.html) */
.ck-item { border: 0; margin: 0; padding: 18px 0; border-bottom: 1px solid var(--line); min-width: 0; display: flex; flex-direction: column; gap: 8px; }
fieldset.ck-item { display: block; }
fieldset.ck-item > * + * { margin-top: 8px; }
.ck-item legend, .ck-item > label { font: 700 1.06rem/1.25 var(--f-body); padding: 0; color: var(--ink); }
fieldset.ck-item legend { float: left; width: 100%; margin-bottom: 8px; }
fieldset.ck-item legend + * { clear: both; }
.ck-how { margin: 0; color: var(--ink-2); font-size: .93rem; max-width: 62ch; }
.ck-now { margin: 0; font-size: .88rem; color: var(--ink-2); padding: 6px 10px; background: var(--surface-2); border-radius: var(--r-sm); }
.ck-now-src { color: var(--ink-3); }
.ck-num { max-width: 240px; }
.ck-num input { padding-right: 76px; }
.ck-num input, .ck-item textarea { width: 100%; min-height: 48px; font-size: 1.05rem; }
.ck-item textarea { min-height: 96px; }
.ck-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.ck-opt { position: relative; display: inline-flex; }
.ck-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ck-opt span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border: 1.5px solid var(--line-strong); border-radius: var(--r-pill); background: var(--surface); color: var(--ink); font-weight: 700; pointer-events: none; }
.ck-opt-unk span { border-style: dashed; color: var(--ink-2); }
.ck-opt:hover span { background: var(--surface-2); border-color: var(--brand-500); }
.ck-opt input:checked + span { background: var(--brand-900); color: var(--on-brand); border-color: var(--brand-900); border-style: solid; }
/* Zvolená možnost: kromě barvy i tvar (fajfka) */
.ck-opt input:checked + span::before { content: ""; width: 6px; height: 11px; border: solid currentColor; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -2px); }
.ck-opt input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Fotky k části checklistu */
.ck-photos { padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.ck-ph-head { display: flex; flex-direction: column; gap: 4px; }
.ck-ph-head h4 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 1.06rem; }
.ck-ph-head h4 svg { width: 20px; height: 20px; color: var(--brand-500); }
.ck-ph-head h4:focus { outline: none; }
.ck-ph-list { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 16px; }
.ck-ph-list:empty { display: none; }
.ck-ph-list figure { margin: 0; }
.ck-ph-list img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface-2); border-radius: var(--r); }
.ck-ph-list figcaption { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 6px; font-size: .82rem; color: var(--ink-2); }
.ck-ph-new { font-style: italic; }
.ck-ph-list .btn-quiet { padding-inline: 0; }

/* Souhrn */
.ck-sum-h { margin: 28px 0 8px; font-size: 1.1rem; }
table.ck-sum { width: 100%; }
table.ck-sum td { vertical-align: top; overflow-wrap: anywhere; }
table.ck-sum td:first-child { width: 55%; color: var(--ink-2); }
.ck-sum-area th { text-align: left; padding: 14px 14px 6px; font: 700 1rem var(--f-display); background: var(--brand-100); }
.ck-sum-area .btn { min-height: 40px; margin-left: 8px; }

/* ---------- Náhled veřejného profilu ---------- */
.pv-top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pv-tile { border-radius: var(--r-card); }
.pv-tile small { color: var(--ink-2); font-size: .86rem; }
.tile .v.pv-big { font: 700 clamp(2rem, 4.5vw, 2.8rem)/1 var(--f-display); letter-spacing: -.02em; }
@media (max-width: 640px) { .pv-top { grid-template-columns: 1fr; gap: 12px; } }
.pv-marks { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 8px; }
.pv-mark { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r-pill); font-weight: 700; font-size: .92rem; }
.pv-mark svg { width: 18px; height: 18px; }
.pv-mark.is-on { background: var(--brand-200); color: var(--brand-900); border-color: var(--brand-500); }
.pv-expl { max-width: 68ch; }
.pv-h { margin: 28px 0 12px; font-size: 1.12rem; }
.pv-areas { list-style: none; margin: 0; padding: 0; }
.pv-area { display: grid; grid-template-columns: 9rem minmax(0, 1fr) 6.5rem; gap: 4px 16px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pv-a-l { font-weight: 700; }
.pv-bar { height: 10px; background: var(--surface-3); border-radius: var(--r-pill); overflow: hidden; }
.pv-bar span { display: block; height: 100%; background: var(--brand-500); border-radius: var(--r-pill); }
.pv-a-v { text-align: right; font-family: var(--f-mono); }
.pv-a-d { grid-column: 2 / -1; color: var(--ink-3); font-size: .82rem; }
@media (max-width: 480px) { .pv-area { grid-template-columns: minmax(0, 1fr) auto; } .pv-bar { grid-column: 1 / -1; grid-row: 2; } .pv-a-d { grid-column: 1 / -1; } }
.pv-feats { padding: 4px 16px; }
.pv-feat { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pv-feat:last-child { border-bottom: 0; }
.pv-f-l { min-width: 0; font-weight: 700; }
.pv-f-l small { display: block; font-weight: 400; color: var(--ink-3); font-size: .84rem; overflow-wrap: anywhere; }
@media (max-width: 560px) { .pv-feat { grid-template-columns: minmax(0, 1fr) auto; } .pv-feat .badge { grid-column: 1 / -1; justify-self: start; } }
.pv-photos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 16px; }
.pv-photos figcaption { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.pv-desc { max-width: 68ch; white-space: pre-line; margin: 0; }
.pv-photo-link { margin-top: 20px; }

/* ---------- Proč vyplnit ---------- */
.pd-why { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pd-why > li { border: 0 !important; background: var(--surface-2); border-radius: var(--r); padding: 16px 18px !important; }
.pd-why h3 { font-size: 1.05rem; }
.pd-live { margin: 12px 0 0 !important; padding: 10px 0 0; border-top: 1px dashed var(--line-strong); color: var(--ink) !important; display: flex; flex-direction: column; gap: 4px; }
.pd-live small { color: var(--ink-2); }
@media (max-width: 640px) { .pd-why { grid-template-columns: 1fr; } }

/* ---------- Statistiky ---------- */
.pd-chart-empty { margin: 0 0 20px; display: grid; gap: 10px; }
.pd-chart-frame { height: 150px; border-radius: var(--r); background: var(--surface-2); border: 1.5px dashed var(--line-strong); display: grid; grid-template-rows: repeat(4, 1fr); padding: 12px 16px; }
.pd-chart-frame span { border-bottom: 1px solid var(--line); }
.pd-chart-empty figcaption { font-size: .95rem; }
.pd-stat-note { max-width: 68ch; margin: 0 0 20px; }
.pd-stat-list { list-style: none; margin: 0 0 12px; padding: 4px 16px; }
.pd-stat-row { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 14px; align-items: center; min-height: 52px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pd-stat-row:last-child { border-bottom: 0; }
.pd-stat-row svg { width: 22px; height: 22px; color: var(--brand-500); }
.pd-stat-row b { font: 700 1.5rem/1 var(--f-display); letter-spacing: -.02em; color: var(--heading); }
.pd-req { padding: 4px 16px; }
.pd-req .rule-row { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 4px 16px; }
.pd-req small { display: block; color: var(--ink-2); }
@media (max-width: 480px) { .pd-req .rule-row { grid-template-columns: 1fr; } }

/* ---------- Co zlepšit ---------- */
.pd-adv, .pd-miss { list-style: none; margin: 0 0 12px; padding: 4px 16px; }
.pd-adv-row { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 6px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pd-adv-row:last-child, .pd-miss-row:last-child { border-bottom: 0; }
.pd-adv-row p { margin: 4px 0 0; color: var(--ink-2); max-width: 62ch; }
@media (max-width: 480px) { .pd-adv-row { grid-template-columns: 1fr; } }
.pd-miss-row { display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; flex-wrap: wrap; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pd-miss-row > div { min-width: 0; flex: 1 1 260px; }
.pd-miss-row small { display: block; color: var(--ink-2); }
.pd-sup-block { padding: 14px 0; border-top: 1px solid var(--line); }
.pd-sup-block h4 { margin: 0 0 6px; font-size: 1.02rem; }
.pd-sup-block p { margin: 0 0 6px; max-width: 68ch; }
.pd-links { margin: 0; padding-left: 1.1em; }
.pd-links li { margin: 6px 0; overflow-wrap: anywhere; }

/* ---------- Služby a tarify podniku ---------- */
.pd-services { list-style: none; margin: 0; padding: 4px 18px; }
.pd-services .rule-row { display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: 4px 20px; }
.pd-services span { color: var(--ink-2); }
@media (max-width: 560px) { .pd-services .rule-row { grid-template-columns: 1fr; } }
.pd-svc-note { margin-top: 16px; }
.pd-tier-now { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 16px; padding: 14px 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.pd-tier-now p { margin: 0; flex: 1 1 260px; }
.pd-tier-tag { display: inline-flex; align-items: center; font: 700 .78rem/1.3 var(--f-body); letter-spacing: .02em; padding: 3px 10px; border: 1.5px solid var(--line-strong); border-radius: var(--r-pill); background: var(--surface); color: var(--ink-2); }
.pd-tier-tag.is-biz { background: var(--inverse); color: var(--on-inverse); border-color: var(--inverse); }
.pd-cmp th[scope="row"] { font: 600 .95rem/1.3 var(--f-body); color: var(--ink); background: transparent; }
.pd-cmp thead th:not(:first-child), .pd-cmp td { text-align: center; width: 22%; }
.table-wrap > table.data.pd-cmp { min-width: 0; }
.pd-yes, .pd-no { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.pd-yes svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--brand-200); color: var(--brand-900); }
.pd-no { color: var(--ink-3); font-weight: 600; }
.pd-no i { display: inline-block; width: 14px; height: 2px; background: currentColor; }
@media (max-width: 480px) { .pd-cmp th, .pd-cmp td { padding: 10px 4px !important; } .pd-yes span, .pd-no span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
.pd-stat-row .pd-lock { font: 600 .85rem var(--f-body); color: var(--ink-2); text-align: right; }
.pd-stat-row.is-locked span { color: var(--ink-2); }
.pd-stat-grp { margin: 24px 0 6px; font: 700 .78rem/1.2 var(--f-body); letter-spacing: .04em; color: var(--ink-3); }
.pd-stat-grp .pd-tier-tag { margin-left: 8px; vertical-align: middle; letter-spacing: 0; text-transform: none; }
.pd-int { list-style: none; margin: 0; padding: 0; }
.pd-int li { display: grid; grid-template-columns: 9rem minmax(0, 1fr) 2.5rem; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.pd-int b { font: 700 .95rem var(--f-mono); text-align: right; }
@media (max-width: 480px) { .pd-int li { grid-template-columns: minmax(0, 1fr) 2.5rem; } .pd-int .rp-bar { grid-column: 1 / -1; grid-row: 2; } }
.pd-future { margin: 8px 0 0; padding-left: 1.1em; color: var(--ink-2); }
.pd-future li { margin: 0 0 6px; }
.pd-tarify { scroll-margin-top: var(--header-h); }
.pd-csv-row { margin-top: 16px; }
.pd-stat-up { margin-top: 16px; }

/* ---------- Přidat místo: volba druhu příspěvku a hlášení změny ---------- */
.pr-modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 8px; }
.pr-modes label { display: flex; flex-direction: column; gap: 2px; padding: 12px 12px 12px 44px; min-height: 64px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--surface); cursor: pointer; position: relative; }
.pr-modes input { position: absolute; left: 14px; top: 15px; width: 20px; height: 20px; margin: 0; accent-color: var(--brand-900); }
.pr-modes b { font-size: 1.02rem; }
.pr-modes small { color: var(--ink-2); }
.pr-modes label:has(input:checked) { background: var(--brand-200); border-color: var(--brand-500); color: var(--brand-900); }
.pr-modes label:has(input:checked) small { color: var(--ink-2); }
.pr-proto { margin: 0; padding: 10px 14px; border-radius: var(--r); background: var(--brand-100); border: 1px solid var(--brand-200); font-size: .92rem; }
.pr-ck { grid-template-columns: minmax(0, 1fr) !important; gap: 0 !important; }
.pr-ck .ck-item:last-child { border-bottom: 0; }
.ck-wide { white-space: normal; text-align: left; height: auto; }
/* V Přidat místo: položka checklistu uvnitř .fgroup nepřebírá styl nadpisu části */
.fgroup .ck-item legend { font: 700 1.06rem/1.25 var(--f-body); letter-spacing: 0; border-bottom: 0; padding: 0; margin: 0 0 8px; }
.fgroup .ck-intro { margin: 0; }

/* ---------- Pro podniky, obce a destinace (pro-firmy.html) ---------- */
.pf-plan-note { margin: 0; padding: 10px 0 0; border-top: 1px dashed currentColor; opacity: .9; }
.pf-plan-btns { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.pf-plan-btns .btn { margin-top: 0; }
.pf-promo-demo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 20px 0 0; }
.badge.pf-promo { background: var(--surface); color: var(--ink); border: 1.5px dashed var(--ink-3); font-weight: 700; }
.pf-lic-price { margin: 16px 0 8px; max-width: 68ch; }
.pf-jck { margin-top: 20px; }
.pf-jck p { margin: 0 0 8px; }
.pf-jck p:last-child { margin: 0; }
.pf-obce-row { margin-top: 20px; }

/* Ukázka reportu pro obce a destinace */
.rp-controls { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr) minmax(0, 1fr); gap: 12px 20px; }
.rp-controls select { min-height: 48px; }
@media (max-width: 760px) { .rp-controls { grid-template-columns: 1fr; } }
.rp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 20px 0 24px; }
.rp-stat { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-sm); min-width: 0; }
.rp-stat:nth-child(3) { background: var(--inverse); border-color: var(--inverse); color: var(--on-inverse); }
.rp-stat:nth-child(3) .rp-n, .rp-stat:nth-child(3) .rp-l { color: var(--on-inverse); }
.rp-stat:nth-child(3) small { color: var(--on-inverse-2); }
.rp-n { font: 700 clamp(1.9rem, 4vw, 2.6rem)/1 var(--f-display); letter-spacing: -.02em; color: var(--heading); }
.rp-l { font-weight: 700; }
.rp-stat small { color: var(--ink-2); font-size: .86rem; }
@media (max-width: 900px) { .rp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 400px) { .rp-stats { grid-template-columns: minmax(0, 1fr); } }
.rp-table caption { text-align: left; font-weight: 700; padding: 12px 14px; caption-side: top; }
.rp-table th[scope="row"] { font: 700 .95rem/1.3 var(--f-body); color: var(--ink); background: transparent; }
.rp-table td.num { font-family: var(--f-mono); white-space: nowrap; }
.rp-cell { display: grid; grid-template-columns: minmax(48px, 1fr) 3.4rem; gap: 10px; align-items: center; min-width: 9rem; }
.rp-cell b { font: 700 .95rem var(--f-mono); text-align: right; }
.rp-bar { height: 10px; background: var(--surface-3); border-radius: var(--r-pill); overflow: hidden; }
.rp-bar i { display: block; height: 100%; background: var(--brand-500); border-radius: var(--r-pill); }
.table-wrap > table.data.rp-table { min-width: 46rem; }
.rp-table-wrap { overflow-x: auto; }
.rp-count { margin: 10px 0 0; }
.rp-actions { margin-top: 16px; }
.rp-actions .btn svg { width: 18px; height: 18px; transform: rotate(180deg); }
.rp-notes { margin-top: 32px; max-width: 72ch; }
.rp-note-list { margin: 0; padding-left: 1.1em; color: var(--ink-2); }
.rp-note-list li { margin: 0 0 8px; }
.rp-cat-h { margin-top: 40px; }
.rp-cat-note { margin: 0 0 8px; max-width: 70ch; }
