*{box-sizing:border-box}html,body,#root{width:100%;height:100%}body{color:#eceff3;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;background:#0b0d10;margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,textarea,select{font:inherit}button{cursor:pointer}.app{width:100%;height:100vh;display:flex;overflow:hidden}aside{background:#111418;border-right:1px solid #252a31;flex-direction:column;flex-shrink:0;width:260px;padding:14px;display:flex}.brand{letter-spacing:-.01em;color:#f2f4f7;padding:12px 10px 22px;font-size:15px;font-weight:700}.new{color:#eef1f5;background:#191e24;border:1px solid #343a43;border-radius:10px;width:100%;padding:10px 12px;font-size:14px;font-weight:500;transition:background .15s,border-color .15s,transform .15s}.new:hover{background:#20262e;border-color:#414852}.new:active{transform:scale(.985)}.history{flex-direction:column;gap:3px;margin-top:18px;display:flex;overflow:hidden auto}.history::-webkit-scrollbar{width:5px}.history::-webkit-scrollbar-thumb{background:#2b3139;border-radius:10px}.history-item{border-radius:9px;align-items:center;min-width:0;display:flex;position:relative}.history-item>button:first-child{color:#aeb5bf;text-align:left;white-space:nowrap;text-overflow:ellipsis;background:0 0;border:0;border-radius:9px;width:100%;min-width:0;padding:9px 34px 9px 11px;font-size:13px;transition:background .15s,color .15s;overflow:hidden}.history-item>button:first-child:hover{color:#e5e9ee;background:#1b2026}.history-item>button:first-child.active{color:#f1f3f5;background:#242a32}.delete-chat{color:#7e8792;opacity:0;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;width:24px;height:24px;font-size:16px;line-height:1;transition:opacity .15s,background .15s,color .15s;display:flex;position:absolute;top:50%;right:5px;transform:translateY(-50%)}.history-item:hover .delete-chat{opacity:1}.delete-chat:hover{color:#f0f2f4;background:#30363f}.sidebottom{margin-top:auto;padding-top:12px}.sidebottom button{color:#858e99;text-align:left;background:0 0;border:0;border-radius:9px;width:100%;padding:9px 11px;font-size:13px;transition:background .15s,color .15s}.sidebottom button:hover{color:#dce1e6;background:#1b2026}.main{background:#0b0d10;flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}header{background:#0b0d10eb;border-bottom:1px solid #252a31;flex-shrink:0;align-items:center;gap:10px;height:58px;padding:0 18px;display:flex}header>span{color:#eef1f4;margin-right:auto;font-size:14px;font-weight:600}header select{color:#dfe3e8;background:#15191e;border:1px solid #303640;border-radius:8px;outline:none;max-width:260px;padding:7px 30px 7px 10px;font-size:12px;transition:border-color .15s,background .15s}header select:hover{background:#1a1f25;border-color:#3c434d}header select:focus{border-color:#4a535f}header>button{color:#8e97a2;background:0 0;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;font-size:17px;transition:background .15s,color .15s,border-color .15s;display:flex}header>button:hover{color:#e4e8ec;background:#1a1f25;border-color:#303640}.messages{scroll-behavior:smooth;flex:1;min-height:0;padding:30px max(18px,50% - 425px) 42px;overflow:hidden auto}.messages::-webkit-scrollbar{width:7px}.messages::-webkit-scrollbar-track{background:0 0}.messages::-webkit-scrollbar-thumb{background:#272d35;border-radius:10px}.messages::-webkit-scrollbar-thumb:hover{background:#353c46}.messages article{flex-direction:column;align-items:flex-start;margin:22px 0;display:flex}.messages article.user{align-items:flex-end}.bubble{color:#e5e8ec;white-space:normal;overflow-wrap:break-word;border-radius:15px;max-width:82%;padding:11px 15px;line-height:1.65}.assistant .bubble{color:#dfe3e8;background:0 0;max-width:100%;padding:0}.user .bubble{color:#f0f2f4;white-space:pre-wrap;background:#272d35;border-radius:16px 16px 5px;max-width:78%;padding:10px 14px;line-height:1.55}.assistant .bubble p{margin:0 0 13px}.assistant .bubble p:last-child{margin-bottom:0}.assistant .bubble h1,.assistant .bubble h2,.assistant .bubble h3,.assistant .bubble h4{color:#f1f3f5;margin-top:22px;margin-bottom:10px;line-height:1.35}.assistant .bubble h1{font-size:24px}.assistant .bubble h2{font-size:20px}.assistant .bubble h3{font-size:17px}.assistant .bubble h4{font-size:15px}.assistant .bubble strong{color:#f1f3f5;font-weight:650}.assistant .bubble a{color:#8ab4ff;text-decoration:none}.assistant .bubble a:hover{text-decoration:underline}.assistant .bubble ul,.assistant .bubble ol{margin:10px 0 14px;padding-left:25px}.assistant .bubble li{margin:5px 0}.assistant .bubble li>p{margin-bottom:5px}.assistant .bubble blockquote{color:#aeb6c0;border-left:3px solid #3b424c;margin:14px 0;padding:8px 0 8px 14px}.assistant .bubble blockquote p{margin:0}.assistant .bubble hr{border:0;border-top:1px solid #2b3139;margin:22px 0}.assistant .bubble :not(pre)>code{color:#e1b7ff;background:#191e24;border:1px solid #303640;border-radius:5px;padding:2px 5px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.88em}.assistant .bubble img{border:1px solid #2a3038;border-radius:12px;max-width:100%;height:auto;margin:14px 0;display:block}.assistant .bubble table{border-collapse:collapse;width:100%;margin:16px 0;font-size:13px;overflow:hidden}.assistant .bubble th,.assistant .bubble td{text-align:left;border:1px solid #303640;padding:8px 11px}.assistant .bubble th{color:#eef1f4;background:#181d23;font-weight:600}.assistant .bubble td{color:#cdd2d8;background:#101419}.code-block{background:#0d1117;border:1px solid #2b3139;border-radius:11px;width:100%;max-width:100%;margin:15px 0;overflow:hidden;box-shadow:0 2px 8px #0000002e}.code-header{color:#8f98a3;background:#161b22;border-bottom:1px solid #2b3139;justify-content:space-between;align-items:center;min-height:34px;padding:5px 9px 5px 11px;font-size:11px;display:flex}.code-header span{color:#8f98a3;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.code-header button{color:#9da6b1;background:0 0;border:0;border-radius:6px;padding:4px 7px;font-size:11px;transition:background .15s,color .15s}.code-header button:hover{color:#fff;background:#292f37}.code-block pre{white-space:pre;max-width:100%;margin:0;padding:13px 14px;font-size:13px;line-height:1.6;overflow:auto}.code-block code{white-space:pre;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:13px;line-height:1.6}.code-block pre::-webkit-scrollbar{height:7px}.code-block pre::-webkit-scrollbar-track{background:0 0}.code-block pre::-webkit-scrollbar-thumb{background:#303640;border-radius:10px}.copy-message{color:#737d89;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;margin-top:7px;padding:4px 8px;font-size:11px;transition:background .15s,border-color .15s,color .15s}.copy-message:hover{color:#c8ced5;background:#181d23;border-color:#2b3139}.composer{background:linear-gradient(#0b0d1000,#0b0d10 18%);flex-shrink:0;padding:10px max(18px,50% - 425px) 18px}.inputrow{background:#15191e;border:1px solid #343a43;border-radius:17px;align-items:flex-end;gap:7px;min-height:58px;padding:7px;transition:border-color .15s,background .15s,box-shadow .15s;display:flex;box-shadow:0 4px 20px #0000002e}.inputrow:focus-within{background:#171b20;border-color:#4a525d;box-shadow:0 5px 24px #0000003d}.inputrow textarea{resize:none;color:#f1f3f5;scrollbar-width:thin;background:0 0;border:0;outline:0;flex:1;min-width:0;min-height:42px;max-height:180px;padding:10px;line-height:1.5}.inputrow textarea::placeholder{color:#737c87}.inputrow textarea:focus::placeholder{color:#66707b}.attach{color:#8d96a1;cursor:pointer;border-radius:11px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;font-size:21px;transition:background .15s,color .15s;display:flex}.attach:hover{color:#e1e5e9;background:#20252c}.attach input{display:none}.attachments{flex-wrap:wrap;gap:7px;margin-bottom:8px;display:flex}.attachments span{color:#b9c0c8;background:#1b2026;border:1px solid #303640;border-radius:8px;padding:5px 8px;font-size:12px}.inputrow>button{color:#111418;background:#e8eaed;border:0;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;font-size:20px;font-weight:600;transition:background .15s,transform .15s,opacity .15s;display:flex}.inputrow>button:hover{background:#fff}.inputrow>button:active{transform:scale(.94)}.welcome{text-align:center;color:#8f98a3;margin-top:18vh}.welcome h2{color:#eef1f4;letter-spacing:-.02em;margin-bottom:8px;font-size:30px;font-weight:650}.login,.center{background:#0b0d10;place-items:center;width:100%;height:100vh;display:grid}.login form{text-align:center;background:#13171c;border:1px solid #292f37;border-radius:18px;width:330px;padding:32px;box-shadow:0 15px 45px #0000004d}.logo{font-size:36px}.login input{color:#fff;background:#0d1014;border:1px solid #303640;border-radius:10px;outline:0;width:100%;margin:18px 0 10px;padding:12px}.login input:focus{border-color:#4a535f}.login button{border:0;border-radius:10px;width:100%;padding:12px}@media (width<=700px){aside{display:none}.messages{padding:20px 12px 30px}.composer{padding:8px 12px 12px}.bubble{max-width:92%}.user .bubble{max-width:88%}.assistant .bubble{max-width:100%}header{padding:0 12px}header select{max-width:180px}.code-block pre,.code-block code{font-size:12px}}.hljs{color:#c9d1d9;background:#0d1117}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#ff7b72}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#d2a8ff}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#79c0ff}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#a5d6ff}.hljs-built_in,.hljs-symbol{color:#ffa657}.hljs-comment,.hljs-code,.hljs-formula{color:#8b949e}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#7ee787}.hljs-subst{color:#c9d1d9}.hljs-section{color:#1f6feb;font-weight:700}.hljs-bullet{color:#f2cc60}.hljs-emphasis{color:#c9d1d9;font-style:italic}.hljs-strong{color:#c9d1d9;font-weight:700}.hljs-addition{color:#aff5b4;background-color:#033a16}.hljs-deletion{color:#ffdcd7;background-color:#67060c}
