@import"https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap";:root{--h-bg: #08090a;--h-panel: #0f1011;--h-surface: rgba(255, 255, 255, .02);--h-surface-hover: rgba(255, 255, 255, .05);--h-elevated: #191a1b;--h-text: #f7f8f8;--h-text-2: #d0d6e0;--h-muted: #8a8f98;--h-faint: #62666d;--h-accent: #7170ff;--h-accent-hover: #828fff;--h-tool: #f2c94c;--h-thinking: #8a8f98;--h-ok: #10b981;--h-warn: #f2c94c;--h-error: #ef4444;--h-code-string: #98c379;--h-code-keyword: #c678dd;--h-code-comment: #7f848e;--h-border: rgba(255, 255, 255, .08);--h-border-subtle: rgba(255, 255, 255, .05);--h-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--h-font-heading: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--h-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;--h-radius: 8px;--h-radius-sm: 6px;--h-spacing: 8px;--h-gold: #d4af37;--h-gold-soft: rgba(212, 175, 55, .2);--h-gold-dim: rgba(212, 175, 55, .55)}::selection{background:var(--h-gold);color:#0b0f1a}:focus-visible{outline:2px solid var(--h-gold);outline-offset:2px}*{box-sizing:border-box}html,body,#root{margin:0;padding:0;height:100%;background:var(--h-bg);color:var(--h-text);font-family:var(--h-font);font-feature-settings:"cv01","ss03";font-size:15px;line-height:1.5}a{color:var(--h-accent);text-decoration:none}a:hover{color:var(--h-accent-hover)}code,pre,.mono{font-family:var(--h-mono);font-size:13px}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:var(--h-elevated);border-radius:999px}::-webkit-scrollbar-track{background:transparent}.card{background:var(--h-surface);border:1px solid var(--h-border);border-radius:var(--h-radius)}.btn{font-family:var(--h-font);font-size:13px;font-weight:500;color:var(--h-text-2);background:#ffffff0a;border:1px solid var(--h-border);border-radius:var(--h-radius-sm);padding:6px 12px;cursor:pointer;transition:background .12s ease,border-color .12s ease}.btn:hover{background:#ffffff12;border-color:var(--h-border);color:var(--h-text)}.btn:disabled{opacity:.4;cursor:default}.btn-primary{background:var(--h-accent);border-color:var(--h-accent);color:#fff}.btn-primary:hover{background:var(--h-accent-hover);border-color:var(--h-accent-hover);color:#fff}.btn-ghost{background:transparent;border-color:var(--h-border-subtle)}.input,textarea.input{font-family:var(--h-font);font-size:14px;color:var(--h-text);background:var(--h-surface);border:1px solid var(--h-border);border-radius:var(--h-radius-sm);padding:8px 12px;outline:none;transition:border-color .12s ease}.input:focus{border-color:var(--h-accent)}.muted{color:var(--h-muted)}.faint{color:var(--h-faint)}.small{font-size:12.5px}.code-block{background:var(--h-panel);border:1px solid var(--h-border-subtle);border-radius:var(--h-radius-sm);padding:10px;overflow-x:auto;white-space:pre-wrap;word-break:break-word}.pill{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:500;font-family:var(--h-mono);padding:2px 8px;border-radius:999px;border:1px solid var(--h-border-subtle);color:var(--h-muted)}.pill-ok{color:var(--h-ok);border-color:#10b98159}.pill-warn{color:var(--h-warn);border-color:#f2c94c59}.pill-error{color:var(--h-error);border-color:#ef444466}.pill-accent{color:var(--h-accent-hover);border-color:#7170ff66}@keyframes blink{50%{opacity:0}}.brain-layout{display:flex;height:100%;min-height:0}.brain-canvas{position:relative;flex:1;min-width:0;margin:12px;border-radius:var(--h-radius);overflow:hidden}.brain-legend{position:absolute;top:12px;left:12px;z-index:5;max-width:320px;background:#0f1011d1;border:1px solid var(--h-border);border-radius:var(--h-radius-sm);padding:10px 12px;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.brain-legend-item{display:inline-flex;align-items:center;font-size:12.5px;color:var(--h-text-2);-webkit-user-select:none;user-select:none}.brain-legend-item:hover{color:var(--h-text)}.brain-detail{width:380px;flex-shrink:0;border-left:1px solid var(--h-border-subtle);background:var(--h-panel);overflow:hidden;height:100%}.brain-md{font-size:14px;line-height:1.6;color:var(--h-text-2)}.brain-md h1,.brain-md h2,.brain-md h3,.brain-md h4{color:var(--h-text);letter-spacing:-.01em;margin:18px 0 8px}.brain-md h1{font-size:19px}.brain-md h2{font-size:16px;border-bottom:1px solid var(--h-border-subtle);padding-bottom:5px}.brain-md h3{font-size:15px}.brain-md p{margin:8px 0}.brain-md ul,.brain-md ol{margin:8px 0;padding-left:22px}.brain-md li{margin:3px 0}.brain-md blockquote{margin:10px 0;padding:2px 12px;border-left:3px solid var(--h-accent);color:var(--h-muted)}.brain-md code{background:var(--h-surface-hover);border-radius:4px;padding:1px 5px;font-family:var(--h-mono);font-size:12.5px}.brain-md pre.code-block{background:var(--h-panel);border:1px solid var(--h-border-subtle);border-radius:var(--h-radius-sm);padding:10px 12px;overflow-x:auto;line-height:1.5}.brain-md pre.code-block code{background:transparent;padding:0}.brain-table{border-collapse:collapse;width:100%;font-size:13px;margin:10px 0}.brain-table th,.brain-table td{border:1px solid var(--h-border-subtle);padding:6px 10px;text-align:left}.brain-table th{background:var(--h-surface-hover);color:var(--h-text);font-weight:500}.brain-wikilink{color:var(--h-accent-hover);border-bottom:1px dotted rgba(113,112,255,.4);cursor:pointer}.brain-wikilink:hover{color:var(--h-accent);border-bottom-color:var(--h-accent-hover)}.brain-link-row:hover{background:var(--h-surface-hover);color:var(--h-text)}/**
* Copyright (c) 2014 The xterm.js authors. All rights reserved.
* Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)
* https://github.com/chjj/term.js
* @license MIT
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
* Originally forked from (with the author's permission):
*   Fabrice Bellard's javascript vt100 for jslinux:
*   http://bellard.org/jslinux/
*   Copyright (c) 2011 Fabrice Bellard
*   The original design remains. The terminal itself
*   has been extended to include xterm CSI codes, among
*   other features.
*/.xterm{cursor:text;position:relative;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;right:0;left:0;top:0;bottom:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility:not(.debug),.xterm .xterm-message{position:absolute;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent;pointer-events:none}.xterm .xterm-accessibility-tree:not(.debug) *::selection{color:transparent}.xterm .xterm-accessibility-tree{-webkit-user-select:text;user-select:text;white-space:pre}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:1!important}.xterm-underline-1{text-decoration:underline}.xterm-underline-2{text-decoration:double underline}.xterm-underline-3{text-decoration:wavy underline}.xterm-underline-4{text-decoration:dotted underline}.xterm-underline-5{text-decoration:dashed underline}.xterm-overline{text-decoration:overline}.xterm-overline.xterm-underline-1{text-decoration:overline underline}.xterm-overline.xterm-underline-2{text-decoration:overline double underline}.xterm-overline.xterm-underline-3{text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{text-decoration:overline dashed underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{z-index:6;position:absolute}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{z-index:8;position:absolute;top:0;right:0;pointer-events:none}.xterm-decoration-top{z-index:2;position:relative}
