#map { height: 90vh; }
    #controls { padding: 10px; }
    .info.legend {
  background: white;
  padding: 8px;
  line-height: 1.4em;
  color: #333;
  box-shadow: 0 0 6px rgba(0,0,0,0.2);
  border-radius: 4px;
  font: 12px sans-serif;
}
    .leaflet-control-layers.leaflet-control {
      border: 1px;
      padding: 8px;
      box-shadow: 0 0 6px rgba(0,0,0,0.2) !important;
    }


         #resultado {
    background: #fdfcfb;
    border-radius: 20px;
    padding: 1.5rem;
    margin-top: 1rem;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
    font-family: 'Inter', sans-serif;
  }
  .svgame text{
    font-size:10px
  }
  .g_legend text { 
    font-size:8px
  }
  #resultado h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
  }

  #resultado p {
    background: #fff;
    border-left: 6px solid transparent;
    border-bottom: 1px solid #f2f2f2;
    border-radius: 12px;
    padding: 1rem 1.2rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
  }
.selectors { text-align: center; margin-bottom: 15px; }
  .viz_tooltip { position: absolute; background: rgba(0,0,0,0.8); color: white; padding: 6px 10px; border-radius: 6px; font-size: 13px; pointer-events: none; opacity: 0; transition: opacity 0.2s ease; }
 .tooltip-title { font-weight: bold; color: #ffd23f; }
  .legend { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
  .legend-item { display: flex; align-items: center; gap: 4px; font-size: 13px; }
  .legend-color { width: 14px; height: 14px; border-radius: 3px; }

  #resultado p:nth-child(1) { border-left-color: #e53e3e; }
  #resultado p:nth-child(2) { border-left-color: #ed8936; }
  #resultado p:nth-child(3) { border-left-color: #fee422ff; }

  #resultado p strong {
    color: #1a202c;
  }

  #resultado small {
    display: block;
    text-align: right;
    color: #666;
    font-size: 0.8rem;
    margin-top: 1rem;
  }

  #resultado em {
    display: block;
    background: #f0f4f8;
    padding: 0.8rem;
    border-radius: 10px;
    font-style: normal;
    color: #2d3748;
    font-size: 0.9rem;
  }

  .highlight-causa {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    display: inline-block;
  }

  .tasa-chip {
    background: #2b6cb0;
    color: white;
    font-size: 0.9rem;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    margin-left: 0.3rem;
  }