.AdvancedChart_widget__coMsv{display:grid;grid-template-columns:48px minmax(0,1fr) 44px;grid-template-rows:44px minmax(0,1fr) 36px;grid-template-areas:"top top top" "left chart right" "left bottom right";grid-gap:4px;gap:4px;height:calc(100dvh - 64px);min-height:520px;background:var(--chart-frame);color:var(--chart-text);font-family:IRANYekanEn,Tahoma,sans-serif;direction:ltr;outline:none}.AdvancedChart_widget__coMsv:-webkit-full-screen{height:100vh;border-radius:0}.AdvancedChart_widget__coMsv:fullscreen{height:100vh;border-radius:0}.AdvancedChart_panel__iBD4R{background:var(--chart-surface);border-radius:4px}.AdvancedChart_bottom__NtA_A,.AdvancedChart_top__okmvI{display:flex;align-items:center;gap:2px;padding:0 6px;direction:rtl;white-space:nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.AdvancedChart_bottom__NtA_A::-webkit-scrollbar,.AdvancedChart_top__okmvI::-webkit-scrollbar{display:none}.AdvancedChart_top__okmvI{grid-area:top}.AdvancedChart_bottom__NtA_A{grid-area:bottom}.AdvancedChart_spacer__sK37k{flex:1 0 8px}.AdvancedChart_separator__Ba_UJ{flex-shrink:0;width:1px;height:22px;margin:0 4px;background:var(--chart-border)}.AdvancedChart_button__wEf6q{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;gap:6px;height:34px;min-width:34px;padding:0 8px;border:0;border-radius:4px;background:transparent;color:var(--chart-text);font:inherit;font-size:14px;cursor:pointer}.AdvancedChart_button__wEf6q:hover:not(:disabled){background:var(--chart-hover)}.AdvancedChart_button__wEf6q:disabled{opacity:.35;cursor:default}.AdvancedChart_active__cC24_,.AdvancedChart_active__cC24_:hover:not(:disabled){background:var(--chart-active);color:var(--chart-active-text)}.AdvancedChart_icon__cv6R0{display:inline-flex;align-items:center;justify-content:center;line-height:0}.AdvancedChart_icon__cv6R0 svg{display:block}.AdvancedChart_iconScaled__1DgPA svg{width:100%;height:auto}.AdvancedChart_toolSelected__5GFP8,.AdvancedChart_toolSelected__5GFP8:hover:not(:disabled){color:#2962ff}.AdvancedChart_symbol__pf5Kg{font-size:15px;font-weight:700}.AdvancedChart_saveLabel__eqQJv{display:flex;flex-direction:column;align-items:center;font-size:13px;line-height:1.15}.AdvancedChart_saveLabel__eqQJv small{color:var(--chart-muted);font-size:10px}.AdvancedChart_bottom__NtA_A .AdvancedChart_button__wEf6q{height:28px;padding:0 8px;font-size:13px}.AdvancedChart_left__UzFaE,.AdvancedChart_right__7ZjsU{display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 0;overflow-y:auto;scrollbar-width:none}.AdvancedChart_left__UzFaE{grid-area:left}.AdvancedChart_right__7ZjsU{grid-area:right;gap:6px}.AdvancedChart_left__UzFaE .AdvancedChart_button__wEf6q,.AdvancedChart_right__7ZjsU .AdvancedChart_button__wEf6q{width:38px;height:38px;padding:0}.AdvancedChart_toolSeparator__1_oFI{flex-shrink:0;width:28px;height:1px;margin:6px 0;background:var(--chart-border)}.AdvancedChart_chart__aLGXL{grid-area:chart;position:relative;overflow:hidden}.AdvancedChart_canvas__lAIf4{position:absolute;inset:0}.AdvancedChart_legend__uTGQm{position:absolute;top:6px;left:8px;z-index:3;max-width:calc(100% - 90px);font-size:13px;line-height:1.8;pointer-events:none}.AdvancedChart_legendRow__wuV4I{display:flex;flex-wrap:wrap;align-items:center;column-gap:10px}.AdvancedChart_legendName__Th5BX{font-size:15px;font-weight:600;direction:rtl;unicode-bidi:-webkit-isolate;unicode-bidi:isolate}.AdvancedChart_legendItem__IWSLA{display:inline-flex;gap:3px}.AdvancedChart_dot__B2leL{width:8px;height:8px;border-radius:50%}.AdvancedChart_status__tUKop{inset:0;z-index:4;justify-content:center;padding:24px;direction:rtl;text-align:center}.AdvancedChart_navigation__iFSOp,.AdvancedChart_status__tUKop{position:absolute;display:flex;align-items:center;pointer-events:none}.AdvancedChart_navigation__iFSOp{z-index:5;gap:5px;transform:translateX(-50%);opacity:0;transition:opacity .15s ease}.AdvancedChart_navigationVisible__zzW8i{opacity:1;pointer-events:auto}.AdvancedChart_navGap__AUdWt{width:3px}.AdvancedChart_navItem__u1eYS{position:relative;display:inline-flex}.AdvancedChart_navButton__OuKPb{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:0;border-radius:4px;background:var(--chart-nav);box-shadow:0 1px 4px rgba(0,0,0,.18);color:var(--chart-text);cursor:pointer}.AdvancedChart_navButton__OuKPb:hover{background:var(--chart-hover)}.AdvancedChart_navTooltip__rBlf6{position:absolute;bottom:calc(100% + 8px);left:50%;display:none;align-items:center;gap:8px;padding:4px 8px;border-radius:4px;background:#2a2e39;color:#fff;font-size:12px;white-space:nowrap;transform:translateX(-50%);direction:rtl}.AdvancedChart_navTooltip__rBlf6:after{content:"";position:absolute;top:100%;left:50%;border:5px solid transparent;border-top-color:#2a2e39;transform:translateX(-50%)}.AdvancedChart_navItem__u1eYS:hover .AdvancedChart_navTooltip__rBlf6{display:inline-flex}.AdvancedChart_navKeys__0nF9s{display:inline-flex;align-items:center;gap:3px;padding-right:8px;border-right:1px solid hsla(0,0%,100%,.2);color:#f7a600}.AdvancedChart_navKeyGroup__unQ_t{display:inline-flex;align-items:center;gap:4px}.AdvancedChart_navKeys__0nF9s kbd{min-width:18px;padding:0 3px;border:1px solid #f7a600;border-radius:3px;font-family:inherit;font-size:11px;line-height:16px;text-align:center}@media (hover:none){.AdvancedChart_navigation__iFSOp{display:none}}.AdvancedChart_studyLegend__9n5PY{display:flex;flex-direction:column;align-items:flex-start;font-size:13px;line-height:1.7;pointer-events:none}.AdvancedChart_studyRow__3Sn71{display:inline-flex;flex-wrap:wrap;align-items:center;column-gap:8px;padding:0 4px;border-radius:4px;pointer-events:auto}.AdvancedChart_studyRow__3Sn71:hover{background:var(--chart-legend-hover)}.AdvancedChart_studyRowHidden__1f_Au .AdvancedChart_studyName__0_wqC{opacity:.5}.AdvancedChart_studyName__0_wqC{color:var(--chart-text);white-space:nowrap}.AdvancedChart_studyInputs__uM4dL{color:var(--chart-muted)}.AdvancedChart_studyValue___acgE{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.AdvancedChart_studyError__kVj4O{color:#ef5350;direction:rtl}.AdvancedChart_studyActions__ClqGy{display:none;align-items:center;gap:2px}.AdvancedChart_studyRowHidden__1f_Au .AdvancedChart_studyActions__ClqGy,.AdvancedChart_studyRow__3Sn71:hover .AdvancedChart_studyActions__ClqGy{display:inline-flex}@media (hover:none){.AdvancedChart_studyActions__ClqGy{display:inline-flex}}.AdvancedChart_studyActions__ClqGy button{display:inline-flex;align-items:center;justify-content:center;width:24px;height:22px;padding:0;border:0;border-radius:3px;background:transparent;color:var(--chart-text);cursor:pointer}.AdvancedChart_studyActions__ClqGy button:hover{background:var(--chart-hover)}.AdvancedChart_studyList__7sKRU{max-height:min(60vh,520px);margin-top:10px;overflow-y:auto}.AdvancedChart_studyListItem___Sc_m{display:flex;align-items:center;justify-content:space-between;width:100%;gap:12px;padding:9px 10px;border:0;border-radius:4px;background:transparent;color:inherit;font:inherit;font-size:14px;text-align:right;cursor:pointer}.AdvancedChart_studyListItem___Sc_m:hover{background:rgba(41,98,255,.08)}.AdvancedChart_studyListMeta__7gJm7{color:#787b86;font-size:12px;direction:ltr}.AdvancedChart_settingsEmpty__cgWEJ,.AdvancedChart_studyListEmpty__Vfhpb{padding:16px 4px;color:#787b86}.AdvancedChart_settingsGrid__TiEnG{display:flex;flex-direction:column;gap:12px;max-height:min(60vh,520px);overflow-y:auto;padding:4px 2px}.AdvancedChart_settingsRow__nkz_c{display:grid;grid-template-columns:minmax(120px,1fr) minmax(150px,1.4fr);align-items:center;grid-gap:12px;gap:12px}.AdvancedChart_settingsControls__cacYD{display:inline-flex;align-items:center;gap:8px}.AdvancedChart_settingsFooter__xEJ_2{display:flex;justify-content:space-between;gap:8px;direction:rtl}.AdvancedChart_settingsFooter__xEJ_2>span{display:inline-flex;gap:8px}.AdvancedChart_textInput__diypi{width:100%;padding:4px 8px;border:1px solid #d9d9d9;border-radius:6px;background:transparent;color:inherit}.AdvancedChart_groupButton__LTR_n{position:relative;display:inline-flex}.AdvancedChart_groupArrow__U3tDd{position:absolute;top:0;right:-6px;display:none;align-items:center;justify-content:center;width:10px;height:38px;padding:0;border:0;border-radius:3px;background:transparent;color:var(--chart-muted);cursor:pointer}.AdvancedChart_groupArrow__U3tDd[aria-expanded=true],.AdvancedChart_groupButton__LTR_n:hover .AdvancedChart_groupArrow__U3tDd{display:inline-flex}.AdvancedChart_groupArrow__U3tDd:hover{background:var(--chart-hover);color:var(--chart-text)}.AdvancedChart_toolMenuItem__c_F6r{display:inline-flex;align-items:center;gap:12px;direction:rtl}.AdvancedChart_toolMenuItem__c_F6r kbd{color:#787b86;font-family:inherit;font-size:11px;direction:ltr}.AdvancedChart_emojiGrid__IxK_t{display:grid;grid-template-columns:repeat(4,36px);grid-gap:4px;gap:4px;padding:8px;border-radius:8px;background:var(--chart-surface);box-shadow:0 4px 16px rgba(0,0,0,.18)}.AdvancedChart_emojiGrid__IxK_t button{width:36px;height:36px;border:0;border-radius:4px;background:transparent;font-size:22px;cursor:pointer}.AdvancedChart_emojiGrid__IxK_t button:hover{background:var(--chart-hover)}.AdvancedChart_floatingBar__MxbIe{position:absolute;top:8px;left:50%;z-index:6;display:flex;align-items:center;gap:6px;padding:4px 8px;border-radius:6px;background:var(--chart-surface);box-shadow:0 2px 10px rgba(0,0,0,.18);transform:translateX(-50%);direction:rtl}.AdvancedChart_floatingBar__MxbIe .AdvancedChart_button__wEf6q{width:30px;height:30px;min-width:30px;padding:0}.AdvancedChart_floatingGrip__xKytA{display:inline-flex;align-items:center;justify-content:center;width:14px;height:30px;color:var(--chart-muted);cursor:-webkit-grab;cursor:grab;touch-action:none}.AdvancedChart_floatingGrip__xKytA:active{cursor:-webkit-grabbing;cursor:grabbing}.AdvancedChart_floatingTitle__WM4pW{padding:0 4px;color:var(--chart-muted);font-size:12px;white-space:nowrap}.AdvancedChart_clock__oSaje{flex-shrink:0;padding:0 8px;direction:ltr;font-size:13px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}@media (max-width:767px){.AdvancedChart_widget__coMsv{grid-template-columns:minmax(0,1fr);grid-template-areas:"top" "chart" "bottom";gap:2px;height:calc(100dvh - 64px - 96px - env(safe-area-inset-bottom));min-height:420px}.AdvancedChart_desktopOnly__nNCGG,.AdvancedChart_left__UzFaE,.AdvancedChart_right__7ZjsU{display:none}.AdvancedChart_legend__uTGQm{font-size:12px;max-width:calc(100% - 70px)}}.AdvancedChart_withTester__99cIm{grid-template-rows:44px minmax(0,1fr) auto 36px;grid-template-areas:"top top top" "left chart right" "left tester right" "left bottom right"}.AdvancedChart_tester__I33Fx{grid-area:tester;display:flex;flex-direction:column;height:min(330px,42dvh);min-height:0;direction:rtl;overflow:hidden}.AdvancedChart_testerCollapsed__JSWUJ{height:auto}.AdvancedChart_testerHeader__izN5l{display:flex;flex-shrink:0;align-items:center;gap:6px;height:40px;padding:0 8px;border-bottom:1px solid var(--chart-border);white-space:nowrap;overflow-x:auto;scrollbar-width:none}.AdvancedChart_testerCollapsed__JSWUJ .AdvancedChart_testerHeader__izN5l{border-bottom:0}.AdvancedChart_testerTitle__6nBiC{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:700}.AdvancedChart_testerStrategy__vpT4P{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 8px;border:1px solid var(--chart-border);border-radius:4px;background:transparent;color:inherit;font:inherit;font-size:13px;font-weight:400;cursor:pointer}.AdvancedChart_testerStrategy__vpT4P:hover{background:var(--chart-hover)}.AdvancedChart_testerStrategy__vpT4P small{color:var(--chart-muted);direction:ltr}.AdvancedChart_testerTabs__IPAUw{display:inline-flex;gap:2px;margin-right:8px}.AdvancedChart_testerTabs__IPAUw button{height:30px;padding:0 10px;border:0;border-radius:4px;background:transparent;color:var(--chart-muted);font:inherit;font-size:13px;cursor:pointer}.AdvancedChart_testerTabs__IPAUw button:hover{background:var(--chart-hover);color:var(--chart-text)}.AdvancedChart_testerTabs__IPAUw .AdvancedChart_testerTabActive__J8LLL{background:var(--chart-hover);color:var(--chart-text);font-weight:700}.AdvancedChart_testerBrief__OcscV{font-size:13px;direction:ltr;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.AdvancedChart_flipped__8_SW0 .AdvancedChart_icon__cv6R0{transform:rotate(180deg)}.AdvancedChart_testerBody__NAtSJ{flex:1 1;min-height:0;overflow:auto;padding:10px 12px}.AdvancedChart_testerEmpty__zz6Ub{margin:0;padding:16px 4px;color:var(--chart-muted)}.AdvancedChart_overview___tsAR{display:flex;flex-direction:column;gap:10px;height:100%;min-height:220px}.AdvancedChart_metrics__OzEku{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));grid-gap:6px 16px;gap:6px 16px}.AdvancedChart_metric__vBftp{display:flex;flex-direction:column;gap:2px;min-width:0}.AdvancedChart_metricLabel__mQS71{color:var(--chart-muted);font-size:12px}.AdvancedChart_metricValue__JggXT{font-size:15px;font-weight:700;direction:ltr;text-align:right;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.AdvancedChart_metricSub__Xi3Xr{color:var(--chart-muted);font-size:12px;direction:ltr;text-align:right;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.AdvancedChart_equity__wsZ3B{display:flex;flex:1 1;flex-direction:column;min-height:140px}.AdvancedChart_equityLegend__t4ZwQ{display:flex;flex-wrap:wrap;align-items:center;gap:4px 16px;color:var(--chart-muted);font-size:12px}.AdvancedChart_equityLegend__t4ZwQ span{display:inline-flex;align-items:center;gap:6px}.AdvancedChart_equityLegend__t4ZwQ i{display:inline-block;width:14px;height:2px;border-radius:1px}.AdvancedChart_equityLegend__t4ZwQ .AdvancedChart_equityDashed__y3z_o{height:0;border-top:2px dashed;background:none}.AdvancedChart_equityUnit__D_C3m{margin-right:auto}.AdvancedChart_equityCanvas__tT2Xl{flex:1 1;min-height:120px;direction:ltr}.AdvancedChart_statsTable__mfZiH{width:100%;max-width:640px;border-collapse:collapse;font-size:13px}.AdvancedChart_statsTable__mfZiH td,.AdvancedChart_statsTable__mfZiH th{padding:6px 4px;border-bottom:1px solid var(--chart-border)}.AdvancedChart_statsTable__mfZiH th{color:var(--chart-muted);font-weight:400;text-align:right}.AdvancedChart_statsTable__mfZiH td{direction:ltr;text-align:left;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.AdvancedChart_tradesWrap__TYEtl{overflow-x:auto}.AdvancedChart_tradesTable__u76NR{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}.AdvancedChart_tradesTable__u76NR th{position:-webkit-sticky;position:sticky;top:-10px;background:var(--chart-surface);color:var(--chart-muted);font-weight:400}.AdvancedChart_tradesTable__u76NR td,.AdvancedChart_tradesTable__u76NR th{padding:6px 8px;text-align:right;border-bottom:1px solid var(--chart-border)}.AdvancedChart_tradesTable__u76NR td{direction:ltr;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.AdvancedChart_tradesTable__u76NR tbody tr{cursor:pointer}.AdvancedChart_tradesTable__u76NR tbody tr:hover{background:var(--chart-hover)}.AdvancedChart_testerSettings__JoIxS{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));grid-gap:12px 28px;gap:12px 28px}.AdvancedChart_testerSettings__JoIxS h4{margin:0 0 8px;font-size:13px}.AdvancedChart_testerSettings__JoIxS .AdvancedChart_settingsGrid__TiEnG{max-height:none;overflow:visible}.AdvancedChart_testerHint__fKyXR{margin:10px 0 0;color:var(--chart-muted);font-size:12px;line-height:1.8;white-space:normal}.AdvancedChart_testerSettingsFooter__nO_3y{grid-column:1/-1}.AdvancedChart_strategyList__Id2Nb{display:flex;flex-direction:column;gap:2px;max-height:min(60vh,520px);overflow-y:auto}.AdvancedChart_strategyListItem__VRqNv{display:flex;flex-direction:column;align-items:stretch;gap:4px;width:100%;padding:10px;border:0;border-radius:4px;background:transparent;color:inherit;font:inherit;text-align:right;cursor:pointer}.AdvancedChart_strategyListActive__UR7nf,.AdvancedChart_strategyListItem__VRqNv:hover{background:rgba(41,98,255,.08)}.AdvancedChart_strategyListName__jZhCx{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:700}.AdvancedChart_strategyListName__jZhCx small{color:#2962ff;font-size:12px;font-weight:400}.AdvancedChart_strategyListSummary__6FGQg{color:#787b86;font-size:13px;line-height:1.7}@media (max-width:767px){.AdvancedChart_withTester__99cIm{grid-template-rows:44px minmax(0,1fr) auto 36px;grid-template-areas:"top" "chart" "tester" "bottom"}.AdvancedChart_tester__I33Fx{height:46dvh;max-height:340px}.AdvancedChart_testerCollapsed__JSWUJ{height:auto}.AdvancedChart_testerBody__NAtSJ{padding:8px}.AdvancedChart_metrics__OzEku{grid-template-columns:repeat(2,minmax(0,1fr))}.AdvancedChart_testerSettings__JoIxS{grid-template-columns:minmax(0,1fr)}}