#controls-module {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ctrl-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  white-space: nowrap;
  font-size: 0.85em;
}

.ctrl-label {
  flex: 1 1 auto;
  font-weight: 300;
}

.ctrl-value {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-end; /* ⭐ clé du fix */
  gap: 6px;
  white-space: nowrap;
}

/* === TAILLES DES ICÔNES (ORIGINALES) === */

/* batterie + signal */
.ctrl-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
  display: inline-block;
}

/* altitude */
.ctrl-icon-small {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
  display: inline-block;
  transform: translateY(-3px);
}

/* connexion */
#module-conn-status {
  flex-shrink: 0;
  display: inline-block;
  font-size: 0.85em;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.5px;
}

#module-conn-status.online {
  color: #00ff66; /* vert fluo */
}

#module-conn-status.offline {
  color: #ff0000; /* rouge */
}

/* ===============
   SIGNAL BARRES
================== */

.signal-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
  min-width: 18px;
  flex-shrink: 0;
  transform: translateY(-6px); /* ⭐ on REMONTE légèrement */
}

/* barres */

.signal-bars span {
  display: block;
  width: 2px; /* ↓ plus fin */
  background: rgba(255, 255, 255, 0.28);
  border-radius: 1px;
}

/* hauteurs recalibrées */

.signal-bars span:nth-child(1) {
  height: 3px;
}
.signal-bars span:nth-child(2) {
  height: 6px;
}
.signal-bars span:nth-child(3) {
  height: 9px;
}
.signal-bars span:nth-child(4) {
  height: 12px;
}

/* niveaux actifs */

.signal-1 span:nth-child(-n + 1),
.signal-2 span:nth-child(-n + 2),
.signal-3 span:nth-child(-n + 3),
.signal-4 span:nth-child(-n + 4) {
  background: #00ff66;
  box-shadow: 0 0 2px rgba(0, 255, 102, 0.45); /* glow plus soft */
}

/* perdu */

.signal-0 span {
  background: rgba(255, 80, 80, 0.7);
  box-shadow: none;
}
