.conversations-wechat-container{display:flex;height:calc(100vh - 96px);background:#f0f2f5;overflow:hidden;font-size:12px}.conversations-sidebar{width:260px;display:flex;flex-direction:column;background:#fff;border-right:1px solid #e8e8e8;box-shadow:1px 0 4px #0000000f}.sidebar-header{padding:8px 12px;background:linear-gradient(180deg,#1a3a52,#0d2137);color:#fff;border-bottom:none}.sidebar-header h3{margin:0!important;font-size:13px!important;font-weight:600!important;color:#fff!important}.sidebar-search{padding:6px 10px;background:#fff;border-bottom:1px solid #e8e8e8}.sidebar-search .ant-input-affix-wrapper{border-radius:4px;background:#f5f5f5;border-color:#e8e8e8;font-size:12px}.sidebar-search .ant-input{font-size:12px}.conversations-list{flex:1;overflow-y:auto;background:#fafafa}.conversation-group-title{padding:6px 10px;background:#eef1f6;font-weight:600;font-size:12px;color:#1a3a52;cursor:pointer;border-bottom:1px solid #e8e8e8;-webkit-user-select:none;user-select:none}.conversation-group-title:hover{background:#e2e6ed}.conversation-item{display:flex;padding:6px 10px;cursor:pointer;border-bottom:1px solid #f0f0f0;background:#fff;transition:background-color .15s;align-items:center}.conversation-item:hover{background:#f5f7fa}.conversation-item.active{background:#e6f4ff;border-left:3px solid #1890ff;margin-left:0;padding-left:7px}.conversation-content{flex:1;margin-left:8px;min-width:0;display:flex;flex-direction:column;justify-content:center}.conversation-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1px}.conversation-title{font-size:12px;font-weight:500;color:#262626;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.conversation-time{font-size:11px;color:#8c8c8c;margin-left:6px;flex-shrink:0}.conversation-footer{display:flex;justify-content:space-between;align-items:center;margin-top:2px}.conversation-preview{font-size:11px;color:#8c8c8c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.conversations-main{flex:1;display:flex;flex-direction:column;background:#fff;min-height:0;overflow:hidden}.empty-chat{flex:1;display:flex;align-items:center;justify-content:center;background:#fafafa}.customer-panel{width:240px;background:#fff;border-left:1px solid #e8e8e8;overflow-y:auto;box-shadow:-1px 0 4px #0000000f;font-size:12px}.customer-panel-header{padding:8px 12px;border-bottom:1px solid #e8e8e8;font-size:12px;font-weight:600;color:#262626}.customer-panel-avatar-wrap{padding:10px 12px;text-align:center;border-bottom:1px solid #f0f0f0}.customer-panel-avatar-wrap .ant-avatar{border:2px solid #e8e8e8}.customer-panel-name{margin-top:6px;font-size:12px;font-weight:600;color:#262626}.customer-panel-section{padding:8px 12px;border-bottom:1px solid #f0f0f0}.customer-panel-section-title{font-size:12px;font-weight:600;color:#262626;margin-bottom:6px;padding-bottom:4px}.customer-panel-row{font-size:11px;color:#595959;line-height:1.6}.customer-panel-row .label{color:#8c8c8c;margin-right:4px}.remark-detail-label{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#8c8c8c;margin-bottom:4px}.remark-detail-label .char-count{font-size:10px;color:#bfbfbf}.customer-panel .ant-input,.customer-panel .ant-input-textarea{border-radius:4px;font-size:12px}.customer-panel .ant-input-textarea{min-height:60px}.customer-panel .ant-btn-primary{border-radius:4px;margin-top:6px;font-size:12px}.customer-panel-buttons{padding:8px 12px;border-top:1px solid #f0f0f0;display:flex;flex-wrap:wrap;gap:6px}.customer-panel-buttons .ant-btn{font-size:12px;border-radius:4px}.conversations-sidebar .ant-tabs-small .ant-tabs-tab{font-size:12px;padding:4px 0}.conversations-wechat-container .ant-tag{font-size:10px;line-height:1.4;margin:0}.conversations-wechat-container{background:#f4f6f8}.conversations-sidebar{width:304px;background:#f8fafc;border-right:1px solid #e3e8ef;box-shadow:1px 0 10px #0f172a0d}.channel-filter-rail{width:104px;flex:0 0 104px;background:linear-gradient(180deg,#f8fbff,#eef4fb);border-right:1px solid #dde6f0;display:flex;flex-direction:column;min-height:0}.channel-filter-title{height:36px;padding:11px 12px 0;color:#64748b;font-size:12px;font-weight:700}.channel-filter-list{flex:1;min-height:0;overflow-y:auto;padding:4px 10px 12px}.channel-filter-item{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;min-height:72px;border:1px solid transparent;border-radius:12px;background:transparent;color:#475569;cursor:pointer;display:grid;grid-template-rows:36px 18px 16px;justify-items:center;align-items:center;gap:3px;padding:8px 5px 7px;margin-bottom:8px;transition:background-color .15s,border-color .15s,color .15s,box-shadow .15s,transform .15s}.channel-filter-item:hover{background:#fff;color:#1d4ed8;box-shadow:0 8px 20px #0f172a14;transform:translateY(-1px)}.channel-filter-item.active{background:#fff;border-color:#93c5fd;color:#0f172a;box-shadow:0 10px 24px #2563eb24,inset 0 0 0 1px #2563eb14}.channel-filter-icon{width:34px;height:34px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;background:#e2e8f0;color:#334155;font-size:17px;font-weight:700;overflow:hidden;box-shadow:inset 0 1px #ffffff59,0 6px 12px #0f172a1f}.channel-filter-icon.image{width:34px;height:34px;object-fit:cover;background:#fff;border:1px solid #e2e8f0}.channel-filter-icon.all{background:linear-gradient(135deg,#2563eb,#60a5fa);color:#fff}.channel-filter-icon.color-blue,.channel-filter-icon.color-geekblue{background:#dbeafe;color:#1d4ed8}.channel-filter-icon.color-green,.channel-filter-icon.color-lime{background:#dcfce7;color:#15803d}.channel-filter-icon.color-purple{background:#f3e8ff;color:#7e22ce}.channel-filter-icon.color-orange,.channel-filter-icon.color-gold{background:#ffedd5;color:#c2410c}.channel-filter-icon.color-cyan{background:#cffafe;color:#0e7490}.channel-filter-icon.color-red{background:#fee2e2;color:#b91c1c}.channel-filter-name{max-width:82px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:600;line-height:18px}.channel-filter-count{min-width:20px;height:16px;padding:0 6px;border-radius:999px;background:#f8fafc;color:#64748b;font-size:10px;line-height:16px;box-shadow:0 0 0 1px #94a3b840}.channel-filter-item.active .channel-filter-count{background:#eff6ff;color:#1d4ed8;box-shadow:0 0 0 1px #2563eb38}.sidebar-header{padding:10px 12px 0;background:#fff;color:#1f2937;border-bottom:1px solid #e8edf3}.sidebar-agent{display:grid;grid-template-columns:34px minmax(0,1fr) 26px 26px;align-items:center;gap:8px}.sidebar-agent-avatar{background:#1677ff;box-shadow:0 0 0 2px #e8f3ff}.sidebar-agent-main{min-width:0}.sidebar-agent-name{color:#1f2937;font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-agent-status{display:inline-flex;align-items:center;gap:4px;margin-top:2px;color:#16a34a;font-size:11px}.sidebar-agent-status.failed{color:#dc2626}.sidebar-agent-status.pending{color:#d97706}.sidebar-header .ant-btn{color:#64748b}.workbench-tabs{display:flex;gap:18px;margin-top:12px;height:34px;align-items:flex-end;overflow:hidden}.workbench-tabs button{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:transparent;color:#64748b;cursor:pointer;font-size:13px;height:34px;padding:0;position:relative;white-space:nowrap}.workbench-tabs button.active{color:#111827;font-weight:700}.workbench-tabs button.active:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:#1677ff;border-radius:2px}.sidebar-search{padding:10px 12px;background:#fff;border-bottom:1px solid #e8edf3}.sidebar-search .ant-input-affix-wrapper{border-radius:3px;background:#f8fafc;border-color:#dbe3ec}.conversations-list{background:#f8fafc}.conversation-group-title{padding:8px 12px;background:#f1f5f9;color:#475569;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;gap:6px}.conversation-group-title:hover{background:#e8eef6}.conversation-item{min-height:64px;padding:8px 10px;border-bottom:1px solid #edf1f5;transition:background-color .15s,box-shadow .15s}.conversation-item:hover{background:#f8fbff}.conversation-item.active{background:#e8f2ff;box-shadow:inset 0 0 0 1px #1890ff14}.conversation-item.has-unread{background:#fff7f7;box-shadow:inset 3px 0 #ff4d4f}.conversation-item.has-unread.active{background:#ffecec}.workbench-attention-alert{margin:0 10px 8px;padding:7px 9px;border:1px solid #ffccc7;background:#fff1f0;border-radius:6px;color:#cf1322;font-size:12px;font-weight:600;display:flex;align-items:center;gap:6px}.workbench-attention-alert b,.workbench-attention-alert em,.group-count-badge{border-radius:999px;padding:1px 7px;line-height:18px;font-style:normal}.workbench-attention-alert b{color:#fff;background:#ff4d4f}.workbench-attention-alert em{background:#fff;border:1px solid #ffa39e}.attention-dot{width:7px;height:7px;border-radius:999px;background:#ff4d4f;box-shadow:0 0 0 4px #ff4d4f1f}.group-count-badge{font-size:11px;font-weight:700}.group-count-badge.danger,.group-count-badge.unread{color:#fff;background:#ff4d4f}.group-count-badge.neutral{color:#475569;background:#e2e8f0}.conversation-title{font-size:13px;font-weight:600;color:#1f2937}.conversation-time{color:#94a3b8}.conversation-preview{font-size:12px;color:#64748b}.conversations-main{background:#f7f8fa}.empty-chat{background:radial-gradient(circle at center,#fff,#f7f9fc 64%,#f2f5f8)}.empty-chat-card{text-align:center;color:#64748b;transform:translateY(-18px)}.empty-chat-logo{width:96px;height:96px;margin:0 auto 18px;border-radius:24px;display:flex;align-items:center;justify-content:center;color:#9db7d9;font-size:44px;background:linear-gradient(145deg,#eff6ff,#fff);box-shadow:0 18px 36px #1e40af14}.empty-chat-card h3{margin:0 0 8px;color:#1f2937;font-size:18px;font-weight:700}.empty-chat-card p{margin:0;font-size:13px;color:#94a3b8}.sidebar-footer-groups{background:#eef4fb;border-top:1px solid #dbe5ef;padding:4px 0}.sidebar-footer-row{display:flex;align-items:center;justify-content:space-between;height:32px;padding:0 14px;color:#475569;cursor:pointer;font-size:12px}.sidebar-footer-row:hover{background:#e3edf8}.sidebar-footer-row strong{min-width:20px;height:18px;padding:0 6px;border-radius:10px;background:#fff;color:#475569;text-align:center;line-height:18px;font-size:11px}.visitor-chat-container{display:flex;flex-direction:column;height:100vh;background:#f5f5f5}.chat-header{background:#fff;padding:16px;border-bottom:1px solid #e8e8e8;box-shadow:0 2px 8px #0000001a}.header-info{display:flex;align-items:center;gap:12px}.header-text{flex:1}.header-title{font-size:16px;font-weight:600;color:#333}.header-status{font-size:12px;color:#999;margin-top:4px}.chat-messages{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:16px}.load-earlier-row{align-self:center;margin:-4px 0 0}.empty-message{display:flex;align-items:center;justify-content:center;height:100%;color:#999;font-size:14px}.guide-message-actions{display:flex;flex-direction:column;gap:0;margin-top:0;min-width:min(520px,calc(100vw - 96px))}.guide-message-item{max-width:min(620px,92%)}.guide-message-item .message-bubble{border-radius:8px;padding:18px;box-shadow:0 10px 24px #1677ff14}.guide-message-head{display:flex;align-items:center;justify-content:space-between;color:#1677ff;font-size:15px;font-weight:600;margin-bottom:8px}.guide-refresh-btn{border:none;background:transparent;color:#595959;cursor:pointer;display:inline-flex;align-items:center;gap:6px;font-size:13px}.guide-message-action{border:none;border-top:1px solid #f0f0f0;background:transparent;border-radius:0;padding:12px 0;font-size:15px;line-height:22px;text-align:left;cursor:pointer;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.guide-message-action:hover:not(:disabled){color:#1677ff}.guide-message-action:disabled{cursor:not-allowed;opacity:.6}.message-item{display:flex;align-items:flex-start;gap:8px;max-width:70%}.message-right{align-self:flex-end;flex-direction:row-reverse}.message-left{align-self:flex-start}.message-bubble{background:#fff;padding:12px 16px;border-radius:12px;box-shadow:0 2px 4px #0000001a}.message-right .message-bubble{background:#1890ff;color:#fff}.message-content{font-size:14px;line-height:1.5;word-wrap:break-word;white-space:pre-wrap}.message-time{font-size:11px;color:#999;margin-top:4px}.message-right .message-time{color:#ffffffb3}.prompt-result-card{min-width:min(620px,calc(100vw - 112px))}.prompt-result-title{font-weight:600;margin-bottom:10px;color:#262626}.prompt-result-table-wrap{overflow-x:auto;border:1px solid #f0f0f0;border-radius:6px}.prompt-result-table{width:100%;min-width:520px;border-collapse:collapse;background:#fff}.prompt-result-table th,.prompt-result-table td{padding:10px 12px;border-bottom:1px solid #f0f0f0;text-align:left;white-space:nowrap;font-size:13px}.prompt-result-table th{background:#fafafa;color:#595959;font-weight:600}.prompt-result-table tr:last-child td{border-bottom:none}.prompt-result-image{width:44px;height:44px;object-fit:cover;border-radius:4px}.agent-thinking .message-bubble-thinking{background:#f0f0f0;color:#666}.agent-thinking .message-bubble-thinking .anticon{color:#1890ff}.typing-indicator{display:inline-flex;align-items:center;gap:8px}.typing-indicator .anticon{display:none}.typing-indicator:before{content:"";width:14px;height:14px;border:2px solid #d9d9d9;border-top-color:#1890ff;border-radius:50%;animation:typingSpin .8s linear infinite}.typing-indicator>span{font-size:0}.typing-indicator>span:after{content:"AI思考中";font-size:14px}.typing-indicator:after{content:"";width:22px;height:4px;display:inline-block;background:radial-gradient(circle,#999 2px,transparent 3px) 0 0 / 8px 4px,radial-gradient(circle,#999 2px,transparent 3px) 8px 0 / 8px 4px,radial-gradient(circle,#999 2px,transparent 3px) 16px 0 / 8px 4px;animation:typingBlink 1.2s infinite ease-in-out}@keyframes typingBlink{0%,to{opacity:.35}50%{opacity:1}}@keyframes typingSpin{to{transform:rotate(360deg)}}.chat-input-area{background:#fff;padding:12px;border-top:1px solid #e8e8e8;display:flex;flex-direction:column;gap:8px}.quick-query-panel{display:flex;flex-direction:row;align-items:center;gap:8px;padding-bottom:2px}.quick-query-title{font-size:12px;line-height:18px;color:#6b7280;flex:0 0 auto}.quick-query-dropdown{width:150px;height:28px;border-radius:6px;border-color:#d7e7ff;background:#f7fbff;color:#1769d8;display:inline-flex;align-items:center;justify-content:center;gap:4px}.quick-query-dropdown:hover,.quick-query-dropdown:focus{border-color:#1677ff;color:#0958d9;background:#edf6ff}.input-toolbar{display:flex;flex-direction:row;align-items:center;gap:4px}.chat-input-row{display:flex;flex-direction:row;align-items:flex-end;gap:8px}.toolbar-btn{border:none;padding:4px}.chat-input{flex:1;border-radius:8px}.send-btn{height:auto;border-radius:8px}.chat-image-link{display:block;width:min(280px,70vw);border-radius:8px;overflow:hidden;background:#f5f7fb}.chat-image-message{display:block;width:100%;height:260px;object-fit:cover;object-position:top center}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}@media (max-width: 768px){.message-item{max-width:85%}.quick-query-dropdown{width:136px}.visitor-chat-container{height:100vh;height:100dvh}}.menu-management-tree .ant-tree-treenode{align-items:center;padding:0 0 2px}.menu-management-tree .ant-tree-node-content-wrapper{min-height:32px;padding:2px 8px;line-height:18px}.menu-management-tree .ant-tree-switcher{width:18px;line-height:32px}.menu-management-tree .ant-tree-indent-unit{width:18px}.menu-management-tree .ant-tree-list-holder-inner{gap:1px}.menu-management-tree .ant-tree-list-scrollbar{width:12px!important}.menu-management-tree .ant-tree-list-scrollbar-thumb{background:#94a3b8!important;border-radius:8px!important}.menu-management-tree .ant-tree-list-holder{padding-right:12px}.workgroup-member-drawer .ant-drawer-body{padding:0;overflow:hidden}.workgroup-member-drawer__intro{padding:14px 18px 12px;border-bottom:1px solid #edf0f5;background:#fff}.workgroup-member-drawer__summary{display:flex;align-items:center;gap:8px;margin-top:10px;color:#667085;font-size:12px}.workgroup-member-picker{display:grid;grid-template-columns:minmax(210px,.8fr) minmax(320px,1.25fr) minmax(300px,1fr);height:calc(100vh - 132px);min-height:520px;background:#f5f7fa}.workgroup-member-picker__pane{min-width:0;display:flex;flex-direction:column;background:#fff;border-right:1px solid #edf0f5}.workgroup-member-picker__pane:last-child{border-right:0}.workgroup-member-picker__header{min-height:58px;padding:10px 14px;border-bottom:1px solid #edf0f5}.workgroup-member-picker__title-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.workgroup-member-picker__title{color:#1d2939;font-size:14px;font-weight:600}.workgroup-member-picker__count{color:#1677ff;font-size:12px}.workgroup-member-picker__body{min-height:0;flex:1;overflow-y:auto;padding:8px}.workgroup-member-picker__org-row,.workgroup-member-picker__person-row{display:flex;align-items:center;gap:9px;min-height:46px;padding:7px 9px;border-radius:6px;cursor:pointer}.workgroup-member-picker__org-row:hover,.workgroup-member-picker__person-row:hover{background:#f5f8ff}.workgroup-member-picker__org-row.is-active{color:#0958d9;background:#e6f4ff}.workgroup-member-picker__person-row{cursor:default;border-bottom:1px solid #f2f4f7;border-radius:0}.workgroup-member-picker__person-row:last-child{border-bottom:0}.workgroup-member-picker__person-info{min-width:0;flex:1}.workgroup-member-picker__person-name{overflow:hidden;color:#1d2939;font-size:13px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.workgroup-member-picker__person-meta{overflow:hidden;margin-top:2px;color:#98a2b3;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.workgroup-member-picker__toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 12px;border-top:1px solid #edf0f5;background:#fff}.workgroup-member-picker__empty{padding:48px 12px}@media (max-width: 980px){.workgroup-member-picker{grid-template-columns:190px minmax(280px,1fr)}.workgroup-member-picker__pane:last-child{grid-column:1 / -1;max-height:280px;border-top:1px solid #edf0f5}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f3f6fa;color:#172033}#root{width:100%;height:100vh}h1,h2,h3,h4{letter-spacing:0}.ant-layout-content{padding:16px 20px!important}.ant-layout-content>div[style*="padding: 24"],.ant-layout-content>div[style*="padding: '24"],.ant-layout-content>div[style*="padding: 24px 32px"]{padding:14px 18px!important}.ant-layout-header{height:52px!important;line-height:52px!important}.ant-layout-header h1{font-size:18px!important}.ant-layout-content>h1,.ant-layout-content>h2,.ant-layout-content>h3{margin:0 0 4px!important;color:#172033;font-weight:700}.ant-layout-content>p{margin-bottom:10px!important;color:#60708a}.ant-space{gap:8px!important}.ant-row{row-gap:10px!important}.ant-card{border:1px solid #e7edf5;box-shadow:none}.ant-card-head{min-height:38px!important;padding:0 14px!important;border-bottom-color:#edf1f7!important}.ant-card-head-title{padding:8px 0!important;font-size:14px;font-weight:650}.ant-card-body{padding:12px 14px!important}.ant-statistic-title{margin-bottom:4px!important;color:#69788d!important;font-size:12px!important}.ant-statistic-content{font-size:22px!important;line-height:1.25!important}.ant-table-wrapper{background:#fff;border-radius:8px;overflow:hidden}.ant-table{font-size:13px}.ant-table-container{border-start-start-radius:8px!important;border-start-end-radius:8px!important}.ant-table-thead>tr>th{height:38px;padding-top:8px!important;padding-bottom:8px!important;font-weight:650!important;white-space:nowrap}.ant-table-tbody>tr>td{padding-top:7px!important;padding-bottom:7px!important;vertical-align:middle}.ant-table-cell{max-width:420px}.ant-table-cell .ant-typography,.ant-table-cell p{margin-bottom:0!important}.ant-table-cell small,.ant-table-cell .ant-typography-secondary{color:#7a8799!important}.ant-table-tbody>tr>td .ant-space{row-gap:4px!important}.ant-table-cell .ant-btn-link{padding-inline:3px;height:24px}.ant-table-cell .ant-btn:not(.ant-btn-icon-only){padding-inline:8px}.ant-pagination{margin:10px 0 0!important}.ant-empty{margin:30px 0!important}.ant-form-inline{row-gap:8px}.ant-form-inline .ant-form-item{margin-right:10px;margin-bottom:8px}.ant-form-item{margin-bottom:10px}.ant-input,.ant-input-number,.ant-select-selector,.ant-picker,.ant-btn{border-radius:6px!important}.ant-input,.ant-select-selector,.ant-picker{border-color:#d8e0eb!important}.ant-tag{margin-inline-end:4px;line-height:20px;padding-inline:6px}.ant-descriptions .ant-descriptions-item-label,.ant-descriptions .ant-descriptions-item-content{padding:8px 10px!important}.ant-modal .ant-modal-content{border-radius:10px}.ant-modal .ant-modal-header{margin-bottom:12px}.ant-drawer .ant-drawer-body{padding:14px}.ant-list-item{padding:9px 12px!important}.ant-tabs-top>.ant-tabs-nav{margin-bottom:10px!important}.ant-tabs-tab{padding:8px 0!important}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background:#c8d2e1;border-radius:999px}::-webkit-scrollbar-track{background:transparent}
