@import"https://fonts.googleapis.com/css2?family=Momo+Trust+Display:wght@400&display=swap";:root{--bg-primary: #222222;--bg-secondary: #202020;--bg-tertiary: #2a2a2a;--text-primary: #ececf1;--text-secondary: #a1a1a1;--border: #2c2c2c;--primary-color: #24f5a5}[data-theme=light]{--bg-primary: #eaeaea;--bg-secondary: #f2f2f2;--bg-tertiary: #eaeaea;--text-primary: #202123;--text-secondary: #6e6e80;--border: #bdbdbd;--primary-color: #3343f3}*{margin:0;padding:0;box-sizing:border-box}body{font-family:DM Sans,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background-color:var(--bg-secondary);color:var(--text-primary);height:100vh;height:100dvh;display:flex;flex-direction:column;transition:background-color .3s,color .3s;overflow:hidden}.header{background-color:var(--bg-primary);padding:12px 20px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:16px;user-select:none}.header h1{font-family:Momo Trust Display,serif;font-size:18px;font-weight:400;background:linear-gradient(90deg,var(--text-primary) 0%,var(--text-primary) 45%,var(--primary-color) 50%,var(--text-primary) 55%,var(--text-primary) 100%);background-size:400% 100%;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;animation:shimmer 12s linear infinite}@keyframes shimmer{0%{background-position:150% 0}to{background-position:-150% 0}}.header-buttons{display:flex;gap:8px}.new-chat-btn{background-color:transparent;border:none;color:var(--text-primary);padding:0;width:32px;height:32px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:opacity .2s}.new-chat-btn:hover{opacity:.7}.theme-toggle-btn{background-color:transparent;border:none;color:var(--text-primary);padding:0;width:32px;height:32px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:opacity .2s}.theme-toggle-btn:hover{opacity:.7}.color-picker-wrapper{position:relative;display:flex;align-items:center}.color-picker-btn{background-color:transparent;border:none;padding:0;cursor:pointer;display:flex;align-items:center;justify-content:center;position:relative;width:32px;height:32px}.color-picker-btn input[type=color]{position:absolute;opacity:0;width:100%;height:100%;cursor:pointer}.color-preview{width:20px;height:20px;border-radius:50%;background-color:var(--primary-color);border:2px solid #ffffff;transition:opacity .2s}[data-theme=light] .color-preview{border-color:#000}.color-picker-btn:hover .color-preview{opacity:.7}.chat-container{flex:1;overflow-y:auto;padding:20px;display:flex;flex-direction:column;opacity:0;transition:opacity .2s ease-in-out}.chat-container.show{opacity:1}.message{padding:24px;margin-bottom:0;display:flex;gap:24px;max-width:800px;width:100%;margin-left:auto;margin-right:auto}.message.user,.message.assistant{background-color:transparent}.message-avatar{width:32px;height:32px;border-radius:4px;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-weight:600;font-size:14px;overflow:hidden}.avatar-img{width:100%;height:100%;object-fit:cover}.message.user .message-avatar{background-color:var(--primary-color);width:41.6px;height:41.6px;border-radius:50%;font-size:24px;box-shadow:0 0 24px color-mix(in srgb,var(--primary-color) 50%,transparent)}.message.assistant .message-avatar{background-color:transparent;width:41.6px;height:41.6px;border-radius:50%;box-shadow:0 0 24px #fff6}[data-theme=light] .message.user .message-avatar,[data-theme=light] .message.assistant .message-avatar{box-shadow:none}.emoji-picker{background-color:var(--bg-tertiary);border:1px solid var(--border);border-radius:8px;padding:8px;display:grid;grid-template-columns:repeat(8,1fr);gap:4px;max-width:320px;box-shadow:0 4px 12px #0000004d;z-index:1000}.emoji-option{background-color:transparent;border:none;font-size:24px;cursor:pointer;padding:8px;border-radius:4px;transition:background-color .2s}.emoji-option:hover{background-color:var(--bg-secondary)}.message-content{flex:1;font-family:DM Sans,sans-serif;line-height:1.6;padding-top:4px}.message-content p{margin-bottom:12px}.message-content p:last-child{margin-bottom:0}.message-content h1,.message-content h2,.message-content h3,.message-content h4,.message-content h5,.message-content h6{font-family:Momo Trust Display,serif;margin-top:16px;margin-bottom:8px;color:var(--text-primary)}.message-content h1{font-size:24px}.message-content h2{font-size:20px}.message-content h3{font-size:18px}.message-content h4{font-size:16px}.message-content h5,.message-content h6{font-size:14px}.message-content ul,.message-content ol{margin:12px 0;padding-left:24px}.message-content li{margin-bottom:6px}.message-content blockquote{border-left:3px solid var(--primary-color);padding-left:12px;margin:12px 0;color:var(--text-secondary);font-style:italic}.message-content hr{border:none;border-top:1px solid var(--border);margin:16px 0}.message-content a{color:var(--primary-color);text-decoration:none;transition:opacity .2s}.message-content a:hover{opacity:.8;text-decoration:underline}.message-content strong{font-weight:600;color:var(--text-primary)}.message-content em{font-style:italic}.message-content pre{background-color:var(--bg-secondary);padding:12px;border-radius:6px;overflow-x:auto;margin:12px 0;border:1px solid var(--border)}.message-content pre code{background-color:transparent;padding:0;border-radius:0}.message-content code{background-color:var(--bg-secondary);padding:2px 6px;border-radius:3px;font-family:Courier New,monospace;font-size:14px;color:var(--primary-color)}.message-content table{border-collapse:separate;border-spacing:0;width:100%;margin:12px 0;font-size:14px}.message-content thead{background-color:transparent}.message-content th{padding:0 8px 12px 0;text-align:left;font-weight:600;border:none}.message-content .table-header-badge{background-color:var(--primary-color);border:1px solid var(--primary-color);border-radius:4px;padding:4px 10px;font-size:12px;font-weight:600;display:inline-block;color:var(--primary-color-text)}.message-content tbody{border:1px solid var(--border);border-radius:6px}.message-content td{padding:8px 12px;border-bottom:1px solid var(--border);color:var(--text-primary);background-color:var(--bg-secondary)}.message-content tbody tr:first-child td:first-child{border-top-left-radius:6px}.message-content tbody tr:first-child td:last-child{border-top-right-radius:6px}.message-content tbody tr:last-child td{border-bottom:none}.message-content tbody tr:last-child td:first-child{border-bottom-left-radius:6px}.message-content tbody tr:last-child td:last-child{border-bottom-right-radius:6px}.message-content td:not(:last-child){border-right:1px solid var(--border)}.message-content tbody tr:hover td{background-color:var(--bg-tertiary)}.tool-badge{display:flex;justify-content:center;margin:12px 0;opacity:0;animation:fadeIn .3s ease-in forwards}.tool-badge .badge-content{background-color:var(--primary-color);color:#000;padding:6px 14px;border-radius:20px;font-size:13px;font-weight:500;display:inline-flex;align-items:center;gap:6px}@keyframes fadeIn{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.tool-iframe-container{max-width:800px;width:100%;height:60vh!important;min-height:60vh;max-height:60vh;margin:20px auto;border-radius:12px;overflow:hidden;background-color:var(--bg-tertiary);border:1px solid var(--border);position:relative}.tool-iframe-fullscreen,.tool-iframe-close{position:absolute;top:12px;background:var(--primary-color);border:none;color:var(--primary-color-text);font-size:24px;cursor:pointer;padding:0;width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:opacity .2s;z-index:10}.tool-iframe-fullscreen{right:56px}.tool-iframe-fullscreen svg{width:16px;height:16px;color:var(--primary-color-text)}.tool-iframe-close{right:12px}.tool-iframe-fullscreen:hover,.tool-iframe-close:hover{opacity:.8}.tool-iframe-container:fullscreen{background-color:var(--bg-primary);padding:0;margin:0;border-radius:0;border:none;max-width:100%;width:100%;height:100vh!important;height:100dvh!important;min-height:100vh;min-height:100dvh;max-height:100vh;max-height:100dvh}.tool-iframe-container:fullscreen .tool-iframe{border-radius:0}.tool-iframe{width:100%!important;height:100%!important;min-height:100%;border:none;display:block;background-color:var(--bg-primary)}.empty-state{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px 20px;user-select:none}.empty-state h2{font-family:Momo Trust Display,serif;font-size:32px;font-weight:400;margin-bottom:20px;background:linear-gradient(90deg,var(--text-primary) 0%,var(--text-primary) 40%,var(--primary-color) 50%,var(--text-primary) 60%,var(--text-primary) 100%);background-size:300% 100%;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-position:-300% 0%;cursor:default}.example-prompts{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;max-width:600px;margin:20px auto 0}@media(min-width:769px){.example-prompts .example-prompt:last-child:nth-child(odd){grid-column:1 / -1;max-width:calc(50% - 6px);margin:0 auto}}.example-prompt{background-color:var(--bg-tertiary);padding:12px 16px;border-radius:12px;cursor:pointer;border:1px solid var(--border);position:relative;overflow:hidden;transition:transform .8s,border-color .8s,box-shadow .8s;user-select:none}.example-prompt:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,var(--primary-color),transparent);opacity:0;transition:all 2s ease}.example-prompt:hover{border-color:var(--primary-color);transform:translateY(-2px);box-shadow:0 4px 12px #00000026,0 0 20px color-mix(in srgb,var(--primary-color) 50%,transparent)}[data-theme=light] .example-prompt:hover{box-shadow:0 4px 12px #00000026}.example-prompt:hover:before{left:100%;opacity:.1}.example-prompt-title{font-family:Momo Trust Display,serif;font-weight:400;margin-bottom:6px;font-size:14px}.example-prompt-text{font-family:DM Sans,sans-serif;font-size:13px;color:var(--text-secondary)}.input-container{background-color:var(--bg-primary);padding:20px 20px 12px;border-top:1px solid var(--border)}.input-wrapper{max-width:800px;margin:0 auto;position:relative}.footer-text{text-align:center;font-size:12px;color:var(--text-secondary);margin-top:12px;font-family:DM Sans,sans-serif}.footer-text a{color:var(--text-secondary);text-decoration:none;transition:color .2s}.footer-text a:hover{color:var(--text-primary)}.page-container{flex:1;overflow-y:auto;padding:20px;display:flex;flex-direction:column;opacity:0;transition:opacity .2s ease-in-out}.page-container.show{opacity:1}.page-content{max-width:800px;width:100%;margin:0 auto;padding:20px}.page-content h2{font-family:Momo Trust Display,serif;font-size:18px;font-weight:400;margin-bottom:6px;margin-top:16px;color:var(--text-primary)}.page-content h2:first-child{margin-top:0}.page-content h3{font-family:DM Sans,sans-serif;font-size:13px;font-weight:600;margin-top:12px;margin-bottom:4px;color:var(--text-primary)}.page-content h4{font-family:DM Sans,sans-serif;font-size:12px;font-weight:600;margin-top:8px;margin-bottom:3px;color:var(--text-primary)}.page-content p{font-family:DM Sans,sans-serif;font-size:11px;line-height:1.4;color:var(--text-secondary);margin-bottom:4px}.page-content em{color:var(--text-secondary);font-style:italic;font-size:10px}.input-box{width:100%;background-color:var(--bg-secondary);border:1px solid var(--border);border-radius:8px;padding:12px 50px 12px 16px;color:var(--text-primary);font-size:16px;font-family:inherit;resize:none;outline:none;height:auto;min-height:48px;max-height:200px;overflow-y:hidden;line-height:1.5;box-sizing:border-box;transition:border-color .2s,border-width .2s,padding .2s,box-shadow .2s}.input-box:focus{border:3px solid var(--primary-color);padding:10px 48px 10px 14px;box-shadow:0 0 24px color-mix(in srgb,var(--primary-color) 50%,transparent)}[data-theme=light] .input-box:focus{box-shadow:none}.input-box::placeholder{color:var(--text-secondary)}.send-btn{position:absolute;right:12px;bottom:13px;background-color:var(--primary-color);border:none;width:32px;height:32px;border-radius:6px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background-color .2s ease,opacity .2s ease}.send-btn:hover:not(:disabled){opacity:.8}.send-btn:disabled{background-color:var(--border);cursor:not-allowed;opacity:.5}.send-btn svg{width:18px;height:18px;fill:var(--primary-color-text);transition:fill .2s ease}.send-btn:disabled svg{fill:var(--text-secondary)}.typing-indicator{display:flex;gap:4px;padding:8px 0}.typing-indicator span{width:8px;height:8px;background-color:var(--text-secondary);border-radius:50%;animation:typing 1.4s infinite}.typing-indicator span:nth-child(2){animation-delay:.2s}.typing-indicator span:nth-child(3){animation-delay:.4s}@keyframes typing{0%,60%,to{opacity:.3}30%{opacity:1}}@media(max-width:768px){.header{padding:12px 16px}.chat-container{padding:16px}.message{padding:20px 16px}.example-prompts{grid-template-columns:1fr}.input-box{font-size:16px}.scroll-to-bottom{bottom:140px}}.scroll-to-bottom{position:absolute;bottom:120px;left:50%;transform:translate(-50%);background-color:var(--bg-tertiary);border:1px solid var(--border);border-radius:50%;width:40px;height:40px;display:none;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;box-shadow:0 2px 8px #0000004d;z-index:100}.scroll-to-bottom:hover{opacity:.8}.scroll-to-bottom.show{display:flex}.scroll-to-bottom svg{width:20px;height:20px;fill:var(--text-primary)}
