        :root {
            --primary: #0f3a37;
            --green: #0f8a3e;
            --gold: #f6c453;
            --dark: #0f1720;
            --light: #f6f8f7;
            --gray: #eef2f1;
            --danger: #e74c3c;
            --surface: #ffffff;
            --muted: #5b6b6a;
        }
        body { font-family: 'Plus Jakarta Sans', sans-serif; background: var(--light); margin: 0; color: var(--dark); line-height: 1.6; }
        
        /* Navigácia */
        .nav { background: var(--surface); padding: 1rem 5%; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 15px rgba(0,0,0,0.05); }
        .nav-links { display: flex; gap: 20px; align-items: center; }
        .nav-links a { color: var(--primary); text-decoration: none; font-weight: 600; cursor: pointer; font-size: 0.95rem; }
        .logo { font-size: 1.6rem; font-weight: 800; color: var(--primary); text-decoration: none; }
        .logo span { color: var(--green); }
        .nav-auth { display: flex; gap: 10px; align-items: center; }
        .nav-auth .link-ghost { padding: 8px 14px; border-radius: 10px; border: 1px solid #e5e7eb; background: #fff; display: inline-flex; align-items: center; gap: 8px; }
        .nav-auth .link-cta { padding: 8px 16px; border-radius: 10px; background: var(--green); color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
        .nav-auth .link-cta:hover { opacity: 0.95; }
        .nav-user { display: flex; gap: 12px; align-items: center; }
        .nav-user .pill { padding: 6px 10px; border-radius: 999px; background: #f0fdf4; color: #0f5132; font-weight: 700; font-size: 0.85rem; }
        .nav-auth .icon { width: 16px; height: 16px; display: inline-flex; }
        .nav-user .icon { width: 16px; height: 16px; display: inline-flex; }
        .nav-auth .icon svg, .nav-user .icon svg { width: 16px; height: 16px; display: block; }
        .nav-toggle { display: none; background: transparent; border: 0; cursor: pointer; padding: 8px; }
        .nav-toggle span { display: block; width: 26px; height: 2px; background: var(--primary); margin: 5px 0; transition: 0.2s; }
        .nav-links.open { display: flex; }

        /* Stránky */
        .page { display: none; padding: 2rem 5%; max-width: 1100px; margin: auto; animation: fadeIn 0.3s ease; min-height: 80vh; }
        .page.active { display: block; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

        /* Hero & Search */
        .hero { text-align: center; padding: 5.5rem 5% 7.5rem; background: radial-gradient(1200px 500px at 50% -10%, #1f5a55 0%, var(--primary) 45%, #0d2e2b 100%); color: white; border-radius: 0 0 56px 56px; position: relative; overflow: hidden; }
        .hero::after { content: ""; position: absolute; inset: auto -10% -40% -10%; height: 240px; background: radial-gradient(closest-side, rgba(246,196,83,0.18), transparent); }
        .hero h1 { font-size: 3.1rem; margin-bottom: 0.6rem; letter-spacing: -0.5px; }
        #home .hero { width: 100vw; margin-left: calc(50% - 50vw); }
        .hero-sub { max-width: 820px; margin: 0.6rem auto 1.6rem; color: #dfe9e6; font-size: 1.1rem; }
        .pill-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
        .pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,0.1); color: #e8f3ef; font-size: 0.85rem; border: 1px solid rgba(255,255,255,0.15); }
        .search-container { background: var(--surface); padding: 26px; border-radius: 22px; box-shadow: 0 24px 50px rgba(0,0,0,0.12); margin: -72px auto 40px; max-width: 1020px; display: grid; gap: 10px; grid-template-columns: 1.6fr 1fr auto; border: 1px solid #e7eeeb; }
        #home .search-container { position: relative; z-index: 2; }
        .search-container input, .search-container select { width: 100%; }
        .search-container input { flex: 2; min-width: 250px; padding: 16px; border: 2px solid #eef2f0; border-radius: 12px; font-size: 1rem; background: #fbfdfc; }
        .search-container select { flex: 1; padding: 16px; border: 2px solid #eef2f0; border-radius: 12px; background: #fbfdfc; }

        /* Blog Grid */
        .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; margin-top: 2rem; }
        .card { background: var(--surface); border-radius: 20px; overflow: hidden; box-shadow: 0 10px 20px rgba(0,0,0,0.05); border: 1px solid #e9eeec; transition: 0.3s; cursor: pointer; }
        .card img { width: 100%; height: 220px; object-fit: cover; }
        .card-content { padding: 1.5rem; }

        /* Profil & Auth */
        .auth-card { max-width: 450px; margin: 40px auto; background: var(--surface); padding: 3rem; border-radius: 25px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
        .auth-card input { width: 100%; padding: 15px; margin: 10px 0; border-radius: 12px; border: 1px solid #ddd; box-sizing: border-box; }
        .profile-form input { width: 100%; padding: 15px; margin: 0; border-radius: 12px; border: 1px solid #ddd; box-sizing: border-box; background: #fff; }
        .profile-box { background: var(--surface); padding: 2.5rem; border-radius: 24px; box-shadow: 0 10px 24px rgba(0,0,0,0.06); border: 1px solid #e6eeea; }
        .profile-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
        .profile-card { background: var(--surface); border: 1px solid #e6eeea; border-radius: 16px; padding: 18px; }
        .profile-card .btn { padding: 12px 18px; border-radius: 12px; font-size: 0.9rem; }
        .profile-card .btn.btn-outline { border: 2px solid #e3e8e6; background: #ffffff; color: #1f3d3b; }
        .profile-card .btn.btn-outline:hover { background: #f6faf8; }
        .avatar-badge { width: 44px; height: 44px; border-radius: 50%; background: #e9f6ef; color: #167a52; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
        .profile-title { font-size: 1.3rem; margin-bottom: 8px; }
        .profile-actions { display: flex; flex-direction: column; gap: 10px; }
        .profile-meta { color: var(--muted); font-size: 0.95rem; }
        .profile-form { display: grid; gap: 12px; margin-top: 12px; }
        .input-group input { width: 100%; }
        .modal { position: fixed; inset: 0; background: rgba(15, 23, 32, 0.5); display: none; align-items: center; justify-content: center; padding: 20px; z-index: 2000; }
        .modal.open { display: flex; }
        .modal-card { background: var(--surface); border-radius: 20px; width: 100%; max-width: 520px; padding: 22px; box-shadow: 0 20px 50px rgba(0,0,0,0.2); border: 1px solid #e6eeea; transform: translateY(10px) scale(0.98); opacity: 0; transition: 0.2s ease; }
        .modal.open .modal-card { transform: translateY(0) scale(1); opacity: 1; }
        .modal-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
        .modal-title { font-size: 1.2rem; font-weight: 800; margin: 0; }
        .modal-close { margin-left: auto; }
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }
        .modal-close { border: 0; background: #f2f5f4; border-radius: 10px; padding: 6px 10px; cursor: pointer; font-weight: 700; }
        .modal-close.icon { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; line-height: 1; }
        .modal-tabs { display: flex; gap: 8px; margin: 10px 0 14px; flex-wrap: wrap; }
        .modal-tab { border: 1px solid #e2e8e5; background: #f6f8f7; padding: 6px 12px; border-radius: 999px; cursor: pointer; font-weight: 700; }
        .modal-tab.active { background: #e9f6ef; border-color: #cfe9dd; color: #116149; }
        .modal-panel { display: none; opacity: 0; transform: translateY(6px); transition: 0.2s ease; }
        .modal-panel.active { display: block; opacity: 1; transform: translateY(0); }
        .toast { position: fixed; right: 20px; bottom: 20px; background: #0f3a37; color: #fff; padding: 12px 16px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); opacity: 0; transform: translateY(10px); transition: 0.25s ease; z-index: 3000; cursor: pointer; }
        .toast.show { opacity: 1; transform: translateY(0); }
        .toast.success { background: #116149; }
        .toast.error { background: #b23b3b; }
        .form-row { margin: 10px 0 16px; text-align: left; }
        .form-row label { display: block; font-weight: 600; margin-bottom: 6px; }
        .form-row textarea { width: 100%; padding: 15px; border-radius: 12px; border: 1px solid #ddd; box-sizing: border-box; font-family: inherit; }
        .form-helper { font-size: 0.85rem; color: #666; margin-top: 6px; }
        .form-message { margin-top: 12px; padding: 10px 12px; border-radius: 10px; font-weight: 600; }
        .form-message.success { background: #e8f7ef; color: #146c43; }
        .form-message.error { background: #fdecea; color: #b23b3b; }
        .input-group { position: relative; }
        .input-group input { width: 100%; padding-right: 96px; }
        .toggle-pass { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: #f2f2f2; padding: 6px 12px; border-radius: 10px; cursor: pointer; font-weight: 600; font-size: 0.85rem; }
        .btn[disabled] { opacity: 0.7; cursor: not-allowed; transform: none; }
        .badge { display: inline-block; padding: 4px 10px; background: #f0fdf4; color: #0f5132; border: 1px solid #cce9d6; border-radius: 999px; font-size: 0.8rem; font-weight: 700; }
        .pdf-export { position: absolute; left: 0; top: 0; width: 794px; background: white; color: #0f3a37; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; padding: 20px; opacity: 0; pointer-events: none; }
        .pdf-title { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
        .pdf-meta { font-size: 12px; color: #4b5a59; margin-bottom: 12px; }
        .pdf-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
        .pdf-table th, .pdf-table td { border: 1px solid #e2e6e6; padding: 8px 10px; vertical-align: top; word-break: break-word; }
        .pdf-table th { background: #f2f6f5; text-align: left; font-size: 12px; }
        .pdf-table td { font-size: 12px; line-height: 1.4; }
        .pdf-table tr.alt td { background: #fafbfb; }
        .pdf-table .col-name { width: 45%; }
        .pdf-table .col-ku { width: 40%; }
        .pdf-table .col-lv { width: 15%; text-align: left; }
        .pdf-footer { margin-top: 14px; font-size: 11px; color: #6b7a79; }
        .contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; margin-top: 20px; }
        .contact-card { padding: 24px; }
        .contact-title { font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
        .contact-sub { color: var(--muted); margin-bottom: 16px; }
        .contact-links { display: grid; gap: 10px; }
        .contact-link { display: inline-flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; border: 1px solid #e2ece8; background: #ffffff; color: #1f3d3b; text-decoration: none; font-weight: 700; box-shadow: 0 8px 18px rgba(0,0,0,0.04); transition: 0.2s; }
        .contact-link:hover { background: #f6fbf8; transform: translateY(-1px); box-shadow: 0 12px 24px rgba(0,0,0,0.06); }
        .contact-link .icon { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #e9f6ef; color: #0f8a3e; flex: 0 0 36px; font-size: 18px; }
        .contact-note { margin-top: 16px; font-size: 0.9rem; color: #4b5a59; }
        .contact-form { display: grid; gap: 6px; }

        /* Výsledky */
        .results-card { background: var(--surface); border-radius: 22px; overflow: hidden; box-shadow: 0 16px 36px rgba(0,0,0,0.08); margin-top: 2rem; border: 1px solid #e7eeeb; }
        .results-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: #f6faf8; border-bottom: 1px solid #eef2f0; gap: 12px; flex-wrap: wrap; }
        .results-title { font-weight: 800; }
        .results-sub { font-size: 0.9rem; color: #555; }
        .results-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
        .results-count { margin-right: auto; font-weight: 600; }
        .btn-icon { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; }
        .btn-icon .icon { width: 16px; height: 16px; display: inline-flex; }
        .btn-icon .icon svg { width: 16px !important; height: 16px !important; display: block; }
        .btn-icon.is-fav { background: #fef6d8; border-color: #f1d48a; color: #6a4a00; }
        .lv-link { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; border: 1px solid #e2e8e5; background: #f7faf9; }
        .lv-link svg { width: 16px; height: 16px; }
        .lv-link.disabled { opacity: 0.5; pointer-events: none; }
        .lv-link.disabled svg { opacity: 0.85; }
        .premium-cta { background: #ffffff; color: #0f1f1f; padding: 2.8rem; border-radius: 24px; margin-top: 2.5rem; border: 1px solid #e6ece9; box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
        .premium-cta + .section { padding-top: 30px; margin-top: 24px; }
        .premium-cta .badge-line { display: inline-flex; align-items: center; gap: 8px; background: #f0f9f5; color: #116149; border: 1px solid #cfe9dd; padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 0.85rem; }
        .premium-cta h2 { color: var(--primary); font-size: 2rem; margin: 0.6rem 0 0.2rem; }
        .premium-cta p { color: #3b4a4a; }
        .premium-cta .price { font-size: 2.4rem; font-weight: 800; margin: 0.8rem 0 0.4rem; color: #0f1f1f; }
        .premium-cta .benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 1.4rem; }
        .premium-cta .benefits div { background: #f7faf9; border: 1px solid #e6eeea; padding: 12px 14px; border-radius: 12px; font-size: 0.95rem; color: #244; }
        .premium-cta .cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-start; margin-top: 1.2rem; }
        .premium-cta .trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
        .premium-cta .chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 999px; background: #f3f6f5; border: 1px solid #e2e8e5; font-size: 0.85rem; color: #2d3a3a; }
        .premium-cta .chip svg { width: 14px; height: 14px; }
        table { width: 100%; border-collapse: collapse; }
        th { background: var(--gray); padding: 15px; text-align: left; font-size: 0.85rem; }
        td { padding: 15px; border-bottom: 1px solid #eee; }
        .blurred { filter: blur(8px); opacity: 0.4; user-select: none; }

        /* Tlačidlá */
        .btn { padding: 15px 30px; border: none; border-radius: 12px; cursor: pointer; font-weight: 700; transition: 0.25s; text-align: center; display: inline-block; text-decoration: none; }
        .btn:hover { transform: translateY(-1px); }
        .btn-green { background: var(--green); color: white; border: none; }
        .btn-gold { background: var(--gold); color: #2b1f00; }
        .btn-outline { border: 2px solid #e3e8e6; background: transparent; color: #355; margin-top: 10px; }
        .btn:hover { opacity: 0.9; transform: scale(1.02); }

        /* Článok Detail */
        .article-header-img { width: 100%; height: 450px; object-fit: cover; border-radius: 30px; margin: 20px 0; }
        .article-content { max-width: 800px; margin: auto; font-size: 1.2rem; color: #333; }

        /* Mapa */
        #mapCanvas { width: 100%; height: 70vh; min-height: 420px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); border: 1px solid #eee; }
        .map-legend { margin: 1rem 0; font-size: 0.95rem; color: #555; }
        .map-controls { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 10px; margin-bottom: 12px; }
        .map-controls input, .map-controls select { width: 100%; padding: 12px; border-radius: 10px; border: 1px solid #ddd; }
        .map-controls button { padding: 12px 16px; }
        .map-stats { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
        .map-stat { background: #f7faf9; border: 1px solid #e6eeea; border-radius: 12px; padding: 8px 12px; font-size: 0.9rem; color: #2d3a3a; }
        .leaflet-popup-content-wrapper { border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
        .leaflet-popup-content { margin: 12px 14px; font-size: 0.95rem; }
        .leaflet-popup-tip { box-shadow: 0 6px 18px rgba(0,0,0,0.15); }
        .map-popup-title { font-weight: 800; margin-bottom: 6px; color: #0f3a37; }
        .map-popup-meta { color: #4b5a59; font-size: 0.85rem; }
        .map-popup-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
        .map-popup-actions a { text-decoration: none; }
        .map-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; border: 1px solid #e2e8e5; background: #f7faf9; font-size: 0.85rem; color: #2d3a3a; }
        .map-chip svg { width: 14px; height: 14px; }
        .ku-marker { width: 26px; height: 26px; background: #16a34a; border: 3px solid #e9f6ef; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 8px 16px rgba(0,0,0,0.2); }
        .ku-marker::after { content: ""; width: 10px; height: 10px; background: #ffffff; border-radius: 50%; position: absolute; top: 8px; left: 8px; }
        .cluster-wrapper { background: transparent; }
        .cluster { border-radius: 999px; color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; box-shadow: 0 8px 20px rgba(0,0,0,0.2); }
        .cluster.small { background: #16a34a; }
        .cluster.medium { background: #0f3a37; }
        .cluster.large { background: #0b2a28; }

        /* Sections */
        .section { padding: 70px 20px; }
        .section.soft { background: var(--surface); border-radius: 26px; margin: 0 5% 26px; box-shadow: 0 14px 36px rgba(0,0,0,0.06); border: 1px solid #e7eeeb; }
        .section-title { text-align: center; font-size: 2rem; margin-bottom: 12px; }
        .section-sub { text-align: center; max-width: 860px; margin: 0 auto 28px; color: var(--muted); }
        .grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
        .card-soft { background: var(--surface); border: 1px solid #e6eeea; border-radius: 16px; padding: 20px; box-shadow: 0 8px 18px rgba(0,0,0,0.04); transition: 0.2s; }
        .card-soft:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.06); }
        .card-soft h3 { margin-top: 0; }
        .step-card { text-align: left; }
        .step-num { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: #e9f6ef; color: #167a52; font-weight: 800; margin-bottom: 10px; }
        .faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
        .faq-item { background: var(--surface); border: 1px solid #e6eeea; border-radius: 16px; padding: 14px 16px; box-shadow: 0 8px 18px rgba(0,0,0,0.04); }
        .faq-item summary { cursor: pointer; font-weight: 700; list-style: none; }
        .faq-item summary::-webkit-details-marker { display: none; }
        .faq-item p { margin: 8px 0 0; color: var(--muted); }
        .mini-faq { max-width: 900px; margin: 30px auto 0; text-align: left; }
        .mini-faq .faq-item { padding: 12px 14px; }
        .footer-wrap { max-width: 1200px; margin: 0 auto; }
        .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; text-align: left; }
        .footer-grid p { margin: 0.4rem 0 0; color: #c8d3d0; }
        .footer-links { list-style: none; padding: 0; margin: 0; line-height: 2; }
        .footer-links a { color: #c8d3d0; text-decoration: none; }
        .footer-bar { margin-top: 30px; border-top: 1px solid #2b3f3c; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; font-size: 0.8rem; color: #b8c7c4; }
        .footer-note { flex-basis: 100%; font-size: 0.75rem; color: rgba(255,255,255,0.6); text-align: center; }
        .footer-legal { display: flex; gap: 12px; flex-wrap: wrap; }
        .footer-legal a { color: #b8c7c4; text-decoration: none; font-size: 0.8rem; }
        .footer-legal span { color: #5a6b68; }

        footer { background: #0c2f2c; color: #e5f0ee; padding: 4rem 5%; text-align: center; margin-top: 5rem; }
        .hidden { display: none; }

        @media (max-width: 820px) {
            .nav { flex-wrap: wrap; gap: 10px; }
            .nav-toggle { display: block; }
            .nav-links { display: flex; width: 100%; flex-direction: column; align-items: flex-start; gap: 12px; padding: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.25s ease, opacity 0.2s ease, padding 0.2s ease; }
            .nav-links.open { max-height: 400px; opacity: 1; padding: 12px 0; }
            .nav-links a { font-size: 1rem; }
            .nav-auth, .nav-user { width: 100%; }
            .nav-auth a, .nav-user a { width: 100%; text-align: left; }
            .search-container { padding: 20px; margin: -40px auto 30px; grid-template-columns: 1fr; }
            .hero { padding: 4rem 6% 6rem; }
            .hero h1 { font-size: 2.1rem; }
            .hero-sub { font-size: 1rem; }
            .pill-row { justify-content: center; }
            .section { padding: 50px 16px; }
            .section.soft { margin: 0 16px 20px; }
            .results-header { flex-direction: column; align-items: flex-start; }
            .results-actions { width: 100%; justify-content: space-between; }
            .premium-cta { padding: 2rem; }
            .premium-cta .price { font-size: 2rem; }
            .grid-3 { grid-template-columns: 1fr; }
            .profile-grid { grid-template-columns: 1fr; }
            .modal-card { max-width: 100%; }
            .map-controls { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr; gap: 24px; }
            .footer-bar { flex-direction: column; align-items: flex-start; }
        }
