/* The workspace panels and drawing engine are reused from VER A. */
.closed-records{margin-top:18px}.closed-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 13px;color:#94a6bf;font:10px Consolas,"Microsoft JhengHei",monospace;flex-wrap:wrap}.closed-toolbar>div{display:flex;align-items:center;gap:9px}.closed-records table{min-width:660px}.closed-records th,.closed-records td{padding:11px 14px}.closed-records .closed-net{text-align:right;font-weight:600}.closed-records th:last-child{text-align:right}.closed-records .console-foot{line-height:1.8}.closed-records .negative{color:#dfa0a8}.closed-records .positive{color:#cddd8e}.closed-records .table-scroll{max-width:100%}@media(max-width:760px){.closed-records{margin-top:13px}.closed-records .console-heading h2{font-size:10px}.closed-records .console-heading .small-button{font-size:9px}.closed-toolbar{padding:9px 10px;font-size:9px}.closed-records th,.closed-records td{padding:10px;font-size:10px}}
.terminal-desk .console-output.live-stream{display:block;scroll-behavior:auto;outline-offset:-2px}.live-stream .log-message{white-space:pre-wrap;overflow-wrap:anywhere}.live-stream [data-source="rss"] .log-kind{color:#7cb9e8}.live-stream [data-source="x"] .log-kind{color:#ba9beb}.social-header-tools{display:flex;gap:8px;align-items:center;font:7px Consolas,"Microsoft JhengHei",monospace;color:#8da0bc}.social-header-tools button{font:16px Consolas,monospace;color:#bfd791;padding:0 2px}.social-footer{flex-wrap:wrap}.social-footer>span{flex:1;min-width:90px}.social-stale #social-source-label{color:#d5b77c}.social-stale #social-canvas{opacity:.65}.sentiment-workspace #social-samples{line-height:1.7}.sentiment-workspace #social-empty{line-height:1.8;font-size:9px}.live-stream .console-log-row{margin-bottom:12px}.social-header-tools #social-refresh{min-height:22px;min-width:22px}
.terminal-desk .node-cycle{position:absolute;right:7px;top:7px;font:7px Consolas,"Microsoft JhengHei",monospace;color:var(--node-color);opacity:.75;pointer-events:none}.terminal-desk .flow-node.stream-active{animation:monitor-breathe 3.2s ease-in-out infinite;overflow:hidden}.flow-node.stream-active:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(105deg,transparent 15%,color-mix(in srgb,var(--node-color) 15%,transparent) 50%,transparent 85%);transform:translateX(-120%);animation:monitor-scan 4.1s linear infinite}.flow-node.stream-settled:after{animation:none;transform:none;background:color-mix(in srgb,var(--node-color) 7%,transparent)}.terminal-desk .flow-node.stream-settled{border-color:var(--node-color)}.terminal-desk .analysis_result{border-left:2px solid #cfe493;padding:6px 7px;background:#cfe49308}.analysis_result .log-kind,.analysis_result .log-message{color:#c8dda7!important}.analysis_start .log-kind{color:#7cb9e8}.analysis_skip .log-kind{color:#d1b37a}.analysis_result .log-message{white-space:pre-wrap;line-height:1.8}.motion-paused .stream-active,.motion-paused .stream-active:after,.motion-reduced .stream-active,.motion-reduced .stream-active:after{animation:none!important}
@keyframes monitor-breathe{0%,100%{box-shadow:0 0 5px color-mix(in srgb,var(--node-color) 9%,transparent)}50%{box-shadow:0 0 19px color-mix(in srgb,var(--node-color) 28%,transparent)}}@keyframes monitor-scan{to{transform:translateX(120%)}}
.terminal-view .terminal-desk .flow-node.node-risk{height:90px;top:calc(48% - 45px);border-radius:10px;border:1px solid #c5974d;background:#171610;box-shadow:0 0 5px #e1ab6180,0 0 19px #d99d4238,inset 0 0 9px #bd843015;animation:none;padding:0;overflow:hidden}.terminal-desk .node-risk:after{display:none}.terminal-desk .node-risk .node-title{position:absolute;left:27px;top:11px;max-width:calc(100% - 65px);color:#f1e6ce;white-space:nowrap}.terminal-desk .node-risk .node-id{top:13px;color:#d9af6a}.terminal-desk .node-risk .node-state{position:absolute;top:30px;left:12px;right:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#b7a98b}.terminal-desk .node-risk.blocked .node-state{color:#e8a99a}.terminal-desk .node-risk .node-cycle,.terminal-desk .node-risk .node-meter{display:none}.risk-node-motion{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.risk-node-meta{position:absolute;left:12px;right:9px;top:45px;font:8px Consolas,"Microsoft JhengHei",monospace;color:#c49e61;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}.terminal-desk .node-risk:hover{border-color:#f3c879;background:#201d14;box-shadow:0 0 7px #e1ab6190,0 0 22px #d99d4250}.terminal-desk .node-risk.selected{outline-color:#e9bb71}@media(max-width:760px){.terminal-view .terminal-desk .flow-node.node-risk{height:86px;top:calc(48% - 43px);border-radius:8px}.terminal-desk .node-risk .node-title{left:21px;font-size:11px}.terminal-desk .node-risk .node-id{left:6px}.terminal-desk .node-risk .node-state{left:8px;right:6px;font-size:8px}.risk-node-meta{left:8px;right:5px;font-size:7px}}
.terminal-view .terminal-desk .flow-node.node-decision{height:90px;top:calc(48% - 45px);padding:0;border:1px solid #a9c975;border-radius:9px;background:#0e171a;box-shadow:0 0 13px #c2df8822;animation:none;overflow:hidden}.terminal-desk .node-decision:after{display:none}.terminal-desk .node-decision .node-id{top:13px;left:11px}.terminal-desk .node-decision .node-title{position:absolute;top:11px;left:30px;color:#e0e8d6}.terminal-desk .node-decision .node-state{position:absolute;top:30px;left:30px;right:8px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#cde68d}.terminal-desk .node-decision.blocked .node-state{color:#e8a99a}.terminal-desk .node-decision .node-cycle,.terminal-desk .node-decision .node-meter{display:none}.decision-node-motion{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.decision-node-caption{position:absolute;right:11px;top:14px;color:#829f9e;font:6px Consolas,monospace;letter-spacing:.3px;pointer-events:none}.terminal-desk .node-decision:hover{border-color:#ddf49c;background:#131e20}.terminal-desk .node-decision.selected{outline-color:#cde68d}@media(max-width:760px){.terminal-view .terminal-desk .flow-node.node-decision{height:86px;top:calc(48% - 43px);border-radius:8px}.terminal-desk .node-decision .node-id{left:8px}.terminal-desk .node-decision .node-title{left:24px;font-size:11px}.terminal-desk .node-decision .node-state{left:9px;right:5px;font-size:8px}.decision-node-caption{display:none}}
@media(max-width:760px){.terminal-desk .node-cycle{top:auto;bottom:5px;right:5px;font-size:6px}}
.topbar{height:auto;min-height:45px;padding:10px 0;gap:10px;flex-wrap:wrap}.topbar>.service-connections{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.api-status{display:inline-flex;gap:6px;align-items:center;font:9px Consolas,"Microsoft JhengHei",monospace;white-space:nowrap}.topbar .api-status b{font-size:9px;color:#9aa9be;font-weight:400}.topbar .api-status .api-dot{display:inline-block;width:6px;height:6px;border-radius:50%;margin:0;background:#c9a75c;flex-shrink:0}.api-status.connected .api-dot{background:#96d3aa;box-shadow:0 0 7px #96d3aa70}.api-status.connected b{color:#acd9af}.api-status.error .api-dot{background:#e19a9a}.api-status.error b{color:#e2aaaa}.local-connection{display:inline-flex;gap:7px;align-items:center;white-space:nowrap}.api-check-note{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.api-check-note span{font-size:10px;color:#98a8bd}
@media(max-width:760px){.topbar{gap:8px;align-items:flex-start}.topbar>.service-connections{width:100%;gap:9px 12px}.api-status,.topbar .api-status b{font-size:8px}.local-connection{font-size:8px}.topbar .api-status .api-dot{margin:0}.topbar>span{font-size:8px}}
.legacy-system,.legacy-ticker,.legacy-toolbar{display:none!important}
.mode-bar{display:flex;align-items:center;gap:12px}.mode-switch{display:flex;padding:3px;border:1px solid #30384a;border-radius:4px;background:#0d1220;gap:3px}.mode-switch button{padding:6px 11px;font-size:10px;color:#8f9db5;border-radius:2px}.mode-switch button.selected{background:#2a3425;color:#d5e79d}.demo-notice{font-size:10px;color:#b6c88d}.replay-controls{margin-left:auto;display:flex;align-items:center;gap:10px;font:9px Consolas,monospace;color:#96a8c1}.replay-controls button{font-size:19px;padding:0 4px}.replay-controls select{background:#13202c;border:1px solid #334057;color:#c4d3df;padding:4px;font-size:9px;border-radius:3px}#analysis-action{margin-left:auto;padding:6px 10px;font-size:10px}.terminal-view .hero{padding:15px 0 12px}.terminal-view .hero h1{font-size:22px}.terminal-view .metrics{grid-template-columns:1.2fr 1fr 1fr .8fr;margin-bottom:14px}.terminal-view .metric{min-height:100px;padding:11px 15px}.terminal-view .metric strong{font:27px Consolas,monospace}.terminal-view .metric small{font-size:9px}.terminal-view .terminal-desk .flow-node{height:15%;gap:3px;padding:7px 7px 8px 29px}.terminal-desk .flow-node .node-title{font-size:12px}.terminal-desk .flow-node .node-state{font-size:9px}.terminal-desk .flow-node .node-id{font-size:9px}.terminal-desk .flow-node .node-meter{height:2px}.node-scout{--node-color:#96d3aa}.node-news{--node-color:#7cb9e8}.node-sentiment{--node-color:#ba9beb}.node-chart{--node-color:#7ac9c9}.node-risk{--node-color:#e4bf70}.node-decision{--node-color:#d1ec88}.terminal-desk .console-heading{min-height:38px}.terminal-desk .console-log-row{font-size:11px}.terminal-desk a.log-message{color:#a1afc0;text-decoration:none}.terminal-desk a.log-message:hover{color:#d4e898;text-decoration:underline}.terminal-desk .node-meter i{height:100%}.terminal-desk .flow-selection{min-height:85px}.terminal-desk .flow-node .node-id{line-height:1}.terminal-view .terminal-desk .flow-stage{height:300px}.terminal-view .terminal-desk .agent-network{min-height:428px}.terminal-view .terminal-desk .execution-console{max-height:428px}#source-details{margin:17px 0 0;border:1px solid #283348;border-radius:4px;background:#0f1623}#source-details>summary{padding:11px 14px;font-size:10px;color:#9baec4;cursor:pointer;letter-spacing:.5px}#source-details[open]{padding:0 14px 14px}#source-details[open]>summary{padding-left:0;margin-bottom:10px;border-bottom:1px solid #283348}.terminal-view .dialog-tabs{overflow:auto;white-space:nowrap}.terminal-view .dialog-tabs button{flex-shrink:0}
@media(min-width:1550px){.terminal-view .terminal-desk .flow-stage{height:265px}.terminal-view .terminal-desk .agent-network{min-height:393px}.terminal-view .terminal-desk .execution-console{max-height:393px}.terminal-view .terminal-desk .flow-node{height:17%}}
@media(max-width:1200px) and (min-width:761px){.terminal-view .terminal-desk .agent-network{min-height:420px}.terminal-view .terminal-desk .execution-console{max-height:250px}.terminal-view .terminal-desk .flow-stage{height:285px}}
@media(max-width:760px){.terminal-view main{margin-left:0;padding:0 12px}.terminal-view .hero h1{font-size:21px}.mode-bar{flex-wrap:wrap;gap:8px}.mode-switch button{font-size:9px;padding:6px 9px}.demo-notice{font-size:9px}.replay-controls{margin-left:0}.mode-bar #analysis-action{margin-left:auto;font-size:9px}.terminal-view .metrics{grid-template-columns:1fr 1fr;gap:7px}.terminal-view .metric{min-height:98px;padding:10px 12px}.terminal-view .metric strong{font-size:25px}.terminal-view .metric small{font-size:8px}.terminal-view .terminal-desk .flow-stage{height:315px}.terminal-view .terminal-desk .agent-network{min-height:450px}.terminal-view .terminal-desk .execution-console{max-height:250px}.terminal-view .terminal-desk .flow-node{padding:8px 6px 8px 23px;height:15%}.terminal-desk .flow-node .node-title{font-size:11px}.terminal-desk .flow-node .node-state{font-size:8px}.terminal-desk .flow-node .node-id{font-size:8px}.terminal-view .terminal-desk .console-log-row{font-size:10px}.terminal-desk .flow-selection{min-height:88px}.hero-actions .button{font-size:9px}.dialog-tabs{gap:2px}.dialog-tabs button{font-size:10px;padding:6px 8px}}
