:root{color:#e7e2d8;font-synthesis:none;text-rendering:optimizelegibility;background:#0c0d0b;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}html,body,#root{height:100%;overflow:hidden}*{box-sizing:border-box}body{background:#0c0d0b;min-width:0;min-height:0;margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}h1,h2,p{margin:0}small{font-size:12px}.terminal{color:#e7e2d8;background:#0c0d0b;min-height:100vh;padding:14px}.terminal-head,.head-strip,.nav,.panel-head,.switch-row,.button-row,.command-grid,.packet-strip,.policy-strip{display:flex}.terminal-head{background:#151811;border:1px solid #2f352b;border-radius:8px;justify-content:space-between;align-items:center;gap:16px;padding:12px 14px}.terminal-head h1{letter-spacing:0;font-size:24px;line-height:1.05}.terminal-head span,small,em{color:#a5a99e}.build-stamp{margin-left:10px}.terminal-head .build-stamp-unknown{color:#ef5f5f}.head-strip{flex-wrap:wrap;align-items:center;gap:8px}.pill{color:#ddd8cd;white-space:nowrap;background:#10130e;border:1px solid #383d33;border-radius:6px;align-items:center;gap:7px;min-height:28px;padding:5px 9px;font-size:12px;display:inline-flex}.dot{background:#8e9188;border-radius:50%;flex:none;width:8px;height:8px}.dot-green{background:#3bd174}.dot-yellow{background:#e2b84c}.dot-red{background:#ef5f5f}.dot-locked{background:#979b94}.nav{gap:6px;margin:10px 0}.nav button,.seg,.primary,.header-action,.button-row button,.path-status button,.command-grid button,.manual-maker-actions button,.manual-grid-buttons button,.route-reality-actions button{color:#e7e2d8;background:#141710;border:1px solid #383d33;border-radius:6px}.nav button{text-align:left;min-width:124px;min-height:36px;padding:8px 12px}.header-action{min-height:32px;padding:6px 10px}.nav .advanced-toggle{text-align:center;min-width:118px;margin-left:0}.sidebar-brand{align-content:center;min-width:136px;margin-right:6px;line-height:1.15;display:grid}.sidebar-brand strong,.sidebar-brand span{display:block}.sidebar-status{gap:2px;min-width:230px;max-width:360px;margin-left:auto;line-height:1.2;display:grid}.sidebar-status strong,.sidebar-status span{overflow-wrap:anywhere}.nav button.active,.nav button:hover,.seg.active,.primary:hover,.header-action:hover,.button-row button:hover,.path-status button:hover,.command-grid button:hover,.manual-maker-actions button:hover,.manual-grid-buttons button:hover,.route-reality-actions button:hover{background:#1d2518;border-color:#56c271}.button-row button:disabled,.command-grid button:disabled,.manual-grid-buttons button:disabled,.route-reality-actions button:disabled{color:#7b7f75;background:#171a15;border-color:#2d3129}.notice{color:#ead59b;background:#1d1910;border:1px solid #53482d;border-radius:6px;margin-bottom:10px;padding:9px 12px}.screen{gap:10px;display:grid}.dashboard{grid-template-columns:1fr}.operator-brief{grid-template-columns:minmax(260px,.85fr) minmax(300px,1fr) minmax(300px,1fr);gap:10px;display:grid}.brief-cell{background:#10151a;border:1px solid #33404b;border-radius:8px;grid-template-columns:10px minmax(0,1fr);align-items:start;gap:10px;min-height:104px;padding:14px;display:grid}.brief-cell.primary-brief{background:#121810;border-color:#46533a}.brief-cell small,.brief-cell strong,.brief-cell em{min-width:0;display:block}.brief-cell strong{color:#f3f0e8;word-break:break-word;margin:6px 0;font-size:20px;line-height:1.1}.brief-cell em{word-break:break-word;font-size:14px;font-style:normal;line-height:1.35}.market-board{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.project-workspace-bar{grid-template-columns:minmax(0,1.2fr) minmax(240px,.5fr) minmax(280px,.7fr);gap:10px;display:grid}.project-workspace-bar>div{background:#10130e;border:1px solid #2f352b;border-radius:8px;min-width:0;padding:12px}.project-workspace-bar small,.project-workspace-bar strong,.project-workspace-bar em{word-break:break-word;min-width:0;display:block}.project-workspace-bar strong{color:#f3f0e8;margin:5px 0;font-size:16px;line-height:1.2}.project-workspace-bar em{color:#c9c2b5;font-size:12px;font-style:normal;line-height:1.35}.metric,.panel,.proof,.path-status,.log{background:#12140f;border:1px solid #2f352b;border-radius:8px}.metric{grid-template-columns:10px minmax(0,1fr);gap:9px;min-height:92px;padding:12px;display:grid}.metric div,.proof,.path-status div{min-width:0}.metric small,.metric strong,.metric em,.proof strong,.proof span,.proof small,.proof em,.path-status strong,.path-status small,.path-status em{display:block}.metric strong{color:#f3f0e8;word-break:break-word;margin:5px 0;font-size:20px;line-height:1.1}.metric em,.proof em,.path-status em{word-break:break-word;font-size:12px;font-style:normal;line-height:1.35}.trade-layout,.setup-grid{grid-template-columns:minmax(0,1.45fr) minmax(0,.55fr);gap:10px;display:grid}.flow-panel{min-height:120px}.maker-first-checklist{background:#13130e;border-color:#53482d}.maker-first-product-workspace{border-color:#415136}.manual-grid-session{background:#10151c;border-color:#405071}.manual-grid-layout{grid-template-columns:minmax(190px,.48fr) minmax(430px,1.22fr) minmax(320px,.8fr);gap:10px;display:grid}.manual-grid-routes,.manual-grid-editor,.manual-grid-form,.manual-grid-legs,.manual-grid-status{gap:9px;min-width:0;display:grid}.manual-grid-routes,.manual-grid-editor,.manual-grid-legs,.manual-grid-status{align-content:start}.manual-grid-routes h3,.manual-grid-editor h3,.manual-grid-legs h3,.manual-grid-status h3{color:#f3f0e8;margin:0;font-size:16px;line-height:1.2}.manual-grid-route{text-align:left;gap:3px;width:100%;padding:9px;display:grid}.manual-grid-route strong,.manual-grid-route span,.manual-grid-route em{overflow-wrap:anywhere}.manual-grid-route strong{color:#f3f0e8;font-size:14px}.manual-grid-route span,.manual-grid-route em{color:#a5a99e;font-size:12px;font-style:normal}.manual-grid-route.active{background:#172017;border-color:#56c271}.manual-grid-settings-surface{gap:10px;display:grid}.manual-grid-settings-surface .manual-grid-route{background:#10140f;border:1px solid #29332e;border-radius:6px}.setting-field{background:#0b0f0b;border:1px solid #29332e;border-radius:6px;padding:8px}.setting-field.route-override{background:#171309;border-color:#d0a64a}.setting-default,.setting-scope,.setting-override{font-size:12px;line-height:1.25}.setting-default{color:#d6d0c1}.setting-scope{color:#7f8878}.setting-override{color:#f6cf75;font-weight:600}.manual-grid-legs{grid-template-columns:repeat(2,minmax(0,1fr))}.manual-grid-leg-card{background:#111820;border:1px solid #2d3650;border-radius:6px;gap:8px;min-width:0;padding:10px;display:grid}.manual-grid-leg-card h3{gap:2px;display:grid}.manual-grid-leg-card h3 span{color:#a5a99e;font-size:12px;font-weight:500}.manual-grid-leg-card.buy{border-color:#503638}.manual-grid-leg-card.sell{border-color:#2f4b37}.manual-grid-buttons{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;display:grid}.manual-grid-buttons.compact{grid-template-columns:1fr}.manual-grid-buttons button{min-height:34px;padding:7px 10px}.manual-grid-status>em{color:#a5a99e;font-size:12px;font-style:normal;line-height:1.35}.license-activation{background:#0b0f0b;border:1px solid #29332e;border-radius:6px;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;min-width:0;padding:8px;display:grid}.license-activation button{color:#e7e2d8;background:#141710;border:1px solid #383d33;border-radius:6px;min-height:36px;padding:7px 10px}.license-activation>em{color:#a5a99e;overflow-wrap:anywhere;grid-column:1/-1;font-size:12px;font-style:normal;line-height:1.35}.validation-error{color:#ff9a9a;font-size:12px;font-style:normal;line-height:1.2}.manual-maker-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;display:grid}.manual-maker-grid .field{min-width:0}.manual-maker-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px;display:grid}.manual-maker-actions{grid-template-columns:minmax(0,1fr) minmax(340px,.8fr);gap:10px;margin-top:10px;display:grid}.manual-maker-actions>div{background:#10130e;border:1px solid #252b21;border-radius:6px;min-width:0;padding:10px}.manual-maker-actions h3{color:#f3f0e8;margin:0 0 8px;font-size:16px;line-height:1.2}.manual-maker-actions button{text-align:left;width:100%;min-height:34px;margin-top:6px}.manual-maker-actions button:disabled{color:#8f9489;background:#171913;border-color:#34372f}.manual-result-card{border:1px solid #252b21;border-radius:6px;min-width:0;padding:9px}.manual-result-card+.manual-result-card{margin-top:8px}.manual-result-card small,.manual-result-card strong,.manual-result-card em{word-break:break-word;min-width:0;display:block}.manual-result-card strong{color:#f3f0e8;margin:5px 0;font-size:14px;line-height:1.25}.manual-result-card em{color:#c9c2b5;font-size:12px;font-style:normal;line-height:1.35}.operator-cockpit{grid-template-columns:minmax(0,1.4fr) minmax(260px,.6fr);gap:10px;display:grid}.operator-cockpit-main,.operator-cockpit-action{background:#17150f;border:1px solid #3c3320;border-radius:6px;padding:12px}.operator-cockpit-main{grid-template-columns:10px minmax(0,1fr);gap:7px 10px;display:grid}.operator-cockpit-main small,.operator-cockpit-main strong,.operator-cockpit-main em,.operator-cockpit-main p{grid-column:2}.operator-cockpit-main small,.operator-cockpit-action small,.operator-runbook-cell small{color:#a5a99e;font-size:12px}.operator-cockpit-main strong,.operator-cockpit-action strong,.operator-runbook-cell strong{color:#f3f0e8;font-size:20px;line-height:1.15;display:block}.operator-cockpit-main em,.operator-cockpit-action em,.operator-runbook-cell em{color:#c9c2b5;font-size:12px;font-style:normal;line-height:1.35;display:block}.operator-cockpit-main p{color:#e7d392;margin:2px 0 0;font-size:14px;line-height:1.35}.operator-cockpit-action{flex-direction:column;justify-content:center;gap:6px;display:flex}.operator-stage-rail{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-top:10px;display:grid}.operator-stage{border:1px solid #252b21;border-radius:6px;grid-template-columns:10px minmax(0,1fr);gap:4px 7px;min-height:62px;padding:9px;display:grid}.operator-stage strong,.operator-stage em{word-break:break-word;grid-column:2;min-width:0;display:block}.operator-stage strong{color:#f3f0e8;font-size:12px}.operator-stage em{color:#c9c2b5;font-size:12px;font-style:normal}.operator-runbook-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px;display:grid}.operator-runbook-cell{background:#10130e;border:1px solid #252b21;border-radius:6px;padding:10px}.route-reality-actions{grid-template-columns:max-content minmax(0,1fr);align-items:center;gap:10px;margin-top:10px;display:grid}.route-reality-actions em{color:#c9c2b5;word-break:break-word;min-width:0;font-size:12px;font-style:normal;line-height:1.35}.route-reality-actions button{white-space:nowrap;min-height:32px;padding:6px 10px}.route-reality-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px;display:grid}.route-reality-card{background:#10130e;border:1px solid #252b21;border-radius:6px;grid-template-columns:10px minmax(0,1fr);gap:4px 7px;min-height:120px;padding:10px;display:grid}.route-reality-card strong,.route-reality-card em,.route-reality-card small,.route-reality-card b{word-break:break-word;grid-column:2;min-width:0}.route-reality-card strong{color:#f3f0e8;font-size:14px;line-height:1.2}.route-reality-card em,.route-reality-card small,.route-reality-card b{color:#c9c2b5;font-size:12px;font-style:normal;line-height:1.35}.route-reality-card b{color:#e7d392;font-weight:600}.operator-checklist-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.flow-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;display:grid}.flow-grid.compact{grid-template-columns:repeat(4,minmax(0,1fr))}.flow-step{background:#0e100c;border:1px solid #252b21;border-radius:6px;grid-template-columns:10px minmax(0,1fr);gap:5px 8px;min-height:82px;padding:10px;display:grid}.flow-step strong,.flow-step em,.flow-step small,.flow-step b{word-break:break-word;min-width:0;display:block}.flow-step strong{color:#f3f0e8;font-size:14px}.flow-step em,.flow-step small,.flow-step b{grid-column:2;font-style:normal;line-height:1.35}.flow-step b{color:#e7d392;font-size:12px;font-weight:600}.setup-flow,.exchange-keys-panel{grid-column:1/-1}.exchange-auth-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.exchange-auth-card{background:#10130e;border:1px solid #2f352b;border-radius:8px;min-width:0;padding:12px}.exchange-auth-card h3{color:#f3f0e8;text-transform:capitalize;margin:0;font-size:16px;line-height:1.2}.compact-head{align-items:flex-start;margin-bottom:8px}.compact-copy{margin:8px 0}.exchange-auth-form{align-items:start}.secret-textarea{-webkit-text-security:disc}.save-reason{color:#a5a99e;font-size:12px;font-style:normal;line-height:1.35}.setup-flow .flow-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.panel{min-width:0;padding:14px}.panel-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.setup-copy{background:#10130e;border:1px solid #2f352b;border-radius:6px;gap:6px;margin:10px 0 12px;padding:10px 12px;display:grid}.setup-copy strong,.setup-copy span{display:block}.setup-copy span{color:#a5a99e;font-size:14px;line-height:1.35}.panel h2{color:#f3f0e8;letter-spacing:0;font-size:16px}.main-panel,.side-panel{min-height:312px}table{border-collapse:collapse;table-layout:fixed;width:100%}.table-scroll{width:100%;overflow-x:auto}.signal-table{table-layout:auto;min-width:760px}.signal-table th:first-child,.signal-table td:first-child{width:76px}.signal-table th:nth-child(2),.signal-table td:nth-child(2),.signal-table th:nth-child(4),.signal-table td:nth-child(4),.signal-table th:nth-child(5),.signal-table td:nth-child(5),.signal-table th:nth-child(6),.signal-table td:nth-child(6),.signal-table th:nth-child(7),.signal-table td:nth-child(7){width:88px}.signal-row td{background:#10130e}.signal-accepted td{background:#0d1710}.signal-blocked td{background:#1a1010}.signal-observed td{background:#181510}th,td{color:#d8d2c6;text-align:left;vertical-align:top;word-break:break-word;border-bottom:1px solid #252b21;padding:10px 8px;font-size:14px}th{color:#9fa596;font-weight:600}.kv{border-bottom:1px solid #252b21;grid-template-columns:minmax(110px,1fr) minmax(80px,auto);align-items:center;gap:10px;min-height:42px;display:grid}.kv span{color:#a5a99e}.kv strong{color:#f3f0e8;text-align:right}.primary{min-height:38px;margin-top:12px;padding:8px 12px}.proof-grid,.speed-grid,.safety-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.timing-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px;margin-top:12px;display:grid}.proof{padding:12px}.proof strong{color:#f3f0e8;margin-bottom:7px;font-size:16px}.proof span{color:#d8d2c6}.proof small{margin:5px 0}.setup-grid{align-items:start}.field{color:#a5a99e;flex-direction:column;gap:5px;min-width:0;font-size:12px;display:flex}input,textarea,select{color:#f3f0e8;background:#090b08;border:1px solid #343a30;border-radius:6px;width:100%;padding:9px 10px}input:focus,textarea:focus,select:focus{outline:1px solid #56c271}textarea{resize:vertical;min-height:76px}.form-grid{grid-template-columns:repeat(3,minmax(140px,1fr));gap:10px;display:grid}.credential-form{grid-template-columns:repeat(2,minmax(150px,1fr));gap:10px;display:grid}.field-wide{grid-column:1/-1}.file-fallback{color:#a5a99e;margin-top:10px}.file-fallback summary{cursor:pointer;min-height:34px;padding:7px 0}.switch-row{flex-wrap:wrap;align-items:center;gap:8px}.button-row{flex-wrap:wrap;align-items:center;gap:8px;margin:10px 0}.safe-lock-note{background:#10130e;border:1px solid #383d33;border-radius:6px;min-width:min(100%,320px);padding:8px 10px;display:grid}.safe-lock-note strong,.safe-lock-note span{display:block}.safe-lock-note strong{color:#f3f0e8;font-size:14px}.safe-lock-note span{color:#a5a99e;font-size:12px;line-height:1.35}.button-row button{min-height:34px;padding:7px 10px}button.danger{color:#f6d4d4;background:#281312;border-color:#7d3737}button.danger:hover{background:#351817;border-color:#ef5f5f}.seg{min-height:34px;padding:7px 10px}.seg.locked{color:#9fa596}.path-status{grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:68px;margin-top:10px;padding:10px;display:grid}.path-status strong{color:#f3f0e8}.path-status button{min-height:34px;padding:7px 10px}.advanced{grid-template-columns:repeat(2,minmax(0,1fr))}.command-grid{flex-wrap:wrap;gap:8px}.command-grid button{min-width:150px;min-height:36px;padding:8px 10px}.packet-strip{gap:10px;margin:12px 0}.packet-strip .metric,.policy-strip .metric{flex:1}.policy-strip{gap:10px;margin:12px 0}.speed-warning-banner{background:#1d1910;border:1px solid #53482d;border-radius:6px;grid-template-columns:10px minmax(0,1fr);gap:4px 9px;margin:10px 0;padding:10px;display:grid}.speed-warning-banner strong,.speed-warning-banner em,.speed-warning-banner small{word-break:break-word;grid-column:2;min-width:0;display:block}.speed-warning-banner strong{color:#f3f0e8;font-size:14px}.speed-warning-banner em,.speed-warning-banner small{font-style:normal;line-height:1.35}.maker-first-warning{margin-top:12px}.check-list{gap:6px;display:grid}.maker-first-items{margin-top:10px}.route-reality-block,.live-proof-block,.strategy-enable-block{border-top:1px solid #252b21;margin-top:12px;padding-top:12px}.route-reality-block h3,.live-proof-block h3,.strategy-enable-block h3{color:#f3f0e8;margin:0;font-size:14px;line-height:1.2}.live-proof-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px;display:grid}.maker-first-enable-flow{margin-top:10px}.check-row{border:1px solid #252b21;border-radius:6px;grid-template-columns:10px minmax(100px,150px) minmax(0,1fr);align-items:center;gap:8px;padding:8px;display:grid}.check-row strong{color:#f3f0e8;font-size:12px}.log{margin-top:10px;padding:10px}.log header{justify-content:space-between;align-items:center;gap:10px;margin-bottom:6px;display:flex}pre{color:#d8d2c6;white-space:pre-wrap;word-break:break-word;background:#090b08;border:1px solid #252b21;border-radius:6px;max-height:260px;padding:10px;font-size:12px;line-height:1.4;overflow:auto}.empty{color:#a5a99e;background:#0e100c;border:1px solid #252b21;border-radius:6px;padding:14px}.live-dashboard,.strategies-list-screen{gap:14px}.live-dashboard{grid-template-rows:auto auto minmax(0,1fr);min-height:0;overflow:hidden}.strategies-list-screen{grid-template-rows:auto auto minmax(0,1fr)}.demo-money-banner{color:#f0d38a;background:#1b160d;border:1px solid #6e5626;border-radius:6px;padding:10px 12px;line-height:1.35}.live-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.live-summary-card{background:#10171a;border:1px solid #2b3f46;border-radius:8px;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:10px;min-height:112px;padding:12px;display:grid}.live-summary-card strong,.live-summary-card em,.live-summary-card small{overflow-wrap:anywhere;min-width:0;display:block}.live-summary-card strong{color:#fff7e8;font-size:24px;line-height:1.05}.live-summary-card.green{border-color:#286a43}.live-summary-card.yellow{border-color:#775d23}.live-summary-card.red{border-color:#7d332e}.summary-icon,.coin,.coin-mark{color:#fff7e8;background:#142a34;border:1px solid #335b66;place-items:center;font-weight:700;display:grid}.summary-icon{border-radius:8px;width:48px;height:48px;font-size:12px}.live-dashboard-grid{grid-template-columns:minmax(220px,.72fr) minmax(520px,1.9fr) minmax(320px,.95fr);align-items:stretch;gap:12px;height:100%;min-height:0;display:grid;overflow:hidden}.live-panel,.strategy-table-card,.strategy-summary-panel,.strategy-package-panel{background:#0f171b;border:1px solid #263845;border-radius:8px}.live-panel{gap:10px;min-width:0;padding:12px;display:grid}.live-panel h2,.strategies-list-title h2{color:#fff7e8;letter-spacing:0;margin:0}.exchange-page,.positions-page,.right-column,.strategy-grid,.strategies-list-main,.strategy-summary-panel,.strategy-package-panel{gap:10px;min-width:0;display:grid}.exchange-page,.positions-page,.strategy-grid,.right-column,.exchange-panel,.strategies-panel,.active-position-panel,.warnings-panel{min-height:0;overflow:hidden}.exchange-page,.positions-page,.strategy-grid{scrollbar-width:thin;grid-auto-rows:max-content;align-content:start;overflow:hidden auto}.exchange-panel,.strategies-panel,.active-position-panel{grid-template-rows:auto minmax(0,1fr) auto}.right-column{grid-template-rows:minmax(0,1fr) minmax(104px,auto)}.dashboard-panel-head{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.exchange-card,.position-card{background:#111b20;border:1px solid #253943;border-radius:7px;gap:6px;padding:10px;display:grid}.exchange-card{grid-template-columns:42px minmax(0,1fr);align-items:center}.exchange-card>span{color:#fff7e8;background:#18313b;border-radius:6px;place-items:center;width:42px;height:42px;font-weight:700;display:grid}.exchange-card strong,.exchange-card em,.exchange-card small{overflow-wrap:anywhere;min-width:0;display:block}.exchange-card.ready{border-color:#286a43}.exchange-card.warning{border-color:#775d23}.exchange-card.danger{border-color:#7d332e}.strategy-card{background:#111b20;border:1px solid #263845;border-radius:8px;gap:10px;min-height:0;padding:12px;display:grid}.strategy-card.active{background:#102119;border-color:#176c42}.strategy-card.warning{background:#211708;border-color:#805719}.strategy-card header,.position-card header,.strategy-card footer,.strategies-list-title,.strategy-title-actions,.strategy-list-toolbar,.strategy-list-tools,.strategy-list-footer,.strategy-summary-head,.summary-mini-grid,.summary-action-grid,.package-counts{align-items:center;gap:10px;display:flex}.strategy-card footer{flex-wrap:wrap;justify-content:space-between;gap:6px}.strategy-card header{justify-content:space-between}.strategy-card header strong,.position-card header strong{color:#fff7e8;font-size:20px}.strategy-card header b,.position-card header b{color:#b7d7e1;font-weight:600}.coin{border-radius:50%;width:44px;height:44px;font-size:12px}.strategy-legs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.leg-row,.summary-box,.strategy-empty-state{background:#0b1216;border:1px solid #253943;border-radius:6px;padding:9px}.leg-row strong,.leg-row small,.leg-row em,.strategy-body strong,.strategy-body small,.position-row span,.position-row strong,.summary-box span,.summary-box strong,.summary-box em,.summary-box small{overflow-wrap:anywhere;min-width:0;display:block}.strategy-body{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.strategy-body>div{background:#0b1216;border:1px solid #253943;border-radius:6px;min-height:58px;padding:8px}.strategy-body strong,.position-row strong,.strategy-row strong,.summary-box strong{color:#fff7e8}.cyan{color:#44d7e8}.market-value{color:#44d7e8;margin-top:5px;font-size:12px;display:block}.market-value.stale,.market-value.missing,.market-stale strong,.market-missing strong{color:#7d878b}.market-stale,.market-missing{filter:saturate(.35)}.green,.positive{color:#37e685}.orange,.warning-text{color:#ffb238}.card-block-reason{color:#e8c373;overflow-wrap:anywhere;margin:0;font-size:14px;line-height:1.35}.card-fishing-line{overflow-wrap:anywhere;color:#9fb4bf;margin:0;font-size:14px;line-height:1.35}.card-fishing-line.fishing{color:#44d7e8}.card-fishing-line.unknown{color:#e8c373}.position-row{border-top:1px solid #21323b;justify-content:space-between;gap:10px;padding-top:6px;display:flex}.warnings-panel button{color:#e7e2d8;text-align:left;background:#12170f;border:1px solid #3a3f34;border-radius:6px;grid-template-columns:10px minmax(0,1fr);gap:4px 9px;padding:9px;display:grid}.warnings-panel button strong,.warnings-panel button em{grid-column:2}.strategies-list-title{justify-content:space-between}.strategies-list-title p{color:#a5a99e;margin:4px 0 0}.strategy-title-actions{flex-wrap:wrap;justify-content:flex-end}.strategy-title-actions button,.strategy-list-tools button,.strategy-card footer button,.strategy-row-actions button,.strategy-summary-head button,.summary-action-grid button,.open-details-button,.strategy-package-panel button{color:#fff7e8;background:#121f25;border:1px solid #2f4a55;border-radius:6px;padding:8px 10px}.strategy-row-menu{position:relative}.strategy-row-menu>summary{color:#fff7e8;cursor:pointer;background:#121f25;border:1px solid #2f4a55;border-radius:6px;min-height:32px;padding:8px 10px;list-style:none}.strategy-row-menu>summary::-webkit-details-marker{display:none}.strategy-row-menu-items{z-index:5;background:#0f1a1f;border:1px solid #2f4a55;border-radius:8px;gap:6px;min-width:210px;padding:8px;display:grid;position:absolute;right:0;box-shadow:0 8px 20px #00000073}.strategy-row-menu-blocker{color:#a5a99e;white-space:normal;font-size:11px}.strategy-row-menu-note{color:#7f8f86;white-space:normal;font-size:11px}.strategy-card-route-id{color:#a5a99e;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:500;overflow:hidden}.strategy-card-pair{color:#a5a99e;text-overflow:ellipsis;white-space:nowrap;font-size:11px;display:block;overflow:hidden}.strategy-card-acceptance-authorization{color:#f0c243;white-space:normal;background:#8a6a1229;border:1px solid #8a6a12;border-radius:4px;margin:4px 0 0;padding:4px 6px;font-size:11px;line-height:1.35}.create-strategy-button,.strategy-row-actions .start,.summary-action-grid button:first-child{color:#31f0dc;background:#092d2b;border-color:#0f8f86}.strategies-list-layout{grid-template-columns:minmax(0,1fr) minmax(300px,.36fr);align-items:stretch;gap:12px;height:auto;min-height:0;display:grid;overflow:hidden}.strategies-list-main{grid-template-rows:auto minmax(0,1fr) auto;min-height:0;overflow:hidden}.strategy-list-toolbar{flex-wrap:wrap;justify-content:space-between}.strategy-tabs,.strategy-list-tools{flex-wrap:wrap;gap:6px;display:flex}.strategy-tabs button{color:#e7e2d8;background:#10191e;border:1px solid #2f4a55;border-radius:999px;padding:7px 10px}.strategy-search{background:#0b1216;border:1px solid #2f4a55;border-radius:6px;align-items:center;gap:6px;padding:0 8px;display:flex}.strategy-search input{color:#e7e2d8;background:0 0;border:0;width:190px}.strategy-table-card{grid-template-rows:40px minmax(0,1fr);min-height:0;display:grid;overflow:hidden}.strategy-table-head,.strategy-row{grid-template-columns:minmax(0,1.18fr) minmax(0,.72fr) minmax(0,.45fr) minmax(0,.55fr) minmax(0,.72fr) minmax(0,.58fr) minmax(0,.85fr) minmax(0,.8fr);align-items:center;gap:10px;display:grid}a.strategy-row{color:inherit;text-decoration:none}.strategy-table-head{color:#a5a99e;background:#0b1216;min-height:40px;padding:0 12px;font-size:12px}.strategy-row{background:#0f171b;border-top:1px solid #263845;min-height:88px;padding:8px 12px}.strategy-table-rows{grid-auto-rows:minmax(88px,1fr);min-height:0;display:grid;overflow:hidden auto}.strategy-row-name{grid-template-columns:46px minmax(0,1fr);align-items:center;gap:12px;min-width:0;display:grid}.coin-mark{border-radius:50%;width:46px;height:46px}.strategy-row-name strong,.strategy-summary-head strong{color:#fff7e8;font-size:16px;line-height:1.1;display:block}.strategy-row-name span,.strategy-row-name small,.strategy-row-status span,.strategy-row-size span,.strategy-row-plan span,.strategy-row-pnl span,.strategy-row-legs span,.strategy-row-spread em{color:#a5a99e;overflow-wrap:anywhere;margin-top:3px;font-size:12px;line-height:1.25;display:block}.strategy-row-route,.strategy-row-size span,.strategy-row-pnl span,.strategy-row-legs span,.strategy-row-spread em{text-overflow:ellipsis;overflow:hidden}.strategy-row-route{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box}.strategy-list-badge{color:#9fc8ff;background:#102341;border:1px solid #2b4f7e;border-radius:5px;width:fit-content;padding:4px 8px;font-size:12px;display:inline-flex}.strategy-list-badge.protected{color:#caa7ff;background:#211434;border-color:#6940a4}.strategy-list-badge.paused,.strategy-list-badge.locked{color:#d5d8d0;background:#1a252b;border-color:#40515c}.strategy-row-progress{background:#26343e;border-radius:999px;width:100%;height:5px;margin-top:8px;display:block;overflow:hidden}.strategy-row-progress em{border-radius:inherit;background:#37e685;height:100%;display:block}.strategy-row-progress em.waiting,.strategy-row-progress em.paused,.strategy-row-progress em.locked{background:#7c858a}.strategy-row-actions{flex-wrap:wrap;justify-content:flex-start;gap:6px;min-width:0;display:flex}.strategy-row-actions button{white-space:normal;min-width:38px;min-height:36px;padding:0 10px}.strategy-row-actions .pause{color:#d5d8d0}.strategy-row-blocker{color:#ffcf7a;overflow-wrap:anywhere;flex-basis:100%;min-width:0;max-height:32px;font-size:12px;line-height:1.3;overflow:hidden}.strategy-summary-panel{align-content:start;min-height:0;max-height:100%;padding:10px;overflow:hidden}.strategy-summary-head{align-items:center}.strategy-summary-head>div{flex:1;min-width:0}.strategy-summary-head>div small{display:block}.summary-box{gap:8px;min-height:0;display:grid;overflow:hidden}.summary-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.summary-mini-grid>div{gap:3px;min-width:0;display:grid}.summary-mini-grid span,.summary-mini-grid strong,.summary-mini-grid em{overflow-wrap:anywhere;min-width:0;display:block}.summary-blocker{color:#ffcf7a;-webkit-line-clamp:4;-webkit-box-orient:vertical;max-height:68px;font-size:12px;line-height:1.35;display:-webkit-box;overflow:hidden}.summary-next{max-height:152px;overflow:hidden}.summary-action-grid,.package-counts{flex-wrap:wrap}.strategy-list-footer{flex-wrap:wrap;justify-content:flex-start;gap:10px}.strategy-list-footer div{align-items:baseline;gap:4px;display:flex}.strategy-package-panel{padding:12px}.strategy-package-panel header{justify-content:space-between;gap:12px;display:flex}@media (width<=1180px){.operator-brief{grid-template-columns:1fr}.market-board{grid-template-columns:repeat(3,minmax(0,1fr))}.trade-layout,.setup-grid,.advanced,.project-workspace-bar,.manual-grid-layout,.manual-grid-form,.manual-grid-legs,.manual-grid-buttons,.manual-maker-grid,.manual-maker-summary,.manual-maker-actions,.proof-grid,.speed-grid,.safety-grid,.timing-grid,.live-summary-grid,.live-dashboard-grid,.strategies-list-layout,.strategy-legs,.strategy-body,.operator-cockpit,.operator-runbook-grid,.route-reality-grid,.route-reality-actions,.operator-checklist-grid,.flow-grid,.exchange-auth-grid,.setup-flow .flow-grid{grid-template-columns:1fr}.operator-stage-rail{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid{grid-template-columns:repeat(2,minmax(140px,1fr))}.credential-form{grid-template-columns:1fr}.strategy-table-head{display:none}.strategy-row{grid-template-columns:1fr}.strategy-row-actions{flex-wrap:wrap;justify-content:flex-start}}@media (width<=760px){.terminal{padding:8px}.terminal-head,.nav,.packet-strip,.policy-strip{flex-direction:column;align-items:stretch}.nav button,.nav .advanced-toggle{width:100%;min-width:0;margin-left:0}.market-board,.form-grid,.project-workspace-bar,.manual-grid-layout,.manual-grid-form,.manual-grid-legs,.manual-grid-buttons,.manual-maker-grid,.manual-maker-summary,.manual-maker-actions,.live-summary-grid,.live-dashboard-grid,.strategies-list-layout,.strategy-legs,.strategy-body,.operator-stage-rail{grid-template-columns:1fr}.strategies-list-title,.strategy-title-actions,.strategy-list-toolbar{flex-direction:column;align-items:stretch}.strategy-title-actions button,.strategy-list-tools button{width:100%}.signal-table th,.signal-table td{padding:7px 5px;font-size:12px}}.setup-title-row{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.setup-title-row h2{color:#fff7e8;font-size:24px;line-height:1.15}.setup-title-row p{color:#a5a99e;margin-top:8px;font-size:16px}.diagnostics-button,.wide-outline{color:#f3f0e8;background:#121a1f;border:1px solid #263845;border-radius:6px}.diagnostics-button{min-height:42px;padding:8px 14px;font-weight:700}.setup-steps-grid,.setup-status-grid,.setup-bottom-grid,.setup-connect-grid{gap:14px;display:grid}.setup-steps-grid,.setup-status-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.setup-connect-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.setup-step-card,.setup-info-card{background:#0f171b;border:1px solid #263845;border-radius:8px;min-width:0}.setup-step-card{grid-template-columns:76px minmax(0,1fr) 20px;align-items:center;gap:18px;min-height:192px;padding:26px 18px 18px 20px;display:grid;position:relative}.step-number{color:#33f0df;background:#082b2e;border:1px solid #0f8f86;border-radius:50%;place-items:center;width:36px;height:36px;font-weight:800;display:grid;position:absolute;top:24px;left:20px}.setup-step-icon{color:#33f0df;background:#092126;border:1px solid #0f8f86;border-radius:8px;place-items:center;width:76px;height:76px;margin-top:34px;font-size:30px;font-weight:800;display:grid}.setup-step-card h3,.setup-info-card h3,.first-strategy-empty h3{color:#fff7e8;margin:0;font-size:20px;line-height:1.2}.setup-step-card p,.setup-info-card p,.first-strategy-empty p{color:#a5a99e;margin:12px 0;line-height:1.35}.setup-step-card button,.setup-info-card button,.first-strategy-empty button,.wide-outline{color:#33f0df;background:#092126;border:1px solid #0f8f86;border-radius:6px;min-height:40px;padding:8px 14px}.setup-step-card>b{color:#a5a99e;font-size:30px;font-weight:400}.setup-info-card{grid-template-columns:86px minmax(0,1fr);align-items:center;gap:18px;min-height:220px;padding:20px;display:grid}.setup-round-icon{color:#33f0df;background:#092126;border:1px solid #0f8f86;border-radius:50%;place-items:center;width:86px;height:86px;font-size:24px;font-weight:800;display:grid}.setup-info-card.bot h3{color:#36de83}.first-strategy-panel,.connected-exchanges-panel{min-height:360px}.first-strategy-empty{text-align:center;align-content:center;justify-items:center;min-height:300px;display:grid}.first-strategy-empty>span{color:#33f0df;background:#092126;border:1px solid #0f8f86;border-radius:18px;place-items:center;width:84px;height:84px;margin-bottom:14px;font-size:30px;display:grid}.first-strategy-empty ul{color:#a5a99e;text-align:left;margin:0 0 16px;padding-left:18px}.first-strategy-empty button{color:#fff;background:#1fa95b;border-color:#36de83;min-width:min(100%,330px);font-weight:800}.connected-exchange-list{border:1px solid #263845;border-radius:8px;gap:0;display:grid;overflow:hidden}.connected-exchange{color:#f3f0e8;text-align:left;background:#111b20;border:0;border-bottom:1px solid #263845;grid-template-columns:48px minmax(0,1fr) auto 20px;align-items:center;gap:12px;min-height:64px;padding:9px 12px;display:grid}.connected-exchange:last-child{border-bottom:0}.connected-exchange.not-connectable{color:#93a6b0;background:#0d1418;border-left:3px solid #3a5965}.connected-exchange>span{color:#33f0df;background:#082b2e;border:1px solid #0f8f86;border-radius:50%;place-items:center;width:42px;height:42px;font-weight:800;display:grid}.connected-exchange strong,.connected-exchange small{display:block}.connected-exchange small{margin-top:2px}.connected-exchange em{color:#36de83;white-space:nowrap;background:#10251a;border:1px solid #1d4d34;border-radius:6px;padding:6px 10px;font-style:normal}.connected-exchange.warning>span{color:#ffb238;background:#2d1c08;border-color:#a66a18}.connected-exchange.warning em{color:#ffb238;background:#251a0d;border-color:#704716}.connected-exchange.muted>span{color:#69b9ff;background:#0e1a26;border-color:#2e5777}.connected-exchange.muted em{color:#a5a99e;background:#182128;border-color:#33404a}.connected-exchange b{color:#a5a99e;font-size:24px;font-weight:400}.wide-outline{min-width:min(100%,280px);margin-top:14px}.package-share-button,.package-import-button{color:#d7d2c7;background:#0d151a;border:1px solid #263845}.package-share-button:hover,.package-import-button:hover{color:#33f0df;border-color:#0f8f86}.strategy-package-panel header button,.package-picker-row button,.strategy-package-export button,.package-import-footer button{color:#f3f0e8;background:#101a20;border:1px solid #263845;border-radius:6px;min-height:38px;padding:0 14px}.strategy-package-export{align-items:stretch;gap:12px}.package-success-card{background:#102d1d;border:1px solid #176c42;border-radius:8px;gap:4px;min-width:260px;padding:12px;display:grid}.package-success-card strong{color:#7ff0a4;font-size:16px}.package-success-card span{color:#fff7e8}.package-success-card em{color:#a5a99e;font-style:normal}.package-safe-list{color:#c9c5bb;background:#111b20;border:1px solid #263845;border-radius:8px;flex:1;gap:6px;padding:12px;display:grid}.package-export-scope{color:#d7d2c7;background:#0d151a;border:1px solid #263845;border-radius:8px;gap:8px;min-width:190px;padding:10px 12px;display:grid}.package-export-scope legend{color:#a5a99e;padding:0 4px}.package-export-scope label{align-items:center;gap:8px;display:flex}.strategy-package-advanced{color:#a5a99e;background:#0d151a;border:1px solid #263845;border-radius:8px;min-width:210px;padding:10px 12px}.strategy-package-advanced summary{cursor:pointer;color:#d7d2c7}.strategy-package-import{gap:12px;display:grid}.package-picker-row{background:#111b20;border:1px solid #263845;border-radius:8px;justify-content:space-between;gap:12px;padding:10px}.package-picker-row label{color:#a5a99e;gap:6px;display:grid}.package-picker-row input{color:#d7d2c7}.package-preview-table{gap:8px;display:grid}.package-import-modes{border:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:0;display:grid}.package-conflict-modes{border:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0;display:grid}.package-import-modes legend,.package-conflict-modes legend{color:#a5a99e;grid-column:1/-1;margin-bottom:2px}.package-import-modes label,.package-conflict-modes label,.replace-confirm{color:#d7d2c7;background:#0d151a;border:1px solid #263845;border-radius:8px;align-items:center;gap:8px;min-height:40px;padding:0 10px;display:flex}.package-import-modes .danger-choice,.replace-confirm{color:#ffb238;background:#251a0d;border-color:#704716}.package-import-footer{justify-content:space-between;gap:12px}.package-import-footer .primary,.strategy-package-export .primary{color:#fff;background:linear-gradient(135deg,#0b9d8f,#08786f);border-color:#0f8f86}.package-import-footer button:disabled{opacity:.48;cursor:not-allowed}.show-more-strategies{color:#d9d5cb;background:#101a20;border:1px solid #263845;border-radius:6px;justify-self:center;min-width:230px;min-height:38px}.summary-legs>div,.summary-spread>div,.summary-mode>div{border-right:1px solid #263845;padding-right:12px}.summary-legs>div:last-child,.summary-spread>div:last-child,.summary-mode>div:last-child{border-right:0;padding-left:12px}.summary-progress>div{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.summary-progress em{font-style:normal}.summary-size{gap:10px;display:grid}.summary-size>div{grid-template-columns:minmax(0,1fr) auto auto;align-items:baseline;gap:12px;display:grid}.summary-next p{color:#c9c5bb;margin-top:6px;line-height:1.4}.strategy-create-actions{gap:10px;display:flex}.strategy-create-actions button{color:#f3f0e8;background:#121a1f;border:1px solid #263845;border-radius:6px;min-width:118px;min-height:42px;padding:8px 14px}.strategy-create-actions .create-strategy-button{color:#fff;background:#0b9d8f;border-color:#0f8f86;min-width:176px;font-weight:800}.strategy-create-layout{grid-template-columns:minmax(720px,1fr) minmax(360px,.42fr);align-items:start;gap:14px;display:grid}.strategy-create-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.strategy-form-card,.strategy-preview-card{background:#0f171b;border:1px solid #263845;border-radius:8px;min-width:0}.strategy-form-card{padding:10px}.strategy-form-card h3,.strategy-preview-card h3,.strategy-preview-card h4{color:#f3f0e8;align-items:center;gap:8px;margin:0 0 8px;font-size:16px;line-height:1.2;display:flex}.strategy-form-card h3 span{color:#33f0df;background:#082b2e;border:1px solid #0f8f86;border-radius:50%;place-items:center;width:24px;height:24px;font-size:12px;display:grid}.strategy-form-card p{color:#a5a99e;margin:6px 0;font-size:12px;line-height:1.35}.strategy-settings-card{grid-column:1/-1;gap:10px;display:grid}.strategy-settings-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.strategy-settings-head>div:first-child{min-width:0}.strategy-settings-head p{margin:0}.strategy-settings-sections{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.strategy-settings-group{background:#0f171b;border:1px solid #263845;border-radius:8px;gap:8px;min-width:0;padding:10px;display:grid}.strategy-settings-group>p{color:#a5a99e;margin:0;font-size:12px;line-height:1.35}.strategy-rule-list{gap:8px;display:grid}.strategy-rule-row{background:#12140f;border:1px solid #2f352b;border-radius:8px;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);align-items:start;gap:12px;min-width:0;padding:12px;display:grid}.strategy-rule-copy{gap:6px;min-width:0;display:grid}.strategy-rule-headline{flex-wrap:wrap;align-items:center;gap:6px 10px;display:flex}.strategy-rule-headline strong{color:#fff7e8;font-size:14px}.strategy-rule-headline small,.strategy-rule-copy p{color:#a5a99e;font-size:12px;line-height:1.35}.strategy-rule-copy p{margin:0}.strategy-rule-input{grid-template-columns:minmax(150px,1fr) auto max-content;align-items:center;gap:8px;display:grid}.strategy-rule-input.no-unit{grid-template-columns:minmax(150px,1fr) max-content}.strategy-rule-input.toggle{grid-template-columns:max-content auto max-content;justify-content:start}.strategy-rule-input.toggle.no-unit{grid-template-columns:max-content max-content}.strategy-rule-control,.strategy-rule-control input,.strategy-rule-control select{min-width:0}.strategy-rule-control.toggle{justify-content:flex-start;align-items:center;display:flex}.strategy-rule-input button{color:#f3f0e8;background:#101a20;border:1px solid #263845;border-radius:6px;min-width:max-content;min-height:36px;padding:0 12px}.strategy-rule-unit,.strategy-rule-reset-placeholder{justify-content:center;align-items:center;min-width:52px;min-height:36px;display:inline-flex}.strategy-rule-unit{color:#d7d2c7;background:#090b08;border:1px solid #343a30;border-radius:6px;padding:0 10px;font-size:12px;font-weight:600}.strategy-rule-unit-empty,.strategy-rule-reset-placeholder{opacity:0}.instrument-card{min-height:0}.strategy-prefill-row{grid-template-columns:minmax(0,1fr) max-content;align-items:end;gap:10px;margin-bottom:8px;display:grid}.strategy-prefill-row .field{margin:0}.strategy-prefill-row button{color:#f3f0e8;background:#101a20;border:1px solid #263845;border-radius:6px;min-width:max-content;min-height:40px;padding:0 14px}.check-toggle{color:#f3f0e8;align-items:center;gap:8px;min-width:0;margin:8px 0;font-size:14px;display:flex}.check-toggle input{accent-color:#0b9d8f;width:16px;height:16px}.detected-contracts{gap:6px;margin-top:8px;display:grid}.detected-contracts small,.detected-contracts p{color:#a5a99e}.detected-contracts>div{background:#111b20;border:1px solid #263845;border-radius:6px;grid-template-columns:minmax(80px,1fr) 18px minmax(0,1.25fr) auto;align-items:center;gap:8px;min-height:34px;padding:6px 8px;display:grid}.detected-contracts>.leg-instrument-row{grid-template-columns:minmax(0,1fr);align-items:center}.detected-contracts>.leg-instrument-row>*{min-width:0}.detected-contracts>.leg-instrument-row>button{justify-self:start}.detected-contracts>.leg-instrument-row>strong,.detected-contracts>.leg-instrument-row>em,.detected-contracts>.leg-instrument-row>small{overflow-wrap:anywhere;grid-column:1/-1}.detected-contracts strong,.detected-contracts em{color:#f3f0e8;font-style:normal}.detected-contracts b{color:#76e68d;background:#12341d;border-radius:6px;padding:4px 8px;font-size:12px}.leg-venue-spec-facts{gap:6px;display:grid}.leg-venue-spec-facts>span{color:#b8b2a4;font-size:12px}.leg-venue-spec-facts dl{grid-template-columns:minmax(0,1fr);gap:2px;margin:0;display:grid}.leg-venue-spec-facts dl>div{justify-content:space-between;gap:8px;display:flex}.leg-venue-spec-facts dt{color:#b8b2a4;font-size:12px}.leg-venue-spec-facts dd{overflow-wrap:anywhere;color:#f3f0e8;font-variant-numeric:tabular-nums;margin:0}.leg-venue-spec-facts em{overflow-wrap:anywhere;color:#b8b2a4;font-size:12px;font-style:normal}.field-label-only{color:#b8b2a4;font-size:13px;display:block}.catalog-picker{gap:4px;display:grid}.catalog-picker-status{color:#a5a99e;overflow-wrap:anywhere;padding:4px 0;font-size:13px}.catalog-picker-error{color:#e6a060}.catalog-picker-search{box-sizing:border-box;width:100%}.catalog-picker-list{background:#0e181e;border:1px solid #263845;border-radius:4px;max-height:180px;margin:0;padding:0;list-style:none;overflow-y:auto}.catalog-picker-item{text-align:left;cursor:pointer;color:#f3f0e8;background:0 0;border:none;width:100%;padding:5px 8px;font-size:13px;display:block}.catalog-picker-item:hover,.catalog-picker-item:focus{background:#1a2d38;outline:none}.catalog-item-symbol{font-variant-numeric:tabular-nums;letter-spacing:.01em}.catalog-picker-empty{color:#a5a99e;padding:8px;font-size:13px}.catalog-picker-footer{color:#6b7280;padding:2px 0;font-size:12px}.compact-select{max-width:220px;margin-left:auto}.two-col-form,.size-grid,.conditions-grid,.risk-grid{gap:8px;display:grid}.two-col-form{grid-template-columns:minmax(0,1fr) minmax(160px,.65fr)}.size-grid{grid-template-columns:minmax(118px,1fr) 96px minmax(118px,1fr) 96px}.size-grid .field span{white-space:nowrap}.size-grid .unit-field select{min-width:0}.conditions-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.risk-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.strategy-warning{color:#ffb238;text-align:center;background:#251a0d;border:1px solid #704716;border-radius:6px;place-items:center;min-height:58px;padding:8px;font-weight:700;display:grid}.safety_size_minimum,.safety_size_money{color:#f3f0e8;margin-top:8px;font-size:13px;line-height:1.4}.safety_size_minimum{font-weight:600}.safety_card_save_refusal{white-space:normal;overflow-wrap:anywhere;color:#ffd9d3;background:#2a1414;border:1px solid #7a3030;border-radius:6px;min-width:0;margin:8px 0;padding:10px 12px;line-height:1.4}.position-size-summary{grid-template-columns:minmax(120px,.4fr) minmax(220px,1fr);gap:10px;margin-top:8px;display:grid}.position-size-summary>div{background:#111b20;border:1px solid #263845;border-radius:6px;padding:10px}.position-size-summary strong,.position-size-summary span{color:#f3f0e8;margin-top:6px;line-height:1.35;display:block}.timings-card,.behavior-card,.additional-card{min-height:0}.behavior-card h3,.additional-card h3,.timings-card h3{grid-column:1/-1}.strategy-preview-card{max-height:calc(100vh - 28px);padding:14px;position:sticky;top:14px;overflow-y:auto}.preview-head{background:#111b20;border:1px solid #263845;border-radius:8px;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:14px;padding:12px;display:grid}.preview-head>span{color:#ffcf59;background:#2b210c;border:1px solid #d2aa3d;border-radius:50%;place-items:center;width:56px;height:56px;font-size:24px;font-weight:900;display:grid}.preview-head strong,.preview-head em{display:block}.preview-head strong{color:#fff7e8;font-size:20px}.preview-head em{color:#76e68d;background:#12341d;border-radius:6px;width:fit-content;margin-top:6px;padding:4px 8px;font-style:normal}.preview-legs{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px;display:grid}.preview-legs>div,.preview-table,.preview-risk-table,.preview-checks{background:#111b20;border:1px solid #263845;border-radius:8px}.preview-legs>div{padding:10px}.preview-legs strong,.preview-legs em,.preview-legs span{margin-top:5px;display:block}.preview-legs strong{color:#fff7e8;text-transform:capitalize;font-size:16px}.preview-legs em{color:#36de83;font-style:normal}.preview-table{gap:0;margin-top:12px;display:grid;overflow:hidden}.preview-table>div{border-bottom:1px solid #263845;justify-content:space-between;gap:10px;padding:8px 10px;display:flex}.preview-table>div:last-child{border-bottom:0}.preview-table strong{color:#f3f0e8;text-align:right}.preview-risk-table{grid-template-columns:50px repeat(2,minmax(0,1fr));gap:0;margin-top:12px;display:grid;overflow:hidden}.preview-risk-table>*{border-bottom:1px solid #263845;padding:8px 10px}.preview-risk-table strong,.preview-risk-table em{color:#f3f0e8;font-style:normal}.preview-checks{gap:8px;margin-top:10px;padding:10px;display:grid}.preview-checks span,.preview-checks em{color:#a5a99e;padding-left:22px;font-style:normal;line-height:1.35;position:relative}.preview-checks span:before,.preview-checks em:before{color:#36de83;content:"✓";position:absolute;top:0;left:0}.preview-checks em{color:#ffb238}.preview-checks em:before{color:#ffb238;content:"!"}.strategy-preview-card>p{color:#a5d9df;background:#0b2026;border:1px solid #0f5f66;border-radius:8px;margin-top:12px;padding:12px;line-height:1.35}.strategy-edit-screen{gap:12px}.strategy-edit-topline,.strategy-edit-title,.strategy-edit-actions,.edit-card-head,.edit-side-head,.edit-bottom-bar,.edit-bottom-bar>div{align-items:center;display:flex}.strategy-edit-topline,.strategy-edit-title,.edit-card-head,.edit-bottom-bar{justify-content:space-between;gap:16px}.back-link-button,.text-link-button{color:#d9d5cb;text-align:left;background:0 0;border:0}.back-link-button{padding:0;font-size:16px}.strategy-edit-actions{gap:10px}.strategy-edit-actions button,.edit-bottom-bar button{color:#f3f0e8;background:#101a20;border:1px solid #263845;border-radius:6px;min-height:38px;padding:0 16px}.strategy-edit-actions .danger-outline{color:#ff6a5f;border-color:#6e2626}.strategy-edit-title h2{color:#fff7e8;align-items:center;gap:10px;font-size:24px;line-height:1.15;display:flex}.strategy-edit-title h2 span{color:#69b9ff;background:#0d2340;border:1px solid #1b5f99;border-radius:5px;padding:4px 8px;font-size:12px}.strategy-edit-title p{color:#a5a99e;margin-top:6px}.strategy-edit-layout{grid-template-columns:minmax(780px,1fr) minmax(350px,.36fr);gap:14px;min-height:0;display:grid}.strategy-edit-main,.strategy-edit-side{align-content:start;gap:12px;min-width:0;display:grid}.edit-card{background:#0f171b;border:1px solid #263845;border-radius:8px;min-width:0;padding:14px}.edit-card h3{color:#f3f0e8;margin:0 0 14px;font-size:16px;line-height:1.2}.edit-pairs-grid{grid-template-columns:minmax(170px,.7fr) minmax(170px,.7fr) minmax(220px,1fr) 42px minmax(220px,1fr);align-items:end;gap:12px;display:grid}.edit-pairs-card .field{gap:6px}.edit-pairs-card select,.strategy-edit-screen input,.strategy-edit-screen select{min-height:38px}.edit-leg-picker{gap:7px;display:grid}.edit-leg-picker>span,.edit-form-grid .field span,.edit-status-row span,.edit-balance-grid span,.field-hint{color:#a5a99e;font-size:12px}.edit-exchange-card{background:#111b20;border:1px solid #263845;border-radius:7px;grid-template-columns:42px minmax(0,1fr) 28px;align-items:center;gap:10px;min-height:68px;padding:10px;display:grid}.edit-exchange-card>span{color:#fff7e8;background:#211c16;border:1px solid #3f5a66;border-radius:50%;place-items:center;width:40px;height:40px;font-weight:900;display:grid}.edit-exchange-card strong,.edit-exchange-card em{display:block}.edit-exchange-card strong{color:#fff7e8;font-size:16px}.edit-exchange-card em{background:#102d1d;border:1px solid #176c42;border-radius:5px;width:fit-content;margin-top:5px;padding:3px 7px;font-size:12px;font-style:normal}.edit-exchange-card button{color:#d9d5cb;background:0 0;border:0}.edit-route-arrow{color:#f3f0e8;text-align:center;align-self:center;font-size:30px}.edit-reverse-toggle{margin:12px 0 0}.strategy-edit-two-col,.edit-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.edit-form-grid.two{margin-top:10px}.edit-form-grid .field{gap:6px}.field-hint{margin-top:10px}.edit-margin-card{padding-bottom:12px}.edit-card-head{margin-bottom:10px}.edit-card-head h3{margin:0}.edit-card-head button{color:#33f0df;background:0 0;border:0}.edit-margin-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.edit-margin-grid>div>strong{color:#f3f0e8}.edit-side-head{justify-content:space-between;gap:10px}.edit-side-head h3{margin:0}.edit-status-list{gap:0;display:grid}.edit-status-row{border-bottom:1px solid #263845;justify-content:space-between;gap:12px;padding:7px 0;display:flex}.edit-status-row:last-child{border-bottom:0}.edit-status-row strong{color:#f3f0e8;text-align:right}.edit-balance-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.edit-balance-grid>div{background:#111b20;border:1px solid #263845;border-radius:7px;padding:10px}.edit-balance-grid .edit-exchange-card{background:0 0;border:0;min-height:58px;margin-bottom:12px;padding:0}.edit-balance-grid strong,.edit-balance-grid small{margin-top:5px;display:block}.edit-balance-grid strong{color:#fff7e8;font-size:16px}.edit-balance-grid small{color:#a5a99e}.edit-history{border-bottom:1px solid #263845;gap:10px;padding-bottom:12px;display:grid}.edit-history div{grid-template-columns:100px minmax(0,1fr);gap:12px;display:grid}.edit-history span{color:#a5a99e;font-size:12px}.edit-history strong{color:#d9d5cb;font-size:12px;font-weight:500}.text-link-button{color:#33f0df;margin-top:12px;padding:0}.edit-bottom-bar{background:#17150f;border:1px solid #704716;border-radius:8px;padding:12px 16px;position:sticky;bottom:0}.edit-bottom-bar p{color:#d9d5cb;line-height:1.35}.edit-bottom-bar p strong{color:#ffbf43}.edit-bottom-bar>div{gap:10px}.edit-bottom-bar .save-edit-button{color:#fff;background:#0b9d8f;border-color:#0f8f86;min-width:190px;font-weight:800}@media (width<=760px){.strategy-package-panel header,.package-picker-row,.package-import-footer{flex-direction:column;align-items:stretch}}.unit-field{color:#d7d2c7;text-align:center;background:#090b08;border:1px solid #343a30;border-radius:6px;justify-content:center;align-self:end;align-items:center;min-height:38px;padding:9px 10px;font-size:12px;font-weight:600;display:flex}.danger-choice{color:#ffb238;background:#251a0d;border:1px solid #704716;border-radius:8px;align-items:center;gap:8px;min-height:40px;padding:0 10px;display:flex}.danger-outline{color:#ff6a5f;background:#101a20;border:1px solid #6e2626;border-radius:6px;min-height:38px;padding:0 16px}.save-edit-button{color:#fff;background:#0b9d8f;border:1px solid #0f8f86;border-radius:6px;min-width:190px;min-height:38px;padding:0 16px;font-weight:800}.strategy-create-screen{gap:14px}.strategy-create-title{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.strategy-create-title h2{color:#fff7e8;font-size:24px;line-height:1.15}.strategy-create-title p{color:#a5a99e;margin-top:6px}.strategy-create-screen .field{gap:4px}.strategy-create-screen input,.strategy-create-screen textarea,.strategy-create-screen select{padding:7px 9px}.recovery-screen{gap:10px;height:100%;min-height:0;overflow:hidden}.recovery-title-row,.recovery-case-head,.recovery-control-grid{align-items:center;display:flex}.recovery-title-row{justify-content:space-between;gap:18px}.recovery-title-row h2{color:#fff7e8;font-size:24px;line-height:1.14}.recovery-title-row p{color:#a5a99e;margin-top:4px}.recovery-control-grid button{color:#f3f0e8;background:#101a20;border:1px solid #263845;border-radius:6px}.recovery-layout{grid-template-columns:minmax(320px,.35fr) minmax(420px,.65fr);gap:14px;min-height:0;display:grid}.recovery-list-panel,.recovery-case-card{background:#0f171b;border:1px solid #263845;border-radius:8px;min-width:0}.recovery-list-panel{align-content:start;gap:8px;padding:8px;display:grid}.recovery-list-item{text-align:left;background:#101a20;border:1px solid #263845;border-radius:7px;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:82px;padding:10px;display:grid}.recovery-list-item:hover{background:#111f25;border-color:#3d5562}.recovery-empty-state{color:#d7d2c7;grid-column:1/-1;min-height:0;padding:16px;display:block}.recovery-list-item strong,.recovery-list-item small{display:block}.recovery-list-item strong{color:#fff7e8;font-size:14px}.recovery-list-item small{color:#a5a99e;margin-top:4px;font-size:12px;font-style:normal}.recovery-list-item b{color:#f3f0e8;font-size:12px;font-weight:500}.recovery-alert-icon{border-radius:50%;place-items:center;width:24px;height:24px;font-weight:900;display:grid}.recovery-badge{color:#ffb238;white-space:nowrap;background:#2a1b09;border:1px solid #805719;border-radius:5px;width:fit-content;padding:4px 7px;font-size:12px;line-height:1;display:inline-flex}.recovery-case-card{gap:12px;padding:16px;display:grid}.recovery-case-head{grid-template-columns:48px minmax(0,1fr) auto;gap:12px;display:grid}.recovery-case-head strong{color:#fff7e8;font-size:20px}.recovery-case-copy{color:#d7d2c7;margin-top:8px}.recovery-case-head>span{color:#a5a99e;font-size:12px}.unprotected-grid{background:#111b20;border:1px solid #263845;border-radius:8px;grid-template-columns:repeat(3,minmax(0,1fr));display:grid;overflow:hidden}.unprotected-grid>div{border-right:1px solid #263845;padding:14px}.unprotected-grid>div:last-child{border-right:0}.unprotected-grid span{color:#a5a99e;font-style:normal;display:block}.unprotected-grid strong{color:#fff7e8;margin-top:10px;font-size:20px;display:block}.unprotected-grid .danger strong{color:#ff645f}.recovery-advice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.recovery-advice-grid article{background:#171711;border:1px solid #57472a;border-radius:8px;min-height:78px;padding:12px}.recovery-advice-grid span{color:#d8b85a;font-size:12px}.recovery-advice-grid p{color:#c9c5bb;margin-top:8px;line-height:1.35}.recovery-control-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.recovery-control-grid button{min-height:42px}.recovery-timeline{align-content:start;gap:14px;padding-left:16px;display:grid;position:relative}.recovery-timeline:before{content:"";background:#263845;width:1px;position:absolute;top:38px;bottom:10px;left:4px}.recovery-timeline h3{color:#f3f0e8;margin:0 0 4px;font-size:16px}.recovery-timeline div{grid-template-columns:54px minmax(0,1fr);gap:10px;display:grid;position:relative}.recovery-timeline div>span{border-radius:50%;width:9px;height:9px;position:absolute;top:5px;left:-17px}.recovery-timeline em{color:#a5a99e;font-size:12px;font-style:normal}.recovery-timeline strong{color:#d7d2c7;font-size:12px;display:block}*{scrollbar-width:thin;scrollbar-color:#383d33 transparent}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:#383d33 padding-box padding-box;border:2px solid #0000;border-radius:8px}::-webkit-scrollbar-thumb:hover{background:#56604a padding-box padding-box}::-webkit-scrollbar-corner{background:0 0}.position-card,.position-row{min-width:0}.position-row>span,.position-row>strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.position-card header{flex-wrap:wrap}.position-card header b{overflow-wrap:anywhere;min-width:0}.nav .advanced-toggle{white-space:nowrap;min-width:max-content}.nav{flex-wrap:wrap}.setup-bottom-grid{grid-template-columns:minmax(0,1.45fr) minmax(0,.9fr)}.setup-connect-grid>*,.setup-bottom-grid>*,.position-card header{min-width:0}.position-card header strong{overflow-wrap:anywhere;min-width:0}.metric strong,.metric em,.kv strong,.kv span{overflow-wrap:anywhere}.recovery-control-grid,.manual-grid-buttons{flex-wrap:wrap;display:flex}.recovery-control-grid button,.manual-grid-buttons button{min-width:max-content}.setup-bottom-grid .live-panel,.setup-connect-grid .live-panel{min-width:0}.live-summary-card strong,.live-summary-card em,.position-card strong,.position-card p,.exchange-card small,.exchange-card strong,.terminal strong,.terminal em,.terminal b,.terminal small,.terminal td{overflow-wrap:anywhere}.operator-help{vertical-align:middle;flex:0 0 18px;place-items:center;width:18px;height:18px;display:inline-grid;position:relative}.operator-help-trigger{color:#d7f4ff;background:#12222a;border:1px solid #4c5a60;border-radius:50%;place-items:center;width:18px;height:18px;padding:0;font-size:11px;line-height:1;display:inline-grid}.operator-help-trigger:focus-visible{outline-offset:2px;outline:2px solid #86d8ff}.operator-help-tooltip{color:#edf8fb;overflow-wrap:anywhere;white-space:normal;pointer-events:none;background:#0d1a20;border:1px solid #3e5b66;border-radius:6px;width:max-content;max-width:280px;padding:8px 10px;font-size:12px;line-height:1.35;box-shadow:0 14px 38px #00000061}.operator-help-layer{z-index:10000;position:fixed}.operator-help-layer[data-placement=above]{transform:translateY(-100%)}.operator-pager{align-items:center;gap:8px;min-width:0;display:inline-flex}.operator-pager button{color:#e7e2d8;background:#141710;border:1px solid #383d33;border-radius:6px;min-height:30px;padding:5px 9px}.operator-pager span{color:#a5a99e;text-align:center;white-space:nowrap;min-width:46px}.setup-steps-grid{grid-template-columns:1fr}.setup-step-card{grid-template-columns:auto minmax(0,1fr) auto}.setup-step-card *{min-width:0}.connected-exchanges-panel,.first-strategy-panel{grid-template-columns:minmax(0,1fr)}.setup-bottom-grid,.setup-connect-grid,.setup-steps-grid,.setup-status-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}select{max-width:100%}.position-row>span,.position-row>strong{white-space:normal;text-overflow:clip;overflow-wrap:anywhere;overflow:visible}select{min-width:0}.strategy-table-card table{table-layout:fixed;width:100%}.strategy-table-card th,.strategy-table-card td{text-overflow:ellipsis;overflow:hidden}.toggle-inline{min-width:max-content}.strategy-table-card{grid-template-columns:minmax(0,1fr)}.strategy-table-card>*{min-width:0;max-width:100%}.manual-grid-form{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}.toggle-inline{width:max-content;max-width:100%}.strategy-row>*,.strategy-table-head>*{min-width:0}.strategy-row em,.strategy-row strong,.strategy-row small,.strategy-table-head span{overflow-wrap:anywhere}.switch-row{flex-wrap:wrap}.toggle-inline{flex:none}.field,.field>*{min-width:0}.summary-size>div{grid-template-columns:minmax(min-content,1fr) auto auto}.summary-box em,.summary-box strong,.summary-box span{overflow-wrap:anywhere;min-width:0}.toggle-inline input,.field input,.field select{box-sizing:border-box;min-width:0;max-width:100%}.toggle-inline{flex-wrap:wrap;align-items:center;gap:4px 8px;display:flex}.toggle-inline>*{box-sizing:border-box;flex:0 auto;min-width:0;max-width:100%}.field>*{box-sizing:border-box;min-width:0;max-width:100%}.terminal{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(228px,242px) minmax(0,1fr);align-items:stretch;gap:14px;height:100dvh;min-height:0;display:grid;overflow:hidden}.terminal-head{background:0 0;border:0;border-radius:8px;grid-area:1/2;justify-content:flex-end;align-items:center;gap:16px;min-height:72px;padding:0}.terminal-head>div:first-child{display:none}.screen,.notice{grid-area:2/2;min-width:0;min-height:0;overflow:hidden}.nav{border-right:1px solid #263845;flex-flow:column;grid-area:1/1/3;gap:8px;width:228px;height:100%;min-height:0;margin:0;padding:8px 12px 12px 0;display:flex;overflow:hidden}.nav button{text-align:left;align-items:center;gap:10px;min-width:124px;min-height:36px;padding:8px 12px;display:inline-flex}.nav-icon{color:#8fa4b2;place-items:center;width:20px;font-weight:800;display:grid}.nav .advanced-toggle{text-align:center;min-width:118px}.sidebar-brand{gap:4px;margin-bottom:26px;padding:4px 10px 10px 2px;display:grid}.sidebar-brand strong{color:#fff7e8;font-size:24px;line-height:1.1}.sidebar-brand span{color:#a5a99e}.sidebar-spacer{flex:1}.sidebar-status,.sidebar-account{background:#10181c;border:1px solid #263845;border-radius:6px;align-items:center;gap:10px;padding:10px;display:grid}.sidebar-status{grid-template-columns:10px minmax(0,1fr)}.sidebar-account{grid-template-columns:42px minmax(0,1fr)}.sidebar-status>div,.sidebar-account>div{min-width:0}.sidebar-status strong,.sidebar-account strong,.sidebar-account small{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.sidebar-status small{overflow-wrap:anywhere;min-width:0;display:block}.sidebar-account strong{color:#f3f0e8;font-size:14px}.sidebar-account>span{color:#33f0df;background:#082b2e;border:1px solid #0f8f86;border-radius:50%;place-items:center;width:42px;height:42px;font-weight:800;display:grid}.live-dashboard-grid{grid-template-columns:minmax(0,.72fr) minmax(0,1.9fr) minmax(0,.95fr)}.strategies-list-layout{grid-template-columns:minmax(0,1fr) minmax(400px,430px)}.operator-compact-page{grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:0;display:grid;overflow:hidden}.operator-compact-page.strategies-list-screen{grid-template-rows:auto auto minmax(0,1fr)}.manual-grid-layout{grid-template-columns:minmax(0,.48fr) minmax(0,1.22fr) minmax(0,.8fr)}.project-workspace-bar{grid-template-columns:minmax(0,1.2fr) minmax(0,.5fr) minmax(0,.7fr)}.terminal.setup-mode .terminal-head{display:none}.terminal.setup-mode .screen,.terminal.setup-mode .notice{grid-row:1/3}.setup-preparation-screen{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1.05fr) minmax(300px,.95fr);align-content:start;min-width:0;height:100%;min-height:0;overflow:hidden}.setup-preparation-screen>.setup-flow,.setup-preparation-screen>.panel,.setup-preparation-screen>.exchange-keys-panel,.setup-preparation-screen>.telegram-notifications,.setup-preparation-screen>.maker-first-setup{display:none}.setup-preparation-screen .setup-steps-grid,.setup-preparation-screen .setup-status-grid{min-width:0;min-height:0;overflow:hidden}.setup-preparation-screen .setup-status-grid{align-content:start}.setup-preparation-screen .setup-bottom-grid{display:none}.exchanges-screen{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,.48fr) minmax(0,.52fr);align-content:start;min-width:0;height:100%;min-height:0;overflow:hidden}.exchanges-screen .setup-flow{grid-column:1/-1}.exchanges-screen .setup-flow .flow-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.exchanges-screen .panel{align-items:stretch;min-width:0;min-height:0;overflow:hidden}.exchanges-screen .exchange-keys-panel{align-items:stretch;min-width:0;min-height:0;overflow:hidden auto}.exchanges-screen .credential-form{grid-template-columns:repeat(3,minmax(0,1fr))}.exchanges-screen .path-status,.exchanges-screen .telegram-notifications,.exchanges-screen .maker-first-setup{display:none}.settings-workspace-screen{grid-template-rows:minmax(0,1fr);align-content:stretch;gap:8px;min-width:0;height:100%;min-height:0;overflow:hidden}.settings-workspace-screen .project-workspace-bar,.settings-workspace-screen .operator-brief,.settings-workspace-screen .demo-money-banner,.settings-workspace-screen .operator-shell-grid,.settings-workspace-screen .market-board,.settings-workspace-screen .flow-panel,.settings-workspace-screen .maker-first-checklist,.settings-workspace-screen .maker-first-product-workspace,.settings-workspace-screen>:not(.manual-grid-session){display:none}.settings-workspace-screen .manual-grid-session{grid-template-rows:auto minmax(0,1fr);height:100%;min-height:0;display:grid;overflow:hidden}.settings-workspace-screen .manual-grid-layout{grid-template-columns:minmax(230px,.55fr) minmax(0,1.1fr) minmax(320px,.9fr);height:100%;min-height:0;overflow:hidden}.settings-workspace-screen .manual-grid-routes,.settings-workspace-screen .manual-grid-editor,.settings-workspace-screen .manual-grid-status{min-height:0;max-height:100%;padding-right:4px;overflow:auto}.settings-workspace-screen .manual-grid-route{min-height:0;overflow:hidden}.advanced-screen{grid-template-rows:auto minmax(0,1fr);grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0;height:100%;min-height:0;overflow:hidden}.advanced-screen .panel{min-width:0;min-height:0;overflow:hidden}.advanced-screen .packet-strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.advanced-screen .form-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.advanced-screen .packet-strip .metric{min-width:0}.terminal.advanced-mode .sidebar-brand{display:none}.terminal.advanced-mode .nav{overflow:visible}.terminal.advanced-mode .sidebar-spacer,.terminal.advanced-mode .sidebar-status,.terminal.advanced-mode .sidebar-account{display:none}.strategy-create-screen{flex-direction:column;align-content:stretch;min-width:0;height:100%;min-height:0;display:flex;overflow:hidden}.strategy-create-screen>:not(.strategy-create-layout){flex:none}.strategy-create-screen .strategy-create-layout{flex:1 1 0;height:auto;min-height:0;overflow:hidden}.strategy-create-screen .strategy-create-form,.strategy-create-screen .strategy-preview-card{min-height:0;max-height:100%}.strategy-create-screen .strategy-create-form{padding-right:4px;overflow:auto}.strategy-create-screen .strategy-preview-card{position:static;overflow:hidden auto}@media (width<=1500px),(height<=850px){.terminal{grid-template-columns:minmax(214px,226px) minmax(0,1fr);gap:10px;padding:10px}.nav{gap:6px;width:214px}.nav button{min-height:32px;padding:6px 10px}.sidebar-brand{margin-bottom:14px}.sidebar-brand strong{font-size:20px}.strategies-list-layout{grid-template-columns:minmax(0,1fr) minmax(360px,390px)}.live-dashboard,.strategies-list-screen{gap:8px}.demo-money-banner{padding:7px 10px;line-height:1.25}.live-summary-grid,.live-dashboard-grid{gap:8px}.live-summary-card{grid-template-columns:38px minmax(0,1fr);min-height:78px;padding:8px}.live-summary-card strong{font-size:18px}.summary-icon,.coin{width:38px;height:38px}.live-panel,.strategy-card{gap:7px;padding:9px}.strategy-card header strong,.position-card header strong{font-size:16px}.strategy-legs,.strategy-body{gap:6px}.strategy-body{grid-template-columns:repeat(2,minmax(0,1fr))}.strategy-body>div{min-height:48px;padding:6px}.card-block-reason{font-size:12px}.strategy-card footer button{min-height:32px;padding:6px 8px}.strategy-summary-panel{gap:6px;padding:8px}.strategy-summary-panel .summary-box,.strategy-summary-panel .summary-mini-grid{gap:5px}.strategy-summary-panel .summary-box{padding:7px}.strategy-summary-panel .summary-size,.strategy-summary-panel .open-details-button{display:none}.summary-blocker{-webkit-line-clamp:3;max-height:50px}.setup-preparation-screen{grid-template-columns:minmax(0,.68fr) minmax(260px,.32fr);gap:8px}.setup-preparation-screen .setup-title-row{gap:10px}.setup-preparation-screen .setup-title-row h2{font-size:22px}.setup-preparation-screen .setup-title-row p{margin-top:3px;font-size:13px}.setup-preparation-screen .setup-steps-grid,.setup-preparation-screen .setup-status-grid{gap:7px}.setup-preparation-screen .setup-status-grid{grid-template-columns:minmax(0,1fr)}.setup-preparation-screen .setup-step-card,.setup-preparation-screen .setup-info-card{min-height:0;padding:9px}.setup-preparation-screen .setup-step-icon,.setup-preparation-screen .setup-step-card>b{display:none}.setup-preparation-screen .setup-step-card h3,.setup-preparation-screen .setup-info-card h3{font-size:14px}.setup-preparation-screen .setup-step-card p,.setup-preparation-screen .setup-info-card p{max-height:34px;font-size:12px;overflow:hidden}.setup-preparation-screen .setup-step-card button,.setup-preparation-screen .setup-info-card button,.setup-preparation-screen .diagnostics-button{min-height:30px;padding:6px 8px}.exchanges-screen{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr);gap:8px}.exchanges-screen .setup-flow .flow-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.exchanges-screen .flow-step{min-height:0;padding:8px}.exchanges-screen .flow-step small{display:none}.exchanges-screen .panel,.exchanges-screen .exchange-keys-panel{padding:9px}.exchanges-screen .credential-form{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.exchanges-screen textarea{min-height:52px}.terminal.advanced-mode .nav{gap:5px}.terminal.advanced-mode .nav button{min-height:30px;padding:5px 10px}.terminal.advanced-mode .sidebar-status,.terminal.advanced-mode .sidebar-account{padding:8px}.settings-workspace-screen .manual-grid-session{padding:9px}.settings-workspace-screen .manual-grid-layout{grid-template-columns:minmax(245px,.52fr) minmax(0,1fr) minmax(330px,.86fr);gap:8px}.settings-workspace-screen .manual-grid-route,.settings-workspace-screen .setting-field{padding:7px}.settings-workspace-screen .manual-grid-routes>.manual-grid-route{max-height:208px}.settings-workspace-screen .manual-grid-routes>.manual-grid-route small:nth-of-type(n+4){display:none}.settings-workspace-screen .manual-grid-buttons.compact{grid-template-columns:minmax(0,1fr);gap:6px}.settings-workspace-screen .manual-grid-import-box{gap:6px}.settings-workspace-screen .manual-grid-status>.manual-grid-route{max-height:98px}.settings-workspace-screen .manual-grid-status>.manual-grid-route small:nth-of-type(n+2){display:none}.settings-workspace-screen .manual-grid-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.advanced-screen{grid-template-rows:auto minmax(0,1fr);gap:8px}.advanced-screen .panel{padding:9px}.advanced-screen .command-grid button{min-width:120px;min-height:32px;padding:6px 8px}.advanced-screen .packet-strip{gap:7px}.advanced-screen .packet-strip .metric{padding:8px}.advanced-screen .packet-strip .metric strong{font-size:18px}.strategy-create-screen{gap:8px}.strategy-create-screen .strategy-create-title h2{font-size:24px}.strategy-create-screen .strategy-create-title p{margin-top:3px}.strategy-create-screen .strategy-create-layout{grid-template-columns:minmax(0,1fr) minmax(330px,.43fr);gap:8px}.strategy-create-screen .strategy-form-card,.strategy-create-screen .strategy-preview-card{padding:9px}.strategy-create-screen .strategy-create-form{gap:7px}}.terminal:has(.exchanges-screen) .nav{width:100%}.terminal:has(.exchanges-screen) .sidebar-status{box-sizing:border-box;width:100%;min-width:0}.exchanges-screen{color:#e7e2d8;grid-template-rows:auto 280px minmax(0,1fr);grid-template-columns:minmax(440px,520px) minmax(0,1fr);gap:12px;min-width:0;height:100%;min-height:0;font-size:14px;overflow:hidden}.exchanges-title-row{grid-column:1/-1;justify-content:space-between;align-items:center;gap:12px;min-width:0;display:flex}.exchanges-title-row h2{color:#fff7e8;margin:0;font-size:24px}.exchanges-title-row p{color:#a5a99e;margin:2px 0 0;font-size:14px}.exchanges-title-row .pill,.exchange-auth-card .pill,.mexc-web-panel .pill{color:#a5a99e;background:#10130e;border:1px solid #383d33;border-radius:6px;min-width:max-content;padding:5px 9px;font-size:12px}.exchanges-connected-rail{background:#0f171b;border:1px solid #263845;border-radius:8px;grid-area:2/1/4;grid-template-rows:auto auto auto minmax(0,1fr);gap:10px;min-width:0;height:100%;min-height:0;max-height:100%;padding:14px;display:grid;overflow:hidden}.exchanges-connected-rail h2,.exchanges-connected-rail h3,.mexc-web-panel h2,.exchange-keys-panel h2,.exchange-auth-card h3{color:#fff7e8;margin:0;font-size:16px}.exchange-state-cards{font-variant-numeric:tabular-nums;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.exchange-state-cards article{background:#12140f;border:1px solid #2f352b;border-radius:8px;min-width:0;padding:12px}.exchange-state-cards span,.exchange-state-cards strong{display:block}.exchange-state-cards span{color:#a5a99e;white-space:normal;text-overflow:clip;font-size:12px;overflow:visible}.exchange-state-cards strong{color:#e7e2d8;margin-top:4px;font-size:20px}.exchanges-connected-rail .connected-exchange-list{scrollbar-width:thin;scrollbar-color:#3a5965 #0f171b;align-content:start;gap:6px;min-height:0;display:grid;overflow:auto}.exchanges-connected-rail .connected-exchange-list::-webkit-scrollbar{width:10px}.exchange-auth-grid::-webkit-scrollbar{width:10px}.exchanges-connected-rail .connected-exchange-list::-webkit-scrollbar-track{background:#0f171b}.exchange-auth-grid::-webkit-scrollbar-track{background:#0f171b}.exchanges-connected-rail .connected-exchange-list::-webkit-scrollbar-thumb{background:#3a5965;border:2px solid #0f171b;border-radius:99px}.exchange-auth-grid::-webkit-scrollbar-thumb{background:#3a5965;border:2px solid #0f171b;border-radius:99px}.exchanges-connected-rail .connected-exchange{color:#e7e2d8;text-align:left;background:#101a20;border:1px solid #263845;border-radius:7px;grid-template-columns:34px minmax(0,1fr) max-content 12px;align-items:center;gap:8px;width:100%;min-width:0;min-height:58px;padding:9px 12px;display:grid}.exchanges-connected-rail .connected-exchange>span{color:#33f0df;background:#082b2e;border:1px solid #0f8f86;border-radius:50%;place-items:center;width:34px;height:34px;font-size:12px;display:grid}.exchanges-connected-rail .connected-exchange strong,.exchanges-connected-rail .connected-exchange small,.exchanges-connected-rail .connected-exchange em{min-width:0;font-style:normal}.exchanges-connected-rail .connected-exchange strong{white-space:nowrap;text-overflow:clip;display:block;overflow:visible}.exchanges-connected-rail .connected-exchange small{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.exchanges-connected-rail .connected-exchange strong{font-size:14px}.exchanges-connected-rail .connected-exchange small,.exchanges-connected-rail .connected-exchange em{color:#a5a99e;font-size:12px}.exchanges-connected-rail .connected-exchange em{white-space:nowrap;text-overflow:clip;max-width:none;overflow:visible}.exchanges-connected-rail .connected-exchange b{font-size:20px;font-weight:400}.exchanges-screen>.setup-flow,.exchanges-screen>.telegram-notifications,.exchanges-screen>.maker-first-setup{display:none}.mexc-web-panel{background:#0f171b;border:1px solid #263845;border-radius:8px;grid-area:2/2;align-content:start;gap:8px;min-width:0;height:100%;min-height:0;max-height:100%;padding:14px;display:grid;overflow:hidden}.mexc-web-panel .setup-copy{color:#a5a99e;grid-template-columns:max-content minmax(0,1fr);gap:8px;font-size:12px;display:grid}.mexc-web-panel .setup-copy span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mexc-web-panel .credential-form{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.mexc-web-panel .field-wide{grid-column:auto}.mexc-web-panel .field,.exchange-auth-form .field{color:#a5a99e;min-width:0;font-size:12px}.mexc-web-panel input,.mexc-web-panel textarea,.exchange-auth-form input,.exchange-auth-form textarea{box-sizing:border-box;color:#e7e2d8;background:#12140f;border:1px solid #2f352b;border-radius:8px;width:100%;min-width:0;max-width:100%;padding:8px 10px;font-size:14px}.mexc-web-panel textarea,.exchange-auth-form textarea{resize:vertical;min-height:54px}.mexc-web-panel textarea{resize:none;height:34px;min-height:34px}.mexc-web-panel .button-row,.exchange-auth-card .button-row{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.mexc-web-panel button,.exchange-auth-card button{color:#e7e2d8;white-space:nowrap;background:#13242b;border:1px solid #3a5965;border-radius:6px;min-width:max-content;padding:8px 12px;font-size:14px}.mexc-web-panel button.primary,.exchange-auth-card button.primary{color:#33f0df;background:#082b2e;border-color:#0f8f86}.exchange-keys-panel{background:#0f171b;border:1px solid #263845;border-radius:8px;grid-area:3/2;grid-template-rows:none;grid-auto-rows:auto;align-content:start;gap:8px;min-width:0;height:100%;min-height:0;max-height:100%;padding:14px;display:grid;overflow:hidden auto}.exchange-keys-panel>.setup-copy,.exchange-auth-card .setup-copy,.exchange-auth-card small,.exchange-auth-card .save-reason{color:#a5a99e;font-size:12px}.exchange-auth-grid{scrollbar-width:thin;scrollbar-color:#3a5965 #0f171b;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:8px;min-width:0;min-height:0;padding-right:4px;display:grid;overflow:auto}.exchange-auth-card{background:#0f171b;border:1px solid #263845;border-radius:8px;align-content:start;gap:8px;min-width:0;padding:14px;display:grid}.exchange-auth-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.exchange-auth-form .field:has(textarea){grid-column:1/-1}.exchange-auth-card .validation-error,.exchange-auth-card .save-error{color:#ff645f;font-size:12px}.exchange-auth-card .save-success{color:#37e685;font-size:12px}.exchange-auth-card,.exchange-state-cards,.mexc-web-panel{font-variant-numeric:tabular-nums}@media (width<=1500px),(height<=850px){.exchanges-screen{grid-template-rows:auto 310px minmax(0,1fr);grid-template-columns:minmax(340px,360px) minmax(0,1fr);gap:8px}.exchanges-connected-rail,.mexc-web-panel,.exchange-keys-panel,.exchange-auth-card{padding:10px}.exchange-state-cards article{padding:8px}.exchange-state-cards strong{font-size:16px}.exchanges-connected-rail .connected-exchange{min-height:50px;padding:9px 12px}.mexc-web-panel .setup-copy{grid-template-columns:minmax(0,1fr)}.mexc-web-panel textarea,.exchange-auth-form textarea{min-height:46px}}.terminal:has(.live-dashboard) .sidebar-status{width:100%;min-width:0;margin-left:0}.live-dashboard .demo-money-banner{color:#8fa4b2;background:#0f171b;border:1px solid #263845;border-radius:8px;padding:12px 14px;font-size:14px}.live-dashboard .live-summary-card{background:#0f171b;border:1px solid #263845;border-radius:8px;min-height:112px;padding:18px}.live-dashboard .live-summary-card.green,.live-dashboard .live-summary-card.yellow,.live-dashboard .live-summary-card.red{border-color:#263845}.live-dashboard .live-summary-card small{color:#a5a99e;font-size:12px}.live-dashboard .live-summary-card strong{color:#fff7e8;font-variant-numeric:tabular-nums;font-size:20px;font-weight:700}.live-dashboard .live-summary-card em{color:#8fa4b2;font-size:14px}.live-dashboard .summary-icon{color:#33f0df;background:#082b2e;border:1px solid #0f8f86}.live-dashboard .summary-attention.yellow .summary-icon{color:#e2b84c;background:#12140f;border-color:#e2b84c}.live-dashboard .live-panel{background:#0f171b;border:1px solid #263845;border-radius:8px;padding:14px}.live-dashboard .live-panel h2{color:#fff7e8;font-size:20px}.live-dashboard .exchange-card{background:#101a20;border:1px solid #263845;border-radius:7px;padding:9px 12px}.live-dashboard .exchange-card.ready,.live-dashboard .exchange-card.warning,.live-dashboard .exchange-card.danger{border-color:#263845}.live-dashboard .exchange-card>span{color:#33f0df;background:#082b2e;border:1px solid #0f8f86}.live-dashboard .exchange-card strong,.live-dashboard .exchange-card em,.live-dashboard .exchange-card small{overflow-wrap:normal;word-break:normal}.live-dashboard .exchange-card strong{color:#fff7e8;font-size:16px}.live-dashboard .exchange-card em,.live-dashboard .exchange-card small{color:#8fa4b2;font-size:12px}.live-dashboard .strategy-card,.live-dashboard .position-card{background:#0f171b;border:1px solid #263845;border-radius:8px;padding:14px}.live-dashboard .strategy-card.active,.live-dashboard .strategy-card.warning{background:#0f171b}.live-dashboard .strategy-card.active{border-color:#263845}.live-dashboard .strategy-card.warning{border-color:#8d3336}.live-dashboard .strategy-card.warning header b{color:#ff6868;background:#2d1011;border:1px solid #8d3336;border-radius:5px;padding:4px 7px;font-size:12px}.live-dashboard .leg-row,.live-dashboard .strategy-body>div{background:#12140f;border:1px solid #2f352b;border-radius:8px;padding:12px}.live-dashboard .strategy-body strong,.live-dashboard .position-row strong,.live-dashboard .strategy-card footer,.live-dashboard .position-card{font-variant-numeric:tabular-nums}.live-dashboard .strategy-body strong{overflow-wrap:normal;word-break:normal;font-size:14px}.live-dashboard .position-row{grid-template-columns:max-content minmax(0,1fr);align-items:start;display:grid}.live-dashboard .position-row strong{text-align:right;overflow-wrap:break-word;min-width:0}.live-dashboard .card-block-reason{color:#8fa4b2}.live-dashboard .strategy-card.warning .card-block-reason{color:#ff645f}.live-dashboard .strategy-card footer button{color:#e7e2d8;background:#13242b;border:1px solid #3a5965;border-radius:6px;min-width:max-content}.live-dashboard .strategy-card footer .primary.start{color:#33f0df;background:#082b2e;border-color:#0f8f86}.live-dashboard .warnings-panel button{color:#e7e2d8;background:#12140f;border:1px solid #2f352b;border-radius:8px;min-width:max-content}.live-dashboard .strategy-row-progress{background:#33404a;border-radius:99px}.live-dashboard .strategy-row-progress>em{background:#37e685;border-radius:99px}.live-dashboard .operator-help-trigger{font-size:12px}:is(.terminal:has(.strategies-list-screen) .nav,.terminal:has(.strategy-create-screen) .nav){width:100%}:is(.terminal:has(.strategies-list-screen) .sidebar-status,.terminal:has(.strategy-create-screen) .sidebar-status){box-sizing:border-box;width:100%;min-width:0}.strategies-list-screen{color:#e7e2d8;gap:8px;font-size:14px}.strategies-list-screen:has(.strategy-package-panel){grid-template-rows:auto auto auto minmax(0,1fr)}.strategies-list-screen .demo-money-banner{color:#8fa4b2;background:#0f171b;border:1px solid #263845;border-radius:8px;padding:8px 12px;font-size:14px}.strategies-list-title h2,.strategy-create-title h2{color:#fff7e8;margin:0;font-size:24px}.strategies-list-title p,.strategy-create-title p{color:#a5a99e;font-size:14px}.strategy-title-actions button,.strategy-list-tools button,.strategy-summary-head button,.summary-action-grid button,.open-details-button,.strategy-create-actions button{color:#e7e2d8;white-space:nowrap;background:#13242b;border:1px solid #3a5965;border-radius:6px;min-width:max-content;padding:8px 12px;font-size:14px}.strategy-title-actions .create-strategy-button,.strategy-create-actions .create-strategy-button{color:#33f0df;background:#082b2e;border-color:#0f8f86}.strategies-list-layout{grid-template-columns:minmax(0,1fr) minmax(340px,360px);gap:12px;height:100%}.strategies-list-main{gap:8px}.strategy-list-toolbar{align-items:center;gap:8px;display:flex}.strategy-tabs,.strategy-list-tools{flex-wrap:wrap;gap:6px}.strategy-tabs button{color:#a5a99e;background:#10130e;border:1px solid #383d33;border-radius:6px;min-width:max-content;padding:5px 9px;font-size:12px}.strategy-tabs button.active{color:#33f0df;background:#082b2e;border-color:#0f8f86}.strategy-search{background:#141710;border:1px solid #383d33;border-radius:6px;min-height:34px;padding:0 9px}.strategy-search input{color:#e7e2d8;width:180px;min-width:0;font-size:14px}.strategies-list-screen .operator-help-trigger{font-size:12px}.strategy-list-tools button{background:#141710;border-color:#383d33;padding:8px 12px}.strategy-table-card{background:#0f171b;border:1px solid #263845;border-radius:8px}.strategy-table-head,.strategy-row{grid-template-columns:minmax(150px,1.35fr) minmax(100px,.9fr) minmax(60px,.55fr) minmax(70px,.65fr) minmax(100px,.9fr) minmax(70px,.65fr) minmax(0,.95fr) minmax(230px,1.2fr);gap:8px}.strategy-table-head{color:#a5a99e;background:#0f171b;height:40px;padding:0 12px;font-size:12px}.strategy-table-rows{background:#0f171b;grid-auto-rows:min-content;align-content:start}.strategy-row{background:#0f171b;border-top:1px solid #263845;height:auto;min-height:100px;max-height:none;padding:8px 12px;position:relative}.strategy-row.attention{background:#0f171b}.strategy-row.selected,.strategy-row.active{background:#082b2e;border-color:#0f8f86}.strategy-row-name{grid-template-columns:40px minmax(0,1fr);gap:8px}.strategy-row .coin-mark,.strategy-summary-head .coin-mark{color:#33f0df;background:#082b2e;border:1px solid #0f8f86;width:40px;height:40px;font-size:12px}.strategy-row-name strong,.strategy-summary-head strong{color:#fff7e8;font-size:16px}.strategy-row-name span,.strategy-row-name small,.strategy-row-status span,.strategy-row-size span,.strategy-row-plan span,.strategy-row-pnl span,.strategy-row-legs span,.strategy-row-spread em,.strategy-summary-panel small,.strategy-summary-panel em{color:#a5a99e;font-size:12px}.strategy-row-name strong,.strategy-row-name small,.strategy-row-size span,.strategy-row-pnl span,.strategy-row-legs span,.strategy-row-spread em{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.strategy-row-name .strategy-row-route{white-space:normal;overflow-wrap:anywhere;text-overflow:clip;display:block;overflow:visible}.strategy-row-name strong b{white-space:normal;overflow-wrap:anywhere;text-overflow:clip;font-weight:600;line-height:1.25;display:block;overflow:visible}.strategy-row-leg-long{color:#37e685}.strategy-row-leg-short{color:#e2b84c}.strategy-row-card-id{color:#787c72;font-size:11px}.strategy-row-name small.strategy-row-card-id{white-space:normal;overflow-wrap:anywhere;text-overflow:clip;overflow:visible}.strategy-row-legs span.strategy-row-legs-unknown{white-space:normal;text-overflow:clip;line-height:1.3;overflow:visible}.strategy-list-badge{color:#a5a99e;background:#10130e;border:1px solid #383d33;border-radius:6px;padding:5px 9px;font-size:12px}.strategy-list-badge.attention,.strategy-list-badge.yellow{color:#e2b84c;background:#12140f;border-color:#e2b84c}.strategy-list-badge.active,.strategy-list-badge.green{color:#37e685;background:#12140f;border-color:#37e685}.strategy-list-badge.protected,.strategy-list-badge.paused,.strategy-list-badge.locked{color:#a5a99e;background:#10130e;border-color:#383d33}.strategy-row-plan,.strategy-row-size,.strategy-row-pnl,.strategy-row-legs,.strategy-row-spread{font-variant-numeric:tabular-nums;min-width:0}.strategy-row-legs span.yellow{color:#e2b84c}.strategy-row-legs span.locked{color:#787c72}.strategy-row-progress{background:#33404a;border-radius:99px}.strategy-row-progress em,.strategy-row-progress em.waiting,.strategy-row-progress em.paused,.strategy-row-progress em.locked{background:#37e685;border-radius:99px}.strategy-row-progress em.attention,.strategy-row-progress em.yellow{background:#e2b84c}.strategy-row-actions{flex-wrap:wrap;align-items:center;gap:4px;min-width:0;max-width:100%;display:flex;position:relative}.strategy-row-actions .run-control{white-space:normal;overflow-wrap:anywhere;text-align:center;flex:0 auto;min-width:0;max-width:100%}.strategy-row-actions .run-control-icon{flex:none;justify-content:center;align-items:center;width:30px;min-width:30px;max-width:30px;padding:0;display:inline-flex}.strategy-row-actions .run-control-icon-glyph{display:block}.strategy-row-actions .run-control-divider{background:#3a5965;flex:none;width:1px;height:20px;margin:0 3px}.strategy-row-actions .run-start-route{color:#33f0df;background:#082b2e;border-color:#0f8f86}.strategy-row-actions .run-stop-route,.strategy-row-actions .run-pause-route{color:#ffcf7a;background:#281e0a;border-color:#967428}.strategy-row-actions .run-close-now,.strategy-row-actions .run-cancel-stale-order{color:#ffbeb9;background:#281414;border-color:#784646}.strategy-row-run-note{color:#ffcf7a;white-space:normal;text-overflow:clip;flex-basis:100%;min-width:0;max-height:none;font-size:12px;line-height:1.3;overflow:visible}.strategy-row-actions button{color:#e7e2d8;white-space:nowrap;background:#13242b;border:1px solid #3a5965;border-radius:6px;min-width:max-content;min-height:32px;padding:5px 9px;font-size:12px}.strategy-row-actions .start{color:#33f0df;background:#082b2e;border-color:#0f8f86}.strategy-row-actions button:disabled{color:#a5a99e;background:#10130e;border-color:#383d33}.strategy-row-blocker{color:#ff645f;white-space:normal;overflow-wrap:anywhere;flex-basis:100%;grid-column:1/-1;min-width:0;max-height:none;font-size:12px;line-height:1.3;position:static;overflow:visible}.strategy-summary-panel{scrollbar-width:thin;scrollbar-color:#3a5965 #0f171b;background:#0f171b;border:1px solid #263845;border-radius:8px;gap:6px;padding:14px;overflow:auto}.strategy-summary-panel::-webkit-scrollbar{width:10px}.strategy-create-form::-webkit-scrollbar{width:10px}.strategy-summary-panel::-webkit-scrollbar-track{background:#0f171b}.strategy-create-form::-webkit-scrollbar-track{background:#0f171b}.strategy-summary-panel::-webkit-scrollbar-thumb{background:#3a5965;border:2px solid #0f171b;border-radius:99px}.strategy-create-form::-webkit-scrollbar-thumb{background:#3a5965;border:2px solid #0f171b;border-radius:99px}.strategy-summary-head{grid-template-columns:40px minmax(0,1fr) max-content;gap:8px;display:grid}.strategy-summary-head>div,.summary-legs>div,.summary-spread>div,.summary-mini-grid>div{min-width:0}.strategy-summary-head button{padding:5px 9px;font-size:12px}.strategy-summary-panel .summary-box,.strategy-summary-panel .summary-mini-grid>div,.strategy-summary-panel .summary-next{background:#12140f;border:1px solid #2f352b;border-radius:8px;padding:8px}.strategy-summary-panel .summary-box,.strategy-summary-panel .summary-mini-grid{gap:6px}.summary-legs{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-legs em{white-space:normal;overflow-wrap:anywhere;text-overflow:clip;display:block;overflow:visible}.summary-next p,.summary-blocker{white-space:normal;text-overflow:ellipsis;overflow-wrap:anywhere;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.summary-next p{-webkit-line-clamp:2}.summary-spread{grid-template-columns:repeat(3,minmax(0,1fr))}.summary-funding{grid-auto-rows:max-content;gap:6px}.summary-funding-pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.summary-funding-cycle,.summary-funding-note{color:#a5a99e;overflow-wrap:anywhere;font-size:11px}.summary-funding-leg{border-top:1px solid #2f352b;grid-template-columns:minmax(0,1fr) max-content;gap:2px 6px;padding-top:6px;display:grid}.summary-funding-leg>strong,.summary-funding-leg>small{text-overflow:ellipsis;grid-column:1/-1;min-width:0;overflow:hidden}.summary-funding-leg em{color:#a5a99e;font-size:12px}.summary-funding-leg b{color:#fff7e8;text-align:right;overflow-wrap:anywhere;font-size:12px}.summary-funding-leg.yellow>strong{color:#e2b84c}.summary-funding-leg.locked>strong{color:#787c72}.summary-size>div{grid-template-columns:minmax(0,1fr) max-content;gap:6px}.summary-size>div small{white-space:nowrap;text-overflow:ellipsis;grid-column:1/-1;overflow:hidden}.summary-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-action-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.summary-action-grid button{min-width:0;padding:6px;font-size:12px}.strategy-summary-panel .summary-size,.strategy-summary-panel .open-details-button{display:block}.open-details-button{width:100%;font-size:12px}.strategy-list-footer{font-variant-numeric:tabular-nums;min-height:34px;font-size:12px}.strategy-create-screen{color:#e7e2d8;background:#0c0d0b;gap:8px}.strategy-create-screen .strategy-form-card,.strategy-create-screen .strategy-preview-card{background:#0f171b;border:1px solid #263845;border-radius:8px;min-width:0;padding:14px;overflow-x:hidden}.strategy-create-screen .strategy-create-form{scrollbar-width:thin;scrollbar-color:#3a5965 #0f171b}.strategy-create-screen .strategy-form-card h3,.strategy-create-screen .strategy-preview-card h3,.strategy-create-screen .strategy-preview-card h4{color:#fff7e8;font-size:16px}.strategy-create-screen .strategy-form-card h3 span{color:#33f0df;background:#082b2e;border-color:#0f8f86;font-size:12px}.strategy-create-screen .field,.strategy-create-screen small,.strategy-create-screen .strategy-form-card p{color:#a5a99e;font-size:12px}.strategy-create-screen .strategy-wide-setting{grid-column:1/-1}.strategy-create-screen input,.strategy-create-screen textarea,.strategy-create-screen select,.strategy-create-screen .detected-contracts>div,.strategy-create-screen .position-size-summary>div,.strategy-create-screen .preview-table,.strategy-create-screen .preview-risk-table{color:#e7e2d8;background:#12140f;border:1px solid #2f352b;border-radius:8px;min-width:0;font-size:14px}.strategy-create-screen input,.strategy-create-screen textarea,.strategy-create-screen select{box-sizing:border-box;text-overflow:ellipsis;width:100%;max-width:100%;overflow:hidden}.strategy-create-screen .position-size-summary{grid-template-columns:minmax(0,.4fr) minmax(0,1fr);width:100%;min-width:0}.strategy-create-screen .position-size-summary>div,.strategy-create-screen .conditions-grid .field,.strategy-create-screen .conditions-grid .field>span,.strategy-create-screen .preview-legs>div,.strategy-create-screen .preview-legs span{overflow-wrap:anywhere;min-width:0}.strategy-create-screen .size-grid{grid-template-columns:minmax(0,1fr) 54px minmax(0,1fr) 54px}.strategy-create-screen .size-grid .field>span{white-space:normal;overflow-wrap:anywhere}.strategy-create-screen .risk-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.strategy-create-screen .preview-table,.strategy-create-screen .preview-risk-table,.strategy-create-screen .position-size-summary{font-variant-numeric:tabular-nums}@media (width<=1500px),(height<=850px){.strategies-list-layout{grid-template-columns:minmax(0,1fr) minmax(280px,300px)}.strategy-table-card{grid-template-rows:minmax(0,1fr)}.strategy-table-head{display:none}.strategy-table-rows{grid-auto-rows:min-content}.strategy-row{grid-template:"name status spread"minmax(64px,auto)"size plan pnl"40px"actions actions actions"minmax(40px,auto)/minmax(0,1.1fr) minmax(0,.8fr) minmax(0,.8fr);height:auto;min-height:160px;max-height:none}.strategy-row-name{grid-area:name}.strategy-row-status{grid-area:status}.strategy-row-spread{grid-area:spread}.strategy-row-size{grid-area:size}.strategy-row-plan{grid-area:plan}.strategy-row-pnl{grid-area:pnl}.strategy-row-actions{grid-area:actions}.strategy-row-name small:not(.strategy-row-card-id),.strategy-row-name .strategy-row-route,.strategy-row-status span:not(.strategy-list-badge),.strategy-row-size span,.strategy-row-plan span,.strategy-row-pnl span,.strategy-row-legs{display:none}.strategy-row-name small.strategy-row-card-id{display:block}.strategy-row-name strong b{white-space:nowrap;text-overflow:ellipsis;font-size:13px;overflow:hidden}.strategy-row-size strong{display:block}.strategy-summary-panel{padding:10px}.summary-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.strategy-create-screen .strategy-create-layout{grid-template-columns:minmax(0,1fr) minmax(280px,300px)}.strategy-create-screen .size-grid{grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr) 48px}}.exchanges-screen{grid-template-rows:auto minmax(0,1fr)}.exchanges-connected-rail{grid-row:2}.exchange-keys-panel{grid-area:2/2}.exchange-auth-grid{grid-template-columns:minmax(0,1fr)}.exchange-auth-card{box-sizing:border-box;width:100%;max-width:none}.exchanges-connected-rail .connected-exchange[aria-pressed=true]{background:#082b2e;border-color:#0f8f86}.terminal:has(>.notice){grid-template-rows:72px auto minmax(0,1fr)}.terminal:has(>.notice)>.nav{grid-row:1/4}.terminal:has(>.notice)>.notice{white-space:nowrap;text-overflow:ellipsis;grid-area:2/2;min-width:0;margin:0 14px 8px;overflow:hidden}.terminal:has(>.notice)>.screen{grid-row:3}.terminal.setup-mode:has(>.notice){grid-template-rows:auto minmax(0,1fr)}.terminal.setup-mode:has(>.notice)>.notice{grid-row:1;margin-top:10px}.terminal.setup-mode:has(>.notice)>.screen{grid-row:2}.browser-mode-notice{color:#8fa4b2;background:#0f171b;border:1px solid #263845;border-radius:8px;padding:8px 12px;font-size:14px}@media (width<=1500px),(height<=850px){.exchanges-screen{grid-template-rows:auto minmax(0,1fr)}}.recovery-screen{gap:10px;min-width:0;height:100%;min-height:0;overflow:hidden}.recovery-screen.is-empty{grid-template-rows:auto auto minmax(0,1fr)}.recovery-screen.has-items{grid-template-rows:auto minmax(230px,.9fr) minmax(190px,.6fr)}.recovery-title-row h2{color:#fff7e8;font-size:24px}.recovery-title-row p{color:#a5a99e;font-size:14px}.recovery-layout{grid-template-columns:minmax(300px,.38fr) minmax(0,.62fr);min-height:0;overflow:hidden}.recovery-list-panel,.recovery-case-card,.recovery-support-panel{background:#0f171b;border:1px solid #263845;border-radius:8px;min-width:0;min-height:0}.recovery-list-panel,.recovery-case-card{overflow:auto}.recovery-list-item{background:#101a20;border:1px solid #263845;border-radius:7px;padding:9px 12px}.recovery-list-item.selected{background:#2d1011;border-color:#8d3336}.recovery-list-item strong,.recovery-case-head strong{color:#fff7e8}.recovery-list-item small,.recovery-case-copy,.recovery-case-head>span{color:#a5a99e}.recovery-badge{border-radius:5px;padding:4px 7px;font-size:11px}.recovery-badge.critical{color:#ff6868;background:#2d1011;border:1px solid #8d3336}.recovery-badge.warning{color:#e2b84c;background:#2a1e0a;border:1px solid #70541c}.recovery-empty-state{color:#e7e2d8;background:#0f171b;border:1px solid #263845;border-radius:8px;grid-column:1/-1;justify-content:space-between;align-items:center;gap:12px;min-height:44px;max-height:44px;padding:8px 12px;display:flex}.recovery-empty-state.has-reason{flex-wrap:wrap;align-items:flex-start;max-height:none}.recovery-empty-state .recovery-empty-reason{color:#ffb0a8;flex:1 0 100%;margin:6px 0 0;font-size:13px;line-height:1.35}.recovery-empty-state>span,.recovery-empty-actions{align-items:center;gap:8px;min-width:0;display:flex}.recovery-empty-state strong{color:#fff7e8;font-size:14px}.recovery-empty-actions button,.recovery-control-grid button{color:#e7e2d8;background:#13242b;border:1px solid #3a5965;border-radius:6px;min-width:max-content;min-height:32px;padding:5px 9px;font-size:14px}.recovery-empty-actions button:nth-child(2),.recovery-control-grid button:nth-child(2){color:#ff7468;background:#2a1110;border-color:#70302c}.recovery-empty-actions button:disabled,.recovery-control-grid button:disabled{color:#a5a99e;background:#141710;border-color:#383d33}.recovery-support-grid{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:10px;min-width:0;min-height:0;display:grid;overflow:hidden}.recovery-support-panel{grid-template-rows:auto minmax(0,1fr);padding:14px;display:grid;overflow:hidden}.recovery-support-panel .panel-head{margin-bottom:10px}.recovery-position-list,.recovery-table-scroll{min-width:0;min-height:0;overflow:auto}.recovery-position-list{align-content:start;gap:8px;display:grid}.recovery-position-list .position-card{background:#0f171b;border:1px solid #263845;border-radius:8px;min-height:0;padding:14px}.recovery-compact-empty{color:#a5a99e;background:#12140f;border:1px solid #2f352b;border-radius:8px;min-height:44px;padding:12px}.recovery-table-scroll table{font-variant-numeric:tabular-nums}.recovery-table-scroll th,.recovery-table-scroll td{text-align:left;padding:9px 10px}.recovery-table-scroll th{color:#a5a99e;font-size:12px}.recovery-table-scroll td{color:#e7e2d8;border-top:1px solid #263845;font-size:14px}.unprotected-grid,.recovery-advice-grid article{background:#12140f;border-color:#263845}@media (width<=1100px){.recovery-layout,.recovery-support-grid{grid-template-columns:minmax(0,1fr);overflow:auto}.recovery-empty-state{flex-wrap:wrap;max-height:none}}.setup-preparation-screen{grid-template-rows:auto auto minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:10px;min-width:0;height:100%;min-height:0;overflow:hidden}.setup-preparation-screen .setup-title-row{grid-column:1;min-width:0}.setup-preparation-screen .setup-title-row h2{color:#fff7e8;font-size:24px}.setup-preparation-screen .setup-title-row p{color:#a5a99e;margin-top:4px;font-size:14px}.setup-first-run-strip,.setup-compact-panel,.setup-health-strip{background:#0f171b;border:1px solid #263845;border-radius:8px;min-width:0}.setup-first-run-strip{grid-template-rows:auto minmax(0,1fr);gap:8px;padding:10px 12px;display:grid}.setup-first-run-strip>header,.setup-compact-panel>.panel-head{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.setup-first-run-strip h3,.setup-compact-panel h3{color:#fff7e8;margin:0;font-size:16px}.setup-first-run-strip>div{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;min-width:0;display:grid}.setup-first-run-strip article{background:#101a20;border:1px solid #263845;border-radius:7px;grid-template-rows:auto auto;grid-template-columns:28px minmax(0,1fr) max-content;align-items:center;gap:2px 8px;min-width:0;padding:7px 8px;display:grid}.setup-first-run-strip article>span{color:#33f0df;background:#082b2e;border:1px solid #0f8f86;border-radius:999px;grid-row:1/3;place-items:center;width:28px;height:28px;font-size:14px;font-style:normal;display:grid}.setup-first-run-strip article strong{color:#fff7e8;min-width:0;font-size:14px}.setup-first-run-strip article em{color:#a5a99e;white-space:normal;min-width:0;font-size:12px;font-style:normal}.setup-first-run-strip article button,.setup-first-run-strip article .setup-step-state{color:#e7e2d8;background:#13242b;border:1px solid #3a5965;border-radius:6px;grid-area:1/3/3;min-width:max-content;min-height:32px;padding:5px 9px;font-size:12px}.setup-first-run-strip article .setup-step-state{background:0 0;border-style:dashed;place-items:center;font-weight:500;display:grid}.setup-operator-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.15fr) minmax(0,.95fr);gap:10px;min-width:0;min-height:0;display:grid;overflow:hidden}.setup-column{gap:10px;min-width:0;min-height:0;display:grid;overflow:hidden}.setup-column:first-child{grid-template-rows:max-content max-content max-content;align-content:start;overflow-y:auto}.setup-column:nth-child(2){grid-template-rows:auto minmax(140px,200px);align-content:start}.setup-column:nth-child(3){grid-template-rows:auto minmax(140px,240px) minmax(190px,240px);align-content:start}.setup-compact-panel{grid-template-rows:auto minmax(0,1fr) auto;align-content:start;gap:8px;padding:12px;display:grid;overflow:hidden}.setup-compact-panel>.panel-head{margin:0}.setup-check-list{align-content:start;gap:0;min-width:0;min-height:0;display:grid}.setup-check-list>div{border-top:1px solid #263845;grid-template-columns:8px minmax(0,1fr) max-content;align-items:center;gap:8px;min-width:0;min-height:30px;padding:5px 0;display:grid}.setup-check-list>div:first-child{border-top:0}.setup-check-list strong,.setup-check-list em{min-width:0}.setup-check-list strong{color:#e7e2d8;white-space:normal;font-size:14px}.setup-check-list em{color:#a5a99e;white-space:nowrap;font-size:12px;font-style:normal}.setup-readiness-panel .setup-check-list>div{grid-template-columns:8px minmax(130px,.9fr) minmax(0,1.1fr)}.setup-readiness-panel .setup-check-list em{text-align:right;white-space:normal}.setup-scroll-list,.setup-table-scroll{scrollbar-width:thin;scrollbar-color:#3a5965 #0f171b;min-width:0;min-height:0;overflow:auto}.setup-scroll-list::-webkit-scrollbar{width:8px;height:8px}.setup-table-scroll::-webkit-scrollbar{width:8px;height:8px}.setup-scroll-list::-webkit-scrollbar-track{background:#0f171b}.setup-table-scroll::-webkit-scrollbar-track{background:#0f171b}.setup-scroll-list::-webkit-scrollbar-thumb{background:#3a5965;border-radius:99px}.setup-table-scroll::-webkit-scrollbar-thumb{background:#3a5965;border-radius:99px}.setup-kv-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-width:0;display:grid}.setup-kv-grid>span{color:#a5a99e;background:#12140f;border:1px solid #2f352b;border-radius:8px;gap:3px;min-width:0;padding:8px;font-size:12px;display:grid}.setup-kv-grid strong{color:#fff7e8;overflow-wrap:anywhere;white-space:normal;min-width:0;font-size:14px}.setup-inline-action,.setup-inline-actions,.setup-telegram-actions{flex-wrap:wrap;align-items:end;gap:8px;min-width:0;display:flex}.setup-inline-action>label{flex:150px;min-width:0}.setup-inline-action button,.setup-inline-actions button,.setup-telegram-actions button,.setup-first-strategy button{border-radius:6px;min-width:max-content;min-height:32px;padding:5px 9px;font-size:12px}.setup-preparation-screen button{color:#e7e2d8;background:#13242b;border:1px solid #3a5965}.setup-preparation-screen button:disabled{color:#a5a99e;opacity:.55;background:#141710;border-color:#383d33}.setup-preparation-screen .seg.active{color:#33f0df;background:#082b2e;border-color:#0f8f86}.setup-table-scroll table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}.setup-table-scroll th,.setup-table-scroll td{text-align:left;text-overflow:ellipsis;white-space:nowrap;max-width:116px;padding:6px 7px;overflow:hidden}.setup-table-scroll th{color:#a5a99e;font-size:12px;font-weight:500}.setup-table-scroll td{color:#e7e2d8;border-top:1px solid #263845;font-size:12px}.setup-first-strategy{grid-template-rows:auto auto auto}.setup-primary-value{color:#fff7e8;overflow-wrap:anywhere;white-space:normal;min-width:0;font-size:14px}.setup-exchange-list{align-content:start;gap:6px;display:grid}.setup-connected-exchanges{grid-template-rows:auto minmax(0,1fr)}.setup-connected-exchanges .setup-exchange-list{scrollbar-gutter:stable;min-height:0;padding-bottom:4px;padding-right:4px;overflow-y:auto}.setup-exchange-list>button{color:#e7e2d8;text-align:left;background:#101a20;border:1px solid #263845;border-radius:7px;grid-template-columns:28px minmax(0,1fr) max-content;align-items:center;gap:8px;min-width:0;min-height:38px;padding:6px 8px;display:grid}.setup-exchange-list>button>span{color:#33f0df;background:#082b2e;border:1px solid #0f8f86;border-radius:999px;place-items:center;width:28px;height:28px;font-size:12px;display:grid}.setup-exchange-list strong,.setup-exchange-list em{min-width:0}.setup-exchange-list strong{color:#fff7e8;white-space:normal;font-size:14px}.setup-exchange-list em{color:#a5a99e;white-space:nowrap;font-size:12px;font-style:normal}.setup-telegram-panel{grid-template-rows:auto auto minmax(0,1fr)}.setup-telegram-categories{grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:4px 8px;display:grid}.setup-telegram-categories label{color:#e7e2d8;align-items:center;gap:6px;min-width:0;font-size:12px;display:flex}.setup-telegram-categories input{flex:none;width:16px;height:16px;margin:0}.setup-telegram-categories span{white-space:normal;min-width:0}.setup-health-strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:8px 12px;display:grid}.setup-health-strip article{border-right:1px solid #263845;grid-template-columns:8px minmax(0,1fr);gap:2px 8px;min-width:0;display:grid}.setup-health-strip article:last-child{border-right:0}.setup-health-strip article>span{grid-row:1/3;align-self:center}.setup-health-strip small{color:#a5a99e;font-size:12px}.setup-health-strip strong{color:#fff7e8;white-space:normal;min-width:0;font-size:14px}.recovery-position-list .position-row strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}@media (width<=1500px),(height<=850px){.setup-preparation-screen{gap:8px}.setup-first-run-strip,.setup-compact-panel{gap:6px;padding:8px}.setup-first-run-strip>div,.setup-operator-grid,.setup-column,.setup-health-strip{gap:6px}.setup-first-run-strip article{grid-template-columns:24px minmax(0,1fr) max-content;gap:2px 6px;padding:5px 6px}.setup-first-run-strip article>span{width:24px;height:24px;font-size:12px}.setup-first-run-strip article button,.setup-inline-action button,.setup-inline-actions button,.setup-telegram-actions button,.setup-first-strategy button{min-height:28px;padding:4px 7px}.setup-check-list>div{min-height:26px;padding:3px 0}.setup-column:nth-child(2){grid-template-rows:auto minmax(124px,176px)}.setup-column:nth-child(3){grid-template-rows:auto minmax(116px,220px) minmax(172px,270px)}.setup-health-strip{padding:6px 8px}}.settings-consolidated-screen{color:#e7e2d8;grid-template-rows:auto minmax(0,1fr);gap:8px;min-height:0;font-size:14px;display:grid}.settings-shell-head,.settings-pane,.settings-section-panel,.settings-summary-panel,.settings-telegram-summary,.settings-license-summary,.settings-license-activate,.settings-license-lock{min-width:0}.settings-shell-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.settings-shell-title{gap:4px;display:grid}.settings-shell-title h2{color:#fff7e8;margin:0;font-size:24px}.settings-shell-title p{color:#a5a99e;font-size:14px}.settings-subtabs{flex-wrap:wrap;gap:6px}.settings-subtabs .seg,.settings-level-switch .seg,.settings-advanced-layout .seg{color:#a5a99e;background:#141710;border:1px solid #383d33;border-radius:6px;min-width:max-content;padding:8px 12px;font-size:14px}.settings-subtabs .seg.active,.settings-level-switch .seg.active,.settings-advanced-layout .seg.active{color:#33f0df;background:#082b2e;border-color:#0f8f86}.settings-pane{align-content:start;gap:8px;min-height:0;display:grid}.settings-general-pane{grid-template-rows:auto minmax(0,1fr)}.settings-telegram-pane,.settings-license-pane{grid-template-columns:minmax(320px,.9fr) minmax(0,1.1fr);align-items:start}.settings-summary-panel,.settings-telegram-summary,.settings-license-summary,.settings-license-activate,.settings-license-lock,.settings-telegram-controls{background:#0f171b;border:1px solid #263845;border-radius:8px;align-content:start;gap:8px;min-height:0;padding:14px;display:grid}.settings-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.settings-summary-grid article,.settings-link-card{background:#12140f;border:1px solid #2f352b;border-radius:8px;align-content:start;gap:4px;min-width:0;padding:12px;display:grid}.settings-summary-grid span,.settings-link-card em,.settings-field-copy,.settings-link-card a,.settings-license-lock em,.settings-license-summary em,.settings-summary-panel em,.settings-telegram-summary em,.settings-license-activate em{color:#a5a99e;font-size:12px;font-style:normal}.settings-summary-grid strong,.settings-link-card strong,.settings-link-card span{color:#fff7e8;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;min-width:0;font-size:16px}.settings-link-card a{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.settings-inline-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.settings-inline-stats span{color:#a5a99e;background:#12140f;border:1px solid #2f352b;border-radius:8px;gap:4px;min-width:0;padding:10px 12px;font-size:12px;display:grid}.settings-inline-stats strong{color:#fff7e8;font-variant-numeric:tabular-nums;font-size:16px}.settings-inline-stats[data-tone=yellow] span{border-color:#704716}.settings-inline-stats[data-tone=red] span{border-color:#7d2828}.settings-inline-stats[data-tone=locked] span{border-color:#4b4e48}.settings-telegram-manual{background:#12140f;border:1px solid #2f352b;border-radius:8px;gap:8px;min-width:0;padding:12px;display:grid}.settings-step-list{gap:10px;margin:0;padding-left:18px;display:grid}.settings-step-list li{color:#d7d2c7;gap:4px;font-size:14px;line-height:1.35;display:grid}.settings-step-list strong{color:#fff7e8}.settings-step-list span,.settings-step-list a{color:#a5a99e;font-size:12px}.settings-step-list mark{color:#33f0df;background:#082b2e;border:1px solid #0f8f86;border-radius:6px;width:fit-content;padding:2px 6px}.settings-action-link{color:#f3f0e8;background:#101a20;border:1px solid #263845;border-radius:6px;justify-content:center;align-items:center;min-width:max-content;min-height:36px;padding:0 14px;text-decoration:none;display:inline-flex}.settings-sections-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-height:0;display:grid}.settings-field-grid{scrollbar-width:thin;scrollbar-color:#3a5965 #0f171b;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:8px;min-height:0;padding-right:4px;display:grid;overflow:auto}.settings-field-grid::-webkit-scrollbar{width:8px}.settings-field-grid::-webkit-scrollbar-track{background:#0f171b}.settings-field-grid::-webkit-scrollbar-thumb{background:#3a5965;border-radius:99px}.settings-field-head{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.settings-field-head strong{color:#fff7e8;font-size:14px}.settings-field-copy{line-height:1.35}.settings-field-control{grid-template-columns:minmax(0,1fr) max-content;align-items:center;gap:8px;display:grid}.settings-field-control.toggle{grid-template-columns:max-content max-content;justify-content:start}.settings-field-control input,.settings-field-control select{min-width:0}.settings-field-control button,.settings-summary-panel .button-row button,.settings-telegram-summary .button-row button,.settings-license-activate button,.settings-advanced-layout .command-grid button,.settings-support-action-card button,.settings-support-export-row button{min-width:max-content}.settings-field-meta{flex-wrap:wrap;align-items:baseline;gap:4px 10px;display:flex}.settings-telegram-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.settings-telegram-controls{grid-template-rows:auto auto minmax(0,1fr);overflow:hidden}.settings-telegram-toggle-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.settings-toggle-card,.settings-event-row,.settings-telegram-event-panel{background:#12140f;border:1px solid #2f352b;border-radius:8px}.settings-toggle-card{justify-content:space-between;align-items:flex-start;gap:12px;min-width:0;padding:12px;display:flex}.settings-toggle-card-checkbox{grid-template-columns:16px minmax(0,1fr);justify-content:stretch;align-items:start;display:grid}.settings-toggle-copy{gap:4px;min-width:0;display:grid}.settings-toggle-copy strong{color:#fff7e8;font-size:14px}.settings-toggle-copy em{color:#a5a99e;font-size:12px;font-style:normal;line-height:1.35}.settings-toggle-card input,.settings-event-row input{margin:2px 0 0}.settings-telegram-event-panel{align-content:start;gap:8px;min-height:0;padding:12px;display:grid}.settings-telegram-event-panel.is-disabled{opacity:.62}.settings-telegram-event-panel .save-reason{margin:0}.settings-telegram-event-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-height:0;display:grid}.settings-event-row{grid-template-columns:16px minmax(0,1fr);align-items:start;gap:8px;min-width:0;padding:10px 12px;display:grid}.settings-event-row span{color:#fff7e8;font-size:14px;line-height:1.35}.settings-license-pane{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-license-summary{grid-column:1/-1}.settings-advanced-layout{grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:8px;min-height:0;display:grid}.settings-advanced-support{grid-column:1/-1}.settings-advanced-layout .panel{min-height:0}.settings-advanced-copy{color:#a5a99e;margin:0;font-size:12px;line-height:1.35}.settings-support-mode,.settings-support-export-row{background:#12140f;border:1px solid #2f352b;border-radius:8px;align-items:center;gap:12px;min-width:0;padding:12px;display:grid}.settings-support-mode{grid-template-columns:minmax(220px,.85fr) minmax(0,1fr)}.settings-support-export-row{grid-template-columns:minmax(220px,.85fr) minmax(0,1fr) max-content}.settings-support-mode>div:first-child,.settings-support-export-row>div:first-child{gap:4px;display:grid}.settings-support-mode strong,.settings-support-export-row strong,.settings-support-action-card strong{color:#fff7e8;font-size:14px}.settings-support-mode p,.settings-support-export-row p,.settings-support-action-card p{color:#a5a99e;margin:0;font-size:12px;line-height:1.35}.settings-support-action-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.settings-support-action-card{background:#12140f;border:1px solid #2f352b;border-radius:8px;grid-template-columns:minmax(0,1fr) max-content;align-items:center;gap:12px;min-width:0;padding:12px;display:grid}@media (width<=1500px),(height<=920px){.settings-shell-title h2{font-size:20px}.settings-subtabs .seg,.settings-level-switch .seg,.settings-advanced-layout .seg{padding:6px 10px;font-size:12px}.settings-summary-grid,.settings-telegram-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-inline-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.settings-sections-grid,.settings-field-grid{grid-template-columns:minmax(0,1fr)}.settings-telegram-pane{grid-template-columns:minmax(300px,.82fr) minmax(0,1.18fr)}.settings-license-pane,.settings-advanced-layout.advanced-screen{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-support-mode,.settings-support-export-row,.settings-support-action-card,.strategy-rule-row,.strategy-rule-input,.strategy-rule-input.no-unit,.strategy-rule-input.toggle,.strategy-rule-input.toggle.no-unit{grid-template-columns:minmax(0,1fr)}.strategy-rule-unit,.strategy-rule-reset-placeholder{min-width:0}.settings-support-action-list{grid-template-columns:minmax(0,1fr)}.settings-telegram-toggle-grid,.settings-telegram-event-list{grid-template-columns:repeat(2,minmax(0,1fr))}}.profile-disclosure{background:#1c1c18;border:1px solid #3a3a33;border-left-width:4px;border-radius:8px;flex-direction:column;gap:6px;padding:12px 14px;display:flex}.profile-disclosure-locked{border-left-color:#6c7079}.profile-disclosure-yellow{border-left-color:#e0a83c}.profile-disclosure-red{border-left-color:#d9534f}.profile-disclosure-fold>summary{cursor:pointer;list-style:none}.profile-disclosure-fold>summary::-webkit-details-marker{display:none}.profile-disclosure-fold>summary:after{content:"▸";color:#a5a99e;margin-left:auto;font-size:12px}.profile-disclosure-fold[open]>summary:after{content:"▾"}.profile-disclosure-body{flex-direction:column;gap:6px;margin-top:8px;display:flex}.profile-disclosure-head{align-items:center;gap:8px;display:flex}.profile-disclosure-head strong{color:#fff7e8;font-size:15px}.profile-disclosure p{color:#cfd2c8;margin:0;line-height:1.4}.profile-disclosure small{color:#a5a99e;word-break:break-all;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.terminal>.screen-column{flex-direction:column;grid-area:1/2/3;gap:10px;min-width:0;min-height:0;display:flex;overflow:hidden}.terminal>.screen-column>.profile-disclosure{flex:none}.terminal>.screen-column>.screen{flex:auto;min-height:0}.strategy-summary-panel:has([data-truth=safety]){grid-auto-rows:max-content}.strategy-summary-panel .summary-box:has(>[data-truth=safety]){order:-1;grid-auto-rows:max-content;max-height:none;overflow:visible}.strategy-card:has(>[data-truth=safety])>header{order:-2}.strategy-card>[data-truth=safety]{order:-1}@media (width<=1180px){.live-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.screen-column>.operator-action-answer{color:#ead59b;background:#1d1910;border:1px solid #53482d;border-left-width:4px;border-radius:8px;flex:none;align-items:flex-start;gap:10px;min-width:0;max-height:none;padding:10px 12px;display:flex;overflow:visible}.screen-column>.operator-action-answer.refused{color:#f6cdb4;background:#261610;border-color:#8c4a2e #8c4a2e #8c4a2e #d66a3a}.screen-column>.operator-action-answer.done{color:#bae7e2;background:#0a2221;border-color:#1f6058 #1f6058 #1f6058 #0f8f86}.screen-column>.operator-action-answer>.operator-action-answer-text{flex:auto;min-width:0;max-height:none;font-size:14px;line-height:1.45;overflow:visible}.screen-column>.operator-action-answer>.operator-action-answer-dismiss{color:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;padding:2px 8px;font-size:18px;line-height:1.2}.screen-column>.operator-action-answer>.operator-action-answer-dismiss:hover{background:#ffffff14}.strategy-row-plan>.strategy-row-filled{white-space:normal;max-height:none;margin-top:4px;font-size:12px;font-style:normal;line-height:1.35;display:block;overflow:visible}.strategy-row-plan>.strategy-row-filled.confirmed{color:#7ed0c6}.strategy-row-plan>.strategy-row-filled.unconfirmed{color:#d6a86a}.summary-progress>.summary-filled{flex-direction:column;gap:2px;max-height:none;margin-top:6px;display:flex;overflow:visible}.summary-progress>.summary-filled>strong{font-size:13px}.summary-progress>.summary-filled>small{white-space:normal;color:#8fa4b2;max-height:none;font-size:11px;line-height:1.35;overflow:visible}.summary-progress>.summary-filled.confirmed>strong{color:#7ed0c6}.summary-progress>.summary-filled.unconfirmed>strong{color:#d6a86a}.summary-exchange-state>p{overflow-wrap:anywhere;white-space:normal;color:#8fa4b2;max-height:none;margin:6px 0 0;font-size:11px;line-height:1.4;display:block;overflow:visible}.summary-exchange-state>p.open{color:#d6a86a}.summary-exchange-state>p.flat{color:#7ed0c6}.summary-exchange-state>p.unknown{color:#e28282}.summary-exchange-state-ask{white-space:normal;width:100%;min-height:30px;margin-top:8px}.summary-card-detail-asked{overflow-wrap:anywhere;white-space:normal;color:#8fa4b2;margin:4px 0 8px;font-size:11px;line-height:1.4;display:block}.summary-card-detail-leg{background:#101a2280;border:1px solid #263642;border-radius:6px;margin-top:10px;padding:8px}.summary-card-detail-leg>strong{overflow-wrap:anywhere;white-space:normal;color:#e2eef6;font-size:13px;display:block}.summary-card-detail-leg>em{overflow-wrap:anywhere;white-space:normal;color:#8fa4b2;font-size:11px;font-style:normal;display:block}.summary-card-detail-leg>.summary-card-detail-mode{color:#a3b8c6;margin-top:2px;font-size:11px;font-weight:400;display:block}.summary-card-detail-leg.state-open>strong{color:#d6a86a}.summary-card-detail-leg.state-flat>strong{color:#7ed0c6}.summary-card-detail-leg.state-unknown>strong{color:#e28282}.summary-card-detail-leg>dl{margin:8px 0 0;display:block}.summary-card-detail-leg>dl>dt{overflow-wrap:anywhere;white-space:normal;color:#8fa4b2;margin:6px 0 0;font-size:10px;line-height:1.4;display:block}.summary-card-detail-leg>dl>dd{overflow-wrap:anywhere;white-space:normal;color:#e2eef6;max-height:none;margin:0;font-size:11px;line-height:1.4;display:block;overflow:visible}.summary-card-detail-leg>dl>dd.unknown{color:#e28282}.summary-card-detail-leg>dl>dd.origin-computed{color:#a3b8c6}.summary-card-detail-leg>dl>dd.origin-journal{color:#96caa8}.summary-card-detail-chunks{margin-top:10px}.summary-card-detail-chunks>strong,.summary-card-detail-chunks>small,.summary-card-detail-fees{overflow-wrap:anywhere;white-space:normal;max-height:none;line-height:1.4;display:block;overflow:visible}.summary-card-detail-chunks>strong{color:#e2eef6;font-size:12px}.summary-card-detail-chunks>small{color:#8fa4b2;font-size:11px}.summary-card-detail-fees{color:#d6a86a;margin:8px 0 0;font-size:11px}.summary-card-detail-provenance{border-top:1px solid #263642;margin-top:10px;padding-top:8px}.summary-card-detail-provenance>span{color:#a3b8c6;margin-bottom:4px;font-size:11px;display:block}.summary-card-detail-provenance>small{overflow-wrap:anywhere;white-space:normal;color:#7e92a0;max-height:none;margin-top:3px;font-size:10px;line-height:1.45;display:block;overflow:visible}.summary-stuck-intent>p{overflow-wrap:anywhere;white-space:normal;color:#8fa4b2;max-height:none;margin:6px 0 0;font-size:11px;line-height:1.4;display:block;overflow:visible}.summary-stuck-intent>p.resolved{color:#7ed0c6;font-weight:600}.summary-stuck-intent>p.found_on_exchange{color:#d6a86a;font-weight:600}.summary-stuck-intent>p.not_established,.summary-stuck-intent>p.nothing_stuck{color:#e28282;font-weight:600}.summary-stuck-intent-resolve{white-space:normal;width:100%;min-height:30px;margin-top:8px}.strategy-package-answer{color:#e7e2d8;white-space:normal;overflow-wrap:anywhere;background:#141710;border:1px solid #383d33;border-radius:6px;margin:0 0 10px;padding:9px 12px}.strategy-tool-unavailable{align-items:center;display:inline-flex}.strategy-row-round{color:#7ed0c6;white-space:normal;overflow-wrap:anywhere;margin-top:3px;font-size:12px;line-height:1.3;display:block}.summary-round>div{flex-direction:column;gap:2px;display:flex}.summary-round ul{margin:6px 0 0;padding:0;list-style:none}.summary-round li{white-space:normal;overflow-wrap:anywhere;max-height:none;margin-top:3px;font-size:12px;line-height:1.35;overflow:visible}.summary-round li.round-step-done{color:#7ed0c6}.summary-round li.round-step-waiting{color:#a5a99e}.summary-round li.round-step-unknown{color:#d6a86a}.strategy-row-round-money{white-space:normal;overflow-wrap:anywhere;margin-top:3px;font-size:12px;line-height:1.25;display:block}.strategy-row-journal-event{white-space:nowrap;text-overflow:ellipsis;color:#a5a99e;max-width:100%;margin-top:3px;font-size:11px;line-height:1.3;display:block;overflow:hidden}.summary-journal-feed ul{margin:6px 0 0;padding:0;list-style:none}.journal-feed-entry{white-space:normal;overflow-wrap:anywhere;gap:8px;margin-top:3px;font-size:12px;line-height:1.35;display:flex}.journal-feed-entry time{color:#a5a99e;font-variant-numeric:tabular-nums;flex:none}.summary-journal-feed-state{color:#a5a99e;overflow-wrap:anywhere;margin:6px 0 0;font-size:12px;line-height:1.35}.summary-round-money{white-space:normal;overflow-wrap:anywhere;max-height:none;margin-top:6px;font-size:12px;line-height:1.35;overflow:visible}.round-money-ready{color:#7ed0c6}.round-money-empty,.round-money-pending{color:#a5a99e}.round-money-unknown{color:#d6a86a}.round-money-line{justify-content:space-between;gap:12px;display:flex}.round-money-line-label{color:#a5a99e}.round-money-line-value{font-variant-numeric:tabular-nums}.round-money-line-incomplete .round-money-line-reason{color:#d6a86a}@media (width<=900px),(height<=500px){html,body,#root{height:auto;overflow:visible}html{scrollbar-width:none}.terminal{height:auto;min-height:100dvh;display:block;overflow:visible}.terminal>.nav{border-right:0;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));align-items:stretch;gap:6px;width:100%;height:auto;max-height:none;padding:8px;display:grid;overflow:visible}.terminal.advanced-mode>.nav{overflow:visible}.terminal>.nav .sidebar-brand,.terminal>.nav .sidebar-spacer,.terminal>.nav .sidebar-status,.terminal>.nav .sidebar-account{display:none}.terminal>.nav button{white-space:normal;overflow-wrap:anywhere;width:100%;min-width:0;height:auto;min-height:44px;max-height:none}.terminal>.screen-column{overflow:visible}.terminal>.screen-column>.screen,.terminal>.screen,.strategies-list-screen,.exchanges-screen{height:auto;overflow:visible}.live-dashboard,.setup-preparation-screen,.settings-consolidated-screen{grid-template-rows:none;grid-auto-rows:auto;height:auto;overflow:visible}.live-dashboard-grid,.setup-operator-grid,.settings-telegram-pane,.settings-license-pane,.settings-advanced-layout.advanced-screen{grid-template-columns:minmax(0,1fr);height:auto;overflow:visible}.live-dashboard-grid,.setup-operator-grid{grid-template-rows:none;grid-auto-rows:auto}.live-dashboard-grid>*,.setup-column,.setup-compact-panel,.settings-pane{min-width:0;height:auto;overflow:visible}.setup-operator-grid>.setup-column{grid-template-rows:none;grid-auto-rows:auto}.setup-first-run-strip{grid-template-rows:auto auto}.setup-first-run-strip>div,.setup-health-strip,.settings-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.setup-first-run-strip article{grid-template-columns:24px minmax(0,1fr)}.setup-first-run-strip article button,.setup-first-run-strip article .setup-step-state{grid-area:auto/2;justify-self:start}.live-dashboard-grid .exchange-panel,.live-dashboard-grid .strategies-panel,.live-dashboard-grid .active-position-panel,.live-dashboard-grid .warnings-panel,.live-dashboard-grid .right-column{grid-template-rows:none;grid-auto-rows:auto;overflow:visible}.live-dashboard-grid .exchange-page,.live-dashboard-grid .strategy-grid,.live-dashboard-grid .positions-page{max-height:none;overflow:visible}.live-dashboard .warnings-panel button{min-width:0}.live-dashboard .warnings-panel button strong,.live-dashboard .warnings-panel button em{overflow-wrap:break-word;min-width:0}.recovery-screen.is-empty,.recovery-screen.has-items{grid-template-rows:none;grid-auto-rows:auto}.recovery-layout,.recovery-case-card{height:auto;max-height:none;overflow:visible}.recovery-case-card{grid-auto-rows:max-content;align-content:start}.recovery-case-head,.recovery-advice-grid,.recovery-control-grid,.unprotected-grid{grid-template-columns:minmax(0,1fr);display:grid}.unprotected-grid{min-height:min-content}.recovery-case-head>*,.recovery-advice-grid article{min-width:0}.recovery-case-head strong,.recovery-case-head>span,.recovery-advice-grid p{white-space:normal;overflow-wrap:anywhere}.recovery-control-grid button{white-space:normal;overflow-wrap:anywhere;width:100%;min-width:0;min-height:44px}.history-screen .panel-head{flex-wrap:wrap}.history-screen .positions-scroll{max-width:100%;overflow-x:auto}.history-screen .positions-scroll table{table-layout:auto;min-width:1280px}.recovery-table-scroll table{table-layout:auto;min-width:720px}.history-screen .positions-scroll th,.recovery-table-scroll th{white-space:nowrap;word-break:normal}.settings-pane>*,.settings-toggle-card,.settings-event-row{min-width:0}.strategy-row-menu{max-width:100%}.strategy-row-menu>summary{min-height:40px}.strategy-row-menu-items{grid-template-columns:minmax(0,1fr);width:auto;min-width:0;max-width:none;max-height:min(70vh,420px);position:fixed;inset:auto 12px 12px;overflow-y:auto}.strategy-row-menu-items button{white-space:normal;min-width:0;min-height:44px}.live-dashboard .strategy-card header{flex-wrap:wrap}.live-dashboard .strategy-card-route-id,.live-dashboard .strategy-card-pair{text-overflow:clip;white-space:normal;overflow-wrap:anywhere;min-width:0;overflow:visible}.live-dashboard .strategy-card footer button{white-space:normal;min-width:0}.terminal:has(>.notice)>.notice{white-space:normal;margin:8px 0;overflow:visible}:is(.strategies-list-screen,.strategies-list-screen:has(.strategy-package-panel)){grid-template-rows:auto}.strategies-list-layout,.exchanges-screen{grid-template-columns:minmax(0,1fr);height:auto}.strategy-table-card{grid-template-rows:auto}.strategy-table-rows,.strategy-summary-panel{overflow:visible}.strategy-row{grid-template-rows:none;grid-template-columns:minmax(0,1fr);grid-template-areas:"name""status""spread""size""plan""pnl""actions";grid-auto-rows:auto;align-items:start;min-height:0}.strategy-row-name small.strategy-row-card-id{display:block}.strategy-row-actions button:not(.run-control-icon){white-space:normal;overflow-wrap:anywhere;min-width:0;max-width:100%}.exchanges-title-row{flex-wrap:wrap}.exchanges-title-row>div{min-width:0;max-width:100%}.exchanges-title-row p,.exchanges-connected-rail .connected-exchange strong{white-space:normal;overflow-wrap:anywhere}.exchanges-screen{grid-template-rows:none;grid-auto-rows:auto}.exchanges-connected-rail,.exchange-keys-panel,.mexc-web-panel{grid-area:auto/1;height:auto;max-height:none}.exchanges-connected-rail{grid-template-rows:none;grid-auto-rows:auto}.exchanges-connected-rail .connected-exchange-list{max-height:240px}.exchanges-connected-rail .connected-exchange{grid-template-columns:34px minmax(0,1fr) auto 12px}.exchanges-connected-rail .connected-exchange em{white-space:normal;overflow-wrap:anywhere}.exchange-state-cards{grid-template-columns:minmax(0,1fr)}}.history-screen{display:block;overflow:auto}.history-screen>.panel+.panel{margin-top:10px}.history-story{overflow-wrap:anywhere}.history-filters{flex-wrap:wrap;align-items:end;gap:12px;margin:16px 0;display:flex}.history-filters label{flex:160px;gap:6px;min-width:0;display:grid}.history-filters input,.history-filters select{width:100%;min-width:0}.history-filters .history-no-fill{flex:0 230px;align-items:center;min-height:38px;display:flex}.history-no-fill input{width:auto}.history-virtual-scroll{height:600px;max-height:65vh;position:relative;overflow:auto}.history-table{table-layout:fixed;border-collapse:collapse;width:4200px}.history-table th{z-index:1;background:var(--panel,#151c29);height:56px;position:sticky;top:0}.history-table th button{white-space:normal;text-align:left;width:100%}.history-table tbody tr[data-history-row]{height:72px}.history-table td{vertical-align:middle;padding:8px 12px}.history-cell{white-space:pre-line;overflow-wrap:anywhere;max-height:48px;line-height:24px;overflow:hidden}.history-table .history-spacer td{border:0;padding:0}.history-round-details{border-top:1px solid var(--border,#334155);margin-top:20px;padding-top:16px}.history-round-details dl{grid-template-columns:minmax(130px,200px) minmax(0,1fr);gap:8px 16px;display:grid}.history-round-details dt{font-weight:600}.history-round-details dd{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.history-detail-legs{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;display:grid}.history-detail-legs article{border:1px solid var(--border,#334155);border-radius:8px;padding:12px}.history-detail-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.history-round-journal{overflow-wrap:anywhere;max-height:400px;overflow:auto}.history-position p,.history-round-details p{overflow-wrap:anywhere}@media (width<=480px){.live-summary-grid,.setup-first-run-strip>div,.setup-health-strip,.settings-summary-grid,.settings-telegram-stats,.settings-telegram-toggle-grid,.settings-telegram-event-list,.settings-inline-stats{grid-template-columns:minmax(0,1fr)}.settings-pane .panel-head{flex-wrap:wrap}}.web-p0-wizard [hidden]{display:none!important}.web-p0-wizard .strategy-create-layout{display:block}.web-p0-wizard .strategy-create-form,.web-p0-wizard .strategy-preview-card{width:100%;min-width:0;height:100%}.web-p0-wizard .strategy-form-card h3>span{display:none}.web-p0-wizard-steps{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0;display:grid}.web-p0-wizard-steps button{text-align:left;white-space:normal;color:#e7e7dd;min-width:0;font:inherit;background:#0e171b;border:1px solid #31444b;border-radius:6px;align-items:center;gap:8px;padding:10px;display:flex}.web-p0-wizard-steps button[aria-current=step]{color:#33f0df;border-color:#33f0df}.web-p0-wizard-steps button>span{flex:none}.web-p0-wizard-controls{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding-top:12px;display:flex}.web-p0-wizard-controls button,.web-p0-field-error{color:#e7e7dd;font:inherit;background:#0e171b;border:1px solid #31444b;border-radius:6px;padding:8px 12px}.web-p0-quote-summary p{overflow-wrap:anywhere;margin:8px 0}.web-p0-field-error{white-space:normal;text-align:left;color:#f4ac9e;overflow-wrap:anywhere}@media (width<=600px){.web-p0-wizard-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.web-p0-wizard .strategy-create-title{flex-direction:column;align-items:stretch}.web-p0-wizard .strategy-create-actions{flex-wrap:wrap}.web-p0-wizard .strategy-create-layout{flex:none;min-height:320px;overflow:visible}.web-p0-wizard .strategy-create-form,.web-p0-wizard .strategy-preview-card{height:auto;max-height:none;overflow:visible}.web-p0-wizard .strategy-create-form{display:block}.web-p0-wizard .two-col-form,.web-p0-wizard .size-grid,.web-p0-wizard .conditions-grid,.web-p0-wizard .risk-grid{grid-template-columns:minmax(0,1fr)}}.web-p0-readiness{border:1px solid var(--border);text-align:left;border-radius:10px;padding:12px}.web-p0-readiness dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0;display:grid}.web-p0-readiness dt,.web-p0-readiness dd{overflow-wrap:anywhere;margin:0}.web-p0-readiness [data-readiness=UNKNOWN] dd{color:var(--muted)}.web-p0-readiness [data-readiness=BLOCKED] dd{color:#ffb46a}.web-p0-readiness [data-readiness=READY] dd{color:#71d9a0}.web-p0-readiness p{white-space:normal;overflow-wrap:anywhere}.web-p0-readiness button{white-space:normal;max-width:100%}.web-p0-leg-status{border:1px solid var(--border);border-radius:8px;margin:10px 0;padding:10px}.web-p0-leg-status strong,.web-p0-leg-status small{white-space:normal;overflow-wrap:anywhere;display:block}.web-p0-leg-status dl{display:block}.web-p0-leg-status dt{color:var(--muted);margin-top:8px}.web-p0-leg-status dd{white-space:normal;overflow-wrap:anywhere;margin:0}.web-p0-leg-status p{white-space:normal;overflow-wrap:anywhere}.web-p0-direction-column{min-width:0}.web-p0-active-overview{margin-bottom:12px}.web-p0-active-overview article{border-top:1px solid var(--border);padding:12px 0}.web-p0-active-overview article>strong,.web-p0-active-overview article>small,.web-p0-active-overview article>b,.web-p0-active-overview p span{display:block}.web-p0-active-overview article,.web-p0-active-overview p,.web-p0-active-overview span,.web-p0-active-overview strong,.web-p0-active-overview small{white-space:normal;overflow-wrap:anywhere;text-overflow:clip;min-width:0;overflow:visible}.web-p0-active-overview small{color:var(--muted)}.web-p0-active-overview button{white-space:normal;max-width:100%}.web-p0-dashboard-details>summary{cursor:pointer;padding:12px}.strategy-row-name strong,.strategy-row-name strong b,.strategy-row-name .web-p0-full-symbols,.strategy-row-name .web-p0-full-symbols span{white-space:normal;overflow-wrap:anywhere;text-overflow:clip;max-height:none;display:block;overflow:visible}.strategy-row-name .web-p0-full-symbols{color:var(--muted);font-size:12px}.strategy-row{align-items:start;height:auto;min-height:100px}.strategy-row-name{min-width:0;overflow:visible}.summary-card-detail-leg>strong,.summary-card-detail-leg>em,.strategy-legs .leg-row strong,.strategy-card-pair{white-space:normal;overflow-wrap:anywhere;text-overflow:clip;overflow:visible}.web-p0-active-overview button,.web-p0-readiness button{color:#dce8e4;font:inherit;background:#18302e;border:1px solid #355b54;border-radius:8px;padding:8px 12px}.web-p1-fact-group{border-top:1px solid var(--border);margin-top:12px;padding-top:10px}.web-p1-fact-group h4{color:var(--muted);margin:0 0 8px;font-size:12px}.web-p1-fact-group[data-origin=unknown]{border-left:3px solid #c79958;padding-left:10px}.web-p1-fact-group[data-origin=computed] h4{color:#c79958}.web-p1-fact-group dt,.web-p1-fact-group dd,.summary-card-detail-fees,.summary-card-detail-provenance small{white-space:normal;overflow-wrap:anywhere}.summary-funding-leg b,.summary-funding-cycle,.summary-funding-note{white-space:normal;overflow-wrap:anywhere;overflow:visible}.web-p1-history-context{border:1px solid var(--border);background:var(--panel);border-radius:10px;margin:12px 0;padding:12px 16px}.web-p1-history-context[data-history-source=received-only]{border-left:3px solid #c79958}.web-p1-history-context p,.web-p1-history-context small{color:var(--muted);white-space:normal;overflow-wrap:anywhere;margin:6px 0 0}.web-p1-history-money{border:1px solid var(--border);border-radius:10px;grid-template-columns:minmax(120px,1fr) minmax(0,2fr);gap:8px 14px;padding:12px;display:grid}.web-p1-history-money dd{white-space:normal;overflow-wrap:anywhere;margin:0}.web-p1-history-money [data-money-state=unknown]{color:#c79958}@media (width<=600px){.web-p1-history-money{grid-template-columns:1fr}.web-p1-history-money dt{color:var(--muted);font-size:12px}}.web-p1-connections{grid-column:1/-1;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:12px;margin:12px 0;display:grid}.web-p1-connections article,.web-p1-notification-summary{border:1px solid var(--border);background:var(--panel);border-radius:10px;min-width:0;padding:14px}.web-p1-connections h3{margin:0 0 10px}.web-p1-connections dl{gap:4px;margin:0;display:grid}.web-p1-connections dt{color:var(--muted);font-size:12px}.web-p1-connections dd{margin:0 0 6px}.web-p1-connections p,.web-p1-connections dd,.web-p1-notification-summary p{white-space:normal;overflow-wrap:anywhere}.web-p1-connections [data-connection-tone=red]{border-left:3px solid #bf6767}.web-p1-notification-summary{margin:12px 0}
