@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{color-scheme:dark;--bg:#090e19;--panel:#101827;--line:#233045;--muted:#8c9bb3;--text:#edf3ff;--green:#a3f273;--cyan:#67ceec;--red:#fa8b99}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--bg);color:var(--text);font:14px 'DM Sans',sans-serif}button,select,input{font:inherit}button,a,select,input{outline-offset:4px}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit;text-decoration:none}button{color:inherit}.sidebar{width:238px;position:fixed;inset:0 auto 0 0;border-right:1px solid var(--line);padding:34px 22px;background:#0c1220;display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center;font-family:Manrope,sans-serif;font-size:14px;letter-spacing:2.5px;font-weight:800}.brand-icon{background:var(--green);width:42px;height:44px;border-radius:12px;color:#10200e;font-size:30px;letter-spacing:-6px;padding-left:8px;display:flex;align-items:center}.brand-icon span{font-size:26px;position:relative;left:-2px;top:-7px}.brand b{display:block;color:var(--green);font-size:13px;letter-spacing:4px;margin-top:3px}.beta{font-family:'DM Sans';font-size:8px;letter-spacing:1px;margin-left:9px;vertical-align:middle;color:#7d8ba1}.nav-label{font-size:9px;letter-spacing:1.7px;color:#5d6e88;margin:49px 12px 16px}nav{display:grid;gap:8px}nav a,nav button{padding:14px 13px;display:flex;align-items:center;gap:12px;color:#97a5bb;border:0;background:transparent;border-radius:9px;text-align:left;font-weight:500;font-size:12px}nav span{font-size:20px;width:22px}nav .active{background:#1b2a27;color:var(--green)}nav a:hover,nav button:hover{background:#182336;color:white}.sidebar-bottom{margin-top:auto}.connection-card{padding:15px 12px;border:1px solid var(--line);border-radius:12px;background:linear-gradient(135deg,#172622,#101827)}.connection-card b{font-size:11px;margin-left:4px}.connection-card p{font-size:11px;color:var(--muted)}.connection-card small{font-size:9px;color:#6f8096}.side-foot{font-size:10px;line-height:1.9;padding:22px 9px 0;color:#97a5bb}.side-foot span{color:#53627a}main{margin-left:238px}header{min-height:83px;border-bottom:1px solid var(--line);padding:21px 34px;display:flex;justify-content:space-between;align-items:center;gap:16px}.breadcrumb{font-size:11px;color:var(--muted)}.breadcrumb span{margin:0 12px;color:#445369}.breadcrumb b{color:#cad5e7;font-weight:500}.header-actions{display:flex;align-items:center;gap:18px}.clock{font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums}.paper-badge{border:1px solid #344334;background:#1b281f;color:#bbd4b5;font-size:8px;letter-spacing:1px;padding:7px 9px;border-radius:5px}.primary,.secondary{border-radius:7px;padding:12px 16px;font-weight:600;font-size:12px;display:inline-flex;align-items:center;gap:12px;justify-content:center}.primary{background:var(--green);border:1px solid var(--green);color:#12210b}.primary:hover{background:#bafa90}.secondary{background:#141e2e;border:1px solid #2a394e;color:#c5d0e0}.secondary:hover{background:#213149}.small{font-size:10px;padding:10px 13px}.page{max-width:1650px;margin:auto;padding:34px}.page-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:8px 0 29px}.eyebrow{font-size:9px;font-weight:600;letter-spacing:1.8px;color:#8292ab;display:flex;align-items:center;gap:7px}.eyebrow>span{width:5px;height:5px;background:var(--green);border-radius:100%}h1,h2,h3{font-family:Manrope,sans-serif}h1{font-size:31px;letter-spacing:-1.1px;font-weight:750;margin:12px 0}h1>span{color:var(--green)}.page-intro p{color:var(--muted);font-size:12px;margin:0}.market-toolbar{display:flex;gap:30px;align-items:center;background:#101827;border:1px solid var(--line);border-radius:10px;padding:13px 18px;margin-bottom:19px}.market-toolbar>div{display:flex;align-items:center;gap:12px}.market-toolbar label{font-size:10px;color:#7e90aa}select,input{background:#162134;color:#e0e9f8;border:1px solid #2e3d53;border-radius:6px;padding:10px 12px;min-width:0}select{cursor:pointer}label{color:#92a2bb;font-size:11px}select:focus,input:focus{outline:1px solid var(--green)}.market-toolbar select{font-size:11px;border:0;background:#1a2639}.market-toolbar .feed-state{margin-left:auto;gap:7px;color:var(--green);font-size:10px}.feed-state small{color:#61728d;border-left:1px solid var(--line);padding-left:12px;margin-left:5px}.status-dot{display:inline-block;width:6px;height:6px;background:#7c889a;border-radius:100%;flex-shrink:0}.status-dot.live{background:var(--green);box-shadow:0 0 10px #a3f27340}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:22px}.stat{padding:20px;border:1px solid var(--line);border-radius:10px;background:linear-gradient(125deg,#131e2f,#101725)}.stat-top{font-size:9px;letter-spacing:1.1px;color:#91a2bb;display:flex;justify-content:space-between;align-items:center}.stat-top span{color:#627995;font-size:20px;line-height:14px}.stat strong{display:block;font-size:27px;letter-spacing:-.6px;font-family:Manrope,sans-serif;margin:14px 0 8px;font-weight:650}.stat strong em{font-size:12px;color:var(--muted);font-style:normal;font-weight:400}.stat small{font-size:10px;color:#7e90a9}.positive{color:var(--green)!important}.negative{color:var(--red)!important}.workspace-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:20px;margin-bottom:22px}.panel{border:1px solid var(--line);border-radius:12px;background:var(--panel);padding:23px;min-width:0;scroll-margin-top:25px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}h2{font-size:16px;letter-spacing:-.3px;margin:8px 0 0;font-weight:700}.chart-legend{display:flex;align-items:center;font-size:9px;color:var(--muted);gap:6px}.chart-legend i{background:var(--green);width:14px;height:2px;margin-left:8px}.chart-legend i:nth-child(2){background:#6db7f3}.chart-wrap{height:265px;margin:0 -9px}#chart{height:100%;width:100%}.chart-bottom{display:flex;justify-content:space-between;color:#60728e;font-size:9px;margin-top:8px}.tick-tape{border-top:1px solid var(--line);margin:20px -23px -5px;padding:18px 23px 0;display:flex;align-items:center;gap:16px}.tick-tape>span{font-size:8px;color:#7f91aa;letter-spacing:1px;white-space:nowrap}.tick-tape>div{display:flex;gap:6px;overflow:hidden;font-size:10px;color:var(--muted)}.tick-tape b{background:#1d2a3c;color:#c1cee1;border:1px solid #2e3b50;border-radius:5px;padding:5px 7px;font-weight:500}.tick-tape b:last-child{color:#14240a;background:var(--green);border-color:var(--green)}.insight-panel{background:radial-gradient(ellipse at top right,#1a2a29,transparent 60%),var(--panel)}.icon-pill{width:31px;height:31px;border-radius:9px;background:#24372a;color:var(--green);display:grid;place-items:center}.signal-card{padding:17px;background:#18251f;border:1px solid #344b36;border-radius:8px;margin-bottom:19px}.signal-label{font-size:8px;letter-spacing:1px;color:#91a78e;display:flex;justify-content:space-between;gap:8px}.signal-label span{font-size:7px;color:var(--green)}.signal-card h3{font-size:20px;margin:15px 0 10px;color:#c5f3ad;letter-spacing:-.4px}.signal-card p{font-size:11px;line-height:1.7;color:#9fb49f;margin:0}.check-row{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:10px;margin:14px 0;color:#8192ad}.check-row b{font-weight:500;color:#d2ddeb}.progress{height:4px;background:#233247;border-radius:6px}.progress i{display:block;width:0;background:var(--green);height:100%;border-radius:6px}.insight-note{display:flex;gap:10px;border-top:1px solid var(--line);margin-top:19px;padding-top:13px;color:#7d8fa9}.insight-note p{font-size:9px;line-height:1.7;margin:0}.tag{display:inline-flex;vertical-align:middle;font:8px 'DM Sans';letter-spacing:1px;color:#94a9c8;border:1px solid #304157;border-radius:4px;background:#192639;padding:5px 7px;margin-left:7px}.precision-panel{margin-bottom:22px}.subtle{font-size:10px;color:#8293ae;line-height:1.7}.lab-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:35px}.digit-bars{display:grid;grid-template-columns:repeat(10,1fr);gap:9px;height:178px;align-items:end;padding:5px 0 0}.digit-col{text-align:center;height:100%;display:flex;flex-direction:column;justify-content:flex-end;gap:8px}.digit-col small{font-size:9px;color:#91a5c2}.bar-track{height:125px;position:relative;display:flex;align-items:flex-end;background:#152132;border-radius:5px}.bar-track:before{content:'';position:absolute;left:0;right:0;bottom:50%;border-top:1px dashed #7089a366;z-index:1}.bar-track i{background:#567590;display:block;width:100%;height:0;border-radius:5px;transition:height .3s}.digit-col.hot .bar-track i{background:linear-gradient(#a8f37c,#609e50)}.digit-col.cold .bar-track i{background:linear-gradient(#79c8f3,#416788)}.digit-col b{font-size:12px;font-weight:500}.bar-caption{display:flex;justify-content:space-between;font-size:9px;color:#7486a0;margin-top:18px;gap:12px}.bar-caption i{display:inline-block;width:6px;height:6px;background:#719976;border-radius:2px;margin-right:5px}.strategy-card{border-left:1px solid var(--line);padding-left:25px}.strategy-card>label{display:block;font-size:10px;margin-bottom:8px}.strategy-card select{width:100%;font-size:12px}.strategy-numbers{display:flex;gap:30px;margin-top:18px}.strategy-numbers small{display:block;font-size:9px;color:#8396b0}.strategy-numbers strong{display:block;font-size:23px;margin-top:6px;font-weight:500;color:var(--green)}.strategy-numbers>div:nth-child(2) strong{color:#adbed6}.strategy-card p{font-size:11px;line-height:1.65;color:#a4b3c9}.strategy-card>small{font-size:9px;line-height:1.6;color:#72849e;display:block}.lower-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:20px;margin-bottom:22px}.panel-description{color:#8fa2bd;font-size:11px;line-height:1.8;margin-top:-4px}.bot-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:19px 0}.bot-controls label{display:flex;flex-direction:column;gap:8px;font-size:10px}.bot-controls input,.bot-controls select{width:100%;font-size:12px}.bot-status{display:flex;align-items:flex-start;gap:9px;font-size:10px;color:#a1b2ca;background:#152235;padding:13px;border:1px solid #24354e;border-radius:6px;margin:18px 0}.bot-status .status-dot{margin-top:3px}.button-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.bot-log{margin-top:18px;font:9px/1.9 'DM Sans';color:#7f94af;max-height:90px;overflow:auto}.bot-log p{margin:3px 0}.risk-result{display:flex;gap:36px;padding:19px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:23px}.risk-result small{font-size:10px;color:#91a0b8}.risk-result strong{font-family:Manrope;font-size:24px;display:block;margin-top:5px;letter-spacing:-.5px}.text-link{color:var(--green);font-size:11px;margin-left:auto}.journal-summary{display:flex;gap:30px;flex-wrap:wrap;font-size:10px;color:#8295b0;background:#142033;border-radius:6px;padding:15px 18px;margin-bottom:10px}.journal-summary b{margin-left:9px;color:#dce6f5;font-size:12px}.table-wrap{overflow:auto;max-height:360px}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:10px}th{text-align:left;font-weight:400;color:#7286a2;font-size:9px;letter-spacing:.3px;padding:15px 9px;border-bottom:1px solid var(--line)}td{padding:15px 9px;color:#acbdd4;border-bottom:1px solid #1c2a3f}.empty{text-align:center;padding:40px 15px;font-size:11px;color:#7186a2}footer{display:flex;gap:25px;align-items:center;margin:29px 0 5px;font-size:9px;color:#5f7390}.footer-brand{letter-spacing:1px;white-space:nowrap;font-size:10px;color:#92a4bd}.footer-brand b{color:#84a277}footer p{max-width:720px;line-height:1.7;margin:0}footer button{background:transparent;border:0;color:#8a9db8;font-size:9px;white-space:nowrap;margin-left:auto}.notice{background:#322820;border:1px solid #6c5140;color:#eac79b;font-size:12px;line-height:1.7;padding:13px 17px;border-radius:8px;margin:0 0 18px}dialog{background:#131e2f;border:1px solid #3e536f;border-radius:14px;max-width:590px;width:calc(100% - 32px);padding:28px;color:#dce6f6;box-shadow:0 20px 100px #000a}dialog::backdrop{background:#030813bc;backdrop-filter:blur(6px)}.dialog-top{display:flex;justify-content:space-between;align-items:center}.dialog-top button{border:0;background:#26364d;border-radius:6px;font-size:23px;line-height:28px;width:30px}dialog h2{font-size:23px;margin:18px 0}dialog p,dialog li{font-size:12px;line-height:1.85;color:#a3b5cf}dialog a{color:var(--green)}dialog .primary{margin-top:12px}dialog h3{font-size:14px;margin-top:22px}dialog code{font-size:11px;background:#0a1220;padding:4px 6px;word-break:break-all}.up{color:var(--green)}.down{color:var(--red)}
@media(min-width:1600px){.workspace-grid,.lab-grid{grid-template-columns:minmax(0,1fr) 360px}.chart-wrap{height:300px}.stat strong{font-size:32px}h1{font-size:36px}}
@media(max-width:1200px){.sidebar{width:200px;padding:30px 16px}main{margin-left:200px}.page{padding:24px}header{padding:20px 24px}.clock{display:none}.workspace-grid{grid-template-columns:minmax(0,1fr) 280px}.market-toolbar{gap:17px}.feed-state small{display:none}.lab-grid{grid-template-columns:minmax(0,1fr) 280px;gap:20px}.strategy-card{padding-left:20px}h1{font-size:27px}.stat{padding:16px}.stat strong{font-size:24px}.chart-legend{display:none}.tick-tape{gap:10px}.tick-tape b{padding:5px}.lower-grid{grid-template-columns:1fr 1fr}}
@media(max-width:980px){.sidebar{width:78px;padding:28px 14px}.brand>span:nth-child(2),.nav-label,.sidebar-bottom{display:none}.brand{justify-content:center}.brand-icon{flex-shrink:0}nav{margin-top:40px}nav a,nav button{font-size:0;padding:12px;text-align:center;justify-content:center}nav span{font-size:23px;width:24px}main{margin-left:78px}.workspace-grid{grid-template-columns:1fr}.insight-panel{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.insight-panel>.panel-heading,.insight-note{grid-column:1/-1}.signal-card{grid-row:2/6;margin-bottom:0}.insight-panel .progress{grid-column:2}.insight-panel .check-row{margin:9px 0}.lab-grid{grid-template-columns:1fr}.strategy-card{border-left:0;border-top:1px solid var(--line);padding:20px 0 0}.strategy-numbers{float:right;margin-top:0}.strategy-card select{width:42%}.lower-grid{grid-template-columns:1fr}footer{flex-wrap:wrap}footer p{order:3}.market-toolbar{flex-wrap:wrap}.market-toolbar .feed-state{margin-left:auto}}
@media(max-width:600px){.sidebar{position:static;width:100%;height:auto;padding:17px;border-right:0;border-bottom:1px solid var(--line)}.brand{justify-content:flex-start;gap:10px}.brand-icon{width:34px;height:35px;font-size:25px}.brand>span:nth-child(2){display:block;font-size:12px}.brand b{font-size:10px}nav{display:flex;margin-top:17px;gap:7px;justify-content:space-between}nav a,nav button{font-size:9px;padding:8px;gap:5px}nav span{font-size:15px;width:16px}nav a:nth-child(4),nav button{display:none}main{margin-left:0}header{padding:13px 17px;min-height:60px}.breadcrumb{font-size:9px}.breadcrumb span{margin:0 5px}.paper-badge{display:none}.header-actions{gap:7px}.page{padding:22px 16px}.page-intro{margin-top:0}.page-intro>.secondary{padding:8px;font-size:16px}.page-intro>.secondary span{display:none}h1{font-size:26px;line-height:1.3;max-width:260px}.page-intro p{font-size:11px;line-height:1.8;max-width:280px}.eyebrow{font-size:8px;letter-spacing:1.1px}.market-toolbar{gap:12px;padding:14px}.market-toolbar>div{flex-direction:column;align-items:flex-start;gap:6px}.market-toolbar select{font-size:10px;max-width:180px;padding:9px}.market-toolbar .feed-state{flex-direction:row;width:100%;margin-top:3px;font-size:9px}.stats-grid{grid-template-columns:1fr 1fr;gap:10px}.stat{padding:15px}.stat-top{font-size:8px;letter-spacing:.6px}.stat strong{font-size:25px;margin:12px 0 7px}.stat small{font-size:9px}.panel{padding:19px}.panel-heading{gap:9px}h2{font-size:15px}.chart-wrap{height:225px}.chart-bottom{font-size:8px}.tick-tape{margin:18px -19px 0;padding:16px 19px 0}.tick-tape>span{font-size:7px}.insight-panel{display:block}.signal-card{margin-bottom:17px}.insight-panel .check-row{margin:15px 0}.lab-grid{gap:20px}.digit-bars{gap:5px;height:150px}.bar-track{height:105px}.digit-col small{font-size:8px}.bar-caption{font-size:8px}.strategy-numbers{float:none;margin:17px 0}.strategy-card select{width:100%}.tag{font-size:7px;padding:4px;margin-left:3px}.bot-controls{gap:12px}.bot-controls label{font-size:9px}.journal-summary{gap:16px;padding:13px}.journal-summary span{width:calc(50% - 9px);font-size:9px}.journal-summary b{margin-left:5px}.journal>.panel-heading{align-items:flex-start}.journal>.panel-heading .tag{display:block;width:fit-content;margin:8px 0 0}.journal .small{padding:8px;font-size:9px}footer{gap:13px}footer button{margin-left:auto}.risk-result{gap:25px}.risk-result strong{font-size:22px}}
.demo-panel{margin-bottom:22px;background:radial-gradient(ellipse at top right,#182e30,transparent 55%),var(--panel)}.demo-layout{display:grid;grid-template-columns:1.3fr 1fr;gap:30px}.demo-summary{border:1px solid #2e4550;border-radius:10px;background:#102128;padding:24px}.demo-summary>small{color:#7ea8b5;font-size:9px;letter-spacing:1px}.demo-summary>strong{display:block;font:26px Manrope;margin:12px 0 25px;color:var(--cyan)}.demo-connect-buttons{display:flex;flex-direction:column;gap:7px;justify-content:flex-end}.demo-connect-buttons button{font-size:10px;padding:9px}.demo-panel .bot-controls{margin-top:0}@media(max-width:700px){.demo-layout{grid-template-columns:1fr;gap:20px}.demo-summary{padding:20px}}
@media(max-width:600px){nav a:nth-child(4){display:flex}nav a:nth-child(5){display:none}}

.demo-v4 [hidden]{display:none!important}
.demo-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.demo-title h2{margin:0;font-size:20px}
.demo-workbench{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:22px}
.demo-card{min-width:0;border:1px solid #2a3c50;background:#101c2b;padding:20px;border-radius:12px}
.demo-card h3,.demo-history-heading{margin:0 0 10px;font-size:16px;color:#e3edf8}
.demo-card .bot-controls{margin-top:14px}
.demo-card .subtle,.demo-v4 .subtle{font-size:11px}
.demo-history-heading{margin-top:25px}
.demo-metrics{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:14px;padding:10px;background:#18283c;border-radius:6px;color:#9eb3ce;font-size:11px}
.demo-metrics b{color:#d5f7bd;margin-left:4px}
.demo-live{min-height:30px}
.demo-card label>select{width:100%;margin-top:6px}
.strategist-table{max-height:245px;margin-top:10px}
.strategist-table td,.strategist-table th{padding:9px 6px}
.demo-panel .demo-connect-buttons button:disabled{display:none}
.demo-panel .demo-summary>strong{color:#9ce2ef}
@media(max-width:900px){.demo-workbench{grid-template-columns:1fr}}
@media(max-width:600px){.demo-card{padding:14px}.demo-title h2{font-size:17px}.demo-card .bot-controls label{font-size:10px}}