/* CRM 列表分页 · 对齐蒲公英 .d-pagination */
.customers-pager{
  display:flex;
  justify-content:stretch;
  align-items:stretch;
  gap:0;
  margin-top:auto;
  width:100%;
  font-size:14px;
}
.customers-pager .crm-pagination{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  width:100%;
  padding:12px 0 4px;
  color:#262626;
  box-sizing:border-box;
  flex-wrap:wrap;
}
.crm-pagination-left,
.crm-pagination-right,
.crm-pagination-pages,
.crm-pagination-jumper{
  display:flex;
  align-items:center;
}
.crm-pagination-left{gap:8px}
.crm-pagination-right{gap:8px;margin-left:auto}
.crm-pagination-pages{gap:2px}
.crm-pagination-jumper{gap:8px;color:rgba(0,0,0,.85);font-size:14px;white-space:nowrap}
.crm-pagination-total{
  font-size:12px;
  line-height:20px;
  color:rgba(0,0,0,.53);
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}
.crm-pagination-size-wrap{display:inline-block}
.crm-pagination-size{
  appearance:none;
  -webkit-appearance:none;
  height:32px;
  min-width:96px;
  padding:4px 28px 4px 15px;
  border:1px solid transparent;
  border-radius:4px;
  background:#f7f7f7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5.293 8.293a1 1 0 0 1 1.414 0L12 13.586l5.293-5.293a1 1 0 1 1 1.414 1.414l-6 6a1 1 0 0 1-1.414 0l-6-6a1 1 0 0 1 0-1.414z' fill='rgba(0,0,0,0.53)'/%3E%3C/svg%3E") no-repeat right 8px center;
  background-size:16px;
  color:rgba(0,0,0,.85);
  font-size:14px;
  line-height:22px;
  cursor:pointer;
}
.crm-pagination-size:hover{background-color:#f0f0f0}
.crm-pagination-size:focus-visible{
  outline:2px solid #009c9880;
  outline-offset:2px;
}
.crm-pagination-item{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:32px;
  height:32px;
  padding:0 6px;
  margin:0;
  border:0;
  border-radius:4px;
  background:transparent;
  color:rgba(0,0,0,.85);
  font:inherit;
  font-size:14px;
  font-variant-numeric:tabular-nums;
  line-height:14px;
  cursor:pointer;
  box-sizing:border-box;
}
.crm-pagination-item:hover:not(:disabled):not(.is-active){
  background:rgba(0,0,0,.04);
}
.crm-pagination-item.is-active{
  background:#f3f3f3;
  color:#3d3d3d;
  font-weight:600;
  cursor:default;
}
.crm-pagination-item:disabled{
  color:rgba(0,0,0,.2);
  background:rgba(0,0,0,.02);
  cursor:not-allowed;
}
.crm-pagination-nav{
  color:rgba(0,0,0,.53);
}
.crm-pagination-nav:disabled{
  color:rgba(0,0,0,.2);
}
.crm-pagination-ellipsis{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:32px;
  height:32px;
  color:rgba(0,0,0,.45);
  user-select:none;
}
.crm-pagination-jump{
  width:42px;
  height:32px;
  padding:0;
  border:1px solid transparent;
  border-radius:4px;
  background:rgba(0,0,0,.03);
  color:rgba(0,0,0,.85);
  font-size:14px;
  line-height:20px;
  text-align:center;
  font-variant-numeric:tabular-nums;
  box-sizing:border-box;
}
.crm-pagination-jump:hover{background:rgba(0,0,0,.05)}
.crm-pagination-jump:focus{
  outline:none;
  background:#fff;
  border-color:#d9d9d9;
  box-shadow:0 0 0 2px rgba(0,156,152,.15);
}

/* 详情内迷你分页仍用旧样式时，避免被拉满 */
.crm-followups-panel>.customers-pager,
.crm-section .customers-pager{
  justify-content:flex-end;
  width:auto;
}
.crm-followups-panel>.customers-pager .crm-pagination,
.crm-section .customers-pager .crm-pagination{
  width:auto;
  padding:8px 0 0;
}
