:root{color-scheme:light;font-family:Inter,"Segoe UI",Arial,sans-serif;color:#18232f;background:#f4f5f7;--blue:#275bce;--muted:#536270}
*{box-sizing:border-box}[hidden]{display:none!important}
body{margin:0;min-height:100vh;min-height:100svh;display:grid;place-items:center;padding:28px 18px;font-size:15px;line-height:1.5}
main{width:min(100%,560px);background:white;border:1px solid #ebedf0;border-radius:18px;padding:32px;box-shadow:0 12px 44px -20px #2334492b}
.eyebrow{display:inline-block;font-size:10px;line-height:18px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:#344f76;background:#eff4fb;border-radius:10px;padding:1px 9px}
h1{font-size:clamp(28px,4.6vw,34px);line-height:1.13;font-weight:680;letter-spacing:-1.3px;margin:12px 0 20px;overflow-wrap:anywhere}
h2{font-size:18px;line-height:1.3;margin:23px 0 11px;letter-spacing:-.4px}
.money{display:flex;align-items:center;gap:16px;min-height:64px;padding:12px 17px;border:1px solid transparent;border-radius:10px;background:#f6f7f9}
.money>span{font-size:15px;font-weight:700}.money strong,.money input{font-size:24px;line-height:1.2;font-weight:620;letter-spacing:-.6px;font-variant-numeric:tabular-nums}
.money input{flex:1;min-width:0;background:transparent;border:0;padding:3px 0;height:38px;color:#162535}
.money input:focus-visible{outline:0}.input-money:focus-within{box-shadow:0 0 0 2px var(--blue)}
.hint,#intro,#ref-line{font-size:14px;color:var(--muted);margin:10px 0 0}#ref-line span{font-weight:600;color:#283847;overflow-wrap:anywhere}
details{margin-top:8px;font-size:13px}summary{cursor:pointer;display:list-item;width:fit-content;color:#354c68}summary span{color:var(--muted)}
details input{margin-top:8px}.method{width:fit-content;min-width:178px;display:grid;justify-items:center;gap:7px;border:1px solid #cbd1d8;border-radius:12px;padding:12px 16px;font-size:13px;font-weight:650}
.card-icon{display:block;width:29px;height:20px;border-radius:4px;position:relative;background:linear-gradient(180deg,#a2d5b9 0 27%,#377956 28% 50%,#59a87d 51%)}.card-icon:after{content:"";position:absolute;left:4px;bottom:3px;width:6px;height:4px;background:#ebde92;border-radius:1px}
button{width:100%;min-height:50px;border:0;border-radius:9px;background:var(--blue);color:white;font:650 16px/1.35 Inter,"Segoe UI",Arial,sans-serif;margin:23px 0 0;padding:13px 12px;cursor:pointer}
button:hover{background:#194ab4}button:disabled{opacity:.65;cursor:wait}
.hosted,input{height:47px;width:100%;min-width:0;background:white;border:1px solid #aeb9c4;border-radius:8px}
input{font:400 16px/1.4 Inter,"Segoe UI",Arial,sans-serif;padding:0 12px}
.hosted>*{display:block;width:100%;height:100%}.sample{font-size:15px;font-weight:400;line-height:45px;padding:0 12px;color:#647381}
.fine,#notice,#status,#card-status{font-size:13px;color:var(--muted);margin:12px 0 0}
#notice{background:#f0f5fc;padding:8px 12px;border-radius:7px}.fine a{color:#235398}#status:empty{margin:0}
:focus-visible,.hosted:focus-within{outline:3px solid #4475ca;outline-offset:2px}
.sr-only{position:absolute;clip-path:inset(50%);height:1px;width:1px;overflow:hidden;white-space:nowrap}
#shade{position:fixed;inset:0;z-index:5;background:rgb(24 35 52 / 43%)}
body:has(#card-dialog[open]){overflow:hidden}
#card-dialog{position:fixed;inset:0;z-index:6;width:min(552px,calc(100% - 32px));height:fit-content;max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain;margin:auto;border:0;border-radius:18px;padding:30px;color:#18232f;background:#fff;box-shadow:0 20px 65px -24px #18233260}
.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:15px}
#card-title{margin:0;font-size:26px;line-height:1.25;letter-spacing:-.65px}
#close-card{margin:0 -5px 0 0;padding:0;width:36px;min-height:36px;background:transparent;color:#56677a;font:500 27px/1 Arial,sans-serif}
#close-card:hover{background:#f1f4f8}
#card-subtitle{margin:4px 0 32px;color:#637083;font-size:16px}
.payment-total{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:18px;border-bottom:1px solid #e0e5ec;padding:6px 0 17px;margin-bottom:15px}
.payment-total strong{font-variant-numeric:tabular-nums}
.card-fields{display:grid;gap:11px}.card-fields .hosted{height:51px;border-color:#becbd9;border-radius:7px;overflow:hidden}
.card-fields .sample{display:flex;align-items:center;height:100%;padding:0 16px;font-size:17px;line-height:1.3}
#card-pay{font-size:18px;margin-top:27px;min-height:54px}
.merchant-settings{width:min(100%,760px);padding:clamp(22px,4.5vw,42px);font-size:1rem}
.merchant-settings header,.link-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.merchant-settings header{justify-content:space-between}.merchant-settings h1{font-size:clamp(1.7rem,4vw,2.2rem);margin:0}
.merchant-settings p{color:var(--muted);margin:18px 0}.merchant-settings label{display:block;margin:18px 0 7px;font-weight:550}
.merchant-settings input{height:48px}.merchant-settings form button,.merchant-settings .link-actions button{width:auto;min-height:44px;margin:16px 0 0;padding:10px 19px}
.merchant-settings .quiet-action,.merchant-settings .link-actions button{border-radius:8px;color:#174891;background:#edf2fa;font-weight:600}
.merchant-settings .quiet-action{padding:8px 15px;text-decoration:none}.merchant-settings .link-actions button{margin:0}
.merchant-settings .link-actions button:disabled{cursor:default}.merchant-settings .link-actions{margin-top:12px;font-size:.92rem}
.merchant-settings .link-actions a,#merchant-access{color:var(--blue);text-underline-offset:3px}
.merchant-settings .link-section{margin-top:26px;border-top:1px solid #dde3ec;padding-top:4px}
#merchant-access{display:inline-block;margin-top:24px;font-size:.875rem}
@media(max-width:520px){body{padding:18px 14px}main{padding:25px 21px;border-radius:15px}.money{min-height:58px}#card-dialog{padding:24px 20px}#card-subtitle{margin-bottom:24px}}
