:root {
  --paho-blue: #0072bc;
  --paho-deep: #003b5c;
  --paho-sky: #e8f5fb;
  --paho-orange: #c84f18;
  --ink: #17324d;
  --muted: #64748b;
  --line: #d8e2ea;
  --surface: #ffffff;
  --background: #f4f7f9;
  --sidebar-width: 250px;
  --header-height: 112px;
}

* { box-sizing: border-box; }
html, body, #react-entry-point { margin: 0; min-height: 100%; background: var(--background); }
body { color: var(--ink); font-family: "Arial", "Helvetica Neue", sans-serif; }
a { text-decoration: none; }

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-height);
  display: grid;
  grid-template-columns: auto 170px minmax(0, 1fr) 220px;
  align-items: center;
  gap: 18px;
  padding: 14px 24px;
  color: #fff;
  background: linear-gradient(110deg, var(--paho-deep), var(--paho-blue));
  border-left: 14px solid var(--paho-orange);
  box-shadow: 0 3px 16px rgba(0, 45, 74, .22);
}

.menu-toggle {
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 23px;
  width: 44px;
  height: 44px;
  cursor: pointer;
}
.menu-toggle:hover { background: rgba(255,255,255,.16); }
.header-logo { width: 155px; max-height: 76px; object-fit: contain; filter: brightness(0) invert(1); }
.header-copy { min-width: 0; }
.header-kicker { font-size: 12px; font-weight: 700; letter-spacing: .12em; opacity: .82; }
.header-title { margin-top: 4px; font-size: clamp(22px, 2.1vw, 34px); font-weight: 700; line-height: 1.08; }
.header-subtitle { margin-top: 5px; font-size: 13px; opacity: .88; }
.language-box label { display: block; margin-bottom: 5px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.language-box .Select-control { min-height: 38px; border: none; }
.language-box .Select-value-label { color: var(--ink) !important; }
.language-box .Select-menu-outer {
  z-index: 1300;
  color: var(--ink);
  background: #fff;
}
.language-box .Select-option { color: var(--ink); background: #fff; }
.language-box .Select-option.is-focused { color: var(--ink); background: #dfeef8; }
.language-box .Select-option.is-selected { color: var(--paho-deep); background: #cfe6f5; font-weight: 700; }

.sidebar {
  position: fixed;
  z-index: 900;
  top: var(--header-height);
  left: 0;
  bottom: 0;
  width: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-right: 1px solid var(--line);
  box-shadow: 5px 0 18px rgba(37, 67, 89, .07);
  transition: transform .25s ease;
}
.sidebar.collapsed { transform: translateX(calc(-1 * var(--sidebar-width))); }
.sidebar-nav { padding: 18px 0; overflow-y: auto; }
.nav-item {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  min-height: 58px;
  padding: 8px 18px;
  color: #334155;
  border-left: 5px solid transparent;
  transition: .15s ease;
}
.nav-item:hover { color: var(--paho-blue); background: var(--paho-sky); }
.nav-item.active { color: var(--paho-deep); font-weight: 700; background: #fff3ea; border-left-color: var(--paho-orange); }
.nav-index { font-size: 12px; font-weight: 700; color: #94a3b8; }
.nav-label { line-height: 1.25; }
.sidebar-footer { margin-top: auto; padding: 18px 22px; color: var(--muted); font-size: 12px; border-top: 1px solid var(--line); }

.page-content {
  min-height: 100vh;
  margin-left: var(--sidebar-width);
  padding: calc(var(--header-height) + 28px) 30px 42px;
  transition: margin-left .25s ease;
}
.page-intro { margin: 0 0 20px; padding: 20px 24px; background: #fff; border-left: 6px solid var(--paho-blue); border-radius: 0 12px 12px 0; box-shadow: 0 3px 14px rgba(37, 67, 89, .08); }
.page-intro h1 { margin: 0 0 8px; color: var(--paho-deep); font-size: 25px; }
.page-intro p { max-width: 1100px; margin: 0; color: #475569; line-height: 1.52; }

.filter-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; padding: 12px 14px; background: var(--paho-blue); border-radius: 12px; box-shadow: 0 4px 14px rgba(0, 90, 150, .16); }
.filter-grid-6 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.filter-grid-6 .filter-field-region,
.filter-grid-6 .filter-field-country,
.filter-grid-6 .filter-field-analysis-level,
.filter-grid-6 .filter-field-border { grid-column: span 3; }
.filter-grid-6 .filter-field-vaccine,
.filter-grid-6 .filter-field-pair { grid-column: span 9; }
.filter-grid-6 .filter-field-year { grid-column: span 3; }
/* Panel 3: ampliar Esquema de vacunación */
.filter-grid-4 {
  grid-template-columns:
    minmax(220px, 1fr)
    minmax(220px, 1fr)
    minmax(380px, 1.55fr)
    minmax(170px, 0.75fr);
}
.filter-field { min-width: 0; }
.filter-field label { display: flex; align-items: flex-end; min-height: 28px; margin: 0 0 6px; color: #fff; font-size: 11px; font-weight: 700; line-height: 1.25; letter-spacing: .04em; text-transform: uppercase; }
.filter-dropdown .Select-control { min-height: 36px; height: 36px; border: 0; border-radius: 7px; }
.filter-dropdown .Select-placeholder, .filter-dropdown .Select-value, .filter-dropdown .Select-input { line-height: 36px !important; height: 36px; }
.filter-dropdown .Select-input > input { padding-top: 7px; }
.filter-dropdown .Select-value-label {
  color: var(--ink) !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
}
.filter-dropdown .Select-value { font-size: 11px !important; }
.filter-dropdown .Select-value {
  max-width: calc(100% - 34px);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.filter-dropdown .Select-menu-outer { z-index: 1250; }
.filter-dropdown .Select-menu { max-height: 300px; }
.filter-dropdown .Select-option {
  min-height: 36px;
  padding: 8px 10px;
  color: var(--ink);
  background: #fff;
  font-size: 8px;
  line-height: 1.28;
  white-space: normal;
}
.filter-dropdown .Select-option.is-focused { background: #e3f1fa; }
.filter-dropdown .Select-option.is-selected { color: var(--paho-deep); background: #d5eafb; font-weight: 700; }

.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 14px; margin-bottom: 14px; }
.kpi-grid-3 { grid-template-columns: repeat(3, minmax(180px, 1fr)); }
.kpi-card { min-height: 164px; padding: 14px 16px 17px; background: linear-gradient(145deg, #fff, #eef8fd); border: 1px solid #d8eaf4; border-left: 6px solid var(--paho-blue); border-radius: 13px; box-shadow: 0 4px 15px rgba(37, 67, 89, .07); }
.kpi-label-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; cursor: help; }
.kpi-label { color: #52697c; font-size: 11px; font-weight: 700; letter-spacing: .035em; text-transform: uppercase; }
.kpi-value { margin-top: 8px; color: var(--paho-deep); font-size: 29px; font-weight: 800; line-height: 1; }
#zero-dose-kpi-top, #undervaccinated-kpi-top { font-size: 16px; line-height: 1.25; overflow-wrap: anywhere; }
.kpi-note { margin-top: 8px; color: var(--muted); font-size: 11px; }

.action-row { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 9px; margin: 8px 0 14px; }
.action-row .btn { border-radius: 7px; font-size: 13px; font-weight: 700; }
.btn-primary { background: var(--paho-blue); border-color: var(--paho-blue); }
.btn-outline-primary { color: var(--paho-blue); border-color: var(--paho-blue); }

.map-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.map-panel, .side-panel, .spatial-card { background: #fff; border: 1px solid var(--line); border-radius: 13px; box-shadow: 0 4px 16px rgba(37, 67, 89, .08); }
.map-panel { overflow: hidden; }
.map-shell { position: relative; width: 100%; min-height: 620px; background: #eef3f6; }
.dashboard-map { width: 100%; height: 760px; min-height: 520px; }
.spatial-reading-line { display: flex; align-items: baseline; gap: 0.5rem; }
.spatial-reading-line .summary-dot { flex-shrink: 0; }
.map-home-button {
  position: absolute;
  z-index: 650;
  top: 82px;
  left: 10px;
  width: 34px;
  height: 34px;
  padding: 0;
  color: #17324d;
  background: #fff;
  border: 2px solid rgba(0,0,0,.2);
  border-radius: 4px;
  box-shadow: 0 1px 5px rgba(0,0,0,.18);
  font-size: 22px;
  line-height: 28px;
  cursor: pointer;
}
.map-home-button:hover { color: var(--paho-blue); background: #f4f9fc; }
.boundary-note { margin: 0; padding: 11px 15px; color: #607386; font-size: 11px; line-height: 1.4; border-top: 1px solid var(--line); }
.side-panel { position: sticky; top: calc(var(--header-height) + 18px); padding: 18px; }
.panel-title { margin: 0 0 14px; color: var(--paho-deep); font-size: 18px; }
.legend-row, .summary-row { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; align-items: center; gap: 9px; min-height: 31px; color: #334155; font-size: 13px; }
.legend-row { grid-template-columns: 16px minmax(0, 1fr); }
.legend-swatch { width: 15px; height: 15px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.summary-dot { width: 14px; height: 14px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.summary-label { line-height: 1.25; }
.summary-detail { grid-column: 2 / 4; margin: -4px 0 5px; color: #64748b; font-size: 11px; line-height: 1.25; }
.side-panel hr { border-color: var(--line); opacity: 1; }
.summary-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 9px; margin-bottom: 10px; }
.summary-title { color: #005b96; font-size: 14px; font-weight: 800; line-height: 1.35; cursor: help; }
.selected-indicator-title {
  margin: 0 0 13px;
  padding: 10px 11px;
  color: #fff;
  background: var(--paho-deep);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}
.kpi-indicator-title,
.decision-indicator-title,
.summary-indicator-title {
  min-height: 34px;
  display: flex;
  align-items: center;
  margin-bottom: 11px;
  padding: 7px 9px;
  font-size: 11px;
}
.decision-indicator-title { min-height: 46px; }
.spatial-kpi-indicator { margin-top: 2px; }

.spatial-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.spatial-card { display: flex; min-width: 0; padding: 16px; flex-direction: column; }
.spatial-card h2 { margin: 2px 0 10px; color: var(--paho-deep); font-size: 20px; }
.spatial-title-row { display: flex; align-items: center; justify-content: center; gap: 8px; }
.spatial-title-row h2 { margin-bottom: 8px; text-align: center; }
.info-icon { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-top: -2px; color: #fff; background: var(--paho-blue); border-radius: 50%; font-size: 14px; font-weight: 800; cursor: help; }
.info-icon-small { flex: 0 0 19px; width: 19px; height: 19px; margin-top: -3px; font-size: 11px; }
.method-tooltip .tooltip-inner { max-width: 390px; padding: 12px 14px; color: var(--ink); background: #fff; border: 1px solid var(--line); box-shadow: 0 5px 18px rgba(0, 59, 92, .2); text-align: left; line-height: 1.45; }
.indicator-tooltip .tooltip-inner { max-width: 370px; padding: 12px 14px; color: var(--ink); background: #fff; border: 1px solid #d7dee8; border-radius: 8px; box-shadow: 0 5px 18px rgba(0, 59, 92, .2); text-align: left; font-size: 13px; line-height: 1.45; }
.tooltip-intro { margin: 0 0 8px; }
.tooltip-class-row { display: flex; align-items: center; gap: 8px; margin: 4px 0; }
.tooltip-class-row .legend-swatch { flex: 0 0 12px; width: 12px; height: 12px; border-radius: 1px; }
.indicator-tooltip.bs-tooltip-top .tooltip-arrow::before, .method-tooltip.bs-tooltip-top .tooltip-arrow::before { border-top-color: #fff; }
.spatial-summary-top { min-height: 205px; margin: 4px 0 12px; padding: 10px; background: #f7fbfd; border: 1px solid #d8eaf4; border-radius: 10px; }
.spatial-summary-heading { justify-content: center; margin-top: 5px; }
.spatial-indicator-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.spatial-indicator { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; align-items: center; gap: 7px; min-height: 42px; padding: 7px 8px; background: #fff; border: 1px solid #e3edf3; border-radius: 7px; color: #334155; font-size: 12px; }
.spatial-card .dashboard-map { height: 520px; min-height: 460px; }
.spatial-card .map-shell { min-height: 520px; }
.spatial-card .side-panel { position: static; margin-top: 14px; box-shadow: none; }
.boundary-note-spatial { margin-top: 0; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 8px 8px; }
.visible-guidance { padding: 12px 15px; color: #62430f; background: #fff8db; border-left: 4px solid #f5b400; border-radius: 5px; }

.map-tooltip { min-width: 170px; font: 12px/1.45 Arial, sans-serif; color: #1f3345; }
.map-tooltip strong { display: block; margin-bottom: 4px; color: var(--paho-deep); font-size: 13px; }
.map-tooltip span { font-weight: 700; }

.map-export-legend-overlay {
  position: absolute;
  z-index: 10000;
  top: 10px;
  right: 10px;
  width: min(218px, calc(100% - 20px));
  max-height: calc(100% - 20px);
  overflow: hidden;
  padding: 9px 10px;
  color: var(--ink);
  background: rgba(255,255,255,.97);
  border: 1px solid #cbd7e0;
  border-radius: 9px;
  box-shadow: 0 4px 16px rgba(0, 45, 74, .18);
}
.map-export-legend-overlay .panel-title { margin-bottom: 6px; font-size: 12px; }
.map-export-legend-overlay .legend-row { min-height: 20px; gap: 6px; font-size: 9px; line-height: 1.15; }
.map-export-legend-overlay .legend-swatch { width: 11px; height: 11px; border-radius: 2px; }
.map-export-legend-overlay .selected-indicator-title { margin-bottom: 6px; padding: 5px 6px; font-size: 9px; }
.map-export-legend-overlay .bivariate-legend-grid { gap: 2px; }
.map-export-legend-overlay .bivariate-cell { min-height: 28px; padding: 2px; font-size: 6px; }

.bivariate-side-panel { min-width: 0; }
.bivariate-matrix-wrap { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 6px; align-items: stretch; }
.bivariate-y-level-key { display: grid; grid-template-rows: repeat(3, 1fr); color: #64748b; font-size: 9px; text-align: right; }
.bivariate-y-level-key span { display: flex; align-items: center; justify-content: flex-end; }
.bivariate-legend-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.bivariate-cell {
  display: grid;
  min-height: 62px;
  place-items: center;
  padding: 5px;
  color: #1f3345;
  border-radius: 5px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}
.bivariate-axis-label { color: var(--paho-deep); font-size: 11px; font-weight: 800; }
.bivariate-axis-y { margin: 0 0 6px; }
.bivariate-axis-x { margin: 7px 0 4px; text-align: center; }
.bivariate-level-key { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 8px; color: #64748b; font-size: 9px; text-align: center; }
.legend-note, .bivariate-cuts { color: #52697c; font-size: 11px; line-height: 1.4; }
.bivariate-cuts { margin-top: 7px; font-weight: 700; }

.decision-matrix { margin-top: 18px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 13px; box-shadow: 0 4px 16px rgba(37,67,89,.08); }
.decision-matrix h2 { margin: 0 0 7px; color: var(--paho-deep); font-size: 20px; }
.decision-matrix > p { margin: 0 0 14px; color: #52697c; }
.decision-matrix-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.decision-card { min-height: 132px; padding: 14px; border-radius: 9px; border-top: 5px solid; }
.decision-card strong { color: var(--paho-deep); }
.decision-card p { margin: 8px 0 0; color: #475569; font-size: 12px; line-height: 1.45; }
.decision-count { margin-top: 8px; color: var(--paho-deep); font-size: 28px; font-weight: 800; line-height: 1; }
.decision-unit-value { font-size: 28px; font-weight: 800; }
.decision-population-value { margin-top: 7px; color: #475569; font-size: 11px; font-weight: 700; line-height: 1.3; }
.decision-matrix-note { margin: 12px 0 0 !important; font-size: 12px; font-weight: 700; }
.decision-good { background: #eaf7ef; border-color: #38a169; }
.decision-yellow { background: #fff9d9; border-color: #e6c229; }
.decision-orange { background: #fff0df; border-color: #f28e2b; }
.decision-danger { background: #fdebec; border-color: #c53030; }
.decision-map-block { margin-top: 18px; }
.decision-map-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 18px;
  align-items: center;
  margin-bottom: 10px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: 0 4px 16px rgba(37,67,89,.08);
}
.decision-map-heading h2 { margin: 0; color: var(--paho-deep); font-size: 20px; }
.decision-map-heading p { grid-column: 1; margin: 0; color: #52697c; }
.decision-map-heading .btn { grid-column: 2; grid-row: 1 / 3; }
.interpretation-title { margin: 0 0 6px; color: var(--paho-deep); font-size: 13px; font-weight: 800; }
.bivariate-interpretation { margin: 8px 0 0; padding: 9px 10px; background: #eef7fc; border-left: 4px solid var(--paho-blue); color: #334155; font-size: 11px; line-height: 1.45; }
.analysis-section {
  margin-top: 20px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: 0 4px 16px rgba(37,67,89,.08);
}
.analysis-section + .analysis-section { margin-top: 30px; }
.analysis-section > h2 { margin: 0 0 7px; color: var(--paho-deep); font-size: 23px; }
.analysis-section > p { margin: 0 0 16px; color: #52697c; line-height: 1.5; }
.analysis-section .decision-matrix { box-shadow: none; }
.analysis-section-programmatic .filter-grid {
  grid-template-columns: minmax(190px, .85fr) minmax(230px, 1fr) minmax(410px, 1.7fr) minmax(170px, .7fr);
}
.dose-status-block { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.dose-status-block > h2 { margin: 0 0 6px; color: var(--paho-deep); font-size: 22px; }
.dose-status-block > p { margin: 0 0 14px; color: #52697c; }
.dose-status-block .summary-row { font-size: 13px; }
.dose-status-block .summary-detail { font-size: 12px; }

.faq-accordion .accordion-item { margin-bottom: 10px; border: 1px solid var(--line); border-radius: 9px !important; overflow: hidden; }
.faq-accordion .accordion-button { color: var(--paho-deep); font-weight: 700; }
.faq-markdown { color: #334155; line-height: 1.55; }
.document-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.document-links a { padding: 10px 14px; color: #fff; background: var(--paho-blue); border-radius: 7px; font-weight: 700; }
.document-links .main-dashboard-link { background: #00558c; box-shadow: 0 3px 10px rgba(0, 85, 140, .22); }

.app-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: center;
  min-height: 168px;
  margin-left: var(--sidebar-width);
  padding: 22px 28px;
  color: #fff;
  background: #0788c7;
  border-top: 4px solid rgba(255,255,255,.2);
}
.footer-copy { font-size: 12px; line-height: 1.45; }
.footer-period { margin: 0 0 5px; font-weight: 700; }
.footer-copy ul { margin: 5px 0 8px; padding-left: 22px; }
.footer-note { margin: 0; font-style: italic; }
.footer-brand { min-height: 118px; padding-left: 26px; border-left: 2px solid rgba(255,255,255,.78); }
.footer-logo { display: block; width: 180px; height: 76px; object-fit: contain; object-position: left center; filter: brightness(0) invert(1); }
.footer-version { margin-top: 7px; font-size: 12px; }

@media (max-width: 1180px) {
  .filter-grid { grid-template-columns: repeat(3, minmax(145px, 1fr)); }
  .analysis-section-programmatic .filter-grid { grid-template-columns: repeat(2, minmax(240px, 1fr)); }
  .map-grid { grid-template-columns: 1fr; }
  .side-panel { position: static; }
  .spatial-grid { grid-template-columns: 1fr; }
  .decision-matrix-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  :root { --header-height: 108px; }
  .topbar { grid-template-columns: auto 88px minmax(0,1fr) 118px; gap: 9px; padding: 9px 11px; border-left-width: 7px; }
  .header-logo { width: 88px; }
  .header-kicker, .header-subtitle { display: none; }
  .header-title { font-size: 18px; }
  .language-box label { margin-bottom: 3px; font-size: 9px; }
  .language-box .Select-control { min-height: 34px; height: 34px; }
  .language-box .Select-placeholder, .language-box .Select-value, .language-box .Select-input { height: 34px; line-height: 34px !important; }
  .sidebar { transform: translateX(calc(-1 * var(--sidebar-width))); }
  .sidebar:not(.collapsed) { transform: translateX(0); }
  .page-content { margin-left: 0; padding: calc(var(--header-height) + 18px) 13px 28px; }
  .app-footer { grid-template-columns: 1fr; margin-left: 0; padding: 20px; }
  .footer-brand { min-height: 95px; padding: 14px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.6); }
  .filter-grid, .filter-grid-6 { grid-template-columns: 1fr 1fr; }
  .filter-grid-6 .filter-field-region,
  .filter-grid-6 .filter-field-country,
  .filter-grid-6 .filter-field-analysis-level,
  .filter-grid-6 .filter-field-border,
  .filter-grid-6 .filter-field-vaccine,
  .filter-grid-6 .filter-field-pair,
  .filter-grid-6 .filter-field-year { grid-column: auto; }
  .kpi-grid, .kpi-grid-3 { grid-template-columns: 1fr 1fr; }
  .dashboard-map, .map-shell { min-height: 500px; height: 500px; }
  .decision-map-heading { grid-template-columns: 1fr; }
  .decision-map-heading .btn { grid-column: 1; grid-row: auto; justify-self: start; }
}

@media (max-width: 520px) {
  :root { --header-height: 146px; }
  .topbar { grid-template-columns: auto 72px minmax(0,1fr); grid-template-rows: 76px 46px; }
  .header-logo { width: 70px; }
  .header-title { font-size: 15px; }
  .language-box { grid-column: 2 / 4; width: 100%; }
  .filter-grid, .filter-grid-6, .kpi-grid, .kpi-grid-3 { grid-template-columns: 1fr; }
  .analysis-section-programmatic .filter-grid { grid-template-columns: 1fr; }
  .page-intro { padding: 17px; }
  .page-intro h1 { font-size: 21px; }
  .action-row { justify-content: stretch; }
  .action-row .btn { flex: 1 1 100%; }
  .dashboard-map, .map-shell { min-height: 440px; height: 440px; }
  .decision-matrix-grid { grid-template-columns: 1fr; }
}

/* Tamaño del texto dentro de las listas desplegables */
.filter-dropdown .VirtualizedSelectOption {
  font-size: 12px !important;
  line-height: 14px !important;
  font-weight: 400 !important;
  padding: 5px 10px !important;
  white-space: normal !important;
}

/* Mantener visible el texto de los filtros desplegables */
.Select-menu-outer,
.Select-option,
.VirtualizedSelectOption {
  color: #243b53 !important;
  background-color: #ffffff !important;
}

.Select-option.is-focused,
.VirtualizedSelectFocusedOption {
  color: #003b5c !important;
  background-color: #eef6fb !important;
}

.Select-value-label,
.Select-placeholder,
.Select-input > input {
  color: #243b53 !important;
}
