*{box-sizing:border-box;margin:0;padding:0}:root{color:#ececec;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--bg-primary:#212121;--bg-secondary:#171717;--bg-tertiary:#2f2f2f;--bg-hover:#383838;--text-primary:#ececec;--text-secondary:#a1a1a1;--border-color:#3a3a3a;--accent:#10a37f;--danger:#ef4444;background:#212121;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}html,body,#root{width:100%;min-width:320px;height:100%;min-height:100%}body{background:var(--bg-primary);min-height:100vh;color:var(--text-primary);overflow:hidden}button,input,textarea,select{font:inherit}button{color:inherit;cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}ul{list-style:none}::selection{color:#fff;background:#087f65}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-thumb{background:#4a4a4a;border-radius:10px}::-webkit-scrollbar-track{background:0 0}.app{background:var(--bg-primary);width:100%;height:100dvh;color:var(--text-primary);display:flex;overflow:hidden}.app>*{min-width:0;min-height:0}button{transition:background-color .2s,border-color .2s,opacity .2s}button:disabled{cursor:not-allowed;opacity:.5}@media (width<=768px){.app{position:relative}}.sidebar{z-index:10;color:#fff;background-color:#171717;border-right:1px solid #2b2b2b;flex-direction:column;flex:0 0 267px;width:267px;min-width:267px;height:100%;padding:10px;display:flex;position:relative;overflow:hidden}.sidebar>button{color:#fff;cursor:pointer;background-color:#0000;border:1px solid #444;border-radius:8px;flex-shrink:0;justify-content:space-between;align-items:center;gap:10px;width:100%;min-height:44px;margin:0 0 15px;padding:0 12px;transition:background-color .2s,border-color .2s;display:flex}.sidebar>button:hover{background-color:#b4b4b414;border-color:#666}.sidebar>button img{object-fit:contain;flex-shrink:0;width:28px;height:28px}.sidebar>button i{color:#ddd;font-size:17px}.history{flex-direction:column;flex:1;gap:4px;min-height:0;margin:0;padding:0;list-style:none;display:flex;overflow:hidden auto}.history li{color:#e5e5e5;overflow-wrap:anywhere;cursor:pointer;border:1px solid #0000;border-radius:7px;justify-content:space-between;align-items:center;gap:8px;min-height:40px;padding:10px;font-size:14px;line-height:1.4;transition:background-color .2s,border-color .2s;display:flex;position:relative}.history li:hover,.history li.highlighted{background-color:#2f2f2f}.history li.highlighted{border-color:#3a3a3a}.history li .fa-trash{color:#aaa;opacity:0;cursor:pointer;border-radius:5px;flex-shrink:0;margin:0;padding:6px;font-size:13px;transition:opacity .2s,color .2s,background-color .2s;position:static}.history li:hover .fa-trash,.history li .fa-trash:focus-visible{opacity:1}.history li .fa-trash:hover{color:#f87171;background-color:#482626}.sign{text-align:center;border-top:1px solid #333;flex-shrink:0;width:100%;margin-top:10px;padding:12px 0 4px}.sign p{color:#999;margin:0;font-size:13px}@media (width<=768px){.sidebar{flex-basis:230px;width:230px;min-width:230px;padding:10px 8px}.history li{padding:9px 8px;font-size:13px}.history li .fa-trash{opacity:1}}@media (width<=480px){.sidebar{flex-basis:180px;width:180px;min-width:180px;padding:8px 6px}.sidebar>button{padding:0 8px}.history li{padding:8px 6px;font-size:12px}.history li .fa-trash{opacity:1}}.chatWindow{color:#ececec;text-align:center;background-color:#212121;flex-direction:column;flex:1;justify-content:space-between;align-items:center;min-width:0;height:100%;min-height:0;display:flex;position:relative;overflow:hidden}.navbar{background-color:#212121;border-bottom:1px solid #2c2c2c;flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:60px;padding:8px 24px;display:flex}.navbar span{color:#ececec;margin:0}.userIconDiv{align-items:center;gap:10px;margin:0;display:flex}.userIcon{color:#fff;cursor:pointer;background-color:#339cff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.dropDown{z-index:1000;color:#ececec;text-align:left;background-color:#2b2b2b;border:1px solid #414141;border-radius:10px;width:170px;padding:6px;position:absolute;top:58px;right:24px;box-shadow:0 8px 24px #00000040}.dropDownItem{cursor:pointer;border-radius:6px;margin:2px 0;padding:10px;font-size:14px;transition:background-color .2s}.dropDownItem:hover{background-color:#3a3a3a}.authButtons{justify-content:flex-end;align-items:center;gap:10px;display:flex}.authButtons button{color:#ececec;cursor:pointer;background-color:#2f2f2f;border:1px solid #454545;border-radius:8px;min-height:36px;padding:8px 15px;font-size:14px;transition:background-color .2s,border-color .2s}.authButtons button:hover{background-color:#404040;border-color:#606060}.chatInput{background-color:#212121;flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;gap:8px;width:100%;padding:12px 24px 8px;display:flex}.info{color:#a1a1a1;text-align:center;width:100%;max-width:800px;margin:0;padding:4px 8px;font-size:12px;line-height:1.5}@media (width<=768px){.navbar{min-height:56px;padding:8px 14px}.dropDown{right:14px}.chatInput{padding:10px 14px 6px}.info{font-size:11px}}@media (width<=480px){.navbar{gap:8px;padding:8px 10px}.authButtons{gap:6px}.authButtons button{min-height:32px;padding:6px 10px;font-size:12px}.chatInput{padding:8px 10px 5px}.info{font-size:10px}}.navbar>span{white-space:nowrap;align-items:center;gap:8px;font-size:17px;font-weight:600;display:flex}.navbar>span i{color:#999;font-size:12px}@media (width<=480px){.navbar>span{gap:5px;font-size:14px}}.chat-loader-overlay{z-index:20;pointer-events:none;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}@media (width<=768px){.chat-loader-overlay{padding:0 14px 6px}}@media (width<=480px){.chat-loader-overlay{padding:0 10px 5px}}.selectedFile{color:#f5f5f5;text-align:left;background:#292929;border:1px solid #3a3a3a;border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;width:100%;max-width:800px;margin:0 auto 8px;padding:12px 16px;transition:border-color .2s;display:flex}.selectedFile:hover{border-color:#505050}.fileInfo{flex:1;align-items:center;gap:12px;min-width:0;display:flex}.fileInfo .fa-file-pdf{color:#ff7070;flex-shrink:0;font-size:24px}.fileDetails{flex-direction:column;gap:5px;min-width:0;display:flex}.fileDetails>span{overflow-wrap:anywhere;color:#f5f5f5;font-size:13px;font-weight:500;line-height:1.5}.fileDetails small{font-size:12px;line-height:1.5}.documentStatus{align-items:center;gap:6px;display:inline-flex}.documentStatus.queued{color:#f4c66a}.documentStatus.processing{color:#75baff}.documentStatus.completed{color:#70dfa0}.documentStatus.failed,.statusError{color:#ff8585}.statusError{overflow-wrap:anywhere;width:100%;font-size:12px;line-height:1.5}.removeFile{color:#aaa;cursor:pointer;background:0 0;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;padding:0;transition:background-color .2s,color .2s;display:flex}.removeFile:hover{color:#fff;background:#414141}.removeFile:focus-visible{outline-offset:2px;outline:2px solid #10a37f}@media (width<=480px){.selectedFile{gap:8px;padding:10px 12px}.fileInfo{gap:9px}.fileInfo .fa-file-pdf{font-size:21px}.fileDetails>span{font-size:12px}}.inputBox{align-items:center;width:100%;max-width:800px;margin:0 auto;display:flex;position:relative}.fileInput{display:none}.attachButton{z-index:2;color:#b4b4b4;cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;width:35px;height:35px;padding:0;font-size:20px;transition:background-color .2s,color .2s;display:flex;position:absolute;left:12px}.attachButton:hover:not(:disabled){color:#fff;background-color:#ffffff1a}.attachButton:disabled{opacity:.5;cursor:not-allowed}.messageInput{color:#f5f5f5;background-color:#2b2b2b;border:1px solid #383838;border-radius:16px;outline:none;width:100%;min-width:0;min-height:58px;padding:18px 62px 18px 55px;font-size:14px;line-height:1.5;transition:border-color .2s,background-color .2s,box-shadow .2s;box-shadow:0 4px 18px #00000026}.messageInput::placeholder{color:#929292}.messageInput:hover{border-color:#505050}.messageInput:focus{background-color:#2e2e2e;border-color:#666;outline:none;box-shadow:0 0 0 2px #ffffff08}#submit{appearance:none;color:#212121;cursor:pointer;background:#ececec;border:none;border-radius:50%;justify-content:center;align-items:center;width:35px;height:35px;padding:0;font-size:18px;transition:background-color .2s,color .2s,transform .2s;display:flex;position:absolute;right:12px}#submit:hover:not(:disabled){background:#fff;transform:scale(1.05)}#submit:disabled{opacity:.4;cursor:not-allowed}#submit i,#submit i:hover{color:inherit}@media (width<=768px){.messageInput{min-height:54px;padding:15px 56px 15px 48px;font-size:14px}.attachButton{width:32px;height:32px;font-size:18px;left:8px}#submit{width:33px;height:33px;right:8px}}@media (width<=480px){.messageInput{border-radius:13px;min-height:50px;padding:13px 48px 13px 42px;font-size:13px}.attachButton{width:30px;height:30px;font-size:17px;left:5px}#submit{width:30px;height:30px;font-size:16px;right:6px}}.chats{box-sizing:border-box;scrollbar-width:thin;scrollbar-color:#555 transparent;color:#ececec;flex:1;width:100%;max-width:960px;min-height:0;margin:0 auto;padding:32px 28px;font-size:15px;line-height:1.75;overflow:hidden auto}.chats::-webkit-scrollbar{width:7px}.chats::-webkit-scrollbar-track{background:0 0}.chats::-webkit-scrollbar-thumb{background:#555;border-radius:10px}.chats::-webkit-scrollbar-thumb:hover{background:#777}.userDiv{justify-content:flex-end;margin:24px 0;display:flex}.gptDiv{text-align:left;overflow-wrap:anywhere;width:100%;min-width:0;margin:28px 0 36px}.userMessage{box-sizing:border-box;color:#f5f5f5;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;background:#323232;border-radius:18px;width:fit-content;max-width:min(80%,620px);margin:0;padding:10px 17px;font-size:15px;line-height:1.6}.gptDiv p{margin:0 0 16px}.gptDiv p:last-child{margin-bottom:0}.gptDiv h1,.gptDiv h2,.gptDiv h3,.gptDiv h4{color:#fff;margin:28px 0 14px;font-weight:650;line-height:1.35}.gptDiv h1{font-size:1.8rem}.gptDiv h2{font-size:1.45rem}.gptDiv h3{font-size:1.2rem}.gptDiv h4{font-size:1.05rem}.gptDiv h1:first-child,.gptDiv h2:first-child,.gptDiv h3:first-child,.gptDiv h4:first-child{margin-top:0}.gptDiv strong{color:#fff;font-weight:700}.gptDiv em{color:#e4e4e7}.gptDiv ul,.gptDiv ol{margin:12px 0 20px;padding-left:28px}.gptDiv li{margin:6px 0;padding-left:4px}.gptDiv li>p{margin:4px 0}.gptDiv li::marker{color:#a3a3a3}.gptDiv :not(pre)>code{color:#f0abfc;overflow-wrap:anywhere;background:#303030;border:1px solid #3d3d3d;border-radius:5px;padding:3px 6px;font-family:Consolas,Courier New,monospace;font-size:.88em}.gptDiv pre{white-space:pre;overflow-wrap:normal;background:#111315;border:1px solid #383838;border-radius:12px;max-width:100%;margin:18px 0 24px;padding:18px;line-height:1.6;overflow-x:auto}.gptDiv pre code{color:#e5e7eb;white-space:pre;background:0 0;border:0;padding:0;font-family:Consolas,Courier New,monospace;font-size:13px}.gptDiv .hljs{border-radius:8px}.gptDiv table{border-collapse:collapse;border-spacing:0;width:100%;margin:20px 0 26px;font-size:14px;display:block;overflow-x:auto}.gptDiv th,.gptDiv td{text-align:left;vertical-align:top;border:1px solid #424242;min-width:110px;padding:11px 14px}.gptDiv th{color:#fff;background:#303030;font-weight:650}.gptDiv tr:nth-child(2n) td{background:#252525}.gptDiv blockquote{color:#c9c9c9;border-left:3px solid #777;margin:18px 0;padding:4px 0 4px 16px}.gptDiv blockquote p{margin:6px 0}.gptDiv hr{border:0;border-top:1px solid #414141;margin:24px 0}.gptDiv a{color:#8ab4f8;text-underline-offset:3px;text-decoration:underline}.gptDiv a:hover{color:#b6d0ff}.gptDiv img{border-radius:10px;max-width:100%;height:auto;display:block}@media (width<=768px){.chats{padding:24px 16px;font-size:14px}.userMessage{max-width:90%;padding:9px 14px}.gptDiv{margin:22px 0 28px}.gptDiv h1{font-size:1.55rem}.gptDiv h2{font-size:1.3rem}.gptDiv h3{font-size:1.1rem}.gptDiv pre{padding:13px}.gptDiv th,.gptDiv td{padding:9px 11px}}@media (width<=480px){.chats{padding:18px 10px;font-size:14px}.userDiv{margin:18px 0}.userMessage{max-width:94%;padding:9px 12px;font-size:14px}.gptDiv{margin:20px 0 26px}.gptDiv pre{padding:10px}.gptDiv pre code,.gptDiv table{font-size:12px}.gptDiv th,.gptDiv td{min-width:90px;padding:8px}}pre code.hljs{padding:1em;display:block;overflow-x:auto}code.hljs{padding:3px 5px}.hljs{color:#24292e;background:#fff}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#005cc5}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#032f62}.hljs-built_in,.hljs-symbol{color:#e36209}.hljs-comment,.hljs-code,.hljs-formula{color:#6a737d}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#22863a}.hljs-subst{color:#24292e}.hljs-section{color:#005cc5;font-weight:700}.hljs-bullet{color:#735c0f}.hljs-emphasis{color:#24292e;font-style:italic}.hljs-strong{color:#24292e;font-weight:700}.hljs-addition{color:#22863a;background-color:#f0fff4}.hljs-deletion{color:#b31d28;background-color:#ffeef0}.auth-container{box-sizing:border-box;background:#0d0d0d;justify-content:center;align-items:center;width:100%;min-height:100vh;padding:20px;display:flex}.auth-form{box-sizing:border-box;color:#fff;background:#181818;border:1px solid #2d2d2d;border-radius:20px;flex-direction:column;width:100%;max-width:420px;padding:40px;animation:.4s loginAppear;display:flex;box-shadow:0 25px 70px #00000080}.auth-form h1{text-align:center;color:#f5f5f5;margin:0 0 30px;font-size:30px;font-weight:700}.auth-form input{box-sizing:border-box;color:#fff;background:#111;border:1px solid #333;border-radius:12px;outline:none;width:100%;height:52px;margin-bottom:14px;padding:0 16px;font-size:14px;transition:all .25s}.auth-form input::placeholder{color:#777}.auth-form input:focus{border-color:#7c3aed;box-shadow:0 0 0 3px #7c3aed1f}.auth-form button{color:#fff;cursor:pointer;background:linear-gradient(135deg,#7c3aed,#2563eb);border:none;border-radius:12px;width:100%;height:50px;margin-top:10px;font-size:15px;font-weight:600;transition:all .25s}.auth-form button:hover{transform:translateY(-2px);box-shadow:0 12px 30px #7c3aed4d}.auth-form button:active{transform:translateY(0)}.auth-form p{text-align:center;color:#888;margin:22px 0 0;font-size:13px}.auth-form p span{color:#a78bfa;cursor:pointer;margin-left:5px;font-weight:600;transition:all .2s}.auth-form p span:hover{color:#c4b5fd;text-decoration:underline}.auth-form input:-webkit-autofill{-webkit-text-fill-color:#fff;transition:background-color 9999s ease-in-out;-webkit-box-shadow:inset 0 0 0 1000px #111}.auth-form input:-webkit-autofill:hover{-webkit-text-fill-color:#fff;transition:background-color 9999s ease-in-out;-webkit-box-shadow:inset 0 0 0 1000px #111}.auth-form input:-webkit-autofill:focus{-webkit-text-fill-color:#fff;transition:background-color 9999s ease-in-out;-webkit-box-shadow:inset 0 0 0 1000px #111}@keyframes loginAppear{0%{opacity:0;transform:translateY(15px)}to{opacity:1;transform:translateY(0)}}@media (width<=500px){.auth-form{padding:30px 22px}.auth-form h1{font-size:26px}}
