/* Wallet utilities retain Evolix panels, fields, typography and theme tokens. */
.live-toolbar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:8px 0 16px}
.live-toolbar>div{flex:1;min-width:210px}
.live-toolbar label{display:block;font-size:var(--text-xs);color:var(--muted);margin-bottom:6px}
.live-toolbar select{width:100%}
.live-mode{margin-bottom:22px}
.live-wallet-id{font-size:var(--text-xs);color:var(--muted)}
#live-connection{margin-bottom:24px}
#live-connection:has(.btn){display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.live-metrics{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:20px}
.live-metrics strong{overflow-wrap:anywhere}
.live-token-icon{width:30px;height:30px;flex:none;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#e9efff;color:#244fe8;border:1px solid var(--line);font-size:10px;font-weight:600;line-height:1;overflow:hidden}
.live-token-icon img{display:block;width:100%;height:100%;object-fit:contain}
.live-token-icon.has-live-logo{background:#fff;border-color:#dbe2ec}
.live-token-icon.live-logo-dark{background:#142239;border-color:#3e5274}
.live-logo-fallback{display:none}
.live-token-icon img[hidden]{display:none}
.live-token-icon.live-logo-failed .live-logo-fallback{display:block;color:#2444ab}
.live-token-icon.live-logo-dark.live-logo-failed .live-logo-fallback{color:#e8eefb}
.live-token-name{display:block;font-size:var(--text-xs);color:var(--muted);font-weight:400;margin-top:4px}
.live-contract,.live-hash{font-size:var(--text-xs);overflow-wrap:anywhere;word-break:break-word}
.live-assets-table td:first-child{min-width:180px;max-width:300px}
.live-assets-table .live-contract{display:inline-block;max-width:100%;margin-top:7px}
.live-assets-table tr[hidden]{display:none}
.live-asset-search{width:100%;margin-bottom:20px;background:var(--surface);color:var(--ink);border-color:var(--line)}
.live-token-row small{overflow-wrap:anywhere}
.live-token-row>span:last-child{flex-shrink:0;min-width:48px;text-align:right}
.live-empty{padding:20px;color:var(--muted)}
.live-token-row{display:flex;align-items:center;gap:12px;width:100%;min-height:80px;padding:14px 10px;text-align:left;border:1px solid transparent;border-bottom-color:var(--line);border-radius:12px;background:transparent;color:var(--ink)}
.live-token-row>span:nth-child(2){flex:1;min-width:0}
.live-token-row strong{display:flex;align-items:center;flex-wrap:wrap;gap:8px;color:var(--ink);font-weight:550}
.live-token-row small{display:block;color:var(--muted);font-size:var(--text-xs);line-height:1.5;margin-top:4px}
.live-token-row>span:last-child{max-width:32%;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;color:var(--ink)}
.live-token-row[hidden]{display:none}
.live-token-row:hover,.live-token-row:focus-visible,.live-token-row[aria-pressed=true]{background:#edf2ff;color:var(--ink);border-color:#cbd7f5}
.live-token-selected{font-size:10px;line-height:1.5;font-weight:500;padding:2px 6px;border-radius:5px;background:#dbe6ff;color:#2444ab}
.live-token-picker-dialog .live-token-list{margin-top:12px;min-height:0;flex:0 1 auto;max-height:45dvh;padding:2px 4px 4px 0}
.live-token-picker-dialog .token-picker-footer p{margin-top:12px}
:root[data-theme=dark] .live-token-icon{background:var(--surface-soft);color:var(--ink);border-color:#354a6a}
:root[data-theme=dark] .live-token-icon.has-live-logo{background:#fff;border-color:#dbe2ec}
:root[data-theme=dark] .live-token-icon.live-logo-dark{background:#142239;border-color:#3e5274}
:root[data-theme=dark] :is(.live-token-row:hover,.live-token-row:focus-visible,.live-token-row[aria-pressed=true]){background:var(--surface-soft);color:var(--ink);border-color:#354a6a}
:root[data-theme=dark] .live-token-selected{background:#29436d;color:#d8e5ff}
#live-utility .token-select{display:flex;align-items:center;gap:7px;flex:none}
#live-utility .input-line input{width:0;min-width:0;flex:1}
#live-utility .quote-row{gap:12px}
#live-utility .quote-row strong{text-align:right;overflow-wrap:anywhere;max-width:65%}
#live-tx-status{margin-top:18px;overflow-wrap:anywhere}
#live-modal-balances .metrics-grid{display:none}
#live-modal-balances .panel-body{padding:0}
#live-modal-balances .table{min-width:520px}
#live-modal-balances .table-scroll{max-width:100%;margin-top:16px}
#live-utility button:focus-visible,.live-token-row:focus-visible{outline:2px solid var(--accent,#244fe8);outline-offset:3px}
@media(max-width:600px){
 .live-metrics{grid-template-columns:1fr}
 .live-toolbar{gap:10px}
 .live-toolbar>div{flex-basis:100%;min-width:0}
 .live-toolbar .badge{margin-right:auto}
 .live-token-row{gap:10px;padding:12px 8px}
 .live-token-row small{overflow-wrap:anywhere}
 .live-mode{flex-wrap:wrap}
 #live-utility .input-foot{gap:8px;align-items:flex-start}
 #live-utility .input-foot span{overflow-wrap:anywhere;min-width:0}
 .live-token-row>span:last-child{font-size:12px;max-width:27%}
}
