@import"https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap";.chart-panel-interactive{min-width:0;background:#0c1522;border:1px solid #26384e;border-radius:11px;overflow:hidden;box-shadow:0 8px 24px #00000038}.chart-panel-interactive>header{min-height:58px;padding:11px 13px;background:linear-gradient(180deg,#111e30,#0d1827);border-bottom:1px solid #26364a}.chart-panel-interactive .chart-title{font-size:12px;letter-spacing:.55px;font-weight:750}.chart-panel-interactive header small{font-size:9px;color:#91a2b8}.chart-panel-interactive .chart-price{font-size:15px;font-weight:750;font-variant-numeric:tabular-nums}.chart-ohlc-strip{min-height:31px;display:flex;align-items:center;gap:13px;padding:4px 12px;overflow:hidden;white-space:nowrap;color:#8fa1b8;background:#0d1826;border-bottom:1px solid #1d2d41;font:9px DM Mono,ui-monospace,monospace;font-variant-numeric:tabular-nums}.chart-ohlc-strip>span{flex:0 0 auto}.chart-ohlc-strip b{color:#dce6f3;font-weight:650}.chart-ohlc-time{color:#9baec5}.chart-ohlc-strip .ohlc-high{color:#45d7a9}.chart-ohlc-strip .ohlc-low{color:#ff7783}.chart-ohlc-placeholder{color:#788ba3}.chart-lwc-shell{height:370px;min-height:300px;padding:0!important;position:relative;overflow:hidden;background:#080e18!important;cursor:crosshair}.chart-lwc-host{width:100%;height:100%;min-width:0;min-height:300px}.chart-lwc-empty{position:absolute;top:0;right:86px;bottom:32px;left:0;display:grid;place-items:center;text-align:center;padding:20px;color:#7f91a8;background:#080e18c7;pointer-events:none;font-size:11px}.chart-controls-interactive{min-height:42px;height:auto;gap:8px;flex-wrap:wrap;padding:5px 9px;background:#101c2b}.chart-timeframe-group,.chart-interaction-group{display:inline-flex;align-items:center;gap:3px}.chart-timeframe-group{padding-right:8px;border-right:1px solid #2a3b50}.chart-controls-interactive .chart-timeframe-group button{min-width:32px;height:27px;padding:0 8px;color:#9cacc0;border:1px solid transparent;border-radius:5px;font-size:10px;font-weight:650}.chart-controls-interactive .chart-timeframe-group button.selected{color:#f1edff;background:#4635a7;border-color:#6755d2}.chart-interaction-group{padding-right:8px;border-right:1px solid #2a3b50}.chart-controls-interactive .chart-interaction-group button{min-width:28px;height:27px;padding:0 7px;color:#aab8ca;border:1px solid #26384e;border-radius:5px;background:#142236;font:10px DM Mono,monospace}.chart-controls-interactive .chart-interaction-group button:hover,.chart-controls-interactive .chart-interaction-group button.tool-active{color:#eeeaff;border-color:#6352ca;background:#28234c}.chart-controls-interactive .chart-live{margin-left:auto;white-space:nowrap}.chart-controls-interactive .chart-live.is-live{color:#8ee0a1}.chart-controls-interactive .chart-live i{width:7px;height:7px;border-radius:50%;background:#8190a6}.chart-controls-interactive .chart-live.is-live i{background:#43d68d;box-shadow:0 0 8px #43d68d8c}.chart-controls-interactive .chart-history-status{font-size:8px;white-space:nowrap}.chart-panel-interactive:fullscreen{width:100vw;height:100vh;display:flex;flex-direction:column;border:0;border-radius:0;background:#080e18}.chart-panel-interactive:fullscreen .chart-lwc-shell{flex:1 1 auto;height:auto;min-height:0}.chart-panel-interactive:fullscreen .chart-lwc-host{min-height:0}.chart-panel-interactive:fullscreen .chart-lwc-empty{bottom:38px}@media(max-width:1100px){.chart-lwc-shell{height:420px}}@media(max-width:700px){.chart-lwc-shell{height:340px}.chart-ohlc-strip{gap:8px;font-size:8px;overflow-x:auto}.chart-controls-interactive .chart-live{margin-left:0}}.chart-lwc-shell{position:relative}.chart-level-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;overflow:hidden;pointer-events:none}.chart-level-tag{position:absolute;right:0;transform:translateY(-50%);display:inline-flex;align-items:stretch;height:21px;min-width:124px;overflow:hidden;border-radius:5px;background:var(--level-color, #64748b);color:#fff;box-shadow:0 1px 4px #0000005c;font-family:DM Sans,Inter,sans-serif;font-size:10px;font-weight:750;font-variant-numeric:tabular-nums;line-height:21px;white-space:nowrap}.chart-level-tag-name{display:inline-flex;align-items:center;justify-content:center;min-width:37px;padding:0 6px;background:#0000001f;border-right:1px solid rgba(255,255,255,.22)}.chart-level-tag-value{display:inline-flex;align-items:center;justify-content:center;min-width:87px;padding:0 7px;background:var(--level-color, #64748b);text-align:right}.chart-trade-jump{height:37px;align-self:flex-end;border:1px solid #4b866b;border-radius:7px;background:#13241d;color:#b9eb8b;padding:0 12px;font:600 11px DM Sans,sans-serif;white-space:nowrap;cursor:pointer}.chart-trade-jump:hover{background:#1a3328}.chart-trade-jump:focus-visible{outline:2px solid #b9eb8b;outline-offset:2px}.chart-signal-legend{height:21px;display:flex;align-items:center;gap:12px;padding:0 10px 5px;color:#8b9bb1;font:9px DM Mono,monospace;white-space:nowrap}.chart-signal-legend span{display:inline-flex;align-items:center;gap:4px}.chart-signal-legend i{width:7px;height:7px;display:inline-block;border-radius:50%}.chart-signal-legend i.entry{background:#20c997}.chart-signal-legend i.exit{background:#ef5968}.chart-signal-legend .chart-signal-count{margin-left:auto;color:#73849b}.indicator-manager{position:relative;z-index:12;display:flex;flex-direction:column;gap:9px;padding:10px 12px;border:1px solid #24364b;border-radius:10px;background:linear-gradient(180deg,#0f1b2a,#0b1522)}.indicator-manager-heading,.indicator-chip-list,.indicator-chip,.indicator-manager-heading>div:first-child{display:flex;align-items:center}.indicator-manager-heading{justify-content:space-between;gap:12px}.indicator-manager-heading>div:first-child{gap:9px}.indicator-kicker{color:#7f93ad;font:700 9px DM Mono,ui-monospace,monospace;letter-spacing:1.2px;text-transform:uppercase}.indicator-manager-heading b{color:#e4ecf7;font-size:11px}.indicator-chip-list{gap:7px;flex-wrap:wrap;min-width:0}.indicator-chip{min-height:30px;gap:7px;padding:3px 6px 3px 9px;border:1px solid #2a3f57;border-radius:7px;background:#122237;color:#dce7f6}.indicator-state-dot{width:6px;height:6px;border-radius:50%;background:#66758a;flex:0 0 auto}.indicator-state-dot.on{background:#41d995;box-shadow:0 0 7px #41d99580}.indicator-chip-name{font:650 10px DM Mono,ui-monospace,monospace;white-space:nowrap}.indicator-icon-btn{width:23px;height:23px;display:inline-grid;place-items:center;padding:0;border:0;border-radius:5px;background:transparent;color:#91a5be;cursor:pointer}.indicator-icon-btn:hover{color:#eef5ff;background:#24364e}.indicator-icon-btn.danger:hover{color:#ff8790;background:#ef44441f}.indicator-icon-btn.close{width:30px;height:30px;border:1px solid #2a3d55}.indicator-add-wrap{position:relative}.indicator-add-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:30px;padding:0 10px;border:1px solid #6052ca;border-radius:6px;background:#30276f;color:#f3f0ff;font-size:10px;font-weight:700;cursor:pointer}.indicator-add-button:hover{background:#40358d}.indicator-add-button.secondary{background:#132237;border-color:#31445d;color:#d7e2ef}.indicator-add-menu{position:absolute;right:0;top:calc(100% + 7px);z-index:30;width:300px;padding:8px;border:1px solid #31445c;border-radius:9px;background:#0e1928;box-shadow:0 18px 50px #00000080}.indicator-add-menu-title{padding:5px 7px 8px;color:#778ba4;font:700 9px DM Mono,monospace;letter-spacing:1px}.indicator-add-menu>button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 8px;border:0;border-radius:6px;background:transparent;color:#dfe8f4;text-align:left;cursor:pointer}.indicator-add-menu>button:hover{background:#192a40}.indicator-add-menu>button b{display:block;font:650 10px DM Mono,monospace}.indicator-add-menu>button small{display:block;margin-top:4px;color:#8b9cb2;font-size:9px;line-height:1.4}.indicator-add-menu>button>svg{color:#a89cff;flex:0 0 auto}.indicator-add-empty,.indicator-no-items{color:#8b9cb2;font-size:10px}.indicator-add-empty{padding:10px 8px}.indicator-no-items{padding:5px 2px}.indicator-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:grid;place-items:center;padding:20px;background:#02070eb8;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.indicator-modal{width:min(680px,96vw);max-height:min(88vh,900px);display:flex;flex-direction:column;border:1px solid #344960;border-radius:12px;background:#101b2a;box-shadow:0 28px 90px #00000094;overflow:hidden}.indicator-modal-header{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:15px 18px 12px;border-bottom:1px solid #293c52}.indicator-modal-header h2{margin:4px 0 0;color:#eef4fc;font:750 16px Manrope,Inter,sans-serif}.indicator-tabs{display:flex;gap:22px;padding:0 18px;border-bottom:1px solid #293c52}.indicator-tabs button{position:relative;min-height:42px;padding:0 2px;border:0;background:transparent;color:#8fa1b8;font-size:11px;font-weight:700;cursor:pointer}.indicator-tabs button.active{color:#e5ddff}.indicator-tabs button.active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;border-radius:2px;background:#927fff}.indicator-modal-body{overflow:auto;padding:16px 18px 18px}.indicator-input-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 14px}.indicator-field{display:flex;flex-direction:column;gap:5px;min-width:0;color:#c8d4e3;font-size:10px}.indicator-field input,.indicator-field select{width:100%;min-height:34px;padding:0 10px;border:1px solid #344a63;border-radius:6px;background:#0b1522;color:#e5edf8;outline:none;font:11px DM Mono,monospace}.indicator-field input:focus,.indicator-field select:focus{border-color:#8878ee;box-shadow:0 0 0 2px #8878ee21}.indicator-field input:disabled{opacity:.72;cursor:not-allowed}.indicator-field small{color:#8194ab;font-size:9px;line-height:1.4}.indicator-subsection-title{margin:18px 0 9px;color:#8095af;font:700 9px DM Mono,monospace;letter-spacing:1px}.indicator-toggle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 14px;align-items:center}.indicator-toggle-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.indicator-toggle-field{display:flex;align-items:center;gap:7px;min-height:28px;color:#cdd8e7;font-size:10px}.indicator-toggle-field input{width:14px;height:14px;accent-color:#8069ef;margin:0}.indicator-toggle-field small{color:#8496ad;font-size:9px}.indicator-example{margin-top:15px;padding:10px;border:1px solid #31445d;border-radius:8px;background:#0b1522}.indicator-example-heading{margin-bottom:8px;color:#9eb0c6;font:700 9px DM Mono,monospace;letter-spacing:.8px}.indicator-example-inputs{display:flex;flex-wrap:wrap;gap:7px 14px;margin-bottom:8px;color:#92a5bc;font-size:9px}.indicator-example-inputs b{margin-left:4px;color:#e5edf8;font:700 9px DM Mono,monospace}.indicator-example-row{display:grid;grid-template-columns:46px minmax(0,1fr) minmax(70px,auto);gap:8px;align-items:center;min-height:23px;border-top:1px solid #1d2d41;font-size:10px}.indicator-example-name{font:800 10px DM Mono,monospace}.indicator-example-formula{color:#a9b8ca}.indicator-example-row b{text-align:right;font:750 10px DM Mono,monospace}.indicator-example p{margin:8px 0 0;color:#8294aa;font-size:9px;line-height:1.5}.indicator-style-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.indicator-color-field{display:flex;align-items:center;gap:7px;padding:8px;border:1px solid #2b3f56;border-radius:7px;background:#0b1522;color:#d5e0ef;font:700 10px DM Mono,monospace}.indicator-color-field input{width:25px;height:22px;padding:1px;border:0;background:transparent;cursor:pointer}.indicator-color-field code{color:#8497ae;font-size:8px}.indicator-input-grid.style-options{margin-top:16px;align-items:end}.indicator-modal-help{margin:0 0 12px;color:#91a2b8;font-size:10px}.indicator-visibility-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.indicator-current-timeframe{margin-top:15px;padding:10px;border:1px solid #2a3f56;border-radius:7px;background:#0b1522;color:#9aacc2;font-size:10px}.indicator-current-timeframe b{color:#dcd5ff}.indicator-modal-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 18px;border-top:1px solid #293c52;background:#0d1725}.indicator-modal-footer>span{color:#8194aa;font-size:9px}@media(max-width:820px){.indicator-style-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.indicator-manager-heading{align-items:flex-start}.indicator-manager-heading>div:first-child{align-items:flex-start;flex-direction:column;gap:3px}.indicator-input-grid,.indicator-toggle-grid,.indicator-toggle-grid.three{grid-template-columns:1fr}.indicator-visibility-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.indicator-modal-backdrop{padding:8px}.indicator-modal{max-height:94vh}}.indicator-notice{margin-top:10px;padding:8px 10px;border:1px solid #34425b;border-radius:6px;background:#7263d414}.paper-strategy-panel{margin:16px 0 18px;background:linear-gradient(135deg,#0e1929,#0a111d 70%);border:1px solid #23344b;border-radius:14px;padding:16px;color:#e6edf7;box-shadow:0 12px 30px #00000024}.paper-strategy-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.paper-strategy-title-wrap{display:flex;align-items:center;gap:12px}.paper-strategy-icon{width:38px;height:38px;border-radius:11px;background:#172c42;color:#6cbcff;display:grid;place-items:center}.paper-strategy-title-wrap h2{font-size:18px;margin:3px 0 2px}.paper-strategy-title-wrap p{font-size:11px;color:#8293a9;margin:0}.paper-strategy-actions{display:flex;align-items:center;gap:10px}.paper-mode-pill,.paper-feed-state{display:inline-flex;align-items:center;gap:7px;border:1px solid #33445b;background:#111d2c;color:#a9b8ca;border-radius:20px;padding:7px 10px;font-size:10px;font-weight:800;letter-spacing:.04em}.paper-mode-pill i,.paper-feed-state i{width:7px;height:7px;border-radius:50%;background:#8795a8}.paper-mode-pill.running,.paper-feed-state.connected{border-color:#1b7051;color:#70ddb1}.paper-mode-pill.running i,.paper-feed-state.connected i{background:#24ce89;box-shadow:0 0 8px #24ce8977}.paper-btn{border:1px solid transparent;border-radius:8px;padding:9px 13px;font-size:11px;font-weight:800;display:inline-flex;align-items:center;gap:7px;cursor:pointer}.paper-btn:disabled{opacity:.5;cursor:not-allowed}.paper-btn.primary{background:#137c58;color:#fff}.paper-btn.danger{background:#3a1d28;border-color:#71404c;color:#ff9fac}.paper-strategy-controls{display:flex;align-items:center;gap:22px;flex-wrap:wrap;padding:13px 0;border-top:1px solid #1e2b3b;border-bottom:1px solid #1e2b3b;margin-top:14px}.paper-check{display:flex;align-items:flex-start;gap:9px;font-size:11px;color:#dbe6f5}.paper-check input{accent-color:#2bc98a;margin-top:2px}.paper-check span{display:flex;flex-direction:column;gap:3px}.paper-check small{font-size:10px;color:#8192a9}.paper-lots{font-size:11px;color:#9eafc4;display:flex;align-items:center;gap:8px}.paper-lots input{width:64px;border:1px solid #33445b;border-radius:7px;background:#0b1421;color:#eff6ff;padding:6px 8px}.paper-feed-state{margin-left:auto}.paper-error{margin-top:10px;display:flex;align-items:center;gap:8px;padding:9px 11px;border-radius:8px;background:#321b25;border:1px solid #7b3948;color:#ffb6bf;font-size:11px}.paper-reference-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px;margin:13px 0}.paper-reference-grid>div{padding:9px 10px;background:#0b1421;border:1px solid #1e2c3e;border-radius:8px;min-width:0}.paper-reference-grid small,.paper-active-trade small{display:block;color:#7f91a8;font-size:9px;letter-spacing:.06em;font-weight:800;margin-bottom:5px}.paper-reference-grid b{font-size:13px;color:#e8f1fc;font-variant-numeric:tabular-nums}.paper-strategy-info-row{display:flex;align-items:center;gap:16px;flex-wrap:wrap;color:#8496ad;font-size:10px;padding:4px 0 12px}.paper-strategy-info-row span{display:inline-flex;align-items:center;gap:5px}.paper-strategy-info-row b{color:#dbe7f6;font-weight:700}.paper-active-trade{display:grid;grid-template-columns:2fr repeat(4,1fr);gap:8px;padding:11px;background:#102b27;border:1px solid #23684d;border-radius:9px;margin:2px 0 12px}.paper-active-trade>div{min-width:0}.paper-active-trade b{color:#8ee7bd;font-size:12px}.paper-strategy-bottom-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:10px}.paper-table-card,.paper-event-card{border:1px solid #1e2c3e;background:#0b1421;border-radius:9px;overflow:hidden;min-width:0}.paper-table-head{height:38px;display:flex;align-items:center;justify-content:space-between;padding:0 11px;border-bottom:1px solid #1c2a3b}.paper-table-head b{font-size:11px;color:#dce7f4}.paper-table-head button{display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;color:#7db8ea;font-size:10px;cursor:pointer}.paper-table-scroll{overflow:auto}.paper-table-scroll table{border-collapse:collapse;width:100%;font-size:10px;white-space:nowrap}.paper-table-scroll th{text-align:left;color:#70839b;font-size:8px;letter-spacing:.06em;padding:8px 10px;background:#0d1928}.paper-table-scroll td{padding:8px 10px;border-top:1px solid #172638;color:#bdcadd}.paper-table-scroll td.positive{color:#61d6a2}.paper-table-scroll td.negative{color:#ff8994}.paper-event-list{max-height:180px;overflow:auto;padding:4px 11px}.paper-event-item{display:grid;grid-template-columns:62px minmax(100px,.8fr) 1.3fr;gap:7px;padding:7px 0;border-bottom:1px solid #172638;align-items:center}.paper-event-item:last-child{border-bottom:0}.paper-event-item time{font-size:9px;color:#6f8299}.paper-event-item b{font-size:9px;color:#a9c8e5}.paper-event-item span{font-size:9px;color:#8293a9;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.paper-empty{padding:15px!important;text-align:center;color:#71849c!important}.paper-strategy-footnote{font-size:9px;color:#6e8098;line-height:1.5;margin-top:10px}@media(max-width:1100px){.paper-reference-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.paper-strategy-bottom-grid{grid-template-columns:1fr}}@media(max-width:680px){.paper-strategy-head{align-items:flex-start;flex-direction:column}.paper-strategy-actions{width:100%;justify-content:space-between}.paper-reference-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.paper-active-trade{grid-template-columns:repeat(2,1fr)}.paper-event-item{grid-template-columns:54px 1fr}.paper-event-item span{grid-column:2}}.paper-no-active-trade{display:flex;flex-direction:column;gap:5px;padding:15px 16px;margin:2px 0 12px;border:1px dashed #34445a;border-radius:9px;background:#0b1421}.paper-no-active-trade b{font-size:11px;color:#dce7f4}.paper-no-active-trade span{font-size:10px;color:#7f91a8}.paper-active-trade .paper-btn{align-self:center;white-space:nowrap}.paper-active-trade .paper-btn.danger{border:1px solid rgba(239,101,79,.45);background:#ef654f1f;color:#ff8b78}.paper-event-card .paper-event-item{border-bottom:1px solid rgba(140,155,170,.12)}.paper-setup-switches{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;padding:10px 12px;border:1px solid var(--border,#263448);border-radius:10px;background:#ffffff05}.paper-setup-switches>b{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted,#91a0b5);width:100%}.paper-setup-switches .paper-check{margin:0}.paper-trade-limits{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:9px 12px;border:1px solid var(--border,#263448);border-radius:10px;background:#ffffff05}.paper-trade-limits>b{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted,#91a0b5);margin-right:4px}.paper-trade-limits label{display:flex;align-items:center;gap:6px;font-size:10px;color:#c6d2e1}.paper-trade-limits input{width:48px;border:1px solid #33445b;border-radius:6px;background:#0b1421;color:#eff6ff;padding:5px 6px}.paper-btn.entry-toggle{border:1px solid #34465c;background:#111d2c;color:#c7d5e6}.paper-btn.entry-toggle.armed{border-color:#1b7051;background:#102b25;color:#70ddb1}.paper-btn.entry-toggle.disarmed{border-color:#9a6341;background:#30231b;color:#ffc28e}.paper-disarm-reason{color:#91a0b5;font-size:9px}.paper-setup-switches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:8px;padding:10px 12px;border:1px solid var(--border,#263448);border-radius:10px;background:#ffffff05;flex:1 1 100%}.paper-setup-switches>b{grid-column:1/-1;width:auto;margin:0 0 2px}.paper-setup-toggle{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding:10px 12px;border:1px solid #26374b;border-radius:9px;background:#0b1421;cursor:pointer}.paper-setup-toggle>span{display:flex;flex-direction:column;gap:4px;color:#dbe6f5;font-size:11px;font-weight:700}.paper-setup-toggle small{color:#8394a9;font-size:9px;font-weight:500}.paper-setup-toggle.enabled{border-color:#1b7051;background:#102b2580}.paper-setup-toggle.enabled small{color:#70ddb1}.paper-setup-toggle input{position:absolute;width:1px;height:1px;opacity:0}.paper-setup-toggle i{position:relative;flex:0 0 auto;width:34px;height:19px;border:1px solid #536276;border-radius:20px;background:#263244;transition:background .15s,border-color .15s}.paper-setup-toggle i:after{position:absolute;content:"";top:2px;left:2px;width:13px;height:13px;border-radius:50%;background:#b3bdca;transition:transform .15s,background .15s}.paper-setup-toggle input:checked+i{border-color:#39bd83;background:#167a57}.paper-setup-toggle input:checked+i:after{transform:translate(15px);background:#e7fff4}.paper-setup-toggle input:focus-visible+i{outline:2px solid #7db8ea;outline-offset:2px}.paper-lots select{border:1px solid #33445b;border-radius:7px;background:#0b1421;color:#eff6ff;padding:6px 8px}.paper-btn.live{background:#a94532;color:#fff;border-color:#d06a52}.paper-live-gate{display:flex;flex-direction:column;gap:5px;flex:1 1 100%;padding:11px 13px;border:1px solid #94553d;border-radius:9px;background:#632b1e38;color:#f2c2b6;font-size:10px}.paper-live-gate.ready{border-color:#99703c;background:#78521829;color:#f4d8a0}.paper-live-gate b{font-size:11px}.paper-live-gate small{color:#b9a393}.paper-live-gate label{display:flex;align-items:center;gap:7px;color:#ffe1da;font-weight:700}.paper-live-gate input{accent-color:#df7657}@media(max-width:680px){.paper-setup-switches{grid-template-columns:1fr}}.paper-strategy-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 0;border-top:1px solid #1e2b3b;border-bottom:1px solid #1e2b3b;margin-top:14px}.paper-strategy-toolbar .paper-lots{padding:7px 10px;border:1px solid #25374d;border-radius:8px;background:#ffffff06}.paper-strategy-toolbar .paper-feed-state{margin-left:auto}.paper-strategy-overview{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin:13px 0}.paper-strategy-overview>div{min-width:0;padding:10px 12px;border:1px solid #22344b;border-radius:9px;background:#0b1421}.paper-strategy-overview small{display:block;margin-bottom:5px;color:#7f91a8;font-size:8px;font-weight:800;letter-spacing:.07em}.paper-strategy-overview b{display:block;overflow:hidden;color:#e2ebf7;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.paper-strategy-overview b.state-good{color:#70ddb1}.paper-strategy-overview b.state-warn{color:#ffc28e}.paper-disarm-banner{display:flex;align-items:flex-start;gap:9px;margin:0 0 13px;padding:10px 12px;border:1px solid #795232;border-radius:8px;background:#764b2529;color:#e4bd91;font-size:10px;line-height:1.5}.paper-disarm-banner svg{flex:0 0 auto;margin-top:1px}.paper-disarm-banner b{color:#ffd5a8}.paper-method-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:18px 0 9px}.paper-method-section-head>div{display:flex;flex-direction:column;gap:4px}.paper-method-section-head b{color:#e4edf8;font-size:14px}.paper-method-section-head span{color:#8293a9;font-size:10px}.paper-method-section-head>span{padding:5px 8px;border:1px solid #2a4058;border-radius:20px;color:#a9bdd1;font-size:9px;font-weight:700;white-space:nowrap}.paper-method-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.paper-method-card{display:flex;flex-direction:column;min-width:0;padding:12px;border:1px solid #26374b;border-radius:11px;background:linear-gradient(145deg,#0d1928,#0b1420);transition:border-color .15s,background .15s,transform .15s}.paper-method-card:hover{border-color:#3a526d;transform:translateY(-1px)}.paper-method-card.enabled{border-color:#1b7051;background:linear-gradient(145deg,#102b25b8,#0b1420 68%)}.paper-method-card header{display:flex;align-items:center;justify-content:space-between;gap:8px}.paper-method-title{display:flex;align-items:center;gap:9px;min-width:0}.paper-method-title h3{margin:0;color:#e3edf9;font-size:13px;line-height:1.25}.paper-method-switch{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;cursor:pointer}.paper-method-switch input{position:absolute;width:1px;height:1px;opacity:0}.paper-method-switch i{position:relative;width:31px;height:18px;border:1px solid #536276;border-radius:20px;background:#263244;transition:background .15s,border-color .15s}.paper-method-switch i:after{position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:50%;background:#b3bdca;content:"";transition:transform .15s,background .15s}.paper-method-switch.on i{border-color:#39bd83;background:#167a57}.paper-method-switch.on i:after{transform:translate(13px);background:#e7fff4}.paper-method-switch b{min-width:23px;color:#8795a8;font-size:8px;letter-spacing:.04em}.paper-method-switch.on b{color:#70ddb1}.paper-method-switch input:focus-visible+i{outline:2px solid #7db8ea;outline-offset:2px}.paper-method-switch input:disabled+i{opacity:.55}.paper-method-usage{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:9px;border-top:1px solid #1d2b3b}.paper-method-usage>div{display:flex;align-items:baseline;gap:7px}.paper-method-usage small{color:#71839a;font-size:8px;font-weight:800;letter-spacing:.06em}.paper-method-usage b{color:#e1ebf7;font-size:12px;font-variant-numeric:tabular-nums}.paper-method-usage b span{color:#8293a9;font-size:10px;font-weight:500}.paper-method-usage label{display:flex;align-items:center;gap:6px;color:#8293a9;font-size:9px;white-space:nowrap}.paper-method-usage input{width:42px;padding:5px 6px;border:1px solid #33445b;border-radius:6px;background:#0b1421;color:#eff6ff;font-size:10px}.paper-method-card.limit-used .paper-method-usage>div b{color:#ffc28e}.paper-advanced-settings summary,.paper-reference-details summary{padding:9px 0 1px;color:#79b9ef;font-size:9px;font-weight:700;cursor:pointer;list-style:none}.paper-advanced-settings summary::-webkit-details-marker,.paper-reference-details summary::-webkit-details-marker{display:none}.paper-advanced-settings summary:after,.paper-reference-details summary:after{float:right;content:"+";font-size:13px;line-height:9px}.paper-advanced-settings[open] summary:after,.paper-reference-details[open] summary:after{content:"−"}.paper-advanced-settings,.paper-reference-details{margin-top:11px;padding:0 12px;border:1px solid #22344b;border-radius:9px;background:#ffffff05}.paper-advanced-settings>summary,.paper-reference-details>summary{padding:11px 0;color:#a9bbd0;font-size:10px}.paper-advanced-controls{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:8px 0 12px;border-top:1px solid #1d2b3b}.paper-advanced-controls .paper-check{margin-right:auto}.paper-advanced-controls .paper-lots input{width:54px}.paper-reference-details .paper-reference-grid{margin:8px 0 12px}@media(max-width:1120px){.paper-method-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.paper-strategy-overview{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:680px){.paper-method-grid{grid-template-columns:1fr}.paper-strategy-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.paper-strategy-toolbar{align-items:stretch}.paper-strategy-toolbar .paper-lots{flex:1}.paper-strategy-toolbar .paper-feed-state{margin-left:0}.paper-method-section-head{align-items:flex-start;flex-direction:column}.paper-advanced-controls{align-items:flex-start;flex-direction:column;gap:12px}}.paper-strategy-toolbar{gap:14px;padding:14px 0;margin-top:14px}.paper-strategy-control-grid{display:flex;align-items:stretch;gap:10px}.paper-strategy-control{display:flex;flex-direction:column;justify-content:center;gap:6px;min-width:210px;padding:9px 12px;border:1px solid #2a3c53;border-radius:10px;background:linear-gradient(145deg,#111e2f,#0d1725);color:#8fa2ba}.paper-strategy-control>span{font-size:8px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.paper-strategy-control select,.paper-strategy-control input{width:100%;min-height:28px;padding:2px 4px;border:0;outline:0;background:transparent;color:#e8f1fc;font-size:12px;font-weight:700}.paper-strategy-control select{cursor:pointer}.paper-strategy-control input{font-variant-numeric:tabular-nums}.paper-strategy-control input:focus-visible,.paper-strategy-control select:focus-visible{border-radius:5px;outline:2px solid #53a9ed;outline-offset:3px}.paper-strategy-control select option{background:#101b2a;color:#e8f1fc}.paper-strategy-lot-control{min-width:150px;max-width:170px}.paper-method-category-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px;padding:0 2px}.paper-method-category-heading>div{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap}.paper-method-category-heading h3{margin:0;color:#dfe9f6;font-size:12px}.paper-method-category-heading span{color:#8293a9;font-size:9px}.paper-method-category-heading>b{padding:4px 8px;border:1px solid #2a4058;border-radius:20px;color:#9eb0c5;font-size:8px;letter-spacing:.04em;text-transform:uppercase}.paper-method-category-selling .paper-method-card{max-width:460px}@media(max-width:680px){.paper-strategy-control-grid{display:grid;grid-template-columns:1fr 1fr;width:100%}.paper-strategy-control{min-width:0}.paper-strategy-lot-control{max-width:none}.paper-strategy-toolbar .paper-feed-state{margin-left:0}.paper-method-category-heading{align-items:flex-start}}@media(max-width:440px){.paper-strategy-control-grid{grid-template-columns:1fr}.paper-strategy-lot-control{max-width:none}}.paper-strategies-workspace{padding:18px;background:#0b1322;border-color:#1d2d48;border-radius:16px}.paper-strategies-workspace .paper-strategy-head{align-items:flex-start;margin:0 0 16px}.paper-strategies-workspace .paper-strategy-icon{display:none}.paper-strategies-workspace .paper-strategy-title-wrap{gap:0}.paper-strategies-workspace .paper-strategy-title-wrap .eyebrow{color:#a98cff;font-size:9px;letter-spacing:.14em}.paper-strategies-workspace .paper-strategy-title-wrap h2{margin:5px 0 3px;font-size:24px;letter-spacing:-.025em}.paper-strategies-workspace .paper-strategy-actions{gap:8px}.paper-strategies-workspace .paper-feed-state,.paper-strategies-workspace .paper-mode-pill{padding:7px 10px;font-size:9px;letter-spacing:0;text-transform:none}.paper-strategy-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:0;padding:11px 12px;border:1px solid #223451;border-radius:12px;background:#121f34}.paper-strategy-control-grid{gap:0}.paper-strategy-control{min-width:185px;min-height:42px;padding:4px 12px;border:0;border-right:1px solid #2b3c57;border-radius:0;background:transparent}.paper-strategy-control:last-child{border-right:0}.paper-strategy-control>span{font-size:8px}.paper-strategy-control select,.paper-strategy-control input{min-height:22px;font-size:12px}.paper-execution-mode-control{min-width:278px;gap:5px}.paper-execution-mode-options{display:flex;align-items:center;gap:6px}.paper-execution-mode-option{display:inline-flex;align-items:center;gap:6px;flex:1;min-width:0;padding:6px 8px;border:1px solid #30435e;border-radius:8px;background:#0d1928;color:#a9b8ca;font-size:10px;font-weight:700;white-space:nowrap;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease}.paper-execution-mode-option input[type=checkbox]{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto;width:14px;height:14px;min-height:14px;flex:0 0 14px;margin:0;padding:0;accent-color:#2bc98a;cursor:pointer}.paper-execution-mode-option.selected.paper{border-color:#1b805d;background:#14855d29;color:#85e7bd}.paper-execution-mode-option.selected.live{border-color:#a75b35;background:#934b1f2b;color:#ffd0a4}.paper-execution-mode-option.selected.live input[type=checkbox]{accent-color:#f4a54e}.paper-execution-mode-option:focus-within{outline:2px solid #53a9ed;outline-offset:2px}.paper-execution-mode-option:has(input:disabled){opacity:.55;cursor:not-allowed}.paper-strategy-lot-control{min-width:116px;max-width:135px}.paper-strategy-toolbar-actions{display:flex;align-items:center;gap:9px;margin-left:auto;flex-wrap:wrap}.paper-strategies-workspace .paper-btn.force-stop{background:#4a281d;border-color:#a75b35;color:#ffd0a4}.force-stop-banner{border-color:#a75b35;background:#934b1f29;color:#f0c49a}.force-stop-banner b{color:#ffdaa9}.paper-method-count{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid #2c405d;border-radius:22px;background:#192942;color:#a5b5cb;font-size:9px;font-weight:800;white-space:nowrap}.paper-method-count i{width:7px;height:7px;border-radius:50%;background:#788aa2}.paper-method-count.active{color:#d9d0ff;border-color:#5842a5;background:#221e42}.paper-method-count.active i{background:#a47bff;box-shadow:0 0 8px #a47bff77}.paper-strategies-workspace .paper-btn{padding:10px 15px;border-radius:8px;font-size:10px;white-space:nowrap}.paper-strategies-workspace .paper-btn.primary{background:linear-gradient(100deg,#5143e8,#8137ed)}.paper-strategy-overview{gap:9px;margin:13px 0 18px}.paper-strategy-overview>div{padding:11px 13px;border-color:#223451;border-radius:11px;background:#121f34}.paper-strategy-overview small{font-size:8px;letter-spacing:.015em;text-transform:none;color:#8fa0b8}.paper-strategy-overview b{font-size:14px}.paper-method-section-head{display:none}.paper-method-category{margin-top:16px}.paper-method-category-heading{margin-bottom:9px;padding:0 1px}.paper-method-category-heading>div{gap:9px}.paper-method-category-heading h3{font-size:13px}.paper-method-category-heading span{font-size:9px}.paper-method-category-heading>b{padding:0;border:0;border-radius:0;color:#8293a9;font-size:9px;letter-spacing:0;text-transform:none}.paper-method-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.paper-method-card{min-height:92px;padding:11px 12px;border-color:#223451;border-radius:12px;background:#121f34;box-shadow:0 6px 18px #02081720}.paper-method-card:hover{transform:translateY(-1px);border-color:#405a7b}.paper-method-card.enabled{border-color:#1b7051;background:linear-gradient(120deg,#102b2599,#121f34 72%)}.paper-method-card header{align-items:flex-start;min-height:39px}.paper-method-title{align-items:flex-start;gap:0}.paper-method-title>div{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0}.paper-method-direction{display:inline-flex;padding:4px 7px;border-radius:5px;font-size:8px;font-weight:850;letter-spacing:.035em;line-height:1;text-transform:uppercase}.paper-method-direction.buying{background:#0d6049;color:#51d5a7}.paper-method-direction.selling{background:#632733;color:#ff8795}.paper-method-title h3{font-size:12px;line-height:1.2}.paper-method-switch{gap:7px}.paper-method-switch i{width:32px;height:19px}.paper-method-switch i:after{width:13px;height:13px}.paper-method-switch.on i:after{transform:translate(13px)}.paper-method-switch b{font-size:8px}.paper-method-usage{padding-top:8px}.paper-method-usage small{font-size:8px;letter-spacing:.015em}.paper-method-usage b{font-size:11px}.paper-method-usage label{font-size:8px}.paper-method-usage input{width:42px;padding:5px;border-radius:7px;background:#1a2a42}.paper-method-category-selling .paper-method-card{max-width:none}.paper-advanced-settings{margin-top:14px;padding:0 13px;border-color:#223451;border-radius:12px;background:#121f34}.paper-advanced-settings>summary{font-size:10px}@media(max-width:1050px){.paper-strategies-workspace .paper-strategy-overview{grid-template-columns:repeat(3,minmax(0,1fr))}.paper-strategy-control{min-width:155px}}@media(max-width:680px){.paper-strategies-workspace{padding:13px}.paper-strategies-workspace .paper-strategy-head{align-items:flex-start;flex-direction:row}.paper-strategies-workspace .paper-strategy-actions{width:auto;flex-wrap:wrap;justify-content:flex-end}.paper-strategies-workspace .paper-strategy-toolbar{align-items:stretch}.paper-strategy-control-grid{display:flex;flex:1 1 100%;width:100%}.paper-strategy-control{flex:1;min-width:0}.paper-strategy-toolbar-actions{width:100%;justify-content:space-between;margin-left:0}.paper-strategies-workspace .paper-strategy-overview,.paper-method-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.paper-method-card{min-height:96px}}@media(max-width:460px){.paper-strategies-workspace .paper-strategy-head{flex-direction:column}.paper-strategies-workspace .paper-strategy-actions{width:100%;justify-content:flex-start}.paper-strategy-control-grid{flex-direction:column}.paper-strategy-control{border-right:0;border-bottom:1px solid #2b3c57}.paper-strategy-control:last-child{border-bottom:0}.paper-method-grid{grid-template-columns:1fr}.paper-method-card{min-height:0}}.dual-session-toolbar{display:grid;grid-template-columns:minmax(340px,auto) minmax(260px,1fr);align-items:center;gap:10px 14px}.dual-session-toolbar .paper-strategy-control-grid{min-width:0}.dual-session-toolbar .paper-execution-mode-control{min-width:275px}.paper-strategy-toolbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-width:0}.paper-start-hint{color:#8698ae;font-size:9px;line-height:1.4;text-align:right}.start-selected-sessions{flex:none;min-width:155px;justify-content:center;background:linear-gradient(105deg,#4d42df,#7738e8)!important}.start-selected-sessions:disabled{opacity:.5;cursor:not-allowed}.paper-session-actions{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:2px}.paper-session-action{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 12px;min-width:0;padding:11px 12px;border:1px solid #2a3d57;border-radius:10px;background:#0e1a2a}.paper-session-action.live{border-color:#65432e;background:linear-gradient(120deg,#59341c38,#0e1a2a 68%)}.paper-session-action-title{display:flex;flex-direction:column;gap:4px;min-width:0}.paper-session-action-title>b{color:#e2ebf6;font-size:11px}.paper-session-action-title>span{color:#8395aa;font-size:9px}.paper-session-action.live .paper-session-action-title>span{color:#d6ad82}.paper-session-action-buttons{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}.paper-session-ready{color:#7f91a8;font-size:9px;white-space:nowrap}.paper-live-confirm,.paper-live-readiness,.paper-unmanaged-note{grid-column:1/-1}.paper-live-confirm{display:flex;align-items:center;gap:7px;color:#f2cfaa;font-size:9px;font-weight:700}.paper-live-confirm input{accent-color:#f4a54e}.paper-live-confirm input:disabled{opacity:.55}.paper-live-readiness{color:#d6ad82;font-size:9px;line-height:1.4}.paper-live-readiness.ready{color:#76d6ac}.paper-unmanaged-note{color:#ffcb85;font-size:9px;line-height:1.4}.trading-mode-pill.both{border-color:#7954bc;background:linear-gradient(135deg,#2c214b,#17243a);color:#d0b8ff;box-shadow:0 0 14px #9b71ff1f}.trading-mode-pill.both i{background:#a47bff;box-shadow:0 0 8px #a47bff99}.workspace-status.both{border-color:#7954bc;background:#201a38;color:#ceb8ff}.workspace-status.both i{background:#a47bff;box-shadow:0 0 8px #a47bff99}@media(max-width:900px){.dual-session-toolbar{grid-template-columns:1fr}.paper-strategy-toolbar-actions{justify-content:space-between}.paper-start-hint{text-align:left}}@media(max-width:620px){.paper-session-actions,.paper-session-action{grid-template-columns:1fr}.paper-session-action-buttons{justify-content:flex-start}.paper-live-confirm,.paper-live-readiness,.paper-unmanaged-note{grid-column:auto}.paper-strategy-toolbar-actions{align-items:stretch;flex-direction:column}.start-selected-sessions{width:100%}.paper-strategy-control-grid{display:grid;grid-template-columns:1fr}.dual-session-toolbar .paper-execution-mode-control{min-width:0}}.paper-trade-workspace{padding:18px;background:#0b1322;border-color:#1d2d48;border-radius:16px}.paper-trade-workspace .paper-strategy-head{align-items:flex-start;margin-bottom:14px}.paper-trade-workspace .paper-strategy-title-wrap h2{font-size:24px;letter-spacing:-.025em}.paper-trade-workspace .paper-strategy-title-wrap p{font-size:11px}.paper-trade-workspace .paper-strategy-actions{gap:8px}.paper-trade-workspace .paper-mode-pill{padding:7px 10px;font-size:9px}.paper-trade-workspace .trade-monitor-summary{grid-template-columns:1.2fr repeat(5,minmax(0,1fr));gap:9px;margin:13px 0 16px}.paper-trade-workspace .trade-monitor-summary>div{min-width:0;padding:12px 13px;border:1px solid #263956;border-radius:11px;background:linear-gradient(145deg,#14223a,#111c30)}.paper-trade-workspace .trade-monitor-summary .position-mtm{border-color:#127650;background:linear-gradient(135deg,#00754a5c,#102437)}.paper-trade-workspace .trade-monitor-summary small{display:block;margin-bottom:6px;color:#92a4bf;font-size:8px;font-weight:750;letter-spacing:.035em}.paper-trade-workspace .trade-monitor-summary b{display:block;overflow:hidden;color:#e7eef8;font-size:15px;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.paper-trade-workspace .trade-monitor-summary .positive{color:#24d68e}.paper-trade-workspace .trade-monitor-summary .negative{color:#ff777f}.paper-trade-workspace .trade-monitor-summary span{display:block;margin-top:4px;color:#83a08e;font-size:8px}.trade-positions-panel{overflow:hidden;border:1px solid #243650;border-radius:13px;background:#101b2d}.trade-positions-toolbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:11px 12px;border-bottom:1px solid #25354d;background:#111d31}.trade-position-tabs{display:inline-flex;gap:4px;padding:3px;border:1px solid #2b3c57;border-radius:9px;background:#0b1422}.trade-position-tabs button{padding:7px 11px;border:0;border-radius:6px;background:transparent;color:#a8b7cb;font:650 10px DM Sans;cursor:pointer;white-space:nowrap}.trade-position-tabs button.active{background:#5038dc;color:#fff;box-shadow:0 4px 12px #5038dc55}.trade-position-search{display:flex;align-items:center;gap:8px;min-width:200px;margin-left:auto;padding:7px 10px;border:1px solid #2a3b56;border-radius:8px;background:#0b1422;color:#92a8c3}.trade-position-search:focus-within{border-color:#6e5ae4;box-shadow:0 0 0 2px #6e5ae422}.trade-position-search input{width:100%;min-width:100px;border:0;outline:0;background:transparent;color:#e8f0fa;font:500 10px DM Sans}.trade-position-search input::placeholder{color:#73849a}.trade-broker-pill{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #1d664f;border-radius:20px;background:#0d2a25;color:#61d9ad;font-size:9px;font-weight:800;white-space:nowrap}.trade-broker-pill i{width:7px;height:7px;border-radius:50%;background:#28d69a;box-shadow:0 0 7px #28d69a66}.paper-btn.trade-tool-button{padding:8px 10px;border-color:#2c3e59;background:#17263d;color:#c4d2e4;font-size:9px;white-space:nowrap}.trade-positions-table-wrap{overflow:auto}.trade-positions-table{width:100%;min-width:1050px;table-layout:fixed;border-collapse:collapse;white-space:nowrap}.trade-positions-table th{padding:10px 11px;border-bottom:1px solid #2c3d57;background:#17243a;color:#98a9c0;text-align:left;font:700 8px DM Mono,monospace;letter-spacing:.045em;text-transform:uppercase}.trade-positions-table td{padding:10px 11px;border-bottom:1px solid #202f46;color:#d4deec;font-size:10px;font-variant-numeric:tabular-nums}.trade-positions-table tbody tr:hover{background:#17253a}.trade-positions-table tbody tr:last-child td{border-bottom:0}.trade-positions-table td{overflow:hidden;text-overflow:ellipsis}.trade-positions-table td:first-child{min-width:0}.trade-positions-table td:first-child b{display:block;overflow:hidden;color:#edf3fb;font-size:10px;font-weight:700;text-overflow:ellipsis}.trade-positions-table td:first-child small{display:block;margin-top:3px;overflow:hidden;color:#8294ac;font-size:8px;text-overflow:ellipsis}.trade-positions-table td:nth-child(2){min-width:0}.trade-positions-table .trade-level-cell{display:block;max-width:210px;overflow:hidden;color:#c4d2e4;font-size:8px;font-weight:650;text-overflow:ellipsis}.trade-positions-table small.trade-level-cell{margin-top:4px;color:#95a7bf;font-weight:500}.trade-positions-table td.positive{color:#21d48b;font-weight:750}.trade-positions-table td.negative{color:#ff777f;font-weight:750}.trade-side-chip,.trade-status-chip{display:inline-flex;align-items:center;justify-content:center;padding:4px 8px;border-radius:6px;font-size:8px;font-weight:800;letter-spacing:.025em}.trade-side-chip.buy{background:#0e4938;color:#58dfab}.trade-side-chip.sell{background:#51252e;color:#ff9ba5}.trade-status-chip.open{background:#0f563d;color:#79e4b2}.trade-status-chip.closed{background:#26364c;color:#aebdd1}.trade-exit-reason{color:#aab9cc;font-size:9px}.trade-exit-reason.target{color:#48d49a}.trade-exit-reason.stop{color:#ff8b92}.paper-btn.trade-exit-button{padding:6px 9px;border-color:#8c3644;background:#39212b;color:#ffadb5;font-size:9px}.trade-positions-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;min-height:190px;color:#8092aa;text-align:center}.trade-positions-empty svg{color:#8c79ec}.trade-positions-empty b{color:#e0e9f5;font-size:12px}.trade-positions-empty span{font-size:9px}.trade-positions-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 13px;border-top:1px solid #25354d;color:#8192a9;font-size:9px}.trade-positions-footer b{color:#cad7e6}@media(max-width:1120px){.paper-trade-workspace .trade-monitor-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.trade-position-search{margin-left:0;flex:1}}@media(max-width:700px){.paper-trade-workspace{padding:13px}.paper-trade-workspace .paper-strategy-head{align-items:flex-start;flex-direction:column}.paper-trade-workspace .paper-strategy-actions{width:100%;justify-content:flex-start;flex-wrap:wrap}.paper-trade-workspace .trade-monitor-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.trade-positions-toolbar{align-items:stretch}.trade-position-search{flex-basis:100%;order:2}.trade-broker-pill{margin-right:auto}.trade-positions-footer{align-items:flex-start;flex-direction:column}}.trade-monitor-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin:14px 0}.trade-monitor-summary>div{min-width:0;padding:12px 13px;border:1px solid #223249;border-radius:10px;background:linear-gradient(145deg,#111d2c,#0c1522)}.trade-monitor-summary small,.trade-position-live-grid small,.trade-position-levels small,.diary-summary-grid small{display:block;color:#788ba3;font-size:8px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;margin-bottom:7px}.trade-monitor-summary b{display:block;color:#e4edf8;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.trade-monitor-summary b span{color:#8294aa;font-size:10px}.trade-monitor-empty{display:flex;align-items:center;gap:13px;margin:0 0 14px;padding:16px 18px;border:1px solid #26384f;border-radius:12px;background:radial-gradient(ellipse at 2% 40%,rgba(72,133,181,.16),transparent 38%),linear-gradient(120deg,#101c2a,#0d1724)}.trade-empty-icon{width:42px;height:42px;flex:none;display:grid;place-items:center;border:1px solid #2b4964;border-radius:12px;background:#15283a;color:#7cbcff}.trade-monitor-empty>div:nth-child(2){display:flex;flex-direction:column;gap:4px;min-width:0}.trade-monitor-empty small{color:#7a8da5;font-size:8px;font-weight:800;letter-spacing:.08em}.trade-monitor-empty b{color:#e6edf6;font-size:13px}.trade-monitor-empty span:not(.trade-monitor-badge){color:#91a1b5;font-size:10px;line-height:1.4}.trade-monitor-badge{display:inline-flex;align-items:center;gap:7px;margin-left:auto;padding:7px 10px;border:1px solid #34465c;border-radius:20px;background:#152132;color:#aab8c9;font-size:9px;font-weight:800;text-transform:uppercase;white-space:nowrap}.trade-monitor-badge i{width:7px;height:7px;border-radius:50%;background:#8795a8}.trade-monitor-badge.active{border-color:#1b7051;background:#102b25;color:#70ddb1}.trade-monitor-badge.active i{background:#24ce89;box-shadow:0 0 8px #24ce8977}.trade-position-card{margin:0 0 14px;padding:16px;border:1px solid #286849;border-radius:13px;background:radial-gradient(ellipse at 0% 0%,rgba(44,141,96,.18),transparent 43%),linear-gradient(135deg,#10251f,#0d1921)}.trade-position-head,.trade-position-instrument,.trade-position-head-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.trade-position-instrument{justify-content:flex-start;min-width:0}.trade-position-instrument h3{margin:3px 0;color:#eef6f1;font:700 19px Manrope}.trade-position-instrument small{color:#8ca895;font-size:8px;font-weight:800;letter-spacing:.08em}.trade-position-instrument p{margin:0;color:#9bb0a3;font-size:10px}.trade-side-badge{display:grid;place-items:center;width:44px;height:40px;border-radius:10px;font:800 10px DM Mono,monospace}.trade-side-badge.buy{background:#12382b;border:1px solid #277553;color:#6de2ad}.trade-side-badge.sell{background:#3a2227;border:1px solid #80444a;color:#ffa3a5}.trade-position-head-actions{flex:none}.trade-position-head-actions .paper-btn{white-space:nowrap}.trade-position-live-grid{display:grid;grid-template-columns:1.4fr repeat(3,minmax(0,1fr));gap:8px;margin-top:15px}.trade-position-live-grid>div,.trade-position-levels>div{min-width:0;padding:10px 11px;border:1px solid rgba(123,166,143,.18);border-radius:9px;background:#0711154d}.trade-position-live-grid b,.trade-position-levels b{display:block;color:#e6f0e9;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.trade-position-live-grid .trade-live-pnl{background:#38876221}.trade-position-live-grid .trade-live-pnl b{font-size:17px}.trade-position-live-grid b.positive,.diary-summary-grid b.positive,.diary-pnl-col.positive{color:#48d49a}.trade-position-live-grid b.negative,.diary-summary-grid b.negative,.diary-pnl-col.negative{color:#ff8189}.trade-position-levels{display:grid;grid-template-columns:1.4fr 1fr .6fr;gap:8px;margin-top:8px}.trade-position-note{margin-top:9px;padding:8px 10px;border-radius:8px;background:#75aeda14;color:#a8bfd2;font-size:10px}.traders-diary{margin:0 0 12px;overflow:hidden;border:1px solid #223249;border-radius:13px;background:linear-gradient(145deg,#101b29,#0b1420)}.traders-diary-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 17px 13px;border-bottom:1px solid #1d2b3d}.traders-diary-head h3{margin:4px 0;color:#e8eef7;font:700 17px Manrope}.traders-diary-head p{margin:0;color:#8293a9;font-size:10px}.diary-period-nav{display:flex;align-items:center;gap:7px}.diary-period-nav button{width:31px;height:31px;display:grid;place-items:center;border:1px solid #2b3d53;border-radius:8px;background:#142133;color:#a9bed3;cursor:pointer}.diary-period-nav button:disabled{opacity:.35;cursor:not-allowed}.diary-period-nav>span{display:flex;align-items:center;gap:7px;min-width:190px;justify-content:center;color:#d8e3ef;font-size:10px;font-weight:700}.diary-period-nav>span svg{color:#75baff}.diary-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 17px;border-bottom:1px solid #1d2b3d}.diary-period-tabs{display:inline-flex;gap:3px;padding:3px;border:1px solid #26364b;border-radius:9px;background:#0b1421}.diary-period-tabs button,.diary-export,.diary-foot button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:7px;background:transparent;color:#94a5ba;font:600 10px DM Sans;cursor:pointer}.diary-period-tabs button{padding:7px 12px}.diary-period-tabs button.active{background:#1d3349;color:#a9d6ff;box-shadow:inset 0 0 0 1px #34536e}.diary-export,.diary-foot button{color:#83bdf0;padding:7px 9px}.diary-summary-grid{display:grid;grid-template-columns:1.35fr repeat(3,minmax(0,1fr));gap:8px;padding:12px 17px}.diary-summary-grid>div{min-width:0;padding:10px 11px;border:1px solid #1f2e42;border-radius:9px;background:#121e2d9e}.diary-summary-grid b{display:block;color:#e7edf6;font-size:15px;font-variant-numeric:tabular-nums}.diary-summary-grid span{display:block;margin-top:4px;color:#778aa1;font-size:9px}.diary-summary-grid .diary-summary-pnl b{font-size:17px}.diary-table-wrap{overflow:auto;border-top:1px solid #1d2b3d}.diary-table-wrap table{width:100%;min-width:800px;border-collapse:collapse;white-space:nowrap}.diary-table-wrap th{padding:9px 12px;background:#0c1725;color:#71849c;text-align:left;font:700 8px DM Mono,monospace;letter-spacing:.07em}.diary-table-wrap td{padding:10px 12px;border-top:1px solid #19283a;color:#c6d2e0;font-size:10px}.diary-table-wrap tbody tr:hover{background:#699fcd0b}.diary-table-wrap td:first-child span,.diary-table-wrap td:first-child small,.diary-table-wrap td:nth-child(3) small{display:block}.diary-table-wrap td:first-child small,.diary-table-wrap td:nth-child(3) small{margin-top:3px;color:#74869d;font-size:9px}.diary-table-wrap td:nth-child(2) b{font-weight:650;color:#dce7f3}.diary-side{display:inline-flex;padding:4px 6px;border-radius:5px;font-size:8px;font-weight:800;letter-spacing:.04em}.diary-side.buy{background:#123429;color:#6dd9a7}.diary-side.sell{background:#392126;color:#f58e96}.diary-exit-reason{color:#9bacc0}.diary-exit-reason.target{color:#64d5a0}.diary-exit-reason.stop{color:#ff8a91}.diary-pnl-col{text-align:right;font-variant-numeric:tabular-nums;font-weight:700}.diary-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;min-height:150px;color:#6e8198}.diary-empty svg{margin-bottom:4px;color:#6f9cc2}.diary-empty b{color:#cbd7e5;font-size:11px}.diary-empty span{font-size:9px}.diary-foot{display:flex;align-items:center;justify-content:space-between;padding:7px 14px;border-top:1px solid #1d2b3d;color:#778aa1;font-size:9px}@media(max-width:900px){.trade-monitor-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.traders-diary-head{align-items:flex-start;flex-direction:column}.diary-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.trade-monitor-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.trade-monitor-empty{align-items:flex-start;flex-wrap:wrap}.trade-monitor-badge{margin-left:55px}.trade-position-head{align-items:flex-start;flex-direction:column}.trade-position-head-actions{width:100%;justify-content:space-between}.trade-position-live-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.trade-position-levels{grid-template-columns:1fr 1fr}.diary-toolbar{align-items:flex-start;flex-direction:column}.diary-period-nav{align-self:stretch;justify-content:space-between;width:100%}.diary-period-nav>span{flex:1;min-width:0}.diary-summary-grid{padding:10px}.traders-diary-head{padding:14px}.diary-foot{align-items:flex-start}}@media(max-width:400px){.trade-monitor-summary,.trade-position-live-grid,.trade-position-levels{grid-template-columns:1fr 1fr}.diary-period-tabs button{padding:7px 9px}}.trade-rejections-panel{margin-top:12px;overflow:hidden;border:1px solid #765126;border-radius:13px;background:linear-gradient(145deg,#211c19,#111a28)}.trade-rejections-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid #47351f}.trade-rejections-heading>div{display:flex;align-items:center;gap:10px;min-width:0}.trade-rejections-heading svg{flex:none;color:#f2b75f}.trade-rejections-heading b{display:block;color:#f3d5a6;font-size:11px}.trade-rejections-heading span{display:block;margin-top:3px;color:#a99a83;font-size:9px}.trade-rejections-heading strong{display:grid;place-items:center;min-width:25px;height:25px;padding:0 7px;border:1px solid #765126;border-radius:20px;background:#372719;color:#f2c475;font-size:10px}.trade-rejections-table-wrap{overflow:auto}.trade-rejections-table{width:100%;min-width:760px;border-collapse:collapse;table-layout:auto}.trade-rejections-table th{padding:9px 12px;background:#1c2028;color:#a99a83;text-align:left;font:700 8px DM Mono,monospace;letter-spacing:.045em;text-transform:uppercase}.trade-rejections-table td{padding:10px 12px;border-top:1px solid #342c22;color:#d5d8df;font-size:10px;vertical-align:top}.trade-rejections-table td:first-child b{color:#edf3fb;white-space:nowrap}.trade-rejection-mode{display:inline-flex;padding:3px 6px;border:1px solid #35455c;border-radius:5px;background:#152237;color:#a9bfd9;font-size:8px;font-weight:750}.trade-rejections-table .trade-rejection-reason{min-width:260px;color:#f3bf72;white-space:normal;overflow-wrap:anywhere}.paper-unmanaged-resolution{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;flex-wrap:wrap}.paper-unmanaged-resolution .paper-unmanaged-note{margin:0}.paper-unmanaged-resolution .paper-btn{font-size:10px;padding:5px 9px}.paper-strategy-lot-control>small{color:var(--muted,#8b98a7);font-size:10px;font-weight:400}.dual-mode-method-card .mode-usage{flex-wrap:wrap}.paper-method-allocation-row{display:grid;gap:8px;padding-top:10px;border-top:1px solid #26374b}.paper-method-allocation-row+.paper-method-allocation-row{margin-top:10px}.method-allocation-status,.method-allocation-controls{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.method-allocation-status>small{color:#8b9db4;font-size:9px;font-weight:800;letter-spacing:.04em;min-width:34px}.method-allocation-status .paper-method-switch b{font-size:10px;min-width:47px}.method-allocation-trades{margin-left:auto;color:#8b9db4;font-size:10px;white-space:nowrap}.method-allocation-controls>label{display:flex;align-items:center;gap:5px;color:#9cacc0;font-size:10px;white-space:nowrap}.method-allocation-controls input,.method-allocation-controls select{height:30px;border:1px solid #34475f;border-radius:6px;background:#111e31;color:#edf2f8;font:inherit}.method-allocation-controls input{width:48px;padding:4px 6px}.method-allocation-controls select{padding:4px 7px;max-width:118px}.method-allocation-controls .method-allocation-limit{margin-left:auto}.method-manual-label{color:#8b9db4;font-size:10px}.method-allocation-apply{min-height:30px;padding:5px 9px;font-size:10px}.method-allocation-controls input[aria-invalid=true]{border-color:#ed796b}.method-allocation-validation{color:#ed9b8f;font-size:10px}@media(max-width:650px){.method-allocation-controls{gap:7px}.method-allocation-controls .method-allocation-limit{margin-left:0}}.paper-strategies-workspace{padding:12px;border-radius:12px}.paper-strategies-workspace .paper-strategy-head{margin-bottom:10px;gap:10px;align-items:center}.paper-strategies-workspace .paper-strategy-title-wrap h2{font-size:21px;margin:2px 0}.paper-strategies-workspace .paper-strategy-title-wrap p{margin:0;font-size:11px}.paper-strategies-workspace .dual-session-toolbar{padding:9px 10px;gap:8px 12px;border-radius:9px;grid-template-columns:minmax(260px,auto) minmax(0,1fr)}.paper-strategies-workspace .paper-strategy-control{padding:0;min-width:0}.paper-strategies-workspace .paper-execution-mode-control{min-width:0;border:0}.paper-strategies-workspace .paper-execution-mode-options{gap:6px;margin-top:4px}.paper-strategies-workspace .paper-execution-mode-option{padding:6px 9px;font-size:11px}.paper-strategies-workspace .paper-strategy-toolbar-actions{gap:8px}.paper-strategies-workspace .paper-start-hint{font-size:10px;max-width:280px;line-height:1.3}.paper-strategies-workspace .paper-btn{padding:6px 9px;min-height:28px;font-size:10px;border-radius:6px}.paper-strategies-workspace .paper-session-actions{gap:7px;margin:0}.paper-strategies-workspace .paper-session-action{padding:8px 9px;gap:5px 8px;border-radius:8px}.paper-strategies-workspace .paper-live-confirm{margin:2px 0;font-size:10px;line-height:1.35}.paper-strategies-workspace .paper-live-readiness{font-size:10px;line-height:1.35}.paper-strategies-workspace .paper-strategy-overview{gap:6px;margin:9px 0}.paper-strategies-workspace .paper-strategy-overview>div{padding:7px 9px;border-radius:7px}.paper-strategies-workspace .paper-strategy-overview small{margin-bottom:3px;font-size:9px}.paper-strategies-workspace .paper-strategy-overview b{font-size:12px}.paper-strategies-workspace .paper-disarm-banner{margin:7px 0;padding:8px 10px;font-size:11px}.paper-strategies-workspace .paper-method-category{margin-top:10px}.paper-strategies-workspace .paper-method-category-heading{margin-bottom:6px}.paper-strategies-workspace .paper-method-category-heading h3{font-size:12px}.paper-strategies-workspace .paper-method-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:8px}.paper-strategies-workspace .paper-method-card{min-height:0;padding:8px 10px;border-radius:8px;box-shadow:none}.paper-strategies-workspace .paper-method-card:hover{transform:none}.paper-strategies-workspace .paper-method-card header{min-height:27px}.paper-strategies-workspace .paper-method-title>div{flex-direction:row;align-items:center;gap:6px;flex-wrap:wrap}.paper-strategies-workspace .paper-method-title h3{font-size:12px;margin:0;line-height:1.3}.paper-strategies-workspace .paper-method-direction{padding:3px 5px;font-size:8px}.paper-strategies-workspace .paper-method-allocation-row{grid-template-columns:96px minmax(0,1fr);align-items:center;gap:5px 8px;padding-top:6px}.paper-strategies-workspace .paper-method-allocation-row+.paper-method-allocation-row{margin-top:6px}.paper-strategies-workspace .method-allocation-status{flex-direction:column;align-items:flex-start;gap:3px}.paper-strategies-workspace .method-allocation-status>small{font-size:9px}.paper-strategies-workspace .method-allocation-status .paper-method-switch{gap:4px}.paper-strategies-workspace .method-allocation-status .paper-method-switch b{font-size:10px;min-width:0}.paper-strategies-workspace .method-allocation-trades{margin-left:0;font-size:9px}.paper-strategies-workspace .method-allocation-controls{gap:5px;min-width:0}.paper-strategies-workspace .method-allocation-controls>label{gap:4px;font-size:10px}.paper-strategies-workspace .method-allocation-controls input,.paper-strategies-workspace .method-allocation-controls select{height:28px;padding:3px 5px;max-width:100%;font-size:11px}.paper-strategies-workspace .method-allocation-controls input{width:44px}.paper-strategies-workspace .method-allocation-controls select{max-width:112px}.paper-strategies-workspace .method-allocation-controls .method-allocation-limit{margin-left:0}.paper-strategies-workspace .method-manual-label{font-size:10px}.paper-strategies-workspace .method-allocation-apply{min-height:28px;padding:4px 7px}.paper-strategies-workspace .paper-advanced-settings,.paper-strategies-workspace .paper-reference-details{margin-top:9px}@media(max-width:900px){.paper-strategies-workspace .dual-session-toolbar{grid-template-columns:1fr}.paper-strategies-workspace .paper-strategy-toolbar-actions{justify-content:space-between}.paper-strategies-workspace .paper-start-hint{max-width:none;text-align:left}}@media(max-width:620px){.paper-strategies-workspace{padding:9px}.paper-strategies-workspace .paper-strategy-head{flex-wrap:wrap}.paper-strategies-workspace .paper-strategy-actions{justify-content:flex-start}.paper-strategies-workspace .paper-strategy-toolbar-actions{flex-direction:row;flex-wrap:wrap}.paper-strategies-workspace .start-selected-sessions{width:auto;min-width:145px}.paper-strategies-workspace .paper-start-hint{flex:1 1 160px}.paper-strategies-workspace .paper-session-action{grid-template-columns:minmax(0,1fr) auto}.paper-strategies-workspace .paper-live-confirm,.paper-strategies-workspace .paper-live-readiness,.paper-strategies-workspace .paper-unmanaged-resolution{grid-column:1/-1}.paper-strategies-workspace .method-allocation-controls input,.paper-strategies-workspace .method-allocation-controls select,.paper-strategies-workspace .method-allocation-apply{min-height:32px}}@media(min-width:1100px){.paper-strategies-workspace .paper-method-category-selling .paper-method-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px}.paper-strategies-workspace .paper-method-category-selling .paper-method-card header{grid-column:1/-1}.paper-strategies-workspace .paper-method-category-selling .paper-method-allocation-row+.paper-method-allocation-row{margin-top:0}}.paper-strategies-workspace{padding:0;border:0;background:transparent;border-radius:0}.paper-strategies-workspace .paper-strategy-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:22px;margin:4px 0 22px;align-items:center}.strategy-page-brand{display:flex;align-items:center;gap:9px;padding-right:24px;min-height:48px;border-right:1px solid #3d4c63;white-space:nowrap;font-size:19px;font-weight:750;color:#edf4ff}.strategy-page-brand svg{color:#5aa9ff}.paper-strategies-workspace .paper-strategy-title-wrap .eyebrow{display:none}.paper-strategies-workspace .paper-strategy-title-wrap h2{font-size:28px;margin:0 0 5px;letter-spacing:-.6px}.paper-strategies-workspace .paper-strategy-title-wrap p{font-size:12px;color:#a2b8d5}.paper-strategies-workspace .paper-strategy-actions{flex-wrap:wrap;justify-content:flex-end}.paper-strategies-workspace .paper-feed-state,.paper-strategies-workspace .paper-mode-pill{padding:8px 12px;font-size:11px;border-radius:24px}.paper-strategies-workspace .dual-session-toolbar{display:grid;grid-template-columns:minmax(230px,auto) minmax(400px,1fr) auto;padding:20px;gap:18px;border-radius:14px;background:linear-gradient(120deg,#14243b,#101b2d);border-color:#304762}.paper-strategies-workspace .paper-execution-mode-control>span{font-size:10px;letter-spacing:.06em;color:#aac0df}.paper-strategies-workspace .paper-execution-mode-options{display:flex;gap:0;margin-top:10px;border:1px solid #3a4f6d;border-radius:10px;overflow:hidden}.paper-strategies-workspace .paper-execution-mode-option{border:0;border-radius:0;padding:10px 12px;font-size:12px;background:transparent;min-width:0}.paper-strategies-workspace .paper-execution-mode-option.paper.selected{background:linear-gradient(135deg,#087f65,#095642);box-shadow:inset 0 0 0 1px #13be94;border-radius:9px}.strategy-command-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));min-width:0;align-items:center}.strategy-command-metrics>div{display:grid;grid-template-columns:19px minmax(0,1fr);gap:7px 8px;padding:3px 12px;border-left:1px solid #34445d;min-width:0}.strategy-command-metrics svg{grid-row:span 2;color:#a9c3ed}.strategy-command-metrics small{color:#aec0d9;font-size:9px;line-height:1.4;white-space:normal}.strategy-command-metrics b{color:#f0f4fc;font-size:13px;line-height:1.4;overflow-wrap:anywhere}.paper-strategies-workspace .paper-strategy-toolbar-actions{margin:0;justify-content:flex-end}.paper-strategies-workspace .start-selected-sessions{min-height:42px;min-width:170px;padding:10px 18px;font-size:12px;border-radius:10px;border-color:#8560e9}.paper-strategies-workspace .paper-session-actions{grid-column:1/-1;margin:0}.paper-strategies-workspace .paper-session-action{background:#101c2e;border-color:#30445d}.paper-strategies-workspace .paper-disarm-banner{margin:16px 0;padding:12px 16px;border-radius:10px;font-size:12px;line-height:1.4}.strategy-methods-panel{margin-top:18px;padding:18px 14px 12px;border:1px solid #34475f;border-radius:14px;background:linear-gradient(130deg,#142236,#0d1728)}.strategy-methods-heading{display:flex;align-items:baseline;gap:18px;margin:0 8px 17px}.strategy-methods-heading h3{margin:0;color:#eef3fc;font-size:20px;font-weight:750}.strategy-methods-heading>span{font-size:12px;color:#a4b8d3}.strategy-methods-scroll{position:relative;overflow:auto;border:1px solid #26384f;border-radius:11px}.strategy-methods-scroll:has(.strategy-row-settings[open]){padding-bottom:210px}.strategy-methods-table{font-family:DM Sans,Arial,sans-serif;width:100%;min-width:1100px;border-collapse:collapse;text-align:left;font-variant-numeric:tabular-nums}.strategy-methods-table th{padding:12px 14px;color:#b1c5e0;background:#1a293e;font-size:10px;line-height:1.4;font-weight:600;text-transform:uppercase;white-space:nowrap}.strategy-methods-table td{padding:11px 14px;border-top:1px solid #304057;color:#dbe6f4;font-size:12px;vertical-align:middle}.strategy-methods-table tbody tr:nth-child(2n){background:#ffffff02}.strategy-methods-table td:first-child{min-width:252px}.strategy-methods-table td:first-child strong{font-size:13px;line-height:1.4;color:#f0f4fb}.strategy-methods-table td:nth-child(5){border-left:1px solid #26364b}.strategy-methods-table input[type=number],.strategy-methods-table select{height:34px;width:64px;padding:5px 8px;border:1px solid #405573;border-radius:7px;background:#101d30;color:#eef4ff;font:600 12px DM Sans,sans-serif;box-sizing:border-box}.strategy-methods-table input[aria-invalid=true]{border-color:#ee8585}.strategy-table-lots{display:flex;align-items:center;gap:5px;flex-wrap:wrap;max-width:140px}.strategy-table-lots small{flex-basis:100%;color:#92b4d4;font-size:9px;line-height:1.3}.strategy-table-lots .paper-btn{padding:4px 7px;min-height:26px;font-size:9px}.strategy-type{display:inline-flex;padding:5px 9px;border-radius:20px;font-size:11px;font-weight:600;white-space:nowrap}.strategy-type.buying{color:#65e7c0;background:#0b483e;border:1px solid #1c876f}.strategy-type.selling{color:#ffabb5;background:#482732;border:1px solid #995368}.strategy-table-status{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:20px;background:#2a374b;color:#c4d2e5;font-size:10px;white-space:nowrap}.strategy-table-status i{width:7px;height:7px;border-radius:50%;background:#a7b9d1}.strategy-table-status.armed{background:#133f35;color:#76e5bb}.strategy-table-status.armed i{background:#21dba1}.strategy-table-switches{display:flex;align-items:center;gap:12px}.strategy-table-switches .paper-method-switch{position:relative;display:flex;flex-direction:column;gap:4px}.strategy-table-switches .paper-method-switch>span{font-size:9px;color:#aabbd1}.strategy-methods-table td:last-child{padding-left:4px;padding-right:10px}.strategy-row-settings{position:relative}.strategy-row-settings summary{display:grid;place-items:center;width:26px;height:30px;cursor:pointer;color:#b9cee9;list-style:none;border-radius:5px}.strategy-row-settings summary::-webkit-details-marker{display:none}.strategy-row-settings summary:hover{background:#263a54}.strategy-row-settings[open]>summary{background:#263a54}.strategy-row-settings>div{position:absolute;z-index:5;top:36px;right:0;width:250px;padding:13px;border:1px solid #496080;border-radius:9px;background:#14243a}.strategy-row-settings label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#d5e4f7}.strategy-row-settings select{width:115px;font-size:11px}.strategy-row-settings p{color:#a9bdd7;font-size:11px;line-height:1.5;margin:12px 0 0;white-space:normal}.strategy-table-note{margin:12px 8px 0;color:#91a6c3;font-size:10px;line-height:1.5}.strategy-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:1200px){.paper-strategies-workspace .paper-strategy-head{grid-template-columns:auto minmax(0,1fr);gap:14px}.paper-strategies-workspace .paper-strategy-actions{grid-column:1/-1;justify-content:flex-start}.paper-strategies-workspace .dual-session-toolbar{grid-template-columns:minmax(230px,1fr) auto}.strategy-command-metrics{grid-column:1/-1;grid-row:2}.paper-strategies-workspace .paper-strategy-toolbar-actions{grid-column:2;grid-row:1}}@media(max-width:620px){.paper-strategies-workspace .paper-strategy-head{grid-template-columns:1fr;gap:10px;margin-bottom:16px}.strategy-page-brand{border:0;padding:0;min-height:30px;font-size:17px}.paper-strategies-workspace .paper-strategy-title-wrap h2{font-size:25px}.paper-strategies-workspace .paper-strategy-actions{gap:6px}.paper-strategies-workspace .paper-feed-state,.paper-strategies-workspace .paper-mode-pill{font-size:10px;padding:6px 9px}.paper-strategies-workspace .dual-session-toolbar{grid-template-columns:1fr;padding:13px;gap:14px}.paper-strategies-workspace .paper-strategy-toolbar-actions{grid-column:1;grid-row:3;justify-content:stretch}.paper-strategies-workspace .start-selected-sessions{width:100%}.strategy-command-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 0}.strategy-command-metrics>div{padding:2px 9px}.strategy-methods-panel{padding:14px 9px 10px}.strategy-methods-heading{gap:10px;margin-bottom:13px}.strategy-methods-heading h3{font-size:18px}.strategy-methods-heading>span{font-size:11px}.strategy-table-note{font-size:11px}}.paper-strategies-workspace .paper-strategy-toolbar-actions{flex-direction:column;align-items:stretch}.strategy-start-feedback{grid-column:1/-1;display:block;max-width:330px;color:#efbf80;font-size:10px;line-height:1.45}.paper-live-readiness-controls{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.paper-live-readiness-controls .paper-live-readiness{flex:1 1 220px}.paper-live-readiness-controls .paper-btn{flex:none;font-size:10px;min-height:28px}.trade-dhan-status{padding:8px 14px;color:var(--muted,#91a4b9);font-size:12px;border-bottom:1px solid #263c50}.trade-dhan-status b{color:#efbb64}.trade-dhan-allocations summary{cursor:pointer;color:#81d8be}.trade-dhan-allocations[open]{min-width:210px;white-space:normal}.trade-dhan-allocations>div{padding:9px 0;border-bottom:1px solid #263c50}.trade-dhan-allocations .trade-exit-button{margin-top:6px;white-space:normal}.trade-broker-exit-levels>div{padding:3px 0;white-space:normal}.trade-broker-exit-levels small{display:block;font-size:10px}.trade-stream-price{display:block;font-size:10px;white-space:nowrap}.paper-strategies-workspace{margin:8px 0 12px}.paper-strategies-workspace .paper-strategy-head{gap:12px;margin:0 0 10px}.paper-strategies-workspace .strategy-page-brand{min-height:34px;padding-right:14px;font-size:16px;gap:7px}.paper-strategies-workspace .strategy-page-brand svg{width:24px;height:24px}.paper-strategies-workspace .paper-strategy-title-wrap{gap:8px}.paper-strategies-workspace .paper-strategy-title-wrap h2{font-size:22px;margin:0 0 3px}.paper-strategies-workspace .paper-strategy-title-wrap p{font-size:11px}.paper-strategies-workspace .paper-feed-state,.paper-strategies-workspace .paper-mode-pill{padding:5px 8px;font-size:10px}.paper-strategies-workspace>.paper-live-readiness-controls{justify-content:flex-start;gap:7px 12px;margin:0 0 8px}.paper-strategies-workspace>.paper-live-readiness-controls>small{font-size:10px;line-height:1.35}.paper-strategies-workspace .paper-btn{min-height:30px;padding:6px 9px;font-size:10px;gap:5px}.paper-strategies-workspace .dual-session-toolbar{grid-template-columns:minmax(190px,auto) minmax(350px,1fr) auto;padding:10px 12px;gap:10px 12px;border-radius:10px}.paper-strategies-workspace .paper-execution-mode-options{margin-top:5px;border-radius:7px}.paper-strategies-workspace .paper-execution-mode-option{padding:7px 9px;font-size:11px}.paper-strategies-workspace .strategy-command-metrics>div{padding:2px 8px;gap:3px 6px;grid-template-columns:16px minmax(0,1fr)}.paper-strategies-workspace .strategy-command-metrics svg{width:16px;height:16px}.paper-strategies-workspace .strategy-command-metrics small{font-size:8px;line-height:1.3}.paper-strategies-workspace .strategy-command-metrics b{font-size:11px;line-height:1.35}.paper-strategies-workspace .start-selected-sessions{min-height:34px;min-width:145px;padding:7px 10px;font-size:11px;border-radius:7px}.paper-strategies-workspace .strategy-start-feedback{font-size:10px;line-height:1.3;max-width:280px}.paper-strategies-workspace .paper-session-actions{gap:8px}.paper-strategies-workspace .paper-session-action{padding:7px 9px;gap:5px 8px;border-radius:7px}.paper-strategies-workspace .paper-session-action-title{gap:2px}.paper-strategies-workspace .paper-session-action-title>span{font-size:10px}.paper-strategies-workspace .paper-session-action-buttons{gap:5px}.paper-strategies-workspace .paper-live-confirm{margin:0;font-size:10px;line-height:1.3}.paper-strategies-workspace .paper-live-readiness-controls{gap:5px 8px}.paper-strategies-workspace .paper-live-readiness-controls .paper-live-readiness{font-size:10px;line-height:1.3}.paper-strategies-workspace .paper-disarm-banner{margin:8px 0;padding:8px 10px;font-size:11px;border-radius:8px}.paper-strategies-workspace .strategy-methods-panel{margin-top:10px;padding:10px 10px 8px;border-radius:10px}.paper-strategies-workspace .strategy-methods-heading{gap:12px;margin:0 3px 9px}.paper-strategies-workspace .strategy-methods-heading h3{font-size:16px}.paper-strategies-workspace .strategy-methods-heading>span{font-size:11px}.paper-strategies-workspace .strategy-methods-table{min-width:940px}.paper-strategies-workspace .strategy-methods-table th{padding:8px;font-size:9px}.paper-strategies-workspace .strategy-methods-table td{padding:7px 8px;font-size:11px}.paper-strategies-workspace .strategy-methods-table td:first-child{min-width:210px}.paper-strategies-workspace .strategy-methods-table td:first-child strong{font-size:11px;line-height:1.35}.paper-strategies-workspace .strategy-methods-table input[type=number],.paper-strategies-workspace .strategy-methods-table select{height:30px;width:54px;padding:4px 6px;font-size:11px;border-radius:6px}.paper-strategies-workspace .strategy-methods-table .strategy-row-settings select{width:115px}.paper-strategies-workspace .strategy-type{padding:3px 6px;font-size:9px}.paper-strategies-workspace .strategy-table-status{padding:4px 6px;font-size:9px;gap:4px}.paper-strategies-workspace .strategy-table-switches{gap:8px}.paper-strategies-workspace .strategy-table-switches .paper-method-switch{gap:3px}.paper-strategies-workspace .strategy-table-lots .paper-btn{min-height:26px;padding:4px 6px;font-size:9px}.paper-strategies-workspace .strategy-table-note{margin:7px 3px 0;font-size:10px;line-height:1.35}.paper-strategies-workspace .paper-advanced-settings,.paper-strategies-workspace .paper-reference-details{margin-top:7px;padding:0 9px;border-radius:7px}.paper-strategies-workspace .paper-advanced-settings>summary,.paper-strategies-workspace .paper-reference-details>summary{padding:7px 0;font-size:10px}.paper-strategies-workspace .paper-method-apply-note{margin:7px 0;font-size:10px;line-height:1.35}@media(max-width:1200px){.paper-strategies-workspace .dual-session-toolbar{grid-template-columns:minmax(190px,1fr) auto}.paper-strategies-workspace .strategy-command-metrics{grid-column:1/-1;grid-row:2}.paper-strategies-workspace .paper-strategy-toolbar-actions{grid-column:2;grid-row:1}}@media(max-width:620px){.paper-strategies-workspace .paper-strategy-head{grid-template-columns:1fr;gap:7px}.paper-strategies-workspace .strategy-page-brand{min-height:26px;border:0;padding:0;font-size:15px}.paper-strategies-workspace .paper-strategy-title-wrap h2{font-size:21px}.paper-strategies-workspace .dual-session-toolbar{grid-template-columns:1fr;padding:9px;gap:9px}.paper-strategies-workspace .paper-strategy-toolbar-actions{grid-column:1;grid-row:3}.paper-strategies-workspace .strategy-command-metrics{gap:8px 0}.paper-strategies-workspace .paper-session-actions{grid-template-columns:1fr}.paper-strategies-workspace .paper-btn,.paper-strategies-workspace .strategy-methods-table input[type=number],.paper-strategies-workspace .strategy-methods-table select{min-height:34px}}.workspace-page:has(>.paper-strategies-workspace)>.workspace-page-heading{display:none}.paper-strategies-workspace .dual-session-toolbar.session-controls-compact{grid-template-columns:minmax(190px,auto) minmax(0,1fr)}@media(max-width:900px){.paper-strategies-workspace .dual-session-toolbar.session-controls-compact{grid-template-columns:minmax(0,1fr)}.session-controls-compact .strategy-command-metrics{grid-column:1}}.session-mode-disabled .paper-session-action-title{opacity:.65}.reports-workspace{display:grid;gap:18px}.report-actions{display:flex;gap:8px;flex-wrap:wrap}.report-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.report-kpis article,.report-chart-card{background:var(--panel,#101820);border:1px solid var(--line,#26313b);border-radius:12px;padding:18px}.report-kpis small{display:block;color:var(--muted,#8b98a7);font-size:10px;letter-spacing:.08em;margin-bottom:12px}.report-kpis strong{font-size:26px;font-weight:700}.report-kpis .positive,.report-table .positive{color:#29b987}.report-kpis .negative,.report-table .negative{color:#ef654f}.daily-pnl-chart{display:flex;align-items:stretch;gap:10px;min-height:230px;overflow-x:auto;padding:18px 4px 4px}.daily-pnl-column{min-width:54px;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:7px}.daily-pnl-value{font-size:10px;color:var(--muted,#9aa5b1);white-space:nowrap}.daily-pnl-track{height:145px;width:100%;display:flex;align-items:flex-end;justify-content:center;border-bottom:1px solid var(--line,#26313b);background:linear-gradient(to top,transparent 49.5%,rgba(130,145,160,.12) 50%,transparent 50.5%)}.daily-pnl-bar{width:min(34px,70%);border-radius:5px 5px 0 0;min-height:3px}.daily-pnl-bar.profit{background:#29b987}.daily-pnl-bar.loss{background:#ef654f}.daily-pnl-column small{font-size:10px;color:var(--muted,#8b98a7)}.report-disclaimer{font-size:11px;color:var(--muted,#8b98a7);margin:0}.report-table{background:var(--panel,#101820);border:1px solid var(--line,#26313b);border-radius:12px;padding:14px}@media(max-width:800px){.report-kpis{grid-template-columns:1fr}.report-actions{width:100%}}.backtest-reference{display:grid;gap:12px}.backtest-reference-kpis{grid-template-columns:repeat(4,minmax(0,1fr));padding:12px 12px 0}.backtest-reference-kpis article{padding:12px;min-width:0}.backtest-reference-kpis strong{font-size:18px}.backtest-reference .paper-table-head span{font-size:10px;color:var(--muted,#8b98a7)}@media(max-width:800px){.backtest-reference-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}.report-rejected-summary{display:grid;gap:5px;color:var(--muted,#8b98a7);font-size:11px}.report-rejected-summary ul{display:grid;gap:4px;max-height:180px;overflow:auto;margin:0;padding-left:18px}.report-rejected-summary li{line-height:1.45}.traders-diary-workspace{gap:13px}.diary-page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:0}.diary-page-header h1{margin:5px 0 2px;font:750 29px Manrope,sans-serif;letter-spacing:-.8px;color:#f0f4fb}.diary-page-header p{margin:0;color:#8d9bb0;font-size:12px}.diary-header-controls{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.diary-period-range,.diary-date-select{height:38px;display:flex;align-items:center;gap:8px;padding:0 10px;border:1px solid #2a3a51;border-radius:9px;background:#111c2b;color:#d4dfeb;font-size:10px;font-weight:650;white-space:nowrap}.diary-period-range>span{min-width:145px;text-align:center}.diary-period-range button{width:20px;height:24px;display:grid;place-items:center;padding:0;border:0;background:transparent;color:#a1b3ca;cursor:pointer}.diary-period-range button:disabled{opacity:.35;cursor:not-allowed}.diary-date-select{padding:0 9px;color:#9eb5d0}.diary-date-select input{width:112px;border:0;background:transparent;color:#dbe6f3;font:600 10px DM Sans;outline:0;color-scheme:dark}.diary-refresh{height:38px}.diary-view-tabs{display:flex;gap:6px;max-width:720px}.diary-view-tabs button{min-width:132px;display:flex;align-items:center;justify-content:center;gap:8px;padding:9px 14px;border:1px solid #2a3a51;border-radius:9px;background:linear-gradient(145deg,#121e2d,#0e1724);color:#b6c3d4;font:650 11px DM Sans;cursor:pointer}.diary-view-tabs button svg{color:#b9a1ff}.diary-view-tabs button.active{border-color:#8147f1;background:linear-gradient(135deg,#6927db,#4f18b7);color:#fff;box-shadow:0 6px 18px #6830d938}.diary-view-tabs button.active svg{color:#fff}.diary-kpi-grid{display:grid;grid-template-columns:1.25fr repeat(4,minmax(0,1fr));gap:10px}.diary-kpi-card{min-width:0;min-height:82px;display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid #26364c;border-radius:11px;background:linear-gradient(145deg,#111c2b,#0b1421);box-shadow:0 7px 18px #0000001a}.diary-kpi-card.pnl{background:linear-gradient(135deg,#092b20,#0d1e22);border-color:#0da65d}.diary-kpi-card.drawdown{border-color:#60337b;background:linear-gradient(135deg,#1b1727,#151526)}.diary-kpi-icon{width:37px;height:37px;flex:none;display:grid;place-items:center;color:#1ee17b}.diary-kpi-icon.purple{color:#bb9cff}.diary-kpi-icon.red{color:#ff6874}.diary-kpi-card small,.diary-kpi-card span{display:block;color:#8c9bb0;font-size:9px}.diary-kpi-card b{display:block;margin:3px 0;color:#edf2fb;font:750 19px Manrope,sans-serif;white-space:nowrap}.diary-kpi-card.pnl b{color:#21e878;font-size:20px}.diary-kpi-card.drawdown b{color:#ff6874}.diary-kpi-card .positive{color:#21e878}.diary-kpi-card .negative{color:#ff6874}.diary-main-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:10px;align-items:stretch}.diary-card{min-width:0;overflow:hidden;border:1px solid #27364c;border-radius:11px;background:linear-gradient(145deg,#111c2b,#0b1421);box-shadow:0 7px 18px #00000017}.diary-card>header{min-height:41px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 12px;border-bottom:1px solid #243248}.diary-card>header>div{display:flex;align-items:center;gap:8px;min-width:0}.diary-card>header svg{flex:none;color:#bd91ff}.diary-card>header h2{margin:0;color:#ecf1f8;font:700 12px Manrope,sans-serif;white-space:nowrap}.diary-card>header h2 small{color:#a4b1c2;font:500 10px DM Sans}.diary-card>header>span{color:#8495ab;font-size:9px;white-space:nowrap}.diary-card>header button{display:inline-flex;align-items:center;gap:4px;border:0;background:transparent;color:#bd91ff;font-size:9px;font-weight:700;cursor:pointer;white-space:nowrap}.diary-cumulative-card{grid-column:span 4}.diary-strategy-card{grid-column:span 3}.diary-calendar-card{grid-column:span 5}.diary-monthly-summary{grid-column:span 3}.diary-daily-card{grid-column:span 5}.diary-outcome-card{grid-column:span 4}.diary-recent-card{grid-column:span 6}.diary-notes-card,.diary-takeaways-card{grid-column:span 3}.diary-chart-frame{height:204px;padding:5px 6px 2px}.diary-chart-frame svg{width:100%;height:100%;overflow:visible}.diary-grid-line{stroke:#27354a;stroke-width:1;stroke-dasharray:2 3}.diary-axis-label{fill:#8b9ab0;font:9px DM Sans,sans-serif}.diary-cumulative-line{stroke:#18e877;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 4px rgba(24,232,119,.24))}.diary-cumulative-dot{fill:#20e879;stroke:#09261a;stroke-width:1.5}.diary-chart-empty{height:100%;display:grid;place-items:center;padding:18px;color:#8292a8;font-size:10px;text-align:center}.diary-strategy-table{padding:7px 9px 9px}.diary-strategy-row{display:grid;grid-template-columns:minmax(72px,1fr) 38px 48px minmax(70px,.9fr);gap:5px;align-items:center;min-height:31px;padding:5px 6px;border-bottom:1px solid #202e41;color:#bdc9d8;font-size:9px}.diary-strategy-row>span:not(:first-child),.diary-strategy-row>strong{text-align:right;white-space:nowrap}.diary-strategy-row>b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#e2eaf5;font-size:9px}.diary-strategy-row strong{font-size:9px}.diary-strategy-row .positive{color:#27df80}.diary-strategy-row .negative{color:#ff727c}.diary-strategy-row.diary-strategy-head{min-height:26px;color:#8394aa;font-size:8px}.diary-strategy-row.diary-strategy-head span:last-child{text-align:right}.diary-strategy-row.total{margin-top:3px;border:0;border-radius:7px;background:linear-gradient(90deg,#2d1e56,#251844);color:#fff}.diary-strategy-row.total b,.diary-strategy-row.total span{font-weight:750;color:#fff}.diary-inline-empty{padding:16px 10px;color:#8495ab;font-size:10px;text-align:center}.diary-calendar-layout{display:grid;grid-template-columns:minmax(0,1fr) 104px;gap:8px;padding:10px}.diary-calendar-weekdays,.diary-calendar-days{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.diary-calendar-weekdays{margin-bottom:5px}.diary-calendar-weekdays span{text-align:center;color:#aab6c5;font-size:8px;font-weight:700}.diary-calendar-days button,.diary-calendar-days .calendar-blank{height:26px;display:grid;place-items:center;border:1px solid transparent;border-radius:5px}.diary-calendar-days button{color:#062316;font-size:9px;font-weight:800;cursor:pointer}.diary-calendar-days button.profit{background:#0bd366}.diary-calendar-days button.loss{background:#fb4d56;color:#fff}.diary-calendar-days button.no-trade{background:#1a2635;border-color:#27364a;color:#8c9bb0}.diary-calendar-days button:hover{outline:2px solid #c4a0ff;outline-offset:1px}.diary-calendar-summary{display:grid;align-content:start;gap:7px;padding:8px;border:1px solid #2c3a50;border-radius:8px;background:#101a28}.diary-calendar-summary small{display:block;color:#8292a8;font-size:8px}.diary-calendar-summary b{display:block;margin-top:2px;color:#eaf0f8;font-size:12px}.diary-calendar-summary b.positive{color:#24df7e}.diary-calendar-summary b.negative{color:#ff6874}.diary-summary-lines{padding:7px 12px}.diary-summary-lines>div{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:32px;border-bottom:1px solid #222f42;font-size:9px}.diary-summary-lines>div:last-child{border:0}.diary-summary-lines span{color:#aab7c8}.diary-summary-lines b{color:#e2eaf5;text-align:right}.diary-summary-lines b.positive{color:#24df7e}.diary-summary-lines b.negative{color:#ff6874}.diary-daily-bars{height:193px;display:flex;align-items:stretch;gap:5px;overflow-x:auto;padding:10px 12px 6px}.diary-daily-bar-item{min-width:20px;flex:1;display:grid;grid-template-rows:minmax(0,1fr) 17px;gap:4px;justify-items:center}.diary-daily-bar-area{position:relative;width:100%;height:100%;display:flex;align-items:flex-end;justify-content:center;border-bottom:1px solid #3b4a5f;background:linear-gradient(to top,transparent 49.5%,rgba(141,158,180,.16) 50%,transparent 50.5%)}.diary-daily-bar{width:min(17px,80%);border-radius:3px 3px 0 0;min-height:3px}.diary-daily-bar.profit{background:#12dc71}.diary-daily-bar.loss{background:#ff5966}.diary-daily-bar-item small{color:#8798ae;font-size:8px}.diary-outcome-content{height:193px;display:flex;align-items:center;justify-content:center;gap:20px;padding:12px}.diary-donut{width:130px;height:130px;flex:none;display:grid;place-items:center;border-radius:50%;background:conic-gradient(#15e775 0deg var(--win-angle),#ff5864 var(--win-angle) 360deg);position:relative}.diary-donut:before{position:absolute;top:13px;right:13px;bottom:13px;left:13px;border-radius:50%;background:#101a29;content:""}.diary-donut>div{position:relative;display:flex;align-items:center;flex-direction:column;gap:1px}.diary-donut b{color:#f0f4fb;font:750 21px Manrope}.diary-donut span{color:#9aabc0;font-size:10px}.diary-outcome-legend{display:grid;gap:13px;min-width:102px}.diary-outcome-legend>div{display:grid;grid-template-columns:9px 1fr auto;align-items:center;gap:6px;color:#c1ccda;font-size:9px}.diary-outcome-legend i{width:8px;height:8px;border-radius:2px}.diary-outcome-legend i.win{background:#15e775}.diary-outcome-legend i.loss{background:#ff5864}.diary-outcome-legend b{color:#dfe8f4;font-size:9px}.diary-recent-table{overflow:auto;max-height:245px}.diary-recent-table table{width:100%;min-width:640px;border-collapse:collapse;white-space:nowrap}.diary-recent-table th{position:sticky;top:0;padding:8px;background:#111c2b;color:#8293aa;text-align:left;font:700 8px DM Mono,monospace;letter-spacing:.04em}.diary-recent-table td{padding:8px;border-top:1px solid #202e41;color:#bdc9d8;font-size:9px}.diary-recent-table td:nth-child(2){font-weight:650;color:#e3ebf6}.diary-recent-table td.positive{color:#27df80;font-weight:700}.diary-recent-table td.negative{color:#ff727c;font-weight:700}.diary-side-tag{display:inline-flex;padding:3px 6px;border-radius:5px;font-size:8px;font-weight:800}.diary-side-tag.buy{background:#12382a;color:#56e39a}.diary-side-tag.sell{background:#3a2228;color:#ff9098}.diary-notes-card textarea{display:block;width:calc(100% - 22px);height:124px;resize:vertical;margin:10px 11px 6px;padding:9px;border:1px solid #29394e;border-radius:7px;background:#0c1522;color:#dce5ef;font:10px/1.5 DM Sans;outline:none}.diary-notes-card textarea:focus{border-color:#8051dc;box-shadow:0 0 0 2px #8051dc24}.diary-notes-card>small{display:block;padding:0 12px 10px;color:#8192a8;font-size:8px}.diary-takeaways-card ul{display:grid;gap:10px;margin:12px;padding:0;list-style:none}.diary-takeaways-card li{display:flex;align-items:flex-start;gap:8px;color:#c6d1df;font-size:9px;line-height:1.4}.diary-takeaways-card li span{width:17px;height:17px;flex:none;display:grid;place-items:center;border-radius:5px;background:#5721c6;color:#fff;font-size:10px;font-weight:900}.diary-backtest-reference{border:1px solid #26364c;border-radius:10px;background:#0d1724;color:#c4cfde}.diary-backtest-reference>summary{padding:12px 14px;cursor:pointer;color:#c4b0ff;font-size:10px;font-weight:750}.diary-backtest-body{display:grid;gap:10px;padding:0 12px 12px;color:#93a3b8;font-size:9px}.diary-backtest-body p{margin:0;line-height:1.45}.diary-backtest-body b{color:#dce6f2}.diary-backtest-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.diary-backtest-stats span{padding:8px;border:1px solid #25344a;border-radius:7px;background:#101b2a}.diary-backtest-stats small,.diary-backtest-stats b{display:block}.diary-backtest-stats small{margin-bottom:4px;color:#8696aa}.diary-backtest-stats b{color:#e5edf7;font-size:11px}@media(max-width:1150px){.diary-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.diary-cumulative-card,.diary-strategy-card,.diary-calendar-card,.diary-monthly-summary,.diary-daily-card,.diary-outcome-card{grid-column:span 6}.diary-recent-card{grid-column:span 8}.diary-notes-card,.diary-takeaways-card{grid-column:span 4}}@media(max-width:760px){.diary-main-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.diary-cumulative-card,.diary-strategy-card,.diary-calendar-card,.diary-monthly-summary,.diary-daily-card,.diary-outcome-card,.diary-recent-card,.diary-notes-card,.diary-takeaways-card{grid-column:span 2}.diary-page-header{flex-direction:column}.diary-header-controls{width:100%;justify-content:flex-start}.diary-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.diary-view-tabs{max-width:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.diary-view-tabs button{min-width:0;padding:8px 5px}.diary-date-select input{width:92px}}@media(max-width:480px){.diary-kpi-grid{grid-template-columns:1fr 1fr;gap:7px}.diary-kpi-card{min-height:72px;padding:9px;gap:7px}.diary-kpi-icon{width:27px}.diary-kpi-card small{font-size:7px}.diary-kpi-card b,.diary-kpi-card.pnl b{font-size:15px}.diary-view-tabs button{gap:4px;font-size:9px}.diary-view-tabs button svg{width:13px}.diary-period-range{flex:1;min-width:0}.diary-period-range>span{min-width:0;flex:1;font-size:9px}.diary-refresh{padding:0 8px}.diary-calendar-layout{grid-template-columns:1fr}.diary-calendar-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.diary-calendar-summary b{font-size:10px}.diary-outcome-content{gap:10px}.diary-donut{width:108px;height:108px}.diary-donut:before{top:11px;right:11px;bottom:11px;left:11px}.diary-backtest-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}.diary-page-header h1{font-size:34px}.diary-page-header p{font-size:14px}.diary-period-range,.diary-date-select{height:42px;font-size:12px}.diary-date-select input{font-size:12px}.diary-refresh,.diary-export{height:42px;font-size:11px}.diary-view-tabs button{min-width:145px;padding:11px 16px;font-size:12px}.diary-kpi-card{min-height:94px;padding:14px 16px}.diary-kpi-icon{width:42px;height:42px}.diary-kpi-card small,.diary-kpi-card span{font-size:10px}.diary-kpi-card b{font-size:23px}.diary-kpi-card.pnl b{font-size:24px}.diary-card>header{min-height:47px;padding:10px 14px}.diary-card>header h2{font-size:14px}.diary-card>header h2 small{font-size:11px}.diary-card>header>span,.diary-card>header button{font-size:10px}.diary-chart-frame{height:220px}.diary-strategy-row{min-height:35px;font-size:10px}.diary-strategy-row>b,.diary-strategy-row strong{font-size:10px}.diary-calendar-layout{grid-template-columns:minmax(0,1fr) 116px;padding:12px}.diary-calendar-weekdays span{font-size:9px}.diary-calendar-days button,.diary-calendar-days .calendar-blank{height:29px}.diary-calendar-days button{font-size:10px}.diary-calendar-summary{gap:8px;padding:9px}.diary-calendar-summary small{font-size:9px}.diary-calendar-summary b{font-size:13px}.diary-summary-lines>div{min-height:35px;font-size:10px}.diary-daily-bars,.diary-outcome-content{height:210px}.diary-daily-bar-area{align-items:stretch;background:linear-gradient(to top,transparent 49.5%,rgba(141,158,180,.25) 50%,transparent 50.5%)}.diary-daily-bar{position:absolute;left:18%;right:18%}.diary-daily-bar.profit{bottom:50%;border-radius:3px 3px 0 0}.diary-daily-bar.loss{top:50%;border-radius:0 0 3px 3px}.diary-daily-bar-item small{font-size:9px}.diary-donut{width:138px;height:138px}.diary-recent-table th{font-size:9px}.diary-recent-table td{font-size:10px}.diary-notes-card textarea{font-size:11px}.diary-notes-card>small,.diary-backtest-body{font-size:9px}.diary-takeaways-card li,.report-disclaimer{font-size:10px}@media(max-width:760px){.diary-page-header h1{font-size:29px}.diary-kpi-card{min-height:82px}.diary-calendar-layout{grid-template-columns:minmax(0,1fr) 104px}}@media(max-width:480px){.diary-page-header h1{font-size:26px}.diary-view-tabs button{min-width:0;padding:8px 5px}.diary-kpi-card small,.diary-kpi-card span{font-size:8px}.diary-kpi-card b,.diary-kpi-card.pnl b{font-size:16px}.diary-export{height:38px}}.bt-results{--bt-bg:#0b1521;--bt-panel:#111e2b;--bt-border:#304559;--bt-text:#edf4fb;--bt-muted:#91a6bc;--bt-green:#16e2a4;--bt-red:#ff6973;display:grid;gap:18px;min-width:0;color:var(--bt-text)}.bt-results *{box-sizing:border-box}.bt-results h2,.bt-results h3,.bt-results p{margin:0}.bt-results button{font-family:inherit;cursor:pointer}.bt-results button:disabled{cursor:not-allowed;opacity:.45}.bt-results button:focus-visible,.bt-results summary:focus-visible{outline:2px solid var(--bt-green);outline-offset:4px}.bt-results .bt-positive{color:var(--bt-green)}.bt-results .bt-negative{color:var(--bt-red)}.bt-results-header{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:2px 0 3px}.bt-results-eyebrow{display:block;margin-bottom:8px;color:var(--bt-muted);font-size:10px;font-weight:700;letter-spacing:.15em}.bt-results-header h2{font:800 clamp(26px,2.1vw,34px) Manrope,sans-serif;line-height:1.2;letter-spacing:-.8px}.bt-results-methods{margin-top:9px!important;color:#ccdaea;font-size:13px;font-weight:600}.bt-results-metadata{display:flex;align-items:center;flex-wrap:wrap;gap:6px 0;margin-top:7px!important;color:var(--bt-muted);font-size:11px;line-height:1.5}.bt-results-metadata span+span:before{content:"·";padding:0 9px;color:#5b7187}.bt-results-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap;flex-shrink:0;padding-top:7px}.bt-range-chip,.bt-secondary-button,.bt-run-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:0 13px;border:1px solid var(--bt-border);border-radius:9px;background:#101b28;color:#e6eff8;font-size:11px;font-weight:700;white-space:nowrap}.bt-run-button{border-color:#12b986;background:linear-gradient(135deg,#074a39,#092b25);color:#afffe0;box-shadow:inset 0 0 15px #0adc8e0b}.bt-secondary-button{background:transparent;color:#c4d2e1}.bt-range-chip{color:#cfdaea;background:#0b1420;font-size:10px}.bt-result-card{min-width:0;border:1px solid var(--bt-border);border-radius:14px;background:radial-gradient(ellipse at top left,#23314536,transparent 65%),linear-gradient(130deg,#111d2a,#0c1722);box-shadow:0 7px 20px #00000012;overflow:hidden}.bt-section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 19px 12px}.bt-section-identity{display:flex;align-items:flex-start;gap:12px;min-width:0}.bt-section-identity>svg{flex:none;margin-top:1px;color:var(--bt-green)}.bt-section-heading h3{font:750 16px Manrope,sans-serif;line-height:1.25;color:var(--bt-text);letter-spacing:-.2px}.bt-section-heading p{margin-top:5px!important;color:var(--bt-muted);font-size:11px;line-height:1.45}.bt-section-heading>strong{font:800 19px Manrope,sans-serif;white-space:nowrap;letter-spacing:-.3px}.bt-provisional{display:flex;align-items:flex-start;gap:24px;padding:16px 19px;border:1px solid #dd9c2b;border-radius:12px;background:linear-gradient(110deg,#6b430b30,#382b1b55);color:#eddfc4}.bt-provisional-title{display:flex;align-items:center;gap:12px;flex:none;padding:4px 25px 4px 0;border-right:1px solid #9a703e70;color:#ffc660}.bt-provisional-title strong{font-size:14px;font-weight:800;letter-spacing:.025em;white-space:nowrap}.bt-provisional-copy{min-width:0;font-size:12px;line-height:1.55}.bt-provisional-copy>p+p{margin-top:2px!important}.bt-provisional details{margin-top:7px}.bt-provisional summary{width:max-content;color:#f1bb58;font-size:11px;font-weight:700;cursor:pointer}.bt-provisional ul{display:grid;gap:9px;margin:12px 0 1px;padding-left:17px;max-height:200px;overflow:auto}.bt-provisional li>b,.bt-provisional li>span{display:block}.bt-provisional li>span{color:#c5b79f;margin-top:2px;font-size:11px}.bt-outcome-grid{display:grid;grid-template-columns:minmax(0,1.7fr) repeat(3,minmax(0,1fr));gap:13px}.bt-outcome-grid>.bt-result-card{min-height:160px}.bt-outcome-hero{position:relative;display:flex;align-items:center;padding:23px 24px;border-color:#12bd8b;background:radial-gradient(ellipse at top right,#05e6a01b,transparent 68%),linear-gradient(125deg,#073d30,#06241e 76%);box-shadow:inset 0 1px #60fbc04a,0 0 22px #00cb8810}.bt-outcome-hero.is-negative{border-color:#c25a65;background:radial-gradient(ellipse at top right,#ff60701b,transparent 68%),linear-gradient(125deg,#3b1c28,#21121c 76%);box-shadow:inset 0 1px #ffbec34a}.bt-hero-copy{position:relative;z-index:1;min-width:0}.bt-metric-label{color:#c8d8e7;font-size:11px;font-weight:800;letter-spacing:.035em;line-height:1.4}.bt-hero-copy>strong{display:block;margin-top:11px;font:800 clamp(28px,2.7vw,42px) Manrope,sans-serif;line-height:1.15;letter-spacing:-1.2px;white-space:nowrap;font-variant-numeric:tabular-nums}.bt-hero-copy>p{margin-top:10px!important;color:#bed1d3;font-size:11px;line-height:1.5;max-width:280px}.bt-hero-art{position:absolute;inset:auto -13px 17px auto;display:flex;align-items:flex-end;gap:7px;width:145px;height:112px;opacity:.26;transform:rotate(-7deg);pointer-events:none}.bt-hero-art>span{width:20px;background:linear-gradient(#09ef9e,#04794e22);border-radius:4px 4px 0 0}.bt-hero-art>span:nth-child(1){height:24px}.bt-hero-art>span:nth-child(2){height:38px}.bt-hero-art>span:nth-child(3){height:56px}.bt-hero-art>span:nth-child(4){height:77px}.bt-hero-art>svg{position:absolute;right:18px;top:-2px;color:#3effbc}.bt-outcome-hero.is-negative .bt-hero-art{filter:hue-rotate(205deg);transform:scaleY(-1)}.bt-metric-card{display:flex;flex-direction:column;justify-content:center;padding:20px 18px;gap:12px}.bt-metric-top{display:flex;align-items:center;gap:9px}.bt-result-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;color:var(--bt-green)}.bt-result-icon.is-negative{color:var(--bt-red)}.bt-metric-card>strong{font:800 clamp(24px,2vw,32px) Manrope,sans-serif;letter-spacing:-.8px;line-height:1.2;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.bt-metric-card>p{color:var(--bt-muted);font-size:11px;line-height:1.45}.bt-profit-grid{display:grid;grid-template-columns:1fr 1.06fr;gap:15px}.bt-retention-card{padding-bottom:17px}.bt-retention-value{display:flex;align-items:center;gap:22px;margin:7px 21px 17px}.bt-retention-value>strong{font:800 clamp(33px,3.6vw,50px) Manrope,sans-serif;letter-spacing:-1.5px;line-height:1.1;font-variant-numeric:tabular-nums;white-space:nowrap}.bt-retention-value>p{padding-left:22px;border-left:1px solid var(--bt-border);color:#c6d5e4;font-size:12px;line-height:1.6}.bt-retention-track{height:19px;margin:0 21px;border:1px solid #3d5569;border-radius:999px;background:#1b2a39;overflow:hidden}.bt-retention-track>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#00d990,#2ae8ab);box-shadow:inset 0 1px #82ffd875}.bt-retention-track>span.is-negative{background:var(--bt-red)}.bt-formula-note{margin:9px 21px 0!important;color:var(--bt-muted);font-size:10px;line-height:1.45}.bt-contribution-card{padding-bottom:0}.bt-contribution-bars{display:grid;gap:15px;margin:11px 20px 20px}.bt-contribution-row{display:grid;grid-template-columns:85px minmax(30px,1fr) max-content 40px;align-items:center;gap:11px;font-size:12px}.bt-contribution-row>span{color:#d9e4f0;white-space:nowrap}.bt-contribution-row>strong{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:13px}.bt-contribution-row>small{color:var(--bt-muted);text-align:right;font-size:10px}.bt-contribution-track{height:15px;background:#26354199;border-radius:4px;overflow:hidden}.bt-contribution-track>i{display:block;height:100%;border-radius:4px;background:linear-gradient(90deg,#0ce1a0,#08bd88)}.bt-contribution-track>i.is-negative{background:linear-gradient(90deg,#ff6971,#e44754)}.bt-contribution-totals{display:grid;grid-template-columns:1fr 1fr 1fr;border-top:1px solid #2b4053;background:#08131a38;padding:15px 6px}.bt-contribution-totals>div{display:grid;gap:5px;padding:0 10px;text-align:center}.bt-contribution-totals>div+div{border-left:1px solid var(--bt-border)}.bt-contribution-totals span{color:var(--bt-muted);font-size:10px}.bt-contribution-totals b{font:750 15px Manrope,sans-serif;white-space:nowrap;letter-spacing:-.3px}.bt-equity-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr);gap:15px;align-items:stretch}.bt-equity-card .bt-section-heading{padding-bottom:8px}.bt-equity-plot{padding:5px 14px 10px}.bt-equity-plot svg{display:block;width:100%;height:auto;min-height:235px;overflow:visible}.bt-chart-grid{stroke:#314455;stroke-width:1;opacity:.7}.bt-chart-zero{stroke:#688094;stroke-width:1;stroke-dasharray:4 5;opacity:.6}.bt-chart-label{fill:#b2c3d5;font:11px DM Sans,sans-serif}.bt-chart-point{stroke:#0c2525;stroke-width:2}.bt-chart-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:255px;padding:25px;color:var(--bt-muted);text-align:center}.bt-chart-empty>svg{color:#4d6d80}.bt-chart-empty>b{font-size:13px;color:var(--bt-text)}.bt-chart-empty>span{font-size:11px;max-width:280px;line-height:1.5}.bt-statistics-list{margin:1px 18px 17px;display:grid;gap:0}.bt-statistics-list>div{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:30px;padding:5px;border-bottom:1px solid #283c4b}.bt-statistics-list>div:nth-child(odd){background:#a2bfc908;border-radius:4px}.bt-statistics-list>div:last-child{border-bottom:0}.bt-statistics-list dt{color:#b9cbdc;font-size:11px}.bt-statistics-list dd{margin:0;color:var(--bt-text);font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}.bt-strategy-card .bt-section-heading{padding-bottom:16px}.bt-strategy-table-wrap{margin:0 17px 17px;overflow:auto;border:1px solid #2c4254;border-radius:9px}.bt-results .bt-strategy-table-wrap table{min-width:870px;width:100%;border-collapse:collapse}.bt-results .bt-strategy-table-wrap th{background:#152432;border-bottom:1px solid #31495c;color:#9fb2c8;padding:12px 13px;font:700 9px DM Sans,sans-serif;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}.bt-results .bt-strategy-table-wrap td{padding:13px;border-bottom:1px solid #263d4c;color:#d8e5f1;font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}.bt-results .bt-strategy-table-wrap td:first-child{white-space:normal;min-width:240px;font-weight:600}.bt-results .bt-strategy-table-wrap tr:last-child td{border-bottom:0}.bt-results .bt-strategy-table-wrap td.bt-positive{color:var(--bt-green)}.bt-results .bt-strategy-table-wrap td.bt-negative{color:var(--bt-red)}.bt-partial-tag{display:inline-block;margin:5px 0 0 7px;border:1px solid #986d25;border-radius:5px;padding:2px 5px;color:#ffcd69;font-size:9px;font-weight:700;vertical-align:middle;white-space:nowrap}.bt-results .bt-table-empty{text-align:center;padding:24px!important;color:var(--bt-muted)!important}.bt-open-note{display:flex;align-items:flex-start;gap:8px;color:#a7bfd1;font-size:11px;line-height:1.5}.bt-open-note>svg{flex:none;color:#86bfb5}.bt-results>.backtest-notice{margin:0}.bt-results .backtest-trade-results{border-color:var(--bt-border);border-radius:13px;background:var(--bt-bg)}.bt-results .backtest-trade-heading{padding:13px 16px}.bt-results .backtest-trade-heading>div:first-child b{font-size:15px}.bt-results .backtest-trade-heading>div:first-child span{font-size:11px}.bt-results .backtest-trade-results .paper-table-scroll th{font-size:9px;padding:12px}.bt-results .backtest-trade-results .paper-table-scroll td{font-size:11px;padding:12px}.bt-results .backtest-trade-filters button{font-size:11px;padding:7px 10px}.bt-results .backtest-trade-actions .btn.secondary{font-size:11px;padding:9px 12px}@media(min-width:1600px){.bt-outcome-hero{padding:26px}.bt-outcome-grid>.bt-result-card{min-height:175px}.bt-hero-copy>strong{font-size:45px}.bt-metric-card>strong{font-size:34px}}@media(max-width:1200px){.bt-results-header{flex-direction:column;gap:11px}.bt-results-actions{align-self:stretch;justify-content:flex-start;padding:0}.bt-outcome-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bt-outcome-grid>.bt-result-card{min-height:140px}.bt-hero-copy>strong{font-size:36px}.bt-metric-card>strong{font-size:31px}.bt-profit-grid{grid-template-columns:1fr 1fr}.bt-contribution-row{grid-template-columns:75px minmax(25px,1fr) max-content;gap:8px}.bt-contribution-row>small{display:none}.bt-retention-value{gap:15px;margin-left:18px;margin-right:18px}.bt-retention-value>p{padding-left:15px;font-size:11px}.bt-retention-value>strong{font-size:38px}.bt-equity-grid{grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr)}.bt-section-heading{padding-left:16px;padding-right:16px}.bt-section-heading h3{font-size:15px}.bt-provisional{gap:15px}.bt-provisional-title{padding-right:15px}.bt-provisional-title strong{font-size:12px}}@media(max-width:950px){.bt-profit-grid,.bt-equity-grid{grid-template-columns:1fr}.bt-provisional{flex-direction:column;gap:10px}.bt-provisional-title{padding:0;border-right:0}.bt-provisional-title strong{font-size:13px}.bt-provisional-copy{font-size:11px}.bt-contribution-row{grid-template-columns:85px minmax(30px,1fr) max-content 45px}.bt-contribution-row>small{display:block}.bt-statistics-list{grid-template-columns:1fr 1fr;column-gap:24px}.bt-equity-plot svg{min-height:210px}.bt-retention-value>strong{font-size:44px}.bt-retention-value>p{font-size:12px}.bt-section-heading>strong{font-size:18px}}@media(max-width:600px){.bt-results{gap:12px}.bt-results-header h2{font-size:27px}.bt-results-methods{font-size:12px}.bt-results-metadata{font-size:10px}.bt-results-metadata span+span:before{padding:0 6px}.bt-results-actions{gap:7px}.bt-range-chip,.bt-secondary-button,.bt-run-button{min-height:35px;font-size:10px;padding:0 10px}.bt-outcome-grid{gap:10px}.bt-outcome-grid>.bt-result-card{min-height:130px}.bt-outcome-hero{grid-column:1/-1;padding:21px}.bt-hero-copy>strong{font-size:39px}.bt-metric-card{padding:16px 13px;gap:10px}.bt-metric-top{align-items:flex-start;gap:7px}.bt-metric-label{font-size:9px}.bt-result-icon svg{width:20px;height:20px}.bt-metric-card>strong{font-size:25px}.bt-metric-card>p{font-size:10px}.bt-outcome-grid>.bt-metric-card:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;gap:7px 12px;align-items:center}.bt-outcome-grid>.bt-metric-card:last-child>p{grid-column:1/-1}.bt-retention-value{margin:6px 16px 16px;gap:15px}.bt-retention-value>strong{font-size:38px}.bt-retention-value>p{font-size:10px;padding-left:15px}.bt-retention-track{margin:0 16px;height:16px}.bt-formula-note{margin-left:16px!important;margin-right:16px!important}.bt-section-heading{padding:15px 14px 11px;gap:8px}.bt-section-identity{gap:9px}.bt-section-heading h3{font-size:14px}.bt-section-heading p{font-size:10px}.bt-section-heading>strong{font-size:15px}.bt-contribution-bars{margin:9px 15px 17px;gap:13px}.bt-contribution-row{grid-template-columns:75px minmax(20px,1fr) max-content;gap:8px;font-size:11px}.bt-contribution-row>small{display:none}.bt-contribution-row>strong{font-size:12px}.bt-contribution-totals{padding:13px 3px}.bt-contribution-totals>div{padding:0 5px}.bt-contribution-totals span{font-size:9px}.bt-contribution-totals b{font-size:13px}.bt-equity-plot{padding:5px 7px 8px}.bt-equity-plot svg{min-height:170px}.bt-chart-label{font-size:12px}.bt-statistics-list{grid-template-columns:1fr;margin:0 14px 15px}.bt-statistics-list>div{min-height:32px}.bt-strategy-table-wrap{margin:0 12px 12px}.bt-results .backtest-trade-heading{gap:12px}.bt-results .backtest-trade-actions{gap:8px}.bt-results .backtest-trade-filters button{font-size:10px;padding:6px 8px}.bt-results .backtest-trade-actions .btn.secondary{font-size:10px}}[data-theme=light] .bt-results{--bt-bg:#f6faff;--bt-panel:#fff;--bt-border:#c1d2df;--bt-text:#182d40;--bt-muted:#58748a;--bt-green:#00815e;--bt-red:#cc3748}.bt-results[data-theme=light]{color:var(--bt-text)}[data-theme=light] .bt-result-card{background:linear-gradient(135deg,#fff,#f0f6fb);box-shadow:0 7px 20px #18345108}[data-theme=light] .bt-outcome-hero{background:linear-gradient(125deg,#ddfff1,#f0fff9);border-color:#39b38b}[data-theme=light] .bt-outcome-hero.is-negative{background:linear-gradient(125deg,#ffebef,#fff7f8);border-color:#dc7c89}[data-theme=light] .bt-metric-label,[data-theme=light] .bt-hero-copy>p,[data-theme=light] .bt-results-methods,[data-theme=light] .bt-retention-value>p,[data-theme=light] .bt-contribution-row>span{color:#34556c}[data-theme=light] .bt-range-chip,[data-theme=light] .bt-secondary-button{background:#f0f6fb;color:#34556c}[data-theme=light] .bt-run-button{background:#e2fff1;color:#006e50;border-color:#31ab82}[data-theme=light] .bt-provisional{background:#fff4db;color:#694b15}[data-theme=light] .bt-provisional-title,[data-theme=light] .bt-provisional summary{color:#986007}[data-theme=light] .bt-provisional li>span{color:#785f38}[data-theme=light] .bt-retention-track{background:#dce9ec;border-color:#a4c1c6}[data-theme=light] .bt-contribution-track{background:#e1eaf0}[data-theme=light] .bt-contribution-totals{background:#eaf3f770}[data-theme=light] .bt-statistics-list dt,[data-theme=light] .bt-strategy-table-wrap td{color:#34556c}[data-theme=light] .bt-statistics-list>div,[data-theme=light] .bt-strategy-table-wrap td{border-color:#d8e5ee}[data-theme=light] .bt-strategy-table-wrap th{background:#e9f2f8;color:#5c788e;border-color:#c4d8e7}[data-theme=light] .bt-chart-label{fill:#557186}[data-theme=light] .bt-chart-grid{stroke:#bfd0de}[data-theme=light] .bt-open-note{color:#52758a}.bt-results{gap:12px}.bt-results-header{gap:14px}.bt-results-header h2{font-size:27px}.bt-results-eyebrow{font-size:9px;margin-bottom:5px}.bt-results-methods{margin-top:5px!important;font-size:12px}.bt-results-metadata{margin-top:4px!important;font-size:10px}.bt-provisional{padding:10px 14px;gap:16px}.bt-provisional-copy{font-size:11px}.bt-provisional-title strong{font-size:12px}.bt-provisional-title{padding-right:16px}.bt-provisional details{margin-top:4px}.bt-outcome-grid{gap:10px}.bt-outcome-grid>.bt-result-card{min-height:112px}.bt-outcome-hero{padding:16px 18px}.bt-hero-copy>strong{font-size:32px;margin-top:6px}.bt-hero-copy>p{margin-top:6px!important;font-size:10px}.bt-hero-art{height:80px;transform:scale(.75);transform-origin:bottom right}.bt-metric-card{padding:14px;gap:8px}.bt-metric-card>strong{font-size:25px}.bt-metric-label{font-size:10px}.bt-metric-card>p{font-size:10px}.bt-result-icon>svg{width:20px;height:20px}.bt-section-heading{padding:12px 15px 9px}.bt-section-heading h3{font-size:14px}.bt-section-heading p{font-size:10px;margin-top:3px!important}.bt-retention-value{margin:5px 16px 12px;gap:16px}.bt-retention-value>strong{font-size:35px}.bt-retention-value>p{font-size:11px;padding-left:16px}.bt-retention-track{height:12px;margin:0 16px}.bt-formula-note{margin:7px 16px 11px!important;font-size:9px}.bt-contribution-bars{margin:8px 15px 13px;gap:10px}.bt-contribution-totals{padding:10px 4px}.bt-contribution-totals b{font-size:13px}.bt-equity-plot svg{max-height:235px;min-height:160px}.bt-statistics-list>div{min-height:25px;padding:3px 5px}@media(max-width:600px){.bt-results-header h2{font-size:24px}.bt-outcome-grid>.bt-result-card{min-height:105px}.bt-hero-copy>strong{font-size:31px}.bt-metric-card>strong{font-size:23px}.bt-provisional{flex-direction:column;gap:8px}.bt-provisional-title{border:0;padding:0}.bt-equity-plot svg{min-height:145px}.bt-retention-value>strong{font-size:32px}}.bt-outcome-grid{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}.bt-profit-grid{grid-template-columns:minmax(0,1fr)}.bt-contribution-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.bt-strategy-card>.bt-formula-note{margin-bottom:13px!important}@media(max-width:600px){.bt-outcome-grid{grid-template-columns:1fr}.bt-outcome-hero{grid-column:auto}}.bt-outcome-grid.bt-summary-row{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr) minmax(0,.85fr);gap:10px}.bt-summary-row>.bt-result-card{min-height:112px}.bt-summary-row .bt-outcome-hero,.bt-summary-row .bt-metric-card{padding:14px 16px}.bt-summary-row .bt-hero-copy>strong{font-size:29px;margin-top:6px}.bt-summary-row .bt-hero-copy>p{margin-top:5px!important;font-size:10px}.bt-summary-row .bt-hero-art{opacity:.13;width:100px;right:-16px}.bt-summary-row .bt-metric-card>strong{font-size:27px}.bt-summary-row .bt-section-heading{padding:12px 14px 7px}.bt-summary-row .bt-section-heading h3{font-size:13px}.bt-summary-row .bt-section-heading p{font-size:10px}.bt-summary-row .bt-section-identity{gap:8px}.bt-summary-row .bt-section-identity>svg{width:20px;height:20px}.bt-summary-row .bt-contribution-bars{margin:6px 14px 13px;gap:9px}.bt-summary-row .bt-contribution-row{grid-template-columns:68px minmax(25px,1fr) max-content;gap:8px;font-size:10px}.bt-summary-row .bt-contribution-row>strong{font-size:12px}.bt-summary-row .bt-contribution-row>small{display:none}.bt-summary-row .bt-contribution-track{height:9px}@media(max-width:900px){.bt-outcome-grid.bt-summary-row{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) minmax(0,.9fr)}.bt-summary-row .bt-hero-copy>strong{font-size:23px}.bt-summary-row .bt-metric-card>strong{font-size:23px}.bt-summary-row .bt-hero-art{display:none}}@media(max-width:650px){.bt-outcome-grid.bt-summary-row{grid-template-columns:1fr}.bt-summary-row>.bt-result-card{min-height:100px}.bt-summary-row .bt-outcome-hero{grid-column:auto}.bt-summary-row>.bt-metric-card:last-child{display:flex;grid-column:auto}.bt-summary-row .bt-hero-copy>strong{font-size:28px}}.bt-results .backtest-trade-results{border-radius:10px}.bt-results .backtest-trade-heading{min-height:38px;padding:7px 10px;gap:8px}.bt-results .backtest-trade-heading>div:first-child b{font-size:13px}.bt-results .backtest-trade-heading>div:first-child span{font-size:10px}.bt-results .backtest-trade-actions{gap:7px}.bt-results .backtest-trade-filters{padding:2px;gap:2px}.bt-results .backtest-trade-filters button{padding:5px 8px;font-size:10px}.bt-results .backtest-trade-actions .btn.secondary{padding:6px 8px;min-height:28px;font-size:10px}.bt-results .backtest-trade-results .paper-table-scroll table{min-width:1080px}.bt-results .backtest-trade-results .paper-table-scroll th{padding:7px 8px;font-size:8px;line-height:1.2}.bt-results .backtest-trade-results .paper-table-scroll td{padding:6px 8px;font-size:11px;line-height:1.3}.bt-results .backtest-direction{min-width:38px;padding:3px 5px;font-size:8px;border-radius:4px}.bt-results .bt-strategy-table-wrap table{min-width:790px}.bt-results .bt-strategy-table-wrap th{padding:8px 10px;font-size:8px}.bt-results .bt-strategy-table-wrap td{padding:8px 10px;font-size:11px}.bt-results .bt-strategy-table-wrap td:first-child{min-width:210px}.bt-results .bt-strategy-card .bt-section-heading{padding-bottom:10px}.bt-results .bt-strategy-table-wrap{margin:0 13px 10px}.bt-results .bt-strategy-card>.bt-formula-note{font-size:9px;margin-bottom:9px!important}.bt-results .backtest-trade-heading{min-height:38px;padding:8px 12px;flex-wrap:wrap}.bt-results .backtest-trade-heading>div:first-child b{font-size:15px;line-height:1.2}.bt-results .backtest-trade-results .paper-table-scroll table{min-width:1120px;font-variant-numeric:tabular-nums}.bt-results .backtest-trade-results .paper-table-scroll th{padding:7px;font-size:9px}.bt-results .backtest-trade-results .paper-table-scroll td{padding:5px 7px;font-size:11px;line-height:1.25}.bt-results .backtest-trade-results .backtest-qty b{display:block;font-weight:600}.bt-results .backtest-trade-results .backtest-qty small{display:block;font-size:9px;color:var(--bt-muted,#8294aa);margin-top:1px}.bt-results .backtest-trade-results .backtest-direction{min-width:22px;padding:3px 5px;text-align:center;font-size:10px}.bt-results .bt-method-filter{display:inline-flex;align-items:center;gap:8px;cursor:pointer;vertical-align:middle}.bt-results .bt-method-filter input{width:14px;height:14px;margin:0;accent-color:#13c892;cursor:pointer;flex:none}.bt-results .bt-method-excluded td{opacity:.5}.bt-results .bt-method-excluded td:first-child{opacity:1}.bt-results .bt-method-excluded .bt-method-filter span{color:var(--bt-muted,#8294aa)}.backtest-workspace{display:grid;gap:18px}.backtest-config,.backtest-error{background:var(--panel,#101820);border:1px solid var(--line,#26313b);border-radius:12px;padding:18px}.backtest-card-heading,.backtest-results-heading,.backtest-run-row{display:flex;align-items:center;justify-content:space-between;gap:16px}.backtest-card-heading>div,.backtest-results-heading>div{display:grid;gap:5px}.backtest-card-heading b{font-size:15px}.backtest-card-heading span,.backtest-results-heading p,.backtest-run-row p{font-size:11px;color:var(--muted,#8b98a7);margin:0}.paper-pill{font-size:10px!important;color:#29b987!important;border:1px solid #29b98766;border-radius:999px;padding:5px 9px;white-space:nowrap}.backtest-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:20px 0}.backtest-fields label{display:grid;gap:6px;color:#aab7c5;font-size:11px}.backtest-fields select,.backtest-fields input{height:38px;padding:0 10px;color:#e8edf3;background:#0b1118;border:1px solid var(--line,#26313b);border-radius:7px;font:inherit}.backtest-method{font-size:10px;color:#c5d1dd;background:#ffffff08;border:1px solid var(--line,#26313b);border-radius:6px;padding:6px 8px}.backtest-run-row{margin-top:14px}.backtest-run-row p{max-width:560px}.backtest-notice,.backtest-error{font-size:12px;color:#f1b45c;margin-top:12px}.backtest-error{color:#ff8b7a;border-color:#ef654f55}.backtest-results-heading h2{margin:0;font-size:20px}.backtest-results-heading p{margin-top:5px}.backtest-kpis{grid-template-columns:repeat(5,minmax(0,1fr))}.backtest-kpis article{min-width:0}.backtest-kpis strong{font-size:21px}.backtest-kpis .positive,.report-table .positive{color:#29b987}.backtest-kpis .negative,.report-table .negative{color:#ef654f}.backtest-workspace .paper-table-scroll{overflow:auto}.backtest-workspace table{min-width:740px}.backtest-workspace .report-table{margin:0}.backtest-workspace .report-disclaimer{font-size:11px;color:var(--muted,#8b98a7)}.spin{animation:backtest-spin 1s linear infinite}@keyframes backtest-spin{to{transform:rotate(360deg)}}@media(max-width:900px){.backtest-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.backtest-fields{grid-template-columns:1fr 1fr}.backtest-card-heading,.backtest-results-heading,.backtest-run-row{align-items:flex-start;flex-direction:column}.backtest-kpis{grid-template-columns:1fr 1fr}}.backtest-trade-limits{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 14px;border-top:1px solid var(--border,#263448)}.backtest-trade-limits>b{font-size:12px;color:var(--muted,#91a0b5);margin-right:4px}.backtest-trade-limits label{display:flex;align-items:center;gap:7px;font-size:12px;color:#b8c5d5}.backtest-trade-limits input{width:54px;border:1px solid #33445b;border-radius:6px;background:#0b1421;color:#eff6ff;padding:6px 7px}.backtest-method-selection{padding:12px 0;border-top:1px solid var(--line,#26313b);border-bottom:1px solid var(--line,#26313b)}.backtest-method-selection-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;color:#aab7c5;font-size:11px}.backtest-method-selection-heading>div{display:flex;gap:10px}.backtest-method-selection-heading button{border:0;background:none;color:#72b7f4;font:inherit;cursor:pointer;padding:2px}.backtest-method-list{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.backtest-method-list .backtest-method{display:flex;align-items:center;gap:7px;cursor:pointer}.backtest-method input{accent-color:#49d5a0;margin:0}.backtest-method.selected{border-color:#49d5a066;background:#49d5a012}.backtest-method-warning{display:block;margin-top:8px;color:#ff9b86;font-size:11px}.backtest-method-help{margin:9px 0 0;color:var(--muted,#8b98a7);font-size:11px}.cumulative-pnl-card .paper-table-head{min-height:42px;height:auto;gap:12px;padding-top:9px;padding-bottom:9px}.cumulative-pnl-card .paper-table-head span{margin-left:auto;color:var(--muted,#8b98a7);font-size:10px}.cumulative-pnl-card .paper-table-head strong{font-size:13px;white-space:nowrap}.cumulative-pnl-chart-wrap{padding:8px 12px 10px}.cumulative-pnl-chart{display:block;width:100%;height:auto;min-height:170px;overflow:visible}.cumulative-pnl-axis-label{fill:var(--muted,#8b98a7);font-size:11px}.cumulative-pnl-grid{stroke:var(--line,#26313b);stroke-width:1;opacity:.65}.cumulative-pnl-zero{stroke:var(--muted,#8b98a7);stroke-width:1.3;stroke-dasharray:4 4;opacity:.8}.cumulative-pnl-line{fill:none;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}.cumulative-pnl-line.positive-line{stroke:#29b987}.cumulative-pnl-line.negative-line{stroke:#ef654f}.cumulative-pnl-area.positive-area{fill:#29b987;fill-opacity:.12}.cumulative-pnl-area.negative-area{fill:#ef654f;fill-opacity:.12}.cumulative-pnl-point{stroke:var(--panel,#101820);stroke-width:2}.cumulative-pnl-point.positive-point{fill:#29b987}.cumulative-pnl-point.negative-point{fill:#ef654f}.cumulative-pnl-empty{padding:30px 16px;color:var(--muted,#8b98a7);font-size:12px}.backtest-rejections{display:grid;gap:6px}.backtest-rejections ul{display:grid;gap:4px;max-height:180px;overflow:auto;margin:0;padding-left:18px}.backtest-rejections li{line-height:1.45}.backtest-config{padding:20px;border-radius:14px}.backtest-card-heading{min-height:30px;margin-bottom:4px}.backtest-card-heading>b{font-size:15px}.backtest-fields{margin:16px 0 18px;gap:14px}.backtest-method-selection{padding:14px 0;border-top:1px solid var(--line,#26313b);border-bottom:1px solid var(--line,#26313b)}.backtest-method-selection-heading{margin-bottom:12px}.backtest-method-selection-heading>div:first-child{display:flex;align-items:center;gap:10px}.backtest-method-selection-heading>div:first-child b{color:#e4edf8;font-size:12px}.backtest-method-selection-heading>div:first-child span{padding:4px 8px;border:1px solid #2a4058;border-radius:20px;color:#93a7bd;font-size:9px}.backtest-method-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.backtest-method-card{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;padding:10px 12px;border:1px solid var(--line,#26313b);border-radius:9px;background:#0b1421}.backtest-method-card.selected{border-color:#28795c;background:#1f77581f}.backtest-method-choice{display:flex;align-items:center;gap:9px;min-width:0;color:#d4deeb;font-size:11px;font-weight:700;cursor:pointer}.backtest-method-choice input{width:15px;height:15px;flex:0 0 auto;accent-color:#39c996;margin:0}.backtest-method-limit{display:flex;align-items:center;gap:6px;color:#8798ad;font-size:9px;white-space:nowrap}.backtest-method-limit input{width:43px;height:29px;padding:0 6px;border:1px solid #33445b;border-radius:6px;background:#0b1421;color:#eff6ff;font-size:10px}.backtest-run-row{justify-content:flex-end;margin-top:16px}.backtest-quality-warning{display:grid;gap:10px;padding:13px 15px;border:1px solid #d99b3d66;border-radius:10px;background:#d99b3d12}.backtest-quality-summary{display:grid;gap:4px}.backtest-quality-summary b{color:#e7c27e;font-size:13px}.backtest-quality-summary span{color:var(--muted,#8b98a7);font-size:11px;line-height:1.45}.backtest-quality-warning details{border-top:1px solid #d99b3d35;padding-top:8px}.backtest-quality-warning summary{color:#dcb15f;font-size:11px;font-weight:700;cursor:pointer}.backtest-quality-warning ul{display:grid;gap:7px;max-height:170px;overflow:auto;margin:9px 0 0;padding-left:17px}.backtest-quality-warning li{padding-left:2px;line-height:1.4}.backtest-quality-warning li strong{color:#e7c27e;font-weight:700}.backtest-quality-warning li span{margin-left:7px;color:var(--muted,#8b98a7)}.backtest-data-partial{display:inline-block;margin-left:7px;padding:2px 5px;border:1px solid #d99b3d55;border-radius:999px;color:#dcb15f;font-size:8px;font-weight:700;vertical-align:middle}.backtest-fields.backtest-fields-compact{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0 18px;padding:15px;border:1px solid var(--line,#26313b);border-radius:11px;background:#ffffff04}.backtest-fields label{gap:7px;color:#aab7c5;font-size:10px;font-weight:700;letter-spacing:.02em}.backtest-fields select,.backtest-fields input{height:42px;padding:0 12px;border:1px solid #2b3a4d;border-radius:8px;background:#0c1420;color:#e8edf3;font-size:12px;font-weight:600;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.backtest-fields select{cursor:pointer}.backtest-fields select:focus-visible,.backtest-fields input:focus-visible{outline:none;border-color:#5aa9e6;box-shadow:0 0 0 3px #5aa9e626;background:#101b2a}@media(max-width:1000px){.backtest-fields.backtest-fields-compact{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.backtest-fields.backtest-fields-compact{grid-template-columns:1fr;padding:11px}}@media(max-width:900px){.backtest-method-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.backtest-method-grid{grid-template-columns:1fr}.backtest-method-card{padding:9px 10px}}.backtest-workspace{gap:15px}.backtest-workspace .workspace-page-heading h1{font-size:29px}.backtest-config{padding:16px 18px;border-radius:13px;background:linear-gradient(135deg,#101a2a,#0c1420 70%);border-color:#26384f;box-shadow:0 10px 28px #00000021}.backtest-card-heading{margin-bottom:0}.backtest-card-heading>div{gap:3px}.backtest-card-heading>div>b{font:750 15px Manrope;color:#eaf1fb}.backtest-card-heading>div>span{color:#8597af;font-size:10px}.backtest-fields.backtest-fields-compact{grid-template-columns:repeat(4,minmax(0,1fr));margin:12px 0 13px;padding:0;border:0;background:none;gap:11px}.backtest-date-hint{margin:-5px 0 11px;color:#8193aa;font-size:10px}.backtest-fields.backtest-fields-compact label{gap:5px;color:#95a5bb;font-size:10px;letter-spacing:0}.backtest-fields.backtest-fields-compact select,.backtest-fields.backtest-fields-compact input{height:39px;background:#111d2d;border-color:#344760;border-radius:8px;font-size:11px}.backtest-method-selection{padding:11px 0 0;border-top:1px solid #233249;border-bottom:0}.backtest-method-selection-heading{margin-bottom:8px}.backtest-method-selection-heading>div:first-child b{font-size:11px;text-transform:uppercase;letter-spacing:.06em}.backtest-method-selection-heading>div:first-child span{padding:3px 7px}.backtest-method-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.backtest-method-card{padding:8px 10px;border-radius:8px;background:#101a28}.backtest-method-choice{font-size:10px}.backtest-method-limit{font-size:9px}.backtest-method-limit input{height:27px}.backtest-run-row{margin-top:12px;padding-top:11px;border-top:1px solid #233249}.backtest-run-row>span{color:#8597af;font-size:10px}.backtest-workspace .backtest-run-row .btn.primary{min-height:39px;padding:0 16px;border:1px solid #3475f6;border-radius:8px;background:linear-gradient(135deg,#1974ff,#1557d8);color:#fff;font-size:11px;font-weight:750;box-shadow:0 5px 14px #0d5bdc33}.backtest-workspace .backtest-run-row .btn.primary:disabled{opacity:.55;box-shadow:none}.backtest-results-heading{align-items:center;margin:2px 0 0}.backtest-results-heading h2{font:750 21px Manrope;color:#edf3fb;letter-spacing:-.4px}.backtest-results-heading p{font-size:10px;line-height:1.45;color:#8d9db2}.backtest-range-chip{padding:7px 10px;border:1px solid #344860;border-radius:8px;background:#111d2c;color:#bdd0e5;font-size:10px;font-weight:700;white-space:nowrap}.backtest-kpis{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.backtest-kpis article{display:flex;flex-direction:column;justify-content:center;gap:5px;min-height:88px;padding:12px 14px;border:1px solid #29384d;border-radius:10px;background:linear-gradient(145deg,#111c2b,#0e1724);box-shadow:0 6px 18px #0000001a}.backtest-kpis small{margin:0;color:#8799af;font-size:9px;letter-spacing:.07em;font-weight:750}.backtest-kpis strong{font:750 20px Manrope;color:#e9f0f9;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.backtest-kpis strong.positive{color:#25d89b}.backtest-kpis strong.negative{color:#ff716d}.backtest-kpis article>span{color:#8091a8;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.backtest-analytics-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,.9fr);gap:10px;align-items:stretch}.backtest-analytics-card{min-width:0;overflow:hidden;border:1px solid #29394e;border-radius:11px;background:linear-gradient(150deg,#111c2b,#0c1521);box-shadow:0 7px 20px #0000001f}.backtest-analytics-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px;padding:9px 12px;border-bottom:1px solid #223148}.backtest-analytics-heading>div{display:grid;gap:3px;min-width:0}.backtest-analytics-heading b{color:#e5edf8;font:750 12px Manrope}.backtest-analytics-heading span{color:#8193aa;font-size:9px}.backtest-analytics-heading>strong{color:#27d49a;font-size:11px;white-space:nowrap}.backtest-analytics-heading>strong.negative{color:#ff716d}.backtest-analytics-card .cumulative-pnl-chart-wrap{padding:7px 8px 9px}.backtest-analytics-card .cumulative-pnl-chart{min-height:150px}.backtest-analytics-card .cumulative-pnl-axis-label{font-size:10px}.backtest-risk-card{padding-bottom:12px}.backtest-risk-list{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:center;gap:11px;padding:11px 12px}.backtest-win-ring{--win-rate:0%;width:92px;height:92px;display:grid;place-content:center;justify-items:center;border-radius:50%;background:radial-gradient(circle at center,#111c2b 59%,transparent 61%),conic-gradient(#12d6a0 var(--win-rate),#29374a 0);color:#eff6ff}.backtest-win-ring b{font:750 15px Manrope}.backtest-win-ring span{margin-top:2px;color:#91a2b8;font-size:8px}.backtest-risk-stats{display:grid;gap:0;min-width:0}.backtest-risk-stats>div{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:6px 0;border-bottom:1px solid #202e40;font-size:9px}.backtest-risk-stats>div:last-child{border-bottom:0}.backtest-risk-stats span{color:#8b9bb0}.backtest-risk-stats b{color:#e2ebf5;font-size:9px;text-align:right;white-space:nowrap}.backtest-risk-stats b.positive{color:#33d59e}.backtest-risk-stats b.negative{color:#ff7779}.backtest-method-results,.backtest-trade-results{padding:0;border-color:#29394e;border-radius:11px;background:#0e1724}.backtest-method-results .paper-table-head{height:43px;padding:0 13px}.backtest-method-results .paper-table-head b{font-size:12px}.backtest-method-results .paper-table-head span{font-size:9px}.backtest-workspace .paper-table-scroll table{min-width:760px;font-size:10px}.backtest-workspace .paper-table-scroll th{padding:9px 10px;background:#111e2e;color:#7e92ab;font-size:8px;letter-spacing:.07em}.backtest-workspace .paper-table-scroll td{padding:9px 10px;border-color:#1d2b3d;color:#becbdd}.backtest-workspace .paper-table-scroll td.positive{color:#37d69f}.backtest-workspace .paper-table-scroll td.negative{color:#ff7779}.backtest-trade-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:8px 12px;border-bottom:1px solid #223148}.backtest-trade-heading>div:first-child{display:grid;gap:3px;flex:none}.backtest-trade-heading>div:first-child b{color:#e8eff8;font:750 13px Manrope}.backtest-trade-heading>div:first-child span{color:#8294aa;font-size:9px}.backtest-trade-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.backtest-trade-filters{display:flex;align-items:center;gap:4px;padding:3px;border:1px solid #2b3b52;border-radius:8px;background:#0a1320}.backtest-trade-filters button{padding:6px 9px;border:1px solid transparent;border-radius:6px;background:transparent;color:#9cadc2;font:650 9px DM Sans;white-space:nowrap;cursor:pointer}.backtest-trade-filters button.active{border-color:#245de0;background:#1556d6;color:#fff}.backtest-trade-actions .btn.secondary{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid #344863;border-radius:7px;background:#172438;color:#d6e3f2;font-size:9px}.backtest-direction{display:inline-flex;justify-content:center;min-width:47px;padding:4px 7px;border-radius:6px;font-size:8px;font-weight:800;letter-spacing:.04em}.backtest-direction.long{background:#123d34;color:#63dfb2}.backtest-direction.short{background:#44242c;color:#ff9b9d}.backtest-trade-results .paper-table-scroll table{min-width:1180px}.backtest-trade-results .paper-table-scroll td:nth-child(5){padding-top:6px;padding-bottom:6px}.backtest-workspace .backtest-notice{padding:10px 12px;border:1px solid #725a2e;border-radius:8px;background:#291f12;color:#e9c47b;font-size:10px;line-height:1.5}.backtest-workspace .backtest-error{padding:12px 14px;background:#24151a}.backtest-workspace .backtest-disclaimer{margin:0}@media(max-width:1200px){.backtest-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.backtest-analytics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.backtest-risk-list{grid-template-columns:110px minmax(0,1fr)}.backtest-risk-stats{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:15px}}@media(max-width:800px){.backtest-fields.backtest-fields-compact{grid-template-columns:repeat(2,minmax(0,1fr))}.backtest-analytics-grid{grid-template-columns:1fr}.backtest-risk-card{grid-column:auto}.backtest-risk-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.backtest-workspace .workspace-page-heading{align-items:flex-start}.backtest-workspace .workspace-page-heading h1{font-size:24px}.backtest-results-heading{align-items:flex-start}.backtest-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.backtest-kpis article{min-height:78px;padding:10px}.backtest-kpis strong{font-size:17px}.backtest-method-grid{grid-template-columns:1fr}.backtest-run-row{align-items:stretch;flex-direction:column}.backtest-run-row .btn{justify-content:center}.backtest-trade-heading{align-items:flex-start;flex-direction:column}.backtest-trade-actions{width:100%;justify-content:space-between}}.backtest-trade-results .backtest-time-price{white-space:nowrap;font-variant-numeric:tabular-nums}.backtest-method-card{align-items:flex-start;flex-direction:column}.backtest-method-sizing-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;flex-wrap:wrap}.backtest-method-sizing-controls input[aria-invalid=true]{border-color:#ef654f}.backtest-fields-compact{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:600px){.backtest-fields-compact{grid-template-columns:1fr}}.backtest-capital-input{display:grid;gap:6px;width:100%;color:#a7b8c9;font-size:10px;font-weight:650}.backtest-capital-input input{box-sizing:border-box;width:100%;height:34px;min-width:0;padding:0 9px;border:1px solid #33445b;border-radius:6px;background:#0b1421;color:#eff6ff;font-size:12px}.backtest-capital-input input:focus-visible{outline:2px solid #18ca94;outline-offset:2px}.backtest-workspace .backtest-roi-cell{min-width:110px;white-space:nowrap;font-variant-numeric:tabular-nums}.backtest-roi-cell small{display:block;margin-top:4px;color:#8fa5ba;font-size:10px;font-weight:400}.backtest-trade-results .paper-table-scroll table{min-width:1350px}.member-access-editor{padding:16px 0;border-top:1px solid var(--border,#263b50)}.member-access-editor fieldset{border:1px solid var(--border,#263b50);border-radius:10px;margin:12px 0;padding:12px}.member-access-editor h3{font-size:15px;overflow-wrap:anywhere}.member-access-editor .account-feature-options{display:flex;flex-wrap:wrap;gap:12px 20px}.member-access-editor label{display:flex;align-items:center;gap:7px;font-size:13px}.broker-summary{margin:0 0 20px;padding:20px;border:1px solid #24354d;border-radius:14px;background:linear-gradient(145deg,#111e30,#0d1725)}.broker-account-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.broker-account-heading>div{display:flex;flex-direction:column;gap:5px;min-width:0}.broker-account-heading h2{font-size:18px;margin:0;color:#edf3fa}.broker-account-heading b{font-size:15px;color:#d8e4f2}.broker-account-heading span{color:#8da0b9;font-size:12px;line-height:1.5}.broker-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.broker-metric{padding:18px 20px;border:1px solid #2a3e58;border-radius:11px;background:#111f31;display:flex;flex-direction:column;gap:10px;min-width:0}.broker-metric>small{font-size:11px;letter-spacing:.08em;font-weight:700;color:#96a9c1}.broker-metric>strong{font-size:31px;letter-spacing:-.7px;color:#e9f1fb;font-variant-numeric:tabular-nums}.broker-metric>span{font-size:12px;color:#91a4bd}.broker-metric em{color:#f0b976;font-size:12px;font-style:normal;line-height:1.5}.broker-pnl-breakdown{display:flex;flex-wrap:wrap;gap:12px 25px;color:#8da0b9;font-size:12px}.broker-pnl-breakdown span{display:flex;gap:8px}.broker-pnl-breakdown b{color:#d8e4f2;font-variant-numeric:tabular-nums}.broker-summary-status{display:flex;flex-direction:column;gap:5px;font-size:11px;color:#8498b3;margin-top:14px;line-height:1.5}.broker-data-error{color:#efb575!important;font-size:12px;line-height:1.5}.broker-data-stale{border-color:#8a613b!important}.broker-positive{color:#25d5a2!important}.broker-negative{color:#ff6e7b!important}.broker-account-panel{margin-bottom:26px}.broker-data-section{margin:18px 0;padding:20px;border:1px solid #24354d;border-radius:13px;background:#101b2b}.broker-account-note{font-size:12px;color:#8da0b9;line-height:1.6;margin:0 0 15px}.broker-table-scroll{overflow-x:auto;border:1px solid #26394f;border-radius:9px}.broker-account-table{border-collapse:collapse;width:100%;min-width:1050px;text-align:left;font-size:12px;color:#bdcde0}.broker-account-table th{padding:12px;background:#142337;color:#90a5be;font-size:10px;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}.broker-account-table td{padding:12px;border-top:1px solid #26394f;white-space:nowrap;font-variant-numeric:tabular-nums}.broker-account-table td b{color:#dbe7f5}.broker-account-table td small{display:block;font-size:10px;color:#8399b4;margin-top:4px}.broker-table-empty{text-align:center!important;height:80px;color:#8498b3}.broker-order-id{font-family:DM Mono,monospace;font-size:11px}.broker-fill-side{font-weight:700;font-size:10px;padding:5px 8px;border-radius:5px;background:#26354b}.broker-fill-side.buy{background:#153d34;color:#53dfb6}.broker-fill-side.sell{background:#42262e;color:#ff8793}.broker-history-controls{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin:0 0 14px}.broker-history-controls label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#9db0c8}.broker-history-controls input{border:1px solid #344b69;background:#101c2d;color:#d7e5f6;border-radius:7px;padding:9px 12px;min-height:36px;box-sizing:border-box;color-scheme:dark}.broker-load-more{display:flex;justify-content:center;margin-top:15px}[data-theme=light] .broker-summary,[data-theme=light] .broker-data-section{background:#fff;border-color:#d3dce7}[data-theme=light] .broker-metric{background:#f7f9fc;border-color:#d6dfeb}[data-theme=light] .broker-metric>strong,[data-theme=light] .broker-account-heading h2,[data-theme=light] .broker-account-heading b,[data-theme=light] .broker-pnl-breakdown b,[data-theme=light] .broker-account-table td b{color:#233952}[data-theme=light] .broker-account-table{color:#435973}[data-theme=light] .broker-account-table th{background:#eef3f9;color:#536d8b}[data-theme=light] .broker-account-table td,[data-theme=light] .broker-table-scroll{border-color:#d4dfeb}[data-theme=light] .broker-history-controls input{background:#fff;border-color:#bacbdf;color:#233952;color-scheme:light}[data-theme=light] .broker-positive{color:#087a5c!important}[data-theme=light] .broker-negative{color:#c62f45!important}@media(max-width:850px){.broker-summary,.broker-metric{padding:16px}.broker-metric>strong{font-size:25px}.broker-data-section{padding:16px}.broker-summary-grid{gap:12px}}@media(max-width:600px){.broker-summary-grid{grid-template-columns:1fr}.broker-account-heading{align-items:flex-start}.broker-metric>strong{font-size:28px}.broker-history-controls label{flex:1;min-width:125px}.broker-history-controls .btn{flex:1}.broker-data-section{padding:12px}.broker-account-heading h2{font-size:16px}}:root{font-family:DM Sans,sans-serif;color:#e7edf8;background:#080d18;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;background:#080d18}.app-shell{min-height:100vh;display:flex}.sidebar{width:236px;position:fixed;inset:0 auto 0 0;background:#0b1220;border-right:1px solid #1b2638;padding:25px 17px;display:flex;flex-direction:column;z-index:3}.brand{display:flex;align-items:center;gap:11px;padding:0 9px 39px}.brand-mark{width:37px;height:37px;border-radius:11px;background:linear-gradient(140deg,#b8f36c,#71c83e);color:#0a1a0d;display:grid;place-items:center}.brand-name{font:800 15px Manrope;letter-spacing:2.6px;color:#f4f7fb}.brand-sub{font:600 9px Manrope;letter-spacing:4px;color:#9aacbd;margin-top:2px}.workspace-label,.eyebrow{font:600 10px DM Mono,monospace;letter-spacing:1.5px;color:#75869e}.workspace-label{padding:0 11px 12px}.nav-item{height:42px;padding:0 12px;display:flex;align-items:center;gap:12px;border-radius:8px;font-size:13px;color:#9caac0;margin-bottom:5px}.nav-item.muted{opacity:.65}.soon{margin-left:auto;font:10px DM Mono;color:#8fbf64}.sidebar-bottom{margin-top:auto}.side-status{display:flex;align-items:center;gap:10px;padding:14px 10px;border:1px solid #243044;border-radius:9px}.side-status b,.side-status small{display:block}.side-status b{font-size:11px}.side-status small{font-size:10px;color:#8291a7;margin-top:3px}.sidebar-foot{display:flex;gap:7px;align-items:center;padding:16px 10px 0;color:#66758a;font-size:10px}.dot{width:7px;height:7px;border-radius:50%;background:#d18a45;display:inline-block;flex:none}.dot.green{background:#8cdb58}.dot.red{background:#e46a6a}.main-area{margin-left:236px;width:calc(100% - 236px)}.topbar{height:68px;border-bottom:1px solid #1b2638;display:flex;align-items:center;justify-content:space-between;padding:0 38px;background:#0b1220}.crumb{font-size:12px;color:#77869b}.crumb span{padding:0 9px;color:#3d4a5e}.crumb b{color:#d8e0ed;font-weight:500}.top-actions{display:flex;align-items:center;gap:14px}.connection-pill{display:flex;align-items:center;gap:8px;border:1px solid #3c3440;color:#d7ad80;border-radius:20px;padding:7px 11px;font:10px DM Mono;letter-spacing:.3px}.connection-pill.ok{border-color:#31543a;color:#a7dc81}.connection-pill.ok .dot{background:#8cdb58}.icon-btn,.delete-btn{background:transparent;border:0;color:#8090a7;cursor:pointer}.icon-btn{padding:7px}.avatar{width:29px;height:29px;border-radius:50%;background:#25364a;color:#c5e99f;display:grid;place-items:center;font:600 10px Manrope}.content{max-width:1500px;margin:0 auto;padding:35px 38px 22px}.welcome-row{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:25px}.welcome-row h1{font:700 28px Manrope;letter-spacing:-.8px;margin:8px 0 5px}.subheading,.panel-header p{color:#8998ad;font-size:12px;margin:0}.market-clock{display:flex;align-items:center;gap:8px;color:#8090a7;font-size:10px;font-family:DM Mono;padding-bottom:4px}.market-clock b{color:#dce5f1;font-weight:500;margin-left:6px}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-bottom:17px}.stat-card{background:#101a2a;border:1px solid #202e42;border-radius:10px;padding:17px 18px;min-height:111px}.stat-head{display:flex;justify-content:space-between;align-items:center;color:#8797ad;font:10px DM Mono;letter-spacing:.6px}.stat-head svg{color:#91a2b7}.stat-value{font:600 20px Manrope;margin:13px 0 4px;color:#f0f4fa}.stat-foot{font-size:10px;color:#718198}.connection-card,.market-panel{background:#101a2a;border:1px solid #202e42;border-radius:11px}.connection-card{display:flex;justify-content:space-between;align-items:center;padding:19px 21px;margin-bottom:18px}.connection-copy{display:flex;align-items:center;gap:15px}.section-icon{width:42px;height:42px;border-radius:10px;background:#1a2a37;color:#b5e77d;display:grid;place-items:center}.connection-copy h2,.panel-header h2{font:650 16px Manrope;margin:5px 0}.connection-copy p{font-size:11px;color:#8594a9;margin:0;max-width:650px}.connection-actions,.panel-actions{display:flex;align-items:center;gap:8px}.btn{height:35px;padding:0 13px;border-radius:7px;font:600 11px DM Sans;display:inline-flex;align-items:center;gap:7px;cursor:pointer;white-space:nowrap}.btn:disabled{opacity:.5;cursor:not-allowed}.btn.primary{background:#b7ed77;color:#15210e;border:1px solid #b7ed77}.btn.secondary{background:#172538;color:#cbd5e2;border:1px solid #2b3a50}.btn.danger-outline{background:transparent;color:#df9a8e;border:1px solid #69413f}.market-panel{overflow:hidden}.panel-header{padding:20px 21px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #202e42}.panel-header h2{font-size:17px}.panel-header p{font-size:11px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:760px}th{text-align:left;font:10px DM Mono;letter-spacing:.7px;color:#718199;padding:13px 16px;border-bottom:1px solid #202e42}td{font-size:11px;color:#cbd5e2;padding:14px 16px;border-bottom:1px solid #1b293b}tbody tr:last-child td{border-bottom:0}.right{text-align:right}.instrument-name{color:#e4ebf4;font-weight:600}.segment-tag{font:9px DM Mono;padding:4px 6px;border-radius:4px;background:#1b2b3b;color:#9bb5c8}.mono{font:11px DM Mono;color:#93a2b6}.price{font:600 12px DM Mono;color:#d9f0bd}.muted-text{color:#7f8da2}.delete-btn:hover{color:#f08c82}.empty-state{height:175px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;color:#8c9ab0}.empty-icon{width:36px;height:36px;border:1px solid #2b3b50;border-radius:9px;display:grid;place-items:center;color:#9bb1c7;margin-bottom:3px}.empty-state b{font-size:12px;color:#dce4ef}.empty-state span{font-size:10px}.text-btn{display:flex;align-items:center;gap:4px;color:#b8e982;background:none;border:0;font:600 10px DM Sans;cursor:pointer;margin-top:4px}.add-form{display:flex;gap:10px;align-items:flex-end;padding:14px 18px;background:#0d1726;border-bottom:1px solid #202e42}.add-form label{display:flex;flex-direction:column;gap:6px;color:#8c9bb0;font:10px DM Mono;flex:1}.add-form input,.add-form select{height:34px;background:#111f31;border:1px solid #2a3a50;border-radius:6px;color:#e4ebf4;padding:0 9px;font:11px DM Sans;outline:none}.feed-footer{display:flex;align-items:center;justify-content:space-between;padding:12px 17px;border-top:1px solid #202e42;background:#0e1725}.feed-status,.feed-mode{display:flex;align-items:center;gap:8px;color:#7d8ca1;font-size:10px}.feed-status b{color:#aab8c9;font-weight:500}.feed-mode{font-family:DM Mono;font-size:9px}.pulse{box-shadow:0 0 0 4px #8cdb5820}.notice{display:flex;align-items:flex-start;gap:11px;padding:14px 16px;border:1px solid #29394a;background:#0e1725;border-radius:8px;margin-top:15px;color:#a2b3c7}.notice svg{color:#a7d875;flex:none}.notice b,.notice span{display:block}.notice b{font-size:11px;color:#dce5ef;margin-bottom:4px}.notice span{font-size:10px;color:#8494a9;line-height:1.5}footer{padding:25px 0 4px;color:#65758a;font:9px DM Mono;letter-spacing:1.2px}footer span{padding:0 5px;color:#3b4b5f}.version{float:right;letter-spacing:0}@media(max-width:900px){.sidebar{width:65px;padding:20px 9px}.brand{padding:0 4px 35px}.brand>div:last-child,.workspace-label,.nav-item:not(.active),.nav-item.active{font-size:0}.nav-item{justify-content:center;padding:0}.nav-item.active{font-size:0}.side-status{justify-content:center;padding:10px 0}.side-status>div,.sidebar-foot{display:none}.main-area{margin-left:65px;width:calc(100% - 65px)}.content{padding:26px 20px}.topbar{padding:0 20px}.connection-card{align-items:flex-start;gap:15px;flex-direction:column}.stats-grid{gap:8px}.stat-card{padding:14px}.panel-header{align-items:flex-start;gap:14px;flex-direction:column}}@media(max-width:600px){.stats-grid{grid-template-columns:1fr}.welcome-row{align-items:flex-start;gap:14px;flex-direction:column}.market-clock{padding:0}.connection-pill{font-size:0}.connection-pill .dot{margin-right:0}.top-actions{gap:6px}.content{padding:22px 13px}.topbar{padding:0 13px}.panel-actions{width:100%;flex-wrap:wrap}.add-form{flex-direction:column;align-items:stretch}.feed-footer{align-items:flex-start;gap:9px;flex-direction:column}.connection-actions{flex-wrap:wrap}}.sidebar-nav{display:flex;flex-direction:column;gap:5px}.nav-item{width:100%;height:43px;padding:0 12px;display:flex;align-items:center;gap:12px;border-radius:8px;font:500 13px DM Sans,sans-serif;color:#9caac0;margin:0;background:transparent;border:1px solid transparent;text-align:left;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease}.nav-item:hover{background:#121e2d;color:#dce6f2}.nav-item.active{background:#18283a;color:#d9f7b0;border:1px solid #2b4635}.nav-item svg{flex:none}.page-placeholder{min-height:420px;padding:12px 0}.page-placeholder h1{font:700 28px Manrope;letter-spacing:-.8px;margin:9px 0 7px}.page-placeholder>p{font-size:12px;color:#8998ad;margin:0}.placeholder-note{display:flex;align-items:center;gap:10px;max-width:720px;margin-top:26px;padding:15px 16px;border:1px solid #29394a;background:#0e1725;border-radius:8px;color:#a2b3c7;font-size:11px;line-height:1.5}.placeholder-note svg{color:#a7d875;flex:none}@media(max-width:900px){.nav-item{justify-content:center;padding:0}.nav-item span{display:none}.nav-item svg{margin:0}}.sidebar-bottom{margin-top:auto;padding-top:14px;border-top:1px solid #1b2638}.sidebar-section-label{font:600 9px DM Mono,monospace;letter-spacing:1.1px;color:#687991;margin:0 0 10px 2px}.sidebar-metrics{display:flex;flex-direction:column;gap:8px;padding:0 2px 13px}.sidebar-metric{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0}.sidebar-metric span{font-size:9px;color:#718097;white-space:nowrap}.sidebar-metric b{font:500 8px DM Mono,monospace;letter-spacing:.15px;text-align:right;white-space:nowrap}.metric-good{color:#8cdb58}.metric-bad{color:#e47777}.metric-warn{color:#d7a354}.metric-muted{color:#a4b0c0}.sidebar-account{display:flex;align-items:center;gap:8px;padding:11px 1px 2px;border-top:1px solid #1b2638}.account-avatar{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#26364a;color:#c8e9a5;font:600 9px Manrope;flex:none}.account-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:2px}.account-copy b{font-size:10px;color:#dce5ef}.account-copy small{font-size:9px;color:#718097}.sidebar-account button{border:0;background:transparent;color:#718097;padding:5px;cursor:pointer}.sidebar-account button:hover{color:#e47777}.sidebar-foot{padding:11px 1px 0}@media(max-height:650px){.sidebar{overflow-y:auto}.sidebar-bottom{margin-top:20px}}.charts-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:22px}.charts-heading h1{font:700 27px Manrope;letter-spacing:-.7px;margin:8px 0 5px}.strategy-select-label{display:flex;flex-direction:column;gap:7px;color:#8292a8;font:10px DM Mono;letter-spacing:.6px;min-width:210px}.strategy-select-label select{height:37px;background:#111f31;border:1px solid #2a3a50;border-radius:7px;color:#e4ebf4;padding:0 10px;font:11px DM Sans}.charts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.chart-panel{background:#101a2a;border:1px solid #202e42;border-radius:10px;overflow:hidden;min-width:0}.chart-panel>header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:14px;border-bottom:1px solid #202e42}.chart-title{display:block;color:#e7edf6;font:650 13px Manrope}.chart-panel header small{display:block;color:#75869d;font:9px DM Mono;margin-top:5px}.chart-price{font:600 13px DM Mono;color:#b9eb8b;white-space:nowrap}.chart-canvas{height:300px;position:relative;background:repeating-linear-gradient(to bottom,transparent 0,transparent 49px,#202e42 50px),repeating-linear-gradient(to right,transparent 0,transparent 59px,#1b293b 60px);padding:8px}.chart-canvas svg{width:100%;height:100%;overflow:visible}.chart-empty{height:100%;display:grid;place-items:center;text-align:center;color:#7889a0;font-size:11px;padding:20px}.chart-controls{height:43px;display:flex;align-items:center;gap:5px;padding:0 10px;border-top:1px solid #202e42}.chart-controls button{border:0;background:transparent;color:#8191a7;padding:5px 7px;border-radius:4px;font:10px DM Mono;cursor:pointer}.chart-controls button.selected{background:#263a2a;color:#c5f19b}.chart-live{margin-left:auto;color:#91a2b7;font:9px DM Mono;display:flex;align-items:center;gap:5px}.chart-live i{width:6px;height:6px;border-radius:50%;background:#8cdb58}.popout{font-size:16px!important}.chart-footnote{margin-top:13px;color:#72839a;font-size:10px;line-height:1.5}@media(max-width:1100px){.charts-grid{grid-template-columns:1fr}.chart-canvas{height:260px}}@media(max-width:650px){.charts-heading{align-items:stretch;flex-direction:column}.strategy-select-label{min-width:0}}.candle-chart-canvas{height:330px;padding:8px 5px 4px;background:#0d1725}.candle-chart-canvas svg{width:100%;height:100%;display:block;overflow:visible}.chart-grid-line{stroke:#263448;stroke-width:1;stroke-dasharray:3 4;vector-effect:non-scaling-stroke}.chart-axis-line{stroke:#526176;stroke-width:1;vector-effect:non-scaling-stroke}.chart-axis-label{fill:#91a0b4;font:10px DM Mono,monospace}.candle-wick{stroke:currentColor;stroke-width:1.15;vector-effect:non-scaling-stroke}.candle-body{fill:currentColor;stroke:currentColor;stroke-width:.7;vector-effect:non-scaling-stroke}.candle-up{color:#31c48d}.candle-down{color:#e5676f}@media(max-width:1100px){.candle-chart-canvas{height:310px}}.chart-history-status{font:8px DM Mono,monospace;color:#91a2b7;white-space:nowrap;padding:4px 6px;border:1px solid #29394a;border-radius:4px}.chart-history-status.loaded{color:#a9df82;border-color:#38563a}.chart-history-status.loading{color:#d6b36f;border-color:#594a2c}.chart-history-status.error{color:#ef9292;border-color:#684044}.chart-history-status.empty,.chart-history-status.idle{color:#91a2b7}.chart-history-message{padding:7px 11px;border-top:1px solid #263448;color:#e7a0a0;font:9px DM Mono,monospace;line-height:1.5;overflow-wrap:anywhere}.chart-toolbar-selects{display:flex;gap:12px;align-items:flex-end}.option-discovery-strip{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 13px;margin:-8px 0 14px;background:#101d2d;border:1px solid #263a50;border-radius:8px;color:#91a4bb;font:10px DM Mono,monospace}.option-discovery-strip b{color:#dce8f6;font-weight:600}.option-state-dot{width:7px;height:7px;border-radius:50%;background:#718096}.option-state-dot.loaded{background:#8cdb58;box-shadow:0 0 8px #8cdb5880}.option-state-dot.loading{background:#e7b65b;animation:qc-pulse 1s infinite}.option-state-dot.error{background:#ef6464}@keyframes qc-pulse{50%{opacity:.35}}.chart-panel{box-shadow:0 8px 24px #0002;transition:border-color .15s,transform .15s}.chart-panel:hover{border-color:#45617f;transform:translateY(-1px)}.chart-canvas{cursor:crosshair}.chart-axis-label{-webkit-user-select:none;user-select:none}.chart-controls button:hover{background:#26384e;color:#e7edf6}.chart-history-message{padding:7px 12px;color:#e5b66c;font-size:10px;border-top:1px solid #26364a}@media(max-width:1100px){.chart-toolbar-selects{width:100%;flex-wrap:wrap}.charts-heading{align-items:flex-start}}@media(max-width:650px){.chart-toolbar-selects{flex-direction:column;align-items:stretch}.option-discovery-strip{align-items:flex-start;flex-direction:column;gap:6px}}.chart-zoom-tools{display:flex;align-items:center;gap:2px;margin-left:5px;padding-left:7px;border-left:1px solid #2a3b50}.chart-zoom-tools button{min-width:24px;font-size:12px!important}:root{color-scheme:dark}.sidebar{width:184px;padding:18px 10px;background:#080f1c;border-right-color:#1b293b}.brand{padding:0 8px 26px;gap:9px}.brand-mark{width:35px;height:35px;border-radius:50%;background:linear-gradient(145deg,#8da8ff,#5c42d8);color:#fff}.brand-name{letter-spacing:1.8px}.brand-sub{letter-spacing:2.8px}.main-area{margin-left:184px;width:calc(100% - 184px)}.topbar.qc-topbar{height:54px;padding:0 18px;justify-content:flex-start;gap:20px;background:#080e19;border-bottom:1px solid #1e2b3d;position:sticky;top:0;z-index:5}.topbar-brand{display:flex;align-items:center;gap:9px;min-width:155px;border-right:1px solid #1c2a3b;height:100%;padding-right:18px;color:#eef3fc;font:700 12px Manrope;letter-spacing:1px}.topbar-brand small{display:block;color:#8291a7;font:600 8px Manrope;letter-spacing:2.5px}.qc-logo{width:29px;height:29px;border:4px solid #718cff;border-right-color:transparent;border-radius:50%;display:grid;place-items:center;color:#9fb2ff;font:700 0 Manrope}.ticker-strip{display:flex;align-items:center;gap:0;flex:1;min-width:0;overflow:hidden}.ticker-live{font:600 9px DM Mono;color:#91a1b7;white-space:nowrap;padding-right:15px}.ticker-live b{color:#8be29d;background:#173426;padding:4px 7px;border-radius:5px;margin-left:5px}.ticker-item{display:flex;align-items:center;gap:10px;padding:0 17px;border-left:1px solid #1b293a;white-space:nowrap}.ticker-item b{font-size:10px;color:#d7e0ed}.ticker-item strong{font:600 11px DM Mono;color:#e6edf8}.ticker-item small{font:8px DM Mono;color:#79d899}.qc-topbar .top-actions{gap:10px;flex:none}.qc-clock{font:10px DM Mono;color:#9aa8bb;white-space:nowrap}.qc-topbar .connection-pill{padding:5px 8px;font-size:8px}.qc-topbar .avatar{width:27px;height:27px}.content{max-width:none;padding:16px 14px 20px}.content:has(.qc-terminal){padding:15px 14px 20px}.qc-terminal{width:100%;min-width:0}.qc-page-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 12px}.qc-page-head h1{font:750 23px Manrope;letter-spacing:-.5px;margin:3px 0 2px;color:#f1f5fb}.qc-page-head p{font-size:10px;color:#8494aa;margin:0}.layout-switch{display:flex;align-items:center;padding:3px;border:1px solid #26364c;background:#111c2b;border-radius:8px}.layout-switch button{border:0;background:transparent;color:#a4b1c3;padding:7px 14px;border-radius:6px;font-size:10px;cursor:pointer}.layout-switch button.active{background:#5c43d8;color:#fff}.qc-controlbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:9px 11px;margin-bottom:12px;background:#0d1726;border:1px solid #24354b;border-radius:9px}.qc-controlbar label{display:flex;align-items:center;gap:7px;color:#8999af;font:9px DM Mono;text-transform:uppercase}.qc-controlbar select{height:31px;min-width:105px;background:#142236;border:1px solid #30435b;border-radius:6px;color:#e5edf8;padding:0 9px;font:10px DM Sans}.qc-controlbar label:nth-child(2) select{min-width:120px}.qc-controlbar label:nth-child(3) select{min-width:85px}.qc-controlbar .qc-strategy-control{margin-left:auto}.qc-controlbar .qc-strategy-control select{min-width:150px}.auto-atm{display:flex;align-items:center;gap:6px;color:#b5a1ff;font-size:10px;white-space:nowrap}.auto-atm i,.qc-feed-pill i{width:7px;height:7px;background:#8cdb58;border-radius:50%;box-shadow:0 0 7px #8cdb5870}.qc-feed-pill{display:flex;align-items:center;gap:6px;color:#9aa8bb;font:9px DM Mono;white-space:nowrap}.qc-feed-pill.online{color:#8ce0a0}.qc-action{height:30px;border:1px solid #5543bd;background:#4532ad;color:#fff;border-radius:6px;padding:0 11px;font-size:10px;cursor:pointer}.qc-action:disabled{opacity:.5;cursor:not-allowed}.qc-action.subtle{background:#142236;border-color:#30435b;color:#aab8c9;padding:0 9px}.qc-chart-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:stretch}.qc-chart-grid.single{grid-template-columns:minmax(0,1fr)}.qc-chart-slot{min-width:0;border:1px solid #29394d;border-radius:10px;background:#0d1725;overflow:hidden;box-shadow:0 7px 20px #0003}.qc-panel-meta{height:52px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 11px;border-bottom:1px solid #26364b;background:#101c2c}.qc-panel-meta b{display:block;color:#e8eff9;font:700 11px Manrope;letter-spacing:.4px}.qc-panel-meta small{display:block;margin-top:4px;color:#8393a9;font:9px DM Mono;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:240px}.qc-panel-price{font:700 14px DM Mono;color:#c2ef8d;white-space:nowrap}.qc-chart-slot .chart-panel{border:0;border-radius:0;box-shadow:none;transform:none;background:transparent}.qc-chart-slot .chart-panel:hover{border-color:transparent;transform:none}.qc-chart-slot .chart-panel>header{display:none}.qc-chart-slot .candle-chart-canvas{height:310px;padding:8px 6px 5px;background:#080e18}.qc-chart-slot .chart-controls{height:36px;background:#101c2c;border-top:1px solid #26364b;padding:0 8px}.qc-chart-slot .chart-controls button{font-size:9px}.qc-chart-slot .chart-history-status{font-size:7px}.qc-chart-slot .chart-history-message,.qc-chart-slot .chart-axis-label{font-size:9px}.qc-chart-slot .chart-empty{min-height:310px}.qc-chart-slot .chart-live{margin-left:auto}.qc-bottom-head{display:flex;align-items:center;justify-content:space-between;margin-top:12px;border:1px solid #26364b;border-bottom:0;border-radius:9px 9px 0 0;background:#101b2a;padding:0 10px}.qc-tabs{display:flex;align-items:center;gap:2px;overflow-x:auto}.qc-tabs button{height:37px;padding:0 12px;border:0;border-bottom:2px solid transparent;background:transparent;color:#9aa9bc;font-size:10px;white-space:nowrap;cursor:pointer}.qc-tabs button.active{color:#eeeaff;border-bottom-color:#7860ed;background:#1b203b}.qc-collapse{border:0;background:transparent;color:#8797ad;font-size:9px;cursor:pointer}.qc-bottom-grid{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:10px}.qc-table-panel,.qc-snapshot{background:#0e1827;border:1px solid #26364b;border-radius:0 0 9px 9px;min-width:0;overflow:auto}.qc-table-panel table{min-width:690px;width:100%;border-collapse:collapse}.qc-table-panel th{padding:9px 10px;font-size:8px;white-space:nowrap}.qc-table-panel td{padding:10px;font-size:9px;white-space:nowrap}.qc-table-panel td b{color:#e1e9f5}.qc-status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#8a98aa;margin-right:5px}.qc-status-dot.stopped{background:#9aa8bb}.qc-empty-row{text-align:center;color:#8797ac;padding:22px!important;font-size:10px!important;white-space:normal!important}.qc-snapshot{padding:10px 12px;border-radius:0 0 9px 9px}.qc-snapshot>b{display:block;color:#e7edf7;font:650 11px Manrope;margin-bottom:8px}.qc-snapshot>div{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 0;border-top:1px solid #1d2b3e;font-size:9px;color:#8e9eb2}.qc-snapshot strong{color:#e1eaf6;font:600 10px DM Mono;white-space:nowrap}.qc-disclaimer{padding:9px 2px 0;color:#6e7e94;font-size:9px;line-height:1.5}@media(max-width:1200px){.qc-chart-grid{grid-template-columns:1fr}.qc-chart-slot .candle-chart-canvas{height:360px}.qc-bottom-grid{grid-template-columns:1fr}.qc-snapshot{border-radius:0 0 9px 9px}.qc-controlbar .qc-strategy-control{margin-left:0}}@media(max-width:760px){.sidebar{width:58px;padding:14px 6px}.brand{justify-content:center;padding:0 0 20px}.brand>div:last-child,.workspace-label,.nav-item span,.sidebar-bottom .sidebar-section-label,.sidebar-metrics,.sidebar-account,.sidebar-foot{display:none}.nav-item{justify-content:center;padding:0}.main-area{margin-left:58px;width:calc(100% - 58px)}.topbar.qc-topbar{padding:0 8px;gap:8px}.topbar-brand{min-width:35px;padding-right:7px}.topbar-brand>b,.ticker-item small,.qc-clock{display:none}.ticker-item{padding:0 7px;gap:5px}.ticker-item b{font-size:8px}.ticker-item strong{font-size:9px}.ticker-live{padding-right:5px;font-size:7px}.qc-topbar .connection-pill{display:none}.content{padding:10px 8px}.qc-page-head{align-items:flex-start}.qc-page-head h1{font-size:19px}.qc-controlbar{gap:7px}.qc-controlbar label{flex:1;justify-content:space-between}.qc-controlbar label select{min-width:0!important;max-width:140px}.qc-controlbar .qc-strategy-control{width:100%}.qc-feed-pill{margin-left:auto}.qc-chart-slot .candle-chart-canvas{height:280px}.qc-panel-meta small{max-width:180px}}.workspace-page{display:flex;flex-direction:column;gap:16px;min-width:0}.workspace-page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:2px}.workspace-page-heading h1{font:750 27px Manrope;letter-spacing:-.7px;margin:7px 0 5px;color:#f0f5fb}.workspace-page-heading p{margin:0;color:#8798ae;font-size:12px;line-height:1.5}.workspace-status{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;padding:8px 10px;border:1px solid #344155;border-radius:7px;background:#111c2b;color:#9baac0;font:9px DM Mono,monospace;letter-spacing:.5px}.workspace-status i{width:7px;height:7px;border-radius:50%;background:#d6a34a}.workspace-status.online i{background:#50d49a;box-shadow:0 0 8px #50d49a70}.workspace-page .paper-strategy-panel{margin-top:0}.workspace-page .paper-trade-workspace .paper-strategy-head{margin-bottom:15px}@media(max-width:760px){.workspace-page-heading{align-items:flex-start;flex-direction:column}.workspace-page-heading h1{font-size:22px}}.charts-grid{margin-top:14px}.trading-mode-pill{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border:1px solid #287b55;border-radius:20px;background:linear-gradient(135deg,#123427,#10251f);color:#8ce8b7;font:800 9px DM Mono,monospace;letter-spacing:.06em;white-space:nowrap;box-shadow:0 0 14px #2fc98514}.trading-mode-pill i{width:7px;height:7px;border-radius:50%;background:#37d28c;box-shadow:0 0 8px #37d28c88}.trading-mode-pill.live{border-color:#b05554;background:linear-gradient(135deg,#3a2028,#271a23);color:#ffb4a9;box-shadow:0 0 14px #f0645e1f}.trading-mode-pill.live i{background:#ff756c;box-shadow:0 0 8px #ff756c99}@media(max-width:600px){.trading-mode-pill{padding:5px 7px;font-size:7px;letter-spacing:0}.trading-mode-pill i{width:6px;height:6px}}.overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0 0 18px}.overview-card{min-width:0;min-height:202px;display:flex;flex-direction:column;padding:21px 22px 0;border:1px solid #23344b;border-radius:13px;background:radial-gradient(ellipse at 10% 0%,rgba(46,92,125,.16),transparent 48%),linear-gradient(145deg,#111d2d,#0d1725);box-shadow:0 12px 28px #00000017}.overview-card-top,.overview-card-identity,.overview-card-footer{display:flex;align-items:center;justify-content:space-between}.overview-card-identity{justify-content:flex-start;gap:13px;min-width:0}.overview-icon{width:42px;height:42px;flex:none;display:grid;place-items:center;border:1px solid #2b4b56;border-radius:11px;background:#142a30;color:#a9e77b}.overview-icon.feed{border-color:#29435d;background:#17283b;color:#75baff}.overview-card h2{margin:4px 0 0;color:#eef3fa;font:650 19px Manrope;letter-spacing:-.3px}.overview-state{display:inline-flex;align-items:center;gap:7px;flex:none;padding:7px 10px;border:1px solid #39485d;border-radius:20px;background:#152132;color:#aab7c9;font:700 9px DM Mono,monospace;text-transform:uppercase;letter-spacing:.04em}.overview-state i,.overview-feed-indicator i{width:7px;height:7px;border-radius:50%;background:#8998ad}.overview-state.online{border-color:#286d52;background:#102a25;color:#83ddb1}.overview-state.online i,.overview-feed-indicator i{background:#39ce8c;box-shadow:0 0 8px #39ce8c66}.overview-state.attention{border-color:#80633b;background:#292316;color:#edc272}.overview-state.attention i{background:#edb84f}.overview-card-detail{min-height:36px;margin:20px 0 16px;color:#91a1b6;font-size:12px;line-height:1.5}.overview-card-footer{gap:12px;min-height:56px;margin-top:auto;border-top:1px solid #223147}.overview-card-caption{color:#74869e;font:600 9px DM Mono,monospace;letter-spacing:.07em;text-transform:uppercase}.overview-feed-indicator{display:flex;align-items:center;gap:8px;color:#9aabc0;font-size:11px}.connection-actions .btn{height:33px}@media(max-width:900px){.overview-grid{gap:11px}.overview-card{padding:18px 17px 0}.overview-card-footer{align-items:flex-start;justify-content:center;flex-direction:column;padding:10px 0}.overview-card-detail{margin:16px 0}}@media(max-width:600px){.overview-grid{grid-template-columns:1fr}.overview-card{min-height:188px}.overview-card-footer{flex-direction:row;align-items:center;justify-content:space-between}.connection-actions{justify-content:flex-end}.connection-actions .btn{padding:0 9px;font-size:10px}}.broker-configuration-page{min-height:calc(100vh - 68px);margin:-16px -14px -20px;padding:25px 22px 30px;background:#080d18;color:#e7edf8;gap:16px;color-scheme:dark}.broker-page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.broker-page-heading h1{margin:6px 0 4px;color:#f1f5fb;font:750 29px Manrope;letter-spacing:-.7px}.broker-page-heading p{margin:0;color:#8b9bb0;font-size:13px}.broker-market-badge{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid #354258;border-radius:8px;background:#111c2c;color:#9eacc0;font:700 9px DM Mono;letter-spacing:.05em;white-space:nowrap}.broker-market-badge i,.broker-status-chip i{width:7px;height:7px;border-radius:50%;background:#d6a34a}.broker-market-badge.online{border-color:#276d51;color:#8be3b2}.broker-market-badge.online i{background:#3bd292;box-shadow:0 0 8px #3bd29280}.broker-tab-strip{display:flex;align-items:center;gap:8px;border-bottom:1px solid #1f2c40;padding-bottom:10px}.broker-tab-strip>span{height:38px;display:inline-flex;align-items:center;gap:8px;padding:0 15px;border:1px solid #2b55dc;border-radius:8px;background:linear-gradient(135deg,#285eea,#2549ba);color:#fff;font-size:11px;font-weight:700;box-shadow:0 6px 16px #1f56df30}.broker-configuration-grid{display:grid;grid-template-columns:minmax(195px,.78fr) minmax(420px,1.7fr) minmax(260px,.95fr);gap:14px;align-items:start}.broker-supported-card,.broker-config-card,.broker-status-card,.broker-help-card{min-width:0;border:1px solid #25354c;border-radius:12px;background:linear-gradient(145deg,#111d2d,#0d1725);box-shadow:0 8px 24px #0002}.broker-supported-card{padding:14px 12px}.broker-supported-card>header,.broker-status-card>header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px;padding:1px 1px 11px;border-bottom:1px solid #233249}.broker-supported-card>header h2,.broker-status-card>header h2,.broker-help-card>header h2{margin:0;color:#eef3fa;font:700 14px Manrope}.broker-supported-card>header>span{color:#8292a8;font:9px DM Mono;text-transform:uppercase;letter-spacing:.04em}.broker-choice{width:100%;min-height:67px;display:flex;align-items:center;gap:9px;padding:9px;border:1px solid #34465f;border-radius:9px;background:linear-gradient(135deg,#14263c,#101c2d);color:#e4ebf5;text-align:left}.broker-choice+.broker-choice{margin-top:8px}.broker-choice:hover{border-color:#5475a1;background:linear-gradient(135deg,#172b44,#111e30)}.broker-choice.active{border-color:#3770f1;box-shadow:inset 0 0 0 1px #3770f133}.broker-choice-mark,.broker-brand-icon{display:grid;place-items:center;flex:none;background:linear-gradient(145deg,#00c982,#07975e);color:#fff;font:800 18px Manrope}.broker-choice-mark{width:36px;height:36px;border-radius:9px}.broker-choice-mark.guide-mark{background:linear-gradient(145deg,#344967,#25364e);color:#d5e2f3}.broker-brand-icon.guide-brand-icon{background:linear-gradient(145deg,#344967,#25364e);color:#e3ecf7;font-size:19px}.broker-choice-copy{display:grid;gap:3px;min-width:0;flex:1}.broker-choice-copy b{color:#e8eff9;font-size:12px}.broker-choice-copy small{color:#8294aa;font-size:9px}.broker-status-chip{display:inline-flex;align-items:center;gap:5px;flex:none;padding:5px 7px;border:1px solid #3a4556;border-radius:15px;background:#172232;color:#adb9ca;font:700 8px DM Sans;white-space:nowrap}.broker-status-chip i{width:6px;height:6px;background:#8492a5}.broker-status-chip.online{border-color:#236b4b;background:#112d25;color:#83dfaf}.broker-status-chip.online i{background:#39cf8e}.broker-status-chip.guide-chip{border-color:#5a4a2b;background:#282317;color:#edc878}.broker-status-chip.guide-chip i{background:#d5a94d}.broker-list-note{display:flex;align-items:flex-start;gap:8px;margin-top:13px;padding:10px;border:1px solid #283951;border-radius:8px;background:#0e1928;color:#8798af;font-size:9px;line-height:1.45}.broker-list-note svg{flex:none;color:#8eb9fa}.broker-config-card{padding:18px 20px}.broker-config-header{display:flex;align-items:center;gap:12px;padding-bottom:16px;border-bottom:1px solid #233249}.broker-brand-icon{width:46px;height:46px;border-radius:12px}.broker-config-header>div:nth-child(2){min-width:0;flex:1}.broker-config-header h2{margin:0 0 3px;color:#eef3fa;font:750 19px Manrope;letter-spacing:-.3px}.broker-config-header p{margin:0;color:#8e9eb3;font-size:10px;line-height:1.45}.broker-detail-section{padding:16px 0 14px;border-bottom:1px solid #233249}.broker-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.broker-detail-section h3{margin:0;color:#d9e3f1;font:700 14px Manrope}.broker-inline-doc-link{display:inline-flex;align-items:center;gap:6px;flex:none;color:#91baff;font-size:9px;font-weight:700;text-decoration:none}.broker-inline-doc-link:hover{color:#c1d8ff;text-decoration:underline}.broker-inline-doc-link svg{flex:none}.broker-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.broker-detail-grid>div{display:grid;align-content:center;gap:5px;min-height:58px;padding:9px 11px;border:1px solid #2b3a50;border-radius:8px;background:#0d1725}.broker-detail-grid small{color:#8494aa;font-size:9px}.broker-detail-grid b{color:#e5edf7;font-size:11px;font-weight:650}.broker-detail-grid b.good,.broker-status-row b.good{color:#56d99a}.broker-detail-grid b.attention,.broker-status-row b.attention{color:#e9bd6e}.broker-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.broker-field{display:grid;gap:6px;min-width:0}.broker-field>span{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#cdd8e7;font-size:10px;font-weight:700}.broker-field em{color:#56d99a;font-size:8px;font-style:normal;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.broker-field input{width:100%;height:40px;box-sizing:border-box;padding:0 11px;border:1px solid #34455f;border-radius:8px;outline:none;background:#091321;color:#e7edf8;font:500 11px DM Sans;color-scheme:dark}.broker-field input::placeholder{color:#71829a}.broker-field input:focus{border-color:#4c79e8;box-shadow:0 0 0 3px #376cf126}.broker-field-help{color:#8192a9;font-size:8px;line-height:1.4}.broker-form-hint{margin:9px 0 0;color:#8192a9;font-size:9px;line-height:1.45}.broker-required-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.broker-setting-item{min-width:0;display:grid;gap:6px;padding:11px 12px;border:1px solid #2b3a50;border-radius:8px;background:#0d1725}.broker-setting-item>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.broker-setting-item b{color:#e5edf7;font-size:10px}.broker-setting-item code{max-width:55%;overflow:hidden;text-overflow:ellipsis;color:#c8b5ff;font:8px DM Mono;white-space:nowrap}.broker-setting-item small{color:#8798ad;font-size:9px;line-height:1.45}.broker-integration-notice{display:flex;align-items:flex-start;gap:10px;margin:15px 0;padding:12px;border:1px solid #66512c;border-radius:9px;background:linear-gradient(120deg,#2a2417,#191a1b);color:#e9c779}.broker-integration-notice svg{flex:none;margin-top:1px}.broker-integration-notice b,.broker-integration-notice span{display:block}.broker-integration-notice b{margin-bottom:4px;color:#f0d492;font-size:10px}.broker-integration-notice span{color:#c5b794;font-size:9px;line-height:1.5}.broker-configuration-page .btn:disabled{opacity:.68;cursor:not-allowed}.broker-setup-steps{display:grid;gap:12px;margin:0 0 12px;padding:0;list-style:none}.broker-setup-steps li{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:start;gap:9px}.broker-setup-steps li>span{width:22px;height:22px;display:grid;place-items:center;border:1px solid #344e70;border-radius:50%;background:#14243a;color:#b7d2f5;font:700 9px DM Mono}.broker-setup-steps p{margin:2px 0 0;color:#a7b5c8;font-size:9px;line-height:1.5}.broker-doc-link{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 11px;border:1px solid #344c6c;border-radius:8px;background:#14243a;color:#a9ceff;font-size:9px;font-weight:700;text-decoration:none}.broker-doc-link:hover{border-color:#5278ad;background:#192d48}.broker-doc-link svg{flex:none}.broker-security-reminder{margin-top:10px;color:#e2bd75;font-size:8px;line-height:1.5}.broker-secure-note{display:flex;align-items:flex-start;gap:10px;margin:15px 0;padding:11px 12px;border:1px solid #2c4664;border-radius:9px;background:linear-gradient(120deg,#102239,#101a2a);color:#8cbfff}.broker-secure-note svg{flex:none;margin-top:1px}.broker-secure-note b,.broker-secure-note span{display:block}.broker-secure-note b{margin-bottom:3px;color:#d9e9fc;font-size:10px}.broker-secure-note span{color:#92a8c2;font-size:9px;line-height:1.5}.broker-action-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.broker-configuration-page .btn{height:38px;font-size:10px}.broker-configuration-page .btn.primary{border-color:#376cf1;background:linear-gradient(135deg,#326af2,#254fc9);color:#fff}.broker-configuration-page .btn.secondary{border-color:#34455f;background:#172337;color:#c5d2e1}.broker-configuration-page .btn.danger-outline{color:#ff9b9b;border-color:#75424a;background:#28191f}.broker-config-hint{margin:11px 0 0;color:#e7bd70;font-size:9px;line-height:1.5}.broker-config-hint code,.broker-help-card code{color:#c8b5ff;font:9px DM Mono}.broker-latest-message{display:flex;align-items:flex-start;gap:8px;margin-top:13px;padding:10px 11px;border:1px solid #29394f;border-radius:8px;background:#0c1522;color:#92a1b5;font-size:9px;line-height:1.45;overflow-wrap:anywhere}.broker-latest-message .dot{margin-top:3px;background:#89a7ce}.broker-side-stack{display:grid;gap:13px;min-width:0}.broker-status-card,.broker-help-card{padding:14px}.broker-status-card>header{margin-bottom:11px;padding-bottom:10px}.broker-connected-banner{display:flex;align-items:center;gap:10px;margin-bottom:10px;padding:11px;border:1px solid #37465a;border-radius:9px;background:#152133}.broker-connected-banner>span{width:34px;height:34px;display:grid;place-items:center;flex:none;border-radius:50%;background:#29364a;color:#b4c2d4}.broker-connected-banner>div{min-width:0}.broker-connected-banner b,.broker-connected-banner small{display:block}.broker-connected-banner b{margin-bottom:3px;color:#e5edf6;font:750 13px Manrope}.broker-connected-banner small{color:#9aa9bd;font-size:9px;line-height:1.4}.broker-connected-banner.online{border-color:#246b4b;background:linear-gradient(120deg,#103323,#11251f)}.broker-connected-banner.online>span{background:#14884e;color:#fff}.broker-connected-banner.online b{color:#8be3b2}.broker-connected-banner.attention{border-color:#71572e;background:#292318}.broker-connected-banner.attention>span{background:#b27b22;color:#fff}.broker-connected-banner.attention b{color:#f3cf83}.broker-status-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:33px;padding:6px 2px;border-bottom:1px solid #202e41;color:#9cacc0;font-size:9px}.broker-status-row:last-child{border-bottom:0}.broker-status-row b{color:#dce5f0;font-size:9px;font-weight:600;text-align:right}.broker-help-card>header{display:flex;align-items:center;gap:8px;margin:-2px -2px 10px;padding:8px;border:1px solid #2b4562;border-radius:8px;background:#14243a;color:#8db8ff}.broker-help-card>header h2{color:#dceafa;font-size:13px}.broker-help-card>p{margin:0 0 10px;color:#96a6bb;font-size:9px;line-height:1.5}.broker-help-card details{border-top:1px solid #24334a;padding-top:8px}.broker-help-card summary{color:#b9ccdf;font-size:9px;font-weight:650;cursor:pointer}.broker-help-card ul{display:grid;gap:5px;margin:9px 0;padding-left:16px;color:#9cacc0;font-size:9px}.broker-help-card>details>small{display:block;color:#7f91a8;font-size:8px;line-height:1.45}@media(max-width:1160px){.broker-configuration-grid{grid-template-columns:minmax(190px,.7fr) minmax(0,1.5fr)}.broker-side-stack{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.broker-configuration-page{min-height:calc(100vh - 54px);margin:-10px -8px;padding:18px 10px;background:#080d18}.broker-page-heading{align-items:flex-start;flex-direction:column}.broker-page-heading h1{font-size:24px}.broker-market-badge{font-size:8px}.broker-configuration-grid{grid-template-columns:1fr}.broker-side-stack{grid-column:auto;grid-template-columns:1fr}.broker-supported-card{order:0}.broker-config-card{order:1;padding:15px 13px}.broker-side-stack{order:2}.broker-config-header{flex-wrap:wrap}.broker-config-header>.broker-status-chip{margin-left:58px}.broker-action-row .btn{flex:1;justify-content:center}.broker-detail-grid{gap:7px}.broker-detail-grid>div{padding:8px}.broker-detail-grid b{font-size:10px}.broker-required-settings,.broker-form-grid{grid-template-columns:1fr}}.dhan-auth-choice{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(0,1.3fr);gap:16px;align-items:center;margin:15px 0 0;padding:14px;border:1px solid #2b3b53;border-radius:10px;background:linear-gradient(135deg,#14243a,#101a2a)}.dhan-auth-choice h3,.dhan-token-heading h3{margin:0 0 5px;color:#e8eff8;font:700 13px Manrope}.dhan-auth-choice p,.dhan-token-heading p{margin:0;color:#91a1b6;font-size:10px;line-height:1.5}.dhan-auth-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dhan-auth-tabs button{display:grid;gap:5px;min-height:61px;padding:10px 11px;text-align:left;border:1px solid #34465e;border-radius:8px;background:#0c1624;color:#d8e2ef;cursor:pointer}.dhan-auth-tabs button:hover{border-color:#5a79aa}.dhan-auth-tabs button.active{border-color:#4883ec;background:linear-gradient(135deg,#152e4b,#112238);box-shadow:inset 0 0 0 1px #4883ec35}.dhan-auth-tabs b{font-size:10px}.dhan-auth-tabs small{color:#8d9eb4;font-size:9px;line-height:1.35}.dhan-token-card{display:grid;gap:13px;margin-top:13px;padding:15px;border:1px solid #315078;border-radius:10px;background:linear-gradient(145deg,#12233a,#0d1827)}.dhan-token-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.dhan-token-card .broker-field input{height:43px;font-family:DM Mono,monospace}.dhan-token-footer{display:flex;align-items:center;justify-content:space-between;gap:14px}.dhan-token-footer p{max-width:390px;margin:0;color:#8192a9;font-size:9px;line-height:1.5}.dhan-source-card,.dhan-totp-note{display:grid;gap:6px;margin-top:13px;padding:12px;border:1px solid #30435d;border-radius:8px;background:#0d1725}.dhan-source-indicator{display:flex;align-items:center;gap:6px;color:#91a3ba;font:700 8px DM Mono;letter-spacing:.08em}.dhan-source-indicator i{width:6px;height:6px;border-radius:50%;background:#e6ae56}.dhan-source-card b,.dhan-totp-note b{color:#dce7f4;font-size:10px}.dhan-source-card p,.dhan-totp-note span{margin:0;color:#8899ae;font-size:9px;line-height:1.5}.dhan-source-card.configured{border-color:#285a4a}.dhan-source-card.configured .dhan-source-indicator{color:#75d6a4}.dhan-source-card.configured .dhan-source-indicator i{background:#43cf91}@media(max-width:900px){.dhan-auth-choice{grid-template-columns:1fr}}@media(max-width:600px){.dhan-auth-tabs{grid-template-columns:1fr}.dhan-token-heading,.dhan-token-footer{align-items:stretch;flex-direction:column}.dhan-token-footer .btn{justify-content:center}}.app-shell .main-area,.app-shell .content,.app-shell .workspace-page,.app-shell .charts-workspace{min-width:0}.app-shell .content{padding:14px 16px 18px}.app-shell .topbar{height:auto;min-height:54px;padding:10px 16px;gap:10px}.app-shell .top-actions{gap:8px;flex-wrap:wrap;justify-content:flex-end;min-width:0}.app-shell .connection-pill{font-size:9px;padding:6px 9px}.app-shell .sidebar .brand{padding-bottom:22px}.app-shell .nav-item{height:36px;margin-bottom:3px;font-size:12px}.app-shell .workspace-page-heading,.app-shell .welcome-row,.app-shell .broker-page-heading{gap:10px;margin-bottom:12px;flex-wrap:wrap}.app-shell .workspace-page-heading h1,.app-shell .welcome-row h1,.app-shell .broker-page-heading h1{font-size:24px;margin:3px 0 4px}.app-shell .workspace-page-heading p,.app-shell .subheading{font-size:11px;line-height:1.4}.app-shell .overview-grid,.app-shell .stats-grid{gap:10px;margin-bottom:12px}.app-shell .overview-card{min-height:155px;padding:13px 15px 0;border-radius:10px}.app-shell .overview-card-detail{margin:10px 0;font-size:11px;line-height:1.45;overflow-wrap:anywhere}.app-shell .overview-card-footer{padding:9px 0;gap:7px;flex-wrap:wrap}.app-shell .stat-card{min-height:82px;padding:12px 14px}.app-shell .stat-value{font-size:20px;margin:8px 0 3px}.app-shell .panel-header{padding:12px 14px;gap:9px;flex-wrap:wrap}.app-shell .panel-header h2{font-size:15px}.app-shell .broker-summary{padding:12px;margin-bottom:12px;border-radius:10px}.app-shell .broker-account-heading{gap:10px;margin-bottom:10px;flex-wrap:wrap}.app-shell .broker-summary-grid{gap:10px}.app-shell .broker-metric{padding:12px 14px;gap:7px}.app-shell .broker-metric>strong{font-size:25px;overflow-wrap:anywhere}.app-shell .broker-account-heading span,.app-shell .broker-metric>span{font-size:11px}.app-shell .broker-configuration-grid{gap:10px}.app-shell .broker-config-card{padding:14px}.app-shell .broker-config-header{gap:9px;margin-bottom:12px}.app-shell .broker-form-grid,.app-shell .broker-detail-grid,.app-shell .broker-required-settings{gap:9px}.app-shell .broker-setting-item{padding:9px;overflow-wrap:anywhere}.app-shell .paper-trade-workspace{padding:12px;margin:8px 0}.app-shell .paper-trade-workspace .paper-strategy-head{margin-bottom:12px;gap:12px;flex-wrap:wrap}.app-shell .paper-trade-workspace .paper-strategy-title-wrap h2{font-size:24px}.app-shell .trade-monitor-summary{gap:8px;margin:12px 0}.app-shell .trade-monitor-summary>div{padding:11px 12px;min-width:0}.app-shell .trade-monitor-summary b{font-size:20px;overflow-wrap:anywhere}.app-shell .trade-positions-toolbar{padding:10px;gap:8px;flex-wrap:wrap}.app-shell .trade-positions-table th,.app-shell .trade-rejections-table th{padding:8px;font-size:9px}.app-shell .trade-positions-table td,.app-shell .trade-rejections-table td{padding:8px;font-size:11px}.app-shell .trade-rejections-heading{padding:10px 12px}.app-shell .backtest-config{padding:12px;gap:10px}.app-shell .backtest-method-grid{gap:8px}.app-shell .backtest-method-card{padding:10px;min-width:0}.app-shell .bt-results{gap:12px}.app-shell .bt-results-header{gap:12px;flex-wrap:wrap}.app-shell .bt-results-header h2{font-size:25px}.app-shell .bt-results-actions{padding-top:0;gap:7px}.app-shell .bt-result-card{border-radius:10px}.app-shell .bt-results-metadata{font-size:10px}.app-shell .reports-workspace,.app-shell .report-kpis{gap:10px}.app-shell .report-kpis article,.app-shell .report-chart-card,.app-shell .report-table{padding:12px;min-width:0}.app-shell .report-kpis strong{font-size:23px}.app-shell .report-kpis small{margin-bottom:8px}.app-shell .account-admin-page,.app-shell .account-admin-grid,.app-shell .account-admin-stats{gap:10px}.app-shell .account-admin-stats article{min-height:78px;padding:11px}.app-shell .account-admin-form{padding:12px;gap:9px}.app-shell .charts-grid{gap:10px;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr))}.app-shell .chart-panel,.app-shell .chart-panel header{min-width:0}.app-shell .chart-toolbar,.app-shell .chart-controls,.app-shell .backtest-fields,.app-shell .backtest-run-row{gap:8px;flex-wrap:wrap}.app-shell :is(.table-wrap,.broker-table-scroll,.paper-table-scroll,.trade-positions-table-wrap,.trade-rejections-table-wrap,.bt-table-scroll,.strategy-methods-scroll){max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}.app-shell :is(input,select,textarea){max-width:100%}.app-shell :is(.workspace-page,.broker-config-card,.account-admin-card)>*{min-width:0}@media(min-width:761px)and (max-width:1100px){.app-shell .content{padding:12px}.app-shell .broker-configuration-grid{grid-template-columns:minmax(0,1fr)}.app-shell .broker-side-stack{grid-column:auto;grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .trade-monitor-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.app-shell .sidebar{width:52px;padding:12px 5px}.app-shell .main-area{margin-left:52px;width:calc(100% - 52px)}.app-shell .content{padding:10px 8px}.app-shell .topbar{padding:8px;align-items:flex-start;flex-wrap:wrap}.app-shell .top-actions{gap:6px;justify-content:flex-start}.app-shell .connection-pill{font-size:8px;padding:5px 7px}.app-shell .workspace-page-heading h1,.app-shell .welcome-row h1,.app-shell .broker-page-heading h1{font-size:21px}.app-shell .overview-grid,.app-shell .broker-summary-grid,.app-shell .broker-configuration-grid,.app-shell .broker-side-stack,.app-shell .account-admin-grid{grid-template-columns:minmax(0,1fr)}.app-shell .broker-side-stack{grid-column:auto}.app-shell .broker-configuration-page{margin:0;padding:0;min-width:0}.app-shell .trade-monitor-summary,.app-shell .report-kpis,.app-shell .account-admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .paper-trade-workspace .paper-strategy-title-wrap h2{font-size:21px}.app-shell .trade-position-search{min-width:0;flex:1 1 100%}.app-shell .trade-position-search input{width:100%;min-width:0}.app-shell .bt-results-actions{justify-content:flex-start;flex-wrap:wrap}.app-shell .bt-results-actions>*{max-width:100%;white-space:normal}.app-shell .backtest-fields{grid-template-columns:minmax(0,1fr)}.app-shell .account-user-info{min-width:0;overflow-wrap:anywhere}.app-shell .account-user-actions{padding-left:0;flex-wrap:wrap}.app-shell .account-user-actions select{width:100%}.app-shell :is(.btn,.paper-btn,.chart-controls button){min-height:34px}}@media(max-width:420px){.app-shell .top-actions{width:100%}.app-shell .overview-card-footer{align-items:flex-start;flex-direction:column}.app-shell .broker-pnl-breakdown{gap:7px 12px}.app-shell .trade-monitor-summary b,.app-shell .report-kpis strong{font-size:18px}.app-shell .broker-form-grid,.app-shell .broker-detail-grid,.app-shell .broker-required-settings{grid-template-columns:minmax(0,1fr)}}.app-shell .diary-page-header{flex-wrap:wrap;gap:10px}.app-shell .diary-page-header h1{font-size:24px}.app-shell .diary-page-header p{font-size:11px}.app-shell .diary-header-controls{min-width:0;max-width:100%}.app-shell .diary-kpi-card{min-height:82px;padding:12px}.app-shell .chart-signal-legend{height:auto;min-height:21px;flex-wrap:wrap;gap:5px 10px}@media(min-width:761px)and (max-width:1100px){.app-shell .broker-configuration-page{margin:0;padding:0}.app-shell .diary-header-controls{width:100%;justify-content:flex-start}}@media(max-width:760px){.app-shell .diary-page-header h1{font-size:21px}.app-shell .diary-header-controls{justify-content:flex-start}}.app-shell .traders-diary-workspace,.app-shell .diary-page-header,.app-shell .diary-main-grid,.app-shell .diary-view-tabs{min-width:0}@media(max-width:1100px){.app-shell .diary-view-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));max-width:100%}.app-shell .diary-view-tabs button{min-width:0;padding:8px 5px;gap:5px}}:root[data-theme=light]{color-scheme:light;color:#1d2939;background:#f3f6fa;--panel: #ffffff;--line: #dbe2ea;--muted: #68778b;--border: #d8e0e9}:root[data-theme=light] body{color:#1d2939;background:#f3f6fa}.app-shell[data-theme=light],.app-shell[data-theme=light] .main-area,.app-shell[data-theme=light] .content{color:#1d2939;background:#f3f6fa}.app-shell[data-theme=light] .sidebar,.app-shell[data-theme=light] .topbar,.app-shell[data-theme=light] .topbar.qc-topbar{background:#fff;border-color:#dce3eb}.app-shell[data-theme=light] .sidebar{box-shadow:2px 0 14px #1c2d4309}.app-shell[data-theme=light] .brand-name,.app-shell[data-theme=light] .crumb b,.app-shell[data-theme=light] .market-clock b,.app-shell[data-theme=light] .topbar-brand,.app-shell[data-theme=light] .workspace-page-heading h1,.app-shell[data-theme=light] .qc-page-head h1{color:#1d2939}.app-shell[data-theme=light] .brand-sub,.app-shell[data-theme=light] .workspace-label,.app-shell[data-theme=light] .eyebrow,.app-shell[data-theme=light] .crumb,.app-shell[data-theme=light] .market-clock,.app-shell[data-theme=light] .topbar-brand small,.app-shell[data-theme=light] .workspace-page-heading p,.app-shell[data-theme=light] .qc-page-head p{color:#6d7b8d}.app-shell[data-theme=light] .nav-item{color:#536276}.app-shell[data-theme=light] .nav-item:hover{background:#f2f5f8;color:#233247}.app-shell[data-theme=light] .nav-item.active{background:#edf5e8;color:#47752d;border-color:#d1e3c5}.app-shell[data-theme=light] .sidebar-bottom,.app-shell[data-theme=light] .sidebar-account,.app-shell[data-theme=light] .topbar-brand{border-color:#e2e7ee}.app-shell[data-theme=light] .sidebar-section-label,.app-shell[data-theme=light] .sidebar-metric span,.app-shell[data-theme=light] .account-copy small,.app-shell[data-theme=light] .sidebar-foot{color:#768497}.app-shell[data-theme=light] .account-copy b{color:#344255}.app-shell[data-theme=light] .account-avatar{background:#e9f1e2;color:#47752d}.app-shell[data-theme=light] .icon-btn,.app-shell[data-theme=light] .delete-btn{color:#66768a}.app-shell[data-theme=light] .avatar{background:#e8edf3;color:#45566a}.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:31px;padding:0 10px;border:1px solid #2b3a50;border-radius:7px;background:#172538;color:#cbd5e2;font:600 10px DM Sans,sans-serif;cursor:pointer;white-space:nowrap}.app-shell[data-theme=light] .theme-toggle{border-color:#d6dee8;background:#fff;color:#46566b}.app-shell[data-theme=light] .connection-pill{background:#fff;border-color:#e4d8c5;color:#8b673e}.app-shell[data-theme=light] .connection-pill.ok{border-color:#c8e3cd;color:#36734d}.app-shell[data-theme=light] .connection-pill.ok .dot{background:#3fa66b}.app-shell[data-theme=light] .stat-card,.app-shell[data-theme=light] .connection-card,.app-shell[data-theme=light] .market-panel,.app-shell[data-theme=light] .side-status,.app-shell[data-theme=light] .qc-table-panel,.app-shell[data-theme=light] .qc-snapshot,.app-shell[data-theme=light] .qc-bottom-head{background:#fff;border-color:#dce3eb}.app-shell[data-theme=light] .stat-head,.app-shell[data-theme=light] .panel-header p,.app-shell[data-theme=light] .connection-copy p,.app-shell[data-theme=light] .stat-foot,.app-shell[data-theme=light] .muted-text,.app-shell[data-theme=light] .qc-panel-meta small,.app-shell[data-theme=light] .qc-snapshot>div{color:#69788b}.app-shell[data-theme=light] .stat-value,.app-shell[data-theme=light] .panel-header h2,.app-shell[data-theme=light] .connection-copy h2,.app-shell[data-theme=light] .instrument-name,.app-shell[data-theme=light] .empty-state b,.app-shell[data-theme=light] .qc-panel-meta b,.app-shell[data-theme=light] .qc-table-panel td b,.app-shell[data-theme=light] .qc-snapshot>b,.app-shell[data-theme=light] .qc-snapshot strong{color:#243246}.app-shell[data-theme=light] .section-icon{background:#eef4e9;color:#5e8c3d}.app-shell[data-theme=light] th{color:#68778b;background:#f1f4f7;border-color:#e0e6ed}.app-shell[data-theme=light] td{color:#344255;border-color:#e7ebf0}.app-shell[data-theme=light] .mono{color:#5b6a7d}.app-shell[data-theme=light] .segment-tag{background:#edf2f6;color:#536579}.app-shell[data-theme=light] .price{color:#47772f}.app-shell[data-theme=light] .empty-state,.app-shell[data-theme=light] .empty-state span{color:#6c7a8c}.app-shell[data-theme=light] .empty-icon{border-color:#d8e0e9;color:#66768a}.app-shell[data-theme=light] .add-form,.app-shell[data-theme=light] .feed-footer,.app-shell[data-theme=light] .notice,.app-shell[data-theme=light] .placeholder-note{background:#f8fafc;border-color:#dce3eb}.app-shell[data-theme=light] .add-form label,.app-shell[data-theme=light] .feed-status,.app-shell[data-theme=light] .feed-mode,.app-shell[data-theme=light] .notice,.app-shell[data-theme=light] .placeholder-note{color:#536276}.app-shell[data-theme=light] .add-form input,.app-shell[data-theme=light] .add-form select,.app-shell[data-theme=light] .strategy-select-label select,.app-shell[data-theme=light] .qc-controlbar select{background:#fff;border-color:#cfd8e3;color:#263548}.app-shell[data-theme=light] .notice b{color:#263548}.app-shell[data-theme=light] .notice span{color:#657489}.app-shell[data-theme=light] .side-status small{color:#718095}.app-shell[data-theme=light] .workspace-status{background:#fff;border-color:#d5dee8;color:#536276}.app-shell[data-theme=light] .qc-controlbar{background:#fff;border-color:#dce3eb}.app-shell[data-theme=light] .qc-controlbar label,.app-shell[data-theme=light] .qc-feed-pill{color:#5f6e82}.app-shell[data-theme=light] .qc-action.subtle,.app-shell[data-theme=light] .layout-switch{background:#f1f4f8;border-color:#d6dfe8;color:#45566a}.app-shell[data-theme=light] .layout-switch button{color:#536276}.app-shell[data-theme=light] .qc-bottom-head,.app-shell[data-theme=light] .qc-panel-meta{background:#f7f9fb;border-color:#dfe5ec}.app-shell[data-theme=light] .qc-table-panel,.app-shell[data-theme=light] .qc-snapshot{border-color:#dfe5ec}.app-shell[data-theme=light] .qc-snapshot>div{border-color:#e3e8ee}.app-shell[data-theme=light] .qc-tabs button{color:#5f6f83}.app-shell[data-theme=light] .qc-tabs button.active{color:#4937a9;background:#efedff}.app-shell[data-theme=light] .qc-disclaimer{color:#69788b}.app-shell[data-theme=light] .paper-strategy-panel{color:#263548;background:#fff;border-color:#dce3eb;box-shadow:0 8px 24px #1c2d430f}.app-shell[data-theme=light] .paper-strategy-title-wrap p,.app-shell[data-theme=light] .paper-strategy-info-row,.app-shell[data-theme=light] .paper-strategy-footnote,.app-shell[data-theme=light] .paper-no-active-trade span{color:#68778b}.app-shell[data-theme=light] .paper-strategy-icon{background:#edf3fb;color:#4873b5}.app-shell[data-theme=light] .paper-mode-pill,.app-shell[data-theme=light] .paper-feed-state{background:#f6f8fa;border-color:#d7e0e9;color:#536276}.app-shell[data-theme=light] .paper-mode-pill.running,.app-shell[data-theme=light] .paper-feed-state.connected{background:#f0f8f3;border-color:#bfe1cc;color:#31734e}.app-shell[data-theme=light] .paper-strategy-controls{border-color:#e1e7ee}.app-shell[data-theme=light] .paper-check,.app-shell[data-theme=light] .paper-setup-toggle>span{color:#344255}.app-shell[data-theme=light] .paper-check small,.app-shell[data-theme=light] .paper-lots{color:#66768a}.app-shell[data-theme=light] .paper-lots input,.app-shell[data-theme=light] .paper-trade-limits input{background:#fff;border-color:#cfd8e3;color:#243246}.app-shell[data-theme=light] .paper-setup-switches,.app-shell[data-theme=light] .paper-trade-limits{background:#f8fafc;border-color:#dce3eb}.app-shell[data-theme=light] .paper-trade-limits>b,.app-shell[data-theme=light] .paper-trade-limits label{color:#536276}.app-shell[data-theme=light] .paper-setup-toggle{background:#fff;border-color:#d7e0e9}.app-shell[data-theme=light] .paper-setup-toggle.enabled{background:#f0f8f3;border-color:#bfe1cc}.app-shell[data-theme=light] .paper-setup-toggle small{color:#758397}.app-shell[data-theme=light] .paper-reference-grid>div,.app-shell[data-theme=light] .paper-table-card,.app-shell[data-theme=light] .paper-event-card,.app-shell[data-theme=light] .paper-no-active-trade{background:#f8fafc;border-color:#dce3eb}.app-shell[data-theme=light] .paper-reference-grid small,.app-shell[data-theme=light] .paper-active-trade small{color:#6c7b8e}.app-shell[data-theme=light] .paper-reference-grid b,.app-shell[data-theme=light] .paper-table-head b,.app-shell[data-theme=light] .paper-no-active-trade b{color:#263548}.app-shell[data-theme=light] .paper-table-head{border-color:#e0e6ed}.app-shell[data-theme=light] .paper-table-scroll th{background:#f0f3f7;color:#68778b}.app-shell[data-theme=light] .paper-table-scroll td{color:#344255;border-color:#e4e9ef}.app-shell[data-theme=light] .paper-event-item{border-color:#e4e9ef}.app-shell[data-theme=light] .paper-event-item time,.app-shell[data-theme=light] .paper-event-item span{color:#68778b}.app-shell[data-theme=light] .paper-event-item b{color:#536b86}.app-shell[data-theme=light] .paper-active-trade{background:#eff8f3;border-color:#c9e5d4}.app-shell[data-theme=light] .paper-active-trade b{color:#2f7650}.app-shell[data-theme=light] .paper-empty{color:#6c7a8c!important}.app-shell[data-theme=light] .paper-strategy-toolbar .paper-lots,.app-shell[data-theme=light] .paper-strategy-overview>div,.app-shell[data-theme=light] .paper-method-card,.app-shell[data-theme=light] .paper-advanced-settings,.app-shell[data-theme=light] .paper-reference-details{background:#f8fafc;border-color:#dce3eb}.app-shell[data-theme=light] .paper-strategy-overview b,.app-shell[data-theme=light] .paper-method-title h3,.app-shell[data-theme=light] .paper-method-usage b{color:#263548}.app-shell[data-theme=light] .paper-method-card.enabled{background:linear-gradient(145deg,#f0f8f3,#fff 72%);border-color:#bfe1cc}.app-shell[data-theme=light] .paper-method-usage,.app-shell[data-theme=light] .paper-method-usage input{background:#fff;border-color:#cfd8e3;color:#243246}.app-shell[data-theme=light] .paper-method-section-head b{color:#263548}.app-shell[data-theme=light] .paper-method-section-head>span{background:#f3f6fa;border-color:#dce3eb;color:#536276}.app-shell[data-theme=light] .paper-disarm-banner{background:#fff7ed;border-color:#f1d0a9;color:#865a2c}.app-shell[data-theme=light] .paper-disarm-banner b{color:#71451b}.app-shell[data-theme=light] .paper-advanced-controls{border-color:#e2e8ef}.app-shell[data-theme=light] .backtest-config,.app-shell[data-theme=light] .backtest-error,.app-shell[data-theme=light] .report-kpis article,.app-shell[data-theme=light] .report-chart-card,.app-shell[data-theme=light] .report-table{background:#fff;border-color:#dce3eb;color:#263548}.app-shell[data-theme=light] .backtest-card-heading span,.app-shell[data-theme=light] .backtest-results-heading p,.app-shell[data-theme=light] .backtest-run-row p,.app-shell[data-theme=light] .backtest-fields label,.app-shell[data-theme=light] .backtest-method-list>span:first-child,.app-shell[data-theme=light] .backtest-trade-limits label,.app-shell[data-theme=light] .report-kpis small,.app-shell[data-theme=light] .report-disclaimer{color:#68778b}.app-shell[data-theme=light] .backtest-fields input,.app-shell[data-theme=light] .backtest-fields select,.app-shell[data-theme=light] .backtest-trade-limits input{background:#fff;border-color:#cfd8e3;color:#263548}.app-shell[data-theme=light] .backtest-method{background:#f5f7fa;border-color:#dce3eb;color:#45566a}.app-shell[data-theme=light] .backtest-method-list,.app-shell[data-theme=light] .backtest-trade-limits{border-color:#e0e6ed}.app-shell[data-theme=light] .backtest-method-card{background:#f8fafc;border-color:#dce3eb}.app-shell[data-theme=light] .backtest-method-card.selected{background:#eff8f3;border-color:#bfe1cc}.app-shell[data-theme=light] .backtest-method-choice{color:#344255}.app-shell[data-theme=light] .backtest-method-limit{color:#66768a}.app-shell[data-theme=light] .backtest-method-limit input{background:#fff;border-color:#cfd8e3;color:#243246}.app-shell[data-theme=light] .backtest-method-selection-heading>div:first-child b{color:#263548}.app-shell[data-theme=light] .backtest-method-selection-heading>div:first-child span{background:#f3f6fa;border-color:#dce3eb;color:#66768a}.app-shell[data-theme=light] .backtest-quality-warning{background:#fffaf0;border-color:#ead7ae}.app-shell[data-theme=light] .backtest-quality-summary b,.app-shell[data-theme=light] .backtest-quality-warning li strong{color:#76551b}.app-shell[data-theme=light] .backtest-quality-summary span,.app-shell[data-theme=light] .backtest-quality-warning li span{color:#627184}.app-shell[data-theme=light] .backtest-quality-warning details{border-color:#ead7ae}.app-shell[data-theme=light] .backtest-quality-warning summary,.app-shell[data-theme=light] .backtest-data-partial{color:#805b1e}.app-shell[data-theme=light] .backtest-fields-compact{background:#f8fafc;border-color:#dce3eb}.app-shell[data-theme=light] .backtest-fields select,.app-shell[data-theme=light] .backtest-fields input{background:#fff;border-color:#cfd8e3;color:#263548}.app-shell[data-theme=light] .backtest-fields select:focus-visible,.app-shell[data-theme=light] .backtest-fields input:focus-visible{border-color:#4b91c8;box-shadow:0 0 0 3px #4b91c826;background:#fff}.app-shell[data-theme=light] .backtest-error{color:#ad3f32}.app-shell[data-theme=light] .indicator-manager,.app-shell[data-theme=light] .indicator-modal{background:#fff;border-color:#d5dee8;box-shadow:0 20px 60px #1c2d4329}.app-shell[data-theme=light] .indicator-manager-heading b,.app-shell[data-theme=light] .indicator-modal-header h2{color:#263548}.app-shell[data-theme=light] .indicator-kicker,.app-shell[data-theme=light] .indicator-add-menu-title,.app-shell[data-theme=light] .indicator-add-empty,.app-shell[data-theme=light] .indicator-no-items{color:#68778b}.app-shell[data-theme=light] .indicator-chip,.app-shell[data-theme=light] .indicator-add-menu,.app-shell[data-theme=light] .indicator-example,.app-shell[data-theme=light] .indicator-color-field,.app-shell[data-theme=light] .indicator-current-timeframe{background:#f7f9fb;border-color:#d9e1ea;color:#344255}.app-shell[data-theme=light] .indicator-chip-name,.app-shell[data-theme=light] .indicator-add-menu>button,.app-shell[data-theme=light] .indicator-example-inputs b,.app-shell[data-theme=light] .indicator-current-timeframe b{color:#344255}.app-shell[data-theme=light] .indicator-icon-btn{color:#64748b}.app-shell[data-theme=light] .indicator-icon-btn:hover,.app-shell[data-theme=light] .indicator-add-menu>button:hover{background:#edf1f5;color:#29384b}.app-shell[data-theme=light] .indicator-add-menu>button small,.app-shell[data-theme=light] .indicator-field small,.app-shell[data-theme=light] .indicator-toggle-field small,.app-shell[data-theme=light] .indicator-color-field code,.app-shell[data-theme=light] .indicator-modal-help,.app-shell[data-theme=light] .indicator-modal-footer>span{color:#68778b}.app-shell[data-theme=light] .indicator-modal-header,.app-shell[data-theme=light] .indicator-tabs,.app-shell[data-theme=light] .indicator-modal-footer{border-color:#e0e6ed}.app-shell[data-theme=light] .indicator-modal-footer{background:#f7f9fb}.app-shell[data-theme=light] .indicator-tabs button{color:#66768a}.app-shell[data-theme=light] .indicator-tabs button.active{color:#5140b1}.app-shell[data-theme=light] .indicator-field,.app-shell[data-theme=light] .indicator-toggle-field,.app-shell[data-theme=light] .indicator-example-heading,.app-shell[data-theme=light] .indicator-example-inputs,.app-shell[data-theme=light] .indicator-example-formula,.app-shell[data-theme=light] .indicator-example p{color:#536276}.app-shell[data-theme=light] .indicator-field input,.app-shell[data-theme=light] .indicator-field select{background:#fff;border-color:#cfd8e3;color:#263548}.app-shell[data-theme=light] .indicator-example-row{border-color:#e1e7ee}.app-shell[data-theme=light] .indicator-modal-backdrop{background:#1e293b47}.app-shell[data-theme=light] .chart-panel,.app-shell[data-theme=light] .chart-panel-interactive{background:#fff;border-color:#dce3eb;box-shadow:0 6px 18px #1c2d430f}.app-shell[data-theme=light] .chart-panel-interactive>header{background:#f7f9fb;border-color:#e0e6ed}.app-shell[data-theme=light] .chart-title,.app-shell[data-theme=light] .chart-price{color:#263548}.app-shell[data-theme=light] .chart-panel-interactive header small,.app-shell[data-theme=light] .chart-ohlc-strip,.app-shell[data-theme=light] .chart-ohlc-time,.app-shell[data-theme=light] .chart-controls button,.app-shell[data-theme=light] .chart-signal-legend,.app-shell[data-theme=light] .chart-signal-count{color:#637287}.app-shell[data-theme=light] .chart-ohlc-strip,.app-shell[data-theme=light] .chart-controls-interactive,.app-shell[data-theme=light] .chart-controls{background:#f6f8fa;border-color:#e0e6ed}.app-shell[data-theme=light] .chart-ohlc-strip b{color:#344255}.app-shell[data-theme=light] .chart-lwc-shell,.app-shell[data-theme=light] .qc-chart-slot .candle-chart-canvas{background:#fff!important}.app-shell[data-theme=light] .chart-lwc-empty{color:#536276;background:#ffffffe0}.app-shell[data-theme=light] .chart-controls-interactive .chart-timeframe-group,.app-shell[data-theme=light] .chart-interaction-group,.app-shell[data-theme=light] .chart-zoom-tools{border-color:#d8e0e9}.app-shell[data-theme=light] .chart-controls-interactive .chart-interaction-group button{background:#fff;border-color:#d4dde7;color:#526174}.app-shell[data-theme=light] .chart-controls-interactive .chart-interaction-group button:hover,.app-shell[data-theme=light] .chart-controls-interactive .chart-interaction-group button.tool-active{background:#efedff;border-color:#c4bafa;color:#4a3aa3}.app-shell[data-theme=light] .chart-controls-interactive .chart-timeframe-group button{color:#58687c}.app-shell[data-theme=light] .chart-controls-interactive .chart-timeframe-group button.selected{color:#fff}.app-shell[data-theme=light] .chart-panel-interactive:fullscreen{background:#fff}.app-shell[data-theme=light] .chart-trade-jump{background:#eff8f3;border-color:#bcdcc9;color:#35734e}.app-shell[data-theme=light] .chart-history-message{color:#8b6229;border-color:#e3e8ee}.app-shell[data-theme=light] .chart-footnote{color:#69788b}@media(max-width:600px){.app-shell[data-theme=light] .theme-toggle,.app-shell:not([data-theme=light]) .theme-toggle{width:32px;padding:0}.theme-toggle span{display:none}}.app-shell[data-theme=light] .option-discovery-strip,.app-shell[data-theme=light] .chart-ohlc-placeholder{background:#f7f9fb;border-color:#dfe5ec;color:#64748b}.app-shell[data-theme=light] .option-discovery-strip b{color:#344255}.app-shell[data-theme=light] .chart-history-status{background:#fff;color:#64748b;border-color:#d6dee8}.app-shell[data-theme=light] .chart-history-status.loaded{color:#34764c;border-color:#c5e0cc}.app-shell[data-theme=light] .chart-history-status.loading{color:#89662d;border-color:#ead9b7}.app-shell[data-theme=light] .chart-history-status.error{color:#a8443d;border-color:#edc9c6}.app-shell[data-theme=light] .chart-history-status.empty,.app-shell[data-theme=light] .chart-history-status.idle{color:#64748b}.app-shell[data-theme=light] .chart-controls-interactive .chart-live.is-live{color:#327b4f}.app-shell[data-theme=light] .chart-grid-line{stroke:#dce3eb}.app-shell[data-theme=light] .chart-axis-label{fill:#64748b}.app-shell[data-theme=light] .chart-canvas{background:repeating-linear-gradient(to bottom,transparent 0,transparent 49px,#e7ecf2 50px),repeating-linear-gradient(to right,transparent 0,transparent 59px,#edf1f5 60px)}.app-shell[data-theme=light] .chart-empty{color:#64748b}.app-shell[data-theme=light] .backtest-notice{color:#89662d}.app-shell[data-theme=light] .paper-error{background:#fff5f4;border-color:#efc9c4;color:#a8443d}.app-shell[data-theme=light] .paper-strategy-control{background:linear-gradient(145deg,#fff,#f7f9fc);border-color:#d8e1eb;color:#68788c;box-shadow:0 3px 10px #192d480a}.app-shell[data-theme=light] .paper-strategy-control select,.app-shell[data-theme=light] .paper-strategy-control input{color:#263548}.app-shell[data-theme=light] .paper-strategy-control select option{background:#fff;color:#263548}.app-shell[data-theme=light] .paper-method-category-heading h3{color:#263548}.app-shell[data-theme=light] .paper-method-category-heading span{color:#68778b}.app-shell[data-theme=light] .paper-method-category-heading>b{background:#f3f6fa;border-color:#dce3eb;color:#536276}.app-shell[data-theme=light] .trading-mode-pill.paper{background:#eaf8ef;border-color:#a8dbb9;color:#236945}.app-shell[data-theme=light] .trading-mode-pill.live{background:#fff0ef;border-color:#efb4ae;color:#a53f3a}.app-shell[data-theme=light] .trading-mode-pill.both,.app-shell[data-theme=light] .workspace-status.both{background:#f1ebff;border-color:#c8b6f1;color:#6540a0}.app-shell[data-theme=light] .paper-strategy-toolbar-actions .paper-start-hint{color:#64748b}.app-shell[data-theme=light] .paper-session-action{background:#f6f8fb;border-color:#d7e0ea}.app-shell[data-theme=light] .paper-session-action.live{background:linear-gradient(120deg,#fff7ed,#f8fafc 68%);border-color:#e9c8a9}.app-shell[data-theme=light] .paper-session-action-title>b{color:#27364a}.app-shell[data-theme=light] .paper-session-action-title>span,.app-shell[data-theme=light] .paper-session-ready{color:#64748b}.app-shell[data-theme=light] .paper-session-action.live .paper-session-action-title>span,.app-shell[data-theme=light] .paper-live-readiness{color:#9a5a28}.app-shell[data-theme=light] .paper-live-readiness.ready{color:#26754c}.app-shell[data-theme=light] .paper-live-confirm{color:#7b4c24}.app-shell[data-theme=light] .paper-unmanaged-note{color:#8b5e1d}.app-shell[data-theme=light] .paper-execution-mode-option{background:#fff;border-color:#d3dce7;color:#536276}.app-shell[data-theme=light] .paper-execution-mode-option.selected.paper{background:#eaf8ef;border-color:#a8dbb9;color:#236945}.app-shell[data-theme=light] .paper-execution-mode-option.selected.live{background:#fff0df;border-color:#e9c49a;color:#895322}.app-shell[data-theme=light] .overview-card{background:radial-gradient(ellipse at 10% 0%,rgba(87,139,186,.08),transparent 48%),linear-gradient(145deg,#fff,#f7f9fc);border-color:#d9e2ec;box-shadow:0 12px 28px #1a304c0d}.app-shell[data-theme=light] .overview-icon{background:#eff7ed;border-color:#d9e8d3;color:#54833b}.app-shell[data-theme=light] .overview-icon.feed{background:#eef5fc;border-color:#d7e4f3;color:#397dbd}.app-shell[data-theme=light] .overview-card h2{color:#1f2c3d}.app-shell[data-theme=light] .overview-card-detail{color:#65768c}.app-shell[data-theme=light] .overview-card-footer{border-color:#e2e8ef}.app-shell[data-theme=light] .overview-card-caption{color:#77869a}.app-shell[data-theme=light] .overview-feed-indicator{color:#62748a}.app-shell[data-theme=light] .overview-state{background:#f3f6f9;border-color:#dce4ec;color:#5d6d80}.app-shell[data-theme=light] .overview-state.online{background:#eaf8ef;border-color:#b5dfc1;color:#236945}.app-shell[data-theme=light] .overview-state.attention{background:#fff7e7;border-color:#eedaa9;color:#8b6525}.app-shell[data-theme=light] .trade-monitor-summary>div,.app-shell[data-theme=light] .traders-diary{background:linear-gradient(145deg,#fff,#f8fafc);border-color:#dce3eb}.app-shell[data-theme=light] .trade-monitor-summary small,.app-shell[data-theme=light] .trade-position-live-grid small,.app-shell[data-theme=light] .trade-position-levels small,.app-shell[data-theme=light] .diary-summary-grid small{color:#718196}.app-shell[data-theme=light] .trade-monitor-summary b,.app-shell[data-theme=light] .diary-summary-grid b{color:#263548}.app-shell[data-theme=light] .trade-monitor-empty{background:linear-gradient(120deg,#f1f7fc,#fff);border-color:#d5e1ed}.app-shell[data-theme=light] .trade-empty-icon{background:#edf5fc;border-color:#d7e5f1;color:#397dbd}.app-shell[data-theme=light] .trade-monitor-empty b,.app-shell[data-theme=light] .traders-diary-head h3,.app-shell[data-theme=light] .diary-empty b{color:#263548}.app-shell[data-theme=light] .trade-monitor-empty small,.app-shell[data-theme=light] .trade-monitor-empty span:not(.trade-monitor-badge),.app-shell[data-theme=light] .traders-diary-head p,.app-shell[data-theme=light] .diary-summary-grid span,.app-shell[data-theme=light] .diary-foot{color:#6d7d91}.app-shell[data-theme=light] .trade-monitor-badge{background:#f3f6f9;border-color:#dce4ec;color:#5d6d80}.app-shell[data-theme=light] .trade-monitor-badge.active{background:#eaf8ef;border-color:#b5dfc1;color:#236945}.app-shell[data-theme=light] .trade-position-card{background:radial-gradient(ellipse at 0% 0%,rgba(84,164,119,.1),transparent 43%),linear-gradient(135deg,#f1f9f4,#fff);border-color:#bfe1cc}.app-shell[data-theme=light] .trade-position-instrument h3,.app-shell[data-theme=light] .trade-position-live-grid b,.app-shell[data-theme=light] .trade-position-levels b{color:#263d31}.app-shell[data-theme=light] .trade-position-instrument small,.app-shell[data-theme=light] .trade-position-instrument p{color:#66816f}.app-shell[data-theme=light] .trade-position-live-grid>div,.app-shell[data-theme=light] .trade-position-levels>div{background:#ffffffb3;border-color:#d9e9de}.app-shell[data-theme=light] .trade-position-note{background:#eef5fb;color:#506d86}.app-shell[data-theme=light] .traders-diary-head,.app-shell[data-theme=light] .diary-toolbar,.app-shell[data-theme=light] .diary-table-wrap{border-color:#e1e7ee}.app-shell[data-theme=light] .diary-period-nav button{background:#f4f7fa;border-color:#dce3eb;color:#536276}.app-shell[data-theme=light] .diary-period-nav>span{color:#344255}.app-shell[data-theme=light] .diary-period-tabs{background:#f4f6f9;border-color:#dce3eb}.app-shell[data-theme=light] .diary-period-tabs button{color:#627289}.app-shell[data-theme=light] .diary-period-tabs button.active{background:#e8f1fa;color:#28618c;box-shadow:inset 0 0 0 1px #c9dcec}.app-shell[data-theme=light] .diary-summary-grid>div{background:#f8fafc;border-color:#e1e7ee}.app-shell[data-theme=light] .diary-table-wrap th{background:#f2f5f8;color:#68798e}.app-shell[data-theme=light] .diary-table-wrap td{color:#344255;border-color:#e5eaf0}.app-shell[data-theme=light] .diary-table-wrap td:nth-child(2) b{color:#263548}.app-shell[data-theme=light] .diary-table-wrap td:first-child small,.app-shell[data-theme=light] .diary-table-wrap td:nth-child(3) small{color:#77869a}.app-shell[data-theme=light] .diary-side.buy{background:#e9f7ef;color:#26754d}.app-shell[data-theme=light] .diary-side.sell{background:#fff0ef;color:#a44745}.app-shell[data-theme=light] .diary-foot{border-color:#e1e7ee}.app-shell[data-theme=light] .diary-page-header h1,.app-shell[data-theme=light] .diary-card>header h2,.app-shell[data-theme=light] .diary-kpi-card b,.app-shell[data-theme=light] .diary-calendar-summary b,.app-shell[data-theme=light] .diary-summary-lines b,.app-shell[data-theme=light] .diary-donut b{color:#263548}.app-shell[data-theme=light] .diary-page-header p,.app-shell[data-theme=light] .diary-card>header>span,.app-shell[data-theme=light] .diary-kpi-card small,.app-shell[data-theme=light] .diary-kpi-card span,.app-shell[data-theme=light] .diary-calendar-summary small,.app-shell[data-theme=light] .diary-summary-lines span,.app-shell[data-theme=light] .diary-axis-label,.app-shell[data-theme=light] .diary-daily-bar-item small,.app-shell[data-theme=light] .diary-outcome-legend,.app-shell[data-theme=light] .diary-inline-empty,.app-shell[data-theme=light] .diary-notes-card>small,.app-shell[data-theme=light] .diary-takeaways-card li,.app-shell[data-theme=light] .diary-backtest-body,.app-shell[data-theme=light] .report-disclaimer{color:#65758a}.app-shell[data-theme=light] .diary-card,.app-shell[data-theme=light] .diary-kpi-card,.app-shell[data-theme=light] .diary-view-tabs button,.app-shell[data-theme=light] .diary-backtest-reference{background:#fff;border-color:#dce3eb;box-shadow:0 5px 16px #1c2d430b}.app-shell[data-theme=light] .diary-kpi-card.pnl{background:linear-gradient(135deg,#ebf8ef,#fff);border-color:#b8dfc5}.app-shell[data-theme=light] .diary-kpi-card.drawdown{background:linear-gradient(135deg,#fff3f3,#fff);border-color:#eccbd0}.app-shell[data-theme=light] .diary-kpi-card.pnl b,.app-shell[data-theme=light] .diary-kpi-card .positive,.app-shell[data-theme=light] .diary-summary-lines b.positive,.app-shell[data-theme=light] .diary-calendar-summary b.positive{color:#159653}.app-shell[data-theme=light] .diary-kpi-card .negative,.app-shell[data-theme=light] .diary-summary-lines b.negative,.app-shell[data-theme=light] .diary-calendar-summary b.negative{color:#d64d5b}.app-shell[data-theme=light] .diary-card>header,.app-shell[data-theme=light] .diary-strategy-row,.app-shell[data-theme=light] .diary-summary-lines>div,.app-shell[data-theme=light] .diary-recent-table td{border-color:#e5eaf0}.app-shell[data-theme=light] .diary-card>header h2 small,.app-shell[data-theme=light] .diary-strategy-row,.app-shell[data-theme=light] .diary-recent-table td{color:#536276}.app-shell[data-theme=light] .diary-strategy-row>b,.app-shell[data-theme=light] .diary-recent-table td:nth-child(2){color:#263548}.app-shell[data-theme=light] .diary-strategy-row.diary-strategy-head{color:#738196}.app-shell[data-theme=light] .diary-strategy-row.total{background:linear-gradient(90deg,#f0eaff,#e9e2fb)}.app-shell[data-theme=light] .diary-strategy-row.total b,.app-shell[data-theme=light] .diary-strategy-row.total span{color:#433274}.app-shell[data-theme=light] .diary-strategy-row strong.positive,.app-shell[data-theme=light] .diary-recent-table td.positive{color:#159653}.app-shell[data-theme=light] .diary-strategy-row strong.negative,.app-shell[data-theme=light] .diary-recent-table td.negative{color:#d64d5b}.app-shell[data-theme=light] .diary-calendar-weekdays span{color:#627289}.app-shell[data-theme=light] .diary-calendar-days button.no-trade{background:#f2f5f8;border-color:#e0e6ed;color:#718096}.app-shell[data-theme=light] .diary-calendar-summary,.app-shell[data-theme=light] .diary-backtest-stats span{background:#f7f9fb;border-color:#e0e6ed}.app-shell[data-theme=light] .diary-calendar-summary b.positive{color:#159653}.app-shell[data-theme=light] .diary-calendar-summary b.negative{color:#d64d5b}.app-shell[data-theme=light] .diary-grid-line{stroke:#dce3eb}.app-shell[data-theme=light] .diary-axis-label{fill:#738196}.app-shell[data-theme=light] .diary-cumulative-dot{stroke:#fff}.app-shell[data-theme=light] .diary-daily-bar-area{border-color:#cbd5e1;background:linear-gradient(to top,transparent 49.5%,rgba(100,116,139,.22) 50%,transparent 50.5%)}.app-shell[data-theme=light] .diary-donut:before{background:#fff}.app-shell[data-theme=light] .diary-donut span{color:#65758a}.app-shell[data-theme=light] .diary-outcome-legend b{color:#344255}.app-shell[data-theme=light] .diary-recent-table th{background:#f1f4f7;color:#68778b}.app-shell[data-theme=light] .diary-side-tag.buy{background:#e9f7ef;color:#26754d}.app-shell[data-theme=light] .diary-side-tag.sell{background:#fff0ef;color:#a44745}.app-shell[data-theme=light] .diary-notes-card textarea{background:#fff;border-color:#d5dee8;color:#263548}.app-shell[data-theme=light] .diary-notes-card textarea::placeholder{color:#8a97a8}.app-shell[data-theme=light] .diary-takeaways-card li span{background:#6b3bd1}.app-shell[data-theme=light] .diary-backtest-reference>summary{color:#6540b0}.app-shell[data-theme=light] .diary-backtest-stats b{color:#263548}.app-shell[data-theme=light] .diary-period-range,.app-shell[data-theme=light] .diary-date-select{background:#fff;border-color:#d6dee8;color:#526174}.app-shell[data-theme=light] .diary-period-range button{color:#526174}.app-shell[data-theme=light] .diary-date-select input{color:#344255;color-scheme:light}.app-shell[data-theme=light] .diary-view-tabs button{color:#526174}.app-shell[data-theme=light] .diary-view-tabs button.active{background:linear-gradient(135deg,#6b35d2,#4e27ac);border-color:#7043c7;color:#fff}.app-shell[data-theme=light] .diary-view-tabs button.active svg{color:#fff}.app-shell[data-theme=light] .diary-card>header button{color:#6842b3}.app-shell[data-theme=light] .diary-backtest-stats b.positive{color:#159653}.app-shell[data-theme=light] .diary-backtest-stats b.negative{color:#d64d5b}.account-auth-page,.account-loading{min-height:100vh;display:grid;place-items:center;padding:28px;background:radial-gradient(ellipse at 50% 0%,#172949 0,#0a1220,#070c15);color:#e7edf8;font-family:DM Sans,sans-serif}.account-auth-card{width:min(100%,470px);padding:36px;background:linear-gradient(150deg,#111e30,#0d1725);border:1px solid #293b53;border-radius:18px;box-shadow:0 24px 70px #0006}.account-brand{display:flex;align-items:center;gap:10px}.account-brand>span{width:42px;height:42px;border-radius:13px;background:#1a2e46;color:#88c7ff;display:grid;place-items:center}.account-brand b,.account-brand small{display:block;font-family:Manrope,sans-serif}.account-brand b{font-size:14px;letter-spacing:1.8px}.account-brand small{font-size:8px;letter-spacing:3px;color:#8495ac;margin-top:2px}.account-auth-kicker{margin-top:30px;color:#91a8c4;font:600 10px DM Mono,monospace;letter-spacing:1.5px}.account-auth-card h1,.member-welcome h1{font:750 29px Manrope,sans-serif;letter-spacing:-.8px;margin:9px 0}.account-auth-card>p,.member-welcome p{color:#91a0b5;font-size:13px;line-height:1.65;margin:0 0 24px}.account-auth-card form{display:grid;gap:15px}.account-auth-card label,.account-admin-form>label{display:grid;gap:7px;color:#cbd6e5;font-size:12px;font-weight:600}.account-auth-card input,.account-admin-form input,.account-admin-form select,.account-user-actions select{width:100%;height:42px;border:1px solid #2a3b52;border-radius:8px;background:#09121e;color:#edf3fb;padding:0 12px;font:500 13px DM Sans,sans-serif;outline:none}.account-auth-card input:focus,.account-admin-form input:focus,.account-admin-form select:focus{border-color:#6a8dba;box-shadow:0 0 0 3px #6a8dba26}.account-field-optional{font-size:10px;color:#8291a7;font-weight:400}.account-primary-button{min-height:43px;width:100%;display:flex;justify-content:center;align-items:center;gap:9px;border:1px solid #5b55e9;border-radius:9px;background:linear-gradient(110deg,#4059e9,#7046e5);color:#fff;font:700 13px DM Sans,sans-serif;cursor:pointer;padding:0 14px}.account-primary-button:disabled{opacity:.5;cursor:not-allowed}.account-auth-foot{display:flex;align-items:center;gap:8px;padding-top:21px;margin-top:24px;border-top:1px solid #253347;color:#7f90a6;font-size:10px}.account-error,.account-success{padding:12px 14px;border:1px solid #713c43;background:#28191f;color:#ff9c92;border-radius:8px;font-size:12px;line-height:1.5;margin:12px 0}.account-success{border-color:#23624d;background:#10251f;color:#80ddb5}.account-auth-link{display:flex;justify-content:center;margin:13px auto 0;border:0;background:transparent;color:#8fc5f4;font:600 12px DM Sans,sans-serif;cursor:pointer}.account-auth-link:hover{text-decoration:underline}.account-reset-unavailable{display:block;margin-top:12px;color:#d5b783;font-size:10px;line-height:1.5;text-align:center}.account-loading{align-content:center;gap:14px;color:#94a4ba}.account-loading p{font-size:13px}.account-loading .account-auth-card{width:min(100%,440px)}.member-portal{min-height:100vh;background:#080f1b;color:#e7edf8;padding:0 max(24px,calc((100vw - 1190px)/2)) 48px;font-family:DM Sans,sans-serif}.member-topbar{height:74px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #1d2b3e}.account-quiet-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #2c3d53;border-radius:8px;background:#121f30;color:#c9d5e4;padding:10px 13px;font:600 11px DM Sans,sans-serif;cursor:pointer}.member-welcome{padding:42px 0 23px}.member-welcome .account-auth-kicker,.member-plans-heading .account-auth-kicker{margin-top:0}.member-welcome h1{font-size:32px}.member-status-card,.member-feature-card,.member-plan-card,.member-empty{border:1px solid #25364b;background:#101b2a;border-radius:12px;padding:18px}.member-status-card{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}.member-status-card>div{display:flex;align-items:center;gap:11px}.member-status-card b,.member-status-card small{display:block}.member-status-card b{font-size:14px}.member-status-card small{margin-top:4px;color:#8798ae;font-size:11px}.member-status-dot{width:9px;height:9px;border-radius:50%;background:#cc9c52}.member-status-dot.active{background:#39cf94;box-shadow:0 0 12px #39cf9470}.member-feature-card{margin-bottom:27px}.member-feature-card h2,.member-plans-heading h2{font:700 18px Manrope;margin:0 0 15px}.member-feature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:11px}.member-feature-grid span{display:flex;align-items:center;gap:8px;color:#728198;text-transform:capitalize;font-size:12px}.member-feature-grid span.included{color:#9de4bd}.feature-empty{width:16px;height:16px;border:1px solid #47566b;border-radius:50%}.account-note{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid #33415a;border-radius:8px;background:#121f30;color:#a4b2c6;font-size:11px;line-height:1.55;margin-top:16px}.account-note svg{color:#91beef;flex:none}.member-plans-heading{display:flex;align-items:flex-end;justify-content:space-between;margin:30px 0 14px}.member-plans-heading h2{margin:5px 0 0}.member-plans-heading>span{font-size:11px;color:#8d9bb0}.member-plan-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:15px}.member-plan-card{padding:20px}.member-plan-icon{width:38px;height:38px;border-radius:10px;background:#1a2b43;color:#92aaff;display:grid;place-items:center}.member-plan-card h3{font:700 16px Manrope;margin:15px 0 5px}.member-plan-card>p{font-size:11px;color:#8a9ab0;min-height:34px}.member-plan-price{font:750 25px Manrope;margin:14px 0}.member-plan-price small{font:500 11px DM Sans;color:#91a0b5}.member-feature-list{display:grid;gap:8px;margin:14px 0 18px;min-height:24px}.member-feature-list span{display:flex;align-items:center;gap:7px;color:#9eacbf;font-size:11px;text-transform:capitalize}.member-feature-list svg{color:#4bd09c}.member-empty{color:#8798ae;font-size:12px}.member-footer{color:#73849a;font-size:10px;margin-top:28px}.account-admin-page{display:grid;gap:16px}.account-admin-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}.account-admin-heading h1{font:750 26px Manrope;margin:7px 0 4px}.account-admin-heading p{color:#8b9bb1;font-size:12px;margin:0}.account-admin-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.account-admin-stats article{min-height:98px;padding:15px;border:1px solid #24354b;border-radius:10px;background:#101a29;display:grid;grid-template-columns:22px 1fr;align-content:center;column-gap:9px}.account-admin-stats svg{color:#79bdf0;grid-row:span 2}.account-admin-stats small{color:#8494a9;font-size:10px}.account-admin-stats b{margin-top:5px;font-size:14px}.account-admin-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:14px}.account-admin-card{min-width:0}.account-admin-card>.panel-header>svg{color:#7fa9d2}.account-admin-form{display:grid;gap:12px;padding:17px}.account-admin-form>label{font-size:11px}.account-admin-form .btn{justify-self:start}.account-admin-help{display:block;color:#8292a8;font-size:10px;line-height:1.5;margin:0 17px 15px}.account-invite-result{display:flex;gap:9px;align-items:center;margin:0 17px;padding:10px;border:1px solid #32425a;background:#0b1522;border-radius:8px}.account-invite-result span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;color:#a9c8f0;font:10px DM Mono,monospace}.account-invite-result .btn{height:30px}.plan-form{grid-template-columns:1fr 1fr}.plan-form fieldset{grid-column:1/-1;border:1px solid #2a3b52;border-radius:8px;padding:10px}.plan-form legend{color:#9eabc0;font-size:10px;padding:0 5px}.account-feature-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.account-feature-options label{display:flex;align-items:center;gap:7px;color:#aebbd0;font-size:10px;text-transform:capitalize}.account-feature-options input{width:14px;height:14px;accent-color:#4bd09c}.plan-form>button,.plan-form>.account-admin-help{grid-column:1/-1}.account-wide-card{grid-column:1/-1}.account-mode-badge{border:1px solid #34445b;border-radius:20px;padding:7px 10px;color:#a9bbd1;font:600 9px DM Mono,monospace}.account-plan-table{padding:4px 16px}.account-plan-row{display:grid;grid-template-columns:1.4fr 1fr .8fr .7fr auto;align-items:center;gap:14px;padding:13px 0;border-bottom:1px solid #202f43}.account-plan-row:last-child{border:0}.account-plan-row b,.account-plan-row small{display:block}.account-plan-row b{font-size:12px}.account-plan-row small,.account-plan-row>span{color:#8292a7;font-size:10px;margin-top:4px}.account-plan-row>strong{font-size:11px}.account-plan-state{color:#dbad65!important}.account-plan-state.active{color:#6bd4a7!important}.account-plan-row .btn{height:31px}.account-users-list{padding:4px 16px}.account-user-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #202f43}.account-user-row:last-child{border-bottom:0}.account-user-avatar{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#20334c;color:#b3d3f3;font-weight:700}.account-user-info{min-width:150px;flex:1}.account-user-info b,.account-user-info small{display:block}.account-user-info b{font-size:11px}.account-user-info small{font-size:9px;color:#8393a8;margin-top:3px}.account-user-status{border:1px solid #564646;border-radius:20px;padding:5px 8px;color:#d59a8e;font-size:9px;text-transform:capitalize}.account-user-status.active{border-color:#285a48;color:#79d8ae}.account-user-actions{display:flex;align-items:center;gap:7px}.account-user-actions select{width:165px;height:32px;font-size:10px}.account-user-actions .btn{height:31px;font-size:10px}@media(max-width:1000px){.account-admin-grid{grid-template-columns:1fr}.account-admin-stats{grid-template-columns:repeat(2,1fr)}.account-plan-row{grid-template-columns:1fr 1fr auto}.account-plan-row>span:nth-of-type(1){display:none}.account-user-row{flex-wrap:wrap}.account-user-actions{width:100%;padding-left:46px}.account-user-info{flex:1 1 calc(100% - 100px)}}@media(max-width:600px){.account-auth-card{padding:25px}.member-portal{padding-left:16px;padding-right:16px}.member-status-card,.member-plans-heading{align-items:flex-start;flex-direction:column}.account-admin-stats{grid-template-columns:1fr 1fr}.account-admin-heading{align-items:flex-start;flex-direction:column}.plan-form{grid-template-columns:1fr}.plan-form fieldset,.plan-form>button,.plan-form>.account-admin-help{grid-column:auto}.account-plan-row{grid-template-columns:1fr auto}.account-plan-row>strong{grid-column:1}.account-plan-row>span{grid-column:1}.account-plan-row .btn{grid-column:2;grid-row:1/4}.account-user-actions{padding-left:0;flex-wrap:wrap}.account-user-actions select{width:100%}}.member-status-actions{display:flex;align-items:center;gap:8px}.member-feature-card h3{font:700 12px Manrope;color:#a9bad0;margin:18px 0 10px}.member-plan-card h4{font:700 10px Manrope;color:#9aabc2;text-transform:uppercase;letter-spacing:.07em;margin:14px 0 -7px}.plan-form fieldset .account-admin-help{margin:10px 0 0}.app-shell,.app-shell .main-area,.app-shell .content{min-width:0}.app-shell .content{width:100%;max-width:none;padding:clamp(12px,1.8vw,28px)}.app-shell :is(.workspace-page,.charts-workspace,.backtest-workspace,.account-admin-page,.traders-diary-workspace,.paper-strategy-panel){min-width:0;max-width:100%}.app-shell :is(.workspace-page-heading,.welcome-row,.panel-header,.backtest-card-heading,.bt-results-header,.account-admin-heading,.broker-config-header){gap:12px;flex-wrap:wrap}.app-shell :is(.workspace-page-heading,.panel-header,.bt-results-header,.account-admin-heading)>div{min-width:0}.app-shell :is(.top-actions,.connection-actions,.panel-actions,.bt-results-actions,.backtest-run-row,.broker-history-controls,.diary-header-controls,.paper-session-action-buttons,.account-user-actions){flex-wrap:wrap}.app-shell :is(.table-wrap,.paper-table-scroll,.strategy-methods-scroll,.trade-positions-table-wrap,.trade-rejections-table-wrap,.bt-strategy-table-wrap,.broker-table-scroll,.diary-recent-table){min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;-webkit-overflow-scrolling:touch}.app-shell :is(.account-user-info,.broker-field,.member-access-editor,.backtest-method-card,.bt-result-card,.diary-card){min-width:0;overflow-wrap:anywhere}.app-shell :is(input,select,textarea){min-width:0;max-width:100%}.app-shell :is(.account-error,.account-success,.paper-error,.strategy-start-feedback,.paper-live-readiness,.backtest-notice){overflow-wrap:anywhere}.app-shell .backtest-method-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr))}.app-shell .backtest-method-sizing-controls{display:flex;flex-wrap:wrap;gap:10px}.app-shell .paper-session-action{min-width:0}.app-shell .chart-panel header{flex-wrap:wrap;gap:8px}.app-shell .chart-controls-interactive{flex-wrap:wrap;gap:6px}.app-shell .chart-controls-interactive>*{max-width:100%}.app-shell .chart-ohlc-strip{min-width:0;max-width:100%;overflow-x:auto}@media(min-width:761px)and (max-width:1200px){.app-shell .topbar{height:auto;min-height:56px;gap:10px;padding:10px 16px;flex-wrap:wrap}.app-shell .top-actions{gap:8px}.app-shell .broker-configuration-grid{grid-template-columns:minmax(0,1fr)}.app-shell .broker-side-stack{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .account-admin-grid{grid-template-columns:minmax(0,1fr)}.app-shell .paper-session-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .paper-session-action-buttons{justify-content:flex-start}.app-shell .paper-session-action-title{flex-basis:100%}}@media(max-width:760px){.app-shell{display:flex;flex-direction:column}.app-shell .sidebar{position:relative;inset:auto;width:100%;max-height:none;min-height:0;padding:10px 12px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;border-right:0;border-bottom:1px solid #23344b;overflow:visible}.app-shell .sidebar .brand{grid-column:1;grid-row:1;padding:0;gap:8px;min-width:0}.app-shell .sidebar .brand-mark{width:30px;height:30px;flex:none}.app-shell .sidebar .brand-name{font-size:12px;letter-spacing:1.5px}.app-shell .sidebar .brand-sub{font-size:8px;letter-spacing:2px}.app-shell .sidebar .workspace-label,.app-shell .sidebar .sidebar-section-label,.app-shell .sidebar .sidebar-metrics,.app-shell .sidebar .sidebar-foot{display:none}.app-shell .sidebar-nav{grid-column:1/-1;grid-row:2;display:flex;flex-direction:row;gap:6px;min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding-bottom:3px}.app-shell .sidebar .nav-item{width:auto;flex:0 0 auto;min-height:42px;padding:8px 11px;gap:7px;font-size:12px;margin:0}.app-shell .sidebar .nav-item span{display:inline}.app-shell .sidebar-bottom{grid-column:2;grid-row:1;margin:0;padding:0;border:0}.app-shell .sidebar-account{padding:0;border:0;gap:6px}.app-shell .sidebar-account .account-copy{display:none}.app-shell .sidebar-account button{min-width:38px;min-height:38px}.app-shell .main-area{margin-left:0;width:100%}.app-shell .topbar{height:auto;min-height:54px;padding:10px 12px;flex-wrap:wrap;gap:9px}.app-shell .crumb{font-size:11px;overflow-wrap:anywhere}.app-shell .top-actions{width:100%;gap:7px;justify-content:flex-start}.app-shell .connection-pill{max-width:100%;font-size:9px;white-space:normal;overflow-wrap:anywhere}.app-shell .top-actions .avatar{margin-left:auto}.app-shell .content{padding:12px}.app-shell :is(.welcome-row,.workspace-page-heading,.account-admin-heading,.diary-page-header){align-items:flex-start}.app-shell :is(.welcome-row h1,.workspace-page-heading h1,.account-admin-heading h1,.bt-results-header h2){font-size:clamp(21px,5vw,27px)}.app-shell .market-clock{flex-wrap:wrap}.app-shell :is(.overview-grid,.broker-summary-grid,.broker-configuration-grid,.broker-side-stack,.broker-form-grid,.broker-required-settings,.account-admin-grid,.plan-form,.backtest-fields,.bt-equity-grid,.bt-summary-row,.paper-session-actions){grid-template-columns:minmax(0,1fr)}.app-shell .backtest-method-grid{grid-template-columns:minmax(0,1fr)}.app-shell .bt-summary-row>*{grid-column:auto}.app-shell .bt-provisional{flex-direction:column;align-items:flex-start;gap:8px}.app-shell .bt-provisional-title{border-right:0;padding-right:0}.app-shell .paper-session-action{display:flex;flex-wrap:wrap;gap:10px}.app-shell .paper-session-action-title,.app-shell .paper-session-action-buttons{width:100%;min-width:0}.app-shell .paper-session-action-buttons .paper-btn{flex:1 1 130px;justify-content:center;white-space:normal}.app-shell .paper-execution-mode-options{display:flex;flex-wrap:wrap;width:100%}.app-shell .paper-execution-mode-option{flex:1 1 160px}.app-shell .paper-strategy-head{min-width:0;max-width:100%}.app-shell .strategy-page-brand{font-size:17px;min-width:0}.app-shell .paper-live-readiness-controls{flex-wrap:wrap;min-width:0}.app-shell .paper-live-readiness-controls small{flex:1 1 200px}.app-shell .account-user-row{flex-wrap:wrap}.app-shell .account-user-info{min-width:0;flex:1 1 160px}.app-shell .account-user-actions{width:100%;padding-left:0}.app-shell .account-user-actions select{width:100%}.app-shell .account-feature-options{grid-template-columns:minmax(0,1fr)}.app-shell .member-access-editor .account-feature-options{display:grid;grid-template-columns:minmax(0,1fr)}.app-shell :is(.btn,.paper-btn,.theme-toggle,.diary-view-tabs button){min-height:40px}.app-shell :is(.charts-toolbar,.chart-toolbar,.chart-workspace-toolbar){flex-wrap:wrap}.app-shell .strategy-select-label{width:100%;min-width:0}.app-shell .chart-controls-interactive .chart-history-status{margin-left:0}.app-shell .charts-grid{grid-template-columns:minmax(0,1fr)}.account-auth-page{padding:16px}.account-auth-card{width:100%;max-width:440px;min-width:0;padding:22px}}@media(max-width:400px){.app-shell .content,.app-shell .sidebar{padding:8px}.app-shell .strategy-command-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .strategy-command-metrics>div{padding:4px 6px}.app-shell :is(.account-admin-stats,.trade-monitor-summary,.diary-kpi-grid){grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .trade-position-search{flex-basis:100%;width:100%}.app-shell .chart-controls-interactive button{min-height:36px}}@media(max-width:760px){.app-shell .sidebar .brand>div:last-child{display:block}.app-shell .sidebar-bottom{display:block}.app-shell .sidebar-account{display:flex}.app-shell input:not([type=checkbox]):not([type=radio]),.app-shell select,.app-shell textarea{font-size:16px}}.app-shell .paper-strategies-workspace .paper-execution-mode-options{overflow:visible;display:flex;flex-wrap:wrap;align-items:stretch}.app-shell .paper-strategies-workspace .paper-execution-mode-option{min-width:0;max-width:100%;white-space:normal;line-height:1.4;min-height:42px}.app-shell .paper-strategies-workspace .paper-execution-mode-option>span{min-width:0;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:normal}@media(min-width:901px){.app-shell .paper-strategies-workspace .dual-session-toolbar.session-controls-compact{grid-template-columns:minmax(280px,360px) minmax(0,1fr)}.app-shell .paper-strategies-workspace .paper-execution-mode-option.paper{flex:0 1 44%}.app-shell .paper-strategies-workspace .paper-execution-mode-option.live{flex:1 1 56%}}@media(min-width:1800px){.app-shell .content{padding:24px 28px}.app-shell .nav-item{font-size:14px}.app-shell .paper-strategies-workspace .strategy-methods-table td,.app-shell .trade-positions-table td{font-size:13px}.app-shell .paper-strategies-workspace .strategy-methods-table th{font-size:11px}.app-shell .paper-strategies-workspace .paper-btn,.app-shell .paper-execution-mode-option{font-size:13px}.app-shell .paper-strategies-workspace .strategy-command-metrics small{font-size:10px}.app-shell .paper-strategies-workspace .strategy-command-metrics b{font-size:13px}}.app-shell .execution-board-shell{min-width:0;max-width:100%}.app-shell .paper-strategies-workspace .paper-strategy-head{grid-template-columns:minmax(0,1fr) auto}.app-shell .paper-strategies-workspace .execution-session-board{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:end;gap:12px;padding:14px;border:1px solid #293f5a;border-radius:12px;background:#121f33}.app-shell .execution-session-board .paper-strategy-control-grid{grid-column:1;display:block;min-width:0;width:100%}.app-shell .execution-session-board .paper-execution-mode-control{display:flex;width:100%;min-width:0;align-items:flex-start;gap:0}.app-shell .execution-session-board .paper-execution-mode-control>span{font-size:10px;letter-spacing:.07em;white-space:nowrap}.app-shell .execution-session-board .paper-execution-mode-options{display:flex;flex-wrap:nowrap;gap:8px;border:0;overflow:visible;margin-top:10px;width:auto;max-width:100%}.app-shell .execution-session-board .paper-execution-mode-option{flex:0 1 auto;white-space:nowrap;min-height:38px;font-size:12px;padding:8px 11px;border:1px solid #344962;border-radius:9px}.app-shell .execution-session-board .paper-execution-mode-option>span{white-space:nowrap}.app-shell .execution-session-board .paper-execution-mode-option.paper.selected{border-color:#168f70;background:#123b35;box-shadow:inset 0 0 0 1px #1c7660}.app-shell .execution-session-board .execution-board-note{grid-column:2;align-self:center;text-align:right;color:#8b9eb5;font-size:11px;line-height:1.5;margin:0}.app-shell .paper-strategies-workspace .execution-session-board .paper-session-actions{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;padding:0;border:0}.app-shell .execution-session-board .paper-session-action{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 12px;min-width:0;padding:14px;border:1px solid #2a425d;border-radius:10px;background:#0e1a2b;box-shadow:none}.app-shell .execution-session-board .paper-session-action.live{border-color:#69462c;background:linear-gradient(120deg,#39271935,#0e1a2b 55%)}.app-shell .execution-session-board .paper-session-action-title{display:flex;flex-direction:column;gap:4px;min-width:0;width:auto}.app-shell .execution-session-board .paper-session-action-title b{font-size:14px;white-space:nowrap}.app-shell .execution-session-board .paper-session-action-title span{font-size:11px;white-space:nowrap}.app-shell .execution-session-board .paper-session-action-buttons{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end;width:auto}.app-shell .execution-session-board .paper-session-action-buttons .paper-btn{min-width:110px;min-height:36px;white-space:nowrap;padding:8px 12px;font-size:11px;justify-content:center;flex:0 1 auto}.app-shell .execution-session-board .strategy-start-feedback,.app-shell .execution-session-board .session-readiness-info,.app-shell .execution-session-board .paper-unmanaged-resolution{grid-column:1/-1;min-width:0;max-width:none}.app-shell .execution-session-board .session-feedback-collapsed{display:none}.app-shell .execution-session-board .session-readiness-info .paper-live-readiness-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0}.app-shell .execution-session-board .paper-live-readiness{flex:1 1 220px;font-size:11px;line-height:1.45}.app-shell .execution-session-board .strategy-start-feedback{font-size:11px;line-height:1.45}.app-shell .execution-board-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:12px;min-width:0}.app-shell .execution-board-metrics>div{display:flex;flex-direction:column;gap:6px;min-width:0;padding:12px;border:1px solid #293f5a;border-radius:9px;background:#121f33}.app-shell .execution-board-metrics svg{display:none}.app-shell .execution-board-metrics small{font-size:9px;line-height:1.25;color:#91a3ba;white-space:nowrap}.app-shell .execution-board-metrics b{font-size:14px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media(max-width:1100px){.app-shell .execution-session-board .paper-session-action{padding:11px;gap:8px}.app-shell .execution-session-board .paper-session-action-title span{font-size:10px}.app-shell .execution-session-board .paper-session-action-buttons .paper-btn{min-width:95px;padding:8px;font-size:10px}.app-shell .execution-board-metrics>div{padding:10px}.app-shell .execution-board-metrics b{font-size:12px}}@media(max-width:760px){.app-shell .paper-strategies-workspace .paper-strategy-head{grid-template-columns:minmax(0,1fr)}.app-shell .paper-strategies-workspace .execution-session-board{grid-template-columns:minmax(0,1fr);padding:12px;gap:12px}.app-shell .execution-session-board .execution-board-note{grid-column:1;text-align:left;font-size:11px}.app-shell .paper-strategies-workspace .execution-session-board .paper-session-actions{grid-template-columns:minmax(0,1fr)}.app-shell .execution-session-board .paper-session-action-buttons .paper-btn{min-height:40px}.app-shell .execution-board-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .execution-board-metrics>div:last-child{grid-column:1/-1}}.app-shell .paper-strategies-workspace .execution-session-board .paper-execution-mode-option.paper,.app-shell .paper-strategies-workspace .execution-session-board .paper-execution-mode-option.live{flex:0 0 auto;min-width:max-content}.app-shell .paper-strategies-workspace .paper-strategy-head{gap:10px;margin-bottom:12px}.app-shell .paper-strategies-workspace .paper-strategy-title-wrap h2{font-size:25px;line-height:1.2}.app-shell .paper-strategies-workspace .paper-strategy-title-wrap p{font-size:11px;line-height:1.4}.app-shell .paper-strategies-workspace .execution-session-board{padding:10px 12px;gap:9px 12px;align-items:center}.app-shell .execution-session-board .paper-execution-mode-options{margin-top:7px;gap:7px}.app-shell .execution-session-board .paper-execution-mode-option{min-height:36px;padding:7px 10px;font-size:11px}.app-shell .execution-session-board .execution-board-note{font-size:10px;line-height:1.4}.app-shell .execution-session-board .paper-session-action{padding:11px 12px;gap:7px 10px}.app-shell .execution-session-board .paper-session-action-title{gap:3px}.app-shell .execution-session-board .paper-session-action-title b{font-size:13px}.app-shell .execution-session-board .paper-session-action-title span{font-size:10px}.app-shell .execution-session-board .paper-session-action-buttons .paper-btn{min-height:34px;padding:7px 10px;min-width:100px}.app-shell .execution-session-board .paper-live-readiness,.app-shell .execution-session-board .strategy-start-feedback{font-size:10px;line-height:1.4}.app-shell .execution-board-metrics{gap:7px;margin-top:9px}.app-shell .execution-board-metrics>div{padding:9px 10px;gap:4px}.app-shell .execution-board-metrics small{font-size:9px}.app-shell .execution-board-metrics b{font-size:13px}.app-shell .paper-strategies-workspace .strategy-methods-panel{padding:10px 10px 7px;margin-top:10px}.app-shell .paper-strategies-workspace .strategy-methods-heading{margin-bottom:8px}.app-shell .paper-strategies-workspace .strategy-methods-table th{padding-top:8px;padding-bottom:8px}.app-shell .paper-strategies-workspace .strategy-methods-table td{padding-top:6px;padding-bottom:6px}@media(min-width:761px)and (max-width:1150px){.app-shell .execution-session-board .paper-session-action{grid-template-columns:minmax(0,1fr);align-content:start}.app-shell .execution-session-board .paper-session-action-buttons{justify-content:flex-start}.app-shell .execution-session-board .paper-session-action-title span{white-space:nowrap}.app-shell .execution-session-board .session-readiness-info{grid-column:1}.app-shell .execution-board-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}.app-shell .execution-board-metrics small{font-size:8px}}@media(max-width:760px){.app-shell .paper-strategies-workspace .execution-session-board{padding:10px;gap:10px}.app-shell .execution-session-board .execution-board-note{margin:0;font-size:10px}.app-shell .execution-session-board .paper-session-action{grid-template-columns:minmax(0,1fr) auto}.app-shell .execution-session-board .paper-session-action-buttons .paper-btn{min-height:40px;min-width:95px}.app-shell .execution-board-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .execution-board-metrics>div:last-child{grid-column:auto}.app-shell .execution-board-metrics>div:first-child{grid-column:1/-1}.app-shell .paper-strategies-workspace .strategy-methods-panel{padding:9px 7px}}
