/* Accreditation category catalog row (organisations/_accreditation_category):
   inside the expanded <wa-details>, name and position share one grid row —
   position is a small integer, never a peer of the name, so it stays narrow
   instead of matching the name field's width — and the row's own save sits
   under them, opposite the remove button. The single wrapping cluster this
   replaced put the save next to the series-validity checkbox and pushed the
   delete form onto an orphan line of its own. */
.category-row-form {
  flex: 1 1 auto;
  min-width: 0;
}

.category-row-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 7rem;
  gap: var(--wa-space-s);
  max-inline-size: 32rem;
}

@media (max-width: 768px) {
  .category-row-fields {
    grid-template-columns: 1fr;
  }
}
