.market-only-version .trade-store-live,.market-only-version .trade-store-time-lock{display:none!important}.dashboard-version-v2.trading-workspace-page{min-height:100vh;padding-bottom:34px}.dashboard-version-v2 .trading-workspace-intro{max-width:1640px;margin:14px auto 10px;border:1px solid #1b4036;border-radius:14px;background:radial-gradient(circle at 72% 0,rgba(35,111,82,.16),transparent 34%),linear-gradient(180deg,#071914,#04110e);padding:18px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.dashboard-version-v2 .trading-workspace-intro>div:first-child>span{display:block;font-size:10px;letter-spacing:.12em;color:#65a08c;direction:ltr}.dashboard-version-v2 .trading-workspace-intro h1{margin:5px 0 6px;font-size:27px;direction:ltr}.dashboard-version-v2 .trading-workspace-intro p{margin:0;color:#8ba198;font-size:12px;line-height:1.5;max-width:780px}.dashboard-version-v2 .trading-workspace-feed{display:flex;align-items:center;gap:8px;direction:ltr;flex-wrap:wrap;justify-content:flex-end}.dashboard-version-v2 .trading-workspace-feed span{border:1px solid rgba(255,255,255,.07);background:#071713;border-radius:8px;padding:8px 10px;color:#82968f;font-size:9px}.dashboard-version-v2 .trading-workspace-feed b{color:#e5f1ed;font-size:10px;margin-left:3px}.dashboard-version-v2.trading-workspace-page .trade-store-live{max-width:1640px;margin:0 auto}.dashboard-version-v2 .demo-design-reference{max-width:1640px;margin:0 auto 10px;border:1px solid rgba(84,119,106,.26);border-radius:11px;background:linear-gradient(180deg,rgba(7,23,18,.82),rgba(4,15,12,.82));overflow:hidden}.dashboard-version-v2 .demo-design-reference>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;color:#91a79f;font-size:10px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dashboard-version-v2 .demo-design-reference>summary::-webkit-details-marker{display:none}.dashboard-version-v2 .demo-design-reference>summary span{display:flex;align-items:center;gap:5px}.dashboard-version-v2 .demo-design-reference>summary b{color:#d5e5df;font-size:11px}.dashboard-version-v2 .demo-design-reference>summary small{font-size:9px;color:#6e8b80;direction:rtl}.dashboard-version-v2 .demo-design-reference>summary:after{content:"▸";font-size:12px;color:#5f8d7c;transition:transform .18s ease}.dashboard-version-v2 .demo-design-reference[open]>summary:after{transform:rotate(90deg)}.dashboard-version-v2 .demo-design-reference[open]>summary{border-bottom:1px solid rgba(84,119,106,.2)}.dashboard-version-v2 .demo-design-reference-body{padding:8px 0 2px}.demo-desk-redesign{max-width:1640px;margin:14px auto 0;direction:rtl;color:#d7e8e1;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;background:#03100d;border:1px solid #163d31;border-radius:14px;overflow:hidden;box-shadow:0 18px 70px rgba(0,0,0,.22)}.demo-account-strip{display:grid;grid-template-columns:minmax(180px,1.5fr) repeat(5,minmax(110px,.8fr)) 48px;align-items:stretch;background:linear-gradient(180deg,#071b15,#05140f);border-bottom:1px solid #173f33}.demo-account-strip>div{padding:12px 14px;border-left:1px solid rgba(96,145,126,.15);min-height:65px;display:flex;flex-direction:column;justify-content:center;gap:5px}.demo-account-strip>div>span{font-size:9px;color:#6f9487;letter-spacing:.04em}.demo-account-strip>div>strong{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:17px;color:#ecf8f4}.demo-account-identity{position:relative;padding-right:30px!important}.demo-account-identity i{position:absolute;right:14px;top:18px;width:8px;height:8px;border-radius:50%;background:#5f6f69}.demo-account-identity i.on{background:#26d989;box-shadow:0 0 12px rgba(38,217,137,.45)}.demo-account-identity span{font-size:14px!important;color:#f3faf7!important;font-weight:800}.demo-account-identity small{font-size:9px;color:#6f8c82}.demo-settings-button{margin:9px;border:1px solid #255543;border-radius:8px;background:#0a241b;color:#9bd2bd;font-size:18px;cursor:pointer}.demo-settings-button:hover{background:#0e3125}.positive{color:#45e7a1!important}.negative{color:#ff6d70!important}.demo-test-kpi-line{padding:6px 14px;background:#151307;color:#c9a94d;border-bottom:1px solid #413713;font-size:9px}.demo-test-kpi-line b{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.demo-desk-status-line{display:flex;align-items:center;gap:15px;padding:7px 14px;border-bottom:1px solid rgba(68,110,94,.16);background:#04130f;color:#6c8f82;font-size:8px;direction:ltr}.demo-desk-status-line .ok{color:#5fdba8}.demo-desk-status-line .bad{color:#ff7678}.demo-desk-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid #16382f;background:#061712;position:-webkit-sticky;position:sticky;top:0;z-index:8}.demo-asset-filters,.demo-desk-tabs{display:flex;gap:6px;flex-wrap:wrap}.demo-asset-filters button,.demo-desk-tabs button{border:1px solid #21483a;background:#071c15;color:#76998d;border-radius:8px;padding:8px 12px;font-size:10px;cursor:pointer}.demo-desk-tabs button b{display:inline-flex;min-width:18px;height:18px;padding:0 5px;align-items:center;justify-content:center;border-radius:9px;background:#0e2c22;color:#b2d7c9;margin-right:5px}.demo-asset-filters button.active,.demo-desk-tabs button.active{background:#0d3627;color:#e8f8f1;border-color:#2d7758;box-shadow:inset 0 0 0 1px rgba(62,174,126,.12)}.demo-asset-filters .asset-gold.active{border-color:#9c7d24;color:#e7cb70}.demo-asset-filters .asset-bitcoin.active{border-color:#9c6324;color:#efa560}.demo-asset-filters .asset-silver.active{border-color:#6c7f86;color:#c5d1d5}.demo-asset-filters .asset-nasdaq.active{border-color:#276b96;color:#7dc8f3}.demo-action-message{margin:10px 12px 0;border:1px solid #70591f;background:#181509;color:#e3c76c;border-radius:8px;padding:9px 11px;font-size:10px;display:flex;align-items:center;justify-content:space-between}.demo-action-message button{border:0;background:transparent;color:#d8bd65;cursor:pointer}.demo-tab-panel{padding:12px;background:#04120e;min-height:420px}.demo-panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px}.demo-panel-head>div{display:flex;flex-direction:column;gap:3px}.demo-panel-head span{font-size:8px;letter-spacing:.12em;color:#4e7f6d}.demo-panel-head strong{font-size:15px;color:#ecf7f3}.demo-panel-head small{font-size:9px;color:#718c82}.demo-panel-head>button{border:1px solid #23503f;background:#082119;color:#8dc2ae;border-radius:7px;padding:7px 10px;cursor:pointer}.demo-empty-state{min-height:160px;display:flex;align-items:center;justify-content:center;gap:12px;flex-direction:column;border:1px dashed #24473b;border-radius:10px;color:#6d8d82;background:#05140f}.demo-empty-state button{border:1px solid #2d6a50;background:#0b2c20;color:#a9dbc8;border-radius:7px;padding:8px 11px}.demo-position-rows{display:flex;flex-direction:column;gap:8px}.demo-position-row{border:1px solid #1b4436;border-right:3px solid #2f8060;border-radius:10px;background:linear-gradient(180deg,#071914,#05130f);overflow:hidden}.demo-position-row.short{border-right-color:#a43d46}.demo-position-row.test{opacity:.75;border-style:dashed}.demo-position-main{display:grid;grid-template-columns:1.2fr repeat(3,1fr);grid-gap:0;gap:0;border-bottom:1px solid rgba(95,139,122,.14)}.demo-position-main>div{padding:10px 12px;border-left:1px solid rgba(95,139,122,.12);display:flex;flex-direction:column;gap:4px}.demo-position-main span{font-size:9px;color:#71958a}.demo-position-main strong{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:15px}.demo-position-main small{font-size:9px;color:#607e74}.demo-position-main b.long,.demo-signal-list-item b.long,.demo-ticket-head b.long{color:#4be5a2}.demo-position-main b.short,.demo-signal-list-item b.short,.demo-ticket-head b.short{color:#ff666c}.demo-position-main em{font-style:normal;font-size:8px;color:#e7ba50;border:1px solid #6d5720;padding:2px 4px;border-radius:4px}.demo-position-management{display:flex;align-items:flex-end;gap:8px;padding:9px 10px;flex-wrap:wrap}.demo-position-management label{display:flex;align-items:center;gap:5px}.demo-position-management label span{font-size:8px;color:#5f8778}.demo-close-modal input,.demo-position-management input,.demo-settings-drawer input,.demo-ticket-risk input{background:#03100c;border:1px solid #24503f;border-radius:6px;color:#daf0e7;padding:7px 8px;min-width:100px;direction:ltr;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.demo-modal-actions button,.demo-position-management button,.demo-settings-drawer button,.demo-ticket-actions button{border:1px solid #285744;background:#0a241b;color:#a3cabb;border-radius:6px;padding:7px 9px;cursor:pointer}.demo-position-management button:disabled{opacity:.35;cursor:not-allowed}.danger,.demo-close-button{border-color:#78343b!important;background:#2a0d12!important;color:#ff9297!important}.primary{background:#2d9e74!important;border-color:#42c996!important;color:white!important}.demo-signal-workspace{display:grid;grid-template-columns:minmax(270px,.7fr) minmax(520px,1.3fr);grid-gap:10px;gap:10px}.demo-signal-list{border:1px solid #17392f;border-radius:10px;background:#05140f;overflow:hidden;max-height:640px;overflow-y:auto}.demo-signal-group{border-bottom:1px solid rgba(86,123,109,.13)}.demo-signal-list-item{width:100%;display:grid;grid-template-columns:8px 1fr 55px 78px 36px;align-items:center;grid-gap:8px;gap:8px;text-align:right;border:0;background:transparent;color:#cfe2da;padding:10px;cursor:pointer}.demo-signal-list-item.active{background:#0b271e}.demo-signal-list-item>div{display:flex;flex-direction:column;gap:2px}.demo-signal-list-item strong{font-size:11px}.demo-signal-list-item small{font-size:8px;color:#6d9184}.demo-signal-list-item em{font-style:normal;font-size:8px;color:#6b847b}.demo-signal-list-item i{font-style:normal;background:#12382a;border:1px solid #265a45;border-radius:8px;padding:3px 5px;font-size:8px;color:#9dd0bd}.asset-mark{width:5px;height:24px;border-radius:3px;background:#507466}.asset-mark.asset-gold{background:#caa536}.asset-mark.asset-bitcoin{background:#e98934}.asset-mark.asset-silver{background:#9facb1}.asset-mark.asset-nasdaq{background:#3597cb}.demo-group-expanded{background:#071c16;padding:5px 10px;display:flex;flex-direction:column;gap:4px}.demo-group-expanded button{border:0;background:transparent;color:#73988a;font-size:8px;text-align:right;cursor:pointer}.demo-signal-ticket{border:1px solid #17392f;border-radius:10px;background:#061712;padding:12px}.demo-ticket-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;border-bottom:1px solid #17382e;padding-bottom:10px}.demo-ticket-head>div{display:flex;flex-direction:column;gap:4px}.demo-ticket-head small,.demo-ticket-head span{font-size:8px;color:#628678}.demo-ticket-head strong{font-size:16px}.demo-ticket-head a{color:#70b99d;font-size:9px;border:1px solid #285340;border-radius:6px;padding:6px 8px;text-decoration:none}.demo-ticket-prices,.demo-ticket-summary{display:grid;grid-template-columns:repeat(4,1fr);margin-top:10px;border:1px solid #17392e;border-radius:8px;overflow:hidden}.demo-ticket-prices>div,.demo-ticket-summary>div{padding:10px;border-left:1px solid #17392e;display:flex;flex-direction:column;gap:5px}.demo-ticket-prices span,.demo-ticket-summary span{font-size:8px;color:#63887a}.demo-ticket-prices b,.demo-ticket-summary b{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.demo-ticket-risk{display:grid;grid-template-columns:140px repeat(3,1fr);grid-gap:8px;gap:8px;margin-top:10px}.demo-settings-drawer label,.demo-ticket-risk label{display:flex;flex-direction:column;gap:4px;font-size:8px;color:#6d9082}.demo-risk-mode{display:flex;gap:4px}.demo-risk-mode button{flex:1 1;border:1px solid #28503f;background:#061812;color:#769a8c;border-radius:6px}.demo-risk-mode button.active{background:#0f3528;color:#d8efe6;border-color:#327959}.demo-warning{margin-top:9px;border:1px solid #755e23;background:#191609;color:#e7c45e;border-radius:7px;padding:8px 9px;font-size:9px}.demo-invalid,.demo-valid{display:block;margin-top:8px;font-size:9px}.demo-valid{color:#53d99f}.demo-invalid{color:#ff777a}.demo-ticket-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:10px}.demo-ticket-actions button{min-width:110px}.demo-journal-summary{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #17392f;border-radius:8px;overflow:hidden;margin-bottom:10px}.demo-journal-summary>div{padding:9px 12px;border-left:1px solid #17392f;display:flex;justify-content:space-between;gap:10px}.demo-journal-summary span{font-size:8px;color:#6f9386}.demo-journal-summary b{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.demo-journal-list{border:1px solid #17392f;border-radius:9px;overflow:hidden}.demo-journal-row{display:grid;grid-template-columns:115px 115px 140px 85px 1fr 90px 60px;grid-gap:8px;gap:8px;align-items:center;padding:8px 10px;border-bottom:1px solid rgba(88,126,111,.12);font-size:9px}.demo-journal-row.test{opacity:.6}.demo-journal-row em,.demo-journal-row span{color:#6f8c82;font-style:normal}.demo-journal-row p{margin:0;color:#9db6ad}.demo-journal-row i{font-style:normal;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.demo-journal-row button{border:1px solid #2a604a;background:#0a241b;color:#85bea8;border-radius:5px;padding:4px}.demo-modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.72);z-index:120;display:flex;align-items:center;justify-content:center;padding:20px}.demo-close-modal{width:min(560px,94vw);border:1px solid #315a49;background:#071713;border-radius:12px;padding:17px;box-shadow:0 25px 90px rgba(0,0,0,.45)}.demo-close-modal>span{font-size:8px;color:#6c9988;letter-spacing:.12em}.demo-close-modal h3{margin:5px 0 12px}.demo-close-presets{display:grid;grid-template-columns:repeat(5,1fr);grid-gap:5px;gap:5px}.demo-close-presets button{border:1px solid #28513f;background:#081e17;color:#84a99a;border-radius:6px;padding:8px}.demo-close-presets button.active{background:#154832;color:#dff5ec;border-color:#3e936a}.demo-close-summary{display:grid;grid-template-columns:1fr 1fr;grid-gap:1px;gap:1px;background:#17392f;border:1px solid #17392f;border-radius:8px;overflow:hidden;margin-top:10px}.demo-close-summary>div{background:#061510;padding:9px;display:flex;justify-content:space-between}.demo-close-summary span{font-size:8px;color:#68897d}.demo-modal-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:12px}.demo-settings-drawer{position:fixed;top:0;right:0;bottom:0;width:min(430px,96vw);z-index:130;background:#061611;border-left:1px solid #28513f;box-shadow:-20px 0 80px rgba(0,0,0,.4);padding:14px;overflow-y:auto}.demo-settings-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #1b3c31;padding-bottom:10px}.demo-settings-head>div{display:flex;flex-direction:column;gap:3px}.demo-settings-head span{font-size:8px;color:#638979}.demo-settings-head strong{font-size:15px}.demo-settings-head>button{border:0;background:transparent;color:#8cb2a3;font-size:20px}.demo-settings-drawer section{border-bottom:1px solid #17362d;padding:12px 0}.demo-settings-drawer h4{margin:0 0 8px;font-size:11px}.demo-setting-row{display:flex;justify-content:space-between;gap:10px;padding:7px 0;font-size:8px}.demo-setting-row span{color:#6d8e82}.demo-setting-row b{max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.demo-settings-drawer section>label{margin:6px 0}.demo-create-account{display:flex;gap:6px}.demo-archived-list{margin-top:8px;display:flex;flex-direction:column;gap:5px}.demo-archived-list>div{border:1px solid #1d4336;border-radius:6px;padding:7px;display:grid;grid-template-columns:1fr 1fr;grid-gap:3px;gap:3px}.demo-archived-list small{grid-column:1/-1;color:#67877b}.demo-reset-box{margin-top:10px;border:1px solid #55272b;background:#15090b;border-radius:7px;padding:8px}.demo-reset-box p{font-size:9px;color:#d79b9f}.demo-example-reference{margin:18px auto 0;border-top:1px solid rgba(88,125,110,.18);padding-top:10px}.demo-example-reference-label{display:flex;align-items:center;gap:8px;margin-bottom:7px;color:#6f8c81;font-size:9px}.demo-example-reference-label span{border:1px solid #594b21;color:#d5b958;background:#151207;padding:3px 6px;border-radius:5px}.demo-example-reference-label strong{color:#a1b5ad}.demo-example-reference .demo-design-reference~*{display:none!important}.demo-example-reference .demo-design-reference{margin-bottom:0}@media(max-width:1100px){.demo-account-strip{grid-template-columns:repeat(3,1fr)}.demo-account-strip .demo-settings-button{min-height:48px}.demo-signal-workspace{grid-template-columns:1fr}.demo-position-main,.demo-ticket-risk{grid-template-columns:1fr 1fr}.demo-journal-row{grid-template-columns:100px 100px 1fr}.demo-journal-row>:nth-child(n+4){grid-column:auto}}@media(max-width:820px){.dashboard-version-v2 .trading-workspace-intro{align-items:stretch;flex-direction:column}.dashboard-version-v2 .trading-workspace-feed{justify-content:flex-start}.dashboard-version-v2 .demo-design-reference>summary{align-items:flex-start;flex-wrap:wrap}.demo-account-strip{grid-template-columns:1fr 1fr}.demo-desk-nav{position:static;align-items:flex-start;flex-direction:column}.demo-journal-summary,.demo-ticket-prices,.demo-ticket-summary{grid-template-columns:1fr 1fr}.demo-position-main,.demo-ticket-risk{grid-template-columns:1fr}.demo-position-management{align-items:stretch;flex-direction:column}.demo-position-management label{flex-wrap:wrap}.demo-journal-row{grid-template-columns:1fr 1fr}.demo-signal-list-item{grid-template-columns:6px 1fr 48px 65px 34px}}[data-theme=light] .dashboard-version-v2 .trading-workspace-intro{border:1px solid var(--border-subtle);background:radial-gradient(circle at 72% 0,color-mix(in srgb,var(--text-primary) 4%,transparent),transparent 34%),linear-gradient(180deg,var(--surface-1),var(--surface-1))}[data-theme=light] .dashboard-version-v2 .trading-workspace-intro p,[data-theme=light] .dashboard-version-v2 .trading-workspace-intro>div:first-child>span{color:var(--text-muted)}[data-theme=light] .dashboard-version-v2 .trading-workspace-feed span{border:1px solid color-mix(in srgb,var(--text-primary) 7%,transparent);background:var(--surface-1);color:var(--text-muted)}[data-theme=light] .dashboard-version-v2 .trading-workspace-feed b{color:var(--text-primary)}[data-theme=light] .dashboard-version-v2 .demo-design-reference{border:1px solid color-mix(in srgb,var(--border-subtle) 78%,transparent);background:linear-gradient(180deg,var(--surface-1),var(--surface-1))}[data-theme=light] .dashboard-version-v2 .demo-design-reference>summary{color:var(--text-secondary)}[data-theme=light] .dashboard-version-v2 .demo-design-reference>summary b{color:var(--text-primary)}[data-theme=light] .dashboard-version-v2 .demo-design-reference>summary small,[data-theme=light] .dashboard-version-v2 .demo-design-reference>summary:after{color:var(--text-muted)}[data-theme=light] .dashboard-version-v2 .demo-design-reference[open]>summary{border-bottom:1px solid color-mix(in srgb,var(--border-subtle) 60%,transparent)}[data-theme=light] .demo-desk-redesign{color:var(--text-primary);background:var(--surface-1);border:1px solid var(--border-subtle)}[data-theme=light] .demo-account-strip{background:linear-gradient(180deg,var(--surface-1),var(--surface-1));border-bottom:1px solid var(--border-subtle)}[data-theme=light] .demo-account-strip>div{border-left:1px solid color-mix(in srgb,var(--border-subtle) 45%,transparent)}[data-theme=light] .demo-account-strip>div>span{color:var(--text-muted)}[data-theme=light] .demo-account-strip>div>strong{color:var(--text-primary)}[data-theme=light] .demo-account-identity i{background:var(--surface-hover)}[data-theme=light] .demo-account-identity i.on{background:var(--positive)}[data-theme=light] .demo-account-identity span{color:var(--text-primary)!important}[data-theme=light] .demo-account-identity small{color:var(--text-muted)}[data-theme=light] .demo-settings-button{border:1px solid var(--border-subtle);background:var(--surface-1);color:var(--text-secondary)}[data-theme=light] .demo-settings-button:hover{background:var(--surface-hover)}[data-theme=light] .positive{color:var(--positive)!important}[data-theme=light] .negative{color:var(--negative)!important}[data-theme=light] .demo-test-kpi-line{background:color-mix(in srgb,var(--warning) 10%,var(--surface-1));color:var(--warning);border-bottom:1px solid color-mix(in srgb,var(--warning) 40%,var(--border-subtle))}[data-theme=light] .demo-desk-status-line{border-bottom:1px solid color-mix(in srgb,var(--border-subtle) 48%,transparent);background:var(--surface-1);color:var(--text-muted)}[data-theme=light] .demo-desk-status-line .ok{color:var(--positive)}[data-theme=light] .demo-desk-status-line .bad{color:var(--negative)}[data-theme=light] .demo-desk-nav{border-bottom:1px solid var(--border-subtle);background:var(--surface-1)}[data-theme=light] .demo-asset-filters button,[data-theme=light] .demo-desk-tabs button{border:1px solid var(--border-subtle);background:var(--surface-1);color:var(--text-muted)}[data-theme=light] .demo-desk-tabs button b{background:var(--surface-1);color:var(--text-primary)}[data-theme=light] .demo-asset-filters button.active,[data-theme=light] .demo-desk-tabs button.active{background:color-mix(in srgb,var(--positive) 10%,var(--surface-1));color:var(--text-primary);border-color:var(--positive)}[data-theme=light] .demo-action-message{border:1px solid var(--warning);background:var(--surface-1);color:var(--warning)}[data-theme=light] .demo-action-message button{color:var(--warning)}[data-theme=light] .demo-tab-panel{background:var(--surface-1)}[data-theme=light] .demo-panel-head span{color:var(--text-faint)}[data-theme=light] .demo-panel-head strong{color:var(--text-primary)}[data-theme=light] .demo-panel-head small{color:var(--text-muted)}[data-theme=light] .demo-panel-head>button{border:1px solid var(--border-subtle);background:var(--surface-1);color:var(--text-secondary)}[data-theme=light] .demo-empty-state{border:1px dashed var(--border-subtle);color:var(--text-muted);background:var(--surface-1)}[data-theme=light] .demo-empty-state button{border:1px solid var(--positive);background:var(--surface-1);color:var(--text-primary)}[data-theme=light] .demo-position-row{border:1px solid var(--border-subtle);border-right:3px solid var(--positive);background:linear-gradient(180deg,var(--surface-1),var(--surface-1))}[data-theme=light] .demo-position-row.short{border-right-color:var(--negative)}[data-theme=light] .demo-position-main{border-bottom:1px solid color-mix(in srgb,var(--border-subtle) 42%,transparent)}[data-theme=light] .demo-position-main>div{border-left:1px solid color-mix(in srgb,var(--border-subtle) 36%,transparent)}[data-theme=light] .demo-position-main span{color:var(--text-muted)}[data-theme=light] .demo-position-main small{color:var(--text-faint)}[data-theme=light] .demo-position-main b.long,[data-theme=light] .demo-signal-list-item b.long,[data-theme=light] .demo-ticket-head b.long{color:var(--positive)}[data-theme=light] .demo-position-main b.short,[data-theme=light] .demo-signal-list-item b.short,[data-theme=light] .demo-ticket-head b.short{color:var(--negative)}[data-theme=light] .demo-position-main em{color:var(--warning);border:1px solid var(--warning)}[data-theme=light] .demo-position-management label span{color:var(--text-muted)}[data-theme=light] .demo-close-modal input,[data-theme=light] .demo-position-management input,[data-theme=light] .demo-settings-drawer input,[data-theme=light] .demo-ticket-risk input{background:var(--surface-1);border:1px solid var(--border-subtle);color:var(--text-primary)}[data-theme=light] .demo-modal-actions button,[data-theme=light] .demo-position-management button,[data-theme=light] .demo-settings-drawer button,[data-theme=light] .demo-ticket-actions button{border:1px solid var(--border-subtle);background:var(--surface-1);color:var(--text-secondary)}[data-theme=light] .danger,[data-theme=light] .demo-close-button{border-color:color-mix(in srgb,var(--negative) 40%,var(--border-subtle))!important;background:color-mix(in srgb,var(--negative) 10%,var(--surface-1))!important;color:var(--negative)!important}[data-theme=light] .primary{background:var(--positive)!important;border-color:var(--positive)!important;color:var(--text-primary)!important}[data-theme=light] .demo-signal-list{border:1px solid var(--border-subtle);background:var(--surface-1)}[data-theme=light] .demo-signal-group{border-bottom:1px solid color-mix(in srgb,var(--border-subtle) 39%,transparent)}[data-theme=light] .demo-signal-list-item{color:var(--text-primary)}[data-theme=light] .demo-signal-list-item.active{background:color-mix(in srgb,var(--positive) 10%,var(--surface-1))}[data-theme=light] .demo-signal-list-item em,[data-theme=light] .demo-signal-list-item small{color:var(--text-muted)}[data-theme=light] .demo-signal-list-item i{background:var(--surface-hover);border:1px solid var(--border-subtle);color:var(--text-secondary)}[data-theme=light] .asset-mark{background:var(--surface-hover)}[data-theme=light] .asset-mark.asset-bitcoin,[data-theme=light] .asset-mark.asset-gold{background:var(--warning)}[data-theme=light] .asset-mark.asset-silver{background:var(--surface-hover)}[data-theme=light] .asset-mark.asset-nasdaq{background:var(--info)}[data-theme=light] .demo-group-expanded{background:var(--surface-1)}[data-theme=light] .demo-group-expanded button{color:var(--text-muted)}[data-theme=light] .demo-signal-ticket{border:1px solid var(--border-subtle);background:var(--surface-1)}[data-theme=light] .demo-ticket-head{border-bottom:1px solid var(--border-subtle)}[data-theme=light] .demo-ticket-head small,[data-theme=light] .demo-ticket-head span{color:var(--text-muted)}[data-theme=light] .demo-ticket-head a{color:var(--positive);border:1px solid var(--border-subtle)}[data-theme=light] .demo-ticket-prices,[data-theme=light] .demo-ticket-summary{border:1px solid var(--border-subtle)}[data-theme=light] .demo-ticket-prices>div,[data-theme=light] .demo-ticket-summary>div{border-left:1px solid var(--border-subtle)}[data-theme=light] .demo-settings-drawer label,[data-theme=light] .demo-ticket-prices span,[data-theme=light] .demo-ticket-risk label,[data-theme=light] .demo-ticket-summary span{color:var(--text-muted)}[data-theme=light] .demo-risk-mode button{border:1px solid var(--border-subtle);background:var(--surface-1);color:var(--text-muted)}[data-theme=light] .demo-risk-mode button.active{background:color-mix(in srgb,var(--positive) 10%,var(--surface-1));color:var(--text-primary);border-color:var(--positive)}[data-theme=light] .demo-warning{border:1px solid var(--warning);background:color-mix(in srgb,var(--warning) 10%,var(--surface-1));color:var(--warning)}[data-theme=light] .demo-valid{color:var(--positive)}[data-theme=light] .demo-invalid{color:var(--negative)}[data-theme=light] .demo-journal-summary{border:1px solid var(--border-subtle)}[data-theme=light] .demo-journal-summary>div{border-left:1px solid var(--border-subtle)}[data-theme=light] .demo-journal-summary span{color:var(--text-muted)}[data-theme=light] .demo-journal-list{border:1px solid var(--border-subtle)}[data-theme=light] .demo-journal-row{border-bottom:1px solid color-mix(in srgb,var(--border-subtle) 36%,transparent)}[data-theme=light] .demo-journal-row em,[data-theme=light] .demo-journal-row span{color:var(--text-muted)}[data-theme=light] .demo-journal-row p{color:var(--text-secondary)}[data-theme=light] .demo-journal-row button{border:1px solid var(--border-subtle);background:var(--surface-1);color:var(--text-secondary)}[data-theme=light] .demo-modal-overlay{background:var(--surface-1)}[data-theme=light] .demo-close-modal{border:1px solid var(--border-subtle);background:var(--surface-1)}[data-theme=light] .demo-close-modal>span{color:var(--text-muted)}[data-theme=light] .demo-close-presets button{border:1px solid var(--border-subtle);background:var(--surface-1);color:var(--text-muted)}[data-theme=light] .demo-close-presets button.active{background:color-mix(in srgb,var(--positive) 10%,var(--surface-1));color:var(--text-primary);border-color:var(--positive)}[data-theme=light] .demo-close-summary{background:var(--surface-hover);border:1px solid var(--border-subtle)}[data-theme=light] .demo-close-summary>div{background:var(--surface-1)}[data-theme=light] .demo-close-summary span{color:var(--text-muted)}[data-theme=light] .demo-settings-drawer{background:var(--surface-1);border-left:1px solid var(--border-subtle)}[data-theme=light] .demo-settings-head{border-bottom:1px solid var(--border-subtle)}[data-theme=light] .demo-settings-head span{color:var(--text-muted)}[data-theme=light] .demo-settings-head>button{color:var(--text-secondary)}[data-theme=light] .demo-settings-drawer section{border-bottom:1px solid var(--border-subtle)}[data-theme=light] .demo-setting-row span{color:var(--text-muted)}[data-theme=light] .demo-archived-list>div{border:1px solid var(--border-subtle)}[data-theme=light] .demo-archived-list small{color:var(--text-muted)}[data-theme=light] .demo-reset-box{border:1px solid var(--border-subtle);background:var(--surface-1)}[data-theme=light] .demo-reset-box p{color:var(--negative)}[data-theme=light] .demo-example-reference{border-top:1px solid color-mix(in srgb,var(--border-subtle) 54%,transparent)}[data-theme=light] .demo-example-reference-label{color:var(--text-muted)}[data-theme=light] .demo-example-reference-label span{border:1px solid var(--border-subtle);color:var(--warning);background:var(--surface-1)}[data-theme=light] .demo-example-reference-label strong{color:var(--text-secondary)}.trading-workspace-page .v2-app-header{height:auto;min-height:64px;gap:12px;padding:8px 0;flex-wrap:wrap}.trading-workspace-page .v2-brand{order:0}.trading-workspace-page .v2-header-status{order:2}.partners{--amber:#f6c74f;flex:1 1 620px;order:1;min-width:0;margin-inline:auto;border:1px solid #6b5320;border-radius:14px;background:linear-gradient(180deg,#141024,#0f0d18);box-shadow:inset 0 1px 0 rgba(246,199,79,.08);padding:10px 14px 12px}.pt-head{display:flex;align-items:center;gap:10px}.pt-titles{flex:1 1;min-width:0}.partners h2{margin:0;text-align:center;font-size:13px;font-weight:700;letter-spacing:-.2px;color:var(--amber)}.pt-disc{margin:2px 0 9px;text-align:center;font-size:10px;color:var(--muted);opacity:.75}.partners[data-collapsed=true] .pt-disc{margin-bottom:2px}.pt-toggle{flex:none;width:26px;height:26px;border-radius:8px;cursor:pointer;border:1px solid #6b5320;background:#181322;color:var(--amber);font-family:inherit;display:flex;align-items:center;justify-content:center;transition:border-color .15s,background .15s}.pt-toggle:hover{border-color:var(--amber);background:#20182c}.pt-toggle:focus-visible{outline:2px solid var(--amber);outline-offset:2px}.pt-chev{display:block;font-size:15px;line-height:1;transition:transform .2s}.partners[data-collapsed=true] .pt-chev{transform:rotate(180deg)}.pt-wrap{display:grid;grid-template-rows:1fr;transition:grid-template-rows .22s ease,opacity .22s ease}.partners[data-collapsed=true] .pt-wrap{grid-template-rows:0fr;opacity:0}.pt-wrap>.pt-grid{overflow:hidden;min-height:0}@media(prefers-reduced-motion:reduce){.pt-chev,.pt-wrap{transition:none}}.pt-grid{display:grid;grid-template-columns:repeat(5,1fr);grid-gap:8px;gap:8px}.pt-card{display:flex;align-items:center;gap:9px;min-width:0;padding:8px 10px;border:1px solid #3a3220;border-radius:10px;background:#12101c;text-decoration:none;color:inherit;transition:border-color .15s,box-shadow .15s}.pt-card:focus-visible,.pt-card:hover{border-color:var(--amber);box-shadow:0 0 0 1px rgba(246,199,79,.35)}.pt-logo{flex:none;width:26px;height:26px;object-fit:contain;border-radius:5px;image-rendering:-webkit-optimize-contrast}.pt-text{display:flex;flex-direction:column;min-width:0;gap:1px}.pt-text b{font-size:12.5px;font-weight:700;color:#e8f0fa;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pt-text small{font-size:10px;line-height:1.25;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}@media(max-width:1180px){.partners{flex-basis:100%;order:9;margin-inline:0}.pt-grid{grid-template-columns:repeat(3,1fr)}.trading-workspace-page .v2-header-status{order:1}}@media(max-width:720px){.pt-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:420px){.pt-grid{grid-template-columns:1fr}}.trading-account-switcher{display:flex;align-items:center;gap:8px;padding:8px 14px;border-bottom:1px solid rgba(89,124,110,.18);background:#07120f;overflow:auto}.trading-account-switcher>span{font-size:8px;letter-spacing:.08em;color:#6e8e83;white-space:nowrap}.trading-account-switcher button{border:1px solid #21483b;background:#0b1713;color:#90a99f;border-radius:8px;padding:7px 10px;font-size:9px;cursor:pointer;white-space:nowrap}.trading-account-switcher button.active{border-color:#3f8b6e;background:#10261e;color:#dff7ec;box-shadow:0 0 0 1px rgba(62,151,113,.12)}.trading-account-switcher button.live{border-color:#74383c;color:#ff9da1}.trading-account-switcher button.live.active{background:#241014;border-color:#a94d56;color:#ffd5d7}.trading-account-switcher small{font-size:7px;color:#6f817a;white-space:nowrap}.broker-readonly-desk{margin:12px;background:#06110e;border:1px solid #21483b;border-radius:12px;overflow:hidden;color:#dceae4}.broker-readonly-desk.is-stale{filter:saturate(.72)}.broker-preview-banner{padding:7px 12px;background:#2a240a;border-bottom:1px solid #79651f;color:#f0d56c;font:800 8px ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.08em;text-align:center}.broker-account-strip{display:grid;grid-template-columns:minmax(210px,1.55fr) repeat(7,minmax(95px,.75fr));background:#071713;border-bottom:1px solid rgba(89,124,110,.18)}.broker-account-strip>div{padding:11px 12px;border-left:1px solid rgba(89,124,110,.12);display:flex;flex-direction:column;gap:3px;min-width:0}.broker-account-strip>div>span{font-size:7px;color:#6f9185;letter-spacing:.05em}.broker-account-strip>div>strong{font:800 14px ui-monospace,SFMono-Regular,Menlo,monospace;color:#eef7f3;white-space:nowrap}.broker-account-strip .positive,.broker-table .positive{color:#4be5a2!important}.broker-account-strip .negative,.broker-table .negative{color:#ff777d!important}.broker-account-identity{justify-content:center}.broker-account-identity i{width:7px;height:7px;border-radius:50%;background:#64736d;box-shadow:0 0 0 2px rgba(100,115,109,.12)}.broker-account-identity i.on{background:#42e39c;box-shadow:0 0 9px rgba(66,227,156,.55)}.broker-account-identity i.off{background:#ff686f;box-shadow:0 0 9px rgba(255,104,111,.38)}.broker-account-identity>span{font-size:12px!important;font-weight:800;color:#eef7f3!important;letter-spacing:0!important}.broker-account-identity>small{font-size:8px;color:#879e95}.broker-status-line{display:flex;gap:14px;align-items:center;flex-wrap:wrap;padding:7px 12px;background:#04100d;border-bottom:1px solid rgba(89,124,110,.16);font:700 8px ui-monospace,SFMono-Regular,Menlo,monospace;color:#708d82}.broker-status-line .ok{color:#47d69a}.broker-status-line .bad{color:#ff777d}.broker-readonly-pill{border:1px solid #2d6953;background:#0d211a;color:#74d7ae;border-radius:999px;padding:3px 7px}.broker-warning{display:flex;gap:9px;align-items:flex-start;flex-direction:column;padding:9px 12px;background:#231013;border-bottom:1px solid #653036;color:#d9a8aa;font-size:9px}.broker-warning strong{color:#ff9297}.broker-warning span{font:700 8px ui-monospace,SFMono-Regular,Menlo,monospace}.broker-tabs{display:flex;gap:5px;padding:10px 12px;background:#071713;border-bottom:1px solid rgba(89,124,110,.18)}.broker-tabs button{border:1px solid #21483b;background:#091511;color:#7d998e;border-radius:7px;padding:8px 12px;cursor:pointer;font-size:9px}.broker-tabs button.active{background:#123025;color:#e4f7ef;border-color:#3b8065}.broker-tabs b{-webkit-margin-start:5px;margin-inline-start:5px;color:#d4e9e0}.broker-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;background:#071a14;border-bottom:1px solid rgba(89,124,110,.16);border-top:1px solid rgba(89,124,110,.12)}.broker-section-head.pending{background:#171407;border-color:#4e421d}.broker-section-head>div{display:flex;flex-direction:column;gap:2px}.broker-section-head span{font-size:7px;color:#708f84;letter-spacing:.08em}.broker-section-head strong{font-size:11px;color:#ecf6f2}.broker-section-head small{font-size:8px;color:#71877f;text-align:left}.broker-table-wrap{overflow:auto}.broker-table{width:100%;border-collapse:collapse;min-width:920px;background:#06120e}.broker-table th{position:-webkit-sticky;position:sticky;top:0;background:#091813;color:#68867a;font-size:7px;letter-spacing:.05em;text-align:right;padding:8px 9px;border-bottom:1px solid rgba(89,124,110,.18)}.broker-table td{padding:9px;border-bottom:1px solid rgba(89,124,110,.11);border-left:1px solid rgba(89,124,110,.08);font-size:9px;color:#c9d9d3;white-space:nowrap}.broker-table td strong{display:block;font-size:10px;color:#eef7f3}.broker-table td small{display:block;margin-top:2px;color:#66847a;font-size:7px}.broker-table tr{border-right:3px solid #61746d}.broker-table tr.broker-family-gold{border-right-color:#cba63b}.broker-table tr.broker-family-silver{border-right-color:#aeb8bd}.broker-table tr.broker-family-nq{border-right-color:#3ca1d7}.broker-table tr.broker-family-btc{border-right-color:#e78a36}.broker-long{color:#4be5a2;font-weight:800}.broker-short{color:#ff777d;font-weight:800}.broker-empty{padding:18px 12px;color:#728a81;font-size:9px;background:#06120e}.broker-event-list{display:flex;flex-direction:column;background:#06120e}.broker-event{display:grid;grid-template-columns:130px 120px 100px minmax(250px,1fr) 90px;grid-gap:8px;gap:8px;align-items:center;padding:9px 12px;border-bottom:1px solid rgba(89,124,110,.11);font-size:8px}.broker-event time{color:#6f8b81}.broker-event b{color:#b8d1c7}.broker-event strong{color:#e7f3ee}.broker-event span{color:#9eb4ac}.broker-event small{color:#6d837a;text-align:left;direction:ltr}.broker-cash-list{display:flex;flex-direction:column;background:#06120e}.broker-cash-list>div{display:grid;grid-template-columns:150px 100px 1fr 120px;grid-gap:10px;gap:10px;padding:9px 12px;border-bottom:1px solid rgba(89,124,110,.11);font-size:9px}.broker-cash-list time{color:#718b82}.broker-cash-list strong{color:#d9e6e1}.broker-cash-list span{color:#8ba198}.broker-cash-list b{color:#dbe8e3;text-align:left}.broker-disconnected-card{padding:22px;display:flex;flex-direction:column;gap:5px;background:#101412;border:1px solid #3d4944;border-radius:10px;margin:12px}.broker-disconnected-card strong{font-size:14px}.broker-disconnected-card span{color:#a0afa9;font-size:10px}.broker-disconnected-card small{color:#708078;font-size:8px}@media(max-width:1350px){.broker-account-strip{grid-template-columns:repeat(4,1fr)}.broker-account-identity{grid-column:span 2}}@media(max-width:760px){.broker-account-strip{grid-template-columns:1fr 1fr}.broker-account-identity{grid-column:1/-1}.broker-section-head{align-items:flex-start;flex-direction:column}.broker-event{grid-template-columns:1fr 1fr}.broker-event span{grid-column:1/-1}.broker-cash-list>div{grid-template-columns:1fr 1fr}.broker-cash-list span{grid-column:1/-1}}[data-theme=light] .trading-account-switcher{border-bottom:1px solid color-mix(in srgb,var(--border-subtle) 54%,transparent);background:var(--surface-1)}[data-theme=light] .trading-account-switcher>span{color:var(--text-muted)}[data-theme=light] .trading-account-switcher button{border:1px solid var(--border-subtle);background:var(--surface-1);color:var(--text-secondary)}[data-theme=light] .trading-account-switcher button.active{border-color:var(--positive);background:var(--surface-1);color:var(--text-primary)}[data-theme=light] .trading-account-switcher button.live{border-color:color-mix(in srgb,var(--negative) 40%,var(--border-subtle));color:var(--negative)}.demo-panel-head-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.demo-panel-head-actions button{border:1px solid #23503f;background:#082119;color:#8dc2ae;border-radius:7px;padding:7px 10px;cursor:pointer}.demo-position-riskline{display:grid;grid-template-columns:repeat(7,minmax(90px,1fr));border-bottom:1px solid rgba(95,139,122,.14);background:#06150f}.demo-position-riskline-eight{grid-template-columns:repeat(8,minmax(88px,1fr))}.demo-position-riskline>div{padding:8px 10px;border-left:1px solid rgba(95,139,122,.11);display:flex;flex-direction:column;gap:3px}.demo-position-riskline span{font-size:8px;color:#64867a}.demo-position-riskline b{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;color:#dcebe5}.demo-position-riskline small{font-size:7px;color:#6f8b80}.demo-ticket-summary-six{grid-template-columns:repeat(6,1fr)!important}.demo-ticket-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:8px}.demo-ticket-meta span{border:1px solid #1e4437;background:#061711;border-radius:6px;padding:5px 7px;font-size:8px;color:#6b8d80}.demo-ticket-meta b{color:#c9ddd5;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.demo-journal-toolbar{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:10px}.demo-journal-range,.demo-journal-sources{display:flex;gap:5px;flex-wrap:wrap}.demo-journal-toolbar button{border:1px solid #21483a;background:#071c15;color:#76998d;border-radius:7px;padding:6px 9px;font-size:9px;cursor:pointer}.demo-journal-toolbar button.active{background:#0d3627;color:#e8f8f1;border-color:#2d7758}.demo-journal-toolbar button.test{border-color:#6a5724;color:#cbb363}.demo-journal-days{display:flex;flex-direction:column;gap:12px}.demo-journal-day{border:1px solid #17392f;border-radius:9px;overflow:hidden;background:#05130f}.demo-journal-day-title{display:flex;justify-content:space-between;align-items:center;padding:8px 10px;background:#071b15;border-bottom:1px solid #17392f}.demo-journal-day-title strong{color:#d9ebe4}.demo-journal-day-title span{font-size:8px;color:#66897d}.demo-journal-day .demo-journal-list{border:0;border-radius:0}.demo-settings-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.62);z-index:90;display:flex;justify-content:flex-start;align-items:stretch}.demo-settings-backdrop .demo-settings-drawer{position:relative;inset:auto;transform:none;height:100%;max-height:none;overflow-y:auto;width:min(520px,94vw);box-shadow:30px 0 80px rgba(0,0,0,.45)}.demo-family-specs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px}.demo-test-classification{display:flex;flex-direction:column;gap:6px}.demo-test-classification label{display:grid!important;grid-template-columns:18px 1fr 70px!important;align-items:center;grid-gap:8px;gap:8px;border:1px solid #1e4437;border-radius:7px;padding:7px 8px}.demo-test-classification input{min-width:0!important;width:14px;height:14px}.demo-test-classification span{font-size:9px;color:#adc6bc}.demo-test-classification b{font-size:8px;color:#e2be5e;text-align:left}.demo-setting-row{gap:8px;flex-wrap:wrap}.demo-setting-row button{-webkit-margin-start:auto;margin-inline-start:auto}.demo-example-reference{max-width:1640px;margin:14px auto 24px}.demo-example-only{border:1px solid rgba(84,119,106,.26);border-radius:11px;background:linear-gradient(180deg,rgba(7,23,18,.82),rgba(4,15,12,.82));overflow:hidden}.demo-example-only>summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;padding:10px 14px;color:#91a79f;font-size:10px}.demo-example-only>summary::-webkit-details-marker{display:none}.demo-example-only>summary b{color:#e1bd58;letter-spacing:.08em}.demo-example-only>summary small{color:#658478}.demo-example-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:8px;gap:8px;padding:10px;border-top:1px solid rgba(84,119,106,.18)}.demo-example-card{border:1px solid #204738;border-radius:9px;background:#061812;padding:10px;display:flex;flex-direction:column;gap:8px}.demo-example-card.short{border-color:#5b3135}.demo-example-card>div:first-child{display:flex;align-items:center;gap:8px}.demo-example-card>div:first-child span{font-size:7px;border:1px solid #725b20;color:#d6b75e;border-radius:4px;padding:2px 4px}.demo-example-card>div:first-child strong{font-size:12px}.demo-example-card>div:first-child small{font-size:8px;color:#66877b}.demo-example-direction,.demo-example-entry{display:flex;justify-content:space-between;gap:8px}.demo-example-direction span,.demo-example-entry span,.demo-example-two span{font-size:8px;color:#67897d}.demo-example-direction b,.demo-example-entry b,.demo-example-two b{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:#dbece5}.demo-example-card.long .demo-example-direction b{color:#49df9e}.demo-example-card.short .demo-example-direction b{color:#ff6b70}.demo-example-two{display:grid;grid-template-columns:1fr 1fr;grid-gap:6px;gap:6px}.demo-example-two span{border:1px solid rgba(72,112,96,.25);border-radius:6px;padding:6px;display:flex;flex-direction:column;gap:3px}.demo-settings-drawer p{font-size:9px;color:#718e83;line-height:1.5}.demo-settings-drawer .demo-setting-row{display:flex;align-items:center;justify-content:space-between;border:1px solid #1d4135;border-radius:7px;padding:7px 8px}.demo-settings-drawer .demo-setting-row span{font-size:8px;color:#6b8c80}.demo-settings-drawer .demo-setting-row b{font-size:9px;color:#c8dcd4;max-width:280px;overflow-wrap:anywhere}.demo-close-modal p{font-size:9px;color:#78958a}.demo-close-modal button:disabled,.demo-journal-row button:disabled,.demo-ticket-actions button:disabled{opacity:.45;cursor:not-allowed}.demo-system-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 14px;border-bottom:1px solid #57491b;background:#181509;color:#e7c761;font-size:9px}.demo-system-banner.error{border-color:#673036;background:#240d11;color:#ff8d92}.demo-system-banner.info{border-color:#1e4b3b;background:#071d16;color:#84bca7}.demo-system-banner button{border:1px solid;background:transparent;color:inherit;border-radius:6px;padding:5px 8px;cursor:pointer}.demo-qa-banner{display:flex;align-items:center;justify-content:center;gap:10px;padding:7px 12px;background:#102014;border-bottom:1px solid #4f6f2e;color:#bddb7b;font-size:9px}.demo-qa-banner strong{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.08em;color:#e2f49d}.demo-qa-loader{max-width:1640px;margin:10px auto 0;display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #53672b;background:linear-gradient(90deg,#111b0c,#17220f);border-radius:9px;padding:10px 12px;color:#c8d985}.demo-qa-loader>div{display:flex;flex-direction:column;gap:3px}.demo-qa-loader strong{font:700 10px ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.08em;color:#eff7b8}.demo-qa-loader span{font-size:9px;color:#aabb78}.demo-qa-loader button{border:1px solid #6f8f3c;background:#263916;color:#eaf7b0;border-radius:7px;padding:8px 12px;font-size:9px;font-weight:700;cursor:pointer;white-space:nowrap}.demo-reconciliation-warning{display:flex;flex-direction:column;gap:4px}.demo-reconciliation-warning strong{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:#f0d16e}.demo-reconciliation-warning span{display:block;color:#c6b36d;line-height:1.45}.demo-reconciliation-warning small{color:#877b51}.demo-account-strip>div>small{font-size:8px;color:#67877c;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}@media(max-width:1100px){.demo-position-riskline,.demo-position-riskline-eight{grid-template-columns:repeat(4,1fr)}.demo-ticket-summary-six{grid-template-columns:repeat(3,1fr)!important}.demo-example-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.demo-position-riskline,.demo-position-riskline-eight{grid-template-columns:repeat(2,1fr)}.demo-ticket-summary-six{grid-template-columns:repeat(2,1fr)!important}.demo-example-grid{grid-template-columns:1fr}.demo-journal-toolbar{align-items:stretch}.demo-journal-range,.demo-journal-sources{width:100%}.demo-qa-banner,.demo-qa-loader{align-items:flex-start;flex-direction:column}.demo-qa-loader button{width:100%}}.demo-ticket-management{margin-top:9px;border:1px solid #24503f;border-radius:8px;background:#071b14;padding:9px;display:grid;grid-gap:7px;gap:7px}.demo-ticket-management>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px}.demo-ticket-management>div:first-child span{font-size:8px;color:#6f9184}.demo-ticket-management>div:first-child strong{font-size:11px;color:#d8ebe3}.demo-management-plan-preview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:5px;gap:5px}.demo-management-plan-preview>span{border:1px solid #1d4335;border-radius:6px;background:#05150f;padding:6px;display:flex;flex-direction:column;gap:2px;min-width:0}.demo-management-plan-preview b{font-size:8px;color:#cae2d8}.demo-management-plan-preview small{font-size:7px;color:#6f8d82}.demo-ticket-management>small{font-size:7px;color:#718d82;line-height:1.45}@media(max-width:760px){.demo-management-plan-preview{grid-template-columns:repeat(2,minmax(0,1fr))}}[data-theme=light] .demo-panel-head-actions button{border:1px solid var(--border-subtle);background:var(--surface-1);color:var(--text-secondary)}[data-theme=light] .demo-position-riskline{border-bottom:1px solid color-mix(in srgb,var(--border-subtle) 42%,transparent);background:var(--surface-1)}[data-theme=light] .demo-position-riskline>div{border-left:1px solid color-mix(in srgb,var(--border-subtle) 33%,transparent)}[data-theme=light] .demo-position-riskline span{color:var(--text-muted)}[data-theme=light] .demo-position-riskline b{color:var(--text-primary)}[data-theme=light] .demo-position-riskline small{color:var(--text-muted)}[data-theme=light] .demo-ticket-meta span{border:1px solid var(--border-subtle);background:var(--surface-1);color:var(--text-muted)}[data-theme=light] .demo-ticket-meta b{color:var(--text-primary)}[data-theme=light] .demo-journal-toolbar button{border:1px solid var(--border-subtle);background:var(--surface-1);color:var(--text-muted)}[data-theme=light] .demo-journal-toolbar button.active{background:color-mix(in srgb,var(--positive) 10%,var(--surface-1));color:var(--text-primary);border-color:var(--positive)}[data-theme=light] .demo-journal-toolbar button.test{border-color:var(--warning);color:var(--warning)}[data-theme=light] .demo-journal-day{border:1px solid var(--border-subtle);background:var(--surface-1)}[data-theme=light] .demo-journal-day-title{background:var(--surface-1);border-bottom:1px solid var(--border-subtle)}[data-theme=light] .demo-journal-day-title strong{color:var(--text-primary)}[data-theme=light] .demo-journal-day-title span{color:var(--text-muted)}[data-theme=light] .demo-settings-backdrop{background:var(--surface-1)}[data-theme=light] .demo-test-classification label{border:1px solid var(--border-subtle)}[data-theme=light] .demo-test-classification span{color:var(--text-secondary)}[data-theme=light] .demo-test-classification b{color:var(--warning)}[data-theme=light] .demo-example-only{border:1px solid color-mix(in srgb,var(--border-subtle) 78%,transparent);background:linear-gradient(180deg,var(--surface-1),var(--surface-1))}[data-theme=light] .demo-example-only>summary{color:var(--text-secondary)}[data-theme=light] .demo-example-only>summary b{color:var(--warning)}[data-theme=light] .demo-example-only>summary small{color:var(--text-muted)}[data-theme=light] .demo-example-grid{border-top:1px solid color-mix(in srgb,var(--border-subtle) 54%,transparent)}[data-theme=light] .demo-example-card{border:1px solid var(--border-subtle);background:var(--surface-1)}[data-theme=light] .demo-example-card.short{border-color:color-mix(in srgb,var(--negative) 40%,var(--border-subtle))}[data-theme=light] .demo-example-card>div:first-child span{border:1px solid var(--warning);color:var(--warning)}[data-theme=light] .demo-example-card>div:first-child small,[data-theme=light] .demo-example-direction span,[data-theme=light] .demo-example-entry span,[data-theme=light] .demo-example-two span{color:var(--text-muted)}[data-theme=light] .demo-example-direction b,[data-theme=light] .demo-example-entry b,[data-theme=light] .demo-example-two b{color:var(--text-primary)}[data-theme=light] .demo-example-card.long .demo-example-direction b{color:var(--positive)}[data-theme=light] .demo-example-card.short .demo-example-direction b{color:var(--negative)}[data-theme=light] .demo-example-two span{border:1px solid color-mix(in srgb,var(--border-subtle) 75%,transparent)}[data-theme=light] .demo-settings-drawer p{color:var(--text-muted)}[data-theme=light] .demo-settings-drawer .demo-setting-row{border:1px solid var(--border-subtle)}[data-theme=light] .demo-settings-drawer .demo-setting-row span{color:var(--text-muted)}[data-theme=light] .demo-settings-drawer .demo-setting-row b{color:var(--text-primary)}[data-theme=light] .demo-close-modal p{color:var(--text-muted)}[data-theme=light] .demo-system-banner{border-bottom:1px solid color-mix(in srgb,var(--warning) 40%,var(--border-subtle));background:var(--surface-1);color:var(--warning)}[data-theme=light] .demo-system-banner.error{border-color:color-mix(in srgb,var(--negative) 40%,var(--border-subtle));background:color-mix(in srgb,var(--negative) 10%,var(--surface-1));color:var(--negative)}[data-theme=light] .demo-system-banner.info{border-color:var(--border-subtle);background:var(--surface-1);color:var(--text-secondary)}[data-theme=light] .demo-qa-banner{background:var(--surface-1);border-bottom:1px solid var(--positive);color:var(--positive)}[data-theme=light] .demo-qa-banner strong{color:var(--positive)}[data-theme=light] .demo-qa-loader{border:1px solid var(--positive);background:linear-gradient(90deg,var(--surface-1),var(--surface-1));color:var(--positive)}[data-theme=light] .demo-qa-loader strong{color:var(--warning)}[data-theme=light] .demo-qa-loader span{color:var(--positive)}[data-theme=light] .demo-qa-loader button{border:1px solid var(--positive);background:var(--surface-hover);color:var(--positive)}[data-theme=light] .demo-reconciliation-warning span,[data-theme=light] .demo-reconciliation-warning strong{color:var(--warning)}[data-theme=light] .demo-reconciliation-warning small{color:var(--text-faint)}[data-theme=light] .demo-account-strip>div>small{color:var(--text-muted)}[data-theme=light] .demo-ticket-management{border:1px solid var(--border-subtle);background:var(--surface-1)}[data-theme=light] .demo-ticket-management>div:first-child span{color:var(--text-muted)}[data-theme=light] .demo-ticket-management>div:first-child strong{color:var(--text-primary)}[data-theme=light] .demo-management-plan-preview>span{border:1px solid var(--border-subtle);background:var(--surface-1)}[data-theme=light] .demo-management-plan-preview b{color:var(--text-primary)}[data-theme=light] .demo-management-plan-preview small,[data-theme=light] .demo-ticket-management>small{color:var(--text-muted)}.demo-qa-loader-actions{display:flex!important;flex-direction:row!important;align-items:center;gap:7px}.demo-qa-loader-actions .danger{border-color:#78343b!important;background:#2a0d12!important;color:#ff9297!important}.demo-qa-update-notice{display:inline-flex!important;width:max-content;margin-top:4px;padding:3px 7px;border:1px solid #806a24;border-radius:999px;background:#221b08;color:#f1d26a;font-size:8px;font-weight:800}.demo-asset-filters button{display:inline-flex;align-items:center;gap:6px}.demo-asset-filters button b{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:rgba(255,255,255,.05);font:700 8px ui-monospace,SFMono-Regular,Menlo,monospace;color:currentColor}.demo-asset-filters .asset-all{border-color:#315347;color:#a8c2b8;background:#071b15}.demo-asset-filters .asset-gold{border-color:#6e5925;color:#d6b650;background:#171407}.demo-asset-filters .asset-bitcoin{border-color:#71431f;color:#e89448;background:#1b1007}.demo-asset-filters .asset-silver{border-color:#58686e;color:#b8c7cc;background:#101619}.demo-asset-filters .asset-nasdaq{border-color:#235979;color:#61b5e4;background:#07151d}.demo-asset-filters .asset-gold.active{background:#2a220a;border-color:#b28e2d;color:#f2d574}.demo-asset-filters .asset-bitcoin.active{background:#301a09;border-color:#bd6f28;color:#ffad61}.demo-asset-filters .asset-silver.active{background:#1c272b;border-color:#81949b;color:#dce7ea}.demo-asset-filters .asset-nasdaq.active{background:#09293a;border-color:#348bb8;color:#8bd3f7}.demo-position-row.asset-gold{border-right-color:#caa536!important}.demo-position-row.asset-bitcoin{border-right-color:#e98934!important}.demo-position-row.asset-silver{border-right-color:#9facb1!important}.demo-position-row.asset-nasdaq{border-right-color:#3597cb!important}.demo-signal-list-item.asset-gold{box-shadow:inset -3px 0 #caa536}.demo-signal-list-item.asset-bitcoin{box-shadow:inset -3px 0 #e98934}.demo-signal-list-item.asset-silver{box-shadow:inset -3px 0 #9facb1}.demo-signal-list-item.asset-nasdaq{box-shadow:inset -3px 0 #3597cb}.demo-journal-row.asset-gold{border-right:3px solid #caa536}.demo-journal-row.asset-bitcoin{border-right:3px solid #e98934}.demo-journal-row.asset-silver{border-right:3px solid #9facb1}.demo-journal-row.asset-nasdaq{border-right:3px solid #3597cb}.demo-empty-state{min-height:0!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;padding:12px 14px!important;border-radius:8px!important}.demo-empty-state button{padding:6px 9px!important}.demo-signal-list>.demo-empty-state,.demo-signal-ticket>.demo-empty-state{margin:8px}.demo-tab-panel{min-height:0!important}.demo-level-field{display:flex!important;flex-direction:column!important;gap:5px!important;min-width:0}.demo-level-label{display:flex;align-items:center;justify-content:space-between;gap:8px}.demo-level-label>b{font-size:8px;letter-spacing:.06em;color:#8ba89d}.demo-level-mode{display:inline-flex!important;align-items:center;gap:2px;padding:2px;border:1px solid #21483a;border-radius:6px;background:#05140f;font-style:normal;flex:0 0 auto}.demo-level-mode button{border:0!important;background:transparent!important;color:#6f9185!important;border-radius:4px!important;padding:3px 6px!important;font-size:7px!important;line-height:1!important;cursor:pointer}.demo-level-mode button.active{background:#153e30!important;color:#e5f4ee!important}.demo-level-hint{display:block;min-height:14px;color:#7e9d91!important;font:700 8px ui-monospace,SFMono-Regular,Menlo,monospace!important;direction:ltr;text-align:left}.demo-position-level-field{padding:7px 8px;border:1px solid rgba(45,94,76,.32);border-radius:8px;background:#061711}.demo-level-actions{display:flex;gap:5px;align-items:center}.demo-level-actions button{min-width:58px}.demo-drift-warning{display:flex;align-items:center;justify-content:space-between;gap:10px}.demo-drift-warning span{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.demo-position-level-field input,.demo-ticket-risk .demo-level-field input{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.demo-position-management-inline{display:flex!important;align-items:center!important;gap:7px!important;min-height:0!important;padding:7px 10px!important;flex-wrap:nowrap}.demo-inline-level{display:flex;align-items:center;gap:5px;min-width:0;white-space:nowrap}.demo-inline-level>b{font-size:8px;color:#8ba89d;letter-spacing:.04em}.demo-inline-level input{width:94px!important;min-width:78px!important;height:28px!important;padding:5px 7px!important;font:700 10px ui-monospace,SFMono-Regular,Menlo,monospace!important;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.demo-inline-conversion{color:#7e9d91!important;font:700 8px ui-monospace,SFMono-Regular,Menlo,monospace!important;white-space:nowrap}.demo-inline-separator{color:#3b5c50;font-size:12px}.demo-level-update-both{min-width:54px}.demo-position-management-inline>.spacer{flex:1 1 auto;min-width:8px}.demo-position-management-inline .demo-close-button{white-space:nowrap}.demo-position-management-inline button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:980px){.demo-position-management-inline{flex-wrap:wrap}.demo-inline-level{flex-grow:1;flex-shrink:1;flex-basis:calc(50% - 60px)}.demo-position-management-inline>.spacer{display:none}.demo-position-management-inline .demo-close-button{-webkit-margin-start:auto;margin-inline-start:auto}}@media(max-width:760px){.demo-qa-loader-actions{width:100%;flex-direction:column!important}.demo-qa-loader-actions button{width:100%}.demo-asset-filters button{padding:7px 9px}.demo-level-label{align-items:flex-start;flex-direction:column}.demo-level-mode{width:100%}.demo-level-mode button{flex:1 1}.demo-drift-warning{align-items:flex-start;flex-direction:column}.demo-position-management-inline{align-items:flex-start!important}.demo-inline-level{flex:1 1 100%;flex-wrap:wrap}.demo-inline-level .demo-level-mode{width:auto}.demo-inline-level .demo-level-mode button{flex:0 0 auto}.demo-inline-separator{display:none}.demo-position-management-inline .demo-close-button{-webkit-margin-start:0;margin-inline-start:0}}[data-theme=light] .demo-qa-loader-actions .danger{border-color:color-mix(in srgb,var(--negative) 40%,var(--border-subtle))!important;background:color-mix(in srgb,var(--negative) 10%,var(--surface-1))!important;color:var(--negative)!important}[data-theme=light] .demo-qa-update-notice{border:1px solid var(--warning);background:color-mix(in srgb,var(--warning) 10%,var(--surface-1));color:var(--warning)}[data-theme=light] .demo-asset-filters button b{background:color-mix(in srgb,var(--text-primary) 5%,transparent)}[data-theme=light] .demo-asset-filters .asset-all{border-color:var(--border-subtle);color:var(--text-secondary);background:var(--surface-1)}[data-theme=light] .demo-asset-filters .asset-gold{border-color:var(--warning);color:var(--warning);background:color-mix(in srgb,var(--warning) 10%,var(--surface-1))}[data-theme=light] .demo-asset-filters .asset-bitcoin{border-color:color-mix(in srgb,var(--warning) 40%,var(--border-subtle));color:var(--warning);background:var(--surface-1)}[data-theme=light] .demo-asset-filters .asset-silver{border-color:var(--border-strong);color:var(--text-secondary);background:var(--surface-1)}[data-theme=light] .demo-asset-filters .asset-nasdaq{border-color:color-mix(in srgb,var(--info) 40%,var(--border-subtle));color:var(--info);background:color-mix(in srgb,var(--info) 10%,var(--surface-1))}[data-theme=light] .demo-asset-filters .asset-gold.active{background:color-mix(in srgb,var(--warning) 10%,var(--surface-1));border-color:var(--warning);color:var(--warning)}[data-theme=light] .demo-asset-filters .asset-bitcoin.active{background:var(--surface-1);border-color:var(--warning);color:var(--warning)}[data-theme=light] .demo-asset-filters .asset-silver.active{background:var(--surface-1);border-color:var(--border-strong);color:var(--text-primary)}[data-theme=light] .demo-asset-filters .asset-nasdaq.active{background:color-mix(in srgb,var(--info) 10%,var(--surface-1));border-color:var(--info);color:var(--info)}[data-theme=light] .demo-position-row.asset-bitcoin,[data-theme=light] .demo-position-row.asset-gold{border-right-color:var(--warning)!important}[data-theme=light] .demo-position-row.asset-silver{border-right-color:var(--border-strong)!important}[data-theme=light] .demo-position-row.asset-nasdaq{border-right-color:var(--info)!important}[data-theme=light] .demo-journal-row.asset-bitcoin,[data-theme=light] .demo-journal-row.asset-gold{border-right:3px solid var(--warning)}[data-theme=light] .demo-journal-row.asset-silver{border-right:3px solid var(--border-strong)}[data-theme=light] .demo-journal-row.asset-nasdaq{border-right:3px solid var(--info)}[data-theme=light] .demo-level-label>b{color:var(--text-muted)}[data-theme=light] .demo-level-mode{border:1px solid var(--border-subtle);background:var(--surface-1)}[data-theme=light] .demo-level-mode button{color:var(--text-muted)!important}[data-theme=light] .demo-level-mode button.active{background:color-mix(in srgb,var(--positive) 10%,var(--surface-1))!important;color:var(--text-primary)!important}[data-theme=light] .demo-level-hint{color:var(--text-muted)!important}[data-theme=light] .demo-position-level-field{border:1px solid color-mix(in srgb,var(--border-subtle) 96%,transparent);background:var(--surface-1)}[data-theme=light] .demo-inline-level>b{color:var(--text-muted)}[data-theme=light] .demo-inline-conversion{color:var(--text-muted)!important}[data-theme=light] .demo-inline-separator{color:var(--text-faint)}.demo-journal-head{align-items:flex-end}.demo-journal-head>div:first-child small{color:#8ca69c;font-size:9px}.demo-journal-view-switch{display:flex!important;flex-direction:row!important;gap:5px}.demo-journal-view-switch button{border:1px solid #244b3d;background:#071a14;color:#7f9c91;border-radius:7px;padding:7px 12px;font-size:9px;cursor:pointer}.demo-journal-view-switch button.active{background:#102b22;border-color:#3a715b;color:#edf7f3}.demo-journal-summary-trader{grid-template-columns:repeat(5,1fr)}.demo-journal-summary-trader>div{min-height:48px;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px}.demo-journal-summary-trader span{font-size:9px;color:#93aaa1}.demo-journal-summary-trader b{font-size:13px;color:#e5f0ec}.demo-journal-day-title{min-height:34px}.demo-journal-day-title strong{display:flex;gap:5px;align-items:center;flex-wrap:wrap;font-size:10px}.demo-trade-journal-list{display:flex;flex-direction:column}.demo-trade-journal-block{border-right:3px solid #47685c;border-bottom:1px solid rgba(90,129,114,.13)}.demo-trade-journal-block.asset-gold{border-right-color:#caa536}.demo-trade-journal-block.asset-bitcoin{border-right-color:#e98934}.demo-trade-journal-block.asset-silver{border-right-color:#9facb1}.demo-trade-journal-block.asset-nasdaq{border-right-color:#3597cb}.demo-trade-journal-block.test{opacity:.72;border-style:dashed}.demo-trade-journal-row{width:100%;display:grid;grid-template-columns:145px 125px 82px 95px 95px 75px 72px 90px 72px 22px;grid-gap:8px;gap:8px;align-items:center;border:0;background:#061610;color:#cfe0da;padding:9px 10px;text-align:right;cursor:pointer}.demo-trade-journal-row:hover{background:#092019}.demo-trade-journal-row>span{min-width:0}.demo-trade-journal-row span>small{display:block;color:#769188;font-size:8px;margin-bottom:3px}.demo-trade-journal-row span>b{font:700 10px ui-monospace,SFMono-Regular,Menlo,monospace;color:#e0ece8}.trade-time{display:flex;flex-direction:column;gap:2px}.trade-time b,.trade-time small{font-size:8px!important;color:#9ab0a8!important;font-family:ui-monospace,SFMono-Regular,Menlo,monospace!important}.trade-asset{display:flex;align-items:center;gap:6px}.trade-asset b{font-size:10px!important}.trade-asset em{font-style:normal;font-size:7px;color:#e0bc58;border:1px solid #6b5820;border-radius:4px;padding:2px 4px}.trade-side{justify-self:start;border:1px solid;border-radius:5px;padding:4px 6px;font-size:8px;font-weight:800;direction:ltr}.trade-side.long{color:#4ce0a0;border-color:#286b50;background:#09251b}.trade-side.short{color:#ff777b;border-color:#78353a;background:#281013}.trade-status{justify-self:start;border:1px solid #315247;border-radius:999px;padding:4px 7px;font-size:8px;color:#a9c2b9}.trade-status.open{border-color:#2f6550;color:#76d5ae}.trade-status.partial{border-color:#725d26;color:#e4c66d}.trade-status.closed{border-color:#455a53;color:#aabbb5}.trade-expand{font-style:normal;color:#79978b;font-size:10px}.demo-trade-timeline{padding:7px 12px 9px;background:#04110d;border-top:1px solid rgba(82,121,106,.13)}.demo-timeline-event{display:grid;grid-template-columns:128px 100px 1fr 90px;grid-gap:8px;gap:8px;align-items:center;padding:6px 8px;border-bottom:1px solid rgba(73,108,95,.1);color:#8fa69e}.demo-timeline-event:last-child{border-bottom:0}.demo-timeline-event time{font:8px ui-monospace,SFMono-Regular,Menlo,monospace;color:#718b82}.demo-timeline-event p{margin:0;font-size:9px;color:#91a69f}.demo-timeline-event.important p{color:#d5e4de}.event-badge{display:inline-flex;align-items:center;justify-content:center;width:max-content;min-width:74px;border:1px solid #3a5149;border-radius:999px;padding:3px 6px;font-size:8px;color:#a2b3ad;background:#0a1914}.event-badge.signal{opacity:.62}.event-badge.opened,.event-badge.taken{border-color:#2d6750;color:#8ed9bb;background:#0a241b}.event-badge.skipped{border-color:#705926;color:#d7bb68;background:#1b1608}.event-badge.restored{border-color:#3d5f53;color:#a4cabb}.event-badge.manage{border-color:#3f5e74;color:#91bcd8;background:#091822}.event-badge.partial{border-color:#765f27;color:#e1c36a;background:#1e1808}.event-badge.closed{border-color:#53635e;color:#d0ddd8;background:#101713}.demo-journal-row-v2{display:grid;grid-template-columns:120px 100px 150px 80px 90px 65px minmax(180px,1fr) 90px 62px;grid-gap:8px;gap:8px;align-items:center;padding:8px 10px;border-bottom:1px solid rgba(88,126,111,.12);border-right:3px solid #47685c;background:#061610}.demo-journal-row-v2.asset-gold{border-right-color:#caa536}.demo-journal-row-v2.asset-bitcoin{border-right-color:#e98934}.demo-journal-row-v2.asset-silver{border-right-color:#9facb1}.demo-journal-row-v2.asset-nasdaq{border-right-color:#3597cb}.demo-journal-row-v2.signal{opacity:.66}.demo-journal-row-v2.important{background:#071b15;opacity:1}.demo-journal-row-v2.test{opacity:.55}.event-time{font:8px ui-monospace,SFMono-Regular,Menlo,monospace;color:#79948a}.event-asset{display:flex;align-items:center;gap:6px;min-width:0}.event-asset b{font-size:9px;color:#d6e4df}.event-asset em{font-style:normal;font-size:7px;font-weight:800;border:1px solid;border-radius:4px;padding:2px 4px;direction:ltr}.event-asset em.long{color:#4ce0a0;border-color:#286b50}.event-asset em.short{color:#ff777b;border-color:#78353a}.event-source{font-size:8px;color:#7d968d}.event-price,.event-r{display:flex;flex-direction:column;gap:2px}.event-price small,.event-r small{font-size:7px;color:#6d877e}.event-price b,.event-r b{font:9px ui-monospace,SFMono-Regular,Menlo,monospace;color:#cbdad5}.demo-journal-row-v2 p{margin:0;font-size:9px;color:#a8bab4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.event-pnl{font:9px ui-monospace,SFMono-Regular,Menlo,monospace}.demo-journal-row-v2>button{border:1px solid #345b4b;background:#0a2119;color:#9cc9b8;border-radius:5px;padding:5px 7px;font-size:8px}.demo-primary-action{background:#22313c!important;border-color:#455b69!important;color:#e3edf3!important}.demo-primary-action:hover{background:#2b3d4a!important}.demo-desk-status-line .warn{color:#e1c36a}.demo-desk-status-line .test-status{color:#c8aa55}.demo-tab-test-count{font-size:8px;color:#d2b962;margin-right:4px}.demo-signal-ticket.asset-gold{border-right:3px solid #caa536}.demo-signal-ticket.asset-bitcoin{border-right:3px solid #e98934}.demo-signal-ticket.asset-silver{border-right:3px solid #9facb1}.demo-signal-ticket.asset-nasdaq{border-right:3px solid #3597cb}@media(max-width:1250px){.demo-trade-journal-row{grid-template-columns:125px 110px 75px repeat(5,80px) 68px 20px}.demo-journal-row-v2{grid-template-columns:105px 92px 130px 72px 82px 58px minmax(140px,1fr) 80px 56px}}@media(max-width:900px){.demo-journal-summary-trader{grid-template-columns:repeat(2,1fr)}.demo-trade-journal-row{grid-template-columns:1.2fr 1fr .8fr 1fr 1fr}.demo-trade-journal-row>span:nth-of-type(n+6){display:none}.trade-expand,.trade-status{display:inline-flex!important}.demo-journal-row-v2{grid-template-columns:100px 92px 1fr 70px}.demo-journal-row-v2 .event-pnl,.demo-journal-row-v2 .event-price,.demo-journal-row-v2 .event-r,.demo-journal-row-v2 p{display:none}.demo-timeline-event{grid-template-columns:110px 90px 1fr}.demo-timeline-event>b{display:none}}[data-theme=light] .demo-journal-head>div:first-child small{color:var(--text-muted)}[data-theme=light] .demo-journal-view-switch button{border:1px solid var(--border-subtle);background:var(--surface-1);color:var(--text-muted)}[data-theme=light] .demo-journal-view-switch button.active{background:var(--surface-1);border-color:var(--positive);color:var(--text-primary)}[data-theme=light] .demo-journal-summary-trader span{color:var(--text-secondary)}[data-theme=light] .demo-journal-summary-trader b{color:var(--text-primary)}[data-theme=light] .demo-trade-journal-block{border-right:3px solid var(--border-strong);border-bottom:1px solid color-mix(in srgb,var(--border-subtle) 39%,transparent)}[data-theme=light] .demo-trade-journal-block.asset-bitcoin,[data-theme=light] .demo-trade-journal-block.asset-gold{border-right-color:var(--warning)}[data-theme=light] .demo-trade-journal-block.asset-silver{border-right-color:var(--border-strong)}[data-theme=light] .demo-trade-journal-block.asset-nasdaq{border-right-color:var(--info)}[data-theme=light] .demo-trade-journal-row{background:var(--surface-1);color:var(--text-primary)}[data-theme=light] .demo-trade-journal-row:hover{background:var(--surface-hover)}[data-theme=light] .demo-trade-journal-row span>small{color:var(--text-muted)}[data-theme=light] .demo-trade-journal-row span>b{color:var(--text-primary)}[data-theme=light] .trade-time b,[data-theme=light] .trade-time small{color:var(--text-secondary)!important}[data-theme=light] .trade-asset em{color:var(--warning);border:1px solid var(--warning)}[data-theme=light] .trade-side.long{color:var(--positive);border-color:var(--positive);background:color-mix(in srgb,var(--positive) 10%,var(--surface-1))}[data-theme=light] .trade-side.short{color:var(--negative);border-color:color-mix(in srgb,var(--negative) 40%,var(--border-subtle));background:color-mix(in srgb,var(--negative) 10%,var(--surface-1))}[data-theme=light] .trade-status{border:1px solid var(--border-subtle);color:var(--text-secondary)}[data-theme=light] .trade-status.open{border-color:var(--border-strong);color:var(--positive)}[data-theme=light] .trade-status.partial{border-color:var(--warning);color:var(--warning)}[data-theme=light] .trade-status.closed{border-color:var(--border-subtle);color:var(--text-secondary)}[data-theme=light] .trade-expand{color:var(--text-muted)}[data-theme=light] .demo-trade-timeline{background:var(--surface-1);border-top:1px solid color-mix(in srgb,var(--border-subtle) 39%,transparent)}[data-theme=light] .demo-timeline-event{border-bottom:1px solid color-mix(in srgb,var(--border-subtle) 30%,transparent);color:var(--text-muted)}[data-theme=light] .demo-timeline-event p,[data-theme=light] .demo-timeline-event time{color:var(--text-muted)}[data-theme=light] .demo-timeline-event.important p{color:var(--text-primary)}[data-theme=light] .event-badge{border:1px solid var(--border-subtle);color:var(--text-secondary);background:var(--surface-1)}[data-theme=light] .event-badge.opened,[data-theme=light] .event-badge.taken{border-color:var(--border-strong);color:var(--positive);background:var(--surface-1)}[data-theme=light] .event-badge.skipped{border-color:var(--warning);color:var(--warning);background:var(--surface-1)}[data-theme=light] .event-badge.restored{border-color:var(--border-subtle);color:var(--text-secondary)}[data-theme=light] .event-badge.manage{border-color:var(--border-strong);color:var(--info);background:var(--surface-1)}[data-theme=light] .event-badge.partial{border-color:var(--warning);color:var(--warning);background:var(--surface-1)}[data-theme=light] .event-badge.closed{border-color:var(--border-strong);color:var(--text-primary);background:var(--surface-1)}[data-theme=light] .demo-journal-row-v2{border-bottom:1px solid color-mix(in srgb,var(--border-subtle) 36%,transparent);border-right:3px solid var(--border-strong);background:var(--surface-1)}[data-theme=light] .demo-journal-row-v2.asset-bitcoin,[data-theme=light] .demo-journal-row-v2.asset-gold{border-right-color:var(--warning)}[data-theme=light] .demo-journal-row-v2.asset-silver{border-right-color:var(--border-strong)}[data-theme=light] .demo-journal-row-v2.asset-nasdaq{border-right-color:var(--info)}[data-theme=light] .demo-journal-row-v2.important{background:var(--surface-1)}[data-theme=light] .event-time{color:var(--text-muted)}[data-theme=light] .event-asset b{color:var(--text-primary)}[data-theme=light] .event-asset em.long{color:var(--positive);border-color:var(--positive)}[data-theme=light] .event-asset em.short{color:var(--negative);border-color:color-mix(in srgb,var(--negative) 40%,var(--border-subtle))}[data-theme=light] .event-price small,[data-theme=light] .event-r small,[data-theme=light] .event-source{color:var(--text-muted)}[data-theme=light] .event-price b,[data-theme=light] .event-r b{color:var(--text-primary)}[data-theme=light] .demo-journal-row-v2 p{color:var(--text-secondary)}[data-theme=light] .demo-journal-row-v2>button{border:1px solid var(--border-subtle);background:var(--surface-1);color:var(--text-secondary)}[data-theme=light] .demo-primary-action{border-color:var(--border-subtle)!important;color:var(--text-primary)!important}[data-theme=light] .demo-primary-action,[data-theme=light] .demo-primary-action:hover{background:var(--surface-hover)!important}[data-theme=light] .demo-desk-status-line .test-status,[data-theme=light] .demo-desk-status-line .warn,[data-theme=light] .demo-tab-test-count{color:var(--warning)}[data-theme=light] .demo-signal-ticket.asset-bitcoin,[data-theme=light] .demo-signal-ticket.asset-gold{border-right:3px solid var(--warning)}[data-theme=light] .demo-signal-ticket.asset-silver{border-right:3px solid var(--border-strong)}[data-theme=light] .demo-signal-ticket.asset-nasdaq{border-right:3px solid var(--info)}.demo-position-main-compact{grid-template-columns:minmax(145px,1.25fr) 82px 118px 92px 72px 92px 105px 72px}.demo-position-main-compact>div{min-height:58px;padding:9px 10px!important}.demo-position-main-compact .demo-position-identity small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:240px}.demo-position-main-compact>div>span{font-size:8px}.demo-position-main-compact>div>strong{font-size:12px}.demo-position-management-compact{padding:8px 10px!important;background:#05140f;border-top:1px solid rgba(95,139,122,.1)}.demo-position-management-compact .spacer{flex:1 1}.demo-position-details{border-top:1px solid rgba(95,139,122,.1);background:#04110d}.demo-position-details>summary{cursor:pointer;list-style:none;padding:7px 10px;color:#77968b;font-size:8px}.demo-position-details>summary::-webkit-details-marker{display:none}.demo-position-details[open]>summary{color:#b4cbc2;border-bottom:1px solid rgba(95,139,122,.1)}.demo-position-details-grid{display:grid;grid-template-columns:repeat(6,minmax(90px,1fr))}.demo-position-details-grid>div{padding:8px 10px;border-left:1px solid rgba(95,139,122,.1);display:flex;flex-direction:column;gap:3px}.demo-position-details-grid span{font-size:7px;color:#68877c}.demo-position-details-grid b{font:10px ui-monospace,SFMono-Regular,Menlo,monospace;color:#d9e8e2}.demo-trade-journal-row-source{grid-template-columns:145px 125px 82px 88px 95px 95px 75px 72px 90px 72px 22px!important}.trade-source{display:flex;flex-direction:column;gap:2px}.trade-source small{font-size:7px!important;color:#718b82!important}.trade-source b{font-size:8px!important;color:#9bb2a9!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.demo-symbol-spec-table{display:flex;flex-direction:column;border:1px solid #1f4437;border-radius:8px;overflow:hidden}.demo-symbol-spec-table>.head,.demo-symbol-spec-table>.row{display:grid;grid-template-columns:minmax(150px,1.2fr) 75px 125px 60px 105px;grid-gap:8px;gap:8px;align-items:center;padding:7px 8px;border-bottom:1px solid rgba(80,120,104,.14)}.demo-symbol-spec-table>.row:last-child{border-bottom:0}.demo-symbol-spec-table>.head{background:#071a14;color:#78958a;font-size:7px}.demo-symbol-spec-table>.row{background:#05140f}.demo-symbol-spec-table>.row label{display:grid!important;grid-template-columns:85px 1fr!important;align-items:center;grid-gap:6px;gap:6px}.demo-symbol-spec-table>.row label span{font:8px ui-monospace,SFMono-Regular,Menlo,monospace;color:#d7e6e0}.demo-symbol-spec-table>.row input{min-width:0!important;width:100%;padding:5px 6px!important}.demo-symbol-spec-table>.row>b{font:9px ui-monospace,SFMono-Regular,Menlo,monospace;color:#e0ede8}.demo-symbol-spec-table>.row>small{font-size:7px;color:#7e988e}.demo-ticket-summary small{font-size:7px;color:#718b82;margin-top:2px}.demo-reconciliation-warning span{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:8px}@media(max-width:1250px){.demo-position-main-compact{grid-template-columns:repeat(4,1fr)}.demo-position-details-grid{grid-template-columns:repeat(3,1fr)}.demo-trade-journal-row-source{grid-template-columns:125px 110px 75px 82px repeat(5,80px) 68px 20px!important}}@media(max-width:900px){.demo-position-details-grid,.demo-position-main-compact{grid-template-columns:repeat(2,1fr)}.demo-trade-journal-row-source{grid-template-columns:1.2fr 1fr .8fr .8fr 1fr!important}.demo-symbol-spec-table>.head{display:none}.demo-symbol-spec-table>.row{grid-template-columns:1fr 70px}.demo-symbol-spec-table>.row>b:nth-of-type(2),.demo-symbol-spec-table>.row>small{display:none}}.demo-timeline-event{grid-template-columns:128px 100px minmax(0,1fr)!important}.demo-timeline-detail{display:flex!important;align-items:baseline!important;gap:5px!important;min-width:0!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}.demo-timeline-inline-pnl{display:inline!important;flex:0 0 auto!important;white-space:nowrap!important;font:700 9px ui-monospace,SFMono-Regular,Menlo,monospace!important;line-height:1.25!important}.demo-timeline-event.important .demo-timeline-inline-pnl{font-size:9px!important}@media(max-width:900px){.demo-timeline-event{grid-template-columns:110px 90px minmax(0,1fr)!important}.demo-timeline-detail{display:block!important}.demo-timeline-inline-pnl{display:inline!important}}[data-theme=light] .demo-position-details,[data-theme=light] .demo-position-management-compact{background:var(--surface-1);border-top:1px solid color-mix(in srgb,var(--border-subtle) 30%,transparent)}[data-theme=light] .demo-position-details>summary{color:var(--text-muted)}[data-theme=light] .demo-position-details[open]>summary{color:var(--text-secondary);border-bottom:1px solid color-mix(in srgb,var(--border-subtle) 30%,transparent)}[data-theme=light] .demo-position-details-grid>div{border-left:1px solid color-mix(in srgb,var(--border-subtle) 30%,transparent)}[data-theme=light] .demo-position-details-grid span{color:var(--text-muted)}[data-theme=light] .demo-position-details-grid b{color:var(--text-primary)}[data-theme=light] .trade-source small{color:var(--text-muted)!important}[data-theme=light] .trade-source b{color:var(--text-secondary)!important}[data-theme=light] .demo-symbol-spec-table{border:1px solid var(--border-subtle)}[data-theme=light] .demo-symbol-spec-table>.head,[data-theme=light] .demo-symbol-spec-table>.row{border-bottom:1px solid color-mix(in srgb,var(--border-subtle) 42%,transparent)}[data-theme=light] .demo-symbol-spec-table>.head{background:var(--surface-1);color:var(--text-muted)}[data-theme=light] .demo-symbol-spec-table>.row{background:var(--surface-1)}[data-theme=light] .demo-symbol-spec-table>.row label span,[data-theme=light] .demo-symbol-spec-table>.row>b{color:var(--text-primary)}[data-theme=light] .demo-symbol-spec-table>.row>small,[data-theme=light] .demo-ticket-summary small{color:var(--text-muted)}