/* Ave Lišta web (app.avegroup.cz), styl jako avegroup.cz: černobílý, Inter, světlý i tmavý */
:root {
  --bg: #ffffff; --bg-2: #f6f6f6; --bg-3: #ececec; --card: #ffffff;
  --fg: #111111; --fg-2: #444444; --fg-3: #666666; --line: #dcdcdc;
  --inv-bg: #111111; --inv-fg: #ededed; --danger: #c0392b; --ok: #1f8a4c;
  --side: 232px; --r: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0b0b; --bg-2: #141414; --bg-3: #1f1f1f; --card: #121212;
    --fg: #f2f2f2; --fg-2: #c8c8c8; --fg-3: #a0a0a0; --line: #343434;
    --inv-bg: #ededed; --inv-fg: #111111; --danger: #ff6b5b; --ok: #4cc27f;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0b0b; --bg-2: #141414; --bg-3: #1f1f1f; --card: #121212;
  --fg: #f2f2f2; --fg-2: #c8c8c8; --fg-3: #a0a0a0; --line: #343434;
  --inv-bg: #ededed; --inv-fg: #111111; --danger: #ff6b5b; --ok: #4cc27f;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overscroll-behavior: none; }   /* celé okno nepruží při skrolování (Josef 7. 11. 2026) */
body {
  background: var(--bg); color: var(--fg);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
svg { display: block; }

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -0.01em; text-decoration: none; font-size: 16px; }
.logo-mark { width: 28px; height: 28px; border-radius: 7px; background: var(--inv-bg); color: var(--inv-fg); display: grid; place-items: center; flex: none; }

/* Tlačítka a pole */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--card); font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: opacity .15s, background .15s;
}
.btn:hover { background: var(--bg-2); }
.btn:disabled { opacity: .5; cursor: default; }
.btn-main { background: var(--inv-bg); color: var(--inv-fg); border-color: var(--inv-bg); }
.btn-main:hover { background: var(--inv-bg); opacity: .88; }
.btn-full { width: 100%; height: 46px; font-size: 15px; }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }
.link { background: none; border: 0; padding: 0; color: var(--fg-2); cursor: pointer; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--fg); }
.input {
  width: 100%; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--card); outline: none; font-size: 15px;
}
.input:focus { border-color: var(--fg-3); box-shadow: 0 0 0 3px color-mix(in srgb, var(--fg) 8%, transparent); }
select.input { appearance: none; padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23888' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; cursor: pointer; }
.chyba { color: var(--danger); font-size: 14px; min-height: 20px; margin: 10px 0 0; }

/* Přihlášení */
.login { min-height: 100%; display: grid; place-items: center; padding: 24px 16px; }
.login-box { width: 100%; max-width: 380px; }
.login-box .logo { justify-content: center; margin-bottom: 40px; }
.login h1 { font-size: 28px; letter-spacing: -0.025em; font-weight: 600; text-align: center; margin: 0 0 8px; }
.login p.pod { text-align: center; color: var(--fg-2); margin: 0 0 28px; }
.login form { display: grid; gap: 12px; }
.login p.souhlas { margin: 0; text-align: center; font-size: 13px; color: var(--fg-3); }
.login p.souhlas a { color: inherit; text-decoration: underline; }
.kod { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.kod input { height: 56px; text-align: center; font-size: 22px; font-weight: 600; padding: 0; border-radius: 12px; border: 1px solid var(--line); background: var(--card); outline: none; min-width: 0; }
.kod input:focus { border-color: var(--fg-3); box-shadow: 0 0 0 3px color-mix(in srgb, var(--fg) 8%, transparent); }
.login-odkazy { display: flex; justify-content: center; gap: 22px; margin-top: 18px; }

/* Rozvržení */
.shell { display: flex; min-height: 100%; }
.side {
  width: var(--side); flex: none; border-right: 1px solid var(--line); padding: 18px 12px;
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 22px; background: var(--bg);
}
.side .logo { padding: 4px 10px; }
.org-nazev { padding: 0 10px; font-size: 13px; color: var(--fg-3); margin-top: -12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { display: grid; gap: 2px; }
.nav a { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 10px; text-decoration: none; color: var(--fg-2); font-weight: 500; font-size: 14.5px; }
.nav a:hover { background: var(--bg-2); color: var(--fg); }
.nav a[aria-current] { background: var(--bg-3); color: var(--fg); }
.nav svg { width: 18px; height: 18px; flex: none; }
.side-spodek { margin-top: auto; padding: 0 10px; font-size: 13px; color: var(--fg-3); }
.main { flex: 1; min-width: 0; }
.obsah { max-width: 1040px; margin: 0 auto; padding: 32px 40px 80px; }
.hlava { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
h1.nadpis { font-size: 26px; font-weight: 600; letter-spacing: -0.025em; margin: 0; }
.pocet { color: var(--fg-3); font-weight: 500; font-size: 15px; margin-left: 8px; letter-spacing: 0; }
.tabbar { display: none; }

/* Filtry */
.filtry { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; align-items: center; }
.seg { display: inline-flex; background: var(--bg-2); border-radius: 999px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: none; height: 32px; padding: 0 14px; border-radius: 999px; cursor: pointer; font-size: 13.5px; font-weight: 500; color: var(--fg-2); }
.seg button[aria-pressed="true"] { background: var(--card); color: var(--fg); box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 0 0 1px var(--line); }
.filtry .input { height: 38px; width: auto; font-size: 14px; }
.hledat { flex: 1; min-width: 200px; position: relative; }
.hledat .input { width: 100%; padding-left: 36px; }
.hledat svg { position: absolute; left: 12px; top: 11px; color: var(--fg-3); }

/* Seznam nahrávek */
.seznam { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--card); }
.radek { display: flex; gap: 14px; padding: 14px 16px; text-decoration: none; border-top: 1px solid var(--line); align-items: flex-start; }
.radek:first-child { border-top: 0; }
.radek:hover { background: var(--bg-2); }
.ikona { width: 34px; height: 34px; border-radius: 9px; background: var(--bg-2); display: grid; place-items: center; flex: none; color: var(--fg-2); }
.radek-telo { min-width: 0; flex: 1; }
.radek-nazev { font-weight: 600; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.radek-meta { color: var(--fg-3); font-size: 13px; margin-top: 1px; }
.radek-kratce { color: var(--fg-2); font-size: 13.5px; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.prazdno { padding: 48px 16px; text-align: center; color: var(--fg-3); }
.vic { display: flex; justify-content: center; margin-top: 16px; }

/* Detail */
.zpet { display: inline-flex; align-items: center; gap: 6px; color: var(--fg-2); text-decoration: none; font-size: 14px; margin-bottom: 16px; }
.zpet:hover { color: var(--fg); }
.detail-nazev { font-size: 26px; font-weight: 600; letter-spacing: -0.025em; margin: 0 0 6px; line-height: 1.2; }
.detail-meta { color: var(--fg-3); font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.prehravac { margin: 22px 0 6px; }
.prehravac audio { width: 100%; }
.prehravac video { width: 100%; border-radius: var(--r); background: #000; }
.akce { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 0; }
.zalozky { display: flex; gap: 24px; border-bottom: 1px solid var(--line); margin: 26px 0 20px; }
.zalozky button { border: 0; background: none; padding: 10px 0; font-weight: 600; font-size: 14.5px; color: var(--fg-3); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.zalozky button[aria-selected="true"] { color: var(--fg); border-bottom-color: var(--fg); }
.shrnuti-text { font-size: 15.5px; line-height: 1.6; margin: 0 0 18px; max-width: 72ch; }
.karty { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.karta { border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; background: var(--card); }
.karta h3 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--fg-3); font-weight: 600; }
.karta ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.prepis { white-space: pre-wrap; font-size: 14.5px; line-height: 1.7; color: var(--fg-2); max-width: 78ch; }

/* Úkoly */
.clovek { margin-bottom: 26px; }
.clovek-hlava { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--inv-bg); color: var(--inv-fg); display: grid; place-items: center; font-size: 13px; font-weight: 600; flex: none; }
.clovek-hlava b { font-size: 16px; }
.clovek-hlava span { color: var(--fg-3); font-size: 13.5px; }
.ukol-nahravka { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; margin-bottom: 10px; background: var(--card); }
.ukol-nahravka a { font-weight: 600; text-decoration: none; }
.ukol-nahravka a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ukol-nahravka .radek-meta { margin-bottom: 8px; }
.ukol-nahravka ul { margin: 0; padding-left: 18px; display: grid; gap: 5px; }
.filtry { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.ukol-nahravka ul.ukoly-seznam { padding-left: 0; list-style: none; gap: 6px; }
.ukoly-seznam label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.ukoly-seznam input[type="checkbox"] { width: 17px; height: 17px; margin: 2px 0 0; flex: none; cursor: pointer; accent-color: var(--fg); }
.ukoly-seznam .ukol-hotovo { color: var(--fg-3); }
.ukoly-seznam .ukol-hotovo span { text-decoration: line-through; }

/* Organizace a účet */
.panel { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); margin-bottom: 18px; }
.panel-hlava { padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.panel-hlava h2 { margin: 0; font-size: 16px; font-weight: 600; }
.panel-telo { padding: 18px 20px; }
.stitek { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--fg-2); }
.clen { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-top: 1px solid var(--line); }
.clen:first-child { border-top: 0; }
.clen-telo { flex: 1; min-width: 0; }
.clen-telo b { display: block; font-weight: 600; font-size: 14.5px; }
.clen-telo span { color: var(--fg-3); font-size: 13px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* verze lišty u člena (kolo 1, 27. 10. 2026), zastaralá červeně */
.clen-telo .clen-verze.zastarala { color: var(--danger); }
.nast-pata { flex-wrap: wrap; }
.clen select.input { width: 120px; height: 34px; font-size: 13.5px; }
.clen .role { color: var(--fg-2); font-size: 13.5px; }
.x { width: 32px; height: 32px; border-radius: 8px; border: 0; background: none; color: var(--fg-3); cursor: pointer; display: grid; place-items: center; flex: none; }
.x:hover { background: var(--bg-2); color: var(--danger); }
.pridat { display: flex; gap: 10px; padding: 16px 20px; border-top: 1px solid var(--line); }
.pridat .input { height: 40px; }
.radek-udaj { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.radek-udaj:first-child { border-top: 0; padding-top: 0; }
.radek-udaj span { color: var(--fg-3); }
.radek-udaj b { font-weight: 500; text-align: right; overflow-wrap: anywhere; }

/* Člen bez přístupu */
.stop { min-height: 100%; display: grid; place-items: center; padding: 24px 16px; text-align: center; }
.stop h1 { font-size: 24px; letter-spacing: -0.02em; font-weight: 600; margin: 28px 0 24px; }
.stop .akce { justify-content: center; }

/* Hláška */
#toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--inv-bg); color: var(--inv-fg); padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; transition: .2s; z-index: 50; max-width: calc(100% - 32px); }
#toast.vidim { opacity: 1; transform: translate(-50%, 0); }
.nacitani { padding: 60px 0; text-align: center; color: var(--fg-3); }

/* Telefon */
@media (max-width: 760px) {
  .side { display: none; }
  .obsah { padding: 18px 16px calc(96px + env(safe-area-inset-bottom)); }
  .mobil-hlava { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 0; }
  h1.nadpis { font-size: 24px; }
  .detail-nazev { font-size: 22px; }
  .tabbar {
    display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .tabbar a { display: grid; justify-items: center; gap: 3px; font-size: 11px; font-weight: 500; color: var(--fg-3); text-decoration: none; padding: 4px 0; }
  .tabbar a[aria-current] { color: var(--fg); }
  .tabbar svg { width: 22px; height: 22px; }
  .filtry .seg { width: 100%; }
  .filtry .seg button { flex: 1; }
  .filtry select.input { flex: 1; }
  .hledat { min-width: 100%; order: -1; }
  .radek { padding: 12px 14px; }
  .clen { padding: 12px 14px; flex-wrap: wrap; }
  .clen-telo { flex-basis: calc(100% - 50px); }
  .clen select.input { margin-left: 42px; }
  .pridat { flex-direction: column; padding: 14px; }
  .panel-hlava, .panel-telo { padding: 16px 14px; }
  .karty { grid-template-columns: 1fr; }
}
@media (min-width: 761px) { .mobil-hlava { display: none; } }

#app { min-height: 100%; height: 100%; }
.stop .logo { justify-content: center; }
.login { align-items: start; padding-top: 12vh; }
.stop { align-items: start; padding-top: 18vh; }

/* přepínač organizace (víc organizací, 24. 10. 2026) */
.org-prep { position: relative; overflow: visible; }
.side .org-prep { padding: 0 4px; }
.org-tl { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; height: 30px; padding: 0 10px 0 12px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--fg); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.org-tl:hover { background: var(--bg-3); }
.org-tl .org-jmeno { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.org-sipka { display: inline-flex; color: var(--fg-3); flex: none; }
.org-menu { position: absolute; z-index: 50; top: 36px; left: 4px; min-width: 240px; padding: 5px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.16); }
.org-mobil .org-menu { left: auto; right: 0; }
.org-polozka { display: flex; align-items: center; gap: 10px; width: 100%; height: 36px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--fg); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.org-polozka:hover, .org-polozka:focus-visible { background: var(--bg-3); outline: none; }
.org-polozka .org-jmeno { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.org-check { display: inline-flex; width: 14px; visibility: hidden; }
.org-polozka[aria-checked="true"] .org-check { visibility: visible; }
.org-role { font-size: 12px; color: var(--fg-3); }
.org-mobil { position: relative; min-width: 0; }
.org-mobil .org-tl { max-width: 52vw; }

/* Právě probíhá (24. 10. 2026) */
:root { --live: #e5484d; }
.nav-ikona { position: relative; display: inline-flex; }
.odznak { position: absolute; top: -6px; right: -9px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--live); color: #fff; font-size: 10.5px; font-weight: 700; line-height: 16px; text-align: center; }
.odznak[hidden] { display: none; }
.zive-nazev { font-weight: 400; color: var(--fg-2); margin-left: 8px; }
.zive-radek { align-items: center; }
.zive-cas { display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; font-weight: 600; font-size: 14px; flex: none; }
.zive-tecka { width: 8px; height: 8px; border-radius: 50%; background: var(--live); flex: none; animation: zive-puls 1.6s ease-in-out infinite; }
@keyframes zive-puls { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .zive-tecka { animation: none; } }
.zive-skoncilo { margin-top: 28px; }
.zive-skoncilo h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--fg-3); font-weight: 600; margin: 0 0 10px; }
.zive-konec { padding: 10px 16px; align-items: center; }
.zive-konec .radek-nazev { font-size: 14px; font-weight: 500; }
.zive-stav { color: var(--fg-3); font-size: 13px; flex: none; }
.zive-hlava { position: sticky; top: 0; z-index: 5; background: var(--bg); padding: 16px 0 14px; margin: -12px 0 18px; border-bottom: 1px solid var(--line); }
.zive-hlava .detail-meta { font-variant-numeric: tabular-nums; }
.zive-ted { display: inline-flex; align-items: center; gap: 7px; color: var(--live); font-weight: 600; }
.zive-zprac { color: var(--fg-3); font-size: 14px; align-self: center; }
.zive-prepis { display: grid; gap: 6px; white-space: normal; }
.zive-t { color: var(--fg-3); font-variant-numeric: tabular-nums; }
.prazdno-prepis { color: var(--fg-3); }
@media (max-width: 760px) {
  .tabbar { grid-template-columns: repeat(5, 1fr); }
  .zive-nazev { display: block; margin-left: 0; font-size: 13px; }
  .zive-radek .radek-nazev, .zive-konec .radek-nazev { white-space: normal; }
}

/* Předplatné (Stripe, 24. 10. 2026) */
.stitky { display: flex; gap: 6px; }
.stitek-test { color: #9a6700; border-color: #e7c76a; background: #fff8e1; }
.stav-active, .stav-trialing { color: var(--ok); }
.stav-past_due, .stav-incomplete { color: var(--danger); }
.nacitani-maly { color: var(--fg-3); }
.pozn { color: var(--fg-3); font-size: 13.5px; margin-top: 14px; }
.upozorneni { margin-top: 12px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--danger); color: var(--danger); font-size: 14px; }
.tarify-hlava { display: flex; justify-content: center; margin: 4px 0 16px; }
.tarify { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tarif { border: 1px solid var(--line); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 6px; background: var(--bg); }
.tarif-nazev { font-weight: 600; font-size: 15px; }
.tarif-cena { font-size: 26px; font-weight: 650; letter-spacing: -0.02em; }
.tarif-cena span { font-size: 14px; font-weight: 500; color: var(--fg-3); letter-spacing: 0; }
.tarif-pozn { color: var(--fg-3); font-size: 13px; margin-bottom: 10px; }
.tarif .btn { margin-top: auto; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .stitek-test { color: #f0c24b; border-color: #5c4a14; background: #221c08; } }
:root[data-theme="dark"] .stitek-test { color: #f0c24b; border-color: #5c4a14; background: #221c08; }
@media (max-width: 640px) { .tarify { grid-template-columns: 1fr; } }
/* Vlastní AI klíč a úložiště (24. 10. 2026) */
.formular { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; margin-top: 14px; }
.formular:empty { display: none; }
.formular .radek-udaj { grid-column: 1 / -1; border-top: 0; padding: 0; }
.pole { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--fg-3); min-width: 0; }
.pole .input { height: 40px; font-size: 14px; color: var(--fg); }
.pole textarea.input { height: auto; min-height: 72px; padding-top: 10px; font: 12px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; resize: vertical; }
.formular .pole:has(textarea) { grid-column: 1 / -1; }
.byo-info { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.byo-info .radek-udaj:first-child { border-top: 0; padding-top: 0; }
.stitek-zap { color: #1a7f37; border-color: #8fd19e; background: #ecfdf0; }
.historie { margin-top: 16px; font-size: 13.5px; }
.historie summary { cursor: pointer; color: var(--fg-3); }
.historie .radek-udaj b { font-weight: 400; }
@media (max-width: 640px) { .formular { grid-template-columns: 1fr; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .stitek-zap { color: #7ee2a0; border-color: #2f6f43; background: #12291b; } }
:root[data-theme="dark"] .stitek-zap { color: #7ee2a0; border-color: #2f6f43; background: #12291b; }

/* Claude konektor v Účtu (24. 10. 2026) */
.akce.konektor { align-items: center; margin-top: 4px; }
.pozn-mala { color: var(--fg-3); font-size: 13px; }

/* kapsle s organizací nahrávky v detailu (24. 10. 2026) */
.pres-radek { display: flex; justify-content: flex-end; margin: -8px 0 8px; }
.pres-vyber { position: relative; }
.pres-kapsle { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-size: 13px; font-weight: 600; cursor: pointer; }
.pres-kapsle:hover { background: color-mix(in srgb, var(--fg) 6%, transparent); }
.pres-kapsle:disabled { opacity: .5; cursor: default; }
.pres-sipka { width: 7px; height: 7px; border-right: 1.5px solid var(--fg-3); border-bottom: 1.5px solid var(--fg-3); transform: rotate(45deg) translate(-2px, -2px); }
.pres-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 220px; padding: 5px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); box-shadow: 0 10px 28px rgba(0,0,0,.22); }
.pres-menu[hidden] { display: none; }
.pres-menu button { display: flex; align-items: center; gap: 8px; width: 100%; height: 34px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; text-align: left; font-size: 14px; cursor: pointer; }
.pres-menu button:hover { background: color-mix(in srgb, var(--fg) 8%, transparent); }
.pres-fajfka { width: 14px; font-size: 12px; }

/* „Admini vidí moje nahrávky“ (24. 10. 2026) */
.sdileni { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; }
.vypinac { appearance: none; -webkit-appearance: none; flex: none; width: 40px; height: 24px; margin: 0; border-radius: 12px; background: var(--fg-3); position: relative; cursor: pointer; transition: background .15s; }
.vypinac::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: transform .15s; }
.vypinac:checked { background: var(--fg); }
.vypinac:checked::after { transform: translateX(16px); background: var(--bg); }
.vypinac:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }

/* smazání účtu (24. 10. 2026) */
.btn-nebezpeci { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 40%, transparent); }
.btn-nebezpeci:hover { background: color-mix(in srgb, var(--danger) 8%, transparent); }
.login-box .btn-nebezpeci { margin-top: 14px; }
.link-nebezpeci { color: var(--danger); margin-top: 18px; }

/* Aplikace a Claude konektor v Účtu (24. 10. 2026) */
.aplikace-radek { align-items: center; }
.aplikace-radek .aplikace-nazev { color: var(--fg); font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.konektor-adresa { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); }
.konektor-adresa code { flex: 1; min-width: 0; font: 13.5px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.kroky { margin: 14px 0 0; padding-left: 20px; color: var(--fg-2); font-size: 14px; display: grid; gap: 4px; }
.kroky + .akce { margin-top: 14px; }
@media (max-width: 760px) { .konektor-adresa { flex-wrap: wrap; padding: 12px 14px; } .konektor-adresa code { flex-basis: 100%; } }
/* sdílení jedné nahrávky (24. 10. 2026) */
.pres-radek { gap: 8px; }
.sdil-ikona { display: inline-flex; width: 15px; height: 15px; }
.sdil-ikona svg { width: 15px; height: 15px; }
.sdil-menu { min-width: 260px; max-height: 340px; overflow: auto; }
.sdil-menu.pracuje { opacity: .6; pointer-events: none; }
.sdil-jmeno { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sdil-role { color: var(--fg-3); font-size: 12px; }
.sdil-prazdno { padding: 8px 10px; color: var(--fg-3); font-size: 13px; }

.clen .zaklada { display: flex; align-items: center; gap: 8px; cursor: pointer; color: var(--fg-2); font-size: 13px; }
@media (max-width: 640px) { .clen .zaklada { margin-left: 42px; flex-basis: 100%; } }

/* přejmenování a smazání organizace (24. 10. 2026) */
.nazev-obal { min-width: 0; flex: 1 1 260px; }
.nadpis-upravit { cursor: text; border-radius: 8px; padding: 2px 6px; margin: -2px -6px; overflow-wrap: anywhere; }
.nadpis-upravit:hover, .nadpis-upravit:focus-visible { background: var(--line); outline: none; }
.nazev-vstup { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; max-width: 520px; }
.nazev-chyba { margin-top: 6px; }
.smazat-org .pozn { margin-top: 10px; }
.login-box-siroky { max-width: 440px; }
.dusledky { margin: 4px 0 22px; padding-left: 20px; color: var(--fg-2, inherit); line-height: 1.6; }
.smazat-presun { margin: 0 0 20px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.smazat-presun b { display: block; font-weight: 500; margin-bottom: 10px; }
.smazat-presun .pridat { margin: 0; padding: 0; border: 0; }
.smazana-nazev { overflow-wrap: anywhere; }

/* Knihovna sjednocená s Macem (24. 10. 2026, knihovna.js) */
.den { margin-bottom: 18px; }
.den-nazev { font-size: 12.5px; font-weight: 600; color: var(--fg-3); margin: 0 0 8px 4px; letter-spacing: 0; }
.stav-cip.stav-problem { color: #c0392b; border-color: #c0392b; }
.stav-cip { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; margin-left: 8px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); font-size: 11.5px; font-weight: 600; color: var(--fg-2); vertical-align: 1px; }
.stav-mistni { border-style: dashed; }
.link-tichy { display: inline-flex; align-items: center; gap: 6px; color: var(--fg-3); text-decoration: none; font-size: 13.5px; font-weight: 500; }
.link-tichy:hover { color: var(--fg); }
.pruh-predplatne, .pruh-mistni { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; border-color: var(--line); color: var(--fg-2); background: var(--bg-2); }
.pruh-mistni { margin: 16px 0 0; }
.detail-horni { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.detail-horni .zpet { margin-bottom: 0; }
.detail-horni .pres-radek { margin: 0; }
.detail-hlava { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; margin-bottom: 6px; }
.detail-nazev-obal { flex: 1 1 300px; }
.detail-nazev-obal .detail-nazev { margin: -2px -6px; }
.detail-nazev .tuzka { display: inline-flex; margin-left: 10px; color: var(--fg-3); opacity: 0; transition: opacity .15s; vertical-align: 3px; }
.detail-nazev:hover .tuzka, .detail-nazev:focus-visible .tuzka { opacity: 1; }
.detail-nazev-vstup { max-width: 100%; height: 40px; font-size: 22px; }
.ikony-akce { display: flex; gap: 6px; flex: none; }
.ikona-tl { width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--fg); cursor: pointer; padding: 0; text-decoration: none; }
.ikona-tl:hover { background: var(--bg-2); }
.ikona-tl:disabled { opacity: .5; cursor: default; }
.ikona-tl-tlumene { color: var(--fg-3); }
.stitek-predbezne { margin-bottom: 12px; }
.karta-p { margin: 0 0 8px; color: var(--fg-2); }
.karty-md { margin-top: 4px; }
/* přehrávač: vlna, ±15 s, rychlost, celá obrazovka */
.pl { --pl-hrano: var(--fg); --pl-druha: var(--fg-2); --pl-zbyva: var(--bg-3); }
.pl-video { width: 100%; aspect-ratio: auto 16 / 9; height: auto; max-height: none;   /* přes celou šířku stránky (Josef 7. 11. 2026) */
  object-fit: contain; border-radius: var(--r); background: #000; display: block; margin-bottom: 10px; cursor: pointer; }
.pl-pruh { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.pl-pruh .ikona-tl { border: 0; background: transparent; width: 32px; height: 32px; }
.pl-pruh .ikona-tl:hover { background: var(--bg-2); }
.pl-hraj { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--inv-bg); color: var(--inv-fg); display: grid; place-items: center; cursor: pointer; flex: none; padding: 0; }
.pl-hraj svg { margin-left: 1px; }
.pl-hraj-cisty { position: relative; }
.pl-fajfka { position: absolute; right: -3px; bottom: -3px; width: 16px; height: 16px; border-radius: 50%; background: var(--inv-bg); color: var(--inv-fg); display: grid; place-items: center; box-shadow: 0 0 0 2px var(--card); }
.pl-fajfka svg { margin: 0; }
.pl-zakaz { background: #c8c8c8; color: #fff; }
.pl-vlna { flex: 1; min-width: 80px; height: 40px; cursor: pointer; touch-action: none; }
.pl-cas { font-size: 12.5px; color: var(--fg-3); font-variant-numeric: tabular-nums; white-space: nowrap; flex: none; }
.pl-rychlost { appearance: none; border: 1px solid var(--line); background: transparent; border-radius: 8px; height: 28px; padding: 0 8px; font-size: 12.5px; font-weight: 600; color: var(--fg-2); cursor: pointer; flex: none; }
.pl-znacka { font-size: 11.5px; color: var(--fg-3); flex: none; }
.pl-verze { display: inline-flex; flex: none; padding: 2px; gap: 2px; border: 1px solid var(--line); border-radius: 8px; }
.pl-verze-tl { border: 0; background: transparent; height: 22px; padding: 0 8px; border-radius: 6px; font: inherit; font-size: 12px; font-weight: 600; color: var(--fg-3); cursor: pointer; white-space: nowrap; }
.pl-verze-tl[aria-pressed="true"] { background: var(--bg-2); color: var(--fg); }
.nav-tl { display: flex; align-items: center; gap: 11px; width: 100%; padding: 9px 0; border: 0; background: none; color: var(--fg-2); font-weight: 500; font-size: 14.5px; cursor: pointer; text-align: left; }
.nav-tl:hover { color: var(--fg); }
@media (max-width: 760px) {
  .pl-cas { display: none; }
  .pl-pruh:has(.pl-verze) { flex-wrap: wrap; }
  .pl-pruh:has(.pl-verze) .pl-vlna { order: 9; flex: 1 0 100%; }
  .pl-pruh:has(.pl-verze) .pl-rychlost { margin-left: auto; }
  .detail-horni { flex-wrap: wrap; }
}
/* v appce v Macu: bez loga a mobilních lišt, místo pod semafory okna, vždy boční menu */
html.app-mac .side { display: flex; padding-top: 46px; }
html.app-mac .mobil-hlava, html.app-mac .tabbar { display: none !important; }
/* 24. 10. 2026 (kolo 2): detail = přepínač Shrnutí | Přepis, krátký text, sloupce Úkoly | Klíčové body, celá šířka */
.detail-obsah { margin-top: 20px; }
.detail-seg { margin-bottom: 16px; }
.detail-shrnuti { display: grid; gap: 14px; }
.shrnuti-kratke { margin: 0; font-size: 15px; line-height: 1.55; color: var(--fg); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.shrnuti-kratke.cele { display: block; -webkit-line-clamp: unset; }
.shrnuti-kratke.tlumene { color: var(--fg-3); cursor: default; }
.detail-sloupce { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; align-items: start; }
.detail-box { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); padding: 14px 18px; min-width: 0; }
.detail-box h2 { margin: 0 0 10px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--fg-2); font-weight: 600; }
.detail-box ul { margin: 0; padding-left: 18px; display: grid; gap: 7px; font-size: 14.5px; line-height: 1.5; }
.detail-telo .prepis { max-width: none; }
.detail-ukoly .ukol-hotovo { color: var(--fg-3); }
.detail-ukoly .ukol-hotovo span { text-decoration: line-through; }
.sbalene { border-top: 1px solid var(--line); padding: 12px 0; }
.sbalene:last-child { border-bottom: 1px solid var(--line); }
.sbalene summary { cursor: pointer; font-weight: 600; font-size: 14.5px; color: var(--fg-2); }
.sbalene[open] summary { margin-bottom: 14px; }
.historie summary { color: var(--fg-2); }
.historie > .input { margin: 10px 0; }
.detail-ukoly ul.ukoly-seznam { padding-left: 0; list-style: none; margin: 0; display: grid; gap: 8px; }
.detail-ukoly ul:not(.ukoly-seznam) { padding-left: 18px; }
/* Nastavení dole v bočním menu i v prohlížeči (24. 10. 2026) */
.side-spodek.nav { padding: 0; font-size: inherit; color: inherit; }
.mobil-vpravo { display: flex; align-items: center; gap: 6px; min-width: 0; }
.mobil-nastaveni { color: var(--fg-2); }
.mobil-nastaveni svg { width: 20px; height: 20px; }
.mobil-nastaveni[aria-current] { color: var(--fg); background: var(--bg-3); }
/* celá obrazovka přehrávače (video + náš pruh), 24. 10. 2026 */
.pl.pl-cela { position: relative; width: 100vw; height: 100vh; background: #000; display: flex; align-items: center; justify-content: center; cursor: default; }
.pl.pl-cela .pl-video { width: 100%; height: 100%; max-height: none; aspect-ratio: auto; border-radius: 0; margin: 0; object-fit: contain; }
.pl.pl-cela .pl-pruh { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); width: min(960px, calc(100% - 48px)); transition: opacity .25s; box-shadow: 0 8px 30px rgba(0,0,0,.35); }
.pl.pl-cela.pl-schovany { cursor: none; }
.pl.pl-cela.pl-schovany .pl-pruh { opacity: 0; pointer-events: none; }
.pl:-webkit-full-screen { width: 100vw; height: 100vh; }
/* přepis po časech, 24. 10. 2026 */
.prepis-lista { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.prepis-hledat { max-width: 320px; height: 36px; }
.prepis-seznam { display: grid; gap: 2px; }
.prepis-radek { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 8px 10px; border-radius: 10px; font-size: 14.5px; line-height: 1.65; color: var(--fg); }
.prepis-seznam.bez-casu .prepis-radek { grid-template-columns: 1fr; }
.prepis-seznam.bez-casu .prepis-radek > :first-child:empty { display: none; }
.prepis-radek.prepis-ted { background: var(--bg-2); }
.prepis-radek.prepis-shoda mark { background: #ffe58a; color: inherit; border-radius: 3px; padding: 0 1px; }
.prepis-cas { font: inherit; font-size: 12.5px; font-variant-numeric: tabular-nums; color: var(--fg-3); background: none; border: 0; padding: 2px 0 0; text-align: left; align-self: start; }
button.prepis-cas { cursor: pointer; }
button.prepis-cas:hover { color: var(--fg); text-decoration: underline; }
.prepis-kdo { font-weight: 600; margin-right: 6px; }
.prepis-kdo.mluvci-0 { color: var(--fg); }
.prepis-kdo.mluvci-1 { color: var(--fg-2); }
.prepis-kdo.mluvci-2 { color: #2f6fd6; }
.prepis-kdo.mluvci-3 { color: #b4562b; }
@media (max-width: 760px) { .prepis-radek { grid-template-columns: 48px 1fr; gap: 8px; padding: 6px 4px; } }
/* v appce v iPhonu (24. 10. 2026): mobilní rozložení webu, vlevo nahoře nativní šipka zpět k nahrávání (místo loga) */
html.app-ios .mobil-hlava { display: flex; padding-left: 56px; min-height: 44px; padding-top: 6px; }
html.app-ios .mobil-hlava > :first-child:not(.mobil-vpravo) { visibility: hidden; width: 0; overflow: hidden; }
html.app-ios .side { display: none; }
/* Nastavení (24. 10. 2026): jedna stránka pro prohlížeč i appky; řádky s přepínačem, kapslemi nebo tlačítky */
.nast-telo { padding-top: 0; padding-bottom: 2px; overflow: hidden; }
.nast-sez { margin-top: -1px; }
.nast-radek { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.nast-ovladac { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.nast-pozn { color: var(--fg-3); font-size: 13px; }
.nast-tlacitka { justify-content: flex-start; flex-wrap: wrap; gap: 8px; }
.nast-mrizka { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); column-gap: 36px; }
.prepinac { position: relative; width: 40px; height: 24px; flex: none; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-3); cursor: pointer; padding: 0; transition: background .15s, border-color .15s; }
.prepinac::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--fg-3); transition: transform .15s, background .15s; }
.prepinac[aria-checked="true"] { background: var(--inv-bg); border-color: var(--inv-bg); }
.prepinac[aria-checked="true"]::after { transform: translateX(16px); background: var(--inv-fg); }
.prepinac:focus-visible { outline: 2px solid var(--fg-3); outline-offset: 2px; }
.prepinac:disabled { opacity: .45; cursor: default; }
.nast-pata { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 4px 4px 0; color: var(--fg-3); font-size: 13px; }
.nast-zaskrt { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.nast-zaskrt input { width: 15px; height: 15px; margin: 0; accent-color: var(--fg); cursor: pointer; }
@media (max-width: 760px) { .nast-radek { flex-wrap: wrap; } .nast-ovladac { justify-content: flex-start; } }

.nast-verze { display: inline-flex; align-items: center; gap: 10px; }

.seg-znacka { display: inline-grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; margin-left: 6px; vertical-align: -2px; background: var(--inv-bg); color: var(--inv-fg); }
.seg-znacka.pl-zakaz { background: #c8c8c8; color: #fff; }

/* Knihovna jako dlaždice s náhledem (Josef 7. 11. 2026) */
.dlazdice { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.dl { display: flex; flex-direction: column; min-width: 0; text-decoration: none; color: inherit; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--card); transition: border-color .15s; }
.dl:hover { border-color: var(--fg-3); }
.dl-obr { position: relative; aspect-ratio: 16 / 9; background: var(--bg-2); display: grid; place-items: center; overflow: hidden; }
.dl-obr img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dl-ikona { color: var(--fg-3); display: grid; place-items: center; }
.dl-ikona svg { width: 30px; height: 30px; }
.dl-delka { position: absolute; right: 8px; bottom: 8px; padding: 2px 7px; border-radius: 6px; background: rgba(0,0,0,.72); color: #fff; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.dl-telo { padding: 10px 12px 12px; min-width: 0; }
.dl-nazev { font-weight: 600; font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dl .radek-meta { margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl-stavy { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px; }
.dl-stavy .stav-cip { margin-left: 0; }
/* jako Hovory v CRM (Josef 7. 11. 2026): bez rámečku, jméno a délka přes náhled, pod ním kdo a datum */
.dlazdice { gap: 18px 14px; }
.dl { border: 0; background: none; overflow: visible; }
.dl .dl-obr { border: 1px solid var(--line); border-radius: var(--r); transition: border-color .15s; }
.dl:hover { border-color: transparent; }
.dl:hover .dl-obr { border-color: var(--fg-3); }
.dl-obr::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.65)); pointer-events: none; }
.dl-obr .dl-nazev { position: absolute; left: 10px; right: 64px; bottom: 8px; z-index: 1; color: #fff; font-weight: 700; font-size: 14px; line-height: 1.25; }
.dl-obr .dl-nazev { display: block; -webkit-line-clamp: unset; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; } /* jeden řádek, dlouhý … (Josef 7. 11.) */
.dl-obr .dl-delka { z-index: 1; right: 10px; bottom: 8px; padding: 0; border-radius: 0; background: none; font-size: 14px; font-weight: 700; line-height: 1.25; }
.dl-telo { padding: 6px 0 0; }
.dl .radek-meta.dl-meta { margin-top: 0; display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; }
.dl-meta span:first-child { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 520px) { .dlazdice { grid-template-columns: 1fr 1fr; gap: 10px; } }

/* Knihovna: nadpis a filtry napevno nahoře (Josef 7. 11. 2026) */
.kniha-hlava { position: sticky; top: 0; z-index: 5; background: var(--bg); margin: -32px -40px 0; padding: 32px 40px 0; }
@media (max-width: 760px) { .kniha-hlava { margin: -18px -16px 0; padding: 18px 16px 0; } }

/* Knihovna přes celou šířku (Josef 7. 11. 2026) */
.obsah:has(.kniha-hlava) { max-width: none; }

/* název a délka vedle sebe bez překryvu, název se zkrátí … (Josef 7. 11. 2026) */
.dl-pruh { position: absolute; left: 10px; right: 10px; bottom: 8px; z-index: 1; display: flex; align-items: baseline; gap: 10px; }
.dl-pruh .dl-nazev { position: static; flex: 1 1 auto; min-width: 0; }
.dl-pruh .dl-delka { position: static; flex: none; }

/* detail: zpět + název v jednom řádku, vpravo Sdílet, Odkaz, ⋯ (Josef 7. 11. 2026) */
.detail-hlava2 { align-items: center; flex-wrap: nowrap; }
.detail-titul { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1 1 auto; }
.detail-titul .detail-nazev, .detail-titul .detail-nazev-obal { margin-bottom: 0; min-width: 0; }
.zpet-ikona { margin: 0; flex: none; width: 32px; height: 32px; justify-content: center; border-radius: 8px; }
.zpet-ikona:hover { background: var(--bg-3); }
.detail-hlava2 .ikony-akce { align-items: center; }
.vice { position: relative; }
.vice-menu { left: auto; right: 0; top: 44px; min-width: 220px; }
.vice-kos .org-jmeno { color: #e5484d; }
@media (max-width: 760px) { .detail-hlava2 { flex-wrap: wrap; } }

/* detail přes celou šířku, video + přehrávač vyplní první obrazovku, přepis až pod tím (Josef 7. 11. 2026) */
.obsah:has(.detail-hlava2) { max-width: none; }
.obsah:has(.detail-hlava2) .pl-video { height: calc(100vh - 168px); /* výchozí, přesnou výšku dopočítá knihovna.js */  /* přehrávač až u spodního okraje, hledání v přepisu až po posunutí (Josef 7. 11.) */ min-height: 240px; aspect-ratio: auto; }
