html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}@-ms-viewport{width:device-width}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;text-decoration:underline;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{padding:.2em;background-color:#feffe6}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.sidebar-content{padding:1rem;display:flex;flex-direction:column;height:100%}.new-chat-btn{background:linear-gradient(135deg,#8a88e8,#c4bff2);border:none!important;color:#fff!important;font-weight:700}.new-chat-btn:hover{opacity:.9;color:#fff!important;background:linear-gradient(135deg,#8a88e8,#c4bff2)}.history-section{margin-top:1.875rem;flex-grow:1;overflow-y:auto;max-height:calc(100vh - 12.5rem)}.history-section::-webkit-scrollbar{width:.375rem}.history-section::-webkit-scrollbar-track{background:transparent}.history-section::-webkit-scrollbar-thumb{background-color:#e0e0e0;border-radius:.1875rem}.history-section::-webkit-scrollbar-thumb:hover{background-color:#c7c7c7}.history-item{display:flex;align-items:center;cursor:pointer;padding:.5rem .75rem!important;border-radius:4px;position:relative}.dot-indicator{width:.5rem;height:.5rem;border-radius:50%;margin-right:.75rem;background-color:transparent;border:.125rem solid #8A88E8;transition:background-color .2s ease}.history-item.active .dot-indicator{background-color:#8a88e8;border-color:#8a88e8}.history-item:before{content:"";width:.5rem;height:.5rem;border-radius:50%;background-color:#8a88e8;margin-right:.75rem;position:absolute;left:.75rem;top:50%;transform:translateY(-50%)}.history-item.active:before{background-color:#8a88e8}.history-item:not(.active):before{background-color:transparent;border:.125rem solid #8A88E8}.history-item:hover{background-color:#f0f2f5}.delete-icon{visibility:hidden;color:#888}.history-item:hover .delete-icon,.history-item.active .delete-icon{visibility:visible}@media (max-width: 768px){.delete-icon{visibility:visible!important}}.history-item.active{background-color:#f0effa}.history-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex-grow:1;margin-right:.5rem}.settings-section{margin-top:auto;padding-top:.9375rem}.chat-content{display:flex;flex-direction:column;height:100%;padding:.0625rem;background:#fff;overflow:hidden}.empty-chat{flex-grow:1;display:flex;align-items:center;justify-content:center;text-align:center}.empty-chat-inner{opacity:.5}.message-list{flex-grow:1;overflow-y:auto;padding:1.5625rem;min-height:0}.message-list::-webkit-scrollbar{width:.375rem}.message-list::-webkit-scrollbar-track{background:transparent}.message-list::-webkit-scrollbar-thumb{background-color:#e0e0e0;border-radius:.1875rem}.message-list::-webkit-scrollbar-thumb:hover{background-color:#c7c7c7}.message{display:flex;align-items:flex-start;margin-bottom:1rem}.message.assistant{justify-content:flex-start}.message.user{justify-content:flex-start;flex-direction:row-reverse}.message-text{margin:0 .75rem;padding:.625rem .9375rem;border-radius:1.125rem;max-width:70%}.message.user .message-text{background-color:#dcf8c6}.message.assistant .message-text{background-color:#f0f0f0}.chat-input{background:#fff;width:80%;margin:0 auto;padding-top:1.25rem}.input-footer{text-align:center;font-size:.75rem;color:#aaa;height:3.125rem;line-height:3.125rem}.chat-input .ant-input{font-size:1rem;padding-top:1rem;padding-bottom:1rem;resize:none}.chat-input .ant-input:hover,.chat-input .ant-input:focus{border:.0625rem solid #8A88E8;box-shadow:none!important;outline:0}.loading-indicator{color:#aaa;font-size:.875rem}.code-block-wrapper{position:relative}.copy-code-btn{position:absolute;top:.75rem;right:.75rem;background-color:#4a4a4a;color:#fff;border:none;padding:.25rem .5rem;border-radius:.25rem;cursor:pointer;font-size:.75rem;opacity:0;transition:opacity .2s ease-in-out}.code-block-wrapper:hover .copy-code-btn{opacity:1}.copy-code-btn.copied{background-color:#28a745}.message-text{font-size:.875rem;line-height:1.6}.message-text pre{background-color:#282c34;color:#abb2bf;padding:1em;border-radius:.5rem;overflow-x:auto;font-family:Fira Code,Courier New,Courier,monospace;font-size:.875rem;line-height:1.6;position:relative}.message-text pre::-webkit-scrollbar{height:.5rem}.message-text pre::-webkit-scrollbar-track{background:transparent}.message-text pre::-webkit-scrollbar-thumb{background-color:#555;border-radius:.25rem}.message-text pre::-webkit-scrollbar-thumb:hover{background-color:#777}.message-text code:not(pre>code){background-color:#87837826;color:#eb5757;padding:.2em .4em;margin:0;font-size:85%;border-radius:3px;font-family:Fira Code,Courier New,Courier,monospace}.message-text blockquote{border-left:.1875rem solid #8a88e8;padding-left:1em;margin-left:0;color:#666;font-style:italic}.message-text ul,.message-text ol{padding-left:2em}.message-text table{border-collapse:collapse;width:100%;margin:1em 0;display:block;overflow-x:auto}.message-text th,.message-text td{border:.0625rem solid #dfe2e5;padding:.6em 1em}.message-text tr:nth-child(2n){background-color:#f6f8fa}.message-text th{background-color:#f6f8fa;font-weight:700}.message-text p{margin-bottom:1em}.message-text p:last-child{margin-bottom:0}.mobile-header{background:#fff!important;padding:0 .625rem!important;display:flex;align-items:center;border-bottom:.0625rem solid #f0f0f0}.mobile-header-title{font-size:1.125rem;font-weight:500;text-align:center;width:100%;padding-right:2.8125rem}.ant-drawer-body{padding:0!important}@media (max-width: 767px){.chat-content{padding:0}.message-list{padding:.625rem}.message-text{max-width:80%}.message-list::-webkit-scrollbar{width:.375rem}.message-list::-webkit-scrollbar-track{background:transparent}.message-list::-webkit-scrollbar-thumb{background-color:#e0e0e0;border-radius:.1875rem}.message-list::-webkit-scrollbar-thumb:hover{background-color:#c7c7c7}.chat-input{padding:.625rem;width:100%;border-radius:0;border-top:.0625rem solid #f0f0f0}.input-footer{font-size:.625rem;text-align:center;height:1.5625rem;line-height:1.5625rem}.copy-code-btn{opacity:1;padding:.375rem .625rem}}.input-wrapper{position:relative;width:100%}.voice-icon{position:absolute;right:1rem;top:50%;transform:translateY(-50%);font-size:1.2rem;color:#888;cursor:pointer;transition:color .3s}.voice-icon:hover{color:#333}.voice-icon.listening{color:#1890ff}.blinking-cursor{display:inline-block;width:.5rem;height:1em;background-color:#333;animation:blink 1s step-end infinite;vertical-align:text-bottom;margin-left:.125rem}@keyframes blink{0%,to{background-color:transparent}50%{background-color:#333}}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!
  Theme: GitHub Dark
  Description: Dark theme as seen on github.com
  Author: github.com
  Maintainer: @Hirse
  Updated: 2021-05-15

  Outdated base version: https://github.com/primer/github-syntax-dark
  Current colors taken from GitHub's CSS
*/.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}
