.ez_page-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--ez-space-3);
  margin-block-end: var(--ez-space-5);
}

.ez_stack {
  display: flex;
  flex-direction: column;
  gap: var(--ez-space-4);
}

.ez_stack--tight {
  gap: var(--ez-space-2);
}

.ez_cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ez-space-3);
}

.ez_cluster--end {
  justify-content: flex-end;
}

.ez_form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: var(--ez-space-4);
}

.ez_stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: var(--ez-space-4);
  margin-block-end: var(--ez-space-4);
}

/* "Choose a product": one card per product. */
.ez_hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: var(--ez-space-4, 1rem); }
.ez_hub-card { display: flex; flex-direction: column; gap: var(--ez-space-3, .75rem); justify-content: space-between; }
.ez_hub-card--more { opacity: .85; }

.ez_form-grid__wide { grid-column: 1 / -1; }

/* The row of tools at the end of a list page's title: search, a primary action, then icon buttons. */
.ez_page-tools {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: var(--ez-space-2);
}

.ez_page-tools .ez_check {
  white-space: nowrap;
}

@media (max-width: 40rem) {
  .ez_page-tools {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}
