/*
 * theme-light.css
 * Light mode override for Snapshot Slovakia (app pages)
 * Loaded AFTER index.css — activated via body.light-mode class
 */

/* ==========================================================================
   1. DESIGN TOKENS — LIGHT MODE
   ========================================================================== */
body.light-mode {
  --bg-deep-midnight: #f8fafc;
  --surface-1: rgba(255, 255, 255, 0.85);
  --surface-2: rgba(241, 245, 249, 0.95);
  --accent-blue: #1d4ed8;
  --accent-blue-glow: rgba(29, 78, 216, 0.2);
  --accent-red: #dc2626;
  --accent-white: #0f172a;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border-glass: 1px solid rgba(0, 0, 0, 0.08);
  --border-light: 1px solid rgba(0, 0, 0, 0.12);
  --shadow-ambient: 0 4px 24px -4px rgba(0, 0, 0, 0.08);
  --shadow-elevation: 0 14px 32px -14px rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
   2. BODY & BACKGROUND
   ========================================================================== */
body.light-mode {
  background-color: #f5f6f8;
  background-image:
    radial-gradient(circle at top right, rgba(29, 78, 216, 0.18) 0%, transparent 60%),
    radial-gradient(circle at bottom left, rgba(220, 38, 38, 0.12) 0%, transparent 50%);
}

/* ==========================================================================
   3. HEADER
   ========================================================================== */
body.light-mode #nav-logo {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: rgba(0, 0, 0, 0.1);
}
body.light-mode #logo a:hover #nav-logo {
  border-color: rgba(0, 0, 0, 0.25);
}
body.light-mode #logo span {
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   4. MASCOT / THEME TOGGLE BUTTON
   ========================================================================== */
body.light-mode .mascot-toggle {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 0, 0, 0.15);
  color: #64748b;
  opacity: 0.6;
}
body.light-mode .mascot-toggle:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.25);
  color: #475569;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   5. NAVIGATION PILLS
   ========================================================================== */
/* Hlavička má fotku na pozadí aj v light režime, preto navigačné pilulky držíme
   tmavé s bielym textom (ako v dark režime) — biely text by na bielej pilule zmizol.
   Efekt tlačidla (tvar, hover, tieň, blur) ostáva. */
body.light-mode #navigation a {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  backdrop-filter: blur(8px);
}
body.light-mode #navigation a:hover {
  background: rgba(15, 23, 42, 0.7);
  border-top-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* EU Dashboard — light mode overrides */
body.light-mode .eu-disclaimer {
  color: #64748b;
  border-top-color: rgba(0, 0, 0, 0.08);
}
body.light-mode .eu-cat-count.improving { color: #16a34a; }
body.light-mode .eu-cat-count.stable { color: #2563eb; }
body.light-mode .eu-cat-count.worsening { color: #dc2626; }
body.light-mode .eu-indicator-card__delta.delta-positive .delta-value { color: #16a34a; }
body.light-mode .eu-indicator-card__delta.delta-negative .delta-value { color: #dc2626; }
body.light-mode .eu-indicator-card__delta.delta-neutral .delta-value { color: #2563eb; }

/* SK Panel — Regionálna tabuľka light mode */
body.light-mode .sk-region-table {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.08);
}
body.light-mode .sk-region-table__row:not(:last-child) {
  border-bottom-color: rgba(0,0,0,0.06);
}
body.light-mode .sk-region-disparity {
  border-top-color: rgba(0,0,0,0.08);
}

/* ==========================================================================
   5b. SLOVENSKÉ INŠTITÚCIE — LIGHT
   ========================================================================== */
body.light-mode .sk-institutions__inner {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(0,0,0,0.08);
}
body.light-mode .sk-institutions__header:hover {
  background: rgba(0,0,0,0.03);
}
body.light-mode .sk-inst-group__header {
  border-bottom-color: rgba(0,0,0,0.08);
}
body.light-mode .sk-inst-group__count {
  background: rgba(0,0,0,0.06);
  color: var(--text-muted);
}
body.light-mode .sk-inst-card {
  background: rgba(0,0,0,0.02);
  border-color: rgba(0,0,0,0.08);
}
body.light-mode .sk-inst-card:hover {
  background: rgba(29, 78, 216, 0.04);
  border-color: rgba(29, 78, 216, 0.3);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
body.light-mode .sk-inst-card__icon {
  background: rgba(29, 78, 216, 0.08);
}
body.light-mode .sk-inst-link-icon {
  color: #1d4ed8;
}
body.light-mode .sk-inst-card:hover .sk-inst-link-icon {
  color: #2563eb;
}
body.light-mode .sk-inst-card__url {
  color: #1d4ed8;
}

/* ==========================================================================
   6. MAIN CONTENT AREA
   ========================================================================== */
body.light-mode #page_body {
  background: rgba(233, 236, 239, 0.82);
  backdrop-filter: blur(12px);
}

/* EU / SK Panel boxes — match #page_body background */
body.light-mode .eu-panel-box {
  background: rgba(233, 236, 239, 0.82);
  backdrop-filter: blur(12px);
}

/* ==========================================================================
   7. DATA CARDS
   ========================================================================== */
body.light-mode .data-card {
  background: rgba(241, 245, 249, 0.6);
}
body.light-mode .data-card:hover {
  background: rgba(241, 245, 249, 0.9);
  border-color: rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
body.light-mode .footer-links .separator {
  color: rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   9. ERROR & WARNING STATES
   ========================================================================== */
body.light-mode .error-state {
  color: #dc2626;
  background: rgba(220, 38, 38, 0.06);
  border-color: rgba(220, 38, 38, 0.2);
}
body.light-mode .dashboard-warning {
  color: #b45309;
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.25);
}

/* ==========================================================================
   10. DASHBOARD CARDS
   ========================================================================== */
body.light-mode .dashboard-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
body.light-mode .dashboard-card:hover {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
/* highlight-dot farby: ponechané z dark mode (JS renderované) */

/* ==========================================================================
   11. SCORE GAUGE
   ========================================================================== */
body.light-mode .score-gauge__track {
  background: rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   12. SUMMARY PANEL
   ========================================================================== */
body.light-mode .summary-panel {
  background: rgba(241, 245, 249, 0.5);
}
/* strength/pressure/watchpoint farby: ponechané z dark mode */

/* ==========================================================================
   13. INDICATOR CARD
   ========================================================================== */
body.light-mode .indicator-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
body.light-mode .indicator-card:hover {
  border-color: rgba(0, 0, 0, 0.15);
}
body.light-mode .indicator-card.expanded .indicator-card__body {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
/* delta farby: ponechané z dark mode */
body.light-mode .percentile-bar {
  background: rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   14. CHART BUTTON
   ========================================================================== */
body.light-mode .chart-btn {
  border-color: rgba(0, 0, 0, 0.12);
  background: rgba(241, 245, 249, 0.8);
  color: #64748b;
}
body.light-mode .chart-btn:hover {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.3);
  color: #2563eb;
}

/* ==========================================================================
   15. CHART MODAL
   ========================================================================== */
body.light-mode .chart-modal__backdrop {
  background: rgba(0, 0, 0, 0.4);
}
body.light-mode .chart-modal__content {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
}
body.light-mode .chart-modal__header {
  border-bottom-color: #e2e8f0;
}
body.light-mode .chart-modal__title {
  color: #0f172a;
}
body.light-mode .chart-modal__close {
  background: #f1f5f9;
  color: #64748b;
}
body.light-mode .chart-modal__close:hover {
  background: rgba(220, 38, 38, 0.08);
  color: #dc2626;
}
body.light-mode .chart-modal__note {
  color: #64748b;
  border-top-color: #e2e8f0;
}

/* ==========================================================================
   16. AUTHOR STATEMENT
   ========================================================================== */
body.light-mode .author-statement__header:hover {
  background: rgba(0, 0, 0, 0.02);
}
body.light-mode .author-statement__body p {
  color: #475569;
}
body.light-mode .author-statement__body .content-link {
  color: #2563eb;
}
body.light-mode .author-statement__body .content-link:hover {
  color: #1d4ed8;
}
body.light-mode .author-statement__motto {
  border-top-color: rgba(0, 0, 0, 0.06);
  background: rgba(29, 78, 216, 0.04);
}
body.light-mode .author-statement__motto p {
  color: #1d4ed8;
}

/* ==========================================================================
   17. CONTENT PAGE
   ========================================================================== */
body.light-mode .content-toolbar {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(0, 0, 0, 0.08);
}
body.light-mode .content-toolbar__btn {
  background: rgba(241, 245, 249, 0.8);
  border-color: rgba(0, 0, 0, 0.1);
  border-top-color: rgba(255, 255, 255, 0.9);
  color: var(--text-secondary);
}
body.light-mode .content-toolbar__btn:hover {
  background: rgba(226, 232, 240, 0.9);
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--text-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06),
              0 0 0 1px rgba(29, 78, 216, 0.15) inset;
}
body.light-mode .content-category__header {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.08);
}
body.light-mode .content-category__header:hover {
  background: #e2e8f0;
}
body.light-mode .content-category__count {
  background: rgba(0, 0, 0, 0.06);
}
body.light-mode .content-category__topics {
  border-color: rgba(0, 0, 0, 0.08);
}
body.light-mode .content-footer-stats {
  border-top-color: rgba(0, 0, 0, 0.08);
}
body.light-mode .content-topic-card {
  background: rgba(255, 255, 255, 0.8);
  border-bottom-color: rgba(0, 0, 0, 0.04);
}
body.light-mode .content-topic-card:hover {
  background: rgba(29, 78, 216, 0.04);
}
body.light-mode .content-topic-card:hover .content-topic-card__icon {
  color: #2563eb;
}

/* ==========================================================================
   18. CONTENT MODAL
   ========================================================================== */
body.light-mode .content-modal__backdrop {
  background: rgba(0, 0, 0, 0.4);
}
body.light-mode .content-modal__content {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
}
body.light-mode .content-modal__header {
  border-bottom-color: #e2e8f0;
}
body.light-mode .content-modal__title {
  color: #0f172a;
}
body.light-mode .content-modal__close {
  color: #64748b;
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.08);
}
body.light-mode .content-modal__close:hover {
  background: rgba(220, 38, 38, 0.06);
  color: #dc2626;
}
body.light-mode .content-modal__meta {
  border-bottom-color: #e2e8f0;
}
body.light-mode .content-modal__body {
  color: #334155;
}
body.light-mode .content-modal__body h1,
body.light-mode .content-modal__body h2,
body.light-mode .content-modal__body h3,
body.light-mode .content-modal__body strong {
  color: #0f172a;
}
body.light-mode .content-modal__body h3 {
  border-bottom-color: #e2e8f0;
}
body.light-mode .content-modal__body h2 {
  border-bottom-color: #e2e8f0;
}
body.light-mode .content-modal__body h1 {
  border-bottom-color: #e2e8f0;
}
body.light-mode .content-modal__body h4 {
  color: #1d4ed8;
}
body.light-mode .content-modal__body h5 {
  color: #64748b;
}
body.light-mode .content-modal__body em {
  color: #475569;
}
body.light-mode .content-modal__body a {
  color: #2563eb;
}
body.light-mode .content-modal__body a:hover {
  color: #1d4ed8;
}
body.light-mode .content-modal__body hr {
  border-top-color: #e2e8f0;
}
body.light-mode .content-modal__body blockquote {
  border-left-color: rgba(37, 99, 235, 0.3);
  background: rgba(37, 99, 235, 0.04);
}
body.light-mode .content-modal__body blockquote p {
  color: #64748b;
}
body.light-mode .content-modal__body .content-table th {
  background: rgba(29, 78, 216, 0.08);
  color: #1d4ed8;
  border-bottom-color: rgba(37, 99, 235, 0.25);
}
body.light-mode .content-modal__body .content-table td {
  color: #334155;
  border-bottom-color: #e2e8f0;
}
body.light-mode .content-modal__body .content-table tr:hover td {
  background: rgba(241, 245, 249, 0.8);
}
body.light-mode .content-modal__body .content-table tr.highlight-row td {
  background: rgba(37, 99, 235, 0.06);
  border-bottom-color: rgba(37, 99, 235, 0.15);
}
body.light-mode .content-modal__body .table-note {
  color: #64748b;
}
body.light-mode .content-modal__body .text-accent {
  color: #2563eb;
}
body.light-mode .content-modal__body::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12);
}
body.light-mode .content-modal__footer {
  border-top-color: #e2e8f0;
  background: #f8fafc;
}
body.light-mode .content-modal__nav {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.08);
  color: #64748b;
}
body.light-mode .content-modal__nav:hover:not(:disabled) {
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  border-color: rgba(37, 99, 235, 0.2);
}

/* ==========================================================================
   19. COOKIE CONSENT BANNER
   ========================================================================== */
body.light-mode #cookie-consent-banner {
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}
body.light-mode .cookie-banner__text {
  color: #475569;
}
body.light-mode .cookie-banner__link {
  color: #2563eb;
}
body.light-mode .cookie-banner__link:hover {
  color: #1d4ed8;
}
body.light-mode .cookie-banner__btn--accept {
  background: #2563eb;
  color: #ffffff;
}
body.light-mode .cookie-banner__btn--accept:hover {
  background: #1d4ed8;
}
body.light-mode .cookie-banner__btn--reject {
  background: #f1f5f9;
  color: #64748b;
  border-color: rgba(0, 0, 0, 0.1);
}
body.light-mode .cookie-banner__btn--reject:hover {
  background: #e2e8f0;
  color: #334155;
}

/* ==========================================================================
   20. SECTION NAVIGATION (Content carousel)
   ========================================================================== */
body.light-mode .section-nav__arrow {
  background: #f1f5f9;
}
body.light-mode .section-nav__arrow:hover:not(:disabled) {
  background: rgba(29, 78, 216, 0.1);
}
body.light-mode .section-nav__dot {
  border-color: rgba(0, 0, 0, 0.2);
  background: rgba(0, 0, 0, 0.06);
}
body.light-mode .section-nav__dot:hover {
  background: rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   21. WATERMARK / CORNER IMAGE
   ========================================================================== */
body.light-mode .corner-watermark {
  display: none !important;
}

/* ==========================================================================
   22. HEADING TEXT GRADIENT (black → blue, bottom to top)
   ========================================================================== */
body.light-mode #page_body h2,
body.light-mode #overall-trend h2,
body.light-mode .author-statement__heading,
body.light-mode .sk-institutions__heading,
body.light-mode .eu-section-title,
body.light-mode .eu-states-title,
body.light-mode .state-card__name {
  background: linear-gradient(to top, #0f172a 0%, #0f172a 40%, #1d4ed8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
body.light-mode #logo span {
  /* Hlavný nápis „Slovakia Data" je na TMAVOM obrázku navigácie (rovnaký v oboch
     režimoch), preto ho držíme bielo-strieborný ako v dark režime — identický vzhľad.
     Týka sa VÝHRADNE tohto nadpisu; ostatné nadpisy v light režime ostávajú tmavé. */
  background: linear-gradient(to top, #9ca3af 0%, #d0d5db 40%, #f8fafc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   23. LIGHT PARITY DOPLNKY (2026-06-09) — CRZ modal, KPI pás, karusel, nav
   ========================================================================== */

/* ── CRZ modal (Obstarávanie) ── */
body.light-mode .crz-modal__tabs {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}
body.light-mode .crz-tab {
  background: #f1f5f9;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #475569;
}
body.light-mode .crz-tab:hover {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.3);
}
body.light-mode .crz-tab.active {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
  border-color: rgba(37, 99, 235, 0.45);
}
body.light-mode .crz-tab--alt {
  background: rgba(180, 83, 9, 0.06);
  border-color: rgba(180, 83, 9, 0.3);
  color: #b45309;
}
body.light-mode .crz-tab--alt.active {
  background: rgba(180, 83, 9, 0.14);
  border-color: rgba(180, 83, 9, 0.5);
  color: #92400e;
}
body.light-mode .crz-search__field {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
}
body.light-mode .crz-search__clear {
  background: rgba(0, 0, 0, 0.06);
  color: #64748b;
}
body.light-mode .crz-row {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 0, 0, 0.08);
}
body.light-mode .crz-row:hover {
  background: rgba(37, 99, 235, 0.05);
  border-color: rgba(37, 99, 235, 0.25);
}
body.light-mode .crz-bucket-row {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.06);
}
body.light-mode .crz-nav {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.1);
  color: #475569;
}

/* ── KPI kontrolky (Celkový Vývoj) ── */
body.light-mode .kpi-strip {
  border-top-color: rgba(0, 0, 0, 0.08);
}
body.light-mode .kpi-item {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 0, 0, 0.08);
}
body.light-mode .kpi-item:hover {
  background: rgba(37, 99, 235, 0.05);
  border-color: rgba(37, 99, 235, 0.3);
}
body.light-mode .kpi-item__number {
  background: linear-gradient(to top, #1d4ed8 0%, #0f172a 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Aktívna stránka v navigácii ── */
body.light-mode #navigation a.nav-active {
  color: #ffffff;
  background: rgba(37, 99, 235, 0.55);
  border-color: rgba(37, 99, 235, 0.7);
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.25);
}

/* ── Slide karusel (AI Výskum) ── */
body.light-mode .slide-item {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
body.light-mode .slide-item.is-active {
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.18);
}
body.light-mode .slide-carousel__counter {
  background: rgba(255, 255, 255, 0.85);
  color: #475569;
}

/* ── Footer pills ── */
body.light-mode .footer-links a:hover {
  border-color: rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.04);
}

/* ── SK Regional rámiky (light) ── */
body.light-mode .sr-indicator-card {
  border-color: rgba(37, 99, 235, 0.25);
  background: rgba(37, 99, 235, 0.03);
}
body.light-mode .sr-indicator-card:hover {
  border-color: rgba(37, 99, 235, 0.45);
}
body.light-mode [data-page="sk-regional"] .eu-hero-card {
  border-color: rgba(37, 99, 235, 0.25);
}
body.light-mode [data-page="sk-regional"] .eu-category-section {
  border-color: rgba(37, 99, 235, 0.18);
}

/* ── Eurofondy info karta (light) ── */
body.light-mode .euf-info__row { border-bottom-color: rgba(0,0,0,0.07); }
body.light-mode .euf-info__row--net strong {
  background: linear-gradient(to top, #1d4ed8 0%, #2563eb 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ── Štátna správa karty (light) ── */
body.light-mode .ps-stat--wage strong {
  background: linear-gradient(to top, #b45309 0%, #d97706 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
body.light-mode .ps-dots .ot-dots__dot { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.12); }
body.light-mode .ps-dots .ot-dots__dot.active { background: rgba(37,99,235,0.1); border-color: rgba(37,99,235,0.4); }

/* ── Rozloženie obyvateľstva (light) ── */
body.light-mode .pop-row { border-bottom-color: rgba(0,0,0,0.06); }
body.light-mode .pop-row__bar-wrap { background: rgba(0,0,0,0.05); }
body.light-mode .pop-row--work .pop-row__value { color: #b45309; }
body.light-mode .pop-caveats { border-top-color: rgba(0,0,0,0.08); }

/* ══ Mapa regiónov — light parity ══ */
body.light-mode .sr-map__metric-btn { background: rgba(11, 78, 162, 0.05); border-color: rgba(11, 78, 162, 0.2); }
body.light-mode .sr-map__metric-btn.active { color: #fff; background: rgba(11, 78, 162, 0.75); border-color: rgba(11, 78, 162, 0.8); }
body.light-mode .sr-map__map-wrap {
  border-color: rgba(11, 78, 162, 0.15);
  background: radial-gradient(120% 100% at 20% 0%, rgba(11, 78, 162, 0.08), transparent 60%), rgba(11, 78, 162, 0.02);
}
body.light-mode .sr-map__city { fill: rgba(15, 23, 42, 0.8); stroke: rgba(255, 255, 255, 0.85); }
body.light-mode .sr-map__citylabel { fill: rgba(30, 41, 59, 0.9); stroke: rgba(255, 255, 255, 0.75); }
body.light-mode .sr-map__legend-bar { border-color: rgba(11, 78, 162, 0.2); }
body.light-mode .sr-map__tooltip { background: rgba(255, 255, 255, 0.97); border-color: rgba(11, 78, 162, 0.25); color: #1e293b; box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18); }
body.light-mode .sr-map__back { border-color: rgba(15, 23, 42, 0.2); }
body.light-mode .sr-map__delta.pos { color: #16a34a; }
body.light-mode .sr-map__delta.neg { color: #dc2626; }

/* ==========================================================================
   VYHĽADÁVANIE — light režim (panel na hlavnej stránke)
   ========================================================================== */
body.light-mode .search-panel__input {
  color: var(--text-primary);
  background: rgba(15, 23, 42, 0.03);
  border-color: rgba(15, 23, 42, 0.16);
}
body.light-mode .search-panel__input:focus {
  border-color: rgba(37, 99, 235, 0.55);
  background: rgba(37, 99, 235, 0.05);
}
body.light-mode .search-results {
  background: #ffffff; /* plne nepriehľadné — čitateľnosť malých textov */
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
}
body.light-mode .search-result:hover,
body.light-mode .search-result:focus { background: rgba(37, 99, 235, 0.08); }
body.light-mode .search-result__badge--page { background: rgba(37, 99, 235, 0.12); color: #1d4ed8; }
body.light-mode .search-result__badge--cat  { background: rgba(217, 119, 6, 0.14); color: #b45309; }
body.light-mode .search-result__badge--ind  { background: rgba(5, 150, 105, 0.12); color: #047857; }
body.light-mode .search-result__label mark { background: rgba(217, 119, 6, 0.25); }

/* Deep-link flash + badge „Okno" — light režim */
body.light-mode .search-result__badge--win { background: rgba(147, 51, 234, 0.12); color: #7e22ce; }
