/* hexart.css — el TOOLTIP DEL HEX (sesión BUILD/UI-HEX-ART · Atlas MX).
 *
 * Aquí no se cambia el mapa: sólo se da forma a la tarjeta flotante que
 * aparece sobre el hex al pasar el mouse (o al tocarlo). El resto del estilo
 * del producto —topbar, finder, drawer, cards, panel— lo sigue mandando
 * index.html y sus propias hojas.
 *
 * El tooltip declara: tipo de terreno · área de la celda · municipio ·
 * elevación · valor de la lente activa · la fórmula del área · y el aviso
 * de que al hacer clic se abre la ficha.
 */

#tip.hexart {
  white-space: normal;
  max-width: 286px;
  line-height: 1.45;
  padding: 9px 11px 8px;
  border-radius: 7px;
  background: rgba(5, 18, 26, 0.97);
  border: 1px solid var(--accent-bord);
  box-shadow: 0 8px 22px rgba(5, 18, 26, 0.55);
  z-index: 22;
}

#tip.hexart .ht-tipo {
  font-family: "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--accent);
  letter-spacing: 0.01em;
}

#tip.hexart .ht-mun {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-hi);
  margin-top: 1px;
}

#tip.hexart .ht-filas {
  margin-top: 6px;
  padding-top: 5px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#tip.hexart .ht-fila {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 10.5px;
  color: var(--text-low);
}

#tip.hexart .ht-fila b {
  color: var(--text-hi);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

#tip.hexart .ht-unidad {
  font-size: 9.5px;
  color: #6F8E98;
  margin-top: 1px;
}

#tip.hexart .ht-formula {
  font-size: 9.5px;
  line-height: 1.4;
  color: #A9C4CC;
  margin-top: 6px;
  border-left: 2px solid var(--accent-bord);
  padding-left: 6px;
}

#tip.hexart .ht-go {
  margin-top: 7px;
  font-size: 9.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-2);
}

/* el teléfono (390): la tarjeta se hace más estrecha y más corta para no
   romper el layout ni tapar el hex con el dedo. */
@media (max-width: 700px) {
  #tip.hexart {
    max-width: 208px;
    padding: 7px 9px 6px;
  }
  #tip.hexart .ht-tipo { font-size: 11.5px; }
  #tip.hexart .ht-fila { font-size: 10px; }
  #tip.hexart .ht-formula { font-size: 9px; }
}
