.BacktestPanel_panel__4iL1l{position:relative;width:min(var(--ai-panel-width,560px),calc(100vw - 44px));height:100%;min-width:360px;flex:0 0 auto;display:flex;flex-direction:column;overflow:hidden;background:#0d131d;border-left:1px solid #1c2736;color:#d1d4dc;animation:BacktestPanel_slideIn__9gdQ3 .18s ease-out;user-select:text}.BacktestPanel_resizeHandle__3zuBB{position:absolute;z-index:4;top:0;bottom:0;left:-5px;width:10px;outline:none;cursor:col-resize;touch-action:none}.BacktestPanel_resizeHandle__3zuBB:after{position:absolute;top:0;bottom:0;left:4px;width:2px;background:transparent;content:"";transition:background .12s ease}.BacktestPanel_resizeHandle__3zuBB:focus-visible:after,.BacktestPanel_resizeHandle__3zuBB:hover:after,.BacktestPanel_resizing__J22Vu .BacktestPanel_resizeHandle__3zuBB:after{background:#38bdf8}.BacktestPanel_backdrop__kx91U{display:none}@keyframes BacktestPanel_slideIn__9gdQ3{0%{transform:translateX(100%)}to{transform:translateX(0)}}.BacktestPanel_header__szpo2{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background:#09101a;border-bottom:1px solid #1c2736;flex-shrink:0}.BacktestPanel_headerTitleBlock__rJYub{display:flex;flex-direction:column;gap:3px;min-width:0}.BacktestPanel_headerTopLine__9CJ7l{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.BacktestPanel_aiBadge__Botwp{display:inline-flex;align-items:center;gap:5px;color:#f1f5f9;font-size:13px;font-weight:800}.BacktestPanel_aiBadge__Botwp svg{color:#a855f7;flex-shrink:0}.BacktestPanel_quotaPill__F_6oS{display:inline-flex;align-items:center;gap:5px;background:#142030;border:1px solid #23344a;border-radius:999px;padding:1px 7px 1px 3px;font-size:9.5px}.BacktestPanel_planTag__rvVez{background:#2563eb;color:#ffffff;font-weight:800;font-size:8px;padding:1px 4px;border-radius:999px;letter-spacing:.05em}.BacktestPanel_quotaCounts__iJOAu{color:#94a3b8}.BacktestPanel_quotaCounts__iJOAu strong{color:#38bdf8;font-weight:700}.BacktestPanel_headerSubLine__o6gGC{display:flex;align-items:center;gap:8px;font-size:10px}.BacktestPanel_tickerContext__VLGMJ{color:#64748b;font-weight:600}.BacktestPanel_activityDot___3L3e{display:inline-flex;align-items:center;gap:4px;color:#34d399;font-size:9.5px;font-weight:600}.BacktestPanel_activityDot___3L3e[data-running=true]{color:#38bdf8;animation:BacktestPanel_pulse__tp9dK 1.5s infinite}@keyframes BacktestPanel_pulse__tp9dK{0%,to{opacity:1}50%{opacity:.5}}.BacktestPanel_headerActions__U_FFq{display:flex;align-items:center;gap:4px}.BacktestPanel_iconBtn__cKPsF{display:grid;place-items:center;width:28px;height:28px;padding:0;background:transparent;border:1px solid transparent;border-radius:6px;color:#94a3b8;cursor:pointer;transition:all .15s ease}.BacktestPanel_iconBtn__cKPsF:hover{background:#172436;border-color:#27394f;color:#f8fafc}.BacktestPanel_conversation__Rxm3x{flex:1;overflow-y:auto;padding:14px;scrollbar-width:thin;scrollbar-color:#23344a transparent}.BacktestPanel_center__kBAvY{display:grid;flex:1;place-items:center;color:#64748b;font-size:12px}.BacktestPanel_gate__mIVvH{max-width:420px;margin:auto;padding:48px 24px;text-align:center}.BacktestPanel_gate__mIVvH>svg{color:#38bdf8}.BacktestPanel_gate__mIVvH h4{margin:12px 0 6px;font-size:15px;color:#f8fafc;font-weight:700}.BacktestPanel_gate__mIVvH p{margin:0 0 18px;color:#94a3b8;font-size:12px;line-height:1.55}.BacktestPanel_empty__IId5G{max-width:480px;margin:16px auto;padding:0 12px}.BacktestPanel_claudeHero__swY_O{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px}.BacktestPanel_heroSparkle__TfBJp{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:linear-gradient(135deg,rgba(56,189,248,.12),rgba(168,85,247,.16));border:1px solid rgba(56,189,248,.25);color:#38bdf8;margin-bottom:6px;box-shadow:0 0 20px rgba(56,189,248,.1)}.BacktestPanel_claudeHero__swY_O h4{margin:0;font-size:16.5px;font-weight:700;color:#f8fafc;letter-spacing:-.01em}.BacktestPanel_claudeHero__swY_O p{margin:0 0 20px;color:#8899ac;font-size:12px;line-height:1.5;max-width:400px}.BacktestPanel_promptList__Yq8Vf{display:flex;flex-direction:column;gap:8px;width:100%}.BacktestPanel_promptPill__x9PbB{display:flex;align-items:center;gap:10px;padding:10px 14px;background:#111a26;border:1px solid #1a293c;border-radius:10px;color:#cbd5e1;text-align:left;cursor:pointer;transition:all .15s cubic-bezier(.4,0,.2,1)}.BacktestPanel_promptPill__x9PbB:hover{background:#162436;border-color:#38bdf8;color:#ffffff;transform:translateY(-1px);box-shadow:0 4px 14px rgba(0,0,0,.3)}.BacktestPanel_promptPill__x9PbB:disabled{cursor:default;opacity:.4;transform:none;box-shadow:none}.BacktestPanel_promptIcon__q1_vf{color:#38bdf8;flex-shrink:0}.BacktestPanel_promptPill__x9PbB:nth-child(2) .BacktestPanel_promptIcon__q1_vf{color:#34d399}.BacktestPanel_promptPill__x9PbB:nth-child(3) .BacktestPanel_promptIcon__q1_vf{color:#fbbf24}.BacktestPanel_promptPill__x9PbB:nth-child(4) .BacktestPanel_promptIcon__q1_vf{color:#c084fc}.BacktestPanel_promptText__2ouGW{font-size:11.5px;color:#94a3b8;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.BacktestPanel_promptPill__x9PbB:hover .BacktestPanel_promptText__2ouGW{color:#e2e8f0}.BacktestPanel_promptText__2ouGW strong{color:#f1f5f9;font-weight:600}.BacktestPanel_deepPromptBadge__l517L{display:inline-block;margin-left:6px;padding:1px 5px;border-radius:4px;background:#1e3352;color:#38bdf8;font-size:8px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;vertical-align:1px}.BacktestPanel_message__HClCS{margin-bottom:12px;padding:10px 14px;border-radius:8px}.BacktestPanel_messageHeading__JVAWs{display:flex;align-items:center;justify-content:space-between;margin-bottom:5px}.BacktestPanel_messageHeading__JVAWs>span{color:#64748b;font-size:9.5px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.BacktestPanel_messageHeading__JVAWs button{display:grid;width:22px;height:22px;padding:0;place-items:center;border:0;border-radius:4px;background:transparent;color:#64748b;cursor:pointer}.BacktestPanel_messageHeading__JVAWs button:hover{background:#23344a;color:#fff}.BacktestPanel_message__HClCS p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.55}.BacktestPanel_user__9DNX7{margin-left:36px;background:#132847;border:1px solid #1e3a66}.BacktestPanel_assistant__SZ6Uf{margin-right:18px;background:#101a27;border:1px solid #1c2a3d}.BacktestPanel_markdown__iXo51{min-width:0;color:#d1d4dc;overflow-wrap:anywhere;font-size:12px;line-height:1.58}.BacktestPanel_markdown__iXo51>:first-child{margin-top:0}.BacktestPanel_markdown__iXo51>:last-child{margin-bottom:0}.BacktestPanel_markdown__iXo51 p{margin:0 0 8px;white-space:normal}.BacktestPanel_markdown__iXo51 h1,.BacktestPanel_markdown__iXo51 h2,.BacktestPanel_markdown__iXo51 h3,.BacktestPanel_markdown__iXo51 h4{margin:12px 0 6px;color:#f8fafc;font-weight:700;line-height:1.3}.BacktestPanel_markdown__iXo51 h1{font-size:15px}.BacktestPanel_markdown__iXo51 h2{font-size:13.5px}.BacktestPanel_markdown__iXo51 h3,.BacktestPanel_markdown__iXo51 h4{font-size:12px}.BacktestPanel_markdown__iXo51 strong{color:#f1f5f9;font-weight:700}.BacktestPanel_markdown__iXo51 em{color:#cbd5e1}.BacktestPanel_markdown__iXo51 ol,.BacktestPanel_markdown__iXo51 ul{margin:5px 0 8px;padding-left:18px}.BacktestPanel_markdown__iXo51 li{margin:2px 0}.BacktestPanel_markdown__iXo51 code{padding:1px 4px;border:1px solid #29384d;border-radius:4px;background:#0c131d;color:#7dd3fc;font:10px/1.45 ui-monospace,SFMono-Regular,Consolas,monospace}.BacktestPanel_markdown__iXo51 pre{margin:8px 0;padding:10px;overflow-x:auto;border:1px solid #23344a;border-radius:6px;background:#090f17}.BacktestPanel_markdown__iXo51 pre code{padding:0;border:0;background:transparent;color:#cbd5e1;white-space:pre}.BacktestPanel_markdown__iXo51 table{display:block;width:100%;margin:8px 0;overflow-x:auto;border-spacing:0;border-collapse:collapse;font-size:10px}.BacktestPanel_markdown__iXo51 td,.BacktestPanel_markdown__iXo51 th{min-width:80px;padding:5px 8px;border:1px solid #23344a;text-align:left}.BacktestPanel_markdown__iXo51 th{background:#152232;color:#f8fafc;font-weight:700}.BacktestPanel_markdown__iXo51 tr:nth-child(2n) td{background:rgba(15,23,42,.4)}.BacktestPanel_progress__nfzi6,.BacktestPanel_result__kKda2{margin:12px 0;padding:10px 12px;border:1px solid #1e3046;border-radius:7px;background:#0f1824}.BacktestPanel_progress__nfzi6 h4,.BacktestPanel_result__kKda2 h4{margin:0 0 6px;font-size:11px;color:#f1f5f9;font-weight:700}.BacktestPanel_progress__nfzi6>div{display:flex;gap:8px;margin-top:6px;color:#94a3b8}.BacktestPanel_progress__nfzi6 p{margin:0;min-width:0;font-size:10px;line-height:1.4}.BacktestPanel_dot__bSYwN{width:7px;height:7px;flex:0 0 auto;margin-top:3px;border-radius:50%;background:#38bdf8}.BacktestPanel_progress__nfzi6 [data-state=done] .BacktestPanel_dot__bSYwN{background:#10b981}.BacktestPanel_progress__nfzi6 [data-state=error] .BacktestPanel_dot__bSYwN{background:#f43f5e}.BacktestPanel_result__kKda2{border-color:rgba(16,185,129,.4)}.BacktestPanel_resultTitle__JJ5pb{display:flex;justify-content:space-between;color:#10b981;font-weight:700}.BacktestPanel_resultTitle__JJ5pb span{color:#64748b;font-family:monospace;font-size:9px}.BacktestPanel_metrics__XnWu2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:6px}.BacktestPanel_metrics__XnWu2 div{padding:6px 8px;border-radius:5px;background:#0a111b;border:1px solid #162334}.BacktestPanel_metrics__XnWu2 span{display:block;overflow:hidden;color:#64748b;font-size:8.5px;text-transform:capitalize;white-space:nowrap}.BacktestPanel_metrics__XnWu2 strong{display:block;margin-top:2px;font-size:11.5px;color:#f1f5f9}.BacktestPanel_error__uzLSD{margin:10px 0;padding:8px 10px;border-radius:6px;background:rgba(244,63,94,.12);border:1px solid rgba(244,63,94,.28);color:#fda4af;font-size:11px}.BacktestPanel_notice__8ECqY{margin:10px 0;padding:8px 10px;border-radius:6px;background:rgba(56,189,248,.1);border:1px solid rgba(56,189,248,.24);color:#bae6fd;font-size:11px}.BacktestPanel_thinking__Ppj0m{margin:10px 0;overflow:hidden;border:1px solid #23344a;border-radius:7px;background:#080e18}.BacktestPanel_thinking__Ppj0m summary{padding:7px 10px;color:#93c5fd;font-size:10.5px;font-weight:700;cursor:pointer;user-select:none}.BacktestPanel_thinking__Ppj0m summary span{margin-left:6px;color:#64748b;font-size:8.5px;font-weight:500;text-transform:uppercase}.BacktestPanel_thinking__Ppj0m pre{max-height:140px;margin:0;padding:0 10px 8px;overflow:auto;color:#94a3b8;font:10px/1.45 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere}.BacktestPanel_thinkingActions__m9lW_{display:flex;min-height:28px;align-items:center;justify-content:space-between;gap:8px;padding:4px 8px;border-top:1px solid #162436}.BacktestPanel_thinkingActions__m9lW_ span{color:#64748b;font-size:8.5px}.BacktestPanel_thinkingActions__m9lW_ button{padding:3px 7px;border:0;border-radius:4px;background:#172436;color:#cbd5e1;font-size:9.5px;cursor:pointer}.BacktestPanel_thinkingModalBackdrop__SW3u8{position:fixed;z-index:100;inset:0;display:grid;place-items:center;padding:16px;background:rgba(0,0,0,.75)}.BacktestPanel_thinkingModal__sY77R{display:flex;width:min(780px,calc(100vw - 32px));height:min(700px,calc(100vh - 32px));flex-direction:column;overflow:hidden;border:1px solid #2a3e56;border-radius:10px;background:#0a111b;color:#e5e7eb;box-shadow:0 24px 80px rgba(0,0,0,.6);user-select:text}.BacktestPanel_thinkingModal__sY77R header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;border-bottom:1px solid #1c2a3d}.BacktestPanel_thinkingModal__sY77R header span,.BacktestPanel_thinkingModal__sY77R header strong{display:block}.BacktestPanel_thinkingModal__sY77R header span{margin-top:3px;color:#8b949e;font-size:10px}.BacktestPanel_thinkingModal__sY77R header button{display:grid;width:28px;height:28px;place-items:center;border:0;border-radius:5px;background:#172436;color:#d1d4dc;cursor:pointer}.BacktestPanel_thinkingModal__sY77R pre{flex:1;margin:0;padding:14px;overflow:auto;color:#94a3b8;font:11px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere}.BacktestPanel_thinkingModal__sY77R footer{display:flex;justify-content:flex-end;padding:9px 12px;border-top:1px solid #1c2a3d}.BacktestPanel_thinkingModal__sY77R footer button{display:flex;align-items:center;gap:6px;padding:6px 10px;border:0;border-radius:5px;background:#172436;color:#fff;cursor:pointer}.BacktestPanel_composer__UrPLK{padding:10px 14px 12px;background:#09101a;border-top:1px solid #1c2736;flex-shrink:0}.BacktestPanel_inputCard__qZd1S{display:flex;flex-direction:column;background:#0d1522;border:1px solid #1c2a3d;border-radius:10px;padding:8px 10px 6px;transition:all .15s ease}.BacktestPanel_inputCard__qZd1S:focus-within{border-color:#38bdf8;box-shadow:0 0 0 1px rgba(56,189,248,.2),0 4px 16px rgba(0,0,0,.3)}.BacktestPanel_inputCard__qZd1S textarea{box-sizing:border-box;width:100%;min-height:92px;max-height:220px;resize:none;padding:2px 2px 6px;border:0;outline:none;background:transparent;color:#f1f5f9;font-family:inherit;font-size:12px;line-height:1.45;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#334155 transparent}.BacktestPanel_inputCard__qZd1S textarea::placeholder{color:#55667a}.BacktestPanel_composerBar___vM90{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:4px;border-top:1px solid #142030}.BacktestPanel_modeTray__OvHJl{display:flex;align-items:center;gap:6px;min-width:0}.BacktestPanel_filterActiveBanner__AAUuJ{display:flex;align-items:center;gap:8px;padding:3px 8px;background:rgba(168,85,247,.12);border:1px solid rgba(168,85,247,.25);border-radius:6px}.BacktestPanel_filterTag__OVqLV{display:inline-flex;align-items:center;gap:4px;color:#c084fc;font-size:10px;font-weight:700}.BacktestPanel_exitFilterBtn__GyIA_{display:inline-flex;align-items:center;gap:3px;background:transparent;border:0;color:#94a3b8;font-size:9.5px;font-weight:600;cursor:pointer;padding:0}.BacktestPanel_exitFilterBtn__GyIA_:hover{color:#f1f5f9}.BacktestPanel_modeSelector__h_LAm{display:flex;align-items:center;gap:2px;padding:2px;border-radius:6px;background:#111a26;border:1px solid #1a2738}.BacktestPanel_modeSelector__h_LAm button{display:inline-flex;align-items:center;gap:4px;padding:3px 7px;border:1px solid transparent;border-radius:4px;background:transparent;color:#64748b;font-size:9.5px;font-weight:700;cursor:pointer;transition:all .12s ease}.BacktestPanel_modeSelector__h_LAm button:hover:not(:disabled){color:#cbd5e1;background:#162436}.BacktestPanel_modeSelector__h_LAm button.BacktestPanel_modeActive__BCbEC{background:#1e3352;color:#38bdf8;border-color:#2b4c7e}.BacktestPanel_modeCount__lgWrE{display:inline-flex;align-items:center;justify-content:center;font-size:8.5px;font-weight:800;background:rgba(148,163,184,.12);color:#94a3b8;padding:0 4px;border-radius:3px;min-width:12px}.BacktestPanel_modeActive__BCbEC .BacktestPanel_modeCount__lgWrE{background:rgba(56,189,248,.2);color:#e0f2fe}.BacktestPanel_createFilterSkillBtn__1Etlj{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;background:transparent;border:1px solid transparent;border-radius:5px;color:#a78bfa;font-size:9.5px;font-weight:700;cursor:pointer;transition:all .12s ease}.BacktestPanel_createFilterSkillBtn__1Etlj:hover{background:rgba(168,85,247,.12);border-color:rgba(168,85,247,.25);color:#c084fc}.BacktestPanel_rightActions__8zbaJ{display:flex;align-items:center;gap:6px}.BacktestPanel_composer__UrPLK button{display:inline-flex;align-items:center;gap:4px;padding:5px 10px;border:0;border-radius:6px;font-size:10.5px;font-weight:700;cursor:pointer;transition:all .12s ease}.BacktestPanel_composer__UrPLK button:disabled{cursor:default;opacity:.35}.BacktestPanel_secondary__YEhk9{background:#142030!important;color:#94a3b8!important;border:1px solid #1e3046!important;padding:5px 8px!important}.BacktestPanel_secondary__YEhk9:hover{background:#1b2d45!important;color:#ffffff!important}.BacktestPanel_run__WBTRM{background:linear-gradient(135deg,#0284c7,#2563eb)!important;color:#ffffff!important;box-shadow:0 2px 8px rgba(2,132,199,.25)}.BacktestPanel_run__WBTRM:hover:not(:disabled){background:linear-gradient(135deg,#0369a1,#1d4ed8)!important;box-shadow:0 3px 12px rgba(2,132,199,.4)}.BacktestPanel_stop__GNvWG{background:#e11d48!important;color:#ffffff!important}@media (max-width:800px){.BacktestPanel_backdrop__kx91U{display:block;position:fixed;inset:0;z-index:59;border:0;background:rgba(0,0,0,.6)}.BacktestPanel_panel__4iL1l{position:fixed;inset:0 0 0 auto;z-index:60;width:min(94vw,520px);min-width:0;height:100vh;box-shadow:-8px 0 24px rgba(0,0,0,.6)}.BacktestPanel_resizeHandle__3zuBB{display:none}}