@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(../media/inter-cyrillic-ext-wght-normal.20g3-bbbhdq0_.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(../media/inter-cyrillic-wght-normal.2cxlyxah-fd35.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(../media/inter-greek-ext-wght-normal.0mkxydxl0e43d.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(../media/inter-greek-wght-normal.1rx9vjatjkdar.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(../media/inter-vietnamese-wght-normal.2kcj5i_8uff48.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(../media/inter-latin-ext-wght-normal.3gdi_th3seg1n.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(../media/inter-latin-wght-normal.0gsaq8ukbf34m.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root,:root[data-theme=dark]{--bg:#0b0a12;--bg-glow:#8b5cf629;--surface:#14111f;--surface-2:#1b1729;--surface-3:#252036;--border:#ffffff14;--border-strong:#ffffff26;--text:#eeebf8;--muted:#a7a1bf;--faint:#6f6a88;--accent:#8b5cf6;--accent-strong:#a78bfa;--accent-text:#fff;--accent-soft:#8b5cf629;--accent-ring:#a78bfa8c;--accent-gradient:linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);--ok:#4ade80;--ok-bg:#4ade801f;--warn:#fbbf24;--warn-bg:#fbbf241f;--danger:#f87171;--danger-bg:#f871711f;--info:#7dd3fc;--info-bg:#7dd3fc1f;--user-bubble:linear-gradient(135deg, #6d28d9, #8b5cf6);--user-text:#fff;--shadow:0 1px 0 #ffffff0a inset, 0 12px 32px #00000059;--nav-bg:#110e1bdb;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:root[data-theme=light]{--bg:#f5f4fa;--bg-glow:#7c3aed14;--surface:#fff;--surface-2:#f1eff8;--surface-3:#e6e2f3;--border:#18123017;--border-strong:#18123029;--text:#17141f;--muted:#5c5772;--faint:#8b86a1;--accent:#7c3aed;--accent-strong:#6d28d9;--accent-text:#fff;--accent-soft:#7c3aed1a;--accent-ring:#7c3aed73;--accent-gradient:linear-gradient(135deg, #6d28d9 0%, #9333ea 100%);--ok:#15803d;--ok-bg:#e7f7ec;--warn:#a16207;--warn-bg:#fdf5df;--danger:#c0262d;--danger-bg:#fdecec;--info:#0369a1;--info-bg:#e5f3fb;--user-bubble:linear-gradient(135deg, #6d28d9, #8b5cf6);--user-text:#fff;--shadow:0 1px 2px #1812300f, 0 8px 24px #1812300f;--nav-bg:#ffffffe6;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:light){:root[data-theme=system]{--bg:#f5f4fa;--bg-glow:#7c3aed14;--surface:#fff;--surface-2:#f1eff8;--surface-3:#e6e2f3;--border:#18123017;--border-strong:#18123029;--text:#17141f;--muted:#5c5772;--faint:#8b86a1;--accent:#7c3aed;--accent-strong:#6d28d9;--accent-soft:#7c3aed1a;--accent-ring:#7c3aed73;--accent-gradient:linear-gradient(135deg, #6d28d9 0%, #9333ea 100%);--ok:#15803d;--ok-bg:#e7f7ec;--warn:#a16207;--warn-bg:#fdf5df;--danger:#c0262d;--danger-bg:#fdecec;--info:#0369a1;--info-bg:#e5f3fb;--shadow:0 1px 2px #1812300f, 0 8px 24px #1812300f;--nav-bg:#ffffffe6;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}}:root{--r-sm:10px;--r:14px;--r-lg:20px;--safe-bottom:env(safe-area-inset-bottom,0px);--nav-h:64px;--rail-w:236px;--ease:cubic-bezier(.2, .8, .2, 1)}*{box-sizing:border-box}html{background:var(--bg)}body{min-height:100dvh;color:var(--text);background:radial-gradient(900px 520px at 85% -12%, var(--bg-glow), transparent 65%), radial-gradient(700px 420px at -10% 30%, var(--bg-glow), transparent 70%), var(--bg);font-feature-settings:"cv11", "ss01";-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;background-repeat:no-repeat;margin:0;font:16px/1.5 Inter Variable,system-ui,-apple-system,Segoe UI,Roboto,sans-serif}h1,h2,h3{letter-spacing:-.015em;margin:0;line-height:1.2}h1{font-size:1.65rem;font-weight:700}h2{font-size:1.1rem;font-weight:650}p{margin:0}a{color:inherit;text-decoration:none}small{font-size:.8rem}.muted{color:var(--muted)}.small-text{font-size:.85rem}.num{font-variant-numeric:tabular-nums}.mono{overflow-wrap:anywhere;font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:.86em}:focus-visible{outline:2px solid var(--accent-ring);outline-offset:2px}.icon{flex:none}.shell{min-height:100dvh}.shell-main{min-width:0;padding-bottom:calc(var(--nav-h) + var(--safe-bottom) + 12px)}.shell:has(.nav-hide-mobile) .shell-main{padding-bottom:0}.nav{z-index:10;padding:6px 6px calc(6px + var(--safe-bottom));background:var(--nav-bg);-webkit-backdrop-filter:blur(16px)saturate(1.2);backdrop-filter:blur(16px)saturate(1.2);border-top:1px solid var(--border);position:fixed;bottom:0;left:0;right:0}.nav-hide-mobile,.nav-brand,.nav-label-full{display:none}.nav-items{grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;display:grid}.nav-item{min-height:52px;color:var(--muted);letter-spacing:.01em;transition:color .18s var(--ease), background .18s var(--ease);border-radius:14px;justify-items:center;gap:3px;padding:7px 2px 6px;font-size:.69rem;font-weight:600;display:grid;position:relative}.nav-item.active{color:var(--accent-strong)}.nav-item.active:before{content:"";background:var(--accent-soft);z-index:-1;border-radius:999px;width:36px;height:30px;position:absolute;top:2px}.nav-item .icon{margin-top:2px}@media (min-width:900px){.shell{grid-template-columns:var(--rail-w) minmax(0, 1fr);display:grid}.shell-main{padding-bottom:0}.shell:has(.nav-hide-mobile) .shell-main{padding-bottom:0}.nav,.nav-hide-mobile{border-top:0;border-right:1px solid var(--border);flex-direction:column;gap:24px;height:100dvh;padding:20px 14px;display:flex;position:sticky;top:0}.nav-brand{align-items:center;gap:10px;padding:4px 8px;font-size:.95rem;display:flex}.nav-items{grid-template-columns:1fr;gap:4px;display:grid}.nav-item{border-radius:12px;align-items:center;gap:12px;min-height:44px;padding:10px 12px;font-size:.92rem;display:flex}.nav-item:hover{color:var(--text);background:var(--surface-2)}.nav-item.active{background:var(--accent-soft)}.nav-item.active:before{background:var(--accent);z-index:0;border-radius:0 3px 3px 0;width:3px;height:24px;top:10px;left:-14px}.nav-item .icon{margin-top:0}.nav-label-full{display:inline}.nav-label-short{display:none}}@media (min-width:900px) and (max-width:1179px){:root{--rail-w:92px}.nav,.nav-hide-mobile{padding:18px 8px}.nav-brand{justify-content:center}.nav-brand-text,.nav-label-full{display:none}.nav-label-short{display:inline}.nav-item{flex-direction:column;gap:4px;padding:10px 4px;font-size:.7rem}.nav-item.active:before{left:-8px}}.brand-mark{background:radial-gradient(circle at 50% 50%, #fff 0 18%, transparent 19%), radial-gradient(circle at 50% 50%, transparent 0 36%, #ffffffe6 37% 46%, transparent 47%), var(--accent-gradient);border-radius:10px;flex:none;width:30px;height:30px;box-shadow:0 6px 18px #7c3aed73}.page{grid-template-columns:minmax(0,1fr);gap:16px;max-width:1120px;margin:0 auto;padding:18px 16px 28px;display:grid}@media (min-width:900px){.page{gap:20px;padding:36px 40px 48px}h1{font-size:2rem}}.page-header{justify-content:space-between;align-items:flex-end;gap:12px;padding:6px 2px 4px;display:flex}.page-header-text{gap:4px;min-width:0;display:grid}.eyebrow{letter-spacing:.1em;text-transform:uppercase;color:var(--accent-strong);font-size:.74rem;font-weight:650}.subtitle{color:var(--muted)}.page-header-actions{flex:none;gap:8px;display:flex}.grid-2,.grid-3{grid-template-columns:minmax(0,1fr);align-items:start;gap:16px;display:grid}@media (min-width:760px){.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:1100px){.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);min-width:0;box-shadow:var(--shadow);align-content:start;gap:14px;padding:18px;display:grid}.card.glow{background:radial-gradient(120% 140% at 0% 0%, #8b5cf642, transparent 55%), var(--surface);border-color:#8b5cf659}.card-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.card-title{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);align-items:center;gap:8px;font-size:.78rem;font-weight:650;display:flex}.card-title .icon{color:var(--accent-strong)}.card-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.hero-row{align-items:center;gap:14px;display:flex}.hero-text{gap:2px;min-width:0;display:grid}.hero-text h2{font-size:1.25rem}.hero-actions{flex-wrap:wrap;gap:8px;display:flex}.btn{appearance:none;min-height:44px;font:inherit;cursor:pointer;background:var(--surface-2);color:var(--text);transition:transform .12s var(--ease), background .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);border:1px solid #0000;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:10px 16px;font-size:.95rem;font-weight:600;display:inline-flex}.btn:hover{background:var(--surface-3)}.btn:active{transform:scale(.98)}.btn:disabled{opacity:.5;cursor:default;transform:none}.btn.primary{background:var(--accent-gradient);color:var(--accent-text);box-shadow:0 6px 18px #7c3aed59}.btn.primary:hover{filter:brightness(1.08)}.btn.big{min-height:52px;font-size:1.02rem}.btn.ghost{border-color:var(--border-strong);background:0 0}.btn.ghost:hover{background:var(--surface-2)}.btn.small{min-height:36px;padding:6px 12px;font-size:.86rem}.btn.link{color:var(--accent-strong);box-shadow:none;background:0 0;font-weight:600}.btn.link:hover{background:var(--accent-soft)}.btn.link.inline{background:0 0;min-height:0;padding:0;text-decoration:underline}.btn.stop{background:var(--danger);color:#fff}.btn.danger{color:var(--danger)}label{color:var(--muted);gap:6px;font-size:.88rem;display:grid}input,textarea{font:inherit;color:var(--text);background:var(--surface-2);border:1px solid var(--border);width:100%;transition:border-color .18s var(--ease), background .18s var(--ease);border-radius:12px;padding:11px 14px;font-size:16px}input::placeholder,textarea::placeholder{color:var(--faint)}input:focus,textarea:focus{border-color:var(--accent);background:var(--surface);box-shadow:0 0 0 3px var(--accent-soft);outline:none}.stack,.stack-lg{gap:12px;display:grid}.stack-lg{gap:16px}.row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.row>input{flex:160px;min-width:0}.row.spread{justify-content:space-between}.row-actions{flex-wrap:wrap;gap:6px;margin-top:6px;display:flex}.search-row{gap:8px;display:flex}.search-row input{flex:1;min-width:0}.pill,.badge{letter-spacing:.01em;white-space:nowrap;background:var(--surface-3);color:var(--muted);vertical-align:middle;border-radius:999px;align-items:center;gap:4px;padding:2px 9px;font-size:.72rem;font-weight:650;display:inline-flex}.pill.ok{background:var(--ok-bg);color:var(--ok)}.pill.error{background:var(--danger-bg);color:var(--danger)}.pill.warn,.badge.mock{background:var(--warn-bg);color:var(--warn)}.pill.info{background:var(--info-bg);color:var(--info)}.pill.accent{background:var(--accent-soft);color:var(--accent-strong)}.badge.mock{justify-self:center}.status-dot,.status-line{color:var(--muted);flex-wrap:wrap;align-items:center;gap:6px;font-size:.82rem;display:inline-flex}.dot{background:var(--faint);border-radius:50%;flex:none;width:8px;height:8px}.dot.ok{background:var(--ok);box-shadow:0 0 0 3px var(--ok-bg)}.dot.warn{background:var(--warn)}.dot.error{background:var(--danger)}.alert{background:var(--surface-2);border-radius:12px;padding:10px 14px;font-size:.94rem}.alert.error{background:var(--danger-bg);color:var(--danger)}.alert.budget,.alert.warn{background:var(--warn-bg);color:var(--warn)}.alert.info{background:var(--info-bg);color:var(--info)}.alert.ok{background:var(--ok-bg);color:var(--ok)}.tabs{background:var(--surface);border:1px solid var(--border);scrollbar-width:none;border-radius:14px;gap:4px;padding:4px;display:flex;overflow-x:auto}.tabs::-webkit-scrollbar{display:none}.tab-link{text-align:center;min-height:40px;color:var(--muted);white-space:nowrap;border-radius:10px;flex:1 0 auto;padding:9px 14px;font-size:.88rem;font-weight:600}.tab-link:hover{color:var(--text)}.tab-link[aria-current=page]{background:var(--accent-soft);color:var(--accent-strong)}.segmented{background:var(--surface-2);border-radius:12px;grid-template-columns:repeat(3,1fr);gap:4px;padding:4px;display:grid}.seg{appearance:none;min-height:40px;font:inherit;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:9px;font-weight:600}.seg.active{background:var(--surface);color:var(--text);box-shadow:var(--shadow)}.empty-state{text-align:center;border:1px dashed var(--border-strong);border-radius:var(--r);justify-items:center;gap:6px;padding:22px 14px;display:grid}.empty-icon{background:var(--accent-soft);width:44px;height:44px;color:var(--accent-strong);border-radius:14px;place-items:center;margin-bottom:4px;display:grid}.empty-title{font-weight:650}.empty-state .muted{max-width:42ch;font-size:.9rem}.empty{text-align:center;padding:24px 8px}.skeleton-group{gap:10px;display:grid}.skeleton{background:linear-gradient(90deg, var(--surface-2), var(--surface-3), var(--surface-2));background-size:200% 100%;border-radius:8px;height:14px;animation:1.4s ease-in-out infinite shimmer;display:block}.stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.stat,.stats>div{background:var(--surface-2);border-radius:12px;justify-items:center;gap:2px;min-width:0;padding:12px 4px;display:grid}.stat strong,.stats strong{white-space:nowrap;font-size:1.2rem}.budget-figure{letter-spacing:-.02em;font-size:1.7rem}.budget-figure .muted{letter-spacing:0;font-size:1rem}.meter{background:var(--surface-3);border-radius:999px;height:10px;overflow:hidden}.meter>span{border-radius:inherit;background:var(--accent-gradient);min-width:4px;height:100%;display:block}.meter.warn>span{background:var(--warn)}.meter.error>span{background:var(--danger)}.facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;margin:0;display:grid}.facts div{min-width:0}.facts dt{color:var(--faint);text-transform:uppercase;letter-spacing:.06em;font-size:.75rem}.facts dd{margin:2px 0 0;font-weight:600}.list{margin:0;padding:0;list-style:none;display:grid}.list>li{border-top:1px solid var(--border);gap:2px;min-width:0;padding:11px 0;display:grid}.list>li:first-child{border-top:0;padding-top:0}.list>li.list-row{align-items:center;gap:12px;display:flex}.list-body{flex:1;gap:1px;min-width:0;display:grid}.list-main{overflow-wrap:anywhere;font-weight:600}.list-main .pill{margin-left:8px}.agent-avatar{color:#fff;background:linear-gradient(135deg,#7c3aed,#a855f7);border-radius:12px;flex:none;place-items:center;width:40px;height:40px;font-weight:750;display:grid;box-shadow:inset 0 1px #ffffff40}.agent-avatar.blue{background:linear-gradient(135deg,#4f46e5,#38bdf8)}.agent-avatar.teal{background:linear-gradient(135deg,#0d9488,#5eead4)}.agent-avatar.sm{border-radius:10px;width:32px;height:32px;font-size:.85rem}.agent-avatar.lg{border-radius:16px;width:52px;height:52px;font-size:1.3rem}.agent-grid{grid-template-columns:minmax(0,1fr);gap:16px;display:grid}@media (min-width:760px){.agent-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:1180px){.agent-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.agent-card-head{align-items:center;gap:14px;display:flex}.agent-card-title{gap:4px;min-width:0;display:grid}.agents,.conversations{gap:8px;margin:0;padding:0;list-style:none;display:grid}@media (min-width:760px){.agents{grid-template-columns:repeat(3,minmax(0,1fr))}}.agent,.conversation{background:var(--surface);border:1px solid var(--border);border-radius:var(--r);min-height:56px;transition:border-color .18s var(--ease), background .18s var(--ease);align-items:center;gap:12px;padding:14px;display:flex}.agent:hover,.conversation:hover{border-color:#8b5cf666}.agent:active,.conversation:active{background:var(--surface-2)}.agent>span:last-child{min-width:0;display:grid}.conversation{flex-direction:column;align-items:flex-start;gap:2px}.conversation .title{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-weight:600;overflow:hidden}.section-title{text-transform:uppercase;letter-spacing:.1em;color:var(--muted);margin-bottom:10px;font-size:.76rem;font-weight:650}.search{margin-bottom:10px}.center{align-content:center;gap:22px;max-width:420px;min-height:100dvh;margin:0 auto;padding:32px 16px;display:grid}.brand{text-align:center;justify-items:center;gap:8px;display:grid}.logo{background:radial-gradient(circle at 50% 50%, #fff 0 17%, transparent 18%), radial-gradient(circle at 50% 50%, transparent 0 35%, #ffffffeb 36% 45%, transparent 46%), var(--accent-gradient);border-radius:20px;width:64px;height:64px;font-size:0;box-shadow:0 12px 36px #7c3aed80}.codes{columns:2;margin:0;padding-left:1.6em;font-size:.95rem}.codes code{font-family:ui-monospace,monospace}.thread{flex-direction:column;max-width:780px;min-height:100dvh;margin:0 auto;display:flex}.topbar{justify-content:space-between;align-items:center;gap:12px;min-height:56px;display:flex}.topbar.sticky{z-index:2;background:var(--nav-bg);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-bottom:1px solid var(--border);padding:8px 12px;position:sticky;top:0}.thread-title{flex:1;justify-content:flex-end;align-items:center;gap:8px;min-width:0;display:flex}.thread-names{text-align:right;min-width:0;display:grid}.thread-names small,.thread-names strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.messages{flex-direction:column;flex:1;gap:12px;padding:18px 14px;display:flex}.bubble{white-space:pre-wrap;overflow-wrap:anywhere;border-radius:18px;max-width:86%;padding:11px 15px;line-height:1.55}.bubble.user{background:var(--user-bubble);color:var(--user-text);border-bottom-right-radius:6px;align-self:flex-end;box-shadow:0 6px 18px #7c3aed40}.bubble.assistant{background:var(--surface);border:1px solid var(--border);border-bottom-left-radius:6px;align-self:flex-start}.bubble.streaming:after{content:"▍";color:var(--accent-strong);margin-left:2px;animation:1s steps(2,end) infinite blink}.typing{gap:4px;padding:14px 16px;display:inline-flex}.typing span{background:var(--accent-strong);border-radius:50%;width:7px;height:7px;animation:1.2s ease-in-out infinite bounce}.typing span:nth-child(2){animation-delay:.15s}.typing span:nth-child(3){animation-delay:.3s}.composer{padding:10px 12px calc(10px + var(--safe-bottom));background:var(--nav-bg);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-top:1px solid var(--border);align-items:flex-end;gap:8px;display:flex;position:sticky;bottom:0}.composer textarea{resize:none;field-sizing:content;min-height:46px;max-height:40dvh}@keyframes shimmer{to{background-position:-200% 0}}@keyframes blink{to{opacity:0}}@keyframes bounce{0%,80%,to{opacity:.5;transform:translateY(0)}40%{opacity:1;transform:translateY(-4px)}}@keyframes rise{0%{opacity:0;transform:translateY(6px)}}.page>*{animation:rise .28s var(--ease) both}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.command-center{gap:16px}.hero-link{margin-left:auto}.console{gap:12px;min-width:0;display:grid}.console-agents,.chips{scrollbar-width:none;gap:8px;margin:0 -2px;padding:0 2px;display:flex;overflow-x:auto}.console-agents::-webkit-scrollbar{display:none}.chips::-webkit-scrollbar{display:none}.chip{appearance:none;border:1px solid var(--border-strong);background:var(--surface-2);min-height:36px;color:var(--text);font:inherit;cursor:pointer;white-space:nowrap;transition:background .18s var(--ease), border-color .18s var(--ease);border-radius:999px;flex:none;align-items:center;gap:6px;padding:6px 13px;font-size:.86rem;font-weight:550;display:inline-flex}.chip:hover{border-color:#8b5cf680}.chip .icon{color:var(--accent-strong)}.chip.active,.chip[aria-checked=true]{background:var(--accent-soft);color:var(--accent-strong);border-color:#8b5cf699}.console-input{background:var(--surface-2);border:1px solid var(--border-strong);transition:border-color .18s var(--ease), box-shadow .18s var(--ease);border-radius:18px;align-items:flex-end;gap:8px;padding:6px;display:flex}.console-input:focus-within{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-soft)}.console-input textarea{resize:none;min-width:0;box-shadow:none;field-sizing:content;background:0 0;border:0;flex:1;min-height:48px;max-height:30dvh;padding:10px}.console-input textarea:focus{box-shadow:none;background:0 0}.console-send{border-radius:14px;flex:none;min-width:48px;min-height:48px;padding:10px 14px}.console-send-label{display:none}@media (min-width:600px){.console-send-label{display:inline}}.spinner{border:2px solid #ffffff59;border-top-color:#fff;border-radius:50%;width:18px;height:18px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.briefing{gap:12px;margin:0;padding:0;list-style:none;display:grid}.briefing li{align-items:baseline;gap:10px;line-height:1.45;display:flex}.briefing .dot{transform:translateY(-2px)}.dot.info{background:var(--info)}.dot.muted{background:var(--faint)}.sources{border-top:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:6px;padding-top:12px;display:flex}.list-link{min-width:0;transition:background .18s var(--ease);border-radius:12px;align-items:center;gap:12px;margin:-6px -8px;padding:6px 8px;display:flex}.list-link:hover{background:var(--surface-2)}.ellipsis{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}@media (min-width:900px){.shortcuts{grid-template-columns:repeat(4,minmax(0,1fr))}}.shortcut{border-radius:var(--r);background:var(--surface);border:1px solid var(--border);min-width:0;transition:border-color .18s var(--ease);align-items:center;gap:12px;padding:14px;display:flex}.shortcut:hover{border-color:#8b5cf673}.shortcut-icon{background:var(--accent-soft);width:38px;height:38px;color:var(--accent-strong);border-radius:12px;flex:none;place-items:center;display:grid}.back-link{width:fit-content;min-height:36px;color:var(--muted);align-items:center;gap:6px;font-size:.9rem;font-weight:600;display:inline-flex}.back-link:hover{color:var(--text)}.agent-hero{align-items:center;gap:16px;min-width:0;display:flex}.agent-version{margin-left:auto}.center-text{text-align:center}.perm-row{align-items:center;gap:12px;min-width:0;display:flex}.list>li>small+.alert{margin-top:6px}.version-compare{justify-self:start;margin-top:4px;padding-left:0}@media (min-width:1100px){.versions-grid{grid-template-columns:minmax(0,2fr) minmax(0,3fr)}}.prompt-view,.diff-lines{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--r);counter-reset:line;max-height:70dvh;margin:0;padding:12px 0;font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:.82rem;line-height:1.6;overflow:auto}.prompt-line{white-space:pre-wrap;overflow-wrap:anywhere;padding:0 14px 0 52px;display:block;position:relative}.prompt-line:before{counter-increment:line;content:counter(line);text-align:right;width:38px;color:var(--faint);-webkit-user-select:none;user-select:none;position:absolute;left:0}.diff{gap:16px;margin:0;padding:0;list-style:none;display:grid}.diff-field{gap:8px;min-width:0;display:grid}.diff-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.diff-lines>span{white-space:pre-wrap;overflow-wrap:anywhere;padding:0 14px;display:block}.diff-lines .add,.diff-values .add{background:var(--ok-bg);color:var(--ok)}.diff-lines .del,.diff-values .del{background:var(--danger-bg);color:var(--danger);-webkit-text-decoration:line-through #f8717180;text-decoration:line-through #f8717180}.diff-lines .ctx{color:var(--muted)}.diff-skip{color:var(--faint);font-style:italic}.diff-op{-webkit-user-select:none;user-select:none;width:1.4em;text-decoration:none;display:inline-block}.diff-values{gap:6px;display:grid}.diff-values code{overflow-wrap:anywhere;white-space:pre-wrap;border-radius:10px;padding:8px 12px;font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:.84rem;display:block}.capture-fab{z-index:20;right:16px;bottom:calc(var(--nav-h) + var(--safe-bottom) + 16px);width:56px;height:56px;color:var(--accent-text);background:var(--accent-gradient);cursor:pointer;transition:transform .18s var(--ease), box-shadow .18s var(--ease);border:0;border-radius:18px;place-items:center;display:grid;position:fixed;box-shadow:0 10px 28px #7c3aed73,inset 0 1px #ffffff40}.capture-fab:hover{transform:translateY(-1px)}.capture-fab:active{transform:scale(.96)}.capture-fab:focus-visible{outline:3px solid var(--accent-ring);outline-offset:3px}.capture-fab-dot{background:var(--warn);width:10px;height:10px;box-shadow:0 0 0 2px var(--bg);border-radius:50%;position:absolute;top:8px;right:8px}.capture-fab-hide-mobile{display:none}@media (min-width:900px){.capture-fab,.capture-fab-hide-mobile{display:grid;bottom:28px;right:28px}}.capture-layer{z-index:40;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.capture-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);animation:capture-fade .18s var(--ease);background:#05040a99;position:absolute;inset:0}.capture-panel{--kb:0px;width:100%;max-height:calc(100dvh - var(--kb) - 24px);margin-bottom:var(--kb);padding:8px 16px calc(16px + var(--safe-bottom));background:var(--surface);border:1px solid var(--border-strong);animation:capture-rise .22s var(--ease);border-bottom:0;border-radius:24px 24px 0 0;gap:12px;display:grid;position:relative;box-shadow:0 -18px 48px #0006}.capture-grip{background:var(--border-strong);border-radius:4px;justify-self:center;width:40px;height:4px}.capture-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.capture-title{font-size:1.05rem}.capture-field{resize:vertical;min-height:132px;max-height:50dvh;font-size:17px;line-height:1.5}.capture-foot{justify-content:space-between;align-items:center;gap:12px;display:flex}.capture-foot .btn{flex:none;min-width:96px}.capture-foot p{align-items:center;gap:6px;margin:0;display:flex}.icon-btn{width:40px;height:40px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:12px;place-items:center;display:grid}.icon-btn:hover{color:var(--text);background:var(--surface-2)}@media (min-width:760px){.capture-layer{align-items:flex-start;padding-top:14dvh}.capture-panel{border:1px solid var(--border-strong);border-radius:var(--r-lg);width:min(600px,100% - 48px);box-shadow:var(--shadow);animation:capture-pop .18s var(--ease);margin-bottom:0;padding:16px 20px 20px}.capture-grip{display:none}}.capture-toast-region{z-index:45;left:16px;right:16px;bottom:calc(var(--nav-h) + var(--safe-bottom) + 84px);pointer-events:none;justify-content:center;display:flex;position:fixed}.capture-toast{max-width:100%;color:var(--text);background:var(--surface-3);border:1px solid var(--border-strong);box-shadow:var(--shadow);pointer-events:auto;animation:capture-pop .18s var(--ease);border-radius:999px;align-items:center;gap:10px;padding:10px 16px;display:flex}.capture-toast .icon{color:var(--ok)}@media (min-width:900px){.capture-toast-region{left:calc(var(--rail-w) + 16px);bottom:28px}}@keyframes capture-fade{0%{opacity:0}}@keyframes capture-rise{0%{opacity:0;transform:translateY(24px)}}@keyframes capture-pop{0%{opacity:0;transform:scale(.97)}}@media (prefers-reduced-motion:reduce){.capture-backdrop,.capture-panel,.capture-toast{animation:none}}.segmented{background:var(--surface);border:1px solid var(--border);border-radius:14px;gap:4px;width:fit-content;max-width:100%;padding:4px;display:inline-flex}.segmented a{min-height:36px;color:var(--muted);border-radius:10px;align-items:center;gap:6px;padding:6px 14px;font-size:.9rem;font-weight:600;display:inline-flex}.segmented a[aria-current=page]{color:var(--text);background:var(--accent-soft)}.note-list>li.note-row{gap:8px;display:grid}.note-row-link{min-width:0;transition:background .18s var(--ease);border-radius:12px;gap:3px;margin:-6px -8px;padding:6px 8px;display:grid}.note-row-link:hover{background:var(--surface-2)}.note-preview{overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}@media (min-width:760px){.note-list>li.note-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px}.note-row .row-actions{flex-wrap:nowrap;margin-top:0}}.note-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:1.02rem;line-height:1.65}.note-actions,.note-convert{gap:10px;display:grid}.note-facts{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:14px}select{font:inherit;color:var(--text);background:var(--surface-2);border:1px solid var(--border);border-radius:12px;max-width:100%;min-height:44px;padding:10px 12px;font-size:16px}select:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);outline:none}.page.narrow{max-width:760px}.segmented button{min-height:36px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:10px;padding:6px 14px;font-size:.9rem;font-weight:600}.segmented button[aria-selected=true]{color:var(--text);background:var(--accent-soft)}.crumbs{color:var(--muted);flex-wrap:wrap;gap:4px 0;min-width:0;font-size:.86rem;display:flex}.crumbs a{color:var(--muted);overflow-wrap:anywhere}.crumbs a:hover{color:var(--accent-strong)}.crumbs a+a:before{content:"›";color:var(--faint);margin:0 8px}.note-layout{grid-template-columns:minmax(0,1fr);align-items:start;gap:16px;display:grid}.note-main,.note-side{gap:16px;min-width:0;display:grid}@media (min-width:1100px){.note-layout{grid-template-columns:minmax(0,1fr) 340px;gap:20px}}.sub-title{letter-spacing:.06em;text-transform:uppercase;color:var(--faint);margin:0 0 8px;font-size:.8rem;font-weight:650}.note-view,.note-editor{gap:14px;display:grid}.note-textarea{resize:vertical;min-height:280px;font-size:16px;line-height:1.6}.note-preview-box{border:1px dashed var(--border-strong);border-radius:12px;min-height:160px;padding:14px}.conflict{border:1px solid var(--warn);background:var(--warn-bg);border-radius:14px;gap:10px;padding:14px;display:grid}.conflict-text,.version-text{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;max-height:60dvh;margin:0;line-height:1.6;overflow:auto}.md{overflow-wrap:anywhere;gap:12px;font-size:1.02rem;line-height:1.7;display:grid}.md>*{margin:0}.md p,.md blockquote{white-space:pre-wrap}.md h2{margin-top:6px;font-size:1.35rem}.md h3{margin-top:4px;font-size:1.15rem}.md h4{font-size:1rem}.md ul,.md ol{gap:4px;padding-left:1.4em;display:grid}.md blockquote{border-left:3px solid var(--accent);color:var(--muted);padding:2px 0 2px 14px}.md code{background:var(--surface-3);border-radius:6px;padding:1px 6px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.9em}.md pre{background:var(--surface-2);border:1px solid var(--border);border-radius:12px;padding:12px 14px;overflow-x:auto}.md pre code{white-space:pre;background:0 0;padding:0}.md hr{border:0;border-top:1px solid var(--border-strong)}.md a{color:var(--accent-strong);text-underline-offset:3px;text-decoration:underline}.wiki-link{color:var(--accent-strong);background:var(--accent-soft);border-radius:6px;padding:0 6px;font-weight:600;text-decoration:none}.md a.wiki-link{text-decoration:none}.wiki-link.missing{color:var(--muted);border:1px dashed var(--border-strong);background:0 0;font-weight:500}.note-grid{grid-template-columns:minmax(0,1fr);gap:12px;margin:0;padding:0;list-style:none;display:grid}@media (min-width:760px){.note-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:1280px){.note-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.note-card{border-radius:var(--r-lg);background:var(--surface);border:1px solid var(--border);min-width:0;height:100%;transition:border-color .18s var(--ease), transform .18s var(--ease);align-content:start;gap:6px;padding:16px;display:grid}.note-card:hover{border-color:var(--accent-ring);transform:translateY(-1px)}.note-card-head{flex-wrap:wrap;gap:6px;display:flex}.subject-card .list-main{font-size:1.08rem}.notes-filter{gap:10px;display:grid}.filter-row{flex-wrap:wrap;align-items:flex-end;gap:10px;display:flex}.filter-row label:not(.switch-row){flex:150px;min-width:0}.filter-row select{width:100%}.switch-row{min-height:44px;color:var(--text);align-items:center;gap:8px;display:flex}.switch-row input{width:20px;height:20px;accent-color:var(--accent)}.picker{gap:8px;display:grid}.picker>label{color:var(--muted);font-size:.88rem}.picker-list{border:1px solid var(--border);background:var(--surface-2);border-radius:12px;gap:2px;max-height:260px;margin:0;padding:4px;list-style:none;display:grid;overflow:auto}.picker-list button{text-align:left;width:100%;color:var(--text);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;gap:1px;min-height:44px;padding:8px 10px;display:grid}.picker-list button:hover,.picker-list button:focus-visible{background:var(--accent-soft);outline:none}.conn-list>li.conn-row{flex-wrap:wrap;align-items:center;gap:8px 12px;display:flex}.conn-main{flex:180px;gap:2px;min-width:0;display:grid}.conn-row .row-actions{margin-top:0}.conn-row>.alert{flex-basis:100%}.history-layout{grid-template-columns:minmax(0,1fr);align-items:start;gap:16px;display:grid}@media (min-width:1000px){.history-layout{grid-template-columns:300px minmax(0,1fr)}}.version-list .list-link[aria-current=page]{background:var(--accent-soft)}.version-list .list-main .pill{margin-left:8px}.note-side .note-facts{grid-template-columns:repeat(3,minmax(0,1fr))}.page.wide{max-width:1320px}.tree-layout{grid-template-columns:minmax(0,1fr);align-items:start;gap:16px;display:grid}@media (min-width:1100px){.tree-layout{grid-template-columns:minmax(0,1fr) 360px}.tree-side{position:sticky;top:24px}}.tree-side{gap:16px;min-width:0;display:grid}.tree-card{gap:12px;padding:14px;display:grid}.tree-hint-dnd{display:none}@media (pointer:fine) and (min-width:900px){.tree-hint-dnd{display:inline}}.tree-message{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.tree-message>span{flex:200px}.tree{gap:2px;display:grid}.tree-row{--level:0;border-radius:12px;outline:none;position:relative}.tree-row>.tree-line{min-height:44px;padding-left:calc(var(--level) * 18px);transition:background .15s var(--ease);border-radius:12px;align-items:center;gap:4px;display:flex}.tree-row:focus-visible>.tree-line{box-shadow:0 0 0 2px var(--accent-ring)}.tree-row>.tree-line:hover,.tree-row.selected>.tree-line{background:var(--surface-2)}.tree-row.selected>.tree-line{background:var(--accent-soft)}.tree-row.drop-target>.tree-line{background:var(--accent-soft);box-shadow:inset 0 0 0 2px var(--accent)}.tree-row.dragging{opacity:.5}.tree-row.virtual>.tree-line{color:var(--muted)}.tree-row[aria-level]:not([aria-level="1"]):before{content:"";top:0;bottom:0;left:calc(var(--level) * 18px - 6px);background:var(--border);width:1px;position:absolute}.tree-toggle,.tree-toggle-spacer{flex:none;width:32px;height:32px}.tree-toggle{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;display:grid}.tree-toggle:hover{color:var(--text);background:var(--surface-3)}.chev{transition:transform .18s var(--ease);font-size:1.25rem;line-height:1;display:inline-block}.chev.open{transform:rotate(90deg)}.tree-label{min-width:0;min-height:40px;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;flex:1;align-items:center;gap:8px;padding:4px 6px;display:flex}.tree-label.static{cursor:default}.tree-title{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:600;overflow:hidden}.tree-kind{flex:none}@media (max-width:420px){.tree-kind{display:none}}.tree-count{text-align:center;min-width:22px;color:var(--muted);background:var(--surface-3);border-radius:999px;flex:none;padding:0 7px;font-size:.72rem;font-weight:650}.tree-dot{background:var(--accent);width:10px;height:10px;box-shadow:0 0 10px var(--accent-ring);border-radius:50%;flex:none}.tree-dot.kind-subject{background:radial-gradient(circle at 35% 35%, #c4b5fd, var(--accent) 60%);width:14px;height:14px}.tree-dot.kind-topic{width:12px;height:12px}.tree-dot.kind-project{border-radius:4px}.tree-dot.kind-source{background:#f59e0b;box-shadow:0 0 10px #f59e0b80}.tree-dot.kind-fleeting{background:var(--faint);box-shadow:none}.tree-more{letter-spacing:1px;flex:none;font-size:1.1rem}.tree-menu{margin:2px 0 6px calc(var(--level) * 18px + 36px);border:1px solid var(--border);background:var(--surface-2);width:fit-content;max-width:calc(100% - var(--level) * 18px - 36px);border-radius:12px;flex-wrap:wrap;gap:6px;padding:6px;display:flex}.tree-status{margin:2px 0 6px calc(var(--level) * 18px + 40px)}.tree-preview{gap:10px;display:grid}.tree-preview-title{overflow-wrap:anywhere;font-size:1.2rem}.confirm-layer{z-index:50;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.confirm-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#05040a99;position:absolute;inset:0}.confirm-panel{border-radius:var(--r-lg);background:var(--surface);border:1px solid var(--border-strong);width:min(480px,100%);box-shadow:var(--shadow);overflow-wrap:anywhere;gap:14px;padding:20px;display:grid;position:relative}:root,:root[data-theme=dark]{--graph-bg:radial-gradient(circle at 50% 50%, #7c3aed29, transparent 62%), #0a0812;--graph-orbit:#a78bfa1a;--node-personal:#8b5cf6;--node-personal-hi:#ddd6fe;--node-personal-lo:#4c1d95;--node-personal-glow:#8b5cf638;--node-container:#a78bfa;--node-container-hi:#f5f3ff;--node-container-lo:#5b21b6;--node-container-glow:#a78bfa47;--node-ai:#22d3ee;--node-ai-hi:#cffafe;--node-ai-lo:#0e7490;--node-ai-glow:#22d3ee38;--node-source:#f59e0b;--node-source-hi:#fef3c7;--node-source-lo:#92400e;--node-source-glow:#f59e0b38;--node-muted:#6f6a88;--node-muted-hi:#c4c0d6;--node-muted-lo:#3a3650;--node-muted-glow:#6f6a882e;--edge-user:#c4b5fda6;--edge-system:#a78bfa80;--edge-agent:#22d3eebf;--edge-tree:#ffffff24;--graph-label:#e9e5f8;--graph-label-halo:#0a0812}:root[data-theme=light]{--graph-bg:radial-gradient(circle at 50% 50%, #7c3aed1a, transparent 62%), #f7f6fc;--graph-orbit:#7c3aed1f;--node-personal-lo:#6d28d9;--node-container-lo:#6d28d9;--node-ai:#0891b2;--node-ai-lo:#155e75;--node-source-lo:#b45309;--edge-user:#6d28d98c;--edge-system:#7c3aed73;--edge-agent:#0891b2cc;--edge-tree:#18123029;--graph-label:#17141f;--graph-label-halo:#f7f6fc}@media (prefers-color-scheme:light){:root[data-theme=system]{--graph-bg:radial-gradient(circle at 50% 50%, #7c3aed1a, transparent 62%), #f7f6fc;--graph-orbit:#7c3aed1f;--node-ai:#0891b2;--node-ai-lo:#155e75;--edge-user:#6d28d98c;--edge-system:#7c3aed73;--edge-agent:#0891b2cc;--edge-tree:#18123029;--graph-label:#17141f;--graph-label-halo:#f7f6fc}}.local-graph{gap:12px;min-width:0;display:grid}.graph-stage{border-radius:var(--r-lg);background:var(--graph-bg);border:1px solid var(--border);position:relative;overflow:hidden;box-shadow:inset 0 0 60px #00000040}.graph-stage.loading svg{opacity:.55;transition:opacity .2s var(--ease)}.graph-stage svg{touch-action:pan-y;-webkit-user-select:none;user-select:none;width:100%;height:320px;display:block}.local-graph.full .graph-stage svg{touch-action:none;cursor:grab;height:min(70dvh,760px)}.local-graph.full .graph-stage svg:active{cursor:grabbing}@media (min-width:900px){.graph-stage svg{height:380px}}.graph-orbit{fill:none;stroke:var(--graph-orbit);stroke-dasharray:2 6}.graph-edge{fill:none;stroke-width:1.6px;transition:opacity .2s var(--ease)}.graph-edge.origin-user{stroke:var(--edge-user)}.graph-edge.origin-system{stroke:var(--edge-system)}.graph-edge.origin-agent{stroke:var(--edge-agent)}.graph-edge.status-suggested{stroke-dasharray:6 5}.graph-edge.type-contains{stroke:var(--edge-tree);stroke-width:1.2px}.graph-edge.type-cites{stroke:#f59e0b99}.graph-edge.lit{stroke-width:2.6px}.graph-edge.dim,.graph-node.dim{opacity:.22}.graph-arrow{fill:var(--edge-system)}.graph-node{cursor:pointer;transition:opacity .2s var(--ease);outline:none}.graph-node.ring-2{opacity:.9}.graph-node.ring-3{opacity:.78}.graph-node.dim.ring-2,.graph-node.dim.ring-3{opacity:.2}.graph-halo{opacity:.9}.graph-core{stroke:#ffffff2e;stroke-width:1px}.graph-node:focus-visible .graph-core,.graph-node.selected .graph-core{stroke:var(--accent-strong);stroke-width:3px}.graph-ai-ring{fill:none;stroke:var(--node-ai);stroke-width:1.5px;stroke-dasharray:3 3}.graph-suggest-ring{fill:none;stroke:var(--node-ai);stroke-opacity:.35;stroke-width:1px;stroke-dasharray:1 4}.graph-lock{fill:#fff;pointer-events:none;font-size:9px}.graph-label{fill:var(--graph-label);paint-order:stroke;stroke:var(--graph-label-halo);stroke-width:4px;stroke-linejoin:round;pointer-events:none;font-size:12px;font-weight:600}.graph-label.focus{font-size:14px;font-weight:750}.graph-legend{color:var(--muted);border-top:1px solid var(--border);background:color-mix(in srgb, var(--surface) 70%, transparent);flex-wrap:wrap;gap:4px 14px;padding:8px 12px;font-size:.75rem;display:flex}.graph-legend span{align-items:center;gap:6px;display:inline-flex}.lg{border-radius:50%;width:10px;height:10px}.lg.personal{background:var(--node-personal)}.lg.ai{background:var(--node-ai);outline:1.5px dashed var(--node-ai);outline-offset:2px}.lg.source{background:var(--node-source)}.ln{border-top:2px solid var(--edge-user);width:18px;height:0}.ln.dashed{border-top:2px dashed var(--edge-agent)}.ln.faint{border-top:2px solid var(--edge-tree)}.graph-toolbar{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.graph-filters,.graph-zoom{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.graph-zoom{margin-left:auto}.graph-zoom .icon-btn{border:1px solid var(--border);font-size:1.2rem}.segmented button[aria-pressed=true]{color:var(--text);background:var(--accent-soft)}.chip{border:1px solid var(--border-strong);min-height:36px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border-radius:999px;padding:6px 12px;font-size:.85rem;font-weight:600}.chip[aria-pressed=true]{color:var(--text);background:var(--accent-soft);border-color:var(--accent-ring)}.chip-ai[aria-pressed=true]{background:var(--info-bg);border-color:var(--node-ai)}.graph-actions{flex-wrap:wrap;gap:8px;display:flex}.graph-panel{border-radius:var(--r);border:1px solid var(--border-strong);background:var(--surface-2);overflow-wrap:anywhere;gap:8px;padding:14px;display:grid}.graph-panel-title{font-size:1.15rem}.graph-relations{gap:4px;margin:0;padding:0;font-size:.9rem;list-style:none;display:grid}.rel-ai{color:var(--node-ai);font-weight:600}.graph-list{gap:14px;display:grid}@media (prefers-reduced-motion:reduce){.graph-edge,.graph-node{transition:none}}:root,:root[data-theme=dark]{--gg-personal:#8b5cf6;--gg-container:#b39bff;--gg-ai:#22d3ee;--gg-source:#f59e0b;--gg-muted:#7a7594;--gg-edge-user:#c4b5fd99;--gg-edge-system:#a78bfa73;--gg-edge-agent:#22d3eebf;--gg-edge-tree:#ffffff21;--gg-edge-agg:#a78bfa52;--gg-edge-cites:#f59e0b99}:root[data-theme=light]{--gg-personal:#7c3aed;--gg-container:#8b5cf6;--gg-ai:#0891b2;--gg-source:#d97706;--gg-muted:#8b86a1;--gg-edge-user:#6d28d980;--gg-edge-system:#7c3aed61;--gg-edge-agent:#0891b2bf;--gg-edge-tree:#18123024;--gg-edge-agg:#7c3aed47;--gg-edge-cites:#d977068c}@media (prefers-color-scheme:light){:root[data-theme=system]{--gg-personal:#7c3aed;--gg-container:#8b5cf6;--gg-ai:#0891b2;--gg-source:#d97706;--gg-edge-user:#6d28d980;--gg-edge-system:#7c3aed61;--gg-edge-agent:#0891b2bf;--gg-edge-tree:#18123024;--gg-edge-agg:#7c3aed47;--gg-edge-cites:#d977068c}}.global-graph{gap:12px;min-width:0;display:grid}.gg-toolbar{gap:10px;min-width:0;display:grid}@media (min-width:1100px){.gg-toolbar{grid-template-columns:minmax(260px,380px) minmax(0,1fr);align-items:center}}.gg-search{border:1px solid var(--border);background:var(--surface-2);border-radius:14px;align-items:center;gap:8px;min-width:0;padding:0 12px;display:flex;position:relative}.gg-search:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.gg-search .icon{color:var(--muted);flex:none}.gg-search input{box-shadow:none;background:0 0;border:0;padding:11px 0}.gg-search input:focus{box-shadow:none;background:0 0}.gg-hits{z-index:15;border:1px solid var(--border-strong);background:var(--surface);box-shadow:var(--shadow);border-radius:14px;max-height:320px;margin:0;padding:4px;list-style:none;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow:auto}.gg-hits button{width:100%;min-height:48px;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:10px;padding:8px 10px;display:grid}.gg-hits button:hover,.gg-hits button:focus-visible{background:var(--accent-soft);outline:none}.gg-hits small{grid-column:2}.gg-dot{background:var(--gg-personal);border-radius:50%;grid-row:span 2;width:10px;height:10px}.gg-dot.tone-ai{background:var(--gg-ai)}.gg-chips{scrollbar-width:none;gap:6px;min-width:0;padding-bottom:2px;display:flex;overflow-x:auto}.gg-chips .chip{flex:none;align-items:center;gap:6px;display:inline-flex}.chip-reveal[aria-pressed=true]{border-color:var(--warn);background:var(--warn-bg);color:var(--warn)}.gg-message{align-items:center;gap:10px;display:flex}.gg-message>span{flex:1}.gg-body{grid-template-columns:minmax(0,1fr);align-items:start;gap:16px;min-width:0;display:grid;position:relative}@media (min-width:1100px){.gg-body:has(.gg-panel){grid-template-columns:minmax(0,1fr) 340px}}.gg-stage-wrap{border-radius:var(--r-lg);border:1px solid var(--border);background:var(--graph-bg);min-width:0;position:relative;overflow:hidden;box-shadow:inset 0 0 90px #00000059}.gg-stage-wrap:before{content:"";background-image:radial-gradient(var(--graph-orbit) 1px, transparent 1px);pointer-events:none;background-size:28px 28px;position:absolute;inset:0}.gg-stage{touch-action:none;width:100%;height:min(64dvh,720px);min-height:360px;position:relative}@media (min-width:1100px){.gg-stage{height:min(74dvh,820px)}}.gg-loading,.gg-busy{color:var(--text);background:var(--surface);border:1px solid var(--border-strong);box-shadow:var(--shadow);border-radius:999px;padding:6px 14px;font-size:.82rem;position:absolute;top:14px;left:50%;transform:translate(-50%)}.gg-loading{top:45%}.gg-zoom{gap:6px;display:grid;position:absolute;top:12px;right:12px}.gg-zoom .icon-btn{background:var(--surface);border:1px solid var(--border-strong);font-size:1.1rem}.gg-legend{position:relative}.gg-panel{border-radius:var(--r-lg);border:1px solid var(--border-strong);background:var(--surface);box-shadow:var(--shadow);overflow-wrap:anywhere;gap:10px;min-width:0;padding:16px;display:grid}@media (max-width:1099px){.gg-body:has(.gg-panel) .gg-stage{height:min(46dvh,520px);min-height:300px}}.gg-panel-head{justify-content:space-between;align-items:center;display:flex}.gg-panel-title{font-size:1.2rem}.gg-edges{gap:6px;margin:0;padding:0;font-size:.9rem;list-style:none;display:grid}.gg-edges li{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:8px;padding:6px 0;display:flex}.gg-edges li:first-child{border-top:0}.gg-footer{flex-wrap:wrap;align-items:center;gap:8px 14px;display:flex}.gg-list{border-radius:var(--r-lg);border:1px solid var(--border);background:var(--surface);padding:14px}.gg-list-cluster .row.spread{flex-wrap:wrap}.gg-list-nodes{border-left:1px solid var(--border);margin:8px 0 0 12px;padding-left:12px}@media (max-width:520px){.tab-link{padding:9px 7px;font-size:.82rem}}.gg-zoom{left:12px;right:auto}.gg-edges li>button{white-space:nowrap;flex:none}@media (max-width:1099px){body.gg-sheet-open .capture-fab{display:none}}:root[data-theme=light] .gg-stage-wrap,:root[data-theme=light] .graph-stage{box-shadow:inset 0 0 70px #7c3aed0f}@media (prefers-color-scheme:light){:root[data-theme=system] .gg-stage-wrap,:root[data-theme=system] .graph-stage{box-shadow:inset 0 0 70px #7c3aed0f}}.tree-toolbar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.tree-search{flex:220px}.tree-nohit{z-index:15;background:var(--surface);border:1px solid var(--border-strong);border-radius:12px;margin:0;padding:10px 12px;position:absolute;top:calc(100% + 6px);left:0;right:0}.tree-preview-section{border-top:1px solid var(--border);gap:6px;padding-top:10px;display:grid}.tree-facts{grid-template-columns:repeat(3,minmax(0,1fr));font-size:.85rem}.tree-create .card-title{overflow-wrap:anywhere}.conn-confirm{flex-basis:100%;align-items:center}.graph-panel-links{border-top:1px solid var(--border);padding-top:8px}.graph-panel-links>summary{cursor:pointer;color:var(--accent-strong);align-items:center;min-height:36px;font-size:.9rem;font-weight:600;display:flex}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}nav.segmented{flex-wrap:wrap}.home-capture{gap:10px;display:grid}.home-capture-field,.thought-field{resize:vertical;min-height:88px;max-height:50dvh;font-size:17px;line-height:1.5}.home-capture-foot{justify-content:space-between;align-items:center;gap:12px;display:flex}.home-capture-foot .btn{flex:none;min-width:96px}.home-capture-foot p{flex-wrap:wrap;align-items:center;gap:6px;margin:0;display:flex}.home-capture-inbox{justify-self:start}.inbox-selectbar{flex-wrap:wrap;align-items:center;gap:8px 16px;margin-bottom:8px;display:flex}.inbox-selectbar .alert{margin:0}label.check{cursor:pointer;align-items:center;gap:8px;min-height:36px;font-size:.9rem;font-weight:600;display:inline-flex}label.check input,.thought-check{width:20px;height:20px;min-height:0;accent-color:var(--accent);flex:none;margin:0}.inbox-toolbar{z-index:5;background:var(--surface-2);border:1px solid var(--border-strong);border-radius:14px;gap:10px;margin-bottom:12px;padding:10px 12px;display:grid;position:sticky;top:8px}.inbox-toolbar .row-actions{flex-wrap:wrap;margin-top:0}.inbox-panel{gap:10px;display:grid}.inbox-panel p{margin:0}.thought-head{align-items:flex-start;gap:10px;min-width:0;display:flex}.thought-head .thought-check{margin-top:4px}.thought-head .note-row-link{flex:1}.thought-row.selected{background:var(--accent-soft);border-radius:12px}.thought-row.processed .list-main{color:var(--muted)}.thought-meta{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.thought-derived{overflow-wrap:anywhere;margin:0}.thought-editor{grid-column:1/-1;gap:8px;display:grid}.thought-editor p{margin:0}.thought-quote{border-left:3px solid var(--border-strong);background:var(--surface-2);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:6px;margin:6px 0 0;padding:8px 12px;font-size:.95rem}.origin-list>li{display:block}.origin-first summary{color:var(--muted);cursor:pointer;margin-top:6px;font-size:.85rem}@media (min-width:760px){.note-list>li.thought-row{grid-template-columns:minmax(0,1fr) auto}.note-list>li.thought-row .thought-derived{grid-column:1/-1}}.md-table{border:1px solid var(--border);border-radius:12px;max-width:100%;overflow-x:auto}.md-table table{border-collapse:collapse;min-width:100%;font-size:.94rem}.md-table th,.md-table td{border-bottom:1px solid var(--border);text-align:left;vertical-align:top;overflow-wrap:normal;padding:8px 12px}.md-table th{background:var(--surface-2);white-space:nowrap;font-weight:650}.md-table tr:last-child td{border-bottom:0}.md pre{-webkit-overflow-scrolling:touch;max-width:100%;position:relative}.md-lang{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;margin-bottom:6px;font-size:.72rem;display:block}.fav-btn[aria-pressed=true]{color:var(--accent-strong);border-color:var(--accent)}.tag-list{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.tag-chip{background:var(--accent-soft);min-height:32px;color:var(--accent-strong);border-radius:999px;align-items:center;gap:4px;padding:2px 10px;font-size:.82rem;font-weight:600;text-decoration:none;display:inline-flex}.tag-chip button{min-width:28px;min-height:28px;color:inherit;cursor:pointer;background:0 0;border:0}.related-list small{display:block}.search-top{gap:8px;margin-bottom:8px;display:flex}.search-top input{flex:1;min-width:0}.search-hit mark{background:var(--accent-soft);color:inherit;border-radius:3px}@media (max-width:520px){.md-table th,.md-table td{padding:8px 10px}.filter-row label:not(.switch-row){flex:100%}.filter-row .btn,.note-actions .btn.small,.note-side .btn.small,.search-row .btn.small,.tag-chip{min-height:44px}.note-actions .row-actions{flex-wrap:wrap}}
