:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#edf1f3;color:#132029;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select{font:inherit}button{border:0;cursor:pointer}button:disabled{cursor:wait;opacity:.58}a{color:inherit;text-decoration:none}h1,h2,p{margin:0}.landing{min-height:100vh;display:grid;grid-template-columns:minmax(0,1fr) 430px;gap:28px;align-items:center;width:min(1120px,calc(100vw - 32px));margin:0 auto;padding:28px 0}.landing-copy{min-height:560px;display:flex;flex-direction:column;justify-content:center;position:relative;padding-right:24px}.eyebrow{display:inline-flex;align-items:center;width:fit-content;min-height:30px;padding:0 10px;border:1px solid #cdd7dd;border-radius:8px;color:#0c6a55;background:#f8fafb;font-size:12px;font-weight:700;letter-spacing:0;text-transform:uppercase}.landing h1{max-width:760px;margin-top:16px;font-size:54px;line-height:1}.landing p{max-width:620px;margin-top:16px;color:#5d6b75;font-size:18px;line-height:1.55}.landing-benefits{display:flex;flex-wrap:wrap;gap:8px;max-width:640px;margin-top:22px}.landing-benefits span{min-height:34px;display:inline-flex;align-items:center;padding:0 11px;border:1px solid #cdd7dd;border-radius:8px;background:#fff;color:#132029;font-size:13px;font-weight:700}.landing-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}.landing-actions a,.landing-actions button,.primary-wide,.quick-actions button,.icon-button{min-height:42px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 14px;background:#132029;color:#fff;font-weight:700}.landing-actions .plain,.quick-actions .secondary,.secondary,.icon-button.ghost{background:#fff;color:#132029;border:1px solid #cdd7dd}.landing-actions .demo-link{background:#0c6a55}.landing-actions .register-action{background:#0c6a55;border-color:#0c6a55;color:#fff}.landing-channel{width:fit-content;min-height:36px;display:inline-flex;align-items:center;gap:8px;margin-top:18px;color:#0c6a55;font-size:14px;font-weight:800}.landing-channel svg{flex:0 0 auto}.demo-wide{width:100%}.demo-guard-field{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.landing-safety-note{grid-column:1 / -1;padding:12px 14px;border:1px solid #e3c6a1;border-radius:8px;background:#fff4e4;color:#6b4518;font-size:13px;font-weight:700;line-height:1.45}.login-panel,.panel,.trade-status,.metric-card{border:1px solid #cdd7dd;background:#fff;border-radius:8px}.login-panel{display:grid;gap:14px;padding:18px}.login-head,.panel-title,.app-topbar,.topbar-actions,.trade-status-head,.quick-actions,.captcha-row,.invite-row{display:flex;align-items:center}.login-head{gap:10px}.login-head p,.muted{color:#66747d;font-size:13px}.auth-switch{width:fit-content;min-height:34px;justify-self:center;padding:0;border:0;background:transparent;color:#0c6a55;font-weight:800}.registration-disclaimer{display:grid;gap:10px;padding:12px;border:1px solid #e3c6a1;border-radius:8px;background:#fff8ed;color:#5d3710}.registration-disclaimer strong{color:#132029}.registration-disclaimer ul{display:grid;gap:6px;margin:0;padding-left:18px;font-size:13px;line-height:1.35}.disclaimer-check{display:flex;align-items:flex-start;gap:8px;color:#132029;font-weight:800;line-height:1.35}.disclaimer-check input{width:16px;height:16px;min-height:16px;flex:0 0 auto;margin-top:1px}label{display:grid;gap:6px;color:#5d6b75;font-size:13px}input,select{width:100%;min-height:42px;border:1px solid #c4d0d7;border-radius:8px;padding:0 11px;background:#f8fafb;color:#132029}input:focus,select:focus{outline:2px solid #8ac5b9;border-color:#0c6a55}.captcha-row{gap:8px}.captcha-row .icon-button{flex:0 0 42px;padding:0}.app-shell{width:min(1220px,calc(100vw - 32px));margin:0 auto;padding:22px 0 40px}.app-topbar{justify-content:space-between;gap:16px;margin-bottom:14px}.app-topbar h1{margin-top:8px;font-size:32px;line-height:1.05}.app-topbar p{margin-top:5px;color:#66747d}.topbar-actions{gap:8px}.app-nav{position:sticky;top:10px;z-index:30;display:flex;flex-wrap:nowrap;gap:8px;margin-bottom:14px;padding:8px;overflow-x:auto;border:1px solid #cdd7dd;border-radius:8px;background:#fff;box-shadow:0 10px 24px #13202914;scrollbar-width:thin}.app-nav button{flex:0 0 auto;min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 12px;border-radius:8px;background:#f8fafb;color:#132029;font-weight:800;white-space:nowrap}.app-nav button.active{background:#132029;color:#fff}.icon-button{width:42px;padding:0}.notice{margin:0 0 14px;padding:12px 14px;border-radius:8px;border:1px solid #b6ddc8;background:#e8f7ee;color:#10583d}.notice.error{border-color:#ebb7b7;background:#fdecec;color:#842020}.form-hint{margin-top:-4px;color:#87500f;font-size:12px}.mode-sections,.tool-grid,.settings-grid,.aggregate-grid{display:grid;gap:14px;margin-bottom:14px}.aggregate-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.mode-sections{grid-template-columns:1fr}.collapsible-section{min-width:0;display:grid;gap:8px}.collapsible-head{width:100%;min-width:0;min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #cdd7dd;border-radius:8px;background:#fff;color:#132029;text-align:left}.collapsible-head div{min-width:0;display:grid;gap:3px}.collapsible-head span{color:#0c6a55;font-size:12px;font-weight:800;letter-spacing:0;text-transform:uppercase}.collapsible-head p{color:#66747d;font-size:13px;line-height:1.35}.collapsible-head svg{flex:0 0 auto;color:#0c6a55;transition:transform .16s ease}.collapsible-section:not(.collapsed) .collapsible-head svg{transform:rotate(180deg)}.collapsible-body{min-width:0;display:grid;gap:8px}.tool-grid,.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-main,.settings-page,.module-page{display:grid;gap:14px;margin-bottom:14px}.settings-page-head,.module-page-head{display:grid;gap:8px;padding:16px;border:1px solid #cdd7dd;border-radius:8px;background:#fff}.settings-page-head h2,.module-page-head h2{font-size:28px;line-height:1.1}.settings-page-head p,.module-page-head p{max-width:760px;color:#66747d;line-height:1.45}.module-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:14px;align-items:start}.module-grid>*{min-width:0}.backtest-collapsible,.backtest-panel,.ranking-panel{grid-column:1 / -1}.mode-panel{display:grid;gap:14px;min-width:0;overflow:hidden;padding:16px;border:1px solid #cdd7dd;border-radius:8px}.mode-panel.live{background:#17252f;border-color:#17252f;color:#fff}.mode-panel.testnet{background:#fff}.aggregate-card{display:grid;grid-template-columns:1fr;gap:12px;align-items:start;align-self:start;min-width:0;overflow:hidden;padding:14px;border:1px solid #cdd7dd;border-radius:8px;background:#fff}.aggregate-card.live{color:#fff;background:#17252f;border-color:#17252f}.aggregate-card h2{margin-top:6px;font-size:42px;line-height:1}.aggregate-card p{margin-top:4px;color:#66747d;font-size:13px}.aggregate-card.live p,.aggregate-card.live .mode-kicker{color:#9fb4c1}.aggregate-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-width:0}.aggregate-metric-tile{min-width:0;min-height:92px;display:flex;flex-direction:column;justify-content:center;gap:8px;padding:10px;border:1px solid #dbe3e7;border-radius:8px;background:#f8fafb;overflow:hidden}.aggregate-card.live .aggregate-metric-tile{border-color:#2e4554;background:#203441}.aggregate-metric-tile span{color:#66747d;font-size:12px;line-height:1.25}.aggregate-card.live .aggregate-metric-tile span{color:#9fb4c1}.aggregate-metric-tile strong{min-width:0;overflow:hidden;text-overflow:clip;white-space:nowrap;font-size:18px;line-height:1.15}.running-column{display:grid;grid-template-columns:190px minmax(0,1fr);gap:14px;align-items:start;min-width:0;overflow:visible;margin-bottom:14px;padding:14px;border:1px solid #cdd7dd;border-radius:8px;background:#fff}.running-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.running-head h2{margin-top:6px;font-size:42px;line-height:1}.running-head p{margin:6px 0 0;color:#66747d;font-size:12px;font-weight:800}.running-head svg{color:#0c6a55}.running-controls{display:inline-flex;align-items:center;gap:6px;min-width:max-content}.running-controls span{color:#66747d;font-size:13px;font-weight:800;white-space:nowrap}.running-controls .icon-button{width:34px;min-height:34px}.running-controls .icon-button:disabled{opacity:.45;cursor:not-allowed}.running-list{display:flex;flex-wrap:wrap;gap:8px;min-height:0;min-width:0}.running-row{flex:0 1 280px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:9px;align-items:center;min-width:0;min-height:54px;padding:8px;border:1px solid #dbe3e7;border-radius:8px;background:#f8fafb}.running-list>.muted{width:100%}.running-row div{min-width:0;display:grid;gap:2px}.running-row strong,.running-row small{min-width:0;overflow-wrap:anywhere}.running-row small{color:#66747d;font-size:12px}.running-row b{white-space:nowrap}.mode-badge{min-height:26px;display:inline-flex;align-items:center;padding:0 8px;border-radius:8px;font-size:11px;font-weight:800;white-space:nowrap}.mode-badge.live{color:#fff;background:#17252f}.mode-badge.testnet{color:#10583d;background:#e8f7ee}.mode-badge.paper{color:#714411;background:#f7efe5}.mode-panel-head,.mode-metrics,.paper-summary{display:grid;gap:10px}.mode-panel-head{grid-template-columns:minmax(0,1fr) auto;align-items:start}.mode-panel-head .status-dot{flex-shrink:0}.mode-kicker{color:#66747d;font-size:12px;font-weight:700;text-transform:uppercase}.mode-panel.live .mode-kicker{color:#9fb4c1}.mode-panel h2{margin-top:5px;font-size:30px;line-height:1.05;overflow-wrap:anywhere}.mode-metrics,.paper-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.paper-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.mode-metric{min-width:0;display:grid;gap:6px;padding:10px;border:1px solid #dbe3e7;border-radius:8px;background:#f8fafb}.mode-panel.live .mode-metric{border-color:#2e4554;background:#203441}.mode-metric span,.field-label{display:inline-flex;align-items:center;gap:5px}.mode-metric span{color:#66747d;font-size:12px}.mode-panel.live .mode-metric span{color:#9fb4c1}.mode-metric strong{min-width:0;overflow-wrap:anywhere;font-size:18px}.mode-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mode-panel.live .detail-row{border-color:#2e4554;background:#203441}.mode-panel.live .detail-row span{color:#9fb4c1}.mode-panel.live .status-dot{background:#2e4554;color:#d7e4ea}.mode-panel.live .status-dot.active{background:#e9f6ee;color:#10583d}.mode-warning{margin:0;padding:10px;border-radius:8px;background:#f7efe5;color:#714411;font-size:13px;line-height:1.35}.mode-panel.live .mode-warning{background:#f6e6d2}.paper-box{display:grid;gap:12px}.block-launcher{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,auto);gap:10px;align-items:end;min-width:0;padding:10px;border:1px solid #dbe3e7;border-radius:8px;background:#f8fafb}.mode-panel.live .block-launcher{border-color:#2e4554;background:#203441}.block-launcher button,.stop-block-button{min-height:42px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 14px;font-weight:700;white-space:nowrap}.block-launcher button{background:#0c6a55;color:#fff}.launch-settings{grid-column:1 / -1;display:grid;gap:12px;min-width:0;padding-top:10px;border-top:1px solid #dbe3e7}.mode-panel.live .launch-settings{border-top-color:#2e4554}.launch-settings-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.launch-settings-head div{display:grid;gap:3px;min-width:0}.launch-settings-head strong{font-size:15px}.launch-settings-head span{color:#66747d;font-size:12px;line-height:1.35}.mode-panel.live .launch-settings-head span{color:#9fb4c1}.compact-button{min-height:34px;padding:0 10px}.launch-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.strategy-config-details{display:grid;gap:10px}.strategy-config-details summary{cursor:pointer;color:#0c6a55;font-size:13px;font-weight:800}.toggle-field{min-height:42px;display:flex;align-items:center;gap:9px;padding:9px 10px;border:1px solid #cdd7dd;border-radius:8px;background:#fff;color:#132029;font-weight:800}.toggle-field input{width:16px;height:16px}.mode-panel.live .toggle-field{border-color:#2e4554;background:#17252f;color:#fff}.algo-block-list{display:grid;gap:8px}.block-list-toolbar,.pager{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0 8px}.block-list-toolbar select{max-width:180px}.pager{justify-content:flex-end}.pager span{color:#66747d;font-size:13px;font-weight:800}.algo-block{display:grid;grid-template-columns:minmax(160px,.9fr) minmax(0,2.6fr) 126px;gap:8px;align-items:center;min-width:0;min-height:58px;overflow:hidden;padding:7px 8px;border:1px solid #dbe3e7;border-radius:8px;background:#fff}.mode-panel.live .algo-block{border-color:#2e4554;background:#203441}.algo-block-main{display:flex;justify-content:space-between;gap:8px;align-items:center;min-width:0}.algo-block-main div{min-width:0;display:grid;gap:3px}.algo-block-main strong{min-width:0;display:-webkit-box;overflow:hidden;line-height:1.1;-webkit-box-orient:vertical;-webkit-line-clamp:2}.algo-block-main span{color:#66747d;font-size:12px}.mode-panel.live .algo-block-main span{color:#9fb4c1}.algo-block-stats{display:grid;grid-template-columns:repeat(6,minmax(52px,1fr));gap:6px;min-width:0}.compact-stat{display:grid;align-content:center;gap:2px;min-width:0;min-height:42px;padding:5px 7px;border:1px solid #e2e9ed;border-radius:8px;background:#f8fafb}.mode-panel.live .compact-stat{border-color:#2e4554;background:#17252f}.compact-stat span{color:#66747d;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:1.15}.mode-panel.live .compact-stat span{color:#9fb4c1}.compact-stat strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.algo-block-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;min-width:0}.algo-block-actions button{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;font-weight:800}.algo-block-actions .icon-action{width:36px;height:36px;min-height:36px;flex:0 0 36px;padding:0}.stop-block-button{justify-self:start;color:#132029}.danger-lite{color:#8b2730;border-color:#efc9cb}.danger-lite:hover:not(:disabled){border-color:#d84e5a;background:#fff5f5}.paper-launcher{margin-top:2px}.help-tip{position:relative;display:inline-flex;align-items:center;color:#66747d}.help-tip>span{position:absolute;z-index:10;left:50%;bottom:calc(100% + 8px);width:230px;transform:translate(-50%);padding:9px 10px;border-radius:8px;background:#132029;color:#fff;font-size:12px;line-height:1.35;box-shadow:0 12px 26px #1320292e;opacity:0;pointer-events:none}.help-tip:hover>span,.help-tip:focus>span{opacity:1}.hero-dashboard{display:grid;grid-template-columns:420px minmax(0,1fr);gap:14px;margin-bottom:14px}.trade-status{padding:16px}.trade-status-head{justify-content:space-between;gap:10px}.status-dot{min-height:30px;display:inline-flex;align-items:center;padding:0 10px;border-radius:8px;background:#f7efe5;color:#87500f;font-size:12px;font-weight:700;white-space:nowrap}.status-dot.active{background:#e8f7ee;color:#10583d}.trade-status h2{margin-top:18px;font-size:38px}.trade-status p{margin-top:6px;color:#66747d;word-break:break-word}.price-line{display:grid;gap:4px;margin-top:22px;padding:12px;border-radius:8px;background:#f8fafb;border:1px solid #dbe3e7}.price-line span,.metric-card span,.detail-row span{color:#66747d;font-size:12px}.price-line strong{font-size:26px}.quick-actions{flex-wrap:wrap;gap:8px;margin-top:14px}.quick-actions button{flex:1 1 130px;min-width:0;white-space:nowrap}.quick-actions .danger{background:#8b2730}.metrics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.metric-card{min-height:140px;padding:14px;display:grid;align-content:space-between}.metric-card div{width:38px;height:38px;display:grid;place-items:center;border-radius:8px;background:#eaf3f7;color:#0b6178}.metric-card strong{display:block;font-size:25px;line-height:1.1}.content-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.panel{padding:16px;min-width:0;overflow:hidden}.panel-title{gap:9px;margin-bottom:14px}.panel-title svg{color:#0c6a55}.detail-list{display:grid;gap:8px}.detail-list.compact{margin-top:10px}.detail-row{min-height:42px;display:grid;grid-template-columns:minmax(96px,.58fr) minmax(0,1fr);gap:10px;align-items:center;min-width:0;padding:8px 10px;border:1px solid #dbe3e7;border-radius:8px;background:#f8fafb}.detail-row strong{text-align:right;min-width:0;overflow-wrap:anywhere}.account-form,.backtest-box,.invite-box,.telegram-box,.backtest-result,.ranking-box{display:grid;gap:12px}.stable-candidates{display:grid;gap:12px;padding-top:12px;border-top:1px solid #e4ebef}.stable-candidates-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.stable-candidates-head>div:first-child{display:grid;gap:4px}.stable-candidates-head strong{font-size:16px}.stable-candidates-head span,.stable-pager span{color:#66747d;font-size:13px}.stable-pager{display:inline-flex;align-items:center;justify-content:flex-end;gap:8px;white-space:nowrap}.stable-pager button,.stable-action{min-height:36px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 11px;font-weight:800}.stable-table{min-width:1160px}.stable-periods{display:flex;flex-wrap:wrap;gap:6px;min-width:260px}.stable-period{display:inline-flex;align-items:center;gap:5px;min-height:26px;padding:0 8px;border-radius:7px;background:#eef8f3;color:#0c6a55;font-size:12px;font-weight:800;white-space:nowrap}.stable-period b{font-size:12px}.ranking-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center}.ranking-toolbar>div:first-child{display:grid;gap:4px}.ranking-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.ranking-periods{display:inline-flex;gap:4px;padding:3px;border:1px solid #cdd7dd;border-radius:8px;background:#f8fafb}.ranking-periods button{min-height:32px;padding:0 10px;border-radius:6px;background:transparent;color:#132029;font-size:13px;font-weight:800}.ranking-periods button.active{background:#132029;color:#fff}.ranking-toolbar span{color:#66747d;font-size:13px}.ranking-toolbar button{min-height:38px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 12px;font-weight:700}.ranking-message{min-height:42px;display:flex;align-items:center;padding:9px 12px;border-radius:8px;font-size:13px;font-weight:800;line-height:1.35}.ranking-message.error{border:1px solid #efb7b7;background:#fff1f1;color:#8f1d1d}.ranking-message.success{border:1px solid #a9dcc4;background:#ecf9f2;color:#0b6a4a}.ranking-loading-banner{min-height:42px;display:inline-flex;align-items:center;gap:8px;padding:0 12px;border:1px solid #e3c6a1;border-radius:8px;background:#fff8ed;color:#5d3710;font-size:13px;font-weight:800}.ranking-loading-banner svg{animation:spin .85s linear infinite}.ranking-table-wrap{overflow-x:auto;max-width:100%;border:1px solid #dbe3e7;border-radius:8px;background:#fff;transition:opacity .16s ease}.ranking-table-wrap.is-loading{opacity:.62}.orders-box{display:grid;gap:12px}@keyframes spin{to{transform:rotate(360deg)}}.users-box{display:grid;gap:12px}.users-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:10px;align-items:stretch}.users-summary .aggregate-metric-tile{min-height:78px}.users-summary button{min-height:78px;padding:0 14px;border-radius:8px;font-weight:800}.orders-toolbar{display:grid;grid-template-columns:minmax(260px,1.1fr) minmax(160px,.45fr) minmax(220px,.75fr) auto;gap:10px;align-items:end}.order-mode-filters{display:flex;flex-wrap:wrap;gap:8px}.check-pill{min-height:42px;display:inline-flex;align-items:center;gap:8px;padding:0 11px;border:1px solid #cdd7dd;border-radius:8px;background:#f8fafb;color:#132029;font-weight:800}.check-pill input{width:16px;height:16px}.orders-table-wrap,.users-table-wrap{overflow-x:auto;max-width:100%;border:1px solid #dbe3e7;border-radius:8px;background:#fff}.orders-table,.users-table{width:100%;border-collapse:collapse}.orders-table{min-width:1240px}.users-table{min-width:1060px}.orders-table th,.orders-table td,.users-table th,.users-table td{padding:11px 12px;border-bottom:1px solid #e1e8ec;text-align:left;vertical-align:top;font-size:13px}.orders-table th,.users-table th{background:#f8fafb;color:#66747d;font-weight:800}.orders-table tr:last-child td,.users-table tr:last-child td{border-bottom:0}.orders-table td strong,.orders-table td small,.users-table td strong,.users-table td small{display:block}.orders-table td small,.users-table td small{margin-top:3px;color:#66747d}.orders-table code{display:block;max-width:190px;overflow-wrap:anywhere;color:#132029;font-size:12px}.order-error{color:#8b2730}.user-mode-counts{display:flex;flex-wrap:wrap;gap:6px}.tg-state{min-height:26px;display:inline-flex;align-items:center;padding:0 8px;border-radius:8px;color:#66747d;background:#eef2f4;font-size:11px;font-weight:800}.tg-state.linked{color:#10583d;background:#e8f7ee}.status-pill{min-height:26px;display:inline-flex;align-items:center;padding:0 9px;border-radius:8px;font-size:12px;font-weight:900}.status-pill.active{background:#e8f7ee;color:#0c6a55}.status-pill.completed{background:#eaf0ff;color:#204a9a}.status-pill.canceled{background:#f2f4f6;color:#4f5d66}.status-pill.rejected{background:#fdecec;color:#8b2730}.ranking-table{width:100%;min-width:1060px;border-collapse:collapse}.ranking-table th,.ranking-table td{padding:10px 12px;border-bottom:1px solid #e4ebef;text-align:left;vertical-align:middle;font-size:13px}.ranking-table th{background:#f8fafb;color:#66747d;font-size:12px;font-weight:800}.ranking-table tr:last-child td{border-bottom:0}.ranking-table td strong,.ranking-table td small{display:block}.ranking-table td small{margin-top:3px;color:#66747d;font-size:11px}.ranking-created{white-space:nowrap;color:#132029;font-weight:700}.ranking-mode-list{display:flex;flex-wrap:wrap;gap:5px}.ranking-mode-empty{color:#8a969e;font-size:12px;white-space:nowrap}.rank-pill{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;color:#fff;background:#132029;font-size:12px;font-weight:800}.positive-value{color:#0c6a55;font-weight:800}.negative-value{color:#8b2730;font-weight:800}.ranking-empty{height:92px;color:#66747d;text-align:center}.backtest-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.backtest-charts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.chart-card{min-width:0;padding:12px;border:1px solid #dbe3e7;border-radius:8px;background:#f8fafb}.chart-head{margin-bottom:10px}.chart-head h3{margin:0;font-size:16px;line-height:1.2}.chart-head p{margin-top:4px;color:#66747d;font-size:12px}.chart-shell{width:100%;min-width:0;overflow:hidden;border-radius:8px;background:#fff;border:1px solid #e2e8ec}.chart-shell svg{display:block;width:100%;height:220px}.chart-shell line{stroke:#d4dee4;stroke-width:1}.chart-shell text{fill:#66747d;font-size:11px}.chart-area{fill:#dff2ea;opacity:.9}.chart-line{fill:none;stroke:#0c6a55;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.chart-point,.trade-win{fill:#0c6a55}.drawdown-area{fill:#f3dddd;opacity:.9}.drawdown-line{fill:none;stroke:#b45a64;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.zero-line{stroke-dasharray:5 5}.trade-loss{fill:#b45a64}.chart-empty{min-height:220px;display:grid;place-items:center;border:1px dashed #cdd7dd;border-radius:8px;color:#66747d;background:#fff;text-align:center;padding:16px}.split-controls{display:grid;grid-template-columns:1fr 1fr;gap:10px}.message-list{display:grid;gap:8px}.message-list p{padding:10px;border-radius:8px;background:#f7efe5;color:#714411;font-size:13px;line-height:1.35}.message-list p.muted-line{background:#eef6f2;color:#0f5f4c}.invite-list{display:grid;gap:8px}.invite-link-card{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:7px 8px;align-items:center;padding:10px;border:1px solid #b6ddc8;border-radius:8px;background:#e8f7ee}.telegram-code-card{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:8px;align-items:center;padding:12px;border:1px solid #b6ddc8;border-radius:8px;background:#e8f7ee}.telegram-code-card span,.telegram-code-card a{color:#10583d;font-size:12px;font-weight:800}.telegram-code-card code{min-width:0;overflow-wrap:anywhere;color:#10583d;font-size:16px;font-weight:900}.telegram-code-card .masked-code{color:#66747d;font-size:13px;font-weight:800}.invite-link-card span{grid-column:1 / -1;color:#10583d;font-size:12px;font-weight:700}.invite-link-card code,.invite-row code{min-width:0;width:100%;overflow-wrap:anywhere;color:#10583d;font-size:12px}.invite-row{flex-wrap:wrap;gap:8px;min-height:42px;padding:8px 10px;border:1px solid #dbe3e7;border-radius:8px;background:#f8fafb}.invite-row span{flex:1 1 190px;min-width:0;color:#4f5d66;font-size:13px}.invite-row code{flex:1 1 100%;padding-left:24px}.copy-button{width:32px;height:32px;display:grid;place-items:center;border-radius:8px;background:#fff;color:#132029;border:1px solid #cdd7dd}.help-backdrop{position:fixed;z-index:50;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:18px;background:#13202975}.help-dialog{width:min(920px,100%);max-height:min(760px,calc(100vh - 36px));overflow:auto;padding:18px;border-radius:8px;border:1px solid #cdd7dd;background:#fff;box-shadow:0 22px 70px #1320293d}.settings-dialog{width:min(1080px,100%)}.help-dialog-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:16px}.help-dialog-head h2{margin-top:10px;font-size:30px}.help-dialog-head p{max-width:680px;margin-top:8px;color:#66747d;line-height:1.45}.settings-dialog .settings-grid{margin-bottom:0}.help-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.help-grid article,.strategy-help-row{padding:12px;border:1px solid #dbe3e7;border-radius:8px;background:#f8fafb}.help-dialog h3{margin:0 0 10px;font-size:17px}.help-dialog dl{display:grid;gap:8px;margin:0}.help-dialog dt{font-weight:800}.help-dialog dd{margin:-4px 0 0;color:#66747d;font-size:13px;line-height:1.45}.help-strategies{display:grid;gap:8px;margin-top:12px}.strategy-help-row{display:grid;gap:5px}.strategy-help-row span{color:#0c6a55;font-size:12px;font-weight:700}.strategy-help-row p{color:#66747d;font-size:13px;line-height:1.45}@media(max-width:1180px){.aggregate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.running-column{grid-column:1 / -1}.block-launcher{grid-template-columns:1fr}}@media(max-width:920px){.landing,.hero-dashboard,.content-grid,.mode-sections,.aggregate-grid,.users-summary,.tool-grid,.settings-grid,.module-grid,.launch-grid,.orders-toolbar,.backtest-charts,.running-column{grid-template-columns:1fr}.landing-copy{min-height:auto;padding-right:0}.landing h1{font-size:42px}}@media(max-width:640px){.app-shell,.landing{width:min(100vw - 20px,1220px);padding-top:12px}.landing h1{font-size:34px}.landing p{font-size:16px}.app-topbar{align-items:flex-start}.app-topbar h1{font-size:28px}.collapsible-head{align-items:flex-start}.metrics-grid,.split-controls,.mode-metrics,.paper-summary,.mode-details,.aggregate-card,.aggregate-metrics,.algo-block,.algo-block-stats,.block-launcher,.running-row,.help-grid,.backtest-metrics,.backtest-charts{grid-template-columns:1fr}.ranking-toolbar{align-items:stretch;flex-direction:column}.metric-card{min-height:112px}.quick-actions button{flex-basis:calc(50% - 6px);padding:0 8px}.algo-block-actions{justify-content:flex-start}.detail-row{grid-template-columns:1fr;gap:4px}.detail-row strong{text-align:left}.telegram-code-card{grid-template-columns:1fr auto auto}.telegram-code-card a{grid-column:1 / -1}}
