/* KBM Core v1.4.1 - Backend Data & Platform Layer */
.kbm-platform-counts,
.kbm-platform-health{
  direction:rtl;
  box-sizing:border-box;
  font-family:var(--kbm-font-family,var(--kbm-font-lock,inherit));
}
.kbm-platform-counts{
  width:min(1180px,calc(100% - 32px));
  margin:24px auto;
  padding:18px;
  border:1px solid rgba(15,23,42,.10);
  border-radius:22px;
  background:linear-gradient(135deg,#fff,#f8fafc);
  box-shadow:0 14px 38px rgba(15,23,42,.07);
}
.kbm-platform-counts h2{
  margin:0 0 14px;
  font-size:clamp(18px,2.4vw,25px);
  color:#111827;
}
.kbm-platform-counts__grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
  gap:12px;
}
.kbm-platform-counts__item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:14px;
  border-radius:18px;
  background:#fff;
  color:#111827;
  text-decoration:none;
  border:1px solid rgba(15,23,42,.08);
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.kbm-platform-counts__item:hover,
.kbm-platform-counts__item:focus{
  transform:translateY(-2px);
  border-color:rgba(245,158,11,.55);
  box-shadow:0 10px 28px rgba(15,23,42,.10);
}
.kbm-platform-counts__item strong{
  min-width:48px;
  height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 10px;
  border-radius:16px;
  background:#111827;
  color:#fbbf24;
  font-size:18px;
}
.kbm-platform-counts__item span{
  flex:1;
  color:#334155;
  font-weight:800;
  line-height:1.8;
}
.kbm-platform-health{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  margin:16px 0;
  padding:14px;
  border-radius:18px;
  background:#0f172a;
  color:#fff;
}
.kbm-platform-health strong{
  color:#fbbf24;
}
.kbm-platform-health span{
  display:inline-flex;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  font-size:13px;
}
@media (max-width:640px){
  .kbm-platform-counts{width:calc(100% - 18px);padding:12px;border-radius:18px;margin:16px auto}
  .kbm-platform-counts__grid{grid-template-columns:1fr}
  .kbm-platform-counts__item{padding:12px;border-radius:16px}
}
