/* Historial EDS bajo placa — una fila por tramo (cronológico).
   Columnas fijas: nº | bomba | nombre | duración → iconos en una sola vertical. */
.placa-eds-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  margin-top: 3px;
  width: 100%;
  max-width: 118px;
}

.placa-eds {
  --eds-accent: #ffb300;
  display: grid;
  grid-template-columns: 1.15em 0.85em minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 3px;
  width: 100%;
  max-width: 100%;
  font-size: 9px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  color: var(--eds-accent);
  white-space: nowrap;
  user-select: none;
  text-align: left;
}

.placa-eds > i.fa-gas-pump {
  font-size: 9px;
  line-height: 1;
  width: 0.85em;
  text-align: center;
  justify-self: center;
}

/* Número en columna fija (derecha) para que la bomba quede alineada */
.placa-eds-n {
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
  width: 100%;
  text-align: right;
  opacity: 0.9;
}

.placa-eds-nom.js-auto-marquee,
.placa-eds-nom--static {
  display: block;
  min-width: 0;
  max-width: none;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 600;
  opacity: 0.92;
  padding-left: 0.35em; /* aire entre bomba y nombre */
}

/* Cerrada: corte limpio con … (no mitad de letra) */
.placa-eds-nom--static {
  text-overflow: ellipsis;
}

.placa-eds-dur {
  letter-spacing: 0.01em;
  min-width: 2.6em;
  text-align: right;
  justify-self: end;
}

/* Pulso solo en el icono (no pelea con opacity del marquee) */
.placa-eds--active > i.fa-gas-pump {
  animation: placa-eds-pulse 2s ease-in-out infinite;
}

.placa-eds--muted {
  --eds-accent: #8b97a8;
  opacity: 0.48;
  filter: grayscale(0.35);
}

.placa-eds--muted > i.fa-gas-pump {
  animation: none;
}

@keyframes placa-eds-pulse {
  0%, 100% { opacity: 0.95; }
  50% { opacity: 0.5; }
}
