@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.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(/assets/inter-cyrillic-wght-normal-DqGufNeO.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(/assets/inter-greek-ext-wght-normal-DlzME5K_.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(/assets/inter-greek-wght-normal-CkhJZR-_.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(/assets/inter-vietnamese-wght-normal-CBcvBZtf.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(/assets/inter-latin-ext-wght-normal-DO1Apj_S.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(/assets/inter-latin-wght-normal-Dx4kXJAl.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}@font-face{font-family:Space Grotesk Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/assets/space-grotesk-vietnamese-wght-normal-D0rl6rjA.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:Space Grotesk Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/assets/space-grotesk-latin-ext-wght-normal-D9tNdqV9.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:Space Grotesk Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/assets/space-grotesk-latin-wght-normal-BhU9QXUp.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}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(data:font/woff2;base64,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)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:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(/assets/jetbrains-mono-cyrillic-wght-normal-D73BlboJ.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(/assets/jetbrains-mono-greek-wght-normal-Bw9x6K1M.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:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(/assets/jetbrains-mono-vietnamese-wght-normal-Bt-aOZkq.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:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(/assets/jetbrains-mono-latin-ext-wght-normal-DBQx-q_a.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:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(/assets/jetbrains-mono-latin-wght-normal-B9CIFXIH.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{--bg:#05070b;--bg-2:#0a0e15;--panel:#0e141e9e;--panel-strong:#121925db;--panel-solid:#0d121b;--line:#96b4dc1c;--line-strong:#96b4dc38;--text:#e7eef8;--muted:#8a95a9;--faint:#5b6577;--accent:#5ce1e6;--accent-2:#8b7bff;--accent-text:#041014;--gradient:linear-gradient(135deg, #5ce1e6 0%, #7aa8ff 55%, #8b7bff 100%);--glow:0 0 0 1px #5ce1e659, 0 0 28px #5ce1e629;--danger:#ff6b81;--warn:#ffc56b;--ok:#58e6a5;--radius:16px;--font-ui:"Inter Variable", system-ui, sans-serif;--font-display:"Space Grotesk Variable", "Inter Variable", system-ui, sans-serif;--font-mono:"JetBrains Mono Variable", ui-monospace, monospace;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-family:var(--font-ui);-webkit-font-smoothing:antialiased;line-height:1.55}*{box-sizing:border-box}html,body,#root{height:100%}body{background:var(--bg);color:var(--text);margin:0;overflow:hidden}::selection{background:#5ce1e64d}h1,h2,h3{font-family:var(--font-display);letter-spacing:-.01em;font-weight:600}h1{margin:0 0 1.2rem;font-size:1.6rem}h2{margin:0 0 .5rem;font-size:1.05rem}h3{margin:1rem 0 .4rem;font-size:.95rem}a{color:var(--accent)}code{font-family:var(--font-mono);background:#96b4dc1a;border-radius:5px;padding:.08rem .35rem;font-size:.86em}.mono{font-family:var(--font-mono)}.label{font-family:var(--font-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--muted);font-size:.7rem}.backdrop{z-index:0;pointer-events:none;position:fixed;inset:0;overflow:hidden}.backdrop:before{content:"";background-image:linear-gradient(#96b4dc0d 1px,#0000 1px),linear-gradient(90deg,#96b4dc0d 1px,#0000 1px);background-size:48px 48px;position:absolute;inset:0;-webkit-mask-image:radial-gradient(at 50% 30%,#000 0%,#0000 75%);mask-image:radial-gradient(at 50% 30%,#000 0%,#0000 75%)}.backdrop .orb{filter:blur(90px);opacity:.5;border-radius:50%;position:absolute}.backdrop .orb.a{background:#0f6d78;width:46vmax;height:46vmax;animation:28s ease-in-out infinite alternate drift-a;top:-18vmax;left:-10vmax}.backdrop .orb.b{background:#3a2f9e;width:40vmax;height:40vmax;animation:34s ease-in-out infinite alternate drift-b;bottom:-20vmax;right:-12vmax}.backdrop .orb.c{opacity:.25;background:#1b4f9c;width:22vmax;height:22vmax;animation:40s ease-in-out infinite alternate-reverse drift-a;top:40%;left:55%}@keyframes drift-a{to{transform:translate(8vmax,6vmax)scale(1.1)}}@keyframes drift-b{to{transform:translate(-6vmax,-8vmax)scale(1.08)}}button{font:inherit;cursor:pointer;border:1px solid var(--line-strong);color:var(--text);background:#96b4dc0f;border-radius:11px;justify-content:center;align-items:center;gap:.45rem;min-height:40px;padding:.5rem .95rem;font-size:.92rem;transition:background .15s,border-color .15s,box-shadow .15s,transform .1s;display:inline-flex}button:hover:not(:disabled){background:#96b4dc1f;border-color:#5ce1e666}button:active:not(:disabled){transform:translateY(1px)}button:disabled{opacity:.45;cursor:default}button.primary{background:var(--gradient);color:var(--accent-text);border-color:#0000;font-weight:600;box-shadow:0 6px 24px #5ce1e62e}button.primary:hover:not(:disabled){background:var(--gradient);box-shadow:0 6px 30px #5ce1e652}button.danger:hover:not(:disabled){color:var(--danger);border-color:#ff6b8180}button.link{color:var(--accent);background:0 0;border:none;min-height:0;padding:0}button.ghost,.icon-btn{background:0 0;border-color:#0000}.icon-btn{min-width:36px;min-height:36px;color:var(--muted);padding:.4rem}.icon-btn:hover:not(:disabled){color:var(--text)}:focus-visible{box-shadow:var(--glow);outline:none}input,select,textarea{font:inherit;color:var(--text);border:1px solid var(--line-strong);background:#05080d99;border-radius:11px;padding:.6rem .75rem;transition:border-color .15s,box-shadow .15s}input:focus,select:focus,textarea:focus{box-shadow:var(--glow);border-color:#5ce1e68c;outline:none}select{cursor:pointer}option,optgroup{background:var(--panel-solid);color:var(--text)}label input,label select{width:100%;margin-top:.35rem;display:block}label{color:var(--muted);margin-bottom:1rem;font-size:.85rem;display:block}.muted{color:var(--muted)}.small{font-size:.82rem}.error{color:var(--danger)}.warn{color:var(--warn)}.pad{padding:0 .75rem}.glass{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);-webkit-backdrop-filter:blur(18px)saturate(140%)}.wordmark{align-items:center;gap:.6rem;display:flex}.wordmark .mark{background:var(--gradient);border-radius:9px;width:28px;height:28px;position:relative;box-shadow:0 0 18px #5ce1e659}.wordmark .mark:after{content:"";background:var(--bg);border-radius:50%;position:absolute;inset:7px;box-shadow:inset 0 0 6px #5ce1e699}.wordmark .name{font-family:var(--font-display);letter-spacing:.32em;font-size:.95rem;font-weight:600}.gate{z-index:1;flex:1;place-items:center;min-height:100dvh;padding:16px;display:grid;position:relative}.gate-card{width:100%;max-width:400px;padding:2rem 1.75rem 1.5rem;animation:.6s cubic-bezier(.2,.8,.2,1) both rise}.gate-title{font-family:var(--font-display);letter-spacing:.42em;text-align:center;background:var(--gradient);color:#0000;-webkit-background-clip:text;background-clip:text;margin:0 0 .2rem;padding-left:.42em;font-size:3rem;font-weight:600}.gate-sub{text-align:center;margin:0 0 1.75rem}.gate-links{text-align:center;margin:.9rem 0 0;font-size:.85rem}.recovery-code{font-family:var(--mono,monospace);text-align:center;overflow-wrap:anywhere;-webkit-user-select:all;user-select:all;margin:1rem 0;font-size:1.05rem}.check{align-items:center;gap:.5rem;margin:1rem 0;display:flex}.check input{width:auto;min-height:0}.gate-status{border-top:1px solid var(--line);justify-content:space-between;margin-top:1.4rem;padding-top:.9rem;display:flex}.gate button.primary{width:100%;margin-top:.25rem}.pulse{background:var(--ok);width:7px;height:7px;box-shadow:0 0 10px var(--ok);vertical-align:middle;border-radius:50%;margin-right:.5rem;animation:2.4s ease-in-out infinite pulse;display:inline-block}@keyframes pulse{50%{opacity:.35}}@keyframes rise{0%{opacity:0;transform:translateY(14px)scale(.985)}}.app{height:100dvh;display:flex;position:relative}.app.signed-in .sidebar,.app.signed-in .main{animation:.5s both fade}@keyframes fade{0%{opacity:0}}.sidebar{z-index:2;width:276px;padding-top:env(safe-area-inset-top);flex-direction:column;flex-shrink:0;margin:10px 0 10px 10px;display:flex;position:relative}.sidebar-top{justify-content:space-between;align-items:center;padding:14px 14px 10px;display:flex}.new-chat{justify-content:flex-start;margin:4px 12px 10px}.chat-list{flex:1;padding:0 8px;overflow-y:auto}.chat-list .label{padding:.6rem .6rem .3rem}.nav-item{color:var(--text);border:1px solid #0000;border-radius:10px;align-items:center;gap:.6rem;padding:.5rem .65rem;font-size:.9rem;text-decoration:none;display:flex}.nav-item:hover{background:#96b4dc12}.nav-item svg{color:var(--muted);flex-shrink:0}.nav-item.active svg{color:var(--accent)}.nav-item .title{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.nav-item .meta{color:var(--faint);font-family:var(--font-mono);flex-shrink:0;font-size:.72rem}.sidebar-bottom{border-top:1px solid var(--line);padding:8px;padding-bottom:max(8px, env(safe-area-inset-bottom));gap:2px;display:grid}.main{z-index:1;flex-direction:column;flex:1;min-width:0;display:flex;position:relative}.topbar,.scrim{display:none}@media (width<=760px){.sidebar{z-index:20;border-radius:0 var(--radius) var(--radius) 0;background:var(--panel-solid);width:84vw;max-width:320px;margin:0;transition:transform .25s cubic-bezier(.2,.8,.2,1);position:fixed;inset:0 auto 0 0;transform:translate(-105%)}.drawer-open .sidebar{transform:none}.drawer-open .scrim{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:10;background:#020408bf;display:block;position:fixed;inset:0}.topbar{padding:6px 8px;padding-top:max(6px, env(safe-area-inset-top));border-bottom:1px solid var(--line);align-items:center;gap:.5rem;display:flex}}.page{width:100%;max-width:780px;margin:0 auto;padding:24px 16px 40px;animation:.4s both rise;overflow-y:auto}.page.wide{max-width:1120px}.page-head{margin-bottom:1.2rem}.page-head h1{margin:.2rem 0 .3rem}.page section{margin-bottom:1rem;padding:1.1rem 1.15rem}.section-title{margin:1.6rem 0 .7rem}.row-between{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.inline-form{align-items:center;gap:.5rem;margin:.6rem 0;display:flex}.inline-form input{flex:1;min-width:0}.inline-form.compact input{width:5.5rem;font-family:var(--font-mono);flex:none}.button-row{flex-wrap:wrap;gap:.5rem;margin:.5rem 0;display:flex}.status-chip{font-family:var(--font-mono);letter-spacing:.08em;text-transform:uppercase;border:1px solid var(--line-strong);color:var(--muted);border-radius:999px;align-items:center;gap:.4rem;padding:.2rem .55rem;font-size:.7rem;display:inline-flex}.status-chip.on{color:var(--ok);border-color:#58e6a559}.status-chip.on:before{content:"";background:var(--ok);width:6px;height:6px;box-shadow:0 0 8px var(--ok);border-radius:50%}.switch{color:var(--text);cursor:pointer;align-items:center;gap:.5rem;margin:0;display:inline-flex}.switch input{appearance:none;cursor:pointer;border:1px solid var(--line-strong);background:#96b4dc26;border-radius:999px;width:38px;height:22px;margin:0;padding:0;position:relative}.switch input:after{content:"";background:var(--muted);border-radius:50%;width:16px;height:16px;transition:transform .2s,background .2s;position:absolute;top:2px;left:2px}.switch input:checked{background:#5ce1e640;border-color:#5ce1e680}.switch input:checked:after{background:var(--accent);box-shadow:0 0 8px var(--accent);transform:translate(16px)}.budget{margin-top:.9rem}.meter{background:#96b4dc1a;border-radius:2px;height:4px;margin-top:.45rem;overflow:hidden}.meter div{background:var(--gradient);height:100%;box-shadow:0 0 10px #5ce1e680}.meter div.high{background:var(--danger);box-shadow:0 0 10px var(--danger)}.list{margin:0 0 1rem;padding:0;list-style:none}.list li{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:.75rem;padding:.7rem 0;display:flex}.list li:last-child{border-bottom:none}.list li>div{min-width:0}.list strong{text-overflow:ellipsis;white-space:nowrap;font-weight:500;display:block;overflow:hidden}.list small{color:var(--muted);font-family:var(--font-mono);font-size:.72rem}.chat{flex-direction:column;flex:1;min-height:0;display:flex}.chat-head{align-items:center;gap:.6rem;padding:14px 20px 10px;display:flex}.title-btn{color:var(--text);font-family:var(--font-display);text-overflow:ellipsis;white-space:nowrap;flex:1;justify-content:flex-start;font-size:1.02rem;font-weight:500;overflow:hidden}.chat-head .cost{font-family:var(--font-mono);color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:.2rem .55rem;font-size:.78rem}.messages{flex-direction:column;flex:1;gap:1.1rem;padding:8px 16px 24px;display:flex;overflow-y:auto}.messages>*{width:100%;max-width:800px;margin:0 auto}.msg{gap:.8rem;animation:.35s both rise;display:flex}.msg.user{justify-content:flex-end}.msg.user .body{background:linear-gradient(135deg,#5ce1e624,#8b7bff24);border:1px solid #5ce1e638;border-radius:18px 18px 6px;max-width:82%;padding:.65rem 1rem}.msg.assistant .body{flex:1;min-width:0;padding-top:.15rem}.avatar{background:var(--gradient);border-radius:50%;flex-shrink:0;width:28px;height:28px;margin-top:.1rem;position:relative;box-shadow:0 0 16px #5ce1e659}.avatar:after{content:"";background:var(--bg);border-radius:50%;position:absolute;inset:6px}.avatar.live{animation:1.6s ease-in-out infinite breathe}@keyframes breathe{50%{transform:scale(1.06);box-shadow:0 0 28px #5ce1e6b3}}.plain{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.msg-meta{font-family:var(--font-mono);color:var(--faint);letter-spacing:.02em;flex-wrap:wrap;gap:.25rem .9rem;margin-top:.55rem;font-size:.7rem;display:flex}.msg-meta .model{color:var(--muted)}.divider{text-align:center;font-family:var(--font-mono);letter-spacing:.08em;color:var(--faint);align-items:center;gap:.8rem;font-size:.7rem;display:flex}.divider:before,.divider:after{content:"";background:var(--line);flex:1;height:1px}.notice{padding:.9rem 1rem}.shimmer{background:linear-gradient(90deg, var(--muted) 0%, var(--text) 50%, var(--muted) 100%);color:#0000;background-size:200% 100%;-webkit-background-clip:text;background-clip:text;margin:0;animation:1.6s linear infinite shimmer}@keyframes shimmer{to{background-position:-200% 0}}.md{overflow-wrap:anywhere}.md>:first-child{margin-top:0}.md>:last-child{margin-bottom:0}.md pre{border:1px solid var(--line);background:#05080db3;border-radius:12px;padding:.8rem;overflow-x:auto}.md pre code{background:0 0;padding:0}.md table{border-collapse:collapse;display:block;overflow-x:auto}.md th,.md td{border:1px solid var(--line-strong);padding:.35rem .6rem}.md blockquote{border-left:2px solid var(--accent);color:var(--muted);margin:0;padding-left:1rem}.empty{text-align:center;margin:auto;padding:2rem 1rem;animation:.5s both rise}.empty .core{background:var(--gradient);border-radius:50%;width:84px;height:84px;margin:0 auto 1.4rem;animation:4s ease-in-out infinite breathe;position:relative;box-shadow:0 0 60px #5ce1e659,0 0 120px #8b7bff33}.empty .core:after{content:"";background:var(--bg);border-radius:50%;position:absolute;inset:14px;box-shadow:inset 0 0 18px #5ce1e680}.empty h2{margin-bottom:.3rem;font-size:1.5rem}.composer{padding:0 16px 14px;padding-bottom:max(14px, env(safe-area-inset-bottom))}.dock{border-radius:20px;max-width:800px;margin:0 auto;padding:8px 8px 8px 12px;transition:box-shadow .2s,border-color .2s}.dock textarea{resize:none;field-sizing:content;width:100%;min-height:44px;max-height:40vh;box-shadow:none;background:0 0;border:none;padding:.55rem .2rem}.dock-row{flex-wrap:wrap;align-items:center;gap:.4rem;display:flex}.chip-select{background:#96b4dc0f;border-radius:999px;max-width:58vw;padding:.3rem .55rem;font-size:.8rem}.price{font-family:var(--font-mono);color:var(--faint);margin-left:auto;font-size:.7rem}.send-btn{border-radius:50%;width:40px;height:40px;min-height:40px;padding:0}.stop-btn{width:40px;height:40px;min-height:40px;color:var(--danger);border-color:#ff6b8180;border-radius:50%;padding:0}.month-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:.75rem;margin-top:.6rem;display:grid}.stat{border:1px solid var(--line);background:#05080d59;border-radius:12px;flex-direction:column;gap:.15rem;padding:.8rem .9rem;display:flex}.stat .value{font-family:var(--font-mono);font-size:1.15rem}.big-number{font-family:var(--font-mono);background:var(--gradient);color:#0000;-webkit-background-clip:text;background-clip:text;font-size:2rem;font-weight:500}.table-wrap{margin-bottom:1rem;overflow-x:auto}table.activity{border-collapse:collapse;width:100%;font-size:.82rem}table.activity th{font-family:var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-size:.68rem;font-weight:500}table.activity th,table.activity td{text-align:left;border-bottom:1px solid var(--line);white-space:nowrap;padding:.6rem .75rem}table.activity td.num{font-family:var(--font-mono);font-size:.78rem}table.activity tbody tr{cursor:pointer;transition:background .12s}table.activity tbody tr:hover{background:#5ce1e60d}tr.dim td{color:var(--muted)}.badge{font-family:var(--font-mono);border:1px solid var(--line-strong);border-radius:6px;padding:.12rem .45rem;font-size:.68rem}.badge.ok{color:var(--ok);border-color:#58e6a54d}.badge.error,.badge.blocked{color:var(--danger);border-color:#ff6b8159}.badge.stopped{color:var(--warn);border-color:#ffc56b59}.modal{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);z-index:30;background:#020408b3;place-items:center;padding:16px;animation:.2s both fade;display:grid;position:fixed;inset:0}.modal-body{background:var(--panel-strong);width:100%;max-width:920px;max-height:90dvh;padding:1.1rem;animation:.3s both rise;overflow-y:auto}.modal pre{border:1px solid var(--line);white-space:pre-wrap;overflow-wrap:anywhere;font-family:var(--font-mono);background:#05080db3;border-radius:12px;padding:.8rem;font-size:.76rem}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.chip-toggle{min-height:0;color:var(--muted);border-radius:999px;gap:.3rem;padding:.3rem .65rem;font-size:.8rem}.chip-toggle.on{color:var(--accent);background:#5ce1e61a;border-color:#5ce1e680;box-shadow:0 0 14px #5ce1e626}.steps{gap:.3rem;margin:0 0 .8rem;padding:0;list-style:none;display:grid}.steps>li{border:1px solid var(--line);background:#05080d73;border-radius:10px;align-items:center;gap:.55rem;min-width:0;padding:.4rem .65rem;font-size:.82rem;animation:.25s both rise;display:flex}.steps>li.running{border-color:#5ce1e659;box-shadow:0 0 16px #5ce1e614}.steps>li.error{border-color:#ff6b814d}.step-icon{color:var(--accent);flex-shrink:0}.step-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.step-summary{color:var(--faint);font-family:var(--font-mono);white-space:nowrap;margin-left:auto;font-size:.7rem}.step-status{color:var(--ok);flex-shrink:0;display:inline-flex}.steps>li.error .step-status{color:var(--danger)}.steps>li.running .step-status{color:var(--accent)}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.steps-wrap{margin-bottom:.6rem}.steps-toggle{font-family:var(--font-mono);color:var(--muted);gap:.25rem;min-height:0;padding:.1rem .2rem;font-size:.72rem}.steps-toggle svg{transition:transform .15s}.steps-toggle svg.rot{transform:rotate(90deg)}@media (width<=760px){.step-summary{display:none}}a.button{min-height:40px;color:var(--text);border:1px solid var(--line-strong);background:#96b4dc0f;border-radius:11px;justify-content:center;align-items:center;gap:.45rem;padding:.5rem .95rem;font-size:.92rem;text-decoration:none;display:inline-flex}a.button:hover{background:#96b4dc1f;border-color:#5ce1e666}a.button.primary{background:var(--gradient);color:var(--accent-text);border-color:#0000;font-weight:600}.back{margin-bottom:.3rem;text-decoration:none;display:inline-block}.agent-grid{grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:1rem;display:grid}.agent-grid .agent-card{flex-direction:column;gap:.65rem;margin:0;display:flex}.agent-card.commander{border-color:#8b7bff59;box-shadow:0 0 40px #8b7bff14}.agent-card.draft{border-style:dashed;border-color:#ffc56b66}.agent-card-head{align-items:center;gap:.7rem;display:flex}.agent-card-head h2{margin:0}.agent-card-head .status-chip{margin-left:auto}.agent-icon{width:36px;height:36px;color:var(--accent);background:#5ce1e614;border:1px solid #5ce1e640;border-radius:11px;flex-shrink:0;place-items:center;display:grid}.commander .agent-icon{color:var(--accent-2);background:#8b7bff1a;border-color:#8b7bff59}.agent-desc{color:var(--text);flex:1;margin:0;font-size:.9rem}.chips{flex-wrap:wrap;gap:.35rem;display:flex}.chip{font-family:var(--font-mono);border:1px solid var(--line-strong);color:var(--muted);white-space:nowrap;border-radius:999px;padding:.15rem .5rem;font-size:.7rem}.agent-meta{color:var(--faint);font-size:.72rem}.agent-card .button-row{margin:0}.status-chip.draft{color:var(--warn);border-color:#ffc56b66}.badge-count{font-family:var(--font-mono);background:var(--warn);color:#1a1205;border-radius:999px;place-items:center;min-width:20px;height:20px;padding:0 6px;font-size:.68rem;font-weight:600;display:inline-grid;box-shadow:0 0 10px #ffc56b80}.draft-banner{color:var(--warn);border-color:#ffc56b66;flex-wrap:wrap;align-items:center;gap:.7rem;margin-top:.6rem;padding:.7rem .9rem;display:flex}.draft-banner span{color:var(--text);flex:1;min-width:200px}textarea.role{resize:vertical;width:100%;min-height:180px;margin-top:.35rem;font-size:.9rem;line-height:1.5;display:block}.form-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:0 1rem;display:grid}.skill-picks{gap:.5rem;margin-bottom:.6rem;display:grid}.skill-pick{border:1px solid var(--line);cursor:pointer;color:var(--text);border-radius:12px;align-items:flex-start;gap:.7rem;margin:0;padding:.65rem .8rem;display:flex}.skill-pick.on{background:#5ce1e60f;border-color:#5ce1e673}.skill-pick input{width:auto;accent-color:var(--accent);margin:.2rem 0 0}.skill-pick span{flex-direction:column;gap:.15rem;display:flex}.skill-pick small{color:var(--muted);font-size:.8rem}.chip-select.agent-on{color:var(--accent-2);background:#8b7bff1a;border-color:#8b7bff80}.steps>li{flex-direction:column;align-items:stretch;gap:0;padding:0}.step-row{align-items:center;gap:.55rem;min-width:0;padding:.4rem .65rem;display:flex}.step-row[role=button]{cursor:pointer}.step-row[role=button]:hover .step-label{color:var(--accent)}.steps>li.delegation{border-color:#8b7bff4d}.steps>li.delegation>.step-row .step-icon{color:var(--accent-2)}.steps.nested{border-left:1px dashed var(--line-strong);margin:0 .5rem .5rem 1.6rem;padding-left:.6rem}.steps.nested>li{background:0 0}.step-output{border:1px solid var(--line);background:#05080d8c;border-radius:10px;max-height:360px;margin:0 .65rem .65rem;padding:.7rem .8rem;font-size:.86rem;overflow-y:auto}.steps>li:not(:has(.step-summary)) .step-status{margin-left:auto}.step-row:not(:has(.step-summary)) .step-status{margin-left:auto}.memory-bar{flex-wrap:wrap;align-items:center;gap:.75rem;margin-bottom:1rem;display:flex}.tabs{border:1px solid var(--line);background:#05080d66;border-radius:12px;padding:3px;display:inline-flex}.tab{min-height:34px;color:var(--muted);background:0 0;border:none;border-radius:9px;padding:.3rem .8rem;font-size:.86rem}.tab .mono{color:var(--faint);font-size:.72rem}.tab.on{color:var(--text);background:#5ce1e61a;box-shadow:inset 0 0 0 1px #5ce1e64d}.search{border:1px solid var(--line-strong);min-width:180px;color:var(--muted);background:#05080d99;border-radius:11px;flex:1;align-items:center;gap:.4rem;margin:0;padding:0 .7rem;display:flex}.search:focus-within{box-shadow:var(--glow);border-color:#5ce1e68c}.search input{background:0 0;border:none;flex:1;margin:0;padding:.55rem 0;box-shadow:none!important}.review-banner{border-color:#ffc56b59;flex-wrap:wrap;align-items:center;gap:.75rem;margin-bottom:1rem;padding:.7rem .9rem;display:flex}.review-banner span{flex:1;min-width:200px}.memory-list{gap:.6rem;display:grid}.memory-card{align-items:flex-start;gap:.75rem;display:flex;margin:0!important;padding:.85rem 1rem!important}.memory-card.new{border-color:#ffc56b59}.memory-card.pinned{box-shadow:inset 3px 0 0 var(--accent)}.memory-main{flex:1;min-width:0}.memory-main p{cursor:text;overflow-wrap:anywhere;margin:0 0 .45rem}.memory-main textarea{resize:vertical;width:100%;margin-bottom:.45rem}.memory-meta{color:var(--faint);flex-wrap:wrap;align-items:center;gap:.4rem .7rem;font-size:.7rem;display:flex}.memory-meta .kind{font-family:var(--font-mono);border-radius:999px;padding:.1rem .4rem;font-size:.7rem}.new-chip{color:var(--warn);border-color:#ffc56b73}.memory-actions{flex-shrink:0;gap:.1rem;display:flex}.pin-on{color:var(--accent)!important}.new-memory{margin-bottom:1rem;padding:.9rem}.new-memory textarea{resize:vertical;width:100%}.new-memory .button-row{align-items:center;margin-bottom:0}.new-memory .button-row .muted{flex:1}.small-empty{color:var(--faint);place-items:center;gap:.5rem;padding:2.5rem 1rem;display:grid}@media (width<=760px){.memory-card{flex-direction:column}.memory-actions{align-self:flex-end;margin-top:-.4rem}}.skill-name{font-family:var(--font-mono);overflow-wrap:anywhere;font-size:.95rem;font-weight:500}.skill-card .agent-icon{color:var(--ok);background:#58e6a514;border-color:#58e6a547}.skill-card.draft .agent-icon{color:var(--warn);background:#ffc56b14;border-color:#ffc56b4d}.skill-title{font-family:var(--font-mono);overflow-wrap:anywhere;font-size:1.3rem;font-weight:500}.mono-text{font-family:var(--font-mono);font-size:.82rem;line-height:1.6}.skill-preview{border:1px solid var(--line-strong);background:#05080d99;border-radius:11px;min-height:300px;max-height:70vh;margin-bottom:.5rem;padding:.9rem 1rem;overflow-y:auto}label textarea{resize:vertical;width:100%;margin-top:.35rem;display:block}.sigil{filter:drop-shadow(0 0 6px var(--sigil-glow));flex-shrink:0;display:block;overflow:visible}.sigil.dim{opacity:.55;filter:none}.sigil.active .sigil-core{transform-origin:0 0;animation:6s linear infinite sigil-turn}.sigil.active .sigil-ring{transform-origin:0 0;animation:14s linear infinite reverse sigil-turn}.sigil.active{animation:1.6s ease-in-out infinite sigil-glow}@keyframes sigil-turn{to{transform:rotate(360deg)}}@keyframes sigil-glow{50%{filter:drop-shadow(0 0 14px var(--sigil-glow))}}.avatar-sigil{flex-shrink:0;margin-top:.1rem}.agent-sigil{flex-shrink:0}.run-map{border:1px solid var(--line);background:radial-gradient(at 10%,#8b7bff14,#0000 60%),#05080d80;border-radius:14px;margin:.2rem 0 .9rem;padding:.5rem .6rem .2rem;position:relative}.run-map.live{border-color:#5ce1e640;box-shadow:0 0 30px #5ce1e60f}.run-map svg{display:block;overflow:visible}.map-link path{fill:none;stroke:var(--line-strong);stroke-width:1.4px}.map-link.ok path{stroke:#5ce1e659}.map-link.error path{stroke:#ff6b8173}.map-link.active path{stroke:var(--accent);stroke-dasharray:5 6;animation:.7s linear infinite flow}@keyframes flow{to{stroke-dashoffset:-11px}}.packet{fill:#fff;filter:drop-shadow(0 0 4px var(--accent))}.map-node text{font-family:var(--font-mono);fill:var(--muted)}.map-name{letter-spacing:.04em;font-size:10.5px;fill:var(--text)!important}.map-label{font-size:10.5px}.map-cost{font-size:9.5px;fill:var(--faint)!important}.map-node.tool circle{fill:#0a0e15f2;stroke:var(--line-strong);stroke-width:1.2px}.map-node.tool svg{color:var(--muted)}.map-node.tool.running circle{stroke:var(--accent);filter:drop-shadow(0 0 6px #5ce1e6b3)}.map-node.tool.running svg,.map-node.tool.ok svg{color:var(--accent)}.map-node.tool.error circle{stroke:var(--danger)}.map-node.tool.error svg{color:var(--danger)}.map-node.agent.error{opacity:.6}.map-total{color:var(--accent);letter-spacing:.04em;font-size:.7rem;position:absolute;bottom:.4rem;right:.7rem}.cmd-backdrop{z-index:40;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#02040899;justify-content:center;align-items:flex-start;padding:12vh 16px 16px;animation:.15s both fade;display:flex;position:fixed;inset:0}.cmd{background:var(--panel-strong);width:100%;max-width:640px;animation:.2s both rise;overflow:hidden;box-shadow:0 30px 80px #0009,0 0 0 1px #5ce1e626}.cmd-input{border-bottom:1px solid var(--line);color:var(--accent);align-items:center;gap:.6rem;padding:.8rem 1rem;display:flex}.cmd-input input{background:0 0;border:none;flex:1;padding:.2rem 0;font-size:1.02rem;box-shadow:none!important}kbd{font-family:var(--font-mono);border:1px solid var(--line-strong);color:var(--faint);border-radius:5px;padding:.1rem .4rem;font-size:.66rem}.cmd-list{max-height:55vh;padding:.4rem;overflow-y:auto}.cmd-group{padding:.6rem .6rem .25rem}.cmd-item{cursor:pointer;border-radius:10px;align-items:center;gap:.7rem;min-width:0;padding:.55rem .65rem;display:flex}.cmd-item.on{background:#5ce1e617;box-shadow:inset 0 0 0 1px #5ce1e640}.cmd-icon{color:var(--muted);flex-shrink:0;display:inline-flex}.cmd-item.on .cmd-icon{color:var(--accent)}.cmd-label{white-space:nowrap;text-overflow:ellipsis;flex-shrink:1;min-width:0;overflow:hidden}.cmd-hint{color:var(--faint);white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-size:.8rem;overflow:hidden}.cmd-enter{color:var(--accent);flex-shrink:0;margin-left:auto}.kbd-hint{margin-left:auto}@media (width<=760px){.kbd-hint{display:none}.cmd-backdrop{padding-top:8vh}}.boot{z-index:50;background:radial-gradient(ellipse at center, #0a101af5, var(--bg) 70%);cursor:pointer;align-content:center;place-items:center;gap:1.6rem;padding:16px;transition:opacity .45s,transform .45s;display:grid;position:fixed;inset:0}.boot.leaving{opacity:0;pointer-events:none;transform:scale(1.04)}.boot-core{background:var(--gradient);border-radius:50%;width:72px;height:72px;animation:1.4s ease-in-out infinite breathe;position:relative;box-shadow:0 0 60px #5ce1e673}.boot-core:after{content:"";background:var(--bg);border-radius:50%;position:absolute;inset:12px}.boot-log{width:min(520px,100%);min-height:10.5rem;color:var(--muted);white-space:pre;font-size:.82rem;line-height:1.6;overflow:hidden}.boot-log .ok{color:var(--accent)}.boot-log .warn{color:var(--warn)}.caret{vertical-align:-2px;background:var(--accent);width:.55em;height:1em;margin-left:2px;animation:.8s step-end infinite pulse;display:inline-block}.boot-bar{background:#96b4dc1f;border-radius:1px;width:min(520px,100%);height:2px;overflow:hidden}.boot-bar div{background:var(--gradient);height:100%;box-shadow:0 0 10px var(--accent);transition:width 80ms linear}.app.booting .sidebar,.app.booting .main{opacity:0;animation:none}.statusline{padding:8px 20px 0}.status-bar{letter-spacing:.06em;text-transform:uppercase;color:var(--faint);border:1px solid var(--line);background:#05080d73;border-radius:999px;align-items:center;gap:1rem;width:fit-content;margin-left:auto;padding:.32rem .75rem;font-size:.68rem;text-decoration:none;display:flex}.status-bar:hover{border-color:#5ce1e64d}.lights{gap:.75rem;display:inline-flex}.light{align-items:center;gap:.35rem;display:inline-flex}.light:before{content:"";background:#3a4352;border-radius:50%;width:6px;height:6px}.light.online:before{background:var(--ok);box-shadow:0 0 8px var(--ok)}.light.warn:before{background:var(--warn);box-shadow:0 0 8px var(--warn)}.light.limit:before{background:var(--danger);box-shadow:0 0 8px var(--danger)}.light.online .light-name{color:var(--muted)}.pulse-zone{align-items:center;gap:.4rem;min-width:7.5em;display:inline-flex}.pulse-zone.busy{color:var(--accent)}.pulse-dot{background:var(--accent);width:7px;height:7px;box-shadow:0 0 10px var(--accent);border-radius:50%;animation:1s ease-in-out infinite pulse}.spend{color:var(--text);align-items:center;gap:.5rem;display:inline-flex}.spend-meter{background:#96b4dc1f;border-radius:2px;width:46px;height:3px;display:inline-block;overflow:hidden}.spend-meter span{background:var(--gradient);height:100%;display:block}.spend-meter span.high{background:var(--danger)}.status-bar.compact{gap:.55rem;margin-left:auto;padding:.25rem .55rem}.status-bar.compact .lights{gap:.3rem}.status-bar.compact .pulse-zone{min-width:0}.topbar .status-bar{display:none}@media (width<=760px){.statusline{display:none}.topbar .status-bar{display:flex}}.constellation{background:radial-gradient(at 50% 45%,#283c7840,#0000 70%),#04060bbf;padding:.5rem;position:relative;overflow:hidden}.constellation svg{display:block}.dust{fill:#9fb4d8;opacity:.25;animation:3.5s ease-in-out infinite twinkle}@keyframes twinkle{50%{opacity:.7}}.const-line{fill:none;stroke:#96beff2e;stroke-width:1px}.const-label{font-family:var(--font-mono);letter-spacing:.14em;fill:var(--muted);font-size:11px}.star{cursor:pointer}.star .hit{fill:#0000}.star .halo{fill:#96c8ff1f;transition:r .2s}.star .core{fill:#dce8ff;filter:drop-shadow(0 0 4px #9cc4ff)}.star.preference .core{fill:var(--accent);filter:drop-shadow(0 0 5px var(--accent))}.star.preference .halo{fill:#5ce1e624}.star.decision .core{fill:var(--accent-2);filter:drop-shadow(0 0 5px var(--accent-2))}.star.decision .halo{fill:#8b7bff29}.star.note .core{fill:#8a95a9;filter:none}.star.new .halo{fill:#ffc56b40;animation:1.8s ease-in-out infinite newstar}@keyframes newstar{50%{opacity:.35}}.star:hover .halo,.star.selected .halo{fill:#ffffff38}.star.selected .core{fill:#fff}.star-tip{background:var(--panel-strong);border:1px solid var(--line-strong);pointer-events:none;border-radius:10px;gap:.2rem;max-width:300px;padding:.55rem .7rem;font-size:.82rem;display:grid;position:absolute;transform:translate(-50%,calc(-100% - 14px));box-shadow:0 10px 30px #00000080}.const-legend{color:var(--faint);text-transform:uppercase;letter-spacing:.08em;flex-wrap:wrap;gap:.4rem 1rem;padding:.3rem .6rem .4rem;font-size:.66rem;display:flex}.const-legend .k{background:#dce8ff;border-radius:50%;width:7px;height:7px;margin-right:.35rem;display:inline-block}.const-legend .k.preference{background:var(--accent)}.const-legend .k.decision{background:var(--accent-2)}.const-legend .k.note{background:#8a95a9}.const-legend .k.new{background:var(--warn)}.memory-bar .tabs .tab{align-items:center;gap:.3rem;display:inline-flex}a.project-card{color:var(--text);text-decoration:none;transition:border-color .15s,box-shadow .15s}a.project-card:hover{border-color:#5ce1e659;box-shadow:0 0 30px #5ce1e60f}.project-card .agent-icon{color:var(--accent-2);background:#8b7bff14;border-color:#8b7bff4d}.status-chip.privacy{gap:.3rem}.status-chip.privacy.open{color:var(--ok);border-color:#58e6a54d}.status-chip.privacy.local,.status-chip.privacy.masked,.status-chip.privacy.chosen{color:var(--accent-2);border-color:#8b7bff66}.status-chip.never{color:var(--warn);border-color:#ffc56b59;gap:.25rem;padding:.05rem .45rem;font-size:.62rem}.privacy-options{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:.6rem;display:grid}.privacy-option{border:1px solid var(--line);cursor:pointer;color:var(--text);border-radius:12px;align-items:flex-start;gap:.6rem;margin:0;padding:.7rem .8rem;display:flex}.privacy-option.on{background:#8b7bff14;border-color:#8b7bff80}.privacy-option.soon{opacity:.45;cursor:default}.privacy-option input{width:auto;accent-color:var(--accent-2);margin:.25rem 0 0}.privacy-option span{flex-direction:column;gap:.15rem;display:flex}.privacy-option small{color:var(--muted);font-size:.8rem}.provider-picks{margin-top:.8rem}.files.drag{border-color:var(--accent);box-shadow:inset 0 0 40px #5ce1e61a}.file-list{margin:0;padding:0;list-style:none}.file-list li{border-bottom:1px solid var(--line);align-items:center;gap:.55rem;min-width:0;padding:.45rem .6rem;display:flex}.file-list li:last-child{border-bottom:none}.file-list li.protected .file-name{color:var(--warn)}.file-icon{color:var(--muted);flex-shrink:0}.file-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.file-meta{color:var(--faint);white-space:nowrap;margin-left:auto;font-size:.7rem}.file-actions{flex-shrink:0;display:inline-flex}.file-actions a.icon-btn{justify-content:center;align-items:center;display:inline-flex}.drop-hint{border-radius:12px;justify-content:center;border:1px dashed var(--line-strong)!important;padding:2rem!important}.project-chip{font-family:var(--font-mono);color:var(--accent-2);white-space:nowrap;border:1px solid #8b7bff66;border-radius:999px;align-items:center;gap:.3rem;padding:.2rem .55rem;font-size:.7rem;text-decoration:none;display:inline-flex}.chip-select.project-select.on{color:var(--accent-2);border-color:#8b7bff80}.attach{min-width:30px;min-height:30px}@media (width<=760px){.file-meta{display:none}.file-actions{margin-left:auto}}.dock-row{flex-wrap:nowrap;align-items:flex-end}.dock-opts{flex-wrap:wrap;flex:1;align-items:center;gap:.4rem;min-width:0;display:flex}.chip-select{max-width:min(240px,58vw)}.approval{border-color:#ffc56b73;margin:0 0 .8rem;padding:.9rem 1rem;animation:.25s both rise;box-shadow:0 0 30px #ffc56b14}.approval-head{color:var(--warn);align-items:center;gap:.5rem;display:flex}.approval-head strong{color:var(--text)}.approval-detail{white-space:pre-wrap;color:var(--muted);margin:.5rem 0 .7rem;font-size:.86rem}.approval .button-row{margin:0}.chip.engine{color:var(--accent-2);border-color:#8b7bff66}:root{--bg:#030509;--panel:#0a0f17b8;--panel-strong:#0b1019f0;--panel-solid:#090d14;--line:#96bee117;--line-strong:#96bee12e;--radius:8px;--tick:#5ce1e68c;--cut:7px}h1{letter-spacing:-.025em;font-size:1.85rem;font-weight:500}h2{letter-spacing:-.005em;font-weight:500}.label{letter-spacing:.2em;color:var(--faint);font-size:.64rem}.backdrop:before{background-image:radial-gradient(#96bee121 1px,#0000 1px);background-size:26px 26px;-webkit-mask-image:radial-gradient(90% 70% at 50% 0,#000 0%,#0000 72%);mask-image:radial-gradient(90% 70% at 50% 0,#000 0%,#0000 72%)}.backdrop:after{content:"";background:linear-gradient(90deg,#0000,#5ce1e6b3 35%,#8b7bff99 65%,#0000);height:1px;position:absolute;top:0;left:0;right:0;box-shadow:0 0 22px 1px #5ce1e647}.backdrop .orb{filter:blur(120px)}.app.signed-in .backdrop .orb{opacity:.1}.app.signed-in .backdrop .orb.c{display:none}.glass{background-color:var(--panel);border-radius:var(--radius);-webkit-backdrop-filter:blur(12px)}.page section.glass,.agent-card.glass,.gate-card.glass,.connection-form.glass{background-image:linear-gradient(var(--tick), var(--tick)), linear-gradient(var(--tick), var(--tick)), linear-gradient(var(--tick), var(--tick)), linear-gradient(var(--tick), var(--tick));background-position:0 0,0 0,100% 100%,100% 100%;background-repeat:no-repeat;background-size:10px 1px,1px 10px,10px 1px,1px 10px}a.agent-card{transition:border-color .18s,background-color .18s,transform .18s}a.agent-card:hover{background-color:#5ce1e606;border-color:#5ce1e652;transform:translateY(-1px)}.agent-icon{border-radius:6px}button,input,select,textarea{border-radius:7px}button{min-height:38px;font-size:.88rem}button.primary{color:var(--accent);background:#5ce1e617;border-color:#5ce1e680;font-weight:500;box-shadow:inset 0 0 18px #5ce1e60f,0 0 18px #5ce1e614}button.primary:hover:not(:disabled){border-color:var(--accent);background:#5ce1e629;box-shadow:inset 0 0 18px #5ce1e61a,0 0 26px #5ce1e638}button.primary:disabled{color:var(--muted);border-color:var(--line-strong);box-shadow:none;background:0 0}input,select,textarea{background:#020408b3}.status-chip,.chip-toggle,.project-chip{border-radius:4px}.sidebar{background-color:#05080dc7;background-image:none;border-width:0 1px 0 0;border-radius:0;width:256px;margin:0}.nav-item{border-radius:5px;font-size:.88rem;position:relative}.nav-item.active{background:linear-gradient(90deg,#5ce1e617,#0000 85%);border-color:#0000}.nav-item.active:before{content:"";background:var(--accent);width:2px;box-shadow:0 0 10px var(--accent);border-radius:2px;position:absolute;top:22%;bottom:22%;left:-8px}.new-chat{background:0 0;border-style:dashed}.new-chat:hover:not(:disabled){border-style:solid}.wordmark .mark{background:conic-gradient(from 210deg,#5ce1e6,#8b7bff,#5ce1e6);border-radius:50%;width:22px;height:22px}.wordmark .mark:after{inset:5px}.wordmark .name{letter-spacing:.42em;font-size:.82rem}.gate-title{letter-spacing:.5em;padding-left:.5em;font-size:2.6rem;font-weight:500}.status-bar{-webkit-backdrop-filter:none;background:0 0;border-width:0 0 1px;border-radius:0}.status-bar.compact{border:none}.msg.user .body{border-color:var(--line-strong);background:#96bee10f;border-radius:8px 8px 2px}.dock{border-radius:10px;transition:border-color .2s,box-shadow .2s}.dock:focus-within{border-color:#5ce1e673;box-shadow:0 0 0 1px #5ce1e614,0 8px 40px #5ce1e614}.dock textarea:focus{box-shadow:none}.steps>li{border-radius:6px}.empty .core{background:conic-gradient(from 210deg,#5ce1e6,#8b7bff,#5ce1e6)}.send-btn{border-radius:50%}.send-btn:not(:disabled){background:var(--accent);color:var(--accent-text);border-color:var(--accent)}.send-btn:hover:not(:disabled){background:var(--accent)}.notice{color:var(--muted);align-items:flex-start;gap:.65rem;margin-bottom:1rem;padding:.7rem .85rem;display:flex}.notice svg{color:var(--accent);flex-shrink:0;margin-top:.15rem}.connection-form{margin-bottom:1rem;padding:1.1rem 1.15rem}.connection-form label small{margin-top:.3rem;font-size:.75rem;display:block}.secret-area{width:100%;font-family:var(--font-mono);-webkit-text-security:disc;margin-top:.35rem;font-size:.75rem;display:block}.connection-state span{align-items:center;gap:.3rem;display:inline-flex}.ok-text{color:var(--ok)}.connection-card .button-row{flex-wrap:wrap}.connection-card .button-row .icon-btn{margin-left:auto}@media (width<=760px){.sidebar{background-color:#05080df7;border-width:0 1px 0 0;border-radius:0;width:min(84vw,300px);margin:0}h1{font-size:1.55rem}.page-head.row-between{flex-direction:column;align-items:flex-start;gap:.75rem}}a.primary,a.button.primary,.button.primary{color:var(--accent);background:#5ce1e617;border:1px solid #5ce1e680;border-radius:7px;font-weight:500;box-shadow:inset 0 0 18px #5ce1e60f,0 0 18px #5ce1e614}a.primary:hover,.button.primary:hover{border-color:var(--accent);background:#5ce1e629}.nav-item,.nav-item.active{box-shadow:none;border-right-color:#0000}.app:not(.signed-in) .backdrop .orb{opacity:.22}.page-head.row-between{flex-wrap:nowrap;align-items:flex-start;gap:1.5rem}.page-head.row-between>:last-child{flex-shrink:0}.connection-form .provider-picks{margin:.4rem 0 1rem}@media (width<=760px){.page-head.row-between{flex-direction:column;gap:.75rem}}a.project-card{color:inherit;flex-direction:column;gap:.6rem;padding:1.1rem 1.15rem;text-decoration:none;display:flex}.nav-item.active{background-repeat:no-repeat}.dot-orb{filter:drop-shadow(0 0 4px #5ce1e659);flex-shrink:0;margin-top:.1rem;display:block;overflow:visible}.dot-orb .dot-ring{transform-origin:0 0}.dot-orb .dot{transform-box:fill-box;transform-origin:50%;opacity:.85}.dot-orb.idle .ring-0{animation:48s linear infinite orb-turn}.dot-orb.idle .ring-1{animation:36s linear infinite reverse orb-turn}.dot-orb.idle .ring-2{animation:24s linear infinite orb-turn}.dot-orb.idle .dot{animation:5s ease-in-out infinite orb-wave;animation-delay:calc(var(--wave) * -5s)}.dot-orb.thinking .ring-0{animation:14s linear infinite orb-turn}.dot-orb.thinking .ring-1{animation:10s linear infinite reverse orb-turn}.dot-orb.thinking .ring-2{animation:7s linear infinite orb-turn}.dot-orb.thinking .dot{animation:1.8s ease-in-out infinite orb-wave;animation-delay:calc(var(--wave) * -1.8s)}.dot-orb.writing{filter:drop-shadow(0 0 6px #5ce1e699)}.dot-orb.writing .ring-0{animation:5s linear infinite orb-turn}.dot-orb.writing .ring-1{animation:3.6s linear infinite reverse orb-turn}.dot-orb.writing .ring-2{animation:2.6s linear infinite orb-turn}.dot-orb.writing .dot{animation:.9s ease-in-out infinite orb-wave;animation-delay:calc(var(--wave) * -.9s)}@keyframes orb-turn{to{transform:rotate(360deg)}}@keyframes orb-wave{0%,to{opacity:.28;transform:scale(.7)}50%{opacity:1;transform:scale(1.25)}}.empty .dot-orb{filter:drop-shadow(0 0 14px #5ce1e64d);margin:0 auto 1.4rem}
