:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f4f6f8;--panel:#fff;--surface:#fff;--surface-subtle:#f6f8fa;--surface-muted:#edf1f5;--surface-selected:#eef4ff;--text:#17202a;--muted:#657281;--neutral-text:#4b5563;--line:#d9e0e7;--line-strong:#aeb9c5;--blue:#2563eb;--blue-dark:#1e40af;--blue-hover:#1e40af;--green:#13795b;--green-bg:#e7f6ef;--red:#b42318;--red-button:#b42318;--red-bg:#fde9e7;--amber-bg:#fff7df;--amber-line:#f3d98b;--warning-text:#8a5a00;--on-accent:#fff;--focus-ring:#2563eb24;--shadow:0 10px 28px #141f2b14;--shadow-strong:0 18px 48px #141f2b47}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0b1118;--panel:#111a24;--surface:#15202b;--surface-subtle:#182430;--surface-muted:#22303e;--surface-selected:#173254;--text:#edf4fb;--muted:#a8b6c5;--neutral-text:#c4ced8;--line:#314150;--line-strong:#536679;--blue:#2f6fd2;--blue-dark:#9ac1ff;--blue-hover:#275eb3;--green:#75e0b5;--green-bg:#15392f;--red:#ffaaa5;--red-button:#c43d3d;--red-bg:#482326;--amber-bg:#3d3117;--amber-line:#80672e;--warning-text:#ffd47d;--on-accent:#fff;--focus-ring:#69a4ff47;--shadow:0 12px 32px #00000057;--shadow-strong:0 18px 52px #0000008f}*{box-sizing:border-box}html,body{min-height:100%}body{background:var(--bg);color:var(--text);margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.68}label,.field-group{gap:7px;display:grid}label span,.eyebrow,.field-label,.label-with-help{color:var(--muted);letter-spacing:0;text-transform:uppercase;font-size:.76rem;font-weight:700}.label-with-help{align-items:center;gap:5px;width:fit-content;display:inline-flex}.label-with-help svg{color:var(--muted);opacity:.72}[title]:not(button):not(input):not(select):not(textarea){cursor:help}input,select,textarea{background:var(--surface);border:1px solid var(--line);color:var(--text);border-radius:8px;width:100%;min-height:42px;padding:10px 12px}select{appearance:none}textarea{resize:vertical;font-family:Cascadia Code,SFMono-Regular,Consolas,monospace}input:focus,select:focus,textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px var(--focus-ring);outline:none}.symbol-combobox{min-width:0;position:relative}.symbol-combobox-trigger{background:var(--surface);border:1px solid var(--line);color:var(--text);text-align:left;border-radius:8px;justify-content:space-between;align-items:center;width:100%;min-height:42px;padding:10px 12px;display:flex}.symbol-combobox-trigger:focus-visible{border-color:var(--blue);box-shadow:0 0 0 3px var(--focus-ring);outline:none}.symbol-combobox-popover{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);z-index:15;border-radius:8px;gap:8px;min-width:0;max-height:min(440px,65vh);margin-top:6px;padding:10px;display:grid;position:absolute;left:0;right:0;overflow:hidden}.symbol-search{border:1px solid var(--line);border-radius:8px;align-items:center;gap:8px;padding:0 10px;display:flex}.symbol-search:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px var(--focus-ring)}.symbol-search input{box-shadow:none;border:0;min-height:40px;padding:8px 0}.symbol-search input:focus{box-shadow:none}.symbol-options{overscroll-behavior:contain;gap:2px;min-height:48px;max-height:min(320px,48vh);display:grid;overflow:hidden auto}.symbol-option{color:var(--text);text-align:left;background:0 0;border:0;border-radius:6px;justify-content:space-between;align-items:center;width:100%;min-width:0;min-height:42px;padding:8px 10px;display:flex}.symbol-option strong,.symbol-option span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.symbol-option strong{flex:auto}.symbol-option span{text-align:right;flex:0 42%}.symbol-option:hover,.symbol-option:focus-visible,.symbol-option-selected{background:var(--surface-selected);outline:none}.symbol-option span,.symbol-combobox-footer,.symbol-empty{color:var(--muted);font-size:.82rem}.symbol-combobox-footer{justify-content:space-between;align-items:center;display:flex}.symbol-empty{padding:12px 10px}h1,h2,h3,p{margin:0}h1{font-size:2.15rem;line-height:1.05}h2{font-size:1.15rem}h3{font-size:1rem}.login-shell{align-items:center;min-height:100vh;padding:24px;display:grid}.login-panel{background:var(--panel);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:8px;gap:26px;width:100%;max-width:420px;margin:0 auto;padding:28px;display:grid}.login-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.theme-toggle{flex:none}.stack,.strategy-form{gap:16px;display:grid}.dashboard-shell{gap:20px;max-width:1440px;margin:0 auto;padding:24px;display:grid}.topbar,.toolbar,.panel-heading,.card-title-row,.card-actions,.topbar-actions{align-items:center;gap:12px;display:flex}.topbar,.panel-heading{justify-content:space-between}.topbar{min-height:72px}.brand-title-row{align-items:center;gap:10px;margin-top:3px;display:flex}.brand-logo{object-fit:contain;flex:none;width:56px;height:56px}.brand-logo-login{width:64px;height:64px}.topbar-subtitle{color:var(--muted);margin-top:6px;font-size:.9rem}.mobile-status-label,.strategy-status-dot{display:none}.topbar-actions,.toolbar-status{flex-wrap:wrap;justify-content:flex-end}.card-title-row{flex-wrap:wrap}.toolbar-status{color:var(--muted);align-items:center;gap:8px;font-weight:700;display:inline-flex}.toolbar{background:var(--amber-bg);border:1px solid var(--amber-line);border-radius:8px;justify-content:space-between;padding:12px}.dashboard-tabs{background:var(--surface);border:1px solid var(--line);z-index:10;border-radius:8px;align-items:center;gap:6px;padding:6px;display:flex;position:sticky;top:8px}.tab-button{color:var(--muted);background:0 0;border:1px solid #0000;border-radius:7px;flex:1;justify-content:center;align-items:center;gap:8px;min-height:38px;padding:8px 12px;font-weight:800;display:inline-flex}.tab-button-active{background:var(--blue);color:var(--on-accent)}.workspace-context{display:none}.workspace-context>div{gap:3px;display:grid}.workspace-context>div>p:last-child{color:var(--muted);font-size:.88rem}.record-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.record-tab{background:var(--surface);border:1px solid var(--line);color:var(--muted);border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:9px 12px;font-weight:800;display:flex}.record-tab>span{background:var(--surface-muted);border-radius:999px;padding:3px 7px;font-size:.72rem}.record-tab-active{background:var(--surface-selected);border-color:var(--blue);color:var(--blue-dark)}.activity-grid{gap:20px;display:grid}.activity-panel-hidden{display:none}.dashboard-grid,.data-grid,.paper-grid,.exchange-grid,.testnet-integration-grid{grid-template-columns:minmax(320px,.8fr) minmax(0,1.2fr);gap:20px;display:grid}.operations-layout,.operate-workspace{gap:20px;display:grid}.operate-workspace>.paper-grid{order:-1}.data-grid,.exchange-grid{grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr)}.paper-grid{grid-template-columns:minmax(320px,.65fr) minmax(0,1.35fr)}.testnet-integration-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.panel{background:var(--panel);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:8px;gap:18px;min-width:0;padding:18px;display:grid}.panel.wallet,.wallet .strategy-list,.wallet .strategy-card{flex-direction:column;display:flex}.wallet .strategy-list table{min-width:unset}.panel.activity-panel-hidden{display:none}.strategy-editor-panel{grid-template-rows:auto minmax(0,1fr);width:100%;max-width:1120px;max-height:calc(100dvh - 40px);margin:0 auto;overflow-y:auto}.strategy-editor-backdrop{z-index:30}.confirmation-backdrop{z-index:40}.strategy-editor-panel>.panel-heading{background:var(--panel);border-bottom:1px solid var(--line);z-index:5;position:sticky;top:0}.strategy-editor-panel .strategy-submit-button{z-index:6;position:sticky;bottom:0}.panel-heading-actions{align-items:center;gap:8px;display:flex}.panel-icon{color:var(--muted)}.form-row{grid-template-columns:1fr 1fr;gap:12px;display:grid}.primary-button,.secondary-button,.danger-button,.icon-button{white-space:nowrap;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:9px 13px;font-weight:700;display:inline-flex}.primary-button{background:var(--blue);color:var(--on-accent)}.primary-button:hover{background:var(--blue-hover)}.secondary-button{background:var(--surface);border-color:var(--line);color:var(--text)}.secondary-button:hover,.icon-button:hover{border-color:var(--line-strong)}.danger-button{background:var(--red-button);color:var(--on-accent)}.icon-button{aspect-ratio:1;background:var(--surface);border-color:var(--line);color:var(--text);width:40px;padding:9px}.compact{min-height:34px;padding:7px 10px}.strategy-list,.log-list,.strategy-metrics{gap:12px;display:grid}.strategy-filter-bar{grid-template-columns:minmax(240px,1fr) minmax(150px,220px) minmax(180px,260px);gap:10px;display:grid}.time-window-filter{background:var(--surface-subtle);border:1px solid var(--line);border-radius:8px;grid-template-columns:repeat(2,minmax(180px,1fr)) auto;align-items:end;gap:10px;padding:10px;display:grid}.time-window-actions{gap:8px;display:flex}.strategy-search{border:1px solid var(--line);border-radius:8px;align-items:center;gap:8px;padding:0 11px;display:flex}.strategy-search:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px var(--focus-ring)}.strategy-search svg{color:var(--muted);flex:none}.strategy-search input{box-shadow:none;border:0;min-height:40px;padding:8px 0}.strategy-search input:focus{box-shadow:none}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.strategy-type-group,.parameter-panel,.rsi-group-manager{gap:10px;display:grid}.strategy-type-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.execution-mode-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.type-option{background:var(--surface);border:1px solid var(--line);color:var(--text);text-align:left;border-radius:8px;gap:5px;min-height:72px;padding:10px;display:grid}.type-option span{color:var(--muted);font-size:.78rem;font-weight:700}.type-option-active{border-color:var(--blue);box-shadow:0 0 0 3px var(--focus-ring)}.type-option:disabled{background:var(--surface-subtle);cursor:not-allowed}.type-option-shortcut{border-style:dashed}.integration-placeholder-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.integration-placeholder{background:var(--surface-subtle);border:1px solid var(--line);border-radius:8px;gap:6px;padding:12px;display:grid}.integration-placeholder span{color:var(--muted);font-size:.88rem}.parameter-panel{background:var(--surface-subtle);border:1px solid var(--line);border-radius:8px;padding:12px}.parameter-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.rsi-group-manager{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:12px}.rsi-group-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.rsi-group-actions{flex-wrap:wrap;gap:8px;display:flex}.price-preview{background:var(--surface-subtle);border:1px solid var(--line);border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px;padding:10px 12px;display:grid}.price-preview span,.price-preview small{color:var(--muted);font-size:.78rem;font-weight:700}.price-preview strong{font-size:1rem}.price-preview small{grid-column:1/-1}.strategy-metrics{grid-template-columns:repeat(3,minmax(0,max-content));gap:8px;margin-top:10px}.strategy-metrics span:not(.status){background:var(--surface-subtle);border:1px solid var(--line);color:var(--muted);border-radius:8px;padding:6px 8px;font-size:.82rem;font-weight:700}.strategy-metrics strong{color:var(--text)}.trigger-summary{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.order-summary{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.risk-checklist{background:var(--surface-subtle);border:1px solid var(--line);border-radius:8px;margin-top:10px;padding:10px 12px}.risk-checklist summary{cursor:pointer;font-size:.84rem;font-weight:800}.risk-check-grid{gap:8px;margin-top:10px;display:grid}.operation-snapshot{margin-top:8px}.operation-snapshot summary{color:var(--accent);cursor:pointer;font-size:.82rem;font-weight:800}.risk-check-row{grid-template-columns:auto minmax(0,1fr);align-items:start;gap:8px;display:grid}.risk-check-row p{font-size:.82rem}.indicator-status-list{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.trigger-summary span{background:var(--surface-muted);color:var(--neutral-text);border-radius:999px;padding:5px 9px;font-size:.8rem;font-weight:800}.order-summary span{background:var(--surface);border:1px solid var(--line);color:var(--text);border-radius:999px;padding:5px 9px;font-size:.8rem;font-weight:800}.indicator-chip{border-radius:999px;padding:5px 9px;font-size:.8rem;font-weight:800}.indicator-chip-green{background:var(--green-bg);color:var(--green)}.indicator-chip-red{background:var(--red-bg);color:var(--red)}.indicator-chip-muted{background:var(--surface-muted);color:var(--neutral-text)}.indicator-list-editor,.indicator-editor{gap:10px;display:grid}.indicator-editor{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:10px}.indicator-editor-heading{justify-content:space-between;align-items:center;display:flex}.indicator-type-selector,.indicator-add-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.indicator-type-selector .type-option{text-align:center;min-height:38px}.indicator-parameter-grid-rsi{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.stat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.runtime-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;display:grid}.stat-box{background:var(--surface-subtle);border:1px solid var(--line);border-radius:8px;gap:6px;padding:12px;display:grid}.stat-box span{color:var(--muted);text-transform:uppercase;font-size:.78rem;font-weight:800}.stat-box strong{font-size:1.3rem}.pnl-positive{color:var(--green);font-weight:800}.pnl-negative{color:var(--red);font-weight:800}.checkbox-row{align-items:center;gap:10px;display:flex}.checkbox-row input{width:auto;min-height:auto}.strategy-card,.log-row{border:1px solid var(--line);border-radius:8px;gap:14px;padding:14px;display:grid}.strategy-card{grid-template-columns:minmax(0,1fr) auto;position:relative}.strategy-card:hover{border-color:var(--line-strong);box-shadow:var(--shadow)}.strategy-pnl-row{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.strategy-pnl-row>span{background:var(--surface-subtle);border:1px solid var(--line);color:var(--muted);border-radius:8px;padding:6px 8px;font-size:.82rem;font-weight:700}.log-row{grid-template-columns:minmax(0,1fr) auto;align-items:center}.muted,.empty-state{color:var(--muted)}.status,.count-pill{white-space:nowrap;border-radius:999px;padding:5px 9px;font-size:.78rem;font-weight:800;display:inline-flex}.status-ok{background:var(--green-bg);color:var(--green)}.status-danger{background:var(--red-bg);color:var(--red)}.inline-danger-dot{background:var(--red);border-radius:999px;width:7px;height:7px;margin-right:6px;display:inline-block}.status-warning{background:var(--amber-bg);color:var(--warning-text)}.status-muted,.count-pill{background:var(--surface-muted);color:var(--neutral-text)}.spin{animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.form-error{background:var(--red-bg);color:var(--red);border-radius:8px;padding:10px 12px;font-weight:700}.form-warning{background:var(--amber-bg);border:1px solid var(--amber-line);color:var(--warning-text);border-radius:8px;padding:10px 12px;font-weight:700}.compact-error{padding:8px 10px;font-size:.88rem}.compact-note{margin-top:-12px;font-size:.86rem}.modal-backdrop{z-index:20;background:#11182775;align-items:center;padding:20px;display:grid;position:fixed;inset:0}.confirmation-modal{background:var(--panel);border:1px solid var(--line);box-shadow:var(--shadow-strong);border-radius:8px;gap:16px;width:100%;max-width:420px;margin:0 auto;padding:20px;display:grid}.backtest-start-modal{max-width:520px}.strategy-details-modal{background:var(--panel);border:1px solid var(--line);box-shadow:var(--shadow-strong);border-radius:8px;gap:18px;width:100%;max-width:1080px;max-height:calc(100vh - 40px);margin:0 auto;padding:20px;display:grid;overflow-y:auto}.backtest-results-modal{max-width:1180px}.strategy-details-modal>.panel-heading{background:var(--panel);z-index:4;position:sticky;top:0}.strategy-details-modal>.panel-heading>div,.confirmation-modal>.panel-heading>div{min-width:0}.strategy-details-modal>.panel-heading h2,.confirmation-modal>.panel-heading h2{overflow-wrap:anywhere}.modal-close-button{z-index:5;flex:0 0 40px;position:relative}.compact-positions-panel{align-content:start;gap:10px;padding:14px}.compact-positions-table{max-height:260px;overflow-y:auto}.compact-positions-table th,.compact-positions-table td{padding-block:7px}.strategy-details-content{gap:22px;display:grid}.details-heading{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.pagination-actions{justify-content:center;padding-top:10px;display:flex}.modal-actions{justify-content:flex-end;gap:10px;display:flex}.table-wrap{border:1px solid var(--line);border-radius:8px;overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:680px}.json-preview{background:var(--surface);border:1px solid var(--line);color:var(--text);white-space:pre-wrap;border-radius:8px;max-height:260px;margin:0;padding:12px;font-family:Cascadia Code,SFMono-Regular,Consolas,monospace;font-size:.82rem;overflow:auto}th,td{border-bottom:1px solid var(--line);text-align:left;vertical-align:top;padding:11px 9px}th{background:var(--surface-subtle);color:var(--muted);text-transform:uppercase;white-space:nowrap;font-size:.78rem}tbody tr:last-child td{border-bottom:0}tbody tr:hover td{background:var(--surface-subtle)}@media (max-width:920px){.dashboard-grid,.data-grid,.paper-grid,.exchange-grid,.testnet-integration-grid{grid-template-columns:1fr}.topbar{flex-direction:column;align-items:flex-start}.dashboard-tabs{position:static;overflow-x:auto}.time-window-filter{grid-template-columns:1fr 1fr}.time-window-actions{grid-column:1/-1}.tab-button{flex:none;min-width:190px}}@media (max-width:620px){.dashboard-shell{gap:12px;padding:10px 10px 78px}.form-row,.integration-placeholder-grid,.strategy-type-grid,.parameter-grid{grid-template-columns:1fr}.topbar{min-height:0}.topbar-brand{display:none}.topbar-actions{grid-template-columns:repeat(4,minmax(0,1fr)) repeat(2,34px);gap:5px;width:100%;display:grid}.topbar-actions .status{justify-content:center;min-width:0;padding:5px 3px}.execution-mode-status.status-muted{background:var(--green-bg);color:var(--green)}.topbar-actions .icon-button{width:34px;min-height:32px;padding:6px}.desktop-status-label{display:none}.mobile-status-label{font-size:.66rem;display:inline}.toolbar{display:none}.dashboard-tabs{box-shadow:var(--shadow);z-index:18;grid-template-columns:repeat(3,1fr);display:grid;position:fixed;inset:auto 10px 8px}.tab-button{flex:initial;min-width:0;min-height:42px;padding:8px}.tab-button svg{width:20px;height:20px}.tab-label{display:none}.portfolio-summary-panel{z-index:9;padding:8px 10px;position:sticky;top:6px}.portfolio-summary-panel .panel-heading{display:none}.portfolio-summary-panel .stat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.portfolio-summary-panel .stat-box{text-align:center;background:0 0;border:0;gap:2px;padding:2px}.portfolio-summary-panel .stat-box span{font-size:.58rem}.portfolio-summary-panel .stat-box strong{font-size:.82rem}.strategy-card{grid-template-columns:1fr;gap:10px;padding:11px}.strategy-card-main{min-width:0}.strategy-status-dot{border:2px solid var(--surface);box-shadow:0 0 0 1px var(--line);border-radius:50%;width:10px;height:10px;display:block;position:absolute;top:10px;right:10px}.dot-enabled{background:var(--green)}.dot-disabled{background:var(--red)}.card-title-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding-right:12px;display:grid}.card-title-row h3{grid-column:1/-1;padding-right:10px;font-size:.95rem}.strategy-enabled-status{display:none}.strategy-type-status,.strategy-lifecycle-status,.strategy-balance-pill{text-overflow:ellipsis;justify-content:center;min-width:0;padding:4px 5px;overflow:hidden}.card-title-row>.status-warning:not(.strategy-lifecycle-status){grid-column:1/-1;justify-content:center}.strategy-card .muted{font-size:.76rem}.strategy-card>.strategy-card-main>p.muted,.strategy-card .strategy-card-main>p:not(.muted){margin-top:5px}.strategy-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.strategy-metrics span:not(.status){padding:5px 6px;font-size:.76rem}.strategy-metrics .status{grid-column:1/-1;justify-content:center}.strategy-pnl-row{margin-top:6px}.strategy-pnl-row>span{width:100%;padding:5px 6px;font-size:.76rem}.trigger-summary,.indicator-status-list,.order-summary{gap:5px;margin-top:6px}.trigger-summary span,.indicator-chip,.order-summary span{padding:4px 6px;font-size:.7rem}.risk-checklist{margin-top:6px;padding:8px}.card-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;display:grid}.card-actions .icon-button,.card-actions .strategy-toggle-button{width:100%;min-height:38px;padding:7px}.strategy-enable-label{display:none}.strategy-editor-panel{box-shadow:none;border:0;border-radius:0;grid-template-rows:auto minmax(0,1fr);align-content:space-between;gap:10px;width:100%;max-height:100dvh;margin:0;padding:0 10px 12px;scroll-margin-top:0;overflow-y:auto}.strategy-editor-backdrop{align-items:stretch;padding:0}.strategy-editor-panel>.panel-heading{background:var(--panel);border-bottom:1px solid var(--line);z-index:5;max-height:10dvh;margin-inline:-10px;padding:10px;position:sticky;top:0}.strategy-editor-panel>.panel-heading .eyebrow{display:none}.strategy-editor-panel>.panel-heading h2{font-size:1rem}.strategy-editor-panel>.panel-heading .icon-button{width:36px;min-height:36px;padding:7px}.strategy-editor-panel .strategy-form{align-content:space-between;gap:9px;min-height:calc(100dvh - min(10dvh,58px) - 10px);padding-bottom:2px}.strategy-editor-panel .primary-button,.strategy-editor-panel .secondary-button,.strategy-editor-panel .danger-button{justify-self:center;height:max(4dvh,34px)}.strategy-editor-panel label,.strategy-editor-panel .field-group{gap:4px}.strategy-editor-panel .label-with-help,.strategy-editor-panel .field-label{font-size:.64rem}.strategy-editor-panel input,.strategy-editor-panel select,.strategy-editor-panel .symbol-combobox-trigger{min-height:36px;padding-block:7px}.strategy-editor-panel .strategy-type-group{gap:5px}.strategy-editor-panel .strategy-type-group>.field-label{display:none}.strategy-editor-panel .strategy-type-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.strategy-editor-panel .type-option{text-align:center;align-content:center;min-height:40px;padding:6px}.strategy-editor-panel .type-option strong{overflow-wrap:anywhere;font-size:.7rem}.strategy-editor-panel .type-option span{display:none}.strategy-editor-panel .price-preview{gap:2px 8px;padding:6px 8px}.strategy-editor-panel .price-preview>.label-with-help{display:none}.strategy-editor-panel .price-preview strong{grid-column:1/-1;font-size:.84rem}.strategy-editor-panel .price-preview small{font-size:.66rem}.strategy-editor-panel .parameter-panel{gap:7px;padding:8px}.strategy-editor-panel .parameter-panel>div:first-child:not(.parameter-grid){display:none}.strategy-editor-panel .parameter-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.strategy-editor-panel .parameter-grid input,.strategy-editor-panel .parameter-grid select{min-height:34px;padding:6px;font-size:.78rem}.strategy-editor-panel .checkbox-row{gap:7px;min-height:30px}.strategy-editor-panel .rsi-group-manager{gap:7px;padding:8px}.strategy-editor-panel .rsi-group-manager>div:first-child h3{display:none}.strategy-editor-panel .rsi-group-manager>div:first-child .eyebrow{font-size:.66rem}.strategy-editor-panel .rsi-group-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.strategy-editor-panel .rsi-group-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;display:grid}.strategy-editor-panel .rsi-group-actions button{width:100%;min-height:34px;padding:6px}.strategy-editor-panel .rsi-group-action-label,.strategy-editor-panel .rsi-group-manager>.muted{display:none}.strategy-editor-panel .indicator-list-editor,.strategy-editor-panel .indicator-editor{gap:6px}.strategy-editor-panel .indicator-type-selector{gap:5px}.strategy-editor-panel .indicator-type-selector .type-option{min-height:32px;padding:4px}.strategy-editor-panel .indicator-parameter-grid-rsi{grid-template-columns:repeat(2,minmax(0,1fr))}.strategy-editor-panel .indicator-add-actions{gap:5px}.strategy-editor-panel .indicator-editor{padding:7px}.strategy-editor-panel .indicator-editor-heading strong{font-size:.76rem}.strategy-editor-panel .indicator-editor-heading .icon-button{width:32px;min-height:32px;padding:5px}.strategy-editor-panel .indicator-list-editor>.secondary-button{min-height:34px;padding:6px 8px}.strategy-submit-button{box-shadow:var(--shadow);z-index:6;width:calc(100% + 20px);min-height:48px;margin:2px -10px -12px;position:sticky;bottom:0}.rsi-group-grid,.strategy-filter-bar{grid-template-columns:1fr}.record-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.record-tab{gap:4px;min-height:38px;padding:6px 4px;font-size:.72rem}.record-tab>span{display:none}.time-window-filter{grid-template-columns:1fr}.time-window-actions{grid-column:auto}.modal-backdrop{align-items:start;padding:8px}.strategy-details-modal{max-height:calc(100dvh - 16px);padding:14px}.strategy-details-modal .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.strategy-details-modal .stat-box{padding:8px}.strategy-details-modal .stat-box strong{font-size:.92rem}.mobile-record-table{min-width:0}.mobile-record-table thead{display:none}.mobile-record-table,.mobile-record-table tbody,.mobile-record-table tr,.mobile-record-table td{width:100%;display:block}.mobile-record-table tbody{gap:8px;padding:8px;display:grid}.mobile-record-table tr{background:var(--surface);border:1px solid var(--line);border-radius:7px;padding:6px 8px}.mobile-record-table td{text-align:right;border:0;grid-template-columns:minmax(78px,.7fr) minmax(0,1.3fr);align-items:baseline;gap:8px;padding:4px 0;font-size:.76rem;display:grid}.mobile-record-table td:before{color:var(--muted);content:"";text-align:left;text-transform:uppercase;font-size:.64rem;font-weight:800}.mobile-record-table td[colspan]{text-align:center;display:block}.mobile-record-table td[colspan]:before{display:none}.positions-record-table td:first-child:before{content:"Strategy"}.positions-record-table td:nth-child(2):before{content:"Symbol"}.positions-record-table td:nth-child(3):before{content:"Quantity"}.positions-record-table td:nth-child(4):before{content:"Average"}.positions-record-table td:nth-child(5):before{content:"Last"}.positions-record-table td:nth-child(6):before{content:"Unrealized"}.decisions-record-table td:first-child:before{content:"Time"}.decisions-record-table td:nth-child(2):before{content:"Strategy"}.decisions-record-table td:nth-child(3):before{content:"Action"}.decisions-record-table td:nth-child(4):before{content:"Price"}.decisions-record-table td:nth-child(5):before{content:"Agreement"}.trades-record-table td:first-child:before{content:"Time"}.trades-record-table td:nth-child(2):before{content:"Strategy"}.trades-record-table td:nth-child(3):before{content:"Symbol"}.trades-record-table td:nth-child(4):before{content:"Side"}.trades-record-table td:nth-child(5):before{content:"Quantity"}.trades-record-table td:nth-child(6):before{content:"Notional"}.trades-record-table td:nth-child(7):before{content:"Realized"}.modal-positions-table td:first-child:before{content:"Symbol"}.modal-positions-table td:nth-child(2):before{content:"Quantity"}.modal-positions-table td:nth-child(3):before{content:"Average"}.modal-positions-table td:nth-child(4):before{content:"Last"}.history-record-table td:first-child:before{content:"Started"}.history-record-table td:nth-child(2):before{content:"Status"}.history-record-table td:nth-child(3):before{content:"Allocated"}.history-record-table td:nth-child(4):before{content:"Quantity"}.history-record-table td:nth-child(5):before{content:"Buy"}.history-record-table td:nth-child(6):before{content:"Sell"}.history-record-table td:nth-child(7):before{content:"Filled"}.history-record-table td:nth-child(8):before{content:"Realized"}.history-record-table td:nth-child(9):before{content:"Quality"}.table-wrap:has(>.mobile-record-table){overflow-x:hidden}.runtime-grid{grid-template-columns:1fr}.primary-button,.secondary-button,.danger-button{width:100%}}
