.admin-employee-directory .table-wrap {
  max-block-size: 28rem;
  overflow: auto;
}

.admin-employee-directory thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--surface-subtle, #f3f6fa);
}

.admin-employee-editor .entry-form.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-employee-editor .entry-form > button,
.admin-employee-option .entry-form > button {
  grid-column: 1 / -1;
  justify-self: start;
}

.admin-employee-option.panel {
  align-self: start;
  padding: 0;
}

.admin-employee-option > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1rem;
  list-style: none;
  cursor: pointer;
}

.admin-employee-option > summary::-webkit-details-marker {
  display: none;
}

.admin-employee-option > summary::after,
.admin-menu-by-employee .menu-settings-group summary::after {
  content: "";
  flex: none;
  width: .45rem;
  height: .45rem;
  margin-inline-end: .2rem;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.admin-employee-option[open] > summary::after,
.admin-menu-by-employee .menu-settings-group[open] summary::after {
  transform: rotate(225deg);
}

.admin-employee-option > summary:hover,
.admin-menu-by-employee .menu-settings-group summary:hover {
  background: var(--surface-subtle, #f3f6fa);
}

.admin-employee-option > summary:focus-visible,
.admin-menu-by-employee .menu-settings-group summary:focus-visible {
  outline: 2px solid var(--primary, #285a86);
  outline-offset: -3px;
}

.admin-employee-option > .entry-form,
.admin-helper-download > .helper-release-card {
  margin: 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 1rem;
  box-shadow: none;
}

.admin-menu-by-employee .menu-manager {
  align-items: start;
}

.admin-menu-targets {
  max-block-size: 28rem;
  overflow-y: auto;
  align-content: start;
  padding: 2px;
}

.admin-menu-targets button.active span,
.menu-catalog-list button.active span {
  color: inherit;
}

.admin-menu-by-employee .menu-settings-group summary {
  min-height: 44px;
  padding-inline: .4rem;
}

.admin-menu-by-employee .menu-settings-group summary span {
  margin-inline-start: auto;
}

@media (max-width: 760px) {
  .admin-employee-editor .entry-form.compact {
    grid-template-columns: 1fr;
  }

  .admin-menu-targets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-block-size: 12rem;
  }
}
