/* Painel de indicadores da visão geral: leitura rápida, hierarquia e ação. */
.dashboard-stat-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  margin-bottom:30px;
}
.dashboard-stat-grid .dashboard-stat-link{
  --metric:#087ca3;
  --metric-rgb:8,124,163;
  position:relative;
  isolation:isolate;
  display:flex;
  min-width:0;
  min-height:210px;
  padding:20px 21px 18px;
  overflow:hidden;
  flex-direction:column;
  border:1px solid rgba(198,218,226,.78);
  border-radius:24px;
  background:linear-gradient(145deg,rgba(255,255,255,.99),rgba(247,252,253,.97));
  box-shadow:0 16px 42px rgba(9,52,74,.08),inset 0 1px 0 rgba(255,255,255,.85);
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
.dashboard-stat-grid .dashboard-stat-link:before{
  content:"";
  position:absolute;
  z-index:2;
  inset:0 22px auto;
  height:3px;
  border-radius:0 0 999px 999px;
  background:linear-gradient(90deg,var(--metric),rgba(var(--metric-rgb),.42));
}
.dashboard-stat-grid .dashboard-stat-link:after{display:none!important}
.dashboard-stat-grid .dashboard-stat-link:hover,
.dashboard-stat-grid .dashboard-stat-link:focus-visible{
  transform:translateY(-5px);
  border-color:rgba(var(--metric-rgb),.32);
  box-shadow:0 24px 56px rgba(9,52,74,.14),0 0 0 4px rgba(var(--metric-rgb),.07);
  outline:0;
}
.dashboard-stat-grid .stat-success{--metric:#07936d;--metric-rgb:7,147,109}
.dashboard-stat-grid .stat-card--gold{--metric:#b48a33;--metric-rgb:180,138,51}
.dashboard-stat-grid .stat-warning{--metric:#ce7418;--metric-rgb:206,116,24}
.dashboard-stat-glow{
  position:absolute!important;
  z-index:-1;
  top:-48px;
  right:-38px;
  display:block!important;
  width:150px;
  height:150px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(var(--metric-rgb),.15) 0%,rgba(var(--metric-rgb),0) 70%);
  pointer-events:none;
}
.dashboard-stat-top{
  position:relative;
  z-index:1;
  display:flex!important;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  color:inherit!important;
}
.dashboard-stat-icon{
  display:grid!important;
  place-items:center;
  width:46px;
  height:46px;
  flex:0 0 46px;
  border:1px solid rgba(var(--metric-rgb),.16);
  border-radius:15px;
  background:linear-gradient(145deg,rgba(var(--metric-rgb),.13),rgba(var(--metric-rgb),.05));
  color:var(--metric)!important;
  box-shadow:0 10px 24px rgba(var(--metric-rgb),.11);
}
.dashboard-stat-icon svg{
  width:23px;
  height:23px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.dashboard-stat-badge{
  display:inline-flex!important;
  align-items:center;
  min-height:28px;
  padding:6px 9px;
  border:1px solid rgba(var(--metric-rgb),.13);
  border-radius:999px;
  background:rgba(var(--metric-rgb),.075);
  color:var(--metric)!important;
  font-size:9px!important;
  font-weight:900;
  letter-spacing:.075em;
  line-height:1;
  text-transform:uppercase;
  white-space:nowrap;
}
.dashboard-stat-copy{
  position:relative;
  z-index:1;
  display:grid!important;
  gap:2px;
  margin-top:17px;
  color:inherit!important;
}
.dashboard-stat-label{
  color:#587180!important;
  font-size:12px!important;
  font-weight:750;
  letter-spacing:.01em;
}
.dashboard-stat-grid .dashboard-stat-copy strong{
  margin:2px 0 0;
  color:#0b2c43;
  font-size:43px;
  font-weight:880;
  line-height:1;
  letter-spacing:-.055em;
}
.dashboard-stat-grid .dashboard-stat-copy small{
  min-height:18px;
  color:#77909d;
  font-size:11px;
  font-weight:560;
  line-height:1.4;
}
.dashboard-stat-action{
  position:relative;
  z-index:1;
  display:flex!important;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:34px;
  margin-top:auto;
  padding-top:12px;
  border-top:1px solid rgba(207,224,230,.78);
  color:#244b5e!important;
  font-size:10.5px!important;
  font-weight:850;
}
.dashboard-stat-action b{
  display:grid;
  place-items:center;
  width:25px;
  height:25px;
  border-radius:9px;
  background:rgba(var(--metric-rgb),.1);
  color:var(--metric);
  font-size:14px;
  transition:transform .2s ease,background .2s ease,color .2s ease;
}
.dashboard-stat-link:hover .dashboard-stat-action b{
  transform:translateX(2px);
  background:var(--metric);
  color:#fff;
}
@media(max-width:1180px){
  .dashboard-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
  .dashboard-stat-grid{grid-template-columns:1fr!important;gap:13px}
  .dashboard-stat-grid .dashboard-stat-link{min-height:190px;padding:18px;border-radius:20px}
  .dashboard-stat-icon{width:42px;height:42px;flex-basis:42px;border-radius:14px}
  .dashboard-stat-grid .dashboard-stat-copy strong{font-size:38px}
}
@media(prefers-reduced-motion:reduce){
  .dashboard-stat-grid .dashboard-stat-link,.dashboard-stat-action b{transition:none}
}
