.bz-view-dashboard .bz-dashHero{
  position:relative;
  overflow:hidden;
  border-radius:24px;
  border:1px solid rgba(13,49,117,.2);
  background:radial-gradient(135% 220% at -5% -20%, #e2f0ff 0%, #f8fbff 42%, #ffffff 100%);
  padding:20px;
  box-shadow:0 18px 38px rgba(13,49,117,.12), inset 0 1px 0 rgba(255,255,255,.9);
}
.bz-view-dashboard .bz-dashHero::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg,rgba(255,255,255,.4),rgba(255,255,255,0) 30%,rgba(13,110,253,.08) 72%,rgba(249,115,22,.08));
  pointer-events:none;
}
.bz-view-dashboard .bz-dashGlow{
  position:absolute;
  border-radius:999px;
  filter:blur(38px);
  opacity:.62;
  pointer-events:none;
  animation:bz-dashFloat 9s ease-in-out infinite;
}
.bz-view-dashboard .bz-dashGlow--one{width:220px;height:220px;background:#93c5fd;top:-110px;right:-40px}
.bz-view-dashboard .bz-dashGlow--two{width:180px;height:180px;background:#fdba74;bottom:-90px;left:-40px;animation-delay:1.8s}
.bz-view-dashboard .bz-dashHeroInner{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:1fr auto;
  gap:14px;
  align-items:start;
}
.bz-view-dashboard .bz-dashTitle{
  margin:0;
  font-size:33px;
  line-height:1;
  font-weight:950;
  color:#0b1324;
}
.bz-view-dashboard .bz-dashSub{
  margin:8px 0 0;
  color:#0d3175;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.bz-view-dashboard .bz-dashHeroNet{
  background:rgba(255,255,255,.72);
  border:1px solid rgba(13,49,117,.18);
  backdrop-filter:blur(8px);
  border-radius:18px;
  padding:12px 16px;
  box-shadow:0 10px 24px rgba(13,49,117,.1);
  align-self:start;
}
.bz-view-dashboard .bz-dashHeroNetLabel{
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#475569;
  font-weight:800;
}
.bz-view-dashboard .bz-dashHeroNetValue{
  margin-top:4px;
  font-size:26px;
  font-weight:950;
  color:#0d3175;
}
.bz-view-dashboard .bz-dashKpiGrid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.bz-view-dashboard .bz-dashKpi{
  border-color:rgba(15,23,42,.1);
  background:linear-gradient(180deg,#ffffff,#f7fbff);
  box-shadow:0 8px 20px rgba(15,23,42,.06);
  transition:transform .2s ease, box-shadow .2s ease;
}
.bz-view-dashboard .bz-dashKpi:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 28px rgba(15,23,42,.1);
}
.bz-view-dashboard .bz-dashKpiLabel{
  font-size:12px;
  color:#64748b;
  font-weight:700;
}
.bz-view-dashboard .bz-dashKpiValue{
  margin-top:6px;
  font-size:24px;
  font-weight:950;
  color:#0f172a;
}
.bz-view-dashboard .bz-dashMainGrid{
  display:grid;
  grid-template-columns:minmax(0,1.6fr) minmax(280px,.8fr);
  gap:12px;
  align-items:start;
}
.bz-view-dashboard .bz-dashTrendCard{
  background:linear-gradient(180deg,#ffffff,#f6faff);
  box-shadow:0 12px 30px rgba(15,23,42,.08);
}
.bz-view-dashboard .bz-dashTrendHead .bz-select{
  border-color:rgba(13,49,117,.2);
  background:rgba(255,255,255,.8);
}
.bz-view-dashboard .bz-dashLegend{
  display:flex;
  gap:14px;
  margin-top:10px;
  color:#475569;
  font-size:12px;
  font-weight:700;
}
.bz-view-dashboard .bz-dashLegend span{display:inline-flex;align-items:center;gap:6px}
.bz-view-dashboard .bz-dashLegend i{display:inline-block;width:14px;height:4px;border-radius:999px}
.bz-view-dashboard .bz-dashActionCard{
  background:linear-gradient(180deg,#ffffff,#f8fafc);
  box-shadow:0 12px 30px rgba(15,23,42,.08);
}
.bz-view-dashboard .bz-dashActionList{
  display:grid;
  gap:8px;
  margin-top:10px;
}
.bz-view-dashboard .bz-dashActionBtn{
  border:1px solid rgba(13,49,117,.2);
  border-radius:12px;
  background:linear-gradient(180deg,#ffffff,#f8fbff);
  color:#0f172a;
  padding:10px 12px;
  text-align:left;
  font-weight:800;
  cursor:pointer;
  transition:all .2s ease;
}
.bz-view-dashboard .bz-dashActionBtn:hover{
  border-color:#0d6efd;
  background:#edf5ff;
  transform:translateX(2px);
}
.bz-view-dashboard .bz-dashMeta{
  display:grid;
  gap:8px;
  margin-top:12px;
}
.bz-view-dashboard .bz-dashMeta div{
  display:flex;
  justify-content:space-between;
  font-size:12px;
  color:#475569;
}
.bz-view-dashboard .bz-dashMeta strong{
  color:#0f172a;
  font-size:14px;
}
@keyframes bz-dashFloat{
  0%,100%{transform:translate3d(0,0,0) scale(1)}
  50%{transform:translate3d(0,-6px,0) scale(1.05)}
}
.bz-view-dashboard .bz-dashOnboard{
  display:flex;
  align-items:flex-start;
  gap:16px;
  padding:20px;
  border:1.5px dashed var(--blue-2);
  background:linear-gradient(135deg,#f0f7ff,#ffffff);
}
.bz-view-dashboard .bz-dashOnboardIcon{
  flex-shrink:0;
  width:52px;
  height:52px;
  border-radius:14px;
  background:#dbeafe;
  color:#1d4ed8;
  display:flex;
  align-items:center;
  justify-content:center;
}
.bz-view-dashboard .bz-dashOnboardBody{flex:1;min-width:0;}
.bz-view-dashboard .bz-dashOnboardTitle{font-size:15px;font-weight:800;color:#0f172a;margin-bottom:4px;}
.bz-view-dashboard .bz-dashOnboardSub{font-size:12px;color:var(--muted);line-height:1.5;}
.bz-view-dashboard .bz-dashOnboardSteps{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  margin-top:14px;
}
.bz-view-dashboard .bz-dashOnboardStep{
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  cursor:pointer;
  font-size:12px;
  font-weight:700;
  color:#0f172a;
  transition:background .15s,border-color .15s;
}
.bz-view-dashboard .bz-dashOnboardStep:hover{background:#eff6ff;border-color:var(--blue-2);}
.bz-view-dashboard .bz-dashOnboardNum{
  width:20px;
  height:20px;
  border-radius:999px;
  background:var(--blue-2);
  color:#fff;
  font-size:11px;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.bz-view-dashboard .bz-dashOnboardArrow{font-size:16px;color:var(--muted);}
/* ── Overdue & Activity row ─────────────────────────────────────────────── */
.bz-view-dashboard .bz-dashBottomGrid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  align-items:start;
}
.bz-view-dashboard .bz-dashAgingGrid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin-top:10px;
}
.bz-view-dashboard .bz-dashAgingBucket{
  border-radius:12px;
  padding:10px;
  text-align:center;
}
.bz-view-dashboard .bz-dashAgingCount{
  font-size:22px;font-weight:950;line-height:1;margin-bottom:4px;
}
.bz-view-dashboard .bz-dashAgingLabel{
  font-size:11px;font-weight:700;
}
.bz-view-dashboard .bz-dashAgingBucket.is-ok{background:#f0fdf4;color:#166534;}
.bz-view-dashboard .bz-dashAgingBucket.is-warn{background:#fff7ed;color:#9a3412;}
.bz-view-dashboard .bz-dashAgingBucket.is-late{background:#fef3c7;color:#92400e;}
.bz-view-dashboard .bz-dashAgingBucket.is-danger{background:#fef2f2;color:#991b1b;}
.bz-view-dashboard .bz-dashActivityList{
  display:grid;gap:6px;margin-top:10px;
}
.bz-view-dashboard .bz-dashActivityItem{
  display:flex;align-items:center;gap:10px;
  padding:8px 10px;border-radius:10px;
  border:1px solid var(--line);background:var(--card,#fff);
}
.bz-view-dashboard .bz-dashActivityDot{
  width:8px;height:8px;border-radius:999px;flex-shrink:0;
}
.bz-view-dashboard .bz-dashActivityBody{flex:1;min-width:0;}
.bz-view-dashboard .bz-dashActivityTitle{font-size:12px;font-weight:800;color:var(--text,#0f172a);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.bz-view-dashboard .bz-dashActivityMeta{font-size:11px;color:var(--muted);margin-top:1px;}
.bz-view-dashboard .bz-dashActivityAmt{font-size:12px;font-weight:800;flex-shrink:0;}

@media (max-width:1100px){
  .bz-view-dashboard .bz-dashKpiGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bz-view-dashboard .bz-dashMainGrid{grid-template-columns:1fr}
}
@media (max-width:820px){
  .bz-view-dashboard .bz-dashHero{padding:16px}
  .bz-view-dashboard .bz-dashHeroInner{grid-template-columns:1fr}
  .bz-view-dashboard .bz-dashTitle{font-size:27px}
  .bz-view-dashboard .bz-dashKpiGrid{grid-template-columns:1fr 1fr}
  .bz-view-dashboard .bz-dashKpiValue{font-size:clamp(14px,5vw,20px)}
  .bz-view-dashboard .bz-dashOnboard{flex-direction:column;}
  .bz-view-dashboard .bz-dashOnboardSteps{flex-direction:column;align-items:flex-start;}
  .bz-view-dashboard .bz-dashOnboardArrow{display:none;}
  .bz-view-dashboard .bz-dashBottomGrid{grid-template-columns:1fr}
  .bz-view-dashboard .bz-dashAgingGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
