.cms .staff-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, .33fr);
  align-items: start;
  gap: 1.125rem;
}

.cms .staff-roster-heading {
  padding: 1.05rem 1.2rem;
  border-bottom: 1px solid var(--line);
}

.cms .staff-roster-heading p { font-variant-numeric: tabular-nums; }
.cms .staff-list { margin: 0; padding: 0; list-style: none; }
.cms .staff-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: .8rem 1.05rem;
  padding: .85rem 1.2rem;
}
.cms .staff-row + .staff-row { border-top: 1px solid #e8edf5; }
.cms .staff-row:last-child { border-radius: 0 0 var(--radius) var(--radius); }
.cms .staff-row:hover { background: #f6f9fe; }
.cms .staff-identity { min-width: 0; overflow-wrap: anywhere; }
.cms .staff-identity h3 { font-size: .95rem; }
.cms .staff-identity p { margin-top: .15rem; font-size: .85rem; }
.cms .staff-self { margin-left: .5em; color: var(--muted); font-size: .75rem; font-weight: 550; }
.cms .staff-access, .cms .staff-row-actions, .cms .staff-form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .45rem;
}
.cms .staff-access { min-width: 9.25rem; }
.cms .staff-row-actions { min-width: 9.25rem; justify-content: flex-end; }
.cms .staff-row-actions .button { min-height: 34px; padding-inline: .65rem; }
.cms .staff-role-card { padding: 1.15rem 1.25rem; background: #f8fbff; }
.cms .staff-role-card dl { display: grid; gap: .9rem; margin-block: .95rem; }
.cms .staff-role-card dt { font-size: .9rem; font-weight: 680; }
.cms .staff-role-card dd { color: var(--muted); font-size: .87rem; line-height: 1.5; margin-top: .15rem; }
.cms .staff-role-card > p { border-top: 1px solid var(--line); padding-top: .85rem; font-size: .84rem; }

.cms .staff-form {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.125rem;
  padding: 1.2rem;
}
.cms .staff-fields { grid-template-columns: 1fr 1fr minmax(9rem, .65fr); }
.cms .staff-error {
  margin: 0;
  color: #882f23;
  font-size: .875rem;
  line-height: 1.45;
}
.cms .staff-error:empty { display: none; }
.cms .staff-roster-error:not(:empty) { padding: .85rem 1.2rem 0; }
.cms .staff-error:focus { outline-offset: 1px; }

@media (max-width: 1080px) {
  .cms .staff-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .cms .staff-fields { grid-template-columns: minmax(0, 1fr); }
  .cms .staff-row { grid-template-columns: minmax(0, 1fr); gap: .55rem; }
  .cms .staff-row-actions { justify-content: flex-start; }
  .cms .staff-fields .input { font-size: 1rem; }
}
