/* V4.8 targeted repair for V4.7 KPI cards. Load LAST after all existing merchant styles. */
#app .merchant-workbench.ls47-workbench .ls27-kpis { display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr))!important; gap:14px!important; }
#app .merchant-workbench.ls47-workbench .ls27-kpi {
  box-sizing:border-box!important; position:relative!important; display:grid!important;
  grid-template-columns:56px minmax(0,1fr)!important;
  grid-template-rows:auto auto auto!important;
  align-content:center!important; align-items:center!important;
  column-gap:14px!important; row-gap:3px!important;
  min-width:0!important; min-height:128px!important;
  padding:18px 16px!important; overflow:hidden!important;
  background-image:none!important; isolation:isolate!important;
}
#app .merchant-workbench.ls47-workbench .ls27-kpi:nth-child(1){background:#edf2ff!important}
#app .merchant-workbench.ls47-workbench .ls27-kpi:nth-child(2){background:#edf9fa!important}
#app .merchant-workbench.ls47-workbench .ls27-kpi:nth-child(3){background:#f4f0ff!important}
#app .merchant-workbench.ls47-workbench .ls27-kpi:nth-child(4){background:#effaf6!important}
#app .merchant-workbench.ls47-workbench .ls27-kpi .ls27-kpi-icon {
  position:static!important; inset:auto!important; top:auto!important; right:auto!important; bottom:auto!important; left:auto!important;
  transform:none!important; margin:0!important; padding:0!important;
  grid-column:1!important; grid-row:1 / 4!important;
  display:grid!important; place-items:center!important;
  width:56px!important; height:56px!important; border-radius:50%!important;
  font-size:27px!important; line-height:1!important; font-weight:700!important;
  color:#286bea!important; background:#dce9ff!important;
  opacity:1!important; visibility:visible!important; text-indent:0!important;
}
#app .merchant-workbench.ls47-workbench .ls27-kpi:nth-child(2) .ls27-kpi-icon{background:#dcf7e8!important;color:#0ca869!important}
#app .merchant-workbench.ls47-workbench .ls27-kpi:nth-child(3) .ls27-kpi-icon{background:#ebe2ff!important;color:#8051f0!important}
#app .merchant-workbench.ls47-workbench .ls27-kpi:nth-child(4) .ls27-kpi-icon{background:#ffead8!important;color:#e98a2c!important}
#app .merchant-workbench.ls47-workbench .ls27-kpi .ls27-kpi-icon::before,
#app .merchant-workbench.ls47-workbench .ls27-kpi .ls27-kpi-icon::after,
#app .merchant-workbench.ls47-workbench .ls27-kpi::before,
#app .merchant-workbench.ls47-workbench .ls27-kpi::after {content:none!important;display:none!important}
#app .merchant-workbench.ls47-workbench .ls27-kpi .ls27-kpi-label,
#app .merchant-workbench.ls47-workbench .ls27-kpi strong,
#app .merchant-workbench.ls47-workbench .ls27-kpi small {
  position:static!important; inset:auto!important; transform:none!important;
  float:none!important; clear:none!important; margin:0!important;
  padding:0!important; text-indent:0!important;
  grid-column:2!important; min-width:0!important; max-width:100%!important;
  white-space:normal!important; overflow-wrap:anywhere!important;
  opacity:1!important; visibility:visible!important;
}
#app .merchant-workbench.ls47-workbench .ls27-kpi .ls27-kpi-label{grid-row:1!important;font-size:13px!important;line-height:1.35!important;color:#526485!important}
#app .merchant-workbench.ls47-workbench .ls27-kpi strong{grid-row:2!important;font-size:clamp(19px,1.8vw,29px)!important;line-height:1.2!important;color:#15284e!important;font-weight:800!important}
#app .merchant-workbench.ls47-workbench .ls27-kpi small{grid-row:3!important;font-size:11px!important;line-height:1.35!important;color:#788ba8!important}
@media(max-width:1200px){#app .merchant-workbench.ls47-workbench .ls27-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:640px){#app .merchant-workbench.ls47-workbench .ls27-kpis{grid-template-columns:1fr!important}#app .merchant-workbench.ls47-workbench .ls27-kpi{min-height:108px!important}}
