:root{color-scheme:dark;--bg:#060910;--panel:#090d16;--panel2:#0d121e;--line:#1d2433;--text:#e9edf5;--muted:#738099;--green:#41dfb5;--blue:#679bff;--orange:#eeb15b;--pink:#ed5a9e;--purple:#a779ff;--red:#ff665b;--spotter:#41dfb5;--prior:#eeb15b;--edge:#ed5a9e;--risk:#a779ff;--taker:#679bff;--closer:#ff7851;font-family:Inter,Arial,Helvetica,sans-serif;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-size:13px}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;border:1px solid #283044;background:#111726;padding:9px 12px;border-radius:5px;font-size:11px;font-weight:700;letter-spacing:.055em;transition:background .15s,border-color .15s,opacity .15s}button:hover{background:#1b2436;border-color:#4d5a74}button:active{transform:translateY(1px)}button:disabled{cursor:not-allowed;opacity:.4}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--green);outline-offset:3px}input,select,textarea{background:#080d16;border:1px solid #29334a;border-radius:5px;padding:10px;min-width:0;max-width:100%}select{cursor:pointer}p{line-height:1.55}.app-shell{max-width:1920px;margin:auto}.topbar{height:74px;display:flex;align-items:center;gap:24px;padding:0 22px;border-bottom:1px solid var(--line);background:#080b12}.brand{display:flex;align-items:center;gap:11px;flex-shrink:0}.brand-symbol{font-size:32px;line-height:40px;width:40px;height:40px;display:grid;place-items:center;background:linear-gradient(140deg,#f4f7fa,#aab9cb);color:#0b111c;border-radius:50%;font-weight:900;box-shadow:0 0 24px #ffffff10}.brand strong{display:block;font-size:20px;letter-spacing:1px}.brand strong span{font-weight:300;color:#8c99b0;margin-left:5px}.brand small{display:block;margin-top:5px;font-size:8px;letter-spacing:2.2px;color:#8390a6}.version{font-family:monospace;font-size:10px;padding:3px 5px;background:#151d2a;border-radius:3px;color:#8390a6;align-self:flex-start}.view-tabs{display:flex;gap:4px;height:100%;align-items:center}.view-tabs button{background:none;border:none;color:var(--muted);font-size:10px;padding:8px 11px}.view-tabs button.active{background:#1a2231;color:white;box-shadow:inset 0 -2px var(--green)}.top-metrics{display:flex;gap:28px;align-items:center;margin-left:auto}.top-metrics>div{min-width:92px}.top-metrics small{font-size:8px;letter-spacing:1.2px;color:var(--muted);display:block}.top-metrics b{font-family:Consolas,'Courier New',monospace;display:block;margin-top:4px;font-size:20px}.top-metrics .clock b{font-size:24px;letter-spacing:1px}.top-metrics .clock small{font-size:7px;margin-top:4px}.icon-button{font-size:19px;padding:6px 9px;line-height:1}.pill{display:inline-flex;align-items:center;gap:6px;padding:6px 8px;border:1px solid #2d3a4c;border-radius:3px;font-size:9px;font-weight:800;letter-spacing:.8px;line-height:1.2;white-space:nowrap}.pill i,.tiny-dot{display:inline-block;width:5px;height:5px;background:currentColor;border-radius:50%;box-shadow:0 0 7px currentColor}.pill.offline{color:#8290a9;background:#151b28}.pill.online{color:var(--green);background:#163c322b;border-color:#23664f}.pill.observe{color:var(--blue);background:#18326438;border-color:#2c487b}.pill.auto{color:var(--green);background:#153e2f}.telemetry{height:37px;border-bottom:1px solid var(--line);display:flex;gap:24px;align-items:center;padding:0 20px;font-family:Consolas,'Courier New',monospace;font-size:9px;color:var(--muted);letter-spacing:.3px;white-space:nowrap;overflow-x:auto}.telemetry b{font-weight:400;color:#b4bfd1;margin-left:5px}.tele-right{margin-left:auto;color:#a5b2c8}.tele-right .tiny-dot{color:var(--green);margin-left:8px}main{padding:13px 16px 10px}.status-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:12px;border:1px solid #22324b;background:linear-gradient(105deg,#12233a95,#0b101b);border-left:3px solid var(--blue);padding:11px 15px;border-radius:5px}.status-banner>div{display:flex;gap:13px;align-items:center;min-width:0}.status-icon{font-size:26px;color:var(--blue)}.status-banner strong{font-size:12px}.status-banner p{margin:3px 0 0;font-size:11px;color:#97a7c1;overflow-wrap:anywhere}.status-banner .subtle{white-space:nowrap;font-size:9px}.status-banner.live{border-color:#1c5544;background:#0c1917}.status-banner.live .status-icon{color:var(--green)}.agents-strip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-bottom:12px}.agent-card{--agent:#8796ad;position:relative;min-width:0;border:1px solid #202738;background:linear-gradient(145deg,#0e1421,#080c14);border-radius:5px;text-align:left;padding:9px 12px 11px;overflow:hidden;cursor:pointer}.agent-card:hover{border-color:var(--agent)}.agent-top{display:flex;justify-content:space-between;color:#737f94;font-size:8px;letter-spacing:1px;margin-bottom:12px}.agent-top b{font-weight:400;color:var(--agent)}.agent-name{display:flex;align-items:center;gap:9px}.agent-icon{width:30px;height:30px;flex-shrink:0;border-radius:11px;background:color-mix(in srgb,var(--agent) 28%,#0b1020);border:1px solid color-mix(in srgb,var(--agent) 35%,transparent);display:grid;place-items:center;color:#f0f6ff;font-size:19px}.agent-name strong{font-size:13px;letter-spacing:.6px}.agent-card .agent-caption{display:block;font-size:9px;color:#7c8ba2;margin:9px 0 10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;min-height:12px}.agent-rail{height:2px;background:#192030}.agent-rail i{display:block;width:30%;height:100%;background:var(--agent);opacity:.35;transition:width .4s}.agent-card.pulse{border-color:var(--agent);box-shadow:inset 0 0 22px color-mix(in srgb,var(--agent) 8%,transparent)}.agent-card.pulse .agent-rail i{width:100%;opacity:1;box-shadow:0 0 12px var(--agent)}.view{display:none}.view.active{display:block}.panel{border:1px solid var(--line);border-radius:5px;background:var(--panel);min-width:0;overflow:hidden}.panel-head{height:38px;display:flex;align-items:center;justify-content:space-between;padding:0 13px;border-bottom:1px solid #1b2331;gap:8px;background:#0b1019}.panel-head h2{font-size:10px;font-weight:700;letter-spacing:1px;margin:0;white-space:nowrap}.panel-head em{font-size:8px;font-style:normal;color:#6b7990;letter-spacing:.8px;margin-left:10px;font-weight:400}.diamond{font-size:10px;color:#cdd5e2;margin-right:4px}.small-status{font-family:Consolas,'Courier New',monospace;color:#6e7d95;font-size:8px;letter-spacing:.7px;white-space:nowrap}.tree-stage{height:450px;position:relative;min-width:960px;background:radial-gradient(ellipse at 50% 46%,#1720396e 0,#0a101c66 35%,#080c1400 66%),linear-gradient(#0b101a,#070b13);overflow:hidden}.tree-stage:before{content:'';position:absolute;inset:0;background-image:radial-gradient(#41537555 .7px,transparent .7px);background-size:26px 26px;opacity:.18;pointer-events:none}.tree-scroll{overflow-x:auto}.market-cluster{position:absolute;z-index:2;top:21px;left:20px;width:31%;max-width:450px}.eyebrow{font-size:8px;font-weight:700;letter-spacing:1.1px;color:#c2cada;display:block}.eyebrow>span{margin-left:10px;font-size:7px;color:#69778f;font-weight:400}.quote-mini-row{display:flex;gap:6px;margin-top:11px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#2d415f transparent;padding-bottom:2px}.quote-mini{min-width:108px;flex:0 0 108px}.quote-mini{border:1px solid #222d41;background:#0c121d;border-radius:3px;min-width:0;padding:7px 8px;height:78px;border-left:2px solid var(--market-color,var(--orange))}.quote-mini small{font-size:8px;color:#8f9bb1;display:flex;justify-content:space-between;gap:2px;letter-spacing:.5px}.quote-mini small i{color:var(--market-color);font-style:normal;font-size:6px}.quote-mini b{display:block;font-family:Consolas,'Courier New',monospace;font-size:16px;margin-top:4px;letter-spacing:-.5px}.sparkline{height:19px;width:100%;display:block;margin-top:3px}.feed-state{display:flex;justify-content:space-between;gap:10px;font-family:Consolas,'Courier New',monospace;font-size:7px;color:#6d7f9d;margin:12px 0 8px;white-space:nowrap}.feed-state b{font-weight:400}.feed-state .tiny-dot{width:4px;height:4px;color:var(--muted)}.micro-divider{height:3px;border-radius:2px;background:linear-gradient(90deg,#4e739b 45%,#202a3b 45%);opacity:.55}.mini-readout{display:flex;justify-content:space-between;margin-top:10px;font-size:7px;color:#687892;letter-spacing:.5px}.mini-readout span{display:block}.mini-readout b{display:block;font-size:11px;color:#adbad0;margin-top:5px;font-weight:600}.core-group{position:absolute;z-index:2;top:36px;left:50%;width:220px;transform:translateX(-50%);text-align:center}.core-caption{font-family:Consolas,'Courier New',monospace;display:inline-block;font-size:7px;letter-spacing:.3px;border:1px solid #374257;background:#121a29;padding:4px 6px;white-space:nowrap}.core-caption span{color:var(--green);padding:0 4px}.core-orbit{width:170px;height:170px;position:relative;display:grid;place-items:center;margin:9px auto}.core{width:142px;height:142px;border-radius:50%;background:radial-gradient(circle at 35% 25%,#fff,#e2e9f5);display:flex;align-items:center;justify-content:center;gap:15px;box-shadow:0 0 55px #9fafec18,0 0 0 1px #fff3}.core span{width:15px;height:47px;display:block;background:#0a0d17;border-radius:10px;transform:rotate(-18deg)}.core span+span{transform:rotate(18deg)}.orbit{position:absolute;inset:0;border:1px solid #35445c65;border-radius:50%;pointer-events:none}.orbit-a{inset:1px;border-style:dashed;border-color:#5c69803d;transform:rotate(20deg)}.orbit-b{inset:-14px;border-color:#8aa4d214;transform:scaleX(1.3) rotate(-28deg)}.core-status{font-family:Consolas,'Courier New',monospace;font-size:7px;letter-spacing:1px;color:#8395b7}.core-group.processing .core{box-shadow:0 0 64px #86a9ff38,0 0 0 2px #b8cdff55}.account-cluster{position:absolute;top:21px;right:20px;width:30%;max-width:430px;border:1px solid #253146;background:#0b111bf0;padding:10px 12px;border-radius:4px;z-index:2}.guard-values{display:flex;justify-content:space-between;align-items:center;margin:12px 0 8px}.guard-values small{font-family:Consolas,'Courier New',monospace;font-size:8px;color:#71819a;display:block}.guard-values b{font-family:Consolas,'Courier New',monospace;font-size:23px;display:block;color:#dae5f8;margin-top:4px}.guard-shield{font-size:36px;color:var(--green);opacity:.7;padding-right:6px}.meter{height:4px;background:#202937;overflow:hidden;border-radius:2px}.meter i{display:block;height:100%;width:0%;background:var(--green);transition:width .4s}.risk-note{font-family:Consolas,'Courier New',monospace;display:flex;justify-content:space-between;font-size:7px;color:#77849a;gap:5px;margin:8px 0 10px}.risk-note b{font-weight:400;color:#acbcd4}.account-rows{border-top:1px solid #1d283a;padding-top:4px}.account-rows>div{display:flex;justify-content:space-between;font-size:8px;color:#7c8da7;padding:4px 0}.account-rows b{font-family:Consolas,'Courier New',monospace;font-weight:400;color:#acb9cd}.flow-svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.decor-wires path{stroke:#334365;stroke-width:1;fill:none;opacity:.35}.flow-paths path{stroke:#384961;stroke-width:1.4;fill:none}.flow-paths .reject-wire{stroke:#6b324852;stroke-dasharray:4 5}.flow-paths path.moving{stroke:var(--wire-color,#6b9ee4);stroke-width:2.4;stroke-dasharray:8 7;animation:wire-run .65s linear 3;filter:drop-shadow(0 0 4px var(--wire-color,#6b9ee4))}.path-labels text{fill:#70849d;font:6px Consolas,'Courier New',monospace;letter-spacing:.5px}.flow-node{--agent:#7b889c;cursor:pointer}.flow-node rect{fill:#0e1523;stroke:#334158;stroke-width:1.3}.flow-node circle{fill:var(--agent);fill-opacity:.55;stroke:var(--agent);stroke-opacity:.5}.flow-node text{fill:#c8d4e6;font-family:Arial,Helvetica,sans-serif}.flow-node .node-icon{text-anchor:middle;font-size:15px;font-weight:bold;fill:#fff}.flow-node .node-title{font-size:8px;font-weight:700;letter-spacing:.7px}.flow-node .node-status{font-size:6px;fill:#71829b;letter-spacing:.3px}.flow-node.pulse rect{stroke:var(--agent);filter:drop-shadow(0 0 6px color-mix(in srgb,var(--agent) 45%,transparent))}.flow-node.pulse .node-status{fill:var(--agent)}.rejected-node rect{fill:#28101b;stroke:#6a263d;stroke-width:1}.rejected-node text{fill:#b45472;font:6px Consolas,'Courier New',monospace;text-anchor:middle;letter-spacing:.5px}.rejected-node.pulse rect{stroke:var(--pink);filter:drop-shadow(0 0 5px #da538877)}.tree-foot{position:absolute;left:15px;bottom:0;right:15px;height:27px;border-top:1px solid #182132;display:flex;justify-content:space-between;align-items:center;color:#77869f;font-size:8px;letter-spacing:.3px}.tree-foot button,.panel-bottom button,.panel-head>button{padding:2px 0;font-size:8px;border:0;background:none;color:#98adc8}.tree-foot span{max-width:80%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.middle-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:12px;margin-top:12px}.panel-head select{font:8px Consolas,'Courier New',monospace;padding:3px 5px;background:#101827;border-color:#293548}.log-header{display:grid;grid-template-columns:69px 60px 1fr 47px;gap:7px;padding:8px 12px;border-bottom:1px solid #162031;color:#5f718b;font:7px Consolas,'Courier New',monospace;letter-spacing:.6px}.activity-log{height:230px;overflow:auto;scrollbar-width:thin;scrollbar-color:#2a354b #090d16}.log-row{border:0;border-bottom:1px solid #111a28;border-radius:0;display:grid;grid-template-columns:69px 60px 1fr 47px;align-items:center;gap:7px;width:100%;text-align:left;padding:7px 12px;background:transparent;letter-spacing:0;min-height:31px;font-size:9px}.log-row:hover{background:#151e30}.log-agent{font-family:Consolas,'Courier New',monospace;font-weight:700;letter-spacing:.4px;display:flex;align-items:center;gap:5px;font-size:8px}.log-agent i{width:5px;height:5px;border-radius:50%;background:currentColor;flex-shrink:0}.log-kind{font:8px Consolas,'Courier New',monospace;color:#8296b5}.log-message{color:#a6b3c9;font-size:9px;font-weight:400;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.log-time{font:7px Consolas,'Courier New',monospace;color:#5d708a;text-align:right}.panel-bottom{height:27px;border-top:1px solid #182132;display:flex;justify-content:space-between;align-items:center;padding:0 12px;font-family:Consolas,'Courier New',monospace;font-size:8px;color:#697a92}.pnl-content{display:grid;grid-template-columns:minmax(0,1fr) 203px;height:287px}.equity-plot{position:relative;min-width:0;border-right:1px solid #1a2435;padding:13px 7px 8px}.equity-plot canvas{width:100%;height:100%;display:block}.chart-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center;color:#53657f;pointer-events:none;padding:20px}.chart-empty>span{font-size:33px;color:#344b69}.chart-empty strong{font-size:11px;font-weight:400;color:#8c9bb2;letter-spacing:.3px}.chart-empty small{font-size:9px;line-height:1.5;max-width:230px;color:#566a85}.pnl-summary{padding:15px 14px;min-width:0}.pnl-summary>.eyebrow{font-size:8px}.pnl-summary>strong{font-family:Consolas,'Courier New',monospace;display:block;font-size:30px;letter-spacing:-1px;color:var(--green);margin-top:15px}.today-pnl{display:flex;justify-content:space-between;align-items:center;margin:8px 0 14px;font:8px Consolas,'Courier New',monospace;color:#687e99}.today-pnl b{font-size:12px}.stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px 10px;border-top:1px solid #1d293b;padding-top:13px}.stats-grid small{display:block;font-size:6px;color:#71849f;letter-spacing:.6px}.stats-grid b{font-family:Consolas,'Courier New',monospace;font-size:16px;display:block;margin-top:4px;font-weight:600}.target-line{display:flex;justify-content:space-between;color:#71849f;font:7px Consolas,'Courier New',monospace;margin:13px 0 6px}.target-line b{color:#b1bfd3;font-weight:400}.target.meter{height:3px}.caption-note{display:block;color:#576880;font-size:7px;line-height:1.5;margin-top:11px}.bottom-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:12px;margin-top:12px}.regime-content{display:grid;grid-template-columns:1fr 160px 110px;align-items:center;height:203px;padding:16px 15px;gap:10px}.regime-readout h3{font-family:Consolas,'Courier New',monospace;font-size:22px;margin:13px 0 17px;font-weight:600;color:#afbdd3}.regime-readout>div{display:flex;justify-content:space-between;margin-top:9px;gap:8px;font:7px Consolas,'Courier New',monospace;color:#5e728f;white-space:nowrap}.regime-readout b{font-size:10px;color:#bccadd;font-weight:400}.regime-ring{position:relative;height:155px}.regime-ring canvas{width:100%;height:100%}.regime-ring>div{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}.regime-ring strong{font:27px Consolas,'Courier New',monospace;color:#c6d3e6}.regime-ring span{font:6px Consolas,'Courier New',monospace;letter-spacing:1px;color:#6f829d}.regime-legend{display:flex;flex-direction:column;gap:14px;font:7px Consolas,'Courier New',monospace;color:#8091ab}.regime-legend span{display:flex;align-items:center;gap:6px}.regime-legend b{margin-left:auto;color:#b4c3d8;font-size:9px;font-weight:400}.regime-legend i{height:5px;width:5px;display:block}.trend-color{background:var(--blue)}.range-color{background:var(--orange)}.mixed-color{background:var(--purple)}.vol-color{background:var(--pink)}.price-plot{position:relative;height:203px;padding:10px}.price-plot canvas{width:100%;height:100%;display:block}.control-bar{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-top:12px;padding:12px 15px;border:1px solid #28344b;border-radius:5px;background:#0e1624}.control-status{display:flex;gap:10px;align-items:center;font-size:10px;min-width:0}.control-status .tiny-dot{color:var(--blue)}.control-status strong{font:10px Consolas,'Courier New',monospace;letter-spacing:.8px;color:#acc3e7;white-space:nowrap}.control-status>span:last-child{font-size:10px;color:#7185a3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.control-actions{display:flex;gap:8px;flex-shrink:0}.primary{background:#143d33;border-color:#23755a;color:#6ef4c8}.primary:hover{background:#205b49;border-color:#4ceaaf}.danger{color:#f18381;border-color:#5b343c}.subtle{background:transparent;border-color:#303d53;color:#9badc9}.green{color:var(--green)!important}.red{color:var(--red)!important}.amber{color:var(--orange)!important}.blue{color:var(--blue)!important}.purple{color:var(--purple)!important}footer{display:flex;justify-content:space-between;padding:10px 20px 15px;gap:15px;font:7px Consolas,'Courier New',monospace;letter-spacing:.7px;color:#50617b}footer b{color:#7a8ca7;font-weight:400}.tape-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;padding:20px}.tape-card{border:1px solid #29354b;background:#0d1523;padding:20px;border-radius:5px}.tape-card h3{font-size:14px;letter-spacing:1px;margin:0}.tape-card .bidask{display:flex;justify-content:space-between;margin-top:25px;gap:14px}.tape-card small{display:block;color:#6e829e;font-size:9px}.tape-card b{display:block;font:25px Consolas,'Courier New',monospace;margin-top:5px}.tape-card p{font-size:10px;color:#7188a8;margin:20px 0 0}.big-price{height:500px;position:relative;padding:20px}.big-price canvas{width:100%;height:100%;display:block}.closed-panel{margin-top:16px}.table-wrap{overflow:auto;min-height:150px}table{width:100%;border-collapse:collapse;white-space:nowrap}th{text-align:left;font:8px Consolas,'Courier New',monospace;color:#6e829d;padding:13px;border-bottom:1px solid #22314b}td{font:11px Consolas,'Courier New',monospace;padding:13px;border-bottom:1px solid #172337;color:#b0bfd5}td.empty-table{text-align:center;color:#617893;height:110px;white-space:normal;font-size:11px}.table-wrap .owned-tag{font-size:8px;padding:3px 5px;border-radius:3px;background:#123d32;color:var(--green)}.table-wrap .manual-tag{font-size:8px;padding:3px 5px;border-radius:3px;background:#30231b;color:var(--orange)}.mobile-hint{display:none}dialog{color:var(--text);background:#0b111d;border:1px solid #334159;border-radius:12px;padding:0;box-shadow:0 20px 100px #000b;width:min(760px,calc(100% - 32px));max-height:90dvh;overflow:hidden}dialog::backdrop{background:#01030bbb;backdrop-filter:blur(6px)}dialog[open]{display:flex;flex-direction:column}.dialog-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;gap:12px;border-bottom:1px solid #233047;flex-shrink:0}.dialog-header h2{font-size:19px;font-weight:500;margin:7px 0 0}.dialog-header>.close-dialog{border:0;background:#182235;font-size:24px;font-weight:400;width:33px;height:33px;padding:0;line-height:1;flex-shrink:0}.dialog-body{overflow:auto;padding:22px 24px;scrollbar-width:thin;scrollbar-color:#324363 #101827;overscroll-behavior:contain}.dialog-footer{padding:15px 24px;border-top:1px solid #233047;display:flex;justify-content:space-between;align-items:center;gap:15px;flex-shrink:0}.dialog-footer span{font-size:10px;line-height:1.5;color:#8296b4}.settings-intro{border:1px solid #273b54;background:#112035;border-radius:6px;padding:14px 16px}.settings-intro strong{font-size:14px}.settings-intro p{font-size:11px;color:#91a7c3;margin-bottom:0}.settings-section{margin-top:28px}.settings-section h3{font-size:11px;color:#b0c0d9;letter-spacing:1px;border-bottom:1px solid #263148;padding-bottom:11px;margin:0 0 18px}.settings-section label{display:flex;flex-direction:column;gap:8px;font-size:11px;color:#bcc9de;margin-bottom:13px}.settings-section label>span{font-size:10px;color:#7088a9}.field-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:20px;row-gap:4px}.settings-section input:not([type=checkbox]):not([type=range]),.settings-section select{width:100%;height:40px;font-size:12px}.button-row{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}.help{font-size:11px;color:#7e94b3;line-height:1.65;overflow-wrap:anywhere}.diagnostics{font:10px/1.6 Consolas,'Courier New',monospace;color:#8c9fb9;background:#070c15;border:1px solid #212f44;border-radius:5px;padding:12px;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:10px}.strategy-options .strategy-option{display:flex;flex-direction:row;align-items:center;gap:12px;padding:13px;background:#0d1726;border:1px solid #25344b;border-radius:5px;margin-bottom:8px}.strategy-option input{width:17px;height:17px;flex-shrink:0;accent-color:var(--green)}.strategy-option>div{flex:1}.strategy-option b{font-size:11px;letter-spacing:.6px}.strategy-option div span{display:block;font-size:10px;color:#8296b3;line-height:1.5;margin-top:5px}.strategy-tag{font-size:7px!important;letter-spacing:.7px}.risk-slider-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.risk-slider-head label{margin:0}.risk-slider-head b{font:14px Consolas,'Courier New',monospace;color:var(--green)}#cfg-risk{width:100%;accent-color:var(--green);padding:0;margin:15px 0 24px}.settings-section .check-line{flex-direction:row;align-items:flex-start;gap:10px;line-height:1.5}.check-line input{margin-top:2px;accent-color:var(--green)}.symbol-config{display:grid;grid-template-columns:110px 1fr 1fr 1fr;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #1f2b40}.symbol-config label{margin-bottom:0}.symbol-config label small{font-size:8px;color:#8c9bb3}.symbol-config .symbol-enabled{display:flex;flex-direction:row;align-items:center;font-size:11px;gap:8px;color:#d1ddec}.symbol-enabled input{accent-color:var(--green)}.symbol-config input[type=number]{font-size:11px!important;padding:8px}.news-warning{padding:14px;border:1px solid #654522;background:#34261947;border-radius:5px;margin-bottom:18px}.news-warning b{font-size:12px;color:var(--orange)}.news-warning p{font-size:11px;color:#af9e85;line-height:1.55}.news-warning button{border-color:#6e5330;color:#eecb94;background:#382c1e}.settings-section textarea{width:100%;font:11px/1.5 Consolas,'Courier New',monospace;resize:vertical;min-height:95px}.phone-note{background:#101e31;padding:14px;border:1px solid #283c57;border-radius:5px;margin-top:18px}.phone-note b{font-size:11px}.phone-note p{font-size:11px;color:#8aa2c1;margin:6px 0 0}.confirm-dialog{max-width:520px}.confirm-dialog .dialog-body p{font-size:13px;color:#9aabc3;white-space:pre-line}.confirm-dialog label{display:flex;flex-direction:column;gap:10px;font-size:12px}.confirm-dialog input{font:16px Consolas,'Courier New',monospace;margin-top:5px}.confirm-dialog .dialog-footer{justify-content:flex-end}.form-error{color:var(--red);font-size:12px;margin-top:15px;line-height:1.5}.detail-dialog{max-width:820px}.detail-dialog pre{margin:0;font:12px/1.7 Consolas,'Courier New',monospace;color:#a8bfdc;white-space:pre-wrap;overflow-wrap:anywhere}#toast{position:fixed;left:50%;bottom:32px;transform:translateX(-50%) translateY(20px);z-index:20;max-width:calc(100vw - 32px);width:max-content;padding:14px 20px;border:1px solid #375579;background:#14233a;color:#d2e2f5;border-radius:7px;box-shadow:0 10px 40px #0009;opacity:0;transition:opacity .2s,transform .2s;pointer-events:none;font-size:12px;line-height:1.5}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}#toast.error{border-color:#773b43;background:#371c25}.hidden{display:none!important}.empty-log{padding:25px;color:#687d9d;line-height:1.6;font-size:11px}.read-only .control-actions{display:none}.read-only #settings-dialog .dialog-footer button{display:none}@keyframes wire-run{to{stroke-dashoffset:-45}}@media(min-width:1500px){.tree-stage{height:500px}.core-group{top:44px}.core-orbit{width:190px;height:190px}.core{width:163px;height:163px}.market-cluster,.account-cluster{top:26px}.market-cluster{left:28px}.account-cluster{right:28px}.quote-mini{height:90px}.quote-mini b{font-size:19px}.sparkline{height:23px}.guard-values{margin:18px 0 12px}.account-rows>div{padding:6px 0}.flow-svg{top:15px;height:calc(100% - 15px)}.agent-card{padding:12px 15px}.agent-name strong{font-size:15px}.agent-icon{width:35px;height:35px}.pnl-content{height:315px}.activity-log{height:258px}.regime-content,.price-plot{height:220px}}
@media(max-width:1180px){.topbar{gap:12px;padding:0 16px}.top-metrics{gap:17px}.top-metrics .clock{display:none}.brand strong{font-size:18px}.telemetry{gap:18px}.panel-head em{display:none}.regime-content{grid-template-columns:1fr 140px;gap:8px}.regime-legend{display:none}.pnl-content{grid-template-columns:minmax(0,1fr) 175px}.pnl-summary{padding:14px 11px}.pnl-summary>strong{font-size:26px}.agent-name{gap:7px}.agent-name strong{font-size:11px}.agent-card{padding:9px}.agent-icon{width:26px;height:26px;font-size:17px}.agent-top{font-size:7px;letter-spacing:.5px}.middle-grid,.bottom-grid{gap:9px}.top-metrics b{font-size:18px}.control-status>span:last-child{max-width:350px}}
@media(max-width:900px){.top-metrics>div:first-child{display:none}.topbar{gap:10px;height:66px}.view-tabs{gap:0}.view-tabs button{padding:8px}.top-metrics>div{min-width:80px}.brand small{font-size:6px;letter-spacing:1.5px}.agents-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.agent-card{padding:10px 12px}.agent-top{margin-bottom:8px}.agent-name strong{font-size:12px}.agent-caption{margin:7px 0!important}.middle-grid,.bottom-grid{grid-template-columns:1fr}.pnl-content{grid-template-columns:minmax(0,1fr) 230px}.pnl-summary>strong{font-size:31px}.regime-content{grid-template-columns:1fr 170px 130px}.regime-legend{display:flex}.control-status>span:last-child{display:none}.telemetry{font-size:8px;padding:0 15px}.tree-stage{min-width:980px}.mobile-hint{display:block;padding:7px 12px;background:#101a2b;font-size:9px;color:#7287a6;border-bottom:1px solid #22334b}.regime-readout>div{font-size:9px;max-width:250px}.regime-readout b{font-size:12px}.regime-readout h3{font-size:27px}.regime-legend{font-size:9px}.tape-card b{font-size:20px}.tape-cards{gap:10px;padding:15px}.tape-card{padding:14px}.tape-card .bidask{flex-direction:column;gap:12px}}
@media(max-width:600px){main{padding:10px 9px}.topbar{padding:0 12px;gap:8px;height:62px}.brand{gap:8px}.brand-symbol{width:31px;height:31px;font-size:25px;line-height:31px}.brand strong{font-size:14px;letter-spacing:.4px}.brand small{font-size:5px;letter-spacing:1.2px;margin-top:4px}.version{display:none}.view-tabs{margin-left:auto}.view-tabs button{font-size:8px;padding:7px}.top-metrics{display:none}.icon-button{font-size:18px;padding:4px 6px}.topbar .pill{font-size:6px;padding:5px;gap:4px;letter-spacing:.2px}.topbar .pill i{width:4px;height:4px}.telemetry{height:34px;gap:15px;padding:0 12px}.telemetry .pill{font-size:7px}.tele-right{display:none}.status-banner{padding:11px;gap:8px;align-items:flex-start}.status-banner>div{gap:8px}.status-icon{font-size:22px}.status-banner strong{font-size:11px}.status-banner p{font-size:10px;line-height:1.5}.status-banner .subtle{padding:7px;font-size:7px;max-width:93px;white-space:normal;line-height:1.5}.agents-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-bottom:10px}.agent-card{padding:9px 10px}.agent-icon{width:27px;height:27px}.agent-name strong{font-size:12px}.agent-top{font-size:7px}.agent-card .agent-caption{font-size:9px}.panel-head{padding:0 10px;height:35px}.panel-head h2{font-size:9px;letter-spacing:.7px}.small-status{font-size:6px}.tree-stage{height:420px;min-width:930px}.core-group{top:35px}.market-cluster,.account-cluster{top:20px}.core-orbit{height:158px;width:158px}.core{height:132px;width:132px}.tree-foot{font-size:7px}.pnl-content{height:auto;grid-template-columns:1fr}.equity-plot{height:235px;border:0;border-bottom:1px solid #213047}.pnl-summary{display:grid;grid-template-columns:1fr 1fr;column-gap:20px;row-gap:3px;padding:16px}.pnl-summary>.eyebrow{grid-column:1 / -1}.pnl-summary>strong{font-size:32px;align-self:center;margin:9px 0}.pnl-summary .today-pnl{margin:0}.stats-grid{grid-column:1 / -1;grid-template-columns:repeat(4,1fr);gap:9px;margin-bottom:8px}.stats-grid small{font-size:6px}.stats-grid b{font-size:16px}.pnl-summary .target-line{margin:6px 0;font-size:7px}.pnl-summary .target.meter{align-self:center}.caption-note{margin-top:6px;grid-column:1 / -1;font-size:8px}.regime-content{height:190px;grid-template-columns:1fr 140px;padding:15px;gap:10px}.regime-legend{display:none}.regime-readout h3{font-size:23px}.regime-readout>div{font-size:7px}.regime-readout b{font-size:10px}.regime-ring{height:140px}.price-plot{height:235px}.activity-log{height:248px}.log-row,.log-header{grid-template-columns:59px 46px 1fr 41px;padding-left:9px;padding-right:9px;gap:5px}.log-row{min-height:34px}.log-agent,.log-kind{font-size:7px}.log-message{font-size:9px}.log-time{font-size:6px}.control-bar{position:sticky;bottom:0;z-index:5;padding:10px;gap:8px;background:#111b2df5;backdrop-filter:blur(10px);margin-top:10px;border-color:#394966;flex-wrap:wrap;border-radius:6px}.control-status{width:100%;font-size:8px}.control-status strong{font-size:8px}.control-status>span:last-child{display:block;font-size:8px;max-width:72%}.control-actions{width:100%;display:grid;grid-template-columns:72px 1fr;gap:7px}.control-actions button{font-size:9px;padding:11px 8px;min-height:38px}.read-only .control-status{padding:6px}footer{padding:12px 12px 20px;font-size:6px;flex-wrap:wrap;gap:8px;line-height:1.5}footer span:nth-child(3){display:none}.tape-cards{padding:10px;gap:6px;grid-template-columns:1fr}.tape-card .bidask{flex-direction:row;margin-top:12px}.tape-card h3{font-size:12px}.tape-card p{margin-top:10px}.tape-card b{font-size:23px}.big-price{height:340px;padding:10px}.tape-cards+.big-price+.panel-bottom{height:auto;padding:10px;line-height:1.6}.table-wrap td,.table-wrap th{padding:10px}.panel-head>button{font-size:7px;max-width:130px}.panel-bottom span{font-size:7px}dialog{width:calc(100% - 14px);max-height:calc(100dvh - 20px);border-radius:8px}.dialog-header{padding:15px;gap:10px}.dialog-header h2{font-size:17px}.dialog-body{padding:17px 15px}.dialog-footer{padding:13px 15px;flex-wrap:wrap;gap:10px}.dialog-footer button{font-size:9px;padding:11px 10px;min-height:38px}.dialog-footer>span{font-size:9px}.settings-dialog .dialog-footer .primary{width:100%}.settings-intro{padding:12px}.settings-intro strong{font-size:12px}.field-grid{column-gap:13px}.settings-section input:not([type=checkbox]):not([type=range]),.settings-section select,.settings-section textarea{font-size:16px}.settings-section label{font-size:10px}.settings-section .strategy-option{padding:11px;gap:9px}.strategy-option b{font-size:10px}.strategy-option div span{font-size:10px}.strategy-tag{display:none}.symbol-config{grid-template-columns:1fr 1fr 1fr;gap:9px;padding:13px 0}.symbol-config .symbol-enabled{grid-column:1/-1}.symbol-config label small{font-size:7px}.symbol-config input[type=number]{font-size:15px!important}.risk-slider-head b{font-size:12px;white-space:nowrap}.help{font-size:10px}.confirm-dialog .dialog-body p{font-size:12px}.detail-dialog pre{font-size:11px}#toast{bottom:110px;font-size:11px}.phone-note p{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

.research-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:14px}.research-summary>div{background:#0b111d;border:1px solid #1d2a3f;border-radius:6px;padding:12px;display:flex;flex-direction:column;gap:5px}.research-summary small,.research-head{color:#7186a5;font:700 9px Consolas,monospace;letter-spacing:.12em}.research-summary b{font:700 18px Consolas,monospace}.research-head{padding:10px 14px 4px;margin:0}@media(max-width:700px){.research-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v0.4.1: live execution audit, without fake agent activity. */
.execution-health{margin:0 0 16px;padding:14px 16px}.execution-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font:700 10px Consolas,monospace;letter-spacing:.09em;color:#aebfd7}.execution-heading span{color:#6f86a6;font-size:9px}.execution-counts{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:12px 0}.execution-counts>div{background:#0b121e;border:1px solid #23324a;border-radius:5px;padding:10px 12px;display:flex;flex-direction:column;gap:6px}.execution-counts small{font:700 8px Consolas,monospace;letter-spacing:.05em;color:#8095b3}.execution-counts b{font:700 21px Consolas,monospace;color:#c9e5f7}.execution-note{font:11px/1.65 Consolas,monospace;color:#8fa4bf;overflow-wrap:anywhere}.execution-fault{margin-top:10px;padding:12px;border:1px solid #a94b60;background:#2d111b;color:#ffb6bc;line-height:1.6;font-size:12px}.reason-cell{min-width:230px;max-width:560px;white-space:normal!important;line-height:1.6}.research-head{margin-top:18px}.quote-mini-row{scrollbar-width:thin}.quote-mini{flex:0 0 108px}.version{min-width:34px}@media(max-width:700px){.execution-health{padding:12px}.execution-counts{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.execution-counts>div{padding:9px}.execution-heading{align-items:flex-start;flex-direction:column;gap:6px}.execution-heading span{line-height:1.5}}

/* Transport state is separate from MT5 / order permission. */
#dashboard-pill {flex-shrink:0;white-space:nowrap}
.dashboard-stale .flow-paths .moving,
.dashboard-stale .core-group.processing .orbit,
.dashboard-stale .agent-card.pulse {animation-play-state:paused}
.dashboard-stale .agents-strip {opacity:.65}
@media(max-width:600px){#connection-pill{font-size:8px;max-width:190px}.telemetry{flex-wrap:wrap}}

/* v0.4.3: genuinely separate clock, account and research status. */
.sync-monitor{margin:12px 0;padding-bottom:10px}.sync-cells{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:0 14px}.sync-cell{min-width:0;background:#101522;border:1px solid #25314a;padding:10px 12px}.sync-cell small{display:block;font-size:10px;color:#8999b4;letter-spacing:1px}.sync-cell b{display:block;font-size:15px;margin:6px 0}.sync-cell span{font-size:11px;color:#a4b0c5;overflow-wrap:anywhere}.sync-detail{margin:10px 14px 0;font-size:12px;color:#adb9cd;line-height:1.5;overflow-wrap:anywhere}.research-sync-warning{padding:13px 16px;margin:10px 14px;border:1px solid #91683c;background:#251e17;color:#ffd398;line-height:1.55;font-size:12px}.research-sync-warning.hidden{display:none}@media(max-width:650px){.sync-cells{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 10px}.sync-monitor .panel-head{align-items:flex-start;gap:8px;flex-wrap:wrap}.sync-cell{padding:10px}.sync-detail{margin:10px}.research-sync-warning{margin:10px}.sync-cell b{font-size:14px}}

/* A read-only phone has no actions that need a floating control bar. */
@media(max-width:650px){.read-only .control-bar{position:static;backdrop-filter:none}}

/* v0.4.4: schedule visible without opening the control room. */
.hours-monitor{margin-bottom:12px;padding:12px 14px;border-left:3px solid var(--blue)}
.hours-top{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.hours-top>div{flex:1;min-width:160px}
.hours-top small{display:block;color:#8197b7;font-size:9px;letter-spacing:1px;margin-bottom:5px}
.hours-top strong{display:block;font:700 16px Consolas,monospace}.hours-top button{font-size:9px;min-height:36px}
.hours-monitor p{color:#a4b4cc;margin:8px 0 0;font-size:11px;line-height:1.6;overflow-wrap:anywhere}
.weekday-field{border:1px solid #29334a;padding:12px;border-radius:5px;margin:12px 0 18px}
.weekday-field legend{font-size:11px;color:#a4b4cc;padding:0 5px}
.weekday-options{display:flex;flex-wrap:wrap;gap:12px}.weekday-options label{display:flex!important;align-items:center;gap:7px;margin:0!important;padding:8px;min-height:40px}
.weekday-options input{margin:0!important;width:17px;height:17px;accent-color:var(--green)}
.hours-help{padding:12px;border:1px solid #2e4464;background:#101c2d;font-size:12px;line-height:1.6;color:#bfd0e8}
#hours-section{scroll-margin-top:15px}#hours-section input[type=time]{width:100%;min-height:43px}
@media(max-width:600px){.hours-monitor{padding:12px}.hours-top small{font-size:8px}.hours-top strong{font-size:15px}.hours-top button{width:100%;min-height:40px}.hours-top .pill{font-size:8px}.weekday-options{gap:3px;justify-content:space-between}.weekday-options label{padding:5px}.hours-help{font-size:11px}#hours-section .field-grid{grid-template-columns:1fr}#hours-section .check-line{align-items:flex-start}#hours-section .check-line span{line-height:1.65}}

/* Market Lab: independent instrument cards and visibly separated simulations. */
.lab-hero{padding:24px;display:flex;justify-content:space-between;gap:20px;align-items:center;background:linear-gradient(135deg,#101b30,#090d17)}
.lab-hero h1{font-size:30px;margin:8px 0;color:#ebf3ff;letter-spacing:-1px}.lab-hero p,.lab-explainer{color:#9daec8;font-size:12px;line-height:1.7}.lab-explainer{padding:0 18px}.lab-limit-strip{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:15px 0}.lab-limit-strip>div{padding:14px;background:#0b1321;border:1px solid #28344b;border-radius:7px}.lab-limit-strip small{display:block;color:#7892b5;font-size:9px;letter-spacing:.8px}.lab-limit-strip b{display:block;margin-top:8px;font-size:12px;overflow-wrap:anywhere}
.lab-matrix{padding:14px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.lab-scan-card{min-width:0;border:1px solid #26344b;background:#0b121f;border-radius:7px;padding:14px}.lab-scan-card header{display:flex;justify-content:space-between;gap:10px;align-items:center}.lab-mode{font-size:8px;letter-spacing:.7px;padding:5px 7px;border-radius:4px;background:#172439;color:#adc0df}.lab-mode.demo{color:#48dab8;background:#10302b}.lab-mode.shadow{color:#c1a0ff;background:#241b3d}.lab-mode.scan{color:#f5bb66;background:#302716}.lab-quote{font-size:21px;margin-top:15px;font-family:Consolas,monospace}.lab-quote small{font-size:9px;margin-left:7px;color:#8091ac}.lab-scan-card>p{font-size:10px;color:#8091ac;line-height:1.7;overflow-wrap:anywhere}.lab-cell{width:100%;display:grid;grid-template-columns:1fr auto;gap:6px;text-align:left;margin-top:7px;padding:10px;border-color:#243048;background:#10192a}.lab-cell>span{font-size:11px}.lab-cell small{display:block;font-size:9px;color:#748ba9;margin-top:4px}.lab-cell>b{font-size:9px;max-width:155px;overflow-wrap:anywhere}.lab-cell em{grid-column:1/-1;font-style:normal;color:#98a8c3;font-size:10px;line-height:1.65;overflow-wrap:anywhere}.lab-edit{width:100%;margin-top:12px;font-size:9px}.lab-ranking,.lab-shadow{margin-top:16px}.lab-shadow{border-color:#594679}.lab-sim-label{color:#c6a7f6!important}.lab-table-reason{display:block;color:#9eafc8;max-width:430px;white-space:normal;line-height:1.6}.lab-market{border:1px solid #303f57;border-radius:7px;margin:12px 0;background:#0c1423;scroll-margin-top:16px}.lab-market>summary{display:flex;gap:15px;align-items:center;padding:17px;cursor:pointer;list-style:none}.lab-market>summary>b{font-size:15px}.lab-market>summary>span{font-size:10px;color:#d2baff;margin-left:auto}.lab-market>summary>small{color:#7c94b7}.lab-market-body{padding:4px 16px 18px}.lab-market summary::after{content:'＋';color:#7391b9;font-size:17px}.lab-market[open]>summary::after{content:'−'}.lab-rule{border-top:1px solid #263754;margin-top:13px}.lab-rule>summary{padding:14px 0;cursor:pointer;font-size:12px;color:#bba7e5}.lab-rule>summary>span{float:right;font-size:10px}.lab-rule h4{font-size:11px;color:#b7c9e5;font-weight:500}.lab-own-hours{padding:14px;background:#0e1b2e;border:1px solid #2b4160}.lab-days{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}.lab-days label{display:flex;align-items:center;gap:7px;font-size:11px;margin:0!important;min-height:38px}.lab-days input{width:16px!important;height:16px!important;margin:0!important}.lab-blackout summary{color:#859bbd;padding:15px 0;cursor:pointer;font-size:11px}.lab-limit-help{border-left:3px solid #72a4f4;padding-left:12px}#lab-global-settings{scroll-margin-top:14px}.lab-market input,.lab-market select{max-width:100%;min-width:0}.lab-market .field-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.lab-market .field-grid label{min-width:0;line-height:1.6}.mini-quotes{max-height:160px;overflow:auto}
@media(max-width:1000px){.lab-matrix{grid-template-columns:repeat(2,minmax(0,1fr))}.lab-limit-strip{grid-template-columns:repeat(3,1fr)}.lab-market .field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.lab-hero{display:block;padding:17px}.lab-hero h1{font-size:25px}.lab-hero button{margin-top:10px;width:100%;min-height:42px}.lab-matrix{grid-template-columns:1fr;padding:10px}.lab-limit-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.lab-limit-strip>div{padding:11px}.lab-scan-card{padding:14px}.lab-market .field-grid{grid-template-columns:1fr}.lab-market>summary{padding:14px;gap:7px}.lab-market>summary small{display:none}.lab-market-body{padding:3px 12px 14px}.lab-market input,.lab-market select{min-height:43px}.lab-cell{min-height:62px}.lab-shadow .panel-head{flex-wrap:wrap}.lab-explainer{padding:0 12px;font-size:11px}.view-tabs{overflow:auto;max-width:100%}.lab-table-reason{min-width:200px}}

.lab-feed-error{color:#e5b171!important;overflow-wrap:anywhere;font-size:11px}
