html,body,#app{height:100%;min-height:0;margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}body,html{background:#f7f8fa;height:100%;margin:0;padding:0}html,body{overscroll-behavior:none;overscroll-behavior-y:none;width:100%;max-width:100%}*{box-sizing:border-box}.sidebar-footer{background:0 0;flex-shrink:0;justify-content:space-between;align-items:center;margin-top:auto;padding:16px;display:flex}.sidebar.collapsed .sidebar-footer{justify-content:center}.user-info{flex:1;align-items:center;gap:10px;min-width:0;display:flex}.user-avatar{color:#fff;background-color:#eff6fa;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;font-size:14px;font-weight:600;display:flex;box-shadow:0 2px 8px #0000004d}.username{color:#374151;white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:500;overflow:hidden}.logout-btn{color:#000;cursor:pointer;background:#efefef0f;border:1px solid #69646426;border-radius:10px;align-items:center;gap:6px;padding:8px 14px;font-size:13px;transition:all .25s;display:flex}.logout-btn:hover{background:#ef44441f;border-color:#ef44444d;transform:scale(1.02)}.sidebar{-webkit-backdrop-filter:blur(30px)saturate(180%);-webkit-tap-highlight-color:transparent;pointer-events:auto;background:#ffffff2e;border-right:1px solid #ffffff73;flex-direction:column;width:280px;min-width:280px;height:100%;transition:width .3s,min-width .3s;display:flex;overflow:hidden;box-shadow:2px 0 12px #0000000f}.sidebar.collapsed{width:70px;min-width:70px}.sidebar-top{flex-shrink:0;justify-content:space-between;align-items:center;gap:8px;padding:16px 8px;display:flex}.sidebar.collapsed .sidebar-top{flex-direction:column;gap:16px;padding:16px 8px}.logo-area{flex:1;align-items:center;gap:10px;min-width:0;display:flex}.sidebar.collapsed .logo-area,.collapsed-logo{justify-content:center}.collapsed-logo img{width:40px;height:40px}.main-logo{flex-shrink:0;align-items:center;gap:10px;height:36px;display:flex}.main-logo img{width:auto;height:36px}.logo-text{color:#374151;white-space:nowrap;text-overflow:ellipsis;font-size:15px;font-weight:600;overflow:hidden}.collapse-btn{cursor:pointer;color:#837e7e;touch-action:manipulation;background:#857b7b14;border:none;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;transition:all .25s;display:flex}.collapse-btn:hover{background:#0ea5e926;transform:scale(1.05)}.collapse-icon{width:20px;height:20px;transition:transform .25s;display:block}.collapse-btn:hover .collapse-icon{transform:scale(1.1)}.sidebar-title{color:#374151;font-size:15px;font-weight:600}.new-chat-btn{-webkit-backdrop-filter:blur(12px);color:#2f8fa2;cursor:pointer;touch-action:manipulation;background:#ffffff8c;border:1.5px solid #2f8fa2;border-radius:12px;align-items:center;gap:10px;height:48px;margin:16px 30px 16px 20px;padding:14px 18px;font-size:14px;font-weight:500;transition:all .25s;display:flex}.new-chat-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px #2f8fa233}.new-chat-btn .btn-icon{width:18px;height:18px}.new-chat-btn-mini{cursor:pointer;color:#2f8fa2;touch-action:manipulation;background:#fff;border:1px solid #2f8fa2;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;transition:all .2s;display:flex}.new-chat-btn-mini:hover{background:linear-gradient(135deg,#0284c7 0%,#0369a1 100%);transform:scale(1.05);box-shadow:0 4px 12px #0ea5e966}.sidebar.collapsed .new-chat-btn-mini{margin:10px auto}.chat-list{scrollbar-width:thin;scrollbar-color:transparent transparent;flex:1;padding:8px 16px;overflow-y:auto}.chat-list::-webkit-scrollbar{width:6px}.chat-list::-webkit-scrollbar-track{background:0 0}.chat-list::-webkit-scrollbar-thumb{background:0 0;border-radius:3px;transition:background .2s}.sidebar:hover .chat-list::-webkit-scrollbar-thumb{background:#0003}.sidebar:hover .chat-list{scrollbar-color:#0003 transparent}.chat-list:hover::-webkit-scrollbar-thumb{background:#0003}.section-title{color:#9ca3af;text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px;padding:0 4px;font-size:12px;font-weight:600}.chat-list-item{cursor:pointer;touch-action:manipulation;pointer-events:auto;-webkit-tap-highlight-color:transparent;border:1px solid #0000;border-radius:8px;margin-bottom:4px;padding:10px 12px;transition:background .15s}.chat-list-item:hover{background-color:#f1f3f5}.chat-list-item.active{background:#e7f4f380;border-color:#2f8fa233}.chat-list-item-title{color:#1f2937;white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-size:14px;line-height:1.4;overflow:hidden}.chat-list-item-time{color:#9ca3af;margin-top:2px;font-size:12px}.chat-list-item-meta{align-items:center;gap:8px;min-width:0;margin-top:2px;display:flex}.chat-list-item-meta .chat-list-item-time{flex-shrink:0;margin-top:0;line-height:16px}.chat-list-draft{flex:1;align-items:center;gap:5px;min-width:0;display:flex}.chat-list-draft-tag{color:#2f8fa2;letter-spacing:.2px;background:#e6f2f4;border-radius:4px;flex-shrink:0;padding:0 5px;font-size:10px;font-weight:600;line-height:16px}.chat-list-draft-text{color:#8a939e;white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-size:12px;line-height:16px;overflow:hidden}.chat-list-item.active .chat-list-draft-text{color:#5f6b76}.chat-list-item-row{justify-content:space-between;align-items:center;display:flex}.chat-list-delete{opacity:0;color:#9ca3af;cursor:pointer;touch-action:manipulation;border-radius:4px;flex-shrink:0;padding:2px 6px;font-size:16px;transition:all .15s}.chat-list-item:hover .chat-list-delete,.chat-list-item.active .chat-list-delete,.chat-list-item:focus-within .chat-list-delete{opacity:1}.chat-list-delete:hover,.chat-list-delete.active{color:#ef4444;background:#fef2f2}.chat-list-actions{align-items:center;gap:4px;display:flex}.chat-list-share{opacity:0;color:#9ca3af;cursor:pointer;touch-action:manipulation;border-radius:4px;align-items:center;padding:2px 6px;transition:all .15s;display:flex}.chat-list-item:hover .chat-list-share,.chat-list-item.active .chat-list-share,.chat-list-item:focus-within .chat-list-share{opacity:1}.chat-list-share:hover{color:#0ea5e9;background:#f0f9ff}.chat-list-empty{text-align:center;color:#9ca3af;padding:40px 16px;font-size:14px}.chat-list-loading{text-align:center;color:#9ca3af;padding:20px;font-size:13px}.welcome-container{flex-direction:column;flex:1;justify-content:center;align-items:center;width:100%;min-height:0;display:flex;overflow:hidden}.welcome-logo{margin-bottom:20px}.welcome-head{flex-direction:column;align-items:center;width:100%;display:flex}.welcome-title{text-align:center;color:#1e293b;letter-spacing:2px;margin-bottom:24px;font-size:2.4rem;font-weight:800}.welcome-subtitle{color:#64748b;text-align:center;margin-bottom:40px;font-size:1.15rem;font-weight:500}.welcome-desc{letter-spacing:0;text-align:center;color:#64748b;text-indent:2em;box-sizing:border-box;max-width:1080px;margin-bottom:140px;padding:0 24px;font-family:PingFang SC;font-size:18px;font-weight:400;line-height:28px}.chat-container{flex-direction:row;width:100%;height:100%;min-height:0;display:flex}.chat-main{background:#fff;flex-direction:column;flex:1;height:100%;min-height:0;display:flex}.chat-history-father{flex-direction:column;flex:1;width:100%;min-height:0;display:flex;overflow-y:auto}.chat-history{box-sizing:border-box;background:0 0;border-radius:24px;flex-direction:column;flex:auto;width:100%;max-width:1000px;min-height:0;margin:0 auto;padding:24px 20px;font-size:16px;display:flex}.chat-message{box-sizing:border-box;align-items:flex-start;gap:12px;width:100%;margin-bottom:20px;padding:0;display:flex}.chat-message.user{flex-direction:row-reverse;justify-content:flex-start}.chat-bubble{word-break:break-word;border-radius:18px;max-width:72%;padding:14px 20px;font-size:16px;line-height:1.7;transition:all .15s}.chat-bubble.user{color:#1e293b;background:0 0;border:1px solid #e5e7eb;border-top-right-radius:6px}.chat-bubble.user .image-preview-row{justify-content:flex-end}.chat-bubble.ai{color:#1e293b;background:#fff;border:1px solid #e5e7eb;border-top-left-radius:6px;box-shadow:0 1px 3px #0000000f}.chat-bubble.ai.final{background:#fff;border:1px solid #d1fae5;border-left:3px solid #059669}.chat-avatar{border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;margin-top:2px;font-size:14px;display:flex}.chat-avatar.user-avatar{color:#fff;background:#0284c7;font-weight:600}.chat-avatar-img{object-fit:contain;border-radius:12px;flex-shrink:0;width:48px;height:48px}.ai-avatar-col{display:none}.ai-response-row{box-sizing:border-box;justify-content:flex-start;align-items:flex-start;gap:12px;width:100%;margin:16px 0;padding:0;display:flex}.ai-bubble{background:0 0;flex:1;min-width:0;padding:16px 3px}.ai-bubble-header{color:#1e293b;border-bottom:1px solid #e0e7ff;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:10px;padding-bottom:10px;font-size:15px;font-weight:700;display:flex}.mode-tag{letter-spacing:0;white-space:nowrap;border-radius:999px;align-items:center;padding:1px 9px;font-size:11px;font-weight:500;line-height:17px;display:inline-flex}.mode-tag.doctor{color:#22778b;background:#f5fbfc;border:1px solid #e0e7ff}.mode-tag.student{color:#22778b;background:#f5fbfc;border:1px solid #d5ebef}.ai-bubble-content{color:#475569;font-size:14px}.ai-name-label{color:#0ea5e9;white-space:nowrap;text-align:center;font-size:13px;font-weight:600}.phase-section{background:#fff;border:1px solid #e5e7eb;border-radius:10px;margin-bottom:10px;overflow:hidden;box-shadow:0 1px 2px #00000008}.phase-section:last-child{margin-bottom:0}.phase-section:hover{box-shadow:0 2px 8px #0000000f}.phase-header{cursor:pointer;-webkit-user-select:none;user-select:none;background:#f8fafc;align-items:center;gap:8px;padding:12px 16px;transition:background .12s;display:flex}.phase-header:hover{background:#f1f5f9}.phase-icon{border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;font-size:14px;display:flex}.phase-icon.rag{color:#2563eb;background:#dbeafe}.phase-icon.tools{color:#7c3aed;background:#ede9fe}.phase-icon.sed{color:#d97706;background:#fef3c7}.phase-icon.reflect{color:#059669;background:#d1fae5}.phase-icon.text-only{color:#0284c7;background:#e0f2fe}.phase-label{color:#1e293b;flex:1;font-size:14px;font-weight:600}.phase-status-icon{margin:0 4px;font-size:14px}.phase-arrow{color:#94a3b8;font-size:11px;transition:transform .2s}.phase-body{color:#475569;border-top:1px solid #f1f5f9;padding:8px 16px 14px;font-size:14px}.phase-body .status-line{align-items:center;gap:6px;padding:4px 0;font-size:13px;display:flex}.tool-entry{background:#fafbfc;border:1px solid #f1f5f9;border-radius:8px;margin:6px 0;transition:background .1s}.tool-entry:hover{background:#f1f5f9}.tool-entry-header{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:6px;padding:8px 12px;font-size:13px;font-weight:500;display:flex}.tool-entry-header:hover{background:#f0f4ff}.tool-entry-header .tool-name{color:#1e293b;flex:1}.tool-entry-body{border-top:1px solid #f1f5f9;padding:8px 12px 12px;font-size:13px}.tool-desc{color:#64748b;margin-bottom:4px}.tool-cmd{background:#f1f5f9;border-radius:6px;margin:6px 0;padding:6px 10px;font-family:SF Mono,Monaco,Cascadia Code,monospace;font-size:12px}.tool-result{border-top:1px dashed #e5e7eb;margin-top:8px;padding-top:8px}.final-answer-bubble{border-color:#d1fae5}.final-answer-bubble .ai-bubble-header{color:#22778b;font-size:16px}.final-answer-body{color:#1e293b;text-align:left;margin-top:4px;padding-top:0;font-size:15px;line-height:1.75}.final-answer-body .md-img-ref{vertical-align:middle;flex-direction:column;align-items:flex-start;gap:4px;max-width:100%;display:inline-flex}.final-answer-body .md-img-ref.is-block{margin:10px 0 14px;display:flex}.final-answer-body .md-img{object-fit:contain;cursor:zoom-in;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;width:auto;max-width:180px;height:auto;max-height:120px;transition:border-color .15s,box-shadow .15s;display:block}.final-answer-body .md-img-ref.is-block .md-img{max-width:320px;max-height:260px}.final-answer-body .md-img:hover{border-color:#99d5d0;box-shadow:0 2px 10px #22778b29}.final-answer-body .md-img-cap{color:#64748b;font-size:12px;line-height:1.4}.final-answer-body .md-img-ref:not(.is-block) .md-img-cap{display:none}.final-answer-body .md-img-ph{color:#64748b;word-break:break-all;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:6px;padding:2px 8px;font-size:13px;line-height:1.6;display:inline-block}.citation-marker{cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color .15s,box-shadow .15s}.citation-marker:hover{box-shadow:0 0 0 2px #2563eb1f;background:#d7e7ff!important}.math-inline{white-space:nowrap;font-family:Cambria Math,Latin Modern Math,Times New Roman,Songti SC,serif;font-size:1em}.math-inline i{font-style:italic}.math-inline .math-rm{font-style:normal}.math-inline sup,.math-inline sub{font-size:.7em;line-height:0}.math-inline .math-frac{vertical-align:-.45em;text-align:center;flex-direction:column;margin:0 1px;font-size:.86em;line-height:1.15;display:inline-flex}.math-inline .math-frac-n{border-bottom:1px solid;padding:0 2px}.math-inline .math-frac-d{padding:0 2px}.math-inline.math-display{text-align:center;white-space:normal;margin:6px 0;display:block}.final-answer-body h1,.final-answer-body h2,.final-answer-body h3,.final-answer-body h4,.final-answer-body h5,.final-answer-body h6{text-align:left}.final-answer-body h1{color:#0f172a;margin:24px 0 12px;padding-bottom:8px;font-size:20px;font-weight:700}.final-answer-body h1:first-child{margin-top:0}.final-answer-body h3.h3-conclusion{margin:20px 0 10px;padding-bottom:6px}.final-answer-body h3.h3-conclusion+p{color:#0c4a6e;background:#f0fdfa;border-left:3px solid #0d9488;border-radius:6px;margin:12px 0 16px;padding:14px 18px;font-family:PingFang SC;font-size:14px;font-style:normal;font-weight:400;line-height:1.85}.final-answer-body h3{color:#26394a;letter-spacing:-.076px;margin:20px 0 10px;padding-bottom:6px;font-family:PingFang SC;font-size:16px;font-style:normal;font-weight:600;line-height:21.84px}.final-answer-body h3.h3-reasoning+ol,.final-answer-body h3.h3-reasoning+ul{counter-reset:reasoning-item;margin:0 0 16px;padding:0;list-style:none}.final-answer-body h3.h3-reasoning+ol>li,.final-answer-body h3.h3-reasoning+ul>li{counter-increment:reasoning-item;background:#f8fafc;border:1px solid #f1f5f9;border-radius:8px;margin:0 0 10px;padding:8px 9px;font-size:14px;line-height:1.75;list-style:none;position:relative}.final-answer-body h3.h3-reasoning+ol>li strong,.final-answer-body h3.h3-reasoning+ul>li strong{color:#2e4c60;font-family:PingFang SC;font-size:14px;font-style:normal;font-weight:600;line-height:19.2px}.final-answer-body h3.h3-limitation+ul{color:#4a3a1f;background:#fbf6e9;border:1px solid #f0e4c2;border-radius:8px;margin:0 0 16px;padding:14px 18px 14px 32px;font-size:13px;line-height:1.85;list-style:none;position:relative}.final-answer-body h3.h3-limitation+ul>li{margin:0;padding:4px 0 4px 14px;list-style:none;position:relative}.final-answer-body h3.h3-limitation+ul>li:before{content:"";background:#76551e;border-radius:50%;width:6px;height:6px;position:absolute;top:14px;left:0}.final-answer-body h3.h3-limitation+ul>li strong{color:#76551e;font-weight:600}.dd-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 12px;margin:12px 0 16px;display:grid}.dd-card{background:#fff;border:1px solid #e8eef2;border-radius:8px;outline:none;padding:9px 13px 10px;transition:border-color .18s,box-shadow .18s,background .18s}.dd-card:hover,.dd-card:focus-visible{background:#f5fbfc;border-color:#cfe4ea;box-shadow:0 4px 12px #0f172a0f}.dd-card:active{background:#eaf5f7;border-color:#b9dde4;box-shadow:0 1px 3px #0f172a0d}.dd-card-title{color:#26394a;word-break:break-word;margin-bottom:3px;font-family:PingFang SC;font-size:13.5px;font-weight:600;line-height:1.5;transition:color .18s}.dd-card:hover .dd-card-title,.dd-card:focus-visible .dd-card-title,.dd-card:active .dd-card-title{color:#22778b}.dd-card-desc{color:#8b9aab;word-break:break-word;font-family:PingFang SC;font-size:12.5px;line-height:1.65}.dd-card-desc strong{color:#64748b;font-weight:600}@media (width<=768px){.dd-grid{grid-template-columns:1fr;gap:8px}}.confidence-card{color:#334155;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;margin:12px 0 16px;padding:14px 18px;font-size:13px}.confidence-bar-header{justify-content:space-between;align-items:baseline;margin-bottom:8px;display:flex}.confidence-bar-label{color:#0f172a;font-size:15px;font-weight:700;line-height:1.2}.confidence-bar-track{background:#e5e7eb;border-radius:999px;height:10px;margin-bottom:10px;position:relative;overflow:hidden}.confidence-bar-fill{border-radius:999px;height:100%;transition:width .6s}.confidence-bar-percent{visibility:hidden;color:#64748b;font-size:12px;font-weight:600;line-height:1.2}.confidence-bar-detail{color:#475569;font-size:13px;line-height:1.7}.confidence-bar-detail strong{color:#0f172a;font-weight:600}.final-answer-body p{margin:8px 0}.final-answer-body strong{color:#0f172a;font-weight:600}.final-answer-body ul,.final-answer-body ol{margin:8px 0 8px 20px;padding-left:0}.final-answer-body li{margin:4px 0}.phase-detail-box{color:#334155;white-space:pre-wrap;word-break:break-word;background:#f8fafc;border:1px solid #f1f5f9;border-radius:8px;max-height:300px;margin:8px 0 4px;padding:10px 14px;font-size:13px;line-height:1.6;overflow-y:auto}.phase-status-badge{border-radius:10px;align-items:center;gap:4px;padding:2px 8px;font-size:12px;font-weight:500;display:inline-flex}.phase-status-badge.running{color:#2563eb;background:#eff6ff}.phase-status-badge.running:before{content:"";border:2px solid #93c5fd;border-top-color:#2563eb;border-radius:50%;width:12px;height:12px;animation:.8s linear infinite phase-spin;display:inline-block}.phase-status-badge.done{color:#059669;background:#f0fdf4}@keyframes phase-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.loading-text{text-align:center;color:#0ea5e9;margin:20px 0;font-size:16px}.loading-text span{animation:1s ease-in-out infinite jump;animation-delay:var(--delay);display:inline-block}@keyframes jump{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}.connecting-text{text-align:center;color:#94a3b8;margin:16px 0;font-size:14px}.thinking-spinner{color:#0ea5e9;align-items:center;gap:8px;font-size:14px;display:inline-flex}.thinking-spinner.reconnecting{color:#f59e0b}.thinking-spinner.reconnecting:before{border-color:#f59e0b #fde68a #fde68a}.thinking-spinner:before{content:"";border:2px solid #c7d2fe;border-top-color:#0ea5e9;border-radius:50%;width:16px;height:16px;animation:.8s linear infinite phase-spin;display:inline-block}.welcome-input-area,.chat-input-area{box-sizing:border-box;background:#fff;border:1px solid #e5e7eb;border-radius:18px;flex-direction:column;width:100%;max-width:1000px;margin:8px auto 7px;padding:16px 20px;display:flex;box-shadow:0 1px 6px #00000014}.chat-input-area{flex-shrink:0;max-height:50vh}.welcome-input-area{overflow:hidden}.welcome-input-area.has-image,.chat-input-area.has-image{min-height:140px;padding-top:24px;padding-bottom:24px}.welcome-input,.chat-input{resize:none;background:0 0;border:none;outline:none;flex:1;align-self:center;width:100%;min-width:0;height:auto;max-height:200px;margin:0 8px;font-size:16px;line-height:20px}.send-btn{box-sizing:border-box;cursor:pointer;background:#2f8fa2;border:none;border-radius:10px;justify-content:center;align-items:center;width:38px;height:38px;margin-left:7px;padding-left:5px;font-size:20px;transition:background .15s;display:flex}.send-btn:hover{background:#0369a1}.send-btn-stop{box-sizing:border-box;cursor:pointer;background:#2f8fa2;border:none;border-radius:10px;justify-content:center;align-items:center;width:38px;height:38px;margin-left:12px;font-size:20px;display:flex}.send-btn:disabled{cursor:not-allowed;background:#cdd6de}.upload-label{cursor:pointer;align-items:center;height:40px;display:flex}.upload-label input{display:none}.image-preview-row{flex-wrap:wrap;align-content:flex-start;gap:10px;max-height:220px;margin-bottom:10px;display:flex;overflow-y:auto}.image-preview-row::-webkit-scrollbar{width:4px}.image-preview-row::-webkit-scrollbar-thumb{background:#0003;border-radius:2px}.image-preview-item{flex-shrink:0;display:inline-block;position:relative}.image-preview-item .uploaded-img{object-fit:cover;cursor:pointer;border-radius:10px;max-width:100px;max-height:100px;display:block}.image-delete-btn{color:#fff;text-align:center;cursor:pointer;-webkit-user-select:none;user-select:none;z-index:1;background:#0009;border-radius:50%;width:20px;height:20px;font-size:14px;line-height:20px;position:absolute;top:4px;right:4px}.image-delete-btn:hover{background:#dc2626d9}.uploaded-img{object-fit:contain;border-radius:12px;align-self:center;max-width:120px;max-height:120px;display:block}.chat-bubble pre,.final-answer-body pre,.tool-result pre{color:#e2e8f0;background:#1e293b;border-radius:8px;margin:10px 0;padding:14px 16px;font-size:14px;line-height:1.5;overflow-x:auto}.chat-bubble code,.final-answer-body code,.tool-result code{color:#059669;background:#f1f5f9;border-radius:4px;padding:2px 6px;font-size:14px}.chat-bubble pre code,.final-answer-body pre code,.tool-result pre code{color:inherit;font-size:inherit;background:0 0;padding:0}.chat-bubble table,.final-answer-body table{border-collapse:collapse;table-layout:fixed;background:#f8fafc;border-radius:8px;width:100%;margin:10px 0;overflow:hidden}.chat-bubble th,.chat-bubble td,.final-answer-body th,.final-answer-body td{text-align:left;vertical-align:top;word-break:break-word;overflow-wrap:break-word;border:1px solid #e5e7eb;padding:8px 12px;font-size:14px}.chat-bubble blockquote,.final-answer-body blockquote{color:#334155;background:#f0f4ff;border-left:3px solid #0ea5e9;border-radius:6px;margin:10px 0;padding:10px 16px}.chat-bubble ul,.chat-bubble ol,.final-answer-body ul,.final-answer-body ol{margin:10px 0 10px 24px}.chat-bubble hr,.final-answer-body hr{border:none;border-top:1px solid #e5e7eb;margin:14px 0}.model-label{color:#666;margin-bottom:8px;font-size:20px;font-weight:700}.sed-step-entry{align-items:center;gap:8px;padding:6px 0;font-size:14px;display:flex}@media (width<=900px){.login-card-wrapper{width:340px;right:50%;transform:translate(50%,-50%)}}.share-chat-footer{text-align:center;padding:20px 16px 32px;position:relative}.share-footer-fade{background:linear-gradient(90deg,#0000,#d1d5db,#0000);width:120px;height:1px;position:absolute;top:0;left:50%;transform:translate(-50%)}.share-footer-text{color:#9ca3af;letter-spacing:.5px;margin:0;font-size:12px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.spin{animation:1s linear infinite spin}.spin-icon{font-size:18px;line-height:1;animation:1s linear infinite spin;display:inline-block}@media (width<=640px){.sidebar{display:none}.image-preview-row{gap:6px;max-height:160px}.image-preview-item .uploaded-img{border-radius:8px;max-width:72px;max-height:72px}.image-preview-row .image-delete-btn{width:18px;height:18px;font-size:12px;line-height:17px;top:3px;right:3px}.chat-input-area{border:1px solid #fff9;border-radius:24px;max-height:min(55vh,360px);padding:14px 14px 12px;box-shadow:0 10px 40px #0064ff14}.welcome-input,.chat-input{background:0 0;border:none;outline:none;max-height:120px;padding:4px 2px;font-size:14px;line-height:22px}.send-btn,.send-btn-stop{border-radius:15px;width:39px;height:39px}.upload-label{cursor:pointer;background:0 0;border-radius:18px;justify-content:center;align-items:center;width:44px;height:44px;display:inline-flex}.upload-label input{display:none}.chat-avatar{border-radius:8px!important;width:30px!important;height:30px!important;font-size:14px!important}.chat-message{gap:8px;margin-bottom:-45px;padding:8px 14px}.ai-response-row{align-items:flex-start;gap:8px;margin-bottom:14px;padding:8px 5px;display:flex}.chat-bubble{border-radius:14px;max-width:82%;padding:9px 13px;font-size:14px;line-height:1.6}.chat-bubble.user{background-color:#fff;max-width:85%}.ai-bubble-header{padding:8px 0 7px;font-size:13px}.phase-section{margin-bottom:8px}.phase-header{gap:8px;padding:9px 12px;font-size:13px}.phase-icon{border-radius:6px;width:24px;height:24px;font-size:12px}.phase-body{padding:6px 12px 10px;font-size:13px}.ai-bubble-content{font-size:13px}}.el-dialog{border-radius:12px!important}.el-dialog__header{padding:16px 20px 10px}.el-dialog__title{color:var(--el-text-color-primary);font-size:16px;font-weight:600}.el-dialog__body{padding:16px 20px}.el-dialog__footer{padding:10px 20px 16px}.dialog-footer{justify-content:flex-end;gap:8px;display:flex}.dialog-footer :deep(.el-button){border-radius:8px;min-width:80px;height:36px;font-size:14px}.float-panel{box-sizing:border-box;border:1px solid var(--el-border-color-lighter);width:100%;color:var(--el-text-color-primary);background:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow);border-radius:12px;padding:12px 14px}.float-panel-header{justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;display:flex}.float-panel-title{color:var(--el-text-color-primary);font-size:14px;font-weight:600}.float-panel-close{color:#9ca3af;min-width:28px;height:28px;padding:0}.panel-body{padding-right:4px;overflow:auto}.confirm-dialog-layer{z-index:2000;box-sizing:border-box;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f172a29;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.confirm-dialog-layer .float-panel{text-align:center;width:min(26rem,100%)}.confirm-message{color:var(--el-text-color-secondary);margin:0;font-size:14px;line-height:1.6}.midproc{margin:2px 0 10px}.midproc-head-sentinel{pointer-events:none;width:100%;height:1px}.midproc-head{color:#64748b;cursor:pointer;-webkit-user-select:none;user-select:none;z-index:5;background:#fff;border-radius:6px;align-items:center;gap:6px;margin:0 -8px;padding:8px;font-size:13px;line-height:20px;transition:box-shadow .2s,background .2s;display:flex;position:sticky;top:0}.midproc-head:hover{color:#334155}@media (width<=768px){.midproc-head{box-shadow:none;background:0 0;border-radius:0;margin:0 -19px;padding:8px 12px}.midproc-head.stuck{background:#f3f7fe;box-shadow:0 1px #0f172a0a}.proc-progress{flex:1;min-width:0;-webkit-backdrop-filter:none!important;background-color:#0000!important}.pp-text{white-space:nowrap;max-width:54%;padding-right:30px;font-size:15px;position:relative;overflow:hidden}.pp-text:after{content:"";pointer-events:none;background:linear-gradient(90deg,#0000,#0000 90%);width:30px;position:absolute;top:0;bottom:0;right:0}.pp-time-container{align-items:center;display:flex}.pp-collapse-label{display:none}.pp-time-container:before{content:"收起";color:#8795a3;white-space:nowrap;font-size:12px}}.mp-arrow{flex:none;justify-content:center;align-items:center;width:12px;height:12px;font-size:11px;display:inline-flex}.mp-arrow-icon{width:12px;height:12px;display:block}.mp-title{flex:none}.mp-hint{letter-spacing:0;color:#8795a3;font-family:Inter;font-size:12px;font-weight:400;line-height:19.8px}.midproc-body{background:#f8fafb;border-radius:16px;margin-top:6px;padding:16px 20px}.mp-item{padding:3px 0 5px}.mp-item-head{color:#475569;align-items:center;gap:7px;min-width:0;font-size:13px;line-height:20px;display:flex}.mp-item-head.clickable{cursor:pointer;-webkit-user-select:none;user-select:none}.mp-item-head.clickable:hover{color:#1e293b}.mp-ico{text-align:center;background:url("data:image/svg+xml,%3csvg%20width='10'%20height='10'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_93_249)'%3e%3cpath%20d='M4.83984%200.568359C4.90461%200.712478%204.96054%200.928014%205.0459%201.26074C5.21495%201.91971%205.46948%202.88127%206.23828%203.62695V3.62598C7.00572%204.37141%207.97717%204.60287%208.64941%204.76367C9.01353%204.85077%209.25084%204.90803%209.40918%204.98535C9.46701%205.01361%209.49167%205.03478%209.5%205.04297V5.04492C9.49347%205.0537%209.47133%205.0809%209.40918%205.12012C9.25883%205.21499%209.02336%205.30049%208.6748%205.41797C8.03871%205.63235%207.09289%205.92479%206.43555%206.63086H6.43457C5.78753%207.32785%205.54161%208.1897%205.35645%208.76758C5.25603%209.08096%205.18399%209.2801%205.10254%209.40723C5.04469%209.49744%205.01877%209.4976%204.99805%209.49805C4.99422%209.49212%204.99047%209.48392%204.98535%209.47461C4.91876%209.35346%204.86842%209.16276%204.77539%208.82227C4.60481%208.19798%204.33893%207.29047%203.49512%206.55957C2.68003%205.85254%201.78802%205.60259%201.18262%205.42383C0.856982%205.32767%200.66788%205.26613%200.551758%205.19531C0.520592%205.1763%200.506441%205.163%200.500977%205.15723C0.500873%205.15639%200.501072%205.1554%200.500977%205.1543C0.509259%205.14904%200.521286%205.14263%200.537109%205.13477C0.668942%205.06934%200.870847%205.02184%201.21582%204.93945C1.84881%204.78827%202.77081%204.55469%203.5127%203.75879L3.51172%203.75781C4.25013%202.97529%204.47816%202.01059%204.63086%201.33594C4.71351%200.970771%204.76593%200.733911%204.83789%200.573242C4.83861%200.571627%204.83913%200.569921%204.83984%200.568359Z'%20stroke='%238795A3'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_93_249'%3e%3crect%20width='10'%20height='10'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e") 50% no-repeat;flex:none;width:12px;height:12px;line-height:0}.mp-act{text-overflow:ellipsis;white-space:nowrap;letter-spacing:-.15px;color:#8795a3;min-width:0;font-family:PingFang SC;font-size:14px;font-weight:500;line-height:23.1px;overflow:hidden}.mp-arrow-sm{color:#94a3b8;flex:none;align-items:center;gap:4px;font-size:11px;display:inline-flex}.mp-arrow-icon-sm{width:10px;height:10px;display:block}.mp-item.running .mp-act{color:#1e293b;font-weight:500}.mp-item.running .mp-ico:before{animation:1.1s ease-in-out infinite mp-pulse}.mp-item.skipped .mp-act{color:#94a3b8}.mp-item.error .mp-act{color:#ef4444}.mp-item.error .mp-ico:before{border-radius:2px}.mp-item-body{margin:2px 0 0 19px}.mp-summary{letter-spacing:-.15px;color:#334256;word-break:break-word;white-space:pre-wrap;font-family:PingFang SC;font-size:14px;font-weight:400;line-height:23.1px}.mp-summary p{margin:0 0 6px}.mp-summary p:last-child{margin-bottom:0}.mp-summary pre{white-space:pre;background:#f8fafc;border:1px solid #f1f5f9;border-radius:8px;margin:6px 0;padding:10px 12px;font-size:12px;overflow-x:auto}.mp-summary code{background:#f1f5f9;border-radius:4px;padding:1px 5px;font-size:12px}.mp-summary pre code{background:0 0;padding:0}.mp-item.deep .mp-raw{color:#475569;white-space:pre-wrap;word-break:break-word;tab-size:2;background:#f8fafc;border:1px solid #f1f5f9;border-left:2px solid #e2e8f0;border-radius:6px;max-height:260px;margin:4px 0 0 19px;padding:8px 10px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.55;overflow:auto}.mp-item.deep.running .mp-raw{border-left-color:#c7d2fe}.mp-item.deep .mp-summary{margin:6px 0 0 19px}.mp-item.vision .mp-item-body{margin:4px 0 0 19px}.mp-item.vision .mp-md{color:#475569;word-break:break-word;overflow-wrap:anywhere;font-size:13px;line-height:1.72}.mp-item.vision .mp-md>:first-child{margin-top:0}.mp-item.vision .mp-md>:last-child{margin-bottom:0}.mp-item.vision .mp-md p{margin:0 0 6px}.mp-item.vision .mp-md ul,.mp-item.vision .mp-md ol{margin:4px 0 8px;padding-left:20px}.mp-item.vision .mp-md li{margin:2px 0}.mp-item.vision .mp-md h1,.mp-item.vision .mp-md h2,.mp-item.vision .mp-md h3,.mp-item.vision .mp-md h4{color:#334155;margin:10px 0 4px;font-size:13px;font-weight:600}.mp-item.vision .mp-md strong{color:#334155;font-weight:600}.mp-item.vision .mp-md code{background:#f1f5f9;border-radius:4px;padding:1px 5px;font-size:12px}.mp-item.vision .mp-md pre{background:#f8fafc;border:1px solid #f1f5f9;border-radius:8px;margin:6px 0;padding:10px 12px;font-size:12px;overflow-x:auto}.mp-item.vision .mp-md blockquote{color:#64748b;border-left:2px solid #e2e8f0;margin:6px 0;padding:2px 0 2px 10px}.mp-item.vision .mp-md table{border-collapse:collapse;max-width:100%;margin:6px 0;font-size:12.5px;display:block;overflow-x:auto}.mp-item.vision .mp-md th,.mp-item.vision .mp-md td{border:1px solid #eef2f7;padding:5px 8px}.mp-item.vision .mp-act,.mp-item.vision.running .mp-act{color:#8795a3}.mp-status{color:#64748b;border-top:1px solid #f1f5f9;align-items:center;gap:7px;margin-top:8px;padding-top:7px;font-size:13px;line-height:20px;display:flex}.mp-dot{background:#cbd5e1;border-radius:50%;flex:none;width:8px;height:8px;margin-right:6px}.mp-dot.running{background:#2f8fa2;animation:1.1s ease-in-out infinite mp-pulse}.mp-status-text{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.mp-elapsed{color:#94a3b8;font-variant-numeric:tabular-nums;white-space:nowrap;flex:none;margin-left:auto;padding-left:10px;font-size:12px}.detail-item{border-bottom:1px solid #f1f5f9;padding:3px 0}.detail-item:last-child{border-bottom:none}.detail-item strong{color:#1e293b;text-transform:capitalize}.pp-text{letter-spacing:-.15px;color:#0000;-webkit-text-fill-color:transparent;background-image:linear-gradient(100deg,#64748b 0% 35%,#fff 50%,#64748b 65% 100%);background-position:100% 0;background-size:220% 100%;-webkit-background-clip:text;background-clip:text;padding-right:12px;font-family:PingFang SC;font-size:16px;font-weight:500;line-height:23.1px;animation:3s linear infinite pp-shine}@keyframes pp-shine{0%{background-position:100% 0}to{background-position:-20% 0}}.pp-time{letter-spacing:0;color:#8795a3;font-family:Inter;font-size:12px;font-weight:400;line-height:19.8px}.proc-progress{-webkit-backdrop-filter:blur(6px);color:#64748b;z-index:4;background:#ffffffdb;border-radius:6px;align-items:center;gap:7px;margin:2px 0 0;padding:6px 10px;font-size:13px;line-height:20px;transition:box-shadow .2s,background .2s;display:flex;position:sticky;top:0}.proc-progress-container{justify-content:space-between;width:100%;display:flex}@keyframes mp-pulse{0%,to{opacity:.35}50%{opacity:1}}.pp-spin{transform-origin:50%;--spin-duration:2s;--dot-count:8;flex:none;width:16px;height:16px}.pp-spin-dot{fill:#8795a3;opacity:.15}.pp-spin.running{animation:pp-spin-rotate var(--spin-duration) linear infinite}.pp-spin.running .pp-spin-dot{animation:pp-spin-fade var(--spin-duration) linear infinite;animation-delay:calc(var(--spin-duration) / var(--dot-count) * var(--index))}@keyframes pp-spin-rotate{to{transform:rotate(360deg)}}@keyframes pp-spin-fade{0%,to{opacity:.15}50%{opacity:1}}
