/* Checkout: one composer, one recap, one payment action. Scoped to billing. */
.billing-checkout{max-width:1180px;color:#252642;font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased}
.billing-checkout *{box-sizing:border-box}
.billing-checkout h2,.billing-checkout h3{text-wrap:balance}
.billing-checkout p{text-wrap:pretty;line-height:1.55}
.billing-checkout .checkout-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 28px}
.billing-checkout .checkout-intro>p{font-size:16px;color:#586176;margin:0}
.billing-checkout .checkout-balance{display:flex;align-items:center;gap:14px;flex-shrink:0;padding:12px 18px;border-radius:12px;background:#eeedf7;font-size:14px;color:#545770}
.billing-checkout .checkout-balance strong{font-size:19px;color:#292746;font-weight:650;white-space:nowrap}
.billing-checkout .checkout-balance small{font-size:12px;font-weight:500}
.billing-checkout .bill-checkout-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(340px,1fr);gap:24px;align-items:start}
.billing-checkout .ws-panel{margin:0;padding:28px;border:0;border-radius:20px;background:#fff;box-shadow:0 0 0 1px #2420470a,0 2px 5px #24204704,0 12px 32px #24204706}
.billing-checkout #recharge{background:#fff;padding:28px;overflow:visible;isolation:auto}
.billing-checkout #recharge::before,.billing-checkout #recharge::after{display:none}
.billing-checkout .checkout-editor>header,.billing-checkout #payment-options>header{display:flex;align-items:center;gap:12px;margin:0 0 28px}
.billing-checkout h2{font-size:20px!important;line-height:1.3;letter-spacing:-.025em;margin:0;font-weight:650}
.billing-checkout .checkout-step{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#f0edf8;color:#6b53a6;font-size:12px;font-weight:650}
.billing-checkout #payment-options>header>svg{margin-left:auto;width:22px;height:22px;color:#81749e}
.billing-checkout #recharge .ws-funding-amount{display:block;color:#555b71;font-size:14px;font-weight:500}
.billing-checkout #recharge .ws-funding-input{display:flex;align-items:center;gap:12px;margin:10px 0 14px;padding:12px 16px;border:1px solid #dcd8ee;background:linear-gradient(115deg,#f5f3ff,#fbfaff 65%,#eff9fa);border-radius:12px;width:100%;box-shadow:inset 0 1px 0 #fff;transition:border-color .15s,box-shadow .15s}
.billing-checkout #recharge .ws-funding-input:focus-within{border-color:#8061be;box-shadow:0 0 0 3px #8061be20}
.billing-checkout #recharge .ws-funding-input input{width:100%;min-width:0;max-width:none;border:0;outline:0;background:transparent;box-shadow:none;padding:0;height:44px;min-height:44px;color:#44316a;font-size:32px;font-weight:600;letter-spacing:-.035em;font-variant-numeric:tabular-nums}
.billing-checkout #recharge .ws-funding-input>span{white-space:nowrap;color:#6b657c;font-size:24px}
.billing-checkout #recharge .ws-funding-input small{font-size:14px;font-weight:500}
.billing-checkout #recharge .ws-amounts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 12px}
.billing-checkout #recharge .ws-amounts button{--choice-color:#b9c6ed;position:relative;min-width:0;min-height:44px;padding:9px 8px 8px;border:1px solid #e3dfed;border-bottom:3px solid var(--choice-color);border-radius:10px;background:linear-gradient(#fff,#faf9ff);box-shadow:0 2px 4px #45317305;color:#4c4264;font-size:14px;font-weight:500;transition:background-color .15s,border-color .15s,box-shadow .15s,scale .15s}
.billing-checkout #recharge .ws-amounts button[data-ws-amount="2500"]{--choice-color:#b7b4ea}
.billing-checkout #recharge .ws-amounts button[data-ws-amount="5000"]{--choice-color:#a397df}
.billing-checkout #recharge .ws-amounts button[data-ws-amount="10000"]{--choice-color:#8967cf}
.billing-checkout #recharge .ws-amounts button[data-ws-amount="20000"]{--choice-color:#774fbe}
.billing-checkout #recharge .ws-amounts button[data-ws-amount="30000"]{--choice-color:#633ca6}
.billing-checkout #recharge .ws-amounts button strong{font-weight:550}
.billing-checkout #recharge .ws-amounts button[aria-pressed=true]{border-color:#7050bb;border-bottom-color:#6fd4d0;background:linear-gradient(115deg,#6142b0,#7a42ba);color:#fff;box-shadow:0 3px 8px #6441ad20,inset 0 1px 0 #ffffff24}
.billing-checkout .ws-choice-check{display:none}
.billing-checkout #recharge .ws-help{font-size:13px;color:#646a7d;margin:10px 0 0;line-height:1.55}
.billing-checkout .ws-schedule{margin:22px 0 0;padding:0;border:0}
.billing-checkout .checkout-schedule>details{padding:0 14px;border:1px solid #e7e0f3;border-radius:12px;background:linear-gradient(115deg,#f7f4fc,#fcfbff 70%,#f2fafa);box-shadow:inset 0 1px 0 #fff}
.billing-checkout summary{list-style:none;cursor:pointer;min-height:56px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.billing-checkout summary::-webkit-details-marker{display:none}
.billing-checkout .checkout-schedule summary{padding:14px 0;font-size:14px;color:#43365c}
.billing-checkout .checkout-schedule summary small{display:block;color:#6d7080;font-size:12px;margin-top:4px;font-weight:400}
.billing-checkout .checkout-schedule summary>strong{white-space:nowrap;font-size:13px;font-weight:600;color:#5e418c;background:#ece4f7;padding:7px 10px;border-radius:8px;box-shadow:inset 0 1px 0 #ffffff80}
.billing-checkout .checkout-schedule summary>strong>span{padding-left:10px}
.billing-checkout .checkout-duration-body{padding:0 0 20px}
.billing-checkout #recharge .ws-duration-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:16px 0}
.billing-checkout #recharge .ws-duration-options button{--choice-color:#d0c7e5;min-height:44px;min-width:0;padding:9px 4px 8px;border-radius:9px;border:1px solid #e4dfed;border-bottom:3px solid var(--choice-color);background:linear-gradient(#fff,#faf9ff);box-shadow:0 2px 4px #45317305;font-size:13px;font-weight:500;color:#514362;transition:border-color .15s,box-shadow .15s,scale .15s}
.billing-checkout #recharge .ws-duration-options button[data-ws-duration="3"]{--choice-color:#77c6c8}
.billing-checkout #recharge .ws-duration-options button[data-ws-duration="7"]{--choice-color:#9470cf}
.billing-checkout #recharge .ws-duration-options button[data-ws-duration="14"]{--choice-color:#b6a0da}
.billing-checkout #recharge .ws-duration-options button[data-ws-duration="30"]{--choice-color:#bac5e4}
.billing-checkout #recharge .ws-duration-options button[aria-pressed=true]{background:linear-gradient(115deg,#6142b0,#7a42ba);border-color:#7050bb;border-bottom-color:#6fd4d0;color:#fff;box-shadow:0 3px 8px #6441ad20,inset 0 1px 0 #ffffff24}
.billing-checkout #recharge .ws-schedule-custom{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0;font-size:13px;color:#5a5a71}
.billing-checkout .ws-schedule-custom>span{display:flex;align-items:center;gap:8px}
.billing-checkout .ws-schedule-custom input{width:64px;min-height:44px;padding:10px;border:1px solid #ddd8e8;border-radius:9px;font:inherit;text-align:center}
.billing-checkout #recharge .ws-schedule-footer{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin:18px 0 0;padding:0;border:0}
.billing-checkout .ws-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 18px;border-radius:11px;font-size:14px;font-weight:550;line-height:1.4;transition:background-color .15s,box-shadow .15s,scale .15s}
.billing-checkout #recharge .ws-schedule-footer .ws-button{background:#fff;color:#5b487c;border:1px solid #dcd5e9;box-shadow:none;font-size:14px}
.billing-checkout #recharge [data-schedule-status]{font-size:12px;text-align:center;color:#747084;min-height:18px;max-width:none}
.billing-checkout #recharge [data-save-state=saved]{color:#326750;border-color:#c8ddd3;background:#f5faf7}
.billing-checkout #payment-options{min-height:0;display:block;padding:28px}
.billing-checkout .bill-totals{margin:0;padding:0;border:0;background:none}
.billing-checkout .bill-totals>div{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:9px 0;font-size:14px;color:#5d6076}
.billing-checkout .bill-totals dt,.billing-checkout .bill-totals dd{margin:0;font-weight:400}
.billing-checkout .bill-totals .bill-grand{margin-top:14px;padding:20px 0;border-top:1px solid #ebe7f1;color:#2b2647}
.billing-checkout .bill-grand dt{font-size:16px;font-weight:550}
.billing-checkout .bill-grand dd{font-size:30px;font-weight:650;letter-spacing:-.035em;white-space:nowrap}
.billing-checkout .prism-identity{margin:6px 0 24px;border:0;border-block:1px solid #eeebf3;background:transparent;border-radius:0;box-shadow:none}
.billing-checkout .prism-identity>summary{padding:14px 0;font-size:14px}
.billing-checkout .prism-identity-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.billing-checkout .prism-identity-copy strong{font-size:14px;font-weight:500;color:#464159}
.billing-checkout .prism-identity-copy small{font-size:12px;color:#777184}
.billing-checkout #billing-profile-slot{padding:0 0 16px;min-width:0}
.billing-checkout #billing-profile-slot input,.billing-checkout #billing-profile-slot select{min-width:0;max-width:100%;min-height:44px}
.billing-checkout #secure-payment-content{margin:0;min-height:0}
.billing-checkout .bill-actions{display:flex;flex-direction:column;gap:10px;margin:0;padding:0}
.billing-checkout .bill-actions .ws-primary{width:100%;min-height:54px;background:linear-gradient(110deg,#64419d,#51508f);color:#fff;border:0;box-shadow:0 2px 3px #4e307d15,0 5px 14px #4e307d16;font-size:16px!important}
.billing-checkout .bill-actions .ws-primary:disabled{background:#eeebf4;color:#8a8298;box-shadow:none;opacity:1;cursor:not-allowed}
.billing-checkout .bill-payment-note{font-size:12px;line-height:1.6;color:#777184;text-align:center;margin:12px 0 0;max-width:none;min-height:0}
.billing-checkout .checkout-credit-note{margin:16px 10px 0;font-size:13px;color:#68667a;line-height:1.6}
.billing-checkout .checkout-block{margin:0 0 16px;font-size:14px;color:#665580;background:#f6f3fa;padding:12px 14px;border-radius:10px}
.billing-checkout .checkout-working{display:block;margin:8px 0 0;text-align:center;color:#6b657b;font-size:12px}
.billing-checkout .checkout-recovery{margin-top:12px}
.billing-checkout .checkout-recovery summary{justify-content:center;font-size:12px;min-height:44px;color:#736881}
.billing-checkout .checkout-recovery p{font-size:13px;color:#686174;margin:0 0 12px}
.billing-checkout .sp-field-error{font-size:14px;line-height:1.6;margin:0 0 16px}
.billing-checkout .bill-valid{color:#34624e;font-size:14px;margin:12px 0}
.billing-checkout .checkout-documents{margin-top:28px;padding:24px 28px}
.billing-checkout .checkout-documents h2{font-size:17px!important}
.billing-checkout .prism-document-icon{display:none}
.billing-checkout .prism-doc-empty{padding:18px 0 0;min-height:0;text-align:left;display:block}
.billing-checkout .prism-doc-empty svg{display:none}
.billing-checkout .prism-doc-empty strong{font-size:14px;font-weight:400;color:#686477}
.billing-checkout .prism-doc-empty p{font-size:13px;margin:6px 0 0;color:#777184}
.billing-checkout .checkout-history{margin:12px 0 28px;padding:0 4px;color:#736d83;font-size:13px}
.billing-checkout .checkout-history>summary{min-height:56px;font-weight:500}
.billing-checkout .checkout-history .funding-status{margin:0 0 12px;background:#fff;box-shadow:none;font-size:14px}
.billing-checkout :is(button,a,summary,input,select):focus-visible{outline:3px solid #a994cf;outline-offset:3px}
@media(hover:hover){.billing-checkout #recharge :is(.ws-amounts,.ws-duration-options) button:not([aria-pressed=true]):hover{background:#f1ecfa;border-color:#b6a1d4;border-bottom-color:var(--choice-color);box-shadow:0 3px 8px #6441ad12}.billing-checkout .bill-actions .ws-primary:not(:disabled):hover{box-shadow:0 3px 6px #4e307d20,0 8px 18px #4e307d20}}
.billing-checkout button:not(:disabled):active{scale:.96}
@media(max-width:1050px){.billing-checkout .bill-checkout-layout{grid-template-columns:minmax(0,1fr) minmax(300px,.95fr);gap:18px}.billing-checkout .checkout-intro{align-items:flex-start;flex-direction:column;gap:16px}.billing-checkout #recharge,.billing-checkout #payment-options{padding:24px}}
@media(max-width:800px){.billing-checkout .bill-checkout-layout{grid-template-columns:1fr}.billing-checkout .checkout-intro{margin-bottom:20px}.billing-checkout .checkout-balance{width:100%;justify-content:space-between}.billing-checkout .ws-panel{border-radius:18px}.billing-checkout #recharge,.billing-checkout #payment-options{padding:22px}.billing-checkout .checkout-credit-note{margin-bottom:4px}.billing-checkout .checkout-documents{padding:22px}.billing-checkout .checkout-history{margin-bottom:20px}}
@media(max-width:380px){.billing-checkout #recharge,.billing-checkout #payment-options{padding:18px}.billing-checkout .bill-grand dd{font-size:26px}.billing-checkout .checkout-schedule summary{gap:8px;font-size:13px}}
@media(prefers-reduced-motion:reduce){.billing-checkout *,.billing-checkout *::before,.billing-checkout *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.billing-checkout button:not(:disabled):active{scale:1}}

.billing-checkout #recharge .ws-amounts button:active,.billing-checkout #recharge .ws-duration-options button:active{transform:none}

.billing-checkout #recharge .ws-amounts button strong{font-size:14px!important}
#app-view .billing-checkout .bill-actions .ws-primary{font-size:16px!important}
.billing-checkout #recharge .ws-schedule-footer .ws-button{font-size:14px!important}
.billing-checkout .bill-payment-future:empty{display:none}
.ws-content:has(.billing-checkout)>*{max-width:1180px}
.billing-checkout #recharge .ws-duration-options button{display:flex;justify-content:center;align-items:center}
