/* Alturas fijas por CSS "normal" (no Tailwind) para que el mapa y el gráfico
   tengan tamaño desde el primer instante, sin depender de que el CDN de
   Tailwind termine de inyectar sus clases utilitarias de forma asíncrona. */
#map {
  width: 100%;
  height: 460px;
}
#chart-wrap {
  width: 100%;
  height: 220px;
}
@media (max-width: 768px) {
  #map {
    height: 380px;
  }
}

.map-touch-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(28, 25, 23, 0.18);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
  z-index: 500;
  cursor: pointer;
  border-radius: 12px;
}

.poi-marker {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  border: 2px solid white;
}

.runner-marker {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  border: 3px solid white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

tr.row-slowest {
  background-color: #fee2e2;
}
tr.row-fastest {
  background-color: #dcfce7;
}
tr.row-poi td {
  font-weight: 600;
  background-color: #eff6ff;
}
