.text-translate-container{width:100%;height:100%;display:flex;flex-direction:column}.text-translate-header{display:flex;justify-content:flex-end;margin-bottom:10px}.text-area-wrapper{display:flex;gap:20px;flex:1;min-height:400px;margin-top:10px}.text-area-container{flex:1;display:flex;flex-direction:column;position:relative;min-height:400px}.text-area{width:100%;height:100%;min-height:400px;padding:16px;border:1px solid #ccc;border-radius:4px;font-size:16px;resize:none;line-height:1.5;transition:border-color .3s}.text-area:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 2px rgba(var(--primary-color-rgb),.1)}.text-area.translated{background-color:#f5f5f5}.text-area-controls{position:absolute;left:8px;bottom:8px;display:flex;gap:4px;opacity:0;transition:opacity .2s}.text-area-container:hover .text-area-controls{opacity:1}.translated-controls{position:absolute;right:8px;bottom:8px;display:flex;gap:4px;opacity:0;transition:opacity .2s}.text-area-container:hover .translated-controls{opacity:1}.icon-button{width:32px;height:32px;border:none;border-radius:4px;background:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#666;transition:all .2s}.icon-button:hover:not(:disabled){background:#f5f5f5;color:var(--primary-color)}.icon-button:disabled{opacity:.5;cursor:not-allowed}.material-icons{font-size:20px}.character-count{position:absolute;right:8px;bottom:40px;font-size:12px;color:#666}.copy-button{position:absolute;top:8px;right:8px;padding:4px 8px;font-size:12px;background-color:#fff;border:1px solid #ccc;border-radius:4px;cursor:pointer;opacity:0;transition:opacity .3s}.text-area-container:hover .copy-button{opacity:1}.copy-button:hover{background-color:#f5f5f5}.copy-button:disabled{opacity:.5;cursor:not-allowed}.controls{display:flex;flex-direction:column;gap:10px}.translate-controls,.translate-button{display:none}.language-select.compact{display:flex;align-items:center}.language-select.compact select{height:36px;padding:0 30px 0 10px;border:1px solid #ccc;border-radius:4px;background-color:#fff;font-size:14px;cursor:pointer}.language-select.compact select:focus{outline:none;border-color:var(--primary-color)}.language-select.compact select:disabled{background-color:#f5f5f5;cursor:not-allowed}.error-message{color:var(--error-color);font-size:14px}.language-controls{display:flex;align-items:center;gap:10px;margin-bottom:20px}.language-select-group{margin-bottom:10px;width:100%}.language-select-group select{padding:8px 12px;border:1px solid #e0e0e0;border-radius:4px;background-color:#fff;font-size:14px;color:#333;cursor:pointer;width:100%;max-width:200px;-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}.language-select-group select:hover{background-color:#f0f0f0;border-color:#d0d0d0}.language-select-group select:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 2px #0078d41a}.language-select-group.target{display:flex;align-items:center;gap:8px;width:100%}.language-select-group.target select{flex:1;min-width:120px;max-width:200px}.swap-button{flex-shrink:0;width:32px;height:32px;border:1px solid #e0e0e0;border-radius:50%;background-color:#f8f9fa;color:#666;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease}.swap-button:hover:not(:disabled){background-color:#f0f0f0;border-color:#d0d0d0;transform:scale(1.05)}.swap-button:disabled{opacity:.5;cursor:not-allowed}.swap-button .material-icons{font-size:18px}@media (max-width: 768px){.text-translate-container{height:calc(100vh - 180px);padding:8px}.text-area-wrapper{flex-direction:column;gap:12px;height:100%}.text-area-container{min-height:200px;height:calc(50% - 6px)}.text-area{min-height:180px;padding:12px;font-size:14px}.language-select-group{margin-bottom:6px}.language-select-group select{max-width:140px;padding:6px 8px;font-size:13px}.language-select-group.target{justify-content:flex-start}.swap-button{width:28px;height:28px}.swap-button .material-icons{font-size:16px}.text-area-controls,.translated-controls{bottom:4px;left:4px;gap:2px}.icon-button{width:28px;height:28px}.material-icons{font-size:16px}.character-count{bottom:36px;right:4px;font-size:11px}.shortcut-hint{bottom:4px;right:36px;font-size:11px}.translation-options{margin-bottom:8px;padding:0 8px}.translation-options .ant-switch{transform:scale(.9)}}@media (max-width: 480px){.text-translate-container{height:calc(100vh - 160px);padding:6px}.text-area-wrapper{gap:8px}.text-area-container{min-height:180px}.text-area{min-height:160px;padding:10px;font-size:13px}.language-select-group select{max-width:120px;padding:4px 6px;font-size:12px}.swap-button,.icon-button{width:24px;height:24px}.material-icons{font-size:14px}}.translating-message{color:var(--primary-color);font-size:14px;text-align:center;padding:8px}.text-area-container.translating:after{content:"";position:absolute;bottom:0;left:0;right:0;height:2px;background:linear-gradient(90deg,var(--primary-color) 0%,var(--primary-color) 50%,transparent 50%,transparent 100%);background-size:200% 100%;animation:loading 1.5s infinite linear}@keyframes loading{0%{background-position:200% 0}to{background-position:0 0}}.icon-button.copy-success{color:#4caf50;background-color:#e8f5e9}.icon-button.copy-success .material-icons{animation:copyFeedback 1s ease-in-out}@keyframes copyFeedback{0%{transform:scale(1)}50%{transform:scale(1.2)}to{transform:scale(1)}}.shortcut-hint{position:absolute;right:40px;bottom:8px;font-size:12px;color:#666;opacity:.7}.translation-options{display:flex;align-items:center;margin-bottom:12px;padding:0 12px}.translation-options .ant-switch{margin-right:8px}.translation-mode-switch{display:flex;gap:1px;background-color:#f5f5f5;padding:2px;border-radius:8px;margin-bottom:20px;width:fit-content;align-self:flex-start}.mode-button{flex:1;padding:8px 24px;border:none;background:none;cursor:pointer;font-size:15px;border-radius:6px;transition:all .3s ease}.mode-button.active{background-color:#fff;color:var(--primary-color);box-shadow:0 2px 4px #0000001a}.mode-button:hover:not(.active){background-color:#ffffff80}.footer{width:100%;height:15px;padding:0;background-color:#f8f9fa;border-top:1px solid #e0e0e0;margin-top:auto;flex-shrink:0;display:flex;align-items:center}.footer-content{max-width:1600px;margin:0 auto;padding:0 1rem;display:flex;justify-content:center;align-items:center;height:100%;width:100%}.copyright{color:#666;font-size:12px;line-height:15px}@media (max-width: 768px){.footer{height:10px}.copyright{line-height:10px;font-size:10px}}:root{--primary-color: #646cff;--hover-color: #535bf2;--error-color: #ff4444;--success-color: #44ff44;--border-color: #f0f0f0;--bg-light: #f5f5f5;--text-primary: #333;--text-secondary: #666;--max-content-width: 1600px;--header-height: 5px;--footer-height: 40px;--sidebar-width: 240px;--sidebar-collapsed-width: 80px;--card-shadow: 0 2px 8px rgba(0, 0, 0, .1)}body{margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";background-color:var(--bg-light)}.app-layout{min-height:100vh;height:100vh;overflow:hidden}.sidebar{box-shadow:2px 0 8px #1d23290d;background-color:#fff!important}.logo-container{height:64px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border-color)}.logo-text{color:var(--primary-color);font-size:18px;font-weight:600;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.logo-trigger{display:flex;align-items:center;justify-content:center}.logo-trigger .trigger{font-size:16px;padding:8px;cursor:pointer;transition:color .3s}.logo-trigger .trigger:hover{color:var(--primary-color)}.app-header{display:none}.user-info{display:flex;align-items:center;gap:12px;cursor:pointer;padding:6px 12px;border-radius:24px;transition:background-color .2s;background-color:var(--bg-light)}.user-info:hover{background-color:#ececec}.user-avatar{width:32px;height:32px;border-radius:50%;object-fit:cover}.user-avatar-icon{width:32px;height:32px;border-radius:50%;background-color:#f0f0f0;display:flex;align-items:center;justify-content:center;font-size:16px;color:#999}.user-name{color:var(--text-primary);font-size:14px;margin-right:4px}.app-content{height:100%;overflow:auto;padding:24px;background-color:var(--bg-light);display:flex;flex-direction:column}.content-card{background:#fff;padding:24px;border-radius:8px;box-shadow:var(--card-shadow);flex:1;display:flex;flex-direction:column;overflow:auto;margin-bottom:16px}.app-content .footer{margin-top:auto;flex-shrink:0}.paper-analyzer-card{padding:0;overflow:hidden}.loading-container{display:flex;align-items:center;justify-content:center;height:100vh;width:100vw}.loading{font-size:18px;color:var(--primary-color)}.dropzone{border:2px dashed #ccc;border-radius:8px;padding:32px;text-align:center;cursor:pointer;margin-bottom:20px;transition:all .3s ease}.dropzone:hover{border-color:var(--primary-color);background-color:#646cff0d}.dropzone.active{border-color:var(--primary-color);background-color:#646cff1a}.dropzone.disabled{cursor:not-allowed;opacity:.5}.file-info{font-size:14px;color:var(--text-secondary);margin-top:8px}.language-controls{display:flex;flex-wrap:wrap;gap:16px;align-items:center;margin:16px 0}.language-select{flex:1;min-width:200px}.language-select select{width:100%;padding:8px 12px;border-radius:6px;border:1px solid #ccc}.glossary-control{display:flex;align-items:center;margin-left:auto}.glossary-control label{display:flex;align-items:center;gap:8px;cursor:pointer}.glossary-control input[type=checkbox]{margin:0;width:16px;height:16px}.translate-button{display:block!important;margin:24px auto!important;padding:12px 24px;background-color:var(--primary-color);color:#fff;border:none;border-radius:6px;cursor:pointer;min-width:150px;font-size:16px;font-weight:500;transition:all .2s ease}.translate-button:hover:not(:disabled){background-color:var(--hover-color);transform:translateY(-1px)}.translate-button:disabled{opacity:.6;cursor:not-allowed}.status-message{margin-top:16px;padding:12px;border-radius:6px;text-align:center}.status-message.error{background-color:#ff44441a;color:var(--error-color)}.status-message.completed{background-color:#44ff441a;color:var(--success-color);animation:fadeInOut 2s ease}@keyframes fadeInOut{0%{opacity:0}20%{opacity:1}80%{opacity:1}to{opacity:0}}.translation-content{flex:1;display:flex;flex-direction:column}@media (max-width: 992px){:root{--header-height: 56px}.app-header{padding:0 16px}.app-content,.content-card{padding:16px}}@media (max-width: 768px){.language-controls{flex-direction:column;align-items:stretch}.language-select{width:100%}.glossary-control{margin-left:0;margin-top:8px}.app-content{padding:12px}}@media (max-width: 576px){:root{--header-height: 48px}.app-header{padding:0 16px}.user-info{padding:4px}.user-avatar,.user-avatar-icon{width:28px;height:28px}.user-name{display:none}.content-card{padding:12px;border-radius:6px}.app-content{padding:8px}}.sidebar .ant-layout-sider-trigger{display:none}.sidebar-user-info{margin-top:auto;border-top:1px solid var(--border-color);padding:16px}.sidebar-user-info .user-info{display:flex;align-items:center;gap:12px;cursor:pointer;padding:8px 0;border-radius:0;transition:none;background-color:transparent}.sidebar-user-info .user-info:hover{background-color:transparent}.user-avatar,.user-avatar-icon{width:32px;height:32px;border-radius:50%;object-fit:cover}.user-avatar-icon{background-color:transparent;color:var(--primary-color);font-size:20px}.sidebar-user-info .user-name{color:var(--text-primary);font-size:14px;font-weight:500}.ant-layout-sider-collapsed .sidebar-user-info{padding:16px 8px}.ant-layout-sider-collapsed .sidebar-user-info .user-info{justify-content:center}.sidebar .ant-layout-sider-children{display:flex;flex-direction:column;height:100%}.ant-layout-sider-collapsed .logo-container{justify-content:center;padding:0 8px}.login-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;background:linear-gradient(135deg,#f5f7fa,#e4e7eb);padding:20px}.login-card{background:#fff;border-radius:16px;box-shadow:0 4px 24px #00000014;padding:40px;width:100%;max-width:400px;text-align:center}.login-header{margin-bottom:40px}.login-header h1{color:#1d2129;font-size:28px;font-weight:600;margin:0 0 8px}.subtitle{color:#86909c;font-size:16px;margin:0}.login-content{display:flex;flex-direction:column;align-items:center}.feishu-login-button{display:flex;align-items:center;justify-content:center;gap:12px;background-color:#3370ff;color:#fff;border:none;border-radius:8px;padding:12px 24px;font-size:16px;font-weight:500;cursor:pointer;transition:all .2s ease;width:100%;max-width:280px}.feishu-login-button:hover{background-color:#2860e1;transform:translateY(-1px);box-shadow:0 4px 12px #3370ff33}.feishu-login-button:active{transform:translateY(0);box-shadow:none}.feishu-icon{width:24px;height:24px;object-fit:contain}@media (max-width: 480px){.login-card{padding:30px 20px;margin:20px;border-radius:12px}.login-header h1{font-size:24px}.subtitle{font-size:14px}.feishu-login-button{padding:10px 20px;font-size:15px}}.distance-calculator-card{margin:24px}.calculator-container{display:flex;flex-direction:column;gap:24px}.upload-section{width:100%}.upload-section .ant-upload-drag{padding:32px}.upload-section .ant-upload-text{margin:16px 0 8px;font-size:16px}.upload-section .ant-upload-hint{color:#666}.info-section{background-color:#f5f5f5;padding:16px;border-radius:8px}.info-section h3{margin-bottom:16px;color:#1d2129}.info-section ul{padding-left:20px}.info-section ul li{margin-bottom:8px;color:#4e5969}.info-section ul ul{margin-top:8px}.action-section{display:flex;justify-content:center;margin-top:16px}.action-section .ant-btn{min-width:120px}.file-upload .dropzone{border:2px dashed #d9d9d9;padding:20px;text-align:center;cursor:pointer;transition:all .3s}.file-upload .dropzone:hover{border-color:#1890ff}.file-upload .dropzone.active{border-color:#1890ff;background-color:#f0f5ff}.file-upload .dropzone.disabled{cursor:not-allowed;background-color:#f5f5f5}.file-size{color:#8c8c8c;margin-top:8px}.warning{color:#ff4d4f;margin-top:8px}.tasks-section{margin-top:24px;background-color:#fff;padding:16px;border-radius:8px;box-shadow:0 1px 2px #0000001a}.tasks-section h3{margin-bottom:16px;color:#1d2129}.tasks-section .ant-table{background-color:#fff}.tasks-section .ant-table-thead>tr>th{background-color:#f5f5f5}.tasks-section .ant-table-tbody>tr:hover>td{background-color:#f0f5ff}.status-badge{display:inline-block;padding:4px 8px;border-radius:4px;font-size:12px;font-weight:500}.status-queued{background-color:#e6f7ff;color:#1890ff}.status-processing{background-color:#fff7e6;color:#fa8c16}.status-completed{background-color:#f6ffed;color:#52c41a}.status-failed{background-color:#fff1f0;color:#f5222d}.status-cancelled{background-color:#f5f5f5;color:#8c8c8c}.tasks-section .ant-btn{margin-right:8px}.tasks-section .ant-btn:last-child{margin-right:0}.ant-modal-confirm-btns .ant-btn-dangerous{margin-left:8px}.ant-btn .anticon{margin-right:4px}.card-title{display:flex;justify-content:space-between;align-items:center;width:100%}.tasks-header{display:flex;align-items:center;gap:8px;margin-bottom:16px}.instructions-content{max-height:60vh;overflow-y:auto}.instructions-content .ant-typography{margin-bottom:16px}.instructions-content ul{padding-left:20px}.instructions-content li{margin-bottom:8px}.ant-btn-icon-only{display:inline-flex;align-items:center;justify-content:center}.tasks-section .ant-table{margin-top:16px}.tasks-section .ant-table-thead>tr>th{background-color:#fafafa}.paper-analyzer-layout{height:100%;background:#fff;display:flex;flex-direction:row;margin:0;width:100%}.paper-analyzer-sider{background:#fff;border-right:1px solid #f0f0f0;height:100%;display:flex;flex-direction:column;transition:width .3s ease;flex-shrink:0;position:relative}.paper-analyzer-layout:has(.chat-only-content) .paper-analyzer-sider,.paper-analyzer-layout.chat-only-mode .paper-analyzer-sider,.paper-analyzer-sider.full-width{width:100%!important;max-width:none!important;min-width:auto!important;flex:1!important}.paper-analyzer-sider.full-width{border-right:none!important}.paper-analyzer-layout.chat-only-mode .paper-analyzer-content{display:none!important;width:0!important;flex:none!important}.paper-analyzer-layout.chat-only-mode .resize-handle{display:none!important}.paper-analyzer-layout.chat-only-mode{flex-direction:row!important}.paper-analyzer-layout.chat-only-mode .ant-layout-sider{width:100%!important;max-width:none!important;min-width:0!important;flex:1!important}.paper-analyzer-content{flex:1;height:100%;overflow:hidden;display:flex;flex-direction:column;margin:0;min-width:0;transition:width .2s ease}.upload-section{margin-bottom:24px}.analyze-button{margin-top:16px;width:100%}.qa-section{flex:1;display:flex;flex-direction:column;gap:16px;overflow:hidden}.question-input{display:flex;gap:16px}.response-list{flex:1;display:flex;flex-direction:column;overflow-y:auto}.question{font-weight:700;margin-bottom:8px}.answer{color:#666}.document-viewer{height:100%;display:flex;flex-direction:column;overflow:hidden}.document-header{flex-shrink:0;padding:4px 8px;height:32px;min-height:32px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #f0f0f0;background:#fff}.header-left{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:500;max-width:70%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-right{display:flex;gap:12px;align-items:center}.header-right .ant-select{width:180px!important}.header-right .ant-btn{height:28px;padding:0 12px}.document-content-split{flex:1;display:flex;overflow:hidden;background:#fff;margin-top:0;gap:1px}.original-content,.translated-content{flex:1;padding:16px 24px;overflow:auto!important;display:flex;flex-direction:column}.translated-content{border-right:none}.original-content h3,.translated-content h3{margin-bottom:12px;color:#1890ff;font-size:14px;font-weight:500;border-bottom:1px solid #f0f0f0;padding-bottom:8px}.original-content p,.translated-content p{margin-bottom:12px;text-align:justify;word-break:break-word;white-space:pre-wrap}.empty-translation{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#999}.empty-translation p{margin-top:16px;font-size:14px}.document-content{flex:1;padding:24px;overflow:auto;line-height:1.6;font-size:14px}.document-content p{margin-bottom:12px}.empty-document{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#999}.empty-document p{margin-top:16px;font-size:16px}.loading-container{display:none}.chat-container{display:flex;flex-direction:column;height:100%;background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a}.chat-header{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background:#fff;border-bottom:1px solid #f0f0f0;height:48px}.chat-messages{flex:1;overflow-y:auto;padding:8px 0;background:#fff;min-height:0;border-radius:0;margin:0}.chat-input-container{padding:12px 16px;background:#fff;border-top:1px solid #f0f0f0;border-radius:0 0 8px 8px}.selected-file{display:none}.document-header .selected-file{display:flex;align-items:center;padding:4px 8px;background:transparent;border-radius:4px;margin-bottom:0}.input-area{display:flex;flex-direction:column;gap:8px;border:1px solid #d9d9d9;border-radius:8px;padding:12px;transition:all .3s;background:#fafafa}.input-area:hover,.input-area:focus-within{border-color:#40a9ff;box-shadow:0 0 0 2px #1890ff1a}.input-area.dragging{border-color:#1890ff;background-color:#e6f7ff}.input-area .ant-input{background-color:transparent;border:none;padding:4px;font-size:14px;resize:none;box-shadow:none!important}.input-area .ant-input:focus{outline:none;box-shadow:none!important}.input-actions{display:flex;justify-content:space-between;align-items:center;margin-top:8px}.left-actions,.right-actions{display:flex;align-items:center;gap:8px}.right-actions .ant-btn[danger]{border-color:#ff4d4f;color:#ff4d4f;background-color:#fff}.right-actions .ant-btn[danger]:hover{background-color:#ff4d4f;color:#fff;border-color:#ff4d4f}.right-actions .ant-btn[danger]:focus{border-color:#ff4d4f;color:#ff4d4f;background-color:#fff}.right-actions .ant-btn.ant-btn-primary{background-color:#1890ff;border-color:#1890ff}.right-actions .ant-btn.ant-btn-primary:hover{background-color:#40a9ff;border-color:#40a9ff}.collapse-button{padding:4px;height:28px;width:28px;display:flex;align-items:center;justify-content:center;color:#666}.collapse-button:hover{background-color:#f5f5f5}.message-bubble,.question-bubble,.answer-bubble,.message-header{display:none}.user-message{background-color:transparent;padding:0}.response-list{flex:1;overflow-y:auto;padding:0}.response-list .ant-list-item{padding:0;border-bottom:none}.chat-message:not(:last-child){border-bottom:none}.chat-message:hover,.user-message:hover{background-color:transparent}.chat-messages::-webkit-scrollbar{width:5px}.chat-messages::-webkit-scrollbar-track{background:#f1f1f1;border-radius:5px}.chat-messages::-webkit-scrollbar-thumb{background:#ccc;border-radius:5px}.chat-messages::-webkit-scrollbar-thumb:hover{background:#aaa}.paper-analyzer-sider{position:relative;transition:all .3s ease}.paper-analyzer-sider.ant-layout-sider-collapsed{width:0!important;min-width:0!important;max-width:0!important;overflow:hidden}.paper-analyzer-sider.ant-layout-sider-collapsed .chat-container{width:40px;overflow:visible}.paper-analyzer-sider.ant-layout-sider-collapsed .chat-messages,.paper-analyzer-sider.ant-layout-sider-collapsed .chat-input-container{display:none}.paper-analyzer-sider.ant-layout-sider-collapsed .chat-header{padding:6px;justify-content:center;border-bottom:none;background:transparent}.paper-analyzer-sider.ant-layout-sider-collapsed .collapse-button{margin:0;padding:4px;position:absolute;right:4px;top:50%;transform:translateY(-50%);background:#fff;border:1px solid #f0f0f0;border-radius:4px;box-shadow:0 2px 8px #00000026;z-index:1000}.original-content::-webkit-scrollbar,.translated-content::-webkit-scrollbar{width:4px}.original-content::-webkit-scrollbar-track,.translated-content::-webkit-scrollbar-track{background:#f1f1f1}.original-content::-webkit-scrollbar-thumb,.translated-content::-webkit-scrollbar-thumb{background:#888;border-radius:2px}.original-content::-webkit-scrollbar-thumb:hover,.translated-content::-webkit-scrollbar-thumb:hover{background:#555}.chat-messages{padding:8px}.message-bubble{padding:6px 8px;margin-bottom:6px}.message-header{font-size:11px;margin-bottom:2px}.content-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid #f0f0f0}.content-header h3{margin:0;color:#1890ff;font-size:14px;font-weight:500}.download-button{padding:4px 8px;color:#666;display:flex;align-items:center;gap:4px}.download-button:hover{color:#1890ff;background:#f0f0f0}.line-numbers{font-family:Monaco,Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace;font-size:13px;line-height:1.5;counter-reset:line}.line-container{display:flex;padding:2px 0;position:relative;min-height:24px;box-sizing:border-box;width:100%}.line-number{display:inline-block;width:40px;padding-right:12px;text-align:right;color:#999;-webkit-user-select:none;user-select:none;position:sticky;left:0;background:#f8f8f8;border-right:1px solid #eee;margin-right:12px}.line-content{flex:1;white-space:pre-wrap!important;word-break:break-word!important;padding-right:8px;font-size:14px!important;line-height:1.4!important;max-width:100%;overflow-wrap:break-word!important;text-overflow:ellipsis}.original-content .line-number,.translated-content .line-number{font-size:12px;color:#666;background:#f5f5f5;padding:2px 8px;border-radius:3px;margin-right:8px}.line-container:hover{background-color:#f5f5f5}.line-container:hover .line-number{background-color:#e6f7ff;color:#1890ff}.input-area.analyzing{border-color:#1890ff;background-color:#f0f7ff;position:relative}.input-area.analyzing:after{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:#fff9;z-index:1}.input-area.analyzing .ant-upload,.input-area.analyzing .ant-btn{position:relative;z-index:2}.analyzing-message{background-color:#f0f7ff;border:1px solid #91d5ff;padding:12px;border-radius:4px;margin-bottom:12px;display:flex;align-items:center;gap:8px}.analyzing-message .anticon{color:#1890ff;font-size:16px}.ant-btn[disabled],.ant-upload-disabled{cursor:not-allowed;opacity:.65}.input-area.analyzing .ant-input{background-color:#f0f7ff;cursor:not-allowed}@keyframes analyzing-pulse{0%{box-shadow:0 0 #1890ff66}70%{box-shadow:0 0 0 10px #1890ff00}to{box-shadow:0 0 #1890ff00}}.input-area.analyzing{animation:analyzing-pulse 2s infinite}.ReactVirtualized__List{overflow-y:auto!important;width:100%!important;min-height:200px!important;max-height:100%!important}.ReactVirtualized__Grid__innerScrollContainer{will-change:transform}.empty-document,.empty-translation{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%}.empty-document p,.empty-translation p{margin-top:16px;font-size:14px}.content-wrapper{flex:1;overflow:auto;position:relative;border:1px solid #f0f0f0;border-radius:4px;background-color:#fafafa}.line-container{border-bottom:1px solid #f5f5f5}.line-container:last-child{border-bottom:none}.resize-handle{position:absolute;top:0;right:-5px;width:10px;height:100%;cursor:col-resize;z-index:100;display:flex;align-items:center;justify-content:center}.resize-handle:hover .handle-bar{background-color:#1890ff;width:4px}.handle-bar{width:3px;height:50px;background-color:#d9d9d9;border-radius:2px;transition:background-color .2s,width .2s}.paper-analyzer-sider{transition:width .2s ease}.paper-analyzer-sider[style*="transition: none"]{transition:none!important}.paper-analyzer-sider[style*="transition: none"]+.paper-analyzer-content{transition:none!important}.header-actions{display:flex;align-items:center;gap:8px}.header-actions .ant-switch{margin-right:4px}.download-button{padding:2px 4px;color:#666;display:flex;align-items:center;justify-content:center}.session-header h3{margin:0;color:#333;font-size:16px}.session-info{display:flex;flex:1;justify-content:space-between;align-items:center;width:100%}.session-title{margin:0;font-size:16px;font-weight:500;color:#333;display:flex;align-items:center;gap:8px;cursor:pointer;max-width:70%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.edit-icon{font-size:14px;opacity:.6;margin-left:8px}.session-title:hover .edit-icon{opacity:1}.session-actions{display:flex;align-items:center}.edit-title{display:flex;align-items:center;gap:8px;width:100%}.edit-title .ant-input{flex:1}.sessions-list{position:relative;display:flex;flex-direction:column;height:calc(100% - 120px);overflow-y:auto}.sessions-list .ant-spin-nested-loading{height:100%}.sessions-list .ant-spin-container{height:100%;overflow-y:auto}.sessions-list-loading{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;justify-content:center;align-items:center;background-color:#ffffffb3;z-index:10}.session-item-content{width:100%}.session-title{display:flex;align-items:center;font-weight:500;margin-bottom:4px}.session-title .anticon{margin-right:8px;color:#1890ff}.session-meta{display:flex;justify-content:space-between;color:#00000073;font-size:12px;margin-bottom:6px}.session-preview{color:#000000a6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}.session-documents{margin-top:8px}.session-documents .ant-tag{margin-right:4px}.sessions-list-footer{margin-top:auto;padding:12px;display:flex;justify-content:center;border-top:1px solid #f0f0f0}.ant-empty{margin:32px 0}.ant-empty-description{color:#999}.session-documents{margin-top:8px;display:flex;flex-wrap:wrap;gap:4px}.session-title{display:flex;align-items:center;gap:8px}.session-title .anticon{color:#1890ff;font-size:14px}.session-item.ai-only .session-title .anticon{color:#52c41a}.session-header{display:flex;justify-content:space-between;align-items:center;width:100%;padding:0 8px}.session-header .return-button{display:flex;align-items:center;justify-content:flex-start}.session-header .anticon{margin-right:8px}.input-area.disabled{background-color:#f5f5f5;opacity:.8;border-color:#d9d9d9;cursor:not-allowed}.input-area.disabled .ant-input{background-color:#f5f5f5;color:#999}.input-area.disabled .ant-btn[disabled]{opacity:.6}.sessions-list{flex:1;overflow-y:auto;padding:8px}.session-item{padding:12px;border-radius:6px;transition:background-color .3s ease;margin-bottom:8px;cursor:pointer}.session-item:hover{background-color:#0000000d}.session-item.active{background-color:#e6f7ff;border-left:3px solid #1890ff}.input-area.disabled .input-actions .ant-btn-primary{background-color:#1890ff;color:#fff;opacity:1;cursor:pointer}.delete-session-btn{margin-left:8px;opacity:.6;transition:opacity .2s}.session-item:hover .delete-session-btn{opacity:1}.session-meta{display:flex;align-items:center;justify-content:flex-start;gap:10px}.session-documents-list{margin:8px;border-radius:6px;background-color:#00000005;padding:12px}.documents-list-header{font-size:14px;font-weight:500;margin-bottom:8px;color:#000000a6;display:flex;align-items:center;gap:6px}.documents-list-content{display:flex;flex-wrap:wrap;gap:8px}.document-item{display:flex;align-items:center;gap:6px;padding:6px 10px;border-radius:4px;background-color:#fff;box-shadow:0 1px 2px #0000000d;cursor:pointer;transition:all .2s;max-width:100%;border:1px solid #e8e8e8}.document-item:hover{background-color:#f5f5f5}.document-icon{color:#1890ff;font-size:18px}.document-info{flex:1;min-width:0}.document-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}.document-size{font-size:11px;color:#00000073}.clickable-document-tag{cursor:pointer;transition:background-color .2s}.clickable-document-tag:hover{background-color:#e6f7ff}.documents-popup{position:absolute;bottom:70px;left:16px;width:300px;max-height:400px;background:#fff;border-radius:8px;box-shadow:0 2px 10px #00000026;z-index:100;display:flex;flex-direction:column;overflow:hidden}.documents-popup-header{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;font-weight:500;border-bottom:1px solid #f0f0f0;font-size:14px}.documents-popup-content{padding:8px;overflow-y:auto;max-height:350px;display:flex;flex-direction:column;gap:6px}.documents-popup .document-item{padding:8px 10px;cursor:pointer;border-radius:4px;transition:background-color .2s;display:flex;align-items:center;gap:8px}.documents-popup .document-item:hover{background-color:#f5f5f5}.documents-popup .document-icon{font-size:16px;color:#1890ff}.documents-popup .document-info{flex:1;min-width:0}.documents-popup .document-name{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.documents-popup .document-size{font-size:11px;color:#999}.chat-input-container{position:relative}.session-documents-list{display:none}.response-list:not(:empty){justify-content:flex-end}.scroll-to-bottom{scroll-behavior:smooth}.loading-more-messages{text-align:center;padding:10px;color:#999}.chat-container{height:100%;overflow-y:auto;padding:10px}.ant-btn.active{background-color:#e6f7ff;color:#1890ff;border-color:#91d5ff}.chat-only-content{height:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#f5f7fa,#c3cfe2);padding:32px;text-align:center}.welcome-message{max-width:500px;display:flex;flex-direction:column;align-items:center;gap:16px}.welcome-icon{margin-bottom:16px}.welcome-message h2{font-size:28px;font-weight:500;color:#1890ff;margin:0}.welcome-message p{font-size:16px;color:#666;margin:0;line-height:1.6}.upload-hint{margin-top:24px;padding:20px;background:#fffc;border-radius:8px;box-shadow:0 2px 8px #0000000d}.upload-hint p{color:#999;font-size:14px;margin:0}.close-document-pane{color:#999;transition:color .2s}.close-document-pane:hover{color:#ff4d4f}.session-actions .ant-btn.active{background-color:#e6f7ff;color:#1890ff}.chat-welcome{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 16px;text-align:center;color:#666}.chat-welcome .welcome-icon{margin-bottom:16px}.chat-welcome h3{font-size:24px;font-weight:500;color:#1890ff;margin:0 0 12px}.chat-welcome p{font-size:16px;color:#666;margin:0 0 24px;line-height:1.6}.chat-welcome .upload-hint{margin-top:24px;padding:20px;background:#fffc;border-radius:8px;box-shadow:0 2px 8px #0000000d;border:1px dashed #d9d9d9}.chat-welcome .upload-hint p{color:#999;font-size:14px;margin:0}.chat-message.editing{background-color:#f0f9ff;border-left:4px solid #1890ff;padding-left:8px}.message-edit-mode{margin:8px 0}.message-edit-mode .ant-input{margin-bottom:8px}.edit-controls{margin-top:12px}.edit-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}.edit-actions .ant-btn{min-width:70px}.message-actions{display:flex;align-items:flex-start;gap:4px;opacity:0;transition:opacity .2s ease;margin-left:8px;margin-top:4px}.chat-message:hover .message-actions{opacity:1}.message-edit-actions{display:flex;align-items:center;gap:2px}.more-actions-btn,.quick-edit-btn,.quick-delete-btn{color:#666;border:none;box-shadow:none;padding:4px;width:24px;height:24px;min-width:unset;display:flex;align-items:center;justify-content:center}.more-actions-btn:hover,.quick-edit-btn:hover{color:#1890ff;background-color:#f0f9ff}.quick-delete-btn:hover{color:#ff4d4f;background-color:#fff2f0}.message-edit-indicator{display:flex;align-items:center;gap:8px;margin-top:8px;padding:4px 8px;background-color:#f6ffed;border:1px solid #b7eb8f;border-radius:4px;font-size:12px}.edit-badge{color:#52c41a;font-weight:500}.view-history-btn{padding:0 4px;height:auto;font-size:12px}.edit-history-content{max-height:60vh;overflow-y:auto}.edit-history-list{display:flex;flex-direction:column;gap:16px}.history-item{border:1px solid #e8e8e8;border-radius:8px;padding:16px;background-color:#fafafa}.history-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;padding-bottom:8px;border-bottom:1px solid #e8e8e8}.version-label{font-weight:600;color:#1890ff;background-color:#e6f7ff;padding:2px 8px;border-radius:12px;font-size:12px}.edit-time{color:#666;font-size:12px}.edit-reason,.change-summary{margin:8px 0;font-size:13px;color:#595959}.edit-reason strong,.change-summary strong{color:#262626}.history-content{margin-top:12px}.content-preview{margin-top:8px;padding:12px;background-color:#fff;border:1px solid #d9d9d9;border-radius:6px;white-space:pre-wrap;word-wrap:break-word;max-height:200px;overflow-y:auto;font-family:inherit;line-height:1.5}.message-permission-tooltip{font-size:12px;max-width:200px}@media (max-width: 768px){.message-actions{position:relative;opacity:1;margin-left:4px}.message-edit-actions{gap:1px}.more-actions-btn,.quick-edit-btn,.quick-delete-btn{width:28px;height:28px}.edit-actions{flex-direction:column;gap:4px}.edit-actions .ant-btn{width:100%}.history-header{flex-direction:column;align-items:flex-start;gap:4px}}.chat-message.editing .message-actions{display:none}.ant-popconfirm .ant-popconfirm-message{margin-bottom:12px}.ant-popconfirm .ant-popconfirm-buttons{text-align:right}.edit-history-content::-webkit-scrollbar{width:6px}.edit-history-content::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.edit-history-content::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.edit-history-content::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.content-preview::-webkit-scrollbar{width:4px}.content-preview::-webkit-scrollbar-track{background:#f1f1f1;border-radius:2px}.content-preview::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:2px}.message-edit-mode{animation:fadeInEdit .3s ease-in-out}@keyframes fadeInEdit{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.message-edit-indicator{animation:slideInEditIndicator .3s ease-in-out}@keyframes slideInEditIndicator{0%{opacity:0;transform:scaleX(0)}to{opacity:1;transform:scaleX(1)}}.message-content-wrapper{display:flex;flex-direction:column;flex:1;min-width:0}.message-content{flex:1;min-width:0}.message-edit-mode .ant-input{resize:vertical;min-height:100px}.time-limit-warning{color:#fa8c16;font-size:11px;margin-left:4px}.time-limit-expired{color:#ff4d4f;font-size:11px;margin-left:4px}.answer-text{margin-bottom:12px;line-height:1.6}.answer-line{margin-bottom:8px;white-space:pre-wrap;word-break:break-word}.answer-line:last-child{margin-bottom:0}.answer-sources{margin-top:12px;padding-top:8px;border-top:1px solid #f0f0f0}.sources-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;color:#666;font-size:12px;cursor:pointer;padding:4px 8px;border-radius:4px;transition:background-color .3s ease}.sources-header:hover{background-color:#f5f5f5}.sources-title{display:flex;align-items:center;gap:8px}.expand-icon{color:#999;transition:transform .3s ease}.sources-content{max-height:0;overflow:hidden;transition:max-height .3s ease-out}.sources-content.expanded{max-height:2000px;transition:max-height .5s ease-in}.source-item{opacity:0;transform:translateY(-10px);transition:opacity .3s ease,transform .3s ease}.sources-content.expanded .source-item{opacity:1;transform:translateY(0)}.source-item:nth-child(1){transition-delay:.1s}.source-item:nth-child(2){transition-delay:.2s}.source-item:nth-child(3){transition-delay:.3s}.source-item:nth-child(4){transition-delay:.4s}.source-item:nth-child(5){transition-delay:.5s}.confidence{color:#1890ff;font-weight:500}.source-item{margin:8px 0;padding:8px;background:#f9f9f9;border-radius:4px;font-size:12px}.source-header{display:flex;gap:8px;margin-bottom:4px;color:#666}.page-number,.line-number{color:#1890ff}.similarity{color:#52c41a}.source-content{color:#333;line-height:1.4;word-break:break-word}.source-content .answer-line{margin-bottom:4px;font-size:12px}@media (max-width: 768px){.answer-sources{margin-top:8px;padding-top:6px}.source-item{padding:6px;margin:6px 0}.source-header{flex-wrap:wrap;gap:4px}.answer-line{margin-bottom:6px;font-size:12px}.sources-header{padding:3px 6px}.sources-title{gap:6px}.expand-icon{font-size:12px}}.log-content{display:flex;flex-direction:column;gap:8px;margin:8px 0}.log-item{padding:8px 12px;background:#f5f5f5;border-radius:4px;border-left:3px solid #1890ff;font-size:13px;line-height:1.5;transition:all .3s ease}.log-item:hover{background:#e6f7ff;border-left-color:#40a9ff}@media (max-width: 768px){.log-item{padding:6px 10px;font-size:12px}}.message-header{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#666;margin-bottom:4px;font-weight:700}.message-content-wrapper{max-width:85%;display:flex;flex-direction:column;min-width:0}.copy-button-wrapper{display:flex;margin-top:8px;margin-bottom:0}.user .copy-button-wrapper{justify-content:flex-end}.chat-message:not(.user) .copy-button-wrapper{justify-content:flex-start}.copy-btn{background:#f5f5f5;border:1px solid #d9d9d9;border-radius:6px;padding:4px 8px;cursor:pointer;color:#666;font-size:12px;display:flex;align-items:center;justify-content:center;min-width:28px;height:28px;transition:all .2s ease}.copy-btn:hover{background:#e6f7ff;border-color:#91d5ff;color:#1890ff}.copy-btn:active{background:#bae7ff}.copy-btn .anticon-check{color:#52c41a}.message-avatar{width:36px;height:36px;border-radius:50%;background-color:#f0f0f0;display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0;margin-right:0}.user .message-avatar{background-color:#1890ff;color:#fff}.chat-message:not(.user) .message-avatar{background-color:#f5f5f5;color:#1890ff}.message-content{padding:12px 16px;border-radius:16px;background-color:#fff;box-shadow:0 1px 2px #0000001a;position:relative;word-break:break-word;overflow-wrap:break-word;font-size:14px;line-height:1.5}.user .message-content{background-color:#1890ff;color:#fff;border-bottom-right-radius:4px}.chat-message:not(.user) .message-content{background-color:#fff;border-bottom-left-radius:4px}.user .message-content,.user .message-content p,.user .message-content div{color:#fff}.user .message-content code{background-color:#fff3;color:#fff}.chat-message:not(.user) .message-content code{background-color:#0000000d}.rich-content-container{display:flex;flex-direction:column;gap:12px}.content-item{margin-bottom:8px}.mermaid-container{margin:16px 0;padding:12px;background-color:#f9f9f9;border-radius:8px;overflow:hidden;max-width:100%}.mermaid{display:block;width:100%;overflow:auto;min-height:100px;text-align:center;padding:10px}.mermaid svg{max-width:100%;margin:0 auto;display:inline-block;transition:transform .3s ease}.mermaid svg.expanded{transform:scale(1.5);transform-origin:center center}.mermaid-fallback{margin-top:10px;background-color:#eee;border-radius:4px;padding:4px}.mermaid-fallback summary{cursor:pointer;font-size:12px;color:#666;padding:4px}.mermaid-fallback pre{background-color:#fff;border-radius:4px;padding:8px;font-size:12px;overflow:auto;max-height:200px;margin-top:4px;white-space:pre-wrap;color:#333}.mermaid-error{text-align:left;color:#f5222d;font-size:13px;padding:10px;border:1px solid #ffccc7;border-radius:4px;background-color:#fff2f0}.mermaid-error p{font-weight:700;margin-bottom:8px}.mermaid-error pre{background-color:#fff;padding:8px;border-radius:4px;max-height:200px;overflow:auto;font-size:12px;white-space:pre-wrap;border:1px solid #ddd}.loading-dots{display:inline-block;animation:pulse 1.5s infinite}@keyframes pulse{0%{opacity:.6}50%{opacity:1}to{opacity:.6}}.sources-header{font-weight:500;margin-bottom:4px;color:#666;cursor:pointer;-webkit-user-select:none;user-select:none;display:flex;align-items:center;gap:6px}.sources-header:hover{color:#1890ff}.toggle-icon{font-size:10px}.sources-list{margin:8px 0 0;padding-left:16px;border-left:2px solid #f0f0f0}.source-item{margin-bottom:8px;padding:4px 8px;background-color:#f9f9f9;border-radius:4px}.source-document{font-weight:500;margin-right:4px;color:#1890ff;display:block;margin-bottom:2px}.source-content{color:#333;display:block;font-size:13px}.chat-message-container{width:100%;margin-bottom:20px}.chat-message{display:flex;align-items:flex-start;gap:12px;max-width:100%;margin-bottom:20px;padding:0 16px}.chat-message.user{flex-direction:row-reverse}.user-message{background-color:#f7f7f8e6}.message-text{padding:4px 0;word-break:break-word;overflow-wrap:break-word}.code-block-container{border-radius:6px;overflow:hidden;border:1px solid #eee;margin:8px 0}.code-block-header{background-color:#f5f5f5;padding:4px 8px;display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#666;border-bottom:1px solid #eee}.code-language{font-family:monospace;font-weight:700}.table-container{overflow-x:auto;margin:8px 0}.message-table{border-collapse:collapse;width:100%;font-size:14px}.message-table th,.message-table td{border:1px solid #eee;padding:8px;text-align:left}.message-table th{background-color:#f5f5f5;font-weight:500}.math{font-family:KaTeX_Math,serif;font-size:1.1em;color:#333}.mermaid-tips{margin-top:10px;padding:8px;background-color:#f8f8f8;border-left:3px solid #faad14;font-size:12px;line-height:1.5;color:#555}.mermaid-tips ul{padding-left:20px;margin:5px 0 0}.mermaid-tips li{margin-bottom:3px}.mermaid[data-loading=true]:before{content:"正在渲染 Mermaid 图表...";font-size:.9rem;color:#888;display:block;margin-bottom:8px}.mermaid-error pre{background:#f6f6f6;padding:8px;overflow-x:auto;font-family:monospace;max-height:200px;border-radius:4px}.mermaid-error{color:#d32f2f;padding:8px;border:1px solid #ffccbc;border-radius:4px;background-color:#ffebee;margin:8px 0}.mermaid svg[data-expanded=true]{margin:10px 0;transform:scale(1.5);transform-origin:left top}.mermaid svg[data-expanded=true]{max-width:none!important;max-height:none!important;width:auto!important;height:auto!important}.smart-content{line-height:1.6}.smart-content .text-content{margin:4px 0;white-space:pre-wrap;word-wrap:break-word}.streaming-cursor{display:inline-flex;align-items:center;margin-left:8px;vertical-align:middle}.streaming-cursor:after{content:"";width:12px;height:12px;border:2px solid #e6f7ff;border-top:2px solid #1890ff;border-radius:50%;animation:spin .8s linear infinite;margin-left:4px}.streaming-cursor-dots{display:inline-flex;align-items:center;margin-left:8px;gap:2px}.streaming-cursor-dots:before,.streaming-cursor-dots:after{content:""}.streaming-cursor-dots:before,.streaming-cursor-dots:after,.streaming-cursor-dots{width:4px;height:4px;background-color:#1890ff;border-radius:50%;animation:wave 1.4s infinite ease-in-out}.streaming-cursor-dots:before{animation-delay:-.32s}.streaming-cursor-dots:after{animation-delay:-.16s}.streaming-cursor-pulse{display:inline-block;width:8px;height:8px;background-color:#1890ff;border-radius:50%;margin-left:6px;animation:pulse-modern 1.5s ease-in-out infinite;vertical-align:middle}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes wave{0%,60%,to{transform:initial;opacity:1}30%{transform:translateY(-6px);opacity:.7}}@keyframes pulse-modern{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.3);opacity:.5}}.chat-message.streaming{opacity:.9}.chat-message.streaming .message-content{position:relative}.input-actions .ant-btn[danger]{border-color:#ff4d4f;color:#ff4d4f}.input-actions .ant-btn[danger]:hover{background-color:#ff4d4f;color:#fff;border-color:#ff4d4f}.reply-content{display:flex;flex-direction:column;gap:8px}.reply-content .text-content{line-height:1.6;margin:4px 0}.reply-content .text-content:empty{display:none}.reply-content pre{margin:8px 0;border-radius:6px;overflow-x:auto}.reply-content code{font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.9em}.reply-content h1,.reply-content h2,.reply-content h3,.reply-content h4,.reply-content h5,.reply-content h6{margin:16px 0 8px;color:#333}.reply-content p{margin:8px 0;line-height:1.6}.reply-content ul,.reply-content ol{margin:8px 0;padding-left:24px}.reply-content li{margin:4px 0;line-height:1.5}.reply-content blockquote{border-left:4px solid #ddd;margin:12px 0;padding:8px 16px;background-color:#f9f9f9;color:#666}.reply-content table{border-collapse:collapse;width:100%;margin:12px 0}.reply-content th,.reply-content td{border:1px solid #ddd;padding:8px 12px;text-align:left}.reply-content th{background-color:#f5f5f5;font-weight:600}.reply-content .streaming-cursor{display:inline-block;animation:blink 1s infinite;color:#1890ff;font-weight:700}.reply-content .image-content{margin:12px 0;text-align:center}.reply-content .image-content img{max-width:100%;height:auto;border-radius:8px;box-shadow:0 2px 8px #0000001a}.reply-content .mermaid-container{margin:16px 0;padding:12px;background-color:#f9f9f9;border-radius:8px;overflow:hidden}.reply-content .math-content{margin:12px 0;text-align:center}.reply-content .math-content .katex{font-size:1.1em}.reply-content .json-content{margin:8px 0}.reply-content .json-fallback{margin:8px 0;padding:12px;background-color:#f5f5f5;border-radius:6px;overflow:auto;font-size:13px;font-family:monospace}.reply-content .html-content{margin:8px 0}.reply-content .html-content *{max-width:100%;word-wrap:break-word}.reply-content ul{list-style-type:disc}.reply-content ol{list-style-type:decimal}.reply-content ul ul{list-style-type:circle}.reply-content ul ul ul{list-style-type:square}.reply-content .error-content{margin:8px 0;padding:8px;background-color:#fff2f0;border:1px solid #ffccc7;border-radius:4px;color:#f5222d;font-size:13px}.reply-content .placeholder-content{margin:8px 0;color:#999;font-style:italic;padding:8px;background-color:#fafafa;border-radius:4px;text-align:center}@media (max-width: 768px){.reply-content .table-container{overflow-x:scroll;-webkit-overflow-scrolling:touch}.reply-content .message-table{min-width:500px}.reply-content .image-content img{max-width:100%}.reply-content .mermaid-container{padding:8px}}.chat-message{display:flex;gap:12px;margin-bottom:16px;padding:12px;border-radius:8px;transition:all .2s ease;position:relative}.chat-message:hover{background-color:#fafafa}.chat-message.user{flex-direction:row-reverse;background-color:#f0f9ff}.chat-message.user:hover{background-color:#e6f7ff}.message-avatar{width:32px;height:32px;border-radius:50%;background-color:#1890ff;color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:16px}.chat-message.user .message-avatar{background-color:#52c41a}.message-content-wrapper{flex:1;min-width:0;display:flex;flex-direction:column}.message-content{flex:1;line-height:1.6;word-wrap:break-word}.message-sources{margin-top:12px;border:1px solid #e8e8e8;border-radius:6px;overflow:hidden}.sources-header{padding:8px 12px;background-color:#f5f5f5;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#666;-webkit-user-select:none;user-select:none}.sources-header:hover{background-color:#f0f0f0}.sources-content{max-height:0;overflow:hidden;transition:max-height .3s ease}.sources-content.expanded{max-height:300px;overflow-y:auto}.sources-list{margin:0;padding:8px 0;list-style:none}.source-item{padding:8px 12px;border-bottom:1px solid #f0f0f0;font-size:12px;line-height:1.4}.source-item:last-child{border-bottom:none}.source-document{font-weight:600;color:#1890ff;margin-right:8px}.source-content{color:#666}.copy-button-wrapper{display:flex;align-items:flex-start}.copy-btn{background:none;border:none;color:#666;cursor:pointer;padding:4px;border-radius:4px;transition:all .2s ease;display:flex;align-items:center;justify-content:center;width:24px;height:24px}.copy-btn:hover{color:#1890ff;background-color:#f0f9ff}.streaming-cursor{display:inline-block;width:8px;height:16px;background-color:#1890ff;margin-left:2px;animation:blink 1s infinite}@keyframes blink{0%,50%{opacity:1}51%,to{opacity:0}}.smart-content{word-wrap:break-word;white-space:pre-wrap;line-height:1.6}.smart-content pre{background-color:#1e1e1e;border-radius:6px;margin:12px 0;overflow-x:auto}.message-table{width:100%;border-collapse:collapse;margin:12px 0;font-size:14px}.message-table th,.message-table td{border:1px solid #e8e8e8;padding:8px 12px;text-align:left}.message-table th{background-color:#f5f5f5;font-weight:600}.message-table tr:nth-child(2n){background-color:#fafafa}.mermaid-container{margin:16px 0;padding:12px;background-color:#f9f9f9;border-radius:8px;overflow:auto}.mermaid{display:flex;justify-content:center;align-items:center;min-height:100px}.katex-display{margin:16px 0;text-align:center}@media (max-width: 768px){.chat-message{gap:8px;padding:8px;margin-bottom:12px}.message-avatar{width:28px;height:28px;font-size:14px}.message-content{font-size:14px}.sources-content.expanded{max-height:200px}.copy-btn{width:28px;height:28px}}@font-face{font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2) format("woff2"),url(/assets/KaTeX_AMS-Regular-DMm9YOAa.woff) format("woff"),url(/assets/KaTeX_AMS-Regular-DRggAlZN.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2) format("woff2"),url(/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff) format("woff"),url(/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2) format("woff2"),url(/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff) format("woff"),url(/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2) format("woff2"),url(/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff) format("woff"),url(/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2) format("woff2"),url(/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff) format("woff"),url(/assets/KaTeX_Fraktur-Regular-CB_wures.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Main-Bold-Cx986IdX.woff2) format("woff2"),url(/assets/KaTeX_Main-Bold-Jm3AIy58.woff) format("woff"),url(/assets/KaTeX_Main-Bold-waoOVXN0.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2) format("woff2"),url(/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff) format("woff"),url(/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2) format("woff2"),url(/assets/KaTeX_Main-Italic-BMLOBm91.woff) format("woff"),url(/assets/KaTeX_Main-Italic-3WenGoN9.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Main-Regular-B22Nviop.woff2) format("woff2"),url(/assets/KaTeX_Main-Regular-Dr94JaBh.woff) format("woff"),url(/assets/KaTeX_Main-Regular-ypZvNtVU.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2) format("woff2"),url(/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff) format("woff"),url(/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(/assets/KaTeX_Math-Italic-t53AETM-.woff2) format("woff2"),url(/assets/KaTeX_Math-Italic-DA0__PXp.woff) format("woff"),url(/assets/KaTeX_Math-Italic-flOr_0UB.ttf) format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:normal;font-weight:700;src:url(/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff) format("woff"),url(/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf) format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:italic;font-weight:400;src:url(/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff) format("woff"),url(/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf) format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:normal;font-weight:400;src:url(/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff) format("woff"),url(/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf) format("truetype")}@font-face{font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Script-Regular-D3wIWfF6.woff2) format("woff2"),url(/assets/KaTeX_Script-Regular-D5yQViql.woff) format("woff"),url(/assets/KaTeX_Script-Regular-C5JkGWo-.ttf) format("truetype")}@font-face{font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2) format("woff2"),url(/assets/KaTeX_Size1-Regular-C195tn64.woff) format("woff"),url(/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf) format("truetype")}@font-face{font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2) format("woff2"),url(/assets/KaTeX_Size2-Regular-oD1tc_U0.woff) format("woff"),url(/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf) format("truetype")}@font-face{font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(data:font/woff2;base64,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) format("woff2"),url(/assets/KaTeX_Size3-Regular-CTq5MqoE.woff) format("woff"),url(/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf) format("truetype")}@font-face{font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2) format("woff2"),url(/assets/KaTeX_Size4-Regular-BF-4gkZK.woff) format("woff"),url(/assets/KaTeX_Size4-Regular-DWFBv043.ttf) format("truetype")}@font-face{font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2) format("woff2"),url(/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff) format("woff"),url(/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf) format("truetype")}.katex{font: 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.22"}.katex .katex-mathml{clip:rect(1px,1px,1px,1px);border:0;height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:-webkit-min-content;width:-moz-min-content;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .mathsfit,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;position:relative;vertical-align:bottom}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;font-size:1px;min-width:2px;vertical-align:bottom;width:2px}.katex .vbox{align-items:baseline;display:inline-flex;flex-direction:column}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{display:inline-flex;flex-direction:row}.katex .thinbox{max-width:0;width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .clap,.katex .llap,.katex .rlap{position:relative;width:0}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.root{margin-left:.2777777778em;margin-right:-.5555555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.1666666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.3333333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.6666666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.4566666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.1466666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.7142857143em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.8571428571em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.1428571429em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.2857142857em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.4285714286em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.7142857143em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.0571428571em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.4685714286em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.9628571429em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.5542857143em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.5555555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.7777777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.8888888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.1111111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.3333333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.3044444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.7644444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.5833333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.7283333333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.0733333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.4861111111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.5555555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.4402777778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.7277777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.2893518519em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.4050925926em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.462962963em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.5208333333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.2002314815em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.4398148148em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.2410800386em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.2892960463em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.337512054em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.3857280617em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.4339440694em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.4821600771em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.5785920926em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.6943105111em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.8331726133em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.1996142719em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.2009646302em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.2411575563em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.2813504823em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.3215434084em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.3617363344em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.4019292605em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.4823151125em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.578778135em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.6945337621em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.8336012862em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.katex img{border-style:none;max-height:none;max-width:none;min-height:0;min-width:0}.katex .stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{overflow:hidden;position:relative;width:100%}.katex .halfarrow-left{left:0;overflow:hidden;position:absolute;width:50.2%}.katex .halfarrow-right{overflow:hidden;position:absolute;right:0;width:50.2%}.katex .brace-left{left:0;overflow:hidden;position:absolute;width:25.1%}.katex .brace-center{left:25%;overflow:hidden;position:absolute;width:50%}.katex .brace-right{overflow:hidden;position:absolute;right:0;width:25.1%}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{border:.04em solid;box-sizing:border-box}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{border-right:.049em solid;border-top:.049em solid;box-sizing:border-box;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;left:calc(50% + .3em);position:absolute;text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{padding-left:2em;text-align:left}body{counter-reset:katexEqnNo mmlEqnNo}.x-chat-container{display:flex;flex-direction:column;height:100vh;height:100dvh;width:100%;background-color:#f5f7f9;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;overflow:hidden;position:relative;touch-action:manipulation;-webkit-overflow-scrolling:touch}.x-chat-body{flex:1;overflow:hidden;display:flex;flex-direction:column}.x-chat-header{position:relative;height:56px;background-color:#fff;border-bottom:1px solid #f0f0f0;display:flex;flex-direction:column;z-index:10;flex-shrink:0}.x-header-content{display:flex;justify-content:space-between;align-items:center;height:100%;padding:0 16px}.x-chat-title{flex:1;display:flex;justify-content:center;align-items:center;font-weight:500;cursor:pointer}.x-title-display{display:flex;align-items:center;gap:8px;max-width:240px;overflow:hidden;text-overflow:ellipsis}.x-title-display span{font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.x-edit-icon{font-size:14px;color:#999;margin-left:4px}.x-edit-title{width:80%;max-width:280px}.x-title-input{font-size:16px;height:36px;text-align:center}.x-menu-button{width:36px;height:36px;display:flex;align-items:center;justify-content:center}.x-session-header{display:flex;align-items:center;height:100%;padding:0 16px}.x-back-button{margin-right:12px}.x-header-title{font-size:17px;font-weight:500}.x-menu-dropdown{position:absolute;top:56px;right:0;width:100%;z-index:20}.x-menu-overlay{position:fixed;top:56px;left:0;right:0;bottom:0;background-color:#0006;z-index:-1}.x-menu-items{background-color:#fff;border-bottom:1px solid #f0f0f0;box-shadow:0 4px 12px #0000001a}.x-menu-item{padding:14px 20px;font-size:16px;display:flex;align-items:center;gap:12px;cursor:pointer;transition:background-color .2s}.x-menu-item:active{background-color:#f5f5f5}.x-menu-item .anticon{font-size:18px;color:#666}.x-chat-body{flex:1;overflow:hidden;display:flex;flex-direction:column;position:relative}.x-sessions-list{flex:1;overflow-y:auto;padding:16px;-webkit-overflow-scrolling:touch}.x-sessions-items{display:flex;flex-direction:column;gap:12px}.x-session-item{background-color:#fff;border-radius:12px;padding:16px;position:relative;box-shadow:0 2px 8px #0000000d;transition:transform .15s ease}.x-session-item:active{transform:scale(.98)}.x-session-item.active{background-color:#e6f7ff;border-left:3px solid #1890ff}.x-session-content{width:100%}.x-session-info{display:flex;flex-direction:column;gap:8px;margin-bottom:8px}.x-session-name{font-size:16px;font-weight:500;display:flex;align-items:center;gap:8px;padding-right:24px}.x-session-icon{color:#1890ff}.x-session-meta{font-size:12px;color:#999}.x-session-preview{font-size:14px;color:#666;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:4px}.x-delete-button{position:absolute;top:12px;right:12px;opacity:.8}.x-empty-sessions{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 16px;gap:16px;text-align:center}.x-empty-icon{font-size:48px;color:#d9d9d9}.x-empty-text{font-size:16px;color:#999;margin:12px 0}.x-create-button{margin-top:16px}.x-messages-container{flex:1;overflow-y:auto;padding:16px;-webkit-overflow-scrolling:touch;position:relative;will-change:scroll-position;overscroll-behavior:contain;min-height:0}.x-messages-list{display:flex;flex-direction:column;gap:20px}.x-welcome{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 16px;text-align:center}.x-welcome-icon{font-size:48px;color:#1890ff;margin-bottom:16px}.x-welcome h3{font-size:20px;font-weight:500;margin-bottom:8px}.x-welcome p{font-size:16px;color:#666}.x-message{display:flex;align-items:flex-start;gap:12px;max-width:100%}.x-user{flex-direction:row-reverse}.x-message-avatar{width:36px;height:36px;border-radius:50%;background-color:#f0f0f0;display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0}.x-user .x-message-avatar{background-color:#1890ff;color:#fff}.x-assistant .x-message-avatar{background-color:#f5f5f5;color:#1890ff}.x-message-content{max-width:85%;display:flex;flex-direction:column}.x-message-bubble{padding:12px 16px;border-radius:16px;background-color:#fff;box-shadow:0 1px 2px #0000001a;position:relative;word-break:break-word;overflow-wrap:break-word}.x-user .x-message-bubble{background-color:#1890ff;color:#fff;border-bottom-right-radius:4px}.x-assistant .x-message-bubble{background-color:#fff;border-bottom-left-radius:4px}.x-message-text{font-size:15px;line-height:1.5;word-break:break-word}.x-user .x-message-text{color:#fff}.x-user .x-message-text code{background-color:#fff3;color:#fff}.x-assistant .x-message-text code{background-color:#0000000d}.x-message-text p{margin:0 0 12px}.x-message-text p:last-child{margin-bottom:0}.x-streaming{animation:pulse 2s infinite}@keyframes pulse{0%{box-shadow:0 0 #1890ff33}70%{box-shadow:0 0 0 6px #1890ff00}to{box-shadow:0 0 #1890ff00}}.x-thinking{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px;font-size:14px;color:#999}.x-loading-more{text-align:center;padding:12px;font-size:14px;color:#999;display:flex;align-items:center;justify-content:center;gap:8px}.x-chat-footer{padding:12px 16px;background-color:#fff;border-top:1px solid #f0f0f0;flex-shrink:0;position:relative;z-index:10;padding-bottom:max(12px,env(safe-area-inset-bottom))}.x-selected-file{display:flex;align-items:center;justify-content:space-between;background-color:#f5f5f5;border:1px solid #d9d9d9;border-radius:8px;padding:8px 12px;margin-bottom:8px;font-size:14px}.x-file-info{display:flex;align-items:center;gap:8px;flex:1;min-width:0}.x-file-name{font-weight:500;color:#1890ff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.x-file-size{color:#999;font-size:12px}.x-remove-file{color:#999;padding:4px}.x-input-container{display:flex;align-items:flex-end;gap:12px;min-height:44px}.x-input-wrapper{flex:1;position:relative;display:flex;align-items:flex-end}.x-input{flex:1;border-radius:20px;resize:none;box-shadow:0 1px 3px #0000001a;padding:10px 48px 10px 16px;transition:all .3s;font-size:16px!important;line-height:1.4;-webkit-appearance:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation}.x-input:focus{box-shadow:0 2px 6px #1890ff26;outline:none;border-color:#1890ff}@supports (-webkit-touch-callout: none){.x-input{font-size:16px!important;transform:translateZ(0);-webkit-transform:translateZ(0)}}.x-upload-button{position:absolute;right:8px;bottom:8px;width:32px;height:32px;border-radius:50%;padding:0;display:flex;align-items:center;justify-content:center;background-color:transparent;border:none;color:#666;-webkit-tap-highlight-color:transparent;touch-action:manipulation}.x-upload-button:hover{background-color:#f5f5f5;color:#1890ff}.x-upload-button:disabled{color:#d9d9d9;background-color:transparent}.x-send-button{width:40px;height:40px;border-radius:50%;padding:0;display:flex;align-items:center;justify-content:center;-webkit-tap-highlight-color:transparent;touch-action:manipulation}.x-chat-container.keyboard-open{height:100vh;height:100dvh;display:flex;flex-direction:column}.x-chat-container.keyboard-open .x-chat-body{flex:1;overflow:hidden;display:flex;flex-direction:column}.x-chat-container.keyboard-open .x-messages-container{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;margin-bottom:0;padding-bottom:16px}.x-chat-container.keyboard-open .x-chat-footer{flex-shrink:0;position:relative;z-index:10;background-color:#fff;border-top:1px solid #f0f0f0;box-shadow:0 -2px 8px #0000001a;transform:translateZ(0)}.x-chat-container.drag-over{background-color:#e6f7ff;border:2px dashed #1890ff}.x-chat-container.drag-over:after{content:"拖拽文件到此处上传";position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);background-color:#1890ffe6;color:#fff;padding:16px 24px;border-radius:8px;font-size:16px;font-weight:500;z-index:1000;pointer-events:none}.x-chat-container.keyboard-open .x-messages-container{padding-bottom:8px}.x-input-focused{background-color:#fff;border-top:1px solid #f0f0f0;transition:all .3s ease}@media screen and (max-width: 768px){.x-chat-container{height:100vh;height:100dvh}.x-messages-container,.x-sessions-list{-webkit-overflow-scrolling:touch;overscroll-behavior:contain}*{touch-action:manipulation}.x-input{font-size:16px!important;position:relative}}@supports (-webkit-touch-callout: none){.x-chat-container{height:-webkit-fill-available}.x-input{-webkit-appearance:none;border-radius:20px;background-clip:padding-box}}.x-copy-button-container{display:flex;justify-content:flex-start;margin-top:4px;margin-bottom:0;opacity:1;padding-left:0}.x-copy-button{background:#ffffffe6;border:1px solid #d9d9d9;padding:4px 6px;cursor:pointer;color:#666;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:all .3s ease;font-size:12px;min-width:28px;height:28px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);box-shadow:0 2px 4px #0000001a;-webkit-tap-highlight-color:transparent;touch-action:manipulation}.x-copy-button:hover:not(:disabled){background-color:#f0f0f0;color:#1890ff;border-color:#1890ff;transform:translateY(-1px);box-shadow:0 4px 8px #00000026}.x-copy-button:disabled{background-color:#e8f5e9;color:#52c41a;border-color:#52c41a;cursor:default;transform:none}.x-copy-button .anticon{font-size:12px}@keyframes copySuccess{0%{transform:scale(1)}50%{transform:scale(1.2)}to{transform:scale(1)}}.x-copy-button .anticon-check{color:#52c41a;animation:copySuccess .5s ease}html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}@-ms-viewport{width:device-width}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{padding:.2em;background-color:#feffe6}
