.folder-label[data-v-f88d3cd5]{display:flex;align-items:center;gap:4px;padding:10px 8px 4px;font-size:11px;color:#8faccb;cursor:pointer;-webkit-user-select:none;user-select:none;text-transform:uppercase;letter-spacing:.5px}.folder-arrow[data-v-f88d3cd5]{display:inline-block;transition:transform .2s;font-size:10px}.folder-arrow.collapsed[data-v-f88d3cd5]{transform:rotate(-90deg)}.folder-count[data-v-f88d3cd5]{margin-left:auto;font-size:10px;color:#b3c4d9}.session-item-actions[data-v-f88d3cd5]{display:none;align-items:center;gap:2px}.session-item:hover .session-item-actions[data-v-f88d3cd5]{display:inline-flex}.session-action-btn[data-v-f88d3cd5]{border:none;background:transparent;cursor:pointer;font-size:12px;padding:0 2px;opacity:.7}.session-action-btn[data-v-f88d3cd5]:hover{opacity:1}.session-empty[data-v-f88d3cd5]{padding:20px;text-align:center;font-size:12px;color:#b3c4d9}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!
  Theme: GitHub
  Description: Light theme as seen on github.com
  Author: github.com
  Maintainer: @Hirse
  Updated: 2021-05-15

  Outdated base version: https://github.com/primer/github-syntax-light
  Current colors taken from GitHub's CSS
*/.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}.msg-actions[data-v-02d14661]{display:flex;justify-content:flex-end;gap:4px;margin-top:6px;opacity:0;transition:opacity .2s}.msg-row:hover .msg-actions[data-v-02d14661]{opacity:1}.msg-action-btn[data-v-02d14661]{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border:none;background:transparent;cursor:pointer;color:#8faccb;border-radius:6px;transition:color .2s,background .2s}.msg-action-btn[data-v-02d14661]:hover{color:#4a90e2;background:#4a90e21a}.msg-action-btn.playing[data-v-02d14661]{color:#4a90e2}.msg-edit-inline-btn[data-v-02d14661]{position:absolute;right:-24px;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border:none;background:transparent;cursor:pointer;color:#b3c4d9;border-radius:6px;opacity:0;transition:opacity .2s,color .2s,background .2s}.msg-row:hover .msg-edit-inline-btn[data-v-02d14661]{opacity:.9}.msg-edit-inline-btn[data-v-02d14661]:hover{color:#4a90e2;background:#4a90e21a}*{margin:0;padding:0;box-sizing:border-box;font-family:PingFang SC,Microsoft YaHei,Segoe UI,system-ui,sans-serif}html{background:linear-gradient(#ffffff26,#ffffff26),url(/assets/img1-DZaRLkaM.webp) center / cover no-repeat fixed,linear-gradient(135deg,#eaf4ff,#f7fbff 45%,#e8f3ff)}body{min-height:100vh;background:transparent;display:flex;justify-content:center;align-items:center;padding:24px;overscroll-behavior:none;overflow-x:hidden}body:before,body:after{content:"";position:fixed;z-index:-1;width:62vmax;height:62vmax;pointer-events:none;border-radius:50%}body:before{left:-18vmax;top:-20vmax;background:radial-gradient(closest-side at 62% 58%,#ffc78480,#ffc78400 72%);animation:aurora-a 32s ease-in-out infinite alternate}body:after{right:-20vmax;bottom:-22vmax;background:radial-gradient(closest-side at 38% 42%,#ffaa8c61,#ffaa8c00 72%);animation:aurora-b 38s ease-in-out infinite alternate}@keyframes aurora-a{0%{transform:translateZ(0) rotate(0) scale(1)}to{transform:translate3d(9vmax,7vmax,0) rotate(50deg) scale(1.18)}}@keyframes aurora-b{0%{transform:translateZ(0) rotate(0) scale(1.1)}to{transform:translate3d(-8vmax,-6vmax,0) rotate(-45deg) scale(.92)}}@media (prefers-reduced-motion: reduce){body:before,body:after{animation:none}}.app-window{width:1400px;height:760px;background:#ffffffc7;border-radius:24px;box-shadow:0 24px 60px #b4d2ff59,0 6px 20px #a0bee640;overflow:hidden;display:flex;border:1px solid rgba(255,255,255,.6)}.sidebar{width:240px;background:linear-gradient(180deg,#dcefff,#eaf6ff);padding:20px 14px;display:flex;flex-direction:column;gap:14px;border-right:1px solid rgba(180,210,255,.45);overflow:hidden}.logo{display:flex;align-items:center;gap:10px;padding:6px 10px}.logo-icon{width:34px;height:34px;border-radius:12px;background:linear-gradient(135deg,#74b9ff,#4a90e2);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700}.logo-text{font-size:16px;font-weight:600;color:#2563a8}.new-chat-btn{border:none;padding:11px 14px;border-radius:12px;background:#4a90e2;color:#fff;font-size:14px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;transition:all .2s ease;box-shadow:0 8px 18px #4a90e259}.new-chat-btn:hover{background:#357abd}.session-title{margin-top:8px;font-size:12px;color:#6f94bf;padding:0 10px;letter-spacing:.5px}.session-list{flex:1;min-height:0;padding:0 4px;margin-right:-12px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.session-item{padding:10px 12px;border-radius:10px;font-size:14px;color:#436a97;cursor:pointer;margin-bottom:4px;display:flex;justify-content:space-between;align-items:center;position:relative}.session-item:hover{background:#ffffffb3}.session-item.active{background:#fff;color:#2563a8;box-shadow:0 4px 12px #8cb4e640}.session-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex:1}.session-del-btn{width:20px;height:20px;border:none;background:transparent;font-size:16px;color:#999;cursor:pointer;display:none;border-radius:4px;line-height:1;flex-shrink:0}.session-item:hover .session-del-btn{display:block}.session-del-btn:hover{background:#ff4d4f21;color:#ff4d4f}.clear-wrap{padding-top:10px;border-top:1px solid rgba(180,210,255,.45)}.clear-btn{width:100%;border:1px solid rgba(180,210,255,.6);background:#fff;color:#436a97;padding:10px;border-radius:12px;cursor:pointer;font-size:14px;transition:all .2s ease}.clear-btn:hover{background:#eaf4ff;color:#2563a8}.main{flex:1;display:flex;flex-direction:column;background:#f7fbff;position:relative;min-width:0}.topbar{padding:16px 24px;border-bottom:1px solid rgba(180,210,255,.35);display:flex;justify-content:space-between;align-items:center;gap:16px;background:#ffffff80}.topbar-left{display:flex;align-items:center;gap:16px}.model-select-wrap{display:flex;align-items:center;gap:6px}.model-select-wrap label{font-size:13px;color:#436a97}.select-wrapper{position:relative;display:inline-flex;align-items:center}.model-select{-moz-appearance:none;appearance:none;-webkit-appearance:none;border:1px solid rgba(180,210,255,.7);background:#fff;color:#2563a8;border-radius:10px;padding:6px 32px 6px 12px;font-size:13px;outline:none;cursor:pointer;transition:all .2s ease;min-width:170px;box-shadow:0 2px 8px #a0bee61f}.model-select:hover,.model-select:focus{border-color:#4a90e2;box-shadow:0 2px 10px #4a90e233}.select-wrapper:after{content:"";position:absolute;right:12px;width:8px;height:8px;border-right:1.5px solid #4a90e2;border-bottom:1.5px solid #4a90e2;transform:rotate(45deg);pointer-events:none;top:50%;margin-top:-6px}.model-select option{background:#fff;color:#2c4e75;padding:6px}.dd-wrap{position:relative}.dd-trigger{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(180,210,255,.7);background:#fff;color:#2563a8;border-radius:10px;padding:6px 12px;font-size:13px;cursor:pointer;min-width:170px;box-shadow:0 2px 8px #a0bee61f;transition:all .2s ease}.dd-trigger:hover{border-color:#4a90e2;box-shadow:0 2px 10px #4a90e233}.dd-value{flex:1;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dd-arrow{flex:none;width:12px;height:12px;color:#4a90e2;transition:transform .2s ease}.dd-arrow.up{transform:rotate(180deg)}.dd-panel{position:absolute;top:calc(100% + 6px);left:0;z-index:100;min-width:210px;max-height:320px;overflow-y:auto;background:#fffffffa;border:1px solid rgba(190,215,245,.9);border-radius:14px;box-shadow:0 12px 32px #3a5c8a2e,0 2px 8px #3a5c8a14;padding:6px}.dd-panel-wide{min-width:195px;max-width:230px}.dd-panel.up{top:auto;bottom:calc(100% + 6px)}.dd-panel::-webkit-scrollbar{width:6px;height:6px}.dd-panel::-webkit-scrollbar-track{background:transparent}.dd-panel::-webkit-scrollbar-thumb{background:#bcd6f5;border-radius:3px;transition:background .2s ease}.dd-panel::-webkit-scrollbar-thumb:hover{background:#93b9e4}@supports not selector(::-webkit-scrollbar){.dd-panel{scrollbar-width:thin;scrollbar-color:#bcd6f5 transparent}}.dd-group-label{padding:7px 10px 4px;font-size:11px;font-weight:600;letter-spacing:.5px;color:#8aa8cc}.dd-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 12px;border-radius:9px;font-size:13px;color:#2c4e75;cursor:pointer;transition:background .15s ease,color .15s ease}.dd-item:hover{background:linear-gradient(135deg,#eaf3ff,#f4f9ff);color:#2563a8}.dd-item.on{color:#2563a8;font-weight:600}.dd-item.disabled{color:#b8c6d8;cursor:not-allowed;font-weight:400}.dd-item.disabled:hover{background:transparent;color:#b8c6d8}.dd-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dd-check{flex:none;color:#2563a8;font-size:13px;font-weight:700}.dd-enter-active,.dd-leave-active{transition:opacity .12s ease,transform .12s ease}.dd-enter-from,.dd-leave-to{opacity:0;transform:translateY(-4px)}.topbar-title{font-size:16px;font-weight:600;color:#2563a8}.status{font-size:13px;color:#6f94bf;display:flex;align-items:center;gap:8px}.status-dot{width:8px;height:8px;border-radius:50%;transition:all .2s}.status-dot.online{background:#51cf66;box-shadow:0 0 0 3px #51cf6640}.status-dot.offline{background:#ff4757;box-shadow:0 0 0 3px #ff475740}.topbar-right{display:flex;align-items:center;gap:14px}.fullscreen-btn{width:32px;height:32px;border:1px solid rgba(180,210,255,.7);background:#fff;color:#4a90e2;border-radius:10px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;box-shadow:0 2px 8px #a0bee61f}.fullscreen-btn:hover{border-color:#4a90e2;color:#2563a8;box-shadow:0 2px 10px #4a90e233}.fullscreen-btn svg{width:16px;height:16px}html:fullscreen body{padding:0}html:fullscreen .app-window{width:100vw;height:100vh;border-radius:0;border:none}.chat-viewport{flex:1;min-height:0;position:relative;display:flex;flex-direction:column}.chat-area{flex:1;min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;padding:28px;overflow-anchor:none;overscroll-behavior:contain}body:has(.modal-mask.show) .chat-area,body:has(.project-modal-mask) .chat-area,body:has(.sidebar-mask) .chat-area{overflow:hidden;overscroll-behavior:contain}.attach-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;background:#eaf4ff99;border:1px dashed rgba(74,144,226,.35);border-radius:12px;padding:8px 12px;margin-bottom:10px}.attach-chip{display:flex;align-items:center;gap:6px;background:#fff;border:1px solid rgba(180,210,255,.7);border-radius:10px;padding:4px 8px 4px 4px;font-size:12px;color:#436a97}.attach-chip.attach-uploading{border-style:dashed;color:#8faccb;background:transparent}.attach-thumb{width:40px;height:40px;border-radius:8px;object-fit:cover;display:block;background:#f0f5fa}.attach-thumb-video{display:flex;align-items:center;justify-content:center;font-size:18px}.attach-name{max-width:110px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.attach-remove{border:none;background:transparent;color:#9bb4d0;cursor:pointer;font-size:11px;padding:0 2px;line-height:1}.attach-remove:hover{color:#ff4d4f}.attach-count{margin-left:auto;font-size:12px;color:#8faccb}.msg-attachments{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.msg-attach-item{text-decoration:none;cursor:zoom-in}.msg-attach-thumb{height:72px;width:auto;max-width:150px;object-fit:cover;border-radius:8px;border:1px solid rgba(255,255,255,.75);display:block}.msg-attach-file{display:inline-flex;align-items:center;gap:4px;background:#ffffffeb;color:#2563a8;border-radius:8px;padding:6px 10px;font-size:12px;max-width:180px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.auth-wrap{position:relative}.auth-login-btn,.auth-user-btn{display:flex;align-items:center;gap:5px;border:1px solid rgba(180,210,255,.7);background:#ffffffeb;color:#436a97;padding:6px 13px;border-radius:10px;font-size:13px;cursor:pointer;white-space:nowrap;transition:all .2s ease;box-shadow:0 2px 8px #a0bee61f}.auth-login-btn:hover,.auth-user-btn:hover,.auth-user-btn.open{border-color:#4a90e2;color:#2563a8;background:#eaf4ff}.auth-user-btn b{color:#2563a8;font-weight:600}.auth-name{max-width:90px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;opacity:.75}.auth-menu{position:absolute;top:calc(100% + 6px);right:0;min-width:190px;background:#fff;border:1px solid rgba(180,210,255,.6);border-radius:12px;box-shadow:0 12px 32px #2c4e7538;z-index:900;padding:6px}.auth-menu-head{font-size:13.5px;font-weight:600;color:#2563a8;padding:7px 10px 8px;border-bottom:1px dashed rgba(180,210,255,.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.auth-menu-row{display:flex;justify-content:space-between;gap:12px;font-size:12.5px;color:#6f94bf;padding:6px 10px}.auth-menu-row b{color:#2563a8}.auth-menu-logout{width:100%;margin-top:6px;border:1px solid rgba(255,77,79,.3);background:#fff;color:#ff4d4f;border-radius:9px;padding:6px 0;font-size:12.5px;cursor:pointer;transition:all .2s ease}.auth-menu-logout:hover{background:#fff0f0;border-color:#ff4d4f}.auth-menu-btn{width:100%;margin-top:6px;border:1px solid rgba(180,210,255,.7);background:#fff;color:#2563a8;border-radius:9px;padding:6px 0;font-size:12.5px;cursor:pointer;transition:all .2s ease}.auth-menu-btn:hover{background:#eaf4ff;border-color:#4a90e2}.pipeline-flow{flex-basis:100%;font-size:12.5px;color:#2563a8;background:#dcefff99;border-radius:8px;padding:5px 10px;letter-spacing:.3px}.auth-box{position:relative;width:360px;padding:28px 26px 24px}.recharge-box{width:420px;padding:26px 26px 22px}.auth-close{position:absolute;top:12px;right:14px;width:28px;height:28px;border:none;background:transparent;color:#b3c4d9;font-size:22px;line-height:1;cursor:pointer;border-radius:8px;display:flex;align-items:center;justify-content:center;transition:all .2s}.auth-close:hover{background:#eef3fa;color:#2c4e75}.auth-head{text-align:center;margin-bottom:18px}.auth-logo{width:56px;height:56px;margin:0 auto 12px;border-radius:16px;background:linear-gradient(135deg,#4a90e2,#6fb1f7);color:#fff;font-size:28px;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 20px #4a90e259}.auth-title{font-size:20px;font-weight:700;color:#2c4e75;margin:0 0 4px;letter-spacing:.5px}.auth-sub{font-size:13px;color:#8faccb;margin:0}.auth-tabs{display:flex;gap:4px;margin-bottom:18px;padding:4px;background:#eef3fa;border-radius:12px}.auth-tabs .sub-tab{flex:1;border:none;background:transparent;color:#6f94bf;padding:8px 12px;border-radius:9px;font-size:13px;font-weight:500}.auth-tabs .sub-tab.active{background:#fff;border-color:transparent;color:#2f6fd0;box-shadow:0 2px 8px #2c4e751f}.auth-tip{margin:-10px 0 8px;font-size:12px;color:#8faccb;line-height:1.5}.auth-box .modal-input{height:42px;padding:0 12px;margin-bottom:14px}.auth-box .modal-input:first-of-type{margin-top:0}.auth-btns{justify-content:stretch;margin-top:6px}.auth-submit{flex:1;height:44px;font-size:15px;font-weight:600;letter-spacing:1px;box-shadow:0 6px 16px #4a90e24d}.auth-submit:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 8px 20px #4a90e266}.auth-submit:disabled{opacity:.6;cursor:not-allowed}.auth-divider{margin:0 6px;color:#c5d6ea}@media (max-width: 768px){.auth-name{display:none}.auth-login-btn,.auth-user-btn{padding:6px 10px}}.drop-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:90000;background:#4a90e224;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;pointer-events:none}.drop-card{border:2px dashed #4a90e2;background:#fffffff5;border-radius:22px;padding:34px 52px;text-align:center;box-shadow:0 20px 60px #2c4e7540;animation:drop-pop .18s ease}@keyframes drop-pop{0%{transform:scale(.94);opacity:0}to{transform:scale(1);opacity:1}}.drop-icon{font-size:40px;margin-bottom:10px}.drop-title{font-size:18px;font-weight:600;color:#2563a8;margin-bottom:8px}.drop-sub{font-size:13px;color:#6f94bf;line-height:1.8}.chat-scroll-actions{position:absolute;right:20px;bottom:18px;display:flex;flex-direction:column;align-items:flex-end;gap:10px;z-index:11;pointer-events:none}.scroll-btn{pointer-events:auto;display:flex;align-items:center;justify-content:center;gap:5px;border:1px solid rgba(180,210,255,.75);background:#ffffffeb;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:#4a90e2;cursor:pointer;box-shadow:0 6px 18px #a0bee64d;opacity:0;visibility:hidden;transform:translateY(8px) scale(.94);transition:opacity .22s ease,transform .22s ease,visibility .22s ease,background .2s ease,color .2s ease,border-color .2s ease,box-shadow .2s ease}.scroll-btn.show{opacity:1;visibility:visible;transform:translateY(0) scale(1)}.scroll-btn:hover{border-color:#4a90e2;background:#f2f8ff;box-shadow:0 8px 22px #4a90e252}.scroll-btn svg{width:16px;height:16px;flex-shrink:0}.scroll-btn.to-top{width:38px;height:38px;border-radius:50%}.scroll-btn.to-bottom{width:38px;height:38px;border-radius:19px}.scroll-btn.to-bottom.has-new{width:auto;padding:0 15px;background:linear-gradient(135deg,#74b9ff,#4a90e2);border-color:transparent;color:#fff;box-shadow:0 8px 22px #4a90e273}.scroll-btn.to-bottom.has-new:hover{background:linear-gradient(135deg,#5faef7,#357abd)}.to-bottom-text{font-size:13px;font-weight:500;white-space:nowrap}.welcome-card{background:linear-gradient(135deg,#fff,#eaf4ff);border:1px solid rgba(180,210,255,.45);border-radius:20px;padding:22px;margin-bottom:24px;box-shadow:0 10px 24px #aac8f033}.welcome-card h3{color:#2563a8;margin-bottom:8px;font-size:17px}.welcome-card p{color:#436a97;font-size:14px;line-height:1.6}.welcome-skills{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-direction:column;gap:3px}.welcome-skills li{font-size:13px;color:#436a97;line-height:1.7}.welcome-hint{margin-top:10px;font-size:12.5px!important;color:#8faccb!important}.welcome-card code{background:#dcefff;color:#2563a8;padding:1px 7px;border-radius:6px;font-size:12px}.msg-row{display:flex;margin-bottom:18px;position:relative}.msg-row.user{justify-content:flex-end}.msg-row.ai{justify-content:flex-start}.msg-bubble{padding:13px 17px;border-radius:18px;line-height:1.6;font-size:14.5px;word-wrap:break-word;position:relative;min-width:0;max-width:100%}.msg-row.user .msg-bubble{background:linear-gradient(135deg,#74b9ff,#4a90e2);color:#fff;border-bottom-right-radius:6px;box-shadow:0 8px 18px #5491de59}.msg-row.user .msg-bubble p{margin:0}.msg-row.ai .msg-bubble{background:#fff;color:#2c4e75;border:1px solid rgba(180,210,255,.5);border-bottom-left-radius:6px;box-shadow:0 6px 16px #aac8f033;width:100%}.msg-bubble h1,.msg-bubble h2,.msg-bubble h3,.msg-bubble h4{margin:.6em 0 .3em;font-weight:600}.msg-bubble p{margin:.4em 0}.thinking-dots{display:inline-flex;gap:4px;align-items:center;vertical-align:middle;margin:0 2px}.thinking-dots span{width:6px;height:6px;border-radius:50%;background:#4a90e2;animation:blink 1.4s infinite both}.thinking-dots span:nth-child(2){animation-delay:.2s}.thinking-dots span:nth-child(3){animation-delay:.4s}@keyframes blink{0%,80%,to{opacity:.2;transform:scale(.8)}40%{opacity:1;transform:scale(1)}}.msg-bubble pre{margin:10px 0;border-radius:14px;overflow-x:auto;position:relative;padding:12px 18px 18px!important;background:#f7fbff!important;border:1px solid rgba(180,210,255,.55)}.msg-bubble pre code{color:#2c4e75;background:transparent!important;font-size:13.5px;line-height:1.65}.code-toolbar{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-bottom:8px}.code-lang-tag,.copy-code-btn,.run-code-btn{height:24px;line-height:16px;font-size:12px;color:#2563a8;background:#4a90e21f;border:1px solid rgba(74,144,226,.35);padding:3px 9px;border-radius:8px;box-sizing:border-box}.copy-code-btn,.run-code-btn{cursor:pointer;transition:all .2s ease}.copy-code-btn:hover{background:#4a90e238}.run-code-btn{color:#4a90e2;border-color:#4a90e24d}.run-code-btn:hover{background:#4a90e240}.code-run-result{margin:8px 0 0}.code-terminal{margin:6px 0;border-radius:10px;overflow:hidden;background:#f8fafc;border:1px solid #e2e8f0;font-family:JetBrains Mono,SF Mono,Consolas,Courier New,monospace;font-size:12.5px}.code-terminal.fail{border-color:#fecaca;background:snow}.code-terminal .term-head{display:flex;align-items:center;gap:8px;padding:7px 12px;background:#eef2f7;border-bottom:1px solid #e2e8f0;-webkit-user-select:none;user-select:none}.code-terminal .term-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.code-terminal .term-dot.r{background:#f87171}.code-terminal .term-dot.y{background:#fbbf24}.code-terminal .term-dot.g{background:#34d399}.code-terminal .term-status{width:18px;height:18px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.code-terminal .term-status.ok{background:#dcfce7;color:#16a34a}.code-terminal .term-status.bad{background:#fee2e2;color:#dc2626}.code-terminal .term-title{font-size:11.5px;color:#64748b;font-weight:600;letter-spacing:.2px}.code-terminal .term-meta{margin-left:auto;font-size:11px;color:#94a3b8;font-weight:400}.code-terminal .term-meta.warn{color:#d97706}.code-terminal pre{margin:0;padding:10px 14px;font-family:inherit;font-size:12.5px;line-height:1.65;white-space:pre-wrap;word-break:break-word;max-height:320px;overflow:auto;scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.code-terminal pre::-webkit-scrollbar{width:8px;height:8px}.code-terminal pre::-webkit-scrollbar-track{background:transparent}.code-terminal pre::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px;border:2px solid transparent;background-clip:padding-box}.code-terminal pre::-webkit-scrollbar-thumb:hover{background:#94a3b8;background-clip:padding-box}.code-terminal pre::-webkit-scrollbar-corner{background:transparent}.code-terminal .term-out{color:#334155;background:#f8fafc}.code-terminal .term-err{color:#b91c1c;background:#fef2f2;border-top:1px solid #fee2e2}.code-terminal .term-msg{padding:10px 14px;font-size:12px;color:#64748b}.code-run-result .run-stdout,.code-run-result .run-stderr,.code-run-result .run-timeout,.code-run-result .run-meta{font-size:12px}.code-run-result .run-stderr{color:#ef4444}html[data-theme=dark] .code-terminal{background:#141e30;border-color:#243044}html[data-theme=dark] .code-terminal.fail{background:#2a1818;border-color:#5a2020}html[data-theme=dark] .code-terminal .term-head{background:#1a2540;border-bottom-color:#243044}html[data-theme=dark] .code-terminal .term-title{color:#8fb4da}html[data-theme=dark] .code-terminal .term-meta{color:#6b87ad}html[data-theme=dark] .code-terminal .term-meta.warn{color:#fbbf24}html[data-theme=dark] .code-terminal .term-status.ok{background:#143020;color:#4ade80}html[data-theme=dark] .code-terminal .term-status.bad{background:#3a1a1a;color:#f87171}html[data-theme=dark] .code-terminal .term-out{background:#141e30;color:#cbd5e1}html[data-theme=dark] .code-terminal pre{scrollbar-color:#3a4a66 transparent}html[data-theme=dark] .code-terminal pre::-webkit-scrollbar-thumb{background:#3a4a66;background-clip:padding-box}html[data-theme=dark] .code-terminal pre::-webkit-scrollbar-thumb:hover{background:#526a8c;background-clip:padding-box}html[data-theme=dark] .code-terminal .term-err{background:#2a1818;color:#fca5a5;border-top-color:#5a2020}html[data-theme=dark] .code-terminal .term-msg{color:#8fb4da}html[data-theme=dark] .run-code-btn{color:#a8c8ef;background:#4a90e22e;border-color:#6e96cd80}.msg-bubble :not(pre)>code{background:#e1edf8;padding:2px 5px;border-radius:4px;color:#d63384}.msg-bubble table{border-collapse:collapse;width:100%;margin:12px 0}.msg-bubble table th,.msg-bubble table td{border:1px solid #d0e2f7;padding:12px 10px;vertical-align:middle;line-height:1.5;text-align:center}.msg-bubble table th{background:#f0f7ff;font-weight:600}.input-area{padding:18px 24px;background:#ffffffb3;border-top:1px solid rgba(180,210,255,.35)}.input-box{display:flex;align-items:center;background:#fff;border:1px solid rgba(180,210,255,.6);border-radius:18px;padding:8px 8px 8px 16px;box-shadow:0 10px 24px #aac8f033;gap:10px;transition:all .2s}.input-box:focus-within{border-color:#4a90e2;box-shadow:0 10px 28px #4a90e240}.input-textarea{flex:1;border:none;outline:none;font-size:15px;background:transparent;color:#2c4e75;padding:6px 0;resize:none;min-height:24px;max-height:120px;overflow-y:auto;line-height:1.5}.input-textarea:disabled{opacity:.6;cursor:not-allowed}.send-btn{border:none;background:linear-gradient(135deg,#74b9ff,#4a90e2);color:#fff;padding:10px 20px;border-radius:14px;font-size:14px;cursor:pointer;transition:all .2s ease;box-shadow:0 8px 18px #5491de59;white-space:nowrap}.send-btn.cancel{background:#ff6b6b}.send-btn:disabled{opacity:.7;cursor:not-allowed}.voice-btn{border:none;background:#f5f5f5;color:#666;width:36px;height:36px;border-radius:50%;font-size:16px;cursor:pointer;flex-shrink:0;transition:all .2s ease;display:inline-flex;align-items:center;justify-content:center;margin-left:8px}.voice-btn:hover{background:#e8e8e8;color:#333;transform:scale(1.05)}.voice-btn.recording{color:#fff;background:#fa5151;animation:voice-pulse 1.6s ease-in-out infinite}.voice-btn:disabled{opacity:.5;cursor:not-allowed}.voice-btn:disabled:hover{transform:none;background:#f5f5f5;color:#666}@keyframes voice-pulse{0%,to{box-shadow:0 0 #fa515166}50%{box-shadow:0 0 0 6px #fa515100}}.msg-voice-bar{margin-top:8px;display:flex;align-items:center;gap:6px}.msg-voice-btn{border:none;background:#f0f0f0;color:#666;width:28px;height:28px;border-radius:50%;font-size:13px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:all .2s ease}.msg-voice-btn:hover{background:#e0e0e0;color:#333}.msg-voice-btn.playing{background:#07c160;color:#fff;box-shadow:0 0 0 3px #07c1602e}@supports not selector(::-webkit-scrollbar){.chat-area,.session-list,.input-textarea,.reasoning-content,.project-tree,.session-media-menu{scrollbar-width:thin;scrollbar-color:#bcd6f5 transparent}}.chat-area::-webkit-scrollbar,.session-list::-webkit-scrollbar,.input-textarea::-webkit-scrollbar,.reasoning-content::-webkit-scrollbar,.project-tree::-webkit-scrollbar,.session-media-menu::-webkit-scrollbar,.tpl-list::-webkit-scrollbar{width:6px;height:6px}.chat-area::-webkit-scrollbar-track,.session-list::-webkit-scrollbar-track,.input-textarea::-webkit-scrollbar-track,.reasoning-content::-webkit-scrollbar-track,.project-tree::-webkit-scrollbar-track,.session-media-menu::-webkit-scrollbar-track,.tpl-list::-webkit-scrollbar-track{background:transparent}.chat-area::-webkit-scrollbar-thumb,.session-list::-webkit-scrollbar-thumb,.input-textarea::-webkit-scrollbar-thumb,.reasoning-content::-webkit-scrollbar-thumb,.project-tree::-webkit-scrollbar-thumb,.session-media-menu::-webkit-scrollbar-thumb,.tpl-list::-webkit-scrollbar-thumb{background:#bcd6f5;border-radius:3px;transition:background .2s ease}.chat-area::-webkit-scrollbar-thumb:hover,.session-list::-webkit-scrollbar-thumb:hover,.input-textarea::-webkit-scrollbar-thumb:hover,.reasoning-content::-webkit-scrollbar-thumb:hover,.project-tree::-webkit-scrollbar-thumb:hover,.session-media-menu::-webkit-scrollbar-thumb:hover,.tpl-list::-webkit-scrollbar-thumb:hover{background:#93b9e4}.msg-bubble hr{border:none;height:1px;background-color:#e2e8f0;margin:16px 0}.msg-bubble ol,.msg-bubble ul{padding-left:22px;margin:8px 0}.msg-bubble li{margin:4px 0;line-height:1.6}.tooltip-fixed{position:fixed;background:#2c4260f5;color:#fff;padding:6px 11px;border-radius:7px;font-size:12.5px;font-weight:500;letter-spacing:.1px;box-shadow:0 6px 20px #1e325040;max-width:320px;z-index:99999;white-space:normal;word-break:break-word;line-height:1.45;pointer-events:none;display:none}.toast{position:fixed;top:28px;left:50%;transform:translate(-50%) translateY(-16px) scale(.96);background:#fffffff0;color:#2c4e75;border:1px solid rgba(180,210,255,.6);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);padding:10px 18px 10px 14px;border-radius:14px;font-size:13.5px;font-weight:500;z-index:100010;opacity:0;transition:all .28s cubic-bezier(.22,1,.36,1);pointer-events:none;box-shadow:0 10px 32px #5078b438;display:flex;align-items:center;gap:9px;max-width:90vw;width:max-content;white-space:normal;word-break:break-all;text-align:left;overflow:hidden}.toast.show{opacity:1;transform:translate(-50%) translateY(0) scale(1)}.toast-icon{flex-shrink:0;width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center}.toast-icon svg{width:18px;height:18px}.toast-msg{flex:1;min-width:0}.toast:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#4a90e2}.toast.success:before{background:#22c55e}.toast.error:before{background:#ef4444}.toast.warning:before{background:#f59e0b}.toast.success .toast-icon{color:#22c55e}.toast.error .toast-icon{color:#ef4444}.toast.warning .toast-icon{color:#f59e0b}.toast.info .toast-icon{color:#4a90e2}.modal-mask{position:fixed;top:0;right:0;bottom:0;left:0;background:#1e32506b;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);touch-action:none;z-index:100005;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:opacity .22s ease,visibility .22s ease}.modal-mask.show{opacity:1;visibility:visible}.modal-box{background:#fff;border-radius:20px;width:400px;max-width:92vw;padding:26px 26px 22px;box-shadow:0 24px 70px #1428464d,0 2px 8px #14284614;transform:scale(.92) translateY(18px);transition:transform .32s cubic-bezier(.34,1.4,.64,1)}.modal-mask.show .modal-box{transform:scale(1) translateY(0)}.modal-head{display:flex;gap:14px;align-items:flex-start;margin-bottom:18px}.modal-icon{flex-shrink:0;width:42px;height:42px;border-radius:12px;background:linear-gradient(135deg,#eaf4ff,#dceaff);color:#4a90e2;display:flex;align-items:center;justify-content:center}.modal-icon svg{width:22px;height:22px}.modal-icon.warn{background:linear-gradient(135deg,#fff7e6,#ffeec2);color:#f59e0b}.modal-icon.danger{background:linear-gradient(135deg,#fff0f0,#ffe0e0);color:#ef4444}.modal-icon.input{background:linear-gradient(135deg,#eaf4ff,#dceaff);color:#4a90e2}.modal-head-text{flex:1;min-width:0;padding-top:2px}.modal-title{font-size:16.5px;font-weight:600;color:#1f3a5f;margin-bottom:4px;letter-spacing:.2px}.modal-desc{font-size:13.5px;color:#6b87ad;line-height:1.6;margin:0}.modal-input{width:100%;border:1.5px solid #dde8f5;border-radius:11px;padding:11px 14px;font-size:14px;color:#1f3a5f;background:#fafcff;outline:none;margin-bottom:20px;margin-top:0;transition:all .2s ease}.modal-input::placeholder{color:#9cb3cf}.modal-input:focus{border-color:#4a90e2;background:#fff;box-shadow:0 0 0 4px #4a90e21f}.modal-btns{display:flex;gap:10px;justify-content:flex-end}.modal-btn{padding:9px 22px;border-radius:11px;font-size:14px;font-weight:500;cursor:pointer;border:none;transition:all .18s ease;letter-spacing:.3px}.modal-btn.cancel{background:#f1f5fa;color:#5a7ba3}.modal-btn.cancel:hover{background:#e4ecf6;color:#3a5a82}.modal-btn.confirm{background:linear-gradient(135deg,#5aa0f0,#357abd);color:#fff;box-shadow:0 4px 14px #4a90e252}.modal-btn.confirm:hover{transform:translateY(-1px);box-shadow:0 7px 20px #4a90e26b}.modal-btn.confirm:active{transform:translateY(0)}.modal-btn.danger{background:linear-gradient(135deg,#f87171,#dc2626);color:#fff;box-shadow:0 4px 14px #ef444452}.modal-btn.danger:hover{transform:translateY(-1px);box-shadow:0 7px 20px #ef44446b}.modal-btn:disabled{opacity:.55;cursor:not-allowed;transform:none!important;box-shadow:none!important}@media (max-width: 768px){body{padding:0;align-items:stretch}.app-window{height:100vh;border-radius:0;max-width:100%}.sidebar{width:200px}.tooltip-fixed{display:none!important}.chat-scroll-actions{right:14px;bottom:14px}.topbar{flex-wrap:wrap}}.mode-tabs{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px;margin-bottom:10px;overflow:visible;scrollbar-width:none}.mode-tabs-group{display:flex;flex-wrap:wrap;gap:8px;flex:none;min-width:0}.mode-tabs::-webkit-scrollbar{display:none}.more-wrap{position:relative;flex:none;align-self:center}.more-btn.open{border-color:#4a90e2;box-shadow:0 2px 10px #4a90e240}.more-panel{top:auto;bottom:calc(100% + 6px);left:50%;transform:translate(-50%);z-index:300;width:max-content;min-width:150px;max-width:240px;max-height:360px;overflow-y:auto}.dd-sep{height:1px;background:#eef3fb;margin:6px 8px}.mode-tab{border:1px solid rgba(180,210,255,.6);background:#ffffffd9;color:#436a97;padding:6px 14px;border-radius:18px;font-size:13px;cursor:pointer;white-space:nowrap;transition:all .2s ease}.mode-tab:hover{border-color:#4a90e2;color:#2563a8}.mode-tab.active{background:linear-gradient(135deg,#74b9ff,#4a90e2);border-color:transparent;color:#fff;box-shadow:0 4px 12px #5491de59}.media-panel{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;background:#eaf4ffa6;border:1px solid rgba(180,210,255,.5);border-radius:14px;padding:10px 14px;margin-bottom:10px}.media-field{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.media-field.wide{flex-basis:100%}.media-label{font-size:12.5px;color:#436a97;white-space:nowrap}.media-input,.media-select{border:1px solid rgba(180,210,255,.7);background:#fff;color:#2c4e75;border-radius:10px;padding:5px 10px;font-size:13px;outline:none;transition:all .2s ease}.media-input{min-width:160px}.media-input.narrow,.media-select.narrow{min-width:76px;width:96px}.media-input:focus,.media-select:focus{border-color:#4a90e2;box-shadow:0 0 0 3px #4a90e226}.media-field.invalid .media-input,.media-field.invalid .media-select,.source-picker.invalid .upload-btn,.source-picker.invalid .source-pick-btn{border-color:#ff4d4f;box-shadow:0 0 0 3px #ff4d4f1f}.media-hint{font-size:12px;color:#8faccb}.media-static{font-size:12.5px;color:#2563a8;background:#eef3f9;border-radius:8px;padding:3px 10px}.media-hint.full{flex-basis:100%;line-height:1.5}.media-switch{position:relative;display:inline-block;width:32px;height:18px;flex-shrink:0}.media-switch input{opacity:0;width:0;height:0}.media-switch-slider{position:absolute;top:0;right:0;bottom:0;left:0;background:#c9d9ea;border-radius:18px;cursor:pointer;transition:all .2s ease}.media-switch-slider:before{content:"";position:absolute;width:14px;height:14px;left:2px;top:2px;background:#fff;border-radius:50%;transition:all .2s ease;box-shadow:0 1px 3px #2c4e754d}.media-switch input:checked+.media-switch-slider{background:#4a90e2}.media-switch input:checked+.media-switch-slider:before{transform:translate(14px)}.media-radio{display:inline-flex;align-items:center;gap:4px;font-size:13px;color:#2c4e75;cursor:pointer}.media-radio input{accent-color:#4a90e2}.media-range{width:130px;accent-color:#4a90e2;cursor:pointer}.range-value{font-size:12.5px;color:#2563a8;min-width:30px}.char-counter{font-size:11.5px;color:#8faccb;white-space:nowrap;align-self:flex-end;padding-bottom:4px}.char-counter.over{color:#ff4d4f}.input-box.box-invalid{border-color:#ff4d4f;box-shadow:0 0 0 3px #ff4d4f1f}.sub-tabs{display:flex;gap:6px;flex-basis:100%}.sub-tab{border:1px solid rgba(180,210,255,.6);background:#fff;color:#436a97;padding:4px 12px;border-radius:14px;font-size:12.5px;cursor:pointer;transition:all .2s ease}.sub-tab.active{background:#4a90e2;border-color:#4a90e2;color:#fff}.source-picker{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.upload-btn,.source-pick-btn{border:1px dashed rgba(74,144,226,.55);background:#ffffffe6;color:#2563a8;padding:5px 12px;border-radius:10px;font-size:12.5px;cursor:pointer;transition:all .2s ease;white-space:nowrap}.upload-btn:hover:not(:disabled),.source-pick-btn:hover{border-color:#4a90e2;background:#eaf4ff}.upload-btn:disabled,.upload-btn.loading{opacity:.6;cursor:wait}.source-pick-wrap{position:relative}.session-media-menu{position:absolute;bottom:calc(100% + 6px);left:0;min-width:220px;max-height:200px;overflow-y:auto;background:#fff;border:1px solid rgba(180,210,255,.6);border-radius:12px;box-shadow:0 12px 32px #2c4e7538;z-index:500;padding:6px}.session-media-item{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:8px;cursor:pointer;transition:background .15s ease}.session-media-item:hover{background:#eaf4ff}.session-media-item.selected{background:#dcefff}.session-media-thumb{width:34px;height:34px;border-radius:6px;object-fit:cover;flex-shrink:0;background:#f0f5fa}.session-media-thumb.video-thumb{display:flex;align-items:center;justify-content:center;font-size:16px}.session-media-name{font-size:12px;color:#2c4e75;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.source-chip{display:inline-flex;align-items:center;gap:5px;background:#dcefff;border:1px solid rgba(74,144,226,.35);color:#2563a8;font-size:12px;padding:3px 8px;border-radius:12px;max-width:200px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.source-chip-remove{border:none;background:transparent;color:#6f94bf;cursor:pointer;font-size:11px;padding:0 1px;line-height:1}.source-chip-remove:hover{color:#ff4d4f}.source-count{font-size:12px;color:#6f94bf}.task-card{width:100%;max-width:460px;background:#fff;border:1px solid rgba(180,210,255,.5);border-radius:18px 18px 18px 6px;box-shadow:0 6px 16px #aac8f033;padding:14px 16px;display:flex;flex-direction:column;gap:10px}.task-card-header{display:flex;align-items:center;gap:8px}.task-kind-icon{font-size:16px}.task-kind-label{font-size:14px;font-weight:600;color:#2563a8;flex:1}.task-status{font-size:11.5px;padding:2px 10px;border-radius:10px;white-space:nowrap}.task-status.pending{background:#eef3f9;color:#6f94bf}.task-status.processing{background:#eaf4ff;color:#2563a8;animation:status-breathe 1.6s ease-in-out infinite}.task-status.success{background:#e8f9ec;color:#37b24d}.task-status.failed{background:#fff0f0;color:#ff4d4f}@keyframes status-breathe{0%,to{opacity:1}50%{opacity:.55}}.task-params-summary{font-size:12px;color:#8faccb;word-break:break-all}.task-progress-wrap{display:flex;flex-direction:column;gap:6px}.task-progress{height:8px;border-radius:4px;background:#eef3f9;overflow:hidden}.task-progress-bar{height:100%;border-radius:4px;background:linear-gradient(90deg,#74b9ff,#4a90e2,#74b9ff);background-size:24px 100%;animation:progress-stripes .9s linear infinite;transition:width .4s ease}.task-progress-bar.indeterminate{width:30%!important;animation:progress-stripes .9s linear infinite,indeterminate-slide 1.4s ease-in-out infinite alternate}@keyframes progress-stripes{0%{background-position:0 0}to{background-position:24px 0}}@keyframes indeterminate-slide{0%{margin-left:0}to{margin-left:70%}}.task-progress-text{font-size:12px;color:#6f94bf}.task-image-grid{display:grid;gap:8px}.task-image-grid.cols-1{grid-template-columns:1fr}.task-image-grid.cols-2{grid-template-columns:1fr 1fr}.task-image-cell{position:relative;border-radius:12px;overflow:hidden;background:#f0f5fa;line-height:0}.task-image-item{width:100%;border-radius:12px;cursor:zoom-in;display:block;transition:transform .2s ease}.task-image-item:hover{transform:scale(1.02)}.task-image-dl{position:absolute;right:8px;bottom:8px;width:26px;height:26px;border-radius:8px;background:#ffffffe6;color:#2563a8;font-size:13px;display:flex;align-items:center;justify-content:center;text-decoration:none;opacity:0;transition:opacity .2s ease;box-shadow:0 2px 8px #2c4e7540;line-height:1}.task-image-cell:hover .task-image-dl{opacity:1}.task-video-wrap{border-radius:12px;overflow:hidden;background:#000;line-height:0}.task-video{width:100%;max-height:320px;display:block}.task-audio{width:100%}.task-actions{display:flex;gap:8px;flex-wrap:wrap}.task-action-btn{border:1px solid rgba(180,210,255,.7);background:#fff;color:#436a97;padding:5px 12px;border-radius:10px;font-size:12.5px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;gap:4px;transition:all .2s ease}.task-action-btn:hover{border-color:#4a90e2;color:#2563a8;background:#eaf4ff}.task-action-btn.primary{background:linear-gradient(135deg,#74b9ff,#4a90e2);border-color:transparent;color:#fff}.task-action-btn.primary:hover{background:linear-gradient(135deg,#5faef7,#357abd);color:#fff}.task-action-btn.other-file{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.task-error{font-size:13px;color:#d4380d;background:#fff7f5;border:1px solid rgba(255,77,79,.25);border-radius:10px;padding:8px 12px;line-height:1.5;word-break:break-all}.task-error-hint{margin-top:6px;padding-top:6px;border-top:1px dashed rgba(255,77,79,.25);font-size:12.5px;color:#ad6800;background:transparent}.task-retry-btn{border:1px solid rgba(255,77,79,.4);background:#fff;color:#ff4d4f;padding:5px 12px;border-radius:10px;font-size:12.5px;cursor:pointer;transition:all .2s ease}.task-retry-btn:hover{background:#fff0f0}.reasoning-block{border:1px solid rgba(180,210,255,.5);border-left:3px solid #74b9ff;background:#f7fbff;border-radius:10px;margin:2px 0 8px;overflow:hidden}.reasoning-header{display:flex;align-items:center;gap:8px;padding:6px 12px;font-size:12.5px;color:#436a97;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background .15s ease}.reasoning-header:hover{background:#eaf4ff}.reasoning-live{color:#4a90e2;animation:status-breathe 1.6s ease-in-out infinite}.reasoning-toggle{margin-left:auto;color:#8faccb;font-size:12px}.reasoning-content{padding:7px 12px 8px;font-size:13px;color:#5a7ba3;line-height:1.5;white-space:pre-wrap;word-break:break-word;max-height:220px;overflow-y:auto;border-top:1px dashed rgba(180,210,255,.5)}.tool-calls-badge{font-size:11px;color:#b0986a;background:#f5a6231f;padding:1px 7px;border-radius:10px}.tool-calls-inline{margin-top:6px;padding-top:6px;border-top:1px dashed rgba(180,210,255,.5)}.tool-call-item{padding:4px 0;border-bottom:1px dashed rgba(0,0,0,.05)}.tool-call-item:last-child{border-bottom:none}.tool-call-head{display:flex;align-items:center;gap:6px;font-size:12.5px}.tool-call-dot{width:8px;height:8px;border-radius:50%;background:#f5a623;flex-shrink:0}.tool-call-dot.done{background:#52c41a}.tool-call-dot.running{background:#4a90e2;animation:status-breathe 1.4s ease-in-out infinite}.tool-call-name{font-family:Consolas,Monaco,monospace;color:#436a97;font-weight:600}.tool-call-time{margin-left:auto;color:#8faccb;font-size:11px}.tool-call-running{color:#4a90e2;font-size:11px}.tool-call-args,.tool-call-result{margin-top:3px;font-size:12px;color:#7a93b3;line-height:1.5;white-space:pre-wrap;word-break:break-word;font-family:Consolas,Monaco,monospace}.tool-call-result{color:#5a7ba3}.msg-bubble .md-image-link{display:block;width:fit-content;max-width:100%;margin:8px 0}.msg-bubble .md-image{max-width:100%;max-height:360px;border-radius:12px;display:block;cursor:zoom-in;background:#f0f5fa}.msg-bubble .md-video{max-width:100%;max-height:360px;border-radius:12px;display:block;margin:8px 0;background:#000}@media (max-width: 768px){.media-panel{gap:8px 12px}.media-field{flex-basis:100%}.media-input{min-width:0;flex:1}.task-card{max-width:100%}.task-image-grid.cols-2{grid-template-columns:1fr}.mode-tabs{padding-bottom:2px}}.project-btn{border:1px solid rgba(180,210,255,.7);background:#ffffffeb;color:#436a97;padding:6px 14px;border-radius:10px;font-size:13px;cursor:pointer;white-space:nowrap;transition:all .2s ease;box-shadow:0 2px 8px #a0bee61f}.project-btn:hover{border-color:#4a90e2;color:#2563a8;background:#eaf4ff}.project-btn.bound{background:#dcefff;border-color:#4a90e273;color:#2563a8}.project-btn:disabled{opacity:.6;cursor:wait}.mode-tabs .project-btn{flex-shrink:0;border-radius:18px;padding:6px 14px;font-size:13px;background:#ffffffd9}.mode-tabs .project-btn.bound{background:#dcefff}.project-bar{display:flex;align-items:center;gap:8px;padding:8px 24px;background:linear-gradient(135deg,#dcefffd9,#f0f8ffb3);border-bottom:1px solid rgba(180,210,255,.35);font-size:13px;color:#436a97;flex-wrap:wrap}.project-bar-icon{font-size:15px}.project-bar-name{font-weight:600;color:#2563a8;max-width:260px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.project-bar-meta{font-size:12px;color:#8faccb}.project-bar-actions{margin-left:auto;display:flex;gap:8px}.project-chip-btn{border:1px solid rgba(180,210,255,.7);background:#fff;color:#436a97;padding:4px 10px;border-radius:10px;font-size:12px;cursor:pointer;transition:all .2s ease;white-space:nowrap}.project-chip-btn:hover:not(:disabled){border-color:#4a90e2;color:#2563a8;background:#eaf4ff}.project-chip-btn:disabled{opacity:.5;cursor:not-allowed}.project-chip-btn.danger{border-color:#ff4d4f59;color:#ff4d4f}.project-chip-btn.danger:hover{background:#fff0f0;border-color:#ff4d4f}.project-modal-mask{position:fixed;top:0;right:0;bottom:0;left:0;background:#1e32506b;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);z-index:100001;display:flex;align-items:center;justify-content:center;touch-action:none;animation:maskFadeIn .22s ease forwards}@keyframes maskFadeIn{0%{opacity:0}to{opacity:1}}.project-modal{background:#fff;border-radius:18px;width:min(600px,92vw);max-height:78vh;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 24px 70px #1428464d;overscroll-behavior:contain;animation:modalPopIn .32s cubic-bezier(.34,1.3,.64,1) forwards}@keyframes modalPopIn{0%{transform:scale(.94) translateY(16px);opacity:0}to{transform:scale(1) translateY(0);opacity:1}}.project-modal-head{display:flex;align-items:center;gap:10px;padding:14px 18px;border-bottom:1px solid #eef3fa;background:linear-gradient(180deg,#fafcff,#f5f9ff)}.project-modal-title{font-size:14px;font-weight:600;color:#1f3a5f;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex:1}.project-modal-tools{display:flex;gap:8px;flex-shrink:0}.project-tree{flex:1;margin:0;padding:16px 20px;overflow:auto;background:#f6f9fc;color:#33507a;font-size:12.5px;line-height:1.75;font-family:JetBrains Mono,Consolas,Courier New,monospace;white-space:pre}.knowledge-btn{margin-left:0}.knowledge-modal{width:min(560px,92vw);display:flex;flex-direction:column}.knowledge-modal p.knowledge-hint{margin:0;padding:10px 18px;font-size:12.5px;color:#6b7f96;line-height:1.6;background:#f0f6ff}.kb-toolbar{display:flex;align-items:center;gap:8px;padding:10px 18px 0}.kb-toolbar .media-label{flex:none;font-size:12.5px;color:#6b7f96}.kb-toolbar .dd-wrap{flex:1;min-width:0}.kb-toolbar .dd-trigger{width:100%;min-width:0}.kb-readonly-hint{flex:none;font-size:12px;color:#b8860b;background:#b8860b1f;border:1px solid rgba(184,134,11,.35);padding:3px 8px;border-radius:8px}.kb-create-row{display:flex;align-items:center;gap:8px;padding:10px 18px}.kb-create-row .media-input{flex:1;min-width:0}.kb-create-row .kb-vis-wrap{flex:none;min-width:0}.kb-create-row .kb-vis-wrap .dd-trigger{min-width:140px;width:140px}.kb-create-row .project-chip-btn.primary{background:#2563a8;color:#fff;border-color:#2563a8}.knowledge-empty,.knowledge-disabled{flex:1;padding:34px 18px;text-align:center;font-size:13px;color:#8a9bb0;line-height:1.8}.knowledge-disabled{color:#b5813a}.knowledge-list{flex:1;margin:0;padding:8px 18px 16px;list-style:none;overflow:auto;overscroll-behavior:contain}.knowledge-item{display:flex;align-items:center;gap:10px;padding:9px 4px;border-bottom:1px solid #eef3fa}.knowledge-item-main{flex:1;min-width:0}.knowledge-name{display:block;font-size:13.5px;font-weight:600;color:#2c4e75;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.knowledge-meta{display:block;margin-top:2px;font-size:12px;color:#8a9bb0}.knowledge-item .project-chip-btn.danger{flex-shrink:0}.kb-doc-link{padding:0;border:none;background:none;cursor:pointer;text-align:left;width:100%}.kb-doc-link:hover{color:#2563a8;text-decoration:underline}.kb-health-bad{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:8px;font-size:11.5px;color:#b3541e;background:#b3541e1a;border:1px solid rgba(179,84,30,.3);cursor:help}.kb-preview{flex:1;min-height:0;display:flex;flex-direction:column}.kb-preview-head{display:flex;align-items:center;gap:10px;padding:12px 18px 8px}.kb-preview-title{flex:1;min-width:0;text-align:center}.kb-chunk-list{flex:1;margin:0;padding:4px 18px 16px;list-style:none;overflow:auto;overscroll-behavior:contain}.kb-chunk{display:flex;gap:10px;padding:10px 4px;border-bottom:1px solid #eef3fa}.kb-chunk-seq{flex:none;font-size:12px;font-weight:700;color:#2563a8;line-height:1.7}.kb-chunk-text{flex:1;min-width:0;margin:0;font-family:inherit;font-size:12.5px;color:#3d5166;line-height:1.7;white-space:pre-wrap;word-break:break-word}.memory-modal{width:min(560px,92vw)}.memory-add-row{display:flex;gap:8px;align-items:stretch;padding:4px 18px 14px}.memory-add-input{flex:1;min-width:0;padding:8px 10px;border:1px solid #d8e2ef;border-radius:8px;background:#fff;color:#1f2733;font-size:13px}.memory-add-input:focus{outline:none;border-color:#4f8ff7;box-shadow:0 0 0 2px #4f8ff726}.memory-add-cat{padding:8px 6px;border:1px solid #d8e2ef;border-radius:8px;background:#fff;color:#1f2733;font-size:13px;cursor:pointer}.memory-cat-wrap{flex:none}.memory-cat-wrap .dd-trigger{min-width:88px;height:100%;box-sizing:border-box;padding:6px 10px}.memory-cat-wrap .dd-panel{min-width:130px}@media (max-width: 768px){.project-bar{padding:8px 14px}.project-bar-name{max-width:150px}.project-bar-actions{margin-left:0;width:100%;justify-content:flex-end}}.hamburger-btn{display:none;align-items:center;justify-content:center;flex:none;width:34px;height:34px;border-radius:9px;border:1px solid rgba(180,210,255,.7);background:#fff;color:#2563a8;cursor:pointer;transition:all .2s ease}.hamburger-btn:hover{border-color:#4a90e2;box-shadow:0 2px 8px #4a90e233}.hamburger-btn svg{width:18px;height:18px}.sidebar-mask{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f233c59;z-index:110;touch-action:none}@media (max-width: 768px){.app-window{width:100vw;height:100vh;max-width:100%;border-radius:0;border:none}.hamburger-btn{display:inline-flex}.model-select-wrap,.fullscreen-btn{display:none}.topbar{padding:10px 12px;gap:8px}.topbar-left{gap:8px;min-width:0}.topbar-title{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.auth-user-btn,.auth-login-btn{padding:5px 9px;font-size:12px}.status{font-size:12px}.sidebar{position:fixed;left:0;top:0;bottom:0;width:80vw;max-width:300px;transform:translate(-105%);transition:transform .24s ease;z-index:120;box-shadow:0 0 24px #3c64a040}.sidebar.open{transform:none}.session-item{padding:12px 10px}.new-chat-btn,.clear-btn{padding:11px 10px}.input-area{padding:10px 12px calc(10px + env(safe-area-inset-bottom))}.input-box{border-radius:16px;padding:6px 6px 6px 12px}.input-textarea{font-size:15px}.send-btn{min-height:38px;min-width:54px}.voice-btn{min-height:36px;min-width:44px}.mode-tab{padding:7px 12px;font-size:12.5px}.project-btn{padding:7px 10px;font-size:12px}.chat-area{padding:12px 12px 80px}.msg-bubble{max-width:88%}}.planner-modal{width:min(640px,calc(100vw - 48px))}.planner-add-row{display:flex;align-items:stretch;gap:8px;padding:6px 18px 12px;flex-wrap:nowrap}.planner-add-row .memory-add-input{flex:1 1 100px;min-width:0}.planner-datetime{position:relative;flex:none;height:38px;box-sizing:border-box;display:flex;align-items:center;gap:6px;padding:0 10px;background:#fff;border:1px solid rgba(180,210,255,.7);border-radius:12px;box-shadow:0 1px 4px #a0bee626;transition:border-color .2s ease,box-shadow .2s ease,transform .1s ease;cursor:pointer}.planner-datetime:hover{border-color:#4a90e2;box-shadow:0 2px 12px #4a90e22e}.planner-datetime:active{transform:translateY(1px)}.planner-datetime.set{border-color:#4a90e28c;background:linear-gradient(135deg,#e9f3ff,#f2f9ff)}.planner-datetime-icon{flex:none;width:15px;height:15px;color:#4a90e2}.planner-datetime-text{font-size:13px;color:#2563a8;white-space:nowrap}.planner-datetime-text.placeholder{color:#8faccb}.planner-datetime-short{display:none}.planner-datetime-clear{flex:none;width:16px;height:16px;border:none;border-radius:50%;background:#e6eef8;color:#7b93b3;cursor:pointer;font-size:10px;padding:0;line-height:1;display:inline-flex;align-items:center;justify-content:center;transition:background .15s ease,color .15s ease}.planner-datetime-clear:hover{background:#ffe9e9;color:#ff4d4f}.planner-datetime-native{position:absolute;left:0;top:0;width:1px;height:1px;padding:0;border:0;opacity:0;pointer-events:none}.planner-loc{flex:1 1 120px;min-width:0}.planner-pri-wrap{flex:none}.planner-pri-wrap .dd-trigger{min-width:96px;height:100%;box-sizing:border-box;padding:6px 10px}.planner-pri-wrap .dd-panel{min-width:128px}.project-chip-btn.active{background:#e6f2ff;color:#2563a8;border-color:#2563a8;font-weight:600}.planner-check{flex:none;width:22px;height:22px;margin-right:6px;border:1.5px solid #a9bcd2;border-radius:50%;background:#fff;color:#2f7bd0;font-size:14px;line-height:1;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:all .15s ease;font-family:inherit}.planner-check:hover{border-color:#2f7bd0}.planner-check.done{background:#2f7bd0;border-color:#2f7bd0;color:#fff}.planner-strike{text-decoration:line-through;color:#9aa9bc!important}.persona-modal{width:min(560px,calc(100vw - 48px))}.persona-label{display:block;padding:2px 18px 6px;font-size:12.5px;font-weight:600;color:#3d5a80}.persona-textarea{display:block;width:calc(100% - 36px);margin:0 18px 14px;padding:10px 12px;border:1px solid #d8e2ef;border-radius:10px;background:#fff;color:#1f2733;font-size:13.5px;line-height:1.6;font-family:inherit;resize:vertical;box-sizing:border-box;min-height:96px}.persona-textarea:focus{outline:none;border-color:#4f8ff7;box-shadow:0 0 0 2px #4f8ff726}.persona-tone-wrap{flex:none;padding:0 18px}.persona-tone-wrap .dd-trigger{min-width:210px;max-width:100%;box-sizing:border-box}.persona-tone-panel{min-width:210px}.persona-tone-input{display:block;width:calc(100% - 36px);margin:10px 18px 0;padding:8px 10px;border:1px solid #d8e2ef;border-radius:8px;background:#fff;color:#1f2733;font-size:13px;box-sizing:border-box}.persona-tone-input:focus{outline:none;border-color:#4f8ff7;box-shadow:0 0 0 2px #4f8ff726}.persona-actions{display:flex;justify-content:flex-end;gap:8px;padding:14px 18px 18px}@media (max-width: 560px){.planner-add-row{gap:6px;padding-left:12px;padding-right:12px}.planner-add-row .memory-add-input{flex-basis:50px}.planner-datetime{padding:0 8px}.planner-datetime-full{display:none}.planner-datetime-short{display:inline}.planner-pri-wrap .dd-trigger{min-width:76px;padding:6px 8px}.planner-loc{flex:1 1 50px}}html[data-theme=dark]{color-scheme:dark;background:linear-gradient(#0a101c8c,#0a101c8c),url(/assets/img1-DZaRLkaM.webp) center / cover no-repeat fixed,linear-gradient(135deg,#0d1424,#101a2c,#0b1422)}html[data-theme=dark] body{padding:24px}html[data-theme=dark] .app-window,html[data-theme=dark] .main{background:#111a2bd1;color:#dce7f6;border-color:#5a78a573}html[data-theme=dark] .topbar{background:#0f1828e6;border-color:#5a78a566;color:#dce7f6}html[data-theme=dark] .topbar-title,html[data-theme=dark] .model-select-wrap label{color:#c6d8ef}html[data-theme=dark] .sidebar{background:#0d1524eb;border-color:#5a78a566;color:#dce7f6}html[data-theme=dark] .session-item,html[data-theme=dark] .new-chat-btn,html[data-theme=dark] .clear-btn{color:#dce7f6}html[data-theme=dark] .clear-btn{background:#1b2940;border-color:#6e96cd80}html[data-theme=dark] .clear-btn:hover{background:#4a90e240;color:#e8f3ff}html[data-theme=dark] .session-item.active,html[data-theme=dark] .session-item:hover{background:#4a90e22e}html[data-theme=dark] .dd-trigger{background:#1b2940;border-color:#6e96cd80;color:#bcd6f5}html[data-theme=dark] .dd-trigger:hover{border-color:#4a90e2;box-shadow:0 2px 10px #4a90e24d}html[data-theme=dark] .dd-panel{background:#1b2940;border-color:#6e96cd80;box-shadow:0 12px 32px #00000080}html[data-theme=dark] .dd-item{color:#dce7f6}html[data-theme=dark] .dd-item:hover{background:#4a90e233;color:#e8f3ff}html[data-theme=dark] .dd-item.on{color:#7fb4f5}html[data-theme=dark] .dd-group-label{color:#8fb4da}html[data-theme=dark] .dd-check{color:#7fb4f5}html[data-theme=dark] .dd-sep{background:#2c3850}html[data-theme=dark] .more-btn.open{border-color:#4a90e2;box-shadow:0 2px 10px #4a90e24d}html[data-theme=dark] .input-area,html[data-theme=dark] .input-box{background:#0f1828e6;border-color:#5a78a573}html[data-theme=dark] .input-textarea{color:#e6f0fc}html[data-theme=dark] .input-textarea::placeholder{color:#7d93b0}html[data-theme=dark] .mode-tab,html[data-theme=dark] .project-btn,html[data-theme=dark] .send-btn{color:#cfe0f4;border-color:#6e96cd66;background:#1b294099}html[data-theme=dark] .voice-btn,html[data-theme=dark] .msg-voice-btn{color:#cfe0f4;background:#ffffff14}html[data-theme=dark] .voice-btn:hover,html[data-theme=dark] .msg-voice-btn:hover{background:#ffffff26;color:#fff}html[data-theme=dark] .voice-btn.recording{background:#fa5151;color:#fff}html[data-theme=dark] .msg-voice-btn.playing{background:#07c160;color:#fff}html[data-theme=dark] .mode-tab.active,html[data-theme=dark] .project-btn.active{background:#4a90e240;color:#e8f3ff}html[data-theme=dark] .chat-area{color:#dce7f6}html[data-theme=dark] .msg-bubble,html[data-theme=dark] .msg-row.ai .msg-bubble{background:#182441!important;border-color:#5a78a566;color:#e6f0fc!important}html[data-theme=dark] .msg-bubble.user,html[data-theme=dark] .msg-row.user .msg-bubble{background:#4a90e238!important;color:#e8f3ff!important}html[data-theme=dark] .msg-bubble h1,html[data-theme=dark] .msg-bubble h2,html[data-theme=dark] .msg-bubble h3,html[data-theme=dark] .msg-bubble h4,html[data-theme=dark] .msg-bubble p,html[data-theme=dark] .msg-bubble li,html[data-theme=dark] .msg-bubble blockquote,html[data-theme=dark] .msg-bubble ol,html[data-theme=dark] .msg-bubble ul{color:#e6f0fc}html[data-theme=dark] .msg-bubble pre{background:#0e1726!important;border-color:#5a78a566}html[data-theme=dark] .msg-bubble pre code{color:#cfe3f8}html[data-theme=dark] .msg-bubble :not(pre)>code{background:#24334f;color:#f0a6c9}html[data-theme=dark] .msg-bubble table th,html[data-theme=dark] .msg-bubble table td{border-color:#6e96cd66}html[data-theme=dark] .msg-bubble table th{background:#1b2940}html[data-theme=dark] .reasoning-block{background:#101a2c;border-color:#5a78a566;border-left-color:#74b9ff}html[data-theme=dark] .reasoning-header{color:#a8c8ef}html[data-theme=dark] .reasoning-header:hover{background:#4a90e226}html[data-theme=dark] .reasoning-live{color:#7fb4f5}html[data-theme=dark] .reasoning-toggle{color:#8fb4da}html[data-theme=dark] .reasoning-content{color:#cfe3f8;border-top-color:#6e96cd59}html[data-theme=dark] .tool-calls-badge{color:#d4b87a;background:#f5a62326}html[data-theme=dark] .tool-calls-inline{border-top-color:#6e96cd59}html[data-theme=dark] .tool-call-name{color:#a8c8ef}html[data-theme=dark] .tool-call-args{color:#8fb4da}html[data-theme=dark] .tool-call-result{color:#cfe3f8}html[data-theme=dark] .msg-bubble hr{border-color:#6e96cd66}html[data-theme=dark] .code-lang-tag,html[data-theme=dark] .copy-code-btn,html[data-theme=dark] .run-code-btn{color:#a8c8ef;background:#4a90e22e;border-color:#6e96cd80}html[data-theme=dark] .project-modal{background:#111a2bf7;border-color:#5a78a580;color:#dce7f6}html[data-theme=dark] .project-modal-title,html[data-theme=dark] .persona-label{color:#c6d8ef}html[data-theme=dark] .project-chip-btn{color:#cfe0f4;border-color:#6e96cd66;background:#1b294099}html[data-theme=dark] .project-chip-btn.primary{background:#4a90e259;color:#eaf4ff}html[data-theme=dark] .knowledge-hint,html[data-theme=dark] .knowledge-empty,html[data-theme=dark] .knowledge-name,html[data-theme=dark] .knowledge-meta{color:#c9dbf1}html[data-theme=dark] .knowledge-item{border-color:#5a78a559}html[data-theme=dark] .knowledge-disabled{color:#e0a97b}html[data-theme=dark] .memory-add-input,html[data-theme=dark] .memory-add-cat,html[data-theme=dark] .persona-textarea,html[data-theme=dark] .persona-tone-input,html[data-theme=dark] .planner-datetime,html[data-theme=dark] .planner-datetime.set,html[data-theme=dark] .tpl-add-textarea,html[data-theme=dark] .planner-check{background:#182441;border-color:#6e96cd73;color:#e6f0fc}html[data-theme=dark] .memory-add-input::placeholder,html[data-theme=dark] .persona-textarea::placeholder,html[data-theme=dark] .persona-tone-input::placeholder{color:#7d93b0}html[data-theme=dark] .planner-datetime.set{background:linear-gradient(135deg,#1c2c4c,#203351)}html[data-theme=dark] .auth-login-btn,html[data-theme=dark] .auth-user-btn,html[data-theme=dark] .auth-menu{color:#dce7f6;border-color:#6e96cd66;background:#1b2940}html[data-theme=dark] .status{color:#a9c3df}html[data-theme=dark] .tpl-list,html[data-theme=dark] .tpl-item{border-color:#5a78a559}html[data-theme=dark] .tpl-item:hover{background:#4a90e226}html[data-theme=dark] .tpl-title{color:#e6f0fc}html[data-theme=dark] .tpl-desc{color:#8fb0d2}html[data-theme=dark] .theme-btn,html[data-theme=dark] .fullscreen-btn,html[data-theme=dark] .hamburger-btn{color:#cfe0f4;border-color:#6e96cd66;background:#1b294099}.theme-btn{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid rgba(160,190,230,.6);border-radius:9px;background:#ffffffa6;color:#2563a8;font-size:15px;cursor:pointer;transition:all .2s ease}.theme-btn:hover{border-color:#4a90e2;box-shadow:0 2px 10px #4a90e233}.templates-modal{width:min(620px,calc(100vw - 48px))}.tpl-list{list-style:none;margin:0;padding:0 18px 18px;max-height:400px;overflow-y:auto;overflow-x:hidden}.tpl-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid #e1eaf4;border-radius:10px;margin-bottom:8px;cursor:pointer;transition:background .15s ease,border-color .15s ease}.tpl-item:hover{background:#f2f7fe;border-color:#bcd6f5}.tpl-main{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.tpl-icon{font-size:16px;flex:none}.tpl-body{display:flex;flex-direction:column;min-width:0}.tpl-title{font-size:13.5px;font-weight:600;color:#2c4e75;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tpl-desc{font-size:12px;color:#8aa5c2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tpl-actions{display:flex;gap:6px;flex:none}.tpl-add-block{padding:0 18px 14px;display:flex;flex-direction:column;gap:8px}.tpl-add-textarea{padding:10px 12px;border:1px solid #d8e2ef;border-radius:10px;background:#fff;color:#1f2733;font-size:13px;line-height:1.6;font-family:inherit;resize:vertical}.tpl-add-textarea:focus{outline:none;border-color:#4f8ff7;box-shadow:0 0 0 2px #4f8ff726}.tpl-add-actions{display:flex;justify-content:flex-end;gap:8px}.export-panel{left:auto;right:0;min-width:160px}.export-btn.open{border-color:#4a90e2;box-shadow:0 2px 10px #4a90e240}.live-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;display:flex;align-items:center;justify-content:center;background:#0f1e3280;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.live-card{width:min(560px,calc(100vw - 40px));border-radius:16px;background:#f6f9fe;border:1px solid #dbe6f3;padding:18px 20px 22px;box-shadow:0 18px 48px #14284638}.live-head{display:flex;align-items:center;gap:10px;margin-bottom:10px}.live-title{font-size:16px;font-weight:700;color:#1c3a5c}.live-status{font-size:12px;padding:3px 10px;border-radius:20px;background:#e3ebf6;color:#5a7490}.live-status.ready{background:#ddf1e4;color:#2f8f4e}.live-status.replying{background:#e6f0ff;color:#2f6fd0}.live-status.connecting{background:#fdf2e2;color:#c07a1c}.live-status.error{background:#fde7e7;color:#cf3f3f}.live-hint{font-size:12.5px;color:#6b86a3;line-height:1.7;margin:0 0 12px}.live-center{display:flex;flex-direction:column;align-items:center;gap:12px;padding:6px 0 4px}.live-talk-btn{width:168px;height:168px;border-radius:50%;border:none;background:linear-gradient(145deg,#4a90e2,#2f6fd0);color:#fff;font-size:18px;font-weight:600;cursor:pointer;box-shadow:0 10px 26px #2f6fd066;transition:transform .12s ease,box-shadow .12s ease,background .15s ease;-webkit-user-select:none;user-select:none}.live-talk-btn:hover:not(:disabled){transform:scale(1.04)}.live-talk-btn:active:not(:disabled){transform:scale(.97)}.live-talk-btn.on{background:linear-gradient(145deg,#f06464,#d9413f);box-shadow:0 10px 26px #d9413f66}.live-talk-btn:disabled{background:#b9c6d8;box-shadow:none;cursor:not-allowed}.live-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:center}.project-chip-btn.danger{color:#cf3f3f;border-color:#f0c9c9}.project-chip-btn.danger:hover:not(:disabled){background:#fdeeee}.live-tip{font-size:12px;color:#8aa5c2}.live-texts{display:flex;flex-direction:column;gap:10px;margin-top:16px}.live-item{display:flex;gap:8px;align-items:center}.live-label{flex:none;font-size:12.5px;font-weight:600;color:#3a5b7d}.live-item.ai .live-label{color:#2f6fd0}.live-text{font-size:13.5px;color:#1f2c3a;line-height:1.7;background:#fff;border:1px solid #e3ebf6;border-radius:10px;padding:8px 12px;flex:1;word-break:break-word}html[data-theme=dark] .live-card{background:#1b2434;border-color:#2c3850}html[data-theme=dark] .live-title{color:#e6eef8}html[data-theme=dark] .live-hint{color:#9db1ca}html[data-theme=dark] .live-status{background:#2a3550;color:#b9c9dd}html[data-theme=dark] .live-status.ready{background:#1e3a2c;color:#7fd6a0}html[data-theme=dark] .live-status.replying{background:#24334f;color:#86b0f5}html[data-theme=dark] .live-status.connecting{background:#3a311f;color:#e0b471}html[data-theme=dark] .live-status.error{background:#3a2222;color:#f09797}html[data-theme=dark] .live-text{background:#141c2a;border-color:#2c3850;color:#d7e2f0}html[data-theme=dark] .live-label{color:#b9c9dd}html[data-theme=dark] .live-item.ai .live-label{color:#86b0f5}html[data-theme=dark] .live-tip{color:#8a9cb4}html[data-theme=dark] .project-chip-btn.danger{color:#f09797;border-color:#5c3333}html[data-theme=dark] .project-chip-btn.danger:hover:not(:disabled){background:#3a2222}html[data-theme=dark] .live-mask{background:#050c169e}html[data-theme=dark] .welcome-card{background:linear-gradient(135deg,#141c2a,#182441);border-color:#5a78a566;box-shadow:0 10px 24px #00000059}html[data-theme=dark] .welcome-card h3{color:#7fb4f5}html[data-theme=dark] .welcome-card p,html[data-theme=dark] .welcome-skills li{color:#cfe3f8}html[data-theme=dark] .welcome-card code{background:#24334f;color:#a8c8ef}html[data-theme=dark] .media-panel{background:#182441a6;border-color:#5a78a566}html[data-theme=dark] .media-label{color:#cfe3f8}html[data-theme=dark] .media-input,html[data-theme=dark] .media-select{background:#101a2c;border-color:#6e96cd80;color:#e6f0fc}html[data-theme=dark] .media-input:focus,html[data-theme=dark] .media-select:focus{border-color:#4a90e2;box-shadow:0 0 0 3px #4a90e240}html[data-theme=dark] .media-hint{color:#8fb4da}html[data-theme=dark] .media-static{background:#1b2940;color:#a8c8ef}html[data-theme=dark] .pipeline-flow{background:#26344f99;color:#a8c8ef}html[data-theme=dark] .sub-tab{background:#1b2940;border-color:#6e96cd80;color:#bcd6f5}html[data-theme=dark] .sub-tab.active{background:#4a90e280;border-color:#4a90e2;color:#fff}html[data-theme=dark] .upload-btn,html[data-theme=dark] .source-pick-btn{background:#1b2940d9;border-color:#6e96cd80;color:#a8c8ef}html[data-theme=dark] .scroll-btn{background:#101a2ce6;border-color:#6e96cd80;color:#7fb4f5;box-shadow:0 6px 18px #0006}html[data-theme=dark] .scroll-btn:hover{background:#1b2940;border-color:#4a90e2}html[data-theme=dark] .scroll-btn.to-bottom.has-new{background:linear-gradient(135deg,#3f7fd0,#2f6fd0);border-color:transparent;color:#fff}html[data-theme=dark] .scroll-btn.to-bottom.has-new:hover{background:linear-gradient(135deg,#357abd,#2a5fae)}html[data-theme=dark] .project-modal-head{border-bottom-color:#5a78a566}html[data-theme=dark] .knowledge-modal p.knowledge-hint{background:#1b2940}html[data-theme=dark] .project-tree{background:#101a2c;color:#cfe3f8}html[data-theme=dark] .kb-readonly-hint{background:#b8860b33;border-color:#b8860b66;color:#d8b46a}html[data-theme=dark] .project-chip-btn.active{background:#4a90e247;border-color:#4a90e2;color:#e8f3ff}html[data-theme=dark] .planner-datetime-text{color:#a8c8ef}html[data-theme=dark] .planner-datetime-text.placeholder{color:#7d93b0}html[data-theme=dark] .planner-datetime-icon{color:#7fb4f5}html[data-theme=dark] .planner-datetime-clear{background:#2a3550;color:#a8bcd3}html[data-theme=dark] .planner-datetime-clear:hover{background:#d9413f40;color:#f09797}html[data-theme=dark] .auth-login-btn,html[data-theme=dark] .auth-user-btn{background:#1b2940d9;border-color:#6e96cd80;color:#bcd6f5}html[data-theme=dark] .auth-user-btn b{color:#7fb4f5}html[data-theme=dark] .auth-login-btn:hover,html[data-theme=dark] .auth-user-btn:hover,html[data-theme=dark] .auth-user-btn.open{background:#1b2940;border-color:#4a90e2;color:#e8f3ff}html[data-theme=dark] .auth-menu-head{color:#a8c8ef;border-bottom-color:#5a78a566}html[data-theme=dark] .auth-menu-row{color:#8fb4da}html[data-theme=dark] .auth-menu-row b{color:#7fb4f5}html[data-theme=dark] .auth-menu-btn{background:#1b2940;border-color:#6e96cd80;color:#a8c8ef}html[data-theme=dark] .auth-menu-btn:hover{background:#4a90e233;border-color:#4a90e2;color:#e8f3ff}html[data-theme=dark] .auth-menu-logout{background:#1b2940;border-color:#ff4d4f66;color:#f09797}html[data-theme=dark] .auth-menu-logout:hover{background:#d9413f26}html[data-theme=dark] .modal-mask{background:#050c1699}html[data-theme=dark] .modal-box,html[data-theme=dark] .auth-box{background:#1b2940;border-color:#5a78a580;color:#dce7f6}html[data-theme=dark] .modal-title{color:#c6d8ef}html[data-theme=dark] .modal-desc{color:#a8c8ef}html[data-theme=dark] .modal-input{background:#101a2c;border-color:#6e96cd80;color:#e6f0fc}html[data-theme=dark] .modal-btn{background:#1b2940;border-color:#6e96cd80;color:#bcd6f5}html[data-theme=dark] .modal-btn.confirm{background:#4a90e266;border-color:#4a90e2;color:#fff}html[data-theme=dark] .modal-btn.cancel{background:#1b2940}html[data-theme=dark] .auth-title{color:#e6f0fc}html[data-theme=dark] .auth-sub{color:#8fb4da}html[data-theme=dark] .auth-logo{box-shadow:0 8px 20px #4a90e24d}html[data-theme=dark] .auth-tabs{background:#101a2c}html[data-theme=dark] .auth-tabs .sub-tab{color:#8fb4da}html[data-theme=dark] .auth-tabs .sub-tab.active{background:#1f3355;color:#fff;box-shadow:0 2px 8px #0000004d}html[data-theme=dark] .auth-submit{box-shadow:0 6px 16px #4a90e240}html[data-theme=dark] .auth-divider{color:#3a4f6e}html[data-theme=dark] .auth-close{color:#5a7090}html[data-theme=dark] .auth-close:hover{background:#1b2940;color:#dce7f6}html[data-theme=dark] .modal-box,html[data-theme=dark] .auth-box{background:#1b2940!important;border-color:#5a78a580!important;color:#dce7f6!important}html[data-theme=dark] .modal-input{background:#101a2c!important;color:#e6f0fc!important;border-color:#6e96cd80!important}html[data-theme=dark] .modal-input::placeholder{color:#7d93b0!important}html[data-theme=dark] .modal-btn{background:#1b2940!important;color:#bcd6f5!important;border-color:#6e96cd80!important}html[data-theme=dark] .modal-btn.confirm{background:#4a90e273!important;color:#fff!important}html[data-theme=dark] .auth-tip{color:#8fb4da}html[data-theme=dark] .auth-tabs .sub-tab{background:#1b2940;border-color:#6e96cd80;color:#bcd6f5}html[data-theme=dark] .auth-tabs .sub-tab.active{background:#4a90e266;border-color:#4a90e2;color:#fff}html[data-theme=dark] .live-card{background:#1b2434!important;border-color:#2c3850!important}html[data-theme=dark] .live-talk-btn{background:linear-gradient(145deg,#3f7fd0,#2f6fd0)}html[data-theme=dark] .live-talk-btn.on{background:linear-gradient(145deg,#e05555,#cf3f3f)}html[data-theme=dark] .live-talk-btn:disabled{background:#2a3550;box-shadow:none;color:#8fa3bd}.dd-item.disabled{opacity:.45;cursor:not-allowed}.dd-item.disabled:hover{background:transparent}html[data-theme=dark] .dd-item.disabled{opacity:.35}.phone-row{display:flex;gap:10px;align-items:center;margin-bottom:14px}.phone-row .modal-input{margin-bottom:0;margin-top:0;flex:1}.sms-btn{height:40px;padding:0 12px;border:1px solid rgba(180,210,255,.7);border-radius:10px;background:#eef5ff;color:#2f6fd0;font-size:13px;cursor:pointer;white-space:nowrap;transition:all .2s}.sms-btn:disabled{opacity:.55;cursor:not-allowed}.sms-btn:not(:disabled):hover{background:#dcebfb}.auth-switch{margin-top:8px;text-align:center;font-size:12px;color:#8faccb}.auth-switch a{color:#4a90e2;cursor:pointer;text-decoration:none}html[data-theme=dark] .sms-btn{background:#1b2940;border-color:#6e96cd80;color:#bcd6f5}html[data-theme=dark] .sms-btn:not(:disabled):hover{background:#22314d}html[data-theme=dark] .auth-switch{color:#8fb4da}html[data-theme=dark] .auth-switch a{color:#6fa5e8}.pkg-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:10px;margin:8px 0 18px}.pkg-card{display:flex;flex-direction:column;align-items:center;gap:3px;padding:14px 8px;border:1.5px solid #e3ecf7;border-radius:14px;background:#fafcff;cursor:pointer;transition:all .2s ease;position:relative}.pkg-card:hover{border-color:#7db3ec;background:#f4f9ff;transform:translateY(-2px);box-shadow:0 6px 16px #4a90e21a}.pkg-card.sel{border-color:#4a90e2;background:linear-gradient(180deg,#f0f7ff,#e3f0ff);box-shadow:0 0 0 3px #4a90e226}.pkg-card.sel:after{content:"✓";position:absolute;top:6px;right:8px;width:16px;height:16px;border-radius:50%;background:#4a90e2;color:#fff;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center}.pkg-yuan{font-size:17px;font-weight:700;color:#1f3a5f}.pkg-points{font-size:11.5px;color:#7d93b0}.qr-wrap{display:flex;flex-direction:column;align-items:center;gap:8px;padding:10px 0}.qr-img{width:208px;height:208px;border:1px solid #e3ecf7;border-radius:14px;padding:8px;background:#fff;box-shadow:0 8px 24px #28508c1a}.qr-tip{font-size:13.5px;color:#1f3a5f;margin:0;font-weight:500}.qr-amount{font-size:12.5px;color:#7d93b0;margin:0}.qr-cancel{align-self:center}.recharge-switch{margin-top:12px;text-align:center;font-size:12.5px;color:#8faccb}.recharge-switch a{color:#4a90e2;cursor:pointer;text-decoration:none;font-weight:500}.recharge-switch a:hover{text-decoration:underline}html[data-theme=dark] .pkg-card{background:#1b2940;border-color:#6e96cd66}html[data-theme=dark] .pkg-card:hover{background:#22314d;border-color:#5a8bc9}html[data-theme=dark] .pkg-card.sel{background:#203150;border-color:#4a90e2}html[data-theme=dark] .pkg-yuan{color:#e6f0ff}html[data-theme=dark] .pkg-points,html[data-theme=dark] .qr-amount,html[data-theme=dark] .recharge-switch{color:#8fb4da}html[data-theme=dark] .qr-img{background:#fff}html[data-theme=dark] .qr-tip{color:#e6f0ff}html[data-theme=dark] .recharge-switch a{color:#6fa5e8}.channel-badge{display:inline-block;margin-bottom:12px;padding:5px 14px;border-radius:20px;background:linear-gradient(135deg,#eaf4ff,#dceaff);border:1px solid rgba(74,144,226,.3);color:#2f6fd0;font-size:12px;font-weight:500}.qr-actions{display:flex;gap:10px;justify-content:center;margin-top:6px}html[data-theme=dark] .channel-badge{background:#1b2940;border-color:#6e96cd66;color:#bcd6f5}.pkg-submit{margin-top:4px}html[data-theme=dark] .modal-mask{background:#08101e99;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}html[data-theme=dark] .modal-box{background:#1a2540;box-shadow:0 24px 70px #00000080}html[data-theme=dark] .modal-title{color:#e6f0ff}html[data-theme=dark] .modal-desc{color:#8fb4da}html[data-theme=dark] .modal-input{background:#101a30;border-color:#2a3f66;color:#e6f0ff}html[data-theme=dark] .modal-input::placeholder{color:#5a7296}html[data-theme=dark] .modal-input:focus{border-color:#4a90e2;background:#142038;box-shadow:0 0 0 4px #4a90e233}html[data-theme=dark] .modal-btn.cancel{background:#243452;color:#9db8da}html[data-theme=dark] .modal-btn.cancel:hover{background:#2e4066;color:#d0e0f5}html[data-theme=dark] .modal-icon{background:linear-gradient(135deg,#1e3a5f,#152a4a)}html[data-theme=dark] .modal-icon.warn{background:linear-gradient(135deg,#4a3a1a,#3a2d12)}html[data-theme=dark] .modal-icon.danger{background:linear-gradient(135deg,#4a1f1f,#3a1616)}html[data-theme=dark] .toast{background:#1a2540f0;color:#e6f0ff;border-color:#6e96cd4d;box-shadow:0 10px 32px #0006}html[data-theme=dark] .tooltip-fixed{background:#142038f5;color:#e6f0ff;box-shadow:0 6px 20px #0006}html[data-theme=dark] .project-modal-mask{background:#08101e99;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}html[data-theme=dark] .project-modal{background:#1a2540;box-shadow:0 24px 70px #00000080}html[data-theme=dark] .project-modal-head{background:linear-gradient(180deg,#1e2d4d,#182542);border-bottom-color:#243452}html[data-theme=dark] .project-modal-title{color:#e6f0ff}html[data-theme=dark] .project-tree{background:#101a30;color:#b8d0f0}html[data-theme=dark] .recharge-box{background:#1a2540}@media (max-width: 768px){html{background:#ededed}body{background:#ededed;padding:0;align-items:stretch}body:before,body:after{display:none}.app-window{width:100vw;height:100vh;height:100dvh;max-width:100%;border-radius:0;border:none;box-shadow:none;background:#ededed}.main{background:#ededed}.topbar{position:relative;height:calc(44px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 8px 0;background:#fff;border-bottom:none;box-shadow:0 1px #0000000f;gap:8px}.topbar-left{gap:4px;min-width:0}.topbar-title{position:absolute;left:50%;top:calc(22px + env(safe-area-inset-top));transform:translate(-50%,-50%);font-size:17px;font-weight:600;color:#111;white-space:nowrap}.topbar-right{gap:8px}.hamburger-btn{width:40px;height:40px;border:none;background:transparent;color:#111;border-radius:8px}.hamburger-btn:active{background:#0000000d}.hamburger-btn svg{width:22px;height:22px}.status{display:none}.auth-login-btn,.auth-user-btn{border:none;background:#f2f2f2;color:#111;padding:6px 12px;border-radius:16px;font-size:13px;box-shadow:none}.auth-user-btn b{color:#07c160}.sidebar{background:#fff;padding:calc(14px + env(safe-area-inset-top)) 0 env(safe-area-inset-bottom);gap:0;border-right:none}.logo{padding:8px 16px 14px;border-bottom:1px solid rgba(0,0,0,.06)}.logo-icon{width:36px;height:36px;border-radius:10px;background:#07c160;font-size:15px}.logo-text{color:#111;font-size:17px;font-weight:600}.new-chat-btn{margin:12px 12px 4px;background:#07c160;color:#fff;border-radius:10px;padding:12px;font-size:15px;font-weight:500;box-shadow:0 4px 12px #07c16040}.new-chat-btn:active{background:#06ad56;transform:scale(.98)}.session-title{margin:0;padding:10px 18px 6px;font-size:12px;color:#999;letter-spacing:.5px}.session-list{margin:0;padding:0 12px}.session-item{padding:12px;margin:0 0 4px;border-radius:10px;border-bottom:none;font-size:15px;color:#111;position:relative}.session-item:hover{background:#f5f5f5}.session-item.active{background:#07c1601a;color:#07c160;box-shadow:none}.session-item.active:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:3px;height:18px;border-radius:2px;background:#07c160}.session-del-btn{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:#0000000d;color:#999;font-size:14px}.session-del-btn:hover{color:#fa5151;background:#fa51511f}.clear-wrap{border-top:1px solid rgba(0,0,0,.06);margin:8px 12px 0;padding:12px 4px 0}.clear-btn{border:none;background:#f5f5f5;color:#666;border-radius:10px;font-size:14px;padding:11px}.clear-btn:hover{background:#eee;color:#333}.chat-area{padding:12px 14px 28px;background:#ededed}.msg-row{margin-bottom:16px}.msg-bubble{padding:10px 14px;border-radius:8px;font-size:16px;line-height:1.7;box-shadow:none}.msg-row.user .msg-bubble{background:#95ec69;color:#111;border-bottom-right-radius:2px;box-shadow:none;max-width:82%}.msg-row.ai .msg-bubble{background:#fff;color:#111;border:none;border-bottom-left-radius:2px;box-shadow:none;width:100%;max-width:100%}.msg-row.user .msg-bubble p,.msg-row.ai .msg-bubble p{color:inherit}.reasoning-block{border:none;border-left:none;background:#f7f7f7;border-radius:6px}.reasoning-header{color:#888;padding:6px 10px}.reasoning-header:hover{background:#00000008}.reasoning-toggle{color:#b2b2b2}.reasoning-content{color:#666;border-top:1px dashed rgba(0,0,0,.08);padding:7px 10px 8px}.input-area{padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:#f7f7f7;border-top:1px solid rgba(0,0,0,.06)}.input-box{background:#fff;border:1px solid rgba(0,0,0,.04);border-radius:8px;padding:6px;gap:6px;box-shadow:none}.input-box:focus-within{border-color:#07c160;box-shadow:none}.input-textarea{font-size:16px;color:#111;padding:7px 2px 7px 8px;min-width:0;line-height:24px}.input-textarea::placeholder{color:#b2b2b2}.voice-btn,.msg-voice-btn{display:none!important}.send-btn{min-height:38px;min-width:56px;padding:8px 16px;border-radius:8px;background:#07c160;box-shadow:none;font-size:15px;flex-shrink:0}.send-btn.cancel{background:#fa5151}.send-btn:disabled{background:#a8e6c1}.mode-tabs{flex-wrap:nowrap;gap:6px;margin-bottom:8px;align-items:center}.mode-tabs-group{flex:1 1 auto;flex-wrap:nowrap;gap:6px;min-width:0}.mode-tabs .more-wrap{flex:0 0 auto;align-self:center}.mode-tabs .more-panel{left:auto;right:0;transform:none}.mode-tab{flex:1 1 0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:#fff;border:1px solid rgba(0,0,0,.06);color:#333;padding:7px 4px;border-radius:6px;font-size:12px}.mode-tab.active{background:#07c160;color:#fff;border-color:transparent;box-shadow:none}.project-btn,.mode-tabs .project-btn{flex-shrink:0;background:#fff;border:1px solid rgba(0,0,0,.06);color:#333;border-radius:6px;font-size:12px;padding:7px 10px}.media-panel{background:#fff;border:1px solid rgba(0,0,0,.06);border-radius:8px}.media-input,.media-select{border-color:#00000014;color:#111}.media-label{color:#333}.attach-bar{background:#fff;border-color:#00000014}.attach-chip{border-color:#00000014;color:#111}.attach-name{color:#666}.welcome-card{background:#fff;border:none;border-radius:10px;padding:20px 18px;box-shadow:none}.welcome-card h3{color:#111}.welcome-card p,.welcome-skills li{color:#666}.welcome-card code{background:#f2f2f2;color:#07c160}.chat-scroll-actions{right:12px;bottom:12px}.scroll-btn{border:none;background:#0006;color:#fff;box-shadow:none}.scroll-btn:hover{background:#00000080;border-color:transparent}.tooltip-fixed{display:none!important}}@media (max-width: 768px){html[data-theme=dark],html[data-theme=dark] body,html[data-theme=dark] .app-window,html[data-theme=dark] .main,html[data-theme=dark] .chat-area{background:#111}html[data-theme=dark] .topbar{background:#1e1e1e;box-shadow:0 1px #ffffff0f}html[data-theme=dark] .topbar-title,html[data-theme=dark] .hamburger-btn{color:#e5e5e5}html[data-theme=dark] .auth-login-btn,html[data-theme=dark] .auth-user-btn{background:#2c2c2c;color:#e5e5e5}html[data-theme=dark] .sidebar{background:#1e1e1e}html[data-theme=dark] .logo-text{color:#e5e5e5}html[data-theme=dark] .logo{border-bottom-color:#ffffff0f}html[data-theme=dark] .session-item{color:#e5e5e5;border-bottom-color:#ffffff0f}html[data-theme=dark] .session-item:hover{background:#2c2c2c}html[data-theme=dark] .session-item.active{background:#2c2c2c;color:#e5e5e5}html[data-theme=dark] .session-del-btn{color:#7a7a7a}html[data-theme=dark] .clear-wrap{border-top-color:#ffffff0f}html[data-theme=dark] .clear-btn{background:#1e1e1e;border-color:#ffffff14;color:#e5e5e5}html[data-theme=dark] .clear-btn:hover{background:#2c2c2c;color:#e5e5e5}html[data-theme=dark] .msg-row.user .msg-bubble{background:#95ec69!important;color:#111!important}html[data-theme=dark] .msg-row.ai .msg-bubble{background:#2c2c2c!important;color:#e5e5e5!important;border-color:#0000!important}html[data-theme=dark] .reasoning-block{background:#262626}html[data-theme=dark] .reasoning-header{color:#a8a8a8}html[data-theme=dark] .reasoning-content{color:#8a8a8a;border-top-color:#ffffff14}html[data-theme=dark] .input-area{background:#1e1e1e;border-top-color:#ffffff0f}html[data-theme=dark] .input-box{background:#2c2c2c;border-color:#ffffff14}html[data-theme=dark] .input-textarea{color:#e5e5e5}html[data-theme=dark] .input-textarea::placeholder{color:#7a7a7a}html[data-theme=dark] .mode-tab,html[data-theme=dark] .mode-tabs .project-btn,html[data-theme=dark] .project-btn{background:#2c2c2c;border-color:#ffffff14;color:#e5e5e5}html[data-theme=dark] .mode-tab.active{background:#07c160;color:#111;border-color:transparent}html[data-theme=dark] .media-panel{background:#2c2c2c;border-color:#ffffff14}html[data-theme=dark] .media-input,html[data-theme=dark] .media-select{background:#1e1e1e;border-color:#ffffff1a;color:#e5e5e5}html[data-theme=dark] .attach-bar{background:#2c2c2c;border-color:#ffffff14}html[data-theme=dark] .attach-chip{border-color:#ffffff14;color:#e5e5e5}html[data-theme=dark] .welcome-card{background:#2c2c2c}html[data-theme=dark] .welcome-card h3{color:#e5e5e5}html[data-theme=dark] .welcome-card p,html[data-theme=dark] .welcome-skills li{color:#b2b2b2}html[data-theme=dark] .welcome-card code{background:#3a3a3a;color:#07c160}html[data-theme=dark] .scroll-btn{background:#ffffff40}}@media (max-width: 768px){.mode-tabs .project-btn.knowledge-btn,.dd-item.knowledge-more,.dd-item.project-item,.dd-item.export-item,.dd-item.share-item,.dd-item.product-more,.dd-group-label.product-more,.dd-sep.product-more{display:none}}@media (min-width: 769px){.dd-item.knowledge-more{display:none}}@media (max-width: 768px){.mode-tabs .mode-tab[data-value=product]{display:none}}@media (min-width: 769px){.dd-item.product-more,.dd-group-label.product-more,.dd-sep.product-more{display:none}}@media (max-width: 768px){html,body{-webkit-text-size-adjust:100%;text-size-adjust:100%}button,a,input,textarea,select,.dd-item,.mode-tab,.project-btn,.scroll-btn{touch-action:manipulation}}@media (max-width: 768px){.msg-row.ai .msg-bubble{line-height:1.65}.msg-bubble h1,.msg-bubble h2,.msg-bubble h3,.msg-bubble h4{font-weight:600;color:#111;line-height:1.5}.msg-bubble h1{font-size:19px;margin:.8em 0 .35em;padding-bottom:.3em;border-bottom:1px solid #eee}.msg-bubble h2{font-size:17.5px;margin:.7em 0 .3em}.msg-bubble h3{font-size:16.5px;margin:.6em 0 .3em}.msg-bubble h4{font-size:15.5px;margin:.6em 0 .3em}.msg-bubble p{margin:.6em 0;color:#111}.msg-bubble ol,.msg-bubble ul{padding-left:22px;margin:6px 0}.msg-bubble li{margin:4px 0;color:#111;line-height:1.7}.msg-bubble a{color:#576b95;text-decoration:none;word-break:break-all}.msg-bubble blockquote{margin:8px 0;padding:6px 0 6px 12px;border-left:3px solid rgba(7,193,96,.35);background:#f7f7f7;border-radius:0 6px 6px 0;color:#666}.msg-bubble pre{background:#f5f5f5!important;border:1px solid rgba(0,0,0,.05);border-radius:8px;padding:30px 14px 14px!important;position:relative}.msg-bubble pre:before{content:"";position:absolute;top:11px;left:14px;width:10px;height:10px;border-radius:50%;background:#ff5f57;box-shadow:16px 0 #febc2e,32px 0 #28c840}.msg-bubble pre code{color:#333;font-size:13px;line-height:1.7}.code-lang-tag,.copy-code-btn,.run-code-btn{color:#666;background:#0000000d;border-color:#00000014}.copy-code-btn:hover,.run-code-btn:hover{background:#0000001a}.msg-bubble :not(pre)>code{background:#f0f0f0;color:#c7254e;padding:2px 5px;border-radius:4px}.msg-bubble table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}.msg-bubble table th,.msg-bubble table td{border-color:#e5e5e5;padding:10px;color:#111}.msg-bubble table th{background:#f5f5f5}.msg-bubble hr{background-color:#e5e5e5;margin:16px 0}.msg-bubble .md-image,.msg-bubble .md-video{border-radius:8px}}@media (max-width: 768px){html[data-theme=dark] .msg-bubble h1,html[data-theme=dark] .msg-bubble h2,html[data-theme=dark] .msg-bubble h3,html[data-theme=dark] .msg-bubble h4,html[data-theme=dark] .msg-bubble p,html[data-theme=dark] .msg-bubble li,html[data-theme=dark] .msg-bubble blockquote{color:#e5e5e5}html[data-theme=dark] .msg-bubble a{color:#7d95c9}html[data-theme=dark] .msg-bubble blockquote{border-left-color:#444;color:#b2b2b2}html[data-theme=dark] .msg-bubble pre{background:#1a1a1a!important;border-color:#ffffff14}html[data-theme=dark] .msg-bubble pre code{color:#d4d4d4}html[data-theme=dark] .msg-bubble :not(pre)>code{background:#3a3a3a;color:#f098b0}html[data-theme=dark] .msg-bubble table th,html[data-theme=dark] .msg-bubble table td{border-color:#ffffff1a}html[data-theme=dark] .msg-bubble table th{background:#2a2a2a}html[data-theme=dark] .msg-bubble hr{background-color:#ffffff1a}html[data-theme=dark] .code-lang-tag,html[data-theme=dark] .copy-code-btn{color:#b2b2b2;background:#ffffff0f;border-color:#ffffff1f}}@media (max-width: 768px){.welcome-card{padding:16px;margin-bottom:16px;border-radius:14px;background:#f7f7f7;border-color:#0000000f;box-shadow:none}.welcome-card h3{font-size:16px;color:#111}.welcome-card p{font-size:14px;color:#333;line-height:1.7}.welcome-skills li{font-size:13px;color:#555;line-height:1.9}.welcome-hint{color:#999!important}.welcome-card code{background:#e8e8e8;color:#333}.live-mask{padding:16px;align-items:flex-end}.live-card{width:100%;max-width:100%;border-radius:16px;padding:16px;padding-bottom:calc(16px + env(safe-area-inset-bottom))}.live-talk-btn{width:100%!important;max-width:280px;height:60px!important;font-size:16px!important;border-radius:30px!important}.live-actions{width:100%}.live-tip{font-size:11.5px}.project-modal{width:100%!important;max-width:100%!important;height:90vh;border-radius:16px 16px 0 0}.knowledge-list,.kb-chunk-list{padding:4px 8px}.knowledge-item,.kb-chunk-item{padding:12px 10px!important;font-size:14px!important}.reasoning-header{padding:10px 12px;min-height:36px}.reasoning-content{font-size:13px;line-height:1.7;padding:8px 12px 10px}.task-card{max-width:100%;padding:12px 14px;border-radius:14px}.task-card img,.task-card video{max-width:100%;border-radius:8px}.scroll-btn{width:38px!important;height:38px!important;right:14px!important;bottom:90px!important}.attach-bar{padding:6px 14px;flex-wrap:wrap;gap:6px}.attach-chip{padding:6px 8px;border-radius:8px;max-width:100%}.attach-thumb{width:40px;height:40px}.attach-name{font-size:12px;max-width:120px}.attach-remove{width:22px;height:22px;font-size:14px}.msg-row.user{margin-bottom:14px}.msg-row.user .msg-bubble{border-radius:14px 4px 14px 14px;box-shadow:none;padding:10px 13px}.mode-tab.active{background:#07c160!important;color:#fff!important;border-color:transparent!important;font-weight:500}.input-box:focus-within{border-color:#07c160!important;box-shadow:0 0 0 3px #07c1601f}.mode-tab:active,.send-btn:active,.new-chat-btn:active,.live-talk-btn:active,.project-chip-btn:active,.hamburger-btn:active,.dd-item:active,.session-item:active,.scroll-btn:active{transform:scale(.96);opacity:.85}.chat-area::-webkit-scrollbar,.session-list::-webkit-scrollbar,.project-modal ::-webkit-scrollbar{width:0;height:0}html[data-theme=dark] .welcome-card{background:#1e1e1e;border-color:#ffffff14}html[data-theme=dark] .welcome-card h3,html[data-theme=dark] .welcome-card p,html[data-theme=dark] .welcome-skills li{color:#e5e5e5}html[data-theme=dark] .welcome-card code{background:#333;color:#ccc}html[data-theme=dark] .live-card{background:#1e1e1e;color:#e5e5e5}html[data-theme=dark] .live-title,html[data-theme=dark] .live-text,html[data-theme=dark] .live-label{color:#e5e5e5;background:#2c2c2c;border-color:#ffffff14}html[data-theme=dark] .live-hint,html[data-theme=dark] .live-tip{color:#999}html[data-theme=dark] .task-card{background:#2c2c2c;border-color:#ffffff14}html[data-theme=dark] .task-kind-label{color:#e5e5e5}html[data-theme=dark] .reasoning-block{background:#262626;border-color:#ffffff14}html[data-theme=dark] .reasoning-header,html[data-theme=dark] .reasoning-content{color:#aaa}html[data-theme=dark] .attach-chip{background:#2c2c2c;color:#e5e5e5}html[data-theme=dark] .attach-remove{background:#3a3a3a;color:#ccc}html[data-theme=dark] .scroll-btn{background:#2c2c2c;color:#e5e5e5}}
