.receipt-dialog {
  width: min(940px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: clamp(12px, 2.5vw, 24px);
  background: var(--admin-panel, #20162d);
  color: var(--admin-text, #fff);
  border: 1px solid #544268;
  border-radius: 14px;
}
.receipt-dialog::backdrop { background: #100b16bd; }
.receipt-dialog h2 { margin: 0; }
.receipt-dialog p { margin: 6px 0; }
.receipt-dialog [data-receipt-status]:empty { display: none; }
.receipt-content { padding-block: 8px; overflow: auto; max-height: min(65dvh, 720px); }
.receipt-content:empty { display: none; }
.receipt-content img { display: block; max-width: 100%; max-height: min(60dvh, 660px); margin: auto; object-fit: contain; }
.receipt-content.receipt-zoomed img { max-width: none; max-height: none; }
.receipt-content object { display: block; width: 100%; height: min(60dvh, 660px); }
.receipt-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.receipt-actions form { margin: 0; }
