.number-qr-body-single { display: flex; justify-content: center; }
.number-qr-body-single .number-qr-image-wrap { width: min(100%, 440px); }

.receipt-preview-modal { width: min(760px, calc(100vw - 56px)); }
.number-qr-receipt-stage { padding: 30px; border-radius: 18px; display: grid; place-items: center; background: #b7ddd7; }
.number-qr-receipt { position: relative; width: min(100%, 430px); padding: 32px 54px 30px 31px; background: #fffefb; box-shadow: 0 13px 30px rgba(34,77,72,.19); color: #17191c; }
.number-qr-receipt::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 16px; background: radial-gradient(circle at 8px 0, #b7ddd7 7px, transparent 8px) 0 0 / 16px 16px repeat-x; }
.receipt-brand-row { min-height: 106px; display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; }
.receipt-brand-row > img:first-child { display: block; width: 156px; height: auto; margin-top: 16px; }
.receipt-qr-code { flex: 0 0 auto; display: block; width: 112px; height: 112px; border: 5px solid #fff; background: #fff; image-rendering: pixelated; }
.receipt-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 4px; }
.receipt-title-row > strong { font-family: Arial, sans-serif; font-size: 29px; line-height: 1; letter-spacing: -.05em; }
.receipt-title-row > strong small { color: #f39ab7; font-size: 13px; }
.receipt-title-row > span { color: #f07fa4; font-size: 10px; font-weight: 850; }
.receipt-price-head { margin-top: 16px; font-size: 12px; font-weight: 900; text-align: center; }
.receipt-meta { display: grid; gap: 5px; margin: 20px 0 0; }
.receipt-meta > div { display: grid; grid-template-columns: 60px 1fr; gap: 10px; }
.receipt-meta dt, .receipt-meta dd { margin: 0; font-size: 9px; line-height: 1.45; }
.receipt-meta dt { font-weight: 850; }
.receipt-meta dt::after { content: " :"; }
.receipt-meta dd { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.receipt-caution { margin: 8px 0 0; font-size: 8px; color: #73777d; }
.receipt-dash { height: 1px; margin: 14px 0; background: repeating-linear-gradient(90deg, #222 0 5px, transparent 5px 9px); }
.receipt-number-table { display: grid; gap: 7px; }
.receipt-number-table > div { min-height: 23px; display: grid; grid-template-columns: 19px 30px repeat(6, minmax(0, 1fr)); align-items: center; gap: 5px; font-family: Arial, sans-serif; }
.receipt-number-table b { font-size: 11px; }
.receipt-number-table span { font-size: 8px; font-weight: 700; }
.receipt-number-table strong { font-size: 12px; text-align: center; }
.receipt-total { display: flex; align-items: center; justify-content: space-between; font-size: 11px; }
.receipt-total strong { font-size: 14px; }
.receipt-serial { overflow: hidden; margin-top: 8px; font-family: Arial, sans-serif; font-size: 8px; letter-spacing: .08em; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.receipt-barcode { width: 82%; height: 58px; margin: 8px auto 0; background: repeating-linear-gradient(90deg, #161616 0 2px, transparent 2px 4px, #161616 4px 7px, transparent 7px 9px, #161616 9px 10px, transparent 10px 13px); }
.receipt-disclaimer { margin: 10px 0 0; color: #777b80; font-size: 8px; text-align: center; }
.receipt-side-rail { position: absolute; top: 14px; right: 0; bottom: 12px; width: 28px; padding: 14px 0; display: flex; align-items: center; justify-content: space-between; background: #f39ab7; color: #fff; writing-mode: vertical-rl; }
.receipt-side-rail span { font-family: Arial, sans-serif; font-size: 8px; font-weight: 750; letter-spacing: .07em; }
.receipt-preview-modal .number-qr-actions { margin-top: 16px; }

@media (max-width: 760px) {
  .receipt-preview-modal { width: calc(100vw - 30px); }
  .number-qr-receipt-stage { padding: 20px 12px; }
  .number-qr-receipt { padding-left: 23px; padding-right: 46px; }
  .receipt-brand-row > img:first-child { width: 132px; }
  .receipt-qr-code { width: 96px; height: 96px; }
  .receipt-number-table > div { gap: 3px; }
}


