:root{--surface-app:#0d1014;--surface-panel:#171b21;--surface-panel-muted:#14181e;--surface-input:#11151a;--surface-overlay:#101317;--text-primary:#edf1f5;--text-muted:#98a2ad;--text-overlay:#edf1f5;--text-overlay-strong:#fff;--border-default:#ffffff1a;--border-strong:#ffffff2e;--border-overlay:#ffffff1a;--status-danger:#f44;--status-danger-strong:#c43b3b;--status-positive:#57d38c;--status-negative:#ff7b72;--overlay-scrim:#0000009e;--overlay-fog:#0000007a;--header-height:44px;--chart-side-spacing:50px;--console-height:450px}body{color:var(--text-primary);background:radial-gradient(circle at top,#5a6e8c1a,#0000 30%),linear-gradient(#090b0d,#0d1014 48%,#0a0c0f);background-color:var(--surface-app);margin:0;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif}input,select,textarea,button{font:inherit}input{background-color:var(--surface-input);color:var(--text-primary);border:1px solid var(--border-default);height:20px}select{background-color:var(--surface-input);color:var(--text-primary);border:1px solid var(--border-default)}div.fog{background-color:var(--overlay-fog);width:100%;height:100%;position:fixed;top:0;left:0}div.overlayContainer{z-index:1000;justify-content:center;align-items:center;width:100%;height:100vh;display:flex;position:fixed;top:0;left:0}div.overlay{background-color:var(--surface-overlay);color:var(--text-overlay);border:1px solid var(--border-overlay);border-radius:.5em;padding:40px 30px 20px;font-size:.9em;position:relative}div.overlay input{color:var(--text-overlay);background-color:var(--surface-input)}div.overlay input[type=color]{height:22.5px;padding:0;border:1px solid var(--border-overlay)!important;width:30px!important}div.overlay button{cursor:pointer;border-radius:.5em;padding:5px 10px}div.overlay .overlayActions{flex-direction:row;justify-content:center;gap:5px;width:100%;margin:20px 0 0;display:flex}div.overlay button.closeOverlay{cursor:pointer;border:none;border-radius:.5em;width:20px;position:absolute;top:5px;right:5px}div.overlay div.line{flex-direction:row;align-items:end;gap:10px;display:flex}html{height:100%}#root{min-height:100dvh}@media (width<=900px){:root{--header-height:56px;--chart-side-spacing:0px;--console-height:380px}div.overlayContainer{box-sizing:border-box;align-items:flex-start;padding:12px;overflow-y:auto}div.overlay{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;width:100%;max-width:100%;max-height:calc(100dvh - 24px);margin:0 auto;padding:42px 16px 16px;overflow-y:auto}div.overlay .overlayActions{flex-wrap:wrap}div.overlay div.line{flex-direction:column;align-items:stretch}}.chartShell{background:radial-gradient(circle at 0 0,#537aa81a,#0000 28%),linear-gradient(#10161d,#0d1319);width:100%;height:100%;min-height:0;position:relative}.chartShell.isDrawLineMode,.chartShell.isDrawLineMode .chartCanvas{cursor:crosshair}.chartCanvas{width:100%;height:100%;min-height:0}.chartDrawingOverlay{z-index:3;pointer-events:none;width:100%;height:100%;display:block;position:absolute;inset:0;overflow:visible}.chartDrawingShape line{stroke:var(--drawing-color,#d9d9d9);stroke-width:2px;vector-effect:non-scaling-stroke}.chartDrawingShape circle{fill:var(--drawing-color,#d9d9d9);stroke:#1b1b1b;stroke-width:1px;vector-effect:non-scaling-stroke}.chartDrawingShape.isPending circle{fill:#fff}.chartDrawingShape.isSelected line{stroke-width:2.5px}.chartDrawingShape.isSelected circle{r:4.5}.chartAppliedMeta{z-index:10;pointer-events:auto;flex-direction:column;gap:8px;max-width:calc(100% - 24px);display:flex;position:absolute;top:12px;left:12px}.chartAppliedMetaRow{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.chartAppliedMetaPrimaryRow{flex-wrap:nowrap;align-items:flex-start;gap:12px;width:100%}.chartAppliedMetaPrimaryGroup{flex-wrap:wrap;flex:auto;align-items:center;gap:8px;min-width:0;display:flex}.chartAppliedMetaControls{gap:6px;display:inline-flex}.chartAppliedMetaButton{border:1px solid var(--border-default);width:24px;min-width:24px;height:24px;color:var(--text-primary);cursor:pointer;background-color:#10161de0;justify-content:center;align-items:center;padding:0;font-size:.9rem;line-height:1;display:inline-flex}.chartAppliedMetaButton:hover{background-color:#1c2631f0}.chartLegendToggle{position:relative}.chartLegendChevron{border-bottom:1.5px solid;border-right:1.5px solid;width:7px;height:7px;display:inline-block}.chartLegendChevron.down{transform:rotate(45deg)translateY(-1px)}.chartLegendChevron.up{transform:rotate(-135deg)translateY(-1px)}.chartAppliedBadge{min-height:calc(var(--chart-meta-font-size,.72rem) * 1.9);padding:0 calc(var(--chart-meta-font-size,.72rem) * .8);border:1px solid var(--border-default);color:var(--text-primary);font-size:var(--chart-meta-font-size,.72rem);letter-spacing:.02em;text-transform:uppercase;white-space:nowrap;background-color:#10161de0;align-items:center;font-weight:600;transition:background-color .3s,border-color .3s,color .3s;display:inline-flex}.chartAppliedInsertButton{cursor:pointer}button.chartAppliedBadge{font:inherit}.chartAppliedInsertButton:hover{background-color:#1c2631f0}.chartAppliedPriceSign{border-radius:999px;flex:none;width:8px;height:8px;margin-right:2px}.chartAppliedPriceBadge.isOpen .chartAppliedPriceSign{background-color:#6bb8ff}.chartAppliedPriceBadge.isHigh .chartAppliedPriceSign{background-color:#4caf50}.chartAppliedPriceBadge.isLow .chartAppliedPriceSign{background-color:#ffb04d}.chartAppliedPriceBadge.isClose .chartAppliedPriceSign{background-color:#ef4444}.chartAppliedVolumeBadge{gap:6px}.chartAppliedVolumeSign{background-color:#75a7ff;border-radius:2px;flex:none;width:8px;height:8px;margin-right:2px}.chartAppliedBadge.isFlashing{animation:1.8s ease-out chartAppliedFlash}.chartDrawingEditorBadge{text-transform:none;flex:none;gap:8px;margin-left:auto;padding-right:8px}.chartDrawingEditorLabel{font-weight:600}.chartDrawingEditorBadge input[type=color]{border:1px solid var(--border-default);cursor:pointer;background:0 0;width:26px;height:20px;padding:0}.chartDrawingEditorClose{width:18px;height:18px;color:var(--text-primary);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;padding:0;font-size:.78rem;display:inline-flex}.chartDrawingEditorClose:hover{color:var(--border-strong)}.chartAppliedIndicatorRow{align-items:flex-start}.chartIndicatorLegendMenuShell{flex:none;position:relative}.chartIndicatorLegendMenu{border:1px solid var(--border-default);background-color:#0c1218f7;min-width:280px;max-height:320px;padding:10px 12px;position:absolute;top:calc(100% + 6px);left:0;overflow-y:auto;box-shadow:0 10px 24px #00000057}.chartIndicatorLegendGroup+.chartIndicatorLegendGroup{border-top:1px solid #7e9ec129;margin-top:10px;padding-top:10px}.chartIndicatorLegendGroupTitle{text-transform:uppercase;letter-spacing:.03em;margin-bottom:6px;font-size:.72rem;font-weight:700}.chartIndicatorLegendOption{cursor:pointer;align-items:center;gap:8px;padding:2px 0;font-size:.76rem;display:flex}.chartIndicatorLegendOption input{margin:0}.chartIndicatorValueBadge{padding-right:calc(var(--chart-meta-font-size,.72rem) * .95);gap:7px}.chartIndicatorValueDot{border-radius:999px;flex:none;width:8px;height:8px}.chartIndicatorValueLabel{opacity:.92}.chartIndicatorValueNumber{font-variant-numeric:tabular-nums}.chartErrorBadge{color:#fff;z-index:10;background:#7a242cf0;border:1px solid #ff7a7a3d;padding:8px 12px;font-size:.9rem;position:absolute;top:12px;right:12px}@keyframes chartAppliedFlash{0%{color:#111;background-color:#fffffffa;border-color:#fffffffa}to{border-color:var(--border-default);color:var(--text-primary);background-color:#10161de0}}@media (width<=900px){.chartAppliedMeta{gap:6px;max-width:calc(100% - 16px);top:8px;left:8px}.chartAppliedMetaPrimaryRow{flex-direction:column;align-items:stretch;gap:8px}.chartAppliedMetaControls{align-self:flex-start}.chartIndicatorLegendMenu{min-width:min(280px,100vw - 24px);max-width:calc(100vw - 24px)}.chartErrorBadge{font-size:.82rem;inset:auto 8px 8px}}section#Console .Strategy{flex-direction:column;gap:0;height:100%;min-height:0;padding-top:0;display:flex;overflow:hidden}section#Console .Strategy .strategyPanelToolbar{background-color:var(--surface-app);border-top:1px solid var(--border-default);border-bottom:1px solid var(--border-default);z-index:2;align-items:stretch;min-height:42px;margin:-7.5px -20px 0;display:flex;position:sticky;top:0}section#Console .Strategy .strategyPanelTabs{flex:1;min-width:0;display:flex}section#Console .Strategy .strategyPanelTab{color:var(--text-primary);cursor:pointer;background-color:#0000;border:none;align-self:stretch;align-items:center;gap:10px;padding:0 20px;display:flex}section#Console .Strategy .strategyPanelTab.active{border-left:1px solid var(--border-strong);border-right:1px solid var(--border-strong);background-color:var(--surface-app);font-weight:700}section#Console .Strategy .strategyPanelTabIcon{background-color:var(--text-muted);color:#111;border-radius:999px;flex:none;justify-content:center;align-items:center;width:1.15rem;height:1.15rem;font-size:.78rem;font-weight:700;display:inline-flex;box-shadow:0 0 0 1px #00000040}section#Console .Strategy .strategyPanelTabIcon.long{background-color:var(--status-positive)}section#Console .Strategy .strategyPanelTabIcon.short{background-color:#ffb04d}section#Console .Strategy .strategyPanelTabIcon.other{background-color:#6bb8ff}section#Console .Strategy .strategyActions{flex:none;align-items:stretch;margin-left:auto;display:flex}section#Console .Strategy .strategyToolbarButton{min-width:120px;color:var(--text-primary);cursor:pointer;background-color:#0000;border:none;padding:0 16px;font-weight:600}section#Console .Strategy .strategyToolbarButton:hover:not(:disabled){background-color:var(--surface-panel)}section#Console .Strategy .strategyToolbarButton:disabled{cursor:wait;opacity:.7}section#Console .Strategy .strategyPanel{background-color:#0000;flex-direction:column;flex:1;min-height:0;padding:16px;display:flex;overflow:hidden}section#Console .Strategy .strategyPanelSection{flex-direction:column;gap:12px;display:flex}section#Console .Strategy .strategyPanelSectionWithSidebar{flex:1;grid-template-columns:minmax(0,1fr) 220px;align-items:stretch;gap:16px;height:100%;min-height:0;display:grid;overflow:hidden}section#Console .Strategy .strategyPanelSectionWithSidebar.isSidebarCollapsed{gap:8px}section#Console .Strategy .strategyPanelSectionMain{flex-direction:column;gap:12px;min-width:0;min-height:0;padding-right:4px;display:flex;overflow-y:auto}section#Console .Strategy .strategyTokenSidebar{border:1px solid var(--border-default);border-bottom:1px solid var(--border-default);background-color:var(--surface-input);flex-direction:column;gap:10px;min-width:0;height:100%;min-height:0;padding:10px;display:flex;position:relative;overflow:hidden}section#Console .Strategy .strategyTokenSidebar.isCollapsed{min-width:28px;padding:10px 4px;width:28px!important}section#Console .Strategy .strategyTokenSidebarToolbar{justify-content:space-between;align-items:center;gap:8px;display:flex}section#Console .Strategy .strategyTokenSidebarTitle{color:var(--text-primary);letter-spacing:.02em;font-size:.86rem;font-weight:700}section#Console .Strategy .strategyTokenSidebarCollapse{border:1px solid var(--border-default);width:20px;height:20px;color:var(--text-primary);cursor:pointer;background:0 0;padding:0;line-height:1}section#Console .Strategy .strategyTokenSidebarResizeHandle{cursor:ew-resize;background:0 0;border:none;width:12px;padding:0;position:absolute;top:0;bottom:0;left:-6px}section#Console .Strategy .strategyTokenSidebarResizeHandle:before{content:"";background:#ffffff1f;width:2px;position:absolute;top:8px;bottom:8px;left:5px}section#Console .Strategy .strategyTokenSidebarLayout{flex-direction:column;flex:1;gap:10px;min-height:0;display:flex}section#Console .Strategy .strategyTokenSidebarNav{border:1px solid var(--border-default);background-color:var(--surface-app);flex-direction:row;gap:0;min-width:0;display:flex;overflow:visible}section#Console .Strategy .strategyTokenSidebarNavButton{min-height:48px;color:var(--text-primary);cursor:pointer;font:inherit;text-align:center;white-space:nowrap;background:0 0;border:none;flex:1 1 0;justify-content:center;align-items:center;padding:7px 12px 8px;line-height:1.3;transition:background-color .16s,color .16s,border-color .16s,box-shadow .16s;display:flex;overflow:visible}section#Console .Strategy .strategyTokenSidebarNavButton:hover{background:color-mix(in srgb, var(--surface-panel) 78%, #6bb8ff1a)}section#Console .Strategy .strategyTokenSidebarNavButton.active{color:var(--text-primary);background:#6bb8ff1f;font-weight:700;box-shadow:inset 0 0 0 1px #6bb8ff38}section#Console .Strategy .strategyTokenSidebarContent{flex-direction:column;min-width:0;min-height:0;padding-right:2px;display:flex;overflow-y:auto}section#Console .Strategy .strategyPresetPanel{flex-direction:column;gap:8px;min-height:max-content;display:flex}section#Console .Strategy .strategyPresetPanelHeader{color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px;font-size:.85rem;font-weight:700}section#Console .Strategy .strategyPresetPanelHeaderRow{justify-content:space-between;align-items:center;gap:8px;display:flex}section#Console .Strategy .strategyPresetCompareButton{border:1px solid var(--border-default);height:28px;color:var(--text-primary);cursor:pointer;font:inherit;background:0 0;flex:none;padding:0 10px}section#Console .Strategy .strategyPresetCompareButton:disabled{opacity:.7;cursor:wait}section#Console .Strategy .strategyPresetCompareError{color:#ef6b73;background:#ef6b7314;border:1px solid #ef6b7359;padding:8px 10px;font-size:.8rem;line-height:1.35}section#Console .Strategy .strategyPresetCompareList{flex-direction:column;gap:8px;display:flex}section#Console .Strategy .strategyPresetCompareCard{border:1px solid var(--border-default);background:#ffffff08;flex-direction:column;gap:6px;padding:10px;display:flex}section#Console .Strategy .strategyPresetCompareCard.isBest{background:#6bb8ff14;border-color:#6bb8ff66}section#Console .Strategy .strategyPresetCompareCardHeader{justify-content:space-between;align-items:center;gap:8px;display:flex}section#Console .Strategy .strategyPresetCompareCardTitle{color:var(--text-primary);font-size:.88rem;font-weight:700}section#Console .Strategy .strategyPresetCompareBadge{color:var(--text-primary);text-transform:uppercase;letter-spacing:.04em;background:#6bb8ff29;border:1px solid #6bb8ff59;padding:2px 6px;font-size:.72rem;font-weight:700}section#Console .Strategy .strategyPresetCompareMetrics{color:var(--text-muted);flex-wrap:wrap;gap:8px 12px;font-size:.78rem;line-height:1.35;display:flex}section#Console .Strategy .strategyPresetRecommendation{border:1px solid var(--border-default);background:#6bb8ff14;flex-direction:column;gap:4px;padding:10px;display:flex}section#Console .Strategy .strategyPresetRecommendationLabel{color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em;font-size:.74rem;font-weight:700}section#Console .Strategy .strategyPresetRecommendationValue{color:var(--text-primary);font-size:.92rem;font-weight:700}section#Console .Strategy .strategyPresetRecommendationText{color:var(--text-muted);font-size:.8rem;line-height:1.35}section#Console .Strategy .strategyPresetAliasList{flex-wrap:wrap;gap:6px;margin-bottom:4px;display:flex}section#Console .Strategy .strategyPresetDoc{border:1px solid var(--border-default);background:#ffffff08;flex-direction:column;gap:8px;padding:10px;display:flex}section#Console .Strategy .strategyPresetDocTitle{color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em;font-size:.74rem;font-weight:700}section#Console .Strategy .strategyPresetDocList{flex-direction:column;gap:8px;display:flex}section#Console .Strategy .strategyPresetDocItem{flex-direction:column;gap:2px;display:flex}section#Console .Strategy .strategyPresetDocKey{color:var(--text-primary);overflow-wrap:anywhere;font-size:.8rem;font-weight:700}section#Console .Strategy .strategyPresetDocText{color:var(--text-muted);font-size:.78rem;line-height:1.35}section#Console .Strategy .strategyPresetDocExpected{color:var(--text-secondary);font-size:.76rem;line-height:1.35}section#Console .Strategy .strategyPresetAliasChip{border:1px solid var(--border-default);color:var(--text-primary);overflow-wrap:anywhere;background:#6bb8ff14;padding:4px 6px;font-size:.74rem;line-height:1.2}section#Console .Strategy .strategyPresetPanelBody{flex-direction:column;flex:none;gap:8px;min-height:max-content;display:flex;overflow:visible}section#Console .Strategy .strategyPresetCard{border:1px solid var(--border-default);color:var(--text-primary);cursor:pointer;text-align:left;background:#6bb8ff14;flex-direction:column;align-items:flex-start;gap:4px;padding:10px;display:flex}section#Console .Strategy .strategyPresetCard:hover{border-color:var(--border-strong);background:#6bb8ff29}section#Console .Strategy .strategyPresetCardTitle{font-size:.9rem;font-weight:700}section#Console .Strategy .strategyPresetCardText{color:var(--text-muted);font-size:.8rem;line-height:1.35}section#Console .Strategy .strategyTokenSidebarHeader{color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em;margin-bottom:6px;font-size:.85rem;font-weight:700}section#Console .Strategy .strategyTokenSidebarGroups{flex-direction:column;flex:1;gap:12px;min-height:0;display:flex;overflow-y:auto}section#Console .Strategy .strategyTokenSidebarGroup{flex-direction:column;gap:8px;display:flex}section#Console .Strategy .strategyTokenSidebarGroupTitle{color:var(--text-primary);font-size:.88rem;font-weight:700}section#Console .Strategy .strategyTokenSidebarList{flex-wrap:wrap;gap:8px;display:flex}section#Console .Strategy .strategyTokenSidebarButton{border:1px solid var(--border-default);color:var(--text-primary);font:inherit;cursor:pointer;text-align:left;background-color:#6bb8ff1a;align-items:center;gap:8px;padding:6px 9px;display:inline-flex}section#Console .Strategy .strategyTokenSidebarButton:hover{background-color:#6bb8ff2e}section#Console .Strategy .strategyTokenSidebarSwatch{border-radius:999px;flex:none;width:10px;height:10px;box-shadow:0 0 0 1px #00000040}section#Console .Strategy .strategyTokenSidebarButtonLabel{overflow-wrap:anywhere;min-width:0}section#Console .Strategy .fieldRow{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}section#Console .Strategy .strategyPricePresetRow{align-items:center;gap:8px;margin-bottom:6px;display:flex}section#Console .Strategy .strategyPricePresetLabel{color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em;font-size:.78rem}section#Console .Strategy .strategyPricePresetSelect{border:1px solid var(--border-default);background-color:var(--surface-input);min-width:0;color:var(--text-primary);font:inherit;flex:1;padding:6px 8px}section#Console .Strategy .field{flex-direction:column;gap:6px;display:flex}section#Console .Strategy .field label{color:var(--text-muted);font-size:.9rem;font-weight:600}section#Console .Strategy .field .fieldLabel{align-items:center;gap:8px;display:inline-flex}section#Console .Strategy .field .fieldLabelIcon{color:#111;background-color:var(--text-muted);border-radius:999px;justify-content:center;align-items:center;width:1.15rem;height:1.15rem;font-size:.78rem;font-weight:700;display:inline-flex;box-shadow:0 0 0 1px #0000002e}section#Console .Strategy .field .fieldLabelIcon.longOpen,section#Console .Strategy .field .fieldLabelIcon.longGain{background-color:var(--status-positive)}section#Console .Strategy .field .fieldLabelIcon.longClose,section#Console .Strategy .field .fieldLabelIcon.longLoss,section#Console .Strategy .field .fieldLabelIcon.shortClose,section#Console .Strategy .field .fieldLabelIcon.shortLoss{background-color:var(--status-danger-strong);color:var(--text-overlay-strong)}section#Console .Strategy .field .fieldLabelIcon.shortOpen,section#Console .Strategy .field .fieldLabelIcon.shortGain{background-color:#ffb04d}section#Console .Strategy .field .fieldLabelIcon.longGain,section#Console .Strategy .field .fieldLabelIcon.shortGain{background-color:var(--status-positive)}section#Console .Strategy .field input,section#Console .Strategy .field select,section#Console .Strategy .field .strategyExpressionEditor{box-sizing:border-box;background-color:var(--surface-input);width:100%;min-width:0;color:var(--text-primary);border:1px solid var(--border-default);font:inherit;padding:8px 10px}section#Console .Strategy .field .strategyExpressionEditorShell{flex-direction:column;gap:8px;display:flex}section#Console .Strategy .field .strategyExpressionEditor{white-space:pre-wrap;overflow-wrap:anywhere;cursor:text;resize:none;min-height:calc(2.7em + 16px);line-height:1.35;overflow-y:auto}section#Console .Strategy .field .strategyExpressionEditor.singleLine{resize:none;min-height:calc(1.35em + 16px);overflow-y:hidden}section#Console .Strategy .field .strategyExpressionEditor:focus{outline:1px solid var(--border-strong);outline-offset:-1px}section#Console .Strategy .strategyExpressionPreview{box-sizing:border-box;border:1px solid var(--border-default);background-color:color-mix(in srgb, var(--surface-input) 72%, transparent);width:100%;min-width:0;min-height:calc(2.7em + 16px);color:var(--text-muted);font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;-webkit-user-select:none;user-select:none;cursor:default;padding:8px 10px;line-height:1.35}section#Console .Strategy .strategyExpressionPreview.singleLine{min-height:calc(1.35em + 16px)}section#Console .Strategy .strategyExpressionPreviewText{white-space:pre-wrap}section#Console .Strategy .strategyToken{border:1px solid var(--border-default);vertical-align:middle;-webkit-user-select:none;user-select:none;background-color:#6bb8ff24;border-radius:6px;align-items:center;gap:4px;margin:1px 3px 1px 0;padding:2px 6px;display:inline-flex}section#Console .Strategy .strategyToken.isLiteral{background-color:#f3f4f61a}section#Console .Strategy .strategyTokenLabel,section#Console .Strategy .strategyTokenIndex{font-weight:600}section#Console .Strategy .strategyTokenButton{width:18px;height:18px;color:var(--text-primary);cursor:pointer;font:inherit;background-color:#ffffff14;border:none;border-radius:999px;justify-content:center;align-items:center;padding:0;line-height:1;display:inline-flex}section#Console .Strategy .strategyTokenButton:hover{background-color:#ffffff29}section#Console .Strategy .strategyTokenButton.remove{color:#ffb4b4}section#Console .Strategy .field.checkboxField{border:1px solid var(--border-default);background-color:var(--surface-input);flex-direction:row;justify-content:space-between;align-items:center;gap:12px;padding:8px 10px}section#Console .Strategy .field.checkboxField label{color:var(--text-primary);font-size:1rem}section#Console .Strategy .field.checkboxField input{width:auto;margin:0}@media (width<=900px){section#Console .Strategy .strategyPanelToolbar{flex-direction:column;align-items:stretch;margin:-7.5px -12px 0}section#Console .Strategy .strategyPanelTabs,section#Console .Strategy .strategyActions{flex-wrap:wrap}section#Console .Strategy .strategyPanelSectionWithSidebar{grid-template-columns:1fr;height:auto;overflow:visible}section#Console .Strategy .strategyTokenSidebar{height:240px}section#Console .Strategy .strategyTokenSidebarNav{display:flex}section#Console .Strategy .fieldRow{grid-template-columns:1fr}}@media (width<=640px){section#Console .Strategy .strategyPanel{padding:12px}section#Console .Strategy .strategyPanelTab{padding:0 14px}}section#Console .Backtester{flex-direction:column;gap:0;height:100%;min-height:0;padding-top:0;display:flex;overflow:hidden}section#Console .Backtester .backtesterPanelToolbar{background-color:var(--surface-app);border-top:1px solid var(--border-default);border-bottom:1px solid var(--border-default);z-index:2;align-items:stretch;min-height:42px;margin:-7.5px -20px 0;display:flex;position:sticky;top:0}section#Console .Backtester .backtesterPanelTabs{flex:1;min-width:0;display:flex}section#Console .Backtester .backtesterPanelTab{color:var(--text-primary);cursor:pointer;background-color:#0000;border:none;align-self:stretch;align-items:center;gap:10px;padding:0 20px;display:flex}section#Console .Backtester .backtesterPanelTab.active{border-left:1px solid var(--border-strong);border-right:1px solid var(--border-strong);background-color:var(--surface-app);font-weight:700}section#Console .Backtester .backtesterPanelTabIcon{background-color:var(--text-muted);color:#111;border-radius:999px;flex:none;justify-content:center;align-items:center;width:1.15rem;height:1.15rem;font-size:.72rem;font-weight:700;display:inline-flex;box-shadow:0 0 0 1px #00000040}section#Console .Backtester .backtesterPanelTabIcon.capital{background-color:#6bb8ff}section#Console .Backtester .backtesterPanelTabIcon.costs{background-color:#ffb04d}section#Console .Backtester .backtesterPanelTabIcon.execution{background-color:var(--status-positive)}section#Console .Backtester .backtesterActions{flex:none;align-items:stretch;gap:8px;padding-right:10px;display:flex}section#Console .Backtester .backtesterStaleBadge{color:#f0c46b;letter-spacing:.01em;background-color:#d3a64529;border-radius:999px;align-self:center;padding:6px 10px;font-size:.78rem;font-weight:700}section#Console .Backtester .backtesterToolbarButton{min-width:120px;color:var(--text-primary);cursor:pointer;background-color:#0000;border:none;padding:0 16px;font-weight:600}section#Console .Backtester .backtesterToolbarButton:hover:not(:disabled){background-color:var(--surface-panel)}section#Console .Backtester .backtesterToolbarButton:disabled{cursor:wait;opacity:.7}section#Console .Backtester .backtesterToolbarButton.isActive{background-color:#ececec1f}section#Console .Backtester .backtesterPanel{background-color:#0000;flex-direction:column;flex:1;min-height:0;padding:16px;display:flex;overflow-y:auto}section#Console .Backtester .backtesterPanelSection{flex-direction:column;gap:12px;display:flex}section#Console .Backtester .backtesterStaleNotice{color:#f0c46b;background-color:#d3a64514;border:1px solid #d3a64559;padding:10px 12px;font-size:.85rem;line-height:1.4}section#Console .Backtester .fieldRow{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}section#Console .Backtester .field{flex-direction:column;gap:6px;display:flex}section#Console .Backtester .backtesterHistoryField{grid-column:span 2}section#Console .Backtester .fieldHeader{justify-content:space-between;align-items:center;gap:8px;display:flex}section#Console .Backtester .field label{color:var(--text-muted);font-size:.9rem;font-weight:600}section#Console .Backtester .fieldResetButton{border:1px solid var(--border-default);background-color:var(--surface-panel);width:24px;height:24px;color:var(--text-muted);cursor:pointer;border-radius:999px;justify-content:center;align-items:center;font-size:.85rem;line-height:1;transition:background-color .16s,border-color .16s,color .16s;display:inline-flex}section#Console .Backtester .fieldResetButton:hover{background-color:var(--surface-hover);border-color:var(--border-strong);color:var(--text-primary)}section#Console .Backtester .fieldDescription{color:var(--text-muted);font-size:.78rem;line-height:1.35}section#Console .Backtester .field input,section#Console .Backtester .field select{box-sizing:border-box;background-color:var(--surface-input);width:100%;min-width:0;height:38px;color:var(--text-primary);border:1px solid var(--border-default);font:inherit;padding:8px 10px}section#Console .Backtester .backtestHistoryScopeRow{grid-template-columns:minmax(0,1fr) 120px;align-items:center;gap:8px;display:grid}section#Console .Backtester .backtestHistoryScopeRow input,section#Console .Backtester .backtestHistoryScopeRow select{width:100%}@media (width<=1100px){section#Console .Backtester .fieldRow{grid-template-columns:repeat(2,minmax(0,1fr))}section#Console .Backtester .backtesterHistoryField{grid-column:span 2}}@media (width<=900px){section#Console .Backtester .fieldRow{grid-template-columns:1fr}section#Console .Backtester .backtesterHistoryField{grid-column:span 1}}section#Console{min-height:42px;max-height:calc(100vh - var(--header-height) - 80px);z-index:2;flex-direction:column;display:flex;position:relative;overflow:hidden}section#Console.isMaximized{top:var(--header-height);left:0;right:0;bottom:var(--console-log-height,88px);z-index:40;border-top:1px solid var(--border-default);background-color:var(--surface-app);min-height:0;max-height:none;position:fixed;height:calc(100vh - var(--header-height) - var(--console-log-height,88px))!important}section#Console .resizeHandle{cursor:ns-resize;z-index:3;touch-action:none;background-color:#0000;width:88px;height:10px;margin-left:-44px;position:absolute;top:0;left:50%;right:auto}section#Console .resizeHandle:before{content:"";background-color:var(--border-strong);border-radius:999px;height:3px;position:absolute;top:1px;left:16px;right:16px}section#Console .toolbar{background-color:var(--surface-app);border-bottom:1px solid var(--border-default);z-index:1;align-items:center;width:100%;min-height:34px;display:flex;position:sticky;top:0}section#Console .toolbarTabs{flex-direction:row;flex:1;align-self:stretch;min-width:0;display:flex}section#Console .toolbarWorkspaceName{color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;text-align:right;align-items:center;gap:8px;max-width:32vw;margin-left:auto;padding:0 12px;font-size:.82rem;display:flex;overflow:hidden}section#Console .toolbarWorkspaceName>span:first-child{text-overflow:ellipsis;overflow:hidden}section#Console .toolbarWorkspaceScore{min-width:34px;color:var(--text-primary);text-align:center;background-color:#ffffff14;border-radius:999px;flex:none;padding:2px 7px;font-weight:700}section#Console .toolbar .tool{cursor:pointer;border-top:1px solid #0000;border-left:1px solid #0000;border-right:1px solid #0000;align-self:stretch;align-items:center;gap:8px;padding:0 16px;line-height:1;display:flex}section#Console .toolbar .toolStatusDot{background-color:#6f7784;border-radius:999px;flex:none;width:8px;height:8px;box-shadow:0 0 0 1px #ffffff0f}section#Console .toolbar .toolStatusDot.is-idle{background-color:#6f7784}section#Console .toolbar .toolStatusDot.is-ok{background-color:#5ec77b}section#Console .toolbar .toolStatusDot.is-warn{background-color:#d3a645}section#Console .toolbar .toolStatusDot.is-error{background-color:#e36d6d}section#Console .toolbar .toolDocIcon{box-sizing:border-box;opacity:.92;border:1px solid;border-radius:1px;flex:none;width:11px;height:14px;display:inline-block;position:relative}section#Console .toolbar .toolDocIconFold{background-color:var(--surface-app);clip-path:polygon(0 0,100% 0,100% 100%);border-top:1px solid;border-right:1px solid;width:5px;height:5px;position:absolute;top:-1px;right:-1px}section#Console .toolbar .toolDocIconLine{opacity:.7;background-color:currentColor;height:1px;position:absolute;left:2px;right:2px}section#Console .toolbar .toolDocIconLine.line-1{top:4px}section#Console .toolbar .toolDocIconLine.line-2{top:7px}section#Console .toolbar .toolDocIconLine.line-3{top:10px}section#Console .toolbar .toolRuntimeIcon{flex:none;width:16px;height:14px;display:inline-flex;position:relative}section#Console .toolbar .toolRuntimeIconPane{opacity:.9;border:1px solid;border-radius:1px;width:3px;position:absolute;top:1px;bottom:1px}section#Console .toolbar .toolRuntimeIconPane.pane-1{left:0}section#Console .toolbar .toolRuntimeIconPane.pane-2{left:5px}section#Console .toolbar .toolRuntimeIconPane.pane-3{left:10px}section#Console .toolbar .toolRuntimeIconPulse{opacity:.75;background:linear-gradient(90deg,#0000 0,currentColor 18%,#0000 36%,currentColor 56%,#0000 76%,currentColor 100%);height:2px;position:absolute;top:6px;left:1px;right:1px}section#Console .toolbar .tool.active{border-top-color:var(--border-strong);border-left-color:var(--border-strong);border-right-color:var(--border-strong);background-color:var(--surface-app);margin-bottom:-1px;font-weight:700}section#Console .toolbar .toggleConsole{min-width:42px;color:var(--text-primary);cursor:pointer;background-color:#0000;border:none;flex:none;align-self:stretch;font-size:.95rem;font-weight:700}section#Console .toolbar .toggleConsole:hover{background-color:var(--surface-panel)}section#Console .toolbar .maximizeConsole{min-width:42px;color:var(--text-primary);cursor:pointer;background-color:#0000;border:none;flex:none;align-self:stretch;padding:0 10px;font-size:.8rem;font-weight:700}section#Console .toolbar .maximizeConsole:hover{background-color:var(--surface-panel)}section#Console .toolbar .maximizeConsoleIcon{box-sizing:border-box;border:1.5px solid;width:12px;height:12px;display:inline-flex}section#Console .toolbar .maximizeConsoleIcon.restore{position:relative}section#Console .toolbar .maximizeConsoleIcon.restore:before,section#Console .toolbar .maximizeConsoleIcon.restore:after{content:"";box-sizing:border-box;background-color:var(--surface-app);border:1.5px solid;position:absolute}section#Console .toolbar .maximizeConsoleIcon.restore:before{width:9px;height:9px;top:-4px;right:-4px}section#Console .toolbar .maximizeConsoleIcon.restore:after{border:none;inset:0}section#Console .toolbar .toggleConsole .chevron{border-bottom:2px solid;border-right:2px solid;width:8px;height:8px;transition:transform .16s;display:inline-block}section#Console .toolbar .toggleConsole .chevron.down{transform:rotate(45deg)translateY(-1px)}section#Console .toolbar .toggleConsole .chevron.up{transform:rotate(-135deg)translateY(-1px)}section#Console .terminal{flex:1;min-height:0;overflow:auto}section#Console.isMaximized .terminal{flex-direction:column;flex:auto;height:100%;min-height:0;display:flex;overflow:hidden}section#Console.isMinimized{height:42px;min-height:42px}section#Console.isMinimized .resizeHandle,section#Console.isMaximized .resizeHandle{cursor:default}section#Console.isMinimized .toolbar{border-bottom:none}section#Console .terminal>div{background-color:var(--surface-app);min-height:calc(var(--console-height) - 20px - 20px - 1px - 1px - 7.5px - 7.5px);padding:7.5px 20px}section#Console .consoleLazyFallback{min-height:calc(var(--console-height) - 20px - 20px - 1px - 1px - 7.5px - 7.5px);background:radial-gradient(circle at top,#5c90ff14,#0000 48%),linear-gradient(#ffffff05,#ffffff03);justify-content:center;align-items:center;padding:20px;display:flex}section#Console .consoleLazyFallbackCard{background-color:#ffffff08;border:1px solid #ffffff1a;border-radius:10px;width:min(100%,360px);padding:18px 20px;box-shadow:0 14px 40px #00000038}section#Console .consoleLazyFallbackTitle{color:var(--text-primary);font-size:.96rem;font-weight:700}section#Console .consoleLazyFallbackText{color:var(--text-muted);margin-top:6px;font-size:.84rem;line-height:1.45}section#Console.isMaximized .terminal>div{flex-direction:column;flex:auto;height:100%;min-height:0;display:flex;overflow:auto}@media (width<=900px){section#Console{min-height:42px;max-height:none}section#Console .resizeHandle{z-index:5;cursor:pointer;background:linear-gradient(#ffffff14 0,#ffffff05 45%,#0000 100%);width:64px;height:18px;margin-left:-32px;display:block;top:0;left:50%;right:auto}section#Console .resizeHandle:before{background-color:var(--border-strong);border-radius:999px;width:44px;height:3px;margin-left:0;top:6px;left:10px;right:10px}section#Console.isMaximized{bottom:0;height:calc(100dvh - var(--header-height))!important}section#Console .toolbar{min-height:42px;margin-top:8px;overflow-x:auto}section#Console .toolbarWorkspaceName{display:none}section#Console .toolbar .tool{white-space:nowrap;padding:0 12px}section#Console .terminal>div{padding:7.5px 12px}section#Console .consoleLazyFallback{padding:14px}section#Console .consoleLazyFallbackCard{width:100%}}@media (width<=640px){section#Console .toolbar .tool{gap:6px;padding:0 10px;font-size:.86rem}}.indicatorManagerOverlay{z-index:1200}.indicatorManagerOverlay .indicatorManagerWindow{box-sizing:border-box;background-color:var(--surface-app);width:1160px;min-width:1160px;max-width:1160px;height:720px;max-height:720px;color:var(--text-primary);padding:50px 18px 18px;overflow:hidden}.indicatorManagerOverlay .indicatorManagerWindow button.closeOverlay{width:40px;color:var(--text-primary);background:0 0;font-size:1.4rem;top:6px;right:12px}.indicatorManagerLayout{grid-template-columns:260px minmax(0,1fr);gap:16px;height:100%;min-height:0;display:grid}.indicatorManagerSidebar{border:1px solid var(--border-default);background-color:var(--surface-app);border-radius:.6em;flex-direction:column;gap:12px;min-width:0;min-height:0;padding:12px;display:flex;overflow:hidden}.indicatorManagerTabs{border-bottom:1px solid var(--border-default);align-items:flex-end;gap:0;margin:-12px -12px 0;padding:0 12px;display:flex}.indicatorManagerTabs button,.indicatorManagerList button,.indicatorEditorButton{border:1px solid var(--border-default);background-color:var(--surface-app);color:var(--text-primary)}.indicatorManagerTabs button{height:36px;color:var(--text-muted);cursor:pointer;background:0 0;border:1px solid #0000;border-bottom:none;padding:0 14px;position:relative;bottom:-1px;border-radius:.45em .45em 0 0!important}.indicatorManagerTabs button:first-child{margin-left:-12px}.indicatorManagerTabs button.active{background-color:var(--surface-app);color:var(--text-primary);border-color:var(--border-default);font-weight:700}.indicatorManagerSubtabs{border-bottom:1px dashed var(--border-default);gap:8px;padding:0 0 2px;display:flex}.indicatorManagerSubtabs button{border:1px solid var(--border-default);background:var(--surface-panel);height:32px;color:var(--text-muted);cursor:pointer;padding:0 12px;font-size:.84rem;font-weight:600;border-radius:999px!important}.indicatorManagerSubtabs button.active{color:var(--text-primary);background:#6bb8ff1f;border-color:#6bb8ff73}.indicatorManagerList{flex-direction:column;gap:0;min-height:0;padding-right:4px;display:flex;overflow:auto}.indicatorManagerCatalog{gap:10px}.indicatorManagerGroup{flex-direction:column;gap:6px;display:flex}.indicatorManagerGroupToggle{color:#9fc5e7;letter-spacing:.03em;text-transform:uppercase;cursor:pointer;background:linear-gradient(#36526e70,#253a4e6b);border:1px solid #6bb8ff2e;border-top:2px solid #f4f8fcf5;border-bottom-color:#f4f8fce6;border-radius:.5em;justify-content:space-between;align-items:center;width:100%;padding:8px 10px;font-size:.82rem;font-weight:700;transition:background-color .16s,color .16s,border-color .16s;display:flex;box-shadow:inset 0 1px #ffffff1f,inset 0 -1px #ffffff1a}.indicatorManagerGroupToggle:hover{color:#d6e8f7;background:linear-gradient(#3f5d7b85,#2a42587a);border-color:#fff #6bb8ff57 #f8fbfff5}.indicatorManagerGroupCaret{border-bottom:1.4px solid;border-right:1.4px solid;width:8px;height:8px;transition:transform .16s;transform:rotate(45deg)}.indicatorManagerGroupToggle.collapsed .indicatorManagerGroupCaret{transform:rotate(-45deg)}.indicatorManagerGroupList{flex-direction:column;gap:0;padding-top:4px;display:flex}.indicatorManagerList button{text-align:left;cursor:pointer;background:0 0;border:none;border-left:3px solid #0000;padding:8px 10px;transition:background-color .16s,color .16s,border-color .16s,box-shadow .16s;border-radius:0!important}.indicatorManagerList button:hover{background:color-mix(in srgb, var(--surface-panel) 78%, #6bb8ff1a)}.indicatorManagerList button.active{color:var(--text-primary);background:linear-gradient(90deg,#6bb8ff33,#6bb8ff14);border-color:#0000 #0000 #0000 #6bb8ff;font-weight:700;box-shadow:inset 0 0 0 1px #6bb8ff38;border-radius:0!important}.indicatorManagerEmptyList{opacity:.75;padding:14px 6px;font-size:.9rem}.indicatorManagerContent{background-color:var(--surface-app);border:1px solid var(--border-default);overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:var(--border-default) transparent;border-radius:.6em;min-width:0;min-height:0;padding:16px;overflow:hidden auto}.indicatorManagerContent::-webkit-scrollbar{width:8px}.indicatorManagerContent::-webkit-scrollbar-track{background:0 0}.indicatorManagerContent::-webkit-scrollbar-thumb{background-color:var(--border-default);border-radius:999px}.indicatorEditorEmpty{opacity:.75;justify-content:center;align-items:center;min-height:100%;display:flex}.indicatorEditor{flex-direction:column;gap:0;min-width:0;min-height:100%;display:flex}.indicatorEditorHeader{z-index:2;background-color:var(--surface-app);border-bottom:1px solid var(--border-default);justify-content:space-between;align-items:center;gap:12px;margin:-16px -16px 0;padding:16px;display:flex;position:sticky;top:-16px}.indicatorEditorHeaderActions{align-items:center;gap:10px;display:flex}.indicatorEditorTitle{font-size:1.05rem;font-weight:700}.indicatorEditorBody{flex-direction:column;gap:16px;min-height:0;padding-top:16px;display:flex}.indicatorEditorGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.indicatorEditorField{flex-direction:column;gap:6px;min-width:0;display:flex}.indicatorEditorField.small{max-width:120px}.indicatorEditorField span,.indicatorEditorSectionTitle{color:var(--text-muted);font-size:.82rem}.indicatorEditorSectionTitle{text-transform:uppercase;letter-spacing:.05em;font-weight:700}.indicatorEditor input,.indicatorEditor select{border:1px solid var(--border-default);background-color:var(--surface-panel);height:34px;color:var(--text-primary);border-radius:.45em;padding:0 10px}.indicatorEditor input.isDuplicate{color:var(--status-danger-strong);border-color:var(--status-danger-strong);font-weight:700}.indicatorEditor input[type=color]{padding:4px}.indicatorEditorLines{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.indicatorEditorLineCard{background-color:var(--surface-panel);border-radius:.55em;flex-direction:column;gap:12px;padding:12px;display:flex}.indicatorEditorLineHead{justify-content:space-between;align-items:center;gap:12px;display:flex}.indicatorEditorLineTitle{align-items:center;gap:8px;font-weight:600;display:flex}.indicatorEditorLineDot{border-radius:999px;width:10px;height:10px}.indicatorEditorLineControls{flex-wrap:wrap;gap:12px;display:flex}.indicatorEditorError{color:var(--status-danger);font-size:.9rem}.indicatorEditorButton{cursor:pointer;border-radius:.45em;height:38px;padding:0 16px}.indicatorEditorButton:disabled{opacity:.5;cursor:default}.indicatorEditorButton.primary{background-color:var(--surface-panel);color:var(--text-primary);border-color:var(--border-strong)}.indicatorEditorButton.secondary{background-color:#0000}@media (width<=980px){.indicatorManagerWindow{width:min(96vw,960px);min-width:auto;max-width:min(96vw,960px);height:auto;max-height:92vh}.indicatorManagerLayout{grid-template-columns:1fr;height:auto}.indicatorEditorGrid,.indicatorEditorLines{grid-template-columns:1fr}}@media (width<=900px){.indicatorManagerOverlay .indicatorManagerWindow{width:calc(100vw - 16px);min-width:0;max-width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);padding:42px 10px 10px;overflow:hidden}.indicatorManagerLayout{grid-template-columns:1fr;gap:10px}.indicatorManagerSidebar{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;max-height:30vh;padding:10px;overflow:auto}.indicatorManagerTabs{padding:0 10px}.indicatorManagerTabs button,.indicatorManagerSubtabs button{font-size:.8rem}.indicatorManagerContent{min-height:0;padding:12px;overflow-y:auto}.indicatorEditorHeader{flex-direction:column;align-items:stretch;margin:-12px -12px 0;padding:12px;top:-12px}.indicatorEditorHeaderActions{flex-wrap:wrap;justify-content:flex-end}.indicatorEditor{height:100%;min-height:0}.indicatorEditorBody{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;flex:auto;padding-bottom:24px;overflow-y:auto}}@media (width<=640px){.indicatorManagerOverlay .indicatorManagerWindow,.indicatorManagerWindow{width:calc(100vw - 16px);max-width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);padding:42px 12px 12px}.indicatorManagerSidebar{max-height:26vh}.indicatorManagerContent{padding:10px}.indicatorEditorBody{gap:14px;padding-top:14px;padding-bottom:28px}.indicatorManagerTabs{overflow-x:auto}.indicatorManagerSubtabs{flex-wrap:wrap}}section#SystemLog{background-color:var(--surface-app);flex-direction:column;min-height:72px;display:flex;position:relative;overflow:hidden}section#SystemLog .systemLogCopyRelevant{z-index:4;border:1px solid var(--border-default);height:22px;color:var(--text-muted);cursor:pointer;background:0 0;justify-content:center;align-items:center;padding:0 8px;font-size:.74rem;line-height:1;display:inline-flex;position:absolute;top:12px;right:108px}section#SystemLog .systemLogCopyAllMessages{right:204px}section#SystemLog .systemLogClear{right:20px}section#SystemLog .systemLogCopyRelevant:hover{color:var(--text-primary);border-color:var(--border-strong)}section#SystemLog .resizeHandle{cursor:ns-resize;z-index:3;touch-action:none;background-color:#0000;height:8px;position:absolute;top:0;left:0;right:0}section#SystemLog .resizeHandle:before{content:"";border-top:1px solid var(--border-strong);position:absolute;top:0;left:0;right:0}section#SystemLog .systemLogBody{flex:1;min-height:0;padding:40px 20px 10px;font-family:monospace;font-size:.84rem;line-height:1.45;overflow:auto}section#SystemLog .systemLogEmpty{color:var(--text-muted)}section#SystemLog .systemLogEntry+.systemLogEntry{margin-top:4px}section#SystemLog .systemLogEntry{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;align-items:flex-start;gap:8px;min-width:0;max-width:100%;display:flex}section#SystemLog .systemLogEntryCopy{border:1px solid var(--border-default);width:18px;height:18px;color:var(--text-muted);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;margin-top:1px;padding:0;font-size:.74rem;line-height:1;display:inline-flex}section#SystemLog .systemLogEntryCopy+.systemLogEntryCopy{margin-right:2px}section#SystemLog .systemLogEntryCopy:hover{color:var(--text-primary);border-color:var(--border-strong)}section#SystemLog .systemLogEntryTimestamp{min-width:72px;color:var(--text-subtle);font-variant-numeric:tabular-nums;flex:none}section#SystemLog .systemLogEntryMessage{min-width:0;color:var(--text-muted)}section#SystemLog .systemLogEntry.is-success .systemLogEntryMessage{color:#8fb7ff}section#SystemLog .systemLogEntry.is-error .systemLogEntryMessage{color:#ef6b73}@media (width<=640px){section#SystemLog .resizeHandle{height:16px}section#SystemLog .systemLogCopyRelevant{align-self:flex-end;margin:8px 12px 0;position:static}section#SystemLog .systemLogCopyAllMessages,section#SystemLog .systemLogClear{right:auto}section#SystemLog .systemLogBody{padding:10px 12px;font-size:.78rem}section#SystemLog .systemLogEntry{flex-wrap:wrap;gap:6px}section#SystemLog .systemLogEntryTimestamp{min-width:auto}}.authManagerOverlay{z-index:1260}.authManagerStandalone{box-sizing:border-box;justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.authManagerWindow{box-sizing:border-box;background-color:var(--surface-app);width:420px;min-width:0;max-width:min(92vw,420px);color:var(--text-primary);border:1px solid var(--border-default);box-shadow:none;padding:48px 18px 18px}.authManagerWindowStandalone{padding-top:18px}.authManagerPanel{flex-direction:column;gap:16px;display:flex}.authManagerTitle{font-size:1.08rem;font-weight:700}.authManagerActions button,.authManagerField input{border:1px solid var(--border-default);background-color:var(--surface-panel);color:var(--text-primary)}.authManagerActions button{cursor:pointer;height:36px;padding:0 14px}.authManagerField{flex-direction:column;gap:8px;display:flex}.authManagerField label{color:var(--text-muted);font-size:.84rem}.authManagerField input{border-radius:0;height:38px;padding:0 12px}.authManagerActions{justify-content:flex-end;display:flex}.authManagerPrimary{font-weight:700;color:#25282d!important;background-color:#d6d9de!important;border-color:#d6d9de!important}.authManagerError{color:var(--status-danger-strong);font-size:.86rem}.authManagerIdentity{color:var(--text-muted);line-height:1.5}@media (width<=640px){.authManagerStandalone{align-items:flex-start;padding:12px}.authManagerWindow{width:100%;max-width:100%;padding:42px 14px 14px}.authManagerActions{justify-content:stretch}.authManagerActions button{width:100%}}.workspaceManagerOverlay{z-index:1250}.workspaceManagerWindow{box-sizing:border-box;background-color:var(--surface-app);width:920px;min-width:920px;max-width:920px;height:620px;max-height:620px;color:var(--text-primary);padding:50px 18px 18px;overflow:hidden}.workspaceManagerWindow button.closeOverlay{width:40px;color:var(--text-primary);background:0 0;font-size:1.4rem;top:6px;right:12px}.workspaceManagerLayout{grid-template-columns:320px minmax(0,1fr);gap:16px;height:100%;min-height:0;display:grid}.workspaceManagerSidebar,.workspaceManagerContent{border:1px solid var(--border-default);background-color:var(--surface-app);border-radius:.6em;min-width:0;min-height:0}.workspaceManagerSidebar{flex-direction:column;display:flex;overflow:hidden}.workspaceManagerTabs{border-bottom:1px solid var(--border-default);align-items:flex-end;margin:0;padding:0 12px;display:flex}.workspaceManagerTabs button,.workspaceManagerToolbar button,.workspaceManagerList button,.workspaceManagerActions button,.workspaceManagerField input{border:1px solid var(--border-default);background-color:var(--surface-app);color:var(--text-primary)}.workspaceManagerTabs button{height:36px;color:var(--text-muted);cursor:pointer;background:0 0;border:1px solid #0000;border-bottom:none;border-top-left-radius:.45em;border-top-right-radius:.45em;padding:0 14px;position:relative;bottom:-1px}.workspaceManagerTabs button.active{border-color:var(--border-default);color:var(--text-primary);font-weight:700}.workspaceManagerToolbar{border-bottom:1px solid var(--border-default);justify-content:flex-end;align-items:center;gap:10px;padding:12px;display:flex}.workspaceManagerSortControl{color:var(--text-muted);align-items:center;gap:8px;margin-right:auto;font-size:.84rem;display:flex}.workspaceManagerSortControl select{border:1px solid var(--border-default);background-color:var(--surface-app);height:34px;color:var(--text-primary);border-radius:.45em;padding:0 10px}.workspaceManagerToolbar button,.workspaceManagerActions button{cursor:pointer;border-radius:.45em;height:34px;padding:0 12px}.workspaceManagerList{flex-direction:column;gap:0;min-height:0;padding:8px 0;display:flex;overflow:auto}.workspaceManagerList button{text-align:left;cursor:pointer;background:0 0;border:none;border-left:3px solid #0000;flex-direction:column;gap:4px;padding:10px 14px;transition:background-color .16s,color .16s,border-color .16s,box-shadow .16s;display:flex}.workspaceManagerList button:hover{background:color-mix(in srgb, var(--surface-panel) 78%, #6bb8ff1a)}.workspaceManagerList button.active{color:var(--text-primary);background:linear-gradient(90deg,#6bb8ff33,#6bb8ff14);border-left-color:#6bb8ff;box-shadow:inset 0 0 0 1px #6bb8ff38}.workspaceManagerList button.highlighted{box-shadow:inset 3px 0 0 var(--status-success-strong)}.workspaceManagerListHeader{align-items:center;gap:10px;min-width:0;display:flex}.workspaceManagerListName{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:600;overflow:hidden}.workspaceManagerListDate{color:var(--text-muted);font-size:.82rem}.workspaceManagerList button.active .workspaceManagerListDate{color:inherit;opacity:.92}.workspaceManagerList button.active .workspaceManagerListName{font-weight:800}.workspaceManagerScoreBadge{text-align:center;min-width:38px;color:var(--text-primary);background-color:#ffffff14;border-radius:999px;flex:none;padding:2px 8px;font-size:.78rem;font-weight:800}.workspaceManagerScoreBadge.is-positive{background-color:color-mix(in srgb, var(--status-positive) 22%, transparent);color:var(--status-positive)}.workspaceManagerScoreBadge.is-warning{background-color:color-mix(in srgb, var(--status-warning) 24%, transparent);color:var(--status-warning)}.workspaceManagerScoreBadge.is-negative{background-color:color-mix(in srgb, var(--status-negative) 22%, transparent);color:var(--status-negative)}.workspaceManagerEmpty,.workspaceManagerEmptyState{color:var(--text-muted);padding:16px}.workspaceManagerContent{padding:18px;overflow:auto}.workspaceManagerPanel{flex-direction:column;gap:18px;display:flex}.workspaceManagerPanelTitle{font-size:1.05rem;font-weight:700}.workspaceManagerField{flex-direction:column;gap:8px;display:flex}.workspaceManagerField label,.workspaceManagerDetailLabel{color:var(--text-muted);font-size:.84rem}.workspaceManagerField input{border-radius:.45em;height:38px;padding:0 12px}.workspaceManagerDetailGrid{background-color:var(--surface-panel);border-radius:.55em;grid-template-columns:110px minmax(0,1fr);gap:10px 14px;padding:14px;display:grid}.workspaceManagerActions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.workspaceManagerPrimary{font-weight:700}.workspaceManagerDanger{color:var(--status-danger-strong);border-color:var(--status-danger-strong)!important}@media (width<=1040px){.workspaceManagerWindow{width:min(92vw,920px);min-width:0;height:min(82vh,620px)}.workspaceManagerLayout{grid-template-columns:1fr}}@media (width<=640px){.workspaceManagerWindow{width:calc(100vw - 16px);max-width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);padding:42px 12px 12px}.workspaceManagerToolbar{flex-wrap:wrap;justify-content:stretch}.workspaceManagerSortControl{width:100%;margin-right:0}.workspaceManagerDetailGrid{grid-template-columns:1fr}}div#App{grid-template-columns:var(--chart-side-spacing) minmax(0, 1fr) var(--chart-side-spacing);grid-template-areas:"header header header""chart-left chart chart-right""console console console""log log log";grid-template-rows:var(--header-height) minmax(0, 1fr) auto auto;height:100vh;display:grid}div#App.authGateApp{background:radial-gradient(circle at top,#5a6e8c1a,#0000 30%),linear-gradient(#090b0d,#0d1014 48%,#0a0c0f);display:block}.authGateScreen{min-height:100vh;display:block}.authGateBrand,.authGateSubtitle{display:none}section#Header{background-color:var(--surface-app);border-bottom:solid 1px var(--border-default);grid-area:header;align-items:center;display:flex;overflow:visible}section#Header .chartHeaderControls{align-items:center;gap:10px;width:100%;min-width:0;padding:0 12px;display:flex;overflow:visible}section#Header .chartHeaderMainControls{scrollbar-width:none;flex:auto;align-items:center;gap:10px;min-width:0;display:flex;overflow-x:auto}section#Header .chartHeaderMainControls::-webkit-scrollbar{display:none}section#Header .chartHeaderField{color:var(--text-muted);white-space:nowrap;flex:none;align-items:center;gap:7px;font-size:.9rem;display:inline-flex}section#Header .chartHeaderField span{font-weight:600}section#Header .chartHeaderField input,section#Header .chartHeaderField select{border:1px solid var(--border-default);background-color:var(--surface-panel);height:24px;color:var(--text-primary);border-radius:0;padding:0 8px}section#Header .chartHeaderFieldSymbol input{text-transform:uppercase;width:110px}section#Header .chartHeaderFieldTimeframe select{width:88px}section#Header .chartHeaderFieldBars input{width:130px}section#Header .chartHeaderFieldPrecision{gap:0}section#Header .chartHeaderFieldPrecision .precisionControls{align-items:center;gap:4px;display:flex}section#Header .chartHeaderFieldPrecision .precisionButton{border:1px solid var(--border-default);background-color:var(--surface-panel);width:32px;height:24px;color:var(--text-primary);cursor:pointer;border-radius:.22em;justify-content:center;align-items:center;padding:0;display:inline-flex;position:relative}section#Header .chartHeaderFieldPrecision .precisionButton:hover{background-color:var(--surface-app)}section#Header .headerToggleButton{border:1px solid var(--border-default);background-color:var(--surface-panel);height:24px;color:var(--text-muted);cursor:pointer;white-space:nowrap;border-radius:.22em;flex:none;justify-content:center;align-items:center;padding:0 10px;font-size:.8rem;display:inline-flex}section#Header .headerToggleButton:hover{background-color:var(--surface-app);color:var(--text-primary)}section#Header .headerToggleButton.active{color:#a7dbb2;background-color:#58a66a24;border-color:#58a66a8c}section#Header .headerVolumeControls{flex:none;align-items:center;gap:6px;display:inline-flex}section#Header .headerVolumeModeSelect{border:1px solid var(--border-default);background-color:var(--surface-panel);height:24px;color:var(--text-primary);border-radius:.22em;padding:0 8px;font-size:.8rem}section#Header .chartHeaderFieldPrecision .precisionIcon{letter-spacing:-.02em;align-items:center;padding-right:8px;font-size:.68rem;line-height:1;display:inline-flex;position:relative}section#Header .chartHeaderFieldPrecision .precisionIcon:after{content:"";transform-origin:50%;border-bottom:1.25px solid;border-right:1.25px solid;width:5px;height:5px;position:absolute;top:50%;right:0}section#Header .chartHeaderFieldPrecision .precisionIconDecrease:after{transform:translateY(-65%)rotate(135deg)}section#Header .chartHeaderFieldPrecision .precisionIconIncrease:after{transform:translateY(-48%)rotate(-45deg)}section#Header .headerDrawingTools{flex:none;align-items:center;gap:4px;display:inline-flex}section#Header .workspaceSyncShell{flex:none;position:relative}section#Header .headerStatusArea{flex:none;align-items:center;gap:8px;margin-left:auto;display:inline-flex}section#Header .workspaceSyncBadge{appearance:none;border:1px solid var(--border-default);background-color:var(--surface-panel);width:24px;height:24px;color:var(--text-muted);cursor:pointer;border-radius:0;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}section#Header .workspaceSyncBadge:hover{background-color:var(--surface-app)}section#Header .workspaceSyncBadge .workspaceSyncDot{opacity:.85;background-color:currentColor;border-radius:999px;width:7px;height:7px}section#Header .workspaceSyncBadge.is-syncing{color:#c89b3c}section#Header .workspaceSyncBadge.is-saved{color:#58a66a}section#Header .workspaceSyncBadge.is-error{color:var(--status-danger-strong)}section#Header .workspaceStatusMenu{border:1px solid var(--border-default);background-color:var(--surface-app);z-index:30;min-width:320px;padding:10px 12px;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 10px 24px #00000047}section#Header .workspaceStatusSection+.workspaceStatusSection{border-top:1px solid var(--border-default);margin-top:10px;padding-top:10px}section#Header .workspaceStatusSectionTitle{color:var(--text-muted);letter-spacing:.04em;text-transform:uppercase;margin-bottom:8px;font-size:.72rem;font-weight:700}section#Header .workspaceStatusRow{color:var(--text-primary);justify-content:space-between;align-items:baseline;gap:12px;font-size:.82rem;display:flex}section#Header .workspaceStatusRow+.workspaceStatusRow{margin-top:6px}section#Header .workspaceStatusRow span{color:var(--text-muted)}section#Header .workspaceStatusRow strong{text-align:right;font-weight:600}section#Header .workspaceStatusRow strong.isOk{color:#58a66a}section#Header .workspaceStatusRow strong.isWarn{color:#c89b3c}section#Header .workspaceStatusRow strong.isError{color:var(--status-danger-strong)}section#Header .workspaceStatusRow strong.isMuted{color:var(--text-muted)}section#Header .workspaceStatusRow.isMultiline{align-items:flex-start}section#Header .workspaceStatusRow.isMultiline strong{white-space:normal;word-break:break-word;max-width:180px}section#Header .headerIconButton,section#Header .indicatorManagerTrigger,section#Header .headerAccountButton{border:1px solid var(--border-default);background-color:var(--surface-panel);width:30px;height:24px;color:var(--text-primary);cursor:pointer;border-radius:.32em;justify-content:center;align-items:center;padding:0;display:inline-flex}section#Header .headerIconButton:hover,section#Header .indicatorManagerTrigger:hover,section#Header .headerAccountButton:hover{background-color:var(--surface-app)}section#Header .headerIconButton.active{color:#0d1419;background-color:#f4f8fcf0;border-color:#e8f0f8fa;box-shadow:inset 0 0 0 1px #ffffff2e}section#Header .headerIconButton svg,section#Header .indicatorManagerTrigger svg,section#Header .headerAccountButton svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}section#Header .headerAccountButton{gap:8px;width:auto;max-width:260px;padding:0 10px}section#Header .headerAccountLabel{text-overflow:ellipsis;white-space:nowrap;max-width:190px;color:var(--text-muted);font-size:.8rem;display:inline-block;overflow:hidden}.chartSpacer{background-color:var(--surface-app)}.chartSpacerLeft{border-right:solid 1px var(--border-default);grid-area:chart-left}.chartSpacerRight{border-left:solid 1px var(--border-default);grid-area:chart-right}section#Chart{grid-area:chart;min-width:0;min-height:0;overflow:hidden}section#Console{background-color:var(--surface-app);grid-area:console;align-self:end;overflow:hidden}section#SystemLog{background-color:var(--surface-app);grid-area:log;align-self:end;overflow:hidden}@media (width<=900px){div#App{grid-template:"header""chart"minmax(44vh,1fr)"console""log"/minmax(0,1fr);height:auto;min-height:100dvh}section#Header{min-height:var(--header-height)}section#Header .chartHeaderControls{padding:8px 10px}section#Header .chartHeaderMainControls{gap:8px;padding-bottom:2px;overflow:auto hidden}section#Header .chartHeaderField{font-size:.82rem}section#Header .chartHeaderFieldSymbol input{width:92px}section#Header .chartHeaderFieldTimeframe select{width:76px}section#Header .chartHeaderFieldBars input{width:108px}section#Header .headerStatusArea{gap:6px}section#Header .headerAccountButton{min-width:30px;padding:0 8px}section#Header .headerAccountLabel{display:none}section#Header .workspaceStatusMenu{min-width:min(320px,100vw - 24px);max-width:calc(100vw - 24px)}.chartSpacerLeft,.chartSpacerRight{display:none}}@media (width<=640px){div#App{grid-template-rows:auto minmax(38vh,1fr) auto auto}section#Header .chartHeaderControls{padding:6px 8px}section#Header .chartHeaderMainControls{gap:6px}section#Header .chartHeaderField span{display:none}section#Header .chartHeaderFieldSymbol input{width:84px}section#Header .chartHeaderFieldTimeframe select{width:68px}section#Header .chartHeaderFieldBars input{width:94px}section#Header .headerIconButton,section#Header .indicatorManagerTrigger,section#Header .headerAccountButton{width:32px;min-width:32px;height:28px}}
