:root{color-scheme:dark;--bg:#080b13;--bg-soft:#0c101a;--panel:rgba(15,20,32,.78);--panel-strong:rgba(18,24,39,.92);--panel-light:rgba(255,255,255,.045);--line:rgba(210,222,255,.09);--line-bright:rgba(210,222,255,.15);--text:#f4f6ff;--text-2:#c0c7d9;--muted:#818ba2;--subtle:#566075;--violet:#a88aff;--violet-bright:#c0a9ff;--cyan:#63d8ee;--mint:#63dfc0;--amber:#f5c78b;--danger:#ff8e9b;--shadow:0 24px 80px rgba(0,0,0,.32);--radius-lg:24px;--radius-md:16px;--radius-sm:12px;--ease:cubic-bezier(.2,.8,.2,1);font-family:Inter,-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--sidebar-width:270px;--activity-width:330px}
*{box-sizing:border-box}html,body{height:100%;min-height:100%;margin:0}body{overflow:hidden;background:var(--bg);color:var(--text);font-size:14px;line-height:1.5}button,input,textarea,select{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid rgba(166,144,255,.88);outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.45}.is-hidden{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.mobile-only{display:none!important}.mobile-scrim{display:none}
.ambient{position:fixed;z-index:0;pointer-events:none;border-radius:50%;filter:blur(95px);opacity:.2;animation:ambient-drift 20s ease-in-out infinite alternate}.ambient-one{width:500px;height:500px;top:-230px;left:20%;background:#5641bf}.ambient-two{width:480px;height:430px;right:-210px;top:23%;background:#126785;animation-delay:-8s;opacity:.16}.ambient-three{width:420px;height:370px;bottom:-245px;left:35%;background:#382b83;animation-delay:-12s;opacity:.15}.noise-layer{position:fixed;z-index:0;inset:0;pointer-events:none;opacity:.035;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.91' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E")}
@keyframes ambient-drift{0%{transform:translate3d(-10px,0,0) scale(1)}100%{transform:translate3d(32px,36px,0) scale(1.08)}}@keyframes fade-up{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@keyframes fade-in{from{opacity:0}to{opacity:1}}@keyframes orb-pulse{0%,100%{box-shadow:0 0 0 3px rgba(255,126,143,.08),0 0 8px rgba(255,126,143,.18)}50%{box-shadow:0 0 0 5px rgba(255,126,143,.05),0 0 13px rgba(255,126,143,.26)}}@keyframes soft-float{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-7px) rotate(3deg)}}@keyframes typing-dot{0%,60%,100%{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}@keyframes toast-in{from{opacity:0;transform:translateY(9px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
.glass-panel{background:var(--panel);border:1px solid var(--line);backdrop-filter:blur(28px) saturate(150%);-webkit-backdrop-filter:blur(28px) saturate(150%);box-shadow:var(--shadow)}
.app-shell{position:relative;z-index:1;display:grid;grid-template-columns:var(--sidebar-width) minmax(0,1fr);width:100%;height:100dvh;min-height:540px;padding:14px;gap:14px;transition:grid-template-columns .32s var(--ease)}.app-shell.activity-open{grid-template-columns:var(--sidebar-width) minmax(0,1fr) var(--activity-width)}.sidebar{position:relative;display:flex;flex-direction:column;min-width:0;overflow:hidden;border-radius:22px;padding:18px 13px 12px;z-index:5}.sidebar-top{display:flex;align-items:center;justify-content:space-between;margin:0 5px 22px}.brand{display:flex;align-items:center;gap:11px;color:inherit;text-decoration:none}.brand-mark{width:38px;height:38px;display:grid;place-items:center;filter:drop-shadow(0 3px 14px rgba(155,134,255,.25));transition:transform .3s var(--ease)}.brand:hover .brand-mark{transform:rotate(-8deg) scale(1.07)}.brand-mark svg{width:100%;height:100%}.brand-copy{display:flex;flex-direction:column;gap:1px}.brand-copy strong{font-size:21px;letter-spacing:-1.1px;line-height:1;font-weight:740}.brand-copy strong span{color:#a9a0fc}.brand-copy small{font-size:8px;letter-spacing:1.24px;color:var(--muted);font-weight:650;margin-top:4px}
.new-chat-button{height:45px;width:100%;display:flex;align-items:center;gap:10px;padding:0 12px;border:1px solid rgba(180,161,255,.25);border-radius:13px;background:linear-gradient(110deg,rgba(126,100,225,.29),rgba(75,139,175,.14));box-shadow:inset 0 1px rgba(255,255,255,.09),0 8px 22px rgba(20,15,53,.16);cursor:pointer;text-align:left;transition:transform .2s var(--ease),border-color .2s,background .2s}.new-chat-button:hover{transform:translateY(-1px);border-color:rgba(198,180,255,.46);background:linear-gradient(110deg,rgba(140,114,240,.38),rgba(75,139,175,.22))}.new-chat-button .button-icon{width:19px;height:19px;display:grid;place-items:center;color:#cfc1ff}.new-chat-button>span:nth-child(2){font-size:13px;font-weight:620;flex:1}.new-chat-button kbd,.sidebar-action kbd{border:1px solid rgba(255,255,255,.13);border-radius:6px;background:rgba(0,0,0,.12);padding:1px 5px;color:#9da7bc;font-size:10px;font-family:inherit}.sidebar-action{height:39px;display:flex;align-items:center;gap:10px;margin-top:6px;padding:0 12px;border:0;background:transparent;border-radius:11px;color:#aeb6c8;text-align:left;cursor:pointer;transition:background .2s,color .2s}.sidebar-action:hover{background:rgba(255,255,255,.055);color:var(--text)}.sidebar-action [data-icon]{width:17px;height:17px}.sidebar-action span:nth-child(2){flex:1;font-size:12px}.sidebar-nav{display:flex;flex-direction:column;margin-top:21px;gap:3px}.nav-label{font-size:9px;font-weight:750;letter-spacing:1.35px;color:#6e7890}.sidebar-nav>.nav-label{margin:0 11px 7px}.nav-item{height:37px;width:100%;display:flex;align-items:center;gap:11px;padding:0 11px;border:0;border-radius:10px;background:transparent;color:#aab3c7;cursor:pointer;text-align:left;transition:background .2s,color .2s}.nav-item>span:first-child{width:17px;height:17px;display:grid;place-items:center}.nav-item>span:nth-child(2){flex:1;font-size:12px;font-weight:520}.nav-item:hover{background:rgba(255,255,255,.05);color:#f3f3ff}.nav-item.active{background:rgba(166,144,255,.13);color:#ded4ff}.nav-item.active>span:nth-child(2){font-weight:640}.nav-dot{width:5px;height:5px;border-radius:50%;background:#b8a7ff;box-shadow:0 0 10px #a98dff}.nav-live-dot,.activity-live-dot{width:6px;height:6px;border-radius:99px;background:var(--mint);box-shadow:0 0 10px rgba(99,223,192,.55)}.nav-chevron{color:#778197;font-size:20px;font-weight:300}.history-header{display:flex;align-items:center;justify-content:space-between;margin:25px 9px 8px 11px}.text-icon-button{width:27px;height:27px;border:0;background:transparent;border-radius:8px;color:#818ba1;display:grid;place-items:center;cursor:pointer;transition:background .2s,color .2s}.text-icon-button:hover{background:rgba(255,255,255,.07);color:var(--text)}.conversation-list{overflow:auto;display:flex;flex-direction:column;gap:3px;min-height:0;scrollbar-width:thin;scrollbar-color:rgba(160,171,203,.18) transparent}.conversation-row{display:flex;align-items:center;gap:6px;min-height:38px;border-radius:10px;padding:0 7px 0 10px;color:#aeb7c9;transition:background .18s,color .18s;animation:fade-in .25s ease}.conversation-row:hover,.conversation-row.selected{background:rgba(255,255,255,.05);color:#f3f4ff}.conversation-open{border:0;background:transparent;color:inherit;display:flex;align-items:center;gap:9px;min-width:0;flex:1;text-align:left;padding:0;cursor:pointer}.conversation-open>span:first-child{width:15px;height:15px;flex:0 0 15px;color:#7e8ba3}.conversation-open>span:last-child{font-size:11.5px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.conversation-remove{display:none;flex:0 0 25px;width:25px;height:25px;border:0;border-radius:7px;background:transparent;color:#8a94a8;place-items:center;cursor:pointer}.conversation-row:hover .conversation-remove{display:grid}.conversation-remove:hover{background:rgba(255,130,148,.13);color:#ff9ba9}.history-empty{padding:10px 10px;color:#78839a;font-size:11px;line-height:1.6}.sidebar-spacer{flex:1;min-height:14px}.sidebar-status-card{margin:8px 1px 12px;padding:11px 11px 10px;border:1px solid rgba(255,255,255,.065);border-radius:13px;background:linear-gradient(145deg,rgba(255,255,255,.048),rgba(255,255,255,.018));}.status-card-top{display:flex;align-items:center;gap:8px}.status-orb{width:7px;height:7px;flex:0 0 7px;border-radius:50%;display:inline-block}.status-orb.is-offline{background:#ff8597;animation:orb-pulse 2.5s ease-in-out infinite}.status-orb.is-online{background:#60ddb9;box-shadow:0 0 0 3px rgba(96,221,185,.1),0 0 11px rgba(96,221,185,.42)}.status-orb.is-unknown{background:#f0bd71;box-shadow:0 0 0 3px rgba(240,189,113,.08)}.status-card-title{font-size:11px;font-weight:670;color:#e0e4ef;flex:1}.tiny-icon-button{width:25px;height:25px;display:grid;place-items:center;border:0;border-radius:7px;background:transparent;color:#858fa5;cursor:pointer;transition:background .2s,color .2s}.tiny-icon-button:hover{background:rgba(255,255,255,.08);color:#fff}.status-card-copy{margin:4px 0 6px 15px;font-size:10px;color:#939cb0}.status-card-link{border:0;background:transparent;color:#b8a8ff;font-size:10px;font-weight:570;padding:0 0 0 15px;cursor:pointer}.status-card-link:hover{color:#ddd2ff}.status-card-link span{margin-left:4px}.sidebar-footer{display:flex;align-items:center;gap:9px;padding:10px 5px 1px;border-top:1px solid rgba(255,255,255,.065)}.profile-avatar{width:31px;height:31px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(145deg,#9181df,#477b98);color:#fff;font-size:12px;font-weight:750;box-shadow:0 5px 16px rgba(74,83,159,.28)}.profile-copy{display:flex;flex-direction:column;gap:1px;flex:1;min-width:0}.profile-copy strong{font-size:11px;font-weight:630}.profile-copy small{font-size:9px;color:#8c96aa;white-space:nowrap}.icon-button{width:34px;height:34px;display:grid;place-items:center;border:1px solid transparent;border-radius:10px;background:transparent;color:#9ca6ba;cursor:pointer;transition:background .2s,color .2s,border-color .2s,transform .2s}.icon-button:hover{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.065);color:#f4f5ff;transform:translateY(-1px)}.icon-button svg,.text-icon-button svg,.tiny-icon-button svg,.sidebar-action svg,.nav-item svg,.composer-tool svg,.suggestion-card svg,.welcome-footnote svg,.activity-panel svg,.modal-dialog svg,.connection-notice svg,.composer-disclaimer svg{width:17px;height:17px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}.footer-settings{width:30px;height:30px}
.main-area{position:relative;display:grid;grid-template-columns:minmax(0,1fr);min-width:0;min-height:0;overflow:hidden;border:1px solid rgba(208,221,255,.07);border-radius:23px;background:rgba(9,13,22,.55);backdrop-filter:blur(13px);-webkit-backdrop-filter:blur(13px);transition:background .35s}.app-shell.activity-open .main-area{grid-column:2}.topbar{height:68px;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 22px;border-bottom:1px solid rgba(210,222,255,.06);background:linear-gradient(180deg,rgba(255,255,255,.025),transparent)}.topbar-left,.topbar-actions{display:flex;align-items:center;gap:11px;min-width:0}.crumbs{display:flex;align-items:center;gap:9px;min-width:0}.crumb-overline{font-size:9px;font-weight:730;letter-spacing:1.25px;color:#778198}.crumb-separator{font-size:11px;color:#545e73}.crumb-current{font-size:11px;color:#d4d9e7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:250px}.topbar-actions{gap:9px}.connection-pill{height:30px;display:flex;align-items:center;gap:8px;padding:0 10px;border:1px solid rgba(255,255,255,.08);border-radius:99px;background:rgba(255,255,255,.035);color:#aab3c5;cursor:pointer;transition:background .2s,border-color .2s}.connection-pill:hover{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.16)}.connection-pill .status-orb{width:6px;height:6px;flex-basis:6px}.connection-pill>span:nth-child(2){font-size:10px;font-weight:560}.pill-chevron{margin-left:2px;color:#7f899d;font-size:12px}.top-separator{height:20px;width:1px;background:rgba(255,255,255,.09);margin:0 1px}.top-icon{width:32px;height:32px;color:#9ba5b8}.workspace-content{display:flex;flex-direction:column;position:relative;min-height:0;overflow:hidden}.welcome-view{width:min(100%,890px);margin:0 auto;padding:clamp(42px,8vh,88px) 40px 28px;overflow:auto;scrollbar-width:thin;animation:fade-up .65s var(--ease) both}.welcome-topline{display:flex;align-items:center;gap:9px;margin-bottom:23px;color:#9c9cb8;font-size:9px;letter-spacing:1.5px;font-weight:740}.eyebrow-dot{width:6px;height:6px;border-radius:50%;background:linear-gradient(135deg,#cfb3ff,#5be4eb);box-shadow:0 0 12px rgba(181,148,255,.7)}.eyebrow-line{height:1px;width:28px;background:rgba(194,203,226,.22)}.local-badge{display:flex;align-items:center;gap:5px;margin-left:auto;border:1px solid rgba(159,173,204,.1);border-radius:99px;padding:5px 8px;background:rgba(255,255,255,.025);font-size:8px;letter-spacing:.75px;color:#99a4b9}.local-badge svg{width:11px;height:11px}.hero-title-wrap{position:relative}.hero-sparkle{position:absolute;left:-47px;top:13px;width:30px;height:30px;animation:soft-float 5s ease-in-out infinite;filter:drop-shadow(0 3px 12px rgba(137,139,255,.24))}.hero-sparkle svg{width:100%;height:100%}.welcome-view h1{margin:0;font-size:clamp(35px,5vw,54px);line-height:1.12;letter-spacing:-2.8px;font-weight:680;color:#f4f4ff}.hero-period{color:#b69bff}.hero-muted{color:#a9b0c4;font-weight:490;letter-spacing:-2.1px}.welcome-subtitle{margin:17px 0 23px;color:#8e98ad;font-size:13px;line-height:1.8;max-width:530px}.connection-notice{min-height:63px;display:flex;align-items:center;gap:12px;padding:11px 13px;border:1px solid rgba(255,146,161,.13);border-radius:14px;background:linear-gradient(110deg,rgba(255,139,156,.065),rgba(106,104,158,.04));box-shadow:inset 0 1px rgba(255,255,255,.025);transition:border-color .25s,background .25s}.connection-notice.is-connected{border-color:rgba(103,226,194,.17);background:linear-gradient(110deg,rgba(88,217,183,.08),rgba(82,137,183,.04))}.notice-icon{width:31px;height:31px;display:grid;place-items:center;flex:0 0 31px;border:1px solid rgba(255,145,160,.1);border-radius:10px;background:rgba(255,144,157,.07);color:#ffa1ae}.connection-notice.is-connected .notice-icon{border-color:rgba(97,223,190,.12);background:rgba(97,223,190,.08);color:#75e7c7}.notice-copy{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}.notice-copy strong{font-size:11px;font-weight:670;color:#efedf5}.notice-copy span{font-size:10px;color:#a2a9ba;line-height:1.5}.notice-action{display:flex;align-items:center;gap:6px;padding:7px 8px;border:0;border-radius:8px;background:transparent;color:#c7b5ff;font-size:10px;font-weight:630;cursor:pointer;white-space:nowrap}.notice-action:hover{background:rgba(171,148,255,.12)}.notice-action svg{width:14px;height:14px}
.suggestion-heading{display:flex;justify-content:space-between;align-items:center;margin:29px 1px 11px;color:#d8dceb}.suggestion-heading>span:first-child{font-size:11px;font-weight:650}.suggestion-hint{font-size:9px;color:#727d93}.suggestion-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.suggestion-card{position:relative;display:flex;align-items:center;gap:12px;min-height:72px;padding:12px 13px;border:1px solid rgba(214,221,255,.08);border-radius:14px;text-align:left;cursor:pointer;overflow:hidden;transition:transform .23s var(--ease),border-color .23s,background .23s,box-shadow .23s;animation:fade-up .7s var(--ease) both}.suggestion-card:nth-child(2){animation-delay:.06s}.suggestion-card:nth-child(3){animation-delay:.12s}.suggestion-card:nth-child(4){animation-delay:.18s}.suggestion-card::after{content:"";position:absolute;inset:auto -20% -70% 25%;height:65px;filter:blur(27px);opacity:.16;pointer-events:none;transition:opacity .25s}.suggestion-violet{background:linear-gradient(120deg,rgba(140,111,230,.115),rgba(255,255,255,.023))}.suggestion-violet::after{background:#a48bff}.suggestion-blue{background:linear-gradient(120deg,rgba(85,160,224,.105),rgba(255,255,255,.023))}.suggestion-blue::after{background:#5abef1}.suggestion-mint{background:linear-gradient(120deg,rgba(75,194,160,.085),rgba(255,255,255,.023))}.suggestion-mint::after{background:#5fe2bd}.suggestion-amber{background:linear-gradient(120deg,rgba(230,172,96,.08),rgba(255,255,255,.023))}.suggestion-amber::after{background:#f9bf78}.suggestion-card:hover{transform:translateY(-3px);border-color:rgba(204,197,255,.19);box-shadow:0 10px 30px rgba(0,0,0,.18)}.suggestion-card:hover::after{opacity:.3}.suggestion-icon{width:35px;height:35px;display:grid;place-items:center;flex:0 0 35px;border:1px solid rgba(255,255,255,.08);border-radius:11px;background:rgba(255,255,255,.045);color:#c4b6ff}.suggestion-blue .suggestion-icon{color:#89d2f4}.suggestion-mint .suggestion-icon{color:#8ce4ce}.suggestion-amber .suggestion-icon{color:#f3c68c}.suggestion-text{display:flex;flex-direction:column;gap:3px;min-width:0}.suggestion-text strong{font-size:11px;font-weight:640;color:#e9ebf5}.suggestion-text small{font-size:9px;color:#818ba0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.suggestion-arrow{margin-left:auto;align-self:flex-start;color:#8790a5;opacity:.56;transition:transform .2s,opacity .2s}.suggestion-card:hover .suggestion-arrow{transform:translate(2px,-2px);opacity:1}.suggestion-arrow svg{width:14px;height:14px}.welcome-footnote{display:flex;align-items:center;gap:7px;margin:22px 0 0;color:#707b91;font-size:9px}.welcome-footnote svg{width:13px;height:13px;color:#8290a8}
.chat-view{position:relative;display:flex;flex:1;min-height:0;flex-direction:column;padding:8px 25px 8px;overflow:auto;scrollbar-width:thin;scrollbar-color:rgba(165,177,207,.18) transparent}.messages{width:min(100%,820px);margin:0 auto;display:flex;flex-direction:column;gap:19px;padding:16px 5px 25px}.message{display:flex;gap:11px;align-items:flex-start;animation:fade-up .32s var(--ease) both}.message.user{flex-direction:row-reverse}.message-avatar{width:30px;height:30px;flex:0 0 30px;border-radius:10px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.08);background:linear-gradient(145deg,rgba(159,138,255,.2),rgba(87,179,203,.12));color:#d5cbff}.message-avatar svg{width:15px;height:15px}.message.user .message-avatar{background:linear-gradient(145deg,#9282dc,#417d9c);color:white}.message-content{min-width:0;max-width:calc(100% - 42px)}.message.user .message-content{max-width:min(76%,650px)}.message-meta{display:flex;align-items:center;gap:8px;margin:2px 0 5px;color:#7e899f;font-size:9px}.message-meta strong{color:#cbd0df;font-size:10px;font-weight:650}.message-bubble{border:1px solid rgba(221,228,255,.08);border-radius:5px 15px 15px 15px;background:rgba(19,25,39,.75);padding:12px 14px;color:#e4e7f1;font-size:12px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere;box-shadow:0 8px 30px rgba(0,0,0,.11)}.message.user .message-bubble{border-color:rgba(177,158,255,.15);border-radius:15px 5px 15px 15px;background:linear-gradient(140deg,rgba(135,111,218,.2),rgba(56,119,148,.16));color:#f0eefb}.message.system .message-avatar{color:#ffb1b7;background:rgba(245,117,139,.11);border-color:rgba(245,117,139,.14)}.message.system .message-bubble{border-color:rgba(255,143,158,.14);background:rgba(86,31,48,.18);color:#eec9cf}.message-actions{display:flex;gap:2px;margin:4px 0 0;opacity:.55;transition:opacity .2s}.message:hover .message-actions{opacity:1}.message-action{width:25px;height:25px;border:0;border-radius:7px;background:transparent;color:#8d97aa;display:grid;place-items:center;cursor:pointer}.message-action:hover{background:rgba(255,255,255,.08);color:#dce0ed}.message-action svg{width:13px;height:13px}.message.error .message-meta strong{color:#ffb6bf}.typing-row{display:flex;align-items:center;gap:11px;width:min(100%,820px);margin:0 auto 18px;animation:fade-in .25s}.typing-avatar{width:30px;height:30px;display:grid;place-items:center;border-radius:10px;background:rgba(151,130,245,.14);color:#c7b6ff}.typing-avatar svg{width:15px;height:15px}.typing-bubble{height:36px;display:flex;align-items:center;gap:4px;padding:0 12px;border:1px solid rgba(255,255,255,.065);border-radius:5px 13px 13px 13px;background:rgba(20,25,39,.7);color:#8d97aa;font-size:10px}.typing-bubble i{width:4px;height:4px;border-radius:50%;background:#a99afa;animation:typing-dot 1.3s infinite}.typing-bubble i:nth-child(2){animation-delay:.16s}.typing-bubble i:nth-child(3){animation-delay:.32s}.typing-bubble span{margin-left:5px}.composer-dock{position:relative;z-index:3;width:min(100%,890px);margin:0 auto;padding:0 25px 13px}.composer-shell{position:relative;border:1px solid rgba(209,221,255,.12);border-radius:19px;background:rgba(17,23,37,.86);box-shadow:0 14px 55px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.04);transition:border-color .2s,box-shadow .2s}.composer-shell:focus-within{border-color:rgba(173,155,255,.31);box-shadow:0 14px 55px rgba(0,0,0,.28),0 0 0 3px rgba(151,130,255,.06),inset 0 1px rgba(255,255,255,.05)}.composer-shell textarea{display:block;width:100%;min-height:56px;max-height:210px;resize:none;padding:16px 17px 8px;border:0;border-radius:19px;background:transparent;color:var(--text);font-size:12px;line-height:1.55;outline:none}.composer-shell textarea::placeholder{color:#7f899c}.composer-shell textarea:focus{outline:0}.composer-toolbar{height:43px;display:flex;align-items:center;justify-content:space-between;gap:9px;padding:0 10px 9px 12px}.composer-tools,.composer-right{display:flex;align-items:center;gap:6px}.composer-tool{width:29px;height:29px;border:0;border-radius:9px;background:transparent;color:#96a0b4;display:grid;place-items:center;cursor:pointer;transition:background .2s,color .2s}.composer-tool:hover{background:rgba(255,255,255,.08);color:#e6e4f1}.composer-tool svg{width:16px;height:16px}.mode-chip{height:27px;display:flex;align-items:center;gap:6px;margin-left:3px;padding:0 9px;border:1px solid rgba(255,255,255,.08);border-radius:99px;background:rgba(255,255,255,.035);color:#a6afc2;font-size:9px;cursor:pointer;transition:background .2s,border-color .2s}.mode-chip:hover{border-color:rgba(255,255,255,.15);background:rgba(255,255,255,.065)}.mode-dot{width:5px;height:5px;border-radius:50%;background:#f29bab;box-shadow:0 0 7px rgba(242,155,171,.35)}.mode-chevron{font-size:11px;color:#778197}.send-button{width:30px;height:30px;display:grid;place-items:center;border:0;border-radius:10px;background:linear-gradient(145deg,#c9b5ff,#7fc8e4);color:#121428;box-shadow:0 4px 14px rgba(134,151,221,.23);cursor:pointer;transition:transform .18s var(--ease),filter .18s,box-shadow .18s}.send-button:hover{transform:translateY(-1px) scale(1.03);filter:brightness(1.08);box-shadow:0 6px 18px rgba(134,151,221,.35)}.send-button svg{width:16px;height:16px;stroke-width:2.3}.send-button.is-stop{background:linear-gradient(145deg,#ffb8c1,#f58ea2)}.input-hint{color:#657087;font-size:8px;margin-right:6px}.composer-disclaimer{display:flex;align-items:center;justify-content:center;gap:5px;height:21px;margin-top:5px;color:#68738a;font-size:8px}.composer-disclaimer svg{width:11px;height:11px}.inline-action{border:0;background:transparent;color:#b8a9ff;font-size:8px;cursor:pointer}.composer-context{display:flex;align-items:center;gap:7px;padding:9px 14px 0;color:#a8b4c7;font-size:10px}.composer-context>span:first-child{color:#a994ff}.composer-context #attachmentName{max-width:80%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.composer-context button{margin-left:auto}.tool-popover{position:absolute;bottom:52px;left:42px;z-index:12;width:255px;padding:11px;border:1px solid rgba(221,228,255,.12);border-radius:15px;background:rgba(18,23,37,.96);backdrop-filter:blur(24px);box-shadow:0 18px 48px rgba(0,0,0,.4);animation:fade-up .18s var(--ease)}.popover-heading{padding:3px 4px 9px;color:#78839a;font-size:8px;letter-spacing:1.25px;font-weight:750}.popover-row{display:flex;align-items:center;gap:9px;padding:9px 5px;border-top:1px solid rgba(255,255,255,.04)}.tool-status-icon{width:26px;height:26px;display:grid;place-items:center;border-radius:8px;background:rgba(255,255,255,.04);color:#a99aff}.tool-status-icon svg{width:14px;height:14px}.popover-row>span:nth-child(2){display:flex;flex-direction:column;gap:2px;flex:1}.popover-row strong{font-size:10px;font-weight:620;color:#d8dbea}.popover-row small{font-size:8px;color:#838da2}.pending-tag{font-size:7px;letter-spacing:.7px;color:#8490a7;border:1px solid rgba(255,255,255,.08);border-radius:5px;padding:3px 5px}.popover-note{padding:8px 4px 2px;color:#747f94;font-size:8px;line-height:1.55}
.activity-panel{display:none;min-width:0;min-height:0;overflow:hidden;border-radius:21px;padding:18px 14px 12px;grid-column:3;grid-row:1;animation:fade-in .22s ease}.app-shell.activity-open .activity-panel{display:flex;flex-direction:column}.activity-header{display:flex;align-items:flex-start;justify-content:space-between}.activity-kicker{display:flex;align-items:center;gap:7px;margin:3px 0 5px;color:#8793a8;font-size:8px;font-weight:750;letter-spacing:1.15px}.activity-header h2{margin:0;color:#f0f1f9;font-size:19px;letter-spacing:-.55px;font-weight:670}.activity-description{margin:9px 0 15px;color:#8791a6;font-size:9px;line-height:1.6}.activity-session-card{display:flex;align-items:center;gap:9px;padding:10px 9px;border:1px solid rgba(180,167,255,.12);border-radius:12px;background:linear-gradient(125deg,rgba(153,127,244,.085),rgba(95,168,190,.04))}.activity-session-mark{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:rgba(166,143,255,.12);color:#c6b6ff}.activity-session-mark svg{width:15px;height:15px}.activity-session-card>div:nth-child(2){display:flex;flex-direction:column;gap:2px;flex:1}.activity-session-card strong{font-size:10px;font-weight:630;color:#e0e3f0}.activity-session-card small{font-size:8px;color:#8791a6}.activity-counter{font-size:9px;color:#bdb1ff;font-variant-numeric:tabular-nums}.activity-list-heading{display:flex;align-items:center;justify-content:space-between;margin:19px 2px 7px;color:#79849a;font-size:8px;font-weight:740;letter-spacing:1.25px}.activity-list{display:flex;flex-direction:column;gap:0;overflow:auto;min-height:0;flex:1;scrollbar-width:thin;scrollbar-color:rgba(166,176,204,.15) transparent}.activity-item{position:relative;display:flex;gap:9px;padding:10px 0 12px;animation:fade-in .2s ease}.activity-item:not(:last-child)::before{content:"";position:absolute;left:7px;top:23px;bottom:-2px;width:1px;background:linear-gradient(rgba(170,160,222,.22),rgba(170,160,222,.03))}.activity-marker{width:15px;height:15px;flex:0 0 15px;display:grid;place-items:center;border:1px solid rgba(173,157,255,.25);border-radius:50%;background:#161b2b;color:#baadff;z-index:1}.activity-marker svg{width:8px;height:8px;stroke-width:2}.activity-item.error .activity-marker{border-color:rgba(255,140,157,.25);color:#ff9aa8}.activity-item.success .activity-marker{border-color:rgba(100,222,191,.25);color:#7ae5c7}.activity-item .event-copy{display:flex;flex-direction:column;gap:3px;min-width:0}.event-copy strong{font-size:9px;font-weight:570;color:#cdd2e0;line-height:1.5}.event-copy small{font-size:8px;color:#768197}.empty-activity{flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;padding:25px 12px;text-align:center;color:#7f8aa0}.empty-activity>span{width:30px;height:30px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.07);border-radius:10px;color:#9e91dc;background:rgba(255,255,255,.025)}.empty-activity svg{width:15px;height:15px}.empty-activity strong{font-size:10px;font-weight:600;color:#aeb5c5}.empty-activity small{max-width:180px;font-size:8px;line-height:1.55}.activity-footer{display:flex;align-items:flex-start;gap:6px;margin-top:8px;padding:10px 2px 0;border-top:1px solid rgba(255,255,255,.055);color:#727d92;font-size:8px;line-height:1.5}.activity-footer svg{width:12px;height:12px;flex:0 0 12px;margin-top:1px}
.modal-dialog{width:min(520px,calc(100vw - 28px));max-width:none;max-height:min(88dvh,740px);padding:0;border:1px solid rgba(215,224,255,.13);border-radius:22px;background:transparent;color:var(--text);overflow:visible;box-shadow:0 35px 120px rgba(0,0,0,.58);animation:fade-up .22s var(--ease)}.modal-dialog::backdrop{background:rgba(3,5,10,.65);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);animation:fade-in .18s ease}.modal-card{max-height:min(88dvh,740px);overflow:auto;padding:21px;border-radius:21px;background:rgba(14,19,31,.96);scrollbar-width:thin;scrollbar-color:rgba(166,176,204,.18) transparent}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:18px}.modal-kicker{margin-bottom:4px;font-size:8px;letter-spacing:1.35px;font-weight:730;color:#a99cf1}.modal-header h2{margin:0;color:#f2f3fb;font-size:20px;letter-spacing:-.65px;font-weight:670}.settings-section{display:flex;flex-direction:column}.settings-section-title{display:flex;align-items:center;gap:9px;margin-bottom:14px}.settings-section-title>span{width:30px;height:30px;display:grid;place-items:center;border:1px solid rgba(176,158,255,.12);border-radius:9px;background:rgba(161,141,247,.08);color:#bcaaff}.settings-section-title>span svg{width:15px;height:15px}.settings-section-title>div{display:flex;flex-direction:column;gap:2px}.settings-section-title strong{font-size:10px;font-weight:640;color:#dce0ed}.settings-section-title small{font-size:8px;color:#8590a5}.field-label,.select-label{margin:0 0 6px;color:#8e99ae;font-size:9px;font-weight:560}.token-field{display:flex;align-items:center;gap:5px;border:1px solid rgba(205,214,239,.11);border-radius:10px;background:rgba(3,6,13,.34);padding:3px 4px 3px 10px}.token-field:focus-within{border-color:rgba(169,151,255,.38)}.token-field input{height:31px;min-width:0;flex:1;border:0;outline:0;background:transparent;color:#edf0f9;font-size:10px}.token-field input::placeholder{color:#5f6a80}.field-hint{margin:5px 0 11px;color:#768198;font-size:8px}.settings-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:5px}.primary-button,.secondary-button,.danger-text-button{min-height:31px;padding:0 10px;border:1px solid rgba(255,255,255,.09);border-radius:9px;background:rgba(255,255,255,.04);color:#c7ccda;font-size:9px;font-weight:570;cursor:pointer;transition:background .2s,border-color .2s}.primary-button{border-color:rgba(182,164,255,.2);background:linear-gradient(120deg,rgba(155,130,244,.22),rgba(78,168,192,.13));color:#e1d9ff}.primary-button:hover{background:linear-gradient(120deg,rgba(155,130,244,.32),rgba(78,168,192,.22))}.secondary-button:hover{background:rgba(255,255,255,.08)}.danger-text-button{border-color:transparent;background:transparent;color:#ff9aa8}.danger-text-button:hover{background:rgba(255,136,155,.08)}.settings-divider{height:1px;margin:17px 0;border:0;background:rgba(255,255,255,.065)}.range-label{display:flex;justify-content:space-between;align-items:center;margin:0 0 4px;color:#aab2c3;font-size:9px}.range-label strong{color:#ccc1ff;font-size:9px;font-weight:600}.range-input{width:100%;height:4px;margin:5px 0 14px;appearance:none;border-radius:99px;background:linear-gradient(90deg,#a18dfa,#55c4d6);cursor:pointer}.range-input::-webkit-slider-thumb{appearance:none;width:13px;height:13px;border-radius:50%;border:2px solid #d5caff;background:#796bca;box-shadow:0 0 0 4px rgba(161,141,250,.12)}.range-input::-moz-range-thumb{width:11px;height:11px;border-radius:50%;border:2px solid #d5caff;background:#796bca;box-shadow:0 0 0 4px rgba(161,141,250,.12)}.select-label{display:block;margin-bottom:5px}.settings-section select{width:100%;height:34px;padding:0 9px;border:1px solid rgba(205,214,239,.11);border-radius:9px;background:#141a28;color:#d9deea;font-size:9px}.settings-section select option{background:#151a29}.modal-bottom-note{display:flex;align-items:flex-start;gap:7px;margin-top:17px;padding-top:12px;border-top:1px solid rgba(255,255,255,.06);color:#778298;font-size:8px;line-height:1.55}.modal-bottom-note svg{width:12px;height:12px;flex:0 0 12px;margin-top:1px;color:#9f94db}.search-dialog{width:min(560px,calc(100vw - 28px));margin:14vh auto auto}.search-card{padding:12px 14px 11px}.search-modal-top{display:flex;align-items:center;gap:9px;height:42px}.search-modal-top>span{color:#b5a6ff}.search-modal-top input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:#edf0f8;font-size:12px}.search-modal-top input::placeholder{color:#7d879b}.search-modal-top kbd{border:1px solid rgba(255,255,255,.11);border-radius:5px;padding:2px 5px;color:#818ba0;font-size:8px}.search-results{min-height:75px;max-height:310px;overflow:auto;padding:5px 0;border-top:1px solid rgba(255,255,255,.06)}.search-result{display:flex;align-items:center;gap:9px;width:100%;height:38px;padding:0 8px;border:0;border-radius:8px;background:transparent;color:#cdd3e0;text-align:left;cursor:pointer}.search-result:hover,.search-result.selected{background:rgba(255,255,255,.06)}.search-result svg{width:14px;height:14px;color:#8994aa}.search-result span{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.search-no-results{padding:22px 6px;text-align:center;color:#778197;font-size:9px}.search-footer{display:flex;justify-content:space-between;padding:8px 3px 1px;border-top:1px solid rgba(255,255,255,.05);color:#6e798e;font-size:8px}.capability-status-banner{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid rgba(255,146,161,.12);border-radius:12px;background:rgba(255,135,153,.045)}.capability-status-banner>div{display:flex;flex-direction:column;gap:2px;flex:1}.capability-status-banner strong{font-size:10px;font-weight:630;color:#e4dfe9}.capability-status-banner small{font-size:8px;color:#9b9bab}.capability-list{display:flex;flex-direction:column;margin-top:13px}.capability-item{display:flex;align-items:center;gap:10px;padding:11px 3px;border-bottom:1px solid rgba(255,255,255,.05)}.capability-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;background:rgba(255,255,255,.035);color:#b3a7ee}.capability-icon svg{width:14px;height:14px}.capability-item>div{display:flex;flex:1;flex-direction:column;gap:2px}.capability-item strong{font-size:9px;font-weight:620;color:#d7dce9}.capability-item small{font-size:8px;color:#7f8aa0}.capability-state{font-size:7px;letter-spacing:.5px;color:#d2aa7a}.capability-state.is-ready{color:#78d8ba}
.toast-region{position:fixed;z-index:20;right:27px;bottom:25px;display:flex;flex-direction:column;align-items:flex-end;gap:8px;pointer-events:none}.toast{display:flex;align-items:center;gap:9px;max-width:min(390px,calc(100vw - 28px));padding:10px 13px;border:1px solid rgba(218,226,249,.12);border-radius:12px;background:rgba(18,24,39,.94);box-shadow:0 13px 35px rgba(0,0,0,.34);color:#d8ddeb;font-size:10px;animation:toast-in .24s var(--ease);backdrop-filter:blur(18px)}.toast svg{width:14px;height:14px;flex:0 0 14px;color:#b4a8f4}.toast.error svg{color:#ff9aa9}.toast.success svg{color:#75e1c0}
[data-theme="light"]{color-scheme:light;--bg:#eaf0f8;--panel:rgba(250,252,255,.84);--panel-strong:rgba(255,255,255,.95);--panel-light:rgba(28,43,70,.035);--line:rgba(35,55,93,.10);--line-bright:rgba(35,55,93,.16);--text:#182033;--text-2:#48556c;--muted:#748198;--subtle:#8b96aa;--shadow:0 24px 80px rgba(37,56,94,.13)}[data-theme="light"] body{background:#eaf0f8}[data-theme="light"] .ambient{opacity:.11}[data-theme="light"] .main-area{background:rgba(247,250,255,.7)}[data-theme="light"] .sidebar{background:rgba(249,251,255,.8)}[data-theme="light"] .topbar{border-color:rgba(45,57,91,.08)}[data-theme="light"] .crumb-current,[data-theme="light"] .nav-item.active>span:nth-child(2),[data-theme="light"] .suggestion-text strong{color:#202b42}[data-theme="light"] .welcome-view h1{color:#20253b}[data-theme="light"] .hero-muted{color:#67738d}[data-theme="light"] .welcome-subtitle,[data-theme="light"] .suggestion-hint,[data-theme="light"] .notice-copy span{color:#718099}[data-theme="light"] .connection-notice{background:rgba(255,221,226,.52)}[data-theme="light"] .suggestion-card{border-color:rgba(39,59,96,.1)}[data-theme="light"] .composer-shell,[data-theme="light"] .activity-panel,.activity-panel{background:var(--panel)}[data-theme="light"] .composer-shell textarea{color:#27334a}[data-theme="light"] .composer-shell textarea::placeholder{color:#828fa5}[data-theme="light"] .message-bubble{background:rgba(255,255,255,.86);color:#2d3850;border-color:rgba(38,58,94,.1)}[data-theme="light"] .message.user .message-bubble{background:rgba(190,177,255,.28)}[data-theme="light"] .activity-header h2,[data-theme="light"] .activity-session-card strong,[data-theme="light"] .event-copy strong{color:#27334b}[data-theme="light"] .activity-session-card{background:rgba(176,157,250,.1)}[data-theme="light"] .modal-card{background:rgba(249,251,255,.97)}[data-theme="light"] .modal-header h2,[data-theme="light"] .settings-section-title strong{color:#263149}[data-theme="light"] .token-field,[data-theme="light"] .settings-section select{background:#edf1f8;color:#34415a}
@media(min-width:1440px){:root{--sidebar-width:282px;--activity-width:350px}.welcome-view{padding-top:clamp(60px,9vh,110px)}}
@media(max-width:1120px){:root{--sidebar-width:250px;--activity-width:300px}.app-shell{padding:10px;gap:10px}.activity-panel{padding:15px 11px 11px}.welcome-view{padding-left:32px;padding-right:32px}.hero-sparkle{left:-35px}}
@media(max-width:920px){.app-shell.activity-open{grid-template-columns:var(--sidebar-width) minmax(0,1fr)}.activity-panel{position:absolute;z-index:8;right:10px;top:10px;bottom:10px;width:min(var(--activity-width),calc(100vw - 40px));display:none!important}.app-shell.activity-open .activity-panel{display:flex!important;box-shadow:0 24px 70px rgba(0,0,0,.5)}.app-shell.activity-open .main-area{grid-column:2}.welcome-view{width:min(100%,760px)}.hero-sparkle{left:-25px;top:12px;width:24px;height:24px}}
@media(max-width:720px){.app-shell{display:block;height:100dvh;min-height:520px;padding:0}.main-area{height:100dvh;border-radius:0;border:0;background:rgba(9,13,22,.52)}.sidebar{position:fixed;left:10px;top:10px;bottom:10px;width:min(300px,calc(100vw - 48px));transform:translateX(calc(-100% - 22px));transition:transform .3s var(--ease);border:1px solid var(--line-bright);box-shadow:0 22px 70px rgba(0,0,0,.5)}.app-shell.sidebar-open .sidebar{transform:translateX(0)}.mobile-scrim{display:none;position:fixed;z-index:4;inset:0;background:rgba(2,4,9,.5);backdrop-filter:blur(3px)}.app-shell.sidebar-open .mobile-scrim{display:block}.mobile-only{display:grid!important}.topbar{height:61px;padding:0 13px}.topbar-left{gap:8px}.crumb-overline{font-size:8px}.crumbs{gap:6px}.crumb-current{max-width:115px;font-size:10px}.topbar-actions{gap:4px}.connection-pill{height:28px;padding:0 8px;gap:6px}.connection-pill>span:nth-child(2){font-size:8px}.connection-pill .status-orb{width:5px;height:5px;flex-basis:5px}.pill-chevron{display:none}.top-icon{width:30px;height:30px}.top-separator{height:17px;margin:0 2px}.welcome-view{width:100%;padding:clamp(43px,8vh,72px) 20px 26px}.welcome-topline{gap:7px;margin-bottom:18px;font-size:8px;letter-spacing:1.1px}.eyebrow-line{width:15px}.local-badge{font-size:7px;padding:4px 6px}.welcome-view h1{font-size:clamp(34px,9vw,48px);letter-spacing:-2px}.hero-muted{letter-spacing:-1.8px}.hero-sparkle{position:static;width:23px;height:23px;margin-bottom:8px}.welcome-subtitle{margin:13px 0 18px;font-size:11px}.connection-notice{gap:9px;padding:9px 10px}.notice-icon{width:28px;height:28px;flex-basis:28px}.notice-copy strong{font-size:10px}.notice-copy span{font-size:8px}.notice-action{font-size:9px;padding:6px}.suggestion-heading{margin-top:23px}.suggestion-heading>span:first-child{font-size:10px}.suggestion-hint{font-size:8px}.suggestion-grid{gap:8px}.suggestion-card{min-height:69px;padding:9px;gap:8px}.suggestion-icon{width:30px;height:30px;flex-basis:30px}.suggestion-icon svg{width:15px;height:15px}.suggestion-text strong{font-size:9px}.suggestion-text small{font-size:8px}.suggestion-arrow{display:none}.welcome-footnote{font-size:8px;align-items:flex-start;margin-top:17px}.workspace-content{height:calc(100dvh - 61px)}.chat-view{padding:6px 9px}.messages{gap:15px;padding:12px 2px 18px}.message{gap:8px}.message-avatar{width:27px;height:27px;flex-basis:27px;border-radius:9px}.message-content{max-width:calc(100% - 35px)}.message.user .message-content{max-width:84%}.message-bubble{font-size:11px;padding:10px 11px}.composer-dock{padding:0 9px calc(9px + env(safe-area-inset-bottom))}.composer-shell{border-radius:16px}.composer-shell textarea{min-height:52px;padding:13px 13px 7px;font-size:11px}.composer-toolbar{height:39px;padding:0 8px 7px}.composer-tool{width:27px;height:27px}.mode-chip{height:25px;font-size:8px;padding:0 7px}.send-button{width:28px;height:28px}.input-hint{display:none}.composer-disclaimer{font-size:7px;height:19px}.tool-popover{left:12px;bottom:48px}.app-shell.activity-open .activity-panel{top:8px;bottom:8px;right:8px;width:min(320px,calc(100vw - 24px))}.toast-region{right:12px;bottom:calc(14px + env(safe-area-inset-bottom))}.activity-description{font-size:8px}}
@media(max-width:390px){.local-badge{display:none}.suggestion-hint{display:none}.suggestion-card{gap:7px}.suggestion-text strong{font-size:8px}.topbar-actions{gap:2px}.connection-pill{padding:0 6px}.connection-pill>span:nth-child(2){max-width:67px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.welcome-view{padding-left:16px;padding-right:16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
