/* Payment dialogue is isolated from the presentation site. */
body:has(#checkoutDialog[open]){overflow:hidden}
#checkoutDialog .checkout-header{position:sticky;top:0;z-index:3;background:#f8faf5f5;backdrop-filter:blur(12px)}
#checkoutDialog{padding:0;border:1px solid #d4dfd4;border-radius:19px;width:min(900px,calc(100% - 36px));max-height:calc(100dvh - 36px);color:#1d302c;background:#f8faf5;box-shadow:0 40px 150px #061a1880;overflow:auto}#checkoutDialog::backdrop{background:#0a181db8;backdrop-filter:blur(7px)}#checkoutDialog[open]{animation:checkout-in .22s ease-out}.checkout-header{padding:26px 31px 19px;border-bottom:1px solid #dce5d9;position:relative}.checkout-header h2{font-size:28px;margin:9px 48px 0 0;letter-spacing:-.9px}.checkout-header .eyebrow{font-size:8px;color:#658574;letter-spacing:1.6px}.checkout-close{position:absolute;right:22px;top:24px;width:33px;height:33px;border-radius:50%;border:1px solid #d3ded1;background:#eef3e9;color:#4a6654;font-size:22px;line-height:1}.checkout-body{padding:25px 31px 28px}.checkout-summary{display:flex;align-items:center;gap:13px;margin-bottom:21px}.checkout-summary>span{width:38px;height:38px;background:#142b28;border-radius:11px;display:grid;place-items:center}.checkout-summary small{display:block;font-size:10px;color:#6a7d70}.checkout-summary b{font-size:13px}.checkout-summary>strong{font-size:27px;letter-spacing:-1px;margin-left:auto}.checkout-notice{padding:12px 15px;border:1px solid #dbe4d5;background:#eef3e8;border-radius:8px;font-size:11px;color:#59725f;line-height:1.7;margin-bottom:15px}.quote-status{font-size:12px;color:#4e6b5c;margin:16px 0;line-height:1.7}.quote-status.loading{padding-left:20px;position:relative}.quote-status.loading:before{content:'';position:absolute;width:10px;height:10px;left:0;top:4px;border:2px solid #cee1ce;border-top-color:#439978;border-radius:50%;animation:spin 1s linear infinite}.quote-status.error{color:#9f4b46;background:#f9ece7;padding:12px;border-radius:7px}.payment-ready{display:grid;grid-template-columns:236px 1fr;gap:28px;margin-top:21px}.payment-qr{background:white;border:1px solid #dae3d6;padding:10px;border-radius:12px;align-self:start}.payment-qr svg{display:block;width:100%;height:auto}.qr-caption{font-size:10px;text-align:center;color:#708276;line-height:1.6;margin:10px 0 2px}.payment-data{min-width:0}.payment-label{font-size:9px;color:#7a8d7c;letter-spacing:1px}.sol-amount{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;margin:7px 0 8px}.sol-amount strong{font-size:27px;letter-spacing:-.8px;line-height:1.1;overflow-wrap:anywhere}.sol-amount>span{font-size:12px;color:#6c8877}.copy-small{background:#eaf1e4;border:1px solid #cddcc9;border-radius:5px;color:#355d49;font-size:9px;padding:5px 9px}.quote-rate{font-size:10px;color:#6c8272;margin:9px 0 3px}.quote-time{font-size:10px;color:#71927d}.quote-actions{display:flex;align-items:center;gap:12px;margin-top:13px}.refresh-quote{padding:7px 12px;border:1px solid #c9d7c4;background:transparent;border-radius:5px;font-size:10px;color:#42644d}.payment-address{margin-top:20px}.address-row{padding:11px 12px;background:#eff3ea;border:1px solid #d8e3d2;border-radius:6px;margin:8px 0;display:flex;align-items:center;gap:8px}.address-row code{font:10px/1.8 'Consolas',monospace;overflow-wrap:anywhere;word-break:break-all;user-select:all;flex:1;min-width:0}.network-note{font-size:10px;color:#7c897a;margin:0 0 17px}.wallet-link{width:100%;background:#1a3730!important;color:#e0f5e5!important;justify-content:space-between;gap:12px;font-size:11px;padding:12px 16px}.payment-ready[hidden],#paymentReady[hidden],#refreshQuote[hidden]{display:none!important}.checkout-footer{border-top:1px solid #dae4d6;margin-top:25px;padding-top:21px}.checkout-footer h3{font-size:14px;margin-bottom:8px}.checkout-footer p{font-size:11px;line-height:1.8;margin-bottom:13px;max-width:670px}.checkout-footer-actions{display:flex;align-items:center;gap:17px;flex-wrap:wrap}.checkout-footer-actions .button{font-size:11px;padding:10px 16px;border-color:#c8d7c5}.checkout-footer-actions .text-link{font-size:11px}.checkout-copy-status{min-height:19px;font-size:11px;margin:12px 0 0;color:#368064}.checkout-footer small{display:block;color:#7c8e7c;font-size:9px;margin-top:7px}.checkout-footer button:disabled{opacity:.4;cursor:default}
#checkoutDialog{color-scheme:light}#checkoutDialog p{color:#59725f}#checkoutDialog .quote-status.error{color:#9f4b46}#checkoutDialog .checkout-copy-status{color:#368064}#checkoutDialog .button.ghost{color:#355d49;background:#eef3e8;border-color:#c8d7c5}#checkoutDialog .button.ghost:hover{background:#e3eddd}#checkoutDialog .text-link{color:#355d49;border-bottom:1px solid #b4c7b4;padding-bottom:4px}#checkoutDialog .solana-symbol{width:19px;height:19px;color:#9dedd0}#checkoutDialog .copy-small:disabled{opacity:.5;cursor:default}#checkoutDialog :focus-visible{outline-color:#418465}
@keyframes checkout-in{from{opacity:0;transform:translateY(14px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:780px){.checkout-header{padding:24px 22px 18px}.checkout-header h2{font-size:25px}.checkout-body{padding:20px 22px}.payment-ready{grid-template-columns:1fr;gap:22px}.payment-qr{max-width:230px;justify-self:center;order:2}.payment-data{order:1}.sol-amount strong{font-size:28px}.quote-status{font-size:12px}.checkout-notice{font-size:11px}.checkout-footer-actions{align-items:stretch;flex-direction:column;gap:12px}.checkout-footer-actions .text-link{align-self:center}.checkout-footer p{font-size:12px}.address-row code{font-size:11px}.checkout-summary>strong{font-size:26px}.network-note{font-size:11px}#checkoutDialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px);border-radius:14px}}
@media(prefers-reduced-motion:reduce){#checkoutDialog[open],.quote-status.loading:before{animation:none}}
