:root{--bg-canvas:#f1f5f9;--bg-surface:#ffffff;--bg-subtle:#f8fafc;--bg-sidebar:#0f172a;--bg-sidebar-hover:#1e293b;--bg-sidebar-active:#2563eb;--border-light:#e2e8f0;--border-medium:#cbd5e1;--text-primary:#0f172a;--text-secondary:#475569;--text-muted:#64748b;--brand:#2563eb;--brand-hover:#1d4ed8;--brand-soft:#eff6ff;--brand-border:#bfdbfe;--success:#059669;--warning:#d97706;--danger:#dc2626}html{overflow-y:scroll;scrollbar-gutter:stable}body,html{margin:0;padding:0;background-color:var(--bg-canvas);color:var(--text-primary);font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,Segoe UI,Roboto,sans-serif;font-size:13.5px;line-height:1.5}*{box-sizing:border-box}.ant-card{border-color:var(--border-light)!important;border-radius:10px!important;box-shadow:0 1px 3px rgba(15,23,42,.06),0 1px 2px rgba(15,23,42,.03)!important}.ant-btn-primary:not(:disabled):not(.ant-btn-background-ghost){background:var(--brand)!important;border-color:var(--brand)!important;box-shadow:0 1px 2px rgba(37,99,235,.25)!important}.ant-btn-primary:not(:disabled):not(.ant-btn-background-ghost):hover{background:var(--brand-hover)!important;border-color:var(--brand-hover)!important}.ant-segmented{background:#f1f5f9!important;padding:3px!important;border-radius:8px!important;border:1px solid #e2e8f0}.ant-segmented .ant-segmented-item-selected{background:#ffffff!important;color:#2563eb!important;font-weight:600!important;border-radius:6px!important;box-shadow:0 1px 3px rgba(15,23,42,.08)!important}.ant-tag{font-weight:600;border-radius:6px}.ant-card .ant-card-head{border-bottom-color:var(--border-light)!important;min-height:52px;padding:0 20px}.ant-card .ant-card-head-title{font-size:15px;font-weight:700;color:var(--text-primary)}.ant-card .ant-card-body{padding:16px 20px}.ant-table-wrapper .ant-table{border:1px solid var(--border-light);border-radius:8px;overflow:hidden}.ant-table-wrapper .ant-table-thead>tr>th{font-size:12.5px!important;font-weight:600!important;color:#334155!important;background:var(--bg-subtle)!important;border-bottom:1px solid var(--border-light)!important}.ant-typography.ant-typography-secondary{color:#64748b!important}.ant-table-wrapper .ant-table-tbody>tr>td{border-bottom-color:var(--border-light)!important}.ant-table-wrapper .ant-table-small .ant-table-tbody>tr>td,.ant-table-wrapper .ant-table-small .ant-table-thead>tr>th{padding:8px 11px!important}.crm-filter-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 14px;background:var(--bg-subtle);border:1px solid var(--border-light);border-radius:8px;margin-bottom:14px}.crm-nav-group-label{font-size:11px;color:#6b7280;padding:12px 12px 4px;font-weight:600;letter-spacing:.4px}.crm-nav-btn,.crm-nav-group-label{-webkit-user-select:none;-moz-user-select:none;user-select:none}.crm-nav-btn{display:flex;align-items:center;justify-content:space-between;padding:8.5px 12px;border-radius:7px;cursor:pointer;font-size:13.5px;color:#d1d5db;transition:background-color .15s,color .15s;margin:1px 0}.crm-nav-btn:hover{background:var(--bg-sidebar-hover);color:#ffffff}.crm-nav-btn.active{background:var(--bg-sidebar-active);color:#ffffff;font-weight:600}.crm-nav-sub .crm-nav-btn{font-size:13px;padding:7.5px 12px 7.5px 22px}.crm-nav-badge{font-size:11px;padding:1px 7px;border-radius:10px;background:rgba(255,255,255,.16);color:#f9fafb;font-weight:600;line-height:1.4}.todo-row{transition:background-color .15s}.todo-row:hover{background-color:#f8fbff!important}.biz-row-card{border:1px solid var(--border-light);border-radius:8px;padding:11px 14px;background:#ffffff;margin-bottom:8px;display:grid;grid-template-columns:1.45fr 1fr 1.05fr;grid-gap:14px;gap:14px;align-items:center;transition:border-color .15s,background-color .15s}.biz-row-card:hover{border-color:#93c5fd;background-color:#fafcff}.biz-row-card.is-history{background-color:#fafafa;border-color:#e5e7eb}.crm-settings-tabs .ant-tabs-nav{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:5px 8px;margin-bottom:16px!important}.crm-settings-tabs .ant-tabs-ink-bar,.crm-settings-tabs .ant-tabs-nav:before{display:none!important}.crm-settings-tabs .ant-tabs-tab{padding:5px 12px!important;margin:0 2px!important;border-radius:6px!important;border:1px solid transparent!important;font-size:13px;font-weight:500;color:#475569!important;transition:all .15s}.crm-settings-tabs .ant-tabs-tab:hover{background:#eef2f6;color:#0f172a!important}.crm-settings-tabs .ant-tabs-tab-active{background:#ffffff!important;border-color:#bfdbfe!important;box-shadow:0 1px 2px rgba(15,23,42,.05)}.crm-settings-tabs .ant-tabs-tab-active .ant-tabs-tab-btn{color:#1d4ed8!important;font-weight:600!important}.crm-copy-cell .crm-copy-icon{opacity:0;color:#64748b;font-size:12px;cursor:pointer;padding:1px 3px;border-radius:3px;transition:opacity .12s,color .12s,background .12s;flex-shrink:0;line-height:1}.ant-table-cell:hover .crm-copy-icon,.crm-copy-cell:hover .crm-copy-icon{opacity:.85}.crm-copy-cell .crm-copy-icon:hover{opacity:1;color:#1d4ed8;background:#eff6ff}@media (max-width:768px){body,html{overflow-x:hidden}.ant-card .ant-card-head{padding:0 12px!important;min-height:44px!important}.ant-card .ant-card-body{padding:12px!important}.ant-segmented{max-width:100%!important;overflow-x:auto!important;display:flex!important}.crm-filter-bar{padding:8px 10px!important;gap:8px!important}.crm-filter-bar>*{max-width:100%!important}.ant-table-wrapper{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.ant-table-wrapper .ant-table{min-width:0!important;overflow-x:auto!important;overflow-y:visible!important}.ant-table-wrapper .ant-table-content{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}.ant-table-wrapper table{width:max-content!important;min-width:100%!important}.ant-table-wrapper .ant-table-tbody>tr>td,.ant-table-wrapper .ant-table-thead>tr>th{white-space:nowrap!important}.ant-modal{max-width:calc(100vw - 20px)!important;width:calc(100vw - 20px)!important;margin:10px auto!important}.ant-modal .ant-modal-content{padding:14px!important}.ant-drawer .ant-form .ant-row,.ant-modal .ant-form .ant-row{row-gap:4px!important}.ant-drawer .ant-form .ant-col,.ant-modal .ant-form .ant-col{flex:0 0 100%!important;max-width:100%!important}.ant-drawer [style*=grid-template-columns],.ant-modal [style*=grid-template-columns]{grid-template-columns:1fr!important}.ant-modal .ant-form-item{margin-bottom:10px!important}.ant-drawer-content-wrapper{max-width:100vw!important}}