:root{--bg:#0a0a0a;--bg-card:#141414;--bg-card-hover:#1a1a1a;--bg-sheet:#1a1a1a;--bg-overlay:#0009;--bg-break:#0d0d0d;--text:#e8e8e8;--text-muted:#888;--accent:#4a9eff;--accent-dim:#4a9eff26;--anomaly:#ff6b4a;--prediction:#a855f7;--indicator:#22c55e;--border:#222;--radius:12px;--chart-line:#4a9eff;--chart-line-alt:#22c55e;--chart-anomaly:#ff6b4a;--chart-band:#4a9eff1a;--chart-grid:#222;--chart-crosshair:#444}*{box-sizing:border-box;margin:0;padding:0}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;height:100dvh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;overflow:hidden}#root{height:100dvh;overflow:hidden}.chat-md p{margin:.4em 0}.chat-md p:first-child{margin-top:0}.chat-md p:last-child{margin-bottom:0}.chat-md ul,.chat-md ol{margin:.4em 0;padding-left:1.4em}.chat-md li{margin:.15em 0}.chat-md h1,.chat-md h2,.chat-md h3,.chat-md h4{margin:.6em 0 .3em;font-size:1em;font-weight:600}.chat-md h1{font-size:1.15em}.chat-md h2{font-size:1.08em}.chat-md code{background:#ffffff14;border-radius:4px;padding:.15em .35em;font-size:.88em}.chat-md pre{background:#0000004d;border-radius:8px;margin:.4em 0;padding:.6em .8em;overflow-x:auto}.chat-md pre code{background:0 0;padding:0;font-size:.85em}.chat-md blockquote{border-left:3px solid var(--accent-dim);color:var(--text-muted);margin:.4em 0;padding-left:.8em}.chat-md a{color:var(--accent);text-decoration:none}.chat-md hr{border:none;border-top:1px solid var(--border);margin:.5em 0}.chat-md strong{font-weight:600}.swipe-feed{scroll-snap-type:y mandatory;scroll-snap-stop:always;scrollbar-width:none;-webkit-overflow-scrolling:touch;height:100dvh;overflow-y:scroll}.swipe-feed::-webkit-scrollbar{display:none}.swipe-card{scroll-snap-align:start;touch-action:manipulation;height:100dvh}@keyframes pulse{0%,to{opacity:.3}50%{opacity:1}}@keyframes blink{0%,49%{opacity:1}50%,to{opacity:0}}.xterm-viewport{touch-action:pan-y!important;-webkit-overflow-scrolling:touch!important}.xterm .xterm-helper-textarea{touch-action:none}.md-body{color:var(--text);word-break:break-word;font-size:14px;line-height:1.7}.md-body h1,.md-body h2,.md-body h3,.md-body h4,.md-body h5,.md-body h6{margin:1.2em 0 .4em;font-weight:700;line-height:1.3}.md-body h1{border-bottom:1px solid var(--border);padding-bottom:.3em;font-size:22px}.md-body h2{border-bottom:1px solid var(--border);padding-bottom:.2em;font-size:18px}.md-body h3{font-size:16px}.md-body h4{font-size:14px}.md-body p{margin:.6em 0}.md-body ul,.md-body ol{margin:.6em 0;padding-left:1.5em}.md-body li{margin:.25em 0}.md-body blockquote{border-left:3px solid var(--accent);color:var(--text-muted);margin:.8em 0;padding:.4em 1em;font-style:italic}.md-body code{background:var(--bg-card);color:var(--accent);border-radius:4px;padding:1px 5px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.md-body pre{background:var(--bg-card);border:1px solid var(--border);border-radius:8px;margin:.8em 0;padding:14px 16px;overflow-x:auto}.md-body pre code{color:var(--text);background:0 0;padding:0;font-size:12px}.md-body hr{border:none;border-top:1px solid var(--border);margin:1.2em 0}.md-body a{color:var(--accent);text-decoration:none}.md-body a:hover{text-decoration:underline}.md-body table{border-collapse:collapse;width:100%;font-size:13px}.md-body th,.md-body td{border:1px solid var(--border);text-align:left;padding:6px 10px}.md-body th{background:var(--bg-card);color:var(--text-muted);font-weight:600}
