:root{--bg:#f4f3f8;--panel:#fff;--soft:#f8f7fb;--ink:#171622;--muted:#757287;--line:#e7e4ed;--accent:#6d51e7;--nav:#171620;--success:#24845d;--warning:#b26b17;--danger:#c44455;--shadow:0 18px 55px #1f19361f}*{box-sizing:border-box}html,body{min-height:100%;margin:0}body{background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif}button,input,textarea,select{color:inherit;font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}:focus-visible{outline-offset:2px;outline:3px solid #6d51e759}.srOnly{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.skipLink{z-index:100;color:var(--ink);box-shadow:var(--shadow);background:#fff;border-radius:10px;padding:10px 15px;position:fixed;top:-80px;left:16px}.skipLink:focus{top:12px}.button{border:1px solid var(--line);background:#fff;border-radius:11px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:9px 14px;font-weight:650;transition:all .16s;display:inline-flex}.button:hover{background:#fbfaff;border-color:#cfc9dd}.button.primary{border-color:var(--accent);background:var(--accent);color:#fff}.button.primary:hover{background:#573bd0}.button.wide{width:100%}.button.danger{color:var(--danger);background:#fff8f9;border-color:#f0c9ce}.iconButton{background:0 0;border:0;border-radius:10px;place-items:center;width:38px;height:38px;display:grid}.iconButton:hover{background:#786e911a}.appShell{grid-template-columns:282px minmax(0,1fr);min-height:100vh;display:grid;overflow:hidden}.sidebar{z-index:30;background:var(--nav);color:#fff;flex-direction:column;gap:12px;height:100vh;min-height:0;padding:18px 14px 14px;display:flex}.brand{align-items:center;gap:10px;height:45px;padding:0 8px;display:flex}.brand>span,.authBrand>span{color:#fff;background:linear-gradient(135deg,#8c6dff,#4d79ef);border-radius:11px;place-items:center;width:34px;height:34px;display:grid;box-shadow:0 8px 22px #6d51e74d}.mobileClose{color:#fff;background:0 0;border:0;margin-left:auto;display:none}.newChat{color:#fff;background:linear-gradient(135deg,#7255e9,#5d45d0);border:0;justify-content:flex-start;box-shadow:0 8px 25px #4e37aa40}.newChat kbd{margin-left:auto}kbd{color:#aaa4b8;font:11px ui-monospace,monospace}.searchButton,.mainNav button{color:#bbb7c6;text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:11px;width:100%;min-height:40px;padding:9px 11px;display:flex}.searchButton:hover,.mainNav button:hover{color:#fff;background:#24222f}.searchButton span{flex:1}.mainNav{gap:3px;display:grid}.mainNav button span{color:#817c8e;margin-left:auto;font-size:12px}.historyLabel{color:#777282;letter-spacing:.08em;text-transform:uppercase;padding:11px 10px 3px;font-size:11px;font-weight:750}.history{scrollbar-width:thin;align-content:start;gap:3px;min-height:0;display:grid;overflow:auto}.history button{color:#b9b5c1;text-align:left;background:0 0;border:0;border-radius:10px;padding:9px 11px;overflow:hidden}.history button:hover,.history button.active{color:#fff;background:#24222f}.history button span,.history button small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.history button small{color:#777383;margin-top:3px;font-size:10px}.sidebarEmpty{color:#777282;padding:8px 10px;font-size:13px;line-height:1.5}.sidebarBottom{gap:10px;margin-top:auto;display:grid}.balanceCard{color:#fff;text-align:left;background:#22202c;border:1px solid #35323f;border-radius:13px;width:100%;padding:12px}.balanceCard.low{background:#31251f;border-color:#965f45}.balanceCard span{color:#9d98aa;align-items:center;gap:7px;display:flex}.balanceCard strong{margin-top:5px;font-size:20px;display:block}.profileRow{border-top:1px solid #2b2933;grid-template-columns:36px 1fr 38px;align-items:center;gap:8px;padding:11px 2px 0;display:grid}.profileRow>button:not(.iconButton){color:#fff;text-align:left;background:0 0;border:0;min-width:0}.profileRow b,.profileRow small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.profileRow small{color:#827d8d;font-size:11px}.avatar{color:#fff;background:#343140;border-radius:50%;flex:none;place-items:center;width:34px;height:34px;font-weight:750;display:grid}.notificationButton{color:#b9b4c3;position:relative}.notificationButton i{color:#fff;background:#e4546a;border-radius:9px;place-items:center;min-width:16px;height:16px;padding:0 4px;font:9px sans-serif;display:grid;position:absolute;top:3px;right:2px}.workspace{background:radial-gradient(circle at 55% 0,#7e5eee0f,transparent 34%),var(--bg);grid-template-rows:64px minmax(0,1fr) auto;min-width:0;height:100vh;display:grid}.topbar{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffffc2;border-bottom:1px solid #e1dee9d9;align-items:center;gap:14px;padding:0 24px;display:flex}.menuButton{background:0 0;border:0;border-radius:9px;padding:7px;display:none}.selectors{align-items:center;gap:8px;min-width:0;display:flex}.selectWrap select{border:1px solid var(--line);background:#fff;border-radius:10px;max-width:210px;padding:9px 32px 9px 11px;font-weight:650}.projectSelect select{color:#625f6f;font-weight:550}.systemStatus{color:#777385;margin-left:auto;font-size:12px}.systemStatus span{background:#35a773;border-radius:50%;width:7px;height:7px;margin-right:5px;display:inline-block;box-shadow:0 0 0 3px #dff4ea}.topBalance{color:#504765;background:#f0edf8;border:0;border-radius:10px;align-items:center;gap:7px;padding:9px 11px;font-weight:700;display:flex}.thread{scroll-behavior:smooth;padding:38px max(28px,50% - 420px);overflow:auto}.emptyChat{text-align:center;max-width:780px;margin:11vh auto 0}.emptyChat .spark{width:58px;height:58px;color:var(--accent);background:#fff;border:1px solid #ddd5fb;border-radius:18px;place-items:center;margin:auto;display:grid;box-shadow:0 14px 35px #43308217}.eyebrow{color:var(--accent);letter-spacing:.13em;font-size:11px;font-weight:800}.emptyChat h1,.authCard h1{letter-spacing:-.04em;margin:10px 0 7px;font-size:clamp(32px,4vw,44px)}.emptyChat>p:not(.eyebrow),.muted{color:var(--muted)}.suggestions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:30px;display:grid}.suggestions button{border:1px solid var(--line);text-align:left;color:#4d4958;background:#fffc;border-radius:13px;padding:14px}.suggestions button:hover{background:#fff;border-color:#cec5ea;transform:translateY(-1px)}.suggestions span{float:right;color:var(--accent)}.messageList{max-width:830px;margin:0 auto}.message{grid-template-columns:36px minmax(0,1fr);gap:13px;margin-bottom:30px;display:grid}.message.user{margin-left:12%}.messageAvatar{color:#fff;background:#777184;border-radius:11px;place-items:center;width:34px;height:34px;font-size:13px;font-weight:750;display:grid}.message.assistant .messageAvatar{background:linear-gradient(135deg,#8064ef,#526ee7)}.messageBody{min-width:0}.messageHead{flex-wrap:wrap;align-items:center;gap:8px;min-height:29px;display:flex}.messageHead time{color:#9692a0;font-size:11px}.messageText{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.72}.message.user .messageText{border:1px solid var(--line);background:#fff;border-radius:4px 14px 14px;padding:12px 15px;display:inline-block}.messageActions{align-items:center;gap:8px;margin-top:11px;display:flex}.messageActions button{color:#858091;background:0 0;border:0;border-radius:8px;align-items:center;gap:6px;padding:6px 8px;font-size:11px;display:flex}.messageActions button:hover{color:#514a62;background:#ebe8f1}.statusPill{border-radius:10px;padding:3px 7px;font-size:10px}.statusPill.warning{color:#956017;background:#fff0d9}.statusPill.danger{color:#a73547;background:#fee8eb}.typing{gap:4px;padding:8px 0;display:flex}.typing i{background:#9086aa;border-radius:50%;width:6px;height:6px;animation:1.1s infinite alternate pulse}.typing i:nth-child(2){animation-delay:.18s}.typing i:nth-child(3){animation-delay:.36s}.composerZone{width:min(840px,100% - 46px);margin:0 auto;padding-bottom:10px}.composer{background:#fff;border:1px solid #dad6e4;border-radius:18px;padding:10px 11px 8px;box-shadow:0 12px 35px #2e264a1a}.composer.busy{border-color:#c6bceb}.composer textarea{resize:none;background:0 0;border:0;outline:0;width:100%;min-height:52px;max-height:160px;padding:8px 9px;line-height:1.5}.composerActions{align-items:center;gap:9px;display:flex}.attach,.send{border:0;border-radius:11px;place-items:center;width:37px;height:37px;display:grid}.attach{color:#5c5669;background:#f1eef6}.send{background:var(--accent);color:#fff;margin-left:auto}.send.stop{background:#2d2938}.costPreview{color:#8a8594;margin-left:auto;font-size:11px}.composerHint{text-align:center;color:#9692a0;margin:7px 0 0;font-size:10px}.inlineError,.recoveryNote,.lowBalanceNotice{border-radius:11px;width:100%;margin-bottom:8px;padding:9px 11px;font-size:12px}.inlineError{color:#9b3244;background:#ffeaed;grid-template-columns:23px 1fr 28px;align-items:center;display:grid}.inlineError span{color:#fff;background:#c34456;border-radius:50%;place-items:center;width:20px;height:20px;display:grid}.inlineError p{margin:0}.inlineError button{background:0 0;border:0}.recoveryNote{color:#715217;background:#fff2d8;align-items:center;gap:9px;display:flex}.lowBalanceNotice{text-align:center;color:#8f5713;background:#ffefd2;border:0}.drawerLayer{z-index:70;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#110e1a52;justify-content:flex-end;display:flex;position:fixed;inset:0}.drawer{background:#fff;grid-template-rows:65px minmax(0,1fr);width:min(470px,100%);height:100%;animation:.2s ease-out enter;display:grid;box-shadow:-20px 0 60px #140f352e}.drawer>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:0 20px;display:flex}.drawer h2{margin:0;font-size:18px}.drawer h3{margin:25px 0 10px;font-size:14px}.drawerBody{padding:20px;overflow:auto}.stack{gap:14px;display:grid}.stack label,.drawerBody>label{color:#625e6d;gap:6px;font-size:12px;font-weight:650;display:grid}input,textarea,.drawer select{border:1px solid var(--line);background:#fff;border-radius:10px;outline:none;width:100%;padding:10px 11px}input:focus,textarea:focus,select:focus{border-color:#a695df;box-shadow:0 0 0 3px #6d51e71a}.row{justify-content:flex-end;gap:8px;display:flex}.twoColumns{grid-template-columns:1fr 1fr;gap:10px;display:grid}.check{align-items:center;gap:9px!important;display:flex!important}.check input{width:17px;height:17px}.alert{border-radius:10px;padding:10px 12px;font-size:12px;line-height:1.45}.alert.error{color:#9d3445;background:#ffeaed}.alert.success{color:#286e53;background:#e5f6ee}.searchField{border:1px solid var(--line);border-radius:12px;grid-template-columns:22px 1fr 20px;align-items:center;padding:0 11px;display:grid}.searchField input{box-shadow:none;border:0}.resultList{gap:5px;margin-top:13px;display:grid}.resultList>button{text-align:left;background:#fff;border:0;border-radius:12px;grid-template-columns:38px 1fr auto;align-items:center;gap:10px;padding:10px;display:grid}.resultList>button:hover{background:var(--soft)}.resultList b,.resultList small{display:block}.resultList small{max-width:300px;color:var(--muted);white-space:nowrap;text-overflow:ellipsis;margin-top:3px;overflow:hidden}.resultList em{color:#9a95a5;font-size:10px;font-style:normal}.resultIcon,.cardIcon{width:36px;height:36px;color:var(--accent);background:#eeeafd;border-radius:10px;place-items:center;display:grid}.emptyState{text-align:center;color:var(--muted);grid-column:1/-1;padding:52px 18px}.emptyState>span{width:48px;height:48px;color:var(--accent);background:#f0edf8;border-radius:15px;place-items:center;margin:auto;display:grid}.emptyState h3{color:var(--ink);margin:13px 0 5px}.emptyState p{margin:0;line-height:1.5}.cardList{gap:9px;margin-top:16px;display:grid}.cardList article{border:1px solid var(--line);border-radius:13px;grid-template-columns:38px 1fr;gap:11px;padding:12px;display:grid}.cardList article.dim{opacity:.55}.cardList h3,.cardList p{margin:0}.cardList h3{font-size:13px}.cardList p{color:var(--muted);margin-top:4px;font-size:12px;line-height:1.45}.cardList small{color:#9893a1;font-size:10px}.uploadBox{background:#faf9fc;border:1px dashed #cbc3dc;border-radius:14px;gap:11px;padding:15px;display:grid}.uploadBox>input[type=file]{opacity:0;width:1px;height:1px;position:absolute}.uploadBox>small{color:#928d9d;font-size:10px}.fileStatus.ready{color:var(--success)}.fileStatus.failed{color:var(--danger)}.fileStatus.partial{color:var(--warning)}.walletHero,.costHero{color:#fff;background:linear-gradient(135deg,#242031,#4a3a77);border-radius:16px;padding:20px}.walletHero small,.costHero small{color:#c4bdd6}.walletHero strong,.costHero strong{margin:4px 0 17px;font-size:32px;display:block}.walletHero div{color:#c7c1d5;flex-wrap:wrap;gap:8px 14px;font-size:10px;display:flex}.amountGrid{grid-template-columns:repeat(4,1fr);gap:7px;margin-bottom:13px;display:grid}.amountGrid button{border:1px solid var(--line);background:#fff;border-radius:10px;padding:10px 4px;font-size:12px}.amountGrid button.active{border-color:var(--accent);color:var(--accent);background:#f3f0ff}.safeNote{color:#827d8c;background:#f7f6f9;border-radius:10px;padding:11px;font-size:11px;line-height:1.5}.ledger{display:grid}.ledger>div{border-bottom:1px solid var(--line);justify-content:space-between;padding:10px 1px;display:flex}.ledger b,.ledger small{display:block}.ledger b{font-size:12px}.ledger small{color:#9792a0;font-size:10px}.ledger strong{font-size:12px}.notifications button{text-align:left;background:#f8f6fc;border:0;border-radius:12px;grid-template-columns:7px 1fr;gap:10px;padding:12px;display:grid}.notifications button.read{opacity:.65;background:#fff}.notifications i{background:#6f55dd;border-radius:50%;width:7px;height:7px;margin-top:5px}.notifications i.warning{background:#d68a25}.notifications i.success{background:#34a270}.notifications b,.notifications small{display:block}.notifications p{color:var(--muted);margin:4px 0;font-size:12px;line-height:1.45}.notifications small{color:#9b96a3;font-size:10px}.accountCard{border:1px solid var(--line);border-radius:14px;align-items:center;gap:12px;padding:13px;display:flex}.avatar.large{background:var(--accent);width:46px;height:46px}.accountCard p{color:var(--muted);margin:3px 0 0;font-size:12px}.settingsForm{border-top:1px solid var(--line);margin-top:20px;padding-top:2px}.dangerZone{border-top:1px solid var(--line);gap:8px;margin-top:25px;padding-top:15px;display:flex}.costHero{text-align:center}.costHero strong{margin-bottom:0}.details{margin:16px 0 0}.details>div{border-bottom:1px solid var(--line);grid-template-columns:1fr 1.4fr;gap:12px;padding:11px 2px;display:grid}.details dt{color:var(--muted);font-size:12px}.details dd{text-align:right;overflow-wrap:anywhere;margin:0;font-size:12px}.mono{font-family:ui-monospace,monospace}.successState{text-align:center;padding:70px 10px}.successState>div{width:55px;height:55px;color:var(--success);background:#dff4e9;border-radius:50%;place-items:center;margin:auto;font-size:26px;display:grid}.successState p{color:var(--muted)}.supportFloat{z-index:20;color:#fff;background:#25212f;border:0;border-radius:50%;place-items:center;width:43px;height:43px;display:grid;position:fixed;bottom:18px;right:20px;box-shadow:0 10px 25px #1d182b40}.authPage,.centerState{background:radial-gradient(circle at 50% 0,#e7e0ff,transparent 42%),var(--bg);place-items:center;min-height:100vh;padding:24px;display:grid}.authCard{width:min(430px,100%);box-shadow:var(--shadow);background:#ffffffe6;border:1px solid #dcd7e8e6;border-radius:22px;padding:34px}.authBrand{align-items:center;gap:10px;margin-bottom:32px;font-weight:800;display:flex}.authCard h1{font-size:32px}.authForm{margin-top:25px}.textButton{width:100%;color:var(--accent);background:0 0;border:0;margin-top:18px;font-size:12px}.centerState{text-align:center;color:var(--muted);align-content:center}.centerState h1{color:var(--ink);margin:18px 0 5px;font-size:24px}.centerState p{margin:0 0 18px}.stateIcon{width:55px;height:55px;color:var(--danger);background:#ffe3e7;border-radius:50%;place-items:center;margin:auto;font-size:25px;display:grid}.loader,.miniLoader{border:2px solid #ddd7ec;border-top-color:var(--accent);border-radius:50%;animation:.8s linear infinite spin}.loader{width:40px;height:40px;margin:auto}.miniLoader{width:17px;height:17px}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{to{opacity:.2;transform:translateY(-2px)}}@keyframes enter{0%{opacity:.5;transform:translate(30px)}}@media (max-width:900px){.appShell{grid-template-columns:1fr}.sidebar{width:min(310px,88vw);transition:transform .22s;position:fixed;inset:0 auto 0 0;transform:translate(-105%);box-shadow:15px 0 45px #0f0c1847}.sidebar.open{transform:translate(0)}.mobileClose,.menuButton{place-items:center;display:grid}.mobileShade{z-index:25;pointer-events:none;opacity:0;background:#0f0c185c;transition:opacity .2s;position:fixed;inset:0}.mobileShade.visible{opacity:1;pointer-events:auto}.topbar{padding:0 14px}.systemStatus{display:none}.selectors{flex:1}.selectWrap{min-width:0}.selectWrap select{max-width:100%}.thread{padding-inline:max(18px,50% - 380px)}}@media (max-width:620px){.workspace{grid-template-rows:58px minmax(0,1fr) auto}.topbar{gap:7px}.projectSelect{display:none}.topBalance{padding:8px;font-size:11px}.topBalance svg{display:none}.thread{padding:24px 14px}.emptyChat{margin-top:6vh}.emptyChat h1{font-size:34px}.suggestions{grid-template-columns:1fr}.suggestions button:nth-child(n+4){display:none}.message{grid-template-columns:30px minmax(0,1fr);gap:9px;margin-bottom:23px}.message.user{margin-left:4%}.messageAvatar{border-radius:9px;width:29px;height:29px}.messageText{font-size:14px}.message.user .messageText{padding:10px 12px}.composerZone{width:calc(100% - 20px);padding-bottom:max(7px,env(safe-area-inset-bottom))}.composerHint{display:none}.composer textarea{min-height:45px}.supportFloat{display:none}.drawer{width:100%}.drawerBody{padding:16px}.twoColumns{grid-template-columns:1fr}.amountGrid{grid-template-columns:repeat(2,1fr)}.authCard{padding:26px 22px}.authCard h1{font-size:29px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.memoryToggle{border:1px solid var(--line);color:#837d8e;background:#fff;border-radius:10px;align-items:center;gap:6px;padding:8px 10px;font-size:11px;font-weight:700;display:flex}.memoryToggle.active{color:var(--accent);background:#f4f1ff;border-color:#d8cff5}.memoryIntro{color:var(--accent);background:#f7f4ff;border:1px solid #dfd8f3;border-radius:14px;grid-template-columns:30px 1fr;gap:10px;margin-bottom:13px;padding:13px;display:grid}.memoryIntro b{color:#403851}.memoryIntro p{color:#777086;margin:3px 0 0;font-size:11px;line-height:1.45}.memorySearch{grid-template-columns:22px 1fr;margin-top:13px}.memoryList{gap:9px;margin-top:13px;display:grid}.memoryList article{border:1px solid var(--line);background:#fff;border-radius:13px;padding:12px}.memoryList article.archived,.memoryList article.disabled{opacity:.58}.memoryList article>header{align-items:center;gap:7px;display:flex}.memoryList article>header span{color:var(--accent);background:#eeeafd;border-radius:8px;padding:4px 7px;font-size:10px;font-weight:750}.memoryList article>header small{color:#9791a1;font-size:10px}.memoryList article>header b{color:var(--accent);margin-left:auto}.memoryList article>p{margin:10px 0;font-size:13px;line-height:1.5}.memoryList article>footer{border-top:1px solid var(--line);flex-wrap:wrap;gap:5px;padding-top:8px;display:flex}.memoryList article>footer button{color:#777181;background:0 0;border:0;border-radius:7px;padding:5px 7px;font-size:10px}.memoryList article>footer button:hover{background:#f0edf5}.memoryList article>footer .dangerText{color:var(--danger)}.contextInspector{margin-top:20px}.contextInspector>header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.contextInspector h3{margin:0}.contextInspector header small{color:#9991a4}.contextInspector header b{color:var(--accent);font-size:12px}.budgetBar{background:#ece8f4;border-radius:99px;height:7px;margin:10px 0 7px;overflow:hidden}.budgetBar i{border-radius:inherit;background:linear-gradient(90deg,#8d76da,#6b4fd1);height:100%;display:block}.budgetMeta{color:#928b9d;justify-content:space-between;margin-bottom:12px;font-size:10px;display:flex}.contextList{gap:8px;display:grid}.contextList article{background:#f7f5fc;border-left:3px solid #cabdf1;border-radius:4px 10px 10px 4px;padding:10px}.contextList article>b{margin-top:3px;font-size:11px;display:block}.contextList small{color:var(--accent);font-size:10px}.contextList p{white-space:pre-wrap;max-height:90px;margin:4px 0 0;font-size:12px;line-height:1.5;overflow:auto}.contextDropped{color:#8f8799;text-align:right;font-size:10px}.routingCard{background:linear-gradient(145deg,#faf8ff,#f1edff);border:1px solid #d9d0f4;border-radius:14px;margin-bottom:18px;padding:13px}.routingCard>header{justify-content:space-between;align-items:center;display:flex}.routingCard>header span{color:var(--accent);text-transform:uppercase;letter-spacing:.05em;font-size:10px;font-weight:800}.routingCard>header small{color:#72668e;background:#fff;border-radius:8px;padding:4px 7px}.routingCard>b{margin-top:10px;display:block}.routingCard>p{color:#655e70;margin:5px 0 9px;font-size:11px;line-height:1.5}.routingCard>div{color:#8a8295;justify-content:space-between;gap:8px;font-size:10px;display:flex}.routingCard details{border-top:1px solid #ded7ef;margin-top:10px;padding-top:8px}.routingCard summary{cursor:pointer;color:var(--accent);font-size:10px}.routeCandidate{justify-content:space-between;margin-top:7px;font-size:10px;display:flex}.routeCandidate b{color:#6d6479;font-weight:650}@media (max-width:620px){.memoryToggle span{display:none}.memoryToggle{padding:8px}.memoryList article>footer button{padding:7px}}.candidateSection{border-bottom:1px solid var(--line);margin:16px 0 18px;padding-bottom:18px}.candidateSection>header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.candidateSection h3{margin:0}.candidateSection h3 span{background:var(--accent);color:#fff;border-radius:10px;place-items:center;min-width:20px;height:20px;font-size:10px;display:inline-grid}.candidateSection>header p{color:var(--muted);margin:3px 0 0;font-size:11px}.candidateSection>header button{color:#8b8496;background:0 0;border:0;font-size:10px}.candidateList{gap:9px;margin-top:11px;display:grid}.candidateList article{background:#fbfaff;border:1px solid #dcd4f3;border-radius:14px;padding:13px}.candidateList article.conflict{background:#fffaf2;border-color:#ebcc9f}.candidateMeta{align-items:center;gap:8px;display:flex}.candidateMeta span{color:var(--accent);background:#eae4ff;border-radius:8px;padding:4px 7px;font-size:10px;font-weight:750}.candidateList article.conflict .candidateMeta span{color:#9b5d12;background:#ffead0}.candidateMeta small{color:#918a9b;margin-left:auto;font-size:9px}.candidateList article>p{margin:11px 0;font-size:13px;line-height:1.5}.conflictNote{color:#76512a;background:#fff1dd;border-left:3px solid #daa05b;border-radius:4px 9px 9px 4px;padding:8px 10px;font-size:11px;line-height:1.45}.conflictNote small{color:#a07748;margin-bottom:2px;display:block}.candidateScope{color:#817a8b;margin-top:9px;font-size:10px}.candidateList footer{justify-content:flex-end;gap:7px;margin-top:11px;display:flex}.candidateList footer button{border:1px solid var(--line);background:#fff;border-radius:9px;padding:7px 10px;font-size:10px}.candidateList footer button.accept{border-color:var(--accent);background:var(--accent);color:#fff}.experimentBox{background:#faf8ff;border:1px solid #ded6f5;border-radius:13px;gap:9px;padding:12px;display:grid}.experimentBox.unavailable{opacity:.68}.experimentBox>div{align-items:center;gap:8px;display:flex}.experimentBox>div span{color:var(--accent);background:#e9e2ff;border-radius:8px;padding:3px 6px;font-size:9px;font-weight:750}.experimentBox p{color:var(--muted);margin:0;font-size:10px;line-height:1.5}.experimentBox>small{color:#9b641f}.experimentBox label{font-size:11px}.experimentBox select{margin-top:5px}@media (max-width:620px){.candidateMeta{flex-direction:column;align-items:flex-start}.candidateMeta small{margin-left:0}.candidateSection>header{align-items:center}}.contextList code{color:#6b4fd1;overflow-wrap:anywhere;margin-top:7px;font-size:10px;display:block}.citationList{border-top:1px solid var(--line);margin-top:12px;padding-top:10px}.citationList h4{margin:0 0 8px;font-size:12px}.citationList div{gap:2px;margin-top:7px;display:grid}.citationList small{color:#8f8799;overflow-wrap:anywhere}.searchFilters{grid-template-columns:1fr 1.2fr 1fr;gap:7px;margin-top:9px;display:grid}.searchFilters select{min-width:0;padding:8px 7px;font-size:11px}.message.searchFocus .messageBody{background:#f8f5ff;border-radius:13px;outline:3px solid #7659e629;padding:10px;animation:2.2s ease-out searchFocus}.message.searchFocus .messageAvatar{box-shadow:0 0 0 4px #7659e629}@keyframes searchFocus{0%{background:#eee8ff;outline-color:#7659e699}to{background:#f8f5ff;outline-color:#7659e600}}@media (max-width:620px){.searchFilters{grid-template-columns:1fr 1fr}.searchFilters select:last-child{grid-column:1/-1}}.branchSelect select{max-width:170px;color:var(--accent)}.comparePrompt{background:#f7f4ff;border-left:3px solid #8168df;border-radius:5px 12px 12px 5px;padding:11px 13px}.comparePrompt small,.compareModels small,.compareCost small,.compareResults small{color:var(--muted);font-size:10px}.comparePrompt p{margin:5px 0 0;line-height:1.5}.compareModels{grid-template-columns:1fr 1fr;gap:8px;margin:14px 0;display:grid}.compareModels label{border:1px solid var(--line);cursor:pointer;border-radius:11px;align-items:center;gap:8px;padding:10px;display:flex}.compareModels label.selected{background:#f4f0ff;border-color:#8065e4}.compareModels input{width:16px}.compareModels span{display:grid}.compareCost,.compareSummary{background:#f3f0f8;border-radius:12px;gap:4px;margin:12px 0;padding:12px;display:grid}.compareCost b,.compareSummary b{color:var(--accent)}.compareResults{gap:10px;margin:12px 0;display:grid}.compareResults article,.synthesisResult{border:1px solid var(--line);border-radius:13px;padding:12px}.compareResults article.failed{opacity:.6}.compareResults header,.synthesisResult header{justify-content:space-between;gap:8px;display:flex}.compareResults header div{display:grid}.compareResults header button{color:var(--accent);background:#eee8ff;border:0;border-radius:8px;padding:6px 8px;font-size:10px}.compareResults p,.synthesisResult p{white-space:pre-wrap;line-height:1.55}.synthesisResult{background:#faf8ff;border-color:#cfc3f5;margin-top:13px}.synthesisResult small{color:var(--accent)}@media (max-width:620px){.branchSelect{display:none}.compareModels{grid-template-columns:1fr}}.imageStudio{gap:18px;display:grid}.imageComposer{background:linear-gradient(145deg,#fbfaff,#f3efff);border:1px solid #ddd5f4;border-radius:15px;padding:14px}.imageComposer>label{gap:6px;font-size:11px;font-weight:700;display:grid}.imageComposer textarea{resize:vertical;min-height:92px;line-height:1.5}.imageOptions{grid-template-columns:1.4fr 1fr 1fr .65fr;gap:7px;margin:10px 0;display:grid}.imageOptions label{color:#7d7589;gap:4px;font-size:9px;display:grid}.imageOptions select{min-width:0}.imageCost{background:#fff;border-radius:11px;grid-template-columns:1fr auto;gap:3px;margin:10px 0;padding:10px 11px;display:grid}.imageCost b{color:var(--accent)}.imageCost small{color:var(--muted);grid-column:1/-1;font-size:9px}.galleryHeader{border-top:1px solid var(--line);justify-content:space-between;align-items:center;padding-top:17px;display:flex}.galleryHeader h3{margin:0}.galleryHeader p{color:var(--muted);margin:3px 0 0;font-size:10px}.galleryHeader>span{min-width:28px;height:28px;color:var(--accent);background:#ece6ff;border-radius:14px;place-items:center;font-size:11px;font-weight:800;display:grid}.imageHistory{gap:13px;display:grid}.imageHistory>article{border:1px solid var(--line);border-radius:14px;padding:12px}.imageHistory>article>header{justify-content:space-between;gap:10px;display:flex}.imageHistory>article>header div{gap:2px;display:grid}.imageHistory>article>header small{color:var(--muted);font-size:9px}.imageHistory>article>p{color:#5d5766;margin:9px 0 11px;font-size:12px;line-height:1.45}.imageGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.imageGrid figure{background:#f2eef7;border-radius:11px;margin:0;overflow:hidden}.imageGrid img{aspect-ratio:1;object-fit:cover;width:100%;display:block}.imageGrid figcaption{justify-content:space-between;gap:8px;padding:7px 8px;font-size:9px;display:flex}.imageGrid figcaption span{color:var(--muted)}.imageGrid a{color:var(--accent);font-weight:700}.imageError{color:var(--danger);font-size:10px;display:block}.emptyPanel{text-align:center;color:var(--muted);padding:35px 10px}.emptyPanel h3{color:var(--text)}@media (max-width:620px){.imageOptions{grid-template-columns:1fr 1fr}.imageGrid{grid-template-columns:1fr}}.agentConnectionsSimple{gap:16px;display:grid}.agentConnectedList{gap:8px;display:grid}.agentConnectedRow{border:1px solid var(--line,#e7e7ea);background:#fff;border-radius:14px;justify-content:space-between;align-items:center;gap:14px;padding:12px 14px;display:flex}.agentConnectedRow>div:first-child{gap:3px;min-width:0;display:grid}.agentConnectedRow strong{font-size:14px}.agentConnectedRow small{color:var(--muted,#777);font-size:11px}.agentConnectedRow em{color:#a33;font-size:11px;font-style:normal}.agentConnectedRow>div:last-child{gap:6px;display:flex}.agentConnectedRow button,.agentExistingConnections button{border:1px solid var(--line,#ddd);cursor:pointer;background:#fff;border-radius:9px;padding:7px 10px}.agentServiceCatalog{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.agentServiceCatalog button{text-align:left;border:1px solid var(--line,#e5e5e9);cursor:pointer;background:#fafafa;border-radius:13px;grid-template-rows:auto auto;grid-template-columns:24px 1fr;gap:1px 8px;padding:12px;display:grid}.agentServiceCatalog button>span{background:#eee;border-radius:8px;grid-row:1/3;place-items:center;width:24px;height:24px;font-weight:800;display:grid}.agentServiceCatalog button>b{font-size:13px}.agentServiceCatalog button>small{color:var(--muted,#777);font-size:10px}.agentServiceCatalog button.connected{background:#f5fbf7;border-color:#cfe8d6}.agentServiceCatalog button.connected>span{color:#237342;background:#dff2e4}.agentServiceSetup{border:1px solid var(--line,#e3e3e8);background:#fafafa;border-radius:16px;padding:16px}.agentServiceSetupHead{justify-content:space-between;gap:12px;display:flex}.agentServiceSetupHead p{color:var(--muted,#666);margin:4px 0 12px;font-size:12px;line-height:1.5}.agentServiceSetupHead>button{cursor:pointer;background:0 0;border:0;font-size:24px}.agentServiceActions{justify-content:space-between;align-items:flex-end;gap:14px;margin-top:12px;display:flex}.agentServiceActions small{max-width:62%;color:var(--muted,#666);line-height:1.45}.agentExistingConnections{border-top:1px solid var(--line,#e7e7ea);padding-top:12px}.agentExistingConnections summary{cursor:pointer;color:var(--muted,#666);font-size:12px}.agentExistingConnections>div{gap:8px;margin-top:10px;display:flex}.agentExistingConnections select{flex:1;min-width:0}.agentSimpleIntro{max-width:780px;margin-bottom:16px}.agentSimpleIntro h2{margin:5px 0 7px}.agentSimpleIntro p{color:var(--muted,#666);margin:0;line-height:1.55}.agentBrainCard p{color:var(--muted,#666);font-size:12px;line-height:1.5}.agentCapabilityStatus{border-top:1px solid var(--line,#ececf0);justify-content:space-between;gap:10px;padding:9px 0;font-size:12px;display:flex}.agentAdvancedPolicy summary{cursor:pointer;font-weight:700}.agentAdvancedPolicy>p{color:var(--muted,#666);font-size:12px;line-height:1.5}.agentCostBreakdown{border-top:1px solid #eee;gap:6px;margin-top:14px;padding-top:12px;font-size:11px;line-height:1.45;display:grid}.agentCostBreakdown>b{font-size:12px}.agentCostBreakdown>span,.agentCostBreakdown>small{color:#666}.agentCostBreakdown>div{background:#f7f7f9;border-radius:10px;gap:3px;margin-top:4px;padding:9px;display:grid}.agentCostBreakdown>div strong{font-size:11px}@media (max-width:720px){.agentServiceCatalog{grid-template-columns:1fr}.agentConnectedRow,.agentServiceActions{flex-direction:column;align-items:stretch}.agentServiceActions small{max-width:none}.agentExistingConnections>div{flex-direction:column}}.agentStartSteps{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0 20px;display:grid}.agentStartSteps>div{border:1px solid var(--line,#e7e7ea);background:#fff;border-radius:15px;grid-template-columns:30px 1fr;gap:3px 9px;padding:15px;display:grid}.agentStartSteps>div>span{background:#f0f1f4;border-radius:10px;grid-row:1/3;place-items:center;width:30px;height:30px;font-size:12px;font-weight:800;display:grid}.agentStartSteps b{font-size:13px}.agentStartSteps small{color:var(--muted,#6f7078);font-size:11px;line-height:1.45}@media (max-width:900px){.agentStartSteps{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:560px){.agentStartSteps{grid-template-columns:1fr}}
.chatHeader .headerControls>.selectControl:first-child{display:none}.composerRight{align-items:center;gap:7px;margin-left:auto;display:flex}.composerTierSlot{align-items:center;min-width:0;display:flex}.systemTierPicker{align-items:center;min-width:0;display:inline-flex}.systemTierPicker .srOnly{clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.systemTierPicker select{appearance:auto;color:#555;width:auto;max-width:148px;min-height:34px;box-shadow:none;cursor:pointer;background:0 0;border:0;border-radius:10px;outline:none;padding:7px 6px;font-size:12px;font-weight:650;line-height:1}.systemTierPicker select:hover{color:#222;background:#f1f1f3}.systemTierPicker select:focus-visible{box-shadow:0 0 0 3px #17171714}.systemTierPicker select:disabled{cursor:default;opacity:.58}.modelPicker{min-width:0;position:relative}.modelPickerTrigger{text-align:left;background:#f8f7fb;border:1px solid #e3e0e9;border-radius:12px;align-items:center;gap:7px;max-width:280px;min-height:38px;padding:5px 8px;display:flex}.modelPickerTrigger:hover{background:#f1eef7;border-color:#d5cfe3}.modelPickerMark{color:#654be0;background:#ece8fa;border-radius:8px;flex:none;place-items:center;width:27px;height:27px;display:grid}.modelPickerCurrent{min-width:0;line-height:1.05;display:grid}.modelPickerCurrent b{text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:750;overflow:hidden}.modelPickerCurrent small{text-overflow:ellipsis;white-space:nowrap;color:#888391;margin-top:3px;font-size:9px;overflow:hidden}.modelPickerTrigger>svg:last-child{color:#8d8796;flex:none}.modelPickerMenu{z-index:120;background:#fff;border:1px solid #ded9e8;border-radius:16px;width:min(520px,100vw - 34px);max-height:min(610px,72vh);padding:12px;position:absolute;bottom:calc(100% + 9px);left:0;overflow:auto;box-shadow:0 24px 70px #221a3f2b}.modelPickerHead{justify-content:space-between;align-items:flex-start;gap:12px;padding:3px 3px 10px;display:flex}.modelPickerHead>div{gap:3px;display:grid}.modelPickerHead b{font-size:14px}.modelPickerHead span{color:#7e7889;font-size:11px}.modelPickerHead>button{background:0 0;border:0;border-radius:9px;place-items:center;width:30px;height:30px;display:grid}.modelPickerHead>button:hover{background:#f1eef6}.modelPickerTabs{background:#f4f2f7;border-radius:12px;grid-template-columns:1fr 1fr;gap:6px;padding:4px;display:grid}.modelPickerTabs>button{color:#696374;background:0 0;border:0;border-radius:9px;justify-content:center;align-items:center;gap:7px;min-height:38px;font-size:12px;font-weight:700;display:flex}.modelPickerTabs>button.active{color:#2d2836;background:#fff;box-shadow:0 2px 8px #33264a12}.modelPickerPane{padding-top:11px}.modelPickerHelp{color:#7d7788;margin:0 2px 10px;font-size:10px;line-height:1.45}.modelModeGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.modelModeGrid>button{text-align:left;background:#fff;border:1px solid #e5e1eb;border-radius:12px;grid-template-rows:auto auto;grid-template-columns:auto 1fr auto;align-items:start;column-gap:7px;min-height:90px;padding:10px;display:grid}.modelModeGrid>button:hover{background:#fcfbff;border-color:#cfc6eb}.modelModeGrid>button.active{background:#f7f4ff;border-color:#8e79e7;box-shadow:0 0 0 2px #7b62df12}.modelModeGrid>button>span{color:#684fe0;background:#eeeafd;border-radius:8px;place-items:center;width:26px;height:26px;display:grid}.modelModeGrid>button>b{align-self:center;font-size:12px}.modelModeGrid>button>small{color:#817b8c;grid-column:1/-1;margin-top:7px;font-size:9px;line-height:1.35}.modelModeGrid>button>svg{color:#654be0}.modelProviderTabs{scrollbar-width:thin;gap:6px;padding:1px 1px 7px;display:flex;overflow:auto}.modelProviderTabs>button{text-align:left;background:#fff;border:1px solid #e5e1eb;border-radius:11px;flex:none;min-width:112px;padding:8px 10px}.modelProviderTabs>button:hover{border-color:#cec6e4}.modelProviderTabs>button.active{background:#f7f4ff;border-color:#8e79e7}.modelProviderTabs b,.modelProviderTabs small{display:block}.modelProviderTabs b{font-size:11px}.modelProviderTabs small{color:#8b8594;margin-top:3px;font-size:8px}.modelPickerProviderModels{gap:5px;max-height:290px;padding-top:2px;display:grid;overflow:auto}.modelPickerProviderModels>button{text-align:left;background:0 0;border:0;border-radius:10px;grid-template-columns:11px 1fr 18px;align-items:center;gap:8px;width:100%;min-height:48px;padding:8px;display:grid}.modelPickerProviderModels>button:hover:not(:disabled){background:#f7f5fa}.modelPickerProviderModels>button.active{background:#f1edfd}.modelPickerProviderModels>button:disabled{opacity:.54}.modelCopy{min-width:0}.modelCopy b,.modelCopy small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.modelCopy b{font-size:11px}.modelCopy small{color:#8a8493;margin-top:3px;font-size:9px}.modelDot{background:#bbb6c2;border-radius:50%;width:8px;height:8px}.modelDot.online{background:#2f9e6f}.modelDot.offline{background:#c75a68}.modelPickerEmpty{text-align:center;color:#8a8493;padding:22px;font-size:11px}.modelUnavailableNotice{color:#973a4a;background:#fff0f2;border:1px solid #efc7ce;border-radius:11px;align-items:center;gap:8px;width:min(840px,100%);margin:0 auto 7px;padding:8px 10px;font-size:11px;line-height:1.35;display:flex}@media (max-width:700px){.composerEconomy{display:none}.systemTierPicker select{max-width:126px;padding-inline:4px;font-size:11px}.composerRight{gap:5px}.modelPickerTrigger{max-width:205px}.modelPickerMenu{width:min(460px,100vw - 20px);left:-54px}.modelModeGrid{grid-template-columns:1fr}.modelModeGrid>button{min-height:64px}.modelProviderTabs>button{min-width:102px}}
