/* Reference wallet layout. Explicit safe areas and normal-flow sections avoid clipped headers. */
html.swift-design body #swiftPayPage,html.swift-design:not(.swift-keyboard-open) body #swiftPayPage.shop-active-page{position:fixed!important;inset:0!important;width:100%!important;height:100dvh!important;max-height:100dvh!important;overflow-y:auto!important;overflow-x:hidden!important;box-sizing:border-box!important;padding:max(24px,env(safe-area-inset-top,0px)) 18px calc(28px + env(safe-area-inset-bottom,0px))!important;background:#fcfaf7!important;mask-image:none!important;-webkit-mask-image:none!important;scroll-padding-top:24px!important}
html.swift-design body #swiftPayPage[hidden]{display:none!important}
html.swift-design body #swiftPayPage .swiftpay-shell{display:flex!important;flex-direction:column!important;gap:0!important;width:100%!important;max-width:660px!important;margin:0 auto!important;padding:0!important}
html.swift-design body #swiftPayPage .swiftpay-header{position:relative!important;inset:auto!important;display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px!important;align-items:center!important;gap:12px!important;margin:0 0 24px!important;padding:12px 0!important;border:0!important;background:transparent!important;box-shadow:none!important;background-image:none!important}
html.swift-design body #swiftPayPage .swiftpay-header>div{text-align:center!important}html.swift-design body #swiftPayPage .swiftpay-header h1{font-size:25px!important;letter-spacing:-.6px!important;line-height:1.2!important;margin:0!important;font-weight:750!important}html.swift-design body #swiftPayPage .swiftpay-header p,html.swift-design body #swiftPayPage .swiftpay-header>span{display:none!important}
html.swift-design body #swiftPayPage .swiftpay-header>button{display:grid!important;place-items:center!important;width:44px!important;height:44px!important;padding:8px!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#18221b!important;border-radius:12px!important}#swiftPayPage .swiftpay-header button svg{width:26px;height:26px}
html.swift-design body #swiftPayPage .sp-card-wrap{display:block!important;max-width:none!important;min-width:0!important;margin:0!important}
html.swift-design body #swiftPayPage .swiftpay-card{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:repeat(5,auto)!important;gap:0!important;max-width:none!important;min-height:200px!important;border-radius:21px!important;padding:22px 22px 20px!important;box-shadow:none!important}
html.swift-design body #swiftPayPage .swiftpay-card-top{grid-column:1/-1;grid-row:1;margin:0 0 18px!important;gap:12px}html.swift-design body #swiftPayPage .swiftpay-card-top>strong{font-size:27px!important;letter-spacing:-1px!important}html.swift-design body #swiftPayPage .swiftpay-card-top>span{font-size:10px!important;border:0!important;padding:0!important;white-space:nowrap;letter-spacing:.03em;color:#dadbd7}
html.swift-design body #swiftPayPage .swiftpay-card>p{grid-column:1/-1;grid-row:2;margin:0 0 4px!important;font-size:13px!important;line-height:1.5!important;letter-spacing:0!important;text-transform:none!important;font-weight:400!important;color:#eceee8!important}
html.swift-design body #swiftPayPage .swiftpay-card-amount{grid-column:1/-1;grid-row:3;font-size:39px!important;line-height:1.15!important;letter-spacing:-1.5px!important;margin:0!important}
html.swift-design body #swiftPayPage .swiftpay-card>[data-held]{grid-column:1/-1;grid-row:4;margin:8px 0 0!important;font-size:10px!important;line-height:1.5!important;color:#d4dacd!important}html.swift-design body #swiftPayPage .swiftpay-card>[data-held]:empty{display:none!important}
html.swift-design body #swiftPayPage .swiftpay-card-bottom{grid-column:1;grid-row:5;margin:22px 12px 0 0!important;align-items:center!important}html.swift-design body #swiftPayPage .swiftpay-card-bottom small,html.swift-design body #swiftPayPage .sp-contactless-mark{display:none!important}html.swift-design body #swiftPayPage .swiftpay-card-bottom strong{font-size:13px!important;font-weight:600!important;letter-spacing:.04em!important;text-transform:uppercase!important}
html.swift-design body #swiftPayPage .sp-card-number{grid-column:2;grid-row:5;align-self:end;margin:22px 0 0!important;padding:0!important}html.swift-design body #swiftPayPage .sp-card-number small{display:none!important}html.swift-design body #swiftPayPage .sp-card-number>span{font-size:14px!important;line-height:1.4!important;letter-spacing:2px!important;white-space:nowrap}
html.swift-design body #swiftPayPage .sp-palette{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:12px!important;width:100%!important;max-width:none!important;margin:20px 0 24px!important;padding:0!important;border:0!important;min-width:0!important;position:relative}
html.swift-design body #swiftPayPage .sp-palette legend{float:left!important;width:auto!important;margin:0 auto 0 0!important;padding:0!important;font-size:14px!important;line-height:40px!important;font-weight:550!important;color:#222b20!important;letter-spacing:0!important}
html.swift-design body #swiftPayPage .sp-colour{display:grid!important;place-items:center!important;flex:0 0 36px!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;padding:4px!important;border:2px solid transparent!important;border-radius:50%!important;background:transparent!important;font-size:0!important;line-height:0!important;box-shadow:none!important}
html.swift-design body #swiftPayPage .sp-colour:before{width:24px!important;height:24px!important;border:2px solid #fff!important;border-radius:50%!important;box-shadow:0 0 0 1px #e1e4dc!important}html.swift-design body #swiftPayPage .sp-colour[aria-pressed=true]{border-color:#263e2d!important}
html.swift-design body #swiftPayPage .swiftpay-card-pay{display:block!important;width:100%!important;max-width:none!important;margin:0 0 28px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
html.swift-design body #swiftPayPage .sp-slide{height:60px!important;min-height:60px!important;width:100%!important;margin:0!important;border-radius:99px!important;background:#173d2e!important}html.swift-design body #swiftPayPage .sp-slide>span{font-size:18px!important;font-weight:650!important}
html.swift-design body #swiftPayPage .sp-pay-options{margin:12px 0 0!important}html.swift-design body #swiftPayPage [hidden]{display:none!important}
html.swift-design body #swiftPayPage .wallet-move-money{margin:0 0 28px!important}html.swift-design body #swiftPayPage .wallet-move-money>h2{font-size:21px!important;letter-spacing:-.4px!important;margin:0 0 14px!important;font-weight:750!important}
html.swift-design body #swiftPayPage .wallet-move-grid{display:grid!important;grid-template-columns:1fr 1fr!important;border:1px solid #dfe4d8!important;border-radius:17px!important;overflow:hidden!important;background:#fff!important}
html.swift-design body #swiftPayPage .wallet-move-grid>button,html.swift-design body #swiftPayPage .wallet-move-grid>#swiftAddFundsButton{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;width:100%!important;min-width:0!important;min-height:68px!important;grid-column:auto!important;margin:0!important;padding:14px!important;border:0!important;border-radius:0!important;background:transparent!important;color:#1e2b20!important;box-shadow:none!important;text-align:left!important;font-family:inherit!important;font-size:13px!important;font-weight:650!important;line-height:1.4!important}
html.swift-design body #swiftPayPage .wallet-move-grid>button:nth-child(odd){border-right:1px solid #e3e7dd!important}html.swift-design body #swiftPayPage .wallet-move-grid>button:nth-child(-n+2){border-bottom:1px solid #e3e7dd!important}#swiftPayPage .wallet-action svg{width:24px!important;height:24px!important;flex:0 0 24px}#swiftPayPage .wallet-move-grid>#swiftAddFundsButton>span:last-child{margin-left:0!important;font-size:13px!important}#swiftPayPage .wallet-action span{overflow-wrap:anywhere}
html.swift-design body #swiftPayPage .wallet-ready-section{margin:0!important;padding:0!important;border:0!important;background:transparent!important}html.swift-design body #swiftPayPage .swiftpay-section-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:0 0 14px!important;padding:0!important}html.swift-design body #swiftPayPage .swiftpay-section-heading h2{font-size:20px!important;letter-spacing:-.4px!important;font-weight:750!important}html.swift-design body #swiftPayPage .swiftpay-section-heading>span{font-size:11px!important;max-width:none!important;text-align:right!important;color:#7f8778!important}
html.swift-design body #swiftPayPage .wallet-ready-section [data-requests]>.swiftpay-empty{display:block!important;border:1px solid #e0e6d8!important;border-radius:18px!important;background:#fff!important;text-align:center!important;padding:24px 16px!important;margin:0!important;font-size:17px!important;font-weight:650!important;color:#202c20!important;line-height:1.5!important}
#swiftPayPage .wallet-ready-section [data-requests]>.swiftpay-empty:before{content:'';display:block;width:44px;height:48px;margin:0 auto 12px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%232d432f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4h25v38l-6-3-6 3-6-3-7 3V4Z'/%3E%3Cpath d='M18 13h13m-13 7h9m-9 10 5 4 9-10'/%3E%3C/svg%3E") center/contain no-repeat}
#swiftPayPage .wallet-ready-section [data-requests]>.swiftpay-empty:after{content:'Payment requests will appear here.';display:block;margin-top:6px;font-size:12px;font-weight:400;color:#8b9483}
html.swift-design body #swiftPayPage .swiftpay-footnote{font-size:12px!important;line-height:1.7!important;color:#858e7e!important;text-align:center!important;margin:24px 10px 0!important}
#swiftWalletSettings{position:fixed!important;inset:0!important;width:min(440px,calc(100vw - 32px))!important;max-height:calc(100dvh - max(64px,env(safe-area-inset-top,0px)) - 24px)!important;height:fit-content!important;margin:auto!important;padding:22px!important;border:1px solid #e0e7d8!important;border-radius:22px!important;background:#fff!important;color:#243320!important;overflow:auto!important;box-sizing:border-box;font-family:inherit}#swiftWalletSettings::backdrop{background:#14231cc7}#swiftWalletSettings header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}#swiftWalletSettings h2{font-size:21px;margin:0;letter-spacing:-.5px}#swiftWalletSettings [data-close]{width:38px;height:38px;border:0;border-radius:50%;background:#f1f5ed;font-size:25px;color:#253b26}#swiftWalletSettings>button{display:block;width:100%;min-height:46px;padding:12px 14px;text-align:left;margin:8px 0;border:1px solid #e2e8da;border-radius:10px;background:#fafbf7;font:inherit;font-size:13px;color:#2e452b}#swiftWalletSettings .wallet-history-settings{margin-top:22px}#swiftWalletSettings .wallet-settings-status{font-size:12px;color:#69815c}#swiftWalletSettings .sp-activity summary{font-size:14px;font-weight:600}
@media(max-width:360px){html.swift-design body #swiftPayPage .sp-colour{flex-basis:30px!important;width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important}html.swift-design body #swiftPayPage .sp-palette{gap:7px!important}html.swift-design body #swiftPayPage .swiftpay-card{padding:20px 18px!important}html.swift-design body #swiftPayPage .wallet-move-grid>button{padding:12px 10px!important;font-size:12px!important;gap:7px!important}}
html.swift-design body #swiftPayPage .swiftpay-header,html.swift-design body #swiftPayPage .sp-card-wrap,html.swift-design body #swiftPayPage .swiftpay-card,html.swift-design body #swiftPayPage .wallet-move-money,html.swift-design body #swiftPayPage .wallet-move-grid,html.swift-design body #swiftPayPage .wallet-ready-section{width:100%!important;box-sizing:border-box!important;align-self:stretch!important;flex-shrink:0!important}

/* Balanced wallet header, real settings and an uninterrupted action cross. */
html.swift-design body #swiftPayPage .swiftpay-header{min-height:52px!important;flex-shrink:0!important;overflow:visible!important}
html.swift-design body #swiftPayPage .swiftpay-header>.wallet-settings-button{border:1px solid #e5e5e5!important;background:#fff!important;border-radius:50%!important;color:#171717!important}
html.swift-design body #swiftPayPage .sp-card-wrap{margin-bottom:24px!important}
html.swift-design body #swiftPayPage .wallet-move-grid{position:relative!important;gap:0!important;isolation:isolate}
html.swift-design body #swiftPayPage .wallet-move-grid:before,html.swift-design body #swiftPayPage .wallet-move-grid:after{content:'';position:absolute;z-index:2;background:#dedede;pointer-events:none}
html.swift-design body #swiftPayPage .wallet-move-grid:before{left:50%;top:0;bottom:0;width:1px}
html.swift-design body #swiftPayPage .wallet-move-grid:after{left:0;right:0;top:50%;height:1px}
html.swift-design body #swiftPayPage .wallet-move-grid>button,html.swift-design body #swiftPayPage .wallet-move-grid>#swiftAddFundsButton{border:0!important;justify-content:center!important;min-height:80px!important;font-weight:600!important;text-align:center!important;background:#fff!important;gap:10px!important}
html.swift-design body #swiftPayPage .wallet-move-grid>button:hover{background:#fafafa!important}
#swiftWalletSettings{color:#191919!important;border-color:#e5e5e5!important}#swiftWalletSettings::backdrop{background:#0006!important}
#swiftWalletSettings .wallet-settings-palette{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 24px;padding:0;border:0;min-width:0}
#swiftWalletSettings .wallet-settings-palette legend{float:none;width:100%;font-size:14px;font-weight:600;color:#222;margin-bottom:14px;padding:0}
#swiftWalletSettings .sp-colour{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 12px;border:1px solid #ddd;border-radius:12px;background:white;font:inherit;font-size:13px;color:#222}
#swiftWalletSettings .sp-colour:before{content:'';display:block;width:16px;height:16px;border-radius:50%;background:#191919;flex-shrink:0}
#swiftWalletSettings .sp-colour[data-colour=pink]:before{background:#ad4e7b}#swiftWalletSettings .sp-colour[data-colour=blue]:before{background:#285d9d}#swiftWalletSettings .sp-colour[data-colour=grey]:before{background:#77808a}
#swiftWalletSettings .sp-colour[aria-pressed=true]{border-color:#222;box-shadow:0 0 0 1px #222}#swiftWalletSettings>button{background:#fff!important;color:#222!important;border-color:#e5e5e5!important}
