.u-hidden {
  display: none !important;
}

.u-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.u-flex {
  display: flex !important;
}

.u-inline-flex {
  display: inline-flex !important;
}

.u-grid {
  display: grid !important;
}

.u-block {
  display: block !important;
}

.u-items-center {
  align-items: center !important;
}

.u-justify-between {
  justify-content: space-between !important;
}

.u-justify-center {
  justify-content: center !important;
}

.u-gap-2 {
  gap: var(--space-2) !important;
}

.u-gap-3 {
  gap: var(--space-3) !important;
}

.u-gap-4 {
  gap: var(--space-4) !important;
}

.u-gap-6 {
  gap: var(--space-6) !important;
}

.u-stack-2 > * + * {
  margin-top: var(--space-2) !important;
}

.u-stack-4 > * + * {
  margin-top: var(--space-4) !important;
}

.u-stack-6 > * + * {
  margin-top: var(--space-6) !important;
}

.u-wrap {
  flex-wrap: wrap !important;
}

.u-full-width {
  width: 100% !important;
}

.u-max-page {
  width: min(100%, var(--page-max-width)) !important;
}

.u-min-0 {
  min-width: 0 !important;
}

.u-grid-2 {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.u-grid-3 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.u-grid-4 {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.u-card-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: var(--space-4) !important;
}

.u-sidebar-offset {
  padding-left: var(--space-4) !important;
  padding-right: var(--space-4) !important;
}

.u-p-4 {
  padding: var(--space-4) !important;
}

.u-p-6 {
  padding: var(--space-6) !important;
}

.u-px-4 {
  padding-left: var(--space-4) !important;
  padding-right: var(--space-4) !important;
}

.u-py-4 {
  padding-top: var(--space-4) !important;
  padding-bottom: var(--space-4) !important;
}

.u-mb-4 {
  margin-bottom: var(--space-4) !important;
}

.u-mb-6 {
  margin-bottom: var(--space-6) !important;
}

.u-rounded-sm {
  border-radius: var(--radius-sm) !important;
}

.u-rounded-md {
  border-radius: var(--radius-md) !important;
}

.u-rounded-lg {
  border-radius: var(--radius-lg) !important;
}

.u-shadow-xs {
  box-shadow: var(--shadow-xs) !important;
}

.u-shadow-md {
  box-shadow: var(--shadow-md) !important;
}

.u-text-center {
  text-align: center !important;
}

.u-text-muted {
  color: var(--color-gray-60) !important;
}

.u-text-brand {
  color: var(--color-brand-primary) !important;
}

.u-bg-surface {
  background: var(--color-surface) !important;
}

.u-bg-soft {
  background: var(--color-surface-soft) !important;
}

@media (max-width: 900px) {
  .u-grid-2,
  .u-grid-3,
  .u-grid-4 {
    grid-template-columns: 1fr !important;
  }
}
