#screen-vsubgate-store{width:100%;box-sizing:border-box;padding:28px clamp(16px,4vw,64px);text-align:left}.credit-store{max-width:1200px;margin:auto;color:#17212b}.credit-store header{display:flex;justify-content:space-between;gap:20px;align-items:center}.credit-store h1{font-size:28px}.credit-store p,.credit-gate p{line-height:1.6;color:#526477}.credit-eyebrow{font-size:12px;font-weight:800}.credit-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:22px 0}.credit-products article,.credit-cart{border:1px solid #dce6ef;border-radius:14px;padding:20px;background:white;min-width:0}.credit-products h2{font-size:19px}.credit-products label{display:flex;flex-direction:column;gap:6px;margin:15px 0}.credit-products input{width:100%;height:42px;box-sizing:border-box;padding:9px;border:1px solid #cbd8e4;border-radius:8px}.credit-store button,.credit-gate button{width:auto;max-width:100%;min-height:40px;padding:9px 14px;border:1px solid #cbd8e4;border-radius:8px;background:#f4f8fb;color:#17212b;font:inherit;font-size:13px;cursor:pointer;margin:4px}.credit-store button:disabled,.credit-gate button:disabled{opacity:.55;cursor:default}.credit-cart [data-credit-cart]>div{display:flex;justify-content:space-between;gap:12px;align-items:center}.credit-availability{border-left:3px solid #70a8c4;padding:12px 16px;background:#edf5fa}.credit-gate{box-sizing:border-box;max-width:calc(100vw - 28px);width:460px;padding:24px;border:1px solid #cad9e5;border-radius:14px;background:#fff;color:#17212b}.credit-gate::backdrop{background:#172c4266}.credit-gate h2{font-size:23px}.credit-gate small{display:block;line-height:1.5;color:#637486;margin-top:12px}.credit-store :focus-visible,.credit-gate :focus-visible{outline:3px solid #2684ae;outline-offset:2px}
@media(max-width:1000px){.credit-products{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.credit-products{grid-template-columns:minmax(0,1fr)}.credit-store header{align-items:start;flex-direction:column}.credit-store h1{font-size:25px}.credit-cart [data-credit-cart]>div{flex-wrap:wrap}.credit-gate{padding:18px}}

/* Independent premium notice, matching the existing EBAI cards and primary controls. */
.credit-gate--premium{width:440px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:30px;border:1px solid rgba(20,40,60,.1);border-radius:28px;background:#fff;box-shadow:0 24px 72px rgba(20,40,60,.16);font-family:Nunito,Manrope,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-align:center;overflow:auto}
.credit-gate--premium::backdrop{background:rgba(23,44,66,.32);backdrop-filter:blur(4px)}
.credit-gate--premium h2{margin:0;color:#17212b;font-size:25px;line-height:1.22;font-weight:850;letter-spacing:-.025em;text-wrap:balance}
.credit-gate--premium .credit-gate-description{margin:14px 0 0;color:#607080;font-size:15px;line-height:1.65}
.credit-gate-description strong{color:#17212b;font-weight:800}
.credit-gate--premium .credit-gate-note{margin:12px 0 0;font-size:13px;line-height:1.6}
.credit-gate-actions{display:flex;justify-content:center;gap:10px;margin-top:26px}
.credit-gate--premium .credit-gate-actions button{flex:1;display:inline-flex;align-items:center;justify-content:center;min-width:0;min-height:48px;margin:0;padding:12px 16px;border:1px solid #d9e2e9;border-radius:16px;background:#f5f9fc;color:#526477;font:inherit;font-size:14px;font-weight:800;line-height:1.4;box-shadow:none}
.credit-gate--premium .credit-gate-actions [data-credit-buy],.credit-gate--premium .credit-gate-actions [data-credit-view]{flex:1;background:#00baff;border-color:#00baff;color:#17212b;box-shadow:0 8px 20px rgba(0,186,255,.15)}
.credit-gate--premium .credit-gate-actions [data-credit-buy]:hover:not(:disabled),.credit-gate--premium .credit-gate-actions [data-credit-view]:hover{background:#00a6e6;border-color:#00a6e6}
.credit-gate--premium .credit-gate-actions button:disabled{background:#edf3f7;border-color:#dce6ef;color:#7a8a98;box-shadow:none;opacity:1}
.credit-gate--premium .credit-gate-actions [data-credit-cancel]:hover{background:#eaf1f6}
@media(max-width:440px){.credit-gate--premium{padding:24px;border-radius:24px}.credit-gate--premium h2{font-size:23px}.credit-gate-actions{flex-direction:column;gap:8px;margin-top:22px}.credit-gate--premium .credit-gate-actions button{width:100%}}

.credit-gate-balance{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0 0;padding:15px 16px;border:1px solid #e1eaf1;border-radius:16px;background:#f5f9fc}
.credit-gate-balance div{min-width:0}.credit-gate-balance dt{margin:0 0 5px;color:#607080;font-size:12px;font-weight:700}.credit-gate-balance dd{margin:0;color:#17212b;font-size:14px;font-weight:800;line-height:1.5;overflow-wrap:anywhere}

.credit-gate-icon{display:grid;place-items:center;width:52px;height:52px;margin:0 auto 18px;border:1px solid #d3edfa;border-radius:17px;background:#eaf7ff;color:#1684af}
.credit-gate-icon svg{width:25px;height:25px}

/* Compact student storefront; existing premium notice styles above stay unchanged. */
#screen-vsubgate-store{padding:24px 16px}
.credit-store{max-width:760px;margin:0 auto;font-family:Nunito,Manrope,system-ui,sans-serif}
.credit-store header{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:16px;margin:0}
.credit-store header h1{margin:0;font-size:28px;font-weight:850;line-height:1.2;letter-spacing:-.025em}
.credit-store header button{margin:0;flex-shrink:0;border-radius:12px;min-height:40px}
.credit-tab-wrap{display:flex;justify-content:center;margin:18px 0}
.credit-tabs{display:inline-flex;align-items:center;gap:4px;margin:0;padding:5px;border:1px solid #e1eaf1;border-radius:999px;background:#eaf1f6}
.credit-tabs button{margin:0;padding:9px 20px;min-height:36px;border:0;border-radius:999px;background:transparent;font-size:14px;font-weight:800;line-height:1.3;box-shadow:none;transition:background-color .16s ease,color .16s ease,box-shadow .16s ease}
.credit-tabs [aria-pressed=true]{background:#00baff;color:#17212b;box-shadow:0 3px 10px rgba(0,186,255,.15)}
.credit-tabs button:disabled{opacity:1;background:transparent;color:#8393a2}
.credit-products{display:flex;flex-direction:column;gap:0;margin:0;padding:4px 22px;border:1px solid #dce6ef;border-radius:24px;background:#fff;box-shadow:0 8px 28px rgba(20,40,60,.035)}
.credit-skill-row{min-width:0;padding:13px 0}
.credit-skill-row+.credit-skill-row{border-top:1px solid #edf2f6}
.credit-products .credit-skill-row label{display:grid;grid-template-columns:minmax(80px,1fr) 44px;align-items:center;gap:16px;margin:0;font-size:15px;line-height:1.4}
.credit-skill-name{font-weight:800;color:#17212b}.credit-skill-price{display:block;margin:3px 0 0;color:#607080;font-size:12px;text-align:left;line-height:1.3}
.credit-skill-row output{font-size:21px;line-height:1.2;font-weight:850;text-align:right;color:#1684af}
.credit-products input[type=range]{display:block;width:100%;height:30px;margin:7px 0 0;padding:0;border:0;border-radius:999px;box-sizing:border-box;appearance:none;-webkit-appearance:none;cursor:pointer;background:linear-gradient(to right,#00baff 0 var(--credit-progress,0%),#dfe9f0 var(--credit-progress,0%) 100%) center/100% 6px no-repeat;touch-action:pan-y}
.credit-products input[type=range]::-webkit-slider-runnable-track{height:6px;background:transparent;border-radius:999px}
.credit-products input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:24px;height:24px;margin-top:-9px;border:3px solid #fff;border-radius:50%;background:#00baff;box-shadow:0 1px 5px rgba(20,80,110,.22)}
.credit-products input[type=range]::-moz-range-track{height:6px;background:transparent;border-radius:999px}
.credit-products input[type=range]::-moz-range-thumb{box-sizing:border-box;width:24px;height:24px;border:3px solid #fff;border-radius:50%;background:#00baff;box-shadow:0 1px 5px rgba(20,80,110,.22)}
.credit-products input[type=range]:disabled{cursor:default;opacity:.45}
.credit-cart{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 16px;align-items:center;margin:0;padding:18px 4px 0;background:transparent;border:0;border-radius:0;box-shadow:none}
.credit-total{min-width:0}.credit-total [data-credit-total]{margin:0;color:#17212b;font-size:22px;font-weight:850;line-height:1.3;overflow-wrap:anywhere}.credit-total small{display:block;margin-top:4px;font-size:12px;color:#607080}
.credit-provider{display:flex;flex-direction:column;gap:4px;font-size:11px;color:#607080}
.credit-provider select{max-width:110px;margin:0;padding:8px 10px;min-height:40px;border:1px solid #d9e2e9;border-radius:12px;background:white;color:#17212b;font:inherit;font-size:13px}
.credit-store [data-credit-checkout]{width:auto;min-height:48px;margin:0;padding:12px 20px;border:1px solid #00baff;border-radius:14px;background:#00baff;color:#17212b;font-size:14px;font-weight:800;line-height:1.3;box-shadow:0 6px 16px rgba(0,186,255,.12)}
.credit-store [data-credit-checkout]:disabled{opacity:.5;box-shadow:none}
.credit-cart .credit-checkout-status{grid-column:1/-1;margin:0;font-size:12px;line-height:1.4;color:#607080}.credit-checkout-status:empty{display:none}
.credit-payment:not(:empty){padding:18px;margin-top:16px;border:1px solid #dce6ef;border-radius:18px;background:white}
.credit-payment a{display:inline-block;padding:12px 18px;background:#00baff;color:#17212b;border-radius:12px;text-decoration:none;font-weight:800}
.credit-store [data-credit-balances]{overflow-wrap:anywhere;font-size:13px}
@media(max-width:600px){#screen-vsubgate-store{padding:18px 16px}.credit-store header{flex-direction:row;gap:10px;align-items:center}.credit-store header h1{font-size:23px}.credit-store header button{padding:8px 10px;font-size:11px}.credit-tab-wrap{margin:16px 0}.credit-tabs button{padding:9px 18px;font-size:13px}.credit-products{padding:3px 15px;border-radius:20px}.credit-skill-row{padding:12px 0}.credit-products .credit-skill-row label{grid-template-columns:minmax(65px,1fr) 28px;gap:8px;font-size:14px}.credit-skill-price{font-size:11px}.credit-skill-row output{font-size:20px}.credit-cart{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:16px 0 0}.credit-total [data-credit-total]{font-size:21px}.credit-store [data-credit-checkout]{grid-column:1/-1;width:100%;margin:0}.credit-payment button{width:100%;margin:8px 0}}
@media(prefers-reduced-motion:reduce){.credit-tabs button{transition:none}}

/* Compact recovery notice, using the storefront's existing type and controls. */
.credit-store .credit-payment:not(:empty){max-width:720px;margin:16px auto 0;padding:16px;border-radius:16px;text-align:center;transition:box-shadow .2s,border-color .2s;scroll-margin:24px}
.credit-payment h2{margin:0 0 6px;font-size:18px;font-weight:800;line-height:1.3;letter-spacing:-.015em}
.credit-payment p{max-width:560px;margin:6px auto;font-size:13px;line-height:1.5;color:#607080}
.credit-pending-summary{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 18px;padding:12px;background:#f5f9fc;border:1px solid #e0eaf2;border-radius:12px;margin:14px 0}
.credit-pending-summary dt{color:#607080;font-size:12px;line-height:1.4}.credit-pending-summary dd{margin:3px 0 0;font-size:14px;line-height:1.4;font-weight:800}
.credit-pending-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.credit-store .credit-payment .credit-pending-actions button{flex:0 1 auto;width:auto;min-width:140px;min-height:40px;margin:0;padding:9px 14px;border:1px solid #dce6ef;border-radius:12px;background:#f5f9fc;color:#17212b;font:inherit;font-size:13px;font-weight:700;line-height:1.4;box-shadow:none}
.credit-store .credit-payment .credit-pending-actions [data-credit-handoff]{background:#00baff;border-color:#00baff}
.credit-payment.credit-payment--highlight{border-color:#00baff;box-shadow:0 0 0 3px #00baff1a}
.credit-store .credit-payment [data-credit-check-status]{width:auto;min-height:32px;margin:6px 0 0;padding:6px 10px;border:0;border-radius:8px;background:transparent;color:#1684af;font:inherit;font-size:12px;font-weight:700;line-height:1.4;box-shadow:none}
.credit-payment [data-credit-recovery]:empty{display:none}
@media(max-width:480px){.credit-store .credit-payment:not(:empty){padding:14px}.credit-payment h2{font-size:17px}.credit-pending-actions{flex-direction:column}.credit-store .credit-payment .credit-pending-actions button{width:100%;min-width:0}.credit-pending-summary{gap:12px}.credit-pending-summary>div{flex:1 1 40%}}
@media(prefers-reduced-motion:reduce){.credit-store .credit-payment:not(:empty){transition:none;scroll-behavior:auto}}

/* EBAI-104.8.6.1: presentation only; the existing allocation/state is reused. */
.credit-store .credit-cart--wallet{grid-template-columns:minmax(0,1fr) auto}
.credit-store .credit-cart--wallet>.payment-consent{grid-column:1;grid-row:auto}
.credit-payment-summary{grid-column:1/-1;grid-row:1;min-width:0;padding:22px;background:#fff;border:1px solid #dce6ef;border-radius:20px}
.credit-payment-summary h2{margin:0 0 18px;font-size:19px;font-weight:850}
.credit-summary-product,.credit-summary-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}
.credit-summary-product>div:first-child{min-width:0}.credit-summary-product small{display:block;margin-top:4px;color:#607080;font-size:13px;overflow-wrap:anywhere}
.credit-payment-summary .credit-total{text-align:right}.credit-payment-summary [data-credit-total]{font-size:20px}.credit-payment-summary [data-credit-selected]{display:none}
.credit-payment-summary [data-credit-wallet]:not([hidden]){display:block;margin-top:18px;padding-top:16px;border-top:1px solid #e7edf2}
.credit-wallet-switch{display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;font-weight:750}
.credit-wallet-switch-control{position:relative;display:inline-flex;flex:none;width:44px;height:26px}
.credit-wallet-switch-control input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;z-index:1}
.credit-wallet-switch-track{width:44px;height:26px;border-radius:20px;background:#c9d5df;transition:background .16s ease}
.credit-wallet-switch-track:after{content:'';position:absolute;left:3px;top:3px;width:20px;height:20px;border-radius:50%;background:white;box-shadow:0 1px 3px #17212b26;transition:transform .16s ease}
.credit-wallet-switch-control input:checked+.credit-wallet-switch-track{background:#3eaa78}
.credit-wallet-switch-control input:checked+.credit-wallet-switch-track:after{transform:translateX(18px)}
.credit-wallet-switch-control input:focus-visible+.credit-wallet-switch-track{outline:3px solid #2684ae;outline-offset:3px}
.credit-wallet-switch-control input:disabled+.credit-wallet-switch-track{opacity:.5}
.credit-summary-wallet-head small{display:block;margin-top:8px;color:#607080;font-size:12px}
.credit-summary-wallet{margin-top:14px;font-size:14px}.credit-summary-wallet strong{color:#2c9465}
.credit-summary-row strong{font-variant-numeric:tabular-nums;text-align:right;overflow-wrap:anywhere}
.credit-summary-external{margin-top:18px;padding-top:16px;border-top:1px solid #e7edf2;font-size:15px;font-weight:750}
.credit-summary-external strong{color:#1684af;font-size:22px}
.credit-payment-bar{display:flex;overflow:hidden;height:9px;border-radius:20px;background:#e7edf2;margin-top:16px}
.credit-payment-bar>span{flex:none;min-width:0;height:100%;transition:width .18s ease}
.credit-payment-bar-wallet{background:#3eaa78}.credit-payment-bar-external{background:#50b5f5}
.credit-payment-percentages{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:7px;color:#607080;font-size:11px}
.credit-payment-percentages>span:last-child{margin-left:auto}
.credit-store .credit-payment-explanation{margin:12px 0 0;font-size:12px;line-height:1.5;color:#607080}
@media(max-width:700px){.credit-store .credit-cart--wallet>.payment-consent{grid-column:1/-1}.credit-payment-summary{padding:18px 16px}.credit-summary-product{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.credit-summary-external strong{font-size:20px}.credit-summary-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.credit-payment-summary [data-credit-total]{font-size:18px}}
@media(prefers-reduced-motion:reduce){.credit-payment-bar>span,.credit-wallet-switch-track,.credit-wallet-switch-track:after{transition:none}}

/* EBAI-105.3: session promo controls and authoritative price comparison. */
.vsub-promo{margin:16px 0;text-align:left;min-width:0}.vsub-promo form{display:flex;gap:8px;align-items:center}.vsub-promo [hidden]{display:none!important}.vsub-promo input{min-width:0;flex:1;max-width:340px}.vsub-promo button{width:auto;min-height:42px;padding:8px 14px}.vsub-promo [data-promo-open]{border:0;background:transparent;color:#3888b5;padding-left:0}.vsub-promo p{font-size:14px}.promo-original,[data-promo-original]{display:block;color:#718096;font-size:14px;font-weight:400}.vsub-promo form{animation:promoReveal .2s ease}@keyframes promoReveal{from{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){.vsub-promo form{animation:none}}

/* EBAI-105.3.1: promo entry stays in normal flow below the purchase controls. */
.vsub-promo{text-align:center;margin:24px auto 0;width:100%;}
.credit-store .vsub-promo button[data-promo-open],.credit-store .vsub-promo button[data-promo-remove]{display:inline;padding:0;margin:0;min-height:0;width:auto;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--primary,#3985b2);font:inherit;cursor:pointer;}
.credit-store .vsub-promo button[data-promo-open]:hover,.credit-store .vsub-promo button[data-promo-remove]:hover{background:transparent;box-shadow:none;text-decoration:underline;}
.vsub-promo button:focus-visible{outline:2px solid #5ba5e8;outline-offset:4px;}
.vsub-promo form{display:flex;align-items:center;justify-content:center;gap:8px;max-width:430px;margin:0 auto;}
.vsub-promo form[hidden]{display:none;}
.vsub-promo form input,.vsub-promo form button{height:44px;min-height:44px;margin:0;box-sizing:border-box;align-self:center;box-shadow:none;}
.vsub-promo form input{flex:1;min-width:0;width:100%;}
.vsub-promo form button{flex:0 0 auto;width:auto;}
.vsub-promo [data-promo-result]{margin:10px 0 0;text-align:center;}

/* EBAI-105.3.3: restrained promo emphasis, without extra savings copy. */
.credit-store .vsub-promo button[data-promo-open]{font-weight:800;}
.credit-store .vsub-promo [data-promo-applied]{color:#40966d;font-weight:800;}
.credit-store .promo-original,.credit-store [data-promo-original],.credit-store .promo-original del,.credit-store [data-promo-original] del{color:#c96673;font-weight:800;}
.credit-store [data-promo-original]+[data-credit-total]{font-size:24px;}

/* EBAI-105.3.5: each skill shows its promotional unit amount. */
.credit-store .credit-promo-unit{color:#40966d;font-weight:800;font-size:1.2em;}
.credit-store .credit-original-unit{color:#c96673;font-weight:800;margin-left:6px;text-decoration-line:line-through;text-decoration-thickness:2px;text-decoration-color:currentColor;}
.credit-store .credit-promo-note{display:block;margin-top:6px;}
