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}:root{--theme-primary: #1677ff;--theme-background: #ffffff;--theme-surface: #fafafa;--theme-text: #262626;--theme-text-secondary: #8c8c8c;--theme-border: #f0f0f0;--theme-sidebar: #ffffff;--theme-message: #ffffff;--theme-user-message: #1677ff}html,body{margin:0;padding:0;background:var(--theme-background);color:var(--theme-text);transition:background-color .3s ease,color .3s ease;overflow-x:hidden;width:100%;box-sizing:border-box;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;line-height:1.6}.ant-bubble[data-role=assistant] .markdown-content,.ant-bubble[data-role=assistant] .markdown-content p,.ant-bubble[data-role=assistant] .markdown-content span,.ant-bubble[data-role=assistant] .markdown-content div,.ant-bubble[data-role=assistant] .markdown-content li,.ant-bubble[data-role=assistant] .assistant-bubble-content,.assistant-bubble-content,.assistant-bubble-content p,.assistant-bubble-content span,.assistant-bubble-content div,.ant-bubble[data-role=user] .ant-bubble-content,.ant-bubble[data-role=user] .user-bubble-content,.user-bubble-content,.user-bubble-content p,.user-bubble-content span,.user-bubble-content div,.ant-bubble-content.user-bubble-content,.ant-bubble-content.user-bubble-content p,.ant-bubble-content.user-bubble-content span,.ant-bubble-content.user-bubble-content div{font-size:17px!important}@supports (-webkit-touch-callout: none){html,body{min-height:-webkit-fill-available}}#app{background:var(--theme-background);min-height:100vh;min-height:-webkit-fill-available;transition:background-color .3s ease;width:100%;overflow-x:hidden;box-sizing:border-box}*,.chat-container,.sidebar,.chat-main,.input-box,.tool-btn,.send-btn{transition:background-color .3s ease,color .3s ease,border-color .3s ease}.settings-modal{background:transparent}.theme-dark .settings-modal :deep(.ant-modal-content),.dark-theme-modal :deep(.ant-modal-content){background-color:#141414!important;color:#fff!important;border:1px solid #434343!important}.theme-dark .settings-modal :deep(.ant-modal-header),.dark-theme-modal :deep(.ant-modal-header){background-color:#141414!important;color:#fff!important;border-bottom:1px solid #434343!important}.theme-dark .settings-modal :deep(.ant-modal-body),.dark-theme-modal :deep(.ant-modal-body){background-color:#141414!important;color:#fff!important}.theme-dark .settings-modal :deep(.ant-tabs-content-holder),.theme-dark .settings-modal :deep(.ant-tabs-tabpane),.dark-theme-modal :deep(.ant-tabs-content-holder),.dark-theme-modal :deep(.ant-tabs-tabpane){background-color:#141414!important}.theme-dark .settings-modal .tab-content,.theme-dark .settings-modal .setting-group,.theme-dark .settings-modal .setting-item,.theme-dark .settings-modal .about-section,.dark-theme-modal .tab-content,.dark-theme-modal .setting-group,.dark-theme-modal .setting-item,.dark-theme-modal .about-section{background-color:#141414!important;color:#fff!important}.theme-dark .settings-modal .group-title,.theme-dark .settings-modal .setting-label,.dark-theme-modal .group-title,.dark-theme-modal .setting-label{color:#fff!important}.theme-dark .settings-modal .setting-desc,.dark-theme-modal .setting-desc{color:#bfbfbf!important}.theme-light .settings-modal :deep(.ant-modal-content),.theme-custom .settings-modal :deep(.ant-modal-content),.light-theme-modal :deep(.ant-modal-content){background:var(--theme-background)!important;color:var(--theme-text)!important;border:1px solid var(--theme-border)!important}.theme-light .settings-modal :deep(.ant-modal-header),.theme-custom .settings-modal :deep(.ant-modal-header),.light-theme-modal :deep(.ant-modal-header){background:var(--theme-background)!important;color:var(--theme-text)!important;border-bottom:1px solid var(--theme-border)!important}.theme-light .settings-modal :deep(.ant-modal-body),.theme-custom .settings-modal :deep(.ant-modal-body),.light-theme-modal :deep(.ant-modal-body){background:var(--theme-background)!important;color:var(--theme-text)!important}.theme-dark .settings-modal :deep(.ant-input),.theme-dark .settings-modal :deep(.ant-input-affix-wrapper),.theme-dark .settings-modal :deep(.ant-input-password),.dark-theme-modal :deep(.ant-input),.dark-theme-modal :deep(.ant-input-affix-wrapper),.dark-theme-modal :deep(.ant-input-password){background-color:#1f1f1f!important;border-color:#434343!important;color:#fff!important}.theme-dark .settings-modal :deep(.ant-btn:not(.ant-btn-primary)),.dark-theme-modal :deep(.ant-btn:not(.ant-btn-primary)){background-color:#1f1f1f!important;color:#fff!important;border-color:#434343!important}.theme-dark .settings-modal :deep(.ant-btn-primary),.dark-theme-modal :deep(.ant-btn-primary){background-color:#4096ff!important;color:#fff!important;border-color:#4096ff!important}.theme-dark .settings-modal :deep(.ant-btn-text),.dark-theme-modal :deep(.ant-btn-text){background:transparent!important;color:#bfbfbf!important;border:none!important}.theme-dark .settings-modal :deep(.ant-radio-button-wrapper),.dark-theme-modal :deep(.ant-radio-button-wrapper){background-color:#1f1f1f!important;color:#fff!important;border-color:#434343!important}.theme-dark .settings-modal :deep(.ant-radio-button-wrapper-checked),.dark-theme-modal :deep(.ant-radio-button-wrapper-checked){background-color:#4096ff!important;color:#fff!important;border-color:#4096ff!important}.theme-dark .settings-modal .password-form,.dark-theme-modal .password-form{background-color:#1f1f1f!important;border-color:#434343!important}.theme-dark .settings-modal :deep(.ant-tag),.dark-theme-modal :deep(.ant-tag){background-color:#1f1f1f!important;color:#fff!important;border-color:#434343!important}.theme-dark .settings-modal :deep(.ant-tag-green),.dark-theme-modal :deep(.ant-tag-green){background-color:#162312!important;color:#389e0d!important;border-color:#274916!important}.theme-dark .settings-modal :deep(.ant-tag-blue),.dark-theme-modal :deep(.ant-tag-blue){background-color:#111a2c!important;color:#1677ff!important;border-color:#1c2755!important}.theme-dark .settings-modal :deep(.ant-tag-gold),.dark-theme-modal :deep(.ant-tag-gold){background-color:#2b1d11!important;color:#d48806!important;border-color:#594214!important}.theme-dark .settings-modal .setting-desc,.theme-dark .settings-modal .ant-form-item-extra,.dark-theme-modal .setting-desc,.dark-theme-modal .ant-form-item-extra{color:#bfbfbf!important}.theme-light .settings-modal,.theme-custom .settings-modal,.light-theme-modal{background:transparent}.theme-light .settings-modal .tab-content,.theme-light .settings-modal .setting-group,.theme-light .settings-modal .setting-item,.theme-light .settings-modal .about-section,.theme-custom .settings-modal .tab-content,.theme-custom .settings-modal .setting-group,.theme-custom .settings-modal .setting-item,.theme-custom .settings-modal .about-section,.light-theme-modal .tab-content,.light-theme-modal .setting-group,.light-theme-modal .setting-item,.light-theme-modal .about-section{background:var(--theme-background);color:var(--theme-text)}.theme-light .settings-modal .group-title,.theme-light .settings-modal .setting-label,.theme-custom .settings-modal .group-title,.theme-custom .settings-modal .setting-label,.light-theme-modal .group-title,.light-theme-modal .setting-label{color:var(--theme-text)}.theme-light .settings-modal .setting-desc,.theme-custom .settings-modal .setting-desc,.light-theme-modal .setting-desc{color:var(--theme-text-secondary)}.theme-dark .settings-modal [style*="background-color: rgb(255, 255, 255)"],.theme-dark .settings-modal [style*="background: rgb(255, 255, 255)"],.theme-dark .settings-modal [style*="background-color: #fff"],.theme-dark .settings-modal [style*="background: #fff"],.theme-dark .settings-modal [style*="background-color: white"],.theme-dark .settings-modal [style*="background: white"],.dark-theme-modal [style*="background-color: rgb(255, 255, 255)"],.dark-theme-modal [style*="background: rgb(255, 255, 255)"],.dark-theme-modal [style*="background-color: #fff"],.dark-theme-modal [style*="background: #fff"],.dark-theme-modal [style*="background-color: white"],.dark-theme-modal [style*="background: white"]{background-color:#141414!important;background:#141414!important}.theme-dark .settings-modal :deep(.ant-modal-close),.theme-dark .settings-modal :deep(.ant-modal-close-x),.dark-theme-modal :deep(.ant-modal-close),.dark-theme-modal :deep(.ant-modal-close-x){background-color:transparent!important;color:#bfbfbf!important}.theme-dark .settings-modal :deep(.ant-modal-close:hover),.theme-dark .settings-modal :deep(.ant-modal-close-x:hover),.dark-theme-modal :deep(.ant-modal-close:hover),.dark-theme-modal :deep(.ant-modal-close-x:hover){background-color:#434343!important;color:#fff!important}.theme-dark .settings-modal :deep(.ant-tabs-nav),.theme-dark .settings-modal :deep(.ant-tabs-nav-wrap),.theme-dark .settings-modal :deep(.ant-tabs-nav-list),.theme-dark .settings-modal :deep(.ant-tabs-nav-operations),.theme-dark .settings-modal :deep(.ant-tabs-bar),.dark-theme-modal :deep(.ant-tabs-nav),.dark-theme-modal :deep(.ant-tabs-nav-wrap),.dark-theme-modal :deep(.ant-tabs-nav-list),.dark-theme-modal :deep(.ant-tabs-nav-operations),.dark-theme-modal :deep(.ant-tabs-bar){background-color:#141414!important;border-bottom-color:#434343!important}.theme-dark .settings-modal :deep(.ant-tabs-content),.theme-dark .settings-modal :deep(.ant-tabs-content-holder),.theme-dark .settings-modal :deep(.ant-tabs-tabpane),.theme-dark .settings-modal :deep(.ant-tabs-tabpane-active),.dark-theme-modal :deep(.ant-tabs-content),.dark-theme-modal :deep(.ant-tabs-content-holder),.dark-theme-modal :deep(.ant-tabs-tabpane),.dark-theme-modal :deep(.ant-tabs-tabpane-active){background-color:#141414!important;color:#fff!important}.theme-dark .settings-modal :deep(.ant-input-password-icon),.theme-dark .settings-modal :deep(.ant-input-suffix),.theme-dark .settings-modal :deep(.ant-input-suffix *),.dark-theme-modal :deep(.ant-input-password-icon),.dark-theme-modal :deep(.ant-input-suffix),.dark-theme-modal :deep(.ant-input-suffix *){background-color:transparent!important;color:#bfbfbf!important}.theme-dark .settings-modal :deep(.ant-form),.theme-dark .settings-modal :deep(.ant-form-item),.theme-dark .settings-modal :deep(.ant-form-item-control),.theme-dark .settings-modal :deep(.ant-form-item-control-input),.theme-dark .settings-modal :deep(.ant-form-item-control-input-content),.theme-dark .settings-modal :deep(.ant-row),.theme-dark .settings-modal :deep(.ant-col),.dark-theme-modal :deep(.ant-form),.dark-theme-modal :deep(.ant-form-item),.dark-theme-modal :deep(.ant-form-item-control),.dark-theme-modal :deep(.ant-form-item-control-input),.dark-theme-modal :deep(.ant-form-item-control-input-content),.dark-theme-modal :deep(.ant-row),.dark-theme-modal :deep(.ant-col){background-color:transparent!important;color:#fff!important}.theme-dark .settings-modal :deep(.ant-radio-group),.theme-dark .settings-modal :deep(.ant-radio-button-wrapper):first-child,.theme-dark .settings-modal :deep(.ant-radio-button-wrapper):last-child,.dark-theme-modal :deep(.ant-radio-group),.dark-theme-modal :deep(.ant-radio-button-wrapper):first-child,.dark-theme-modal :deep(.ant-radio-button-wrapper):last-child{background-color:#1f1f1f!important;border-color:#434343!important}.theme-dark .settings-modal :deep(.ant-dropdown),.theme-dark .settings-modal :deep(.ant-dropdown-menu),.theme-dark .settings-modal :deep(.ant-dropdown-menu-item),.theme-dark .settings-modal :deep(.ant-tooltip),.theme-dark .settings-modal :deep(.ant-tooltip-inner),.dark-theme-modal :deep(.ant-dropdown),.dark-theme-modal :deep(.ant-dropdown-menu),.dark-theme-modal :deep(.ant-dropdown-menu-item),.dark-theme-modal :deep(.ant-tooltip),.dark-theme-modal :deep(.ant-tooltip-inner){background-color:#1f1f1f!important;color:#fff!important;border-color:#434343!important}.theme-dark .settings-modal :deep(.ant-input:focus),.theme-dark .settings-modal :deep(.ant-input-focused),.theme-dark .settings-modal :deep(.ant-input-password:focus),.theme-dark .settings-modal :deep(.ant-btn:focus),.dark-theme-modal :deep(.ant-input:focus),.dark-theme-modal :deep(.ant-input-focused),.dark-theme-modal :deep(.ant-input-password:focus),.dark-theme-modal :deep(.ant-btn:focus){background-color:#1f1f1f!important;border-color:#4096ff!important;box-shadow:0 0 0 2px #4096ff33!important}.theme-dark .settings-modal :deep(div),.theme-dark .settings-modal :deep(span),.theme-dark .settings-modal :deep(section),.dark-theme-modal :deep(div),.dark-theme-modal :deep(span),.dark-theme-modal :deep(section){background-color:transparent!important}.theme-dark .settings-modal :deep(*:not(.ant-btn-primary):not(.ant-radio-button-wrapper-checked)),.dark-theme-modal :deep(*:not(.ant-btn-primary):not(.ant-radio-button-wrapper-checked)){background-color:#141414!important;background:#141414!important;color:#fff!important}.theme-dark .settings-modal :deep(.ant-input),.theme-dark .settings-modal :deep(.ant-input-affix-wrapper),.theme-dark .settings-modal :deep(.ant-input-password),.theme-dark .settings-modal :deep(.ant-btn:not(.ant-btn-primary)),.theme-dark .settings-modal :deep(.ant-radio-button-wrapper),.dark-theme-modal :deep(.ant-input),.dark-theme-modal :deep(.ant-input-affix-wrapper),.dark-theme-modal :deep(.ant-input-password),.dark-theme-modal :deep(.ant-btn:not(.ant-btn-primary)),.dark-theme-modal :deep(.ant-radio-button-wrapper){background-color:#1f1f1f!important;background:#1f1f1f!important;border-color:#434343!important;color:#fff!important}.theme-dark .settings-modal :deep(.ant-btn-primary),.dark-theme-modal :deep(.ant-btn-primary){background-color:#4096ff!important;background:#4096ff!important;border-color:#4096ff!important;color:#fff!important}.theme-dark .settings-modal :deep(.ant-radio-button-wrapper-checked),.dark-theme-modal :deep(.ant-radio-button-wrapper-checked){background-color:#4096ff!important;background:#4096ff!important;border-color:#4096ff!important;color:#fff!important}.theme-dark .settings-modal :deep([style*="background"]),.dark-theme-modal :deep([style*="background"]){background-color:#141414!important;background:#141414!important}@media (max-width: 768px){::-webkit-scrollbar{width:4px;height:4px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#0003;border-radius:2px}::-webkit-scrollbar-thumb:hover{background:#0000004d}*{-webkit-touch-callout:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}input,textarea,[contenteditable],.message-text{-webkit-user-select:text!important;user-select:text!important}button,.ant-btn,.tool-btn{-webkit-tap-highlight-color:transparent;min-height:44px;min-width:44px}input,textarea{font-size:16px;border-radius:8px}.ant-input,.ant-input-affix-wrapper{font-size:16px!important}.ant-modal{margin:16px;max-height:calc(100vh - 32px)}.ant-modal-content{border-radius:16px;overflow:hidden}.ant-modal-body{max-height:calc(90vh - 120px);overflow-y:auto}}@media (max-width: 480px){.ant-modal{margin:8px;max-height:calc(100vh - 16px)}.ant-modal-content{border-radius:12px}.ant-modal-body{max-height:calc(95vh - 100px);padding:16px}button,.ant-btn,.tool-btn{min-height:40px;min-width:40px;font-size:14px}}#app{height:100vh;background:var(--theme-background);color:var(--theme-text);transition:background-color .3s ease,color .3s ease}.fade-enter-active{animation:fadeInScale .6s cubic-bezier(.16,1,.3,1)}.fade-leave-active{animation:fadeOutScale .5s cubic-bezier(.6,0,.8,.2)}@keyframes fadeInScale{0%{opacity:0;transform:scale(.95) translateY(20px);filter:blur(8px)}to{opacity:1;transform:scale(1) translateY(0);filter:blur(0)}}@keyframes fadeOutScale{0%{opacity:1;transform:scale(1);filter:blur(0)}to{opacity:0;transform:scale(.95);filter:blur(8px)}}.slide-left-enter-active,.slide-left-leave-active{transition:all .5s cubic-bezier(.16,1,.3,1)}.slide-left-enter-from{opacity:0;transform:translate(100px)}.slide-left-leave-to{opacity:0;transform:translate(-100px)}
