:root{--canvas: #0a0a0a;--surface: #0e0e0e;--surface-infra: #0c0c0c;--surface-deep: #0b0b0b;--border: #1c1c1c;--border-raised: #242424;--border-hairline: #161616;--border-row: #141414;--text-primary: #e8e8e8;--text-body: #c4c4c4;--text-soft: #b8b8b8;--text-muted: #8a8a8a;--text-label: #6b6b6b;--text-faint: #5a5a5a;--text-ghost: #4a4a4a;--text-trace: #3a3a3a;--accent: #0abab5;--accent-on: #04211f;--active: #5eead4;--active-soft: #9fdfd8;--warn: #d4a24a;--danger: #e06a5a;--font-ui: "Inter", sans-serif;--font-mono: "JetBrains Mono", monospace}*{box-sizing:border-box;margin:0}html,body,#root{height:100%}body{background:var(--canvas);color:var(--text-primary);font-family:var(--font-ui);overflow:hidden}*::-webkit-scrollbar{width:8px;height:8px}*::-webkit-scrollbar-thumb{background:var(--border);border-radius:4px}*::-webkit-scrollbar-track{background:transparent}::selection{background:#0abab552;color:#fff}@keyframes sx-pulse{0%,to{opacity:1}50%{opacity:.35}}@keyframes sx-modal{0%{transform:scale(.97);opacity:0}to{transform:scale(1);opacity:1}}.mlabel{font-family:var(--font-mono);font-size:10.5px;letter-spacing:.13em;text-transform:uppercase;color:var(--text-muted)}.mono{font-family:var(--font-mono)}.dot{width:6px;height:6px;border-radius:50%;flex-shrink:0}.dot--accent{background:var(--accent);box-shadow:0 0 8px var(--accent)}.dot--live{background:var(--active);box-shadow:0 0 8px var(--active);animation:sx-pulse 1.6s ease-in-out infinite}.shell{height:100vh;display:flex;flex-direction:column;overflow:hidden}.columns{flex:1;display:grid;grid-template-columns:290px 1fr 336px;gap:12px;padding:12px;min-height:0}.header{height:54px;flex-shrink:0;display:flex;align-items:center;gap:16px;padding:0 18px;border-bottom:1px solid var(--border);background:var(--surface-infra)}.logo{width:28px;height:28px;border-radius:8px;background:var(--accent);display:flex;align-items:center;justify-content:center;box-shadow:0 0 16px #0abab559}.logo--sm{width:16px;height:16px;border-radius:5px;box-shadow:0 0 10px #0abab566}.logo i{width:10px;height:10px;background:var(--accent-on);transform:rotate(45deg);border-radius:2px}.logo--sm i{width:6px;height:6px;border-radius:1px}.wordmark{font-size:15px;font-weight:600;letter-spacing:-.01em}.vsep{width:1px;height:20px;background:var(--border)}.selector{display:flex;align-items:center;gap:7px;border:1px solid var(--border);border-radius:8px;padding:5px 11px;cursor:pointer;background:none;color:inherit;font:inherit}.selector:hover{border-color:var(--border-raised)}.selector .k{font-family:var(--font-mono);font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--text-label)}.selector .v{font-family:var(--font-mono);font-size:11px;color:#c8c8c8}.caret{color:var(--text-ghost);font-size:9px}.header-right{margin-left:auto;display:flex;align-items:center;gap:11px}.iconbtn{width:30px;height:28px;border:1px solid var(--border);border-radius:8px;display:flex;align-items:center;justify-content:center;color:var(--text-label);font-size:13px;cursor:pointer;background:none}.iconbtn:hover{border-color:var(--border-raised);color:var(--text-muted)}.account{display:flex;align-items:center;gap:8px;border:1px solid var(--border);border-radius:20px;padding:3px 11px 3px 4px;cursor:pointer;background:none}.account:hover{border-color:var(--border-raised)}.avatar{width:22px;height:22px;border-radius:50%;background:linear-gradient(135deg,#123,var(--accent));opacity:.85}.account .name{font-family:var(--font-mono);font-size:11px;color:var(--text-soft)}.side{display:flex;flex-direction:column;min-height:0}.side-head{display:flex;align-items:center;gap:9px;margin-bottom:12px;flex-shrink:0}.side-head .title{font-size:13px;font-weight:600;color:var(--accent);letter-spacing:.02em}.side-head .sub{font-family:var(--font-mono);font-size:9.5px;color:var(--text-faint)}.side-head .rule{flex:1;height:1px;background:var(--border)}.manage{width:22px;height:20px;border:1px solid var(--border);border-radius:5px;display:flex;align-items:center;justify-content:center;color:var(--text-label);font-size:12px;cursor:pointer;background:none}.manage:hover{border-color:var(--border-raised);color:var(--text-muted)}.node-panel{flex:1;display:flex;flex-direction:column;min-height:0}.data-group{flex:2;display:flex;flex-direction:column;gap:8px;min-height:0}.section{flex:1;display:flex;flex-direction:column;min-height:0;border:1px solid var(--border);border-radius:12px;background:var(--surface);padding:11px 12px}.section--infra{flex:.9;background:var(--surface-infra)}.section-head{display:flex;align-items:center;gap:8px;margin-bottom:11px;flex-shrink:0}.section-head .dot5{width:5px;height:5px;border-radius:50%;background:var(--accent);box-shadow:0 0 7px var(--accent)}.count{font-family:var(--font-mono);font-size:9.5px;color:var(--active);background:#0abab517;border:1px solid rgba(10,186,181,.22);border-radius:5px;padding:1px 6px}.count--neutral{color:var(--text-muted);background:#141414;border-color:var(--border-raised)}.add{margin-left:auto;width:18px;height:18px;border:1px solid var(--border-raised);border-radius:5px;display:flex;align-items:center;justify-content:center;color:var(--text-label);font-size:13px;line-height:1;cursor:pointer;background:none}.add:hover{border-color:var(--accent);color:var(--accent)}.rows{flex:1;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;gap:6px;min-height:0}.item{display:flex;align-items:center;gap:9px;padding:7px 9px;border:1px solid var(--border-hairline);border-radius:8px;background:var(--surface-deep)}.item:hover{border-color:var(--border-raised);background:#101010}.item .tag{font-family:var(--font-mono);font-size:9px;color:var(--accent);border:1px solid rgba(10,186,181,.28);border-radius:4px;padding:2px 0;min-width:30px;text-align:center;flex-shrink:0}.item .tag--via{color:var(--active);border-color:#5eead447}.item .body{min-width:0;flex:1}.item .name{font-size:12.5px;color:#e0e0e0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.item .detail{font-family:var(--font-mono);font-size:10px;color:var(--text-faint);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1px}.item .lock{width:12px;height:12px;flex-shrink:0;opacity:.55}.empty-note{font-family:var(--font-mono);font-size:10px;color:var(--text-trace);text-align:center;padding:14px 0}.infra-sep{height:1px;background:var(--border);margin:14px 0 10px;flex-shrink:0}.server{display:flex;align-items:center;gap:9px;padding:7px 9px;border:1px solid var(--border-hairline);border-radius:8px;background:var(--canvas)}.server .name{font-family:var(--font-mono);font-size:11.5px;color:#c8c8c8;flex-shrink:0}.loadbar{flex:1;height:4px;border-radius:2px;background:var(--border-hairline);overflow:hidden;margin:0 2px}.loadbar i{display:block;height:100%;border-radius:2px}.server .load{font-family:var(--font-mono);font-size:10px;color:var(--text-label);min-width:30px;text-align:right;flex-shrink:0}.center{display:flex;flex-direction:column;gap:10px;min-height:0}.panel{display:flex;flex-direction:column;min-height:0;border:1px solid var(--border);border-radius:14px;background:var(--surface);overflow:hidden}.panel-head{display:flex;align-items:center;gap:10px;padding:13px 16px;border-bottom:1px solid var(--border-hairline);flex-shrink:0}.panel-head .title{font-size:13.5px;font-weight:600}.activity{margin-left:auto;display:flex;align-items:center;gap:8px;border:1px solid #1c2422;border-radius:20px;padding:4px 12px;background:#0abab50a}.activity span{font-family:var(--font-mono);font-size:10.5px;color:var(--active-soft)}.stream{flex:1;overflow-y:auto;overflow-x:hidden;padding:15px 16px;display:flex;flex-direction:column;gap:13px;min-height:0}.msg-user{align-self:flex-end;max-width:82%;background:#0abab50f;border:1px solid #1c2422;border-radius:12px 12px 3px;padding:11px 14px;font-size:13.5px;line-height:1.55;color:#dcdcdc}.msg-agent{align-self:flex-start;max-width:88%;display:flex;flex-direction:column;gap:11px}.msg-agent .text{font-size:13.5px;line-height:1.6;color:var(--text-body)}.msg-agent .file{color:var(--active);font-family:var(--font-mono);font-size:12.5px}.card{border:1px solid var(--border);border-radius:11px;background:var(--surface-deep);padding:12px 13px}.card-head{display:flex;align-items:center;gap:8px;margin-bottom:10px}.card-head .t{font-family:var(--font-mono);font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--text-label)}.card-head .n{font-family:var(--font-mono);font-size:10px;color:var(--text-trace)}.card-head .m{margin-left:auto;font-family:var(--font-mono);font-size:12px;color:var(--active)}.card .axis{display:flex;justify-content:space-between;margin-top:6px;font-family:var(--font-mono);font-size:9px;color:var(--text-ghost)}.working{align-self:flex-start;display:flex;align-items:center;gap:9px;font-family:var(--font-mono);font-size:11.5px;color:#7a7a7a}.chat-input{flex-shrink:0;padding:11px 13px 13px;border-top:1px solid var(--border-hairline)}.chat-input .box{border:1px solid var(--border-raised);border-radius:11px;background:var(--surface-deep);padding:9px 10px;display:flex;align-items:center;gap:10px}.chat-input textarea{flex:1;font-size:13px;color:var(--text-primary);background:none;border:none;outline:none;resize:none;font-family:var(--font-ui);padding:6px 4px;height:32px;line-height:1.5}.chat-input textarea::placeholder{color:var(--text-faint)}.send{width:30px;height:30px;border-radius:8px;background:var(--accent);display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 0 12px #0abab54d;border:none;flex-shrink:0}.send:hover{background:var(--active)}.hdivider{display:flex;align-items:center;justify-content:center;height:8px;flex-shrink:0;cursor:ns-resize}.hdivider i{width:46px;height:4px;border-radius:2px;background:var(--border-raised)}.dash-title{font-size:12.5px;font-weight:600;color:#d0d0d0}.badge{font-family:var(--font-mono);font-size:10px;color:var(--active);border:1px solid #1c2422;border-radius:5px;padding:1px 7px}.live{margin-left:auto;display:flex;align-items:center;gap:7px}.live span{font-family:var(--font-mono);font-size:9.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--text-faint)}.jobs{flex:1;padding:13px 16px;min-height:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-content:stretch}.job{display:flex;flex-direction:column;min-height:0;border:1px solid var(--border);border-radius:11px;background:var(--surface-deep);padding:12px 13px}.job-head{display:flex;align-items:center;gap:8px;margin-bottom:12px}.job-head .name{font-family:var(--font-mono);font-size:12px;color:#d0d0d0}.job-head .status{margin-left:auto;font-family:var(--font-mono);font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:var(--text-label)}.job svg{width:100%;height:40px;display:block;flex:1;min-height:34px}.job-metrics{display:flex;align-items:center;justify-content:space-between;margin:12px 0 8px}.job-metrics .metric{font-family:var(--font-mono);font-size:11.5px;color:var(--active)}.job-metrics .pct{font-family:var(--font-mono);font-size:10px;color:var(--text-label)}.progress{height:4px;border-radius:2px;background:var(--border-hairline);overflow:hidden}.progress i{display:block;height:100%;border-radius:2px}.tabs{display:flex;gap:6px;margin-bottom:12px;flex-shrink:0}.tab{height:30px;border-radius:7px;font-family:var(--font-mono);font-size:11px;padding:0 10px;display:flex;align-items:center;gap:6px;cursor:pointer;border:1px solid var(--border);color:var(--text-label);background:var(--surface-deep)}.tab--active{border-color:var(--accent);color:var(--accent);background:#0abab512}.tab--add{border-style:dashed;color:var(--accent);padding:0 11px}.tab .more{opacity:.65;font-size:12px}.statusbar{height:32px;flex-shrink:0;display:flex;align-items:center;gap:22px;padding:0 18px;border-top:1px solid var(--border);background:var(--surface-infra);font-family:var(--font-mono);font-size:10.5px}.statusbar .item{display:flex;align-items:center;gap:7px;border:none;background:none;padding:0}.statusbar .k{color:var(--text-label)}.statusbar .v{color:var(--text-muted)}.statusbar .v--hot{color:var(--active)}.statusbar .right{margin-left:auto;display:flex;gap:22px}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#040606b8;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;z-index:10}.dialog{width:460px;border-radius:16px;border:1px solid var(--border-raised);background:var(--surface);box-shadow:0 30px 80px #000000b3;animation:sx-modal .16s ease-out}.dialog-head{display:flex;align-items:center;padding:15px 18px;border-bottom:1px solid var(--border-hairline)}.dialog-head .t{font-size:14px;font-weight:600}.dialog-head .x{margin-left:auto;width:24px;height:24px;border:none;background:none;color:var(--text-label);font-size:14px;cursor:pointer}.dialog-head .x:hover{color:var(--text-muted)}.dialog-body{padding:16px 18px;display:flex;flex-direction:column;gap:14px}.field label{display:block;font-family:var(--font-mono);font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--text-label);margin-bottom:6px}.field select{width:100%;border:1px solid var(--border-raised);background:var(--surface-deep);border-radius:9px;padding:10px 12px;color:var(--text-primary);font-family:var(--font-mono);font-size:12px;outline:none}.field select:focus{border-color:var(--accent);box-shadow:0 0 0 3px #0abab51a}.dialog-foot{display:flex;justify-content:flex-end;gap:9px;padding:13px 18px;border-top:1px solid var(--border-hairline)}.btn{border-radius:9px;font-family:var(--font-ui);font-size:13px;padding:9px 18px;cursor:pointer;border:1px solid transparent}.btn--primary{background:var(--accent);color:var(--accent-on);box-shadow:0 0 14px #0abab540}.btn--primary:hover{background:var(--active)}.btn--ghost{background:#141414;border-color:var(--border-raised);color:var(--text-soft)}.btn--ghost:hover{border-color:var(--text-ghost)}
