.chips {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.chips::-webkit-scrollbar {
  display: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.125rem 0.4rem;
  border-radius: 999px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  transition: all 0.15s ease;
}

.icon {
  flex-shrink: 0;
  opacity: 0.9;
}

.value {
  letter-spacing: 0.01em;
}

/* --- Productivity tiers (higher score = worse health) --- */
.tier_green {
  color: #22c55e;
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.08);
}

.tier_yellow {
  color: #eab308;
  border-color: rgba(234, 179, 8, 0.35);
  background: rgba(234, 179, 8, 0.08);
}

.tier_orange {
  color: #f97316;
  border-color: rgba(249, 115, 22, 0.4);
  background: rgba(249, 115, 22, 0.1);
}

.tier_red {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.45);
  background: rgba(239, 68, 68, 0.1);
}

.tier_critical {
  color: #fca5a5;
  border-color: rgba(220, 38, 38, 0.6);
  background: rgba(220, 38, 38, 0.18);
}

/* --- Discovery stall warning --- */
.stallWarn {
  color: #f97316;
  border-color: rgba(249, 115, 22, 0.4);
  background: rgba(249, 115, 22, 0.1);
}

/* --- LATS mode --- */
.latsActive {
  color: #818cf8;
  border-color: rgba(129, 140, 248, 0.45);
  background: rgba(129, 140, 248, 0.12);
}

.latsIdle {
  opacity: 0.55;
}
