.business-image-preview {
  max-width: min(94vw, 1360px);
  max-height: 92vh;
  max-height: 92dvh;
  padding: 0;
  border: 1px solid #dbe0e7;
  border-radius: 10px;
  color: #172234;
  background: #fff;
  box-shadow: 0 18px 55px rgb(20 31 50 / 28%);
}

.business-image-preview::backdrop { background: transparent; }
.business-image-preview__panel { display: flex; flex-direction: column; }
.business-image-preview__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid #e3e8ef;
  cursor: grab;
  touch-action: none;
  user-select: none;
}
.business-image-preview__toolbar.is-dragging,
.business-image-preview__toolbar.is-dragging button { cursor: grabbing; }
.business-image-preview__title { margin-right: auto; font-weight: 600; }
.business-image-preview__toolbar button {
  padding: 6px 10px;
  border: 1px solid #dbe0e7;
  border-radius: 5px;
  color: inherit;
  background: #fff;
  font: inherit;
  cursor: pointer;
}
.business-image-preview__toolbar button[aria-pressed="true"] {
  border-color: #5681ac;
  background: #edf5fe;
}
.business-image-preview__viewport {
  min-width: min(62vw, 700px);
  max-height: 78vh;
  max-height: 78dvh;
  overflow: auto;
  background: #f1f4f8;
}
.business-image-preview__viewport img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 78vh;
  max-height: 78dvh;
  margin: auto;
  object-fit: contain;
}
.business-image-preview__viewport [hidden] { display: none; }
.business-image-preview--actual .business-image-preview__viewport img {
  max-width: none;
  max-height: none;
  margin: 0;
}
.business-image-preview__status { margin: 0; padding: 28px 18px; text-align: center; }
