/* Slotwise app, light Revolut-style layer (Today, Inbox, Profile and the other signed-in screens) */
body.rv{background:#F4F5F8;--card:#fff;--rvline:#EEF0F3;--rvsh:0 1px 2px rgba(16,24,40,.04),0 4px 14px rgba(16,24,40,.05)}
body.rv .ft{background:transparent}
body.rv .dh h1,body.rv h1.serif{font-family:Inter,system-ui,-apple-system,sans-serif;font-weight:700;letter-spacing:-.03em}
.rvwrap{max-width:1120px;margin:0 auto;padding:0 var(--pad) 72px}
.rvhd{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:32px 0 18px}
.rvhd h1{font:700 34px/1.1 Inter,system-ui,-apple-system,sans-serif;letter-spacing:-.035em;color:var(--ink)}
.rvhd p{color:var(--ink3);font-size:14.5px;margin-top:4px}
.rvhd .rvhi{margin:0 0 2px;font-size:15px;font-weight:500;color:var(--ink3)}
.rvround{width:44px;height:44px;border-radius:50%;background:#fff;box-shadow:var(--rvsh);display:grid;place-items:center;flex:none;color:var(--ink);text-decoration:none}
.rvround .ic{width:22px;height:22px;stroke-width:2.2}
.rvround.av-l{background:none;box-shadow:none}
.rvsec{font-size:13px;font-weight:600;color:var(--ink3);margin:24px 4px 10px;letter-spacing:.01em}
.rvcard{display:block;background:var(--card,#fff);border-radius:20px;box-shadow:var(--rvsh);text-decoration:none;color:inherit;width:100%;text-align:left}
/* colored circular icon badges */
.rvb{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;flex:none}
.rvb .ic{width:20px;height:20px;stroke-width:2}
.rvb.b{background:#E8EEFF;color:#2A52E0}.rvb.g{background:#E3F6EE;color:#0E9F6E}.rvb.o{background:#FFF0E5;color:#E0620B}
.rvb.v{background:#F0EBFF;color:#6E4BFF}.rvb.p{background:#FDE9F3;color:#D6336C}.rvb.r{background:#FFE8EC;color:#FF385C}
/* status pills */
.rvp{display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:999px;font-size:11.5px;font-weight:600;white-space:nowrap;flex:none}
.rvp.ok{background:#E3F6EE;color:#0B8A5F}.rvp.pay{background:#E8EEFF;color:#2A52E0}.rvp.new{background:#FFF0E5;color:#C2410C}.rvp.mut{background:#EEF0F3;color:#474C58}.rvp.bad{background:#FDECEA;color:#D92D20}
/* buttons */
.rvbtn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:46px;padding:0 20px;border-radius:999px;background:#2A52E0;color:#fff;font-weight:600;font-size:15px;text-decoration:none;flex:none}
.rvbtn .ic{width:18px;height:18px;stroke-width:2.2}
.rvbtn.sm{height:36px;padding:0 16px;font-size:13.5px}
.rvbtn.soft{background:#EEF0F3;color:var(--ink)}
.rvbtn.block{width:100%}
.rvbtn[aria-busy=true]{opacity:.6;pointer-events:none}
/* search + chips */
.rvsearch{display:flex;align-items:center;gap:10px;height:46px;padding:0 16px;border-radius:14px;background:#fff;box-shadow:var(--rvsh);color:var(--ink3)}
.rvsearch input{flex:1;min-width:0;border:0;outline:0;background:none;font-size:15px;color:var(--ink)}
.rvsearch input::placeholder{color:var(--ink4)}
.rvchips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:14px -4px 0;padding:2px 4px}
.rvchips::-webkit-scrollbar{display:none}
.rvchips>button,.rvchip{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 14px;border-radius:999px;background:#fff;box-shadow:var(--rvsh);font-size:13.5px;font-weight:600;color:var(--ink2);white-space:nowrap;flex:none;border:0}
.rvchips>button[aria-pressed=true]{background:var(--ink);color:#fff}
.rvchips>button span,.rvchip span{min-width:20px;height:20px;padding:0 6px;border-radius:99px;background:#EEF0F3;color:var(--ink2);font-size:11.5px;display:inline-grid;place-items:center}
.rvchips>button[aria-pressed=true] span{background:rgba(255,255,255,.2);color:#fff}
/* list rows */
.rvlist{overflow:hidden}
.rvrow,.rvrow2{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;width:100%;text-align:left;text-decoration:none;color:inherit;position:relative;min-height:64px;background:#fff;transition:background .15s}
.rvrow2{align-items:center}
.rvrow+.rvrow,.rvrow2+.rvrow2{box-shadow:inset 0 1px 0 var(--rvline)}
.rvrow:hover,.rvrow2:hover,.rvrow.on{background:#F7F8FB}
.rvrow:active,.rvrow2:active{background:#F1F2F6}
.rvrow .av{width:40px!important;height:40px!important;font-size:14px!important;flex:none}
.rvt{flex:1;min-width:0;display:grid;gap:2px}
.rvt b{font-weight:600;font-size:15px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rvt .l1{display:flex;gap:8px;align-items:baseline}
.rvt .l1 b{flex:1;min-width:0}
.rvt .l1 small{color:var(--ink4);font-size:12px;flex:none}
.rvt .l2{color:var(--ink3);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rvt .l3{display:flex;gap:8px;align-items:center}
.rvt .pv{flex:1;min-width:0;color:var(--ink2);font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rvt .l4{display:flex;justify-content:space-between;align-items:center;margin-top:6px}
.rvt .l4 b{font-size:14px}
.rvrow.unread .l1 b{font-weight:700}
.ud{width:9px;height:9px;border-radius:50%;background:#2A52E0;flex:none;display:inline-block}
.rvrow2>.ic:last-child,.rvstat>.ic:last-child{color:var(--ink4);width:18px;height:18px}
.rvcnt{min-width:24px;height:24px;padding:0 8px;border-radius:99px;background:#EEF0F3;font-size:12px;font-weight:600;display:grid;place-items:center;color:var(--ink2)}
.rvcnt.hot{background:#2A52E0;color:#fff}
/* status / alert cards */
.rvstat,.rvalert{display:flex;gap:14px;align-items:center;padding:16px;margin-top:12px}
.rvalert{background:#FFF8F2;box-shadow:inset 0 0 0 1px #FFE3CC}
.rvprog{display:block;height:6px;border-radius:6px;background:#EEF0F3;margin-top:8px;overflow:hidden}
.rvprog i{display:block;height:100%;border-radius:6px;background:linear-gradient(90deg,#2A52E0,#6E4BFF)}
/* quick actions */
.rvqa{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.rvqa>*{display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px 4px;border-radius:18px;background:#fff;box-shadow:var(--rvsh);text-decoration:none;color:var(--ink);font-size:12.5px;font-weight:600;text-align:center;position:relative}
.rvqa .rvb{width:46px;height:46px}.rvqa .rvb .ic{width:22px;height:22px}
.rvqa .ud{position:absolute;top:12px;right:calc(50% - 26px);border:2px solid #fff;width:12px;height:12px}
.rvqa>*:active{transform:scale(.96)}
/* tips */
.rvtips{padding:6px 16px}
.rvtips>div{display:flex;gap:14px;align-items:flex-start;padding:12px 0}
.rvtips>div+div{box-shadow:inset 0 1px 0 var(--rvline)}
.rvtips b{display:block;font-weight:600;font-size:14.5px}
.rvtips small{display:block;color:var(--ink3);font-size:13px;margin-top:2px}
/* empty state */
.rvempty{background:#fff;border-radius:20px;box-shadow:var(--rvsh);padding:36px 24px 30px;text-align:center;display:grid;justify-items:center;gap:8px}
.rvempty .ill{position:relative;width:96px;height:96px;display:grid;place-items:center;margin-bottom:6px}
.rvempty .ill::before{content:"";position:absolute;inset:0;border-radius:50%;background:radial-gradient(circle,#E8EEFF 0,#F3F6FF 60%,transparent 70%)}
.rvempty .ill .rvb{width:60px;height:60px;position:relative;background:#fff;box-shadow:0 6px 18px rgba(42,82,224,.18)}
.rvempty .ill .rvb .ic{width:28px;height:28px}
.rvempty .ill .s1,.rvempty .ill .s2{position:absolute;border-radius:50%;background:#C9D5FF}
.rvempty .ill .s1{width:10px;height:10px;top:10px;right:8px}.rvempty .ill .s2{width:7px;height:7px;bottom:14px;left:6px;background:#FFD2B0}
.rvempty h3{font-size:18px;font-weight:700;letter-spacing:-.02em}
.rvempty p{color:var(--ink3);font-size:14px;max-width:320px}
.rvempty .rvbtn{margin-top:8px}
/* inbox layout */
.rvcols{display:grid;grid-template-columns:400px minmax(0,1fr);gap:24px;align-items:start}
.rvright{position:sticky;top:calc(var(--hd) + 16px)}
.rvside-m{display:none}
.rvside-d>.rvsec:first-child{margin-top:0}
.rvchat{display:flex;flex-direction:column;overflow:hidden;min-height:520px;max-height:calc(100vh - var(--hd) - 40px)}
.rvchat .h{display:flex;gap:12px;align-items:center;padding:14px 16px;box-shadow:inset 0 -1px 0 var(--rvline)}
.rvchat .h b{font-weight:600;font-size:15.5px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rvchat .msgs{flex:1;overflow:auto;padding:18px 16px;display:flex;flex-direction:column;gap:10px;background:#FAFBFC;min-height:260px}
.rvchat .bub{max-width:82%;padding:10px 14px;border-radius:18px;font-size:14.5px;line-height:1.45;white-space:pre-wrap;word-wrap:break-word}
.rvchat .bub.me{align-self:flex-end;background:#2A52E0;color:#fff;border-bottom-right-radius:6px}
.rvchat .bub.them{align-self:flex-start;background:#fff;box-shadow:var(--rvsh);border-bottom-left-radius:6px}
.rvchat .bub small{display:block;font-size:11px;opacity:.7;margin-top:4px}
.rvchat .bub em{display:flex;gap:4px;align-items:center;font-style:normal;font-size:12px;font-weight:600;color:var(--ink3);margin-bottom:2px}
.rvday{align-self:center;font-size:11.5px;font-weight:600;color:var(--ink3);background:#EEF0F3;padding:3px 10px;border-radius:99px}
.rvnote{align-self:stretch;display:flex;gap:10px;align-items:flex-start;font-size:13px;color:var(--ink2);background:#fff;border-radius:14px;padding:12px 14px;box-shadow:var(--rvsh)}
.rvnote .ic{width:18px;height:18px;color:#2A52E0}
.rvchat .compose{display:flex;gap:10px;align-items:flex-end;padding:12px 14px;box-shadow:inset 0 1px 0 var(--rvline);background:#fff}
.rvchat .compose textarea{flex:1;border:0;outline:0;resize:none;background:#F4F5F8;border-radius:22px;padding:11px 16px;font-size:15px;min-height:44px}
.rvchat .compose .iconbtn{width:44px;height:44px;border-radius:50%;background:#2A52E0;color:#fff;border:0;display:grid;place-items:center}
.rvchat .chips .chip[aria-pressed=true]{background:var(--ink);color:#fff;border-color:var(--ink)}
/* Today */
.rvhost{padding-bottom:72px}
.rvbal{border-radius:24px;padding:22px 22px 18px;color:#fff;background:radial-gradient(120% 140% at 100% 0,#7B5CFF 0,transparent 55%),linear-gradient(135deg,#2A52E0,#3B45D9 55%,#5B3FF0);box-shadow:0 12px 30px rgba(42,82,224,.25)}
.rvbal .k{font-size:13.5px;opacity:.85;font-weight:500}
.rvbal .v{font:700 40px/1.1 Inter,system-ui,sans-serif;letter-spacing:-.035em;margin-top:6px}
.rvbal .sub{font-size:13.5px;color:rgba(255,255,255,.85)!important;margin-top:4px}
.rvbal .k,.rvbal-row span{color:rgba(255,255,255,.85)!important}.rvbal .v,.rvbal-row b{color:#fff!important}
.rvbal-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:18px}
.rvbal-row>div{background:rgba(255,255,255,.14);border-radius:14px;padding:10px 12px}
.rvbal-row b{display:block;font-size:20px;font-weight:700}
.rvbal-row span{font-size:12px;opacity:.85}
.rvqa-top{margin-top:16px}
.rvhost .week{margin:0!important}
.rvhost .day{background:#fff;border:0!important;border-radius:18px;box-shadow:var(--rvsh)}
.rvhost .day.today{box-shadow:inset 0 0 0 2px #2A52E0,var(--rvsh)!important}
.rvhost .day.today .dn span{color:#2A52E0}
.rvhost .tabs.rvchips{border:0;gap:8px}
.rvhost .tabs.rvchips button{border:0}
.rvhost .tabs.rvchips button .n{background:#EEF0F3;border-radius:99px;padding:1px 7px;font-size:11.5px;margin-left:4px}
.rvhost .tabs.rvchips button[aria-pressed=true] .n{background:rgba(255,255,255,.2);color:#fff}
.rvhost .rc,.rvhost .ec{background:#fff;border:0;border-radius:20px;box-shadow:var(--rvsh)}
.rvhost .empty{background:#fff;border-radius:20px;box-shadow:var(--rvsh);margin-top:14px}
.rvhost .earn{margin-top:0!important}
/* other signed-in pages on the grey canvas */
body.rv .rcards .rc,body.rv .panel{background:#fff;border:0;border-radius:20px;box-shadow:var(--rvsh)}
body.rv .wrap>.empty,body.rv .wrapn>.empty{background:#fff;border-radius:20px;box-shadow:var(--rvsh);margin-top:20px}
/* Profile */
.rvprof{max-width:640px}
.rvphead{display:grid;justify-items:center;text-align:center;gap:6px;padding:28px 0 8px}
.rvphead .avw{text-decoration:none;margin-bottom:6px}
.rvphead h1{font:700 26px/1.2 Inter,system-ui,sans-serif;letter-spacing:-.03em;display:flex;gap:8px;align-items:center}
.rvphead p{color:var(--ink3);font-size:14px}
.rvtags{display:flex;gap:6px;flex-wrap:wrap;justify-content:center;margin:6px 0 10px}
.rvout{display:flex;gap:10px;align-items:center;justify-content:center;padding:16px;margin-top:24px;color:#D92D20;font-weight:600;font-size:15px}
.rvout .ic{width:20px;height:20px}
.rvfoot{text-align:center;color:var(--ink4);font-size:12px;margin-top:18px}
/* refined tab bar: frosted white, active pill, safe areas */
@media (max-width:744px){
  .tabbar{background:rgba(255,255,255,.82)!important;-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);box-shadow:0 8px 30px rgba(16,24,40,.12),inset 0 0 0 1px rgba(255,255,255,.6)!important}
  .tabbar a[aria-current="page"]{color:#2A52E0}
  .rvwrap{padding:0 16px calc(110px + env(safe-area-inset-bottom))}
  .rvhost{padding-bottom:calc(110px + env(safe-area-inset-bottom))!important}
  .rvhd{padding:calc(14px + env(safe-area-inset-top,0px)) 0 14px}
  .rvhd h1{font-size:32px}
  .rvcols{grid-template-columns:minmax(0,1fr);gap:0}
  .rvright{position:static}
  .rvside-m{display:block}.rvside-d{display:none}
  .rvinbox.open .rvleft{display:none}
  .rvinbox:not(.open) .rvright{display:none}
  .rvinbox.open .rvhd{display:none}
  .rvinbox.open .rvchat{margin-top:12px;min-height:calc(100vh - 150px);max-height:none}
  .rvbal .v{font-size:36px}
  .rvqa{gap:8px}.rvqa>*{font-size:11.5px;padding:12px 2px}
  body.rv .ft{display:none}
}
@media (min-width:745px) and (max-width:1100px){
  .rvcols{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}
@media (min-width:745px){
  .rvinbox .rvchat .h .iconbtn{display:none}
  .rvinbox.open .rvchat .h .iconbtn{display:grid}
}
.rvchat .msgs{max-height:none}
.rvphead .av img{opacity:1!important}
@media (max-width:744px){.rvinbox.open .rvchat{min-height:calc(100dvh - 150px - env(safe-area-inset-bottom))}}
@media (max-width:744px){.rvhost .week{margin:0 -16px!important;padding:2px 16px 8px!important}}

/* in-app Stripe sheets */
.sheet.swx-sheet{max-height:94vh}
@media(min-width:760px){.sheet.swx-sheet{left:50%;right:auto;bottom:auto;top:50%;width:min(560px,94vw);transform:translate(-50%,-50%);border-radius:20px;max-height:90vh;animation:none}}
.swx-body{padding-top:6px}
.swx-sub{display:flex;gap:8px;align-items:flex-start;font-size:13px;color:#667085;background:#F4F5F8;border-radius:12px;padding:10px 12px;margin-bottom:14px;line-height:1.4}
.swx-sub svg{width:16px;height:16px;flex:none;margin-top:1px;color:#2A52E0}
.swx-mount{min-height:320px}
.swx-mount>*+*{margin-top:16px;display:block}
.swx-load{display:flex;gap:10px;align-items:center;justify-content:center;min-height:300px;color:#667085;font-size:14px}
.swx-load .spin{width:18px;height:18px;border:2px solid #E4E7EC;border-top-color:#2A52E0;border-radius:50%;animation:swxspin .8s linear infinite}
@keyframes swxspin{to{transform:rotate(360deg)}}
.swx-err{padding:16px;border-radius:12px;background:#FEF3F2;color:#B42318;font-size:14px}
