/* live-pill:v5 — no border/fill; vertically center with sibling header buttons */
.top-actions,
.bar-right {
  align-items: center;
}

.live-dot {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 8px;
  box-sizing: border-box;
  height: 42px;
  min-height: 42px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--muted, #9aa3b5);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  vertical-align: middle;
  user-select: none;
  box-shadow: none;
  transition: color 0.15s ease;
}

.live-dot .live-pulse {
  display: block;
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  align-self: center;
  margin: 0;
  border-radius: 50%;
  background: var(--faint, #6b7385);
  box-shadow: none;
}

.live-dot.ok {
  color: rgba(61, 214, 232, 0.95);
  border: none;
  background: transparent;
  box-shadow: none;
}

.live-dot.ok .live-pulse {
  background: var(--teal, #3dd6e8);
  box-shadow: none;
  animation: livePillPulseQuiet 2.4s ease-out infinite;
}

.live-dot.err {
  color: var(--danger, #ff7a7a);
  border: none;
  background: transparent;
  box-shadow: none;
}

.live-dot.err .live-pulse {
  background: var(--danger, #ff7a7a);
  box-shadow: none;
  animation: none;
}

@keyframes livePillPulseQuiet {
  0% { box-shadow: 0 0 0 0 rgba(61, 214, 232, 0.28); }
  70% { box-shadow: 0 0 0 5px rgba(61, 214, 232, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 214, 232, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .live-dot.ok .live-pulse {
    animation: none;
  }
}
