/* Vyjmuto z inc_navod.php (12. 10. 2026, Tomáš: CSS a JS do vlastních souborů). */
.nv { max-width: 1180px; }
/* Hlavička (15. 10. 2026 – „návod hezčí“) */
.nv-hero {
    position: relative; overflow: hidden; text-align: center; padding: 40px 24px 30px; border-radius: 26px;
    background: radial-gradient(120% 140% at 0% 0%, #eef2ff 0%, rgba(238,242,255,0) 55%),
                radial-gradient(120% 140% at 100% 0%, #f5f3ff 0%, rgba(245,243,255,0) 55%),
                linear-gradient(180deg, #fafbff 0%, #fff 100%);
    border: 1px solid #e7eaf6;
}
.nv-hero::before {
    content: ''; position: absolute; inset: auto -60px -90px auto; width: 260px; height: 260px; border-radius: 50%;
    background: radial-gradient(circle, rgba(124,58,237,.10), rgba(124,58,237,0) 70%); pointer-events: none;
}
.nv-hero h1 { font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.4rem); letter-spacing: -.02em; margin-bottom: 8px; color: #1e1b4b; }
.nv-hero p { color: #64748b; margin: 0 auto 22px; max-width: 640px; }
.nv-search { position: relative; max-width: 640px; margin: 0 auto; }
.nv-search > i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: #94a3b8; font-size: 1.1rem; pointer-events: none; }
.nv-search input {
    width: 100%; height: 58px; padding: 0 48px 0 50px; font-size: 1.05rem;
    border: 1px solid #dbe2ee; border-radius: 18px; background: #fff;
    box-shadow: 0 14px 34px -20px rgba(49, 46, 129, .45);
}
.nv-search input::-webkit-search-cancel-button { display: none; }
.nv-search input:focus { outline: none; border-color: #6366f1; box-shadow: 0 0 0 4px rgba(99, 102, 241, .15); }
.nv-search .nv-clear { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: #94a3b8; font-size: 1.5rem; line-height: 1; padding: 4px 8px; display: none; }
.nv-search.has-q .nv-clear { display: block; }

/* Filtr podle tarifu */
.nv-filter { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 20px auto 0; }
.nv-filter-lbl { color: #64748b; font-size: .88rem; margin-right: 2px; }
.nv-filter button {
    display: inline-flex; align-items: center; gap: 7px; border: 1px solid #dfe3ef; background: #fff; color: #334155;
    font-size: .88rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.nv-filter button:hover { border-color: #c7d2fe; }
.nv-filter button.is-on { background: #4f46e5; border-color: #4f46e5; color: #fff; }
.nv-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.nv-dot.free { background: #22c55e; } .nv-dot.premium { background: #f59e0b; } .nv-dot.max { background: #8b5cf6; } .nv-dot.ai { background: #14b8a6; }
.nv-filter button.is-on .nv-dot { box-shadow: 0 0 0 2px rgba(255,255,255,.85); }
.nv-legend { color: #64748b; font-size: .84rem; margin: 14px auto 0 !important; }
.nv-legend .tier-badge { margin: 0 1px; }

/* Skupiny a dlaždice */
.nv-group { margin-top: 36px; }
.nv-group h2 { display: flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #64748b; margin-bottom: 12px; }
.nv-group h2::after { content: ''; flex: 1; height: 1px; background: #e7eaf3; }
.nv-count { font-size: .72rem; letter-spacing: 0; background: #f1f5f9; color: #64748b; border-radius: 999px; padding: 1px 8px; }
.nv-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.nv-tile {
    position: relative; display: flex; gap: 14px; align-items: stretch; padding: 18px 18px 16px; border-radius: 18px;
    background: #fff; border: 1px solid #e5e9f2; color: inherit; text-decoration: none; overflow: hidden;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.nv-tile::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: #22c55e; opacity: .85; }
.nv-tile[data-tier="premium"]::before { background: linear-gradient(180deg, #f59e0b, #8b5cf6); }
.nv-tile[data-tier="max"]::before { background: #8b5cf6; }
.nv-tile[data-tier="info"]::before { background: #6366f1; }
.nv-tile:hover, .nv-tile:focus-visible { border-color: #c7d2fe; box-shadow: 0 16px 32px -20px rgba(79, 70, 229, .55); transform: translateY(-2px); color: inherit; }
.nv-ico { align-self: flex-start; flex-shrink: 0; width: 44px; height: 44px; border-radius: 13px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #eef2ff, #f5f3ff); color: #4f46e5; font-size: 1.2rem; border: 1px solid #e0e7ff; }
.nv-tile[data-tier="max"] .nv-ico { color: #7c3aed; }
.nv-tile[data-tier="ai"]::before { background: #14b8a6; }
.nv-tile[data-tier="ai"] .nv-ico { color: #0f766e; }
.nv-tile-txt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.nv-tile b { display: block; font-size: 1rem; line-height: 1.3; margin-bottom: 4px; color: #1e293b; }
.nv-tile small { display: block; color: #64748b; font-size: .85rem; line-height: 1.45; }
.nv-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; padding-top: 10px; }
.nv-tile-txt small { margin-bottom: 0; }
.nv-tile.is-hidden, .nv-group.is-hidden { display: none; }

/* Štítky tarifů – stejné jako v aplikaci */
.nv .tier-badge {
    display: inline-flex; align-items: center; gap: .25rem; vertical-align: middle;
    font-size: .68rem; font-weight: 700; letter-spacing: .02em; line-height: 1;
    padding: .3rem .55rem; border-radius: 999px; white-space: nowrap; position: relative; top: -1px;
}
.nv .tier-badge .bi { font-size: .8em; margin: 0; }
.nv .tier-free    { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.nv .tier-premium { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.nv .tier-max     { background: #ede9fe; color: #6d28d9; border: 1px solid #ddd6fe; }
.nv .tier-ai      { background: #ccfbf1; color: #0f766e; border: 1px solid #99f6e4; }
.nv .tier-part    { background: transparent; border-style: dashed; font-weight: 600; }
.nv .nv-tags .tier-badge { top: 0; }
.nv-sec-head .nv-tags { padding-top: 6px; }
.nv-steps .tier-badge { margin-right: 2px; }
.nv-results { max-width: 760px; margin: 26px auto 0; display: none; }
.nv-results a { display: block; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid #e5e9f2; margin-bottom: 10px; color: inherit; text-decoration: none; }
.nv-results a:hover { border-color: #c7d2fe; }
.nv-results b { display: block; margin-bottom: 2px; }
.nv-results small { color: #475569; }
.nv-results mark { background: #fef08a; padding: 0 2px; border-radius: 3px; }
.nv-none { text-align: center; color: #64748b; padding: 20px; }

.nv-article { max-width: 820px; margin: 0 auto; }
.nv-back { align-items: center; gap: 8px; color: #4f46e5; font-weight: 600; padding: 6px 0; margin-bottom: 10px; text-decoration: none; }
.nv-sec { background: #fff; border: 1px solid #e5e9f2; border-radius: 20px; padding: 28px 30px; margin-bottom: 18px; scroll-margin-top: 84px; }
.nv-sec-head { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.nv-sec-head .nv-ico { width: 48px; height: 48px; font-size: 1.35rem; }
.nv-sec h2, .nv-sec-head h1 { font-size: 1.45rem; font-weight: 800; margin: 0; }
.nv-sec .nv-grp { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #94a3b8; }
.nv-sec .intro { color: #475569; font-size: 1.02rem; margin-bottom: 16px; }
.nv-steps { list-style: none; counter-reset: k; padding: 0; margin: 0; }
.nv-steps li { counter-increment: k; position: relative; padding: 3px 0 14px 46px; line-height: 1.6; }
.nv-steps li::before {
    content: counter(k); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
    background: #4f46e5; color: #fff; font-weight: 700; font-size: .9rem; display: flex; align-items: center; justify-content: center;
}
.nv-steps li:not(:last-child)::after { content: ''; position: absolute; left: 14px; top: 34px; bottom: 4px; width: 2px; background: #e0e7ff; }
.nv-sec .tip { margin: 14px 0 0; padding: 12px 16px; border-radius: 14px; background: #f0f7ff; font-size: .96rem; }
.nv-sec .path { display: inline; padding: 1px 7px; border-radius: 6px; background: #f1f5f9; border: 1px solid #e2e8f0; font-weight: 600; font-size: .95em; }
.nv-pager { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.nv-pager a { display: block; padding: 14px 16px; border-radius: 14px; border: 1px solid #e5e9f2; background: #fff; text-decoration: none; color: inherit; }
.nv-pager a:hover { border-color: #c7d2fe; }
.nv-pager small { display: block; color: #64748b; font-size: .8rem; }
.nv-pager b { color: #4f46e5; }
.nv-pager .next { text-align: right; grid-column: 2; }
.nv-help { text-align: center; color: #64748b; margin-top: 34px; font-size: .95rem; }

/* Bez skriptu: vše pod sebou, bez tlačítek. Se skriptem buď přehled, nebo jedna kapitola. */
.nv-back, .nv-pager { display: none; }
.nv-js .nv-back { display: inline-flex; }
.nv-js .nv-pager { display: grid; }
.nv-js .nv-article { display: none; }
.nv-js.nv-reading .nv-overview { display: none; }
.nv-js.nv-reading .nv-article { display: block; }
.nv-js .nv-sec { display: none; }
.nv-js .nv-sec.is-open { display: block; }
.nv-js.nv-searching .nv-groups { display: none; }
.nv-js.nv-searching .nv-results { display: block; }

@media (max-width: 575.98px) {
    .nv-sec { padding: 20px 16px; border-radius: 16px; }
    .nv-sec h2, .nv-sec-head h1 { font-size: 1.2rem; }
    .nv-steps li { padding-left: 40px; }
    .nv-js .nv-pager { grid-template-columns: 1fr; }
    .nv-pager .next { grid-column: 1; }
    .nv-tiles { grid-template-columns: 1fr; }
    .nv-search input { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .nv-tile { transition: none; } .nv-tile:hover { transform: none; } }
@media print { .nv-overview, .nv-pager, .nv-back, .nv-help { display: none !important; } .nv-sec { display: block !important; border: 0; break-inside: avoid; } .nv-article { display: block !important; } }

/* Rychlé odkazy a štítek „Nové“ (15. 10. 2026 – přehlednější návod) */
.nv-quick { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 8px; margin: 14px auto 0; max-width: 760px; }
.nv-quick span { color: #64748b; font-size: .85rem; }
.nv-quick a { font-size: .85rem; font-weight: 600; color: #4338ca; background: #eef2ff; border: 1px solid #e0e7ff; padding: 4px 11px; border-radius: 999px; text-decoration: none; }
.nv-quick a:hover { background: #e0e7ff; }
.nv-new { position: absolute; top: 12px; right: 12px; font-size: .66rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: #ef4444; padding: 3px 7px; border-radius: 999px; }
.nv-tile .nv-tile-txt b { padding-right: 0; }
.nv-tile:has(.nv-new) .nv-tile-txt b { padding-right: 46px; }
.nv-sec .nv-sub { font-size: 1.05rem; font-weight: 700; margin: 22px 0 10px; color: #1e293b; }
/* Mobil: kompaktní dlaždice – jen název a štítky, ať je přehled témat na pár obrazovek (15. 10. 2026) */
@media (max-width: 575.98px) {
    .nv-hero { padding: 26px 16px 22px; }
    .nv-group { margin-top: 24px; }
    .nv-tiles { gap: 8px; }
    .nv-tile { padding: 11px 12px 11px 14px; gap: 11px; border-radius: 14px; align-items: center; }
    .nv-tile .nv-ico { width: 36px; height: 36px; font-size: 1rem; border-radius: 10px; align-self: center; }
    .nv-tile small { display: none; }
    .nv-tile b { font-size: .95rem; margin-bottom: 0; }
    .nv-tile .nv-tags { padding-top: 5px; }
    .nv-new { top: 8px; right: 8px; }
}
