:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font:14px/1.4 -apple-system,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{color:#e5e7eb;background:#0b0e14}.app{box-sizing:border-box;height:100dvh;padding:0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);flex-direction:column;display:flex;overflow:hidden}.mobile-only{display:none!important}.pos{color:#22c55e}.neg{color:#ef4444}.top-bar{background:#0d1117;border-bottom:1px solid #1f2430;flex-shrink:0;align-items:center;gap:14px;padding:8px 16px;display:flex}.top-bar__brand{color:#60a5fa;letter-spacing:.3px;font-size:15px;font-weight:700}.top-bar__symbol{font-size:13px;font-weight:600}.top-bar__divider{background:#242938;width:1px;height:20px}.top-bar__spacer{flex:1}.top-bar__icon-group{gap:2px;display:flex}.top-bar__icon{color:#8b93a7;cursor:pointer;background:0 0;border:none;border-radius:5px;width:26px;height:26px;font-size:13px}.top-bar__icon:hover:not(:disabled){color:#e5e7eb;background:#161b26}.top-bar__icon:disabled{opacity:.35;cursor:default}.top-bar__text-btn{color:#8b93a7;cursor:pointer;white-space:nowrap;background:0 0;border:none;border-radius:5px;padding:5px 8px;font-size:12px}.top-bar__text-btn:hover:not(:disabled){color:#e5e7eb;background:#161b26}.top-bar__text-btn:disabled{opacity:.5;cursor:default}.tf-tabs{gap:2px;display:flex}.tf-tabs__btn{color:#8b93a7;cursor:pointer;background:0 0;border:none;border-radius:5px;padding:5px 9px;font-size:12px;font-weight:600}.tf-tabs__btn:hover{background:#161b26}.tf-tabs__btn.active{color:#fff;background:#1c2230}.data-badge{text-transform:uppercase;letter-spacing:.3px;vertical-align:middle;border-radius:999px;margin-left:8px;padding:2px 8px;font-size:10px;font-weight:600}.data-badge--real{color:#22c55e;background:#22c55e26}.data-badge--csv{color:#60a5fa;background:#60a5fa26}.data-badge--synthetic{color:#8b93a7;background:#8b93a726}.propfirm-panel{background:#0d1117;border-bottom:1px solid #1f2430;flex-shrink:0;padding:10px 16px}.propfirm-panel--passed{background:linear-gradient(#22c55e14,#22c55e14),#0d1117}.propfirm-panel--failed{background:linear-gradient(#ef44441f,#ef44441f),#0d1117}.propfirm-panel--collapsed{align-items:center;gap:12px;padding:6px 16px;display:flex}.propfirm-panel__expand{color:#8b93a7;cursor:pointer;background:0 0;border:none;padding:0;font-size:12px}.propfirm-panel__expand:hover{color:#e5e7eb}.propfirm-panel__header{align-items:center;gap:12px;margin-bottom:8px;display:flex}.propfirm-panel__title{font-size:13px;font-weight:600}.propfirm-panel__subtitle{color:#8b93a7;font-size:12px}.status-pill{text-transform:uppercase;letter-spacing:.4px;border-radius:999px;align-items:center;gap:6px;margin-left:auto;padding:3px 8px 3px 10px;font-size:11px;font-weight:600;display:flex}.status-pill--in-progress{color:#60a5fa;background:#60a5fa26}.status-pill--passed{color:#22c55e;background:#22c55e2e}.status-pill--failed{color:#ef4444;background:#ef44442e}.propfirm-panel__bars{flex-wrap:wrap;gap:12px 24px;display:flex}.rule-bar{flex:1;min-width:220px}.rule-bar__label{color:#8b93a7;justify-content:space-between;margin-bottom:3px;font-size:11px;display:flex}.rule-bar__label--plain{flex:1;min-width:220px;padding-top:8px}.pnl-track{background:#1f2430;border-radius:3px;height:6px;display:flex;overflow:hidden}.pnl-track__side{flex:1;min-width:0;display:flex}.pnl-track__side--loss{flex:none;justify-content:flex-end}.pnl-track__zero{background:#8b93a7;flex:none;width:2px}.rule-bar__label b.pos,.rule-bar__label b.neg{font-weight:600}.rule-bar__hint{color:#6b7280;margin-top:3px;font-size:10.5px}.propfirm-panel__account{color:#8b93a7;flex-wrap:wrap;gap:4px 16px;margin-left:16px;font-size:12px;display:flex}.propfirm-panel__account b{color:#e5e7eb;margin-left:4px;font-weight:600}.propfirm-panel__account b.pos{color:#22c55e}.propfirm-panel__account b.neg{color:#ef4444}.rule-bar__track{background:#1f2430;border-radius:3px;height:6px;overflow:hidden}.rule-bar__fill{border-radius:3px;height:100%;transition:width .2s}.rule-bar__fill--profit{background:#22c55e}.rule-bar__fill--danger{background:#ef4444}.rule-bar__fill--warning{background:#f59e0b}.propfirm-panel__violations{flex-direction:column;gap:4px;margin-top:8px;display:flex}.violation{color:#fca5a5;font-size:11px}.app-body{flex:1;min-height:0;display:flex;position:relative}.left-rail{background:#0d1117;border-right:1px solid #1f2430;flex-direction:column;flex-shrink:0;align-items:center;gap:4px;width:42px;padding:8px 0;display:flex;overflow-y:auto}.left-rail__btn{color:#8b93a7;cursor:pointer;background:0 0;border:none;border-radius:6px;flex-shrink:0;width:30px;height:30px;font-size:14px}.left-rail__btn:hover:not(:disabled){color:#e5e7eb;background:#161b26}.left-rail__btn.active{color:#fff;background:#2563eb}.left-rail__btn--long{color:#26a69a}.left-rail__btn--short{color:#ef5350}.left-rail__btn--long.active,.left-rail__btn--short.active{color:#fff}.left-rail__btn--decorative{opacity:.35;cursor:default}.left-rail__btn--clear.armed{color:#fff;background:#ef4444}.left-rail__btn--word{letter-spacing:-.2px;font-size:10px;font-weight:700}.left-rail__divider{background:#242938;flex-shrink:0;width:22px;height:1px;margin:4px 0}.right-rail{background:#0d1117;border-left:1px solid #1f2430;flex-direction:column;flex-shrink:0;align-items:stretch;gap:2px;width:64px;padding:8px 4px;display:flex;overflow-y:auto}.right-rail__btn{color:#8b93a7;cursor:pointer;background:0 0;border:none;border-radius:6px;flex-direction:column;align-items:center;gap:3px;padding:8px 2px;display:flex}.right-rail__btn:hover:not(:disabled){color:#e5e7eb;background:#161b26}.right-rail__btn.active{color:#60a5fa;background:#2563eb26}.right-rail__btn--primary{color:#60a5fa}.right-rail__btn--decorative{opacity:.35;cursor:default}.right-rail__icon{font-size:16px;line-height:1}.right-rail__label{font-size:9px;font-weight:600}.right-rail__spacer{flex:1}.app-main{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;position:relative}.app-sidebar{background:#0d1117;border-left:1px solid #1f2430;flex-direction:column;flex-shrink:0;gap:12px;width:300px;padding:12px;display:flex;overflow-y:auto}.chart-canvas-area{flex-direction:column;flex:280px;min-height:0;display:flex;position:relative}.chart-container{touch-action:none;flex:1;min-height:80px;position:relative}.chart-container--trendline,.chart-container--hline,.chart-container--hray,.chart-container--vline,.chart-container--rect,.chart-container--fib,.chart-container--text,.chart-container--measure,.chart-container--long,.chart-container--short,.chart-container--pencil,.chart-container--vprofile,.chart-container--tpo,.chart-container--avwap{cursor:crosshair}.chart-container--eraser{cursor:not-allowed}.chart-lwc-host{position:absolute;inset:0}.chart-draw-overlay{z-index:3;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.chart-legend{z-index:5;font-variant-numeric:tabular-nums;color:#282a2b;pointer-events:none;align-items:center;gap:10px;font-size:11px;display:flex;position:absolute;top:8px;left:10px}.chart-legend__symbol{color:#131722;font-weight:700}.chart-legend__sep{color:#5d606b;font-size:10px}.chart-legend .pos{color:#0b7a4b}.chart-legend .neg{color:#c62828}.chart-canvas-area--dark .chart-legend{color:#d1d4dc}.chart-canvas-area--dark .chart-legend__symbol{color:#f1f3f7}.chart-canvas-area--dark .chart-legend__sep{color:#9598a1}.chart-canvas-area--dark .chart-legend .pos{color:#34d399}.chart-canvas-area--dark .chart-legend .neg{color:#f87171}.ind-legend{z-index:6;color:#282a2b;flex-direction:column;align-items:flex-start;gap:2px;font-size:11px;display:flex;position:absolute;top:28px;left:10px}.chart-canvas-area--dark .ind-legend{color:#d1d4dc}.ind-row{border-radius:4px;align-items:center;gap:6px;padding:1px 4px;display:flex}.ind-row:hover{background:#7f7f7f26}.ind-row__name{font-weight:600}.ind-row__args{opacity:.75;font-variant-numeric:tabular-nums}.ind-row--hidden .ind-row__name,.ind-row--hidden .ind-row__args{opacity:.4}.ind-row__btn{visibility:hidden;color:inherit;cursor:pointer;background:0 0;border:none;border-radius:3px;padding:2px 3px;font-size:12px;line-height:1}.ind-row:hover .ind-row__btn,.ind-row--hidden .ind-row__btn{visibility:visible}.ind-row__btn:hover{background:#7f7f7f40}@media (hover:none){.ind-row__btn{visibility:visible;padding:4px 6px;font-size:15px}}@media (width<=768px){.ind-legend{font-size:11px;top:26px}.ind-dialog .ind-grid{grid-template-columns:1fr}.ind-field input[type=number],.ind-field select{width:130px;font-size:14px}}.ind-add{position:relative}.ind-add__btn{color:inherit;cursor:pointer;background:#ffffff59;border:1px solid #7f7f7f59;border-radius:4px;padding:2px 8px;font-size:11px}.chart-canvas-area--dark .ind-add__btn{background:#00000040}.ind-add__menu{z-index:60;color:#e5e7eb;background:#10141c;border:1px solid #242938;border-radius:8px;width:250px;padding:6px;position:absolute;top:calc(100% + 4px);left:0;box-shadow:0 8px 24px #00000080}.ind-add__item{width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:5px;justify-content:space-between;gap:8px;padding:7px 8px;font-size:12px;display:flex}.ind-add__item:hover{background:#161b26}.ind-add__state{color:#8b93a7}.ind-add__group{color:#6b7387;text-transform:uppercase;letter-spacing:.4px;padding:6px 8px 2px;font-size:10px;font-weight:600}.ind-add__item--off{cursor:default;color:#6b7387}.ind-add__item--off:hover{background:0 0}.ind-row__warn{color:#b45309;font-size:10px}.ind-add__warn{color:#f4b860;margin:6px 8px 2px;font-size:11px}.ind-dialog{color:#e5e7eb;width:460px;font-size:13px}.ind-grid{grid-template-columns:1fr 1fr;gap:8px 16px;display:grid}.ind-field{color:#c7ccd6;justify-content:space-between;align-items:center;gap:8px;font-size:12px;display:flex}.ind-field input[type=number],.ind-field select{color:#e5e7eb;background:#0b0f16;border:1px solid #242938;border-radius:5px;width:84px;padding:4px 6px;font-size:12px}.ind-field select{width:130px}.ind-field--check{justify-content:flex-start}.ind-row__btn--help{font-weight:700}.ind-help{width:560px;line-height:1.5}.ind-help h4{color:#8b93a7;text-transform:uppercase;letter-spacing:.4px;margin:14px 0 6px;font-size:13px}.ind-help p,.ind-help li{color:#d5d9e2;font-size:13px}.ind-help ul{margin:0;padding-left:18px}.ind-help li{margin-bottom:6px}.help-pos{color:#34d399;font-weight:600}.help-neg{color:#f87171;font-weight:600}.ind-dialog__actions{gap:8px;display:flex}.bg-picker{position:relative}.top-bar__icon.active{color:#e5e7eb;background:#161b26}.bg-picker__panel{z-index:60;background:#10141c;border:1px solid #242938;border-radius:8px;width:232px;padding:12px;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 8px 24px #00000080}.bg-picker__title{color:#8b93a7;margin-bottom:8px;font-size:12px;font-weight:600}.bg-picker__swatches{grid-template-columns:repeat(5,1fr);gap:8px;display:grid}.bg-picker__swatch{cursor:pointer;border:2px solid #0000;border-radius:6px;height:32px}.bg-picker__swatch.active{border-color:#2962ff}.bg-picker__custom{color:#c7ccd6;align-items:center;gap:8px;margin-top:12px;font-size:12px;display:flex}.bg-picker__custom input[type=color]{cursor:pointer;background:0 0;border:1px solid #242938;width:36px;height:26px;padding:0}.bg-picker__custom code{color:#8b93a7}.chart-legend__item b{font-weight:600}.chart-zoom-controls{z-index:5;background:#0d1117d9;border:1px solid #242938;border-radius:6px;gap:2px;padding:2px;display:flex;position:absolute;bottom:30px;right:46px}.zoom-btn{color:#8b93a7;cursor:pointer;background:0 0;border:none;border-radius:4px;width:22px;height:22px;font-size:13px;line-height:1}.zoom-btn:hover{color:#e5e7eb;background:#1c2230}.chart-footer{border-top:1px solid #161b26;flex-shrink:0;align-items:center;padding:4px 12px;display:flex}.range-selector{gap:2px;display:flex}.range-selector__btn{color:#8b93a7;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:3px 7px;font-size:11px}.range-selector__btn:hover{color:#e5e7eb;background:#161b26}.tz-badge{font-variant-numeric:tabular-nums;color:#8b93a7;white-space:nowrap;background:#161b26;border-radius:4px;margin-left:auto;padding:3px 8px;font-size:10px}.scale-toggle{gap:2px;margin-left:10px;display:flex}.scale-toggle__btn{color:#8b93a7;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:3px 8px;font-size:11px}.scale-toggle__btn:hover{background:#161b26}.scale-toggle__btn.active{color:#60a5fa;background:#1c2230}.pill-btn{color:#c7ccd6;cursor:pointer;background:0 0;border:none;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;width:26px;height:26px;font-size:13px;display:flex}.pill-btn:hover:not(:disabled){background:#1c2230}.pill-btn:disabled{opacity:.35;cursor:not-allowed}.pill-btn--primary{color:#fff;background:#2563eb}.pill-btn--primary:hover:not(:disabled){background:#1d4ed8}.select--sm{width:auto;padding:4px 6px;font-size:11px}.bottom-bar{background:#0d1117;border-top:1px solid #1f2430;flex-shrink:0;align-items:center;gap:18px;padding:8px 16px;display:flex}.bottom-bar__trade{align-items:center;gap:6px;display:flex}.bottom-bar__trade .input--sm{width:70px}.quick-btn{cursor:pointer;color:#fff;border:none;border-radius:6px;padding:7px 14px;font-size:12px;font-weight:700}.quick-btn:disabled{opacity:.4;cursor:not-allowed}.quick-btn--buy{background:#2563eb}.quick-btn--buy:hover:not(:disabled){background:#1d4ed8}.quick-btn--sell{background:#ef4444}.quick-btn--sell:hover:not(:disabled){background:#dc2626}.bottom-bar__replay{flex:1;align-items:center;gap:8px;max-width:640px;display:flex}.scrubber{accent-color:#2563eb;flex:1}.bottom-bar__tf{color:#8b93a7;text-align:center;width:28px;font-size:11px;font-weight:600}.bottom-bar__account{font-variant-numeric:tabular-nums;align-items:center;gap:10px;margin-left:auto;font-size:13px;font-weight:600;display:flex}.bottom-bar__pnl{font-size:12px}.history-drawer{z-index:20;background:#0d1117;border-top:1px solid #242938;flex-direction:column;height:min(45%,320px);display:flex;position:absolute;bottom:0;left:0;right:0;box-shadow:0 -8px 24px #00000080}.history-drawer__spacer{flex:1}.history-drawer__close{color:#8b93a7;cursor:pointer;background:0 0;border:none;padding:4px 10px;font-size:13px}.history-drawer__close:hover{color:#e5e7eb}.tabs{border-bottom:1px solid #1f2430;gap:4px;padding:6px 12px 0;display:flex}.tab{color:#8b93a7;cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;padding:6px 12px;font-size:12px}.tab.active{color:#e5e7eb;border-bottom-color:#60a5fa}.bottom-panel__content{flex:1;padding:10px 12px;overflow:auto}.panel{background:#10141c;border:1px solid #1f2430;border-radius:8px;padding:12px}.panel__title{color:#8b93a7;text-transform:uppercase;letter-spacing:.4px;margin-bottom:10px;font-size:12px;font-weight:600}.dir-toggle{gap:6px;margin-bottom:10px;display:flex}.dir-btn{color:#8b93a7;cursor:pointer;background:#0d1117;border:1px solid #1f2430;border-radius:6px;flex:1;padding:8px;font-weight:600}.dir-btn--buy.active{color:#22c55e;background:#22c55e26;border-color:#22c55e}.dir-btn--sell.active{color:#ef4444;background:#ef444426;border-color:#ef4444}.field{flex:1;margin-bottom:10px}.field label{color:#8b93a7;margin-bottom:4px;font-size:11px;display:block}.field-row{gap:8px;display:flex}.readout{font-variant-numeric:tabular-nums;padding:6px 0;font-weight:600}.input,.select{color:#e5e7eb;background:#0d1117;border:1px solid #242938;border-radius:6px;width:100%;padding:7px 8px;font-size:13px}.input--sm{width:64px}.risk-calc{color:#8b93a7;align-items:center;gap:8px;margin-bottom:12px;font-size:11px;display:flex}.risk-calc__result{flex:1}.btn{color:#e5e7eb;cursor:pointer;background:#161b26;border:1px solid #242938;border-radius:6px;padding:7px 12px;font-size:12px}.btn:hover:not(:disabled){background:#1c2230}.btn:disabled{opacity:.4;cursor:not-allowed}.btn--primary{color:#fff;background:#2563eb;border-color:#2563eb;font-weight:600}.btn--primary:hover:not(:disabled){background:#1d4ed8}.btn--block{width:100%}.btn--xs{padding:3px 8px;font-size:11px}.order-error{color:#fca5a5;cursor:pointer;background:#ef44441f;border-radius:6px;margin-top:8px;padding:8px;font-size:12px}.empty-hint{color:#565f73;padding:8px 0;font-size:12px}.empty-state{color:#8b93a7;flex:1;justify-content:center;align-items:center;display:flex}.badge{border-radius:4px;margin-right:6px;padding:2px 6px;font-size:10px;font-weight:700;display:inline-block}.badge--buy{color:#22c55e;background:#22c55e26}.badge--sell{color:#ef4444;background:#ef444426}.positions-list{flex-direction:column;gap:8px;display:flex}.position-block{border-bottom:1px solid #1a1f2b;padding:6px 0}.position-row{grid-template-columns:auto 1fr auto auto;align-items:center;gap:8px;font-size:12px;display:grid}.position-brackets{flex-wrap:wrap;gap:6px;margin-top:5px;display:flex}.bracket-chip{border:1px solid #0000;border-radius:4px;align-items:center;gap:4px;padding:2px 4px 2px 7px;font-size:11px;display:inline-flex}.bracket-chip--sl{color:#fca5a5;background:#ef44441f}.bracket-chip--tp{color:#86efac;background:#22c55e1f}.bracket-chip__pnl{opacity:.8}.bracket-chip__remove{color:inherit;cursor:pointer;background:0 0;border:none;padding:0 3px;font-size:13px;line-height:1}.bracket-chip--add{color:#8b93a7;cursor:pointer;background:0 0;border:1px dashed #3a4050;padding:2px 7px}.bracket-chip--add:hover{color:#e5e7eb;border-color:#565f73}.position-row__entry{color:#8b93a7}.position-row__pnl{font-variant-numeric:tabular-nums;font-weight:600}.trade-table{border-collapse:collapse;width:100%;font-size:12px}.trade-table th{text-align:left;color:#8b93a7;background:#0b0e14;border-bottom:1px solid #1f2430;padding:4px 8px;font-weight:500;position:sticky;top:0}.trade-table td{border-bottom:1px solid #161b26;padding:5px 8px}.trade-table__reason{color:#8b93a7;text-transform:uppercase;font-size:10px}.stats-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px;display:grid}.stat-tile{background:#10141c;border:1px solid #1f2430;border-radius:8px;padding:10px}.stat-tile__label{color:#8b93a7;text-transform:uppercase;letter-spacing:.3px;margin-bottom:4px;font-size:10px}.stat-tile__value{font-variant-numeric:tabular-nums;font-size:16px;font-weight:700}.modal-overlay{z-index:50;background:#0009;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal{background:#10141c;border:1px solid #242938;border-radius:10px;width:640px;max-width:calc(100vw - 32px);max-height:calc(100vh - 32px);padding:20px;overflow-y:auto}.modal__title{margin-bottom:16px;font-size:16px;font-weight:700}.modal__section{border-bottom:1px solid #1a1f2b;margin-bottom:18px;padding-bottom:16px}.modal__section-title{color:#8b93a7;text-transform:uppercase;letter-spacing:.4px;margin-bottom:10px;font-size:12px;font-weight:600}.modal__hint{color:#8b93a7;margin:6px 0 0;font-size:11px}.modal__or{text-align:center;color:#565f73;margin:12px 0 8px;font-size:11px}.rule-preview{color:#c7ccd6;flex-wrap:wrap;gap:14px;margin-top:10px;font-size:12px;display:flex}.csv-info{color:#22c55e;margin-top:8px;font-size:12px}.symbol-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:6px;margin-bottom:10px;display:grid}.symbol-group__title{color:#8b93a7;margin:8px 0 5px;font-size:11px}.symbol-card__label{color:#8b93a7;margin-left:4px;font-weight:400}.symbol-card__spec{color:#c7ccd6;margin-bottom:2px;font-size:10.5px}.modal__hint--top{margin:0 0 4px}.pill-btn--text{white-space:nowrap;color:#60a5fa;background:#2563eb1f;border:1px solid #60a5fa80;width:auto;padding:0 10px;font-size:12px;font-weight:600}.pill-btn--text:hover:not(:disabled){color:#93c5fd;background:#2563eb40}.chart-container--cur-move .chart-lwc-host,.chart-container--cur-move .chart-lwc-host *{cursor:move!important}.chart-container--cur-ew .chart-lwc-host,.chart-container--cur-ew .chart-lwc-host *{cursor:ew-resize!important}.chart-container--cur-ns .chart-lwc-host,.chart-container--cur-ns .chart-lwc-host *,.chart-container--over-line .chart-lwc-host,.chart-container--over-line .chart-lwc-host *,.chart-container--dragging-line .chart-lwc-host,.chart-container--dragging-line .chart-lwc-host *{cursor:ns-resize!important}.contract-spec{color:#6b7280;margin:8px 0;font-size:10.5px;line-height:1.5}.check-row{color:#e5e7eb;cursor:pointer;flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px;font-size:12px;display:flex}.check-row--disabled{color:#565f73;cursor:default}.check-row__hint{color:#6b7280;font-size:11px}.symbol-card{text-align:left;cursor:pointer;color:#e5e7eb;background:#0d1117;border:1px solid #242938;border-radius:8px;padding:8px 10px}.symbol-card.active{background:#2563eb1a;border-color:#2563eb}.symbol-card__name{margin-bottom:3px;font-size:12px;font-weight:600}.symbol-card__badge{font-size:10px}.symbol-card__badge.real{color:#22c55e}.symbol-card__badge.demo{color:#8b93a7}.status-modal{text-align:center;background:#10141c;border:1px solid #242938;border-radius:12px;width:360px;max-width:calc(100vw - 32px);padding:28px 24px}.status-modal--passed{border-color:#22c55e66}.status-modal--failed{border-color:#ef444466}.status-modal__icon{margin-bottom:10px;font-size:40px}.status-modal__title{margin-bottom:8px;font-size:18px;font-weight:700}.status-modal__detail{color:#8b93a7;margin-bottom:18px;font-size:13px}.status-modal .btn+.btn{margin-top:8px}.report-modal{width:560px}.report-split{color:#c7ccd6;gap:16px;margin-top:12px;font-size:12px;display:flex}.report-split__side{background:#0d1117;border:1px solid #1f2430;border-radius:6px;flex:1;padding:8px 10px}.insight-list{flex-direction:column;gap:6px;margin-top:8px;margin-bottom:16px;display:flex}.insight{background:#0d1117;border-left:3px solid #2a2e39;border-radius:6px;padding:8px 10px;font-size:12px;line-height:1.5}.insight--positive{color:#d1f5df;border-left-color:#22c55e}.insight--warning{color:#fde2e2;border-left-color:#ef4444}.insight--neutral{color:#dbe6f5;border-left-color:#60a5fa}.modal__actions{flex-direction:column;gap:8px;display:flex}.journal__toolbar{align-items:center;gap:10px;margin-bottom:10px;display:flex}.journal__count{color:#8b93a7;font-size:11px}.journal__spacer{flex:1}.stats-grid--compact{grid-template-columns:repeat(auto-fill,minmax(100px,1fr));margin-bottom:12px}.propfirm-panel__mini{color:#8b93a7;font-size:12px}.propfirm-panel__mini b{color:#e5e7eb;font-weight:600}.propfirm-panel__mini b.pos{color:#22c55e}.propfirm-panel__mini b.neg{color:#ef4444}.propfirm-panel__mini-sep{margin:0 6px}@media (width<=768px){.mobile-only{display:inline-flex!important}.top-bar{gap:8px;padding:6px 8px}.top-bar__brand,.top-bar__text-btn,.top-bar__icon-group,.top-bar__divider,.top-bar__spacer,.data-badge{display:none}.top-bar__text-btn.top-bar__test{padding:5px 4px;display:inline-block}.tf-tabs{scrollbar-width:none;flex:1;min-width:0;overflow-x:auto}.tf-tabs::-webkit-scrollbar{display:none}.top-bar__symbol{flex-shrink:0}.propfirm-panel{padding:8px 10px}.propfirm-panel--collapsed{flex-wrap:wrap;gap:6px 10px}.propfirm-panel__header{flex-wrap:wrap;gap:6px 8px}.propfirm-panel__account{order:5;width:100%;margin-left:0}.rule-bar{min-width:100%}.rule-bar__hint,.right-rail{display:none}.left-rail{gap:2px;width:34px;padding:4px 0}.left-rail__btn{width:28px;height:28px;font-size:13px}.app-sidebar{z-index:30;border-top:1px solid #242938;border-left:none;width:auto;max-height:70%;position:absolute;bottom:0;left:0;right:0;box-shadow:0 -8px 24px #00000080}.range-selector{display:none}.chart-zoom-controls{right:8px}.bottom-bar{flex-wrap:wrap;gap:6px 8px;padding:6px 8px}.bottom-bar__trade{flex-wrap:wrap}.bottom-bar__trade .input--sm{width:46px}.quick-btn{padding:8px 10px}.bottom-bar__replay{flex-basis:100%;order:3;gap:4px;max-width:none}.scrubber{display:none}.bottom-bar__account{font-size:12px}.pill-btn{width:34px;height:34px}.pill-btn--text{width:auto}.pill-btn--text.active{background:#2563eb59}.propfirm-panel--collapsed>.btn,.chart-legend__sep{display:none}.chart-legend{flex-wrap:wrap;gap:6px;max-width:calc(100% - 70px);font-size:11px}.history-drawer{height:75%}.modal{padding:14px}.symbol-grid{grid-template-columns:repeat(2,1fr)}}.crt-alert{z-index:8;color:#1f2937;background:#fffffff7;border:1px solid;border-left-width:4px;border-radius:6px;width:min(560px,92%);padding:8px 30px 8px 12px;font-size:12px;line-height:1.4;position:absolute;bottom:44px;left:50%;transform:translate(-50%);box-shadow:0 4px 14px #0000002e}.crt-alert--long{border-color:#16a34a}.crt-alert--short{border-color:#dc2626}.crt-alert__title{margin-bottom:2px;font-size:13px;font-weight:700}.crt-alert--long .crt-alert__title{color:#15803d}.crt-alert--short .crt-alert__title{color:#b91c1c}.crt-alert__hint{color:#6b7280;margin-top:3px;font-style:italic}.crt-alert__close{color:#6b7280;cursor:pointer;background:0 0;border:none;font-size:13px;position:absolute;top:4px;right:6px}.ind-chips{gap:3px;margin:0 2px;display:inline-flex}.ind-chip{color:#64748b;cursor:pointer;background:#fff9;border:1px solid #64748b99;border-radius:9px;padding:2px 6px;font-size:10px;font-weight:600;line-height:1}.ind-chip--on{color:#fff;background:#2962ff;border-color:#2962ff}.top-bar__test--on{color:#a5b4fc;background:#6366f124}.test-modal{width:640px}.test-modal__close{margin-top:8px}.test-lead{color:#c7ccd6;margin:-6px 0 14px;font-size:13px;line-height:1.5}.test-muted{color:#8b93a7;font-weight:400}.test-back{margin-right:8px}.test-table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:12px}.test-table th,.test-table td{text-align:left;border-bottom:1px solid #1a1f2b;padding:5px 6px}.test-table th{color:#8b93a7;font-weight:600}.test-table--edges td,.test-table--edges th{text-align:center}.test-table--edges td:first-child,.test-table--edges th:first-child{text-align:left}.test-rules{resize:vertical;font-family:inherit;line-height:1.4}.test-sizes{gap:6px;display:flex}.test-rules-list{color:#c7ccd6;margin:4px 0 10px;padding-left:18px;font-size:12px;line-height:1.5}.test-past{flex-direction:column;gap:4px;display:flex}.test-past__row{color:#e5e7eb;cursor:pointer;text-align:left;background:#0d1117;border:1px solid #1f2430;border-radius:6px;justify-content:space-between;gap:10px;padding:7px 10px;font-size:12px;display:flex}.test-past__row:hover{border-color:#2f3647}.test-progress{background:#0d1117;border:1px solid #1f2430;border-radius:6px;height:22px;margin-bottom:10px;position:relative;overflow:hidden}.test-progress__bar{background:#6366f159;position:absolute;inset:0 auto 0 0}.test-progress span{text-align:center;font-variant-numeric:tabular-nums;font-size:12px;line-height:20px;display:block;position:relative}.test-verdict{margin-bottom:12px;font-size:13px}.test-rules-text{white-space:pre-wrap;color:#c7ccd6;background:#0d1117;border:1px solid #1f2430;border-radius:6px;padding:8px 10px;font-size:12px;line-height:1.5}.test-trades{border:1px solid #1f2430;border-radius:6px;max-height:220px;margin-top:12px;overflow-y:auto}.test-sizes .pill-btn.active{color:#fff;background:#2962ff;border-color:#2962ff}.test-table--pick th:not(:first-child),.test-table--pick td:not(:first-child){cursor:pointer}.test-table--pick .test-pick--on{color:#fff;background:#2962ff2e}.test-rule-row{color:#c7ccd6;flex-wrap:wrap;align-items:center;gap:8px;margin:6px 0;font-size:12px;display:flex}.test-check{cursor:pointer;align-items:center;gap:6px;display:inline-flex}.test-time{width:92px}.test-chart{background:#0d1117;border:1px solid #1f2430;border-radius:6px;width:100%;height:auto;display:block}.test-chart-hint{margin:6px 0 10px}.test-rules-fixed{color:#e5e7eb;margin-bottom:4px;font-weight:600}.stat-tile__sub{color:#8b93a7;font-variant-numeric:tabular-nums;margin-top:2px;font-size:11px}.bottom-bar__trade{position:relative}.bar-toasts{z-index:30;flex-direction:column;gap:6px;width:max-content;max-width:min(460px,90vw);display:flex;position:absolute;bottom:calc(100% + 8px);left:0}.order-toast{color:#fecaca;cursor:pointer;background:#2a1215;border:1px solid #7f1d1d;border-radius:6px;padding:8px 10px;font-size:12px;line-height:1.4;box-shadow:0 4px 16px #0006}.order-toast--info{color:#bfdbfe;background:#0f1d33;border-color:#1e3a8a}.order-toast--warn{color:#fde68a;cursor:default;background:#2a2112;border-color:#854d0e}.order-toast__btn{color:inherit;cursor:pointer;background:0 0;border:1px solid;border-radius:4px;margin-top:6px;padding:4px 8px;font-size:11.5px;display:block}.order-toast__btn:hover{background:#ffffff14}.test-loosen{margin-top:6px}.rt-bar{z-index:7;color:#1f2937;background:#fffffff7;border:1px solid #d1d4dc;border-radius:6px;max-width:min(640px,100% - 90px);padding:6px 8px;font-size:12px;position:absolute;top:6px;right:72px;box-shadow:0 4px 14px #00000024}.chart-canvas-area--dark .rt-bar{color:#d1d4dc;background:#131722f5;border-color:#2a2e39}.rt-bar__head{align-items:center;gap:8px;display:flex}.rt-bar__readout{font-variant-numeric:tabular-nums;color:#4b5563;white-space:nowrap;text-overflow:ellipsis;flex:1;overflow:hidden}.chart-canvas-area--dark .rt-bar__readout{color:#9598a1}.rt-bar__btn{cursor:pointer;color:inherit;background:0 0;border:none;border-radius:4px;padding:2px 4px;font-size:12px}.rt-bar__btn:hover{background:#2962ff1f}.rt-bar__controls{flex-wrap:wrap;align-items:center;gap:4px 12px;margin-top:5px;display:flex}.rt-bar__field,.rt-bar__check{white-space:nowrap;cursor:pointer;align-items:center;gap:4px;display:flex}.rt-bar__select{color:inherit;background:0 0;border:1px solid #c3c6cf;border-radius:4px;padding:1px 2px;font-size:12px}.chart-canvas-area--dark .rt-bar__select{border-color:#434651}.chart-canvas-area--dark .rt-bar__select option{background:#131722}@media (width<=700px){.rt-bar{max-width:none;top:30px;left:6px;right:6px}}.bp-status{z-index:6;color:#d1d4dc;font-variant-numeric:tabular-nums;pointer-events:none;background:#1e222deb;border-radius:5px;flex-direction:column;gap:2px;padding:5px 7px;font-size:11px;display:flex;position:absolute;bottom:36px;right:72px}.bp-status__row{justify-content:space-between;gap:10px;display:flex}.bp-status__tf{min-width:26px;font-weight:600}.bp-status__row--off .bp-status__state,.bp-status__row--missed .bp-status__state,.bp-status__row--expired .bp-status__state{color:#8b93a7}.bp-status__row--waiting .bp-status__state{color:#fbbf24}.bp-status__row--crt .bp-status__state{color:#93c5fd}.bp-status__row--entered .bp-status__state,.bp-status__row--ex1 .bp-status__state,.bp-status__row--ex2 .bp-status__state,.bp-status__row--exit3 .bp-status__state{color:#34d399}.bp-status__row--stopped .bp-status__state{color:#f87171}.ind-hint{color:#8b93a7;margin:6px 0 0;font-size:11.5px;line-height:1.4}.bp-status--raised{bottom:130px}.bp-status__title{color:#a5b4fc;margin-bottom:1px;font-size:10.5px;font-weight:700}.romeo-log{z-index:6;color:#d1d4dc;pointer-events:none;background:#161a24e6;border-radius:6px;max-width:min(520px,60%);padding:5px 8px 6px;font-size:11px;line-height:1.45;position:absolute;bottom:34px;left:46px}.romeo-log__title{color:#a5b4fc;margin-bottom:2px;font-size:10.5px;font-weight:700}.romeo-log__row{gap:6px;display:flex}.romeo-log__time{color:#8b93a7;font-variant-numeric:tabular-nums;flex:none}.romeo-log__tf{flex:none;min-width:64px;font-weight:600}.romeo-log__row--good{color:#6ee7b7}.romeo-log__row--bad{color:#fca5a5}.romeo-log__row--muted{color:#8b93a7}.romeo-log__row:last-child{font-weight:600}.romeo-toast{z-index:8;color:#e5e7eb;cursor:pointer;background:#161a24f2;border:1px solid #3b4258;border-radius:6px;max-width:min(640px,80%);padding:7px 12px;font-size:12.5px;position:absolute;top:34px;left:50%;transform:translate(-50%);box-shadow:0 4px 16px #00000059}.romeo-toast--good{border-color:#089981}.romeo-toast--bad{border-color:#f23645}
