
/* V438O - Debt Health professional */
.v438o-debt-health{
  margin-bottom:12px;
  padding:14px;
  border:1px solid var(--border);
  border-radius:12px;
  background:var(--card);
}
.v438o-health-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-bottom:11px;
}
.v438o-health-head>div>span{
  display:block;
  font-size:8px;
  font-weight:800;
  letter-spacing:.08em;
  color:var(--muted-foreground);
}
.v438o-health-head h2{
  margin:3px 0 0;
  font-size:13px;
}
.v438o-health-head>small{
  max-width:420px;
  text-align:right;
  font-size:8px;
  color:var(--muted-foreground);
}
.v438o-health-layout{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);
  gap:10px;
}
.v438o-health-kpis{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:8px;
}
.v438o-health-kpis article{
  position:relative;
  min-height:104px;
  padding:11px;
  border:1px solid var(--border);
  border-radius:9px;
  background:var(--background);
  overflow:hidden;
}
.v438o-health-kpis article.total{
  grid-column:span 2;
}
.v438o-health-kpis article.warning,
.v438o-health-kpis article.danger,
.v438o-health-kpis article.ratio,
.v438o-health-kpis article.customers{
  grid-column:span 2;
}
.v438o-health-kpis article:after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:0;height:3px;
}
.v438o-health-kpis .total:after{background:#2563eb}
.v438o-health-kpis .warning:after{background:#f59e0b}
.v438o-health-kpis .danger:after{background:#dc2626}
.v438o-health-kpis .ratio:after{background:#7c3aed}
.v438o-health-kpis .customers:after{background:#16a34a}
.v438o-health-kpis span{
  display:block;
  font-size:7.5px;
  font-weight:750;
  color:var(--muted-foreground);
}
.v438o-health-kpis b{
  display:block;
  margin-top:7px;
  font-size:18px;
  line-height:1.05;
  font-variant-numeric:tabular-nums;
  overflow-wrap:anywhere;
}
.v438o-health-kpis small{
  display:block;
  margin-top:7px;
  font-size:7px;
  line-height:1.35;
  color:var(--muted-foreground);
}
.v438o-age-chart{
  min-width:0;
  padding:11px;
  border:1px solid var(--border);
  border-radius:9px;
  background:var(--background);
}
.v438o-chart-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:8px;
  margin-bottom:5px;
}
.v438o-chart-head h3{
  margin:0;
  font-size:10.5px;
}
.v438o-chart-head small{
  display:block;
  margin-top:2px;
  font-size:7px;
  color:var(--muted-foreground);
}
.v438o-chart-head strong{
  font-size:10px;
  font-variant-numeric:tabular-nums;
}

@media(max-width:1180px){
  .v438o-health-layout{
    grid-template-columns:1fr;
  }
  .v438o-health-kpis{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
  .v438o-health-kpis article.total,
  .v438o-health-kpis article.warning,
  .v438o-health-kpis article.danger,
  .v438o-health-kpis article.ratio,
  .v438o-health-kpis article.customers{
    grid-column:span 2;
  }
}

@media(max-width:760px){
  .v438o-debt-health{
    margin-bottom:8px;
    padding:9px;
    border-radius:10px;
  }
  .v438o-health-head{
    flex-direction:column;
    align-items:flex-start;
    gap:3px;
    margin-bottom:8px;
  }
  .v438o-health-head h2{
    font-size:11px;
  }
  .v438o-health-head>small{
    max-width:none;
    text-align:left;
    font-size:7px;
    line-height:1.35;
  }
  .v438o-health-layout{
    grid-template-columns:1fr;
    gap:7px;
  }
  .v438o-health-kpis{
    grid-template-columns:1fr 1fr;
    gap:6px;
  }
  .v438o-health-kpis article,
  .v438o-health-kpis article.total,
  .v438o-health-kpis article.warning,
  .v438o-health-kpis article.danger,
  .v438o-health-kpis article.ratio,
  .v438o-health-kpis article.customers{
    grid-column:auto;
    min-height:92px;
    padding:9px;
    border-radius:9px;
  }
  .v438o-health-kpis article.total{
    grid-column:1/-1;
  }
  .v438o-health-kpis span{
    font-size:6.8px;
    line-height:1.3;
  }
  .v438o-health-kpis b{
    margin-top:6px;
    font-size:15px;
  }
  .v438o-health-kpis small{
    margin-top:5px;
    font-size:6.6px;
  }
  .v438o-age-chart{
    padding:8px;
    border-radius:9px;
  }
  .v438o-chart-head h3{
    font-size:9.5px;
  }
  .v438o-chart-head strong{
    font-size:9px;
  }
  .v438o-age-chart .recharts-responsive-container{
    height:205px!important;
    min-height:205px!important;
  }
}

@media(max-width:390px){
  .v438o-health-kpis{
    grid-template-columns:1fr;
  }
  .v438o-health-kpis article.total{
    grid-column:auto;
  }
}
