/* Employee management dialogs: keep actions visible on narrow screens. */
.employee-modal-backdrop {
  z-index: 1100;
  padding: 16px;
}
.employee-modal-backdrop .modal {
  display: flex;
  flex-direction: column;
  width: min(100%, 520px);
  max-height: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  overflow: hidden;
}
.employee-modal-backdrop .modal-header,
.employee-modal-backdrop .modal-actions {
  flex-shrink: 0;
}
.employee-modal-backdrop .modal-body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.employee-modal-backdrop .field-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}
.employee-modal-backdrop .field-checkbox input[type="checkbox"] {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
  margin: 0;
}
.employee-modal-backdrop .field-error {
  color: var(--g-danger, #ef6464);
  font-size: .85rem;
}
