/* Návod na použitie (navod.php) – farby a písma z style-modern.css */
html { scroll-padding-top: 20px; }
.navod-stranka { padding: 0 16px; }

.n-hlava { max-width: 1180px; margin: 18px auto 0; padding: clamp(20px, 3vw, 34px); border: 1px solid var(--line); border-radius: 26px;
    background: radial-gradient(circle at 100% 0, color-mix(in srgb, var(--accent) 22%, transparent), transparent 220px), var(--panel); box-shadow: var(--shadow); }
.n-spat { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 14px; padding: 6px 12px 6px 6px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); font-size: 13px; font-weight: 700; text-decoration: none; }
.n-spat:hover { border-color: var(--accent); color: var(--accent); }
.n-spat svg { width: 18px; height: 18px; fill: currentColor; }
.n-hlava h1 { margin: 0 0 8px; font: 700 clamp(30px, 4vw, 46px)/1.05 var(--nadpis); letter-spacing: -.05em; }
.n-hlava h1 em { color: var(--accent); font-style: normal; }
.n-podnadpis { max-width: 640px; margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.n-hladaj { display: flex; align-items: center; gap: 10px; max-width: 520px; padding: 11px 15px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel-2); }
.n-hladaj:focus-within { border-color: var(--secondary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--secondary) 12%, transparent); }
.n-hladaj svg { flex: 0 0 18px; width: 18px; height: 18px; fill: var(--muted); }
.n-hladaj input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 15px; }
.n-nic { margin: 12px 0 0; color: var(--accent); font-weight: 700; }

/* Najčastejšie úlohy */
.n-rychle { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 1180px; margin: 16px auto 0; }
.n-rychle a { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); color: var(--text); text-decoration: none; transition: transform .15s, border-color .15s; }
.n-rychle a:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.n-rychle b { font: 700 15px var(--nadpis); }
.n-rychle small { color: var(--muted); font-size: 12px; }

/* Rozloženie: obsah vľavo (lepkavý), text vpravo */
.n-rozlozenie { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; max-width: 1180px; margin: 22px auto 0; align-items: start; }
.n-obsah-obal { position: sticky; top: 16px; }
.n-obsah { border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.n-obsah summary { display: none; }
.n-obsah ol { max-height: calc(100vh - 60px); margin: 0; padding: 10px; overflow-y: auto; overscroll-behavior: contain; list-style: none; }
.n-obsah a { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 10px; color: var(--text); font-size: 13.5px; font-weight: 650; text-decoration: none; }
.n-obsah a span { flex: 0 0 22px; text-align: center; }
.n-obsah a:hover { background: var(--panel-2); }
.n-obsah a.akt { background: var(--accent-soft, color-mix(in srgb, var(--accent) 12%, transparent)); color: var(--accent); }

.n-obsah-text { min-width: 0; }
.n-cast { margin-bottom: 18px; padding: clamp(18px, 2.5vw, 28px); border: 1px solid var(--line); border-radius: 20px; background: var(--panel); line-height: 1.6; }
.n-cast:target { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 10%, transparent); }
.n-cast h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font: 700 25px var(--nadpis); letter-spacing: -.03em; }
.n-ikona { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 12px; background: var(--panel-2); font-size: 21px; }
.n-kotva { margin-left: auto; color: var(--muted); font-size: 18px; text-decoration: none; opacity: 0; transition: opacity .15s; }
.n-cast:hover .n-kotva, .n-kotva:focus { opacity: .6; }
.n-cast h3 { margin: 18px 0 6px; font: 700 17px var(--nadpis); }
.n-cast p { margin: 0 0 10px; }
.n-cast a { color: var(--accent); font-weight: 650; }

/* Ovládací prvok v texte */
.ui { display: inline-block; padding: 0 7px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel-2); color: var(--text); font-size: .92em; font-weight: 700; line-height: 1.6; white-space: nowrap; }

/* Číslované kroky */
.kroky { margin: 8px 0 12px; padding: 0; list-style: none; counter-reset: krok; }
.kroky li { position: relative; margin-bottom: 8px; padding-left: 38px; counter-increment: krok; }
.kroky li::before { content: counter(krok); position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 13px; font-weight: 800; }
.n-zoznam { margin: 6px 0 12px; padding-left: 20px; }
.n-zoznam li { margin-bottom: 6px; }

.tip-box { margin-top: 12px !important; padding: 11px 14px; border-left: 4px solid var(--secondary); border-radius: 0 12px 12px 0; background: var(--secondary-soft); }

.n-tabulka { width: 100%; margin: 6px 0 12px; border-collapse: collapse; }
.n-tabulka th, .n-tabulka td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.n-tabulka th { width: 34%; font-weight: 750; white-space: nowrap; }
.n-tabulka tr:last-child th, .n-tabulka tr:last-child td { border-bottom: 0; }
.n-stitky .stitok, .n-stitky .vek-znak { margin: 0; }
.n-hodn { color: #d99400; font-weight: 800; }
.n-cerveny { color: var(--accent); font-weight: 800; }
.n-srdce { color: var(--secondary); font-weight: 800; }

.n-stlpce { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.n-stlpce > div { padding: 4px 14px 2px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel-2); }
.n-stlpce h3 { margin-top: 10px; }

.n-otazka { margin-bottom: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel-2); }
.n-otazka summary { padding: 11px 14px; font-weight: 750; cursor: pointer; }
.n-otazka[open] summary { color: var(--accent); }
.n-otazka p { margin: 0; padding: 0 14px 12px; }

/* Tablet a mobil: obsah je rozbaľovací blok nad textom */
@media (max-width: 991.98px) {
    .n-rychle { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .n-rozlozenie { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .n-obsah-obal { position: sticky; top: 8px; z-index: 5; }
    .n-obsah { box-shadow: 0 10px 28px rgba(0, 0, 0, .12); }
    .n-obsah summary { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; font: 700 16px var(--nadpis); cursor: pointer; list-style: none; }
    .n-obsah summary::-webkit-details-marker { display: none; }
    .n-obsah summary i { width: 9px; height: 9px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .25s; }
    .n-obsah[open] summary i { transform: translateY(2px) rotate(225deg); }
    .n-obsah ol { max-height: 60vh; border-top: 1px solid var(--line); }
    html { scroll-padding-top: 74px; }
    .n-stlpce { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 575.98px) {
    .navod-stranka { padding: 0 10px; }
    .n-hlava { margin-top: 10px; border-radius: 20px; }
    .n-rychle { gap: 8px; }
    .n-rychle a { padding: 12px; }
    .n-cast h2 { font-size: 21px; }
    .n-ikona { flex-basis: 36px; height: 36px; font-size: 18px; }
    .n-tabulka th { width: auto; white-space: normal; }
    .n-tabulka tr { display: grid; }
    .n-tabulka th { padding-bottom: 0; border-bottom: 0; }
}

/* Ochrana súkromia (sukromie.php) */
.s-odkazy { display: flex; flex-wrap: wrap; gap: 6px; }
.s-odkazy a { padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel-2); color: var(--text); font-size: 12.5px; font-weight: 700; text-decoration: none; }
.s-odkazy a:hover { border-color: var(--accent); color: var(--accent); }
.s-obsah { max-width: 900px; margin: 22px auto 0; }
.s-fajky { margin: 0; padding: 0; list-style: none; }
.s-fajky li { position: relative; margin-bottom: 9px; padding-left: 30px; }
.s-fajky li::before { content: "✓"; position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; background: #2e9d44; color: #fff; font-size: 12px; font-weight: 800; }
.s-zaklad { color: var(--muted); font-size: 13px; }
.n-tabulka small { color: var(--muted); font-size: 11px; font-weight: 500; }
.s-hlava { max-width: 900px; }
