*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,sans-serif;background:#fff}#root{min-height:100vh}.ant-table-thead>tr>th{position:sticky!important;top:0!important;z-index:5!important;background:#fffaf2!important;box-shadow:0 1px #ffd591}.ant-table-pagination.ant-pagination{position:sticky;bottom:0;z-index:4;background:#fff;padding:8px 0;margin:0!important}.ant-table:not(.ant-table-large) .ant-table-tbody>tr>td,.ant-table:not(.ant-table-large) .ant-table-thead>tr>th{padding:6px 8px!important}.ant-table:not(.ant-table-large) .ant-table-tbody>tr>td{font-size:13px;line-height:1.4}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#ff8c00,#ff6a00,#ff4500)}.login-card{background:#fff;padding:48px 40px;border-radius:16px;box-shadow:0 20px 60px #ff8c004d;width:400px}.login-card h2{text-align:center;margin-bottom:32px;color:#ff6a00;font-size:28px;font-weight:700}.login-card .ant-btn-primary{height:48px;font-size:16px;border-radius:8px;background:linear-gradient(135deg,#ff8c00,#ff6a00)!important;border-color:#ff8c00!important}.login-card .ant-input,.login-card .ant-input-affix-wrapper{min-height:44px!important;font-size:16px!important}.login-card .ant-input-affix-wrapper .ant-input{min-height:auto!important;font-size:16px!important}.app-layout{display:flex;min-height:100vh}.app-sider{overflow-y:auto;max-height:100vh}.app-header{padding:0 24px;display:flex;align-items:center;justify-content:space-between}.app-content{flex:1;padding:24px;overflow-y:auto}.stat-card{background:#fff;border-radius:12px;padding:20px 24px;box-shadow:0 2px 8px #ff8c001a;border:1px solid #FFE4B5}.stat-card .num{font-size:32px;font-weight:700;color:#ff6a00}.stat-card .label{color:#999;font-size:14px;margin-top:4px}.stat-card .trend{font-size:12px;margin-top:8px}.stat-card .trend.up{color:#52c41a}.stat-card .trend.down{color:#ff4d4f}.dashboard-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.rankings-list{background:#fff;border-radius:12px;padding:24px;border:1px solid #FFE4B5}.rankings-item{display:flex;align-items:center;padding:12px 0;border-bottom:1px solid #FFF5E6}.rankings-item:last-child{border:none}.rank-rank{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;margin-right:16px}.rank-1{background:#ff8c00;color:#fff}.rank-2{background:#ffb347;color:#fff}.rank-3{background:#ffd580;color:#fff}.rank-default{background:#fff5e6;color:#cc7000}.customer-list-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.customer-tag{margin-right:4px}.ant-table-thead>tr>th{background:#fff5e6!important;color:#cc7000!important;font-weight:600;border-bottom:2px solid #FF8C00!important}.ant-table-tbody>tr:hover>td{background:#fff8f0!important}.ant-table-row{transition:background .2s}.ant-btn-primary{background:linear-gradient(135deg,#ff8c00,#ff6a00)!important;border-color:#ff8c00!important;color:#fff!important}.ant-btn-primary:hover{background:linear-gradient(135deg,#ff7a00,#ff5a00)!important;border-color:#ff7a00!important}.ant-btn-default:hover{color:#ff6a00!important;border-color:#ff6a00!important}.ant-tag-orange{background:#fff5e6;color:#ff6a00;border-color:#ffd580}.call-panel{background:#fff;border-radius:12px;padding:24px;max-width:480px;border:1px solid #FFE4B5}.call-customer-card{background:linear-gradient(135deg,#ff8c00,#ff6a00);border-radius:12px;padding:24px;color:#fff;text-align:center;margin-bottom:24px}.call-customer-card .name{font-size:24px;font-weight:600}.call-customer-card .phone{font-size:18px;opacity:.9;margin-top:8px}.call-dial-btn{width:100%;height:56px!important;font-size:18px!important;border-radius:28px!important;background:linear-gradient(135deg,#ff8c00,#ff6a00)!important;border:none!important;box-shadow:0 4px 16px #ff8c0066!important}.call-hangup-btn{width:100%;height:48px!important;font-size:16px!important;border-radius:24px!important;background:#ff4d4f!important;border:none!important}.ai-summary{background:#fffaf0;border:1px solid #FFD580;border-radius:8px;padding:16px;margin-top:16px}.ai-summary h4{margin:0 0 8px;color:#ff6a00}.app-sider{display:flex;flex-direction:column;height:100vh}.app-sider .sider-logo{background:#d9711e!important;color:#fff!important;border-bottom:1px solid rgba(255,255,255,.18)!important}.app-sider>.ant-layout-sider-children{display:flex;flex-direction:column;flex:1;min-height:0}.sider-inner{display:flex;flex-direction:column;flex:1;min-height:0;height:100%}.sider-logo{flex-shrink:0;display:flex;align-items:center;justify-content:center;gap:8px;height:56px;padding:0 16px;font-size:16px;font-weight:600;border-bottom:1px solid rgba(255,255,255,.12);white-space:nowrap;overflow:hidden}.sider-logo .anticon{font-size:18px;flex-shrink:0}.sider-menu-wrap{flex:1;overflow-y:auto;overflow-x:hidden;min-height:0}.sider-menu-wrap .ant-menu{border-inline-end:0}.app-sider .sider-logo span{transition:opacity .2s}.app-sider.ant-layout-sider-collapsed .sider-logo{padding:0;gap:0}.app-sider.ant-layout-sider-collapsed .sider-logo span{display:none}.app-sider .ant-menu-dark .ant-menu-submenu>.ant-menu-submenu-title{height:48px;line-height:48px;margin:4px 8px;border-radius:8px;padding-left:16px;position:relative;transition:background .2s}.app-sider .ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title:before{content:"";position:absolute;left:0;top:8px;bottom:8px;width:3px;background:#fff;border-radius:0 2px 2px 0;box-shadow:0 0 8px #fff6}.app-sider .ant-menu-dark .ant-menu-item{border-radius:8px;margin:2px 8px 2px 24px;height:40px;line-height:40px}.app-sider .ant-menu-dark .ant-menu-item-selected{position:relative;font-weight:600!important}.app-sider .ant-menu-dark .ant-menu-item-selected:before{content:"";position:absolute;left:-12px;top:8px;bottom:8px;width:2px;background:#fff;border-radius:0 2px 2px 0}.app-sider .ant-menu-dark .ant-menu-submenu-arrow{color:#ffffffd9!important}padding-left: 16px; transition: background .2s; } .ant-progress-inner .ant-progress-bg{background:linear-gradient(90deg,#ff8c00,#ff6a00)!important}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:#ff6a00!important;font-weight:600}.ant-tabs-ink-bar{background:#ff6a00!important}.ant-input:focus,.ant-input-focused,.ant-select-focused .ant-select-selector,.ant-picker-focused{border-color:#ff8c00!important;box-shadow:0 0 0 2px #ff8c0033!important}@media (max-width: 576px){.stat-card{padding:14px 12px!important}.stat-card .num{font-size:22px!important}.stat-card .label{font-size:12px!important}.dashboard-grid{grid-template-columns:repeat(2,1fr);gap:10px}.rankings-item{padding:10px 0;flex-wrap:wrap}.rank-rank{width:28px;height:28px;margin-right:10px;font-size:13px}.rankings-list{padding:16px!important}.app-content{padding:12px!important}.app-header{padding:0 12px!important;height:52px!important;line-height:52px!important}.ant-layout-header{padding:0 12px!important}.ant-table-wrapper,.ant-table{overflow-x:auto}.login-card{width:92vw;padding:28px 20px}.login-card h2{font-size:22px}.ant-modal{max-width:100vw!important;top:0!important;padding:0!important;margin:0!important}.ant-modal-content{border-radius:0!important;max-height:100vh!important}.ant-modal-body{max-height:calc(100vh - 110px)!important;overflow-y:auto!important}.ant-statistic-title{font-size:12px!important}.ant-statistic-content{font-size:20px!important}.ant-tag{padding:2px 6px;font-size:12px}.ant-card-head-title{font-size:14px!important;padding:10px 0!important}.ant-card-body{padding:12px!important}h4.ant-typography{font-size:18px!important}h5.ant-typography{font-size:15px!important}.ant-row{margin-left:-6px!important;margin-right:-6px!important}.ant-row>.ant-col{padding-left:6px!important;padding-right:6px!important}.call-dial-btn{height:64px!important;font-size:20px!important}.call-hangup-btn{height:52px!important;font-size:17px!important}.call-customer-card .name{font-size:22px!important}.call-customer-card .phone{font-size:16px!important}.app-sider .ant-menu-dark .ant-menu-item{height:48px!important;line-height:48px!important}.ant-drawer-body .ant-menu-dark .ant-menu-item{height:48px!important;line-height:48px!important;font-size:15px!important}}@media (max-width: 380px){.stat-card{padding:10px 8px!important}.stat-card .num{font-size:18px!important}.ant-statistic-content{font-size:16px!important}.ant-statistic-content-suffix{font-size:11px!important}.login-card{padding:24px 16px!important}.login-card h2{font-size:20px!important}}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:#fff5e6}::-webkit-scrollbar-thumb{background:#ffd580;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#ff8c00}button,.ant-btn,.ant-menu-item,.ant-picker,.ant-select-selector,.ant-input,.ant-input-affix-wrapper,.ant-input-search .ant-input,.ant-checkbox-wrapper,.ant-radio-wrapper,.ant-switch{-webkit-tap-highlight-color:rgba(255,140,0,.15)}*{-webkit-overflow-scrolling:touch}button,.ant-btn{touch-action:manipulation}@supports (padding: max(0px)){.app-content{padding-bottom:max(24px,env(safe-area-inset-bottom))!important}.app-header{padding-top:max(0px,env(safe-area-inset-top))!important}}@keyframes pwa-pulse{0%,to{opacity:1}50%{opacity:.5}}.pwa-update-pulse{animation:pwa-pulse 1.5s ease-in-out infinite}
