/* Standee is paper: fixed light colours (site light tokens), sized in cqw so preview and print scale together. */
.standee { --band: #F5A524; --band-ink: #16161D; container-type: inline-size; position: relative; width: 100%; max-width: 440px; margin: 0 auto; aspect-ratio: 1 / 1.4142; background: #fff; color: #16161D; border: 1px solid #e7e2da; border-radius: 6px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; font-family: var(--display); print-color-adjust: exact; -webkit-print-color-adjust: exact; }
.standee.style-ink { --band: #16161D; --band-ink: #fff; }
.standee.style-leaf { --band: #0B6B58; --band-ink: #fff; }
:where(.standee) p { margin: 0; max-width: 92%; overflow-wrap: anywhere; }
.st-top { width: 100%; background: var(--band); color: var(--band-ink); padding: 5cqw 4cqw 4cqw; }
.st-kicker { font-size: 3.4cqw; font-weight: 700; letter-spacing: .14em; margin: 0 auto; }
.st-shop { font-size: 7.5cqw; font-weight: 800; line-height: 1.1; margin: 1.5cqw auto 0; }
.st-qr { position: relative; width: 66cqw; margin: 4cqw 0 2cqw; }
.st-qr .qr { display: block; width: 100%; height: auto; }
.st-stamp { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%) rotate(-18deg); background: #B42318; color: #fff; font-size: 7cqw; font-weight: 800; letter-spacing: .12em; padding: 1cqw 4cqw; border-radius: 2cqw; }
.st-scan { font-size: 4.6cqw; font-weight: 800; }
.st-amt { font-size: 5cqw; font-weight: 800; margin-top: 2cqw; }
.st-amt span { font-weight: 600; }
.st-name { font-size: 3.8cqw; font-weight: 700; margin-top: 2.5cqw; font-family: var(--font); }
.st-vpa { font-size: 3.4cqw; color: #57534e; font-family: var(--font); }
.st-foot { margin-top: auto; width: 100%; max-width: none; background: var(--band); color: var(--band-ink); font-size: 2.4cqw; font-weight: 600; padding: 2cqw; }

.upi-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.upi-head h2 { margin: 0 0 10px; font-size: 1.2rem; }
.upi-link { display: grid; gap: 10px; margin-bottom: 16px; justify-items: start; }
.upi-link h2 { margin: 0; font-size: 1.15rem; }
.upi-link code { display: block; width: 100%; padding: 10px 12px; background: var(--surface-2); border-radius: var(--radius-sm); font-size: 13px; overflow-wrap: anywhere; }
.field-error { margin: -6px 0 0; }
.field-error[hidden] { display: none; }
.action-bar .btn { flex: 1; padding: 12px 10px; }
@media (max-width: 420px) { .action-bar .btn { font-size: 14px; gap: 4px; } .action-bar .btn svg { display: none; } }

/* Print only the standee, at the chosen paper size (named pages; browsers without them fall back to A4). */
@page upi-a6 { size: A6; margin: 0; }
@page upi-a5 { size: A5; margin: 0; }
@page upi-a4 { size: A4; margin: 0; }
@media print {
  .upi-head { display: none; }
  .standee { max-width: none; border: 0; border-radius: 0; box-shadow: none; aspect-ratio: auto; }
  .standee.size-a6 { page: upi-a6; width: 105mm; height: calc(148mm - 1px); }
  .standee.size-a5 { page: upi-a5; width: 148mm; height: calc(210mm - 1px); }
  .standee.size-a4 { page: upi-a4; width: 210mm; height: calc(297mm - 1px); }
}
