/* stankar.sk: doplnok k web/styl.css (premenné, tlačidlá, hlavička, pätička sú tam). */
.hlavny-obsah { min-height: 60vh; background: #fff; }
.p-sekcia { padding: 40px 0 64px; }
.p-sekcia h1 { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 14px; }
.p-sekcia h2 { font-size: 21px; margin: 0 0 12px; }
.p-sekcia h2 small, .p-fieldset legend small, .p-pole small { font-weight: 500; color: var(--text-2); font-size: 13px; }
.p-uvod { color: var(--text-2); font-size: 16.5px; margin-bottom: 18px; }
.p-meta { color: var(--text-2); font-size: 14.5px; margin: 6px 0 14px; }
.p-drobne { color: var(--text-2); font-size: 13.5px; margin-top: 14px; }
.p-podnadpis { margin-top: 34px !important; }
.p-hlava { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 18px; }
.p-hlava h1 { margin-bottom: 0; }

/* karty a správy */
.p-karta { background: #fff; border: 1px solid var(--okraj); border-radius: var(--zaobl); padding: 22px; margin-bottom: 18px; position: relative; }
.p-uzka .obal { max-width: 560px; }
.p-prihlasenie { padding: 30px; box-shadow: 0 18px 40px rgba(140, 29, 64, .08); overflow: hidden; }
.p-prihlasenie::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px; background: repeating-linear-gradient(-55deg, var(--akcent) 0 8px, #fff 8px 16px); }
.p-sprava { padding: 12px 16px; border-radius: 10px; margin: 0 0 16px; font-weight: 600; }
.p-sprava-ok { background: #e7f4ec; color: #1d6b3f; }
.p-sprava-chyba { background: #fdecec; color: #9b1c1c; }
.p-sprava-info { background: var(--akcent-svetly); color: var(--akcent-tmavy); }
.p-prazdne { color: var(--text-2); background: var(--plocha); border: 1px dashed var(--okraj); border-radius: 12px; padding: 18px; }
.p-nebezpecne { border-color: #f1c9c9; }
.btn-nebezpecne { background: #fff; color: #9b1c1c; border-color: #e3a5a5; }
.btn-nebezpecne:hover { background: #fdecec; }
.p-odkaz-tlacidlo { background: none; border: 0; padding: 4px 0; font: inherit; font-weight: 700; color: var(--akcent); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* formuláre */
.p-form { display: grid; gap: 14px; }
.p-form h2 { margin-top: 10px; }
.p-pole { display: flex; flex-direction: column; gap: 6px; }
.p-pole > span { font-weight: 700; font-size: 14.5px; }
.p-pole input, .p-pole select, .p-pole textarea {
  font: inherit; font-size: 16px; width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #d9c9cd; border-radius: 10px; background: #fff; color: var(--text);
}
.p-pole textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.p-pole input:focus, .p-pole select:focus, .p-pole textarea:focus { outline: none; border-color: var(--akcent); box-shadow: 0 0 0 3px var(--akcent-svetly); }
.p-pole input:disabled { background: var(--plocha); color: var(--text-2); }
.p-kod { font-size: 28px !important; letter-spacing: .3em; text-align: center; font-weight: 800; }
.p-riadok2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.p-riadok3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.p-pole-zamknute { opacity: .6; }
.p-zamknute-pozn { margin-top: 0; }
.p-pole-check { justify-content: flex-start; }
.p-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; cursor: pointer; }
.p-check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--akcent); flex: none; }
.p-fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.p-fieldset legend { font-weight: 700; font-size: 14.5px; margin-bottom: 8px; padding: 0; }
.p-volba { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 2px solid var(--okraj); border-radius: 12px; cursor: pointer; }
.p-volba:has(input:checked) { border-color: var(--akcent); background: var(--akcent-svetly); }
.p-volba input { width: 20px; height: 20px; accent-color: var(--akcent); margin-top: 2px; flex: none; }
.p-volba strong { display: block; color: var(--akcent); }
.p-volba span { color: var(--text-2); font-size: 14.5px; }
.p-zaskrt { display: flex; flex-wrap: wrap; gap: 8px; }
.p-chip { position: relative; cursor: pointer; }
.p-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.p-chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border: 1.5px solid var(--okraj); border-radius: 999px; font-size: 14.5px; font-weight: 600; background: #fff; }
.p-chip input:checked + span { background: var(--akcent); border-color: var(--akcent); color: #fff; }
.p-chip input:focus-visible + span { outline: 3px solid var(--akcent); outline-offset: 2px; }

/* môj účet a správa: menu vľavo, obsah vpravo */
.p-ucet { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: start; }
.p-ucet-menu { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 16px; padding: 10px; background: var(--plocha); border: 1px solid var(--okraj); border-radius: var(--zaobl); }
.p-ucet-menu a { padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--text); font-weight: 600; }
.p-ucet-menu a:hover { background: #fff; color: var(--akcent); }
.p-ucet-menu a[aria-current="page"] { background: var(--akcent); color: #fff; }
.p-ucet-menu form { padding: 6px 12px; }
/* Podmenu (Lukáš 2. 12. 2026): položka, ktorá otvorí vlastné menu, má vpravo šípku; v podmenu je vľavo hore „Späť“ */
.p-ucet-menu a.p-menu-pod, .p-um-zoznam a.p-menu-pod { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.p-ucet-menu a.p-menu-pod::after, .p-um-zoznam a.p-menu-pod::after { content: ""; flex: none; width: 7px; height: 7px; margin-right: 4px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); opacity: .55; }
.p-ucet-menu a.p-menu-pod:hover::after, .p-ucet-menu a.p-menu-pod[aria-current="page"]::after { opacity: 1; }
.p-ucet-menu a.p-menu-spat, .p-um-zoznam a.p-menu-spat { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; border-bottom: 1px solid var(--okraj); border-radius: 8px 8px 0 0; color: var(--akcent); font-weight: 700; }
.p-ucet-menu a.p-menu-spat::before, .p-um-zoznam a.p-menu-spat::before { content: ""; flex: none; width: 7px; height: 7px; margin-left: 3px; border: solid currentColor; border-width: 0 0 2px 2px; transform: rotate(45deg); }
@media (max-width: 980px) { .p-ucet-menu a.p-menu-spat { flex-basis: 100%; } }
.p-dlazdice3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.p-dlazdice3 .p-karta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin: 0; }
.p-dlazdice3 .p-karta p { color: var(--text-2); font-size: 15px; flex: 1; }
.p-dlazdice3 .btn { margin-top: auto; }

/* stavy */
.p-stav { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--plocha-2); color: var(--text-2); }
.p-stav-caka { background: #fff4d6; color: #7a5300; }
.p-stav-schvaleny, .p-stav-schvalena, .p-stav-otvoreny { background: #e7f4ec; color: #1d6b3f; }
.p-stav-zamietnuty, .p-stav-zamietnuta { background: #fdecec; color: #9b1c1c; }
.p-stav-karta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.p-stav-karta form { margin: 0; }
.p-poznamka { flex-basis: 100%; background: var(--plocha); padding: 10px 12px; border-radius: 8px; }

/* zoznamy */
.p-zoznam { display: grid; gap: 8px; }
.p-zoznam a { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px solid var(--okraj); border-radius: 12px; text-decoration: none; color: var(--text); background: #fff; }
.p-zoznam a:hover { border-color: var(--akcent); }
.p-zoznam-uvod { margin-bottom: 12px; }
.p-zoznam strong { color: var(--akcent); }
.p-zoznam span { color: var(--text-2); font-size: 14.5px; }
.p-stitky { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.p-stitok { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--akcent); color: #fff; font-size: 12.5px; font-weight: 700; vertical-align: middle; }
.p-stitok-svetly { background: var(--akcent-svetly); color: var(--akcent-tmavy); }
.p-stitok-varovanie { background: #fdecec; color: #9b1c1c; }
h1 .p-stitok { font-size: 13px; letter-spacing: 0; }

/* filter a kalendár */
.p-filter { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; align-items: end; padding: 16px; background: var(--plocha); border: 1px solid var(--okraj); border-radius: var(--zaobl); margin-bottom: 14px; }
.p-filter .p-pole > span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--akcent); }
.p-filter .btn { min-height: 48px; }
.p-akcie { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.p-akcia-odkaz { display: flex; gap: 16px; padding: 16px; border: 1px solid var(--okraj); border-radius: var(--zaobl); text-decoration: none; color: var(--text); background: #fff; height: 100%; }
.p-akcia-odkaz:hover { border-color: var(--akcent); box-shadow: 0 10px 24px rgba(140, 29, 64, .08); }
.p-datum { flex: none; width: 62px; height: 66px; border-radius: 12px; background: var(--akcent); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.p-datum strong { font-size: 26px; font-weight: 800; }
.p-datum span { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
.p-datum-svetly { background: var(--akcent-svetly); color: var(--akcent); }
.p-akcia-telo { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.p-akcia-telo .p-meta { margin: 0; }
.p-akcia-nazov { font-size: 17px; line-height: 1.3; }
.p-akcia-telo .p-stitok { align-self: flex-start; }
.p-strankovanie { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; color: var(--text-2); }

/* detail akcie, dopytu, predajcu */
.p-detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.p-detail-bok { position: sticky; top: 16px; }
.p-fakty { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin: 16px 0; }
.p-fakty li { background: var(--plocha); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.p-fakty span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--akcent); font-weight: 700; }
.p-text { font-size: 16.5px; line-height: 1.65; margin: 16px 0; }
.p-tlacidla { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 16px 0; }
.p-tlacidla form { margin: 0; }
.p-kontakt { display: grid; gap: 10px; }
.p-kontakt .btn { width: 100%; }
.p-galeria { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 16px 0; }
.p-galeria a:first-child { grid-column: 1 / -1; }
.p-galeria img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; aspect-ratio: 4 / 3; }
.p-galeria a:first-child img { aspect-ratio: 16 / 9; }

/* katalóg predajcov (karty z styl.css) */
.p-predajcovia { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.p-predajca-odkaz { display: block; text-decoration: none; color: inherit; height: 100%; }
.p-predajca-odkaz img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.p-bez-fotky { display: block; aspect-ratio: 4 / 3; background: repeating-linear-gradient(-55deg, var(--akcent-svetly) 0 14px, #fff 14px 28px); }

/* fotky v profile */
.p-fotky { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 14px 0; }
.p-fotky img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.p-fotky-akcie { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: 13.5px; }
.p-fotky-akcie form { margin: 0; }
.p-videa { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 14px 0; list-style: none; padding: 0; }
.p-videa video, .p-videa-verejne video { width: 100%; height: auto; max-height: 420px; background: #000; border-radius: 10px; display: block; }
.p-videa-verejne { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 16px 0; }
.p-nahranie { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.p-nahranie input[type="file"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.p-nahranie label { cursor: pointer; }
.p-nahranie.nahravam label { opacity: .6; pointer-events: none; }

/* ponuky */
.p-ponuky { display: grid; gap: 12px; }
.p-ponuka { display: flex; gap: 16px; align-items: flex-start; margin: 0; }
.p-ponuka img { width: 160px; height: 120px; object-fit: cover; border-radius: 10px; flex: none; }
.p-ponuka h3 { font-size: 18px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* textové stránky */
.p-text-stranka { font-size: 16.5px; line-height: 1.65; }
.p-text-stranka h2 { margin-top: 28px; }
.p-text-stranka ol { list-style: decimal; padding-left: 22px; display: grid; gap: 8px; }
.p-otazky dt { font-weight: 800; margin-top: 16px; }
.p-otazky dd { margin: 4px 0 0; color: var(--text-2); }

/* správa: čísla, tabuľky, graf */
.p-cisla { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.p-cislo { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--text); margin: 0; }
.p-cislo strong { font-size: 32px; font-weight: 800; color: var(--akcent); line-height: 1.1; }
.p-cislo span { color: var(--text-2); font-size: 14px; }
.p-cislo:hover { border-color: var(--akcent); }
.p-cislo-pozor { background: #fff4d6; border-color: #f0d48a; }
.p-filtre { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.p-filtre a { padding: 7px 14px; border: 1px solid var(--okraj); border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 14px; }
.p-filtre a[aria-current="true"] { background: var(--akcent); color: #fff; border-color: var(--akcent); }
.p-tabulka-obal { overflow-x: auto; border: 1px solid var(--okraj); border-radius: 12px; }
.p-tabulka { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.p-tabulka th, .p-tabulka td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--okraj); vertical-align: top; }
.p-tabulka th { background: var(--plocha); font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); }
.p-tabulka tr:last-child td { border-bottom: 0; }
.p-tabulka code { font-size: 12.5px; word-break: break-all; }
.p-akcie-riadok { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.p-akcie-riadok form { margin: 0; }
.p-graf { display: flex; align-items: flex-end; gap: 6px; height: 180px; padding: 12px; background: var(--plocha); border-radius: 12px; }
.p-graf-stlpec { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; }
.p-graf-pruh { width: 100%; max-width: 34px; background: var(--akcent); border-radius: 6px 6px 0 0; min-height: 3px; height: 3px; }
.p-graf-hodnota { font-size: 12px; font-weight: 700; color: var(--akcent); }
.p-graf-den { font-size: 11px; color: var(--text-2); white-space: nowrap; }

@media (max-width: 980px) {
  .p-ucet { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .p-ucet-menu { position: static; flex-direction: row; flex-wrap: wrap; }
  .p-ucet-menu a { padding: 8px 10px; }
  .p-detail { grid-template-columns: 1fr; }
  .p-detail-bok { position: static; }
  .p-dlazdice3, .p-cisla { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-predajcovia { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-akcie { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .p-sekcia { padding: 26px 0 48px; }
  .p-sekcia h1 { font-size: 27px; }
  .p-riadok2, .p-riadok3, .p-dlazdice3, .p-videa-verejne { grid-template-columns: 1fr; }
  .p-prihlasenie { padding: 26px 18px 22px; }
  .p-karta { padding: 18px 16px; }
  .p-ponuka { flex-direction: column; }
  .p-ponuka img { width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .p-akcia-odkaz { padding: 14px; gap: 12px; }
  .p-datum { width: 54px; height: 58px; }
  .p-galeria { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-graf-den { font-size: 9.5px; }
}
@media (max-width: 420px) {
  .p-predajcovia, .p-cisla { grid-template-columns: 1fr; }
}

/* bezpečnosť, tarifa, správa (2. 11. 2026) */
.p-karta-zvyraznena { border: 2px solid var(--akcent); box-shadow: 0 14px 34px rgba(140, 29, 64, .1); }
.p-heslo-volba { border-top: 1px solid var(--okraj); padding-top: 12px; display: grid; gap: 12px; }
.p-heslo-volba summary { cursor: pointer; font-weight: 700; color: var(--akcent); list-style: none; display: flex; align-items: center; gap: 8px; min-height: 40px; }
.p-heslo-volba summary::-webkit-details-marker { display: none; }
.p-heslo-volba summary::before { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .2s; }
.p-heslo-volba[open] summary::before { transform: rotate(45deg); }
.p-heslo-volba[open] { gap: 12px; }
.p-riadok-form { grid-template-columns: minmax(0, 1fr) auto; align-items: end; margin-top: 12px; }
.p-riadok-form .p-pole { min-width: 0; }
.p-riadok-form .btn { min-height: 48px; }
.p-riadok-form .p-kod { font-size: 20px !important; letter-spacing: .2em; }
.p-riadok3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 12px; }
.p-kroky { list-style: decimal; padding-left: 22px; display: grid; gap: 6px; margin: 6px 0 16px; }
.p-qr { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 6px 0 10px; }
.p-qr svg { width: 200px; height: 200px; flex: none; border: 1px solid var(--okraj); border-radius: 12px; padding: 6px; background: #fff; }
.p-kluc { display: inline-block; margin-top: 6px; font-size: 17px; letter-spacing: .08em; background: var(--plocha); padding: 8px 12px; border-radius: 8px; word-break: break-all; user-select: all; }
.p-kody { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 14px 0; }
.p-kody code { display: block; text-align: center; font-size: 17px; letter-spacing: .06em; padding: 10px; background: var(--plocha); border: 1px dashed var(--akcent); border-radius: 10px; }
.p-zoznam-ploche li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--okraj); border-radius: 12px; }
.p-zoznam-ploche li > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.p-zoznam-ploche li > span > span:not(.p-stitok) { font-size: 13.5px; }
.p-zoznam-ploche .p-stitok { align-self: flex-start; }
.p-zoznam-ploche form { margin: 0; flex: none; }
.p-dlazdice2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.p-dlazdice2 .p-karta { margin: 0; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.p-dlazdice2 .p-karta p { color: var(--text-2); flex: 1; }
.p-platba .p-fakty { margin: 0; }
.p-text-chyba { color: #9b1c1c; }
.p-lista { padding: 10px 0; font-size: 14.5px; }
.p-lista .obal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.p-lista form { margin: 0; }
.p-lista-zastup { background: #fff4d6; color: #5a3d00; border-bottom: 2px solid #e8b931; }
.p-lista-zastup .btn { min-height: 38px; padding: 6px 14px; }
.p-lista-oznam { background: var(--akcent); color: #fff; font-weight: 600; }
@media (max-width: 760px) {
  .p-riadok3, .p-dlazdice2 { grid-template-columns: 1fr; }
  .p-riadok-form { grid-template-columns: 1fr; }
  .p-qr svg { width: 180px; height: 180px; }
}
@media print {
  .hlavicka, .paticka, .p-ucet-menu, .p-tlacidla, .hore { display: none !important; }
}
.p-zoznam .p-stitok, .p-zoznam-ploche .p-stitok { color: #fff; }
.p-zoznam .p-stitok-svetly { color: var(--akcent-tmavy); }
.p-karta > p + .p-form, .p-karta > p + form { margin-top: 14px; }
.p-karta > h2 + p { margin-bottom: 4px; }
.p-prazdne { margin-bottom: 18px; }
.p-form + .p-karta, form.p-form > .btn:last-child { margin-bottom: 18px; }
.p-zamietnut summary { cursor: pointer; font-weight: 700; color: var(--akcent); text-decoration: underline; text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }
.p-zamietnut[open] { display: block; min-width: 240px; margin-top: 6px; }
/* väčšie dotykové plochy a viditeľné zameranie (prístupnosť) */
.p-odkaz-tlacidlo { min-height: 44px; display: inline-flex; align-items: center; }
.p-chip span { min-height: 44px; }
.p-nahranie label:focus-within { outline: 3px solid var(--akcent); outline-offset: 2px; }
.p-odoslat-dole { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--okraj); }
.p-poslat-znova { margin-top: 14px; color: var(--text-2); font-size: 14px; }
.p-neprecitane { border-color: var(--akcent) !important; background: var(--akcent-svetly) !important; }
/* prihlášky online a plánik miest */
.p-detail-bok { display: grid; gap: 16px; }
.p-detail-bok > .p-karta { margin: 0; }
.p-prihlaska-box { border: 2px solid var(--akcent); }
.p-podmienky summary { cursor: pointer; font-weight: 700; color: var(--akcent); min-height: 40px; display: flex; align-items: center; }
.p-prihlasky { display: grid; gap: 12px; }
.p-prihlasky .p-karta { margin: 0; }
.p-zoznam li { position: relative; }
.p-zoznam-akcia { display: inline-flex !important; flex-direction: row !important; margin-top: 6px; padding: 8px 14px !important; font-weight: 700; font-size: 14px; color: var(--akcent) !important; background: var(--akcent-svetly) !important; border-color: transparent !important; }
.p-stav-form { grid-template-columns: auto minmax(0, 1fr) auto; margin: 0; }
.p-stav-form select, .p-stav-form input { font: inherit; min-height: 44px; padding: 8px 10px; border: 1px solid #d9c9cd; border-radius: 10px; background: #fff; }
.p-plan { width: 100%; max-height: 520px; display: block; margin: 8px 0; }
.p-plan-m rect { stroke-width: 2; }
.p-plan-m text { font: 800 18px Inter, sans-serif; text-anchor: middle; }
.p-plan-m .p-plan-ik { font-size: 15px; }
.p-plan-vol rect { fill: #fff; stroke: #d9c9cd; } .p-plan-vol text { fill: var(--text-2); }
.p-plan-pri rect { fill: var(--akcent-svetly); stroke: var(--akcent); } .p-plan-pri text { fill: var(--akcent); }
.p-plan-obs rect { fill: var(--akcent); stroke: var(--akcent); } .p-plan-obs text { fill: #fff; }
.p-legenda { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 6px 0 12px; font-size: 14px; color: var(--text-2); }
.p-legenda li { display: flex; align-items: center; gap: 8px; }
.p-legenda .lg { width: 16px; height: 16px; border-radius: 4px; border: 2px solid #d9c9cd; }
.p-legenda .lg-obs { background: var(--akcent); border-color: var(--akcent); } .p-legenda .lg-pri { background: var(--akcent-svetly); border-color: var(--akcent); }
.p-miesta-tab { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 6px; margin: 10px 0; }
.p-miesta-tab span { display: flex; gap: 8px; align-items: center; padding: 6px 10px; background: var(--plocha); border-radius: 8px; }
@media (max-width: 760px) { .p-stav-form { grid-template-columns: 1fr; } }
.p-subdomena { display: flex; align-items: center; gap: 0; }
.p-subdomena input { border-radius: 10px 0 0 10px !important; }
.p-subdomena > span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px; background: var(--plocha); border: 1px solid #d9c9cd; border-left: 0; border-radius: 0 10px 10px 0; color: var(--text-2); font-weight: 600; white-space: nowrap; }
.p-farba { display: inline-block; width: 16px; height: 16px; border-radius: 50%; margin-right: 8px; border: 2px solid #fff; box-shadow: 0 0 0 1px #d9c9cd; }
.p-farba-vinova { background: #8c1d40; } .p-farba-modra { background: #1f4e8c; } .p-farba-zelena { background: #2f6b3a; } .p-farba-oranzova { background: #b4561c; } .p-farba-grafit { background: #2c2a2e; }
/* bazár */
.p-inzeraty { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.p-inzerat a { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--okraj); border-radius: var(--zaobl); overflow: hidden; text-decoration: none; color: var(--text); background: #fff; }
.p-inzerat a:hover { border-color: var(--akcent); }
.p-inzerat img, .p-inzerat .p-bez-fotky { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.p-inzerat-telo { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; }
.p-inzerat-telo .p-meta { margin: 0; }
.p-inzerat-cena { font-weight: 800; color: var(--akcent); font-size: 18px; margin-top: 4px; }
.p-riadok-form > select { font: inherit; min-height: 44px; padding: 8px 10px; border: 1px solid #d9c9cd; border-radius: 10px; background: #fff; max-width: 100%; }


/* systém oslovení */
.p-filter-check { align-self: center; min-height: 48px; }
.p-drobne-riadok { color: var(--text-2); font-size: 13px; }
.p-osl-tabulka td { vertical-align: top; }
.p-osl-hlava .p-karta { margin-bottom: 0; }
.p-osl-hlava { margin-bottom: 18px; }
.p-osl-historia { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.p-osl-historia li { background: #fff; border: 1px solid var(--okraj); border-radius: 12px; padding: 12px 14px; display: grid; gap: 4px; }
.p-osl-historia p { margin: 2px 0 0; }
.p-osl-neosloveny { background: var(--plocha); color: var(--text-2); }
.p-osl-nedviha, .p-osl-zavolat-neskor, .p-osl-poslany-odkaz { background: #fff4d6; color: #7a5200; }
.p-osl-ma-zaujem { background: #e3f1ff; color: #15457a; }
.p-osl-zaregistrovany { background: #e3f5e8; color: #1e6b35; }
.p-osl-nema-zaujem, .p-osl-nevolat { background: #fbe4e4; color: #8a1c1c; }
@media (max-width: 700px) {
  .p-osl-cisla { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-osl-tabulka thead { display: none; }
  .p-osl-tabulka, .p-osl-tabulka tbody, .p-osl-tabulka tr, .p-osl-tabulka td { display: block; width: 100%; }
  .p-osl-tabulka tr { padding: 12px 14px; border-bottom: 1px solid var(--okraj); }
  .p-osl-tabulka td { padding: 3px 0; border: 0; }
  .p-osl-tabulka td[data-l]:not(:empty)::before { content: attr(data-l) ": "; color: var(--text-2); font-size: 13px; }
  .p-osl-tabulka td[data-l=""], .p-osl-tabulka td:empty { display: none; }
}

/* katalógy služieb */
.p-katalog-zalozky { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.p-katalog-zalozky a { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--okraj); font-weight: 700; text-decoration: none; color: var(--text); background: #fff; }
.p-katalog-zalozky a[aria-current="page"] { background: var(--akcent); border-color: var(--akcent); color: #fff; }
.p-potreby { list-style: none; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px 16px; }
.p-potreby li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.p-terminy { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.p-terminy li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--plocha); border: 1px solid var(--okraj); }
.p-terminy form { margin: 0; }
.p-odkazy-videa { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.p-sluzby-kontakty li > div { display: grid; gap: 4px; padding: 12px 14px; }
.p-sluzby-kontakty p { margin: 4px 0 0; }

/* SEO stránky: drobková navigácia, úvod, kroky, odkazy */
.p-drobky ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; padding: 14px 0 0; margin: 0; font-size: 13.5px; color: var(--text-2); }
.p-drobky li + li::before { content: "›"; margin: 0 8px; color: var(--text-2); }
.p-drobky a { color: var(--text-2); }
.p-drobky [aria-current] { color: var(--text); font-weight: 600; }
.p-seo-hlava { padding-bottom: 8px; }
.p-seo-uvod { font-size: 17.5px; line-height: 1.6; color: var(--text); margin: 10px 0 18px; }
.p-seo-text h2 { margin: 26px 0 12px; }
.p-seo-text p { line-height: 1.65; }
.p-seo-kroky { padding-left: 22px; display: grid; gap: 12px; line-height: 1.6; }
.p-seo-odkazy { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.p-seo-odkazy a { display: inline-block; padding: 8px 14px; border: 1.5px solid var(--okraj); border-radius: 999px; background: #fff; text-decoration: none; font-weight: 600; font-size: 14.5px; }
.p-seo-odkazy a:hover { border-color: var(--akcent); }
.p-faq { margin-top: 10px; }

/* dolná lišta podľa roly (mobil a appka), na PC skrytá */
.p-tab { display: none; }
@media (max-width: 760px) {
  .p-tab { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--okraj); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px -12px rgba(60, 20, 30, .25); }
  .p-tab a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 2px; font-size: 11.5px; font-weight: 600; color: var(--text-2); text-decoration: none; min-width: 0; }
  .p-tab a span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .p-tab .ik { width: 24px; height: 24px; }
  .p-tab a[aria-current="page"] { color: var(--akcent); }
  body.ma-tab { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
}
.p-domov-verejna { margin-top: 26px; }
@media (max-width: 760px) {
  .p-domov .p-cisla { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .p-domov .p-cislo { padding: 14px; }
}
.p-bio-tlacidlo { margin: 4px 0 16px; }

/* ---------- oko pri poli hesla (Lukáš 19. 11. 2026: každé pole hesla) ---------- */
.p-heslo-obal { position: relative; display: block; width: 100%; }
.p-heslo-obal input { padding-right: 52px !important; }
.p-heslo-oko { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 10px; background: none; color: var(--text-2); cursor: pointer; }
.p-heslo-oko:hover, .p-heslo-oko[aria-pressed="true"] { color: var(--akcent); background: var(--akcent-svetly); }
.p-heslo-oko .ik { width: 20px; height: 20px; }

/* ---------- chat /spravy (24. 11. 2026) ---------- */
.ch-sekcia { padding: 24px 0 32px; }
.ch { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 20px; align-items: start; }
.ch-bocny { border: 1px solid var(--okraj); border-radius: var(--zaobl); background: #fff; overflow: hidden; height: calc(100vh - 190px); min-height: 520px; display: flex; flex-direction: column; }
.ch-bocny-hlava { padding: 16px 18px 10px; border-bottom: 1px solid var(--okraj); }
.ch-bocny-hlava h1 { font-size: 24px; margin: 0; }
.ch-bocny > .p-prazdne, .ch-bocny > .p-sprava { margin: 14px; }
.ch-konverzacie { overflow-y: auto; }
.ch-polozka { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 16px; text-decoration: none; color: var(--text); border-bottom: 1px solid var(--plocha-2); }
.ch-polozka:hover { background: var(--plocha); }
.ch-polozka[aria-current="page"] { background: var(--akcent-svetly); }
.ch-polozka-text { display: flex; flex-direction: column; min-width: 0; }
.ch-polozka-text strong, .ch-polozka-text span, .ch-polozka-text small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch-polozka-text small { color: var(--akcent); font-size: 12.5px; font-weight: 600; }
.ch-polozka-text span { color: var(--text-2); font-size: 14px; }
.ch-neprec .ch-polozka-text span { color: var(--text); font-weight: 700; }
.ch-polozka-bok { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 12px; color: var(--text-2); }
.ch-pocet { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--akcent); color: #fff; font-weight: 800; font-size: 12px; line-height: 22px; text-align: center; }
.ch-stlmene { font-size: 11px; }
.ch-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--akcent-svetly); color: var(--akcent); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; flex: none; }
.ch-avatar-skupina { background: var(--akcent); color: #fff; }
.ch-avatar .ik { width: 22px; height: 22px; }

.ch-okno { border: 1px solid var(--okraj); border-radius: var(--zaobl); background: #fff; display: flex; flex-direction: column; height: calc(100vh - 190px); min-height: 520px; overflow: hidden; }
.ch-prazdne-okno { margin: auto; padding: 32px; text-align: center; color: var(--text-2); }
.ch-hlava { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--okraj); background: #fff; position: relative; }
.ch-hlava::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: repeating-linear-gradient(-55deg, var(--akcent) 0 8px, #fff 8px 16px); }
.ch-hlava-text { flex: 1; min-width: 0; }
.ch-hlava-text h2 { font-size: 18px; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch-hlava-text p { margin: 2px 0 0; color: var(--text-2); font-size: 13.5px; }
.ch-spat { display: none; align-items: center; gap: 2px; color: var(--akcent); font-weight: 700; text-decoration: none; }
.ch-spat .ik { width: 22px; height: 22px; }
.ch-spat span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ch-clenovia { padding: 8px 16px; border-bottom: 1px solid var(--okraj); font-size: 14px; background: var(--plocha); }
.ch-clenovia summary { cursor: pointer; font-weight: 700; color: var(--akcent); }
.ch-clenovia ul { margin: 8px 0 4px; display: flex; flex-wrap: wrap; gap: 6px; }
.ch-clenovia li { background: #fff; border: 1px solid var(--okraj); border-radius: 999px; padding: 3px 10px; }
.ch-okno > .p-sprava { margin: 12px 16px 0; }

.ch-spravy { list-style: none; margin: 0; padding: 16px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; flex: 1; min-height: 0; background: var(--plocha); overscroll-behavior: contain; }
.ch-spravy > li:first-child { margin-top: auto; }
.ch-den { align-self: center; margin: 10px 0 4px; font-size: 12.5px; color: var(--text-2); background: #fff; border: 1px solid var(--okraj); border-radius: 999px; padding: 2px 12px; }
.ch-zaciatok { align-self: center; color: var(--text-2); margin: auto; }
.ch-sprava { display: flex; flex-direction: column; max-width: 78%; }
.ch-moja { align-self: flex-end; align-items: flex-end; }
.ch-cudzia { align-self: flex-start; align-items: flex-start; }
.ch-autor { font-size: 12.5px; font-weight: 700; color: var(--akcent); margin: 6px 0 2px 12px; }
.ch-bublina { padding: 10px 14px; border-radius: 18px; background: #fff; border: 1px solid var(--okraj); overflow-wrap: anywhere; display: flex; flex-direction: column; gap: 8px; }
.ch-moja .ch-bublina { background: var(--akcent); border-color: var(--akcent); color: #fff; border-bottom-right-radius: 6px; }
.ch-cudzia .ch-bublina { border-bottom-left-radius: 6px; }
.ch-bublina p { margin: 0; }
.ch-moja .ch-bublina a { color: #fff; }
.ch-foto img { border-radius: 12px; max-height: 320px; width: auto; }
.ch-akcia { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--akcent-svetly); color: var(--akcent-tmavy) !important; text-decoration: none; border-left: 4px solid var(--akcent); }
.ch-moja .ch-akcia { background: #fff; }
.ch-akcia span { font-size: 13px; }
.ch-pata { display: flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--text-2); margin: 2px 6px 0; }

.ch-menu { position: relative; }
.ch-menu summary { list-style: none; cursor: pointer; width: 32px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; color: var(--text-2); }
.ch-menu summary::-webkit-details-marker { display: none; }
.ch-menu summary:hover, .ch-menu[open] summary { background: var(--akcent-svetly); color: var(--akcent); }
.ch-menu-hlava summary { width: 40px; height: 40px; }
.ch-menu-zoznam { position: absolute; z-index: 30; top: 100%; left: 0; min-width: 230px; background: #fff; border: 1px solid var(--okraj); border-radius: 12px; box-shadow: 0 16px 36px rgba(60, 20, 30, .18); padding: 6px; display: flex; flex-direction: column; }
.ch-menu-hlava .ch-menu-zoznam, .ch-moja .ch-menu-zoznam { left: auto; right: 0; }
.ch-menu-zoznam a, .ch-menu-zoznam button { display: block; width: 100%; text-align: left; padding: 10px 12px; border: 0; background: none; font: inherit; font-size: 14.5px; color: var(--text); text-decoration: none; border-radius: 8px; cursor: pointer; }
.ch-menu-zoznam a:hover, .ch-menu-zoznam button:hover { background: var(--plocha); color: var(--akcent); }

.ch-pisat { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "nahlad nahlad nahlad" "foto text odoslat"; align-items: end; gap: 8px 10px; padding: 12px 16px; border-top: 1px solid var(--okraj); background: #fff; }
.ch-pisat.ch-ma-akcie { grid-template-areas: "nahlad nahlad nahlad" "text text text" "foto akcia odoslat"; }
.ch-pisat-stred { display: contents; }
.ch-pisat .ch-priloha { grid-area: foto; }
.ch-pisat textarea { grid-area: text; }
.ch-pisat .ch-nahlad { grid-area: nahlad; }
.ch-pisat .ch-akcia-vyber, .ch-pisat .vyber { grid-area: akcia; min-width: 0; }
.ch-pisat .ch-odoslat { grid-area: odoslat; }
.ch-pisat textarea { font: inherit; font-size: 16px; width: 100%; min-height: 48px; max-height: 180px; padding: 12px 16px; border: 1px solid #d9c9cd; border-radius: 24px; resize: none; line-height: 1.4; }
.ch-pisat textarea:focus { outline: none; border-color: var(--akcent); box-shadow: 0 0 0 3px var(--akcent-svetly); }
.ch-priloha { width: 48px; height: 48px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--akcent-svetly); color: var(--akcent); cursor: pointer; position: relative; overflow: hidden; }
.ch-priloha .ik { width: 22px; height: 22px; }
.ch-priloha input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ch-priloha:focus-within { outline: 3px solid var(--akcent); outline-offset: 2px; }
.ch-odoslat { height: 48px; flex: none; gap: 8px; }
.ch-odoslat .ik { width: 18px; height: 18px; }
.ch-nahlad { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-2); }
.ch-nahlad img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; }
.ch-nahlad button { border: 0; background: none; color: var(--akcent); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; }
.ch-akcia-vyber { display: block; }
.ch-nepisat { margin: 0; padding: 14px 16px; border-top: 1px solid var(--okraj); color: var(--text-2); background: var(--plocha); font-weight: 600; }
.ch-poznamka { margin: 0; padding: 8px 16px 12px; font-size: 12.5px; color: var(--text-2); background: #fff; }
.ch-chyba { margin: 0 16px 8px; color: #9b1c1c; font-weight: 600; font-size: 14px; }
.ch-skryte { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ch-citat { margin: 0 0 16px; padding: 12px 16px; border-left: 4px solid var(--akcent); background: var(--plocha); border-radius: 0 10px 10px 0; }
.ch-napisat { margin-top: 12px; }
.ch-karta h2 { font-size: 19px; }
.ch-karta p { margin-bottom: 12px; }
.lista-spravy .ik { width: 20px; height: 20px; }

/* tablet na výšku a telefón: buď zoznam, alebo konverzácia na celú šírku */
@media (max-width: 900px) {
  .ch { grid-template-columns: 1fr; }
  .ch-bocny { height: auto; min-height: 0; }
  .ch-okno { height: calc(100vh - var(--ch-odpocet, 150px)); height: calc(100dvh - var(--ch-odpocet, 150px)); min-height: 380px; }
  .ch-je-detail .ch-bocny { display: none; }
  .ch:not(.ch-je-detail) .ch-okno { display: none; }
  .ch-spat { display: inline-flex; }
}
@media (max-width: 700px) {
  .ch-sekcia { padding: 0 0 8px; }
  .ch-sekcia > .obal { padding: 0; }
  .ch-bocny, .ch-okno { border-radius: 0; border-left: 0; border-right: 0; }
  .ch-spravy { padding: 12px; }
  .ch-sprava { max-width: 86%; }
  .ch-pisat { padding: 10px 12px; }
  .ch-poznamka { display: none; }
  .ch-odoslat span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ch-odoslat { width: 48px; padding: 0; justify-content: center; border-radius: 50%; }
  .ch-avatar { width: 40px; height: 40px; }
  .ch-hlava .ch-avatar { display: none; }
}

/* správa: obchod a štatistiky (graf tržieb ako inline SVG, farby len cez triedy kvôli CSP) */
.p-obchod-graf h2 small, .p-obchod-dva h2 small { font-weight: 500; font-size: 14px; color: var(--text-2); }
.p-graf { display: block; width: 100%; height: auto; margin: 8px 0 6px; }
.p-graf .g-stlpec { fill: var(--akcent); }
.p-graf g:hover .g-stlpec { fill: #6f1532; }
.p-graf .g-nula { fill: var(--okraj); }
.p-graf .g-zaklad { stroke: var(--okraj); stroke-width: 1; }
.p-graf .g-hodnota { fill: var(--text); font-size: 13px; font-weight: 700; }
.p-graf .g-os { fill: var(--text-2); font-size: 12.5px; }
.p-obchod-dva { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.p-obchod-cisla { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.p-obchod-cisla .p-cislo { box-shadow: none; }
.p-obchod-cisla .p-cislo strong { font-size: 26px; }
.p-ucet-obsah > .p-karta + .p-karta, .p-ucet-obsah > .p-obchod-dva, .p-ucet-obsah > .p-obchod-dva + .p-karta, .p-ucet-obsah > .p-cisla + .p-karta { margin-top: 16px; }
.p-obchod-prehlad { margin-top: 18px; }
.p-karta h3 { font-size: 16px; margin: 16px 0 8px; }
.p-graf-obal { overflow-x: auto; }
.p-graf-riadky { display: none; }
.p-obchod-dva td + td, .p-obchod-dva th + th { white-space: nowrap; }
@media (max-width: 760px) {
  .p-obchod-dva, .p-obchod-cisla { grid-template-columns: minmax(0, 1fr); }
  .p-ucet-obsah > .p-obchod-hore { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-obchod-hore .p-cislo strong { font-size: 24px; }
  .p-graf-obal { overflow: visible; }
  .p-graf-siroky { display: none; }
  .p-graf-riadky { display: block; }
  .p-graf-riadky .g-os { font-size: 14px; }
  .p-graf-riadky .g-hodnota { font-size: 14px; }
}

/* registrácia: otázka „Ste obec alebo mesto?“ len pri organizátorovi, názov obce len pri odpovedi Áno (Lukáš 30. 11. 2026) */
.p-obec-blok { display: none; }
.p-form:has(input[name="rola"][value="organizator"]:checked) .p-obec-blok { display: grid; gap: 10px; }
.p-obec-nazov { display: none; }
.p-obec-blok:has(input[name="je_obec"][value="1"]:checked) .p-obec-nazov { display: grid; }

/* Mobil (Lukáš 30. 11. 2026): plávajúce tlačidlo „Menu účtu“ pod tlačidlom hlavného menu a panel s položkami (stankar.js) */
.p-um-tl, .p-um-panel, .p-um-clona { display: none; }
@media (max-width: 980px) {
  .p-um-js .p-ucet > .p-ucet-menu { display: none; }
  .p-um-tl { position: fixed; z-index: 45; top: 118px; right: max(16px, env(safe-area-inset-right)); display: inline-flex; align-items: center; gap: 9px;
    min-height: 48px; padding: 10px 18px 10px 14px; border: 0; border-radius: 999px; background: var(--akcent); color: #fff;
    font: inherit; font-size: 16px; font-weight: 800; letter-spacing: .01em; cursor: pointer; box-shadow: 0 10px 24px rgba(140, 29, 64, .28); transition: transform .15s, box-shadow .15s; }
  .p-um-tl .p-um-ik { width: 22px; height: 22px; flex: none; }
  .p-um-tl:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(140, 29, 64, .34); }
  .p-um-tl:focus-visible { outline: 3px solid var(--ruzova); outline-offset: 3px; }
  .p-um-tl.otvorene { background: var(--akcent-tmavy, #6f1532); }
  .p-um-clona:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 64; background: rgba(36, 24, 28, .38); }
  .p-um-panel:not([hidden]) { display: flex; flex-direction: column; position: fixed; z-index: 66; top: 176px; right: max(12px, env(safe-area-inset-right));
    width: min(360px, calc(100vw - 24px)); max-height: calc(100dvh - 190px); overflow: auto; overscroll-behavior: contain;
    background: #fff; border: 1px solid var(--okraj); border-radius: 18px; box-shadow: 0 22px 48px rgba(40, 10, 20, .28); }
  .p-um-tl.otvorene { z-index: 67; }
  .p-um-hlava { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 18px; background: #fff; border-bottom: 1px solid var(--okraj); }
  .p-um-hlava strong { font-size: 17px; }
  .p-um-zavriet { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--okraj); border-radius: 999px; background: #fff; color: var(--text); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
  .p-um-zavriet svg { width: 18px; height: 18px; }
  .p-um-zoznam { display: flex; flex-direction: column; gap: 2px; padding: 8px; }
  .p-um-zoznam a { display: flex; align-items: center; min-height: 50px; padding: 10px 14px; border-radius: 12px; color: var(--text); font-size: 17px; font-weight: 600; text-decoration: none; }
  .p-um-zoznam a:hover { background: var(--plocha); color: var(--akcent); }
  .p-um-zoznam a[aria-current="page"] { background: var(--akcent); color: #fff; }
  /* Odhlásiť ostáva vždy viditeľné na spodku panelu, aj keď je položiek viac, než sa zmestí (predajca, 3. 12. 2026) */
  .p-um-zoznam form { position: sticky; bottom: 0; z-index: 1; margin: 6px -8px -8px; padding: 8px 8px 10px; border-top: 1px solid var(--okraj); background: #fff; box-shadow: 0 -10px 18px -14px rgba(40, 10, 20, .35); }
  .p-um-zoznam form button { width: 100%; min-height: 50px; padding: 10px 14px; border-radius: 12px; text-align: left; font-size: 17px; font-weight: 700; color: var(--akcent); }
  /* obsah nezačína pod plávajúcim tlačidlom */
  .p-um-js .p-ucet-obsah { padding-top: 58px; }
}
@media (prefers-reduced-motion: reduce) { .p-um-tl { transition: none; } }

/* Tabuľky do 980 px (telefón aj tablet) ako karty (data-l dopĺňa stankar.js z hlavičky), bez posúvania do strany */
@media (max-width: 980px) {
  .p-tabulka-obal:has(.p-tab-karty) { overflow: visible; border: 0; border-radius: 0; }
  .p-tab-karty, .p-tab-karty tbody, .p-tab-karty tr, .p-tab-karty td { display: block; width: 100%; }
  .p-tab-karty thead { display: none; }
  .p-tab-karty tr { margin: 0 0 10px; padding: 12px 14px; background: #fff; border: 1px solid var(--okraj); border-radius: 14px; }
  .p-tab-karty tr:last-child td { border: 0; }
  .p-tab-karty td { position: relative; padding: 6px 0 6px calc(36% + 10px); min-height: 32px; border: 0; font-size: 15px; overflow-wrap: anywhere; }
  .p-tab-karty td::before { content: attr(data-l); position: absolute; left: 0; top: 7px; width: 36%; color: var(--text-2); font-size: 13.5px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
  .p-tab-karty td:first-child { padding-left: 0; font-size: 16px; font-weight: 700; padding-bottom: 8px; margin-bottom: 4px; border-bottom: 1px solid var(--okraj); }
  .p-tab-karty td:first-child::before, .p-tab-karty td[data-l=""]::before { display: none; }
  .p-tab-karty td[data-l=""] { padding-left: 0; }
  .p-tab-karty td:empty { display: none; }
  .p-tab-karty td .btn, .p-tab-karty td button { min-height: 44px; }
}

/* zamknutá funkcia pre bezplatný účet (server/src/zamok.js, Lukáš 30. 11. 2026) */
.p-zamok { display: grid; gap: 12px; padding: 18px; border: 1px dashed var(--akcent); border-radius: 14px; background: var(--akcent-svetly); }
.p-zamok-hl { display: flex; align-items: center; gap: 12px; }
.p-zamok-hl strong { display: block; font-size: 17px; line-height: 1.25; }
.p-zamok-ik { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--akcent); color: #fff; }
.p-zamok-ik .ik { width: 20px; height: 20px; }
.p-zamok-tarifa { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--akcent); }
.p-zamok-nahlad { position: relative; padding: 12px 14px; border-radius: 10px; background: #fff; filter: blur(4px); user-select: none; pointer-events: none; }
.p-zamok-body { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.p-zamok p { margin: 0; }
.p-zamok .btn { justify-self: start; }
@media (max-width: 700px) { .p-zamok .btn { justify-self: stretch; text-align: center; } }
@media (max-width: 980px) {
  .p-um-kratky { display: none; }
  .p-um-tl.p-um-male { padding: 9px 15px 9px 12px; min-height: 46px; }
  .p-um-tl.p-um-male .p-um-dlhy { display: none; }
  .p-um-tl.p-um-male .p-um-kratky { display: inline; }
}
/* tlačidlo Hore nad dolnou lištou (inak zakrýva položku Účet) a čitateľnejšie popisky lišty */
@media (max-width: 760px) {
  body.ma-tab .hore { bottom: calc(82px + env(safe-area-inset-bottom)); }
  .p-tab a { font-size: 12.5px; }
}
.p-stitok-plus { background: var(--ruzova); color: var(--akcent-tmavy); }
.p-zoznam-akcie { display: flex; flex-wrap: wrap; gap: 8px; }
/* zatvorená zásuvka menu (otočená mimo obrazovky) nesmie rozťahovať stránku do strany */
html { overflow-x: clip; }
/* horná lišta na úzkom mobile po prihlásení: ostane Pomoc, zvonček a meno v jednom riadku (Pre obce, Cenník, Bazár sú v hlavnom menu) */
@media (max-width: 560px) {
  .lista-odkazy li:not(:last-child) { display: none; }
  .lista-odkazy li + li::before { display: none; }
  .lista-odkazy a { display: inline-flex; align-items: center; min-height: 40px; font-size: 14px; }
  .lista .lista-prihlasit { display: inline-block; max-width: 52vw; line-height: 40px; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .lista .lista-prihlasit .ik { vertical-align: -3px; margin-right: 4px; }
  .lista .lista-zvoncek { width: 44px; height: 40px; }
}
/* väčšie dotykové plochy a čitateľnejšie drobné prvky na mobile */
@media (max-width: 700px) {
  .p-filtre a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; font-size: 15px; }
  .p-odkaz-tlacidlo { min-height: 44px; }
  .p-karta summary, details > summary { min-height: 44px; display: flex; align-items: center; }
  .p-stav { font-size: 13.5px; }
}

/* Trhoviská (Lukáš 2. 12. 2026): predajné dni, overenie povolenia QR kódom */
.p-dni { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 6px; }
.p-povolenie-stav { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px; border-radius: var(--zaobl); margin-bottom: 22px; }
.p-povolenie-stav strong { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.p-povolenie-stav span { font-size: 17px; font-weight: 600; }
.p-povolenie-ok { background: #e7f4ec; color: #1d6b3f; border: 2px solid #9fd3b2; }
.p-povolenie-nie { background: #fdecec; color: #9b1c1c; border: 2px solid #f1b4b4; }
.p-povolenie-qr { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 10px 0 14px; padding: 14px; background: var(--plocha); border-radius: 14px; }
.p-povolenie-qr .p-qr { margin: 0; }
.p-povolenie-qr > div:last-child { flex: 1 1 240px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.p-rozhodnutie { display: grid; grid-template-columns: minmax(170px, 1fr) 110px minmax(200px, 2fr) auto; gap: 10px; align-items: end; margin: 14px 0 10px; padding-top: 14px; border-top: 1px solid var(--okraj); }
@media (max-width: 760px) { .p-rozhodnutie { grid-template-columns: 1fr 110px; } .p-rozhodnutie .p-pole:nth-child(3), .p-rozhodnutie .btn { grid-column: 1 / -1; } }
#ziadost .p-form { grid-template-columns: minmax(0, 1fr); }
#ziadost .p-pole, #ziadost .p-riadok2 > * { min-width: 0; }
.p-trh-text h2 { margin-top: 26px; }
.p-pole input.p-subory { padding: 8px; font-size: 14.5px; cursor: pointer; }
.p-subory::file-selector-button { font: inherit; font-weight: 700; margin-right: 12px; padding: 8px 14px; border: 1px solid var(--akcent); border-radius: 999px; background: #fff; color: var(--akcent); cursor: pointer; }
.p-subory::file-selector-button:hover { background: var(--akcent); color: #fff; }
/* mapa stolov trhoviska */
.p-mapa-obal { overflow-x: auto; margin: 10px 0 6px; border-radius: 12px; -webkit-overflow-scrolling: touch; }
svg.p-mapa { display: block; width: 100%; height: auto; touch-action: manipulation; }
@media (max-width: 760px) { svg.p-mapa { width: auto; min-width: 100%; height: auto; max-width: none; } svg.p-mapa:not(.p-mapa-ed) { width: 680px; } svg.p-mapa-ed { width: 760px; } }
.p-mapa-plocha { fill: #faf6f4; stroke: #eadfdc; }
.p-mapa-ciara { fill: none; stroke: #efe5e2; stroke-width: 1; }
.p-mapa text { font: 800 16px Inter, sans-serif; text-anchor: middle; pointer-events: none; user-select: none; }
.p-mapa .p-mapa-ik { font-size: 13px; }
.p-mapa-prvok rect { stroke-width: 1.5; }
.p-mapa-prvok text { font-size: 13px; font-weight: 600; fill: #6b5a5e; }
.p-mapa-cesta rect { fill: #e9e3df; stroke: #d6ccc7; }
.p-mapa-budova rect { fill: #cfc5c1; stroke: #b3a7a2; }
.p-mapa-zelen rect { fill: #dcefd9; stroke: #a8cfa4; } .p-mapa-zelen text { fill: #3f6b3b; }
.p-mapa-vstup rect { fill: #fff; stroke: var(--akcent); stroke-dasharray: 6 4; } .p-mapa-vstup text { fill: var(--akcent); }
.p-mapa-stol rect { stroke-width: 2; }
.p-mapa-vol rect { fill: #fff; stroke: #2f7d4f; } .p-mapa-vol text { fill: #2f7d4f; }
.p-mapa-mobs rect { fill: #e4dcda; stroke: #cbbfbc; } .p-mapa-mobs text { fill: #8a7b7e; }
.p-mapa-zvol rect { fill: var(--akcent); stroke: var(--akcent); } .p-mapa-zvol text { fill: #fff; }
.p-mapa-cak rect { fill: #fff8e6; stroke: #c98a00; stroke-dasharray: 5 3; } .p-mapa-cak text { fill: #8a5d00; }
.p-mapa-pri rect { fill: var(--akcent-svetly); stroke: var(--akcent); } .p-mapa-pri text { fill: var(--akcent); }
.p-mapa-obs rect { fill: var(--akcent); stroke: var(--akcent); } .p-mapa-obs text { fill: #fff; }
.p-mapa-vyber .p-mapa-vol, .p-mapa-vyber .p-mapa-zvol { cursor: pointer; }
.p-mapa-vyber .p-mapa-vol:hover rect { fill: #eaf5ee; }
.p-mapa-vyber .p-mapa-stol:focus { outline: none; } .p-mapa-vyber .p-mapa-stol:focus-visible rect { stroke: var(--text); stroke-width: 3; }
.p-mapa-legenda .lg-vol { background: #fff; border-color: #2f7d4f; } .p-mapa-legenda .lg-mobs { background: #e4dcda; border-color: #cbbfbc; }
.p-mapa-legenda .lg-zvol { background: var(--akcent); border-color: var(--akcent); } .p-mapa-legenda .lg-cak { background: #fff8e6; border-color: #c98a00; border-style: dashed; }
.p-mapa-hlaska:empty, .p-zvoleny-stol[hidden] { display: none; }
.p-mapa-hlaska { margin: 4px 0 0; font-weight: 700; color: var(--akcent); }
.p-zvoleny-stol { margin: -4px 0 0; font-weight: 700; color: var(--akcent); }
.p-mapa-spravca { margin: 14px 0 18px; }
/* editor */
.p-mapa-nastroje { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 6px; }
.p-mapa-nastroj { font: inherit; font-weight: 700; padding: 9px 16px; border-radius: 999px; border: 1px solid #d9c9cd; background: #fff; color: var(--text); cursor: pointer; }
.p-mapa-nastroj:hover { border-color: var(--akcent); color: var(--akcent); }
.p-mapa-nastroj[aria-pressed="true"] { background: var(--akcent); border-color: var(--akcent); color: #fff; }
svg.p-mapa-ed { cursor: crosshair; touch-action: none; }
svg.p-mapa-ed:focus { outline: none; } svg.p-mapa-ed:focus-visible { outline: 3px solid var(--akcent-svetly); }
.p-mapa-ed .p-mapa-stol, .p-mapa-ed .p-mapa-prvok { cursor: grab; }
.p-mapa-oznaceny rect { stroke: var(--text) !important; stroke-width: 3 !important; }
.p-mapa-panely { display: grid; gap: 14px; margin-top: 10px; }
.p-mapa-riadok { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.p-mapa-riadok .p-pole { flex: 1 1 150px; }
.p-mapa-panel [hidden] { display: none; }
.p-detail > * { min-width: 0; }
.p-ukazka-trh { margin: 10px 0 26px; } .p-ukazka-trh .p-detail-bok { position: static; }
.p-mapa-panel[hidden] { display: none; }
.p-ukazka-h { margin-top: 34px !important; }
/* mapa areálu na skutočnej mape (Lukáš 2. 12. 2026) */
.ar-mapa { height: 560px; border-radius: 14px; border: 1px solid var(--okraj); z-index: 0; background: #eee8e5; }
.ar-mapa.ar-pridavam { cursor: crosshair; }
.ar-mapa.ar-pridavam .leaflet-grab { cursor: crosshair; }
.ar-plocha { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.ar-plocha:has(.ar-panel[hidden]) { grid-template-columns: minmax(0, 1fr); }
.ar-panel { position: sticky; top: 16px; display: grid; gap: 10px; margin: 0; }
.ar-panel[hidden], .ar-pole[hidden], .ar-panel [hidden] { display: none; }
.ar-panel h3 { margin: 0; }
.ar-nastroje { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 6px; }
.ar-nastroj { font: inherit; font-weight: 700; font-size: 14.5px; padding: 8px 14px; border-radius: 999px; border: 1px solid #d9c9cd; background: #fff; color: var(--text); cursor: pointer; }
.ar-nastroj:hover { border-color: var(--akcent); color: var(--akcent); }
.ar-nastroj[aria-pressed="true"] { background: var(--akcent); border-color: var(--akcent); color: #fff; }
.ar-hladaj { position: relative; display: flex; gap: 8px; margin: 10px 0; }
.ar-hladaj input { flex: 1; font: inherit; font-size: 16px; min-height: 46px; padding: 10px 14px; border: 1px solid #d9c9cd; border-radius: 999px; }
.ar-vysledky { position: absolute; top: 52px; left: 0; right: 0; z-index: 1000; background: #fff; border: 1px solid var(--okraj); border-radius: 12px; box-shadow: 0 10px 30px rgba(40, 20, 25, .12); padding: 6px; }
.ar-vysledky[hidden] { display: none; }
.ar-vysledky button { display: block; width: 100%; text-align: left; font: inherit; padding: 10px 12px; border: 0; background: none; border-radius: 8px; cursor: pointer; }
.ar-vysledky button:hover, .ar-vysledky button:focus-visible { background: var(--akcent-svetly); }
.ar-prepinac { display: flex; gap: 6px; }
.ar-prepinac button { flex: 1; font: inherit; font-weight: 700; min-height: 44px; border-radius: 999px; border: 1px solid #d9c9cd; background: #fff; cursor: pointer; }
.ar-prepinac button[aria-checked="true"] { background: var(--akcent); border-color: var(--akcent); color: #fff; }
.ar-rad { margin: 12px 0; } .ar-rad summary { font-weight: 700; cursor: pointer; color: var(--akcent); }
.ar-rad-pole { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin-top: 10px; } .ar-rad-pole .p-pole { flex: 1 1 120px; }
/* značky na mape */
.ar-ik span { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 2px solid #6b5a5e; font-size: 17px; line-height: 1; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.ar-ik-elektrina span { background: #fff6d6; border-color: #c98a00; }
.ar-ik-voda span { background: #e3f0ff; border-color: #3a78c2; }
.ar-ik-wc span, .ar-ik-info span, .ar-ik-parkovanie span { background: #eef0ff; border-color: #4d58a8; }
.ar-ik-prva_pomoc span, .ar-ik-hasiaci span { background: #ffe9e9; border-color: #c62828; color: #c62828; font-weight: 900; }
.ar-ik-odpad span { background: #e8f4e6; border-color: #3f7d3a; }
.ar-ik-vstup span { background: #fff; border-color: var(--akcent); }
.ar-ik.ar-volny span { background: #e3f6ea; border-color: #2f7d4f; }
.ar-ik.ar-plny span { background: #eee; border-color: #9a8f91; filter: grayscale(1); opacity: .75; }
.ar-ik.ar-ciel-bod span { transform: scale(1.25); border-width: 3px; box-shadow: 0 0 0 5px rgba(47, 125, 79, .25); }
.ar-ik.ar-pripojeny-bod span { background: #2f7d4f; color: #fff; }
.ar-vybrany span { box-shadow: 0 0 0 4px rgba(140, 29, 64, .45) !important; }
.ar-stanok-ik span { display: flex; align-items: center; justify-content: center; width: 30px; height: 22px; border-radius: 6px; background: rgba(255, 255, 255, .92); color: var(--akcent); font: 800 13px Inter, sans-serif; border: 1px solid var(--akcent); }
.ar-stanok-ik.ar-moj span { background: var(--akcent); color: #fff; }
.ar-poly { fill: #fff; fill-opacity: .55; stroke: var(--akcent); }
.ar-poly-obsadeny, .ar-poly-moj { fill: var(--akcent); fill-opacity: .45; }
.ar-poly-plocha { fill: #f0c95a; fill-opacity: .25; stroke: #b88a00; stroke-dasharray: 6 4; }
.ar-poly-podium { fill: #6b5a5e; fill-opacity: .35; stroke: #4a3a3e; }
.ar-poly-vybrany { stroke: #1b1b1b; stroke-width: 3; }
.ar-ja { fill: #2a7de1; fill-opacity: 1; stroke: #fff; }
.ar-ciara { stroke: #2f7d4f; fill: none; }
.leaflet-container { font: inherit; }
/* navigácia */
.ar-ciel { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; align-items: center; margin: 0 0 14px; }
.ar-sipka-obal { position: relative; display: flex; align-items: center; justify-content: center; width: 150px; height: 150px; border-radius: 50%; background: #e3f6ea; }
.ar-sipka { width: 110px; height: 110px; transition: transform .25s ease-out; }
.ar-sipka path { fill: #2f7d4f; }
.ar-sipka.ar-sipka-ziadna path { fill: #b9adb0; }
.ar-sever { position: absolute; bottom: 8px; font-size: 12px; color: var(--text-2); }
.ar-ciel h2 { margin: 2px 0 4px; }
.ar-vzdialenost { font-size: 34px; font-weight: 800; margin: 0; color: #2f7d4f; }
.ar-hlaska:empty { display: none; } .ar-hlaska { font-weight: 700; color: var(--akcent); }
.ar-kw-pole { max-width: 100%; } .ar-kw-pole input { width: 120px; }
.ar-mapa-nav { height: 420px; }
.ar-zoznam { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; }
.ar-zoznam li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--okraj); border-radius: 12px; background: #fff; }
.ar-zoznam li span { display: block; color: var(--text-2); font-size: 14.5px; }
.ar-zoznam .ar-z-plne { opacity: .6; } .ar-zoznam .ar-z-ciel { border-color: #2f7d4f; box-shadow: 0 0 0 2px rgba(47, 125, 79, .2); }
.ar-body { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.ar-bod { margin: 0; } .ar-bod h3 { margin: 0 0 4px; }
.ar-pripojeny { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid var(--okraj); }
/* ukážka hodiniek */
.ar-ukazka-nav { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 24px; align-items: start; }
.ar-hodinky-obal { position: sticky; top: 16px; text-align: center; }
.ar-hodinky { width: 220px; height: 220px; margin: 0 auto 10px; border-radius: 50%; background: #000; border: 10px solid #2b2b2e; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); overflow: hidden; position: relative; cursor: pointer; color: #f5eef0; }
.ar-hodinky:focus-visible { outline: 3px solid var(--akcent); outline-offset: 4px; }
.ar-h-sipka { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.ar-h-sipka[hidden], .ar-h-mapa[hidden] { display: none; }
.ar-h-sipka .ar-sipka { width: 76px; height: 76px; } .ar-h-sipka .ar-sipka path { fill: #3fb96b; }
.ar-h-sipka strong { font-size: 26px; } .ar-h-sipka span { font-size: 13px; color: #f5eef0; max-width: 150px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .ar-h-sipka small { font-size: 12px; color: #b3a6aa; }
.ar-h-mapa { position: absolute; inset: 0; border-radius: 50%; }
@media (max-width: 900px) {
  .ar-plocha, .ar-ukazka-nav { grid-template-columns: minmax(0, 1fr); }
  .ar-panel { position: static; }
  .ar-mapa { height: 440px; }
  .ar-ciel { grid-template-columns: 110px minmax(0, 1fr); gap: 14px; }
  .ar-sipka-obal { width: 110px; height: 110px; } .ar-sipka { width: 80px; height: 80px; }
  .ar-vzdialenost { font-size: 28px; }
}
.ar-nav [hidden], .ar-editor [hidden] { display: none !important; }
.ar-prepinac button { white-space: nowrap; padding: 0 10px; }
.ar-stanok-ik span { width: 22px; height: 16px; font-size: 11px; border-radius: 4px; background: rgba(255, 255, 255, .85); }

/* Upozornenie v appke pri otvorenej obrazovke (3. 12. 2026): karta hore, ťuknutie otvorí cieľ */
.p-upoz { position: fixed; z-index: 90; top: calc(env(safe-area-inset-top, 0px) + 12px); left: 50%; width: min(480px, calc(100vw - 24px));
  display: flex; align-items: stretch; background: #fff; border: 1px solid var(--okraj); border-left: 5px solid var(--akcent); border-radius: var(--zaobl);
  box-shadow: 0 18px 40px rgba(40, 10, 20, .22); opacity: 0; transform: translate(-50%, -16px); transition: opacity .2s, transform .2s; }
.p-upoz.p-upoz-on { opacity: 1; transform: translate(-50%, 0); }
.p-upoz-obsah { flex: 1; min-width: 0; display: flex; align-items: flex-start; gap: 12px; padding: 14px 4px 14px 14px; color: var(--text); text-decoration: none; }
.p-upoz-ik { flex: none; width: 36px; height: 36px; padding: 7px; border-radius: 50%; background: var(--akcent-svetly); color: var(--akcent); }
.p-upoz-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.p-upoz-text strong { font-size: 16px; font-weight: 700; color: var(--text); overflow-wrap: anywhere; }
.p-upoz-text span { font-size: 15px; color: var(--text-2); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
a.p-upoz-obsah:hover strong { color: var(--akcent); }
.p-upoz-zavriet { flex: none; align-self: flex-start; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 6px 6px 0 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--text-2); cursor: pointer; }
.p-upoz-zavriet:hover { background: var(--plocha); color: var(--akcent); }
.p-upoz-zavriet svg { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) { .p-upoz { transition: none; } }
