.document-scan-previews {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--plaza-space-3);
  margin-block: var(--plaza-space-2) var(--plaza-space-4);
}

#docs .document-scan-preview {
  display: block;
  flex: 0 0 min(300px, 100%);
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: var(--plaza-radius-ui);
  background: transparent;
  cursor: zoom-in;
}

#docs .document-scan-preview::before,
#docs .document-scan-preview::after {
  content: none;
}

#docs .document-scan-preview img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}

#docs .document-scan-preview:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

#docs a > :is(.pn-external-arrow, .external-link-icon, [data-plaza-generated-icon="external"]) {
  display: none;
}

#docs .wellness-photo-counter,
#docs .wellness-photo-dialog .plaza-slider-controls {
  visibility: hidden;
}

/* Preserve the entire scan in the portrait-phone gallery as well. */
#docs .wellness-photo-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
