/* ==================================================================
   Pro zvukaře – design system podle grafického handoffu
   Barvy, typografie a rozestupy viz grafika/…/README.md
   ================================================================== */

* { box-sizing: border-box; }

body {
    margin: 0;
    background: #eef2f7;
    font-family: 'IBM Plex Sans', system-ui, sans-serif;
    color: #0f172a;
    -webkit-font-smoothing: antialiased;
    font-size: 15px;
    line-height: 1.5;
}

a { color: #2563eb; text-decoration: none; }
a:hover { color: #1d4ed8; }

/* ------------------------------------------------------------------
   Hlavička aplikace (přihlášený stav) a patka
   ------------------------------------------------------------------ */

.hlavicka {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.logo { display: flex; align-items: baseline; gap: 10px; color: inherit; }
.logo strong { font-size: 22px; font-weight: 700; color: #2563eb; letter-spacing: -0.02em; }
.logo span { font-size: 13px; color: #94a3b8; }

/* Grafické logo v hlavičce (tmavá varianta pro světlé pozadí) */
.logo-znacka { display: inline-flex; align-items: center; }
.logo-znacka img { height: 40px; width: auto; display: block; }

.navigace { display: flex; align-items: center; gap: 22px; font-size: 15px; flex-wrap: wrap; }
.navigace a { color: #94a3b8; }
.navigace a:hover { color: #64748b; }
.navigace .aktualni-modul {
    color: #0f172a;
    font-weight: 600;
    border-bottom: 2px solid #2563eb;
    padding-bottom: 2px;
}
.navigace .email { color: #94a3b8; }
.navigace .odhlasit { color: #0f172a; }

.patka {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    border-top: 1px solid #e2e8f0;
    background: #fff;
    padding: 7px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: #64748b;
}
.patka a { color: #64748b; }
.patka a:hover { color: #334155; }

.patka-verze {
    position: relative;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #64748b;
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}
.patka-verze:hover { background: #f1f5f9; color: #334155; }
.verze-bublina {
    position: absolute;
    top: -7px;
    right: -7px;
    background: #dc2626;
    color: #fff;
    border-radius: 999px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    font-size: 10.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.logo-verze { font-size: 11.5px; font-weight: 600; color: #94a3b8; align-self: flex-end; margin: 0 0 2px 6px; }

.stranka { min-height: 100vh; display: flex; flex-direction: column; padding-bottom: 34px; }

/* Firma a e-mail přihlášeného uživatele v hlavičce */
.navigace .uzivatel { text-align: right; line-height: 1.25; }
.navigace .uzivatel .firma { display: block; font-size: 14px; font-weight: 600; color: #0f172a; }
.navigace .uzivatel .email { display: block; font-size: 12.5px; color: #94a3b8; }

main.obal {
    flex: 1;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 32px 64px;
}
main.obal.siroky { max-width: 1340px; }

.zpet { font-size: 13px; display: inline-block; margin-bottom: 8px; }

/* Hlavička stránky modulu */
.titulek-radek {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.titulek-radek h1 { margin: 0; font-size: 30px; font-weight: 600; letter-spacing: -0.02em; }
.titulek-radek .popis { margin: 8px 0 0; color: #64748b; font-size: 15px; max-width: 620px; }

/* ------------------------------------------------------------------
   Karty
   ------------------------------------------------------------------ */

.karta {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(15,23,42,.05);
}
.karta-mala { border-radius: 12px; }
.karta-velka { border-radius: 16px; }
.karta-telo { padding: 20px 24px; }
.karta-hlavicka { padding: 20px 24px; border-bottom: 1px solid #e2e8f0; }
.karta-patka {
    padding: 16px 24px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 0 0 14px 14px;
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.sekcni-nadpis {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #64748b;
    margin: 0 0 12px;
}

/* ------------------------------------------------------------------
   Statistické karty a filtrační karty
   ------------------------------------------------------------------ */

.stat-karty { display: flex; gap: 14px; flex-wrap: wrap; margin: 0 0 24px; }
.stat-karta {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 20px;
    min-width: 150px;
    color: inherit;
    display: block;
}
.stat-karta .cislo { font-size: 26px; font-weight: 700; line-height: 1.1; }
.stat-karta .popisek { font-size: 13px; color: #64748b; margin-top: 3px; }
a.stat-karta:hover { border-color: #93c5fd; color: inherit; }
.stat-karta.filtr { border-left-width: 4px; border-left-style: solid; cursor: pointer; }
.stat-karta.aktivni { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.12); }

/* ------------------------------------------------------------------
   Dlaždice modulů (Přehled)
   ------------------------------------------------------------------ */

.mrizka-modulu {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}
.dlazdice-modulu {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 1px 2px rgba(15,23,42,.05);
    color: inherit;
    min-height: 150px;
    transition: border-color .18s, box-shadow .18s;
}
.dlazdice-modulu:hover { border-color: #93c5fd; box-shadow: 0 6px 18px rgba(15,23,42,.09); color: inherit; }
.dlazdice-modulu .radek-titulku { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ikona-modulu { width: 42px; height: 42px; object-fit: contain; flex-shrink: 0; }
.dlazdice-modulu h3 { margin: 0; font-size: 17px; font-weight: 600; color: #0f172a; }
.dlazdice-modulu p { margin: 0; font-size: 14px; color: #64748b; line-height: 1.5; }
.dlazdice-modulu .cta { margin-top: auto; padding-top: 12px; font-size: 14px; font-weight: 600; color: #2563eb; }
.dlazdice-modulu.nedostupna .cta { color: #94a3b8; }

/* ------------------------------------------------------------------
   Štítky (pill badges) a pilulkové filtry
   ------------------------------------------------------------------ */

.stitek {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 999px;
    white-space: nowrap;
}
.stitek-modry { background: #dbeafe; color: #1d4ed8; }
.stitek-sedy { background: #f1f5f9; color: #64748b; }
.stitek-zeleny { background: #dcfce7; color: #166534; }

.pilulky { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pilulka {
    display: inline-block;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #334155;
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
}
.pilulka:hover { background: #f8fafc; color: #334155; }
.pilulka.aktivni { background: #2563eb; border-color: #2563eb; color: #fff; }

/* ------------------------------------------------------------------
   Tlačítka
   ------------------------------------------------------------------ */

.tlacitko,
.tlacitko-sekundarni,
.tlacitko-zelene,
.tlacitko-cervene {
    display: inline-block;
    border-radius: 8px;
    padding: 11px 18px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: inherit;
    text-align: center;
    white-space: nowrap;
}
.tlacitko { background: #2563eb; color: #fff; box-shadow: 0 1px 2px rgba(15,23,42,.12); }
.tlacitko:hover { background: #1d4ed8; color: #fff; }
.tlacitko-sekundarni { background: #fff; color: #334155; border: 1px solid #cbd5e1; font-weight: 500; }
.tlacitko-sekundarni:hover { background: #f8fafc; color: #334155; }
.tlacitko-zelene { background: #16a34a; color: #fff; }
.tlacitko-zelene:hover { background: #15803d; color: #fff; }
.tlacitko-cervene { background: #dc2626; color: #fff; }
.tlacitko-cervene:hover { background: #b91c1c; color: #fff; }
.tlacitko-male { padding: 8px 13px; font-size: 13.5px; }

/* ------------------------------------------------------------------
   Vzor „seznam + detail"
   ------------------------------------------------------------------ */

.rozlozeni { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.sloupec-seznam { flex: 1 1 600px; min-width: 0; }
.panel-detail { flex: 1 1 320px; max-width: 360px; min-width: 0; }
@media (max-width: 960px) {
    .panel-detail { max-width: none; }
}

/* Řádky tabulek stavěné na CSS gridu */
.tabulka { overflow: hidden; }
.tabulka-hlavicka {
    display: grid;
    gap: 10px;
    padding: 11px 18px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #64748b;
}
.tabulka-radek {
    display: grid;
    gap: 10px;
    padding: 13px 18px;
    border-bottom: 1px solid #f1f5f9;
    align-items: center;
    color: inherit;
    cursor: pointer;
}
.tabulka-radek:last-child { border-bottom: none; }
.tabulka-radek:hover { background: #f8fafc; color: inherit; }
.tabulka-radek.vybrany { background: #f8fafc; }
.tabulka-bunka { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tabulka-bunka .hlavni { font-weight: 600; font-size: 14.5px; }
.tabulka-bunka .vedlejsi { font-size: 12.5px; color: #94a3b8; }
.doprava { text-align: right; }

/* ------------------------------------------------------------------
   Záložky
   ------------------------------------------------------------------ */

.zalozky { display: flex; gap: 4px; padding: 0 24px; border-bottom: 1px solid #e2e8f0; flex-wrap: wrap; }
.zalozka {
    border: none;
    background: none;
    padding: 14px 4px;
    margin-right: 22px;
    font-size: 15px;
    font-weight: 500;
    color: #64748b;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-family: inherit;
}
.zalozka:hover { color: #334155; }
.zalozka.aktivni { font-weight: 600; color: #0f172a; border-bottom-color: #2563eb; }

/* ------------------------------------------------------------------
   Formuláře
   ------------------------------------------------------------------ */

.pole { display: flex; flex-direction: column; gap: 7px; font-size: 14px; font-weight: 600; }
.pole .napoveda { font-weight: 400; font-size: 12.5px; color: #94a3b8; }

input[type=text], input[type=email], input[type=password], input[type=number],
input[type=date], input[type=time], select, textarea {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 13px;
    font-size: 15px;
    font-weight: 400;
    font-family: inherit;
    color: #0f172a;
    outline: none;
    background: #fff;
    width: 100%;
}
input:focus, select:focus, textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
input::placeholder, textarea::placeholder { color: #94a3b8; }
textarea { resize: vertical; line-height: 1.6; }

.formular-mrizka { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 16px; }
.formular-mrizka .cele { grid-column: 1 / -1; }

.zaskrtavaci { display: flex; gap: 9px; align-items: center; font-size: 13.5px; color: #475569; font-weight: 400; }
.zaskrtavaci input { width: 16px; height: 16px; accent-color: #2563eb; }

/* Přepínač (toggle switch) */
.prepinac { position: relative; display: inline-block; width: 52px; height: 30px; flex-shrink: 0; }
.prepinac input { opacity: 0; width: 0; height: 0; }
.prepinac .drazka {
    position: absolute;
    inset: 0;
    background: #cbd5e1;
    border-radius: 999px;
    transition: background .18s;
    cursor: pointer;
}
.prepinac .drazka::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform .18s;
    box-shadow: 0 1px 2px rgba(15,23,42,.2);
}
.prepinac input:checked + .drazka { background: #16a34a; }
.prepinac input:checked + .drazka::before { transform: translateX(22px); }

/* ------------------------------------------------------------------
   Mřížky karet (vybavení, půjčovna)
   ------------------------------------------------------------------ */

.mrizka-vybaveni { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.mrizka-pujcovny { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }

.karta-polozky {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15,23,42,.05);
    display: flex;
    flex-direction: column;
    color: inherit;
    transition: border-color .18s, box-shadow .18s;
}
a.karta-polozky:hover { border-color: #93c5fd; box-shadow: 0 6px 18px rgba(15,23,42,.09); color: inherit; }

.foto-polozky {
    height: 170px;
    background: #f1f5f9;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 13px;
    overflow: hidden;
}
.foto-polozky img { width: 100%; height: 100%; object-fit: cover; display: block; }
.foto-polozky .stitek { position: absolute; top: 10px; right: 10px; }

.telo-polozky { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.telo-polozky .kategorie { font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #94a3b8; }
.telo-polozky .nazev { font-size: 16px; font-weight: 600; }
.telo-polozky .meta { font-size: 13px; color: #64748b; }
.telo-polozky .cena-radek { margin-top: auto; padding-top: 10px; display: flex; align-items: baseline; gap: 6px; }
.telo-polozky .cena { font-size: 18px; font-weight: 700; }
.telo-polozky .za-den { font-size: 13px; color: #94a3b8; }

/* ------------------------------------------------------------------
   Prázdné stavy a upozornění
   ------------------------------------------------------------------ */

.prazdny-stav {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 26px 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
}

.pruh-upozorneni {
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 20px;
    font-size: 14.5px;
    border: 1px solid;
}
.pruh-upozorneni.zluty { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.pruh-upozorneni.zeleny { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.pruh-upozorneni.cerveny { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }

.zprava-chyba {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 14px;
}
.zprava-uspech {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 14px;
}

/* ------------------------------------------------------------------
   Kalendář
   ------------------------------------------------------------------ */

.kalendar { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; overflow: hidden; }
.kalendar-dny-hlavicka {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}
.kalendar-dny-hlavicka div {
    padding: 9px 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #64748b;
}
.kalendar-mrizka { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.kalendar-bunka {
    min-height: 112px;
    min-width: 0;
    overflow: hidden;
    border-right: 1px solid #eef2f7;
    border-bottom: 1px solid #eef2f7;
    padding: 7px 8px;
}
.kalendar-bunka.mimo { background: #fafbfc; }
.kalendar-bunka .den { font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.kalendar-bunka.mimo .den { color: #cbd5e1; }
.kalendar-bunka .den.dnes {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
}
.udalost-stitek {
    display: block;
    font-size: 11.5px;
    padding: 3px 7px;
    border-radius: 5px;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-left: 3px solid;
    color: inherit;
    cursor: pointer;
}

/* ------------------------------------------------------------------
   Časová osa (průběh zakázky)
   ------------------------------------------------------------------ */

.casova-osa { display: flex; flex-direction: column; gap: 0; }
.osa-krok { display: flex; gap: 12px; align-items: flex-start; }
.osa-tecka-sloupec { display: flex; flex-direction: column; align-items: center; }
.osa-tecka { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; margin-top: 3px; }
.osa-cara { width: 2px; flex: 1; background: #e2e8f0; min-height: 16px; }
.osa-krok .obsah { padding-bottom: 14px; font-size: 14px; }
.osa-krok .obsah .datum { font-size: 12.5px; color: #94a3b8; }
.osa-krok.nesplneno .obsah { color: #94a3b8; }

/* ------------------------------------------------------------------
   Editor šablon
   ------------------------------------------------------------------ */

.pole-pilulka {
    border: 1px solid #dbeafe;
    background: #eff6ff;
    color: #1d4ed8;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 13px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    cursor: pointer;
}
.pole-pilulka:hover { background: #dbeafe; }

textarea.editor-sablony {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 14px;
    line-height: 1.7;
    padding: 16px;
    border-radius: 10px;
}

.papir {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 40px 44px;
    max-width: 760px;
    margin: 0 auto;
    font-size: 14.5px;
    line-height: 1.8;
    white-space: pre-wrap;
}

/* ------------------------------------------------------------------
   Zákazníci – dlaždice s iniciálami
   ------------------------------------------------------------------ */

.inicialy {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    flex-shrink: 0;
}
.inicialy.velke { width: 52px; height: 52px; border-radius: 12px; font-size: 18px; }

/* ------------------------------------------------------------------
   Landing page (nepřihlášený stav)
   ------------------------------------------------------------------ */

body.tmava { background: #020617; }

.hero { position: relative; min-height: 760px; overflow: hidden; background: #020617; }
.hero-pozadi { position: absolute; inset: 0; }
.hero-pozadi img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-zavoj-1 {
    position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(100deg, rgba(2,6,23,.96) 0%, rgba(2,6,23,.86) 38%, rgba(2,6,23,.42) 72%, rgba(2,6,23,.62) 100%);
}
.hero-zavoj-2 {
    position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to bottom, rgba(2,6,23,.55) 0%, rgba(2,6,23,0) 22%, rgba(2,6,23,0) 70%, rgba(2,6,23,.85) 100%);
}

.hero-hlavicka {
    position: relative; z-index: 2;
    width: 100%; max-width: 1240px; margin: 0 auto;
    padding: 26px 32px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; flex-wrap: wrap;
}
.hero-hlavicka .logo strong { color: #fff; font-size: 23px; }
.hero-hlavicka .logo span { color: rgba(226,232,240,.6); }
.hero-hlavicka nav { display: flex; align-items: center; gap: 20px; font-size: 14.5px; flex-wrap: wrap; }
.hero-hlavicka nav a { color: rgba(226,232,240,.85); }
.hero-hlavicka nav a:hover { color: #fff; }
.hero-cta-hlavicka {
    background: #2563eb; color: #fff !important; border: none; border-radius: 9px;
    padding: 10px 18px; font-size: 14px; font-weight: 600; cursor: pointer;
    white-space: nowrap; box-shadow: 0 6px 18px rgba(37,99,235,.45);
}

.hero-obsah {
    position: relative; z-index: 2;
    width: 100%; max-width: 1240px; margin: 0 auto;
    padding: 36px 32px 80px;
    display: flex; gap: 56px; flex-wrap: wrap; align-items: center;
}
.hero-text { flex: 1 1 480px; min-width: 0; }
.hero-pill {
    display: inline-flex; align-items: center; gap: 9px;
    font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
    color: #bfdbfe; background: rgba(37,99,235,.22); border: 1px solid rgba(96,165,250,.4);
    padding: 7px 13px; border-radius: 999px;
}
.hero-pill .tecka { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; display: block; }
.hero-text h1 {
    margin: 22px 0 0; font-size: 60px; line-height: 1.05; letter-spacing: -0.035em;
    color: #fff; max-width: 640px; text-wrap: balance; font-weight: 700;
}
.hero-text .podtitulek {
    margin: 22px 0 0; font-size: 18.5px; line-height: 1.6;
    color: rgba(226,232,240,.8); max-width: 520px;
}
.hero-tlacitka { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-cta {
    background: #2563eb; color: #fff !important; border: none; border-radius: 10px;
    padding: 15px 26px; font-size: 16px; font-weight: 600; cursor: pointer;
    white-space: nowrap; box-shadow: 0 10px 30px rgba(37,99,235,.5); display: inline-block;
}
.hero-cta-sklo {
    background: rgba(255,255,255,.08); color: #fff !important;
    border: 1px solid rgba(255,255,255,.28); border-radius: 10px;
    padding: 15px 24px; font-size: 16px; font-weight: 500; cursor: pointer;
    white-space: nowrap; display: inline-block;
}
.hero-cta-sklo:hover { background: rgba(255,255,255,.16); }
.hero-udaje { margin-top: 34px; display: flex; gap: 26px; flex-wrap: wrap; }
.hero-udaj { min-width: 130px; }
.hero-udaj .hodnota { font-size: 24px; font-weight: 700; color: #fff; line-height: 1.1; }
.hero-udaj .popisek { font-size: 13.5px; color: rgba(226,232,240,.65); margin-top: 4px; }

/* Přihlašovací karta na hero */
.auth-sloupec { flex: 1 1 380px; max-width: 430px; min-width: 0; }
.auth-karta { background: #fff; border-radius: 18px; box-shadow: 0 30px 70px rgba(2,6,23,.6); overflow: hidden; }
.auth-zalozky { display: flex; border-bottom: 1px solid #e2e8f0; }
.auth-zalozka {
    flex: 1; border: none; background: #f8fafc; padding: 15px 10px;
    font-size: 15px; font-weight: 500; color: #64748b;
    border-bottom: 2px solid transparent; cursor: pointer; font-family: inherit;
    text-align: center; display: block;
}
.auth-zalozka.aktivni { background: #fff; font-weight: 600; color: #0f172a; border-bottom-color: #2563eb; }
.auth-telo { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 15px; }
.auth-telo h2 { margin: 0; font-size: 20px; font-weight: 600; }
.auth-telo .podtext { font-size: 14px; color: #64748b; margin-top: 5px; }
.auth-telo input[type=text], .auth-telo input[type=email], .auth-telo input[type=password] {
    border-radius: 9px; padding: 12px 13px;
}
.auth-tlacitko {
    background: #2563eb; color: #fff; border: none; border-radius: 9px; padding: 14px;
    font-size: 15.5px; font-weight: 600; text-align: center; display: block;
    cursor: pointer; font-family: inherit; width: 100%;
}
.auth-tlacitko:hover { background: #1d4ed8; }
.oddelovac { display: flex; align-items: center; gap: 12px; color: #94a3b8; font-size: 13px; }
.oddelovac::before, .oddelovac::after { content: ''; flex: 1; height: 1px; background: #e2e8f0; }
.google-tlacitko {
    border: 1px solid #cbd5e1; background: #fff; color: #334155; border-radius: 9px;
    padding: 12px; font-size: 14.5px; font-weight: 500; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    font-family: inherit; width: 100%;
}
.google-tlacitko:hover { background: #f8fafc; }
.google-tlacitko .g { font-weight: 700; color: #4285f4; }

/* Landing – šipka dolů na hero */
.hero-sipka {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(226,232,240,.65);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    animation: hero-sipka-poskok 2.2s ease-in-out infinite;
}
.hero-sipka:hover { color: #fff; }
.hero-sipka svg { display: block; }
@keyframes hero-sipka-poskok {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(7px); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-sipka { animation: none; }
}

/* Landing – sekce vlastností */
.sekce-vlastnosti { background: #eef2f7; padding: 64px 32px 24px; }
.sekce-vlastnosti-obal { max-width: 1240px; margin: 0 auto; }
.sekce-vlastnosti h2 {
    margin: 0; font-size: 15px; font-weight: 600; letter-spacing: .09em;
    text-transform: uppercase; color: #64748b;
}
.mrizka-vlastnosti {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}
.karta-vlastnosti {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 14px;
    padding: 20px 22px; box-shadow: 0 1px 2px rgba(15,23,42,.05);
}
.karta-vlastnosti .titulek { font-size: 16.5px; font-weight: 600; color: #0f172a; }
.karta-vlastnosti .popis { font-size: 14px; color: #64748b; line-height: 1.55; margin-top: 7px; }

/* Landing – zelený pruh zdarma */
.sekce-zdarma { background: #eef2f7; padding: 20px 32px 64px; }
.pruh-zdarma {
    max-width: 1240px; margin: 0 auto;
    background: #fff; border: 1px solid #bbf7d0; border-left: 5px solid #16a34a;
    border-radius: 14px; padding: 24px 26px;
    display: flex; gap: 24px; flex-wrap: wrap; align-items: center;
}
.pruh-zdarma .text { flex: 1 1 380px; min-width: 0; }
.pruh-zdarma .titulek { font-size: 19px; font-weight: 600; color: #166534; }
.pruh-zdarma .popis { font-size: 15px; color: #15803d; line-height: 1.6; margin-top: 7px; }
.pruh-zdarma .tlacitko-zelene { border-radius: 9px; padding: 14px 22px; }

.patka-tmava {
    background: #020617; padding: 26px 32px;
    display: flex; justify-content: center; gap: 22px; flex-wrap: wrap;
    font-size: 14px; color: rgba(226,232,240,.6);
}

/* ------------------------------------------------------------------
   Modální okno
   ------------------------------------------------------------------ */

dialog.modal {
    border: none;
    border-radius: 16px;
    box-shadow: 0 30px 70px rgba(2,6,23,.35);
    padding: 0;
    width: min(480px, calc(100vw - 32px));
    background: #fff;
    color: #0f172a;
    font-family: inherit;
}
dialog.modal::backdrop { background: rgba(2,6,23,.55); }
.modal-hlavicka {
    padding: 18px 22px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-weight: 600;
    font-size: 17px;
}
.modal-zavrit {
    border: none;
    background: none;
    color: #94a3b8;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 2px 6px;
}
.modal-zavrit:hover { color: #334155; }
.modal-telo { padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; }

/* ------------------------------------------------------------------
   Drobnosti
   ------------------------------------------------------------------ */

.radek-udaju { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 6px 0; }
.radek-udaju .popisek { color: #64748b; }
.radek-udaju .hodnota { font-weight: 500; text-align: right; }

.tecka { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

.napoveda { font-size: 13px; color: #94a3b8; }

.mezera-nahoru { margin-top: 18px; }

/* ------------------------------------------------------------------
   Kalkulačka ozvučení (starší formulářové třídy)
   ------------------------------------------------------------------ */

.karta.kalkulacka, form.karta, .vysledek.karta { padding: 22px 24px; }
.chyba { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; border-radius: 8px; padding: 11px 14px; font-size: 14px; margin-bottom: 14px; }
.skupina { margin-top: 22px; }
.skupina h2, .skupina h3 { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #64748b; margin: 0 0 12px; }
.pole-radek { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 6px 0; font-size: 14.5px; }
.pole-radek input[type=number], .pole-radek input[type=text] { width: 110px; }
.inventar-tip { background: #eff6ff; border: 1px solid #dbeafe; color: #1d4ed8; border-radius: 8px; padding: 11px 14px; font-size: 14px; margin-bottom: 10px; }
.vysledek { margin-top: 22px; }
.rozpis { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.rozpis td { padding: 7px 4px; border-bottom: 1px solid #f1f5f9; }
.rozpis td:last-child { text-align: right; font-weight: 500; white-space: nowrap; }
.mezisoucet-radek td { font-weight: 600; border-top: 1px solid #e2e8f0; }
.hlavni-vysledek { font-size: 26px; font-weight: 700; margin-top: 14px; }

@media (max-width: 720px) {
    main.obal { padding: 20px 16px 48px; }
    .hlavicka { padding: 14px 16px; }
    .hero-text h1 { font-size: 40px; }
    .hero-hlavicka, .hero-obsah { padding-left: 16px; padding-right: 16px; }
}
