/* ============================================================
   utilities.css — Utility & Helper Classes
   ============================================================ */

/* ── TEXT UTILITIES ──────────────────────────────────────── */
.text-xs    { font-size: 11px; }
.text-sm    { font-size: 12px; }
.text-base  { font-size: 14px; }
.text-muted { color: var(--muted); }
.text-dim   { color: var(--text-dim); }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.text-danger  { color: var(--danger); }
.text-warn    { color: var(--warn); }
.font-mono  { font-family: var(--font-mono, monospace); }
.font-bold  { font-weight: 700; }
.truncate   { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── FLEX UTILITIES ──────────────────────────────────────── */
.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap    { flex-wrap: wrap; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }

/* ── FILTER PILLS ────────────────────────────────────────── */
.filter-pill {
  padding: 4px 13px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border);
  background: none;
  color: var(--muted);
  transition: all var(--t-fast);
  font-family: inherit;
  letter-spacing: 0.1px;
}
.filter-pill:hover,
.filter-pill.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dark);
}

/* ── VISIBILITY ──────────────────────────────────────────── */
.hidden   { display: none !important; }
.sr-only  {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
