:root{--navy:#091033;--blue:#1684da;--ink:#111a36;--muted:#71809b;--line:#e7ebf2;--soft:#f5f8fc}*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:#fff;display:flex;height:100vh}.sidebar{width:260px;background:var(--navy);color:#fff;padding:28px 18px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;padding:0 9px 50px}.brand img{width:39px;height:39px;object-fit:contain;filter:brightness(0) invert(1)}.brand strong{display:block;font-size:16px;letter-spacing:2px}.brand span{display:block;font-size:9px;color:#7f8ba9;letter-spacing:1.5px;margin-top:3px}.sidebar-label{font-size:10px;color:#6d7897;letter-spacing:1.6px;font-weight:700;padding:0 12px 10px}.nav{width:100%;border:0;background:transparent;color:#9ba7c4;text-align:left;padding:13px 13px;border-radius:8px;font:inherit;font-size:14px;cursor:pointer}.nav i{font-style:normal;width:25px;display:inline-block;color:#7b8baa}.nav.active{background:#192449;color:#fff}.nav.active i{color:#3da5f6}.nav b{float:right;background:#26345b;color:#9caad0;border-radius:10px;font-size:11px;padding:2px 7px}.side-bottom{margin-top:auto;padding:13px 10px}.status{border-top:1px solid #202b4d;padding-top:19px;display:flex;gap:10px;align-items:flex-start}.status span{width:8px;height:8px;background:#48c98b;border-radius:50%;margin-top:5px;box-shadow:0 0 0 4px #173a3e}.status strong{display:block;font-size:12px}.status small{display:block;color:#6f7c9a;font-size:10px;margin-top:4px}.version{font-size:9px;color:#485675;margin-top:35px;letter-spacing:1px}main{flex:1;display:flex;flex-direction:column;min-width:0}header{padding:52px 8.5% 28px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:flex-start}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--blue);font-weight:800;margin:0 0 12px}h1{font-size:29px;letter-spacing:-.7px;margin:0 0 8px}.sub{margin:0;color:var(--muted);font-size:14px}.icon-button{border:1px solid var(--line);border-radius:8px;background:#fff;color:#71809b;width:36px;height:36px;font-size:19px;cursor:pointer}.content{flex:1;overflow:auto;padding:50px 12%;}.welcome{text-align:center;max-width:720px;margin:20px auto}.orb{width:57px;height:57px;border-radius:18px;background:linear-gradient(140deg,var(--blue),#45b7ed);color:#fff;font-size:29px;display:grid;place-items:center;margin:auto;box-shadow:0 10px 26px #1684da33}.welcome h2{font-size:19px;margin:21px 0 9px}.welcome p{font-size:13px;line-height:1.7;color:var(--muted);max-width:570px;margin:auto}.welcome code{font-family:ui-monospace,monospace;font-size:11px;color:var(--blue);background:#edf6fe;padding:3px 5px;border-radius:4px}.suggestions{display:flex;gap:9px;justify-content:center;margin-top:32px;flex-wrap:wrap}.suggestions button{background:#fff;border:1px solid var(--line);border-radius:8px;padding:12px 14px;color:#43516c;font-size:12px;cursor:pointer}.suggestions button:hover{border-color:#8dcaf2;color:var(--blue)}.suggestions span{margin-left:10px;color:var(--blue)}.messages{max-width:780px;margin:auto}.message{margin:0 0 27px}.message.user{text-align:right}.bubble{display:inline-block;text-align:left;max-width:78%;padding:14px 17px;border-radius:12px;background:var(--soft);font-size:14px;line-height:1.65;white-space:pre-wrap}.user .bubble{background:var(--navy);color:#fff}.answer-label{font-size:10px;color:var(--blue);letter-spacing:1.2px;font-weight:800;margin-bottom:8px}.sources{margin-top:15px;border-top:1px solid var(--line);padding-top:11px;font-size:11px;color:var(--muted)}.sources strong{display:block;color:#51617d;margin-bottom:6px}.source{display:inline-block;margin:3px 5px 0 0;background:#f6f8fb;border-radius:4px;padding:5px 7px}.composer{position:relative;margin:0 auto 30px;width:min(780px,76%);border:1px solid #dce3ed;border-radius:11px;background:#fff;box-shadow:0 8px 28px #0910330a;padding:10px 11px 28px}.composer textarea{width:calc(100% - 75px);resize:none;border:0;outline:0;font:inherit;font-size:14px;padding:7px 9px;color:var(--ink)}.composer button{position:absolute;right:10px;top:10px;border:0;border-radius:7px;background:var(--blue);color:#fff;padding:9px 13px;font-weight:700;cursor:pointer}.composer button span{font-size:16px;margin-left:4px}.composer small{position:absolute;bottom:8px;left:19px;font-size:10px;color:#9aa6b9}
:root{--navy:#091033;--blue:#1684da;--ink:#111a36;--muted:#71809b;--line:#e7ebf2;--soft:#f5f8fc}*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:#fff;display:flex;height:100vh}.sidebar{width:260px;background:var(--navy);color:#fff;padding:28px 18px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;padding:0 9px 50px}.brand img{width:39px;height:39px;object-fit:contain;filter:brightness(0) invert(1)}.brand strong{display:block;font-size:16px;letter-spacing:2px}.brand span{display:block;font-size:9px;color:#7f8ba9;letter-spacing:1.5px;margin-top:3px}.sidebar-label{font-size:10px;color:#6d7897;letter-spacing:1.6px;font-weight:700;padding:0 12px 10px}.nav{width:100%;border:0;background:transparent;color:#9ba7c4;text-align:left;padding:13px 13px;border-radius:8px;font:inherit;font-size:14px;cursor:pointer}.nav i{font-style:normal;width:25px;display:inline-block;color:#7b8baa}.nav.active{background:#192449;color:#fff}.nav.active i{color:#3da5f6}.nav b{float:right;background:#26345b;color:#9caad0;border-radius:10px;font-size:11px;padding:2px 7px}.side-bottom{margin-top:auto;padding:13px 10px}.status{border-top:1px solid #202b4d;padding-top:19px;display:flex;gap:10px;align-items:flex-start}.status span{width:8px;height:8px;background:#48c98b;border-radius:50%;margin-top:5px;box-shadow:0 0 0 4px #173a3e}.status strong{display:block;font-size:12px}.status small{display:block;color:#6f7c9a;font-size:10px;margin-top:4px}.version{font-size:9px;color:#485675;margin-top:35px;letter-spacing:1px}main{flex:1;display:flex;flex-direction:column;min-width:0}header{padding:52px 8.5% 28px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:flex-start}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--blue);font-weight:800;margin:0 0 12px}h1{font-size:29px;letter-spacing:-.7px;margin:0 0 8px}.sub{margin:0;color:var(--muted);font-size:14px}.icon-button{border:1px solid var(--line);border-radius:8px;background:#fff;color:#71809b;width:36px;height:36px;font-size:19px;cursor:pointer}.content{flex:1;overflow:auto;padding:50px 12%;}.welcome{text-align:center;max-width:720px;margin:20px auto}.orb{width:57px;height:57px;border-radius:18px;background:linear-gradient(140deg,var(--blue),#45b7ed);color:#fff;font-size:29px;display:grid;place-items:center;margin:auto;box-shadow:0 10px 26px #1684da33}.welcome h2{font-size:19px;margin:21px 0 9px}.welcome p{font-size:13px;line-height:1.7;color:var(--muted);max-width:570px;margin:auto}.welcome code{font-family:ui-monospace,monospace;font-size:11px;color:var(--blue);background:#edf6fe;padding:3px 5px;border-radius:4px}.suggestions{display:flex;gap:9px;justify-content:center;margin-top:32px;flex-wrap:wrap}.suggestions button{background:#fff;border:1px solid var(--line);border-radius:8px;padding:12px 14px;color:#43516c;font-size:12px;cursor:pointer}.suggestions button:hover{border-color:#8dcaf2;color:var(--blue)}.suggestions span{margin-left:10px;color:var(--blue)}.messages{max-width:780px;margin:auto}.message{margin:0 0 27px}.message.user{text-align:right}.bubble{display:inline-block;text-align:left;max-width:78%;padding:14px 17px;border-radius:12px;background:var(--soft);font-size:14px;line-height:1.65;white-space:pre-wrap}.user .bubble{background:var(--navy);color:#fff}.answer-label{font-size:10px;color:var(--blue);letter-spacing:1.2px;font-weight:800;margin-bottom:8px}.sources{margin-top:15px;border-top:1px solid var(--line);padding-top:11px;font-size:11px;color:var(--muted)}.sources strong{display:block;color:#51617d;margin-bottom:6px}.source{display:inline-block;margin:3px 5px 0 0;background:#f6f8fb;border-radius:4px;padding:5px 7px}.composer{position:relative;margin:0 auto 30px;width:min(780px,76%);border:1px solid #dce3ed;border-radius:11px;background:#fff;box-shadow:0 8px 28px #0910330a;padding:10px 11px 28px}.composer textarea{width:calc(100% - 75px);resize:none;border:0;outline:0;font:inherit;font-size:14px;padding:7px 9px;color:var(--ink)}.composer button{position:absolute;right:10px;top:10px;border:0;border-radius:7px;background:var(--blue);color:#fff;padding:9px 13px;font-weight:700;cursor:pointer}.composer button span{font-size:16px;margin-left:4px}.composer small{position:absolute;bottom:8px;left:19px;font-size:10px;color:#9aa6b9}
.brand img{width:44px;height:44px;object-fit:cover;background:#fff;border-radius:8px;padding:3px;display:block;filter:none}
.new-chat{border:0;background:#1684da;color:#fff;border-radius:7px;padding:11px 12px;text-align:left;font:inherit;font-weight:700;cursor:pointer;margin:0 0 12px}.search-chats{background:#111a3b;color:#8190af;border-radius:7px;padding:8px 10px;margin-bottom:28px}.search-chats input{width:calc(100% - 22px);background:transparent;border:0;outline:0;color:#fff;font:inherit;font-size:12px}.chat-list{overflow:auto}.chat-group{margin-bottom:22px}.chat-group>small{display:block;color:#6d7897;font-size:10px;letter-spacing:1.4px;margin:0 12px 8px}.chat-item{display:flex;align-items:center;justify-content:space-between;color:#aab5cc;border-radius:7px;padding:9px 10px 9px 12px;font-size:13px;cursor:pointer}.chat-item:hover,.chat-item.selected{background:#192449;color:#fff}.chat-menu{border:0;background:transparent;color:#7382a1;font-size:17px;opacity:0;cursor:pointer}.chat-item:hover .chat-menu,.chat-item.selected .chat-menu{opacity:1}.settings{margin-top:auto;border:0;border-top:1px solid #202b4d;background:transparent;color:#aab5cc;text-align:left;padding:18px 12px 4px;font:inherit;font-size:13px;cursor:pointer}.sidebar-label{margin-top:0}header{padding:42px 8.5% 25px}header h1{font-size:22px;letter-spacing:-.3px;margin:0 0 5px}header p{margin:0;color:var(--muted);font-size:12px}.welcome{margin:60px auto}.welcome>img{width:100px;height:100px;object-fit:cover;background:#fff;border-radius:18px;padding:6px;box-shadow:0 12px 30px #0910331a}.welcome h2{font-size:24px;margin:20px 0 25px}.suggestions button{padding:10px 13px}.composer small{display:none}.composer{padding-bottom:10px}.composer textarea{width:calc(100% - 75px)}
.thinking{color:#70809b}.dots{display:inline-block;width:24px;overflow:hidden;vertical-align:bottom;animation:thinking 1.1s steps(4,end) infinite}@keyframes thinking{0%{width:6px}50%{width:15px}100%{width:24px}}.composer button.stop{background:#26345b;color:#fff}
.project-heading{display:flex;justify-content:space-between;align-items:center}.project-heading button{border:0;background:transparent;color:#8da1c1;font-size:17px;cursor:pointer}.project-row{display:flex;justify-content:space-between;align-items:center;color:#aab5cc;padding:8px 10px;font-size:12px;cursor:pointer}.project-row:hover,.project-chat:hover{background:#192449;border-radius:6px}.project-menu{border:0;background:transparent;color:#7382a1;opacity:0}.project-row:hover .project-menu{opacity:1}.project-chat{color:#8e9bb8;font-size:12px;padding:6px 10px 6px 24px;cursor:pointer}
.message.assistant{max-width:850px;margin-left:auto;margin-right:auto}.message.assistant .bubble{display:block;background:transparent;padding:0;max-width:none;white-space:normal}.message.assistant .bubble p{margin:0 0 13px}.message.assistant .bubble h1,.message.assistant .bubble h2,.message.assistant .bubble h3{margin:20px 0 9px;color:var(--ink)}.message.assistant .bubble ul,.message.assistant .bubble ol{padding-left:25px;margin:8px 0 16px}.message.assistant .bubble li{margin:5px 0}.message.assistant .bubble blockquote{border-left:3px solid #b9dff7;margin:14px 0;padding:5px 15px;color:#5d6b82}.message.assistant .bubble code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.9em;background:#edf2f7;border-radius:4px;padding:2px 5px;color:#173459}.message.assistant .bubble .code{background:#0b1225;border-radius:9px;overflow:hidden;margin:15px 0;box-shadow:0 7px 20px #09103318}.message.assistant .bubble .code-head{height:35px;display:flex;align-items:center;justify-content:space-between;padding:0 11px;color:#aebbd1;font-size:11px;letter-spacing:.4px}.message.assistant .bubble .code-head button{position:static;background:#26345b;color:#d8e7f6;border:0;border-radius:5px;padding:5px 9px;font-size:11px;cursor:pointer}.message.assistant .bubble .code pre{margin:0;padding:14px;overflow:auto;color:#eef5ff;font:13px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre}.message.assistant .bubble a{color:var(--blue)}
.modal{display:none;position:fixed;inset:0;background:#09103380;z-index:10;align-items:center;justify-content:center}.modal.show{display:flex}.modal-panel{position:relative;background:#fff;border-radius:14px;width:min(620px,90vw);max-height:80vh;overflow:auto;padding:30px;box-shadow:0 24px 70px #09103340}.modal-panel.small{width:min(470px,90vw)}.modal-panel h2{margin:0 0 20px;font-size:21px}.modal-close{position:absolute;right:18px;top:15px;border:0;background:transparent;font-size:24px;color:#8a96aa;cursor:pointer}.add-source{border:1px dashed #a8cfee;color:var(--blue);background:#f6fbff;border-radius:8px;width:100%;padding:12px;font-weight:700;cursor:pointer;margin-top:15px}.source-row{display:flex;align-items:center;gap:12px;padding:12px 5px;border-bottom:1px solid var(--line)}.source-row>div{flex:1}.source-row b{display:block;font-size:13px}.source-row small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.source-icon{width:28px;height:28px;border-radius:7px;background:#edf6fe;color:var(--blue);display:grid;place-items:center;font-size:16px}.source-icon.git{background:#edf0f7;color:var(--navy)}.source-menu{border:0;background:transparent;color:#8a96aa;font-size:18px;cursor:pointer}.source-filter{display:flex;gap:6px;margin:-5px 0 12px}.filter{border:1px solid var(--line);background:#fff;color:var(--muted);font-size:11px;border-radius:5px;padding:6px 8px}.filter.active{background:#edf6fe;color:var(--blue);border-color:#c6e5fa}.source-choice{border:1px solid var(--line);border-radius:9px;padding:14px;margin:9px 0;cursor:pointer}.source-choice:hover{border-color:#8dcaf2;background:#f8fcff}.source-choice b{display:block;font-size:13px}.source-choice small{display:block;color:var(--muted);font-size:11px;margin-top:5px}#githubForm label{display:block;font-size:11px;color:#586681;font-weight:700;margin:12px 0}#githubForm em{font-weight:400;color:#9aa6b9}#githubForm input{display:block;width:100%;margin-top:6px;border:1px solid #dce3ed;border-radius:6px;padding:10px;font:inherit;font-size:13px;outline-color:var(--blue)}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.modal-actions button{border:0;border-radius:6px;padding:10px 14px;font-weight:700;cursor:pointer}.modal-actions button[type=submit]{background:var(--blue);color:#fff}.secondary{background:#f3f6fa;color:#66738c}
