.root-user-edit {
  max-width: 48rem;
  margin: 0 auto;
}

.root-user-edit__form {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.root-user-edit__field {
  display: grid;
  gap: .5rem;
}

.root-user-edit__field label {
  font-weight: 600;
}

.root-user-edit__field input,
.root-user-edit__field select {
  width: 100%;
  padding: .75rem;
  color: var(--app-text);
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: .5rem;
}

.root-user-edit__errors {
  padding: 1rem;
  color: var(--app-danger-text);
  background: var(--app-danger-soft);
  border-radius: .5rem;
}

.root-user-edit__errors ul {
  padding-left: 1.25rem;
  list-style: disc;
}

.root-user-edit__actions {
  position: sticky;
  bottom: 0;
  z-index: 10;
  display: flex;
  justify-content: flex-end;
  gap: .75rem;
  padding: 1rem 0;
  background: var(--app-sticky-surface);
  border-top: 1px solid var(--app-border);
}
