/* Approved glass panel; scoped so guest/loading panels keep their existing layout. */
.rb-on.bh-plan{position:relative;width:580px;min-height:190px;height:190px;padding:16px 20px 57px}
.rb-on.bh-plan:before{content:'';position:absolute;left:244px;top:0;bottom:0;width:1px;pointer-events:none;background:linear-gradient(180deg,transparent,rgba(155,152,140,.14) 25%,rgba(155,152,140,.14) 75%,transparent)}
.rb-on .bh-plan__l{flex-basis:224px;justify-content:flex-start;gap:9px}.rb-on .bh-plan__r{justify-content:center;border-left-color:transparent;gap:8px}.rb-on .rb-clinical,.rb-on .rb-upgrade{color:var(--bh-nav-deep);font-weight:600}.rb-on .rb-upgrade{text-decoration:none}.rb-on .rb-upgrade:hover{text-decoration:underline}.rb-left{color:#15803d}.rb-left.rb-zero{color:#b91c1c}
.rb-on .bh-plan__cap{font-size:11.5px;line-height:1.4}.rb-purchase{display:flex;align-items:center;gap:7px;position:absolute;left:20px;bottom:18px;width:204px}.rb-quantity{display:flex;align-items:center;width:101px;flex:none;height:31px;border:1px solid rgba(255,255,255,.75);border-radius:8px;background:rgba(255,255,255,.22);overflow:hidden}.rb-quantity button{width:29px;flex:none;align-self:stretch;background:transparent;border:0;font:500 18px/1 Inter,sans-serif;color:var(--bh-nav-deep);cursor:pointer}.rb-quantity input{min-width:0;width:100%;height:29px;border:0;border-left:1px solid rgba(255,255,255,.55);border-right:1px solid rgba(255,255,255,.55);background:none;text-align:center;font:600 12px Inter,sans-serif;color:var(--bh-ink-900);appearance:textfield;-moz-appearance:textfield}.rb-quantity input::-webkit-inner-spin-button,.rb-quantity input::-webkit-outer-spin-button{appearance:none;margin:0}.rb-on .rb-buy,.rb-on .rb-manage{height:31px;min-height:31px;display:inline-flex;align-items:center;justify-content:center;padding:0 8px;border:0;font:700 11px/1 Inter,sans-serif;box-sizing:border-box}.rb-on .rb-buy{width:96px;flex:none;cursor:pointer}.rb-on .rb-manage{position:absolute;left:264px;bottom:18px;width:118px}.rb-quantity button:disabled,.rb-buy:disabled{cursor:default;opacity:.5}.rb-on input:focus-visible,.rb-on button:focus-visible{outline:2px solid var(--bh-nav);outline-offset:-2px}.rb-message{position:absolute;top:calc(100% + 5px);right:0;max-width:100%;margin:0;padding:8px 12px;background:var(--bh-glass-strong);border-radius:8px;color:var(--bh-ink-900);font:500 12px/1.4 Inter,sans-serif;z-index:4}.rb-message[hidden]{display:none}
body.dark-mode .rb-left{color:#86efac}body.dark-mode .rb-left.rb-zero{color:#fca5a5}body.dark-mode .rb-on .bh-plan__r{border-left-color:transparent}body.dark-mode .rb-on.bh-plan:before{background:linear-gradient(180deg,transparent,rgba(200,195,184,.18) 25%,rgba(200,195,184,.18) 75%,transparent)}
@media(min-width:761px) and (max-width:1279px){.rb-on.bh-plan{width:300px;height:292px;min-height:292px;padding:16px 20px}.rb-on .bh-plan__l{flex:1;padding:0}.rb-on .bh-plan__r{display:flex;position:static;padding:0;border:0;flex:0}.rb-on .bh-plan__r p{display:none}.rb-on.bh-plan:before{display:none}.rb-on .rb-purchase{bottom:62px}.rb-on .rb-manage{left:20px;bottom:18px}.rb-message{max-width:300px}}
@media(max-width:760px){.rb-on.bh-plan{width:100%;height:332px;min-height:332px;padding:16px;flex-direction:column;gap:16px}.rb-on .bh-plan__l{display:flex;flex:0 0 auto;gap:9px;padding:0}.rb-on .bh-plan__r{display:flex;flex:1 1 auto;justify-content:center;gap:8px;padding:14px 0 43px;border-left:0;border-top:1px solid transparent;border-image:linear-gradient(90deg,transparent,rgba(155,152,140,.14),transparent) 1}.rb-on.bh-plan:before{display:none}.rb-on .rb-purchase{position:static;width:231px;margin-top:8px}.rb-on .rb-quantity{width:128px}.rb-on .rb-manage{left:16px;bottom:16px}.rb-message{position:static;max-width:100%;padding:4px 0;grid-column:1/-1}.rb-on:has(.rb-message:not([hidden])){height:auto;min-height:332px}}
/* Medium-width cards must fit the hero rather than being clipped. */
@media(min-width:761px) and (max-width:1279px){.bh-hero:has(.rb-on){height:auto;min-height:364px}.bh-hero__inner:has(.rb-on){height:auto;min-height:364px;padding-top:50px;padding-bottom:22px}}
.bh-hero:has(.rb-message:not([hidden])){overflow:visible}

/* Full panel skeleton uses the same card geometry as the loaded wallet. */
.rb-loading .bh-sk{flex:none;pointer-events:none}
.rb-loading .rb-sk-quantity{width:101px;height:31px;border-radius:8px}
.rb-loading .rb-sk-buy{width:96px;height:31px;border-radius:999px}
.rb-loading .rb-sk-manage{position:absolute;left:264px;bottom:18px;width:118px;height:31px;border-radius:999px}
.rb-loading .rb-sk-copy{display:flex;flex-direction:column;gap:6px}
.rb-loading .rb-sk-copy .bh-sk{display:block;width:100%;height:11px}
.rb-loading .rb-sk-copy .bh-sk:last-child{width:64%}
@media(min-width:761px) and (max-width:1279px){.rb-loading .rb-sk-manage{left:20px}}
@media(max-width:760px){.rb-loading .rb-sk-quantity{width:128px}.rb-loading .rb-sk-manage{left:16px;bottom:16px}}

/* Accepted inset quantity field, with subtle separators around the number. */
.rb-on .rb-quantity{border:0;background:rgba(238,240,245,.48);border-radius:9px;box-shadow:inset 0 1px 4px rgba(41,58,82,.14);}
.rb-on .rb-quantity input{border-left:1px solid rgba(94,108,127,.18);border-right:1px solid rgba(94,108,127,.18);}
.rb-on .rb-quantity button{color:#596d82;transition:background-color .15s ease,transform .1s ease;}
@media(hover:hover){.rb-on .rb-quantity button:not(:disabled):hover{background:rgba(82,99,122,.09);}}
.rb-on .rb-quantity button:not(:disabled):active{transform:scale(.9);}
body.dark-mode .rb-on .rb-quantity{background:rgba(197,207,232,.09);box-shadow:inset 0 2px 5px rgba(0,0,0,.33);}
body.dark-mode .rb-on .rb-quantity input{border-color:rgba(176,191,209,.22);}
body.dark-mode .rb-on .rb-quantity button{color:#c4b5fd;}
@media(prefers-reduced-motion:reduce){.rb-on .rb-quantity button{transition:none;}.rb-on .rb-quantity button:not(:disabled):active{transform:none;}}
