:root{--navy: #0f1a3a;--panel: #16244d;--panel-2: #1c2d5c;--line: #2b3f78;--silver: #c9cfdb;--muted: #8b97b8;--halo: #5fdcff;--ok: #7fe0b0;--bad: #ff7b88;--event: #f2c46d;--llm: #b48cff;--display: "Chakra Petch", "Segoe UI", sans-serif;--text: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;color-scheme:dark}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;background:radial-gradient(1200px 900px at 32% 45%,#18295a 0%,var(--navy) 60%) fixed,var(--navy);color:var(--silver);font:15px/1.5 var(--text);font-variant-numeric:tabular-nums}button,input,select,textarea{font:inherit;color:inherit}:focus-visible{outline:2px solid var(--halo);outline-offset:2px}h1,h2{font-family:var(--display);font-weight:600;margin:0;color:#eef2fb}h1{font-size:1.6rem;letter-spacing:.02em}h2{font-size:1.15rem}.hint{color:var(--muted);font-size:.9rem;margin:.25rem 0 0;max-width:60ch}.error{color:var(--bad);font-size:.9rem;margin:.4rem 0}button{cursor:pointer;background:var(--halo);color:var(--navy);border:0;border-radius:6px;padding:.5rem .95rem;font-weight:600}button:disabled{opacity:.5;cursor:default}button.ghost{background:transparent;color:var(--halo);padding:.35rem .5rem;font-weight:500}button.ghost:hover{text-decoration:underline}input,select,textarea{background:var(--navy);border:1px solid var(--line);border-radius:6px;padding:.45rem .6rem;width:100%}textarea{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85rem}.shell{min-height:100%;display:flex;flex-direction:column}.top{display:flex;align-items:baseline;gap:1.25rem;padding:1rem 1.5rem .5rem}.top .status{margin:0;flex:1;color:var(--silver);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.live{font-size:.85rem;display:inline-flex;align-items:center;gap:.4rem}.live:before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor}.live.on{color:var(--ok)}.live.off{color:var(--event)}.layout{flex:1;display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,.8fr);gap:1rem;padding:0 1.5rem 1.5rem;min-height:0}.layout>*{min-width:0}.map{display:flex;flex-direction:column;align-items:center;min-width:0}.side{background:color-mix(in srgb,var(--panel) 88%,transparent);border:1px solid var(--line);border-radius:14px;padding:.75rem .85rem;display:flex;flex-direction:column;min-height:0;max-height:calc(100vh - 5rem)}.side h2{font-size:1rem}.side .ghost{font-size:.8rem;padding:.3rem .6rem}.layout.feed-closed{grid-template-columns:minmax(0,1fr) auto}.side.closed{align-self:start;padding:.6rem .75rem}.feed-collapsed{display:flex;align-items:center;gap:.75rem;white-space:nowrap}.feed-collapsed .hint{margin:0;font-size:.8rem}.feed-actions{display:flex;gap:.4rem;flex-wrap:wrap;justify-content:flex-end}.cerebro{width:100%;max-width:760px;height:auto;overflow:visible}.orbit{fill:none;stroke:var(--line);stroke-width:1.5;stroke-dasharray:2 10}.spoke{stroke-width:2;opacity:.45;transition:opacity .3s}.spoke.busy{opacity:1;stroke-width:3;stroke-dasharray:10 8;animation:march .9s linear infinite}@keyframes march{to{stroke-dashoffset:-18}}.tether{stroke:var(--line);stroke-width:1.5}.satellite{opacity:.85}.sat-label{fill:var(--muted);font:500 15px var(--text)}.dim{opacity:.3}g.dim .spoke,line.dim{opacity:.12}.halo-arc{fill:none;stroke:var(--silver);stroke-width:7;opacity:.55}.halo-spoke{stroke:var(--halo);stroke-width:2;opacity:.7}.halo-dot{fill:var(--halo);filter:drop-shadow(0 0 6px var(--halo))}.hub-ring{fill:var(--panel);stroke:var(--halo);stroke-width:3;filter:drop-shadow(0 0 14px rgba(95,220,255,.45))}.hub,.node{cursor:pointer;outline:none}.hub:focus-visible .hub-ring,.node:focus-visible .node-ring{stroke-width:6}.node-ring{fill:none;stroke-width:4;transition:stroke-width .2s}.node.selected .node-ring{stroke-width:7}.node-face{fill:var(--panel-2)}.node-name{fill:#eef2fb;font:600 24px var(--display)}.hub-name{font-size:28px}.node-role{fill:var(--muted);font:400 16px var(--text)}.health{stroke:var(--navy);stroke-width:3;fill:var(--muted)}.health.online{fill:var(--ok)}.health.offline{fill:var(--bad)}.health.degradado{fill:var(--event)}.flash{stroke-width:5;animation:flash 1.2s ease-out forwards}@keyframes flash{0%{opacity:1}to{opacity:0}}.legend{display:flex;flex-wrap:wrap;gap:1.1rem;color:var(--muted);font-size:.85rem;margin:.25rem 0 0}.legend span{display:inline-flex;align-items:center;gap:.4rem}.dot{width:10px;height:10px;border-radius:50%;display:inline-block}.dot.event{background:var(--event)}.dot.task{background:var(--halo)}.dot.ok{background:var(--ok)}.dot.bad{background:var(--bad)}.feed-head{display:flex;justify-content:space-between;align-items:center;gap:.6rem}.filters{display:flex;gap:.6rem;align-items:center;margin:.6rem 0;flex-wrap:wrap}.filters input[type=search]{flex:1;min-width:160px;font-size:.85rem;padding:.35rem .55rem}.check{display:inline-flex;gap:.4rem;align-items:center;color:var(--muted);font-size:.82rem;white-space:nowrap}.check input{width:auto}.feed{list-style:none;margin:0;padding:0;overflow-y:auto;flex:1}.feed li{border-top:1px solid var(--line)}.feed li:first-child{border-top:0}.feed button{all:unset;box-sizing:border-box;cursor:pointer;width:100%;display:grid;grid-template-columns:3.9rem minmax(0,1fr) auto;grid-template-areas:"time route state" ". what ms";gap:.05rem .5rem;padding:.4rem .3rem;border-radius:6px;font-size:.84rem}.feed button:hover,.feed li.in-trace button{background:var(--panel-2)}.feed button:focus-visible{outline:2px solid var(--halo)}.feed time{grid-area:time;color:var(--muted);font-size:.76rem}.feed .route{grid-area:route}.feed .state{grid-area:state;justify-self:end}.feed .what{grid-area:what;color:#dfe5f3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.feed .ms{grid-area:ms;color:var(--muted);font-size:.76rem}.feed .route{font-size:.84rem}.feed .state{font-size:.72rem}.feed li.tool .what,.feed li.note .what{color:var(--muted)}.route{display:inline-flex;align-items:center;gap:.35rem;font-size:.92rem}.route b{font-weight:600}.arrow{width:16px;height:8px;fill:none;stroke:var(--muted);stroke-width:1.5}.state{font-size:.8rem;padding:.05rem .5rem;border-radius:999px;border:1px solid currentColor;white-space:nowrap}.state.ok{color:var(--ok)}.state.bad{color:var(--bad)}.state.live{color:var(--halo)}.state.quiet{color:var(--muted)}.empty{padding:2rem .5rem}.empty p{margin:0 0 .4rem}.ask{background:var(--navy);border:1px solid var(--line);border-radius:10px;padding:.8rem;margin-top:.75rem;display:grid;gap:.6rem}.ask .row{display:grid;grid-template-columns:1fr 1.4fr;gap:.6rem}.ask label{display:grid;gap:.25rem;font-size:.85rem;color:var(--muted)}.ask button{justify-self:start}.trace{display:flex;flex-direction:column;min-height:0}.trace header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.75rem}.tree,.tree ol{list-style:none;margin:0;padding:0}.tree{overflow-y:auto;flex:1}.tree ol{margin-left:.9rem;padding-left:.9rem;border-left:2px solid var(--line)}.step{padding:.55rem .2rem;display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:.2rem .6rem;align-items:center}.step .what,.step .outcome,.step details{grid-column:1 / -1;margin:0}.step .what{color:#dfe5f3}.step .outcome{color:var(--muted);font-size:.9rem}.step .outcome.failed,.step .outcome.rejected{color:var(--bad)}.step .ms{color:var(--muted);font-size:.85rem}details summary{cursor:pointer;color:var(--halo);font-size:.85rem}pre{background:var(--navy);border:1px solid var(--line);border-radius:8px;padding:.6rem;font-size:.78rem;overflow-x:auto;max-height:260px;color:#cfd6e8}.trace-id{color:var(--muted);font-size:.8rem;margin:.75rem 0 0;word-break:break-all}.loading{display:grid;place-items:center;height:100%;color:var(--muted)}.login{min-height:100%;display:grid;place-content:center;justify-items:center;gap:.75rem;padding:2rem 1rem;text-align:center}.login img{width:180px;height:auto}.login form{display:grid;gap:.5rem;width:min(320px,90vw);text-align:left}.login label{color:var(--muted);font-size:.9rem}@media(max-width:960px){.layout{grid-template-columns:1fr;padding:0 1rem 1rem}.side{max-height:none}.layout.feed-closed,.ask .row{grid-template-columns:1fr}.route{flex-wrap:wrap}.top{padding:.9rem 1rem .25rem;flex-wrap:wrap;gap:.25rem 1rem}.top .status{order:3;flex-basis:100%;white-space:normal}}@media(prefers-reduced-motion:reduce){.spoke.busy{animation:none}.flash{animation-duration:.01s}}.pulse{filter:drop-shadow(0 0 10px currentColor)}.active-link{stroke-width:3;stroke-linecap:round}.active-link.llm{stroke-dasharray:9 7}.llm-trail{stroke:var(--llm);stroke-width:4;stroke-dasharray:5 5;stroke-linecap:round;opacity:.9;filter:drop-shadow(0 0 6px var(--llm))}.llm-head{stroke:var(--llm);stroke-width:3;filter:drop-shadow(0 0 10px var(--llm)) drop-shadow(0 0 4px var(--llm))}.legend .dot.api{background:var(--silver)}.legend .diamond{width:9px;height:9px;background:var(--llm);transform:rotate(45deg);display:inline-block;box-shadow:0 0 6px var(--llm)}.feed .via{font-style:normal;font-size:.66rem;font-weight:600;letter-spacing:.04em;padding:0 .35rem;margin-right:.4rem;border-radius:4px;border:1px solid currentColor;vertical-align:1px}.feed .via.api{color:var(--muted)}.feed .via.llm{color:var(--llm);background:color-mix(in srgb,var(--llm) 14%,transparent)}.pulse-label{fill:#eef2fb;font:600 15px var(--text);paint-order:stroke;stroke:var(--navy);stroke-width:5px;stroke-linejoin:round}.dot.tool{background:var(--silver)}.tether.faint{stroke-dasharray:3 7;opacity:.6}.outer-node{fill:var(--panel-2);stroke:var(--line);stroke-width:2}.outer-glyph{font-size:22px}.map-head{width:100%;max-width:980px;display:flex;justify-content:space-between;align-items:center;gap:.75rem;flex-wrap:wrap;margin-bottom:.25rem}.tabs{display:inline-flex;border:1px solid var(--line);border-radius:8px;overflow:hidden}.tabs button{background:transparent;color:var(--muted);border-radius:0;padding:.4rem .9rem;font-weight:500}.tabs button.on{background:var(--panel-2);color:#eef2fb;box-shadow:inset 0 -2px 0 var(--halo)}.tabs button:disabled{opacity:.4}.now{width:100%;max-width:760px;min-height:7.4rem;margin:.25rem 0 .5rem}.now h3{margin:0 0 .3rem;font:600 .85rem var(--display);letter-spacing:.04em;color:var(--muted);text-transform:uppercase}.now ul{list-style:none;margin:0;padding:0;display:grid;gap:.2rem}.now li{display:flex;align-items:baseline;gap:.45rem;font-size:.92rem;min-width:0;animation:now-in .25s ease-out}.now li .dot{flex:none;transform:translateY(1px)}.now-what{color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}@keyframes now-in{0%{opacity:0;transform:translateY(-4px)}}.trace-actions{display:flex;gap:.25rem;flex-wrap:wrap;justify-content:flex-end}.infra{width:100%;max-width:980px;height:auto;overflow:visible}.box{fill:color-mix(in srgb,var(--panel) 80%,transparent);stroke:var(--line);stroke-width:1.5}.hub-box{stroke:var(--halo);stroke-opacity:.6}.backend-box{stroke-width:2;stroke-opacity:.8}.box-title{fill:#eef2fb;font:600 18px var(--display)}.box-title.small{font-size:15px}.box-sub{fill:var(--muted);font:400 12.5px var(--text)}.box-sub.tiny{font-size:11px}.box-sub.micro{font-size:10px}.persona-glyph{font-size:30px}.persona-name{fill:#eef2fb;font:600 16px var(--display)}.chip{fill:var(--navy);stroke-width:2}.chip-label{fill:var(--silver);font:500 13px ui-monospace,SFMono-Regular,Menlo,monospace}.wire{stroke:var(--line);stroke-width:2}.wire.hook{stroke:var(--halo);stroke-opacity:.45;stroke-dasharray:7 6}.wire.own{stroke-dasharray:2 6;stroke-opacity:.8}.wire.app{stroke-dasharray:3 5;stroke-opacity:.7}.box-title.tiny{font-size:12px}.app-box{stroke-dasharray:4 3;fill:color-mix(in srgb,var(--panel-2) 85%,transparent)}.node-ring.outside{stroke-dasharray:6 5;stroke-opacity:.75}.persona-outside .node-face,.persona-outside image,.persona-outside .persona-glyph{opacity:.72}.outside-note{fill:var(--warn, #e3b341);font-style:italic}.wire-label{fill:var(--muted);font:500 12px var(--text);paint-order:stroke;stroke:var(--navy);stroke-width:4px}.infra-note{max-width:760px;font-size:.85rem}.infra-note code{font-size:.8rem;color:var(--silver)}.daybar{display:flex;align-items:center;gap:.5rem;margin:0 0 .6rem;flex-wrap:wrap}.daybar .step{min-width:2.2rem;font-size:1.1rem;line-height:1;padding:.35rem .6rem}.daybar .day-pick{flex:1;min-width:200px}.daybar select{width:100%}.feed li.hour{position:sticky;top:0;z-index:1;border-top:0;display:flex;align-items:baseline;gap:.5rem;padding:.35rem .35rem .25rem;background:var(--panel);color:var(--silver);font-size:.8rem;font-weight:600;letter-spacing:.04em}.feed li.hour small{color:var(--muted);font-weight:400}.feed li.hour+li{border-top:0}.more{align-self:center;margin-top:.5rem}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.flow{width:100%;height:calc(100vh - 11.5rem);min-height:560px;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:color-mix(in srgb,var(--navy) 70%,transparent)}.flow .react-flow{--xy-background-color: transparent;--xy-node-border-radius: 12px;--xy-minimap-background-color: var(--panel);--xy-controls-button-background-color: var(--panel);--xy-controls-button-color: var(--silver);--xy-controls-button-border-color: var(--line);--xy-controls-button-background-color-hover: var(--panel-2)}.fl-node{background:color-mix(in srgb,var(--panel) 94%,transparent);border:1.5px solid var(--line);border-radius:12px;color:var(--silver);font:400 12px var(--text);box-shadow:0 6px 18px #00000040}.fl-node.sel,.fl-host.sel{outline:2px solid var(--halo);outline-offset:2px}.fl-node b{color:#eef2fb;font:600 13.5px var(--display)}.fl-node small,.fl-host small{color:var(--muted);font-size:11px;display:block}.fl-muted{color:var(--muted);font-size:11.5px}.fl-dot{width:9px;height:9px;border-radius:50%;display:inline-block;background:var(--muted);flex:none}.fl-dot.online{background:var(--ok)}.fl-dot.offline{background:var(--bad)}.fl-dot.degradado{background:var(--event)}.fl-host{width:100%;height:100%;border:1.5px dashed color-mix(in srgb,var(--halo) 35%,var(--line));border-radius:16px;background:color-mix(in srgb,var(--panel) 35%,transparent);padding:10px 16px;box-sizing:border-box}.fl-host header{display:flex;justify-content:space-between;align-items:center}.fl-host b{color:#eef2fb;font:600 16px var(--display)}.fl-agent header{display:flex;align-items:center;gap:8px;padding:8px 10px 6px;border-bottom:1px solid var(--line)}.fl-agent header>div{flex:1;min-width:0}.fl-agent header small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fl-agent header img,.fl-glyph{width:30px;height:30px;border-radius:50%;object-fit:cover;object-position:top;background:var(--panel-2);display:grid;place-items:center;font-size:16px;flex:none}.fl-agent ul{list-style:none;margin:0;padding:4px 0 6px}.fl-agent li{position:relative;display:flex;align-items:center;justify-content:space-between;gap:6px;height:24px;padding:0 10px 0 14px}.fl-agent li code{font-size:11px;color:var(--silver);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fl-node .via,.fl-inspector .via{font-style:normal;font-size:9.5px;font-weight:600;letter-spacing:.04em;padding:0 5px;border-radius:4px;border:1px solid currentColor;white-space:nowrap}.via.api{color:var(--muted)}.via.llm{color:var(--llm);background:color-mix(in srgb,var(--llm) 14%,transparent)}.fl-hub{width:190px;padding:14px 10px 12px;text-align:center;border-color:var(--halo);box-shadow:0 0 22px #5fdcff40;display:grid;justify-items:center;gap:2px}.fl-hub img{width:72px;height:72px;border-radius:50%;border:2px solid var(--halo);object-fit:cover;object-position:top}.fl-rule{width:230px;padding:8px 10px;border-color:color-mix(in srgb,var(--event) 55%,var(--line));display:grid;gap:2px}.fl-rule.fallback{border-style:dashed}.fl-cond{font:500 11px ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--event);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fl-event{width:210px;padding:8px 10px;border-color:var(--event);background:color-mix(in srgb,var(--event) 9%,var(--panel))}.fl-agent.outside{border-style:dashed;opacity:.85}.fl-outside-note{color:var(--warn, #e3b341);font-style:italic}.fl-app{width:308px;padding:7px 10px;display:grid;gap:2px;justify-items:start;border-style:dashed}.fl-app small{color:var(--muted)}.fl-backend{width:190px;padding:8px 10px;display:grid;gap:3px;justify-items:start}.fl-backend header{display:flex;justify-content:space-between;align-items:center;width:100%}.fl-ext{padding:10px 14px;border-style:dashed}.fl-h{width:9px;height:9px;border:2px solid var(--navy);background:var(--halo)}.fl-h.up{background:var(--event)}.fl-h.port{left:-5px}.fl-h.port.api{background:var(--silver)}.fl-h.port.llm{background:var(--llm);box-shadow:0 0 6px var(--llm)}.fl-edge{fill:none;stroke:var(--silver);stroke-opacity:.55}.fl-edge.llm{stroke:var(--llm);stroke-opacity:.8;stroke-dasharray:8 6}.fl-edge.rule{stroke:var(--event);stroke-opacity:.5}.fl-edge.rule.llm{stroke:var(--llm)}.fl-edge.app{stroke:var(--llm);stroke-opacity:.45;stroke-dasharray:2 5}.fl-edge.sel{stroke:var(--halo);stroke-opacity:1}.fl-edge-label{position:absolute;pointer-events:none;font:600 10.5px var(--text);color:var(--silver);padding:1px 6px;border-radius:999px;background:var(--navy);border:1px solid var(--line);white-space:nowrap}.fl-edge-label.llm{color:var(--llm);border-color:color-mix(in srgb,var(--llm) 50%,var(--line))}.react-flow__edge{transition:opacity .35s}.react-flow__edge.fl-dim{opacity:.18}.react-flow__edge.fl-active .fl-edge{stroke-opacity:1}.fl-live-glow{fill:none;stroke-width:14;stroke-linecap:round;filter:blur(5px)}.fl-live-path{fill:none;stroke-width:3.5;stroke-linecap:round;stroke-dasharray:14 6;animation:fl-flow .5s linear infinite}.fl-live-path.llm{stroke-dasharray:6 7;stroke-width:4}.fl-live-path.reverse{animation-direction:reverse}@keyframes fl-flow{to{stroke-dashoffset:-20}}.fl-head{stroke:#fff;stroke-width:2.5;filter:drop-shadow(0 0 10px currentColor) drop-shadow(0 0 3px currentColor)}.fl-head.llm{stroke:var(--llm);stroke-width:3.5;filter:drop-shadow(0 0 14px var(--llm)) drop-shadow(0 0 4px #fff)}.fl-head-halo{animation:fl-throb .6s ease-in-out infinite alternate}@keyframes fl-throb{0%{opacity:.15}to{opacity:.45}}.fl-pulse-label{fill:#fff;font:700 12.5px var(--text);paint-order:stroke;stroke:var(--navy);stroke-width:5px;stroke-linejoin:round}.react-flow__node.fl-lit .fl-node{box-shadow:0 0 0 2px var(--live),0 0 28px var(--live);transition:box-shadow .25s}.fl-now{display:grid;gap:4px;padding:8px 12px;border-radius:12px;min-width:360px;max-width:640px;background:color-mix(in srgb,var(--panel) 95%,transparent);border:1px solid var(--line);box-shadow:0 8px 26px #0006}.fl-step{color:var(--halo);font:600 12.5px var(--display);letter-spacing:.03em}.fl-now ul{list-style:none;margin:0;padding:0;display:grid;gap:3px}.fl-now li{display:flex;align-items:center;gap:8px;font-size:12.5px;animation:now-in .25s ease-out}.fl-now li:first-child{color:#eef2fb;font-weight:600}.fl-now li:not(:first-child){opacity:.6}.fl-now code{color:var(--silver);font-size:11.5px}.fl-now-mark{width:10px;height:10px;border-radius:50%;flex:none}.fl-now-mark.llm{border-radius:2px;transform:rotate(45deg);box-shadow:0 0 0 2px var(--llm),0 0 8px var(--llm)}@media(prefers-reduced-motion:reduce){.fl-live-path,.fl-head-halo{animation:none}}.fl-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:6px 10px;border-radius:10px;background:color-mix(in srgb,var(--panel) 92%,transparent);border:1px solid var(--line);font-size:12.5px}.fl-toolbar label{display:inline-flex;gap:5px;align-items:center;color:var(--silver)}.fl-toolbar input{width:auto}.fl-toolbar select{width:auto;padding:2px 6px;font-size:12px}.fl-toolbar .ghost{font-size:12px;padding:2px 6px}.fl-inspector{width:300px;max-height:calc(100vh - 16rem);overflow-y:auto;padding:12px 14px;border-radius:12px;position:relative;background:color-mix(in srgb,var(--panel) 96%,transparent);border:1px solid var(--line);box-shadow:0 10px 30px #00000059;font-size:12.5px}.fl-inspector h3{margin:0 1.5rem 4px 0;font:600 15px var(--display);color:#eef2fb}.fl-inspector h4{margin:10px 0 4px;font-size:12px;color:var(--silver)}.fl-inspector p{margin:4px 0}.fl-inspector pre{max-height:320px;font-size:11px;white-space:pre}.fl-close{position:absolute;top:6px;right:6px;padding:2px 6px}.fl-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}.fl-list li{display:flex;justify-content:space-between;align-items:center;gap:8px}.fl-list small{color:var(--muted)}.fl-list .ghost{font-size:11.5px;padding:2px 8px;flex:none}
