.cf-regularization {
  margin-block: 24px;
  scroll-margin-top: 16px;
}

.cf-regularization [hidden] {
  display: none;
}

.cf-body {
  padding: 0 20px 20px;
}

.cf-filters,
.cf-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  margin-block: 12px;
}

.cf-filters label,
.cf-actions label {
  display: grid;
  flex: 1 1 150px;
  gap: 6px;
  min-width: 0;
}

.cf-filters input,
.cf-filters select,
.cf-actions select {
  width: 100%;
  min-width: 0;
}

.cf-filters label:has(input[type="search"]) {
  flex-basis: 240px;
}

.cf-table td:last-child {
  white-space: nowrap;
}

.cf-table input[type="checkbox"] {
  width: 24px;
  height: 24px;
}

.cf-dialog {
  width: min(880px, calc(100vw - 24px));
}

.cf-dialog-actions {
  justify-content: flex-end;
}

#cf-history summary {
  cursor: pointer;
  font-weight: 700;
  padding-block: 8px;
}
