:root{--bg-primary: #0d1117;--bg-secondary: #161b22;--bg-tertiary: #1f242c;--bg-elevated: #232a33;--border: #30363d;--border-strong: #3b434c;--text-primary: #c9d1d9;--text-secondary: #8b949e;--accent: #238636;--accent-glow: #2ea043;--accent-fg: #ffffff;--danger: #f85149;--warn: #d29922;--success: #3fb950;--radius-sm: 3px;--radius: 6px;--shadow: 0 0 0 1px var(--border), 0 0 0 2px rgba(35,134,54,0), 0 4px 12px rgba(0,0,0,.3);--app-bg-base: #0d1117;--app-glow-primary: rgba(124, 58, 237, .28);--app-glow-secondary: rgba(0, 224, 255, .2);--sysbar-bg: #0f1629;--sysbar-border: rgba(124, 58, 237, .32);--sysbar-text: #e7ecff;--sysbar-icon-off: rgba(231, 236, 255, .45);--sysbar-icon-on: #f8f9ff;font-family:Source Code Pro,monospace}html{font-size:12px}body,#root,html{height:100%;margin:0;color:var(--text-primary);font-family:Source Code Pro,monospace;font-size:12px}body{background:var(--app-bg-base);position:relative}body:before{content:"";position:fixed;top:-25%;right:-35%;bottom:40%;left:-35%;background:radial-gradient(60% 60% at 50% 12%,var(--app-glow-primary),transparent 62%),radial-gradient(55% 55% at 70% -10%,var(--app-glow-secondary),transparent 65%);filter:blur(60px);opacity:.9;pointer-events:none;z-index:-1}*{box-sizing:border-box}.auth-screen{min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;padding:24px}.scrollbar-thin::-webkit-scrollbar{width:8px}.scrollbar-thin::-webkit-scrollbar-track{background:transparent}.scrollbar-thin::-webkit-scrollbar-thumb{background:#30363d;border-radius:4px}.scrollbar-thin::-webkit-scrollbar-thumb:hover{background:#484f58}button{font-family:inherit}.icon-button{width:28px;height:28px;border:none;background:transparent;color:var(--sysbar-icon-off);display:inline-flex;align-items:center;justify-content:center;padding:0;border-radius:8px;cursor:pointer;transition:color .2s ease,transform .15s ease,opacity .2s ease}.icon-button:hover,.icon-button:focus-visible{color:var(--sysbar-icon-on);transform:translateY(-1px);outline:none}.icon-button:active{transform:scale(.94)}.icon-button:disabled{opacity:.35;pointer-events:none;transform:none}.icon-button--tiny{width:22px;height:22px;border-radius:6px}.icon-button[aria-pressed=true],.icon-button[data-active=true]{color:var(--sysbar-icon-on)}.btn{background:var(--accent);border:none;color:var(--accent-fg);padding:0;width:24px;height:24px;border-radius:5px;cursor:pointer;font-size:inherit;display:inline-flex;align-items:center;justify-content:center;gap:0;transition:background .15s,border-color .15s,transform .15s;line-height:1}.btn:hover{background:var(--accent-glow)}.btn:active{transform:translateY(1px)}.btn.primary{background:var(--accent)}.btn.primary:hover{background:var(--accent-glow)}.btn.danger{background:var(--danger)}.btn.danger:hover{background:#ff6a61}.btn.outline{background:var(--bg-secondary);color:var(--text-primary);border:none}.btn.outline:hover{background:var(--bg-tertiary)}.btn.small{width:24px;height:24px}.btn-group{display:flex;gap:6px}.input,textarea{background:var(--bg-tertiary);border:none;color:var(--text-primary);font-family:inherit;padding:6px 8px;font-size:inherit;border-radius:var(--radius-sm);width:100%}.input:focus,textarea:focus{outline:1px solid var(--accent)}.flex{display:flex}.col{flex-direction:column}.row{flex-direction:row}.gap-xs{gap:4px}.gap-sm{gap:8px}.gap-md{gap:12px}.gap-lg{gap:18px}.card{background:var(--bg-secondary);border:none;border-radius:var(--radius);padding:12px;box-shadow:var(--shadow)}.separator{height:1px;background:var(--border);margin:8px 0}.badge{display:inline-block;padding:2px 6px;font-size:inherit;background:var(--bg-tertiary);border:none;border-radius:20px}.code-block{background:#161b22;border:none;padding:8px;font-size:inherit;overflow-x:auto}.fade-text{color:var(--text-secondary)}.layout-root{display:grid;grid-template-columns:1fr 420px;height:100%}@media (max-width: 1100px){.layout-root{grid-template-columns:1fr}.side-panel{order:-1;height:240px;overflow-y:auto}}.chat-panel{display:flex;flex-direction:column;height:100%}.chat-panel-shell{padding:16px;gap:16px}.chat-history{flex:1;overflow-y:auto;padding:12px;font-size:inherit;line-height:1.4}.chat-line-user{color:var(--accent)}.chat-line-bot{color:var(--text-primary)}.chat-prompt{padding:8px 12px;display:flex;gap:8px}.prompt-input{flex:1}.prompt-line{display:flex;align-items:center;gap:6px;margin-top:6px}.prompt-input-inline{flex:1;background:transparent;border:none;color:var(--accent);font-family:inherit;font-size:inherit;padding:0;outline:none}.prompt-input-inline:focus{outline:none}.inline-send{visibility:hidden}.prompt-input-inline:not(:-moz-placeholder)+.inline-send{visibility:visible}.prompt-input-inline:focus+.inline-send,.prompt-input-inline:not(:placeholder-shown)+.inline-send{visibility:visible}.thinking-line{color:var(--text-primary)}.thinking-dots{display:inline-block;min-width:24px}@keyframes blinkCursor{0%,49%{opacity:1}50%,to{opacity:0}}.cursor-block{display:inline-block;width:8px;height:14px;background:var(--accent);margin-left:2px;animation:blinkCursor 1s steps(2,start) infinite;vertical-align:text-bottom}.note-list{overflow-y:auto;max-height:calc(100% - 48px);padding:0;margin:0}.note-item{background:transparent;padding:8px 10px;border-radius:4px;cursor:pointer;display:flex;flex-direction:row;align-items:center;gap:8px;position:relative;transition:background .2s ease,outline-color .2s ease}.note-item:hover{background:#e7ecff0f}.note-item.active{outline:none;background:#e7ecff14}.note-select{font-size:16px;line-height:1;width:18px;text-align:center;cursor:pointer;color:var(--text-secondary)}.note-select:hover{color:var(--text-primary)}.note-status{margin-left:auto;display:flex;align-items:center;justify-content:center;width:16px}.note-status button.icon-btn{background:none;border:none;padding:0;cursor:pointer}.thread-item.active{outline:none;background:#e7ecff14}.panel-collapsed{display:none!important}.note-fullscreen-container{position:relative;flex:1;display:flex;flex-direction:column;padding:16px;gap:16px}.note-fullscreen-editor{flex:1;display:flex;flex-direction:column;padding:0}.note-fullscreen-editor textarea{flex:1;resize:none;background:#1f242c80;border:1px solid rgba(255,255,255,.04);color:var(--text-primary);font-size:inherit;line-height:1.5;padding:18px;border-radius:4px}.note-fullscreen-editor textarea:focus{outline:1px solid rgba(231,236,255,.32)}.note-fullscreen-bar{display:flex;align-items:center;gap:12px;padding:0;background:transparent;justify-content:flex-end}@keyframes floatFade{0%{transform:translateY(0);opacity:.6}50%{transform:translateY(-8px);opacity:1}to{transform:translateY(0);opacity:.6}}.empty-state{animation:floatFade 4s ease-in-out infinite;text-align:center;max-width:420px;line-height:1.4;font-size:inherit;font-weight:500;color:#7ee787;filter:drop-shadow(0 0 8px rgba(63,185,80,.25))}.empty-state small{display:block;margin-top:12px;font-size:inherit;color:var(--text-secondary)}.sysbar{height:32px;display:flex;align-items:center;padding:0 16px;gap:16px;background:transparent;color:var(--sysbar-text)}.sysbar-left{display:flex;align-items:center;gap:10px}.sysbar-logo{width:24px;height:24px;border-radius:6px;-o-object-fit:cover;object-fit:cover;box-shadow:0 0 0 1px #ffffff14,0 6px 18px #0000008c}.sysbar-email{font-size:13px;font-weight:400;letter-spacing:.01em;color:var(--sysbar-text)}.sysbar-actions{margin-left:auto;display:flex;align-items:center;gap:10px}.sysbar-button{width:28px;height:28px;border-radius:8px;border:none;background:transparent;color:var(--sysbar-icon-on);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:color .2s ease,transform .2s ease,opacity .2s ease;padding:0}.sysbar-button:hover{color:#fff}.sysbar-button:active{transform:translateY(1px)}.sysbar-button[data-active=false]{opacity:.55;color:var(--sysbar-icon-off)}.sysbar-button:disabled{opacity:.4;cursor:default;background:transparent}.sysbar-version{font-size:12px;opacity:.6;letter-spacing:.05em}.hidden{display:none!important}.chat-history{scrollbar-gutter:stable}.note-title{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.note-content-snippet{display:none}.terminal-titlebar{background:transparent;padding:0;display:flex;align-items:center;gap:8px;font-size:inherit}.window-dot{width:10px;height:10px;border-radius:50%;background:#30363d}.window-dot.red{background:#ff5f56}.window-dot.amber{background:#ffbd2e}.window-dot.green{background:#27c93f}.flex-col-full{display:flex;flex-direction:column;height:100%}.flex-col{display:flex;flex-direction:column}.flex-row{display:flex;flex-direction:row}.flex-1,.grow{flex:1}.muted{opacity:.7}.muted-grow{opacity:.7;flex:1}.gap-6{gap:6px}.gap-8{gap:8px}.ml-auto{margin-left:auto}.btn-row{display:flex;gap:6px}.actions-row{margin-left:auto;display:flex;gap:6px}.panel-body{padding:8px;display:flex;flex-direction:column;gap:8px;flex:1;overflow:hidden}.scroll-flex-col{flex:1;display:flex;flex-direction:column;gap:6px;overflow-y:auto}.center-fill{display:flex;align-items:center;justify-content:center;height:100%;width:100%}.threads-sidebar{width:220px;display:flex;flex-direction:column}.notes-sidebar{width:300px;display:flex;flex-direction:column}.main-content{display:flex;flex:1;min-height:0}.center-content{flex:1;position:relative;display:flex;flex-direction:column;min-width:0}.user-badge{background:#233028;padding:2px 6px;border-radius:4px;color:#7ee787}.note-list{display:flex;flex-direction:column;gap:6px}@keyframes pulseDot{0%{transform:scale(.8);opacity:.6}50%{transform:scale(1.2);opacity:1}to{transform:scale(.8);opacity:.6}}.pulse{animation:pulseDot 1s ease-in-out infinite;display:inline-block}.source-line{padding:2px 0;display:flex;align-items:center;gap:6px;font-size:inherit}.source-note-id{cursor:pointer;font-weight:600;color:#fc0}.source-note-id:hover{text-decoration:underline}.distance-badge{background:#233028;color:#7ee787;font-weight:500}.threads-sidebar,.notes-sidebar{background:transparent}.threads-sidebar .terminal-titlebar,.notes-sidebar .terminal-titlebar{background:transparent;box-shadow:none}.threads-panel,.notes-panel{padding:16px;gap:16px}.threads-panel .input:focus{outline:1px solid rgba(231,236,255,.32)}.threads-sidebar .panel-body,.notes-sidebar .panel-body{background:transparent;box-shadow:none}.app-shell{height:100%;display:flex;flex-direction:column;gap:18px;padding:16px 24px 24px}.view-container{flex:1;display:flex;position:relative;min-height:0}.overlay-layer{flex:1;display:flex;gap:18px;min-height:0;position:relative}.overlay-sidebar{width:280px;padding:0;border-radius:20px;display:flex;flex-direction:column;min-height:0;position:relative}.overlay-sidebar>*{flex:1;min-height:0;display:flex;flex-direction:column}.overlay-main{flex:1;min-height:0;display:flex;flex-direction:column;padding:0;border-radius:24px;position:relative}.overlay-main--thought,.overlay-main--blank{padding:0}.overlay-expander{align-self:flex-start;width:38px;height:38px;border-radius:14px;border:none;background:transparent;color:var(--sysbar-icon-on);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:color .2s ease,transform .2s ease;margin-top:16px}.overlay-expander:hover{color:var(--sysbar-text);transform:translateY(-1px)}.overlay-expander:active{transform:scale(.94)}.overlay-expander--left{margin-left:6px}.overlay-empty{flex:1;display:flex;align-items:center;justify-content:center;text-align:center;font-size:14px;color:var(--text-secondary);letter-spacing:.03em}.identity-view{flex:1;display:flex;flex-direction:column;gap:20px;min-height:0}.identity-graph-card{flex:1;min-height:0;border-radius:28px;overflow:hidden;position:relative}.identity-graph{width:100%;height:100%}.identity-caption{text-align:center;color:#e2e9ffbf;font-size:12px;letter-spacing:.22em;text-transform:uppercase}@media (max-width: 1100px){.app-shell{padding:12px 16px 18px}.overlay-layer{flex-direction:column}.overlay-sidebar{width:100%;order:2}.overlay-expander{align-self:flex-end}}:root{color-scheme:dark;--vm-bg: #0d1117;--vm-surface: #0b1320;--vm-border: #30363d;--vm-text: #c9d1d9;--vm-muted: #8b949e;--vm-link: #7aa2ff;--vm-code-bg: #0f1629;--vm-accent: #7c3aed;--vm-accent-2: #00e0ff}.landing-screen{min-height:100vh;margin:0;background:var(--vm-bg);color:var(--vm-text);font:16px/1.7 -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,Apple Color Emoji,Segoe UI Emoji;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.landing-shell{position:relative;min-height:100dvh;display:grid;place-items:center;overflow:hidden}.landing-glow{position:absolute;inset:-20% -20% auto -20%;height:60%;background:radial-gradient(60% 60% at 50% 40%,rgba(124,58,237,.25),transparent 60%),radial-gradient(40% 40% at 60% 30%,rgba(0,224,255,.18),transparent 60%);filter:blur(40px);pointer-events:none}.landing-container{position:relative;z-index:1;width:min(920px,92vw);padding:32px}.landing-hero{display:grid;grid-template-columns:104px 1fr;gap:20px;align-items:center;margin-bottom:20px}.landing-logo{width:104px;height:104px;border-radius:8px;overflow:hidden;background:var(--vm-code-bg);display:grid;place-items:center}.landing-logo img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;display:block}.landing-title{margin:0;font-size:clamp(28px,4vw,40px);font-weight:700;letter-spacing:-.02em}.landing-tagline{color:var(--vm-muted);margin-top:6px}.landing-panel{background:linear-gradient(180deg,#ffffff05,#fff0);border:none;border-radius:12px;padding:20px;box-shadow:0 10px 30px #00000040}.landing-message{font-size:16px;line-height:1.75}.landing-inline-code{background:#6e768126;border:1px solid var(--vm-border);padding:.2em .45em;border-radius:8px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,DejaVu Sans Mono,monospace;font-size:90%}.landing-beta{margin-top:16px;display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px dashed var(--vm-border);border-radius:10px;background:#7c3aed0f}.landing-pill{display:inline-block;padding:2px 8px;border-radius:999px;background:linear-gradient(90deg,var(--vm-accent),var(--vm-accent-2));color:#0b1020;font-weight:700;font-size:12px}.landing-muted{color:var(--vm-muted)}.landing-link-button{background:none;border:none;padding:0;margin:0;color:var(--vm-link);font:inherit;font-weight:700;cursor:pointer}.landing-link-button:hover,.landing-link-button:focus{text-decoration:underline}.landing-email{color:var(--vm-link);text-decoration:none}.landing-email:hover{text-decoration:underline}@media (max-width: 560px){.landing-hero{grid-template-columns:72px 1fr}.landing-logo{width:72px;height:72px}}
