/* Masroof 4.0 "Wallet": layout, components and motion. Loaded after app.css, so these win.
   Sizes follow the design handoff: 22px screen padding, cards 22–26px radius, sheets 32px,
   a floating 68px tab bar, primary buttons 56px on the gold coin colour. */

@keyframes up{from{transform:translateY(100%)}to{transform:none}}
@keyframes fade{from{opacity:0}to{opacity:1}}
@keyframes drop{from{transform:translateY(-14px);opacity:0}to{transform:none;opacity:1}}
@keyframes pageIn{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}
@keyframes pushL{from{opacity:0;transform:translateX(56px)}to{opacity:1;transform:none}}
@keyframes pushR{from{opacity:0;transform:translateX(-56px)}to{opacity:1;transform:none}}
@keyframes coinDrop{0%{transform:translateY(-70px);opacity:0}55%{opacity:1}100%{transform:none;opacity:1}}
@keyframes rise{from{transform:scaleY(0)}to{transform:none}}
@keyframes plateC{0%{transform:translate(-16px,-10px);opacity:0}12%{opacity:.95}62%{transform:none;opacity:.95}100%{transform:none;opacity:0}}
@keyframes plateM{0%{transform:translate(14px,-8px);opacity:0}12%{opacity:.95}62%{transform:none;opacity:.95}100%{transform:none;opacity:0}}
@keyframes plateY{0%{transform:translate(-6px,15px);opacity:0}12%{opacity:.95}62%{transform:none;opacity:.95}100%{transform:none;opacity:0}}
@keyframes plateK{0%,50%{opacity:0}72%,100%{opacity:1}}
@keyframes flip{0%,86%{transform:scaleX(1)}92%{transform:scaleX(0)}100%{transform:scaleX(1)}}
@keyframes stack{0%{transform:translateY(-36px);opacity:0}16%{transform:none;opacity:1}80%{transform:none;opacity:1}94%,100%{opacity:0}}
@keyframes wordIn{from{opacity:0;transform:translateY(10px);filter:blur(6px)}to{opacity:1;transform:none;filter:none}}
@keyframes fall{0%{transform:translateY(-160px) rotate(-30deg);opacity:0}20%{opacity:1}100%{transform:none;opacity:1}}
@keyframes blink{0%,100%{opacity:.35}50%{opacity:1}}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(237,187,0,.55)}70%{box-shadow:0 0 0 12px rgba(237,187,0,0)}100%{box-shadow:0 0 0 0 rgba(237,187,0,0)}}
@keyframes wave{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes growUp{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@keyframes growX{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes spin{to{transform:rotate(360deg)}}

/* ---------- base ---------- */
html,body{background:var(--bg)}
body{font-family:var(--body);color:var(--ink)}
html[dir="rtl"] body,html[dir="rtl"] input,html[dir="rtl"] button,html[dir="rtl"] textarea,html[dir="rtl"] select{font-family:-apple-system,"SF Arabic","Geeza Pro","Noto Kufi Arabic","Noto Sans Arabic",system-ui,sans-serif;letter-spacing:0}
html[dir="rtl"]{--fn:"SF Arabic","Geeza Pro","Noto Kufi Arabic",ui-rounded,system-ui,sans-serif}
.ic{width:1em;height:1em;fill:currentColor;flex:none;display:inline-block;vertical-align:-.125em}
bdi.n,.n{font-family:var(--fn);font-variant-numeric:tabular-nums}
.wrap{overflow-x:clip;max-width:560px;padding:calc(env(safe-area-inset-top,0px) + 8px) 0 calc(var(--tabh) + env(safe-area-inset-bottom,0px) + 60px)}
body.pushed .wrap{padding-bottom:calc(env(safe-area-inset-bottom,0px) + 40px)}
.wrap.anim{animation:pageIn .45s var(--ease) both}
.wrap.push{animation:pushL .42s var(--ease) both}
html[dir="rtl"] .wrap.push{animation-name:pushR}
.w-title{padding:12px 22px 0;font:700 32px/1.15 var(--fn);margin:0;letter-spacing:-.01em}
html[dir="rtl"] .w-title{letter-spacing:0}
.w-card{margin:10px 22px 0;padding:18px;border-radius:26px;background:var(--card);box-shadow:var(--shadow)}
.w-group{margin:0 22px;border-radius:22px;background:var(--card);padding:4px 0;box-shadow:var(--shadow)}
.w-lab{display:block;padding:22px 22px 8px;font-size:13px;font-weight:600;color:var(--muted)}
.w-sec{display:flex;justify-content:space-between;align-items:center;padding:26px 22px 10px}
.w-sec h2{margin:0;font:700 20px var(--fn)}
.w-muted{color:var(--muted)}
.w-cyan{color:var(--cyan)}.w-mag{color:var(--mag)}
.w-stagger>*{animation:pageIn .55s var(--ease) both}
.w-stagger>*:nth-child(1){animation-delay:.05s}.w-stagger>*:nth-child(2){animation-delay:.12s}.w-stagger>*:nth-child(3){animation-delay:.2s}
.w-stagger>*:nth-child(4){animation-delay:.28s}.w-stagger>*:nth-child(5){animation-delay:.34s}.w-stagger>*:nth-child(6){animation-delay:.4s}.w-stagger>*:nth-child(7){animation-delay:.46s}.w-stagger>*:nth-child(n+8){animation-delay:.5s}

/* buttons */
.w-btn{height:56px;border-radius:18px;border:0;background:var(--yel);color:var(--onyel);font:700 17px var(--body);display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:0 18px}
.w-btn:active{transform:scale(.98)}
.w-btn.sec{background:var(--card);color:var(--ink);font-weight:600}
.w-btn.cy{background:var(--cyan);color:#fff}
.w-btn[disabled],.w-btn.dim{opacity:.45}
.w-pill{height:38px;padding:0 14px;border-radius:19px;border:0;background:var(--yel);color:var(--onyel);font:700 14px var(--body);display:inline-flex;gap:6px;align-items:center;white-space:nowrap;flex:none}
.w-pill.card{background:var(--card);color:var(--cyan)}
.w-round{width:42px;height:42px;border-radius:50%;border:0;background:var(--card);color:var(--ink);font-size:20px;display:flex;align-items:center;justify-content:center;flex:none}
.w-sq{width:44px;height:44px;border-radius:14px;border:0;background:var(--card);color:var(--ink);font-size:20px;display:flex;align-items:center;justify-content:center;flex:none;padding:0}
.w-chip{flex:none;height:38px;padding:0 16px;border-radius:19px;border:0;background:var(--card);color:var(--ink);font:600 14px var(--body);display:inline-flex;align-items:center;gap:6px;transition:background .2s,color .2s;white-space:nowrap}
.w-chip[aria-pressed="true"]{background:var(--ink);color:var(--bg)}
.w-chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none}
.w-chips::-webkit-scrollbar{display:none}
.w-seg{display:flex;gap:4px;background:var(--card);border-radius:14px;padding:4px}
.w-seg button{flex:1;height:38px;border:0;border-radius:11px;font:700 14px var(--body);background:transparent;color:var(--muted);transition:all .2s;padding:0 6px;white-space:nowrap}
.w-seg button[aria-pressed="true"]{background:var(--ink);color:var(--bg)}
.w-tog{width:51px;height:31px;border-radius:16px;padding:2px;display:flex;justify-content:flex-start;background:var(--card2);transition:background .2s;flex:none}
.w-tog i{width:27px;height:27px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.3)}
.w-tog.on{background:var(--cyan);justify-content:flex-end}
html[dir="rtl"] .w-tog{justify-content:flex-end}html[dir="rtl"] .w-tog.on{justify-content:flex-start}

/* pushed screens: a back button and a title */
.w-push-h{display:flex;align-items:center;gap:10px;padding:8px 16px}
.w-push-h .t{flex:1;min-width:0;font:700 20px var(--fn);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.w-push-h .s{font-size:14px;color:var(--muted)}

/* ---------- tab bar ---------- */
.tabbar{position:fixed;left:16px;right:16px;bottom:calc(env(safe-area-inset-bottom,0px) + 18px);height:68px;border-radius:34px;z-index:40;max-width:520px;margin:0 auto;padding:0 6px;
  background:var(--tab);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);box-shadow:0 10px 30px rgba(0,0,0,.3);border:0}
.tabbar .in{height:68px;display:flex;align-items:center;justify-content:space-around;padding:0;max-width:none}
.tabbar button{flex:0 0 62px;width:62px;height:56px;border:0;background:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:var(--muted);font:600 11px var(--body);transition:color .2s}
.tabbar button .ic{font-size:24px;transition:transform .3s cubic-bezier(.3,1.6,.5,1)}
.tabbar button .ic.on{display:none}
.tabbar button[aria-current="page"]{color:var(--yel)}
.tabbar button[aria-current="page"] .ic{transform:translateY(-2px) scale(1.08)}
.tabbar button[aria-current="page"] .ic.off{display:none}.tabbar button[aria-current="page"] .ic.on{display:inline-block}
.tabbar .addbtn{flex:0 0 56px;width:56px;height:56px;border-radius:50%;background:var(--yel);color:var(--onyel);box-shadow:0 6px 18px rgba(237,187,0,.35)}
.tabbar .addbtn .ic{font-size:26px}
.tabbar .addbtn:active{transform:scale(.92)}
.tabbar .addbtn span{all:unset;display:contents}
body.pushed .tabbar,body.locked .tabbar{display:none}

/* ---------- sheets (the <dialog>) ---------- */
dialog{background:var(--bg);color:var(--ink);border-radius:32px 32px 0 0;width:100%;max-width:560px;margin:auto auto 0;max-height:92dvh;box-shadow:0 -10px 40px rgba(0,0,0,.35)}
dialog[open]{animation:up .42s cubic-bezier(.2,.9,.25,1.05)}
dialog::backdrop{background:var(--scrim);-webkit-backdrop-filter:none;backdrop-filter:none;animation:fade .25s}
.dlg-h{padding:24px 20px 6px}
.dlg-h::before{top:10px;width:40px;height:5px;border-radius:3px;background:var(--muted);opacity:.4}
.dlg-h h3{font:700 22px var(--fn)}
.dlg-h .icon-btn{background:var(--card)}
.dlg-b{padding:4px 16px 18px}
.dlg-f{border-top:0;background:var(--bg);padding:10px 16px calc(16px + env(safe-area-inset-bottom,0px))}
.dlg-f .btn{height:52px;border-radius:16px}
.dlg-f .btn.primary{flex:1;max-width:none}
.btn{border-radius:14px}
.btn.primary{background:var(--yel);color:var(--onyel);font-weight:700}
.btn.link{color:var(--cyan)}
.panel{border:0;border-radius:22px;background:var(--card)}
.inp,.sel{background:var(--card);border:1.5px solid transparent;border-radius:14px;color:var(--ink)}
.dlg-b .inp,.dlg-b .sel{background:var(--card);border-color:transparent}
.dlg-b .inp:focus,.dlg-b .sel:focus,.inp:focus{border-color:var(--yel);outline:none}
.chip{background:var(--card);border-radius:19px}
.dlg-b .chip{background:var(--card);border:0}
.seg{background:var(--card);border-radius:14px;padding:4px}
.seg button{border-radius:11px}
.seg button[aria-pressed="true"]{background:var(--ink);color:var(--bg)}
.w-grab{width:40px;height:5px;border-radius:3px;background:var(--muted);opacity:.4;margin:10px auto 0;flex:none}
.w-grab{position:sticky;top:8px;z-index:6;touch-action:none}.w-grab::before{content:"";position:absolute;inset:-14px -90px}
.w-sheet .body,dialog .dlg-b{overscroll-behavior:contain}
.w-sheet{display:flex;flex-direction:column;max-height:inherit}
.w-sheet .body{flex:1;overflow-y:auto;padding:0 0 16px;-webkit-overflow-scrolling:touch}
.w-sheet .foot{padding:10px 16px calc(16px + env(safe-area-inset-bottom,0px));background:var(--bg)}
.w-sheet h3{margin:0;padding:16px 20px 12px;font:700 22px var(--fn)}

/* ---------- toast ---------- */
.toast{top:calc(env(safe-area-inset-top,0px) + 12px);min-height:50px;border-radius:25px;background:var(--ink);color:var(--bg);padding:8px 8px 8px 16px;gap:10px;box-shadow:0 10px 30px rgba(0,0,0,.3);font-size:15px;max-width:min(360px,calc(100vw - 32px))}
.toast{left:0;right:0;margin:0 auto;width:max-content;transform:translateY(-20px)}
.toast.on{transform:none;animation:drop .35s cubic-bezier(.2,.9,.25,1.3)}
.toast>span{flex:1;min-width:0;line-height:1.3}
.toast::before{content:"";width:20px;height:20px;flex:none;border-radius:50%;background:var(--cyan);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Z'/%3E%3C/svg%3E") center/contain no-repeat}
.toast.bad::before{background:#fff}
.toast button{height:34px;padding:0 14px;border-radius:17px;background:var(--yel);color:var(--onyel);font-weight:700;flex:none}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-delay:0s!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

/* ---------- shared bits ---------- */
.w-tile{width:44px;height:44px;border-radius:14px;flex:none;display:flex;align-items:center;justify-content:center;font-size:22px}
.w-tile.lg{width:62px;height:62px;border-radius:20px;font-size:30px}
.w-tile .emo{font-size:20px;line-height:1}
.w-tile.lg .emo{font-size:28px}
.linkish{border:0;background:none;padding:0;font:600 14px var(--body);display:inline-flex;align-items:center;gap:5px}
.mi{color:var(--cyan)}

/* ---------- Home ---------- */
.h4-head{display:flex;align-items:center;gap:12px;padding:8px 22px 0}
.h4-hi{flex:1;min-width:0;display:flex;flex-direction:column}
.h4-hi span{font-size:14px;color:var(--muted)}
.h4-hi b{font:700 26px var(--fn);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.h4-logo{padding:7px}
.fort{width:100%;height:100%;overflow:visible;display:block}
.h4-total{padding:22px 22px 0;display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.h4-total .lab{font-size:13px;color:var(--muted)}
.h4-amt{display:flex;align-items:baseline;gap:6px}
.h4-amt bdi{font:700 30px var(--fn)}
.h4-amt small{font-size:14px;color:var(--muted)}
.h4-dots{display:flex;gap:5px;align-self:center}
.h4-dots i{height:6px;width:6px;border-radius:3px;background:var(--card2);transition:all .3s}
.h4-dots i.on{width:18px;background:var(--yel)}
.w-stack{position:relative;height:232px;margin:14px 22px 0}
.w-bcard{position:absolute;left:0;right:0;height:196px;border-radius:24px;padding:20px;display:flex;flex-direction:column;color:#fff;touch-action:pan-y;user-select:none;-webkit-user-select:none;
  transform-origin:top center;box-shadow:0 18px 40px rgba(0,0,0,.35);transition:transform .4s cubic-bezier(.2,.9,.25,1),top .4s,opacity .4s}
.w-bcard.d0{top:36px;z-index:3;cursor:grab}
.w-bcard.d1{top:18px;z-index:2;opacity:.7;transform:scale(.95)}
.w-bcard.d2{top:0;z-index:1;opacity:.4;transform:scale(.9)}
.w-bcard.drag{transition:none}
.bc-top{display:flex;justify-content:space-between;align-items:center;font-size:15px;font-weight:600}
.bc-top .ic{font-size:22px;opacity:.85}
.bcn4{font-size:13px;opacity:.75;margin-top:2px}
.bc-chip{width:38px;height:28px;border-radius:6px;background:linear-gradient(135deg,#F3D36A,#C99A00);margin-top:14px;opacity:.9}
.bc-bot{margin-top:auto;display:flex;align-items:flex-end;justify-content:space-between;gap:8px}
.bc-bot>div{display:flex;align-items:baseline;gap:6px;min-width:0}
.bc-bot bdi.n{font:700 30px var(--fn);white-space:nowrap}
.bc-bot small{font-size:13px;opacity:.75}
.bc-l4{font-size:14px;letter-spacing:.12em;opacity:.8;white-space:nowrap}
.h4-orb{display:flex;align-items:center;gap:18px}
.orb{position:relative;width:132px;height:132px;flex:none;border-radius:50%;overflow:hidden;background:var(--card2);box-shadow:inset 0 0 0 2px var(--line2)}
.orb .liq{position:absolute;left:0;right:0;bottom:0;transition:height 1.2s cubic-bezier(.2,.9,.25,1)}
.orb .wv{position:absolute;left:0;width:200%}
.orb .wv svg{width:100%;display:block;fill:var(--cyan)}
.orb .w1{top:-12px;height:14px;animation:wave 3.2s linear infinite}.orb .w1 svg{height:14px}
.orb .w2{top:-8px;height:10px;animation:wave 5s linear infinite reverse;opacity:.5}.orb .w2 svg{height:10px}
.orb .fl{position:absolute;inset:0;background:var(--cyan)}
.orb-t{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--orbInk)}
.orb-t bdi{font:700 26px var(--fn)}
.orb-t span{font-size:11px;opacity:.8}
.orb-r{flex:1;min-width:0;display:flex;flex-direction:column;gap:12px}
.orb-r span{font-size:13px;color:var(--muted)}
.orb-r .big{display:flex;align-items:baseline;gap:5px;flex-wrap:wrap}
.orb-r .big bdi{font:700 22px var(--fn)}
.orb-r .big small{font-size:13px;color:var(--muted)}
.orb-r .big small bdi{font:inherit}
.orb-r .trend{font-size:13px;display:flex;gap:5px;align-items:center;color:inherit}
.orb-r .trend.w-cyan{color:var(--cyan)}.orb-r .trend.w-mag{color:var(--mag)}
.h4-sms{display:flex;align-items:center;gap:14px;width:calc(100% - 44px);border:0;color:var(--ink);text-align:start;padding:14px 16px;border-radius:22px;font:inherit}
.h4-sms .badge{width:42px;height:42px;border-radius:13px;background:var(--yel);color:var(--onyel);display:flex;align-items:center;justify-content:center;font:800 18px var(--fn);animation:pulse 2s infinite;flex:none}
.h4-sms .badge.q{animation:none;font-size:22px}
.h4-sms .txt4{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.h4-sms .txt4 b{font-size:16px;font-weight:600}
.h4-sms .txt4 small{font-size:13px;color:var(--muted)}
.h4-sms>.ic{font-size:20px;color:var(--muted)}
.h4-cats{display:flex;flex-direction:column;gap:14px}
.ch{display:flex;justify-content:space-between;align-items:baseline;font-size:16px;font-weight:600}
.ch bdi{font-size:14px;color:var(--muted);font-weight:400}
.h4-cats .cbs4{display:flex;align-items:flex-end;gap:10px;height:120px}
.h4-cats .cb4{flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:6px}
.h4-cats .cb4 bdi{font-size:12px;font-weight:600;color:var(--ink2)}
.h4-cats .cb4 i{width:100%;border-radius:10px;transform-origin:bottom;animation:growUp .9s cubic-bezier(.2,.9,.25,1.1) both}
.h4-cats .cbl4{display:flex;gap:10px;margin-top:-4px}
.h4-cats .cbl4 div{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:2px;font-size:18px}
.h4-cats .cbl4 span{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.h4-today{padding:18px 18px 8px}
.h4-today .ch{padding-bottom:6px}
.tl{display:flex;gap:12px;width:100%;border:0;background:none;color:var(--ink);text-align:start;padding:0;font:inherit}
.tl .tm{width:44px;padding-top:12px;font-size:12px;color:var(--muted);text-align:end;flex:none}
.tl .lin4{display:flex;flex-direction:column;align-items:center;width:14px;flex:none}
.tl .lin4 .a{width:2px;height:14px;background:var(--line2)}
.tl .lin4 .dt4{width:12px;height:12px;border-radius:50%;border:2.5px solid;flex:none}
.tl .lin4 .b{width:2px;flex:1;background:var(--line2)}
.tl .tb{flex:1;min-width:0;display:flex;align-items:center;gap:10px;padding:8px 0 14px}
.tl .tt{flex:1;min-width:0;display:flex;flex-direction:column}
.tl .tt b{font-size:15px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tl .tt small{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tl bdi{font:700 15px var(--fn)}
.h4-today .emp4{font-size:14px;margin:4px 0 12px}
.h4-map{margin:10px 22px 0;width:calc(100% - 44px);height:110px;border-radius:26px;background:#05080C;color:#F4F3F1;position:relative;overflow:hidden;display:flex;align-items:center;padding:0 20px;border:0;text-align:start;font:inherit}
.h4-map .globe{position:absolute;top:-34px;inset-inline-end:-30px;width:178px;height:178px;border-radius:50%;background:url(../images/earth-night.jpg) -138px 0/356px 178px;box-shadow:inset -24px -14px 40px rgba(0,0,0,.85),0 0 40px rgba(56,166,207,.3);animation:none}
.h4-map .txt4{position:relative;display:flex;flex-direction:column;gap:4px;max-width:70%}
.h4-map b{font:700 18px var(--fn)}
.h4-map small{font-size:13px;color:#B5B2AE}
.h4-welcome b{font:700 20px var(--fn);display:block}
.h4-welcome p{color:var(--ink2);font-size:14.5px;margin:6px 0 14px;line-height:1.45}
.h4-welcome .act4{display:flex;gap:8px;flex-wrap:wrap}

/* ---------- Activity ---------- */
.a4-head{display:flex;align-items:flex-end;justify-content:space-between;padding-inline-end:22px}
.a4-head .w-sq.on{color:var(--yel)}
.a4-head .w-sq.on::after{content:"";position:absolute;width:8px;height:8px;border-radius:50%;background:var(--yel);transform:translate(14px,-14px)}
.a4-search{margin:14px 22px 0;height:48px;border-radius:16px;background:var(--card);display:flex;align-items:center;gap:10px;padding:0 14px}
.a4-search .ic{font-size:20px;color:var(--muted)}
.a4-search input{flex:1;min-width:0;border:0;background:none;outline:none;font:16px var(--body);color:var(--ink);padding:0;height:100%}
.a4-search input::placeholder{color:var(--muted)}
.a4-search input::-webkit-search-cancel-button{display:none}
.a4-f{padding:14px 22px 0}
.a4-adv{margin:12px 22px 0;padding:12px;border-radius:22px;background:var(--card);display:flex;flex-direction:column;gap:10px;animation:drop .3s}
.a4-adv .w-chip{background:var(--card2)}
.a4-adv .w-chip[aria-pressed="true"]{background:var(--ink);color:var(--bg)}
.a4-adv .w-chip .ic{font-size:17px}
.a4-sels{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.a4-sels .sel{background:var(--card2);height:42px;border-radius:13px;min-width:0}
.a4-advf{display:flex;gap:8px;flex-wrap:wrap}
.a4-cc{width:18px;height:12px;border-radius:3px;flex:none}
.a4-sum{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:14px 22px 0}
.a4-sum>div{border-radius:20px;background:var(--card);padding:14px;display:flex;flex-direction:column;gap:2px;min-width:0}
.a4-sum>div>span{font-size:13px;color:var(--muted)}
.a4-sum bdi{font:700 22px var(--fn);text-align:start;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.a4-cal{margin:12px 22px 0}
.a4-cal .panel{margin:0;border-radius:22px}
.a4-note{padding:12px 22px 0;font-size:13px;color:var(--muted)}
.a4-note:empty{display:none}
.a4-day{display:flex;justify-content:space-between;align-items:baseline;padding:22px 22px 8px;font-size:13px;font-weight:600;color:var(--muted)}
.a4-day bdi{font-weight:600}
.a4-over{color:var(--mag);margin-inline-start:6px}
.a4-g{margin:0 22px;border:0;border-radius:22px;background:var(--card);padding:4px 0;box-shadow:none;overflow:hidden}
.a4-g .swipe+.swipe .tx::before{display:none}
.tx.r4{display:flex;align-items:center;gap:12px;padding:11px 14px;background:var(--card);color:var(--ink);text-align:start;font:inherit}
.tx.r4:active{background:var(--card2)}
.r4m{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.r4m b{font-size:16px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.r4m small{font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.r4p{display:flex;gap:6px;flex-wrap:wrap;margin-top:2px}
.r4p i{font-style:normal;height:22px;padding:0 8px;border-radius:11px;background:var(--card2);font-size:12px;color:var(--ink2);display:flex;align-items:center;white-space:nowrap}
.tx.r4>bdi{font:700 16px var(--fn);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none}
.swipe .acts button{gap:4px;font-size:12px}
.swipe .acts button .ic{font-size:22px}
.swipe .acts .dup{background:var(--cyan)}.swipe .acts .edit{background:var(--card2);color:var(--ink)}.swipe .acts .del{background:var(--mag)}
.a4-empty{padding:56px 22px;text-align:center;color:var(--muted);display:flex;flex-direction:column;align-items:center;gap:12px;font-size:15px}
.a4-empty>.ic{font-size:40px;opacity:.6}
.a4-more{margin:16px 22px 0;width:calc(100% - 44px)}

/* ---------- a transaction in detail ---------- */
.tv4 .body{padding-bottom:28px}
.tv4-hero{display:flex;flex-direction:column;align-items:center;gap:6px;padding:18px 20px 6px;text-align:center}
.tv4-hero .t{font-size:17px;font-weight:600;margin-top:4px}
.tv4-hero .amt{display:flex;align-items:baseline;gap:6px}
.tv4-hero .amt bdi{font:700 40px var(--fn)}
.tv4-hero .amt small{color:var(--muted);font-size:16px}
.tv4-rows{margin:12px 16px 0;border-radius:22px;background:var(--card)}
.tv4-rows>div{display:flex;justify-content:space-between;gap:12px;padding:13px 16px;font-size:15px}
.tv4-rows>div+div{border-top:1px solid var(--line)}
.tv4-rows span{color:var(--muted);flex:none}
.tv4-rows b{font-weight:600;text-align:end;min-width:0;overflow-wrap:anywhere}
.tv4-bh{padding:20px 20px 8px;display:flex;justify-content:space-between;align-items:baseline}
.tv4-bh span{font:700 18px var(--fn)}
.tv4-bh small{font-size:13px;color:var(--muted)}
.tv4-bar{margin:0 16px;display:flex;height:12px;border-radius:6px;overflow:hidden;gap:2px}
.tv4-bar i{transform-origin:left;animation:growX .7s .25s cubic-bezier(.2,.9,.25,1) both}
html[dir="rtl"] .tv4-bar i{transform-origin:right}
.tv4-bill{margin:10px 16px 0;border-radius:22px;background:var(--card);padding:4px 0}
.tv4-c{padding:12px 16px 6px;display:flex;align-items:center;gap:8px;font-size:15px}
.tv4-c>i{width:10px;height:10px;border-radius:3px;flex:none}
.tv4-c>span{flex:1;min-width:0}
.tv4-c>span bdi{font-weight:400;color:var(--muted);font-family:inherit}
.tv4-c>bdi{font-weight:700;font-family:var(--body)}
.tv4-i{display:flex;gap:10px;padding:3px 16px;padding-inline-start:34px;font-size:14px;color:var(--ink2)}
.tv4-i span{flex:1;min-width:0}
.tv4-i bdi{font-family:var(--body)}
.tv4-i bdi:nth-of-type(1){color:var(--muted)}
.tv4-i bdi:nth-of-type(2){min-width:52px;text-align:end}
.tv4-sums{margin:10px 16px 4px;padding:10px 0 8px;border-top:1px dashed var(--line2);display:flex;flex-direction:column;gap:5px}
.tv4-sums>div{display:flex;justify-content:space-between;font-size:14px}
.tv4-sums>div.b{font-weight:700;font-size:16px}
.tv4-sums bdi{font-family:var(--body)}
.tv4-more{margin:10px 16px 0;border-radius:18px;background:var(--card);padding:14px 16px}
.tv4-more summary{display:flex;justify-content:space-between;align-items:center;font-size:15px;font-weight:600;list-style:none;cursor:pointer}
.tv4-more summary::-webkit-details-marker{display:none}
.tv4-more summary span{display:flex;gap:8px;align-items:center}
.tv4-more summary .ic{font-size:19px}
.tv4-more summary>.ic{font-size:16px;color:var(--muted);transition:transform .2s}
.tv4-more[open] summary>.ic{transform:rotate(180deg)}
.tv4-more pre{margin:10px 0 0;white-space:pre-wrap;font:13px/1.5 ui-monospace,Menlo,monospace;color:var(--ink2);animation:drop .3s;overflow-wrap:anywhere}
.tv4-acts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:16px 16px 0}
.tv4-acts.two{grid-template-columns:1fr 1fr}
.tv4-acts button{height:52px;border-radius:16px;border:0;background:var(--card);color:var(--ink);font:600 15px var(--body);display:flex;gap:6px;align-items:center;justify-content:center}
.tv4-acts button.y{background:var(--yel);color:var(--onyel);font-weight:700}
.tv4-acts .ic{font-size:18px}

/* ---------- Add sheet ---------- */
#done{display:none!important}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
dialog:has(.add4){height:93dvh;max-height:93dvh}
.add4{height:100%}
.add4.in .body,.bl4.in .body{animation:none}
.add4 .body{padding-bottom:18px}
.add4-seg{margin:16px 16px 0}
.add4-seg button{font-size:13.5px;padding:0 2px}
.add4-amt{display:flex;justify-content:center;align-items:baseline;gap:8px;padding:8px 16px 0}
.add4-amt bdi{font:700 54px/1.1 var(--fn);color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:80%;transition:color .2s}
.add4-amt bdi.empty{color:var(--card2)}
.add4-amt small{font-size:18px;color:var(--muted)}
.add4-sub{text-align:center;font-size:14px;color:var(--muted);min-height:4px}
.add4-what{margin:6px 16px 0;height:52px;border-radius:16px;background:var(--card);display:flex;align-items:center;padding:0 16px}
.add4-what input{flex:1;min-width:0;border:0;background:none;outline:none;font:16px var(--body);color:var(--ink);padding:0;height:100%}
.add4-what input::placeholder{color:var(--muted)}
.add4-what:focus-within{box-shadow:inset 0 0 0 1.5px var(--yel)}
.add4-quick{padding:10px 16px 0}
.add4-quick .w-chip{height:36px;padding:0 12px;font-size:13.5px}
.add4-quick .w-chip bdi{color:var(--muted);font-weight:600}
.add4-quick .w-chip .ic{color:var(--yel)}
.add4-bill{margin:10px 16px 0;width:calc(100% - 32px);min-height:58px;border-radius:16px;border:1.5px dashed var(--yel);background:transparent;color:var(--ink);display:flex;align-items:center;gap:12px;padding:8px 14px;text-align:start;font:inherit}
.add4-bill>.ic:first-child{font-size:24px;color:var(--yel)}
.add4-bill span{flex:1;display:flex;flex-direction:column;gap:2px}
.add4-bill b{font-size:15px;font-weight:700}
.add4-bill small{font-size:12px;color:var(--muted)}
.add4-bill>.ic:last-child{color:var(--muted)}
.add4-lab{padding:18px 20px 8px;font-size:13px;font-weight:600;color:var(--muted)}
.add4-cats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:0 16px}
.add4-cats button{height:74px;border-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font:600 12px var(--body);border:2px solid transparent;background:var(--card);color:var(--ink);transition:border-color .2s;padding:0 4px;min-width:0}
.add4-cats button>span:first-child{font-size:24px;line-height:1;display:flex}
.add4-cats button .emo{font-size:22px}
.add4-cats .n{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.add4-cats button[aria-pressed="true"]{border-color:var(--yel)}
.add4-items{padding:10px 16px 0;align-items:center}
.add4-items .w-chip{height:34px;padding:0 13px;font-size:13.5px}
.add4 .inline-add{flex:none;display:inline-flex;gap:6px;align-items:center}
.add4 .inline-add .inp{width:120px;height:34px;padding:0 12px;border-radius:17px;font-size:14px}
.add4-acc{padding:0 16px}
.add4-acc button{flex:none;height:44px;padding:0 12px;border-radius:14px;display:flex;align-items:center;gap:8px;font:600 14px var(--body);border:1.5px solid transparent;background:var(--card);color:var(--ink);white-space:nowrap}
.add4-acc button[aria-pressed="true"]{border-color:var(--yel)}
.add4-acc i{width:18px;height:12px;border-radius:3px;flex:none}
.add4-date,.add4-kind{padding:0 16px}
.add4-date .w-chip,.add4-kind .w-chip{height:40px;border-radius:20px}
.w-chip.on{background:var(--ink);color:var(--bg)}
.w-chip.datechip{position:relative;overflow:hidden}
.w-chip.datechip input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}
.add4-more{margin:18px 16px 0;width:calc(100% - 32px);height:48px;border-radius:14px;border:0;background:var(--card);color:var(--ink);font:600 15px var(--body);display:flex;align-items:center;justify-content:space-between;padding:0 16px}
.add4-card{margin:8px 16px 0;border-radius:18px;background:var(--card);overflow:hidden;animation:drop .3s}
.add4-tr{min-height:54px;display:flex;align-items:center;gap:12px;padding:0 16px;cursor:pointer}
.add4-tr+.add4-tr{border-top:1px solid var(--line)}
.add4-tr>.ic{font-size:20px;color:var(--yel)}
.add4-tr span{flex:1;font-size:15px}
.add4-tr input{position:absolute;opacity:0;pointer-events:none}
.add4-tr input:focus-visible+.w-tog{outline:2px solid var(--yel);outline-offset:2px}
.add4-box{margin:8px 16px 0;padding:14px;border-radius:18px;background:var(--card);display:flex;flex-direction:column;gap:12px;animation:drop .3s}
.add4-box .sect{background:none;border:0;padding:0}
.add4-box .inp,.add4-box .sel,.add4 .sect .inp,.add4 .sect .sel{background:var(--card2)}
.add4 .field{display:flex;flex-direction:column;gap:6px}
.add4 .field>label,.add4 .field>.lab{font-size:13px;font-weight:600;color:var(--muted);text-transform:none;letter-spacing:0}
.add4-f{margin:14px 16px 0}
.add4 .chip{background:var(--card2);border:0}
.add4 .chip[aria-pressed="true"]{background:var(--ink)!important;color:var(--bg)!important}
.add4 .seg.small{background:var(--card2)}
.add4 .sect{margin:10px 16px 0;background:var(--card);border:0;border-radius:18px}
.add4-row{display:flex;gap:8px;flex-wrap:wrap;padding:0 16px;align-items:center}
.add4-row .sel{flex:1;min-width:140px;height:44px}
.add4-sub2{margin:14px 16px 0}
.add4-hint{margin:12px 20px 0}
.add4-edit{display:flex;gap:8px;flex-wrap:wrap;padding:18px 16px 0}
.add4-edit .w-chip .ic{font-size:17px}
.add4-edit .w-chip.del{color:var(--mag)}
.add4 #dErr{margin:12px 20px 0}
.add4 #dErr:empty{display:none}
.add4-kp{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;padding:8px 12px 0;background:var(--bg)}
.add4-kp button{height:46px;border-radius:12px;border:0;font:600 22px var(--fn);background:var(--card);color:var(--ink);display:flex;align-items:center;justify-content:center;touch-action:manipulation;-webkit-user-select:none;user-select:none}
.add4-kp button:active{background:var(--card2);transform:scale(.97)}
.add4-kp .ic{font-size:24px}
.add4 .foot{padding:10px 12px calc(14px + env(safe-area-inset-bottom,0px))}
.w-btn.dim{opacity:.45}

/* ---------- Add bill text ---------- */
.bl4 .body{padding:0 16px 16px}
.bl4.in{animation:none}
.bl4-h{display:flex;align-items:center;justify-content:space-between;padding:16px 4px 14px}
.bl4-h h3{padding:0;font:700 22px var(--fn)}
.bl4-steps{display:flex;flex-direction:column;gap:10px}
.bl4-step{border-radius:20px;background:var(--card);padding:14px;display:flex;gap:12px;align-items:center}
.bl4-step .num{width:32px;height:32px;border-radius:50%;background:var(--card2);color:var(--ink);font-weight:800;display:flex;align-items:center;justify-content:center;flex:none;transition:all .3s}
.bl4-step .num.done{background:var(--cyan);color:#fff}
.bl4-step .t{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
.bl4-step b{font-size:15px;font-weight:700}
.bl4-step small{font-size:13px;color:var(--muted)}
.bl4-step .w-pill{height:36px;font-size:14px}
.bl4-ta{margin-top:10px;width:100%;min-height:96px;border-radius:18px;font:13px/1.5 ui-monospace,Menlo,monospace;padding:12px 14px;resize:vertical}
.bl4-pv{margin-top:10px;border-radius:20px;background:var(--card);padding:14px;display:flex;flex-direction:column;gap:8px;animation:drop .35s ease}
.bl4-pv .ok{font-size:14px;font-weight:700;color:var(--cyan);display:flex;gap:6px;align-items:center}
.bl4-pv .ok .ic{font-size:18px}
.bl4-pv.bad{flex-direction:row;color:var(--muted);font-size:13.5px;align-items:flex-start}
.bl4-pv.bad .ic{color:var(--mag);font-size:18px;flex:none}
.bl4-pv .pvbar{display:flex;height:10px;border-radius:5px;overflow:hidden;gap:2px}
.bl4-pv .pvbar i{transform-origin:left;animation:growX .6s both}
.bl4-pv .pvln{display:flex;gap:8px;align-items:center;font-size:14px}
.bl4-pv .pvln>i{width:10px;height:10px;border-radius:3px;flex:none}
.bl4-pv .pvln span{flex:1}
.bl4-pv .pvln bdi{font-weight:600;font-family:var(--body)}
.bl4-pv .pvln.sm{color:var(--muted);padding-inline-start:18px}
.bl4-pv .tot{display:flex;justify-content:space-between;font-size:15px;font-weight:700;padding-top:6px;border-top:1px solid var(--line)}
.bl4-pv .tot bdi{font-family:var(--body)}
.bl4 .bb-msg{margin-top:10px;color:var(--mag)}

/* ---------- Bank SMS review ---------- */
.w-push-h .w-pill.card{color:var(--cyan)}
.s4-load{display:flex;flex-direction:column;align-items:center;padding:80px 30px 0;gap:22px;text-align:center}
.s4-load .lg,.s4-done .lg{width:90px;height:90px}
.s4-done .lg{width:110px;height:110px}
.s4-load .lg svg,.s4-done .lg svg{width:100%;height:100%}
.s4-load>span{font-size:17px;color:var(--muted)}
.s4-snd{display:flex;flex-direction:column;gap:8px;width:100%}
.s4-snd div{display:flex;gap:12px;align-items:center;padding:12px 14px;border-radius:16px;background:var(--card);animation:pageIn .5s both;text-align:start}
.s4-snd .ic{font-size:20px;color:var(--cyan)}
.s4-snd b{flex:1;font-size:15px;font-weight:600}
.s4-snd small{font-size:13px;color:var(--muted)}
.s4-bars{display:flex;gap:4px;padding:6px 22px 0}
.s4-bars i{flex:1;height:4px;border-radius:2px;background:var(--card2);transition:background .3s}
.s4-bars i.on{background:var(--cyan)}.s4-bars i.cur{background:var(--yel)}
.s4-pos{padding:8px 22px 0;font-size:13px;color:var(--muted)}
.s4-wrap{position:relative;margin:12px 16px 0}
.s4-under{position:absolute;left:10px;right:10px;top:10px;bottom:-10px;border-radius:26px;background:var(--card);opacity:.5}
.s4-card{position:relative;border-radius:26px;background:var(--card);padding:18px;display:flex;flex-direction:column;gap:16px;touch-action:pan-y;-webkit-user-select:none;user-select:none;box-shadow:0 10px 30px rgba(0,0,0,.25);animation:pageIn .4s both;will-change:transform}
.s4-stamp{position:absolute;top:18px;padding:4px 10px;border-radius:10px;border:2px solid;font-weight:800;font-size:14px;opacity:0;pointer-events:none;z-index:2;background:var(--card)}
.s4-stamp.yes{inset-inline-start:18px;color:var(--cyan);transform:rotate(-8deg)}
.s4-stamp.no{inset-inline-end:18px;color:var(--mag);transform:rotate(8deg)}
.s4-from{display:flex;justify-content:space-between;gap:10px;font-size:13px;color:var(--muted)}
.s4-from b{font-weight:700;color:var(--ink2)}
.s4-text{background:var(--card2);border-radius:16px;padding:12px 14px;font-size:14px;line-height:1.45;color:var(--ink2);overflow-wrap:anywhere}
.s4-amt{display:flex;flex-direction:column;align-items:center;gap:2px;text-align:center}
.s4-amt>span{font-size:15px;color:var(--muted)}
.s4-amt>div{display:flex;align-items:baseline;gap:6px}
.s4-amt>div bdi{font:700 42px var(--fn)}
.s4-amt>div small{color:var(--muted)}
.s4-amt p{margin:4px 0 0;font-size:13px;color:var(--muted);display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:center}
.s4-amt p.w-mag{color:var(--mag)}
.s4-fx{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);margin-top:6px}
.s4-fx .inp{width:110px;height:38px;background:var(--card2);text-align:center}
.s4-dir{background:var(--card2)}
.s4-dir button{height:40px;font-size:15px}
.s4-dir.out button[aria-pressed="true"]{background:var(--mag);color:#fff}
.s4-dir.in button[aria-pressed="true"]{background:var(--cyan);color:#fff}
.s4-sec{display:flex;flex-direction:column;gap:8px}
.s4-sec .lab{font-size:13px;font-weight:600;color:var(--muted)}
.s4-acc{margin:0 -18px;padding:0 18px}
.s4-acc button{flex:none;height:42px;padding:0 12px;border-radius:14px;display:flex;align-items:center;gap:8px;font:600 14px var(--body);border:1.5px solid transparent;background:var(--card2);color:var(--ink);white-space:nowrap}
.s4-acc button[aria-pressed="true"]{border-color:var(--yel);background:var(--card)}
.s4-acc i{width:18px;height:12px;border-radius:3px;flex:none}
.s4-why{display:flex;gap:8px;align-items:flex-start;font-size:13px;line-height:1.4}
.s4-why .ic{font-size:18px}
.s4-cats{display:flex;gap:8px;flex-wrap:wrap}
.s4-cats button{height:38px;padding:0 12px;border-radius:19px;font:600 14px var(--body);display:flex;gap:6px;align-items:center;border:0;background:var(--card2);color:var(--ink)}
.s4-cats button>span{display:flex;font-size:17px}
.s4-cats button[aria-pressed="true"]{background:var(--ink);color:var(--bg)}
.s4-bal{display:flex;justify-content:space-between;font-size:14px;padding-top:10px;border-top:1px solid var(--line)}
.s4-bal span{color:var(--muted)}
.s4-bal bdi{font-weight:700;font-family:var(--body)}
.s4-btns{position:fixed;left:0;right:0;bottom:0;z-index:30;max-width:560px;margin:0 auto;padding:14px 22px calc(env(safe-area-inset-bottom,0px) + 22px);display:flex;gap:12px;align-items:center;justify-content:center;background:linear-gradient(transparent,var(--bg) 30%)}
.s4-btns button{width:64px;height:64px;border-radius:50%;border:0;font-size:28px;display:flex;align-items:center;justify-content:center;flex:none}
.s4-btns button:active{transform:scale(.92)}
.s4-btns .no{background:var(--card);color:var(--mag)}
.s4-btns .yes{background:var(--cyan);color:#fff;box-shadow:0 8px 20px rgba(0,136,176,.35)}
.s4-btns span{flex:1;text-align:center;font-size:13px;color:var(--muted)}
body.pushed .wrap:has(.s4-btns){padding-bottom:calc(env(safe-area-inset-bottom,0px) + 130px)}
.s4-done,.s4-empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:90px 30px 0;gap:10px;animation:pageIn .5s both}
.s4-done>b,.s4-empty>b{font:700 26px var(--fn);margin-top:14px}
.s4-empty>b{font-size:22px;margin-top:4px}
.s4-done>span,.s4-empty>span{font-size:15px;color:var(--muted);line-height:1.45;max-width:330px}
.s4-done .w-btn{margin-top:20px;width:auto;padding:0 28px;height:50px;border-radius:16px}
.s4-done .linkish,.s4-empty .linkish{margin-top:10px}
.s4-empty{padding-top:60px}
.s4-empty>.ic{font-size:54px;color:var(--cyan)}
.s4-empty .w-btn{margin-top:8px}
.s4-empty .w-btn:first-of-type{margin-top:22px}
.imp4 .body{padding-bottom:10px}

/* ---------- Wealth ---------- */
.wl4-nw{margin-top:14px;padding:22px;display:flex;flex-direction:column;gap:4px}
.wl4-nw .lab{font-size:13px;color:var(--muted)}
.wl4-nw .amt{display:flex;align-items:baseline;gap:6px}
.wl4-nw .amt bdi{font:700 38px/1.15 var(--fn)}
.wl4-nw .amt small{color:var(--muted)}
.wl4-nw .nwb{display:flex;height:10px;gap:3px;margin:14px 0 10px}
.wl4-nw .nwb i{border-radius:5px;transform-origin:left;animation:growX .9s cubic-bezier(.2,.9,.25,1) both}
html[dir="rtl"] .wl4-nw .nwb i{transform-origin:right}
.wl4-nw .leg{display:flex;flex-direction:column;gap:6px;font-size:13px}
.wl4-nw .leg span{display:flex;gap:6px;align-items:center}
.wl4-nw .leg i{width:8px;height:8px;border-radius:50%}
.wl4-nw .leg bdi{font-weight:600;font-family:var(--body)}
.wl4-goals{display:flex;flex-direction:column;gap:10px;padding:0 22px}
.wl4-g{border-radius:24px;background:var(--card);padding:18px;display:flex;flex-direction:column;gap:12px}
.wl4-g .hd{display:flex;gap:12px;align-items:center;border:0;background:none;color:var(--ink);padding:0;text-align:start;font:inherit}
.wl4-g .gi{width:46px;height:46px;border-radius:14px;background:var(--card2);display:flex;align-items:center;justify-content:center;font-size:24px;color:var(--yel);flex:none}
.wl4-g .nm{flex:1;min-width:0;display:flex;flex-direction:column}
.wl4-g .nm b{font-size:17px;font-weight:700}
.wl4-g .nm small{font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wl4-g .hd>bdi{font:700 20px var(--fn);color:var(--yel)}
.wl4-g .pr{height:8px;border-radius:4px;background:var(--card2);overflow:hidden}
.wl4-g .pr i{display:block;height:100%;border-radius:4px;background:var(--yel);transform-origin:left;animation:growX 1s .25s cubic-bezier(.2,.9,.25,1) both}
html[dir="rtl"] .wl4-g .pr i{transform-origin:right}
.wl4-g .am{display:flex;justify-content:space-between;font-size:14px}
.wl4-g .am>bdi{font-weight:700;font-family:var(--body)}
.wl4-g .am span{color:var(--muted)}
.wl4-g .am span bdi{font-family:var(--body)}
.wl4-g .gln{display:flex;flex-direction:column;gap:7px;padding-top:12px;border-top:1px solid var(--line);font-size:13px;color:var(--ink2)}
.wl4-g .gln span{display:flex;gap:8px;align-items:center}
.wl4-g .gln .ic{font-size:17px;flex:none}
.wl4-g .gln .b{color:var(--ink);font-weight:600}
.wl4-g .w-btn.sec{height:44px;border-radius:14px;background:var(--card2);font-size:15px}
.wl4-empty{display:flex;gap:12px;align-items:flex-start;color:var(--muted);font-size:14px;line-height:1.45}
.wl4-empty>.ic{font-size:26px;color:var(--yel);flex:none}
.wl4-inv .row,.fr4-hist .row{display:flex;align-items:center;gap:12px;padding:12px 14px;width:100%;border:0;background:none;color:var(--ink);text-align:start;font:inherit}
.wl4-inv .nm,.fr4-hist .nm{flex:1;min-width:0;display:flex;flex-direction:column}
.wl4-inv .nm b,.fr4-hist .nm b{font-size:16px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wl4-inv .nm small,.fr4-hist .nm small{font-size:13px;color:var(--muted)}
.wl4-inv .v{display:flex;flex-direction:column;align-items:flex-end}
.wl4-inv .v bdi:first-child{font:700 16px var(--fn)}
.wl4-inv .v bdi:last-child{font:600 13px var(--body)}
.fr4-hist .row>bdi{font:700 15px var(--fn)}
.w-sec .w-pill .ic{font-size:16px}
.y4-row{display:flex;align-items:center;gap:12px;width:100%;min-height:60px;padding:0 16px;border:0;background:none;color:var(--ink);font:600 16px var(--body);text-align:start}
.y4-row+.y4-row{border-top:1px solid var(--line)}
.y4-row>.ic:first-child{font-size:22px}
.y4-row span{flex:1;display:flex;flex-direction:column}
.y4-row small{font-size:13px;color:var(--muted);font-weight:400}
.y4-row small bdi{font-family:var(--body)}
.y4-row>.ic:last-child{color:var(--muted)}

/* ---------- New goal ---------- */
.gn-bars{padding-top:6px}
.gn-bars i.on{background:var(--yel)}
.gn-step{animation:pushL .35s var(--ease) both}
.gn-step.back{animation-name:pushR}
html[dir="rtl"] .gn-step{animation-name:pushR}html[dir="rtl"] .gn-step.back{animation-name:pushL}
.gn-t{padding:22px 22px 16px;margin:0;font:700 28px/1.15 var(--fn)}
.gn-kinds{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0 22px}
.gn-kinds button{height:88px;border-radius:20px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;padding:0 16px;font:600 15px var(--body);border:2px solid transparent;background:var(--card);color:var(--ink);transition:border-color .2s;text-align:start}
.gn-kinds .ic{font-size:26px;color:var(--yel)}
.gn-kinds button[aria-pressed="true"],.gn-months button[aria-pressed="true"],.gn-rows button[aria-pressed="true"],.gn-other.on{border-color:var(--yel)}
.gn-f{display:flex;flex-direction:column;gap:8px;padding:0 22px;margin-top:20px}
.gn-f>span,.gn-lab{font-size:13px;font-weight:600;color:var(--muted)}
.gn-f>span small{font-weight:400}
.gn-f .inp{height:52px;border-radius:16px}
.gn-amt{display:flex;align-items:center;gap:8px;height:68px;border-radius:20px;background:var(--card);padding:0 18px}
.gn-amt input{flex:1;min-width:0;border:0;background:none;outline:none;font:700 32px var(--fn);color:var(--ink);text-align:start;padding:0}
.gn-amt.sm{height:58px}.gn-amt.sm input{font-size:24px}
.gn-amt small{color:var(--muted)}
.gn-amt:focus-within{box-shadow:inset 0 0 0 2px var(--yel)}
.gn-months{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.gn-months button,.gn-other{height:60px;border-radius:18px;font:600 15px var(--body);border:2px solid transparent;background:var(--card);color:var(--ink);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px}
.gn-months small{font-size:12px;color:var(--muted);font-weight:400}
.gn-other{position:relative;overflow:hidden}
.gn-other input{position:absolute;inset:0;opacity:0;width:100%;height:100%}
.gn-rows{display:flex;flex-direction:column;gap:10px;padding:0 22px}
.gn-f .gn-rows{padding:0}
.gn-lab{display:block;padding:20px 22px 8px}
.gn-rows button{min-height:62px;border-radius:20px;display:flex;align-items:center;gap:12px;padding:10px 14px;border:2px solid transparent;background:var(--card);color:var(--ink);text-align:start;font:inherit}
.gn-rows button>.ic:first-child{font-size:22px}
.gn-rows button>span{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.gn-rows b{font-size:15px;font-weight:600}
.gn-rows small,.gn-rows bdi{font-size:13px;color:var(--muted);text-align:start}
.gn-rows button>.ic:last-child{font-size:24px;color:var(--yel);flex:none}
.gn-rows button[aria-pressed="false"]>.ic:last-child{color:var(--line2)}
.gn-rows .cc{width:36px;height:24px;border-radius:5px;flex:none;display:flex;align-items:center;justify-content:center}
.gn-rows .cc.hand{background:var(--card2);color:var(--yel);font-size:16px}
.gn-step>.w-seg{margin:0 22px}
.gn-auto{margin:20px 22px 0;width:calc(100% - 44px);display:flex;align-items:center;gap:12px;min-height:58px;border-radius:18px;background:var(--card);padding:10px 14px;border:0;color:var(--ink);text-align:start;font:inherit}
.gn-auto span{flex:1;display:flex;flex-direction:column;font-size:15px;font-weight:600;gap:2px}
.gn-auto small{font-size:12.5px;color:var(--muted);font-weight:400}
.gn-foot{position:fixed;left:0;right:0;bottom:0;z-index:30;max-width:560px;margin:0 auto;padding:14px 22px calc(env(safe-area-inset-bottom,0px) + 22px);background:var(--bg);display:flex;flex-direction:column;gap:12px}
.gn-hint{font-size:14px;line-height:1.45;color:var(--ink2);display:flex;gap:8px;padding:12px 14px;border-radius:16px;background:var(--card)}
.gn-hint .ic{font-size:20px;color:var(--yel)}
.gn-hint span{flex:1;min-width:0}
.gn-foot .err:empty{display:none}
body.pushed .wrap:has(.gn-foot){padding-bottom:calc(env(safe-area-inset-bottom,0px) + 220px)}

/* ---------- Friends ---------- */
.fr4-sum{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:10px 22px 0}
.fr4-sum>div{border-radius:22px;background:var(--card);padding:16px;display:flex;flex-direction:column;gap:2px;min-width:0}
.fr4-sum>div>span{font-size:13px;color:var(--muted)}
.fr4-sum bdi{font:700 26px var(--fn);text-align:start}
.fr4-sum bdi span{font-size:inherit}
.fr4-list{margin-top:12px;border:0;overflow:hidden}
.tx.fr4-row{display:flex;align-items:center;gap:12px;padding:12px 14px;background:var(--card);color:var(--ink);text-align:start;font:inherit}
.fr4-row .av,.fr4-hero .av{width:46px;height:46px;border-radius:50%;flex:none;display:flex;align-items:center;justify-content:center;color:#fff;font-size:18px;font-weight:700}
.fr4-row .nm{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.fr4-row .nm b{font-size:16px;font-weight:600}
.fr4-row .nm small{font-size:13px;color:var(--muted)}
.fr4-row .v{display:flex;flex-direction:column;align-items:flex-end;gap:1px}
.fr4-row .v small{font-size:12px}
.fr4-row .v bdi,.fr4-row .v b{font:700 16px var(--fn)}
.fr4-row .v b{color:var(--muted);font-weight:600;font-size:14px}
.fr4-tip{margin:8px 24px 0}
.fr4-add{display:flex;gap:8px;margin:14px 22px 0}
.fr4-add .inp{flex:1;height:44px;border-radius:14px}
.fr4-add .w-pill{height:44px}
.fr4-split{margin:12px 22px 0;width:calc(100% - 44px);height:52px;border-radius:18px;border:1.5px dashed var(--line2);background:transparent;color:var(--ink);font:600 16px var(--body);display:flex;gap:8px;align-items:center;justify-content:center}
.fr4-split .ic{font-size:20px}
.fr4-split.sec{border-style:solid;border-color:transparent;background:var(--card);margin-top:8px}
.fr4-hero{display:flex;flex-direction:column;align-items:center;gap:6px;padding:18px 0 16px;text-align:center}
.fr4-hero .av{width:64px;height:64px;font-size:26px}
.fr4-hero>b{font-size:18px;font-weight:700}
.fr4-hero>span{font-size:14px}
.fr4-hero>bdi{font:700 36px var(--fn)}
.fr4-due{display:flex;gap:6px;align-items:center;color:var(--muted)}
.fr4-acts{display:flex;flex-direction:column;gap:8px;padding:0 16px}
.fr4-acts .w-btn{height:54px}
.fr4-acts .w-btn .ic{font-size:22px}
.fr4-more{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:4px}
.fr4-more .ic{font-size:16px}
.fr4-hist{margin:0 16px}
.fr4-name{display:flex;gap:8px;padding:0 16px;align-items:center}
.fr4-name .inp{flex:1;height:44px}
.w-chip.del{color:var(--mag)}

/* ---------- Accounts ---------- */
.ac4-list{display:flex;flex-direction:column;gap:10px;padding:12px 22px 0}
.ac4-row{border-radius:22px;background:var(--card);padding:14px;display:flex;align-items:center;gap:14px;border:0;color:var(--ink);text-align:start;font:inherit;width:100%}
.ac4-row .cc{width:58px;height:38px;border-radius:8px;flex:none;position:relative}
.ac4-row .cc i{position:absolute;top:9px;inset-inline-start:8px;width:12px;height:9px;border-radius:2px;background:#EDBB00}
.ac4-row .nm{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.ac4-row .nm b{font-size:16px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ac4-row .nm small{font-size:13px;color:var(--muted)}
.ac4-row .v{display:flex;flex-direction:column;align-items:flex-end;gap:2px;flex:none}
.ac4-row .v>bdi{font:700 16px var(--fn)}
.ac4-row .v small{font-size:12px;color:var(--muted);display:flex;gap:3px;align-items:center}
.ac4-row .v small.w-cyan{color:var(--cyan)}.ac4-row .v small.w-mag{color:var(--mag)}
.ac4-tip{margin:12px 24px 0}
.ae4-pv{margin:8px 20px 0;height:190px;border-radius:24px;padding:18px;color:#fff;display:flex;flex-direction:column;position:relative;box-shadow:0 14px 34px rgba(0,0,0,.35)}
.ae4-pv .t{display:flex;justify-content:space-between;font-size:14px;font-weight:600;opacity:.9}
.ae4-pv .t .ic{font-size:22px}
.ae4-pv .nm{font:700 20px var(--fn);margin-top:6px}
.ae4-pv .chip{width:38px;height:28px;border-radius:6px;background:linear-gradient(135deg,#F3D27A,#C99A2E);margin-top:12px}
.ae4-pv .b{margin-top:auto;display:flex;justify-content:space-between;align-items:flex-end}
.ae4-pv .b>div{display:flex;align-items:baseline;gap:6px}
.ae4-pv .b bdi.n{font:700 24px var(--fn)}
.ae4-pv .b small{opacity:.8;font-size:13px}
.ae4-pv .b>bdi{font-size:14px;opacity:.85;letter-spacing:.06em}
.ae4-pills{padding:0 16px}
.ae4-pills .ic{font-size:17px}
.ae4-banks{display:flex;gap:8px;flex-wrap:wrap;padding:0 16px}
.ae4-banks .w-chip{height:36px;padding:0 13px;font-size:13.5px}
.ae4-in{margin:10px 16px 0;width:calc(100% - 32px)}
.ae4-two{display:grid;grid-template-columns:1.4fr 1fr;gap:10px;padding:18px 16px 0}
.ae4-two label,.ae4-bal{display:flex;flex-direction:column;gap:6px}
.ae4-two span,.ae4-bal>span{font-size:13px;font-weight:600;color:var(--muted)}
.ae4-two .inp{height:50px;border-radius:16px}
.ae4-bal{padding:18px 16px 0}
.ae4-bal>small{font-size:12.5px;color:var(--muted)}
.ae4-safe{margin:16px 16px 0;padding:12px 14px;border-radius:16px;background:var(--card);display:flex;gap:10px;align-items:flex-start;font-size:13.5px;color:var(--ink2);line-height:1.4}
.ae4-safe .ic{font-size:20px;color:var(--cyan);flex:none}
.ae4 .add4-box .swatches button{border-radius:8px}

/* ---------- You ---------- */
.y4-off{margin:6px 22px 0;font-size:14px;color:var(--muted);display:flex;gap:6px;align-items:center}
.y4-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:18px 22px 0}
.y4-tile{border-radius:22px;background:var(--card);padding:16px;min-height:120px;display:flex;flex-direction:column;gap:4px;border:0;color:var(--ink);text-align:start;font:inherit}
.y4-tile>.ic{font-size:28px;color:var(--yel)}
.y4-tile b{margin-top:auto;font-size:16px;font-weight:700}
.y4-tile small{font-size:13px;color:var(--muted)}
.y4-tile:active,.y4-row:active,.s4r:active,.ac4-row:active{opacity:.75}

/* ---------- Settings ---------- */
.s4g{padding:0;overflow:hidden}
.s4r{min-height:54px;display:flex;align-items:center;gap:12px;padding:6px 16px;width:100%;border:0;background:none;color:var(--ink);font:16px var(--body);text-align:start}
.s4r+.s4r{border-top:1px solid var(--line)}
.s4r>span:first-child{flex:1}
.s4r .val{font-size:15px;color:var(--muted);display:flex;gap:4px;align-items:center;max-width:55%;overflow:hidden;white-space:nowrap}
.s4r.danger{color:var(--mag)}
.s4seg{display:flex;gap:2px;background:var(--card2);border-radius:10px;padding:3px}
.s4seg button{height:30px;padding:0 12px;border:0;border-radius:8px;font:600 13px var(--body);background:none;color:var(--muted)}
.s4seg button[aria-pressed="true"]{background:var(--ink);color:var(--bg)}
.s4-foot{padding:20px;text-align:center;font-size:13px;color:var(--muted);display:flex;flex-direction:column;gap:6px;align-items:center}
.s4-foot .linkish{font-size:13px}
.set4-b{padding:0 20px;display:flex;flex-direction:column;gap:14px}
.set4-b .rows .rw{background:var(--card);border:0}
.set4-b .catblock{background:var(--card);border:0;border-radius:18px}
.set4-h{font:600 14px var(--body);color:var(--muted);margin:10px 0 0}
.set4-b .bar{display:flex;gap:8px;flex-wrap:wrap}
.set4-b .toggle-row{display:flex;align-items:center;justify-content:space-between;gap:12px}

/* ---------- Spending map: always dark, glass panels, gold amounts ---------- */
.mv-top{margin:calc(env(safe-area-inset-top,0px) + 10px) 16px 0;padding:10px 12px;border-radius:22px;background:rgba(30,32,36,.55);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,.08);left:0;right:0}
.mv-x{width:38px;height:38px;border:0;background:rgba(255,255,255,.1);font-size:18px;display:flex;align-items:center;justify-content:center}
.mv-h h2{font:700 16px var(--fn);text-shadow:none}
.mv-h small{color:#B5B2AE;font-size:12px}
.mv-style button{display:inline-flex;align-items:center;justify-content:center;color:#fff;font-size:17px}
.mv-style button[aria-pressed="true"]{color:#EDBB00}
.mv-time,.mv-card,.mv-detail{background:rgba(30,32,36,.6);border:1px solid rgba(255,255,255,.08);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
.mv-time,.mv-detail{border-radius:24px;margin:0 16px}
.mv-cards{padding:2px 16px}
.mv-card{border-radius:18px}
.mv-card .mc-amt,.mvd-amt{color:#EDBB00;font-family:var(--fn)}
.mv-card b,.mvd-h>div b{font-family:var(--fn)}
.mv-card.on{border-color:#EDBB00;box-shadow:0 0 0 1px #EDBB00,0 10px 30px -8px rgba(237,187,0,.6)}
.mv-card.geo{background:rgba(30,32,36,.6)}
.mv-play{background:#EDBB00;color:#1A1500;box-shadow:0 6px 18px rgba(237,187,0,.4)}
.mv-track input[type=range]{accent-color:#EDBB00}

/* ---------- splash (about 2.5s, tap to skip) ---------- */
#splash{background:var(--bg);display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;cursor:pointer}
.sp4-glow{position:absolute;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(56,166,207,.16),transparent 65%);animation:fade 1.4s .6s both}
.sp4-logo{width:150px;height:150px;position:relative}
.sp4-logo svg,.lk4-logo svg,#load4 .lg svg,.h4-logo svg{width:100%;height:100%;display:block}
.sp4-word{margin-top:20px;font:700 46px var(--fn);color:var(--ink);letter-spacing:.02em;animation:wordIn .7s 1.35s both;position:relative}
html[dir="rtl"] .sp4-word{letter-spacing:0}
.sp4-tag{margin-top:8px;font-size:16px;color:var(--muted);animation:fade .6s 1.8s both;position:relative}

/* ---------- lock ---------- */
#lock{background:var(--bg);color:var(--ink);padding:calc(env(safe-area-inset-top,0px) + 30px) 24px calc(env(safe-area-inset-bottom,0px) + 22px)}
.lockbox{max-width:380px;gap:12px}
.lk4-logo{width:72px;height:72px;align-self:center}
.lockbox h1{font:700 30px/1.15 var(--fn);color:var(--ink);letter-spacing:0}
.lk4 h1,.lk4 .lk4-sub{text-align:center}
.lk4s h1{text-align:center;font-size:26px}
.lockbox p{color:var(--ink2)}
.lockbox .inp{background:var(--card);border:1.5px solid transparent;color:var(--ink);height:52px;border-radius:16px}
.lockbox .inp::placeholder{color:var(--muted)}
.lockbox .inp:focus{background:var(--card);border-color:var(--yel)}
.lockbox .btn.primary{background:var(--yel);color:var(--onyel);box-shadow:none;height:56px;border-radius:18px;font-weight:700}
.lockbox .btn.link,.lockbox .linkish{color:var(--cyan)}
.lockbox .hint{color:var(--muted)}
.lockbox .err{color:var(--mag);text-align:center;min-height:1.2em}
.lockbox .check{color:var(--ink2)}
.lockbox .strength{background:var(--card2)}
.lock-ver{color:var(--muted)!important;text-align:center;font-size:12px;margin:6px 0 0!important}
.lk4{min-height:100%;margin:0;justify-content:flex-start;align-items:stretch}
.lk4 .lk4-logo{margin-top:30px}
.lk4 h1{margin-top:2px}
.lk4-sub{margin:24px 0 0!important;font-size:16px!important;color:var(--muted)!important}
.lk4-dots{display:flex;gap:20px;justify-content:center;margin-top:4px}
.lk4-dots i{width:14px;height:14px;border-radius:50%;border:1.5px solid var(--yel);transition:transform .25s cubic-bezier(.3,1.6,.5,1),background .15s}
.lk4-dots i.on{background:var(--yel);transform:scale(1.15)}
@keyframes shake4{10%,90%{transform:translateX(-2px)}20%,80%{transform:translateX(4px)}30%,50%,70%{transform:translateX(-8px)}40%,60%{transform:translateX(8px)}}
.lk4-dots.shake{animation:shake4 .5s both}
.lk4-keys{display:grid;grid-template-columns:repeat(3,78px);gap:16px 24px;justify-content:center;margin-top:10px}
.lk4-keys button{width:78px;height:78px;border-radius:50%;border:0;background:var(--card);font:500 30px var(--fn);color:var(--ink);display:flex;align-items:center;justify-content:center;touch-action:manipulation;-webkit-user-select:none;user-select:none}
.lk4-keys button:active{background:var(--card2);transform:scale(.95)}
.lk4-keys button.bk{background:transparent;font-size:30px}
.lk4.pad .w-btn{display:none}
.lk4 .w-btn{margin-top:4px}
.lk4-links{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;margin-top:6px}
.lk4-links .linkish{font-size:14px}
.lk4-foot{margin-top:auto;padding-top:20px;display:flex;justify-content:space-between;align-items:center}
.lk4-lang{height:44px;padding:0 16px;border-radius:22px;border:1px solid var(--line2);background:transparent;color:var(--ink);font-size:15px}
.lk4-foot .w-pill{height:44px;padding:0 18px;border-radius:22px;font-size:15px}
.lk4-foot .w-pill .ic{font-size:20px}

/* ---------- opening your ledger ---------- */
#load4{position:fixed;inset:0;z-index:65;background:var(--bg);color:var(--ink);display:flex;flex-direction:column;padding:calc(env(safe-area-inset-top,0px) + 110px) 36px calc(env(safe-area-inset-bottom,0px) + 40px);animation:fade .3s both;max-width:560px;margin:0 auto}
#load4.out{opacity:0;transition:opacity .35s}
#load4 .lg{width:120px;height:120px;align-self:center;border:0;background:none;padding:0}
#load4 .lg:active{transform:scale(.96)}
#load4>b{margin-top:28px;font:700 26px var(--fn);text-align:center}
#load4 .st{display:flex;flex-direction:column;gap:12px;margin-top:28px;padding:18px;border-radius:22px;background:var(--card)}
#load4 .st>div{display:flex;gap:12px;align-items:center;font-size:16px;color:var(--muted);transition:color .3s}
#load4 .st .ic{font-size:22px;color:var(--line2)}
#load4 .st>div.act{color:var(--ink)}#load4 .st>div.act .ic{color:var(--yel);animation:spin 1s linear infinite}
#load4 .st>div.done{color:var(--ink)}#load4 .st>div.done .ic{color:var(--cyan)}
#load4 .cg{margin-top:auto;display:flex;flex-direction:column;align-items:center;gap:10px}
#load4 .coins{display:flex;gap:3px;height:30px;align-items:flex-end}
#load4 .coins i{width:16px;height:7px;border-radius:3px;animation:fall .55s cubic-bezier(.3,1.3,.5,1) both}
#load4 .cg span{font-size:14px;color:var(--muted)}
#lock{align-items:flex-start}
.lockbox{animation:fade .45s both}
.lk4{margin:0 auto}
.lk4 .lk4-logo{margin-top:6px}
@media (max-height:780px){ .lk4-keys{grid-template-columns:repeat(3,70px);gap:12px 22px} .lk4-keys button{width:70px;height:70px;font-size:27px} .lk4-sub{margin-top:14px!important} .lk4 .lk4-logo{width:60px;height:60px} }

/* ---------- what's new ---------- */
.wn4s{display:flex;flex-direction:column;gap:10px;padding:6px 16px 0}
.wn4{display:flex;gap:12px;align-items:flex-start;padding:14px;border-radius:20px;background:var(--card)}
.wn4 b{font-size:15.5px}
.wn4 p{margin:4px 0 0;font-size:13.5px;color:var(--ink2);line-height:1.45}
.wn4 .w-pill{margin-top:10px;height:34px;font-size:13.5px}
.wn4 .w-pill{background:var(--card2)}

/* ---------- 4.1: what each entry counts as ---------- */
.s4-counts{display:flex;gap:8px;align-items:center;padding:10px 12px;border-radius:14px;background:var(--card2);font-size:13.5px;color:var(--ink2);line-height:1.35}
.s4-counts .ic{font-size:18px;color:var(--yel);flex:none}
.s4-ask{display:flex;flex-direction:column;gap:10px;padding:12px;border-radius:16px;border:1.5px solid var(--yel)}
.s4-ask b{font-size:15px}
.s4-ask>div{display:flex;flex-wrap:wrap;gap:8px}
.s4-ask .w-chip{background:var(--card2);height:36px;padding:0 12px}
.s4-ask .w-chip .ic{font-size:17px}
.s4-card .inline-add{display:inline-flex;gap:6px;align-items:center}
.s4-card .inline-add .inp{width:120px;height:38px;padding:0 12px;border-radius:19px;font-size:14px;background:var(--card2)}
.s4-card .inline-add .w-chip{background:var(--card2)}
.tv4-xfer{margin:10px 16px 0;width:calc(100% - 32px);min-height:48px;border-radius:16px;border:0;background:none;color:var(--cyan);font:600 14.5px var(--body);display:flex;gap:8px;align-items:center;justify-content:center;padding:0 12px}
.tv4-xfer .ic{font-size:18px;flex:none}

/* ---------- 4.1: one account's statement ---------- */
.st4-card{height:170px}
.st4-bank{display:flex;gap:12px;align-items:center;padding:14px 16px}
.st4-bank>.ic{font-size:24px;flex:none}
.st4-bank.ok>.ic{color:var(--cyan)}.st4-bank.off>.ic{color:var(--mag)}
.st4-bank>span{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.st4-bank b{font-size:15px;font-weight:600}
.st4-bank small{font-size:13px;color:var(--muted)}
.st4-bank .w-pill{height:34px;font-size:13.5px}
.st4-cc{display:flex;flex-direction:column;gap:14px}
.st4-cc .hd{display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-size:14px;color:var(--muted)}
.st4-cc .hd b{font-size:16px;color:var(--ink)}
.st4-cc .hd b.w-mag{color:var(--mag)}
.st4-grid,.st4-month,.mo4-sum{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.st4-grid>div,.st4-month>div,.mo4-sum>div{display:flex;flex-direction:column;gap:2px;min-width:0}
.st4-grid span,.st4-month span:not(.mi),.mo4-sum span:not(.mi):not(.w-mag){font-size:13px;color:var(--muted)}
.st4-grid bdi{font:700 18px var(--fn);text-align:start}
.st4-cc .w-btn{height:50px;border-radius:16px}
.st4-add{display:flex;gap:12px;align-items:center;width:calc(100% - 44px);border:0;color:var(--ink);text-align:start;font:inherit}
.st4-add>.ic:first-child{font-size:24px;color:var(--yel);flex:none}
.st4-add>span{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.st4-add b{font-size:15px;font-weight:600}
.st4-add small{font-size:13px;color:var(--muted);line-height:1.4}
.st4-add>.ic:last-child{color:var(--muted);flex:none}
.st4-month{padding:14px 22px 0}
.st4-month>div{border-radius:20px;background:var(--card);padding:14px}
.st4-month bdi,.mo4-sum bdi{font:700 20px var(--fn);text-align:start;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.st4-month span.mi,.mo4-sum span.mi{font-size:inherit}
.st4-note{padding:10px 22px 0}
.st4-acts{padding:14px 22px 0}
.st4-acts .w-chip .ic{font-size:17px}
.tx.r4.st4{width:100%;border:0}
.st4-v{display:flex;flex-direction:column;align-items:flex-end;gap:2px;flex:none}
.st4-v bdi{font:700 16px var(--fn);font-variant-numeric:tabular-nums;white-space:nowrap}
.st4-v bdi+bdi{font:500 12.5px var(--body);color:var(--muted)}
.st4-v small{font-size:inherit}

/* ---------- 4.1: coming up ---------- */
.h4-up{padding:18px 18px 8px}
.h4-up .ch{padding-bottom:4px}
.up4{display:flex;align-items:center;gap:12px;width:100%;padding:10px 0;border:0;background:none;color:var(--ink);text-align:start;font:inherit}
.up4+.up4{border-top:1px solid var(--line)}
.up4 .dt{width:44px;height:44px;border-radius:14px;background:var(--card2);display:flex;flex-direction:column;align-items:center;justify-content:center;flex:none;line-height:1.05}
.up4 .dt b{font:700 17px var(--fn)}
.up4 .dt small{font-size:11px;color:var(--muted)}
.up4 .dt.late{background:var(--mag);color:#fff}.up4 .dt.late small{color:#fff;opacity:.85}
.up4 .tt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.up4 .tt b{font-size:15.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.up4 .tt small{font-size:13px;color:var(--muted)}
.up4 .tt small.w-mag{color:var(--mag)}
.up4>bdi{font:700 16px var(--fn);white-space:nowrap;flex:none}
.mo4-up{padding:0 16px}

/* ---------- 4.1: a month at a glance ---------- */
.w-round[disabled]{opacity:.35}
.mo4-sum{gap:16px 10px}
.mo4-note{padding:10px 22px 0}
.mo4-note:empty{display:none}
.mo4-c{display:flex;align-items:center;gap:12px;width:100%;padding:11px 14px;border:0;background:none;color:var(--ink);text-align:start;font:inherit}
.mo4-c+.mo4-c{border-top:1px solid var(--line)}
.mo4-c .m{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}
.mo4-c .r{display:flex;justify-content:space-between;gap:10px;align-items:baseline}
.mo4-c .r b{font-size:15.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mo4-c .r bdi{font:700 15.5px var(--fn);white-space:nowrap;flex:none}
.mo4-c .bar{display:block;height:6px;border-radius:3px;background:var(--card2);overflow:hidden}
.mo4-c .bar>i{display:block;height:100%;border-radius:3px;transform-origin:left;animation:growX .7s cubic-bezier(.2,.9,.25,1) both}
[dir="rtl"] .mo4-c .bar>i{transform-origin:right}
.mo4-c small{font-size:12.5px;color:var(--muted)}
.mo4-c small.w-mag{color:var(--mag)}
.mo4-a{display:flex;align-items:center;gap:12px;width:100%;padding:13px 14px;border:0;background:none;color:var(--ink);text-align:start;font:inherit}
.mo4-a+.mo4-a,.mo4-p+.mo4-p{border-top:1px solid var(--line)}
.mo4-a .cc{width:30px;height:20px;border-radius:5px;flex:none}
.mo4-a>b{flex:1;min-width:0;font-size:15.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mo4-a>span{display:flex;flex-direction:column;align-items:flex-end;gap:1px;flex:none}
.mo4-a>span bdi{font:600 14px var(--body);white-space:nowrap}
.mo4-p{display:flex;align-items:center;gap:12px;padding:12px 14px}
.mo4-p .rk{width:26px;height:26px;border-radius:50%;background:var(--card2);display:flex;align-items:center;justify-content:center;font:700 13px var(--fn);flex:none}
.mo4-p>b{flex:1;min-width:0;font-size:15px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mo4-p small{font-size:13px;color:var(--muted);flex:none}
.mo4-p>bdi{font:700 15px var(--fn);white-space:nowrap;flex:none}
.mo4-pdf{padding:22px 22px 0}

/* ---------- 4.2: charts ---------- */
.ch4{display:block;width:100%;height:130px;overflow:visible}
.ch4 text{fill:var(--muted);font:600 10px var(--body);text-anchor:middle}
.ch4 text.hl{fill:var(--ink)}
.ch4 text.v{fill:var(--ink2);font-size:9.5px}
.ch4 .b{fill:var(--yel)}.ch4 .m{fill:var(--line2)}.ch4 .o{fill:var(--mag)}.ch4 .c{fill:var(--cyan)}
.ch4 .g{fill:var(--card2)}
.ch4 .p{fill:var(--cyan);opacity:.55}
.ch4 .wk{fill:var(--ink);opacity:.04}
.ch4 .t{stroke:var(--ink);stroke-width:2;stroke-linecap:round}
.ch4.pace{height:140px}
.ch4 .grid{stroke:var(--line);stroke-width:1}
.ch4 .pl{fill:none;stroke:var(--muted);stroke-width:2;stroke-dasharray:5 5}
.ch4 .ac{fill:none;stroke:var(--yel);stroke-width:3;stroke-linejoin:round;stroke-linecap:round}
.ch4 .fc{fill:none;stroke:var(--yel);stroke-width:2.5;stroke-dasharray:2 5;stroke-linecap:round;opacity:.8}
.ch4 .area{fill:var(--yel);opacity:.12}
.ch4 .dot{fill:var(--yel);stroke:var(--card);stroke-width:2}
.ch4-k{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12px;color:var(--muted);margin-top:8px}
.ch4-k span{display:inline-flex;align-items:center;gap:6px}
.ch4-k i{width:12px;height:8px;border-radius:3px;background:var(--yel)}
.ch4-k i.ac{height:3px}.ch4-k i.pl{height:0;border-top:2px dashed var(--muted);background:none}.ch4-k i.fc{height:0;border-top:2px dotted var(--yel);background:none}
.ch4-k i.g{background:var(--card2);outline:1px solid var(--line2)}.ch4-k i.o{background:var(--mag)}.ch4-k i.p{background:var(--cyan);opacity:.55}.ch4-k i.t{height:2px;background:var(--ink)}
.donut4{width:124px;height:124px;flex:none}
.donut4 .trk{stroke:var(--card2)}
.donut4 text{text-anchor:middle;fill:var(--ink)}
.donut4 .c1{font:700 16px var(--fn)}.donut4 .c2{font:600 11px var(--body);fill:var(--muted)}

/* ---------- 4.2: my plan ---------- */
.w-round.sm{width:34px;height:34px;font-size:16px;background:var(--card2)}
.pl4-intro{display:flex;flex-direction:column;gap:10px}
.pl4-intro>.ic{font-size:34px;color:var(--yel)}
.pl4-intro>b{font:700 22px var(--fn)}
.pl4-intro p{margin:0;color:var(--ink2);font-size:14.5px;line-height:1.5}
.pl4-intro .w-btn{margin-top:8px}
.pl4-sug{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.pl4-sug>span{display:flex;flex-direction:column;gap:3px;padding:10px;border-radius:16px;background:var(--card2)}
.pl4-sug b{font-size:14px}.pl4-sug small{font-size:12px;color:var(--muted)}
.pl4-today,.ad4-now,.ad4-next{display:flex;flex-direction:column;gap:4px}
.pl4-today .lab,.ad4-now .lab,.ad4-next .lab,.pl4-hero .lab{font-size:13.5px;color:var(--muted)}
.pl4-today .big,.ad4-now .big,.ad4-next .big,.pl4-hero .big,.h4-plan .big{display:flex;align-items:baseline;gap:6px}
.pl4-today .big bdi,.ad4-now .big bdi,.ad4-next .big bdi,.pl4-hero .big bdi{font:700 34px var(--fn)}
.pl4-today .big small,.ad4-now .big small,.ad4-next .big small,.pl4-hero .big small,.h4-plan .big small{font-size:14px;color:var(--muted)}
.pl4-today .sub,.ad4-now .sub{font-size:13.5px;color:var(--muted)}
.ad4-now .sub.w-mag{color:var(--mag)}.ad4-now .sub.w-cyan{color:var(--cyan)}
.ad4-now .ch4,.ad4-next .ch4{margin-top:12px}
.pl4-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.pl4-chips button{display:flex;align-items:center;gap:8px;padding:6px 12px 6px 6px;border-radius:16px;border:0;background:var(--card2);color:var(--ink);font:inherit}
.pl4-chips .w-tile{width:32px;height:32px;border-radius:10px;font-size:17px}
.pl4-chips span{display:flex;flex-direction:column;align-items:flex-start;line-height:1.2}
.pl4-chips b{font-size:12.5px;font-weight:600;color:var(--muted)}
.pl4-chips bdi{font:700 15px var(--fn)}
.pl4-over{display:flex;gap:12px;align-items:center;border:1.5px solid var(--mag)}
.pl4-over>.ic{font-size:24px;color:var(--mag);flex:none}
.pl4-over>span{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.pl4-over b{font-size:15px}.pl4-over small{font-size:13px;color:var(--muted);line-height:1.4}
.pl4-over .w-pill{height:36px;font-size:13.5px}
.pl4-fix{display:flex;flex-direction:column;gap:10px}
.pl4-fix .hd{display:flex;gap:10px;align-items:center}
.pl4-fix .hd>.ic{font-size:22px;color:var(--cyan);flex:none}
.pl4-fix .hd>span{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.pl4-fix b{font-size:15px}.pl4-fix small{font-size:13px;color:var(--muted)}
.pl4-fix .bar,.pl4-l .bar,.pl4-mini .bar,.pe4-bar,.lp4-bar{display:block;position:relative;height:6px;border-radius:3px;background:var(--card2);overflow:visible}
.pl4-fix .bar>i,.pl4-l .bar>i,.pl4-mini .bar>i,.pe4-bar>i,.lp4-bar>i{display:block;height:100%;border-radius:3px;background:var(--cyan);max-width:100%}
.pl4-fix .ft{display:flex;justify-content:space-between;font-size:13px;color:var(--muted)}
.pl4-ls{padding:4px 0}
.pl4-l{display:flex;gap:12px;align-items:center;width:100%;padding:12px 14px;border:0;background:none;color:var(--ink);text-align:start;font:inherit}
.pl4-l+.pl4-l{border-top:1px solid var(--line)}
.pl4-l .m{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}
.pl4-l .r{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.pl4-l .r b{font-size:15.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pl4-l .r bdi{font:700 16px var(--fn);white-space:nowrap}
.pl4-l .r.s small{font-size:12.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pl4-l .r.s small:last-child{flex:none}
.pl4-l .bar em{position:absolute;top:-3px;width:2px;height:12px;border-radius:1px;background:var(--ink);opacity:.55}
.pl4-l>.m>small,.pl4-hero small{font-size:12.5px;color:var(--muted)}
.pl4-l>.m>small.w-cyan,.pl4-hero small.w-cyan{color:var(--cyan)}.pl4-l>.m>small.w-mag,.pl4-hero small.w-mag{color:var(--mag)}
.pl4-sal{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.pl4-sal .lg{flex:1;min-width:170px;display:flex;flex-direction:column;gap:7px}
.pl4-sal .lg div{display:flex;align-items:center;gap:8px;font-size:13.5px}
.pl4-sal .lg i{width:10px;height:10px;border-radius:3px;flex:none}
.pl4-sal .lg span{flex:1;color:var(--ink2)}
.pl4-sal .lg bdi{font-weight:700}
.pl4-sal .hint{width:100%}
.pl4-fc,.pl4-ch{display:flex;flex-direction:column;gap:6px}
.pl4-ch .hint,.pl4-fc .hint{margin-top:6px}
.pl4-two{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
.pl4-two>div{display:flex;flex-direction:column;gap:2px;padding:12px;border-radius:16px;background:var(--card2);min-width:0}
.pl4-two span{font-size:12.5px;color:var(--muted)}
.pl4-two bdi{font:700 19px var(--fn);text-align:start}
.pl4-two small{font-size:12px;color:var(--muted)}
.pl4-hero{display:flex;gap:16px;align-items:center}
.pl4-hero>div{display:flex;flex-direction:column;gap:3px;min-width:0}

/* ways back */
.rc4-h{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:16px 22px 6px}
.rc4-h b{font:700 20px var(--fn)}
.rc4-h p{margin:0;font-size:14px;color:var(--ink2);line-height:1.45}
.rc4-list{display:flex;flex-direction:column;gap:10px;padding:10px 16px 0}
.rc4-o{display:flex;flex-direction:column;gap:6px;padding:14px 16px;border-radius:20px;border:0;background:var(--card);color:var(--ink);text-align:start;font:inherit}
.rc4-o:active{background:var(--card2)}
.rc4-o .t{display:flex;justify-content:space-between;align-items:center;gap:10px}
.rc4-o b{font-size:15.5px}
.rc4-o .t .ic{color:var(--yel);flex:none}
.rc4-o small{font-size:13px;color:var(--muted);line-height:1.4}
.rc4-o .ch4{height:70px;margin-top:4px}
.rc4-note{padding:12px 22px 0;text-align:center}
[dir="rtl"] .rc4-o .t .ic{transform:scaleX(-1)}

/* setting up */
.pe4-c{display:flex;flex-direction:column;gap:10px}
.pe4-c .add4-lab,.pe4-add .add4-lab{padding:0;margin:4px 0 0}
.pe4-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.pe4-f{display:flex;flex-direction:column;gap:5px;min-width:0}
.pe4-f>span{font-size:13px;color:var(--muted)}
.pe4-f .inp,.pe4-f .sel,.pe4-l .sel{background:var(--card2);height:46px;border-radius:14px;min-width:0;width:100%}
.pe4-f .inp{font:700 17px var(--fn)}
.pe4-wk{flex-wrap:wrap;overflow:visible}
.pe4-wk .w-chip{background:var(--card2);height:34px;padding:0 12px;font-size:13px}
.pe4-wk .w-chip[aria-pressed="true"]{background:var(--ink);color:var(--bg)}
.pe4-c .w-seg,.pe4-l .w-seg{background:var(--card2)}
.pe4-l{display:flex;flex-direction:column;gap:10px}
.pe4-l .hd{display:flex;gap:10px;align-items:center}
.pe4-l .hd .sel{flex:1;font-weight:600}
.pe4-u{display:flex;justify-content:space-between;align-items:center;gap:10px}
.pe4-u small{font-size:12.5px;color:var(--muted)}
.pe4-u .linkish{font-size:13px;flex:none}
.pe4-add .w-chips{flex-wrap:wrap;overflow:visible}
.pe4-add .w-chip{background:var(--card2)}
.pe4-foot{padding:18px 22px 0;display:flex;flex-direction:column;gap:12px}
.pe4-st{display:flex;justify-content:space-between;gap:10px;font-size:13.5px;margin-top:8px}
.pe4-st span{color:var(--muted)}
.pe4-del{align-self:center;margin-top:4px}

/* advisor */
.ad4-intro{padding:4px 22px 0}
.ad4-i{display:flex;flex-direction:column;gap:6px;border-inline-start:4px solid var(--line2)}
.ad4-i.good{border-inline-start-color:var(--cyan)}.ad4-i.warn{border-inline-start-color:var(--mag)}.ad4-i.info{border-inline-start-color:var(--yel)}
.ad4-i .hd{display:flex;gap:10px;align-items:flex-start}
.ad4-i .hd .ic{font-size:20px;flex:none;margin-top:1px}
.ad4-i.good .hd .ic{color:var(--cyan)}.ad4-i.warn .hd .ic{color:var(--mag)}.ad4-i.info .hd .ic{color:var(--yel)}
.ad4-i b{font-size:15.5px;line-height:1.35}
.ad4-i p{margin:0;font-size:14px;color:var(--ink2);line-height:1.45}
.ad4-i .ch4{height:90px;margin-top:6px}
.ad4-i .linkish{align-self:flex-start;margin-top:2px}
.ad4-tbl{display:flex;flex-direction:column;margin-top:10px}
.ad4-tbl>div{display:flex;gap:10px;align-items:baseline;padding:8px 0;font-size:14px}
.ad4-tbl>div+div{border-top:1px solid var(--line)}
.ad4-tbl span{flex:1}.ad4-tbl bdi{font-weight:700}.ad4-tbl small{min-width:72px;text-align:end;font-size:12.5px}

/* Home */
.h4-plan{display:flex;flex-direction:column;gap:8px}
.h4-plan .big bdi{font:700 30px var(--fn)}
.h4-plan.intro{flex-direction:row;align-items:center;gap:12px;width:calc(100% - 44px);border:0;color:var(--ink);text-align:start;font:inherit}
.h4-plan.intro>.ic:first-child{font-size:30px;color:var(--yel);flex:none}
.h4-plan.intro>span{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.h4-plan.intro b{font-size:16px}.h4-plan.intro small{font-size:13px;color:var(--muted);line-height:1.4}
.h4-plan.intro>.ic:last-child{color:var(--muted);flex:none}
.pl4-mini{display:grid;grid-template-columns:96px 1fr auto;gap:10px;align-items:center;border:0;background:none;color:var(--ink);font:inherit;padding:4px 0;text-align:start}
.pl4-mini>span{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pl4-mini bdi{font:700 14.5px var(--fn)}
.pl4-warn{display:flex;align-items:center;gap:8px;border:0;border-radius:14px;background:rgba(255,62,165,.12);color:var(--mag);padding:10px 12px;font:600 13.5px var(--body);text-align:start;margin-top:4px}
.pl4-warn span{flex:1}.pl4-warn b{flex:none}
.h4-adv{display:flex;align-items:center;gap:12px;width:calc(100% - 44px);border:0;color:var(--ink);text-align:start;font:inherit;padding:14px 16px}
.h4-adv>.ic:first-child{font-size:24px;flex:none;color:var(--yel)}
.h4-adv.good>.ic:first-child{color:var(--cyan)}.h4-adv.warn>.ic:first-child{color:var(--mag)}
.h4-adv>span{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.h4-adv small{font-size:12px;color:var(--muted);font-weight:600}
.h4-adv b{font-size:14.5px;line-height:1.35}
.h4-adv>.ic:last-child{color:var(--muted);flex:none}

/* loans paid back monthly */
.lp4{margin:10px 16px 0;display:flex;flex-direction:column;gap:10px}
.lp4 .hd{display:flex;justify-content:space-between;align-items:center;gap:10px}
.lp4 .hd span{display:flex;gap:8px;align-items:center;font-size:15px}
.lp4 .hd .ic{color:var(--cyan);font-size:20px}
.lp4 .hd small{font-size:13px;color:var(--muted)}
.lp4-bar>i{background:var(--cyan)}
.lp4-s{display:flex;flex-direction:column}
.lp4-s>div{display:grid;grid-template-columns:1fr auto 70px;gap:10px;align-items:center;padding:7px 0;font-size:14px;color:var(--muted)}
.lp4-s>div+div{border-top:1px solid var(--line)}
.lp4-s bdi{font-weight:600;color:var(--ink2)}
.lp4-s em{font-style:normal;text-align:end;font-size:12.5px;font-weight:600}
.lp4-s .ok{color:var(--ink2)}.lp4-s .ok em{color:var(--cyan)}
.lp4-s .nx{color:var(--ink)}.lp4-s .nx em{color:var(--yel)}
.lp4-s .late{color:var(--mag)}.lp4-s .late em{color:var(--mag)}
.lp4 .w-btn{height:46px;border-radius:14px;font-size:15px}
.rc4-o .ch4 .g{fill:none;stroke:var(--muted);stroke-width:1;stroke-dasharray:3 2}
