
/* Dashboard One V6.15.3 — Estabilidade + Visão Executiva segura */

/* V6.15.0 already moves the daily brief safely via v6121-overview-premium.js.
   This file ONLY styles existing elements; it does not re-parent dashboard sections. */
#view-overview{
  min-width:0!important;
}
#view-overview #one610TodayBlock{
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  margin:14px 0 18px!important;
  padding:17px!important;
  overflow:hidden!important;
}
#view-overview #one610TodayBlock .headrow{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:12px!important;
  flex-wrap:wrap!important;
}
#view-overview #one610TodayCards{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(135px,1fr))!important;
  gap:9px!important;
  margin:12px 0!important;
}
#view-overview #one610TodayCards .one610-today-card{
  min-width:0!important;
  min-height:74px!important;
  height:auto!important;
  padding:11px!important;
}
#view-overview #one610TodayCards .one610-today-card strong{
  font-size:22px!important;
  line-height:1!important;
}
#view-overview #one610TodayQueue{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:7px!important;
  height:auto!important;
  min-height:0!important;
}
#view-overview #one610TodayQueue .one610-empty{
  min-height:0!important;
  margin:0!important;
  padding:10px 12px!important;
}
#view-overview #kpis{
  grid-template-columns:repeat(4,minmax(170px,1fr))!important;
  gap:11px!important;
}
#view-overview #kpis .card{
  min-width:0!important;
  overflow:hidden!important;
}
#view-overview .split,
#view-overview .one30-dashboard-grid,
#view-overview .columns{
  min-width:0!important;
}
#view-overview .split>*,
#view-overview .one30-dashboard-grid>*,
#view-overview .columns>*{
  min-width:0!important;
}

/* Executive system health badge */
#one6153HealthBadge{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:32px;
  padding:0 10px;
  border-radius:999px;
  border:1px solid rgba(80,217,155,.22);
  background:rgba(80,217,155,.055);
  color:#a9e8cb;
  font-size:10px;
  font-weight:850;
}
#one6153HealthBadge.warn{
  border-color:rgba(255,210,92,.25);
  background:rgba(255,210,92,.06);
  color:#ffe095;
}
#one6153HealthBadge.bad{
  border-color:rgba(255,99,121,.28);
  background:rgba(255,99,121,.065);
  color:#ff9cab;
}
#one6153HealthBadge i{
  width:7px;height:7px;border-radius:50%;
  background:currentColor;
  box-shadow:0 0 9px currentColor;
}

/* Reliability card inside Administration */
#one6153Reliability{
  margin-top:16px;
}
.one6153-health-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:9px;
  margin-top:12px;
}
.one6153-health-item{
  min-height:72px;
  padding:11px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.075);
  background:rgba(255,255,255,.025);
}
.one6153-health-item small{
  display:block;
  color:var(--muted,#9fa8b7);
  font-size:9px;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.one6153-health-item strong{
  display:block;
  margin-top:5px;
  font-size:12px;
}
.one6153-health-item.good strong{color:#93e5bd}
.one6153-health-item.warn strong{color:#ffe095}
.one6153-health-item.bad strong{color:#ff9cab}
.one6153-health-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:12px;
}

@media(max-width:1200px){
  #view-overview #one610TodayCards{grid-template-columns:repeat(3,minmax(150px,1fr))!important}
  #view-overview #kpis{grid-template-columns:repeat(2,minmax(180px,1fr))!important}
  .one6153-health-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
  #view-overview #one610TodayCards,
  #view-overview #kpis{grid-template-columns:1fr!important}
  .one6153-health-grid{grid-template-columns:1fr}
}
