/* Route headings keep programmatic focus for assistive technology without Safari's default ring. */
.slab-app .app-view h1[tabindex="-1"]:focus { outline: none; }
.prepaid-heading { align-items: center; margin-bottom: 32px; }
.prepaid-heading .app-kicker { font-size: 14px; }
.prepaid-heading h1 { font-size: clamp(34px, 3.6vw, 50px); }
.prepaid-studio { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 32px; background: var(--raised); overflow: hidden; }
.prepaid-stage { display: flex; flex-direction: column; min-width: 0; padding: 32px; background: linear-gradient(150deg, #dcf4f8, #c4eaf1); color: #30223f; }
.prepaid-stage-heading { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: #365d68; }
.prepaid-stage-heading span:first-child { font-weight: 600; }
.prepaid-card-wrap { padding: 52px 6px 46px; perspective: 1000px; }
.prepaid-stage .concept-card { width: 100%; max-width: 440px; margin: auto; padding: 8%; transform: rotate(-7deg); border-color: #4a96a8; background: linear-gradient(125deg, #275f70, #30223f 78%); box-shadow: 0 24px 30px -18px #163f4c66; transition: transform .7s cubic-bezier(.22,1,.36,1); }
.prepaid-stage .concept-card::after { content: 's'; right: -3%; top: -25%; font-size: 230px; }
.prepaid-stage .card-brand { font-size: clamp(22px, 2.4vw, 32px); }
.prepaid-stage .card-bottom { align-items: end; border-bottom: 2px solid #bc97ec; padding-bottom: 12px; position: relative; z-index: 1; }
.card-selected-value { text-align: right; display: grid; gap: 3px; letter-spacing: 0; }
.card-selected-value>span { font-size: 11px; color: #c5dce4; }
.card-selected-value output { font-size: clamp(24px, 2.9vw, 39px); line-height: 1.1; font-weight: 550; letter-spacing: -.03em; color: #fbf9f5; font-variant-numeric: tabular-nums; }
.prepaid-stage-copy { margin-top: auto; }
.prepaid-stage-copy h2 { font-size: clamp(31px, 3.3vw, 46px); line-height: 1.06; }
.prepaid-stage-copy p { color: #365d68; font-size: 16px; margin-top: 18px; }
.collection-shortcut { display: flex; align-items: center; gap: 13px; padding-top: 26px; margin-top: 32px; border-top: 1px solid #a5cdd7; width: fit-content; transition: opacity .2s; }
.collection-shortcut:hover { opacity: .7; }
.collection-shortcut>span { display: grid; gap: 4px; }
.collection-shortcut strong { font-weight: 600; font-size: 15px; }
.collection-shortcut>span>span { font-size: 13px; color: #365d68; }
.prepaid-studio svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.prepaid-builder { padding: 36px; min-width: 0; }
.prepaid-builder-heading h2 { font-size: clamp(30px, 3vw, 42px); line-height: 1.08; }
.prepaid-builder-heading p { font-size: 15px; line-height: 1.5; color: var(--muted); margin-top: 12px; max-width: 310px; }
.prepaid-wallet { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 22px; margin-top: 6px; border-bottom: 1px solid var(--line); }
.prepaid-wallet>div { display: grid; gap: 5px; }
.prepaid-wallet span { color: var(--muted); font-size: 13px; }
.prepaid-wallet strong { font-size: 16px; font-weight: 550; overflow-wrap: anywhere; }
.balance-refresh { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: transparent; color: var(--ink); flex-shrink: 0; transition: background .2s, transform .3s; }
.balance-refresh:hover { background: var(--surface); transform: rotate(15deg); }
.prepaid-amount-section { margin-top: 25px; }
.prepaid-amount-section label { display: block; font-size: 14px; font-weight: 550; }
.prepaid-amount-field { display: flex; align-items: center; gap: 5px; border-bottom: 1px solid var(--line); padding: 8px 0 14px; margin-bottom: 18px; }
.prepaid-amount-field>span:first-child { font-size: 45px; font-weight: 500; color: var(--muted); }
.prepaid-amount-field input { width: 100%; min-width: 0; background: transparent; border: 0; border-radius: 5px; padding: 0 3px; color: var(--ink); font-size: clamp(46px, 4.4vw, 64px); font-weight: 550; letter-spacing: -.035em; font-variant-numeric: tabular-nums; appearance: textfield; -moz-appearance: textfield; }
.prepaid-amount-field input::-webkit-inner-spin-button,.prepaid-amount-field input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.prepaid-amount-field input:focus-visible { outline-offset: 2px; }
.amount-currency { font-size: 14px; color: var(--muted); padding-top: 19px; }
.prepaid-presets { display: flex; gap: 9px; }
.prepaid-presets button { flex: 1; min-width: 0; min-height: 44px; padding: 9px 4px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 14px; font-weight: 550; transition: background .2s, border-color .2s, transform .2s; }
.prepaid-presets button:hover { background: var(--surface); }
.prepaid-presets button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
#prepaid-amount-help { font-size: 12px; color: var(--muted); margin-top: 12px; }
.prepaid-remainder { display: flex; align-items: start; gap: 12px; margin-top: 24px; }
.prepaid-remainder svg { width: 19px; height: 19px; color: var(--muted); margin-top: 3px; }
.prepaid-remainder p { font-size: 13px; line-height: 1.6; color: var(--muted); }
.prepaid-remainder strong { color: var(--ink); font-weight: 550; display: block; }
.prepaid-builder .prepaid-review { width: 100%; min-height: 54px; border-radius: 16px; margin-top: 25px; font-size: 16px; }
.prepaid-review-note { text-align: center; font-size: 12px; color: var(--muted); margin-top: 10px; }
.prepaid-account-button { display: block; margin: 22px auto 0; background: transparent; border: 0; color: var(--ink); padding: 10px; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.prepaid-conditions { margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--line); }
.prepaid-conditions summary { display: flex; justify-content: space-between; align-items: center; gap: 15px; font-size: 13px; color: var(--muted); cursor: pointer; list-style: none; min-height: 30px; }
.prepaid-conditions summary::-webkit-details-marker { display: none; }
.prepaid-conditions summary span { font-size: 22px; transition: transform .2s; }
.prepaid-conditions[open] summary span { transform: rotate(45deg); }
.prepaid-conditions p { font-size: 13px; color: var(--muted); line-height: 1.65; margin-top: 10px; }
.prepaid-builder #checkout-status:empty { display: none; }
.prepaid-builder #checkout-status { margin: 18px 0 0; font-size: 14px; }
.prepaid-orders { margin-top: 42px; }
.prepaid-orders .view-heading { align-items: center; margin-bottom: 20px; }
.prepaid-orders h2 { font-size: 28px; }
.prepaid-orders .view-heading p { font-size: 14px; color: var(--muted); margin-top: 8px; }
.prepaid-empty { padding: 27px 0; border-block: 1px solid var(--line); font-size: 14px; color: var(--muted); }
[data-theme=dark] .prepaid-stage { background: linear-gradient(145deg, #173b48, #142c35); color: #f4edf9; }
[data-theme=dark] .prepaid-stage-heading,[data-theme=dark] .prepaid-stage-copy p,[data-theme=dark] .collection-shortcut>span>span { color: #b9d2da; }
[data-theme=dark] .collection-shortcut { border-color: #365866; }
@media(hover:hover) and (prefers-reduced-motion:no-preference) { .prepaid-card-wrap:hover .concept-card { transform: rotate(-3deg) translateY(-5px); } }
@media(max-width:1150px) { .prepaid-stage,.prepaid-builder { padding: 27px; } .prepaid-stage-heading { font-size: 12px; } }
@media(max-width:980px) and (min-width:801px) { .prepaid-studio { grid-template-columns: .85fr 1fr; } .prepaid-stage { padding: 23px; } .prepaid-stage-heading { flex-direction: column; gap: 5px; } .prepaid-card-wrap { padding-inline: 0; } }
@media(max-width:800px) {
 .prepaid-heading { align-items: end; gap: 10px; margin-bottom: 25px; }
 .prepaid-heading h1 { font-size: 34px; }
 .prepaid-heading>.pill { max-width: 94px; font-size: 10px; }
 .prepaid-heading .app-kicker { font-size: 12px; }
 .prepaid-studio { grid-template-columns: 1fr; border-radius: 25px; }
 .prepaid-stage { padding: 22px 25px; }
 .prepaid-stage-heading { font-size: 12px; }
 .prepaid-card-wrap { padding: 29px 12px 25px; }
 .prepaid-stage .concept-card { max-width: 350px; transform: rotate(-5deg); }
 .prepaid-stage .card-brand { font-size: 24px; }
 .prepaid-stage .card-chip { width: 28px; height: 22px; }
 .card-selected-value output { font-size: 30px; }
 .prepaid-stage-copy { display: none; }
 .collection-shortcut { margin-top: 10px; padding-top: 16px; width: 100%; }
 .collection-shortcut strong { font-size: 14px; }
 .collection-shortcut>span>span { font-size: 12px; }
 .prepaid-builder { padding: 26px 25px; }
 .prepaid-builder-heading h2 { font-size: 32px; }
 .prepaid-builder-heading h2 br { display: none; }
 .prepaid-builder-heading p { font-size: 14px; }
 .prepaid-amount-field input { font-size: 60px; }
 .prepaid-orders { margin-top: 34px; }
 .prepaid-orders .view-heading { align-items: start; gap: 17px; flex-direction: column; }
 .prepaid-orders h2 { font-size: 26px; }
}
@media(max-width:380px) { .prepaid-stage { padding-inline: 18px; } .prepaid-builder { padding: 24px 18px; } .prepaid-presets { gap: 7px; } .prepaid-heading>.pill { display: none; } .prepaid-card-wrap { padding-inline: 4px; } }
@media(prefers-reduced-motion:reduce) { .prepaid-stage .concept-card,.collection-shortcut,.balance-refresh,.prepaid-presets button,.prepaid-conditions summary span { transition: none; } }
