/* Employee-specific sizing; typography, colors, forms, and layout use Mono. */
.employee-photo {
  width: 180px;
  height: 180px;
  max-width: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.employee-initial {
  width: 180px;
  height: 180px;
  max-width: 100%;
  border-radius: 12px;
  font-size: 2rem;
}
.employee-copy {
  overflow-wrap: anywhere;
}
.employee-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  overflow: hidden;
}
.employee-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
input[type="file"] {
  font-size: 1rem;
  max-width: 100%;
  padding: 12px;
}
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* Gallery photos keep their original proportions when opened in the lightbox. */
.gallery-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.gallery-sort-item[draggable="true"] {
  cursor: grab;
}
.gallery-dragging {
  opacity: 0.5;
}
.button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Match the public team photo crop while keeping gallery previews uncropped. */
.employee-crop-preview img {
  object-fit: cover;
}
input[type="range"].form-range {
  padding: 0;
  border: 0;
  margin-bottom: 0;
}
