.wallet-content{max-width:1080px;margin:auto;color:#f3ede0}
.wallet-content .account-card{background:#0b2e24;border:1px solid #8a6b2a;border-radius:14px;padding:24px}
.wallet-content h2{font-family:'Playfair Display',Georgia,serif;font-size:25px;font-weight:600}
.wallet-content .account-note{color:#e3d9c2}
.wallet-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:24px;align-items:start}
.wallet-balances{display:grid;gap:20px;min-width:0}
.wallet-balances .account-card{background:#12483a}
.wallet-balances h2{display:flex;align-items:center;gap:10px;font:500 13px/1.4 Inter,system-ui,sans-serif;letter-spacing:.06em;color:#e8c77a;margin-bottom:18px}
.wallet-balances h2 img{width:26px;height:26px}
.wallet-amount{display:block;font:600 clamp(25px,3vw,38px)/1.25 'JetBrains Mono',monospace;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;color:#f7f1e3}
.wallet-held{display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px;padding:15px 0;border-top:1px solid #647449;border-bottom:1px solid #647449;color:#e3d9c2}
.wallet-held dd{margin:0;font-variant-numeric:tabular-nums;white-space:nowrap}
.wallet-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.wallet-content .wallet-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;margin:0;border:1px solid #a48b4b;border-radius:10px;color:#f7f1e3;text-align:center;line-height:1.4}
.wallet-content .wallet-link.primary{background:#e8c77a;color:#0b2e24;border-color:#e8c77a;font-weight:600}
.wallet-actions .wallet-link{flex:1}
.wallet-balances .has-debt{border-color:#e0a32e}
.wallet-balances .has-debt :is(h2,.wallet-amount){color:#f2c66b}
.wallet-recent>.wallet-link{width:100%;margin-top:20px}
.wallet-other-links{display:grid;gap:12px;border-top:1px solid #647449;margin-top:24px;padding-top:24px}
.wallet-other-links .wallet-link{border:0;justify-content:flex-start;padding:0;color:#e8c77a}
.wallet-ledger-list{list-style:none;padding:0;margin:0;overflow:hidden}
.wallet-ledger-list li{display:grid;grid-template-columns:24px minmax(0,1fr) minmax(130px,.65fr) minmax(140px,.65fr);gap:14px;align-items:center;padding:18px 0;border-top:1px solid #63704b}
.wallet-ledger-list li>img{width:22px;height:22px}
.wallet-transaction-name{display:grid;gap:5px;min-width:0;overflow-wrap:anywhere}
.wallet-transaction-name strong{font-size:14px;font-weight:500}
.wallet-transaction-name time{font-size:12px;color:#e3d9c2}
.wallet-change,.wallet-after{font-family:'JetBrains Mono',monospace;font-size:14px;font-variant-numeric:tabular-nums;text-align:right;overflow-wrap:anywhere}
.wallet-change.credit{color:#b5d3be}.wallet-change.debit{color:#f4aba5}
.wallet-after{display:grid;gap:4px;color:#e3d9c2}.wallet-after small{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.wallet-ledger-list.compact li{grid-template-columns:22px minmax(0,1fr) auto;gap:10px}
.wallet-ledger-list.compact .wallet-change{max-width:150px}
.wallet-empty{display:grid;justify-items:center;text-align:center;padding:36px 12px}
.wallet-empty img{width:112px;height:112px}.wallet-empty h3{font:500 23px Georgia,serif;margin:20px 0 0}
.wallet-ledger-title{display:flex;gap:24px;align-items:start;justify-content:space-between}
.wallet-ledger-title h2{margin-bottom:12px}.wallet-ledger-title>.wallet-link{flex:none}
.wallet-filters{display:flex;gap:10px;margin:20px 0}
.wallet-content .wallet-filters button{margin:0;min-width:74px;background:transparent;color:#e3d9c2}
.wallet-content .wallet-filters button[aria-pressed=true]{background:#e8c77a;color:#0b2e24}
.wallet-ledger-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,.65fr) minmax(140px,.65fr);gap:14px;padding:12px 0 12px 38px;color:#d9b565;font-size:12px}
.wallet-ledger-head span:not(:first-child){text-align:right}
.wallet-ledger-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:24px;color:#e3d9c2}
.wallet-content .wallet-ledger-footer button{margin:0}
.wallet-content .account-toolbar button{margin:0;background:#0b2e24;color:#f7f1e3}
.wallet-content button:disabled{opacity:1;background:#244c3e;color:#c9d0be}
.wallet-retry{color:#0b2e24}
.wallet-content :is(button,a):focus-visible{outline:3px solid #cb8735;outline-offset:4px}
@media(max-width:767px){
 .wallet-layout{grid-template-columns:minmax(0,1fr);gap:16px}.wallet-balances{gap:16px}
 .wallet-content .account-card{padding:20px 16px}.wallet-content h2{font-size:23px}.wallet-balances h2{font-size:13px}
 .wallet-ledger-title{display:block}.wallet-ledger-title>.wallet-link{margin-top:12px}
 .wallet-ledger-head{display:none}
 .wallet-ledger-list li{grid-template-columns:20px minmax(0,1fr) minmax(0,.85fr);gap:9px}
 .wallet-ledger-list li>img{width:18px;height:18px}
 .wallet-after{grid-column:2/-1;display:flex;justify-content:space-between;font-size:12px}.wallet-after small{position:static;width:auto;height:auto;overflow:visible;clip-path:none;font:inherit}
 .wallet-change{font-size:13px}.wallet-transaction-name time{font-size:11px}
 .wallet-ledger-list.compact li{grid-template-columns:20px minmax(0,1fr) minmax(0,.85fr)}
 .wallet-actions .wallet-link{flex-basis:100%}
}
