/* BLUEFLOW Customer 360 — KPI + profile action polish v1 */
.customer-profile .customer-profile-kpis{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
  align-items:stretch!important;
  margin:18px 0!important;
}
.customer-profile .customer-profile-kpis .cp-kpi{
  min-width:0!important;
  min-height:148px!important;
  padding:20px 21px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:0!important;
  text-align:left!important;
  border-radius:22px!important;
  position:relative!important;
  overflow:hidden!important;
}
.customer-profile .customer-profile-kpis .cp-kpi>small{
  display:block!important;
  width:100%!important;
  min-height:0!important;
  margin:0 0 8px!important;
  padding:0!important;
  font-size:12.5px!important;
  line-height:1.45!important;
  font-weight:600!important;
  color:#6f8497!important;
  white-space:normal!important;
}
.customer-profile .customer-profile-kpis .cp-kpi>b{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  font-size:30px!important;
  line-height:1.1!important;
  letter-spacing:-.55px!important;
  color:#173452!important;
  white-space:nowrap!important;
}
.customer-profile .customer-profile-kpis .cp-kpi>span{
  display:block!important;
  width:100%!important;
  margin:9px 0 0!important;
  padding:0!important;
  font-size:11.5px!important;
  line-height:1.5!important;
  color:#8799a9!important;
  white-space:normal!important;
}
.customer-profile .customer-profile-actions{
  align-items:center!important;
}
.customer-profile .customer-profile-actions #mpfProfileEditTop,
.customer-profile .customer-profile-actions #customerEditBtn{
  min-width:156px!important;
  white-space:nowrap!important;
}
html[data-theme="dark"] .customer-profile .customer-profile-kpis .cp-kpi>b{color:#edf6ff!important}
html[data-theme="dark"] .customer-profile .customer-profile-kpis .cp-kpi>small,
html[data-theme="dark"] .customer-profile .customer-profile-kpis .cp-kpi>span{color:#91a6ba!important}
@media(max-width:1100px){
  .customer-profile .customer-profile-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:720px){
  .customer-profile .customer-profile-kpis .cp-kpi{min-height:132px!important;padding:17px!important}
  .customer-profile .customer-profile-kpis .cp-kpi>b{font-size:26px!important}
  .customer-profile .customer-profile-actions #mpfProfileEditTop,
  .customer-profile .customer-profile-actions #customerEditBtn{min-width:0!important}
}
@media(max-width:480px){
  .customer-profile .customer-profile-kpis{grid-template-columns:1fr!important}
}
