/**
 * utilities.css
 * ----------------------------------------------------------------------------
 * Small, single-purpose helper classes. These exist for one-off layout
 * tweaks (a gap, a hidden element on mobile) so a feature module doesn't
 * need to invent a new CSS rule for a trivial adjustment. They are NOT a
 * replacement for components.css — if a pattern is used more than twice,
 * it belongs in a real component instead of a stack of utility classes.
 */

.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}
.flex-wrap {
  flex-wrap: wrap;
}

.gap-1 {
  gap: var(--space-1);
}
.gap-2 {
  gap: var(--space-2);
}
.gap-3 {
  gap: var(--space-3);
}
.gap-4 {
  gap: var(--space-4);
}

.mt-2 {
  margin-top: var(--space-2);
}
.mt-4 {
  margin-top: var(--space-4);
}
.mb-2 {
  margin-bottom: var(--space-2);
}
.mb-4 {
  margin-bottom: var(--space-4);
}

.text-muted {
  color: var(--color-ink-muted);
}
.text-faint {
  color: var(--color-ink-faint);
}
.text-sm {
  font-size: var(--text-sm);
}
.text-xs {
  font-size: var(--text-xs);
}
.text-center {
  text-align: center;
}
.font-mono {
  font-family: var(--font-mono);
}

.w-full {
  width: 100%;
}

.hidden {
  display: none !important;
}

@media (max-width: 720px) {
  .hide-mobile {
    display: none !important;
  }
}
@media (min-width: 721px) {
  .show-mobile-only {
    display: none !important;
  }
}
