:root{color:#17211d;font-variant-numeric:tabular-nums;background:#f4f6fa;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}html,body,#root{min-height:100%;margin:0}body{background:#f4f6fa;min-width:1180px}*{box-sizing:border-box}.broker-shell{min-height:100vh}.broker-left-sider{height:100vh;position:sticky;top:0}.broker-left-sider .ant-layout-sider-children{flex-direction:column;height:100vh;padding:16px 12px;display:flex}.broker-brand{margin-bottom:16px;padding:0 12px}.broker-brand img{width:128px;height:auto;display:block}.broker-brand .ant-typography{margin-bottom:0}.broker-left-sider .ant-menu-root,.broker-left-sider .ant-menu-light.ant-menu-root.ant-menu-inline{flex:1;box-shadow:none!important;border-inline-end:0!important}.broker-header{background:#fff;border-bottom:1px solid #eef0f4;justify-content:space-between;align-items:center;height:64px;padding:0 24px;display:flex}.broker-header .ant-typography{margin-bottom:0}.broker-content{min-height:calc(100vh - 64px);padding:24px;overflow-y:auto}.broker-page,.broker-full{width:100%}.broker-upload-status-row{background:#fbfcfe;border:1px solid #eef0f4;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:42px;padding:8px 10px;display:flex}.broker-upload-status-row .ant-space{min-width:0}.broker-upload-status-row .ant-typography{max-width:360px}.broker-toolbar{width:100%}.broker-toolbar .ant-input-search{max-width:420px}.broker-sub-page-header .ant-typography{margin-bottom:0}.broker-back-button{height:24px;padding-inline:0}.broker-filter-select{width:180px}.broker-task-status-filter{background:#f7f9fc;border:1px solid #eef0f4;border-radius:8px;flex-wrap:wrap;align-items:center;gap:4px;width:fit-content;max-width:100%;margin-bottom:16px;padding:4px;display:flex}.broker-task-status-filter-tag.ant-tag-checkable{color:#4b5563;text-align:center;border-radius:6px;min-width:72px;margin:0;padding:5px 12px;font-size:14px;line-height:20px;transition:all .16s}.broker-task-status-filter-tag.ant-tag-checkable:hover{color:#1677ff;background:#fff}.broker-task-status-filter-tag.ant-tag-checkable-checked{color:#fff;background:#1677ff;box-shadow:0 4px 10px #1677ff2e}.broker-policy-form-section{background:#fbfcfe;border:1px solid #eef0f4;border-radius:8px;margin-bottom:16px;padding:14px 16px 2px}.broker-policy-form-section .ant-form-item{margin-bottom:14px}.broker-payment-preview-card{background:#f8fbff;border:1px solid #d6e4ff;border-radius:8px;min-height:64px;padding:10px 12px}.broker-payment-preview-value{color:#17211d;margin-top:4px;font-size:16px;font-weight:600}.broker-ai-title-logo{object-fit:contain;background:linear-gradient(135deg,#e8f0fe 0%,#d4e4fd 100%);border-radius:50%;width:36px;height:36px;padding:5px;display:block;box-shadow:0 2px 8px #1677ff1f}.broker-ai-bubble{z-index:1000;place-items:center;position:fixed;bottom:26px;right:26px;width:68px!important;height:68px!important;box-shadow:none!important;background:0 0!important;border:0!important;padding:0!important;display:grid!important}.broker-ai-bubble:before{content:"";background:0 0;border-radius:50%;transition:box-shadow .35s;position:absolute;inset:-6px;box-shadow:0 0 #1677ff2e}.broker-ai-bubble:hover:before{box-shadow:0 0 0 12px #1677ff14}.broker-ai-bubble:hover,.broker-ai-bubble:focus-visible{background:0 0!important}.broker-ai-bubble-core{background:0 0;border:0;border-radius:50%;place-items:center;width:62px;height:62px;transition:transform .2s;animation:4.2s ease-in-out infinite broker-ai-float;display:grid}.broker-ai-bubble:hover .broker-ai-bubble-core{transform:scale(1.06)}.broker-ai-bubble-core img{object-fit:contain;filter:drop-shadow(0 2px 6px #1677ff2e);width:62px;height:62px;display:block}@keyframes broker-ai-float{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}.broker-ai-messages{scroll-behavior:smooth;flex:1;min-height:0;padding:8px 0;overflow-y:auto}.broker-ai-messages .ant-typography{margin-bottom:0}.ai-chat-row{margin-bottom:16px;padding:0 4px;display:flex}.ai-chat-row.user{justify-content:flex-end}.ai-chat-bubble{word-break:break-word;white-space:pre-wrap;border-radius:14px;max-width:78%;padding:10px 14px;font-size:13px;line-height:1.6;position:relative}.ai-chat-bubble.assistant{color:#1f1f1f;background:#f0f2f5;border-top-left-radius:4px;box-shadow:0 1px 3px #0000000a}.ai-chat-bubble.user{color:#fff;background:#1677ff;border-top-right-radius:4px;box-shadow:0 2px 8px #1677ff38}.ai-chat-row:not(.user) .ai-chat-avatar{background:linear-gradient(135deg,#e8f0fe 0%,#d4e4fd 100%);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;margin-right:8px;font-size:14px;display:flex}.ai-typing-dots{align-items:center;gap:4px;padding:4px 0;display:inline-flex}.ai-typing-dots span{background:#8c8c8c;border-radius:50%;width:6px;height:6px;animation:1.2s ease-in-out infinite ai-dot-bounce}.ai-typing-dots span:nth-child(2){animation-delay:.15s}.ai-typing-dots span:nth-child(3){animation-delay:.3s}@keyframes ai-dot-bounce{0%,60%,to{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-6px)}}.ai-chat-welcome{background:linear-gradient(135deg,#f8faff 0%,#f0f5ff 100%);border:1px solid #e8f0fe;border-radius:14px;margin-bottom:8px;padding:16px 18px}.ai-chat-welcome .ant-typography{font-size:13px;line-height:1.7}.ai-customer-bar{background:#fafbfc;border:1px solid #f0f0f0;border-radius:10px;align-items:center;gap:8px;padding:8px 12px;transition:border-color .2s;display:flex}.ai-customer-bar:focus-within{border-color:#1677ff}.ai-customer-bar .ant-select{flex:1;min-width:0}.ai-customer-bar .ant-select-selector{box-shadow:none!important;background:0 0!important;border:0!important;padding-left:0!important}.ai-input-row{border-top:1px solid #f0f0f0;gap:8px;padding-top:10px;display:flex}.ai-input-row .ant-input{border-radius:10px;padding:8px 12px;font-size:13px}.ai-input-row .ant-btn{border-radius:10px;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.broker-ai-drawer .ant-drawer-body{flex-direction:column;gap:10px;display:flex;padding:12px 16px 16px!important}.ai-powered-by{text-align:center;color:#d9d9d9;letter-spacing:.5px;padding:4px 0 2px;font-size:11px}
