: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;overflow:hidden}.chartShell.isDrawLineMode,.chartShell.isDrawLineMode .chartCanvas{cursor:crosshair}.chartCanvas{width:100%;height:100%;min-height:0}.chartGuestNotice{z-index:12;color:#f5d98f;pointer-events:auto;background:#1f1b10f0;border:1px solid #d9a83a6b;align-items:center;gap:10px;max-width:min(360px,100% - 24px);padding:9px 10px 9px 12px;display:flex;position:absolute;top:12px;right:12px;box-shadow:0 14px 34px #00000052}.chartGuestNoticeText{gap:2px;min-width:0;display:grid}.chartGuestNotice strong{letter-spacing:.04em;text-transform:uppercase;font-size:.76rem;line-height:1.1}.chartGuestNotice span{color:#f5d98fe6;font-size:.78rem;line-height:1.25}.chartGuestNoticeClose{color:#f5d98f;cursor:pointer;background:#f5d98f14;border:1px solid #f5d98f52;border-radius:999px;flex:none;width:24px;height:24px;font-size:.8rem;line-height:1}.chartGuestNoticeClose:hover{background:#f5d98f29}.chartDrawingOverlay{z-index:3;pointer-events:none;width:100%;height:100%;display:block;position:absolute;inset:0;overflow:hidden}.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}.chartAppliedMeta.isStreamMode{gap:10px;max-width:calc(100% - 36px);top:18px;left:18px}.chartShell.hasExternalStreamMeta{flex-direction:column;gap:10px;display:flex}.chartAppliedMeta.isExternalPlacement{max-width:none;position:static;top:auto;left:auto}.chartShell.hasExternalStreamMeta .chartCanvas{flex:auto;min-height:0}.chartShell.hasExternalStreamMeta.isStreamMetaCollapsed .chartCanvas,.chartShell.hasExternalStreamMeta.isStreamMetaCollapsed .chartAppliedMetaPrimaryGroup>.chartAppliedBadge:not(.chartAppliedPriceBadge),.chartShell.hasExternalStreamMeta.isStreamMetaCollapsed .chartAppliedMetaRow.chartAppliedIndicatorRow{display:none}.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}.chartAppliedMeta.isStreamMode .chartAppliedMetaPrimaryGroup{gap:10px}.chartAppliedMetaControls{gap:6px;display:inline-flex}.chartMarkerModeControl{border:1px solid var(--border-default);min-height:24px;color:var(--text-primary);background-color:#10161de0;align-items:center;gap:6px;padding:0 8px;display:inline-flex}.chartMarkerModeLabel{letter-spacing:.03em;text-transform:uppercase;font-size:.72rem;font-weight:700}.chartMarkerModeSelect{color:var(--text-primary);font:inherit;cursor:pointer;background:0 0;border:none;outline:none}.chartMarkerModeSelect option{color:#111}.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 svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:14px;height:14px}.chartAppliedMetaButton:hover{background-color:#1c2631f0}.chartAppliedMetaButton:disabled{cursor:default;opacity:.48}.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}.chartAppliedMeta.isStreamMode .chartAppliedBadge{min-height:calc(var(--chart-meta-font-size,.72rem) * 2.1);padding:0 calc(var(--chart-meta-font-size,.72rem) * .95);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background-color:#0a1017d1;border-color:#ffffff1c}.chartAppliedInsertButton{cursor:pointer}button.chartAppliedBadge{font:inherit}.chartAppliedInsertButton:hover{background-color:#1c2631f0}.chartBacktestMarkerBadge{text-transform:none}.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}.chartIndicatorLegendControls{flex:none;align-items:flex-start;gap:8px;display:inline-flex}.chartIndicatorLegendOverflowShell{flex-direction:column;flex:320px;align-items:flex-start;gap:6px;min-width:0;display:flex}.chartIndicatorLegendVisibleList,.chartIndicatorLegendHiddenList{flex-wrap:wrap;gap:8px;min-width:0;display:flex}.chartIndicatorLegendVisibleList{width:100%;transition:max-height .18s;overflow:hidden}.chartIndicatorLegendVisibleList.isExpanded{max-height:none!important}.chartIndicatorLegendOverflowControls{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:inline-flex}.chartIndicatorLegendOverflowHint,.chartIndicatorLegendHiddenTitle{color:#d7e3f1b8;letter-spacing:.04em;text-transform:uppercase;font-size:.68rem;font-weight:700;line-height:1.2}.chartIndicatorLegendExpandButton{border:1px solid var(--border-default);min-height:22px;color:var(--text-primary);letter-spacing:.02em;cursor:pointer;background-color:#10161de0;align-items:center;padding:0 8px;font-size:.72rem;font-weight:600;display:inline-flex}.chartIndicatorLegendExpandButton:hover{background-color:#1c2631f0}.chartIndicatorLegendHiddenSection{flex-direction:column;gap:6px;width:100%;min-width:0;display:flex}.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}.chartIndicatorLegendGroupHeader{cursor:pointer;align-items:center;gap:8px;margin-bottom:6px;display:flex}.chartIndicatorLegendGroupHeader input{margin:0}.chartIndicatorLegendGroupTitle{text-transform:uppercase;letter-spacing:.03em;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}.chartIndicatorValueBadge.isHiddenLegend{opacity:.62;border-style:dashed}.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)}.chartIndicatorLegendOverflowShell{flex-basis:100%}.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 .strategyViewHeader{border-bottom:1px solid var(--border-default);justify-content:space-between;align-items:stretch;gap:14px;margin:0 -20px;padding:0 20px;display:flex}section#Console .Strategy .strategyViewTabs{flex:none}section#Console .Strategy .strategyViewTabButton{justify-content:center;min-width:120px;font-weight:700}section#Console .Strategy .strategyLoadedNameBanner{background:linear-gradient(#3b82f629,#10b98114),#ffffff08;border:1px solid #3b82f673;border-radius:10px;justify-content:center;min-width:240px;margin:7px 0;padding:8px 12px;display:inline-flex;box-shadow:inset 0 0 0 1px #ffffff08}section#Console .Strategy .strategyViewHeaderActions{align-items:center;gap:10px;margin-left:auto;display:flex}section#Console .Strategy .strategyLoadedNameBanner strong{color:#dbeafe;letter-spacing:.04em;white-space:nowrap;font-size:.9rem;font-weight:800;line-height:1.25}section#Console .Strategy .strategyLoadedNameBanner strong span{color:#f8fafc;letter-spacing:0}section#Console .Strategy .strategyPanelToolbar{background-color:var(--surface-app);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 .strategyManagerShell{grid-template-columns:320px minmax(0,1fr);gap:16px;min-height:0;padding:16px;display:grid;overflow:hidden}section#Console .Strategy .strategyDebugShell{flex-direction:column;gap:16px;min-height:0;padding:16px;display:flex;overflow:auto}section#Console .Strategy .strategyDebugCard{border:1px solid var(--border-default);background-color:var(--surface-app);border-radius:.6em;flex-direction:column;gap:14px;min-height:0;padding:16px;display:flex}section#Console .Strategy .strategyDebugCardHeader{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}section#Console .Strategy .strategyDebugTitle{color:var(--text-primary);font-size:1rem;font-weight:700}section#Console .Strategy .strategyDebugSubtitle{color:var(--text-muted);margin-top:4px;line-height:1.45}section#Console .Strategy .strategyDebugActions{align-items:center;gap:10px;display:inline-flex}section#Console .Strategy .strategyDebugPrimaryButton,section#Console .Strategy .strategyDebugSecondaryButton{border:1px solid var(--border-default);height:36px;color:var(--text-primary);cursor:pointer;background:0 0;border-radius:.5em;padding:0 14px;font-weight:600}section#Console .Strategy .strategyDebugPrimaryButton{background:#6bb8ff24;border-color:#6bb8ff80}section#Console .Strategy .strategyDebugPrimaryButton:disabled,section#Console .Strategy .strategyDebugSecondaryButton:disabled{opacity:.65;cursor:default}section#Console .Strategy .strategyDebugSummaryGrid,section#Console .Strategy .strategyDebugResultGrid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;display:grid}section#Console .Strategy .strategyDebugSummaryItem,section#Console .Strategy .strategyDebugResultCard{border:1px solid var(--border-default);background:#ffffff05;border-radius:.55em;flex-direction:column;gap:6px;padding:12px 14px;display:flex}section#Console .Strategy .strategyDebugSummaryItem span,section#Console .Strategy .strategyDebugResultCard span,section#Console .Strategy .strategyDebugLogMeta span{color:var(--text-muted);font-size:.86rem}section#Console .Strategy .strategyDebugSummaryItem strong,section#Console .Strategy .strategyDebugResultCard strong{color:var(--text-primary);font-size:.98rem}section#Console .Strategy .strategyDebugResultCard strong.isSuccess{color:var(--status-positive)}section#Console .Strategy .strategyDebugResultCard strong.isError{color:var(--status-negative)}section#Console .Strategy .strategyDebugMessage{border:1px solid var(--border-default);border-radius:.55em;padding:12px 14px}section#Console .Strategy .strategyDebugMessage.isError{color:#ffd8d8;background:#ef44441f;border-color:#ef444466}section#Console .Strategy .strategyDebugLogMeta{flex-wrap:wrap;align-items:center;gap:12px;display:inline-flex}section#Console .Strategy .strategyDebugLogList{flex-direction:column;gap:10px;min-height:220px;max-height:420px;padding-right:4px;display:flex;overflow:auto}section#Console .Strategy .strategyDebugLogEmpty{border:1px dashed var(--border-default);color:var(--text-muted);border-radius:.55em;padding:18px 14px;line-height:1.5}section#Console .Strategy .strategyDebugLogEntry{border:1px solid var(--border-default);background:#ffffff05;border-radius:.55em;flex-direction:column;gap:8px;padding:12px 14px;display:flex}section#Console .Strategy .strategyDebugLogEntry.is-error{background:#ef444414;border-color:#ef444452}section#Console .Strategy .strategyDebugLogEntry.is-success{background:#5cba7a14;border-color:#5cba7a47}section#Console .Strategy .strategyDebugLogEntryHeader{justify-content:space-between;align-items:center;gap:12px;display:flex}section#Console .Strategy .strategyDebugLogEntryHeader strong{color:var(--text-primary);letter-spacing:.04em;font-size:.82rem}section#Console .Strategy .strategyDebugLogEntryHeader span{color:var(--text-muted);font-size:.82rem}section#Console .Strategy .strategyDebugLogEntryMessage{color:var(--text-primary);white-space:pre-wrap;line-height:1.5}section#Console .Strategy .strategyManagerSidebar,section#Console .Strategy .strategyManagerContent{border:1px solid var(--border-default);background-color:var(--surface-app);border-radius:.6em;min-width:0;min-height:0}section#Console .Strategy .strategyManagerSidebar{flex-direction:column;display:flex;overflow:hidden}section#Console .Strategy .strategyManagerTabs{border-bottom:1px solid var(--border-default);align-items:flex-end;padding:0 12px;display:flex}section#Console .Strategy .strategyManagerTabs button,section#Console .Strategy .strategyManagerToolbar button,section#Console .Strategy .strategyManagerList button,section#Console .Strategy .strategyManagerActions button,section#Console .Strategy .strategyManagerField input{border:1px solid var(--border-default);background-color:var(--surface-app);color:var(--text-primary)}section#Console .Strategy .strategyManagerTabs 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}section#Console .Strategy .strategyManagerTabs button.active{border-color:var(--border-default);color:var(--text-primary);font-weight:700}section#Console .Strategy .strategyManagerToolbar{border-bottom:1px solid var(--border-default);flex-direction:column;align-items:stretch;gap:10px;padding:12px;display:flex}section#Console .Strategy .strategyManagerToolbarTopRow{justify-content:space-between;align-items:center;gap:10px;display:flex}section#Console .Strategy .strategyManagerListTabs{align-items:center;gap:6px;display:inline-flex}section#Console .Strategy .strategyManagerSearchRow{align-items:center;gap:8px;display:flex}section#Console .Strategy .strategyManagerSearchRow input{border-radius:.45em;flex:auto;min-width:0;height:34px;padding:0 12px}section#Console .Strategy .strategyManagerSearchClear{border:1px solid var(--border-default);height:34px;color:var(--text-muted);cursor:pointer;background:0 0;border-radius:.45em;flex:none;padding:0 12px}section#Console .Strategy .strategyManagerSearchClear:hover:not(:disabled){color:var(--text-primary)}section#Console .Strategy .strategyManagerListTabs button{border:1px solid var(--border-default);height:32px;color:var(--text-muted);cursor:pointer;background:0 0;border-radius:999px;padding:0 12px}section#Console .Strategy .strategyManagerListTabs button.active{color:var(--text-primary);background:#6bb8ff29;border-color:#6bb8ff8c;font-weight:700}section#Console .Strategy .strategyManagerToolbar button,section#Console .Strategy .strategyManagerActions button{cursor:pointer;border-radius:.45em;height:34px;padding:0 12px}section#Console .Strategy .strategyManagerList{flex-direction:column;gap:0;min-height:0;padding:8px 0;display:flex;overflow:auto}section#Console .Strategy .strategyManagerListEntry{display:block;position:relative}section#Console .Strategy .strategyManagerList .strategyManagerListSelect{text-align:left;cursor:pointer;background:0 0;border:none;border-left:3px solid #0000;flex-direction:column;align-items:flex-start;gap:4px;width:100%;padding:10px 50px 10px 14px;display:flex}section#Console .Strategy .strategyManagerEntryHeader{justify-content:space-between;align-items:center;gap:10px;width:100%;display:flex}section#Console .Strategy .strategyManagerEntryLabel{align-items:center;gap:8px;min-width:0;display:inline-flex}section#Console .Strategy .strategyManagerFavoriteStar{color:#facc15;text-shadow:0 0 10px #facc152e;flex:none;font-size:.96rem;line-height:1}section#Console .Strategy .strategyManagerFavoriteBadge{color:#fde68a;text-transform:uppercase;letter-spacing:.04em;background:#facc1529;border:1px solid #facc1552;border-radius:999px;justify-content:center;align-items:center;padding:2px 8px;font-size:.72rem;font-weight:700;display:inline-flex}section#Console .Strategy .strategyManagerList .strategyManagerListSelect.active{background:linear-gradient(90deg,#6bb8ff33,#6bb8ff14);border-left-color:#6bb8ff}section#Console .Strategy .strategyManagerFavoriteToggle{color:#ffffff73;cursor:pointer;background:#ffffff0a;border:1px solid #ffffff1a;border-radius:999px;width:34px;height:34px;font-size:1rem;line-height:1;position:absolute;top:10px;right:12px}section#Console .Strategy .strategyManagerFavoriteToggle.active{color:#facc15;background:#facc151f;border-color:#facc1559}section#Console .Strategy .strategyManagerFavoriteToggle:hover:not(:disabled){color:#facc15;border-color:#facc1547}section#Console .Strategy .strategyManagerList span,section#Console .Strategy .strategyManagerList small,section#Console .Strategy .strategyManagerDetailLabel,section#Console .Strategy .strategyManagerEmpty,section#Console .Strategy .strategyManagerEmptyState{color:var(--text-muted);font-size:.82rem}section#Console .Strategy .strategyManagerContent{padding:18px;overflow:auto}section#Console .Strategy .strategyManagerPanel{flex-direction:column;gap:18px;display:flex}section#Console .Strategy .strategyManagerPanelTitle{font-size:1.05rem;font-weight:700}section#Console .Strategy .strategyManagerField{flex-direction:column;gap:8px;display:flex}section#Console .Strategy .strategyManagerField label,section#Console .Strategy .strategyManagerDetailLabel{color:var(--text-muted);font-size:.84rem}section#Console .Strategy .strategyManagerField input{border-radius:.45em;height:38px;padding:0 12px}section#Console .Strategy .strategyManagerDetailGrid{background-color:var(--surface-panel);border-radius:.55em;grid-template-columns:140px minmax(0,1fr);gap:10px 14px;padding:14px;display:grid}section#Console .Strategy .strategyManagerActions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}section#Console .Strategy .strategyManagerPrimary{font-weight:700}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 .strategyPresetCompareBadgeRow{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;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 .strategyPresetCompareBadge.isPortfolio{color:#fde68a;background:#fbbf2429;border-color:#fbbf2459}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 .strategyPresetCompareContribution{color:var(--text-secondary);background:#fbbf2414;border:1px solid #fbbf242e;padding:8px 10px;font-size:.78rem;line-height:1.35}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 .fieldDescription{color:var(--text-muted);font-size:.82rem;line-height:1.45}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 .strategyManagerShell{grid-template-columns:1fr}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.strategy{background-color:#d98dff}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 .consoleJobProgress{background-color:#ffffff0d;height:2px;margin:0 -20px;position:relative;overflow:hidden}section#Console .Backtester .backtesterJobStatus{color:var(--text-primary);box-sizing:border-box;background:linear-gradient(90deg,#6bb8ff1f 0%,#6bb8ff0a 100%);border-bottom:1px solid #6bb8ff2e;justify-content:space-between;align-items:center;gap:12px;margin:0 -20px;padding:12px 28px;font-size:.82rem;line-height:1.4;display:flex}section#Console .Backtester .backtesterJobStatus strong{font-weight:700;display:block}section#Console .Backtester .backtesterJobStatus span{color:var(--text-secondary);font-family:var(--font-mono,"IBM Plex Mono", monospace);font-size:.76rem;display:block}section#Console .Backtester .consoleJobProgressFill{background:linear-gradient(90deg,#6bb8ff47 0%,#6bb8ffeb 100%);height:100%;box-shadow:0 0 10px #6bb8ff40}section#Console .Backtester .consoleJobProgressFill.isIndeterminate{width:38%;animation:1.15s ease-in-out infinite consoleJobProgressSlide}@keyframes consoleJobProgressSlide{0%{transform:translate(-115%)}to{transform:translate(365%)}}section#Console .Backtester .backtesterPanelSection{flex-direction:column;gap:12px;display:flex}section#Console .Backtester .backtesterStrategySetCard{border:1px solid var(--border-default);background:linear-gradient(#ffffff08 0%,#ffffff04 100%);flex-direction:column;gap:14px;margin:14px 16px 18px;padding:16px;display:flex}section#Console .Backtester .backtesterStrategyPipeShell{grid-template-columns:320px minmax(0,1fr);gap:16px;min-height:0;padding:16px;display:grid;overflow:hidden}section#Console .Backtester .backtesterStrategyPipeSidebar,section#Console .Backtester .backtesterStrategyPipeContent{min-width:0;min-height:0}section#Console .Backtester .backtesterStrategyPipeSidebar{border:1px solid var(--border-default);background-color:var(--surface-app);border-radius:.6em;flex-direction:column;display:flex;overflow:hidden}section#Console .Backtester .backtesterStrategyPipeSidebarHeader,section#Console .Backtester .backtesterStrategyPipeToolbar,section#Console .Backtester .backtesterStrategyPipeSearchRow{padding:12px}section#Console .Backtester .backtesterStrategyPipeSidebarHeader{border-bottom:1px solid var(--border-default)}section#Console .Backtester .backtesterStrategyPipeSidebarHeader h3,section#Console .Backtester .backtesterStrategyPipeSelectionHeader h3{margin:0 0 4px;font-size:.98rem}section#Console .Backtester .backtesterStrategyPipeSidebarHeader p,section#Console .Backtester .backtesterStrategyPipeSelectionHeader p{color:var(--text-muted);margin:0;font-size:.82rem;line-height:1.45}section#Console .Backtester .backtesterStrategyPipeToolbar{border-bottom:1px solid var(--border-default);justify-content:space-between;align-items:center;gap:10px;display:flex}section#Console .Backtester .backtesterStrategyPipeListTabs{align-items:center;gap:6px;display:inline-flex}section#Console .Backtester .backtesterStrategyPipeListTabs button,section#Console .Backtester .backtesterStrategyPipeSearchClear,section#Console .Backtester .backtesterStrategyPipeList button{border:1px solid var(--border-default);background-color:var(--surface-app);color:var(--text-primary)}section#Console .Backtester .backtesterStrategyPipeListTabs button{height:32px;color:var(--text-muted);cursor:pointer;background:0 0;border-radius:999px;padding:0 12px}section#Console .Backtester .backtesterStrategyPipeListTabs button.active{color:var(--text-primary);background:#6bb8ff29;border-color:#6bb8ff8c;font-weight:700}section#Console .Backtester .backtesterStrategyPipeRefreshButton{border:1px solid var(--border-default);border-radius:.45em;min-width:0;height:34px;padding:0 12px}section#Console .Backtester .backtesterStrategyPipeSearchRow{border-bottom:1px solid var(--border-default);align-items:center;gap:8px;display:flex}section#Console .Backtester .backtesterStrategySetHeader{grid-template-columns:minmax(0,1fr) auto;align-items:flex-start;gap:16px;display:grid}section#Console .Backtester .backtesterStrategySetHeader>div:first-child{min-width:0}section#Console .Backtester .backtesterStrategySetHeader h3{margin:0 0 4px;font-size:.98rem}section#Console .Backtester .backtesterStrategySetHeader p{color:var(--text-muted);margin:0;font-size:.82rem;line-height:1.45}section#Console .Backtester .backtesterStrategySetActions{scrollbar-width:thin;flex-wrap:nowrap;justify-content:flex-end;align-items:center;gap:8px;min-width:0;padding-bottom:2px;display:flex;overflow:auto hidden}section#Console .Backtester .backtesterStrategyLibraryFilter,section#Console .Backtester .backtesterStrategyLibrarySelect{box-sizing:border-box;border:1px solid var(--border-default);background-color:var(--surface-input);min-width:0;height:34px;color:var(--text-primary);font:inherit;flex:none;padding:0 10px}section#Console .Backtester .backtesterStrategyLibraryFilter{text-transform:none;width:100%;min-width:0}section#Console .Backtester .backtesterStrategyLibrarySelect{appearance:auto;width:260px;min-width:260px}section#Console .Backtester .backtesterStrategyLibraryAddButton{flex:none;width:auto}section#Console .Backtester .backtesterStrategyPipeSearchClear{height:34px;color:var(--text-muted);cursor:pointer;background:0 0;border-radius:.45em;flex:none;padding:0 12px}section#Console .Backtester .backtesterStrategyPipeSearchClear:hover:not(:disabled){color:var(--text-primary)}section#Console .Backtester .backtesterStrategyPipeList{flex-direction:column;gap:10px;min-height:0;padding:12px;display:flex;overflow-y:auto}section#Console .Backtester .backtesterStrategyPipeListEntry{min-width:0;display:block;position:relative}section#Console .Backtester .backtesterStrategyPipeListSelect{text-align:left;cursor:pointer;border-radius:.6em;flex-direction:column;align-items:stretch;gap:6px;min-width:0;padding:12px 56px 12px 12px;display:flex}section#Console .Backtester .backtesterStrategyPipeListSelect.active{background:#6bb8ff1f;border-color:#6bb8ff8c}section#Console .Backtester .backtesterStrategyPipeListSelect span,section#Console .Backtester .backtesterStrategyPipeListSelect small{color:var(--text-muted)}section#Console .Backtester .backtesterStrategyPipeEntryHeader{justify-content:space-between;align-items:center;gap:8px;display:flex}section#Console .Backtester .backtesterStrategyPipeEntryLabel{align-items:center;gap:6px;min-width:0;display:inline-flex}section#Console .Backtester .backtesterStrategyPipeFavoriteStar{color:#f0c46b}section#Console .Backtester .backtesterStrategyPipeFavoriteBadge{color:#f0c46b;background:#f0c46b24;border-radius:999px;flex:none;padding:2px 8px;font-size:.72rem;font-weight:700}section#Console .Backtester .backtesterStrategyPipeFavoriteToggle{cursor:pointer;color:#ffffff73;background:#ffffff0a;border:1px solid #ffffff1a;border-radius:999px;width:34px;height:34px;font-size:1rem;line-height:1;position:absolute;top:10px;right:12px}section#Console .Backtester .backtesterStrategyPipeFavoriteToggle.active{color:#facc15;background:#facc151f;border-color:#facc1559}section#Console .Backtester .backtesterStrategyPipeFavoriteToggle:hover:not(:disabled){color:#facc15;border-color:#facc1547}section#Console .Backtester .backtesterStrategyPipeContent{flex-direction:column;gap:16px;display:flex;overflow:hidden}section#Console .Backtester .backtesterStrategyPipeSelectionCard{border:1px solid var(--border-default);background-color:var(--surface-app);border-radius:.6em;flex-direction:column;gap:14px;padding:16px;display:flex}section#Console .Backtester .backtesterStrategyPipeSelectionHeader{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}section#Console .Backtester .backtesterStrategyPipeSelectionMeta{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}section#Console .Backtester .backtesterStrategyPipeSelectionMeta span{color:var(--text-muted);background:#ffffff0d;border-radius:999px;padding:4px 10px;font-size:.74rem}section#Console .Backtester .backtesterStrategyPipeSelectionActions{flex-wrap:wrap;gap:8px;display:flex}section#Console .Backtester .backtesterStrategySetMeta{color:var(--text-muted);justify-content:space-between;gap:12px;font-size:.8rem;display:flex}section#Console .Backtester .backtesterStrategySetList{flex-direction:column;gap:10px;display:flex}section#Console .Backtester .backtesterStrategySetRow{border:1px solid var(--border-default);background-color:#ffffff05;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 12px;display:grid}section#Console .Backtester .backtesterStrategySetRow.isDisabled{opacity:.62}section#Console .Backtester .backtesterStrategySetRowMain{align-items:center;gap:10px;min-width:0;display:flex}section#Console .Backtester .backtesterStrategySetFields{grid-template-columns:minmax(0,1.8fr) minmax(110px,.8fr) minmax(110px,.7fr);gap:10px;width:100%;min-width:0;display:grid}section#Console .Backtester .backtesterStrategySetPriority{color:#8cc7ff;background-color:#6bb8ff1f;border-radius:999px;flex:none;justify-content:center;align-items:center;width:42px;height:32px;font-size:.78rem;font-weight:700;display:inline-flex}section#Console .Backtester .backtesterStrategySetLabel{box-sizing:border-box;border:1px solid var(--border-default);background-color:var(--surface-input);width:100%;min-width:0;height:36px;color:var(--text-primary);font:inherit;padding:8px 10px}section#Console .Backtester .backtesterStrategySetMarketInput{box-sizing:border-box;border:1px solid var(--border-default);background-color:var(--surface-input);width:100%;min-width:0;height:36px;color:var(--text-primary);font:inherit;text-transform:uppercase;padding:8px 10px}section#Console .Backtester .backtesterStrategySetRowActions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}section#Console .Backtester .backtesterStrategySetEmpty{border:1px dashed var(--border-default);color:var(--text-muted);padding:14px;font-size:.84rem;line-height:1.45}section#Console .Backtester .backtesterPortfolioSummary{flex-direction:column;gap:10px;display:flex}section#Console .Backtester .backtesterPortfolioSummary h4{margin:0;font-size:.9rem}section#Console .Backtester .backtesterPortfolioGrid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;display:grid}section#Console .Backtester .backtesterPortfolioCard{border:1px solid var(--border-default);background-color:#ffffff06;flex-direction:column;gap:6px;padding:12px;font-size:.82rem;display:flex}section#Console .Backtester .backtesterPortfolioCard strong{font-size:.85rem}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 .backtesterGuestNotice{color:#f0c46b;background-color:#d3a64514;border:1px solid #d3a64559;margin:10px 16px 0;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}section#Console .Backtester .backtesterStrategyPipeShell,section#Console .Backtester .backtesterStrategySetHeader,section#Console .Backtester .backtesterStrategySetMeta,section#Console .Backtester .backtesterStrategySetRow{flex-direction:column;grid-template-columns:1fr;align-items:stretch;display:flex}section#Console .Backtester .backtesterStrategySetFields{grid-template-columns:1fr}section#Console .Backtester .backtesterStrategySetRowActions{justify-content:flex-start}section#Console .Backtester .backtesterStrategySetActions{justify-content:flex-start;width:100%}section#Console .Backtester .backtesterStrategyPipeSelectionHeader{flex-direction:column}section#Console .Backtester .backtesterStrategyPipeSelectionMeta{justify-content:flex-start}}@media (width<=900px){section#Console .Backtester .fieldRow{grid-template-columns:1fr}section#Console .Backtester .backtesterHistoryField{grid-column:span 1}section#Console .Backtester .backtesterJobStatus{flex-direction:column;align-items:flex-start}}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);isolation:isolate;min-height:0;max-height:none;position:fixed;box-shadow:0 -8px 28px #00000059;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 .batchTabs,section#Console .Strategy .strategyPanelTabs,section#Console .RuntimeConsole .runtimePanelTabs,section#Console .Backtester .backtesterPanelTabs,section#Console .Neural .neuralTabsList,section#Console .Results .resultsTabs{background-color:var(--surface-app);border-top:1px solid var(--border-default);border-bottom:1px solid var(--border-default);scrollbar-width:thin;-webkit-overflow-scrolling:touch;align-items:stretch;min-width:0;min-height:42px;display:flex;overflow:auto hidden}section#Console .batchTabsInline{margin:0 0 12px}section#Console .batchTabButton,section#Console .Strategy .strategyPanelTab,section#Console .RuntimeConsole .runtimePanelTab,section#Console .Backtester .backtesterPanelTab,section#Console .Neural .neuralTabButton,section#Console .Results .resultsTab{appearance:none;box-sizing:border-box;color:var(--text-primary);cursor:pointer;white-space:nowrap;min-height:100%;font:inherit;background-color:#0000;border:none;outline:none;flex:none;align-self:stretch;align-items:center;gap:10px;padding:0 20px;line-height:1;display:flex}section#Console .batchTabButton.active,section#Console .Strategy .strategyPanelTab.active,section#Console .RuntimeConsole .runtimePanelTab.active,section#Console .Backtester .backtesterPanelTab.active,section#Console .Neural .neuralTabButton.active,section#Console .Results .resultsTab.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 .batchTabButton:hover:not(.active):not(:disabled),section#Console .Strategy .strategyPanelTab:hover:not(.active):not(:disabled),section#Console .RuntimeConsole .runtimePanelTab:hover:not(.active):not(:disabled),section#Console .Backtester .backtesterPanelTab:hover:not(.active):not(:disabled),section#Console .Neural .neuralTabButton:hover:not(.active):not(:disabled),section#Console .Results .resultsTab:hover:not(.active):not(:disabled){background-color:#ffffff0a}section#Console .batchTabButton:focus-visible,section#Console .Strategy .strategyPanelTab:focus-visible,section#Console .RuntimeConsole .runtimePanelTab:focus-visible,section#Console .Backtester .backtesterPanelTab:focus-visible,section#Console .Neural .neuralTabButton:focus-visible,section#Console .Results .resultsTab:focus-visible{box-shadow:inset 0 0 0 1px #6bb8ff8c}section#Console .terminal{flex:1;min-height:0;position:relative;overflow:auto}section#Console.isMaximized .terminal{background-color:var(--surface-app);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{cursor:default}section#Console.isMaximized .resizeHandle{cursor:default;display:none}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 .consoleLoadingCurtain{z-index:6;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#0609108f;justify-content:center;align-items:center;padding:24px;display:flex;position:absolute;inset:0}section#Console .consoleLoadingCurtainCard{background:radial-gradient(circle at 0 0,#5c90ff1f,#0000 44%),#ffffff0a;border:1px solid #ffffff1a;border-radius:12px;align-items:center;gap:14px;width:min(100%,540px);min-height:86px;padding:18px 20px;display:flex;box-shadow:0 14px 40px #0000003d}section#Console .consoleLoadingCurtainSpinner{border:3px solid #ffffff24;border-top-color:#6bb8fff2;border-radius:999px;flex:none;width:28px;height:28px;animation:.9s linear infinite consoleLoadingCurtainSpin}section#Console .consoleLoadingCurtainText{min-width:0}section#Console .consoleLoadingCurtainTitle{color:var(--text-primary);font-size:.98rem;font-weight:700}section#Console .consoleLoadingCurtainDetail{color:var(--text-muted);margin-top:6px;font-size:.85rem;line-height:1.45}section#Console .consoleLoadingCurtainStatusList{flex-direction:column;gap:6px;margin-top:12px;display:flex}section#Console .consoleLoadingCurtainStatusRow{min-height:30px;color:var(--text-muted);background:#ffffff08;border:1px solid #ffffff14;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:0 10px;font-size:.82rem;display:flex}section#Console .consoleLoadingCurtainStatusRow strong{color:var(--text-primary);letter-spacing:.04em;text-transform:uppercase;font-size:.8rem}section#Console .consoleLoadingCurtainStatusRow strong.is-ready{color:#78d69a}@keyframes consoleLoadingCurtainSpin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}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%}section#Console .consoleLoadingCurtain{padding:16px}section#Console .consoleLoadingCurtainCard{align-items:flex-start;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}.indicatorManagerCatalogControls{border-bottom:1px dashed var(--border-default);flex-direction:column;gap:10px;padding-bottom:2px;display:flex}.indicatorManagerCatalogFilters{gap:8px;display:flex}.indicatorManagerCatalogFilters 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}.indicatorManagerCatalogFilters button.active{color:var(--text-primary);background:#6bb8ff1f;border-color:#6bb8ff73}.indicatorManagerSearchRow{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.indicatorManagerSearchRow input{border:1px solid var(--border-default);background:var(--surface-panel);min-width:0;height:36px;color:var(--text-primary);border-radius:.45em;padding:0 12px}.indicatorManagerSearchClear{cursor:pointer;height:36px;font-size:.82rem;font-weight:700;border:1px solid var(--border-default)!important;background:var(--surface-panel)!important;color:var(--text-muted)!important;border-radius:.45em!important;padding:0 12px!important}.indicatorManagerSearchClear:hover{color:var(--text-primary)!important;border-color:#6bb8ff73!important}.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}.indicatorManagerCatalogEntry{grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:6px;display:grid}.indicatorManagerCatalogSelect{text-align:left}.indicatorManagerCatalogFavoriteToggle{cursor:pointer;width:38px;min-width:38px;font-size:.96rem;font-weight:800;color:var(--text-muted)!important;background:0 0!important;border:1px solid #0000!important;border-radius:.45em!important;padding:0!important}.indicatorManagerCatalogFavoriteToggle:hover{color:#ffd54f!important;background:#ffd54f1a!important;border-color:#ffd54f59!important}.indicatorManagerCatalogFavoriteToggle.isFavorite{color:#ffd54f!important;background:#ffd54f24!important;border-color:#ffd54f6b!important}.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}}.streamModeApp{background:radial-gradient(circle at 0 0,#5b9bd51f,#0000 24%),radial-gradient(circle at 100% 0,#2cc5a314,#0000 22%),linear-gradient(#081018 0%,#0b131b 100%);height:100dvh;min-height:100dvh;display:block;overflow:hidden}.streamScreen{box-sizing:border-box;flex-direction:column;gap:14px;height:100dvh;min-height:100dvh;padding:18px;display:flex;overflow:hidden}.streamErrorBanner{background:linear-gradient(#4d1015eb,#390e12eb);border:1px solid #ef44444d;border-radius:16px;gap:8px;width:100%;padding:14px 18px;display:grid;box-shadow:0 16px 40px #0000003d}.streamErrorBanner strong{color:#fecaca;letter-spacing:.08em;text-transform:uppercase;font-size:.88rem;font-weight:700}.streamErrorBannerMessages{flex-wrap:wrap;gap:10px 18px;display:flex}.streamErrorBannerMessages span{color:#fee2e2f0;font-size:.9rem;line-height:1.45}.streamHeroBar{background:linear-gradient(135deg,#091119f0,#0e161ee6),#0b121aeb;border:1px solid #ffffff14;border-radius:20px;justify-content:space-between;align-items:center;gap:16px;padding:18px 22px;display:flex;box-shadow:0 18px 44px #0000003d}.streamHeroTitleBlock{gap:6px;display:grid}.streamHeroEyebrow{color:#8fc3ff;letter-spacing:.12em;text-transform:uppercase;font-size:.76rem;font-weight:700}.streamHeroTitleBlock strong{color:#f7fbff;font-size:clamp(1.35rem,2.2vw,2rem);line-height:1.05}.streamHeroTitleBlock small{color:#e4edf7b8;font-size:.92rem}.streamHeroStatusRow{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.streamStatusPill{color:#f0f6fcd1;letter-spacing:.02em;background:#ffffff0a;border:1px solid #ffffff14;border-radius:999px;align-items:center;min-height:34px;padding:0 14px;font-size:.86rem;font-weight:600;display:inline-flex}.streamStatusPill.tone-profit{color:#bbf7d0;background:#22c55e1f;border-color:#22c55e52}.streamStatusPill.tone-warning{color:#fde68a;background:#f59e0b1f;border-color:#f59e0b52}.streamBody{flex:auto;grid-template:"chart sidebar"minmax(0,1fr)/minmax(0,1fr) 360px;gap:18px;height:100%;min-height:0;display:grid;overflow:visible}.streamChartShell,.streamSidebar,.streamPanel{min-height:0}.streamChartShell{border:1px solid #ffffff14;border-radius:22px;grid-area:chart;overflow:hidden;box-shadow:0 22px 54px #00000042}.streamSidebar{flex-direction:column;grid-area:sidebar;align-self:start;gap:14px;min-width:0;height:fit-content;padding-right:0;display:flex;overflow:visible}.streamPanel{background:linear-gradient(#0b121af0,#0a0f17eb),#0b121aeb;border:1px solid #ffffff14;border-radius:18px;gap:14px;padding:18px;display:grid}.streamPanelHero{gap:12px}.streamPanelCompact{padding-top:14px;padding-bottom:14px}.streamPanelHeader{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.streamPanelHeader strong{color:#f7fbff;font-size:1rem;display:block}.streamPanelHeader span{color:#e4edf7ad;margin-top:4px;font-size:.88rem;line-height:1.4;display:block}.streamChartControlRow{justify-content:space-between;align-items:center;gap:14px;display:flex}.streamChartControlText{gap:4px;min-width:0;display:grid}.streamChartControlText strong{color:#f7fbff;font-size:.94rem}.streamChartControlText span{color:#e4edf7ad;font-size:.84rem;line-height:1.4}.streamIndicatorToggleButton{color:#f7fbff;cursor:pointer;background:#0b121aeb;border:1px solid #ffffff24;border-radius:.32em;justify-content:center;align-items:center;width:30px;height:24px;padding:0;transition:background .12s,border-color .12s,color .12s,opacity .12s;display:inline-flex}.streamIndicatorToggleButton:hover:not(:disabled){background:#121c27f5}.streamIndicatorToggleButton.isActive{color:#0d1419;background:#f4f8fcf0;border-color:#e8f0f8fa;box-shadow:inset 0 0 0 1px #ffffff2e}.streamIndicatorToggleButton:disabled{opacity:.5;cursor:not-allowed}.streamIndicatorToggleButton svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}.streamResultHero{background:linear-gradient(140deg,#6bb8ff29,#6bb8ff0a 65%);border:1px solid #6bb8ff2e;border-radius:16px;gap:6px;padding:18px;display:grid}.streamResultHero.isProfit{background:linear-gradient(140deg,#22c55e29,#22c55e08 65%);border-color:#22c55e3d}.streamResultHero.isLoss{background:linear-gradient(140deg,#ef444424,#ef444408 65%);border-color:#ef44443d}.streamResultHero span{color:#e4edf7b8;text-transform:uppercase;letter-spacing:.08em;font-size:.82rem}.streamResultHero strong{color:#f7fbff;font-size:clamp(2.2rem,3.8vw,3.4rem);line-height:.95}.streamResultHeroValueRow{flex-wrap:wrap;align-items:flex-end;gap:10px;display:flex}.streamResultHeroUnit{color:#e4edf7d6;letter-spacing:.08em;text-transform:uppercase;font-size:.92rem;font-weight:700;line-height:1.1}.streamResultHeroDetail{color:#e4edf7d1;font-size:.92rem;font-weight:600;line-height:1.25}.streamResultHero small{color:#e4edf7c7;font-size:.92rem}.streamStatsGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.streamStatCard{background:#ffffff08;border:1px solid #ffffff12;border-radius:14px;gap:6px;padding:14px 12px;display:grid}.streamStatCard.isEmphasis{background:#6bb8ff14;border-color:#6bb8ff2e}.streamStatCard span{color:#e4edf79e;text-transform:uppercase;letter-spacing:.08em;font-size:.76rem}.streamStatCard strong{color:#f7fbff;word-break:break-word;font-size:1rem;line-height:1.2}.streamStatCard small{color:#e4edf7ad;font-size:.82rem;line-height:1.35}.streamStatCard.tone-profit strong{color:#86efac}.streamStatCard.tone-warning strong{color:#fca5a5}.streamRuntimeWarning{background:#f59e0b14;border:1px solid #f59e0b42;border-radius:14px;gap:4px;padding:14px;display:grid}.streamRuntimeWarning strong{color:#fde68a}.streamRuntimeWarning span{color:#fef3c7e6;font-size:.88rem;line-height:1.45}.streamReplayLoadingState{background:#6bb8ff17;border:1px solid #6bb8ff38;border-radius:14px;gap:4px;padding:14px;display:grid}.streamReplayLoadingState strong{color:#dbeafe}.streamReplayLoadingState span{color:#dbeafedb;font-size:.88rem;line-height:1.45}.streamHistoryDock{box-sizing:border-box;background:linear-gradient(#0c1118fa,#090d12f5),#090d12f5;border:1px solid #ffffff14;border-top-color:#ffffff1f;border-radius:18px;flex-direction:column;flex:0 0 min(30vh,320px);gap:12px;min-height:0;padding:12px;display:flex;overflow:hidden;box-shadow:0 20px 48px #0000003d}.streamHistoryDockGrid{flex:auto;grid-template-columns:minmax(0,.9fr) minmax(0,1.3fr);gap:12px;min-height:0;display:grid}.streamDockPanel{background:#ffffff06;border:1px solid #ffffff14;border-radius:14px;grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:0;display:grid;overflow:hidden}.streamDockPanelHeader{background:#ffffff05;border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;gap:12px;min-height:42px;padding:0 14px;display:flex}.streamDockPanelHeader strong{color:#f7fbff;letter-spacing:.04em;text-transform:uppercase;font-size:.88rem}.streamDockPanelHeader span{color:#e4edf7a8;letter-spacing:.04em;text-transform:uppercase;font-size:.78rem}.streamResultCurveShell{box-sizing:border-box;grid-template-rows:minmax(0,1fr) auto auto;gap:10px;min-height:0;padding:14px;display:grid}.streamResultCurvePlot{grid-template-columns:78px minmax(0,1fr);gap:10px;min-height:0;display:grid}.streamResultCurveYAxis{grid-template-rows:auto minmax(0,1fr);gap:8px;min-height:0;display:grid}.streamResultCurveYAxisTitle{color:#e4edf7c7;letter-spacing:.08em;text-transform:uppercase;font-size:.72rem;font-weight:700}.streamResultCurveYAxisLabels{min-height:0;position:relative}.streamResultCurveYAxisLabel{color:#e4edf7c2;white-space:nowrap;font-size:.76rem;line-height:1;position:absolute;left:0}.streamResultCurveYAxisLabel.isTop{top:0}.streamResultCurveYAxisLabel.isMiddle{top:50%;transform:translateY(-50%)}.streamResultCurveYAxisLabel.isBottom{bottom:0}.streamResultCurveCanvas{background:#04080d57;border:1px solid #ffffff12;border-radius:12px;min-height:0;position:relative;overflow:hidden}.streamResultCurveCanvas.isProfit{border-color:#22c55e24}.streamResultCurveCanvas.isLoss{border-color:#ef444424}.streamResultCurveSvg{width:100%;height:100%;display:block}.streamResultCurveGrid line{stroke:#e4edf714;stroke-width:.8px}.streamResultCurveBaseline{stroke:#e4edf73d;stroke-width:1px;stroke-dasharray:3 3}.streamResultCurveLine{fill:none;stroke:#8fc3ff;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round}.streamResultCurveCanvas.isProfit .streamResultCurveLine{stroke:#86efac}.streamResultCurveCanvas.isLoss .streamResultCurveLine{stroke:#fca5a5}.streamResultCurveMeta,.streamResultCurveSummary{justify-content:space-between;align-items:center;gap:12px;display:flex}.streamResultCurveMeta span,.streamResultCurveSummary span{color:#e4edf7b8;font-size:.8rem;line-height:1.35}.streamHistoryDockLoading{padding:0 4px 2px}.streamHistoryTableShell{background:#04080d61;height:100%;min-height:0;overflow:auto}.streamHistoryTable{border-collapse:collapse;table-layout:fixed;width:100%}.streamHistoryTable thead th{z-index:1;color:#e4edf7b8;letter-spacing:.08em;text-align:left;text-transform:uppercase;background:#080e15f5;border-bottom:1px solid #ffffff14;padding:10px 12px;font-size:.76rem;font-weight:700;position:sticky;top:0}.streamHistoryTable td{color:#f0f6fcdb;vertical-align:middle;border-bottom:1px solid #ffffff0f;padding:10px 12px;font-size:.85rem;line-height:1.35}.streamHistoryRow{background:#ffffff04}.streamHistoryRow:nth-child(2n){background:#ffffff08}.streamHistoryRow.tone-profit{background:#22c55e14}.streamHistoryRow.tone-loss{background:#ef444414}.streamHistoryTable .isNumeric{text-align:right}.streamHistoryTable .isCaps{text-transform:uppercase;letter-spacing:.06em}.streamHistoryTable .isPnl.tone-profit{color:#86efac;font-weight:700}.streamHistoryTable .isPnl.tone-loss{color:#fca5a5;font-weight:700}.streamHistoryTable .isPnl.tone-neutral{color:#f0f6fcdb}.streamOperationList{flex-direction:column;gap:10px;display:flex}.streamOperationRow{background:#ffffff08;border:1px solid #ffffff14;border-radius:14px;gap:8px;padding:14px 12px;display:grid}.streamOperationRow.tone-profit{background:#22c55e14;border-color:#22c55e3d}.streamOperationRow.tone-loss{background:#ef444414;border-color:#ef44443d}.streamOperationRow.tone-warning{background:#f59e0b14;border-color:#f59e0b3d}.streamOperationMeta,.streamOperationMain,.streamOperationSecondary{justify-content:space-between;align-items:center;gap:10px;display:flex}.streamOperationMeta span,.streamOperationSecondary span,.streamOperationSecondary small{color:#e4edf7b8;font-size:.82rem}.streamOperationMeta strong{color:#8fc3ff;text-transform:uppercase;letter-spacing:.08em;font-size:.78rem}.streamOperationMain strong{color:#f7fbff;text-transform:capitalize;font-size:.96rem}.streamOperationMain span{color:#e4edf7c2;text-align:right;font-size:.88rem}.streamOperationMessage{color:#e4edf7ad;font-size:.84rem;line-height:1.4}.streamEmptyState,.streamLoadingState{color:#e4edf7ad;padding:14px 16px;font-size:.9rem;line-height:1.45}@media (width<=1180px){.streamScreen{gap:12px}.streamBody{grid-template:"chart"minmax(0,1fr)"sidebar"/minmax(0,1fr)}.streamSidebar{align-self:stretch}.streamHistoryDock{flex-basis:min(34vh,280px)}.streamHistoryDockGrid{grid-template-columns:minmax(0,1fr)}}@media (width<=720px){.streamScreen{gap:10px;padding:12px}.streamChartShell,.streamPanel,.streamHistoryDock{border-radius:16px}.streamStatsGrid{grid-template-columns:minmax(0,1fr)}.streamChartControlRow{flex-direction:column;align-items:stretch}.streamHistoryTable{min-width:760px}.streamHistoryDock{flex-basis:min(32vh,220px)}.streamDockPanelHeader{padding-left:12px;padding-right:12px}.streamResultCurveShell{padding:12px}.streamResultCurvePlot{grid-template-columns:64px minmax(0,1fr)}.streamResultCurveYAxisLabel{font-size:.7rem}}section#SystemLog{background-color:var(--surface-app);flex-direction:column;min-height:72px;display:flex;position:relative;overflow:hidden}section#SystemLog .systemLogToolbar{z-index:4;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px 0;display:flex}section#SystemLog .systemLogMeta{min-width:0}section#SystemLog .systemLogMetaTitleRow{align-items:center;gap:8px;min-width:0;display:flex}section#SystemLog .systemLogMetaTitle{color:var(--text-primary);letter-spacing:.04em;text-transform:uppercase;font-size:.78rem;font-weight:600}section#SystemLog .systemLogMetaCountLabel{color:var(--text-subtle);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.72rem;line-height:1.2}section#SystemLog .systemLogMetaLabel{min-width:0;color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;font-size:.78rem;overflow:hidden}section#SystemLog .systemLogMetaBadge{border:1px solid var(--border-default);height:20px;color:var(--text-muted);white-space:nowrap;background:#ffffff05;justify-content:center;align-items:center;padding:0 7px;font-size:.7rem;line-height:1;display:inline-flex}section#SystemLog .systemLogMetaBadge.is-active{color:#8fb7ff;border-color:#6eafff73}section#SystemLog .systemLogMetaBadge.is-archived{color:var(--text-subtle)}section#SystemLog .systemLogMetaBadge.is-local{color:#f0c46a;border-color:#ffc15e59}section#SystemLog .systemLogMetaRow{color:var(--text-subtle);flex-wrap:wrap;gap:10px;margin-top:6px;font-size:.74rem;display:flex}section#SystemLog .systemLogActions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}section#SystemLog .systemLogActionButton{border:1px solid var(--border-default);height:24px;color:var(--text-muted);cursor:pointer;background:0 0;justify-content:center;align-items:center;padding:0 9px;font-size:.74rem;line-height:1;display:inline-flex}section#SystemLog .systemLogActionButton:hover:not(:disabled){color:var(--text-primary);border-color:var(--border-strong)}section#SystemLog .systemLogActionButton:disabled{opacity:.6;cursor:wait}section#SystemLog .systemLogStart{color:#8fb7ff;border-color:#6eafff59}section#SystemLog .resizeHandle{cursor:ns-resize;z-index:6;touch-action:none;background-color:#0000;height:14px;position:absolute;top:0;left:0;right:0}section#SystemLog .resizeHandle:before{content:"";background:#ffffff2e;border-radius:999px;width:56px;height:4px;position:absolute;top:4px;left:50%;transform:translate(-50%)}section#SystemLog .resizeHandle:hover:before{background:#8fb7ff8c}section#SystemLog .systemLogBody{flex:1;min-height:0;padding:14px 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:18px}section#SystemLog .systemLogToolbar{flex-direction:column;gap:10px;padding:18px 12px 0}section#SystemLog .systemLogActions{justify-content:flex-start;width:100%}section#SystemLog .systemLogActionButton{min-height:28px}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;align-items:center;gap:10px;display:flex}.authManagerPrimary{font-weight:700;color:#25282d!important;background-color:#d6d9de!important;border-color:#d6d9de!important}.authManagerGuest{font-weight:700;color:#f5d98f!important;background-color:#d9a83a1f!important;border-color:#d9a83a6b!important}.authManagerError{color:var(--status-danger-strong);font-size:.86rem}.authManagerIdentity{color:var(--text-muted);flex-direction:column;gap:6px;line-height:1.5;display:flex}.authManagerGuestBadge{color:#f5d98f;background:#d9a83a1a;border:1px solid #d9a83a59;width:fit-content;padding:3px 8px;font-size:.76rem;font-weight:700}@media (width<=640px){.authManagerStandalone{align-items:flex-start;padding:12px}.authManagerWindow{width:100%;max-width:100%;padding:42px 14px 14px}.authManagerActions{flex-direction:column;justify-content:stretch;align-items:stretch}.authManagerActions button{width:100%}}.mobileTraderApp{color:#e6edf7;background:radial-gradient(circle at 0 0,#146cff29,#0000 34%),radial-gradient(circle at 100% 0,#13c4701f,#0000 28%),#06111d;min-height:100dvh}.mobileTraderAlert{border-bottom:1px solid #ffffff14;flex-direction:column;gap:.35rem;padding:.9rem 1rem;font-size:.86rem;display:flex}.mobileTraderAlert.tone-error{color:#ffd7de;background:#891927e0}.mobileTraderAlert.tone-warning{color:#ffe6aa;background:#7b5211e6}.mobileTraderTopbar{z-index:10;padding:calc(.8rem + env(safe-area-inset-top,0px)) 1rem .8rem;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#050d18f0;border-bottom:1px solid #ffffff0f;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.8rem;display:grid;position:sticky;top:0}.mobileTraderMenuButton{cursor:pointer;background:#ffffff0a;border:1px solid #ffffff1f;border-radius:.8rem;flex-direction:column;justify-content:center;gap:.22rem;width:2.4rem;height:2.4rem;padding:.55rem;display:inline-flex}.mobileTraderMenuButton span{background:#edf4ff;border-radius:999px;width:100%;height:2px;display:block}.mobileTraderTopbarText{flex-direction:column;min-width:0;display:flex}.mobileTraderTopbarText strong{font-size:1rem;line-height:1.15}.mobileTraderTopbarText span{color:#93a8c8;white-space:nowrap;text-overflow:ellipsis;margin-top:.18rem;font-size:.76rem;overflow:hidden}.mobileTraderTopbarChips{flex-direction:column;gap:.35rem;display:flex}.mobileTraderChip{color:#b9c8dc;letter-spacing:.06em;text-transform:uppercase;background:#ffffff0f;border:1px solid #ffffff17;border-radius:999px;justify-content:center;align-items:center;min-width:4.2rem;padding:.34rem .55rem;font-size:.7rem;font-weight:700;display:inline-flex}.mobileTraderChip.isGood{color:#9ef3c8;background:#23b67224;border-color:#23b6725c}.mobileTraderChip.isWarning{color:#ffd59b;background:#d6752629;border-color:#d6752657}.mobileTraderMain{padding:.95rem .85rem calc(1rem + env(safe-area-inset-bottom,0px));flex-direction:column;gap:1rem;display:flex}.mobileTraderStatsGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;display:grid}.mobileTraderStatCard{background:#0a1423db;border:1px solid #ffffff0f;border-radius:1rem;flex-direction:column;gap:.35rem;min-height:5.85rem;padding:.9rem;display:flex;box-shadow:0 14px 28px #0000002e}.mobileTraderStatCard span{color:#8fa8c8;letter-spacing:.08em;text-transform:uppercase;font-size:.72rem;font-weight:600}.mobileTraderStatCard strong{font-size:1rem;line-height:1.15}.mobileTraderStatCard small{color:#b7c4d8;font-size:.76rem;line-height:1.35}.mobileTraderStatCard.tone-buy{background:linear-gradient(150deg,#103a29f2,#091823f2);border-color:#27c97e3d}.mobileTraderStatCard.tone-sell{background:linear-gradient(150deg,#45161df2,#14131ff2);border-color:#ef444442}.mobileTraderStatCard.tone-warning,.mobileTraderStatCard.tone-mixed{background:linear-gradient(150deg,#483513f2,#14131ff2);border-color:#f59e0b3d}.mobileTraderChartPanel{background:#080f19eb;border-top:1px solid #ffffff0f;border-bottom:1px solid #ffffff0f;border-radius:0;align-items:stretch;width:calc(100% + 1.7rem);height:clamp(19rem,54dvh,34rem);min-height:19rem;margin-inline:-.85rem;display:flex;position:relative;overflow:hidden}.mobileTraderChartPanel.isCollapsed{height:auto;min-height:0}.mobileTraderChartShell{flex:auto;min-width:0;height:100%;min-height:0;position:relative}.mobileTraderChartShell>.chartShell{height:100%;min-height:0}.mobileTraderChartShell>.chartShell.hasExternalStreamMeta{height:100%;padding:.9rem 1rem 0}.mobileTraderChartShell>.chartShell.hasExternalStreamMeta .chartAppliedMeta.isExternalPlacement{gap:.7rem}.mobileTraderChartShell>.chartShell.hasExternalStreamMeta .chartAppliedMetaRow.chartAppliedMetaPrimaryRow{align-items:flex-start;gap:.7rem}.mobileTraderChartShell>.chartShell.hasExternalStreamMeta .chartAppliedMetaPrimaryGroup{gap:.55rem}.mobileChartControlStrip{flex:none;align-items:center;gap:.45rem;display:inline-flex}.mobileTraderChartShell>.chartShell.hasExternalStreamMeta.isStreamMetaCollapsed .mobileChartControlStrip .mobileChartControlButton:not(:first-child){display:none}.mobileTraderChartShell>.chartShell.hasExternalStreamMeta.isStreamMetaCollapsed .chartAppliedMetaPrimaryRow{align-items:center}.mobileTraderChartCollapsedBar{color:#dce8f8;text-align:left;cursor:pointer;background:linear-gradient(#080f19f5,#0a1423eb);border:0;justify-content:space-between;align-items:center;gap:.9rem;width:100%;padding:.95rem 1rem;display:flex}.mobileTraderChartCollapsedMeta{flex-direction:column;gap:.2rem;min-width:0;display:flex}.mobileTraderChartCollapsedMeta strong{font-size:.94rem;line-height:1.15}.mobileTraderChartCollapsedMeta small{color:#8fa8c8;font-size:.76rem;line-height:1.3}.mobileTraderChartCollapsedBar svg{stroke:currentColor;stroke-width:1.8px;fill:none;stroke-linecap:round;stroke-linejoin:round;flex:none;width:1.2rem;height:1.2rem}:-webkit-any(.mobileTraderChartPanel:fullscreen,.mobileTraderChartPanel:-webkit-full-screen){background:#050d16;border:0;border-radius:0;width:100vw;height:100dvh;min-height:100dvh;margin:0}:is(.mobileTraderChartPanel:fullscreen,.mobileTraderChartPanel:fullscreen){background:#050d16;border:0;border-radius:0;width:100vw;height:100dvh;min-height:100dvh;margin:0}.mobileTraderChartPanel:fullscreen .mobileTraderChartShell{height:100%}.mobileTraderChartPanel:-webkit-full-screen .mobileTraderChartShell{height:100%}.mobileTraderChartPanel:fullscreen .mobileTraderChartShell>.chartShell{height:100%}.mobileTraderChartPanel:-webkit-full-screen .mobileTraderChartShell>.chartShell{height:100%}:-webkit-any(.mobileTraderChartPanel:fullscreen .mobileTraderChartShell>.chartShell.hasExternalStreamMeta,.mobileTraderChartPanel:-webkit-full-screen .mobileTraderChartShell>.chartShell.hasExternalStreamMeta){padding-top:calc(1rem + env(safe-area-inset-top,0px))}:is(.mobileTraderChartPanel:fullscreen .mobileTraderChartShell>.chartShell.hasExternalStreamMeta,.mobileTraderChartPanel:fullscreen .mobileTraderChartShell>.chartShell.hasExternalStreamMeta){padding-top:calc(1rem + env(safe-area-inset-top,0px))}.mobileTraderChartLoading{z-index:6;color:#c8defd;text-align:center;pointer-events:none;background:#0d1c2cf0;border:1px solid #60a5fa33;border-radius:.95rem;flex-direction:column;align-items:center;gap:.25rem;max-width:min(78vw,18rem);padding:.75rem .85rem;font-size:.78rem;display:flex;position:absolute;top:58%;left:50%;transform:translate(-50%,-50%)}.mobileChartControlButton{color:#d8e6fa;cursor:pointer;background:#080e18b8;border:1px solid #ffffff1f;border-radius:999px;justify-content:center;align-items:center;width:1.95rem;height:1.95rem;display:inline-flex}.mobileChartControlButton svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:1rem;height:1rem}.mobileChartControlButton.isActive{color:#bdf7d7;background:#23b6722e;border-color:#23b67252}.mobileTraderDrawerBackdrop{opacity:0;pointer-events:none;z-index:24;background:#02080fb8;transition:opacity .16s;position:fixed;inset:0}.mobileTraderDrawerBackdrop.isOpen{opacity:1;pointer-events:auto}.mobileTraderDrawer{z-index:25;width:min(88vw,26rem);height:100dvh;padding:calc(1rem + env(safe-area-inset-top,0px)) 1rem calc(1rem + env(safe-area-inset-bottom,0px));background:#060d17fa;border-right:1px solid #ffffff14;transition:transform .18s;position:fixed;top:0;left:0;overflow-y:auto;transform:translate(-102%);box-shadow:18px 0 48px #0000005c}.mobileTraderDrawer.isOpen{transform:translate(0)}.mobileTraderDrawerHeader{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem;display:flex}.mobileTraderDrawerHeader strong{font-size:1rem;display:block}.mobileTraderDrawerHeader span{color:#99afce;margin-top:.22rem;font-size:.78rem;line-height:1.35;display:block}.mobileTraderDrawerClose{color:#e8eef8;cursor:pointer;background:#ffffff0a;border:1px solid #ffffff1f;border-radius:999px;width:2rem;height:2rem;font-size:1.2rem}.mobileTraderDrawerNotice{border-radius:.9rem;margin-bottom:.85rem;padding:.72rem .82rem;font-size:.8rem;line-height:1.4}.mobileTraderDrawerNotice.isError{color:#ffd2d9;background:#7d1d2957;border:1px solid #ef444440}.mobileTraderDrawerNotice.isSuccess{color:#c0f4d9;background:#114e3461;border:1px solid #22c55e3d}.mobileTraderDrawerSection{background:#0d1724d6;border:1px solid #ffffff0f;border-radius:1rem;margin-bottom:.8rem;overflow:hidden}.mobileTraderDrawerSection summary{cursor:pointer;padding:.95rem 1rem;font-weight:700;list-style:none}.mobileTraderDrawerSection summary::-webkit-details-marker{display:none}.mobileTraderActionGrid,.mobileTraderSummaryList,.mobileTraderMarketList,.mobileTraderSleeveList,.mobileTraderPipelineList,.mobileTraderOperationsList{padding:0 1rem 1rem}.mobileTraderActionGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;display:grid}.mobileTraderActionButton{color:#ebf1fb;cursor:pointer;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:.9rem;min-height:2.8rem;padding:.7rem .8rem;font-size:.8rem;font-weight:700;line-height:1.2}.mobileTraderActionButton:disabled{opacity:.55;cursor:default}.mobileTraderActionButton.tone-buy{background:#114e3473;border-color:#22c55e38}.mobileTraderActionButton.tone-sell{background:#531c2173;border-color:#ef444438}.mobileTraderActionButton.tone-warning{background:#5f401773;border-color:#f59e0b38}.mobileTraderSummaryList{gap:.7rem;display:grid}.mobileTraderSummaryList div{background:#ffffff09;border-radius:.85rem;justify-content:space-between;align-items:center;gap:1rem;padding:.72rem .78rem;display:flex}.mobileTraderSummaryList span{color:#8fa4bf;font-size:.78rem}.mobileTraderSummaryList strong{text-align:right;font-size:.82rem}.mobileTraderMarketList,.mobileTraderSleeveList,.mobileTraderPipelineList,.mobileTraderOperationsList{gap:.72rem;display:grid}.mobileTraderMarketButton,.mobileTraderSleeveCard,.mobileTraderPipelineCard,.mobileTraderOperationCard{color:#e7eef9;background:#ffffff09;border:1px solid #ffffff0f;border-radius:.95rem;flex-direction:column;gap:.28rem;padding:.82rem .9rem;display:flex}.mobileTraderMarketButton{text-align:left;cursor:pointer}.mobileTraderMarketButton.isActive{background:#18477a59;border-color:#60a5fa40}.mobileTraderMarketButton span,.mobileTraderSleeveCard span,.mobileTraderPipelineCard span,.mobileTraderOperationCard span,.mobileTraderPipelineCard small{color:#9bb0cb;font-size:.76rem;line-height:1.35}.mobileTraderOperationHead{justify-content:space-between;align-items:center;gap:.6rem;display:flex}.mobileTraderOperationCard strong.isProfit{color:#86f5bb}.mobileTraderOperationCard strong.isLoss{color:#ff9aac}.mobileTraderEmptyState{color:#9ab1cc;background:#ffffff08;border-radius:.9rem;padding:.9rem;font-size:.78rem;line-height:1.45}@media (width>=720px){.mobileTraderMain{max-width:62rem;margin:0 auto;padding-left:1rem;padding-right:1rem}.mobileTraderStatsGrid{grid-template-columns:repeat(3,minmax(0,1fr))}.mobileTraderChartPanel{border:1px solid #ffffff0f;border-radius:1.2rem;width:100%;min-height:62dvh;margin-inline:0}}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}.appRuntimeAlert{top:calc(var(--header-height) + 14px);z-index:160;color:#ffd6d6;background:#2c0a0af5;border:1px solid #ef44446b;border-radius:14px;gap:6px;width:min(420px,100vw - 36px);padding:14px 16px;display:grid;position:fixed;right:18px;box-shadow:0 18px 40px #00000061}.appRuntimeAlertEyebrow{letter-spacing:.08em;text-transform:uppercase;color:#ff8d8d;font-size:.72rem;font-weight:700}.appRuntimeAlert strong{font-size:1rem;line-height:1.2}.appRuntimeAlert span{color:#ffe1e1eb;font-size:.9rem;line-height:1.45}.appRuntimeAlertInvalidStops{top:calc(var(--header-height) + 112px);background:#420808fa;border-color:#ef4444ad}.appRuntimeAlertClose{color:#ffd6d6;cursor:pointer;background:#ffffff0f;border:1px solid #ffffff29;border-radius:999px;width:28px;height:28px;font-size:1rem;line-height:1;position:absolute;top:10px;right:10px}.appRuntimeAlertClose:hover{background:#ffffff1f}.streamLaunchWindow{width:min(560px,100vw - 32px);padding-bottom:24px}.streamLaunchPanel{gap:16px;display:grid}.streamLaunchTitle{color:var(--text-overlay-strong);font-size:1.18rem;font-weight:700}.streamLaunchCopy{color:#edf1f5bd;margin:-6px 0 0;line-height:1.5}.streamLaunchToggle{background:#ffffff0a;border:1px solid #ffffff1a;border-radius:12px;grid-template-columns:auto 1fr;align-items:start;gap:12px;padding:14px 16px;display:grid}.streamLaunchToggle input{width:16px;height:16px;margin-top:2px}.streamLaunchToggle strong,.streamLaunchBacktestMeta strong{color:var(--text-overlay-strong);display:block}.streamLaunchToggle span,.streamLaunchBacktestMeta span,.streamLaunchField small{color:#edf1f5b8;line-height:1.45}.streamLaunchBacktestMeta,.streamLaunchBacktestWarning{background:#090b0d8a;border:1px solid #ffffff14;border-radius:10px;padding:12px 14px}.streamLaunchBacktestWarning{color:#ffd189;border-color:#f59e0b52}.streamLaunchField{gap:8px;display:grid}.streamLaunchField span{color:var(--text-overlay-strong);font-weight:600}.streamLaunchField input{border-radius:10px;height:36px;padding:0 10px}.streamLaunchChoiceGroup{gap:10px;display:grid}.streamLaunchChoiceGroup>strong{color:var(--text-overlay-strong);font-size:.95rem}.streamLaunchChoice{background:#ffffff09;border:1px solid #ffffff1a;border-radius:12px;grid-template-columns:auto 1fr;align-items:start;gap:12px;padding:12px 14px;display:grid}.streamLaunchChoice input{width:16px;height:16px;margin-top:2px}.streamLaunchChoice span{color:var(--text-overlay-strong);font-weight:600;line-height:1.35;display:block}.streamLaunchChoice small{color:#edf1f5b8;margin-top:2px;line-height:1.45;display:block}.streamLaunchActions{justify-content:flex-end!important}.streamLaunchPrimary{color:#b8f2cf;background:#57d38c24;border:1px solid #57d38c5c}.streamLaunchPrimary:hover{background:#57d38c33}.appErrorBoundaryShell{background:radial-gradient(circle at top,#d6bc5a1f,#0000 30%),linear-gradient(#090b0d,#0d1014 48%,#0a0c0f);justify-content:center;align-items:center;min-height:100vh;padding:32px;display:flex}.appErrorBoundaryCard{width:min(720px,100%);color:var(--text-primary);background:#181b1ff5;border:1px solid #d6bc5a66;border-radius:16px;padding:28px;box-shadow:0 20px 60px #00000059}.appErrorBoundaryEyebrow{color:#d6bc5a;letter-spacing:.08em;text-transform:uppercase;font-size:.78rem;font-weight:700}.appErrorBoundaryCard h1{margin:10px 0 12px;font-size:1.65rem}.appErrorBoundaryCard p{color:var(--text-muted);margin:0 0 16px;line-height:1.5}.appErrorBoundaryCard code{border:1px solid var(--border-default);color:#f0d27a;overflow-wrap:anywhere;background:#090b0dd9;border-radius:10px;margin-bottom:18px;padding:12px 14px;display:block}.appErrorBoundaryCard button{color:#f3d988;cursor:pointer;background:#d6bc5a24;border:1px solid #d6bc5a73;border-radius:10px;height:40px;padding:0 16px;font-weight:600}.appErrorBoundaryCard button:hover{background:#d6bc5a33}.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 .chartHeaderFieldSymbol,section#Header .chartSymbolAutocomplete{position:relative}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}div#App.consoleIsMaximized section#Chart{pointer-events:none}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}}
