.asset-switcher{display:flex;align-items:center;gap:10px;min-width:0}.asset-add{border:0;border-radius:8px;background:#087fe8;color:white;font-size:28px;width:44px;height:44px}.selected-asset{display:flex;align-items:center;gap:12px;min-width:210px;background:#101521;color:#f5f7fc;border:1px solid #3d4860;border-radius:7px;padding:9px 12px;text-align:left}.selected-asset strong{font-size:12px;display:block}.selected-asset small{color:#f6b74d;font-size:11px}.selected-asset>span:last-child{margin-left:auto}.asset-mark{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#244a70;color:#dcefff;font-size:10px;font-weight:800;flex-shrink:0}.selected-asset b{font-size:10px;margin-left:6px}.trade-sidebar{min-width:0;display:grid;gap:12px}.live-operations{background:#252c3e;border:1px solid #343d52;border-radius:7px;overflow:hidden}.operations-tabs{display:flex;border-bottom:1px solid #384158}.operations-tabs button{flex:1;border:0;border-top:2px solid transparent;padding:14px 6px;background:transparent;color:#9cabc4;font-size:11px;font-weight:700}.operations-tabs [aria-pressed=true]{border-top-color:#319dff;color:#fff;background:#2c3448}.operations-tabs b{background:#454f65;border-radius:8px;padding:2px 5px;margin-left:4px}.operation-card{padding:16px 12px;border-bottom:1px solid #3a4358;font-size:11px}.operation-card>div{display:flex;justify-content:space-between;gap:8px;margin-bottom:9px}.operation-card time{font-variant-numeric:tabular-nums;color:#c7d1e2}.operation-card small{font-size:9px;color:#9facbf}.op-positive{color:#1ed19a!important}.op-negative{color:#ff6b7c!important}.operations-note{font-size:10px;color:#9cabc2;line-height:1.5;padding:12px;margin:0}.operations-empty{display:grid;justify-items:center;gap:12px;padding:35px 15px;color:#9eabc0;font-size:11px;text-align:center}.operations-empty .ui-icon{font-size:26px}.asset-categories{display:flex;gap:6px;margin:16px 0}.asset-categories button,.asset-search button{border:1px solid #414b62;background:#252d40;color:#c8d2e4;border-radius:5px;padding:9px 12px}.asset-categories [aria-pressed=true],.asset-search [aria-pressed=true]{background:#087fe8;color:white}.asset-search{display:flex;gap:10px}.asset-search input{width:100%;min-width:0}.asset-list-head{display:flex;justify-content:space-between;color:#98a7be;font-size:11px;padding:18px 8px 12px;border-bottom:1px solid #3b455b}#asset-results{max-height:48vh;overflow:auto}.asset-result{display:flex;align-items:center;border-bottom:1px solid #303a4e;gap:6px}.asset-result>button{background:none;border:0;color:#dae2ef;padding:14px 7px}.asset-result>button[aria-pressed=true]{color:#ffc25d}.asset-result>button:last-child{display:flex;align-items:center;gap:10px;flex:1;text-align:left;min-width:0}.asset-result strong{font-size:12px}.asset-result small{display:block;color:#8f9fb8;font-size:10px;margin-top:4px}.asset-result b{margin-left:auto;color:#ffc25d;font-size:13px}.asset-result:hover{background:#2a3449}.asset-footnote{font-size:10px;color:#9ba9bd;line-height:1.6;margin:16px 0 0}@media(max-width:760px){.trade-sidebar{width:100%}.terminal-toolbar{flex-wrap:wrap}.selected-asset{min-width:190px}.operations-empty{padding:20px}.asset-result strong{font-size:11px}.asset-picker .asset-categories{margin-top:8px}}
/* Non-modal asset menu anchored to the selector, not the account dialog. */
.asset-switcher{position:relative;z-index:45}.asset-popover{position:absolute;top:calc(100% + 8px);left:0;z-index:50;box-sizing:border-box;border:1px solid #333943;border-radius:5px;background:#191b20;padding:16px;box-shadow:0 16px 35px #0006;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.asset-popover header{display:flex;justify-content:space-between;align-items:center;gap:16px}.asset-popover h2{margin:0;font-size:18px;line-height:1.4;color:#f7f8fa}.asset-popover header button{border:0;background:none;color:#aab1bf;font-size:25px;min-width:32px;min-height:32px}.asset-popover .asset-categories button{font-size:10px;font-weight:800;text-transform:uppercase;border:0;padding:8px 10px;background:transparent}.asset-popover .asset-categories [aria-pressed=true]{background:#087fe8}.asset-popover .asset-search input{background:#303237;border:1px solid #41434b;border-radius:5px;color:#fff;padding:12px;font-size:13px}.asset-popover .asset-result{border-bottom:1px solid #ffffff09}.asset-popover .asset-result:hover{background:#ffffff0c}.asset-popover .asset-result>button{min-height:48px}.asset-popover .asset-footnote{font-size:10px}.asset-mark{display:inline-flex;align-items:center;background:none;width:auto;min-width:38px;height:28px}.asset-mark img{width:24px;height:24px;border-radius:50%;box-shadow:0 0 0 2px #191b20;position:relative}.asset-mark img+img{margin-left:-9px}.asset-mark>span{font-size:9px}.asset-result .ui-icon{width:18px;height:18px}.asset-popover button:focus-visible{outline:2px solid #62b5ff;outline-offset:2px}.selected-asset[aria-expanded=true]{border-color:#389aff}@media(max-width:480px){.asset-popover{padding:12px}.asset-popover h2{font-size:16px}.asset-popover .asset-result strong{font-size:11px}.asset-popover .asset-result>button:last-child{gap:7px}}
/* Palette sampled from the supplied reference. Keep these overrides scoped to the selector. */
.asset-switcher{--asset-surface:#191919;--asset-search:#3b3b3b;--asset-blue:#026fd3;--asset-orange:#ff8a00;--asset-text:#fff;--asset-muted:#a6a6a6;flex:1;max-width:100%}
.asset-add{flex-shrink:0}
.asset-tabs{display:flex;gap:12px;min-width:0;overflow-x:auto;padding:8px 8px 10px 0;scrollbar-width:thin;scrollbar-color:#47516a transparent}
.asset-tab{position:relative;flex:0 0 auto}
.asset-switcher .asset-tab .selected-asset{background:#2b3041;border:1px solid #363e52;min-width:184px;min-height:48px;padding-right:25px}
.asset-switcher .asset-tab.active .selected-asset{background:#050609;border-color:#050609;border-left:3px solid #168be8}
.asset-tab-close{position:absolute;right:-6px;top:-6px;display:grid;place-items:center;width:23px;height:23px;border-radius:50%;border:1px solid #48536b;background:#141824;color:#fff;font-size:17px;line-height:1;padding:0}
.asset-tab-close:hover{background:#454e65}.asset-tab-close:disabled{visibility:hidden}
.asset-tabs button:focus-visible{outline:2px solid #63b6ff;outline-offset:2px}
@media(max-width:600px){.asset-tabs{gap:10px}.asset-switcher .asset-tab .selected-asset{min-width:162px}.asset-tab-close{width:28px;height:28px;right:-5px;top:-5px}.asset-switcher .asset-tab .selected-asset strong{font-size:11px}}
.asset-switcher .asset-add{background:var(--asset-blue);border-radius:8px}
.asset-switcher .selected-asset{background:#000;border-color:transparent;border-radius:4px;min-height:44px;padding:7px 12px}
.asset-switcher .selected-asset[aria-expanded=true]{border-color:#343434}
.asset-switcher .selected-asset small{color:var(--asset-orange)}
.asset-popover{background:var(--asset-surface);color:var(--asset-text);border:0;border-radius:4px;padding:12px;box-shadow:0 10px 24px #0003;scrollbar-color:#303030 var(--asset-surface)}
.asset-popover h2{color:#fff;font-size:20px;font-weight:800;letter-spacing:-.6px}
.asset-popover header button{color:#a6a6a6;min-width:24px;min-height:28px;font-size:24px;padding:0}
.asset-popover header button:hover{color:#fff}
.asset-popover .asset-categories{gap:4px;margin:12px 0 16px;flex-wrap:wrap}
.asset-popover .source-badge{color:#9dd9ff;font-size:9px;white-space:nowrap;margin-left:auto}
@media(max-width:600px){.asset-popover .source-badge{display:none}.asset-popover .asset-name strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
.asset-popover .asset-categories button{color:#fff;font-size:10px;padding:6px;min-height:24px;border-radius:3px;line-height:1.2}
.asset-popover .asset-categories [aria-pressed=true]{background:var(--asset-blue)}
.asset-popover .asset-search{gap:12px;align-items:stretch}
.asset-popover .asset-search>button{display:flex;align-items:center;justify-content:center;gap:7px;min-width:54px;min-height:38px;padding:8px;background:transparent;border:1px solid #3b3b3b;border-radius:3px;color:#a6a6a6;font-size:10px}
.asset-popover .asset-search>button[aria-pressed=true]{background:#303030;border-color:#a6a6a6;color:#fff}
.asset-popover .asset-query-wrap{position:relative;display:flex;flex:1;min-width:0;align-items:center;margin:0}
.asset-popover .asset-query-wrap svg{position:absolute;left:13px;width:15px;height:15px;fill:none;stroke:white;stroke-width:2;pointer-events:none}
.asset-popover .asset-search input{height:38px;min-height:38px;background:var(--asset-search);border:0;border-radius:3px;padding:8px 12px 8px 38px;color:#fff;font-size:12px;box-shadow:none}
.asset-popover .asset-search input::placeholder{color:#b3b3b3;opacity:1}
.asset-popover .asset-search input:focus-visible{outline:2px solid #5fb5ff;outline-offset:2px}
.asset-popover .asset-list-head{color:var(--asset-muted);padding:12px 8px;border-bottom:1px solid #3b3b3b;font-size:12px}
.asset-popover #asset-results{max-height:48vh;scrollbar-color:#303030 #191919}
.asset-popover .asset-result{border:0;gap:3px;border-radius:3px}
.asset-popover .asset-result:hover{background:#303030}
.asset-popover .asset-result>button{min-height:46px;padding:10px 7px;color:#fff}
.asset-popover .asset-result>button:first-child{display:grid;place-items:center;min-width:30px}
.asset-popover .asset-result>button:last-child{gap:8px}
.asset-popover .asset-result strong{color:#fff;font-size:13px;font-weight:800;line-height:1.4}
.asset-popover .asset-result small{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.asset-popover .asset-result b{color:var(--asset-orange);font-size:13px;font-weight:800}
.asset-popover .asset-mark{min-width:28px;height:22px}
.asset-popover .asset-mark img{width:19px;height:19px;box-shadow:0 0 0 1px #191919}
.asset-popover .asset-mark img+img{margin-left:-9px}
/* Global .ui-icon inverts black source icons; these SVGs already have light strokes. */
.asset-popover .ui-icon{filter:brightness(0) invert(1);opacity:1;width:20px;height:20px}
.asset-popover [data-desk="favorite"][aria-pressed=true] .ui-icon{filter:none}
.asset-popover .asset-search .ui-icon{width:14px;height:14px;opacity:.75}
.asset-popover .asset-footnote{color:#a6a6a6;border-top:1px solid #303030;padding-top:10px;margin-top:8px;line-height:1.5}
@media(max-width:480px){.asset-popover h2{font-size:17px}.asset-popover .asset-result strong{font-size:12px}.asset-popover .asset-result>button{min-height:46px}}
/* Four aligned catalog columns; labels describe the actual payout buckets. */
.asset-popover .asset-list-head{display:grid;grid-template-columns:minmax(125px,1fr) 105px 65px 65px;gap:7px;padding-left:40px;text-align:right;font-size:11px}
.asset-popover .asset-list-head>span:first-child{text-align:left}
.asset-popover .asset-result>button:last-child{display:grid;grid-template-columns:minmax(125px,1fr) 105px 65px 65px;gap:7px;text-align:right}
.asset-popover .asset-result b{margin:0}.asset-name{display:flex;gap:7px;align-items:center;text-align:left;min-width:0}.asset-popover .asset-name strong{font-size:12px}.asset-popover .asset-name .ui-icon{width:12px;height:12px}.asset-change{font-size:12px;font-weight:700}.asset-change.pending{color:#aaa;font-size:10px;font-weight:400}
@media(max-width:600px){.asset-popover .asset-list-head,.asset-popover .asset-result>button:last-child{grid-template-columns:minmax(105px,1fr) 75px 42px 42px;gap:3px}.asset-popover .asset-list-head{padding-left:30px;font-size:9px}.asset-popover .asset-name strong{font-size:10px}.asset-popover .asset-result b{font-size:11px}.asset-popover .asset-result>button{padding:8px 2px}.asset-popover .asset-result>button:first-child{min-width:25px}.asset-popover .asset-mark{min-width:23px}.asset-popover .asset-mark img{width:16px;height:16px}.asset-popover .asset-name .ui-icon{display:none}.asset-change{font-size:10px}.asset-change.pending{font-size:9px}}
@media(max-width:360px){.asset-popover .asset-list-head,.asset-popover .asset-result>button:last-child{grid-template-columns:minmax(90px,1fr) 64px 35px 35px;gap:2px}.asset-popover .asset-name{gap:4px}.asset-popover .asset-name strong{font-size:9px}.asset-popover .asset-list-head{font-size:8px}.asset-popover .asset-result b{font-size:10px}}
