.wallet-preview{display:flex;align-items:center;gap:17px;margin:0 0 25px;padding:20px 24px;border:1px solid #d5e6f6;border-radius:16px;background:linear-gradient(105deg,#eaf4fd,#fff)}
.wallet-preview-icon{display:grid;place-items:center;width:47px;height:47px;border-radius:15px;background:#dcecfb;color:var(--brand-blue);flex-shrink:0}.wallet-preview-icon>.icon{width:24px;height:24px}
.wallet-preview>div{display:flex;flex-direction:column;gap:5px}.wallet-preview>div>span{font-size:10px;color:var(--muted)}.wallet-preview strong{font-size:25px;letter-spacing:-.7px;font-weight:650;color:var(--brand-deep)}.wallet-preview small{font-size:9px;color:var(--muted)}
.wallet-preview>button{margin-left:auto;display:flex;align-items:center;gap:10px;padding:12px 0 12px 16px;font-size:11px;color:var(--brand-blue);min-height:44px}.wallet-preview>button>.icon{width:17px;height:17px}
.wallet-demo-label{display:inline-flex;gap:7px;align-items:center;border:1px solid #dee8f2;border-radius:20px;padding:8px 12px;color:#68839b;font-size:10px;white-space:nowrap}.wallet-demo-label>.icon{width:14px;height:14px}
.wallet-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(250px,1fr);gap:24px;margin-bottom:27px;align-items:start}.wallet-main-column{min-width:0}
.wallet-hero{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(118deg,#176ab0,#04559e 56%,#00418a);border-radius:23px;padding:27px 30px;color:#fff;box-shadow:0 12px 25px #00539e13}
.wallet-hero:before,.wallet-hero:after{content:'';position:absolute;z-index:-1;pointer-events:none;border:1px solid #ffffff12;border-radius:50%;width:360px;height:360px;top:-190px;right:-100px}.wallet-hero:after{width:280px;height:280px;top:-148px;right:-60px;background:#ffffff04}
.wallet-hero-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px}.wallet-hero-top>span:first-child{display:flex;align-items:center;gap:9px;font-size:12px;color:#e0effd}.wallet-hero-top .icon{width:19px;height:19px}.wallet-hero-mark{font-size:15px;letter-spacing:4px;color:#b3d5f4;font-weight:650}
.wallet-amount-caption{display:block;font-size:11px;color:#bddaf5;margin-bottom:10px}.wallet-amount{font-size:48px;font-weight:550;letter-spacing:-1.6px;line-height:1.3;font-variant-numeric:tabular-nums}.wallet-hero-bottom{display:flex;gap:40px;margin:23px 0 25px}.wallet-hero-bottom>div{display:flex;flex-direction:column;gap:8px}.wallet-hero-bottom span{font-size:10px;color:#bddaf5}.wallet-hero-bottom strong{font-size:15px;font-weight:550;letter-spacing:-.3px;font-variant-numeric:tabular-nums}
.wallet-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.wallet-actions>button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:47px;border-radius:12px;font-size:12px;font-weight:650;background:#fff;color:#0857a0}.wallet-actions>button:last-child{background:#ffffff12;border:1px solid #ffffff50;color:#fff}.wallet-actions>button:hover{box-shadow:0 0 0 3px #ffffff20}.wallet-actions>button:disabled{opacity:.5}.wallet-actions .icon{width:19px;height:19px}
.wallet-demo-note{display:flex;align-items:flex-start;gap:9px;margin:15px 5px 0;color:#788da2}.wallet-demo-note>.icon{width:16px;height:16px;flex-shrink:0;margin-top:2px}.wallet-demo-note p{font-size:10px;line-height:1.9;margin:0}
.wallet-side-panel{padding:26px 23px;background:#fff;border:1px solid var(--line);border-radius:20px}.wallet-panel-caption{font-size:8px;letter-spacing:1.5px;color:#8399ac}.wallet-side-panel h2{display:flex;align-items:center;gap:9px;font-size:15px;letter-spacing:-.3px;font-weight:650;margin:13px 0 20px}.wallet-side-panel h2>span{display:grid;place-items:center;background:#edf4fc;color:#4f7fa9;border-radius:7px;height:22px;min-width:22px;font-size:10px}
.wallet-request{display:flex;align-items:center;gap:12px;width:100%;padding:17px 0;text-align:left;border-top:1px solid #edf2f7}.wallet-request-icon{display:grid;place-items:center;background:#fff7e8;color:#a67a35;width:40px;height:43px;flex-shrink:0;border-radius:12px}.wallet-request-icon .icon{width:19px;height:19px}.wallet-request>span:nth-child(2){display:flex;flex-direction:column;gap:6px;min-width:0}.wallet-request strong{font-size:20px;font-weight:600;letter-spacing:-.5px}.wallet-request small{font-size:9px;color:var(--muted)}.wallet-request em{font-style:normal;font-size:9px;color:#a17c3e}.wallet-request>.icon{margin-left:auto;width:15px;height:15px;color:#9eb0c0}
.wallet-help{display:flex;gap:8px;border-top:1px solid var(--line);padding-top:18px;margin-top:5px;color:#8195a6;font-size:10px;line-height:1.9}.wallet-help>.icon{width:16px;height:16px;flex-shrink:0;margin-top:2px}.wallet-no-requests{font-size:12px;line-height:1.9;color:var(--muted);padding:10px 0 24px}
.wallet-history{padding:27px}.wallet-history-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:23px}.wallet-history-heading h2{font-size:19px;letter-spacing:-.5px;font-weight:650;margin:9px 0 0}.wallet-export{display:flex;align-items:center;gap:7px;color:var(--brand-blue);font-size:10px;min-height:44px;white-space:nowrap}.wallet-export>.icon{width:17px;height:17px}
.wallet-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 16px}.wallet-filters{display:flex;gap:5px;overflow:auto;scrollbar-width:thin}.wallet-filters>button{font-size:10px;white-space:nowrap;min-height:37px;padding:8px 12px;border-radius:9px;color:#71899e}.wallet-filters>[aria-pressed=true]{background:#eaf3fc;color:var(--brand-blue);font-weight:650}.wallet-period select{min-height:38px;border:1px solid var(--line);background:#fff;border-radius:9px;color:#617e98;padding:8px 11px;font:inherit;font-size:10px;max-width:140px}
.wallet-table-head{display:grid;grid-template-columns:1fr 140px 110px;gap:16px;padding:13px 24px 13px 0;color:#8ba0b2;font-size:9px;border-bottom:1px solid var(--line)}.wallet-table-head>span:last-child{text-align:right}
.wallet-transaction{display:flex;align-items:center;gap:14px;width:100%;padding:19px 0;text-align:left;border-bottom:1px solid #edf2f7}.wallet-transaction:hover{background:#fafdff}.wallet-transaction-icon{width:43px;height:43px;display:grid;place-items:center;flex-shrink:0;border-radius:13px;background:#eef4fa;color:#6a8baa}.wallet-transaction-icon>.icon{width:20px;height:20px}.wallet-transaction-icon.topup,.wallet-transaction-icon.refund{color:#278c7a;background:#edf8f4}.wallet-transaction-icon.withdrawal{color:#a47b3d;background:#fcf5e9}
.wallet-transaction-info{flex:1;display:flex;flex-direction:column;gap:7px;min-width:0}.wallet-transaction-info>strong{font-size:12px;line-height:1.6;font-weight:600}.wallet-transaction-info>small{font-size:9px;color:#8b9fb1;line-height:1.7}.wallet-transaction-info>.wallet-status{display:none}.wallet-status{display:inline-flex;align-items:center;gap:5px;color:#678b7d;font-size:9px;white-space:nowrap}.wallet-status:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}.wallet-status.pending{color:#ad8745}.wallet-status.cancelled{color:#8a9bab}.wallet-transaction .desktop-status{width:140px;flex-shrink:0}
.wallet-transaction-amount{width:110px;text-align:right;font-size:14px;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums;letter-spacing:-.2px}.wallet-transaction-amount.incoming{color:#238775}.wallet-transaction-amount.cancelled{color:#98a8b6;text-decoration:line-through}.wallet-transaction>.icon{width:12px;height:12px;color:#a3b4c4;flex-shrink:0}.wallet-history-footer{display:flex;justify-content:space-between;gap:12px;font-size:9px;color:#8b9eb0;padding-top:20px}.wallet-empty{text-align:center;padding:42px 15px;color:#8097aa}.wallet-empty>.icon{width:30px;height:30px}.wallet-empty h3{font-size:14px;color:var(--ink);font-weight:600}.wallet-empty p{font-size:12px}
.wallet-form{gap:15px}.wallet-form-intro{font-size:12px!important;color:var(--muted);line-height:1.9!important}.wallet-form>label{font-size:12px}.wallet-amount-input{display:flex;align-items:center;border:1px solid #dbe8f3;border-radius:13px;padding:0 18px;background:#f9fcff}.wallet-amount-input:focus-within{border-color:var(--brand-blue);box-shadow:0 0 0 3px #1a72b914}.wallet-amount-input>input{min-width:0;width:100%;border:0!important;background:transparent!important;font-size:34px!important;font-weight:550;color:var(--ink);padding:13px 0!important;outline:none!important;box-shadow:none!important}.wallet-amount-input>span{font-size:24px;color:#92a9bc}
.wallet-quick-amounts{display:flex;gap:7px;flex-wrap:wrap;margin-top:-4px}.wallet-quick-amounts>button{padding:8px 12px;background:#eef5fc;color:#40749f;border-radius:8px;min-height:36px;font-size:11px}.wallet-field-hint{font-size:10px;color:#8a9fb0}.wallet-methods{border:0;padding:0;margin:8px 0 0}.wallet-methods legend{font-size:12px;color:var(--ink);margin-bottom:12px}.wallet-methods>label{display:flex;flex-direction:row;align-items:center;gap:11px;padding:14px;border:1px solid #e2ebf4;border-radius:12px;margin-bottom:8px;cursor:pointer}.wallet-methods>label:has(input:checked){border-color:#74a7d2;background:#f5faff}.wallet-methods input{min-height:17px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;flex-shrink:0;width:17px!important;height:17px;accent-color:var(--brand-blue)}.wallet-methods>label>span{display:flex;flex-direction:column;gap:6px;flex:1}.wallet-methods strong{font-size:12px;font-weight:600}.wallet-methods small{font-size:10px;color:#8ca0b2}.wallet-methods .icon{width:22px;height:22px;color:#7496b4}
.wallet-refund-method{display:flex;gap:12px;align-items:center;padding:15px;background:#f5f9fd;border-radius:12px}.wallet-refund-method>.icon{color:#7e9cb5;width:23px;height:23px}.wallet-refund-method>div{display:flex;flex-direction:column;gap:7px}.wallet-refund-method strong{font-size:11px;font-weight:600}.wallet-refund-method span{font-size:9px;color:var(--muted)}.wallet-optional{font-size:10px;color:#9aabb9;font-weight:400}.wallet-form textarea{font:inherit;font-size:13px;resize:vertical;min-height:70px;border:1px solid var(--line);border-radius:10px;padding:12px;max-width:100%}.wallet-form-disclaimer{display:flex;align-items:center;justify-content:center;gap:6px;font-size:10px!important;color:#8ca0b1;line-height:1.9!important;text-align:center;margin:0}.wallet-form-disclaimer>.icon{width:13px;height:13px;flex-shrink:0}.wallet-form .form-error:empty{display:none}.wallet-form .portal-primary{min-height:49px;font-size:12px}
.wallet-receipt-summary{display:flex;align-items:center;flex-direction:column;gap:14px;padding:8px 0 24px}.wallet-receipt-summary>.wallet-transaction-icon{width:54px;height:54px;border-radius:17px}.wallet-receipt-summary>strong{font-size:32px;font-weight:550;letter-spacing:-1px}.wallet-receipt-summary>.wallet-status{font-size:11px}.wallet-detail-list{margin:0 0 24px}.wallet-detail-list>div{display:grid;grid-template-columns:110px 1fr;gap:18px;padding:13px 0;border-top:1px solid var(--line);font-size:11px;line-height:1.8}.wallet-detail-list dt{color:#8b9fb1}.wallet-detail-list dd{margin:0;overflow-wrap:anywhere}.wallet-receipt-note{font-size:11px!important;line-height:1.9!important;color:var(--muted)}.wallet-cancel-request{width:100%;min-height:47px;margin-bottom:19px}.wallet-coming{text-align:center;padding:50px 25px}.wallet-coming>.wallet-preview-icon{margin:auto}.wallet-coming h2{font-size:22px;letter-spacing:-.5px}.wallet-coming p{color:var(--muted);font-size:13px;line-height:1.9}.wallet-badge{display:inline-flex;margin-top:15px;background:var(--blue-soft);color:var(--brand-blue);padding:9px 13px;border-radius:9px;font-size:11px}
@media(min-width:681px){.portal-sidebar{overflow-y:auto}.sidebar-label{margin-top:30px}.sidebar-bottom{padding-top:20px}.sidebar-care{margin-bottom:19px}.wallet-hero{min-height:309px}}
@media(max-width:1200px){.wallet-layout{grid-template-columns:minmax(0,1.4fr) minmax(235px,1fr);gap:18px}.wallet-hero{padding:24px}.wallet-history{padding:23px}.wallet-toolbar{align-items:flex-start;flex-direction:column}.wallet-period{align-self:flex-end}.wallet-transaction .desktop-status{width:107px}.wallet-table-head{grid-template-columns:1fr 107px 110px}}
@media(max-width:900px){.wallet-layout{grid-template-columns:1fr}.wallet-side-panel{padding:22px}.wallet-request{padding:16px 0}.wallet-side-panel h2{margin-bottom:14px}.wallet-help{margin-top:0}.wallet-hero-bottom{gap:45px}.wallet-table-head{display:none}.wallet-transaction .desktop-status{display:none}.wallet-transaction-info>.wallet-status{display:inline-flex}.wallet-history-heading{margin-bottom:20px}}
@media(max-width:680px){.wallet-preview{padding:18px 16px;gap:13px;margin-bottom:21px;border-radius:17px}.wallet-preview-icon{width:43px;height:43px;border-radius:13px}.wallet-preview>div>span{font-size:11px}.wallet-preview strong{font-size:25px}.wallet-preview small{font-size:10px}.wallet-preview>button{font-size:0;padding:10px;border-radius:50%;background:#fff;width:39px;min-height:39px;flex-shrink:0;gap:0}.wallet-preview>button>.icon{width:20px;height:20px}.wallet-demo-label{font-size:10px;padding:7px 10px}.wallet-layout{gap:19px;margin-bottom:23px}.wallet-hero{padding:24px 22px;border-radius:23px}.wallet-hero-top{margin-bottom:29px}.wallet-hero-top>span:first-child{font-size:12px}.wallet-hero-mark{font-size:13px}.wallet-amount-caption{font-size:11px}.wallet-amount{font-size:43px}.wallet-hero-bottom{gap:30px;margin-top:22px}.wallet-hero-bottom span{font-size:10px}.wallet-hero-bottom strong{font-size:15px}.wallet-actions>button{font-size:13px;min-height:49px}.wallet-demo-note{margin-top:14px;gap:8px}.wallet-demo-note p{font-size:10px}.wallet-side-panel{padding:23px 20px;border-radius:18px}.wallet-panel-caption{font-size:8px}.wallet-side-panel h2{font-size:16px}.wallet-request strong{font-size:22px}.wallet-request small{font-size:11px}.wallet-request em{font-size:10px}.wallet-request-icon{width:43px;height:46px}.wallet-help{font-size:11px}.wallet-history{padding:23px 18px;border-radius:18px}.wallet-history-heading{gap:8px;align-items:flex-start}.wallet-history-heading h2{font-size:19px;margin-top:10px}.wallet-export{font-size:10px;gap:5px;min-height:42px}.wallet-export>.icon{width:15px;height:15px}.wallet-history-heading .wallet-panel-caption{font-size:7px;letter-spacing:1px}.wallet-toolbar{gap:13px;margin-bottom:5px}.wallet-filters{width:100%;padding-bottom:4px}.wallet-filters>button{font-size:11px;padding:10px 12px;min-height:40px}.wallet-period{align-self:flex-start}.wallet-period select{font-size:12px;min-height:42px;max-width:165px}.wallet-transaction{gap:10px;padding:19px 0;align-items:flex-start}.wallet-transaction-icon{width:35px;height:38px;border-radius:11px}.wallet-transaction-icon>.icon{width:18px;height:18px}.wallet-transaction-info{gap:6px}.wallet-transaction-info>strong{font-size:11px}.wallet-transaction-info>small{font-size:9px}.wallet-transaction-info>.wallet-status{font-size:9px;margin-top:2px}.wallet-transaction-amount{width:auto;min-width:70px;font-size:12px;padding-top:2px;letter-spacing:-.4px}.wallet-transaction>.icon{display:none}.wallet-history-footer{font-size:9px;line-height:1.8;flex-direction:column;gap:4px;padding-top:17px}.wallet-form-intro{font-size:12px!important}.wallet-methods strong{font-size:13px}.wallet-methods small{font-size:11px}.wallet-methods>label{padding:14px 12px}.wallet-form textarea{font-size:16px}.wallet-detail-list>div{grid-template-columns:92px 1fr;font-size:11px;gap:13px}.wallet-receipt-summary>strong{font-size:33px}.wallet-field-hint{font-size:11px}}
@media(max-width:360px){.wallet-hero{padding:23px 18px}.wallet-amount{font-size:37px}.wallet-hero-bottom{gap:22px}.wallet-hero-bottom span{font-size:9px}.wallet-history{padding:21px 13px}.wallet-history-heading{flex-direction:column;gap:4px}.wallet-transaction{gap:8px}.wallet-transaction-icon{width:29px;height:32px}.wallet-transaction-info>strong{font-size:10px}.wallet-transaction-amount{font-size:11px;min-width:65px}.wallet-transaction-info>small{font-size:8px}}

/* Keep the mobile header focused on the brand and balance; location lives in More. */
.mobile-header-wallet{display:none}
@media(max-width:680px){
  .portal-page .wallet-preview{display:none}
  .portal-topbar{display:flex;justify-content:space-between;gap:20px;padding-left:20px;padding-right:20px}
  .portal-topbar .portal-mobile-brand .brand-logo-window{width:104px}
  .mobile-header-wallet{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:5px;min-height:48px;min-width:0;max-width:180px;margin-left:auto;padding:8px 13px;border:1px solid #dbeaf7;border-radius:14px;background:linear-gradient(125deg,#edf6fe,#f5faff);color:var(--brand-deep);text-align:right}
  .mobile-header-wallet>span{display:flex;align-items:center;gap:5px;font-size:9px;font-weight:500;line-height:1;color:#7190ab}
  .mobile-header-wallet>span>.icon{width:12px;height:12px;stroke-width:1.8}
  .mobile-header-wallet>strong{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:700;letter-spacing:-.3px;line-height:1.2;font-variant-numeric:tabular-nums}
  .mobile-header-wallet:hover,.mobile-header-wallet.active{border-color:#bdd8ef;background:#e7f2fd}
  .mobile-header-wallet:active{transform:scale(.98)}
  .portal-topbar>.portal-header-tools{display:none}
  .portal-topbar .portal-location-control{width:100%;min-width:0;min-height:48px;padding:5px 0;gap:6px}
  .portal-topbar .portal-location-control>.icon:first-child{width:15px;height:15px}
  .portal-topbar .portal-location-control>span{flex:1;min-width:0}
  .portal-topbar .portal-location-control strong,.portal-topbar .portal-location-control small{max-width:none;width:100%;display:block}
  .portal-topbar .portal-location-control strong{font-size:11px;line-height:1.5}
  .portal-topbar .portal-location-control small{font-size:9px;line-height:1.5}
}
@media(max-width:360px){
  .portal-topbar{padding-left:18px;padding-right:18px;gap:16px}
  .portal-topbar .portal-mobile-brand .brand-logo-window{width:96px}
  .mobile-header-wallet{max-width:160px;padding-left:11px;padding-right:11px;border-radius:12px}
  .mobile-header-wallet>strong{font-size:13px}
  .portal-topbar .portal-location-control{gap:4px}
  .portal-topbar .portal-location-control>.icon:first-child{width:13px;height:13px}
  .portal-topbar .portal-location-control strong{font-size:10px}
  .portal-topbar .portal-location-control small{font-size:8px}
}

/* Wallet overlay: all layout rules are scoped to this dialog. */
html.wallet-sheet-open,body.wallet-sheet-open{overflow:hidden}
.wallet-sheet{position:fixed;inset:0;width:480px;max-width:calc(100% - 32px);max-height:min(92dvh,800px);margin:auto;padding:0;border:1px solid #e0ebf5;border-radius:27px;background:#fff;color:var(--ink);font-family:var(--font);box-shadow:0 25px 100px #003f9330;overflow:hidden;overscroll-behavior:contain}
.wallet-sheet[open]{display:flex;flex-direction:column}
.wallet-sheet::backdrop{background:#153c605c;backdrop-filter:blur(6px)}
.wallet-sheet-grip{height:23px;flex-shrink:0;display:grid;place-items:center;touch-action:none;cursor:grab}
.wallet-sheet-grip>span{height:4px;width:37px;background:#dce7f0;border-radius:4px}
.wallet-sheet-header{display:flex;align-items:center;gap:12px;padding:7px 23px 20px;flex-shrink:0;background:#fff;border-bottom:1px solid #edf3f8}
.wallet-sheet-header>div{min-width:0;flex:1}.wallet-sheet-kicker{display:block;font-size:8px;letter-spacing:1.3px;color:#8199af;line-height:1.6;margin-bottom:7px}
.wallet-sheet-header h2{font-size:24px;font-weight:650;letter-spacing:-.7px;line-height:1.25;margin:0;outline:none;overflow-wrap:anywhere}
.wallet-sheet-close,.wallet-sheet-back{display:grid;place-items:center;min-width:42px;width:42px;height:42px;min-height:42px;padding:0;flex-shrink:0;border:1px solid #eaf0f6;border-radius:50%;color:#819bb1;background:#f6f9fc}
.wallet-sheet-close>.icon,.wallet-sheet-back>.icon{width:19px;height:19px}.wallet-sheet-close:hover,.wallet-sheet-back:hover{background:#eaf3fc;color:var(--brand-blue)}
.wallet-sheet-body{min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:20px 23px 25px;scrollbar-width:thin;scrollbar-color:#d8e5f1 transparent}
.wallet-sheet-balance{position:relative;overflow:hidden;padding:19px 20px 18px;border-radius:19px;border:1px solid #dcecf9;background:radial-gradient(ellipse at 100% 0,#dceeff80,transparent 65%),linear-gradient(120deg,#f0f8ff,#f7fbff)}
.wallet-sheet-balance-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.wallet-sheet-balance-top>span:first-child{font-size:11px;color:#6f8ca6}.wallet-sheet-demo-tag{font-size:8px;padding:5px 7px;border-radius:6px;background:#e5eff9;color:#6f91ac;white-space:nowrap}
.wallet-sheet-balance>strong{display:block;font-size:43px;font-weight:600;letter-spacing:-1.5px;line-height:1.2;color:var(--brand-deep);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.wallet-sheet-balance-meta{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:18px;padding-top:16px;border-top:1px solid #dbeaf7}.wallet-sheet-balance-meta>div{display:flex;flex-direction:column;gap:7px;min-width:0}.wallet-sheet-balance-meta span{font-size:9px;color:#839aad;line-height:1.5}.wallet-sheet-balance-meta strong{font-size:14px;font-weight:600;color:#507493;line-height:1.4;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.wallet-sheet-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:11px;margin:15px 0 0}.wallet-sheet-actions>button{display:flex;align-items:center;justify-content:center;gap:11px;min-width:0;min-height:73px;padding:13px 14px;border-radius:15px;background:linear-gradient(110deg,var(--brand-blue),var(--brand-deep));color:#fff;text-align:left;box-shadow:0 5px 13px #1a72b910}.wallet-sheet-actions>button:last-child{background:#fff;color:var(--brand-blue);border:1px solid #d7e6f3;box-shadow:none}.wallet-sheet-actions>button:disabled{opacity:.45;cursor:default}.wallet-sheet-actions>button>.icon{height:23px;width:23px}.wallet-sheet-actions>button>span{display:flex;flex-direction:column;gap:7px;min-width:0}.wallet-sheet-actions strong{font-size:12px;font-weight:650;line-height:1.5}.wallet-sheet-actions small{font-size:9px;opacity:.7;line-height:1.5}
.wallet-sheet-pending{display:flex;align-items:center;gap:8px;min-height:47px;width:100%;padding:12px 0;border-bottom:1px solid #edf2f7;margin-top:7px;text-align:left;color:#9a793f}.wallet-sheet-pending-dot{height:6px;width:6px;border-radius:50%;background:#caa566;flex-shrink:0}.wallet-sheet-pending>span:nth-child(2){font-size:10px;line-height:1.6;flex:1}.wallet-sheet-pending small{display:inline-grid;place-items:center;min-width:16px;height:16px;border-radius:5px;background:#fcf4e5;font-size:9px;margin-left:4px}.wallet-sheet-pending>strong{font-size:11px;font-weight:600;white-space:nowrap}.wallet-sheet-pending>.icon{height:13px;width:13px;color:#a9b9c7}
.wallet-sheet-recent{margin-top:20px}.wallet-sheet-recent-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:3px}.wallet-sheet-recent-heading h3{font-size:15px;font-weight:650;letter-spacing:-.25px;line-height:1.5;margin:0}.wallet-sheet-recent-heading>button{display:flex;align-items:center;gap:4px;min-height:36px;padding:5px 0 5px 12px;font-size:11px;color:var(--brand-blue)}.wallet-sheet-recent-heading .icon{height:13px;width:13px}
.wallet-sheet-transaction{display:flex;align-items:center;gap:11px;width:100%;padding:15px 0;border-bottom:1px solid #edf2f7;text-align:left;min-width:0}.wallet-sheet-transaction:last-child{border-bottom:0}.wallet-sheet-transaction>.wallet-transaction-icon{width:37px;height:39px;border-radius:12px}.wallet-sheet-transaction>.wallet-transaction-icon>.icon{width:18px;height:18px}.wallet-sheet-transaction-copy{display:flex;flex:1;flex-direction:column;gap:5px;min-width:0}.wallet-sheet-transaction-copy>strong{font-size:11px;font-weight:600;line-height:1.6;overflow-wrap:anywhere}.wallet-sheet-transaction-copy>small{font-size:9px;color:#8a9fb1;line-height:1.5}.wallet-sheet-transaction-copy>.wallet-status{font-size:8px}.wallet-sheet-transaction-amount{flex-shrink:0;max-width:42%;font-size:12px;letter-spacing:-.2px;font-weight:650;text-align:right;line-height:1.6;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.wallet-sheet-transaction-amount.incoming{color:#238775}.wallet-sheet-transaction-amount.cancelled{color:#97a8b7;text-decoration:line-through}
.wallet-sheet-demo-note{display:flex;align-items:flex-start;gap:8px;padding:13px 0 0;margin:8px 0 0;color:#8b9eae;font-size:10px;line-height:1.8}.wallet-sheet-demo-note>.icon{width:15px;height:15px;margin-top:2px}
.wallet-sheet-coming{text-align:center;padding:15px 8px 30px}.wallet-sheet-coming>.wallet-preview-icon{margin:0 auto 20px}.wallet-sheet-coming h3{font-size:22px;font-weight:600;letter-spacing:-.5px;line-height:1.4}.wallet-sheet-coming p,.wallet-sheet-intro{font-size:12px;color:var(--muted);line-height:1.9;margin:0 0 20px}.wallet-sheet-coming .wallet-badge{margin-top:0}.wallet-sheet-empty{font-size:12px;color:var(--muted);line-height:1.9;padding:20px 0}.wallet-sheet-requests .wallet-sheet-transaction{padding:19px 0}
.wallet-sheet-error,.wallet-sheet .form-error{font-size:12px;line-height:1.8;color:#b45650;margin:0}.wallet-sheet-error:empty{display:none}.wallet-sheet-notice{display:flex;align-items:flex-start;gap:8px;margin:0 0 15px;padding:12px 14px;background:#edf8f4;color:#358674;border:1px solid #deeee7;border-radius:12px;font-size:11px;line-height:1.8}.wallet-sheet-notice>.icon{height:16px;width:16px;margin-top:2px}
.wallet-sheet .wallet-form-intro{margin:0 0 18px;font-size:12px!important}.wallet-sheet .wallet-form{margin:0;gap:15px}.wallet-sheet .portal-dialog-form input,.wallet-sheet .portal-dialog-form select{font-size:16px;min-height:47px}.wallet-sheet .wallet-methods input{min-height:17px!important}.wallet-sheet .portal-dialog-form>.portal-primary{position:static;box-shadow:none;width:100%;min-height:49px;margin:3px 0 0;font-size:13px;border-radius:12px}.wallet-sheet .wallet-form textarea{font-size:16px}.wallet-sheet .wallet-form-disclaimer{font-size:10px!important;line-height:1.8!important;margin:0}.wallet-sheet .wallet-receipt-summary{padding:8px 0 23px}.wallet-sheet .wallet-detail-list{margin-bottom:18px}.wallet-sheet .wallet-detail-list>div{font-size:12px;grid-template-columns:100px minmax(0,1fr)}.wallet-sheet .wallet-receipt-note{font-size:12px!important}.wallet-sheet .wallet-cancel-request{min-height:48px;font-size:12px}.wallet-sheet-done{width:100%;min-height:49px;margin-top:23px;font-size:13px;border-radius:12px}
@media(max-width:680px){
  .wallet-sheet{inset:auto 0 0;width:100%;max-width:100%;max-height:min(92dvh,calc(100dvh - max(14px,env(safe-area-inset-top,0px))));margin:0;border-radius:28px 28px 0 0;border:0}
  .wallet-sheet-header{padding-left:22px;padding-right:22px;padding-bottom:18px}.wallet-sheet-header h2{font-size:23px}.wallet-sheet-kicker{font-size:8px}.wallet-sheet-body{padding:18px 22px calc(22px + env(safe-area-inset-bottom,0px))}.wallet-sheet-close,.wallet-sheet-back{height:44px;min-height:44px;width:44px;min-width:44px}.wallet-sheet-balance>strong{font-size:42px}.wallet-sheet-actions strong{font-size:12px}.wallet-sheet-actions small{font-size:9px}.wallet-sheet-recent-heading>button{min-height:44px}.wallet-sheet-transaction-copy>strong{font-size:11px}.wallet-sheet .wallet-detail-list>div{font-size:11px;grid-template-columns:91px minmax(0,1fr)}
}
@media(max-width:360px){
  .wallet-sheet-header{padding-left:18px;padding-right:18px;gap:9px}.wallet-sheet-header h2{font-size:21px}.wallet-sheet-kicker{font-size:7px;letter-spacing:1px}.wallet-sheet-body{padding-left:18px;padding-right:18px}.wallet-sheet-balance{padding:17px 16px}.wallet-sheet-balance>strong{font-size:36px}.wallet-sheet-balance-top>span:first-child{font-size:10px}.wallet-sheet-balance-meta{gap:10px}.wallet-sheet-balance-meta span{font-size:8px}.wallet-sheet-balance-meta strong{font-size:13px}.wallet-sheet-actions{gap:9px}.wallet-sheet-actions>button{gap:8px;padding:12px 10px;min-height:74px}.wallet-sheet-actions>button>.icon{width:19px;height:19px}.wallet-sheet-actions strong{font-size:11px}.wallet-sheet-actions small{font-size:8px}.wallet-sheet-transaction{gap:8px}.wallet-sheet-transaction>.wallet-transaction-icon{height:33px;width:30px;border-radius:10px}.wallet-sheet-transaction-copy>strong{font-size:10px}.wallet-sheet-transaction-copy>small{font-size:8px}.wallet-sheet-transaction-amount{font-size:11px;max-width:39%}.wallet-sheet-recent-heading h3{font-size:14px}.wallet-sheet .wallet-detail-list>div{grid-template-columns:81px minmax(0,1fr);gap:10px}
}
@media(prefers-reduced-motion:no-preference){.wallet-sheet[open]{animation:wallet-sheet-enter .22s cubic-bezier(.22,.7,.3,1) both}@keyframes wallet-sheet-enter{from{opacity:0;transform:translateY(26px)}to{opacity:1;transform:translateY(0)}}}

/* Reusable balance and history panels inside the unified finance section. */
.finance-wallet-balance,.finance-wallet-history{min-width:0;max-width:100%}
.finance-wallet-balance+.finance-wallet-history{margin-top:24px}
.finance-wallet-balance>.wallet-hero{min-height:0}
.finance-wallet-balance .wallet-hero-top{gap:16px;flex-wrap:wrap}
.finance-wallet-balance .wallet-amount{display:block;max-width:100%;overflow-wrap:anywhere;font-size:clamp(34px,3.4vw,48px)}
.finance-wallet-balance .wallet-hero-bottom{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.finance-wallet-balance .wallet-hero-bottom>div{min-width:0}
.finance-wallet-balance .wallet-hero-bottom strong{overflow-wrap:anywhere}
.finance-wallet-balance .wallet-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
.finance-wallet-balance .wallet-actions>button{min-width:0;padding:12px 10px;line-height:1.5}
.finance-wallet-balance .wallet-actions .icon{flex-shrink:0}
.finance-wallet-balance .wallet-demo-note{margin-bottom:0}
.finance-wallet-balance .wallet-demo-note p{font-size:11px;line-height:1.8}
.finance-wallet-requests{margin-top:20px;padding:20px 22px}
.finance-wallet-requests h2{margin-top:10px;margin-bottom:14px}
.finance-wallet-requests .wallet-request{min-height:70px;gap:11px}
.finance-wallet-requests .wallet-request>span:nth-child(2){flex:1}
.finance-wallet-requests .wallet-request strong{overflow-wrap:anywhere}
.finance-wallet-requests .finance-request-details{display:flex;align-items:center;gap:4px;flex-shrink:0;min-height:44px;color:var(--brand-blue);font-size:10px}
.finance-request-details .icon{height:13px;width:13px;flex-shrink:0}
.finance-wallet-history .wallet-toolbar{min-width:0}
.finance-wallet-history .wallet-filters{max-width:100%;min-width:0}
.finance-wallet-history .wallet-filters>button{min-height:44px;font-size:11px}
.finance-wallet-history .wallet-period select{min-height:44px;font-size:12px}
.finance-wallet-history .wallet-export{min-height:44px}
.finance-wallet-history .wallet-transaction-info>strong{overflow-wrap:anywhere}
@media(max-width:680px){
 .finance-wallet-balance .wallet-hero{padding:23px 22px}
 .finance-wallet-balance .wallet-amount{font-size:42px}
 .finance-wallet-balance .wallet-hero-bottom{gap:16px;margin:21px 0 23px}
 .finance-wallet-balance .wallet-actions>button{font-size:13px;min-height:49px}
 .finance-wallet-balance .wallet-demo-note p{font-size:11px}
 .finance-wallet-requests{padding:21px 18px}
 .finance-wallet-requests .wallet-request{flex-wrap:wrap}
 .finance-wallet-requests .finance-request-details{font-size:11px}
 .finance-wallet-history .wallet-history-heading{flex-wrap:wrap;gap:12px}
 .finance-wallet-history .wallet-history-heading h2{font-size:20px;margin-top:7px}
 .finance-wallet-history .wallet-export{font-size:11px;gap:7px}
 .finance-wallet-history .wallet-transaction-info>strong{font-size:12px;line-height:1.6}
 .finance-wallet-history .wallet-transaction-info>small{font-size:10px}
 .finance-wallet-history .wallet-transaction-info>.wallet-status{font-size:10px}
 .finance-wallet-history .wallet-transaction-amount{font-size:13px}
}
html.vision-mode .finance-wallet-balance .wallet-actions{grid-template-columns:minmax(0,1fr)}
html.vision-mode .finance-wallet-balance .wallet-hero-bottom{grid-template-columns:minmax(0,1fr);gap:20px}
html.vision-mode .finance-wallet-requests .wallet-request{flex-wrap:wrap}
html.vision-mode .finance-wallet-requests .finance-request-details{flex-basis:100%;margin-left:0}
html.vision-mode .finance-wallet-history .wallet-history-heading{flex-wrap:wrap}
html.vision-mode .finance-wallet-history .wallet-toolbar{display:flex;flex-direction:column;align-items:stretch}
html.vision-mode .finance-wallet-history .wallet-filters{flex-wrap:wrap;overflow:visible;gap:8px}
html.vision-mode .finance-wallet-history .wallet-period{align-self:stretch}
html.vision-mode .finance-wallet-history .wallet-period select{width:100%;max-width:100%}
