/* Status badges by tone. Statuses map to tones in Ruby (a status_badge helper per domain), so
 * a new status never needs new CSS; the prototypes' per-status classes (badge--submitted…) are
 * replaced by these tones when screens are ported. */
@layer components {
  .badge {
    display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 11px;
    font-size: 12px; font-weight: 600; line-height: 1; background: var(--muted-soft); color: var(--ink-2); white-space: nowrap;
  }
  .badge--info { background: var(--info-soft); color: var(--info); }
  .badge--ok { background: var(--ok-soft); color: var(--ok); }
  .badge--warn { background: var(--warn-soft); color: var(--warn); }
  .badge--bad { background: var(--bad-soft); color: var(--bad); }
  .badge--primary { background: var(--primary-soft); color: var(--primary); }
  .badge--muted { background: var(--muted-soft); color: var(--ink-3); }
}
