/* =========================================================================
   Bauel Group – vzhľad aplikácie (podľa bauelgroup.com)
   1. Farby a písma (tokeny)  – zmena farby = zmena tu, nikde inde
   2. Základ
   3. Rozloženie: bočné menu, horná lišta, päta, mobilné menu
   4. Komponenty: karty, metriky, tabuľky, formuláre, tlačidlá, stavy
   5. Grafy: kapacita, harmonogram, lievik
   6. Moduly: CRM, doklady, nábor, ubytovanie, hodiny, verejný formulár, prihlásenie
   ========================================================================= */

/* 1. Tokeny ---------------------------------------------------------------- */
:root {
  --green: #1f7a4b; --green-h: #18653e; --green-d: #0f4d2e; --green-l: #3fb377; --green-50: #e6f2eb;
  --spark: #a3e635; --graphite: #15191c; --graphite-2: #1e2428; --graphite-3: #2a3237;
  --steel: #5b6670; --steel-l: #a3aeb6; --line: #dde3e7; --mist: #f2f4f5; --paper: #fff; --ink: #15191c;
  --red: #d64545; --red-50: #fdecec; --red-d: #7a1f1f;
  --amber: #e8a33d; --amber-50: #fff4d6; --amber-d: #6b5100;
  --blue-50: #e3eefc; --blue-d: #1d4b85; --violet-50: #ece6fb; --violet-d: #4b3291;
  /* grafy – kategórie (overená paleta, poradie sa nemení) */
  --s1: #2a78d6; --s2: #eb6834; --s3: #1baf7a;
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 12px; --panel: 248px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #111518; --mist: #181d21; --ink: #e9edef; --line: #283037; --steel: #9aa6ae;
    --green-50: #3fb37729; --red-50: #d6454526; --amber-50: #e8a33d26; --blue-50: #2a78d626; --violet-50: #6250d626;
    --red-d: #f2a5a5; --amber-d: #f3d08a; --blue-d: #a9c8f3; --violet-d: #c4b9f5; --green-d: #8fd6ad;
    --s1: #3987e5; --s2: #d95926; --s3: #199e70;
    color-scheme: dark;
  }
  a, .metriky b, .eyebrow { color: var(--green-l); }
}

/* 2. Základ ---------------------------------------------------------------- */
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.6 var(--body); background: var(--mist); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: var(--green); }
main { max-width: 1240px; margin: 0 auto; padding: 22px 24px 40px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.015em; line-height: 1.15; }
h1 { margin: 4px 0 14px; font-size: clamp(24px, 3vw, 32px); }
h2 { margin: 26px 0 10px; font-size: 1.2rem; }
.tlmene { color: var(--steel); }
.eyebrow { letter-spacing: .14em; text-transform: uppercase; color: var(--green); font-size: 12.5px; font-weight: 700; }
:focus-visible { outline: 2px solid var(--spark); outline-offset: 3px; border-radius: 4px; }
code { background: var(--mist); padding: 1px 6px; border-radius: 4px; }
.ikona { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; }

/* 3. Rozloženie ------------------------------------------------------------ */
body.s-menu { padding-left: var(--panel); }
.menu-prepinac { display: none; }
.bocny-panel { position: fixed; inset: 0 auto 0 0; width: var(--panel); background: var(--graphite); color: #fff; display: flex; flex-direction: column; z-index: 30; border-right: 3px solid var(--green); }
.bocny-panel .logo { padding: 20px 20px 12px; } .bocny-panel .logo img { height: 40px; display: block; }
.bocny-panel nav { flex: 1; overflow-y: auto; padding: 4px 12px 12px; }
.menu-nadpis { margin: 16px 10px 4px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-l); font-weight: 700; }
.menu-polozka { display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 10px; color: #ffffffcc; text-decoration: none; font-weight: 600; font-size: 14.5px; }
.menu-polozka:hover { background: var(--graphite-2); color: #fff; }
.menu-polozka.aktivna { background: var(--graphite-3); color: #fff; box-shadow: inset 3px 0 0 var(--spark); }
.menu-polozka .ikona { color: var(--steel-l); } .menu-polozka.aktivna .ikona { color: var(--spark); }
.odznak { margin-left: auto; min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--spark); color: var(--graphite); font: 700 12px/20px var(--body); text-align: center; }
.panel-pouzivatel { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-top: 1px solid var(--graphite-3); }
.panel-pouzivatel b, .panel-pouzivatel small { display: block; line-height: 1.25; } .panel-pouzivatel small { color: var(--steel-l); }
.panel-pouzivatel form { margin-left: auto; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.ikonove { background: none; border: 0; color: inherit; padding: 8px; border-radius: 10px; cursor: pointer; display: inline-grid; place-items: center; position: relative; }
.ikonove:hover { background: #ffffff14; }
.horna-lista { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; padding: 10px 24px; background: color-mix(in srgb, var(--mist) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.horna-lista .ikonove:hover { background: var(--line); }
.menu-tlacidlo { display: none; }
.drobky { flex: 1; display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--steel); min-width: 0; }
.drobky > * + *::before { content: "›"; margin-right: 8px; color: var(--steel-l); }
.drobky a { color: var(--ink); font-weight: 600; text-decoration: none; }
.hladanie { margin-left: auto; position: relative; flex: none; width: min(360px, 40vw); }
.hladanie .ikona { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--steel); }
.hladanie input { width: 100%; padding-left: 38px; border-radius: 999px; background: var(--paper); }
.zvoncek { color: var(--steel); margin-left: auto; } .hladanie + .zvoncek { margin-left: 0; }
.bodka { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.pata { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; max-width: 1240px; margin: 0 auto; padding: 18px 24px 28px; color: var(--steel); font-size: 13px; border-top: 1px solid var(--line); }
.spodne-menu, .menu-zavoj { display: none; }

@media (max-width: 900px) {
  body.s-menu { padding-left: 0; padding-bottom: 68px; }
  .bocny-panel { transform: translateX(-100%); transition: transform .2s; }
  .menu-prepinac:checked ~ .bocny-panel { transform: none; }
  .menu-prepinac:checked ~ .menu-zavoj { display: block; position: fixed; inset: 0; background: #0008; z-index: 25; }
  .menu-tlacidlo { display: inline-grid; }
  .horna-lista { padding: 8px 12px; }
  .hladanie { width: auto; flex: 1; margin-left: 0; }
  .drobky { display: none; }
  main { padding: 16px 14px 28px; }
  .pata { padding: 16px 14px 20px; }
  .spodne-menu { display: flex; position: fixed; inset: auto 0 0 0; z-index: 20; background: var(--graphite); border-top: 3px solid var(--green); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .spodne-menu a, .spodne-menu label { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; color: #ffffffb3; text-decoration: none; font-size: 11.5px; font-weight: 600; position: relative; cursor: pointer; }
  .spodne-menu .ikona { width: 22px; height: 22px; }
  .spodne-menu .aktivna { color: var(--spark); }
  .spodne-menu .odznak { position: absolute; top: -4px; left: calc(50% + 6px); margin: 0; }
}

/* 4. Komponenty ------------------------------------------------------------ */
.karta { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin-bottom: 16px; }
.karta h2, .karta h3 { margin-top: 0; }
.karta h2 .ikona { color: var(--green); margin-right: 4px; }
.karty, .dvojstlpec { display: grid; gap: 16px; }
.karty { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.dvojstlpec { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.hlavicka-stranky { display: flex; flex-wrap: wrap; align-items: end; gap: 10px 20px; margin-bottom: 16px; }
.hlavicka-stranky h1 { margin: 0; } .hlavicka-stranky p { margin: 2px 0 0; }
.hlavicka-stranky .akcie { margin: 0 0 0 auto; }

.metriky { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 18px; }
.metriky > div, .metriky > a { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; border-top: 3px solid var(--green); text-decoration: none; color: inherit; }
.metriky > a:hover { border-color: var(--green); }
.metriky b { display: block; font: 700 2rem/1.1 var(--display); color: var(--green); }
.metriky span { color: var(--steel); font-size: .9rem; }
.metriky .ikona { float: right; color: var(--steel-l); width: 22px; height: 22px; }

.tabulka { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--mist); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--steel); white-space: nowrap; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--green-50); }
table.udaje th { background: none; text-transform: none; letter-spacing: 0; font-size: .88rem; width: 34%; padding: 6px 10px 6px 0; }
table.udaje td { padding: 6px 0; } table.udaje tr:hover td { background: none; }

input, select, textarea { font: inherit; color: var(--ink); padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); max-width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px var(--green-50); }
textarea { width: 100%; }
button, .tlacidlo { font: 700 14.5px var(--body); padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: background .2s, border-color .2s; }
button:hover, .tlacidlo:hover { border-color: var(--green); }
button.hlavne, .tlacidlo.hlavne { background: var(--green); color: #fff; border-color: var(--green); }
button.hlavne:hover, .tlacidlo.hlavne:hover { background: var(--green-h); }
button:disabled { opacity: .5; cursor: not-allowed; }
.filtre { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.formular p { margin: 0 0 12px; } .formular label { display: block; font-size: .88rem; font-weight: 600; color: var(--steel); }
.formular input:not([type=checkbox]):not([type=radio]), .formular select { width: 100%; }
.formular .helptext { display: block; color: var(--steel); font-size: .85rem; }
.formular ul.errorlist { color: var(--red); margin: 0; padding-left: 18px; }
.riadok { display: block; margin: 6px 0; }
.akcie { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.strankovanie { display: flex; gap: 16px; justify-content: center; margin: 16px 0; }
details.karta summary { cursor: pointer; font-weight: 700; }

.sprava { padding: 12px 16px; border-radius: var(--r); margin-bottom: 14px; background: var(--green-50); border: 1px solid #b7dcc6; }
.sprava.success { border-left: 4px solid var(--green); }
.sprava.error { background: var(--red-50); border-color: #f2b8b8; color: var(--red-d); }
.sprava.warning { background: var(--amber-50); border-color: #f3dc9a; color: var(--amber-d); }
.sprava.info { border-left: 4px solid var(--spark); }

.stav { font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); white-space: nowrap; }
.stav.na_oslovenie, .stav.ponuka, .stav.uch-novy, .stav.navrh { background: var(--amber-50); border-color: #f3dc9a; color: var(--amber-d); }
.stav.oslovena, .stav.potvrdena, .stav.uch-kontakt, .stav.uch-neskor, .stav.odoslany { background: var(--blue-50); border-color: #bcd3f3; color: var(--blue-d); }
.stav.odpovedala { background: var(--violet-50); border-color: #cfc2f2; color: var(--violet-d); }
.stav.zaujem, .stav.bezi, .stav.podpisany, .stav.uch-vhodny, .stav.uch-pripraveny, .stav.uch-prijaty { background: var(--green-50); border-color: #b7dcc6; color: var(--green-d); }
.stav.nezaujem, .stav.neoslovovat, .stav.zrusena, .stav.uch-nevhodny, .stav.uch-nema_zaujem { background: var(--red-50); border-color: #e8bcbc; color: var(--red-d); }

.prazdne { text-align: center; padding: 34px 20px; color: var(--steel); }
.prazdne .ikona { width: 40px; height: 40px; color: var(--steel-l); display: block; margin: 0 auto 8px; }

/* Úlohy na dnes (upozornenia zo všetkých modulov) */
.ulohy { list-style: none; margin: 0; padding: 0; }
.ulohy li a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.ulohy li a:hover { background: var(--mist); }
.ulohy .znak { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.ulohy .chyba .znak { background: var(--red-50); color: var(--red); }
.ulohy .pozor .znak { background: var(--amber-50); color: #b97a12; }
.ulohy .info .znak { background: var(--green-50); color: var(--green); }
.ulohy .ikona-dalej { margin-left: auto; color: var(--steel-l); }
.ulohy .uroven { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--steel); display: block; }

/* 5. Grafy ----------------------------------------------------------------- */
.kapacita-pruh { display: flex; gap: 2px; height: 22px; margin: 14px 0 10px; }
.kapacita-pruh span { height: 100%; min-width: 4px; }
.kapacita-pruh span:first-child { border-radius: 4px 0 0 4px; } .kapacita-pruh span:last-child { border-radius: 0 4px 4px 0; }
.kapacita-pruh span:only-child { border-radius: 4px; }
.s1 { background: var(--s1); } .s2 { background: var(--s2); } .s3 { background: var(--s3); }
.legenda { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.legenda i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 7px; }
.legenda b { font-family: var(--display); font-size: 1.15rem; margin-right: 4px; }

.harmonogram { position: relative; font-size: 13px; }
.harm-hlavicka, .harm-riadok { display: grid; grid-template-columns: minmax(130px, 30%) 1fr; align-items: center; }
.harm-hlavicka .tyzdne-os { display: grid; grid-template-columns: repeat(8, 1fr); color: var(--steel); font-weight: 600; }
.harm-hlavicka .tyzdne-os span { padding: 0 0 6px 6px; border-left: 1px solid var(--line); }
.harm-riadok { border-top: 1px solid var(--line); min-height: 40px; }
.harm-riadok > a { padding: 6px 10px 6px 0; color: var(--ink); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.harm-riadok > a small { color: var(--steel); display: block; }
.harm-plocha { position: relative; height: 40px; background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 12.5%); }
.harm-pruh { position: absolute; top: 9px; height: 22px; border-radius: 4px; background: var(--green); color: #fff; font-weight: 700; font-size: 12px; padding: 0 8px; display: flex; align-items: center; white-space: nowrap; overflow: visible; text-decoration: none; }
.harm-pruh.ponuka { background: var(--steel-l); color: var(--graphite); }
.harm-pruh.otvorene { border-radius: 4px 0 0 4px; }
.harm-dnes { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--red); z-index: 2; pointer-events: none; }
.harm-dnes.s-popisom::after { content: "dnes"; position: absolute; top: -18px; left: -12px; font-size: 11px; color: var(--red); font-weight: 700; }

.lievik { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lievik li a { display: grid; grid-template-columns: 110px 1fr 48px; gap: 10px; align-items: center; color: var(--ink); text-decoration: none; }
.lievik .pruh { height: 18px; border-radius: 0 4px 4px 0; background: var(--green); min-width: 3px; }
.lievik li a:hover .pruh { background: var(--green-h); }
.lievik b { text-align: right; font-family: var(--display); }

/* 6. Moduly ---------------------------------------------------------------- */
/* CRM */
.zhrnutie { border-left: 4px solid var(--spark); }
.karta.varovanie { border-left: 4px solid var(--red); background: var(--red-50); }
.zhrnutie .eyebrow { margin-bottom: 6px; }
.text-emailu { white-space: normal; overflow-wrap: anywhere; }
.skore { display: inline-block; min-width: 28px; text-align: center; font-weight: 700; border-radius: 6px; padding: 1px 6px; background: var(--mist); color: var(--steel); }
.skore.s7, .skore.s8, .skore.s9, .skore.s10 { background: var(--green); color: #fff; }
.skore.s5, .skore.s6 { background: var(--green-50); color: var(--green-d); }
.skore.s0, .skore.s1, .skore.s2 { background: var(--red-50); color: var(--red-d); }
.aktivity { list-style: none; padding: 0; margin: 12px 0 0; }
.aktivity li { padding: 12px 0; border-top: 1px solid var(--line); }

/* Návrh e-mailu – na čo reagujeme */
.kontext-emailu { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px 24px; background: var(--mist); border-left: 4px solid var(--spark); border-radius: var(--r); padding: 14px 18px; margin: 10px 0 16px; }
.kontext-emailu p { margin: 4px 0; }
.kontext-emailu .nadpis, .nadpis-textu { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--steel); margin-bottom: 6px; }
.kontext-emailu .inzerat-nazov { font-weight: 700; font-size: 1.05rem; }
.pozor-text { color: var(--amber-d); }
.chyba-text { color: var(--red-d); background: var(--red-50); border-radius: 8px; padding: 6px 10px; font-weight: 600; }

/* Doklady (semafor) */
.semafor { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--steel-l); vertical-align: middle; margin-right: 6px; flex: none; }
.semafor.zelena { background: var(--green-l); } .semafor.oranzova { background: var(--amber); } .semafor.cervena { background: var(--red); }
.doklady { list-style: none; padding: 0; margin: 0; }
.doklady li { display: flex; align-items: baseline; gap: 4px; padding: 8px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.doklady li:first-child { border-top: none; }
.doklady .vpravo { margin-left: auto; }
.velke a.tlacidlo, .velke button { padding: 13px 22px; }

/* Hodiny a hospodárenie */
.mriezka-hodin th, .mriezka-hodin td { padding: 6px; text-align: center; }
.mriezka-hodin th:first-child, .mriezka-hodin td.meno { text-align: left; white-space: nowrap; position: sticky; left: 0; background: var(--paper); }
.mriezka-hodin th span { font-weight: 400; letter-spacing: 0; text-transform: none; }
.mriezka-hodin th.dnes { color: var(--green); box-shadow: inset 0 -3px 0 var(--green); }
.mriezka-hodin input { width: 3.6em; min-width: 0; text-align: center; padding: 8px 2px; font-size: 16px; }
.mriezka-hodin td.mimo { background: var(--mist); }
tr.sucet td { background: var(--mist); font-weight: 700; }
.formular.riadok { display: flex; flex-wrap: wrap; gap: 0 12px; align-items: flex-end; }
.formular.riadok p { flex: 1 1 140px; }
.formular.riadok button { margin-bottom: 12px; }
table.ucty td.suma { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.ucty .strata { color: var(--red); }
.velke-tl { padding: 13px 22px; }

/* Nábor */
.mriezka { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 16px; }
.pole { margin-bottom: 14px; }
.pole label { display: block; font-size: .88rem; font-weight: 600; color: var(--steel); margin-bottom: 4px; }
.pole input:not([type=checkbox]):not([type=radio]), .pole select, .pole textarea { width: 100%; }
.pole ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.pole ul label { font-weight: 400; color: var(--ink); font-size: 15px; }
.pole.s-chybou input, .pole.s-chybou select { border-color: var(--red); }
.chyba { color: var(--red); font-size: .88rem; margin: 4px 0 0; }
.zaskrtnutia { margin: 8px 0; } .zaskrtnutia label { display: inline; font-weight: 400; color: var(--ink); }
.skryte { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tyzdne { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.tyzden { border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; font-size: .9rem; }
.tyzden strong { font: 700 1.6rem/1.1 var(--display); color: var(--steel-l); }
.tyzden.plny { border-top: 3px solid var(--green); } .tyzden.plny strong { color: var(--green); }

/* Verejný formulár */
body.verejna main { max-width: 760px; }
.hero { background: var(--graphite) radial-gradient(circle at 85% 0%, #1f7a4b66, transparent 60%); color: #fff; border-radius: 16px; padding: 28px 24px; margin-bottom: 16px; border-top: 4px solid var(--spark); }
.hero img { height: 40px; } .hero h1 { color: #fff; } .hero a { color: var(--spark); } .hero .eyebrow { color: var(--spark); margin-top: 18px; }
.vyhody { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 6px; }
.prihlaska h2 { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 18px; } .prihlaska h2:first-of-type { border: none; padding: 0; margin-top: 0; }
.poucenie { margin: 18px 0 8px; font-size: .9rem; color: var(--steel); }
.velke-tlacidlo { width: 100%; padding: 15px; font-size: 16px; margin-top: 14px; justify-content: center; }

/* Vyhľadávanie */
.vysledky { list-style: none; margin: 0; padding: 0; }
.vysledky a { display: block; padding: 9px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.vysledky li:first-child a { border-top: 0; }
.vysledky small { display: block; color: var(--steel); font-weight: 400; }

/* Prihlásenie */
body.prihlasenie { background: var(--graphite) radial-gradient(circle at 80% 0%, #1f7a4b55, transparent 55%); min-height: 100vh; }
.login { max-width: 380px; margin: 12vh auto 0; background: var(--paper); padding: 32px 28px; border-radius: 16px; border-top: 4px solid var(--spark); }
.login img { height: 56px; display: block; margin: 0 auto 8px; }
.login p { text-align: center; }
.login label { display: block; margin-bottom: 14px; color: var(--steel); font-weight: 600; font-size: .9rem; }
.login input { width: 100%; margin-top: 4px; }
.login button { width: 100%; padding: 13px; justify-content: center; }

/* Nábor: body uchádzača, kalendár, pruh podielu */
.body { display: inline-block; min-width: 2.4em; padding: 2px 8px; border-radius: 999px; text-align: center; font: 700 .85rem/1.5 var(--display); border: 1px solid var(--line); vertical-align: middle; }
.body.zelena { background: var(--green-50); color: var(--green-d); border-color: #b7dcc6; }
.body.oranzova { background: var(--amber-50); color: var(--amber-d); border-color: #f3dc9a; }
.body.cervena { background: var(--red-50); color: var(--red-d); border-color: #e8bcbc; }
h1 .body { font-size: .95rem; }
.pruh { display: inline-block; width: 120px; height: 8px; border-radius: 999px; background: var(--line); vertical-align: middle; overflow: hidden; }
.pruh i { display: block; height: 100%; background: var(--green); border-radius: 999px; }
.kalendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.kal-hlava { padding: 4px 8px; font-weight: 700; font-size: .85rem; color: var(--steel); }
.kal-den { min-height: 104px; padding: 6px 8px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kal-den.mimo { opacity: .45; }
.kal-den.dnes { border-color: var(--green); box-shadow: inset 0 3px 0 var(--green); }
.kal-cislo { font: 700 .9rem/1 var(--display); color: var(--steel); }
.kal-udalost { display: block; padding: 3px 7px; border-radius: 6px; font-size: .8rem; line-height: 1.35; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kal-udalost.kontakt { background: var(--amber-50); color: var(--amber-d); }
.kal-udalost.nastup { background: var(--green-50); color: var(--green-d); }
.kal-leg { display: inline-block; width: 10px; height: 10px; border-radius: 3px; vertical-align: baseline; }
.kal-leg.kontakt { background: var(--amber-d); } .kal-leg.nastup { background: var(--green); }
@media (max-width: 700px) { .kalendar { gap: 3px; } .kal-den { min-height: 70px; padding: 4px; } .kal-udalost { font-size: .7rem; padding: 2px 4px; } }
