.user-operations-page,
.user-main-stack {
  min-width: 0;
}
.user-operations {
  min-height: 640px;
}
.user-index-filters,
.user-main-stack,
.form-grid,
.inspector-fact-list {
  display: grid;
  gap: 8px;
}
.user-entity-grid {
  min-width: 0;
}
.user-entity-grid > .resource-collection-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 8px;
  padding: 10px;
}
.user-entity-grid > .resource-collection-items[data-density="compact"] {
  gap: 5px;
  padding: 6px;
}
.user-entity-grid > .resource-collection-items[data-density="compact"] .user-entity-card {
  gap: 5px;
  padding: 6px;
}
.user-entity-card {
  display: grid;
  gap: 7px;
  min-width: 0;
  border: 1px solid #d2dce1;
  border-radius: 8px;
  padding: 8px;
  background: #fff;
}
.user-entity-card[data-selected="true"] {
  border-color: #258d89;
  box-shadow: inset 3px 0 #168d88;
}
.user-entity-select {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 5px 8px;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 2px;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.user-entity-select small,
.user-entity-select dl {
  grid-column: 1 / -1;
}
.user-entity-select dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin: 4px 0 0;
}
.user-entity-select dl div {
  min-width: 0;
  border: 1px solid #e0e7ea;
  border-radius: 5px;
  padding: 5px;
}
.user-entity-select dt {
  color: #718087;
  font-size: 9px;
}
.user-entity-select dd {
  margin: 2px 0 0;
  font-weight: 800;
}
.audit-command-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px;
}
.audit-command-row [role="tablist"] {
  display: flex;
  gap: 4px;
}
.audit-command-row [role="tab"] {
  min-height: 30px;
  border: 1px solid #bac8ce;
  background: #fff;
  padding: 0 10px;
}
.audit-command-row [aria-selected="true"] {
  background: #17383f;
  color: #fff;
}
.audit-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 7px;
  padding: 0 10px 10px;
}
.inspector-fact-list article {
  display: grid;
  gap: 3px;
  border: 1px solid #d9e2e6;
  border-radius: 6px;
  padding: 8px;
  background: #f8fafb;
}
.inspector-fact-list small {
  overflow-wrap: anywhere;
  color: #61747c;
}
@media (max-width: 720px) {
  .user-entity-grid > .resource-collection-items {
    grid-template-columns: 1fr;
  }
  .audit-filter-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 390px) {
  .user-operations {
    min-height: 0;
  }
  .audit-filter-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .audit-command-row {
    align-items: stretch;
    flex-direction: column;
  }
  .user-entity-select dl {
    grid-template-columns: 1fr;
  }
}
