/*hist*/
.hs{padding:0 0 calc(var(--nav-total,64px) + 24px)}
.hs-top{position:relative;display:flex;margin:16px 16px 0;background:#20262f;border-radius:8px;overflow:hidden}
.hs-top button{flex:1;height:48px;padding:0 4px;border:0;background:none;font:inherit;font-size:13px;color:#b2b2bd;cursor:pointer;white-space:nowrap}
.hs-top button.on{color:#fff;font-weight:600}
.hs-top .ul{position:absolute;bottom:0;left:0;height:2px;border-radius:1px;background:#00aeef;transition:transform .3s cubic-bezier(.22,1,.36,1),width .3s}
.hs-bar{display:flex;align-items:center;gap:8px;margin:16px 16px 0}
.hs-days{display:flex;gap:8px;flex:1}
.hs-days button,.hs-filter{height:32px;padding:0 12px;border:1px solid transparent;border-radius:8px;background:#20262f;font:inherit;font-size:12px;color:#b2b2bd;cursor:pointer}
.hs-days button.on{border-color:#00aeef;color:#fff;font-weight:600}
.hs-filter{position:relative;display:flex;align-items:center;gap:6px;color:#fff}
.hs-filter svg{width:16px;height:16px;color:#b2b2bd}
.hs .hs-filter{width:32px;padding:0;justify-content:center;color:#b2b2bd}
.hs .hs-filter svg{width:16px;height:16px;color:currentColor}
.hs-range{display:flex;justify-content:space-between;align-items:center;margin:10px 16px 0;font-size:12px;line-height:16px;color:#b2b2bd}
.hs-range[hidden]{display:none}
.hs-range button{padding:0;border:0;background:none;font:inherit;font-weight:600;color:#00aeef;cursor:pointer}
.hf-row{display:flex;gap:12px;margin-top:4px}
.hf-f{flex:1;min-width:0}
.hf-f span{display:block;margin-bottom:8px;font-size:13px;font-weight:600;color:#fff}
.hf-f input{box-sizing:border-box;width:100%;height:44px;padding:0 12px;border:1px solid #262c38;border-radius:8px;background:#13161b;font:inherit;font-size:16px;color:#fff;color-scheme:dark;transition:border-color .15s}
.hf-f input:focus{outline:0;border-color:#00aeef}
.hf-f input.bad{border-color:#ff5a5f}
.hf-note{margin:10px 0 0;font-size:12px;line-height:16px;color:#828293}.hf-note.bad{color:#ff5a5f}
.hs-seg{display:flex;gap:4px;margin:16px 16px 0;padding:4px;background:#20262f;border-radius:8px}
.hs-seg button{flex:1;height:36px;border:0;border-radius:6px;background:none;font:inherit;font-size:13px;color:#b2b2bd;cursor:pointer;transition:background .2s,color .2s}
.hs-seg button.on{background:#00aeef;color:#fff;font-weight:600}
.hs.no-seg .hs-seg{display:none}
.hs-list{margin:16px 16px 0}
.hs-it{display:block;width:100%;margin:0 0 12px;padding:14px 14px 12px;border:0;border-radius:12px;background:#1a1e25;font:inherit;text-align:left;color:#fff;cursor:pointer}
.hs-it:active{background:#20262f}
.hs-r1{display:flex;align-items:center;gap:12px}
.hs-ic{flex:0 0 36px;display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#20262f;color:#b2b2bd}
.hs-ic svg{width:18px;height:18px}
.hs-t{flex:1;min-width:0}
.hs-t b{display:block;font-size:15px;line-height:20px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hs-t small{display:block;margin-top:2px;font-size:12px;line-height:16px;color:#828293}
.hs-a{text-align:right}
.hs-a b{display:block;font-size:15px;line-height:20px;font-weight:700;font-variant-numeric:tabular-nums;color:#fff}
.hs-a b.pos{color:#21e698}
.hs-a .st{display:inline-flex;align-items:center;gap:5px;margin-top:2px;font-size:12px;line-height:16px;font-weight:600}
.st.pr{color:#f5c451}.st.fl{color:#ff5a5f}.st.ok{color:#21e698}
.st .sp{flex:none;width:10px;height:10px;border-radius:50%;border:2px solid rgba(245,196,81,.25);border-top-color:#f5c451;animation:hsp 1s linear infinite}
@keyframes hsp{to{transform:rotate(360deg)}}
.hs-ch{flex:none;width:7px;height:11px;color:#828293}
.hs-r2{display:flex;justify-content:space-between;gap:12px;margin-top:12px;padding-top:10px;border-top:1px solid #262b33;font-size:12px;line-height:16px;color:#828293}
.hs-r2 span:first-child{flex:none;white-space:nowrap}
.hs-r2 span:last-child{min-width:0;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hs-r2 em{font-style:normal;color:#b2b2bd}
.hs-bar2{height:4px;margin-top:12px;border-radius:2px;background:#14181e;overflow:hidden}.hs-bar2 i{display:block;height:100%;border-radius:2px;background:linear-gradient(90deg,#55d6f9,#1e74e6)}
.hs-empty[hidden],.hs-cta[hidden]{display:none!important}
.hs-empty{display:flex;flex-direction:column;align-items:center;margin:48px 32px 0;text-align:center}
.hs-eic{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#20262f;color:#b2b2bd}.hs-eic svg{width:26px;height:26px}
.hs-empty b{margin-top:16px;font-size:16px;line-height:22px;font-weight:600;color:#fff}
.hs-empty p{margin:6px 0 20px;font-size:13px;line-height:18px;color:#b2b2bd}
.hs-cta{display:grid;place-items:center;height:44px;padding:0 28px;border-radius:8px;background:linear-gradient(90deg,#55d6f9,#1e74e6);font-size:14px;font-weight:700;letter-spacing:.3px;text-transform:uppercase;color:#fff;text-decoration:none}
.hs-filter[hidden]{display:none!important}
.hs-seg2,.hs-seg3,.hs-sum,.hs-cats{display:none}
.hs.t-rewards .hs-seg3{display:flex}
.hs-seg3{overflow-x:auto;scrollbar-width:none}.hs-seg3::-webkit-scrollbar{display:none}
.hs-seg3{scroll-behavior:smooth}.hs .hs-seg3 button{flex:0 0 calc((100% - 8px)/3);padding:0;white-space:nowrap}

.hs.t-turnover .hs-seg2{display:flex}
.hs.u-stmt .hs-sum{display:grid}.hs.u-stmt .hs-cats{display:flex}
.hs-sum{grid-template-columns:1fr 1.35fr 1.2fr;gap:8px;margin:16px 16px 0}
.hs-sum div{padding:10px 12px;border-radius:10px;background:#1a1e25;min-width:0}
.hs-sum small{display:block;font-size:11px;line-height:14px;color:#828293;white-space:nowrap}
.hs-sum b{display:block;margin-top:4px;font-size:15px;line-height:20px;font-weight:700;color:#fff;white-space:nowrap;font-variant-numeric:tabular-nums}
.hs-sum b.pos{color:#21e698}
.hs-cats{gap:6px;margin:12px 16px 0;overflow-x:auto;scrollbar-width:none}.hs-cats::-webkit-scrollbar{display:none}
.hs-cats button{flex:1 0 auto;height:32px;padding:0 9px;border:1px solid transparent;border-radius:8px;background:#20262f;font:inherit;font-size:12px;color:#b2b2bd;cursor:pointer}
.hs-cats button.on{border-color:#00aeef;color:#fff;font-weight:600}
.hs-pg{display:flex;justify-content:space-between;margin-top:8px;font-size:12px;line-height:16px;color:#828293}.hs-pg em{font-style:normal;color:#b2b2bd}
.hs-bar2 i.done{background:#21e698}
.hs-pct{display:block;font-size:15px;line-height:20px;font-weight:700;color:#fff}
.hs-wp{display:grid;grid-template-columns:auto auto;column-gap:8px;row-gap:2px;align-items:baseline;font-size:12px;line-height:16px;color:#828293;text-align:right}
.hs-wp b{font-size:13px;font-weight:700;color:#fff;font-variant-numeric:tabular-nums}.hs-wp b.pos{color:#21e698}
.hs-ob{cursor:default}.hs-ob:active{background:#1a1e25}
.hs-ob .st{flex:none;display:inline-flex;align-items:center;gap:5px;font-size:12px;line-height:16px;font-weight:600}
.hs-ob .pv{font-size:12px;line-height:16px;color:#828293}
.hs-ob .mt{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:4px}
.hs-ob .mt b{font-size:16px;line-height:22px;font-weight:700}
.hs-ob .sel{margin-top:2px;font-size:12px;line-height:16px;color:#b2b2bd}
.hs-og{display:grid;grid-template-columns:1fr 1fr 1fr;margin-top:12px;padding-top:10px;border-top:1px solid #262b33}
.hs-og span{font-size:12px;line-height:16px;color:#828293}.hs-og span:nth-child(3n){text-align:right}.hs-og span:nth-child(3n+2){text-align:center}
.hs-og b{display:block;margin-top:2px;font-size:14px;line-height:20px;font-weight:700;color:#fff;font-variant-numeric:tabular-nums}
.hs-ob .dt{margin-top:10px;font-size:12px;line-height:16px;color:#828293}
.hb-sh{max-height:82vh;display:flex;flex-direction:column}
.hb-sub{margin:-6px 0 12px;text-align:center;font-size:12px;color:#828293}
.hb-tb{flex:1;min-height:0;overflow-y:auto;border-radius:12px;background:#20252d;padding:0 14px}
.hb-h,.hb-r{display:grid;grid-template-columns:1fr 64px 52px 56px;gap:8px;align-items:center;font-size:12px;line-height:16px}
.hb-h{position:sticky;top:0;padding:12px 0 8px;background:#20252d;color:#828293}
.hb-r{padding:8px 0;border-top:1px solid #2a3039;color:#e6e7ea}
.hb-h span:nth-child(n+2),.hb-r span:nth-child(n+2){text-align:right;font-variant-numeric:tabular-nums}
.hb-r span:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hb-r .pos{color:#21e698}.hb-r span:nth-child(2){color:#828293}
/* bottom sheets: same as Funds detail sheet */
.hd-ov{position:fixed;inset:0;z-index:400;background:rgba(0,0,0,.55);opacity:0;transition:opacity .25s}
.hd-ov.on{opacity:1}
.hd-sh{position:fixed;left:0;right:0;bottom:0;z-index:401;max-width:480px;margin:0 auto;padding:0 16px calc(24px + env(safe-area-inset-bottom));background:#1a1e25;border-radius:16px 16px 0 0;transform:translateY(100%);transition:transform .2s cubic-bezier(.4,0,1,1)}
.hd-sh.on{transform:none;transition:transform .32s cubic-bezier(.22,1,.36,1)}
.hd-sh .gr{display:block;width:36px;height:4px;border-radius:2px;background:#3a404a;margin:8px auto 6px}
.hd-top{display:flex;align-items:center;justify-content:space-between;height:44px}
.hd-top>span{width:28px}
.hd-top h3{margin:0;font-size:15px;font-weight:600;color:#fff}
.hd-top button{width:28px;height:28px;padding:0;border:0;background:none;color:#b2b2bd;font-size:16px;cursor:pointer}
.hd-amt{padding:8px 0 16px;text-align:center}
.hd-amt b{display:block;font-size:28px;line-height:34px;font-weight:700;color:#fff;font-variant-numeric:tabular-nums}
.hd-amt b.pos{color:#21e698}
.hd-amt small{display:block;margin-top:2px;font-size:12px;color:#828293}
.hd-amt .st{display:inline-flex;align-items:center;gap:6px;margin-top:8px;font-size:12px;font-weight:600}
.hd-list{border-radius:12px;background:#20252d;padding:0 14px}
.hd-r{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid #2a3039;font-size:13px;color:#828293}
.hd-r:last-child{border-bottom:0}
.hd-r b{font-weight:500;color:#e6e7ea;text-align:right}
.hd-r.rm{flex-direction:column;gap:4px}.hd-r.rm b{text-align:left;color:#b2b2bd;font-weight:400;line-height:19px}
.hf-l{margin:8px 0 10px;font-size:13px;font-weight:600;color:#fff}
.hf-chips{display:flex;flex-wrap:wrap;gap:8px}
.hf-chips button{height:36px;padding:0 16px;border:1px solid transparent;border-radius:8px;background:#20262f;font:inherit;font-size:13px;color:#b2b2bd;cursor:pointer}
.hf-chips button.on{border-color:#00aeef;color:#fff;font-weight:600}
.hf-act{display:flex;gap:12px;margin-top:28px}
.hf-act button{flex:1;height:44px;border:0;border-radius:8px;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.hf-reset{background:#20262f;color:#fff}.hf-apply{background:linear-gradient(90deg,#55d6f9,#1e74e6);color:#fff;text-transform:uppercase;letter-spacing:.3px}
@media (prefers-reduced-motion:reduce){.hd-sh,.hd-ov,.hs-top .ul{transition:none}.st .sp{animation:none}}
