/* =============================================================
   AGITECH — veřejná podpora (www.agi-tech.cz/podpora/)
   Doplněk k /assets/style.css webu. Vše je pod třídou .podpora,
   barvy, písma a tlačítka se berou z tokenů webu (--blue, --line …).
   Popis tříd a příklady: podpora/SPEC.md, živá ukázka: c5/stranky/_vzor.html
   ============================================================= */

.podpora {
  --pd-varovani: #b3423a;      --pd-varovani-bg: #fbefee;   --pd-varovani-line: #efcdca;
  --pd-pozor: #9a5b00;         --pd-pozor-bg: #fdf6e8;      --pd-pozor-line: #f0dcb4;
  --pd-poznamka: var(--blue);  --pd-poznamka-bg: #eef3f9;   --pd-poznamka-line: #cfdcec;
  --pd-tip: #2e7d4f;           --pd-tip-bg: #edf6f0;        --pd-tip-line: #c6e2d1;
  --led-bila: #f4f6fb; --led-modra: #3b7bf2; --led-zelena: #22b36b; --led-cervena: #e3433c; --led-zluta: #f2b807;
  --pd-side: 264px;
  --pd-text: 720px;
  --pd-top: calc(var(--header-h) + 20px);
  padding-bottom: 72px;
}
.podpora [id] { scroll-margin-top: var(--pd-top); }
.podpora .breadcrumbs { margin: 0 0 18px; }

/* ---------- ikony (čárové, sprite #i-… v _nav.html) ---------- */
.pd-ico {
  width: 22px; height: 22px; flex: none; display: inline-block; vertical-align: middle;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.pd-ico.s { width: 18px; height: 18px; }
.pd-ico.l { width: 28px; height: 28px; stroke-width: 1.6; }
.pd-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- štítky ---------- */
.pd-stitek, .pd-jazyk {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 600; font-size: 11.5px; line-height: 1;
  letter-spacing: .07em; text-transform: uppercase;
  padding: 5px 8px; border-radius: 6px; border: 1px solid var(--line);
  color: var(--antracit); background: #fff; white-space: nowrap;
}
.pd-stitek.modry { color: var(--blue); border-color: #c9d8ea; background: #f1f5fa; }
.pd-stitek.pripravujeme { color: var(--muted); background: var(--cloud-soft); }
.pd-jazyk { min-width: 32px; justify-content: center; }
.pd-jazyk.cz { color: #fff; background: var(--blue); border-color: var(--blue); }
.pd-jazyk.en, .pd-jazyk.cn { color: var(--antracit); background: var(--cloud); border-color: var(--line); } /* cn = čínský originál */

/* popisek tlačítka / položky na displeji robota nebo v aplikaci */
.pd-ui {
  display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .9em; line-height: 1.3;
  color: var(--antracit); background: var(--cloud-soft); border: 1px solid var(--line);
  border-radius: 6px; padding: 0 7px; white-space: nowrap;
}

/* ---------- hero (rozcestník podpory, úvod C5) ---------- */
.pd-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.pd-hero::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  right: -4%; top: -30%; width: min(42vw, 560px); aspect-ratio: 132 / 100;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 100'%3E%3Cpath d='M66 4 L128 96 L4 96 Z' fill='none' stroke='%23336699' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: .12;
}
.pd-hero-in {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center;
  padding-top: 26px; padding-bottom: 44px;
}
.pd-hero.bez-obr .pd-hero-in { grid-template-columns: minmax(0, 1fr); padding-bottom: 52px; }
.pd-hero .breadcrumbs { margin: 0 0 26px; }
.pd-hero h1 { font-size: clamp(32px, 4.4vw, 48px); margin-bottom: .3em; }
.pd-hero h1 small { display: block; font-size: .42em; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-top: .45em; }
.pd-hero .pd-perex { font-size: 18px; color: var(--muted); max-width: 56ch; margin-bottom: 0; }
.pd-hero-akce { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.pd-hero-obr { margin: 0; position: relative; }
.pd-hero-obr img { width: 100%; height: auto; filter: drop-shadow(0 18px 24px rgba(51, 49, 50, .16)); }
@media (max-width: 860px) {
  .pd-hero-in { grid-template-columns: 1fr; gap: 20px; padding-bottom: 32px; }
  .pd-hero-obr { max-width: 460px; order: 2; }
  .pd-hero .pd-perex { font-size: 16.5px; }
}

/* ---------- sekce a nadpisy sekcí ---------- */
.pd-sekce { padding: 48px 0 0; }
.pd-sekce > .wrap > h2, .pd-sekce-hlava h2 { font-size: clamp(23px, 2.6vw, 28px); margin-bottom: .35em; }
.pd-sekce-hlava { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 20px; }
.pd-sekce-hlava p { margin: 0; color: var(--muted); }
.pd-sekce-hlava a { font-family: var(--font-head); font-weight: 600; font-size: 15px; }

/* ---------- dlaždice rychlých akcí ---------- */
.pd-dlazdice { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 0 8px; }
@media (max-width: 1020px) { .pd-dlazdice { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .pd-dlazdice { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.pd-dlazdice-i {
  display: flex; flex-direction: column; gap: 4px; position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 18px 16px; color: inherit; box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.pd-dlazdice-i:hover { text-decoration: none; border-color: #c3cfdf; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pd-dlazdice-i .pd-ico {
  width: 40px; height: 40px; padding: 9px; margin-bottom: 8px; stroke-width: 1.7;
  color: var(--blue); background: #eef3f9; border-radius: 10px;
}
.pd-dlazdice-i b { font-family: var(--font-head); font-weight: 600; font-size: 16.5px; color: var(--antracit); line-height: 1.25; }
.pd-dlazdice-i span { font-size: 14px; color: var(--muted); line-height: 1.45; }
.pd-dlazdice-i.hlavni { background: var(--blue); border-color: var(--blue); }
.pd-dlazdice-i.hlavni b { color: #fff; }
.pd-dlazdice-i.hlavni span { color: rgba(255, 255, 255, .82); }
.pd-dlazdice-i.hlavni .pd-ico { color: #fff; background: rgba(255, 255, 255, .14); }
@media (max-width: 480px) {
  .pd-dlazdice-i { padding: 14px 14px 13px; }
  .pd-dlazdice-i .pd-ico { width: 34px; height: 34px; padding: 7px; margin-bottom: 4px; }
  .pd-dlazdice-i b { font-size: 15px; }
  .pd-dlazdice-i span { font-size: 13px; }
}

/* ---------- produkty na rozcestníku (/podpora/) ---------- */
.pd-produkty { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1020px) { .pd-produkty { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pd-produkty { grid-template-columns: 1fr; } }
.pd-produkty .prod-card .ph { aspect-ratio: 16 / 10; }
.pd-produkty .prod-card.pripravujeme { box-shadow: none; background: var(--cloud-soft); }
.pd-produkty .prod-card.pripravujeme:hover { transform: none; box-shadow: none; }
.pd-produkty .prod-card.pripravujeme .ph img { opacity: .55; filter: grayscale(.4); }
.pd-produkty .prod-card .pd-stitek { position: absolute; left: 14px; top: 14px; z-index: 2; }

/* ---------- rozvržení stránek s bočním menu ---------- */
.pd-layout {
  display: grid; grid-template-columns: var(--pd-side) minmax(0, 1fr); gap: 22px 48px;
  align-items: start; padding-top: 22px;
}
.pd-layout > .breadcrumbs { grid-column: 1 / -1; margin: 0; }
.pd-clanek { min-width: 0; max-width: var(--pd-text); }
.pd-clanek.siroky { max-width: none; }
@media (max-width: 999px) {
  .pd-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: 16px; }
}

/* boční navigace — desktop: sticky panel, mobil: rozbalovací <details> */
.pd-bok { position: sticky; top: var(--pd-top); max-height: calc(100vh - var(--pd-top) - 16px); overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
@media (max-width: 999px) { .pd-bok { position: static; max-height: none; overflow: visible; } }
.pd-nav { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.pd-nav > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; font-family: var(--font-head); font-weight: 600; font-size: 15.5px; color: var(--antracit);
}
.pd-nav > summary::-webkit-details-marker { display: none; }
.pd-nav > summary img { width: 38px; height: 38px; object-fit: contain; border-radius: 8px; background: var(--cloud-soft); }
.pd-nav > summary .pd-nav-kde { display: block; font-family: var(--font-body); font-weight: 400; font-size: 13px; color: var(--muted); }
.pd-nav > summary::after {
  content: ""; margin-left: auto; width: 10px; height: 10px; flex: none;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: translateY(-3px) rotate(45deg); transition: transform .2s;
}
.pd-nav[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.pd-nav[open] > summary { border-bottom: 1px solid var(--line-soft); }
@media (min-width: 1000px) {
  .pd-nav { border: 0; background: transparent; }
  .pd-nav[open] > summary { display: none; }
}
.pd-nav-produkt {
  display: flex; align-items: center; gap: 12px; padding: 0 0 16px; margin-bottom: 8px;
  border-bottom: 1px solid var(--line-soft); color: inherit;
}
.pd-nav-produkt:hover { text-decoration: none; }
.pd-nav-produkt img { width: 52px; height: 52px; object-fit: contain; border-radius: 10px; background: var(--cloud-soft); border: 1px solid var(--line-soft); }
.pd-nav-produkt b { display: block; font-family: var(--font-head); font-size: 16.5px; color: var(--antracit); line-height: 1.2; }
.pd-nav-produkt span { font-size: 13px; color: var(--muted); }
@media (max-width: 999px) { .pd-nav-produkt { display: none; } }
.pd-nav-telo { padding: 8px 8px 12px; }
@media (min-width: 1000px) { .pd-nav-telo { padding: 0; } }
.pd-nav-skupina {
  font-family: var(--font-head); font-size: 11.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted); margin: 16px 10px 6px;
}
.pd-nav-skupina:first-of-type { margin-top: 8px; }
.pd-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.pd-nav a {
  display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 8px;
  font-family: var(--font-head); font-weight: 500; font-size: 15px; color: var(--ink); line-height: 1.3;
}
.pd-nav a .pd-ico { width: 19px; height: 19px; color: #8a96a8; }
.pd-nav a:hover { background: var(--cloud-soft); color: var(--blue); text-decoration: none; }
.pd-nav a:hover .pd-ico { color: var(--blue); }
.pd-nav a[aria-current="page"],
.podpora[data-stranka="c5"] .pd-nav a[data-slug="c5"],
.podpora[data-stranka="rychly-start"] .pd-nav a[data-slug="rychly-start"],
.podpora[data-stranka="postupy"] .pd-nav a[data-slug="postupy"],
.podpora[data-stranka="stavy"] .pd-nav a[data-slug="stavy"],
.podpora[data-stranka="udrzba"] .pd-nav a[data-slug="udrzba"],
.podpora[data-stranka="poruchy"] .pd-nav a[data-slug="poruchy"],
.podpora[data-stranka="bezpecnost"] .pd-nav a[data-slug="bezpecnost"],
.podpora[data-stranka="instalace"] .pd-nav a[data-slug="instalace"],
.podpora[data-stranka="parametry"] .pd-nav a[data-slug="parametry"],
.podpora[data-stranka="dokumenty"] .pd-nav a[data-slug="dokumenty"],
.podpora[data-stranka="navod"] .pd-nav a[data-slug="navod"] {
  background: #eaf0f7; color: var(--blue); font-weight: 600;
  box-shadow: inset 3px 0 0 var(--blue);
}
.pd-nav a[aria-current="page"] .pd-ico,
.podpora[data-stranka] .pd-nav a[aria-current="page"] .pd-ico { color: var(--blue); }
.pd-nav-pomoc {
  margin: 18px 0 0; padding: 14px; border-radius: 10px; background: var(--cloud-soft);
  border: 1px solid var(--line-soft); font-size: 14px; color: var(--muted);
}
.pd-nav-pomoc b { display: block; font-family: var(--font-head); color: var(--antracit); font-size: 14.5px; margin-bottom: 2px; }
.pd-nav-pomoc a { display: inline; padding: 0; font-family: var(--font-body); font-size: 14px; color: var(--blue); background: none; box-shadow: none; }
@media (max-width: 999px) { .pd-nav-pomoc { margin: 12px 2px 2px; } }

/* ---------- hlavička článku ---------- */
.pd-hlava { margin-bottom: 26px; }
.pd-hlava .eyebrow { margin-bottom: 10px; }
.pd-hlava h1 { font-size: clamp(29px, 3.6vw, 40px); margin-bottom: .3em; }
.pd-perex { font-size: 18px; color: var(--muted); line-height: 1.6; max-width: 62ch; }
.pd-hlava .pd-perex { margin-bottom: 0; }
.pd-hlava-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
@media (max-width: 640px) { .pd-perex { font-size: 16.5px; } }

/* ---------- typografie obsahu ---------- */
.pd-clanek > h2, .pd-clanek section > h2, .pd-blok > h2 {
  font-size: clamp(22px, 2.4vw, 26px); margin: 44px 0 14px; padding-top: 22px; border-top: 1px solid var(--line-soft);
}
.pd-clanek > .pd-hlava + h2, .pd-clanek > .pd-toc + h2, .pd-clanek > h2:first-child { border-top: 0; padding-top: 0; margin-top: 8px; }
.pd-clanek h3 { font-size: 18.5px; margin: 28px 0 10px; }
.pd-clanek h4 { font-size: 16px; margin: 20px 0 8px; }
.pd-clanek p, .pd-clanek li { text-wrap: pretty; }
.pd-clanek ul:not([class]), .pd-clanek ol:not([class]) { padding-left: 1.3em; }
.pd-clanek ul:not([class]) li, .pd-clanek ol:not([class]) li { margin-bottom: .35em; }
.pd-clanek ul:not([class]) li::marker { color: var(--blue); }
.pd-clanek ol:not([class]) li::marker { color: var(--blue); font-family: var(--font-head); font-weight: 600; }
.pd-clanek b, .pd-clanek strong { font-weight: 600; color: var(--antracit); }
.pd-clanek hr { border: 0; border-top: 1px solid var(--line-soft); margin: 32px 0; }
.pd-poznamka-pod { font-size: 13.5px; color: var(--muted); }

/* ---------- obsah stránky (generuje podpora.js z h2[id]) ---------- */
.pd-toc { margin: 0 0 30px; padding: 14px 18px 12px; border-left: 3px solid var(--blue); background: var(--cloud-soft); border-radius: 0 10px 10px 0; }
.pd-toc:empty { display: none; }
.pd-toc b { display: block; font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.pd-toc ol, .podpora .pd-toc ol { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 28px; }
.pd-toc li { break-inside: avoid; padding: 3px 0; font-size: 15px; line-height: 1.4; }
.pd-toc a { color: var(--ink); }
.pd-toc a:hover { color: var(--blue); }
@media (max-width: 640px) { .pd-toc ol, .podpora .pd-toc ol { columns: 1; } }

/* ---------- číslované kroky ---------- */
ol.pd-kroky { list-style: none; counter-reset: pdkrok; padding: 0; margin: 0 0 1.4em; }
ol.pd-kroky > li {
  counter-increment: pdkrok; position: relative;
  padding: 3px 0 18px 48px; min-height: 32px;
}
ol.pd-kroky > li::before {
  content: counter(pdkrok); position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; line-height: 1;
  color: var(--blue); background: #fff; border: 1.5px solid var(--blue);
  font-variant-numeric: tabular-nums;
}
ol.pd-kroky > li::after {
  content: ""; position: absolute; left: 15.25px; top: 36px; bottom: 2px; width: 1.5px; background: var(--line);
}
ol.pd-kroky > li:last-child { padding-bottom: 4px; }
ol.pd-kroky > li:last-child::after { display: none; }
ol.pd-kroky > li > :last-child { margin-bottom: 0; }
ol.pd-kroky > li > p { margin: 0 0 .5em; }
ol.pd-kroky > li > ul, ol.pd-kroky > li > ol { margin: .3em 0 .5em; }
ol.pd-kroky .vystraha { margin: 10px 0 4px; }
ol.pd-kroky .pd-krok-obr { margin: 10px 0 4px; max-width: min(420px, 100%); border: 1px solid var(--line); border-radius: 10px; background: #fff; }
/* pokračování číslování: <ol class="pd-kroky" style="counter-reset: pdkrok 4"> začne krokem 5 */

/* ---------- kontrolní seznam ---------- */
ul.pd-check { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
ul.pd-check > li { position: relative; padding-left: 32px; }
ul.pd-check > li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 21px; height: 21px; border-radius: 6px;
  background: #eaf0f7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23336699' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat center / 15px;
}
ul.pd-check.prazdny > li::before { background: #fff; border: 1.5px solid #9fb1c7; }
ul.pd-check > li b:first-child { color: var(--antracit); }
ul.pd-check > li span.pd-check-pozn { display: block; font-size: 14.5px; color: var(--muted); }
ul.pd-check.dva-sloupce { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; }
@media (max-width: 640px) { ul.pd-check.dva-sloupce { grid-template-columns: 1fr; } }

/* ---------- postupy (rozbalovací návody) ---------- */
details.pd-postup {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  margin: 0 0 12px; box-shadow: var(--shadow-sm);
}
details.pd-postup > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: var(--radius);
}
details.pd-postup > summary::-webkit-details-marker { display: none; }
details.pd-postup > summary:hover { background: var(--cloud-soft); }
details.pd-postup > summary > .pd-ico { color: var(--blue); }
.pd-postup-nazev { flex: 1; font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--antracit); line-height: 1.3; }
.pd-postup-nazev small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 14px; color: var(--muted); margin-top: 2px; }
.pd-postup-cas { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); white-space: nowrap; }
details.pd-postup > summary::after {
  content: ""; width: 9px; height: 9px; flex: none; margin-left: 4px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: translateY(-3px) rotate(45deg); transition: transform .2s;
}
details.pd-postup[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
details.pd-postup[open] > summary { border-bottom: 1px solid var(--line-soft); border-radius: var(--radius) var(--radius) 0 0; }
.pd-postup-telo { padding: 20px 20px 8px; }
@media (max-width: 560px) {
  details.pd-postup > summary { padding: 14px; gap: 10px; flex-wrap: wrap; }
  details.pd-postup > summary > .pd-ico { display: none; }
  .pd-postup-telo { padding: 16px 14px 4px; }
}

/* ---------- světelný pás (LED) ---------- */
.pd-ledy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 1.4em; }
.pd-ledy.jeden-sloupec { grid-template-columns: 1fr; }
@media (max-width: 640px) { .pd-ledy { grid-template-columns: 1fr; } }
.pd-led {
  display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px;
}
.pd-led.chyba { border-color: var(--pd-varovani-line); background: #fffbfa; }
.pd-led-text b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--antracit); line-height: 1.3; }
.pd-led-popis { display: block; font-size: 13.5px; color: var(--muted); margin-top: 1px; }
.pd-led-text p { font-size: 14.5px; margin: 8px 0 0; }
/* „hlava robota“: tmavá lišta, na ní svítící pás */
.pd-led-pas {
  position: relative; display: block; height: 40px; margin-top: 2px;
  border-radius: 10px; background: linear-gradient(180deg, #2b2c30, #17181b);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.pd-led-pas::before {
  content: ""; position: absolute; left: 12px; right: 12px; top: 50%; height: 8px; margin-top: -4px;
  border-radius: 6px; background: var(--c, #555); box-shadow: 0 0 10px 1px var(--c, transparent), 0 0 2px var(--c, transparent);
}
.pd-led-pas.bila { --c: var(--led-bila); }
.pd-led-pas.modra { --c: var(--led-modra); }
.pd-led-pas.zelena { --c: var(--led-zelena); }
.pd-led-pas.cervena { --c: var(--led-cervena); }
.pd-led-pas.zluta { --c: var(--led-zluta); }           /* D1 Max: výstraha, nízký stav baterie */
.pd-led-pas.stridava { --c: var(--led-cervena); }
.pd-led-pas.dycha::before { animation: pd-dech 3.2s ease-in-out infinite; }
.pd-led-pas.pomalu::before { animation: pd-blik 1.8s steps(1, end) infinite; }
.pd-led-pas.rychle::before { animation: pd-blik .6s steps(1, end) infinite; }
.pd-led-pas.stridava::before { animation: pd-strid .6s steps(1, end) infinite; }
@keyframes pd-dech { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
@keyframes pd-blik { 0% { opacity: 1; } 50% { opacity: .2; } }
@keyframes pd-strid { 0% { background: var(--led-cervena); box-shadow: 0 0 10px 1px var(--led-cervena); } 50% { background: var(--led-zelena); box-shadow: 0 0 10px 1px var(--led-zelena); } }
/* omezený pohyb: žádná animace, režim naznačí vzor pásu (text ho vždy popisuje) */
@media (prefers-reduced-motion: reduce) {
  .pd-led-pas::before { animation: none !important; }
  .pd-led-pas.dycha::before { background: linear-gradient(90deg, transparent, var(--c) 35%, var(--c) 65%, transparent); box-shadow: none; }
  .pd-led-pas.pomalu::before { background: repeating-linear-gradient(90deg, var(--c) 0 14px, transparent 14px 22px); box-shadow: none; }
  .pd-led-pas.rychle::before { background: repeating-linear-gradient(90deg, var(--c) 0 6px, transparent 6px 10px); box-shadow: none; }
  .pd-led-pas.stridava::before { background: repeating-linear-gradient(90deg, var(--led-cervena) 0 8px, var(--led-zelena) 8px 16px); box-shadow: none; }
}
@media (max-width: 420px) { .pd-led { grid-template-columns: 70px minmax(0, 1fr); gap: 12px; padding: 12px; } }

/* ---------- upozornění: VAROVÁNÍ / POZOR / Poznámka / Tip ---------- */
.vystraha {
  --vc: var(--pd-poznamka); --vbg: var(--pd-poznamka-bg); --vl: var(--pd-poznamka-line);
  --vi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v6M12 7.5v.01'/%3E%3C/svg%3E");
  position: relative; margin: 18px 0; padding: 14px 16px 14px 50px;
  background: var(--vbg); border: 1px solid var(--vl); border-left: 4px solid var(--vc); border-radius: 10px;
  font-size: 15.5px; line-height: 1.6;
}
.vystraha::before {
  content: "Poznámka"; display: block; margin-bottom: 3px;
  font-family: var(--font-head); font-weight: 700; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--vc);
}
.vystraha::after {
  content: ""; position: absolute; left: 15px; top: 14px; width: 22px; height: 22px; background: var(--vc);
  -webkit-mask: var(--vi) no-repeat center / contain; mask: var(--vi) no-repeat center / contain;
}
.vystraha > :last-child { margin-bottom: 0; }
.vystraha > p { margin: 0 0 .5em; }
.vystraha ul, .vystraha ol { margin: .3em 0 .3em; }
.vystraha.varovani {
  --vc: var(--pd-varovani); --vbg: var(--pd-varovani-bg); --vl: var(--pd-varovani-line);
  --vi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.2L22 20.5H2z'/%3E%3Cpath d='M12 10v4.6M12 17.4v.01'/%3E%3C/svg%3E");
}
.vystraha.varovani::before { content: "Varování"; }
.vystraha.pozor {
  --vc: var(--pd-pozor); --vbg: var(--pd-pozor-bg); --vl: var(--pd-pozor-line);
  --vi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v6M12 16.5v.01'/%3E%3C/svg%3E");
}
.vystraha.pozor::before { content: "Pozor"; }
.vystraha.poznamka::before { content: "Poznámka"; }
.vystraha.tip {
  --vc: var(--pd-tip); --vbg: var(--pd-tip-bg); --vl: var(--pd-tip-line);
  --vi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 21h4'/%3E%3Cpath d='M12 3a6 6 0 0 0-3.6 10.8c.7.6 1.1 1.3 1.1 2.2h5c0-.9.4-1.6 1.1-2.2A6 6 0 0 0 12 3z'/%3E%3C/svg%3E");
}
.vystraha.tip::before { content: "Tip"; }
.vystraha[data-nadpis]::before { content: attr(data-nadpis); }
@media (max-width: 480px) { .vystraha { padding: 12px 14px 12px 44px; font-size: 15px; } .vystraha::after { left: 12px; top: 12px; width: 20px; height: 20px; } }

/* ---------- tabulky ---------- */
.pd-tabulka-obal { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin: 0 0 1.4em; }
table.pd-tabulka, .pd-navod table { width: 100%; border-collapse: collapse; font-size: 15px; }
table.pd-tabulka th, table.pd-tabulka td, .pd-navod table th, .pd-navod table td {
  text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line-soft);
}
table.pd-tabulka thead th, .pd-navod table thead th {
  background: var(--cloud-soft); font-family: var(--font-head); font-weight: 600; color: var(--antracit);
  font-size: 14px; border-bottom: 1px solid var(--line);
}
table.pd-tabulka tbody th { font-family: var(--font-head); font-weight: 500; color: var(--muted); }
table.pd-tabulka td { font-variant-numeric: tabular-nums; }
table.pd-tabulka tr:last-child > * { border-bottom: 0; }
table.pd-tabulka caption, .pd-navod table caption { caption-side: top; text-align: left; padding: 12px 14px 4px; font-family: var(--font-head); font-weight: 600; color: var(--antracit); }
table.pd-tabulka .cislo, table.pd-tabulka td.r { text-align: right; white-space: nowrap; }
.pd-tabulka-obal.uzka table { min-width: 0; }
.pd-tabulka-obal table { min-width: 560px; }
/* na úzkém displeji: stín u okraje naznačí, že tabulka jde posunout do strany */
@media (max-width: 620px) {
  .pd-tabulka-obal:not(.uzka) {
    background:
      linear-gradient(to right, #fff 30%, rgba(255,255,255,0)) left center / 40px 100% no-repeat local,
      linear-gradient(to left, #fff 30%, rgba(255,255,255,0)) right center / 40px 100% no-repeat local,
      radial-gradient(farthest-side at 0 50%, rgba(20,30,45,.16), transparent) left center / 14px 100% no-repeat scroll,
      radial-gradient(farthest-side at 100% 50%, rgba(20,30,45,.16), transparent) right center / 14px 100% no-repeat scroll,
      #fff;
  }
}
@media (max-width: 640px) { table.pd-tabulka, .pd-navod table { font-size: 14px; } table.pd-tabulka th, table.pd-tabulka td { padding: 9px 11px; } }
/* parametry: spec-box + spec-table z webu, s odstupem a mobilním zalomením */
.podpora .spec-box { margin: 0 0 1.4em; }
@media (max-width: 560px) {
  .podpora .spec-table th, .podpora .spec-table td { display: block; width: auto; padding: 0 14px; border: 0; }
  .podpora .spec-table th { padding-top: 11px; font-size: 13.5px; }
  .podpora .spec-table td { padding-bottom: 11px; border-bottom: 1px solid var(--line-soft); }
  .podpora .spec-table tr:last-child td { border-bottom: 0; }
}

/* ---------- poruchy a řešení (filtr podle příznaku) ---------- */
.pd-filtr { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.pd-filtr button {
  font-family: var(--font-head); font-weight: 500; font-size: 14.5px; line-height: 1.2;
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 15px; cursor: pointer; transition: border-color .15s, color .15s, background .15s;
  display: inline-flex; align-items: center; gap: 7px;
}
.pd-filtr button:hover { border-color: var(--blue); color: var(--blue); }
.pd-filtr button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.pd-filtr button .chip-count { margin-left: 0; }
.pd-filtr button[aria-pressed="true"] .chip-count { background: rgba(255, 255, 255, .22); color: #fff; }
.pd-hledat {
  display: flex; align-items: center; gap: 10px; margin: 0 0 12px; max-width: 520px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 0 12px;
}
.pd-hledat:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(51, 102, 153, .14); }
.pd-hledat .pd-ico { color: var(--muted); }
.pd-hledat input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 15.5px; padding: 11px 0; background: transparent; color: var(--ink); }
.pd-poruchy { display: grid; gap: 14px; }
.pd-porucha {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm);
}
.pd-porucha[hidden] { display: none; }
.pd-porucha > h3 { margin: 0 0 12px; font-size: 18px; display: flex; gap: 10px; align-items: flex-start; }
.pd-porucha > h3 .pd-ico { color: var(--pd-pozor); margin-top: 1px; }
.pd-porucha > h3:has(+ .pd-porucha-kdy) { margin-bottom: 2px; }
.pd-porucha-kdy { color: var(--muted); font-size: 14.5px; margin: 0 0 12px 32px; }
.pd-porucha .pd-led-pas { width: 72px; height: 26px; display: inline-block; vertical-align: middle; margin: 0 6px 0 0; border-radius: 7px; }
.pd-porucha .pd-led-pas::before { left: 8px; right: 8px; height: 5px; margin-top: -2.5px; }
dl.pd-priciny { margin: 0; display: grid; gap: 0; }
dl.pd-priciny > div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 4px 22px; padding: 11px 0; border-top: 1px solid var(--line-soft); }
dl.pd-priciny dt { font-weight: 600; color: var(--antracit); font-size: 15px; }
dl.pd-priciny dd { margin: 0; font-size: 15px; }
dl.pd-priciny dd > :last-child { margin-bottom: 0; }
dl.pd-priciny > div:first-child dt::before, dl.pd-priciny > div:first-child dd::before {
  display: block; font-family: var(--font-head); font-weight: 600; font-size: 11.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 4px;
}
dl.pd-priciny > div:first-child dt::before { content: "Možná příčina"; }
dl.pd-priciny > div:first-child dd::before { content: "Co udělat"; }
@media (max-width: 640px) {
  dl.pd-priciny > div { grid-template-columns: 1fr; }
  dl.pd-priciny dd::before { content: "Co udělat" !important; display: block; font-family: var(--font-head); font-weight: 600; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 2px 0 2px; }
  dl.pd-priciny > div:first-child dt::before { display: none; }
  .pd-porucha { padding: 16px; }
}
.pd-porucha-dalsi {
  margin: 12px 0 0; padding: 10px 12px; border-radius: 8px; background: var(--cloud-soft);
  font-size: 14.5px; color: var(--antracit);
}
.pd-nic { padding: 22px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); text-align: center; }
.pd-nic[hidden] { display: none; }

/* ---------- soubory ke stažení ---------- */
ul.pd-soubory { list-style: none; margin: 0 0 1.4em; padding: 0; display: grid; gap: 10px; }
a.pd-soubor {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 16px;
  padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  color: inherit; box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s;
}
a.pd-soubor:hover { text-decoration: none; border-color: #c3cfdf; box-shadow: var(--shadow-md); }
.pd-soubor-ico { position: relative; width: 44px; height: 52px; color: var(--blue); }
.pd-soubor-ico .pd-ico { width: 44px; height: 52px; stroke-width: 1.3; }
.pd-soubor-ico em {
  position: absolute; left: 50%; bottom: 9px; transform: translateX(-50%);
  font-style: normal; font-family: var(--font-head); font-weight: 700; font-size: 9.5px; letter-spacing: .04em;
  color: #fff; background: var(--blue); border-radius: 3px; padding: 1px 4px; line-height: 1.3;
}
.pd-soubor-ico.en, .pd-soubor-ico.cn { color: #5f6873; } /* šedá pro originály výrobce (en, cn); bílý štítek PDF 5,65:1 (WCAG AA) */
.pd-soubor-ico.en em, .pd-soubor-ico.cn em { background: #5f6873; }
.pd-soubor-text b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--antracit); line-height: 1.3; }
.pd-soubor-text span { display: block; font-size: 14px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.pd-soubor-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 13px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pd-soubor-stahnout { color: var(--blue); width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; background: #eef3f9; }
a.pd-soubor:hover .pd-soubor-stahnout { background: var(--blue); color: #fff; }
@media (max-width: 640px) {
  a.pd-soubor { grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; padding: 14px; }
  .pd-soubor-ico { grid-row: span 2; width: 36px; height: 44px; }
  .pd-soubor-ico .pd-ico { width: 36px; height: 44px; }
  .pd-soubor-ico em { bottom: 7px; font-size: 8.5px; }
  .pd-soubor-meta { flex-direction: row; align-items: center; gap: 10px; grid-column: 2; }
  .pd-soubor-stahnout { display: none; }
}
.pd-soubory-skupina { font-family: var(--font-head); font-size: 12.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin: 26px 0 10px; }

/* ---------- obrázky s legendou ---------- */
figure.pd-obr { margin: 22px 0; }
figure.pd-obr > img, figure.pd-obr > a > img {
  display: block; width: auto; max-width: 100%; margin: 0 auto; max-height: 520px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px;
}
figure.pd-obr.bez-ramu > img { border: 0; padding: 0; background: none; }
figure.pd-obr > figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
figure.pd-obr > figcaption b, figure.pd-obr > figcaption .pd-obr-c { font-family: var(--font-head); font-weight: 600; color: var(--antracit); margin-right: 6px; }
table.pd-legenda { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14.5px; }
table.pd-legenda td { padding: 6px 8px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.pd-legenda td:first-child {
  width: 1%; white-space: nowrap; padding-left: 0;
}
table.pd-legenda td:first-child::before { content: none; }
/* textový popisek originálu (td lang="en") se na úzké obrazovce smí zalomit – jinak by tabulka přetekla šířku stránky */
@media (max-width: 640px) { table.pd-legenda td[lang]:first-child { white-space: normal; width: 42%; overflow-wrap: anywhere; } }
table.pd-legenda .c, table.pd-legenda td:first-child > span {
  display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px;
  background: var(--blue); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 12.5px; font-variant-numeric: tabular-nums;
}
figure.pd-obr.vedle { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 10px 28px; align-items: start; }
figure.pd-obr.vedle > img { grid-row: span 2; margin: 0; }
figure.pd-obr.vedle > figcaption { margin-top: 0; }
figure.pd-obr.vedle table.pd-legenda { margin-top: 0; }
@media (max-width: 760px) { figure.pd-obr.vedle { grid-template-columns: 1fr; } figure.pd-obr.vedle > img { grid-row: auto; } }
@media (min-width: 900px) { table.pd-legenda.dva-sloupce tbody { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; } table.pd-legenda.dva-sloupce tr { display: table; width: 100%; } }

/* ---------- překlad návodu (/podpora/c5/navod/) ---------- */
.pd-navod section.pd-kap { margin: 0 0 12px; }
.pd-navod section.pd-kap > h2 { display: flex; gap: 12px; align-items: baseline; }
.pd-navod .pd-cislo { color: var(--blue); font-variant-numeric: tabular-nums; flex: none; }
.pd-navod h3 .pd-cislo, .pd-navod h4 .pd-cislo { margin-right: 8px; }
.pd-navod table { margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: 10px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.pd-navod .pd-tabulka-obal table { border: 0; border-radius: 0; margin: 0; }
.pd-navod table tr:last-child > * { border-bottom: 0; }
/* legenda obrázku v návodu online: bez rámu tabulek návodu (štítky s čísly by se rámu dotýkaly), jen linky mezi řádky */
.pd-navod table.pd-legenda { border: 0; border-radius: 0; overflow: visible; }
.pd-navod .pd-strana { display: none; } /* značky stran originálu – jen pro tisk/kontrolu */

/* úvodní box návodu online: obálka originálu, údaje o překladu, odkazy na PDF (generuje tools/build.js) */
.pd-navod-uvod {
  display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px 24px; align-items: start;
  padding: 20px 22px; margin: 0 0 34px; background: var(--cloud-soft); border: 1px solid var(--line); border-radius: var(--radius);
}
.pd-navod-uvod figure.pd-obr { margin: 0; }
.pd-navod-uvod figure.pd-obr > img { max-height: 150px; }
.pd-navod-uvod-text p { margin: 0 0 8px; }
.pd-navod-uvod-text p:last-child { margin-bottom: 0; }
.pd-navod-uvod-nazev { font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--antracit); }
.pd-navod-uvod-pozn { font-size: 14px; color: var(--muted); }
.pd-navod-uvod .pd-soubory { grid-column: 1 / -1; margin: 4px 0 0; }
@media (max-width: 640px) {
  .pd-navod-uvod { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .pd-navod-uvod figure.pd-obr { display: none; }
}
/* obsah návodu: na desktopu (≥ 1200 px) lepivý sloupec vpravo vedle textu, jinak box nad textem jen s kapitolami */
.pd-navod-sloupce { display: grid; grid-template-columns: minmax(0, 1fr); }
.pd-navod-toc { margin: 0 0 30px; padding: 14px 18px 12px; border-left: 3px solid var(--blue); background: var(--cloud-soft); border-radius: 0 10px 10px 0; }
.pd-navod-toc > b { display: block; font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.pd-navod-toc ol, .podpora .pd-navod-toc ol { list-style: none; margin: 0; padding: 0; }
.pd-navod-toc > ol { columns: 2; column-gap: 28px; }
.pd-navod-toc > ol > li { break-inside: avoid; padding: 3px 0; }
.pd-navod-toc a { display: flex; gap: 8px; color: var(--ink); font-size: 15px; line-height: 1.4; }
.pd-navod-toc a:hover { color: var(--blue); text-decoration: none; }
.pd-navod-toc a .pd-cislo { min-width: 1.4em; }
.pd-navod-toc ol ol { display: none; }
.pd-navod-text > section:first-child > h2 { margin-top: 0; padding-top: 0; border-top: 0; }
@media (max-width: 640px) { .pd-navod-toc > ol { columns: 1; } }
@media (min-width: 1200px) {
  .pd-navod-sloupce { grid-template-columns: minmax(0, 1fr) 232px; gap: 0 36px; align-items: start; }
  .pd-navod-text { grid-column: 1; grid-row: 1; }
  .pd-navod-toc {
    grid-column: 2; grid-row: 1; margin: 0; position: sticky; top: var(--pd-top);
    max-height: calc(100vh - var(--pd-top) - 16px); overflow: auto; overscroll-behavior: contain; scrollbar-width: thin;
  }
  .pd-navod-toc > ol { columns: 1; }
  .pd-navod-toc > ol > li > a { font-family: var(--font-head); font-weight: 600; font-size: 14.5px; }
  .pd-navod-toc ol ol { display: block; margin: 2px 0 6px; }
  .pd-navod-toc ol ol a { font-size: 13.5px; color: var(--muted); padding: 2px 0; }
  .pd-navod-toc ol ol a:hover { color: var(--blue); }
}

/* ---------- „Potřebujete pomoc?“ ---------- */
.pd-pomoc {
  margin: 48px 0 0; padding: 24px 26px; border-radius: 14px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #242223, #2e2c2d 55%, #2b3138); color: rgba(237, 239, 243, .82);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; align-items: center;
}
.pd-pomoc::after {
  content: ""; position: absolute; right: -40px; top: -60px; width: 260px; aspect-ratio: 132 / 100; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 100'%3E%3Cpath d='M66 4 L128 96 L4 96 Z' fill='none' stroke='%233F7FDF' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: .22; transform: rotate(14deg);
}
.pd-pomoc > * { position: relative; z-index: 1; }
.pd-pomoc h2 { color: #fff; font-size: 22px; margin: 0 0 6px; padding: 0; border: 0; }
.pd-pomoc p { margin: 0; font-size: 15px; max-width: 58ch; }
.pd-pomoc-akce { display: flex; flex-direction: column; gap: 10px; align-items: stretch; min-width: 240px; }
.pd-pomoc .btn-primary { background: #2f6bc4; color: #fff; } /* bílý text 5,22:1 (WCAG AA); --blue-bright měl jen 3,95:1 */
.pd-pomoc .btn-primary:hover { background: #2b63b8; box-shadow: none; }
.pd-pomoc .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.pd-pomoc .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.pd-pomoc .pd-kopirovat { color: rgba(237, 239, 243, .85); align-self: center; }
@media (max-width: 760px) { .pd-pomoc { grid-template-columns: 1fr; padding: 22px 20px; } .pd-pomoc-akce { min-width: 0; } }

/* tlačítko „kopírovat“ */
.pd-kopirovat {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; margin: 0;
  font: 500 13.5px/1.3 var(--font-head); color: var(--blue); background: transparent;
  border: 0; border-radius: 6px; cursor: pointer;
}
.pd-kopirovat:hover { background: rgba(63, 127, 223, .1); }
.pd-kopirovat .pd-ico { width: 16px; height: 16px; }
.pd-kopirovat.hotovo { color: var(--ok); }
.pd-pomoc .pd-kopirovat.hotovo { color: #8fd4a9; }

/* ---------- patička stránky (aktualizace, zdroj) ---------- */
.pd-meta {
  margin: 28px 0 0; padding-top: 16px; border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 13.5px; color: var(--muted);
}
.pd-meta > span { display: inline-flex; gap: 6px; align-items: center; }   /* jen přímé potomky: vnořený <span lang> zůstane v textu */
.pd-meta .pd-ico { width: 16px; height: 16px; }

/* ---------- drobné pomocné ---------- */
.pd-dva { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; }
@media (max-width: 760px) { .pd-dva { grid-template-columns: 1fr; } }
.pd-karta { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.pd-karta > h3 { margin-top: 0; font-size: 17.5px; display: flex; gap: 10px; align-items: center; }
.pd-karta > h3 .pd-ico { color: var(--blue); }
.pd-karta > :last-child { margin-bottom: 0; }

/* =============================================================
   Stránka Údržba (/podpora/c5/udrzba/) – třídy ud-… (dříve extra-udrzba.css, sloučeno 5. 10. 2026)
   ============================================================= */
/* ---------- přehled intervalů (dlaždice s kotvami) ---------- */
.ud-intervaly { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 20px; }
@media (max-width: 680px) { .ud-intervaly { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
a.ud-interval {
  display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 13px;
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: var(--radius);
  color: inherit; box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s;
}
a.ud-interval:hover { text-decoration: none; box-shadow: var(--shadow-md); border-color: #c3cfdf; border-top-color: var(--blue); }
a.ud-interval.servis, a.ud-interval.servis:hover { border-top-color: var(--pd-pozor, #9a5b00); }
.ud-interval .ud-cislo { font-family: var(--font-head); font-weight: 700; font-size: 28px; line-height: 1.1; color: var(--blue); font-variant-numeric: tabular-nums; }
.ud-interval.servis .ud-cislo { color: var(--pd-pozor, #9a5b00); }
.ud-interval b { font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--antracit); line-height: 1.25; }
.ud-interval span:not(.ud-cislo) { font-size: 13.5px; color: var(--muted); line-height: 1.4; }

/* řádek pod nadpisem intervalu: kdy · kdo · zdroj */
.ud-kdo { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: -4px 0 14px; font-size: 14px; color: var(--muted); }
.ud-kdo span { display: inline-flex; align-items: center; gap: 6px; }
.ud-kdo .pd-ico { width: 17px; height: 17px; color: var(--blue); }

/* ---------- zaškrtávací seznam (bez JavaScriptu) ---------- */
form.ud-seznam {
  counter-reset: ud-vse ud-hotovo; margin: 0 0 1.4em;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden;
}
.ud-ukoly { list-style: none; margin: 0; padding: 0; }
.ud-ukoly > li + li { border-top: 1px solid var(--line-soft); }
.ud-ukoly label { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; padding: 13px 18px; cursor: pointer; transition: background .15s; }
.ud-ukoly label:hover { background: var(--cloud-soft); }
.ud-ukoly input[type="checkbox"] {
  -webkit-appearance: none; appearance: none; margin: 1px 0 0; width: 24px; height: 24px; flex: none; cursor: pointer;
  border: 1.5px solid #9fb1c7; border-radius: 6px; background: #fff no-repeat center / 16px;
  counter-increment: ud-vse; transition: background-color .15s, border-color .15s;
}
.ud-ukoly input[type="checkbox"]:hover { border-color: var(--blue); }
.ud-ukoly input[type="checkbox"]:checked {
  counter-increment: ud-vse ud-hotovo; border-color: var(--blue); background-color: var(--blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.ud-ukoly input[type="checkbox"]:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.ud-ukol { font-size: 16px; line-height: 1.5; }
.ud-ukol b { font-weight: 600; color: var(--antracit); }
.ud-pozn { display: block; font-size: 14.5px; color: var(--muted); margin-top: 2px; }
.ud-ukoly li:has(input:checked) .ud-ukol, .ud-ukoly li:has(input:checked) .ud-ukol b { color: var(--muted); }
.ud-seznam-pata {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px;
  padding: 9px 18px; background: var(--cloud-soft); border-top: 1px solid var(--line-soft); font-size: 14px; color: var(--muted);
}
.ud-stav::after { content: "Hotovo " counter(ud-hotovo) " z " counter(ud-vse); font-family: var(--font-head); font-weight: 600; color: var(--antracit); }
.ud-seznam-pata small { font-size: 13px; }
button.ud-reset {
  font: 500 13.5px/1.3 var(--font-head); color: var(--blue); background: transparent; border: 0;
  border-radius: 6px; padding: 4px 8px; margin: 0 -8px 0 0; cursor: pointer;
}
button.ud-reset:hover { background: rgba(63, 127, 223, .1); }
@media (max-width: 480px) {
  .ud-ukoly label { padding: 12px 14px; gap: 12px; }
  .ud-seznam-pata { padding: 9px 14px; }
  .ud-ukol { font-size: 15.5px; }
}

/* ---------- části robota: očíslované štítky přes anglické popisky obrázku výrobce ---------- */
figure.ud-casti { margin: 18px 0 22px; }
.ud-casti-ram { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.ud-casti-obr { position: relative; container-type: inline-size; }
.ud-casti-obr > img { display: block; width: 100%; height: auto; }
.ud-c {
  position: absolute; display: grid; place-items: center; background: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: clamp(11px, 1.6cqw, 15px); line-height: 1;
}
.ud-c b {
  display: grid; place-items: center; min-width: clamp(18px, 2.7cqw, 30px); height: clamp(18px, 2.7cqw, 30px);
  padding: 0 4px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; font-variant-numeric: tabular-nums;
}
/* polohy rámečků originálu v % obrázku (figury.json, ramecek_proc), s malým přesahem přes rámeček */
.ud-c.c1  { left: 0.5%;  top: 11.1%; width: 13.5%; height: 19.7%; }
.ud-c.c2  { left: 35.8%; top: 19.1%; width: 7.2%;  height: 20.9%; }
.ud-c.c3  { left: 0.3%;  top: 38.9%; width: 11.1%; height: 13.7%; }
.ud-c.c4  { left: 36.8%; top: 41.5%; width: 7.2%;  height: 12.8%; }
.ud-c.c5  { left: 37.5%; top: 57%;   width: 9.5%;  height: 24.3%; }
.ud-c.c6  { left: 2.1%;  top: 78.3%; width: 8.4%;  height: 19.7%; }
.ud-c.c7  { left: 36.1%; top: 85.2%; width: 11.1%; height: 14%; }
.ud-c.c8  { left: 70.7%; top: 1.3%;  width: 15.8%; height: 13.7%; }
.ud-c.c9  { left: 74.2%; top: 19.7%; width: 12.9%; height: 13.7%; }
.ud-c.c10 { left: 74.4%; top: 38.1%; width: 25.2%; height: 14.5%; }
.ud-c.c11 { left: 74.4%; top: 54.5%; width: 23.1%; height: 13.1%; }
.ud-c.c12 { left: 76.9%; top: 74.6%; width: 12.9%; height: 13.4%; }
figure.ud-casti table.pd-legenda td:first-child > span { min-width: 28px; }
@media (max-width: 480px) { .ud-casti-ram { padding: 8px; } }

@media print {
  .site-header, .site-footer, .drawer, .scrim, .pd-bok, .pd-filtr, .pd-hledat, .pd-pomoc-akce, .pd-kopirovat, .pd-toc { display: none !important; }
  .pd-layout { display: block; }
  .pd-clanek { max-width: none; }
  details.pd-postup > .pd-postup-telo { display: block; }
  .pd-led-pas::before { animation: none !important; }
}
