.receipt-confirmation {
  position: fixed;
  inset: 0;
  margin: auto;
  box-sizing: border-box;
  width: min(600px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--line, #dce3eb);
  border-radius: 16px;
  background: var(--surface, white);
  color: var(--text, #334155);
  box-shadow: 0 24px 80px #0f172a40;
}
.receipt-confirmation::backdrop { background: #0f172a80; }
.receipt-confirmation h3 { margin: 0 0 12px; }
.receipt-confirmation p { line-height: 1.5; overflow-wrap: anywhere; }
/* FIX: scope modern controls to receipt confirmations, including the live panel. */
.receipt-confirmation button {
  appearance: none;
  margin: 12px 10px 0 0;
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid #7460a8;
  border-radius: 12px;
  background: #7460a8;
  color: #fff;
  font: inherit;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color .15s, box-shadow .15s;
}
.receipt-confirmation button:last-of-type {
  background: var(--surface, #fff);
  color: var(--text, #334155);
  border-color: var(--line, #dce3eb);
}
.receipt-confirmation button:hover:not(:disabled) { box-shadow: 0 3px 12px #7460a830; }
.receipt-confirmation button:focus-visible { outline: 3px solid #a899cf; outline-offset: 3px; }
.receipt-confirmation button:disabled { opacity: .55; cursor: wait; }
.receipt-confirmation__progress { font-size: .9em; font-weight: 600; }
