.live-range-control {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.live-commercial-grid {
  margin-bottom: 16px;
}

.live-metric-card .kpi-value {
  font-variant-numeric: tabular-nums;
}

.live-funnel-row + .live-funnel-row {
  margin-top: 18px;
}

.live-funnel-label,
.live-source-row > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  margin-bottom: 7px;
}

.live-funnel-label span,
.live-source-row span {
  color: var(--muted, #64748b);
  font-size: 12px;
}

.live-funnel-track,
.live-source-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
}

.live-funnel-track > span,
.live-source-track > span {
  display: block;
  height: 100%;
  min-width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #7c3aed, #2563eb);
}

.live-source-row + .live-source-row {
  margin-top: 16px;
}

.live-source-row > div:first-child {
  align-items: center;
}

.live-source-row > div:first-child > div,
.live-source-row > div:first-child {
  min-width: 0;
}

.live-source-row strong,
.live-funnel-label strong {
  overflow-wrap: anywhere;
}

.live-health-grid {
  display: grid;
  gap: 10px;
}

.live-health-grid > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.live-health-grid > div:last-child {
  border-bottom: 0;
}

.live-health-grid span {
  color: var(--muted, #64748b);
  font-size: 12px;
}

.live-health-grid strong {
  text-align: right;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.live-metrics-error .button {
  margin-top: 14px;
}

.live-metrics-dashboard table small {
  display: block;
  margin-top: 3px;
  color: var(--muted, #64748b);
}

@media (max-width: 760px) {
  .live-range-control {
    width: 100%;
  }

  .live-range-control .button {
    flex: 1;
  }

  .live-funnel-label,
  .live-source-row > div:first-child,
  .live-health-grid > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .live-health-grid strong {
    text-align: left;
  }
}
