*{box-sizing:border-box}body{margin:0;min-height:100dvh;display:grid;place-items:center;background:#f6f8fb;color:#293449;font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}.payment-shell{position:relative;isolation:isolate;width:980px;max-width:calc(100vw - 64px);min-height:600px;background:white;box-shadow:0 12px 45px #26344b0c;border-radius:12px;padding:58px 80px 26px;overflow:hidden}header{display:flex;align-items:center;gap:16px;margin-bottom:34px}header img{width:130px;height:30px;object-fit:contain;object-position:left}.mock-label{font-size:10px;color:#8d98a8;background:#f3f5f8;border-radius:5px;padding:5px 7px}.payment-layout{display:grid;grid-template-columns:minmax(0,1fr) 265px;gap:72px;align-items:start}h1{font-size:21px;line-height:29px;margin:0 0 10px;letter-spacing:-.3px}p.intro{font-size:12px;line-height:19px;color:#8994a6;margin:0 0 24px}label{display:block;font-size:12px;font-weight:600;line-height:18px;color:#4f5d72;margin-bottom:6px}input{width:100%;height:42px;border:1px solid #edf0f5;border-radius:7px;background:#f8f9fc;color:#253048;font-size:14px;padding:10px 12px;outline:0;transition:border-color .15s,box-shadow .15s}input::placeholder{color:#b2bac6}input:focus{border-color:#e46965;box-shadow:0 0 0 3px #e42a2410;background:white}input[aria-invalid=true]{border-color:#e42a24;background:#fff7f6}.field-error{min-height:14px;font-size:10px;line-height:14px;color:#c82f29;margin:3px 0 10px}.number-field,.cvc-field{position:relative}.number-field input{padding-right:80px;letter-spacing:1px}#cardBrand{position:absolute;right:12px;top:14px;font-size:10px;color:#8c97a9;font-weight:700}.split{display:grid;grid-template-columns:1fr 1fr;gap:20px}.cvc-field input{padding-right:42px}.cvc-field button{position:absolute;right:8px;top:10px;border:0;background:none;color:#96a1b2;padding:0;cursor:pointer}.privacy{display:flex;gap:6px;font-size:10px;line-height:16px;color:#96a0af;margin:8px 0 18px}.privacy svg{flex-shrink:0}.primary{width:100%;min-height:44px;background:#e42a24;color:white;border:0;border-radius:7px;padding:12px;font-size:13px;font-weight:600;cursor:pointer}.primary:hover{background:#cf2823}.primary:disabled{opacity:.5;cursor:wait}.secondary{border:0;background:none;color:#8a96a8;font-size:12px;line-height:20px;padding:12px;cursor:pointer}.demo-hint{font-size:10px;line-height:16px;color:#9aa4b3;margin:10px 0}.demo-hint button{border:0;padding:0;font:inherit;color:#d84741;text-decoration:underline;background:none;cursor:pointer}.order-ticket{position:relative;background:#eef2f7;padding:23px 22px 16px;border-radius:6px;color:#4c5b72;margin-top:2px}.order-ticket:before{content:'';position:absolute;width:48px;height:14px;background:#f7dedb99;left:calc(50% - 24px);top:-7px;transform:rotate(-6deg)}.order-ticket h2{font-size:15px;line-height:20px;margin:0 0 22px}.order-ticket dl{margin:0 0 26px}.order-ticket dl>div{display:flex;justify-content:space-between;gap:12px;font-size:11px;line-height:18px;margin:12px 0}.order-ticket dt{color:#93a0b3}.order-ticket dd{margin:0;text-align:right;max-width:125px}.ticket-bottom{position:relative;border-top:1px dashed #c8d0de;margin:0 -22px;padding:17px 22px 0}.ticket-bottom:before,.ticket-bottom:after{content:'';position:absolute;width:16px;height:16px;background:white;border-radius:50%;top:-8px;left:-8px}.ticket-bottom:after{left:auto;right:-8px}.ticket-bottom>span{display:block;color:#8290a5;font-size:10px;margin-bottom:3px}.ticket-bottom strong{font-size:21px;line-height:28px;font-weight:600}.ticket-bottom svg{position:absolute;right:22px;top:22px;color:#8c9ab1}.ticket-note{font-size:10px;line-height:16px;color:#96a2b4;margin:18px 0 0}.decor{position:absolute;z-index:-1;width:150px;height:120px;opacity:.35;background:linear-gradient(135deg,#e42a24 0 24%,transparent 24% 50%,#f6d8d6 50% 75%,transparent 75%);pointer-events:none}.decor.top{left:0;top:0;transform:rotate(180deg)}.decor.bottom{right:0;bottom:0}footer{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#abb3bf;margin-top:40px;line-height:18px}footer a{color:#97a3b5;text-decoration:none}.state-screen{text-align:center;min-height:340px;display:flex;flex-direction:column;align-items:center;justify-content:center}.state-screen[hidden],.payment-layout[hidden]{display:none}.state-screen h1{font-size:20px}.state-screen p{font-size:12px;line-height:20px;color:#8b97a9;margin:4px 0}.state-screen .primary{max-width:280px;margin-top:26px}.spinner{width:46px;height:46px;border:3px solid #edf0f5;border-bottom-color:#e42a24;border-radius:50%;animation:spin .8s linear infinite;margin-bottom:28px}.success-mark{color:#e42a24;margin-bottom:20px}@keyframes spin{to{transform:rotate(360deg)}}:focus-visible{outline:2px solid #e42a24;outline-offset:3px}@media(max-width:700px){body{display:block;background:white}.payment-shell{width:100%;max-width:none;min-height:100dvh;padding:28px 24px 22px;border-radius:0;box-shadow:none}header{margin-bottom:26px;flex-wrap:wrap;gap:10px}.payment-layout{display:flex;flex-direction:column;gap:28px}.order-ticket{order:-1;width:100%;margin:0;padding:18px 20px 14px}.order-ticket h2{margin-bottom:12px}.order-ticket dl{margin-bottom:15px}.order-ticket dl>div{margin:6px 0}.ticket-bottom{margin:0 -20px;padding-left:20px;padding-right:20px}.ticket-note{margin-top:12px}.form-column{width:100%}h1{font-size:20px;line-height:27px}p.intro{font-size:12px;margin-bottom:20px}input{height:46px;font-size:16px}.primary{min-height:48px;font-size:14px}.split{gap:16px}.number-field #cardBrand{top:16px}.cvc-field button{top:14px}.state-screen{min-height:60dvh}.state-screen h1{font-size:21px}.decor{width:110px;height:100px}footer{font-size:10px;margin-top:30px}.privacy,.demo-hint{font-size:11px;line-height:17px}}
@media(prefers-reduced-motion:reduce){.spinner{animation-duration:2s}}

#cardBrand{display:flex;align-items:center;justify-content:flex-end;right:12px;top:9px;width:64px;height:25px;font-size:10px}#cardBrand img{display:block;max-width:60px;max-height:24px;object-fit:contain}.number-field input{padding-right:86px}@media(max-width:700px){.number-field #cardBrand{top:11px}}

/* Original reference vectors and 1241x780 glass panel geometry. */
body{display:flex;align-items:center;justify-content:center;min-height:100dvh;padding:8.5vh 0;background:white url('/background-desktop.svg?v=40') center center/cover no-repeat}
.payment-shell{width:1241px;max-width:calc(100vw - 14%);min-height:780px;padding:98px 110px 38px 140px;border:1px solid #e8ebf1;border-radius:16px;background:rgba(255,255,255,.75);box-shadow:0 10px 30px #26344b09;backdrop-filter:blur(40px);overflow:visible}.decor{display:none}
header{max-width:432px;min-height:40px;margin-bottom:38px;gap:15px}header img{width:150px;height:35px}.mock-label{font-size:9px;white-space:nowrap;background:#f6f7f9;color:#a4adba}
.payment-layout{display:block}.form-column{width:432px;max-width:calc(100% - 460px)}
.form-column h1{display:flex;align-items:center;gap:14px;min-height:40px;font-size:19px;font-weight:600;line-height:26px;margin:0 0 18px}.form-column h1:before{content:'';flex:0 0 40px;width:40px;height:40px;border-radius:14px;background:#e42a24 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5'%3E%3Crect x='3' y='5' width='18' height='14' rx='3'/%3E%3Cpath d='M3 10h18M7 15h4'/%3E%3C/svg%3E") center/24px no-repeat}
p.intro{font-size:12px;line-height:19px;margin-bottom:24px;color:#7c87aa}label{font-size:13px;line-height:18px;margin-bottom:9px;color:#253058;font-weight:500}input{height:48px;border:1px solid #e8ebf1;border-radius:8px;background:#f8f9fb;color:#253058;font-size:14px;padding:12px 15px}.field-error{min-height:16px;margin:3px 0 14px;font-size:10px}.number-field input:focus{background:#fff2f0;border-color:#e42a24}.split{grid-template-columns:147px minmax(0,1fr);gap:40px}.split>div:first-child{order:2}.split>div:last-child{order:1}#cardBrand{top:12px}.cvc-field button{top:15px}.privacy{margin:4px 0 16px;font-size:10px}.primary{height:48px;min-height:48px;border-radius:8px;font-size:13px}.demo-hint{font-size:10px;margin-top:8px}
.order-ticket{position:absolute;right:110px;top:98px;width:371px;min-height:510px;padding:24px 24px 20px;background:#eaf0f6;border-radius:16px;color:#253058}.order-ticket:before{width:64px;height:20px;left:calc(50% - 32px);top:-8px;background:#efd9d4b3;transform:rotate(-7deg)}.order-ticket h2{font-size:17px;font-weight:600;line-height:24px;margin-bottom:32px}.order-ticket dl{margin-bottom:120px}.order-ticket dl>div{font-size:13px;line-height:20px;margin:17px 0;gap:20px}.order-ticket dt{color:#7c87aa}.order-ticket dd{max-width:180px}.ticket-bottom{margin:0 -24px;padding:23px 24px 0;border-top:1px dashed #bcc9d9}.ticket-bottom>span{font-size:12px}.ticket-bottom strong{font-size:28px;line-height:36px}.ticket-bottom svg{right:24px;top:28px;width:38px;height:51px;color:#7c87aa}.ticket-bottom:before,.ticket-bottom:after{width:24px;height:24px;top:-12px;background:white;left:-12px}.ticket-bottom:after{left:auto;right:-12px}.ticket-note{font-size:10px;line-height:16px;color:#8794aa;margin-top:20px}
footer{margin-top:32px;font-size:10px;max-width:432px}.state-screen{min-height:450px;margin-top:-15px}.state-screen h1{font-size:20px;font-weight:500;line-height:29px}.state-screen p{font-size:12px}.spinner{order:3;width:64px;height:64px;border-width:4px;margin:44px 0 20px}.success-mark{order:3;margin:36px 0 18px}.state-screen .primary{order:4}.state-screen .secondary{order:5}.state-screen~footer{margin-top:26px}
@media(min-width:701px) and (max-width:1250px){body{padding:7vh 0}.payment-shell{max-width:calc(100vw - 80px);padding:74px 70px 32px;min-height:720px}.form-column{width:432px;max-width:calc(100% - 380px)}.order-ticket{right:70px;top:74px;width:300px;min-height:500px}.split{gap:20px;grid-template-columns:1fr 1.4fr}.form-column h1{font-size:17px}header{max-width:350px}}
@media(min-width:701px) and (max-width:950px){.payment-shell{padding:54px 40px 30px;max-width:calc(100vw - 48px)}.order-ticket{right:40px;top:54px;width:245px;padding:22px 18px}.form-column{max-width:calc(100% - 280px)}.order-ticket dl>div{font-size:11px}.ticket-bottom{margin-left:-18px;margin-right:-18px;padding-left:18px;padding-right:18px}header img{width:125px}.mock-label{font-size:8px}.form-column h1:before{width:34px;height:34px;flex-basis:34px}.form-column h1{font-size:15px;gap:8px}}
@media(max-width:700px){
body{display:block;padding:124px 16px 114px;min-height:100dvh;background:white url('/background-mobile.svg?v=40') center top/100% 100% no-repeat}
.payment-shell{width:100%;max-width:none;min-height:1008px;padding:34px 16px 24px;border-radius:16px;background:rgba(255,255,255,.75);box-shadow:0 6px 22px #26344b0b;backdrop-filter:blur(24px);overflow:visible}
header{justify-content:center;margin:0 0 38px;max-width:none;min-height:35px;gap:6px;flex-wrap:wrap}header img{width:145px;height:34px}.mock-label{font-size:8px}.payment-layout{display:flex;flex-direction:column;gap:24px}.form-column{width:100%;max-width:none}
.order-ticket{position:relative;inset:auto;order:-1;width:100%;min-height:0;margin:0;padding:20px 20px 16px;border-radius:16px}.order-ticket h2{font-size:15px;margin:0 0 18px}.order-ticket dl{margin:0 0 24px}.order-ticket dl>div{font-size:11px;line-height:17px;margin:9px 0;gap:12px}.order-ticket dd{max-width:170px}.ticket-bottom{margin:0 -20px;padding:18px 20px 0}.ticket-bottom>span{font-size:10px}.ticket-bottom strong{font-size:24px;line-height:31px}.ticket-bottom svg{width:29px;height:38px;right:20px;top:20px}.ticket-bottom:before,.ticket-bottom:after{width:20px;height:20px;top:-10px;left:-10px}.ticket-bottom:after{left:auto;right:-10px}.ticket-note{font-size:9px;line-height:15px;margin-top:12px}
.form-column h1{font-size:17px;line-height:23px;margin-bottom:10px;gap:11px}.form-column h1:before{width:34px;height:34px;flex-basis:34px;border-radius:12px;background-size:22px}p.intro{font-size:11px;line-height:17px;margin-bottom:22px}label{font-size:12px;margin-bottom:8px}input{height:48px;font-size:16px;padding:12px;border-radius:8px}.split{grid-template-columns:1fr 1.45fr;gap:20px}.field-error{margin-bottom:14px;min-height:14px;font-size:9px}.privacy{font-size:9px;line-height:15px;margin-top:0}.primary{font-size:13px}.demo-hint{font-size:10px;line-height:16px}.number-field #cardBrand{top:12px}.cvc-field button{top:15px}.state-screen{min-height:600px;margin-top:0}.state-screen h1{font-size:16px;line-height:24px}.state-screen p{font-size:11px;line-height:18px}.spinner{width:58px;height:58px;margin-top:44px}.success-mark{margin-top:32px}footer{margin-top:26px;font-size:9px;line-height:15px;max-width:none;flex-wrap:wrap;justify-content:center;gap:12px}
}

.form-column h1:before{background-image:url('/payment-icon.svg')}
.order-ticket{min-height:584px}.order-ticket dl{background:#e2ebf4;border-radius:12px;padding:12px 16px}.order-ticket dl>div{margin:11px 0}.ticket-note{display:none}
@media(min-width:701px){header{margin-bottom:26px}.form-column h1{margin-bottom:12px}p.intro{font-size:11px;line-height:18px;margin-bottom:18px}.order-ticket{top:98px}.payment-shell{min-height:780px}}
@media(min-width:701px) and (max-width:1250px){.order-ticket{top:74px}}
@media(min-width:701px) and (max-width:950px){.order-ticket{top:54px}}
@media(max-width:700px){.payment-shell{padding-left:19px;padding-right:19px}header{margin-bottom:50px}.payment-layout{gap:40px}.order-ticket{width:calc(100% - 14px);margin-left:7px;min-height:293px}.order-ticket h2{margin-bottom:10px}.order-ticket dl{padding:10px 14px;margin-bottom:24px;border-radius:10px}.order-ticket dl>div{margin:5px 0;font-size:11px}.order-ticket dd{max-width:150px}.order-ticket dt{white-space:nowrap}.order-ticket .ticket-bottom{margin-top:0}.form-column h1{margin-bottom:10px}}

body[data-screen=loadingScreen] header,body[data-screen=successScreen] header{justify-content:center;max-width:none}body[data-screen=loadingScreen] footer,body[data-screen=successScreen] footer{max-width:none;justify-content:center;gap:24px}@media(max-width:700px){body[data-screen=loadingScreen] .payment-shell,body[data-screen=successScreen] .payment-shell{min-height:610px}body[data-screen=loadingScreen] .state-screen,body[data-screen=successScreen] .state-screen{min-height:410px}body[data-screen=loadingScreen] header,body[data-screen=successScreen] header{margin-bottom:26px}}
.mock-label{position:absolute;top:20px;right:24px}header{position:static}
@media(max-width:700px){.mock-label{top:12px;right:12px;font-size:7px}header{justify-content:center}.order-ticket{padding-left:24px;padding-right:24px}.order-ticket dl{margin-left:3px;margin-right:3px}.ticket-bottom{margin-left:-24px;margin-right:-24px;padding-left:24px;padding-right:24px}}

@media(max-width:700px){body[data-screen=loadingScreen],body[data-screen=successScreen]{background-image:url('/background-mobile-state.svg?v=40c')}body[data-screen=loadingScreen] .payment-shell,body[data-screen=successScreen] .payment-shell{padding-top:48px}body[data-screen=loadingScreen] .state-screen,body[data-screen=successScreen] .state-screen{min-height:336px}}
