.chart-panel:fullscreen .fs-lots{display:flex;align-items:center;gap:0;margin:0;color:var(--muted);font-size:12px;white-space:nowrap}.chart-panel:fullscreen .fs-lots>span{margin-right:5px}.chart-panel:fullscreen .fs-lots input{width:62px;height:29px;margin:0;padding:4px;text-align:center;border-radius:0;font:12px monospace;appearance:textfield}.chart-panel:fullscreen .fs-lots button{height:29px;padding:3px 7px;border:1px solid #32435b;background:#172538;color:var(--text);border-radius:4px 0 0 4px}.chart-panel:fullscreen .fs-lots button:last-child{border-radius:0 4px 4px 0}.chart-panel:fullscreen .fs-lots input::-webkit-inner-spin-button{appearance:none}@media(max-width:600px){.chart-panel:fullscreen .fs-lots>span{display:none}.chart-panel:fullscreen .fs-lots input{width:50px}}
.fullscreen-deals{display:none}.chart-panel:fullscreen .fullscreen-deals{display:flex;align-items:center;gap:6px;margin-left:auto}.chart-panel:fullscreen .fullscreen-deals>span{font:12px monospace;color:var(--muted);white-space:nowrap}.chart-panel:fullscreen .fullscreen-deals button{border:0;color:#fff;padding:5px 9px;font-size:12px;white-space:nowrap}.chart-panel:fullscreen .fullscreen-deals strong{display:inline;font:12px monospace;margin-left:5px}.chart-panel:fullscreen #chartContext{display:none}@media(max-width:600px){.chart-panel:fullscreen .fullscreen-deals>span{display:none}.chart-panel:fullscreen .fullscreen-deals button{font-size:11px;padding:6px}.chart-panel:fullscreen .chart-footer{gap:5px}}
.fullscreen-button{white-space:nowrap;padding:5px 9px;margin-left:auto}.fullscreen-button[aria-pressed="true"]{color:#beddff;border-color:var(--blue);background:#24466d}.chart-panel:fullscreen{width:100vw;height:100vh;min-height:100vh;margin:0;border:0;border-radius:0;background:var(--panel)}.chart-panel:fullscreen .canvas-wrap{min-height:0;flex:1}.chart-panel:fullscreen .chart-footer{padding-bottom:max(12px,env(safe-area-inset-bottom))}body[data-theme="light"] .fullscreen-button[aria-pressed="true"],body[data-theme="eye"] .fullscreen-button[aria-pressed="true"]{color:#245a3c;background:#dcefd7}@media(max-width:850px){.fullscreen-button{font-size:0;padding:6px}.fullscreen-button::after{content:"⛶";font-size:17px}.fullscreen-button[aria-pressed="true"]::after{content:"⊠"}}
.theme-control,.candle-color-control{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:12px}.theme-control{margin-left:auto}.theme-control select,.candle-color-control select{width:auto;min-width:92px;margin:0;padding:7px 25px 7px 9px;font-size:12px}
body[data-theme="light"]{color-scheme:light;--bg:#eef2f6;--panel:#fff;--border:#ccd5df;--muted:#64748b;--text:#182230;--blue:#2563c9;--green:#098b68;--red:#d24155}body[data-theme="light"] header,body[data-theme="light"] .toolbar,body[data-theme="light"] .playback-dock,body[data-theme="light"] .account-stats,body[data-theme="light"] .practice,body[data-theme="light"] .history-loader{background:#f8fafc}body[data-theme="light"] button,body[data-theme="light"] select,body[data-theme="light"] input{background:#fff;color:#182230;border-color:#b9c5d2}body[data-theme="light"] .symbol.active,body[data-theme="light"] .periods .active{background:#dbeafe}body[data-theme="light"] th,body[data-theme="light"] .history-stat{background:#edf2f7}body[data-theme="light"] .line-editor{background:#eaf2ff}body[data-theme="light"] .line-metrics{background:#fff;color:#334155}
body[data-theme="eye"]{color-scheme:light;--bg:#e8f3df;--panel:#f4faef;--border:#b9cdb0;--muted:#657b61;--text:#263b2b;--blue:#397753;--green:#278457;--red:#bd5960}body[data-theme="eye"] header,body[data-theme="eye"] .toolbar,body[data-theme="eye"] .playback-dock,body[data-theme="eye"] .account-stats,body[data-theme="eye"] .practice,body[data-theme="eye"] .history-loader{background:#edf6e7}body[data-theme="eye"] button,body[data-theme="eye"] select,body[data-theme="eye"] input{background:#f8fcf4;color:#263b2b;border-color:#abc2a3}body[data-theme="eye"] .canvas-wrap{background:#eaf5e3;border-radius:5px}body[data-theme="eye"] .symbol.active,body[data-theme="eye"] .periods .active{background:#d9ebd1}body[data-theme="eye"] th,body[data-theme="eye"] .history-stat{background:#e4f0de}body[data-theme="eye"] .line-editor{background:#deeed7;border-color:#91ae88}body[data-theme="eye"] .line-metrics{background:#f8fcf4;color:#37503c}body[data-theme="eye"] .watermark{color:#6f9879}body[data-theme="eye"] .chart-tip{color:#647d67}@media(max-width:600px){.theme-control{margin-left:0}.theme-control span,.candle-color-control span{display:none}.candle-color-control select{min-width:100px}}
body[data-theme="light"] .backtest-panel{background:#f8fafc;border-color:#cbd5e1}body[data-theme="light"] .backtest-head,body[data-theme="light"] .backtest-report{border-color:#d8e0e9}body[data-theme="light"] .backtest-head span,body[data-theme="light"] .backtest-head small,body[data-theme="light"] .backtest-note,body[data-theme="light"] .backtest-stats span,body[data-theme="light"] .backtest-stats small{color:#64748b}body[data-theme="light"] .backtest-stats{background:#d8e0e9}body[data-theme="light"] .backtest-stats>div{background:#fff}body[data-theme="light"] .backtest-trades{color:#334155}body[data-theme="light"] .backtest-trades .table-wrap{border-color:#cbd5e1}body[data-theme="light"] .ma-row{background:#edf2f7;border-color:#b9c5d2}body[data-theme="eye"] .backtest-panel{background:#edf6e7;border-color:#b9cdb0}body[data-theme="eye"] .backtest-head,body[data-theme="eye"] .backtest-report{border-color:#c8d9c0}body[data-theme="eye"] .backtest-head span,body[data-theme="eye"] .backtest-head small,body[data-theme="eye"] .backtest-note,body[data-theme="eye"] .backtest-stats span,body[data-theme="eye"] .backtest-stats small{color:#657b61}body[data-theme="eye"] .backtest-stats{background:#c8d9c0}body[data-theme="eye"] .backtest-stats>div{background:#f4faef}body[data-theme="eye"] .backtest-trades{color:#37503c}body[data-theme="eye"] .backtest-trades .table-wrap{border-color:#b9cdb0}body[data-theme="eye"] .ma-row{background:#e4f0de;border-color:#abc2a3}
body[data-theme="light"] .download-panel a,body[data-theme="light"] .download-panel button,body[data-theme="light"] .download-panel .download-upload{background:#fff;color:#182230;border-color:#b9c5d2}body[data-theme="light"] .download-panel a:hover,body[data-theme="light"] .download-panel button:hover,body[data-theme="light"] .download-panel .download-upload:hover{background:#edf2f7}body[data-theme="eye"] .download-panel a,body[data-theme="eye"] .download-panel button,body[data-theme="eye"] .download-panel .download-upload{background:#f8fcf4;color:#263b2b;border-color:#abc2a3}body[data-theme="eye"] .download-panel a:hover,body[data-theme="eye"] .download-panel button:hover,body[data-theme="eye"] .download-panel .download-upload:hover{background:#e4f0de}
body[data-theme="light"] .chart-panel:fullscreen .fullscreen-deals .sell,body[data-theme="eye"] .chart-panel:fullscreen .fullscreen-deals .sell{background:#b74e62;color:#fff;border-color:#9f3d51}body[data-theme="light"] .chart-panel:fullscreen .fullscreen-deals .buy,body[data-theme="eye"] .chart-panel:fullscreen .fullscreen-deals .buy{background:#286fd0;color:#fff;border-color:#1e5caf}body[data-theme="light"] .chart-panel:fullscreen .fullscreen-deals .sell:hover,body[data-theme="eye"] .chart-panel:fullscreen .fullscreen-deals .sell:hover{background:#cd6173}body[data-theme="light"] .chart-panel:fullscreen .fullscreen-deals .buy:hover,body[data-theme="eye"] .chart-panel:fullscreen .fullscreen-deals .buy:hover{background:#3984e8}body[data-theme="light"] .chart-panel:fullscreen .fs-position button,body[data-theme="eye"] .chart-panel:fullscreen .fs-position button{background:#351f2a;color:#ffb4bf;border-color:#844557}
