.ai-panel{background:#f5f7fb;border-left:none;flex-direction:column;flex-shrink:0;width:0;height:100%;transition:width .3s cubic-bezier(.4,0,.2,1);display:flex;overflow:hidden}.ai-panel.open{border-left:1px solid #dde5f2;width:400px;box-shadow:-8px 0 24px #0f172a0f}.ai-panel.open.expanded{width:700px}.ai-panel-header-actions>button.active{color:#1677ff;background:#eaf3ff;border-color:#cfe2ff}.ai-panel-header{background:#fff;border-bottom:1px solid #dde5f2;flex-shrink:0;justify-content:space-between;align-items:center;min-height:62px;padding:10px 14px;display:flex}.ai-panel-header-left{align-items:center;gap:10px;min-width:0;display:flex}.ai-panel-header-icon{color:#fff;background:#1677ff;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;font-size:16px;display:flex}.ai-panel-header-title{color:#111827;white-space:nowrap;font-size:15px;font-weight:700;line-height:20px}.ai-panel-header-subtitle{color:#8c8c8c;white-space:nowrap;text-overflow:ellipsis;font-size:12px;line-height:18px;overflow:hidden}.ai-panel-header-actions{flex-shrink:0;align-items:center;gap:6px;display:flex}.ai-panel-header-actions>button{cursor:pointer;color:#6b7280;background:0 0;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;width:30px;height:30px;font-size:14px;transition:all .2s;display:inline-flex}.ai-panel-header-actions>button:hover{color:#1677ff;background:#f0f7ff;border-color:#d6e4ff}.ai-chat-body{flex-direction:column;flex:1;gap:12px;padding:14px;display:flex;overflow-y:auto}.ai-history-panel{background:#fff;border:1px solid #dce8fb;border-radius:8px;flex-shrink:0;padding:12px;box-shadow:0 1px 2px #0f172a08}.ai-history-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.ai-history-title{color:#1f2937;font-size:14px;font-weight:600;line-height:20px}.ai-history-subtitle{color:#8c8c8c;margin-top:2px;font-size:12px;line-height:18px}.ai-history-actions{flex-shrink:0;align-items:center;gap:6px;display:flex}.ai-history-actions button{color:#1677ff;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #d6e4ff;border-radius:6px;justify-content:center;align-items:center;gap:4px;height:26px;padding:0 10px;font-size:12px;line-height:24px;display:inline-flex}.ai-history-actions button:disabled{color:#bfbfbf;cursor:not-allowed;border-color:#f0f0f0}.ai-history-list{flex-direction:column;gap:6px;margin-top:10px;display:flex}.ai-history-item{background:#f8fafc;border-radius:6px;grid-template-columns:30px minmax(0,1fr);align-items:start;gap:8px;padding:6px 8px;font-size:12px;line-height:18px;display:grid}.ai-history-item span{color:#8c8c8c}.ai-history-item p{color:#4b5563;white-space:nowrap;text-overflow:ellipsis;margin:0;overflow:hidden}.ai-history-empty{color:#8c8c8c;margin-top:10px;font-size:12px;line-height:18px}.ai-business-toolkit{background:#fff;border:1px solid #dce8fb;border-radius:8px;flex-shrink:0;padding:12px;box-shadow:0 1px 2px #0f172a08}.ai-business-toolkit-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.ai-business-toolkit-title{color:#1f2937;font-size:14px;font-weight:600;line-height:20px}.ai-business-toolkit-subtitle{color:#8c8c8c;margin-top:2px;font-size:12px;line-height:18px}.ai-business-toolkit-retry{color:#1677ff;cursor:pointer;white-space:nowrap;background:0 0;border:none;padding:0;font-size:12px;line-height:20px}.ai-business-toolkit-error{color:#cf1322;background:#fff1f0;border-radius:6px;margin-top:10px;padding:8px;font-size:12px;line-height:18px}.ai-business-toolkit-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:10px;display:grid}.ai-business-toolkit-stats span{color:#4b5563;text-align:center;white-space:nowrap;background:#f6f8fb;border:1px solid #edf2f7;border-radius:6px;min-width:0;padding:6px;font-size:12px;line-height:18px}.ai-business-toolkit-actions{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:6px;margin-top:10px;display:grid}.ai-business-toolkit-actions button{color:#1677ff;cursor:pointer;background:#fff;border:1px solid #d6e4ff;border-radius:6px;min-width:0;min-height:50px;font-size:12px;transition:border-color .2s,background .2s,box-shadow .2s,transform .2s}.ai-business-toolkit-actions .ai-tool-action{text-align:left;flex-direction:column;justify-content:center;align-items:flex-start;gap:2px;padding:7px 8px;display:flex}.ai-tool-action span{color:#1f2937;font-weight:600;line-height:16px}.ai-tool-action small{color:#8c8c8c;white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:11px;line-height:15px;overflow:hidden}.ai-tool-action-risk{background:#fff7f6!important;border-color:#ffccc7!important}.ai-tool-action-risk span{color:#cf1322}.ai-tool-action-ready{background:#f7fbff!important;border-color:#d6e4ff!important}.ai-tool-action-empty{background:#fafafa!important;border-color:#f0f0f0!important}.ai-business-toolkit-actions button:hover:not(:disabled){background:#f0f7ff;border-color:#1677ff;transform:translateY(-1px);box-shadow:0 4px 12px #1677ff1f}.ai-business-toolkit-actions button:disabled{color:#bfbfbf;cursor:not-allowed;background:#fafafa;border-color:#f0f0f0}.ai-empty-hint{text-align:center;background:#fff;border:1px dashed #dce8fb;border-radius:8px;flex-direction:column;flex:1;justify-content:center;align-items:center;min-height:180px;padding:32px 20px;display:flex}.ai-empty-icon{color:#1677ff;background:#eef5ff;border-radius:8px;justify-content:center;align-items:center;width:42px;height:42px;font-size:22px;display:flex}.ai-empty-title{color:#1f2937;margin-top:12px;font-size:14px;font-weight:600}.ai-empty-subtitle{color:#8c8c8c;margin-top:4px;font-size:12px}.ai-response-text p{margin:4px 0;line-height:1.8}.ai-msg-user{color:#fff;word-break:break-word;background:#1677ff;border-radius:10px 10px 4px;align-self:flex-end;max-width:85%;padding:10px 14px;font-size:14px;line-height:1.6;box-shadow:0 4px 12px #1677ff29}.ai-msg-bot{background:#fff;border:1px solid #edf2f7;border-radius:8px;align-self:flex-start;width:100%;max-width:95%;padding:10px 12px;box-shadow:0 1px 2px #0f172a08}.ai-thinking-toggle{cursor:pointer;color:#999;-webkit-user-select:none;user-select:none;align-items:center;gap:6px;margin-bottom:8px;font-size:13px;display:flex}.ai-thinking-toggle:hover{color:#666}.ai-thinking-toggle.no-expand{cursor:default}.ai-thinking-icon{display:inline-flex}.ai-thinking-icon.spinning{animation:2s linear infinite ai-spin}.ai-thinking-icon.done{color:#52c41a}@keyframes ai-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ai-thinking-arrow{font-size:10px;transition:transform .2s}.ai-thinking-arrow.expanded{transform:rotate(180deg)}.ai-thinking-content{color:#666;white-space:pre-wrap;word-break:break-word;background:#f8fafc;border-radius:6px;margin-bottom:12px;padding:10px 12px;font-size:13px;line-height:1.7}.ai-thinking-content p{margin:2px 0}.ai-thinking-hint{color:#999;font-style:italic}.ai-thinking-streaming{background:#f6f8fa;border-left:3px solid #1677ff;max-height:200px;overflow-y:auto}.ai-thinking-content ul{margin:4px 0;padding-left:16px}.ai-thinking-content li{margin-bottom:2px}.ai-response-section{color:#333;font-size:14px;line-height:1.8}.ai-response-section h4{color:#333;margin:12px 0 6px;font-size:14px;font-weight:600}.ai-response-metrics{margin:8px 0;font-size:14px;line-height:2}.ai-response-metrics .metric-label{color:#666}.ai-response-metrics .metric-value{color:#333;font-weight:500}.ai-chart-container{background:#f8fafc;border:1px solid #edf2f7;border-radius:8px;margin:12px 0;padding:12px}.ai-chart-title{margin-bottom:4px;font-size:14px;font-weight:600}.ai-chart-subtitle{color:#999;margin-bottom:8px;font-size:12px}.ai-suggestion{margin-top:12px;font-size:14px;line-height:1.8}.ai-suggestion-header{color:#333;align-items:center;gap:4px;margin-bottom:4px;font-weight:500;display:flex}.ai-suggestion-text{color:#555;padding-left:2px}.ai-input-area{background:#fff;border-top:1px solid #dde5f2;flex-shrink:0;padding:12px 14px}.ai-input-box{background:#f8fafc;border:1px solid #dce4ef;border-radius:8px;align-items:flex-start;gap:8px;padding:8px 12px;transition:border-color .2s,background .2s,box-shadow .2s;display:flex}.ai-input-box:focus-within{background:#fff;border-color:#1677ff;box-shadow:0 0 0 3px #1677ff14}.ai-input-box textarea{color:#333;resize:none;background:0 0;border:none;outline:none;flex:1;min-width:0;max-height:150px;font-family:inherit;font-size:14px;line-height:1.5;overflow-y:auto}.ai-input-box textarea::placeholder{color:#bbb}.ai-input-footer{justify-content:space-between;align-items:center;gap:10px;margin-top:8px;display:flex}.ai-input-left-actions{flex:1;align-items:center;gap:8px;min-width:0;display:flex}.ai-deep-think{color:#6b7280;cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap;border:1px solid #0000;border-radius:6px;align-items:center;gap:4px;padding:5px 8px;font-size:12px;transition:all .2s;display:flex}.ai-deep-think:hover{background:#f3f7ff;border-color:#d6e4ff}.ai-deep-think.active{color:#1677ff;background:#e6f4ff;border-color:#cfe2ff}.ai-model-select{color:#666;background:#f8fafc;border:1px solid #dce4ef;border-radius:6px;outline:none;min-width:0;max-width:160px;height:30px;padding:0 26px 0 8px;font-size:12px;line-height:30px}.ai-panel.expanded .ai-model-select{max-width:260px}.ai-model-select:focus{border-color:#1677ff}.ai-model-select:disabled{color:#bbb;cursor:not-allowed;background:#f5f5f5}.ai-input-right-actions{align-items:center;gap:10px;display:flex}.ai-attach-btn{cursor:pointer;color:#999;align-items:center;font-size:16px;transition:color .2s;display:flex}.ai-attach-btn:hover{color:#1677ff}.ai-send-btn{cursor:pointer;background:#1677ff;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;transition:background .2s;display:flex}.ai-send-btn:hover{background:#4096ff}.ai-send-btn:disabled{cursor:not-allowed;background:#d9d9d9}.ai-send-btn svg{color:#fff;font-size:14px}.ai-typing-indicator{gap:4px;padding:8px 0;display:flex}.ai-typing-dot{background:#999;border-radius:50%;width:6px;height:6px;animation:1.4s infinite ai-typing}.ai-typing-dot:nth-child(2){animation-delay:.2s}.ai-typing-dot:nth-child(3){animation-delay:.4s}@keyframes ai-typing{0%,60%,to{opacity:.3;transform:scale(.8)}30%{opacity:1;transform:scale(1)}}.ai-cursor{vertical-align:text-bottom;background:#333;width:2px;height:14px;margin-left:2px;animation:1s step-end infinite ai-blink;display:inline-block}@keyframes ai-blink{0%,to{opacity:1}50%{opacity:0}}.ai-streaming-thinking .ai-cursor{background:#999}@media (width<=768px){.ai-panel{z-index:1100;width:0;height:100vh;transition:width .25s cubic-bezier(.4,0,.2,1);position:fixed;top:0;bottom:0;right:0}.ai-panel.open{border-left:none;width:100vw}.ai-panel.open.expanded{width:100vw}}.desktop-layout{display:flex}.mobile-tabbar,.mobile-header{display:none}.layout-sider.ant-layout-sider{background:#f8fafd;border-right:1px solid #ededed;flex-shrink:0;height:100vh;overflow:hidden}.layout-sider .ant-layout-sider-children{flex-direction:column;height:100%;display:flex}.layout-brand{flex:0 0 56px;height:56px;padding:0 8px}.layout-brand-inner{border-bottom:1px solid #ededed;align-items:center;gap:8px;height:56px;padding:12px 8px;display:flex}.layout-brand.collapsed .layout-brand-inner{justify-content:center;padding-left:0;padding-right:0}.layout-brand-logo-frame{border-radius:5px;flex:0 0 28px;width:28px;height:28px;display:inline-block;position:relative;overflow:hidden}.layout-brand-logo{width:44px;max-width:none;height:44px;display:block;position:absolute;top:0;left:-8px}.layout-brand-name.ant-typography{color:#09090b;white-space:nowrap;margin:0;font-size:16px;font-weight:500;line-height:22px}.layout-sider-scroll{scrollbar-color:#d8dde6 transparent;scrollbar-width:thin;flex:1;min-height:0;overflow:hidden auto}.layout-sider-scroll::-webkit-scrollbar{width:4px}.layout-sider-scroll::-webkit-scrollbar-thumb{background:#d8dde6;border-radius:2px}.layout-menu.ant-menu{color:#666;background:0 0;border-inline-end:0;padding:8px;font-size:14px}.layout-menu.ant-menu-inline .ant-menu-item,.layout-menu.ant-menu-inline .ant-menu-submenu-title{border-radius:6px;align-items:center;width:100%;height:40px;margin:0;line-height:20px;display:flex;padding-left:16px!important;padding-right:16px!important}.layout-menu.ant-menu-inline>.ant-menu-item:first-child{border-radius:8px;margin:4px 0 13px;box-shadow:0 9px 0 -8px #ededed}.layout-menu .ant-menu-item:after{display:none}.layout-menu .ant-menu-item-group{border-bottom:1px solid #ededed;padding:4px 0}.layout-menu .ant-menu-item-group:last-child{border-bottom:0}.layout-menu .ant-menu-item-group-title{color:#999;align-items:center;height:32px;padding:0 8px;font-size:12px;line-height:18px;display:flex}.layout-menu .ant-menu-item .ant-menu-item-icon,.layout-menu .ant-menu-submenu-title .ant-menu-item-icon{color:#666;flex:0 0 16px;min-width:16px;font-size:16px;line-height:1}.layout-menu .ant-menu-item .ant-menu-item-icon+.ant-menu-title-content,.layout-menu .ant-menu-submenu-title .ant-menu-item-icon+.ant-menu-title-content{margin-inline-start:16px}.layout-menu .ant-menu-title-content{min-width:0}.layout-menu.ant-menu-light .ant-menu-item,.layout-menu.ant-menu-light .ant-menu-submenu-title{color:#666}.layout-menu.ant-menu-light .ant-menu-item:hover,.layout-menu.ant-menu-light .ant-menu-submenu-title:hover{color:#09090b;background:#f0f3f8}.layout-menu.ant-menu-light .ant-menu-item-selected{color:#09090b;background:#e6eaf2;font-weight:500}.layout-menu.ant-menu-light .ant-menu-item-selected .ant-menu-item-icon{color:#09090b}.layout-menu.ant-menu-inline .ant-menu-sub.ant-menu-inline{background:0 0}.layout-menu.ant-menu-inline .ant-menu-sub .ant-menu-item{border-radius:8px;padding-left:48px!important;padding-right:16px!important}.layout-menu .ant-menu-submenu-arrow{color:#a8adb5;font-size:10px}.layout-menu.ant-menu-inline-collapsed{width:64px;padding-left:8px;padding-right:8px}.layout-menu.ant-menu-inline-collapsed .ant-menu-item-group-title{display:none}.layout-menu.ant-menu-inline-collapsed .ant-menu-item-group{padding:4px 0}.layout-menu.ant-menu-inline-collapsed>.ant-menu-item,.layout-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item,.layout-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title{padding-left:calc(50% - 8px)!important;padding-right:calc(50% - 8px)!important}.layout-collapse-trigger{color:#4b5563;cursor:pointer;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;margin-right:12px;font-size:18px;display:inline-flex}.layout-collapse-trigger:hover{color:#1677ff}.layout-global-search.ant-input-affix-wrapper{box-shadow:none;background:#f6f8fb;border:1px solid #e4e9f0;border-radius:8px;flex:0 0 220px;height:32px;padding-inline:10px;transition:background .18s,border-color .18s,box-shadow .18s,flex-basis .18s}.layout-global-search.ant-input-affix-wrapper .ant-input-prefix{color:#8b95a7;margin-inline-end:7px}.layout-global-search.ant-input-affix-wrapper .ant-input{color:#27364b;background:0 0;font-size:13px}.layout-global-search.ant-input-affix-wrapper .ant-input::placeholder{color:#9aa4b2}.layout-global-search.ant-input-affix-wrapper:hover{background:#fff;border-color:#cbd7e6}.layout-global-search.ant-input-affix-wrapper:focus-within{background:#fff;border-color:#5b9cf6;flex-basis:260px;box-shadow:0 0 0 3px #1677ff1f}@media (width<=1180px){.layout-global-search.ant-input-affix-wrapper{flex-basis:168px}.layout-global-search.ant-input-affix-wrapper:focus-within{flex-basis:208px}}.workbench-tabs{scrollbar-width:none;flex:1;align-items:flex-end;gap:6px;min-width:0;padding:7px 2px 0;display:flex;overflow:auto hidden}.workbench-tabs::-webkit-scrollbar{display:none}.workbench-tab{color:#6b7280;cursor:pointer;background:#f7f8fa;border:1px solid #edf0f3;border-bottom-color:#e6e9ee;border-radius:8px 8px 0 0;flex:none;align-items:center;gap:7px;min-width:96px;max-width:172px;height:34px;padding:0 10px 0 12px;font-family:inherit;font-size:13px;font-weight:400;line-height:1;transition:background .18s,border-color .18s,box-shadow .18s,color .18s,transform .18s;display:inline-flex;position:relative}.workbench-tab:hover{color:#374151;background:#fff;border-color:#dbe3ec}.workbench-tab.active{color:#1f2937;z-index:1;background:#fff;border-color:#dbe6f2 #dbe6f2 #fff;font-weight:500;transform:translateY(-2px);box-shadow:0 -1px #1677ff2e,0 8px 18px #0f172a14}.workbench-tab-icon{color:#a0a7b2;flex-shrink:0;font-size:13px;display:inline-flex}.workbench-tab.active .workbench-tab-icon{color:#1677ff}.workbench-tab-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.workbench-tab-close{color:#a0a7b2;opacity:.75;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;width:16px;height:16px;margin-left:2px;font-size:10px;display:inline-flex}.workbench-tab-close:hover{color:#4b5563;opacity:1;background:#eef2f7}@media (width<=768px){.layout-sider,.layout-header{display:none!important}.layout-content{margin:0!important}.desktop-layout{min-width:auto!important}.mobile-tabbar{height:calc(65px + env(safe-area-inset-bottom,0));z-index:1000;padding:0 16px env(safe-area-inset-bottom,0);background:#fff;border-top:1px solid #f0f0f0;justify-content:space-around;align-items:center;display:flex;position:fixed;bottom:0;left:0;right:0}.mobile-tab-item{appearance:none;cursor:pointer;width:62px;min-height:50px;color:inherit;font:inherit;-webkit-tap-highlight-color:transparent;touch-action:manipulation;background:0 0;border:0;border-radius:8px;flex-direction:column;align-items:center;gap:2px;padding:6px 16px;text-decoration:none;display:flex}.mobile-tab-item:active{transform:translateY(1px)}.mobile-tab-item:focus-visible{outline-offset:1px;outline:2px solid #188ffd}.mobile-tab-icon{color:#999;font-size:26px;line-height:1}.mobile-tab-label{color:#999;white-space:nowrap;font-size:10px;line-height:14px}.mobile-tab-item.active{background:#e6eaf2}.mobile-tab-item.active .mobile-tab-icon,.mobile-tab-item.active .mobile-tab-label{color:#09090b}}*{box-sizing:border-box;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f5f7fa;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}@media (width<=768px){body{overflow-x:hidden}}::-webkit-scrollbar{width:5px;height:5px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:#0000001f;border-radius:4px;transition:background .2s}::-webkit-scrollbar-thumb:hover{background:#00000040}::-webkit-scrollbar-corner{background:0 0}*{scrollbar-width:thin;scrollbar-color:#0000001f transparent}.ant-card{transition:box-shadow .3s,transform .2s}.ant-card:hover{box-shadow:0 4px 16px #00000014}.ant-menu-item-selected{font-weight:500}
