:root{color:#17201b;background:#f3f4ef;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{margin:0}.page-shell{width:min(1180px,calc(100vw - 40px));margin:0 auto;padding:28px 0 48px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.brand-lockup{display:flex;align-items:center;gap:12px;min-width:0}.brand-mark{width:48px;height:48px;flex:0 0 48px;object-fit:contain}.topbar-actions{display:grid;min-width:0;justify-items:end;gap:10px}.eyebrow{margin:0 0 4px;color:#626c64;font-size:13px;font-weight:700;text-transform:uppercase}h1,h2,p{margin:0}h1{max-width:100%;font-size:clamp(28px,4vw,32px);line-height:1.15;white-space:nowrap}h2{margin-bottom:8px;font-size:18px}.status-pill{border:1px solid #1d6f54;border-radius:999px;padding:8px 12px;color:#0c5a42;font-size:14px;font-weight:700;white-space:nowrap}.status-pill.leader-pill{background:#17201b;border-color:#17201b;color:#fff}.status-group{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.section-switch{display:inline-grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;min-width:min(100%,420px);border:1px solid #cbd3cc;border-radius:8px;padding:3px;background:#fff}.section-tab{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;border:0;border-radius:6px;padding:0 12px;background:transparent;color:#4b554d;font:inherit;font-size:13px;font-weight:800;cursor:pointer;white-space:nowrap}.section-tab.active{background:#17201b;color:#fff}.section-tab:hover:not(.active){background:#eef1ed}.console-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;margin-bottom:24px;border:1px solid #cbd3cc;border-radius:10px;padding:4px;background:#fff}.console-nav-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:0;border-radius:7px;padding:0 12px;background:transparent;color:#4b554d;font:inherit;font-size:13px;font-weight:800;cursor:pointer;white-space:nowrap}.console-nav-button.active{background:#17201b;color:#fff}.console-nav-button:hover:not(.active){background:#eef1ed}.console-section{display:grid;gap:18px}.console-section-header{display:flex;align-items:end;justify-content:space-between;gap:28px;padding:4px 2px 0}.console-section-header h2{margin:0;font-size:clamp(22px,3vw,28px)}.console-section-header>p{max-width:620px;color:#626c64;font-size:14px;line-height:1.6;text-align:right}.surface-grid,.node-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.surface-card,.node-card,.empty-state-card{border:1px solid #d8ded7;border-radius:8px;background:#fff}.surface-card{display:flex;min-height:180px;flex-direction:column;justify-content:space-between;gap:22px;padding:20px}.surface-card-link{color:inherit;text-decoration:none;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.surface-card-link:hover{border-color:#7ca994;box-shadow:0 12px 30px #1d6f541a;transform:translateY(-2px)}.surface-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.surface-open-label{color:#1d6f54;font-size:12px;font-weight:800}.surface-card.active-surface,.node-card.active-node{border-color:#7ca994;box-shadow:inset 0 3px #1d6f54}.surface-card h2,.node-card h2,.empty-state-card h2,.console-alert h2{margin:6px 0 0}.surface-card p,.node-card>p,.empty-state-card p,.console-alert p{margin-top:10px;color:#626c64;font-size:13px;line-height:1.55}.surface-card>.status-badge,.surface-card-footer>.status-badge{align-self:flex-start}.surface-kicker,.node-card-header span{color:#626c64;font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.node-card{min-height:210px;overflow:hidden;padding:20px}.node-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.node-card .report-list{margin:18px -20px -20px;border-top:1px solid #edf0ea}.console-summary-grid{margin-top:0}.console-alert-list{display:grid;gap:12px}.console-alert,.empty-state-card{display:flex;align-items:flex-start;gap:14px;padding:18px 20px}.console-alert.warning{border:1px solid #d9b26f;border-radius:8px;background:#fff9ed;color:#6e4b13}.console-alert.critical{border:1px solid #cf5f46;border-radius:8px;background:#fff2ee;color:#8f2d1f}.console-alert.warning p,.console-alert.critical p{color:currentcolor;opacity:.84}.empty-state-card{border-color:#7ca994;background:#f2f8f5;color:#0c5a42}.alert{margin-bottom:16px;border:1px solid #cf5f46;border-radius:8px;padding:12px 14px;background:#fff2ee;color:#8f2d1f}.alert.compact{margin-bottom:0;padding:10px 12px;font-size:13px}.auth-shell{display:grid;min-height:100vh;place-items:center;padding:24px}.login-panel{width:min(100%,420px);border:1px solid #d8ded7;border-radius:8px;padding:28px;background:#fff;box-shadow:0 18px 48px #27342c1f}.loading-panel{min-height:214px}.login-mark{display:grid;width:48px;height:48px;margin-bottom:18px;place-items:center;border-radius:8px;background:#17201b;color:#fff}.login-brand-mark{display:block;width:56px;height:56px;margin-bottom:18px;object-fit:contain}.login-form{display:grid;gap:14px;margin-top:24px}.login-form label{display:grid;gap:7px}.login-form label>span{color:#4b554d;font-size:13px;font-weight:800}.input-shell{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:8px;min-height:46px;border:1px solid #cbd3cc;border-radius:8px;padding:0 12px;background:#fbfcfa;color:#626c64}.input-shell:focus-within{border-color:#1d6f54;box-shadow:0 0 0 3px #1d6f5424}.input-shell input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#17201b;font:inherit}.primary-button,.icon-button{border:0;font:inherit;cursor:pointer}.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;border-radius:8px;padding:0 16px;background:#17201b;color:#fff;font-weight:800}.primary-button:disabled{cursor:wait;opacity:.72}.icon-button{display:grid;width:36px;height:36px;place-items:center;border:1px solid #d8ded7;border-radius:8px;background:#fff;color:#17201b}.icon-button:hover,.primary-button:hover:not(:disabled){filter:brightness(.96)}.metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.metric-card{display:flex;gap:12px;min-height:124px;border:1px solid #d8ded7;border-radius:8px;padding:18px;background:#fff}.metric-card p{color:#626c64;font-size:14px}.metric-card strong{display:block;margin-top:8px;font-size:28px;line-height:1.1}.metric-card span{display:block;margin-top:8px;color:#626c64;font-size:13px}.metric-icon{display:grid;width:36px;height:36px;flex:0 0 36px;place-items:center;border-radius:8px;background:#e0ece7;color:#0c5a42}.dashboard-grid{display:grid;grid-template-columns:1.3fr .85fr;gap:14px;margin-top:18px}.panel{border:1px solid #d8ded7;border-radius:8px;background:#fff;overflow:hidden}.panel.wide{grid-row:span 2}.panel.full{grid-column:1 / -1}.wallet-forensics-panel{order:-30}.strategy-tests-panel{order:-20}.open-positions-panel{order:-10}.legacy-panel{display:none}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e4e8e1;padding:14px 16px}.panel-header h2{margin:0}.panel-title{align-items:center;display:flex;gap:8px;min-width:0}.panel-title svg{color:var(--accent-strong);flex:0 0 auto}.panel-header span{color:#626c64;font-size:13px;font-weight:700}.table-wrap{overflow-x:auto}.result-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;border-bottom:1px solid #e4e8e1;background:#e4e8e1}.result-summary.result-summary-wide{grid-template-columns:repeat(7,minmax(0,1fr))}.result-summary.result-summary-rotation{grid-template-columns:repeat(4,minmax(0,1fr))}.result-summary div{display:grid;gap:4px;min-height:74px;padding:14px 16px;background:#fbfcfa}.result-summary span{color:#626c64;font-size:12px;font-weight:800;text-transform:uppercase}.result-summary strong{font-size:22px;line-height:1.1}table{width:100%;border-collapse:collapse;table-layout:fixed}th,td{border-bottom:1px solid #edf0ea;padding:11px 12px;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}th{color:#626c64;font-size:12px;font-weight:800;text-transform:uppercase}td{font-size:13px}.strategy-table{min-width:1080px;table-layout:fixed}.strategy-table th:nth-child(1),.strategy-table td:nth-child(1){width:220px}.strategy-table th:nth-child(2),.strategy-table td:nth-child(2){width:128px}.strategy-table th:nth-child(3),.strategy-table td:nth-child(3),.strategy-table th:nth-child(4),.strategy-table td:nth-child(4){width:104px}.strategy-table th:nth-child(5),.strategy-table td:nth-child(5){width:112px}.strategy-table th:nth-child(6),.strategy-table td:nth-child(6){width:76px}.strategy-table th:nth-child(7),.strategy-table td:nth-child(7){width:88px}.strategy-table th:nth-child(8),.strategy-table td:nth-child(8),.strategy-table th:nth-child(9),.strategy-table td:nth-child(9){width:112px}.polymarket-strategy-table{min-width:1240px}.polymarket-strategy-table th:nth-child(1),.polymarket-strategy-table td:nth-child(1){width:220px}.polymarket-strategy-table th:nth-child(2),.polymarket-strategy-table td:nth-child(2){width:90px}.polymarket-strategy-table th:nth-child(3),.polymarket-strategy-table td:nth-child(3){width:105px}.polymarket-strategy-table th:nth-child(4),.polymarket-strategy-table td:nth-child(4){width:118px}.polymarket-strategy-table th:nth-child(n+5),.polymarket-strategy-table td:nth-child(n+5){width:96px}.research-row{background:#fafbf8}.research-row td{border-top:2px solid #dce5dc}.research-row+.research-row td{border-top:1px solid #edf0ea}.strategy-name-cell strong,.strategy-name-cell span{display:block}.strategy-name-cell span{margin-top:4px;color:#626c64;font-size:11px}.stage-label{color:#315d48;font-size:12px;font-weight:800}.rejection-table{min-width:860px}.rejection-table th:nth-child(1),.rejection-table td:nth-child(1){width:220px}.rejection-table th:nth-child(2),.rejection-table td:nth-child(2),.rejection-table th:nth-child(3),.rejection-table td:nth-child(3),.rejection-table th:nth-child(5),.rejection-table td:nth-child(5){width:112px}.rejection-table th:nth-child(4),.rejection-table td:nth-child(4){width:300px}.arb-table{min-width:980px}.wallet-forensics-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.wallet-forensics-table{min-width:1280px}.wallet-forensics-table th:nth-child(1),.wallet-forensics-table td:nth-child(1){width:150px}.wallet-forensics-table th:nth-child(2),.wallet-forensics-table td:nth-child(2),.wallet-forensics-table th:nth-child(4),.wallet-forensics-table td:nth-child(4),.wallet-forensics-table th:nth-child(6),.wallet-forensics-table td:nth-child(6),.wallet-forensics-table th:nth-child(7),.wallet-forensics-table td:nth-child(7),.wallet-forensics-table th:nth-child(8),.wallet-forensics-table td:nth-child(8){width:104px}.wallet-forensics-table th:nth-child(3),.wallet-forensics-table td:nth-child(3){width:130px}.wallet-forensics-table th:nth-child(5),.wallet-forensics-table td:nth-child(5),.wallet-forensics-table th:nth-child(9),.wallet-forensics-table td:nth-child(9),.wallet-forensics-table th:nth-child(10),.wallet-forensics-table td:nth-child(10),.wallet-forensics-table th:nth-child(11),.wallet-forensics-table td:nth-child(11){width:126px}.arb-table th:nth-child(1),.arb-table td:nth-child(1),.arb-table th:nth-child(2),.arb-table td:nth-child(2),.arb-table th:nth-child(3),.arb-table td:nth-child(3),.arb-table th:nth-child(4),.arb-table td:nth-child(4),.arb-table th:nth-child(5),.arb-table td:nth-child(5){width:96px}.arb-table th:nth-child(6),.arb-table td:nth-child(6){width:220px}.arb-table th:nth-child(7),.arb-table td:nth-child(7){width:280px}.resolution-table{min-width:980px}.resolution-table th:nth-child(1),.resolution-table td:nth-child(1),.resolution-table th:nth-child(2),.resolution-table td:nth-child(2),.resolution-table th:nth-child(4),.resolution-table td:nth-child(4),.resolution-table th:nth-child(5),.resolution-table td:nth-child(5),.resolution-table th:nth-child(6),.resolution-table td:nth-child(6),.resolution-table th:nth-child(7),.resolution-table td:nth-child(7){width:104px}.resolution-table th:nth-child(3),.resolution-table td:nth-child(3){width:220px}.resolution-table th:nth-child(8),.resolution-table td:nth-child(8){width:190px}.bookmaker-table{min-width:1120px}.bookmaker-table th,.bookmaker-table td{width:110px}.bookmaker-table th:nth-child(2),.bookmaker-table td:nth-child(2){width:220px}.panel-note{margin:0 24px 16px;color:var(--muted);font-size:13px;line-height:1.5}.signals-table{min-width:900px}.signals-table th:nth-child(1),.signals-table td:nth-child(1){width:104px}.signals-table th:nth-child(2),.signals-table td:nth-child(2){width:70px}.signals-table th:nth-child(4),.signals-table td:nth-child(4),.signals-table th:nth-child(5),.signals-table td:nth-child(5),.signals-table th:nth-child(6),.signals-table td:nth-child(6),.signals-table th:nth-child(7),.signals-table td:nth-child(7){width:78px}.closed-table{min-width:930px}.closed-table th:nth-child(1),.closed-table td:nth-child(1),.closed-table th:nth-child(2),.closed-table td:nth-child(2){width:88px}.closed-table th:nth-child(3),.closed-table td:nth-child(3),.closed-table th:nth-child(4),.closed-table td:nth-child(4){width:78px}.closed-table th:nth-child(5),.closed-table td:nth-child(5){width:120px}.closed-table th:nth-child(6),.closed-table td:nth-child(6){width:220px}.closed-table th:nth-child(7),.closed-table td:nth-child(7){width:320px}.analytics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-section+.analytics-section{border-left:1px solid #e4e8e1}.analytics-title{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e4e8e1;padding:13px 16px}.analytics-title h3{margin:0;font-size:15px}.analytics-title span{color:#626c64;font-size:12px;font-weight:800;text-transform:uppercase}.analytics-table th:nth-child(1),.analytics-table td:nth-child(1){width:auto}.analytics-table th:nth-child(2),.analytics-table td:nth-child(2){width:76px}.analytics-table th:nth-child(3),.analytics-table td:nth-child(3){width:96px}.analytics-table th:nth-child(4),.analytics-table td:nth-child(4){width:110px}.rotation-table{min-width:1180px}.rotation-table th:nth-child(1),.rotation-table td:nth-child(1){width:140px}.rotation-table th:nth-child(2),.rotation-table td:nth-child(2),.rotation-table th:nth-child(3),.rotation-table td:nth-child(3){width:104px}.rotation-table th:nth-child(4),.rotation-table td:nth-child(4),.rotation-table th:nth-child(6),.rotation-table td:nth-child(6),.rotation-table th:nth-child(7),.rotation-table td:nth-child(7),.rotation-table th:nth-child(8),.rotation-table td:nth-child(8),.rotation-table th:nth-child(9),.rotation-table td:nth-child(9){width:82px}.rotation-table th:nth-child(5),.rotation-table td:nth-child(5){width:106px}.rotation-table th:nth-child(10),.rotation-table td:nth-child(10){width:128px}.rotation-table th:nth-child(11),.rotation-table td:nth-child(11){width:220px}.external-table{min-width:900px}.external-table th:nth-child(1),.external-table td:nth-child(1){width:100px}.external-table th:nth-child(2),.external-table td:nth-child(2),.external-table th:nth-child(3),.external-table td:nth-child(3),.external-table th:nth-child(4),.external-table td:nth-child(4),.external-table th:nth-child(6),.external-table td:nth-child(6),.external-table th:nth-child(7),.external-table td:nth-child(7),.external-table th:nth-child(8),.external-table td:nth-child(8){width:110px}.external-table th:nth-child(5),.external-table td:nth-child(5){width:150px}.news-table{min-width:980px}.news-table th:nth-child(1),.news-table td:nth-child(1){width:96px}.news-table th:nth-child(2),.news-table td:nth-child(2){width:118px}.news-table th:nth-child(3),.news-table td:nth-child(3){width:82px}.news-table th:nth-child(4),.news-table td:nth-child(4){width:170px}.news-table a{color:#17201b;font-weight:700;text-decoration:none}.news-table a:hover{text-decoration:underline}.crypto-wallet-table{min-width:1120px}.crypto-wallet-table th:nth-child(1),.crypto-wallet-table td:nth-child(1){width:260px}.crypto-wallet-table th:nth-child(2),.crypto-wallet-table td:nth-child(2),.crypto-wallet-table th:nth-child(3),.crypto-wallet-table td:nth-child(3),.crypto-wallet-table th:nth-child(4),.crypto-wallet-table td:nth-child(4){width:112px}.crypto-wallet-table th:nth-child(5),.crypto-wallet-table td:nth-child(5),.crypto-wallet-table th:nth-child(6),.crypto-wallet-table td:nth-child(6),.crypto-wallet-table th:nth-child(7),.crypto-wallet-table td:nth-child(7),.crypto-wallet-table th:nth-child(9),.crypto-wallet-table td:nth-child(9){width:96px}.crypto-wallet-table th:nth-child(8),.crypto-wallet-table td:nth-child(8){width:132px}.crypto-wallet-table th:nth-child(10),.crypto-wallet-table td:nth-child(10){width:150px}.crypto-wallet-table td:first-child strong,.crypto-wallet-table td:first-child span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crypto-wallet-table td:first-child span{margin-top:3px;color:#626c64;font-size:12px}.freqtrade-table{min-width:1060px}.freqtrade-table th:nth-child(1),.freqtrade-table td:nth-child(1),.freqtrade-table th:nth-child(2),.freqtrade-table td:nth-child(2){width:104px}.freqtrade-table th:nth-child(3),.freqtrade-table td:nth-child(3),.freqtrade-table th:nth-child(4),.freqtrade-table td:nth-child(4),.freqtrade-table th:nth-child(5),.freqtrade-table td:nth-child(5),.freqtrade-table th:nth-child(6),.freqtrade-table td:nth-child(6),.freqtrade-table th:nth-child(7),.freqtrade-table td:nth-child(7),.freqtrade-table th:nth-child(8),.freqtrade-table td:nth-child(8){width:96px}.freqtrade-table th:nth-child(9),.freqtrade-table td:nth-child(9),.freqtrade-table th:nth-child(10),.freqtrade-table td:nth-child(10){width:160px}.pnl-positive{color:#0c5a42}.pnl-negative{color:#8f2d1f}.status-badge{display:inline-flex;align-items:center;min-width:74px;justify-content:center;border-radius:999px;padding:4px 8px;background:#eef1ed;color:#4b554d;font-size:12px;font-weight:800}.status-badge.accepted,.status-badge.open,.status-badge.core,.status-badge.keep_core,.status-badge.promote_candidate,.status-badge.candidate,.status-badge.ok{background:#e1f1ea;color:#0c5a42}.status-badge.rejected,.status-badge.closed,.status-badge.review_demote{background:#f4e4df;color:#8f2d1f}.status-badge.watch_candidate,.status-badge.insufficient_data,.status-badge.transport_only,.status-badge.below_threshold{background:#eef1ed;color:#4b554d}.status-badge.leader{background:#17211b;color:#fff}.status-badge.disabled,.status-badge.disable,.status-badge.needs_depth_sim,.status-badge.disable_candidate,.status-badge.db_missing,.status-badge.error{background:#f4e4df;color:#8f2d1f}.status-badge.positive,.status-badge.constructive{background:#e1f1ea;color:#0c5a42}.status-badge.negative,.status-badge.risk_off,.status-badge.wallet_risk{background:#f4e4df;color:#8f2d1f}.status-badge.neutral,.status-badge.watch_depth,.status-badge.watch,.status-badge.waiting,.status-badge.no_trades_yet,.status-badge.starting,.status-badge.tracking{background:#eef1ed;color:#4b554d}.status-badge.stale,.status-badge.unavailable{background:#f4e4df;color:#8f2d1f}.position-list{display:grid}.position-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;border-bottom:1px solid #edf0ea;padding:13px 16px}.position-row:last-child{border-bottom:0}.position-row strong,.position-row span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.position-row strong{font-size:14px}.position-row span,.position-row small{color:#626c64;font-size:12px}.position-numbers{display:grid;justify-items:end;gap:5px;min-width:108px}.position-numbers b{font-size:14px}.report-list{display:grid;margin:0}.report-list div{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid #edf0ea;padding:13px 16px}.report-list div:last-child{border-bottom:0}.report-list dt{color:#626c64;font-size:13px}.report-list dd{margin:0;font-size:13px;font-weight:800}.report-list.report-list-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.report-list.report-list-grid div{min-width:0}.report-list.report-list-grid dd{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.empty-cell{padding:18px 16px;color:#626c64;font-size:13px;text-align:center}@media (max-width: 1040px){.topbar{align-items:flex-start;flex-direction:column}.status-group{justify-content:flex-start}.topbar-actions{justify-items:stretch;width:100%}.section-switch{width:min(100%,420px);min-width:0}.console-nav{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width: 920px){.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid,.surface-grid,.node-grid{grid-template-columns:1fr}.console-section-header{align-items:flex-start;flex-direction:column;gap:8px}.console-section-header>p{text-align:left}}@media (max-width: 640px){.page-shell{width:min(100vw - 24px,1180px);padding-top:18px}.section-switch{width:100%}.section-tab{gap:6px;padding:0 8px;font-size:12px}.console-nav{grid-template-columns:1fr 1fr}.console-nav-button{justify-content:flex-start;padding:0 10px;font-size:12px}.console-nav-button:first-child{grid-column:1 / -1}h1{font-size:clamp(20px,7.5vw,26px)}.metrics-grid,.dashboard-grid,.result-summary,.result-summary.result-summary-wide,.result-summary.result-summary-rotation,.wallet-forensics-summary,.report-list.report-list-grid,.analytics-grid{grid-template-columns:1fr}.analytics-section+.analytics-section{border-top:1px solid #e4e8e1;border-left:0}.auth-shell{align-items:start;padding:18px 12px}.login-panel{padding:22px}}
