.attachment-preview {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
}
.attachment-preview h3 {
  margin: 0;
  padding: 12px 16px;
  font-size: .875rem;
  overflow-wrap: anywhere;
  background: #f2f3ef;
}
.attachment-preview > p,
.attachment-preview > .alert {
  margin: 16px;
}
.attachment-frame {
  display: block;
  width: 100%;
  height: min(76vh, 900px);
  min-height: 520px;
  border: 0;
  background: #e7ebf0;
}
@media (max-width: 650px) {
  .attachment-frame { min-height: 440px; }
}
