.photo-card img,
.photo-strip img,
.model-photo,
.model-photo img,
.map-model-photo,
.map-model-photo img,
.home-card.machine .home-image,
.home-card.machine .home-image img,
.report-figure img { background: #ffffff; }
.mkv-edit-photos .photo-grid { grid-template-columns: minmax(0, 1fr); width: 100%; }
.mkv-scan-panel [data-scan-preview] .photo-card img,
#contactPhotoGallery .photo-card img,
#machinePlatePhotos .photo-card img,
#machinePhotos .photo-card img,
#entityPhotoList .photo-card img,
.mkv-edit-photos .photo-card img {
  display: block;
  width: 50%;
  height: auto;
  max-height: none;
  margin: 10px auto;
}
.mkv-edit-photos .will-remove { border: 2px solid #c93737; background: #fff5f5; }
.mkv-edit-photos .will-remove img { opacity: .45; }
.machine-row-photo { display: grid; place-items: center; width: 88px; height: 60px; flex: 0 0 88px; margin-left: auto; overflow: hidden; border: 1px solid #dce6ea; border-radius: 8px; background: white; color: #70818b; font-size: 10px; text-align: center; }
.machine-row-photo img { display: block; width: 100%; height: 100%; object-fit: contain; background: white; }
@media(max-width:600px) { .machine-row-photo { width: 64px; height: 44px; flex-basis: 64px; } }
