.vg-payment-qr{text-align:center}.vg-payment-qr>img{display:block;width:260px;max-width:100%;height:auto;margin:12px auto}.vg-payment-qr>img[hidden]{display:none}.vg-payment-qr small{display:block;margin-top:12px}
.vg-qr-dialog,.vg-qr-dialog *{box-sizing:border-box}.vg-qr-dialog{width:min(410px,calc(100% - 20px));max-height:calc(100dvh - 20px);overflow:auto;border:1px solid #d6e0d7;border-radius:20px;background:#fff;color:#10543d;padding:16px;font-family:system-ui,sans-serif;text-align:center}.vg-qr-dialog::backdrop{background:#14261bb3}.vg-qr-dialog h2{font-size:19px;line-height:1.35;margin:0 0 6px}.vg-shot-help{font-size:12px;line-height:1.4;margin:0 0 12px;color:#52695a}.vg-shot-card{background:#fff;border:1px solid #dce5dd;border-radius:14px;padding:14px}.vg-shot-card header strong{display:block;font-size:19px;line-height:1.3}.vg-shot-card header small{display:block;font-size:12px;margin-top:4px;color:#52695a}.vg-shot-card dl{margin:12px 0 8px}.vg-shot-card dl>div{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 0;border-bottom:1px solid #e5ebe5}.vg-shot-card dt{font-size:13px;text-align:left;color:#52695a}.vg-shot-card dd{margin:0;font-size:15px;font-weight:600;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.vg-shot-amount{font-size:26px;line-height:1.3;font-weight:700;margin:8px 0 0}.vg-shot-card .vg-shot-qr{display:block;width:clamp(145px,28dvh,200px);max-width:100%;height:auto;margin:0 auto}.vg-shot-recipient{font-size:12px;margin:0;line-height:1.4;color:#52695a}.vg-shot-recipient strong{display:block;font-size:16px;color:#10543d}.vg-shot-due{font-size:12px;line-height:1.4;margin:5px 0 0}.vg-shot-card footer{border-top:1px solid #e5ebe5;margin-top:10px;padding-top:8px;display:grid;gap:3px;line-height:1.4;font-size:14px}.vg-shot-card footer>span:first-child{font-size:12px;overflow-wrap:anywhere}.vg-qr-dialog button{display:block;width:100%;border:0;border-radius:12px;background:#10543d;color:#fff;font:inherit;font-size:16px;font-weight:600;text-align:center;padding:12px;margin-top:12px;min-height:44px}.vg-qr-dialog [hidden]{display:none!important}
.success-order-card>div{min-width:0;flex:1}.success-order-card strong{display:block;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;font-size:clamp(16px,4.4vw,30px)!important;letter-spacing:0!important}.success-order-card button{flex-shrink:0}
@media(max-width:350px){.vg-qr-dialog{padding:12px}.vg-shot-card{padding:10px}.vg-shot-card dd{font-size:13px}.vg-shot-card dt{font-size:12px}.vg-qr-dialog h2{font-size:17px}.success-order-card{gap:8px!important}.success-order-card button{padding:10px!important;font-size:14px!important}}

.vg-shot-card footer{background:#edf5e8;border:1px solid #bdd3bd;border-left:4px solid #10543d;border-radius:12px;margin-top:12px;padding:12px 10px;color:#10543d}.vg-shot-card footer strong{font-size:17px;line-height:1.45}.vg-shot-card footer>span:last-child{font-size:15px;font-weight:600}.vg-shot-card footer>span:first-child{font-size:12px;color:#42654d}

.vg-shot-card .vg-return-callout{background:#10543d;color:#fff;border:0;border-radius:14px;padding:12px 10px;margin-top:12px;display:grid;gap:6px;text-align:center}.vg-shot-card .vg-return-callout .vg-return-label{font-size:12px;font-weight:400;color:#c9e8d2}.vg-shot-card .vg-return-callout>strong{font-size:17px;font-weight:600;color:#fff;line-height:1.4}.vg-shot-card .vg-return-callout .vg-return-domain{font-size:12px;color:#e4f1e7;overflow-wrap:anywhere;font-weight:400}.vg-shot-card .vg-return-callout .vg-return-route{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:3px;padding:9px 6px;border-radius:10px;background:#eaf3e5;color:#10543d;font-size:14px}.vg-return-route b{font-weight:600}
/* v8 capture-first layout, isolated from the app's global header/footer rules. */
.vg-qr-dialog{margin:auto!important;padding:12px!important;max-height:calc(100svh - 16px)!important;overscroll-behavior:contain;text-align:center!important}
.vg-qr-dialog .vg-capture-notice{background:#fff3cd;border-left:4px solid #d7a027;border-radius:12px;padding:10px 12px;text-align:left;margin-bottom:10px;color:#513d16}
.vg-qr-dialog .vg-capture-notice h2{font-size:17px!important;line-height:1.4!important;margin:0 0 4px!important;color:#392d16!important}
.vg-qr-dialog .vg-shot-help{font-size:12px!important;line-height:1.5!important;margin:0!important;color:#634d23!important}
.vg-qr-dialog .vg-shot-card{padding:12px!important;margin:0!important}
.vg-qr-dialog .vg-shot-brand{display:grid!important;position:static!important;gap:3px!important;float:none!important;text-align:center!important;width:100%!important;margin:0!important;padding:0!important}
.vg-qr-dialog .vg-shot-brand>strong{font-family:Georgia,'Times New Roman',serif!important;font-size:30px!important;line-height:1.15!important;letter-spacing:-1.2px!important;white-space:nowrap!important;color:#104d39!important}
.vg-qr-dialog .vg-shot-brand>span{font-size:10px!important;line-height:1.5!important;letter-spacing:2px!important;color:#4c8172!important}
.vg-qr-dialog .vg-shot-brand>small{font-size:12px!important;line-height:1.5!important;color:#52695a!important}
.vg-qr-dialog .vg-shot-card dl{margin:8px 0 4px!important}
.vg-qr-dialog .vg-shot-card dl>div{padding:6px 0!important}
.vg-qr-dialog .vg-shot-card .vg-shot-qr{width:clamp(144px,27svh,216px)!important;max-width:100%!important;margin:0 auto!important;height:auto!important}
.vg-qr-dialog .vg-shot-recipient{line-height:1.5!important;margin:0!important}
.vg-qr-dialog .vg-shot-recipient strong{line-height:1.5!important}
.vg-qr-dialog .vg-shot-due{margin:4px 0 0!important;font-size:12px!important;line-height:1.5!important}
.vg-qr-dialog .vg-return-note{display:grid;gap:6px;background:transparent!important;border:0!important;border-radius:0!important;padding:18px 4px 6px!important;color:#10543d!important;text-align:center!important}
.vg-qr-dialog .vg-return-note>strong{font-size:17px;line-height:1.5}
.vg-qr-dialog .vg-return-note>span{font-size:13px;overflow-wrap:anywhere}
.vg-qr-dialog .vg-return-note p{font-size:14px;line-height:1.6;margin:0!important}
@media(max-height:700px){.vg-qr-dialog .vg-shot-card{padding:8px!important}.vg-qr-dialog .vg-shot-card dl>div{padding:4px 0!important}.vg-qr-dialog .vg-shot-brand>strong{font-size:26px!important}.vg-qr-dialog .vg-capture-notice{padding:8px 10px;margin-bottom:8px}.vg-qr-dialog .vg-shot-amount{font-size:24px!important;margin:4px 0 0!important}}
@media(max-width:350px){.vg-qr-dialog .vg-shot-brand>strong{font-size:26px!important}.vg-qr-dialog .vg-capture-notice h2{font-size:15px!important}}
/* v9: anchor to the visible viewport, with one compact layout in both entry points. */
.vg-qr-dialog{position:fixed!important;inset:auto!important;top:calc(var(--vg-visible-top,0px) + 8px)!important;left:50%!important;transform:translateX(-50%)!important;margin:0!important;max-height:calc(var(--vg-visible-height,100dvh) - 16px)!important;padding:10px!important;overflow-y:auto!important;scroll-padding-top:0;scroll-behavior:auto!important}
.vg-qr-dialog .vg-capture-notice{padding:8px 10px!important;margin:0 0 8px!important}
.vg-qr-dialog .vg-capture-notice h2{font-size:15px!important;line-height:1.4!important;margin:0 0 3px!important}
.vg-qr-dialog .vg-shot-help{font-size:11px!important;line-height:1.4!important}
.vg-qr-dialog .vg-shot-card{padding:8px 12px!important}
.vg-qr-dialog .vg-shot-brand{gap:2px!important}
.vg-qr-dialog .vg-shot-brand>strong{font-size:26px!important;line-height:1.15!important}
.vg-qr-dialog .vg-shot-brand>span{font-size:9px!important;letter-spacing:1.8px!important;line-height:1.4!important}
.vg-qr-dialog .vg-shot-brand>small{font-size:11px!important;line-height:1.4!important}
.vg-qr-dialog .vg-shot-card dl{margin:6px 0 2px!important;padding:0!important}
.vg-qr-dialog .vg-shot-card dl>div{padding:4px 0!important;min-height:0!important}
.vg-qr-dialog .vg-shot-card dt{font-size:12px!important;line-height:1.4!important;margin:0!important}
.vg-qr-dialog .vg-shot-card dd{font-size:13px!important;line-height:1.4!important;margin:0!important}
.vg-qr-dialog .vg-shot-amount{font-size:23px!important;line-height:1.25!important;margin:4px 0 0!important}
.vg-qr-dialog .vg-shot-card .vg-shot-qr{width:clamp(140px,calc(var(--vg-visible-height,740px) * .24),190px)!important;margin:0 auto!important}
.vg-qr-dialog .vg-shot-recipient{font-size:11px!important;line-height:1.4!important;margin:0!important;padding:0!important}
.vg-qr-dialog .vg-shot-recipient strong{font-size:14px!important;line-height:1.45!important}
.vg-qr-dialog .vg-shot-due{font-size:11px!important;line-height:1.4!important;margin:3px 0 0!important;padding:0!important}
.vg-qr-dialog .vg-return-note{gap:3px!important;padding:10px 0 2px!important;margin:0!important}
.vg-qr-dialog .vg-return-note>strong{font-size:14px!important;line-height:1.4!important}
.vg-qr-dialog .vg-return-note>span{font-size:11px!important;line-height:1.4!important}
.vg-qr-dialog .vg-return-note p{font-size:12px!important;line-height:1.5!important;margin:0!important}
.vg-qr-dialog button[data-done]{font-size:14px!important;line-height:1.4!important;min-height:44px!important;padding:10px!important;margin:8px 0 0!important}
@media(max-height:620px){.vg-qr-dialog .vg-shot-card .vg-shot-qr{width:140px!important}.vg-qr-dialog .vg-shot-brand>strong{font-size:23px!important}.vg-qr-dialog .vg-return-note{padding-top:6px!important}}
