body.h5-mode{--h5-orange:#f65a0a;--h5-ink:#201d1a;--h5-muted:#756d66;--h5-line:#eadfd5;--h5-card:#fff;min-height:100dvh;background:#ebe8e5;color:var(--h5-ink);overscroll-behavior-y:none}
body.h5-mode .customer-sidebar{display:none!important}
body.h5-mode .main-shell{width:min(100%,560px);min-height:100dvh;margin:0 auto!important;background:#fbfaf8;box-shadow:0 0 60px #38291d1a;padding-bottom:calc(78px + env(safe-area-inset-bottom))}
body.h5-mode .customer-topbar{position:sticky;z-index:45;top:0;width:min(100%,560px);height:68px;margin:0 auto!important;padding:10px 15px!important;border:0;border-bottom:1px solid #efe5dd;background:#fffdfaf2;backdrop-filter:blur(18px);display:flex;align-items:center;justify-content:space-between;gap:10px}
body.h5-mode .quick-actions{display:none!important}
body.h5-mode .h5-brand{display:flex;align-items:center;gap:9px;min-width:0;margin-right:auto;color:var(--h5-ink)}
.h5-brand-mark{display:grid;place-items:center;width:37px;height:37px;border-radius:12px;color:#fff;background:linear-gradient(145deg,#ff7428,#ed4300);font:800 13px/1 Arial;box-shadow:0 7px 18px #e94b1730}
.h5-brand>span:last-child{display:flex;flex-direction:column;line-height:1.05}.h5-brand strong{font-size:13px;letter-spacing:-.2px}.h5-brand small{margin-top:3px;color:#ad4a1b;font-size:8px;letter-spacing:1.3px;text-transform:uppercase}
body.h5-mode .customer-account{display:flex!important;align-items:center;gap:7px;margin:0}
body.h5-mode .customer-account>a:last-child{display:none!important}
body.h5-mode .customer-theme-toggle{width:37px;height:37px;padding:0;border-radius:12px;justify-content:center}body.h5-mode .customer-theme-toggle .theme-label{display:none}
body.h5-mode .notification-button,body.h5-mode .avatar{width:37px;height:37px;min-width:37px;border-radius:12px}
body.h5-mode #currency-ticker{width:min(100%,560px);margin:0 auto;border-width:0 0 1px;overflow:hidden}
body.h5-mode #currency-ticker .rate-ticker-heading{display:none}
body.h5-mode #currency-ticker .rate-ticker-track{padding-left:10px}
body.h5-mode main#content{width:100%;max-width:none!important;margin:0!important;padding:16px 13px 28px!important;overflow:hidden}
body.h5-mode main#content>.loading{min-height:60dvh;display:grid;align-content:center;text-align:center;padding:24px}
body.h5-mode h1{font-size:clamp(25px,8vw,36px)!important;line-height:1.08!important;letter-spacing:-1.3px!important}
body.h5-mode .page-heading{margin:6px 2px 18px!important;gap:12px;align-items:flex-start}
body.h5-mode .page-heading .eyebrow{font-size:8px;letter-spacing:1.8px;color:#bb5628}
body.h5-mode .page-heading p{font-size:12px;line-height:1.65}
body.h5-mode :is(.panel,.profile-card,.fund-panel,.verification-check,.credit-card,.rw-benefit-card){border-radius:18px!important;box-shadow:0 8px 30px #52311d09}
body.h5-mode :is(.split,.row,.fund-page-grid,.profile-layout,.verification-checks,.credit-grid){grid-template-columns:minmax(0,1fr)!important}
body.h5-mode :is(.cards,.stats){grid-template-columns:minmax(0,1fr)!important}
body.h5-mode .panel{padding:18px 16px}
body.h5-mode :is(input,select,textarea){font-size:16px!important}
body.h5-mode :is(button,.primary,.secondary,.danger){min-height:44px}
body.h5-mode .table-wrap{max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch}
body.h5-mode .customer-chat-dock,body.h5-mode .support-dock{bottom:calc(76px + env(safe-area-inset-bottom))!important;right:max(10px,calc((100vw - 540px)/2 + 10px))!important;max-height:calc(100dvh - 160px)!important}
body.h5-mode .support-launcher{bottom:calc(84px + env(safe-area-inset-bottom))!important;right:max(14px,calc((100vw - 532px)/2 + 14px))!important}
body.h5-mode #toast{z-index:90;left:50%!important;bottom:calc(86px + env(safe-area-inset-bottom));width:min(90%,460px);text-align:center}
.h5-bottom-nav{position:fixed;z-index:70;left:50%;bottom:0;transform:translateX(-50%);width:min(100%,560px);height:calc(68px + env(safe-area-inset-bottom));padding:7px 6px env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(6,1fr);gap:2px;border-top:1px solid #e9ded5;background:#fffdfaf2;backdrop-filter:blur(20px);box-shadow:0 -12px 32px #3d261417}
.h5-bottom-nav :is(a,button){position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;border:0;border-radius:12px;background:transparent;color:#8a7c71;font:600 8.5px/1.1 Arial;padding:4px 1px}
.h5-bottom-nav svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.h5-bottom-nav :is(a,button).active{color:var(--h5-orange);background:#fff2e9}.h5-bottom-nav :is(a,button).active:before{content:"";position:absolute;top:-8px;width:24px;height:3px;border-radius:0 0 4px 4px;background:var(--h5-orange)}
.h5-sheet-backdrop{position:fixed;z-index:78;inset:0;background:#1e151099;backdrop-filter:blur(3px)}
.h5-more-sheet{position:fixed;z-index:80;left:50%;bottom:0;transform:translateX(-50%);width:min(100%,560px);max-height:min(82dvh,720px);overflow:auto;padding:0 15px calc(20px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0;background:#fffdfb;box-shadow:0 -25px 80px #1c110d40;color:var(--h5-ink);animation:h5-sheet-in .22s ease-out}
.h5-more-sheet>header{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;padding:20px 2px 14px;background:#fffdfbf2;backdrop-filter:blur(12px);border-bottom:1px solid #eee3da}
.h5-more-sheet header small{font-size:8px;letter-spacing:1.8px;color:#b4592d}.h5-more-sheet h2{margin:3px 0 0;font-size:22px}.h5-more-sheet header button{width:40px;height:40px;border:1px solid #eaded5;border-radius:50%;background:#fff;color:#453a32;font-size:24px}
.h5-more-grid{display:grid;gap:8px;padding:13px 0}.h5-more-grid>a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:67px;padding:12px 15px;border:1px solid #eee3da;border-radius:15px;background:#fff;color:var(--h5-ink)}
.h5-more-grid>a.active{border-color:#ffb58c;background:#fff5ee}.h5-more-grid span{display:flex;flex-direction:column}.h5-more-grid strong{font-size:13px}.h5-more-grid small{margin-top:4px;color:var(--h5-muted);font-size:10px}.h5-more-grid b{color:var(--h5-orange);font-size:24px;font-weight:400}
.h5-desktop-link{display:flex;align-items:center;justify-content:space-between;padding:15px;border-top:1px solid #eee3da;color:#a54316;font-size:12px;font-weight:700}
@keyframes h5-sheet-in{from{transform:translate(-50%,100%)}to{transform:translate(-50%,0)}}
@media(max-width:380px){.h5-bottom-nav :is(a,button){font-size:7.5px}.h5-bottom-nav svg{width:19px;height:19px}body.h5-mode main#content{padding-inline:10px!important}.h5-brand strong{font-size:12px}}
@media(prefers-reduced-motion:reduce){.h5-more-sheet{animation:none}}
