:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#22332f;background:#f3f5f4;font-synthesis:none;--green:#16735d;--muted:#7a8782;--line:#e5eae7;--ink:#132e28}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:85px}body{margin:0;font-size:14px}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #a7d6bf;outline-offset:3px}a{color:inherit;text-decoration:none}.hidden{display:none!important}.sidebar{position:fixed;inset:0 auto 0 0;width:224px;background:#112b25;color:#d3e1d9;padding:32px 22px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:11px;color:#fff;font-size:25px;font-weight:750;letter-spacing:-1px}.brand-light{font-weight:400}.brand small{display:block;font-size:8px;letter-spacing:2px;color:#7caa94;margin-top:7px;font-weight:500}.brand-icon{display:grid;place-content:center;width:37px;height:40px;background:#c3edc8;color:#163d2d;font-size:36px;font-weight:650;border-radius:11px;position:relative}.brand-icon span{font-size:17px;position:absolute;right:3px;top:1px}.workspace-label{font-size:9px;letter-spacing:1.4px;color:#71917f;margin:53px 10px 15px}.nav-item{display:flex;align-items:center;gap:11px;font-size:12px;padding:14px 11px;margin:5px 0;color:#a5bcb0;border-radius:7px}.nav-item>span{font-size:19px}.nav-item.active{background:#244537;color:#d5f3dc}.nav-item:hover{background:#1b3a2e}.nav-item em{font-size:10px;font-style:normal;background:#36513f;color:#c6d7ca;padding:2px 5px;border-radius:4px;margin-left:auto}.sidebar-bottom{margin-top:auto;border-top:1px solid #2b4739;padding:24px 8px 0}.exchange-logo{font-weight:850;color:#fff;font-size:24px;letter-spacing:-1px}.exchange-logo span{font-size:9px;color:#99bcaa;letter-spacing:1.5px;margin-left:8px;font-weight:500}.sidebar-bottom p{font-size:11px;line-height:1.8;color:#8baa98;margin:12px 0 20px}.secure-label{font-size:9px;color:#8dad9a;display:flex;align-items:center;gap:7px}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#69a888;flex-shrink:0}.workspace{margin-left:224px}.topbar{height:72px;padding:0 38px;border-bottom:1px solid var(--line);background:#fcfdfc;display:flex;justify-content:space-between;align-items:center;gap:12px}.breadcrumb{font-size:11px;color:#939d98}.breadcrumb span{margin:0 12px;color:#b6bfba}.breadcrumb strong{color:#53645b;font-weight:550}.top-actions{display:flex;align-items:center;gap:19px}.connection{font-size:10px;color:#60796a;display:flex;gap:7px;align-items:center}.utc{font-size:10px;color:#8c9891;font-variant-numeric:tabular-nums}.btn{border:1px solid #dce4de;border-radius:7px;background:white;color:#344b3d;padding:10px 16px;font-size:12px;font-weight:600;transition:background .15s,transform .15s}.btn:hover:not(:disabled){background:#edf5ee}.btn:active:not(:disabled){transform:translateY(1px)}.btn.small{padding:7px 13px;font-size:10px}main{max-width:1500px;margin:auto;padding:35px 38px 0}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:29px;gap:16px}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:650;color:#718577}h1{font-size:29px;font-weight:650;letter-spacing:-.9px;margin:10px 0 8px}.page-heading p{font-size:12px;color:#819088;margin:0}.status-pill{display:flex;align-items:center;gap:8px;border:1px solid #d7e2d8;border-radius:30px;background:#eaf0ea;color:#52705c;padding:9px 13px;font-size:10px;white-space:nowrap}.status-pill.running{background:#dcf3dd;color:#176338;border-color:#a6d4ad}.status-pill.paper{background:#e7edf8;color:#40618c;border-color:#cbd8ed}.notice{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#edf3ef;border:1px solid #d7e3db;padding:17px 21px;margin-bottom:22px;border-radius:9px;font-size:12px}.notice p{margin:6px 0 0;font-size:11px;color:#6d8072}.notice.error{background:#fff1eb;border-color:#efd5c8;color:#985034;line-height:1.7;display:block}.metrics{display:grid;grid-template-columns:1.15fr 1fr 1fr 1fr;gap:15px;margin-bottom:25px}.metric{min-width:0;background:#fff;border:1px solid var(--line);border-radius:10px;padding:19px 20px 18px;min-height:132px}.primary-metric{border-color:#c7dccf;background:#fafffa}.metric-label{color:#839087;font-size:10px;display:flex;align-items:center;justify-content:space-between;gap:4px;min-height:17px}.metric-number{font-size:32px;font-weight:600;letter-spacing:-1px;margin:10px 0 9px;font-variant-numeric:tabular-nums;color:#203e2c}.metric-number small{font-size:11px;font-weight:500;letter-spacing:0;color:#829084;margin-left:4px}.metric-foot{font-size:10px;color:#8d978f;line-height:1.5}.metric-foot.stale{color:#b47936}.icon-btn{padding:0;border:0;color:#71877a;background:transparent;font-size:20px;line-height:1;min-width:24px;min-height:24px}.tiny-tag{display:inline-block;font-size:8px;font-weight:600;letter-spacing:.5px;color:#819285;background:#f1f4f1;border:1px solid #e5ebe5;padding:4px 6px;border-radius:4px;white-space:nowrap}.tiny-tag.dirty{background:#fff2dc;color:#9b742c;border-color:#ebddbf}.trading-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(290px,1fr);gap:23px;align-items:stretch}.panel{background:#fff;border:1px solid var(--line);border-radius:10px;min-width:0;overflow:hidden;margin-bottom:23px}.panel-heading{padding:21px 23px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line)}.panel-heading>div:first-child{display:flex;align-items:center;gap:10px}h2{font-size:14px;font-weight:650;margin:0;letter-spacing:-.15px}.section-number{font-size:9px;color:#9aa89d;letter-spacing:.4px;font-variant-numeric:tabular-nums}.settings-body{padding:23px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid.three{grid-template-columns:1fr 1fr 1fr;gap:13px}.field{min-width:0}label{display:block;font-size:10px;font-weight:550;color:#68786c;margin-bottom:9px}input[type=number],input[type=password],select{width:100%;min-width:0;border:1px solid #dfe6df;background:#fafcf9;border-radius:6px;color:#334c3a;height:40px;padding:0 11px;font-size:11px;outline:0}input:focus,select:focus{border-color:#6da68a;box-shadow:0 0 0 3px #dfeee5}input:disabled,select:disabled{opacity:.65}select{padding-right:25px}.input-unit{position:relative}.input-unit input{padding-right:56px}.input-unit>span{position:absolute;right:12px;top:14px;font-size:9px;color:#91a090;pointer-events:none}.method-description{color:#89958a;font-size:10px;line-height:1.65;margin:12px 0 20px;min-height:32px}.divider{height:1px;background:var(--line);margin:21px 0}.field-help{font-size:10px;color:#8a978b;line-height:1.7;margin:12px 0 18px}.checkbox-label{display:flex;gap:10px;align-items:flex-start;font-size:10px;line-height:1.5;color:#5f7163;font-weight:500;margin:16px 0}.checkbox-label input{accent-color:#347d56;margin:2px 0 0;width:14px;height:14px;flex-shrink:0}.checkbox-label small{display:block;font-size:9px;font-weight:400;color:#99a297;margin-top:4px}.paper-settings{margin-top:23px;padding:15px 0 0;border-top:1px solid var(--line)}summary{font-size:10px;color:#6a7d6c;cursor:pointer}summary span{color:#a0aaa0;font-size:9px;margin-left:5px}.paper-settings .form-grid{margin-top:20px}.settings-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:22px}.settings-footer>span{font-size:9px;color:#9ba49a;max-width:220px;line-height:1.6}.settings-footer .btn{font-size:10px;padding:9px 12px}.launch-panel{background:#153b2e;color:#edf5eb;border-radius:10px;margin-bottom:23px;overflow:hidden}.launch-panel .panel-heading{border-bottom:1px solid #30513d}.launch-panel h2{color:#e1efdf}.launch-panel .section-number{color:#70947c}.live-tag{font-size:8px;letter-spacing:1px;background:#34553b;color:#c0dfb7;padding:4px 7px;border-radius:4px;border:1px solid #54764e}.launch-body{padding:23px}.launch-label{font-size:8px;letter-spacing:1.7px;color:#85a68a}.launch-body h3{font-size:21px;line-height:1.25;letter-spacing:-.5px;margin:10px 0 9px;font-weight:550}.launch-body #summary{font-size:10px;color:#98b09a;line-height:1.8;margin:0 0 19px}.launch-facts{padding:16px 0;border-top:1px solid #36543c;border-bottom:1px solid #36543c}.launch-facts>div{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;padding:6px 0}.launch-facts span{color:#8da98d}.launch-facts strong{font-size:10px;font-weight:550;color:#cdddbe;text-align:right}.readiness{display:grid;grid-template-columns:1fr 1fr;gap:9px 8px;margin:18px 0 23px}.check{display:flex;gap:6px;align-items:center;font-size:9px;color:#b4c6ac}.check .check-icon{font-size:11px;color:#b2d4a0}.check.bad{color:#d6bd80}.check.bad .check-icon{color:#eac589}.start-btn{width:100%;background:#c7e8a7;border-color:#c7e8a7;color:#26472d;padding:13px 10px;font-size:12px;border-radius:6px}.start-btn:hover:not(:disabled){background:#d8f3bd}.paper-btn{width:100%;background:transparent;border-color:#456446;color:#bcd2b4;margin-top:9px;font-size:10px;padding:11px}.paper-btn:hover:not(:disabled){background:#234c38}.stop-btn{width:100%;background:#ffe0cf;color:#7d3c23;border-color:#ffe0cf;padding:13px 10px}.stop-btn:hover:not(:disabled){background:#ffeae0}.launch-help{font-size:9px;color:#9bb392;line-height:1.7;margin:13px 0 0}.micro-note{font-size:8px;color:#6f916f;line-height:1.7;margin:17px 0 0}.signal-panel{display:flex;align-items:center;padding:21px 23px;gap:30px}.signal-title{display:flex;gap:12px;align-items:center;min-width:220px}.signal-title h2{font-size:12px}.signal-title p{font-size:9px;color:#8d9a8e;margin:7px 0 0}.signals{display:flex;flex:1;gap:12px;flex-wrap:wrap}.signal{display:flex;gap:10px;align-items:center;border-left:1px solid var(--line);padding-left:24px;flex:1;min-width:180px}.coin{display:grid;place-items:center;background:#fcf1db;color:#b28c3d;width:31px;height:31px;border-radius:50%;font-size:13px;font-weight:700;flex-shrink:0}.coin.eth{background:#edf0f9;color:#7181b2}.signal strong{font-size:11px}.signal small{display:block;font-size:9px;color:#96a194;margin-top:5px;line-height:1.6}.direction{margin-left:auto;font-size:11px;font-weight:650;color:#46865d;white-space:nowrap}.direction.down{color:#b37559}.direction.neutral{color:#98a18f}.performance-summary{display:flex;align-items:center;gap:25px;padding:21px 23px;background:#fcfdfb;border-bottom:1px solid var(--line)}.performance-summary>div{min-width:230px;display:flex;align-items:center;gap:19px}.performance-summary .metric-label{font-size:10px;max-width:105px;line-height:1.6}.performance-summary strong{font-size:27px;color:#447651;font-weight:550;font-variant-numeric:tabular-nums;letter-spacing:-1px}.performance-summary p{font-size:10px;color:#8b998b;line-height:1.8;margin:0}.table-scroll{overflow:auto;width:100%}table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left}th{font-size:9px;font-weight:500;color:#91a08f;padding:14px 23px;background:#fdfefd;border-bottom:1px solid var(--line)}td{padding:13px 23px;border-bottom:1px solid #edf0eb;font-size:10px;color:#70836e;font-variant-numeric:tabular-nums}tr:last-child td{border-bottom:0}.strategy-table tr.selected{background:#f0f7ed}.strategy-table tbody tr{cursor:pointer}.strategy-table tbody tr:hover{background:#f6f9f3}.strategy-table td:first-child{color:#4e6a49;font-weight:550}.method-index{display:inline-block;font-size:9px;color:#a1b099;min-width:25px;font-weight:400}.wr-cell{display:flex;align-items:center;gap:12px}.wr-track{width:77px;height:4px;background:#edf1e8;border-radius:5px;overflow:hidden}.wr-track i{display:block;height:100%;background:#8eaf78;border-radius:5px}.selected .wr-track i{background:#547c3e}.wr-number{min-width:40px;color:#4c6e42}.table-note{font-size:9px;line-height:1.8;color:#9ca694;margin:0;padding:15px 23px;border-top:1px solid var(--line)}.tabs{display:flex;gap:4px;background:#f0f3ec;border:1px solid #e5eadd;padding:3px;border-radius:6px}.tab{border:0;background:transparent;padding:6px 10px;border-radius:4px;color:#96a087;font-size:10px}.tab.active{background:white;box-shadow:0 1px 3px #22352212;color:#536d46}.journal-summary{display:flex;gap:25px;padding:16px 23px;border-bottom:1px solid var(--line);font-size:10px;color:#99a38c;flex-wrap:wrap}.journal-summary strong{color:#657c53;font-weight:600;margin-left:5px}.empty-state{text-align:center;padding:36px 15px 39px;color:#95a186}.empty-icon{display:inline-grid;place-items:center;width:37px;height:37px;background:#f1f5ea;color:#8d9e78;border:1px solid #e6eddc;border-radius:10px;font-size:22px}.empty-state h3{font-size:12px;font-weight:550;color:#708760;margin:14px 0 8px}.empty-state p{font-size:10px;margin:0;color:#a0ab91}.journal-table td:last-child{max-width:290px;white-space:normal;line-height:1.6;font-size:9px}.trade-status{padding:4px 7px;border-radius:4px;font-size:9px;background:#eef2e8;color:#778564}.trade-status.bad{background:#fff0e5;color:#b08455}.positive{color:#408256}.negative{color:#b6785a}footer{display:flex;justify-content:space-between;gap:12px;padding:5px 0 25px;color:#a1ac99;font-size:9px}footer b{font-weight:400;margin:0 6px;color:#c0c7b8}.muted{color:#98a291}dialog{border:1px solid #d7e2d6;border-radius:14px;padding:28px;max-width:450px;width:calc(100% - 32px);box-shadow:0 25px 120px #09281940;color:#294632;background:#fff}dialog::backdrop{background:#0b251c99;backdrop-filter:blur(4px)}.dialog-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px}dialog h2{font-size:23px;letter-spacing:-.6px;line-height:1.25}dialog p{color:#85957e;font-size:12px;line-height:1.8;margin:14px 0 20px}dialog label{font-size:11px}dialog input[type=password]{height:45px;background:#f8fbf5;font-size:15px}dialog small{font-size:10px;color:#9da993;display:block;text-align:center;margin-top:15px}.form-error{color:#b67148!important;min-height:15px;font-size:11px!important;margin:12px 0!important}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:23px}.dialog-actions .start-btn{width:auto}.confirm-summary{padding:17px;background:#f2f7ec;border:1px solid #e1ebd7;border-radius:7px;font-size:12px;line-height:1.8}.confirm-summary strong{display:block;margin-bottom:6px}.toast{position:fixed;bottom:24px;right:24px;max-width:440px;background:#1d422c;color:#eff9e8;border:1px solid #527547;box-shadow:0 12px 50px #15332226;border-radius:9px;padding:15px 20px;font-size:12px;line-height:1.6;z-index:100}.toast.error{background:#683d29;border-color:#916344}.tabular{font-variant-numeric:tabular-nums}@media(min-width:1600px){main{padding-top:43px}.metric{padding:24px}.metric-number{font-size:37px}.settings-body,.launch-body{padding:28px}.panel-heading{padding:23px 28px}.method-description{margin-bottom:25px}.launch-body h3{font-size:25px}.launch-help{margin-top:17px}.readiness{gap:14px 10px;margin:23px 0}}
@media(max-width:1190px){.sidebar{width:185px;padding:28px 14px}.brand{font-size:21px}.brand small{font-size:7px}.workspace{margin-left:185px}main{padding:28px 23px 0}.topbar{padding:0 23px}.metrics{gap:10px}.metric{padding:15px 13px}.metric-number{font-size:27px}.trading-grid{gap:16px;grid-template-columns:minmax(0,1.6fr) minmax(275px,1fr)}.settings-body,.launch-body{padding:18px}.form-grid{gap:11px}.form-grid.three{gap:8px}.panel-heading{padding:18px}.panel-heading h2{font-size:12px}.top-actions{gap:13px}.utc{display:none}.settings-footer>span{max-width:150px}.signal-panel{gap:15px}.signal-title{min-width:180px}.signal{padding-left:15px}td,th{padding-left:18px;padding-right:18px}}
@media(max-width:980px){.sidebar{width:72px;padding:25px 12px}.brand>span:last-child,.workspace-label,.nav-item em,.sidebar-bottom{display:none}.brand{justify-content:center}.nav-item{font-size:0;justify-content:center;padding:13px 0}.nav-item>span{font-size:22px}.sidebar nav{margin-top:38px}.workspace{margin-left:72px}.trading-grid{grid-template-columns:minmax(0,1.5fr) minmax(265px,1fr)}.breadcrumb{font-size:10px}.page-heading h1{font-size:26px}.metric-label{font-size:9px}.metric-foot{font-size:9px}.metrics{grid-template-columns:repeat(4,1fr)}.readiness{grid-template-columns:1fr 1fr}}
@media(max-width:790px){.trading-grid{grid-template-columns:1fr}.settings-body,.launch-body{padding:23px}.launch-panel .launch-body{display:grid;grid-template-columns:1fr 1fr;column-gap:25px}.launch-label,.launch-body h3,.launch-body #summary,.launch-facts{grid-column:1}.launch-label{grid-row:1}.launch-body h3{grid-row:2}.launch-body #summary{grid-row:3}.launch-facts{grid-row:4 / span 5}.readiness{grid-column:2;grid-row:1 / span 3;margin-top:0}.launch-body>.btn,.launch-help,.micro-note{grid-column:2}.metrics{grid-template-columns:repeat(2,1fr)}.metric{padding:19px}.metric-number{font-size:31px}.metric-foot,.metric-label{font-size:10px}.signal-panel{align-items:flex-start;flex-direction:column;gap:20px}.signal{border:0;padding:0}.performance-summary{gap:15px}.performance-summary>div{min-width:205px}.topbar{height:62px}.connection{font-size:9px}.breadcrumb{font-size:9px}.breadcrumb span{margin:0 5px}.page-heading{align-items:flex-start}.status-pill{font-size:9px;padding:8px}.page-heading p{max-width:230px;font-size:11px}}
@media(max-width:560px){.sidebar{position:static;width:100%;height:60px;padding:0 17px;flex-direction:row;align-items:center;justify-content:space-between}.brand>span:last-child{display:block}.brand{font-size:21px;gap:9px}.brand small{display:none}.brand-icon{width:30px;height:32px;font-size:28px;border-radius:8px}.brand-icon span{font-size:13px}.sidebar nav{display:flex;margin:0;gap:5px}.nav-item{padding:5px 11px;margin:0}.nav-item>span{font-size:21px}.workspace{margin-left:0}.topbar{height:48px;padding:0 17px}.breadcrumb{display:none}.top-actions{width:100%;justify-content:space-between}.utc{display:block;font-size:9px}.top-actions .btn{padding:6px 12px}.connection{font-size:10px}main{padding:23px 16px 0}.page-heading{flex-direction:column;gap:15px;margin-bottom:19px}.page-heading h1{font-size:26px;margin-top:8px}.page-heading p{max-width:none}.eyebrow{font-size:8px}.status-pill{align-self:flex-start}.metrics{gap:10px;margin-bottom:18px}.metric{padding:15px 13px;min-height:123px}.metric-number{font-size:27px}.metric-label{font-size:9px;min-height:24px}.metric-foot{font-size:9px}.tiny-tag{font-size:7px}.settings-body,.launch-body{padding:18px}.form-grid{gap:13px}.form-grid.three{grid-template-columns:1fr 1fr}.form-grid.three .field:last-child{grid-column:1 / -1}.field label{font-size:10px;line-height:1.4;min-height:14px}select,input[type=number]{font-size:12px;height:43px}.input-unit>span{top:16px}.method-description{font-size:10px;line-height:1.8;margin-top:15px}.settings-footer{align-items:flex-start}.settings-footer>span{font-size:9px;max-width:130px}.settings-footer .btn{max-width:160px;font-size:10px}.launch-panel .launch-body{display:block}.launch-body h3{font-size:23px}.launch-body #summary{font-size:11px}.launch-facts>div,.launch-facts strong{font-size:11px}.readiness{gap:13px;margin:21px 0}.check{font-size:10px}.launch-help{font-size:10px}.micro-note{font-size:9px}.signal-panel{padding:18px}.signal-title{min-width:0}.signals{width:100%}.signal{min-width:140px}.signal small{font-size:9px}.performance-summary{flex-direction:column;align-items:flex-start;padding:17px}.performance-summary>div{width:100%;justify-content:space-between}.performance-summary .metric-label{max-width:none}.performance-summary strong{font-size:29px}.performance-summary p{font-size:10px}.panel-heading{padding:17px 15px;gap:8px}.panel-heading>div:first-child{gap:7px}.panel-heading h2{font-size:12px}.panel-heading>.tiny-tag{font-size:6px;padding:4px}.strategy-table td,.strategy-table th{padding:13px 15px}.journal-summary{padding:15px;gap:13px;font-size:9px}.tabs .tab{font-size:9px;padding:6px 8px}.table-note{padding:15px;font-size:9px}.notice{align-items:flex-start;flex-direction:column;padding:15px;font-size:11px}.notice .btn{font-size:10px}.empty-state{padding:30px 15px}footer{flex-wrap:wrap;font-size:8px;gap:10px}footer>span:nth-child(2){order:3;width:100%}.toast{left:16px;right:16px;bottom:16px;max-width:none;font-size:11px}dialog{padding:23px}dialog h2{font-size:21px}dialog .checkbox-label{font-size:11px}}

/* Theme tokens and component surfaces. Dark is the initial document theme. */
html[data-theme=dark]{color-scheme:dark;background:#10171b;color:#dbe7e2;--green:#8acead;--muted:#93a69e;--line:#2a373c;--ink:#e1ede6}
.theme-toggle{white-space:nowrap;min-width:82px}
html[data-theme=light]{color-scheme:light}
[data-theme=dark] .sidebar{background:#0c1815;border-right:1px solid #25372e}
[data-theme=dark] .topbar{background:#141e22}
[data-theme=dark] .breadcrumb{color:#8b9d95}
[data-theme=dark] .breadcrumb strong{color:#c8d8ce}
[data-theme=dark] .breadcrumb span{color:#52675c}
[data-theme=dark] .connection{color:#a7c1b3}
[data-theme=dark] .utc{color:#91a69a}
[data-theme=dark] .btn{background:#22312f;border-color:#3a5045;color:#d0e2d6}
[data-theme=dark] .btn:hover:not(:disabled){background:#2d4238}
[data-theme=dark] .eyebrow{color:#94b39f}
[data-theme=dark] .page-heading p{color:#97aaa0}
[data-theme=dark] .status-pill{background:#20322b;border-color:#3b5343;color:#b6ccb9}
[data-theme=dark] .status-pill.running{background:#1d4630;border-color:#48784d;color:#b9ebbd}
[data-theme=dark] .status-pill.paper{background:#26394d;border-color:#476185;color:#b7ceee}
[data-theme=dark] .notice{background:#1d3028;border-color:#345141;color:#d1e5d7}
[data-theme=dark] .notice p{color:#a6baac}
[data-theme=dark] .notice.error{background:#39291f;border-color:#6c4e36;color:#efc09b}
[data-theme=dark] .metric,[data-theme=dark] .panel{background:#192328}
[data-theme=dark] .primary-metric{background:#1b2b27;border-color:#365b46}
[data-theme=dark] .metric-label{color:#a1b3a7}
[data-theme=dark] .metric-number{color:#e0efdf}
[data-theme=dark] .metric-number small{color:#a0b29f}
[data-theme=dark] .metric-foot{color:#92a68f}
[data-theme=dark] .metric-foot.stale{color:#d8ad71}
[data-theme=dark] .icon-btn{color:#a0bca6}
[data-theme=dark] .tiny-tag{color:#a5b79c;background:#25332c;border-color:#3b4c3b}
[data-theme=dark] .tiny-tag.dirty{color:#e8c787;background:#3d3320;border-color:#6b5733}
[data-theme=dark] .section-number{color:#8fa48d}
[data-theme=dark] label{color:#b0c3ac}
[data-theme=dark] input[type=number],[data-theme=dark] input[type=password],[data-theme=dark] select{background:#142024;border-color:#37483e;color:#d7e6d2}
[data-theme=dark] input:focus,[data-theme=dark] select:focus{border-color:#81b58b;box-shadow:0 0 0 3px #43694844}
[data-theme=dark] .input-unit>span{color:#a0b09a}
[data-theme=dark] .method-description,[data-theme=dark] .field-help{color:#9db097}
[data-theme=dark] .checkbox-label{color:#bed0b3}
[data-theme=dark] .checkbox-label small{color:#99aa91}
[data-theme=dark] .checkbox-label input{accent-color:#a0ce89}
[data-theme=dark] summary{color:#adc2a1}
[data-theme=dark] summary span{color:#8fa486}
[data-theme=dark] .settings-footer>span{color:#9daf93}
[data-theme=dark] .launch-panel{background:#17362d;border:1px solid #36543f}
[data-theme=dark] .launch-body #summary{color:#adc5a6}
[data-theme=dark] .launch-facts span{color:#a2bd98}
[data-theme=dark] .launch-facts strong{color:#d0e5bf}
[data-theme=dark] .launch-label{color:#a7c295}
[data-theme=dark] .check{color:#c1d4b4}
[data-theme=dark] .check.bad{color:#e6ca89}
[data-theme=dark] .btn.start-btn{background:#bee39b;border-color:#bee39b;color:#213c23}
[data-theme=dark] .btn.start-btn:hover:not(:disabled){background:#d2efb6}
[data-theme=dark] .btn.paper-btn{background:transparent;border-color:#58724c;color:#c7dbb6}
[data-theme=dark] .btn.paper-btn:hover:not(:disabled){background:#294b35}
[data-theme=dark] .btn.stop-btn{background:#633a2d;border-color:#a2694a;color:#ffddbe}
[data-theme=dark] .btn.stop-btn:hover:not(:disabled){background:#784b36}
[data-theme=dark] .launch-help{color:#b2c5a0}
[data-theme=dark] .micro-note{color:#99b08a}
[data-theme=dark] .signal-title p,[data-theme=dark] .signal small{color:#9eaf92}
[data-theme=dark] .coin{background:#433a23;color:#e7c56f}
[data-theme=dark] .coin.eth{background:#303952;color:#b6c4ec}
[data-theme=dark] .direction{color:#a3d08d}
[data-theme=dark] .direction.down{color:#e3a278}
[data-theme=dark] .direction.neutral{color:#a8b59a}
[data-theme=dark] .performance-summary{background:#1b2728}
[data-theme=dark] .performance-summary strong{color:#b2d58f}
[data-theme=dark] .performance-summary p{color:#a7b695}
[data-theme=dark] th{background:#172226;color:#adbb9e}
[data-theme=dark] td{color:#becdb0;border-bottom-color:#2b3838}
[data-theme=dark] .strategy-table tr.selected{background:#283d2d}
[data-theme=dark] .strategy-table tbody tr:hover{background:#243730}
[data-theme=dark] .strategy-table td:first-child{color:#d1e1bf}
[data-theme=dark] .method-index{color:#95a983}
[data-theme=dark] .wr-track{background:#364433}
[data-theme=dark] .wr-track i{background:#97b775}
[data-theme=dark] .selected .wr-track i{background:#c0dc8f}
[data-theme=dark] .wr-number{color:#bfd895}
[data-theme=dark] .table-note{color:#9fad92}
[data-theme=dark] .tabs{background:#142124;border-color:#364437}
[data-theme=dark] .tab{color:#9eae8b}
[data-theme=dark] .tab.active{background:#344a35;color:#d4e8b7;box-shadow:none}
[data-theme=dark] .journal-summary{color:#a6b394}
[data-theme=dark] .journal-summary strong{color:#cedeb2}
[data-theme=dark] .empty-icon{background:#273729;border-color:#435339;color:#b7c792}
[data-theme=dark] .empty-state h3{color:#c1d0a7}
[data-theme=dark] .empty-state p{color:#9eaf8c}
[data-theme=dark] .trade-status{background:#304331;color:#cad9ac}
[data-theme=dark] .trade-status.bad{background:#4d3823;color:#edc08c}
[data-theme=dark] .positive{color:#a9d996}
[data-theme=dark] .negative{color:#ecad83}
[data-theme=dark] .muted{color:#9cab90}
[data-theme=dark] footer{color:#9ba98c}
[data-theme=dark] dialog{background:#19272a;color:#e2eddb;border-color:#425440;box-shadow:0 25px 120px #0008}
[data-theme=dark] dialog::backdrop{background:#050c10bb}
[data-theme=dark] dialog p{color:#acbca0}
[data-theme=dark] dialog small{color:#a1b18f}
[data-theme=dark] .form-error{color:#efb587!important}
[data-theme=dark] .confirm-summary{background:#283b2d;border-color:#456041;color:#d9e8c4}
[data-theme=dark] .toast{background:#284632;border-color:#678258;color:#e7f1d5}
[data-theme=dark] .toast.error{background:#563a2c;border-color:#9d7150;color:#ffe1bd}
@media(max-width:560px){.theme-toggle{min-width:70px}.top-actions{gap:8px}.top-actions .theme-toggle{padding:6px 9px}}
.pnl-actions{display:flex;align-items:center;gap:9px}.pnl-grid{display:grid;grid-template-columns:1.2fr 1.1fr 1fr .85fr;gap:22px;padding:23px}.pnl-grid>div{min-width:0}.pnl-value{display:block;font-size:24px;font-weight:600;letter-spacing:-.6px;font-variant-numeric:tabular-nums;margin:12px 0 9px;color:#314c3a;white-space:nowrap}.pnl-grid small{font-size:10px;line-height:1.6;color:#7f927f;display:block}.pnl-chart-row{border-top:1px solid var(--line);display:grid;grid-template-columns:1.8fr 1fr;gap:27px;align-items:center;padding:18px 23px}.pnl-chart{min-width:0;font-size:11px;min-height:105px;display:flex;align-items:center}.pnl-chart svg{width:100%;height:auto;display:block;max-height:165px}.pnl-chart text{font:10px system-ui;fill:#7d927b}.chart-line{stroke:#568c61;stroke-width:2.5;fill:none;stroke-linejoin:round;stroke-linecap:round}.chart-line.loss{stroke:#b57654}.chart-zero{stroke:#a2b49d;stroke-dasharray:4 5;stroke-width:.7}.chart-dot{fill:#568c61}.chart-dot.loss{fill:#b57654}.pnl-explanation p{font-size:10px;line-height:1.8;color:#809176;margin:10px 0}.pnl-explanation>small{font-size:9px;color:#93a285}.pnl-dialog{width:calc(100% - 32px);max-width:1120px;max-height:88vh}.pnl-dialog .pnl-table td,.pnl-dialog .pnl-table th{padding:14px 12px}.pnl-table small{display:block;white-space:normal;line-height:1.6;text-align:left;font-size:10px;max-width:235px;color:#8d9b84;margin:5px 0 0}.pnl-dialog .pnl-dialog-note{font-size:10px;line-height:1.8;margin:20px 0 0}.pnl-dialog td:last-child{white-space:normal;min-width:130px;max-width:260px}.pnl-grid .positive{color:#408256}.pnl-grid .negative{color:#b6785a}[data-theme=dark] .pnl-value{color:#d7e8c9}[data-theme=dark] .pnl-grid .positive{color:#b5dba0}[data-theme=dark] .pnl-grid .negative{color:#ecad83}[data-theme=dark] .pnl-grid small,[data-theme=dark] .pnl-explanation p,[data-theme=dark] .pnl-table small{color:#a2b698}[data-theme=dark] .pnl-explanation>small{color:#9cae8c}[data-theme=dark] .pnl-chart text{fill:#a8bd9a}[data-theme=dark] .chart-line{stroke:#b3d68f}[data-theme=dark] .chart-line.loss{stroke:#e7ab7d}[data-theme=dark] .chart-dot{fill:#b3d68f}[data-theme=dark] .chart-dot.loss{fill:#e7ab7d}[data-theme=dark] .chart-zero{stroke:#5c7453}
@media(max-width:1190px){.pnl-grid{gap:15px;padding:20px}.pnl-value{font-size:20px}.pnl-grid .metric-label{font-size:9px}.pnl-chart-row{padding:15px 20px;gap:18px}}
@media(max-width:790px){.pnl-grid{grid-template-columns:1fr 1fr;gap:23px}.pnl-value{font-size:25px}.pnl-chart-row{grid-template-columns:1fr;gap:12px}.pnl-explanation p{margin-bottom:7px}.pnl-chart svg{max-height:140px}}
@media(max-width:560px){.pnl-grid{padding:18px 15px;gap:20px 13px}.pnl-value{font-size:18px;letter-spacing:-.4px}.pnl-grid .metric-label{min-height:26px;line-height:1.7}.pnl-grid small{font-size:9px}.pnl-actions{gap:6px}.pnl-actions .btn{padding:7px;font-size:9px}.pnl-panel .panel-heading h2{font-size:11px}.pnl-panel .section-number{display:none}.pnl-chart-row{padding:15px}.pnl-dialog{padding:20px 12px}.pnl-dialog h2{font-size:19px}.pnl-dialog .eyebrow{font-size:7px}.pnl-dialog .dialog-top{padding:0 5px}.pnl-dialog .pnl-table td,.pnl-dialog .pnl-table th{padding:12px 9px}.pnl-dialog #pnlDialogSummary{font-size:11px}}

.signal-decision { margin: 14px 0; padding: 14px 16px; border: 1px solid #bd8d35; border-radius: 10px; color: #e5b85f; background: rgba(189,141,53,.10); font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.signal-decision[hidden] { display: none; }
[data-theme="light"] .signal-decision { color: #795210; }
