.wallet-exchange-group{min-width:0;border-bottom:1px solid var(--wallet-line)}
.wallet-exchange-group .wallet-exchange{border-bottom:0}
.wallet-account-breakdown{display:grid;gap:0;padding:0 0 13px 39px}
.wallet-account-line{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 0;border-top:1px solid var(--wallet-line)}
.wallet-account-line>span{display:grid;gap:4px;min-width:0}
.wallet-account-line>span>b{color:var(--wallet-muted);font-size:11px;font-weight:500;line-height:1.5}
.wallet-account-line>span>small{color:var(--wallet-muted);font-size:9px;line-height:1.5}
.wallet-account-line>span>small.needs-access{color:var(--amber,#d59b38)}
.wallet-account-line>strong{display:flex;align-items:baseline;justify-content:flex-end;gap:5px;flex-wrap:wrap;color:var(--wallet-ink);font-size:13px;font-weight:550;line-height:1.5;text-align:right;font-variant-numeric:tabular-nums}
.wallet-account-line>strong>small{color:var(--wallet-muted);font-size:9px;font-weight:400}
.wallet-sync-details{margin:0 0 13px 39px;color:var(--wallet-muted);font-size:10px;line-height:1.7}
.wallet-sync-details summary{cursor:pointer}
.wallet-sync-details p{margin:7px 0 0;overflow-wrap:anywhere}
@media(max-width:360px){.wallet-account-breakdown{padding-left:10px}.wallet-sync-details{margin-left:10px}.wallet-account-line{gap:8px}.wallet-account-line>strong{font-size:12px}}

/* Keep totals visible; each exchange reveals its own asset categories on demand. */
.wallet-fold>summary{cursor:pointer;list-style:none;border-radius:12px;touch-action:manipulation}
.wallet-fold>summary::-webkit-details-marker{display:none}
.wallet-fold>summary::marker{content:""}
.wallet-fold .wallet-chevron{display:grid;place-items:center;flex:0 0 18px;width:18px}
.wallet-fold .wallet-chevron svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;transition:transform 200ms ease}
.wallet-fold[open] .wallet-chevron svg{transform:rotate(180deg)}
.wallet-fold:not([open])>.wallet-fold-content{display:none}
.wallet-fold>summary:focus-visible{outline:2px solid var(--wallet-accent);outline-offset:2px}
@media(prefers-reduced-motion:reduce){.wallet-fold .wallet-chevron svg{transition:none}}
