/* Stage 2 · approved Frosted Ledger. Material styles, not flattened mock imagery. */
.glow { background:radial-gradient(ellipse 250px 230px at 38% 0%,rgba(19,156,167,.31),transparent 76%),radial-gradient(ellipse 370px 245px at 83% 0%,rgba(14,150,162,.34),transparent 75%),radial-gradient(ellipse 215px 315px at 5% 71%,rgba(13,156,167,.48),transparent 80%),radial-gradient(ellipse 440px 300px at 52% 109%,rgba(17,85,101,.14),transparent 80%),#0a1116; }
.glass-workspace { --t1:#f0f5fa; --t2:#b6c1d1; --t3:#8d9cae; --glass-border:rgba(159,195,219,.12); --accent:#4ae9dc; --accent-l:#71f7e7; --accent-rgb:74,233,220; --accent-ink:#022026; --accent-grad:linear-gradient(110deg,#57efdd,#2ed2ef); --sans:-apple-system,BlinkMacSystemFont,"MiSans","Segoe UI",sans-serif; font-family:var(--sans); grid-template-columns:224px minmax(0,1fr); --green-l:#55f6e8; }
.glass-workspace .side { padding:24px 12px 20px; border:0; border-right:1px solid rgba(82,205,218,.24); border-radius:0; background:radial-gradient(ellipse 130px 500px at 110% 4%,rgba(28,168,185,.2),transparent 85%),linear-gradient(118deg,rgba(120,155,178,.12),rgba(39,63,75,.15) 65%,rgba(62,139,161,.22)); box-shadow:inset -1px 0 20px rgba(132,232,242,.03); backdrop-filter:blur(36px) saturate(125%); -webkit-backdrop-filter:blur(36px) saturate(125%); }
.glass-workspace .brand { padding:0 8px; gap:10px; margin-bottom:28px; }
.glass-workspace .brand-mark { width:34px; height:30px; }
.glass-workspace .brand-copy b { font-family:var(--sans); font-size:14px; letter-spacing:.08em; font-weight:600; }
.glass-workspace .brand-copy b em { color:#4feced; }
.glass-workspace .nav-group { display:none; }
.glass-workspace .nav-item { height:40px; padding:0 14px; gap:12px; margin:0 0 2px; font-size:13px; font-weight:400; border:1px solid transparent; border-radius:9px; color:#b7c5d7; }
.glass-workspace .nav-item svg { width:17px; height:17px; }
.glass-workspace .nav-item.active { color:#c6fffa; border-color:rgba(81,238,224,.68); background:linear-gradient(108deg,rgba(32,202,183,.20),rgba(121,224,234,.08)); box-shadow:inset 0 1px rgba(231,255,253,.14),inset 0 -1px rgba(4,14,20,.3),0 0 18px rgba(28,206,184,.06); }
.glass-workspace .nav-count { display:inline-block; flex-shrink:0; margin-left:auto; min-width:20px; padding:0; background:transparent; color:var(--t2); text-align:right; font-size:12px; font-variant-numeric:tabular-nums; }
.glass-workspace .nav-item.active .nav-count { background:transparent; color:#c6fffa; }
.glass-workspace .side-utility { margin:0; gap:8px; }
.glass-workspace .side-utility-btn { height:34px; min-height:34px; gap:6px; border-radius:9px; font-size:11px; font-weight:500; border-color:rgba(169,206,231,.12); color:#bfcbdd; background:rgba(126,162,183,.035); }
.glass-workspace .side-utility-btn svg { width:14px; height:14px; }
.glass-workspace .side-utility-btn.update { color:#82f7e6; border-color:rgba(114,230,219,.16); }
.glass-workspace .topbar { background:transparent; backdrop-filter:none; position:relative; padding:25px 28px 20px; align-items:flex-start; }
.glass-workspace .title { color:#f5f8fb; font-size:29px; letter-spacing:-.03em; font-weight:650; }
.glass-workspace .mirror-top-controls { gap:14px; font-size:12px; }
.glass-workspace .mirror-mode-indicator { border-color:rgba(143,173,191,.1); background:rgba(135,165,189,.045); border-radius:16px; padding:10px 15px; }
.glass-workspace .mirror-mode-indicator b { margin-left:9px; }
.glass-workspace .mirror-top-controls .mirror-observer { background:rgba(80,127,142,.075); border:1px solid rgba(143,173,191,.07); border-radius:15px; padding:10px 13px; }
.glass-workspace .mirror-running-count { padding-left:0; border:0; }
.glass-workspace .mirror-control-trigger { border-radius:17px; height:43px; padding:0 18px; font-size:14px; gap:10px; }
.glass-workspace .mirror-control-trigger svg { width:18px; height:18px; }
.glass-workspace .mirror-modal { background:linear-gradient(130deg,rgba(38,54,64,.91),rgba(13,24,31,.95)); backdrop-filter:blur(42px) saturate(140%); -webkit-backdrop-filter:blur(42px) saturate(140%); border-color:rgba(183,224,240,.2); border-radius:22px; box-shadow:inset 0 1px rgba(241,255,255,.1),0 30px 100px rgba(0,0,0,.5); }
.glass-workspace .mirror-modal::backdrop { background:rgba(1,8,13,.4); backdrop-filter:blur(5px); -webkit-backdrop-filter:blur(5px); }
.wallets-workspace .topbar { min-height:151px; }
.wallets-workspace .title { font-size:34px; line-height:1.2; }
.wallet-page-summary { display:grid; grid-template-columns:repeat(3,96px); align-items:stretch; margin:18px 0 0; }
.wallet-summary-stat { display:grid; align-content:start; gap:6px; padding:0 12px; text-align:center; }
.wallet-summary-stat + .wallet-summary-stat { border-left:1px solid rgba(167,198,217,.16); }
.wallet-summary-stat dt { color:#aab9c9; font-size:12px; font-weight:400; line-height:1.4; white-space:nowrap; }
.wallet-summary-stat dd { margin:0; color:#f0f5fa; font-size:28px; font-weight:600; line-height:1; letter-spacing:-.035em; font-variant-numeric:tabular-nums; }
.wallet-summary-stat.configured dd { color:#55edd4; }
.wallet-summary-stat.pending dd { color:#f3c965; }
.source-wallets { padding:19px 28px 30px; min-height:calc(100dvh - 151px); display:flex; flex-direction:column; }
.wallet-toolbar { display:flex; align-items:center; margin-bottom:14px; }
.wallet-icon { display:inline-block; width:18px; height:18px; flex-shrink:0; background:currentColor; mask-size:contain; mask-position:center; mask-repeat:no-repeat; -webkit-mask-size:contain; -webkit-mask-position:center; -webkit-mask-repeat:no-repeat; vertical-align:middle; }
.wallet-table-surface { container-type:inline-size; overflow-x:auto; border:1px solid rgba(153,196,219,.15); border-radius:17px; background:linear-gradient(110deg,rgba(63,89,105,.10),rgba(5,18,25,.17)); box-shadow:inset 0 1px rgba(211,243,251,.035); }
.wallet-source-table { width:100%; border-collapse:collapse; table-layout:fixed; min-width:1021px; font-size:12px; line-height:1.4; color:#e1eaf4; }
/* Identity and performance stay compact; extra desktop width belongs to the remaining tracks. */
.wallet-source-table .col-wallet { width:174px; }.wallet-source-table .col-score { width:64px; }.wallet-source-table .col-performance { width:182px; }
.wallet-source-table .col-activity { width:calc(max(0px, (100cqw - 1021px) / 7) + 70px); }.wallet-source-table .col-stability { width:calc(max(0px, (100cqw - 1021px) / 7) + 80px); }.wallet-source-table .col-risk { width:calc(max(0px, (100cqw - 1021px) / 7) + 68px); }
.wallet-source-table .col-direction { width:calc(max(0px, (100cqw - 1021px) / 7) + 100px); }.wallet-source-table .col-accounts { width:calc(max(0px, (100cqw - 1021px) / 7) + 104px); }.wallet-source-table .col-bind { width:calc(max(0px, (100cqw - 1021px) / 7) + 73px); }
.wallet-score-cell strong { color:#70e7d4; font-size:15px; font-weight:600; font-variant-numeric:tabular-nums; }
.wallet-score-cell small { display:block; margin-top:4px; color:#d2b96f; font-size:9px; white-space:nowrap; }
.wallet-source-table th { height:44px; padding:9px 6px; text-align:center; font-size:12px; font-weight:400; color:#bfccdb; background:rgba(140,171,198,.04); border-bottom:1px solid rgba(148,191,218,.09); white-space:nowrap; }
.wallet-source-table td { font-family:var(--sans); text-align:center; padding:10px 6px; height:72px; border-bottom:1px solid rgba(156,198,218,.085); vertical-align:middle; white-space:normal; background:transparent; }
.wallet-source-table tbody tr:last-child td { border-bottom:0; }
.wallet-source-table tbody tr:hover { background:rgba(113,162,183,.025); }
.wallet-detail-row { cursor:pointer; }
.wallet-detail-row:focus-visible { outline:2px solid #6de6d6; outline-offset:-2px; }
.wallet-source-table .wallet-rank,.wallet-source-table th:first-child { text-align:center; color:#b6c6da; }
.wallet-identity { display:flex; align-items:center; gap:9px; white-space:nowrap; }
.wallet-icon-action,.wallet-address-button { border:0; background:none; box-shadow:none; color:inherit; padding:0; font:inherit; cursor:pointer; display:inline-flex; align-items:center; flex-shrink:0; }
.wallet-icon-action { color:#acbdd3; width:21px; height:28px; justify-content:center; }
.wallet-icon-action .wallet-icon { width:18px; height:18px; }
.wallet-star .wallet-icon { width:22px; height:22px; }
.wallet-star.on { color:#ffd757; }
.wallet-star .spin { width:17px; height:17px; box-sizing:border-box; flex-shrink:0; border-color:rgba(172,189,211,.3); border-top-color:currentColor; }
.wallet-icon-action.copied,.wallet-copy-address.copied { color:#5ef3d8; }
.wallet-address-button { font-size:14px; color:#f0f5fb; font-variant-numeric:tabular-nums; }
.wallet-address-button:hover { color:#72f4e9; }
.wallet-copy-address { gap:6px; min-width:0; }
.wallet-copy-text { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.wallet-copy-address .wallet-icon { width:14px; height:14px; }
.wallet-row-note { display:block; color:#c4b179; font-size:10px; line-height:1.5; margin:5px 0 0; }
/* Each pair of rows shares compact tracks, centered under its header. */
.wallet-performance-values,.wallet-activity-values { display:grid; width:max-content; margin-inline:auto; gap:8px; font-variant-numeric:tabular-nums; text-align:left; }
.wallet-performance-values>div { display:grid; grid-template-columns:22px 80px 53px; align-items:baseline; gap:4px; white-space:nowrap; }
.wallet-performance-values small,.wallet-activity-values small,.wallet-stability-values small { color:#8fa7b7; font-size:10px; font-weight:400; }
.wallet-roi-measure { display:inline-flex; align-items:baseline; gap:3px; }
.wallet-roi-measure em { color:#8fa7b7; font-size:10px; font-style:normal; }
.wallet-performance-win { display:inline-flex; align-items:baseline; gap:3px; }
.wallet-activity-values>div { display:grid; grid-template-columns:22px auto; align-items:baseline; gap:4px; }
.wallet-stability-values { display:grid; gap:6px; font-variant-numeric:tabular-nums; }
.wallet-stability-values b { font-size:14px; font-weight:550; }
.wallet-stability-main { display:flex; align-items:baseline; justify-content:center; gap:6px; white-space:nowrap; }
.wallet-account-return { display:inline-flex; align-items:baseline; gap:4px; white-space:nowrap; font-variant-numeric:tabular-nums; }
.wallet-account-return small { color:#8fa7b7; font-size:10px; font-weight:400; }
.wallet-account-return strong { font-size:11px; font-weight:550; }
.wallet-stability-main .wallet-account-return small { font-size:9px; }
.wallet-performance-heading { display:flex; align-items:baseline; flex-wrap:wrap; gap:10px; }
.wallet-profit-factor { display:flex; justify-content:center; align-items:baseline; flex-wrap:wrap; gap:3px; }
.wallet-profit-factor>span,.wallet-profit-factor>strong { white-space:nowrap; }
.wallet-profit-factor>strong { color:#d6e3ee; font-size:10px; font-weight:550; }
.wallet-identity-sector { display:block; color:#8fa7b7; font-size:10px; margin-top:6px; }
.wallet-account-type, .wallet-capital-warning { color:var(--amber, #edc56b) !important; }
.wallet-capital-values { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px 16px; margin:8px 0; line-height:1.4; }
.wallet-capital-values>div { display:flex; align-items:baseline; gap:4px; min-width:0; }
.wallet-capital-values dt { color:#a1b5c6; font-size:10px; white-space:nowrap; }
.wallet-capital-values dd { margin:0; font-size:11px; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.wallet-capital-values>div:first-child { grid-column:1/-1; }
.wallet-capital-values>div:first-child dd { color:#d9ebe8; font-size:13px; font-weight:500; }
.wallet-capital-standard { grid-template-columns:max-content minmax(0,1fr) max-content minmax(0,1fr) max-content; column-gap:8px; overflow-x:auto; }
.wallet-capital-values>div:nth-child(2) { grid-column:1/-1; }
.wallet-capital-standard>div:nth-child(n+3) { justify-content:flex-start; min-height:22px; align-items:center; grid-row:3; }
.wallet-capital-standard>div:nth-child(3) { grid-column:1; }
.wallet-capital-standard>div:nth-child(4) { grid-column:3; }
.wallet-capital-standard>div:nth-child(5) { grid-column:5; }
.wallet-capital-standard::before,.wallet-capital-standard::after { content:""; grid-row:3; justify-self:center; align-self:center; height:12px; width:1px; background:rgba(166,198,217,.24); }
.wallet-capital-standard::before { grid-column:2; }.wallet-capital-standard::after { grid-column:4; }
.wallet-capital-warning { font-size:11px; line-height:1.6; margin:6px 0; }
.wallet-capital-section .wallet-data-caption { white-space:normal; overflow:visible; }
.positive { color:#55f6e8; }.negative { color:#ff9b9f; }.wallet-unknown { color:#9cabbe; }
.wallet-directions { display:grid; gap:13px; }
.wallet-direction-line { display:grid; grid-template-columns:28px minmax(0,1fr); align-items:start; gap:7px; font-size:12px; }
.wallet-direction-line>small { color:#b8c8dd; font-size:12px; padding-top:1px; }
.wallet-direction-numbers { display:flex; justify-content:space-between; gap:7px; align-items:center; font-variant-numeric:tabular-nums; white-space:nowrap; }
.wallet-direction-numbers b { font-weight:500; color:#58f5df; }.wallet-direction-numbers i { font-style:normal; color:#8194a7; }
.wallet-ratio-bar { margin-top:7px; height:4px; overflow:hidden; border-radius:10px; background:#e9868e; box-shadow:inset 0 1px rgba(255,255,255,.08); }
.wallet-ratio-bar>span { display:block; height:100%; background:#4ae7cd; border-radius:10px 0 0 10px; }
.wallet-account-chips { display:flex; flex-direction:column; align-items:flex-start; gap:9px; }
.wallet-account-chip { padding:5px 11px; background:rgba(157,181,207,.07); border:0; border-radius:20px; color:#c1d0e5; cursor:pointer; display:inline-flex; align-items:center; gap:9px; font:13px var(--sans); white-space:nowrap; }
.wallet-account-chip i { width:9px; height:9px; border-radius:50%; background:#b0bfe5; }
.wallet-account-chip.running { color:#63f5e8; background:rgba(99,207,215,.07); }.wallet-account-chip.running i { background:#50f0e2; }
.wallet-account-chip.draining { color:#e5c986; }.wallet-account-chip.draining i { background:#d8ba72; }
.wallet-account-chip:hover { background:rgba(167,222,237,.13); }
.wallet-no-binding { font-size:12px; color:#acbcd1; }
.wallet-source-table .wallet-accounts-cell { padding-left:6px; padding-right:6px; }
.wallet-binding-text { display:inline-flex; align-items:center; gap:7px; background:none !important; border:0 !important; box-shadow:none !important; padding:5px 0; font:550 15px var(--sans); cursor:pointer; white-space:nowrap; }
.wallet-binding-text.bound { color:#45edba; }.wallet-binding-text.unbound { color:#f7d658; }.wallet-binding-text .wallet-icon { width:18px; height:18px; }
.wallet-binding-text:not(:disabled) .wallet-binding-label { text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; }
.wallet-binding-text:disabled { opacity:.5; cursor:default; }
.wallet-page-footer { display:flex; justify-content:flex-end; margin-top:auto; padding-top:60px; color:#9cb1c4; font-size:12px; line-height:1.8; }
.wallet-page-footer>span { text-align:right; align-self:flex-end; white-space:nowrap; font-size:11px; }
.wallet-empty { padding:80px 20px; text-align:center; color:#a8bdcf; border:1px solid rgba(141,197,217,.1); border-radius:17px; background:rgba(88,128,149,.035); }
.wallet-empty>.wallet-icon { width:30px; height:30px; margin-bottom:14px; }.wallet-empty h3 { font-size:18px; font-weight:500; color:#d7e8f2; }.wallet-empty p { font-size:14px; line-height:1.8; }
.wallet-skeleton { border:1px solid rgba(155,200,220,.12); border-radius:17px; overflow:hidden; }
.wallet-skeleton>div { height:72px; border-bottom:1px solid rgba(156,198,218,.08); background:rgba(134,170,190,.03); animation:wallet-load 1.5s ease-in-out infinite alternate; }
@keyframes wallet-load { to { background:rgba(134,170,190,.07); } }
.wallet-inline-error { color:#ffabb1; display:flex; flex-wrap:wrap; align-items:center; gap:14px; font-size:13px; line-height:1.6; margin:0 0 18px; }
.wallet-inline-error button { background:none; border:0; color:#a8efe5; cursor:pointer; padding:0; font:inherit; text-decoration:underline; }
.wallet-pagination { display:flex; align-items:center; justify-content:flex-end; gap:18px; margin:20px 0; color:#a5b8ca; }
.wallet-pagination button { padding:5px 0; border:0; color:#c2e4e6; background:none; font:13px var(--sans); cursor:pointer; }
.wallet-pagination button:disabled { opacity:.4; cursor:default; }
.wallet-binding-dialog { width:660px; }.wallet-binding-dialog .mirror-modal-inner { padding:28px; }
.wallet-dialog-intro { color:#c6d6e3; font-size:15px; line-height:1.8; margin:0 0 20px; }
.wallet-binding-list { display:grid; max-height:min(440px,47dvh); overflow:auto; border-top:1px solid rgba(168,208,228,.1); }
.wallet-binding-option { padding:19px 0; border-bottom:1px solid rgba(168,208,228,.09); }
.wallet-binding-option label { display:flex; gap:15px; align-items:center; cursor:pointer; }
.wallet-binding-option label input { appearance:auto; accent-color:#4edaca; width:18px; height:18px; flex-shrink:0; margin:0; }
.wallet-binding-identity { display:grid; gap:7px; }.wallet-binding-identity strong { font-size:15px; font-weight:500; }.wallet-binding-identity strong span { margin-left:12px; }
.wallet-binding-identity small { color:#9cafbf; font-size:12px; }.wallet-binding-funds { margin-left:auto; text-align:right; display:grid; gap:7px; white-space:nowrap; font-variant-numeric:tabular-nums; }.wallet-binding-funds b { font-size:15px; font-weight:500; }.wallet-binding-funds small { font-size:12px; color:#9cafbf; }
.wallet-binding-option.unavailable label { opacity:.48; cursor:default; }.wallet-binding-option.selected .wallet-binding-identity strong { color:#c4faf0; }
.wallet-binding-option .wallet-text-action { margin-left:33px; margin-top:12px; font-size:12px; }
.wallet-dialog-note,.wallet-data-caption { color:#94aabd; font-size:12px; line-height:1.8; margin:18px 0 0; }
.wallet-feedback { display:flex; align-items:center; gap:9px; color:#bdcddf; font-size:13px; line-height:1.7; margin:18px 0 0; }.wallet-feedback.success { color:#76ead7; }.wallet-feedback.errors { display:block; color:#eeb27d; }.wallet-feedback p { margin:5px 0; }
.wallet-binding-dialog .mirror-modal-footer .btn,.wallet-action-dialog .mirror-modal-footer .btn { min-width:0; padding:11px 20px; border-radius:12px; font-size:13px; }
.wallet-detail-drawer { position:fixed; inset:0 0 0 auto; transform:none !important; margin:0; height:100dvh; max-height:100dvh; max-width:min(740px,100vw); width:740px; border:0; border-left:1px solid rgba(183,224,240,.2); border-radius:0 !important; }
.wallet-detail-drawer .mirror-modal-inner { padding:20px 22px; }
.wallet-detail-drawer .mirror-modal-head { align-items:center; gap:12px; margin-bottom:14px; }
.wallet-detail-drawer .mirror-modal-head>.mirror-icon-button { flex-shrink:0; margin:0 -4px 0 0; }
.wallet-drawer-heading { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:10px; align-items:center; min-width:0; flex:1; }
.wallet-drawer-rank { color:#b9ccdc; font-size:15px; font-weight:550; }
.wallet-drawer-heading .wallet-copy-address { font-size:11px; font-family:var(--mono); color:#d2e2ef; }
.wallet-drawer-score { display:flex; align-items:baseline; gap:5px; white-space:nowrap; }
.wallet-drawer-score small { color:#99b3c5; font-size:10px; }
.wallet-drawer-score strong { color:#63efdc; font-size:26px; line-height:1.15; font-weight:600; font-variant-numeric:tabular-nums; letter-spacing:-.035em; }
.wallet-detail-section { padding:14px 0; border-top:1px solid rgba(159,200,220,.12); }
.wallet-section-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:12px; }.wallet-section-heading h3 { font-size:14px; font-weight:500; margin:0; }.wallet-section-heading>span { color:#8da5b8; font-size:11px; }
.wallet-period-tabs { display:flex; gap:4px; padding:2px; border-radius:9px; background:rgba(176,210,229,.06); }.wallet-period-tabs button { border:0; background:none; padding:4px 10px; color:#b1c7d8; font:12px var(--sans); cursor:pointer; border-radius:7px; }.wallet-period-tabs .on { background:rgba(115,208,202,.13); color:#b4f9ed; }
.wallet-detail-metrics { display:flex; justify-content:space-between; gap:10px; margin-bottom:12px; padding-bottom:2px; overflow-x:auto; }.wallet-detail-metrics>div { display:flex; align-items:baseline; gap:5px; flex-shrink:0; white-space:nowrap; }.wallet-detail-metrics small { color:#a1b5c6; font-size:10px; }.wallet-detail-metrics strong { font-size:14px; line-height:1.5; font-weight:500; font-variant-numeric:tabular-nums; }
.wallet-detail-drawer .wallet-direction-line.without-period { grid-template-columns:minmax(0,1fr); gap:0; }
.wallet-direction-win { display:flex; gap:24px; margin-top:11px; color:#9fb3c5; font-size:11px; }.wallet-direction-win b { color:#e3eef4; font-weight:500; margin-left:7px; }
.wallet-sector-evidence { padding:0 0 8px; margin-bottom:8px; border-bottom:1px solid rgba(155,196,219,.06); }.wallet-sector-evidence:last-child { border:0; padding-bottom:0; margin-bottom:0; }.wallet-sector-toggle { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; min-height:28px; padding:0; border:0; background:none; color:inherit; text-align:left; cursor:pointer; font:12px var(--sans); }.wallet-sector-toggle:hover { background:rgba(176,210,229,.04); }.wallet-sector-toggle b { display:flex; align-items:center; gap:5px; font-weight:500; }.wallet-sector-chevron { width:6px; height:6px; margin:0 5px 0 2px; border-right:1px solid #8da5b8; border-bottom:1px solid #8da5b8; transform:rotate(-45deg); }.wallet-sector-toggle[aria-expanded="true"] .wallet-sector-chevron { transform:rotate(45deg); }.wallet-sector-toggle>span { white-space:nowrap; }.wallet-sector-evidence dl { display:grid; grid-template-columns:1fr auto; gap:8px; font-size:11px; margin:8px 0 0; }.wallet-sector-evidence dt { color:#9ab2c4; }.wallet-sector-evidence dd { margin:0; color:#cbdce9; font-variant-numeric:tabular-nums; }
.wallet-copy-records { margin-top:14px; }
.wallet-copy-scroll { overflow-x:auto; }
.wallet-copy-table { width:100%; min-width:650px; border-collapse:collapse; font-size:11px; font-variant-numeric:tabular-nums; }
.wallet-copy-table th { padding:6px 7px; font-size:10px; font-weight:400; color:#9ab2c4; white-space:nowrap; background:none; text-align:center; }
.wallet-copy-table td { padding:7px; height:36px; text-align:center; border-top:1px solid rgba(159,200,220,.08); white-space:nowrap; }
.wallet-copy-table th:first-child,.wallet-copy-table td:first-child { padding-left:0; text-align:left; }
.wallet-copy-table td:first-child b { display:block; font-weight:500; }
.wallet-copy-table small { display:block; margin-top:3px; color:#8da5b8; font-size:9px; }
.wallet-copy-pair { display:grid; gap:5px; width:max-content; margin-inline:auto; text-align:left; }
.wallet-copy-pair>span { display:flex; align-items:baseline; gap:5px; }
.wallet-copy-pair small { display:inline; margin:0; min-width:2em; }
.wallet-copy-records .wallet-pagination { margin-top:10px; font-size:11px; }
.wallet-copy-records .wallet-pagination button { padding:3px 7px; font-size:11px; }

.wallet-detail-drawer .wallet-account-chips { flex-direction:row; flex-wrap:wrap; gap:7px; }.wallet-detail-drawer .wallet-account-chip { font-size:12px; padding:4px 9px; gap:7px; }.wallet-detail-drawer .wallet-direction-line { font-size:12px; }.wallet-detail-drawer .wallet-ratio-bar { height:3px; }
.wallet-target-actions { display:flex; gap:18px; flex-wrap:wrap; margin:0 0 16px; }.wallet-text-action { display:inline-flex; align-items:center; gap:7px; color:#9ee9de; background:none; border:0; padding:0; cursor:pointer; font:12px var(--sans); }.wallet-text-action .wallet-icon { width:15px; height:15px; }.wallet-text-action.danger { color:#d8a7ab; }.wallet-text-action:hover { color:#e6fffc; }.wallet-text-action:disabled { opacity:.4; cursor:default; }
.wallet-detail-drawer .wallet-data-caption { font-size:11px; margin-top:10px; }
.wallet-opening-habit .wallet-section-heading>span { color:var(--muted); font-size:10px; }
.wallet-opening-habit .wallet-detail-metrics { margin-bottom:0; }
.wallet-opening-habit .wallet-data-caption { margin-top:5px; }
.wallet-exit-note { display:flex; gap:12px; align-items:center; margin-bottom:20px; color:#d8c08e; font-size:14px; }.wallet-exit-note small { display:block; font-size:12px; margin-top:5px; color:#aeb9c0; }
.wallet-control-scope { display:grid; gap:12px; border-top:1px solid rgba(149,195,218,.12); border-bottom:1px solid rgba(149,195,218,.12); padding:20px 0; margin-bottom:20px; }.wallet-control-scope small { color:#93a9bb; margin-bottom:4px; }.wallet-control-scope span { font-size:14px; display:flex; justify-content:space-between; gap:20px; }.wallet-control-scope em { font-style:normal; color:#87b7bb; font-size:12px; }
.source-wallets button:focus-visible,.source-wallets [tabindex]:focus-visible,.wallet-detail-drawer button:focus-visible,.wallet-binding-dialog button:focus-visible { outline:2px solid #6de6d6; outline-offset:5px; border-radius:4px; }
.wallet-loading { color:#9fb7c9; padding:35px 0; font-size:14px; }
/* Compact data groups stay centered under their column labels at every desktop width. */
.wallet-source-table .wallet-identity { justify-content:center; gap:6px; }
.wallet-source-table .wallet-address-button { font-size:12px; }
.wallet-source-table .wallet-icon-action { width:18px; height:24px; }
.wallet-source-table .wallet-icon-action .wallet-icon { width:14px; height:14px; }
.wallet-source-table .wallet-star .wallet-icon { width:17px; height:17px; }
.wallet-source-table .wallet-no-binding { font-size:11px; }
.wallet-source-table .wallet-directions { width:100%; max-width:112px; margin-inline:auto; gap:7px; text-align:left; }
.wallet-source-table .wallet-direction-line { grid-template-columns:23px minmax(0,1fr); gap:5px; font-size:11px; }
.wallet-source-table .wallet-direction-line>div { width:100%; min-width:0; }
.wallet-source-table .wallet-direction-line>small { font-size:10px; }
.wallet-source-table .wallet-direction-numbers { justify-content:space-between; gap:4px; font-size:10px; }
.wallet-source-table .wallet-ratio-bar { height:3px; margin-top:4px; }
.wallet-source-table .wallet-account-chips { align-items:center; gap:5px; }
.wallet-source-table .wallet-account-chip { font-size:11px; padding:3px 8px; gap:6px; }
.wallet-source-table .wallet-account-chip i { width:6px; height:6px; }
.wallet-source-table .wallet-binding-text { font-size:12px; font-weight:500; gap:4px; width:calc(3em + 18px); justify-content:flex-start; text-align:left; }
.wallet-source-table .wallet-binding-text .wallet-icon { width:14px; height:14px; }
@media(max-width:1250px) and (min-width:861px) { .glass-workspace { grid-template-columns:208px minmax(0,1fr); }.glass-workspace .mirror-running-count { display:none; }.glass-workspace .mirror-top-controls { gap:8px; }.glass-workspace .topbar { padding-left:22px; padding-right:22px; }.source-wallets { padding-left:22px; padding-right:22px; }.wallet-table-surface { container-type:inline-size; overflow-x:auto; }.wallet-source-table { min-width:1021px; }.wallets-workspace .title { font-size:28px; } }
@media(max-width:860px) {
  .glass-workspace { display:block; }.glass-workspace .side { display:none; }.glass-workspace .main { height:calc(100dvh - 68px); }.glass-workspace .mobile-nav { background:rgba(14,30,40,.91); backdrop-filter:blur(26px); border-color:rgba(150,212,225,.16); }.glass-workspace .mobile-nav-item.active { background:rgba(53,189,176,.13); color:#72f3df; }.glass-workspace .topbar { padding:22px 17px 15px; flex-wrap:wrap; gap:20px; }.glass-workspace .title,.wallets-workspace .title { font-size:27px; }.wallets-workspace .topbar { min-height:0; }.wallet-page-summary { margin-top:16px; }.wallet-summary-stat { padding-inline:12px; }.wallet-summary-stat dd { font-size:26px; }.glass-workspace .topbar-right { width:100%; }.glass-workspace .mirror-top-controls { justify-content:flex-start; flex-wrap:nowrap; gap:8px; width:100%; }.glass-workspace .mirror-mode-indicator { padding:7px 8px; font-size:10px; border-radius:11px; }.glass-workspace .mirror-top-controls .mirror-observer { font-size:10px; padding:7px 6px; gap:6px; border-radius:11px; }.glass-workspace .mirror-control-trigger { margin-left:auto; padding:0 11px; font-size:12px; height:34px; border-radius:12px; gap:6px; }.glass-workspace .mirror-control-trigger svg { width:15px; height:15px; }.glass-workspace .mirror-running-count { display:none; }
  .source-wallets { padding:10px 16px 25px; min-height:calc(100dvh - 264px); }.wallet-toolbar { margin-bottom:12px; }
  .wallet-table-surface { border-radius:15px; max-width:100%; overflow-x:auto; overscroll-behavior-x:contain; -webkit-overflow-scrolling:touch; }
  .wallet-source-table { min-width:1021px; }
  .wallet-page-footer { margin-top:20px; padding-top:20px; flex-direction:column; gap:12px; font-size:10px; }.wallet-page-footer>span { font-size:10px; align-self:flex-start; }
  .wallet-binding-dialog { width:calc(100vw - 24px); }.wallet-binding-dialog .mirror-modal-inner { padding:23px 18px; }.wallet-binding-list { max-height:48dvh; }.wallet-binding-identity strong { font-size:13px; }.wallet-binding-identity strong span { margin-left:7px; }.wallet-binding-identity small { font-size:11px; }.wallet-binding-funds b { font-size:13px; }.wallet-binding-funds small { font-size:10px; }.wallet-binding-option label { gap:10px; }.wallet-binding-option label input { width:17px; height:17px; }.wallet-dialog-intro { font-size:13px; }.wallet-dialog-note { font-size:11px; }
  .wallet-detail-drawer { width:100vw; max-width:100vw; }.wallet-detail-drawer .mirror-modal-inner { padding:18px 16px; }.wallet-drawer-heading { gap:8px; }.wallet-drawer-score strong { font-size:24px; }.wallet-detail-metrics { gap:8px; }.wallet-detail-metrics strong { font-size:13px; }.wallet-target-actions { gap:16px; }.wallet-detail-drawer .wallet-direction-numbers { font-size:11px; }
}
@media(prefers-reduced-motion:reduce) { .wallet-skeleton>div { animation:none; }.source-wallets * { transition:none !important; } }

/* Per-binding first-open settings: inline controls, independent from unbind locks. */
.wallet-binding-dialog { width:min(1080px,calc(100vw - 24px)); border-radius:9px; transform:none; background:rgba(20,39,46,.94); border-color:rgba(159,205,219,.2); }
.wallet-binding-dialog .mirror-modal-inner { padding:16px 20px; }
.wallet-binding-dialog .mirror-modal-head { margin-bottom:10px; gap:12px; }
.wallet-binding-dialog .mirror-modal-head h2 { font-size:19px; margin-bottom:4px; }
.wallet-binding-dialog .mirror-modal-head p { font-size:12px; }
.wallet-binding-dialog .wallet-dialog-intro { font-size:12px; line-height:1.5; margin:0 0 8px; }
.wallet-sizing-explanation { margin-left:8px; color:var(--muted); font-size:11px; cursor:help; }
.wallet-binding-scroll-hint { display:none; }
.wallet-binding-list { display:block; max-height:none; overflow:auto; }
.wallet-binding-rows { min-width:920px; }
.wallet-binding-option { position:relative; display:grid; grid-template-columns:220px minmax(530px,1fr) 130px; align-items:center; gap:12px; padding:7px 0; min-height:50px; }
.wallet-binding-option label { gap:6px; }
.wallet-binding-option .wallet-binding-select { gap:10px; min-width:0; }
.wallet-binding-option:has(.wallet-binding-account-link) .wallet-binding-select { align-self:start; }
.wallet-binding-select .wallet-binding-identity { min-width:0; gap:4px; }
.wallet-binding-identity strong { display:flex; align-items:center; white-space:nowrap; font-size:13px; }
.wallet-binding-identity strong span { margin-left:7px; overflow:hidden; text-overflow:ellipsis; }
.wallet-binding-identity small { font-size:10px; line-height:1.4; }
.wallet-binding-funds { gap:4px; }
.wallet-binding-funds b { font-size:12px; }
.wallet-binding-funds small { font-size:11px; }
.wallet-binding-sizing { min-width:0; }
.wallet-booster-line { display:grid; grid-template-columns:88px 190px 82px minmax(0,1fr); align-items:center; gap:10px; white-space:nowrap; }
.wallet-booster-recommendation { display:flex; align-items:center; gap:0; min-height:26px; font-size:11px; color:var(--accent); }
.wallet-booster-trigger,.wallet-booster-basis { display:flex; flex-shrink:0; align-items:center; gap:8px; min-height:26px; font-size:11px; }
.wallet-booster-basis { gap:6px; }
.wallet-booster-amount { color:#8fd9cf; font-size:11px; white-space:nowrap; }
.wallet-booster-amount.is-hidden { visibility:hidden; }
.wallet-binding-dialog .wallet-booster-example strong { color:var(--text); font-weight:500; }
.wallet-booster-basis .wallet-text-action { font-size:11px; margin:0 0 0 6px; }
.wallet-binding-option.selected { min-height:60px; box-sizing:border-box; }
.wallet-binding-option .wallet-aggressive-toggle { display:inline-flex; align-items:center; gap:6px; font-size:12px; min-height:20px; }
.wallet-aggressive-choices { display:grid; grid-template-columns:auto minmax(0,1fr); gap:20px; margin-top:4px; }
.wallet-aggressive-choice { display:flex; align-items:center; gap:8px; min-height:26px; }
.wallet-aggressive-choice label { display:inline-flex; align-items:center; gap:8px; font-size:12px; white-space:nowrap; }
.wallet-aggressive-choice input[type=radio],.wallet-aggressive-toggle input[type=checkbox] { width:14px; height:14px; margin:0; }
.wallet-aggressive-choices.disabled,.wallet-aggressive-choice.inactive label { color:var(--muted); }
.wallet-aggressive-choices.disabled input { opacity:.45; }
.wallet-binding-percent input:disabled { opacity:.45; }
.wallet-binding-percent { display:inline-flex; align-items:center; gap:5px; font-size:11px; }
.wallet-booster-line .wallet-binding-percent > span { display:inline-block; width:86px; }
.wallet-binding-percent input,.wallet-binding-option .wallet-binding-percent input[type=text],.wallet-binding-option .wallet-binding-percent input[type=number] { box-sizing:border-box; width:58px; height:24px; min-width:0; padding:3px 6px; border:1px solid rgba(159,205,219,.24); border-radius:5px; background:rgba(5,18,23,.5); color:var(--t1); font:12px var(--mono); }
.wallet-binding-percent input[aria-invalid=true] { border-color:#ea7979; }
.wallet-sizing-help { display:inline-flex; align-items:center; gap:5px; cursor:help; white-space:nowrap; }
.wallet-sizing-alert { display:inline-flex; align-items:center; justify-content:center; width:13px; height:13px; box-sizing:border-box; border:1px solid currentColor; border-radius:50%; font-size:10px; line-height:1; font-weight:600; }
.wallet-sizing-help:focus-visible { outline:1px solid var(--mint); outline-offset:3px; }
.wallet-multiplier-choice { gap:6px; white-space:nowrap; }
.wallet-multiplier-choice .wallet-binding-percent input { width:45px; }
.wallet-sizing-hint { color:var(--t2); font-size:11px; }
.wallet-binding-sizing small { display:block; font-size:10px; line-height:14px; margin:3px 0 0; text-align:center; }
.wallet-binding-sizing small:empty { display:none; }
.wallet-binding-option .wallet-binding-account-link { position:absolute; bottom:5px; left:28px; margin:0; font-size:10px; }
.wallet-binding-dialog .wallet-dialog-note { font-size:11px; line-height:1.5; margin:8px 0 0; }
.wallet-binding-dialog .mirror-modal-footer { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px; padding-top:10px; margin-top:10px; }
.wallet-binding-dialog .wallet-binding-status { display:block; box-sizing:border-box; max-height:40px; overflow:auto; align-content:center; color:var(--muted); font-size:11px; line-height:16px; overflow-wrap:anywhere; }
.wallet-binding-status .wallet-inline-error { display:block; font:inherit; margin:0; }
.wallet-binding-status p { margin:0; }
.wallet-binding-status button { margin-left:6px; }
.wallet-binding-saved { color:#76ead7; }
.wallet-binding-saved svg { width:14px; height:14px; vertical-align:-2px; margin-right:6px; }
.wallet-binding-dialog .wallet-binding-actions { width:auto; }
.wallet-binding-dialog .mirror-modal-footer .btn { min-height:32px; padding:6px 12px; border-radius:7px; font-size:12px; }
.wallet-binding-actions .btn { box-sizing:border-box; width:60px; }
.wallet-binding-actions .btn-accent { width:88px; }
.wallet-binding-dialog input:focus-visible { outline:2px solid #6de6d6; outline-offset:3px; }
@media(max-width:640px) {
 .wallet-binding-dialog .mirror-modal-inner { padding:14px 12px; }
 .wallet-binding-dialog .wallet-binding-list { max-height:none; }
 .wallet-binding-scroll-hint { display:block; color:var(--muted); font-size:10px; margin:0 0 6px; }
 .wallet-binding-dialog .mirror-modal-footer { grid-template-columns:minmax(0,1fr) auto; gap:8px; }
 .wallet-binding-dialog .wallet-binding-actions { justify-self:end; }
}

.wallet-source-table .col-follow-history { width:calc(max(0px, (100cqw - 1021px) / 7) + 106px); }
.wallet-follow-history { display:grid; gap:8px; width:max-content; margin-inline:auto; text-align:left; font-variant-numeric:tabular-nums; }
.wallet-follow-history>span { display:flex; align-items:baseline; gap:4px; white-space:nowrap; }
.wallet-follow-history small { color:#8fa7b7; font-size:10px; }
.wallet-follow-history b { font-size:12px; font-weight:550; }

.wallet-exit-badge{display:inline-flex;align-items:center;flex:none;color:#ee8790;background:rgba(238,135,144,.10);border-radius:4px;padding:2px 6px;font-size:11px;line-height:1.4;white-space:nowrap}
.wallet-exit-reason{display:inline-flex;align-items:center;justify-content:center;flex:none;width:14px;height:20px;color:#ee8790;font-size:15px;font-weight:700;line-height:1;cursor:help}
.wallet-exit-reason:focus-visible{outline:1px solid #ee8790;outline-offset:2px;border-radius:2px}
.wallet-exit-tooltip{position:fixed;z-index:200;max-width:min(320px,calc(100vw - 24px));padding:8px 10px;border:1px solid rgba(149,195,218,.2);border-radius:6px;background:#192a32;color:#deebef;font-size:12px;line-height:1.6;white-space:normal;box-shadow:0 8px 24px #0006;pointer-events:none}
.wallet-exit-evidence{padding:10px 12px;text-align:left;font-size:12px;border-bottom:1px solid var(--border)}.wallet-exit-evidence b{color:#ee8790}.wallet-exit-evidence p{margin:5px 0}.wallet-exit-evidence small{color:var(--muted);font-size:11px}
.wallet-exit-positions>td{padding:12px!important;text-align:left!important}
.wallet-exit-positions .pos-toolbar{padding:0 4px 10px}
.wallet-exit-positions .pos-account{background:rgba(15,31,38,.45)}

.wallet-exiting-table{min-width:1037px}.wallet-exiting-table .col-wallet{width:190px}
.wallet-exiting-table .col-activity{width:calc(max(0px,(100cqw - 1037px)/7) + 70px)}.wallet-exiting-table .col-stability{width:calc(max(0px,(100cqw - 1037px)/7) + 80px)}.wallet-exiting-table .col-risk{width:calc(max(0px,(100cqw - 1037px)/7) + 68px)}.wallet-exiting-table .col-direction{width:calc(max(0px,(100cqw - 1037px)/7) + 100px)}.wallet-exiting-table .col-accounts{width:calc(max(0px,(100cqw - 1037px)/7) + 104px)}.wallet-exiting-table .col-follow-history{width:calc(max(0px,(100cqw - 1037px)/7) + 106px)}.wallet-exiting-table .col-bind{width:calc(max(0px,(100cqw - 1037px)/7) + 73px)}

.wallet-binding-rows { min-width:1040px; }
.wallet-binding-option { grid-template-columns:200px minmax(680px,1fr) 130px; }
.wallet-booster-line { gap:10px; }
.wallet-booster-line .wallet-binding-percent > span { width:auto; }
.wallet-booster-line .wallet-booster-threshold > span:first-child { font-size:11px; }
.wallet-booster-line .wallet-booster-threshold input[type=number] { width:56px; }
.wallet-booster-style { display:inline; color:var(--t2); font-size:10px; white-space:nowrap; }
.wallet-booster-warning { display:inline; margin-left:6px; color:#d7b775; font-size:10px; white-space:nowrap; }
.wallet-binding-option.selected { min-height:60px; }
.wallet-booster-line > .wallet-text-action { margin:0; justify-self:start; align-self:center; font-size:11px; line-height:24px; }
.wallet-booster-line > .wallet-sizing-hint { line-height:24px; }
