/* WE12_HISTORY_TOP_V3: apenas indicadores e filtros, outras áreas intocadas */
#we12History .wh-stats{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
  margin-bottom:13px!important;
}
#we12History .wh-stat{
  position:relative!important;
  isolation:isolate;
  min-height:114px!important;
  border:1px solid #e4ecf7!important;
  border-radius:13px!important;
  padding:16px 15px!important;
  gap:16px!important;
  background:#fff!important;
  box-shadow:0 6px 19px rgba(44,86,134,.045)!important;
  overflow:hidden!important;
}
#we12History .wh-stat-icon{
  width:54px!important;height:54px!important;flex:0 0 54px!important;
  border-radius:15px!important;
}
#we12History .wh-stat-icon .wh-icon{width:30px!important;height:30px!important;stroke-width:2.3!important;}
#we12History .wh-stat-text{z-index:1;min-width:0!important;flex:1;padding-right:53px;}
#we12History .wh-stat-label{color:#142657!important;font-size:13px!important;font-weight:800!important;line-height:1.25!important;}
#we12History .wh-stat-value{color:#0a1b51!important;font-size:25px!important;font-weight:850!important;letter-spacing:-.35px!important;line-height:1.16!important;margin:5px 0 7px!important;}
#we12History .wh-stat-note{color:#6381ae!important;font-size:11px!important;font-weight:600!important;line-height:1.25!important;}
/* Barras de referência decorativas, sem representar dados ou percentuais. */
#we12History .wh-stat::after{
  content:"";position:absolute;right:14px;top:31px;width:70px;height:45px;
  background-image:linear-gradient(#d3f8e8,#d3f8e8),linear-gradient(#a5ebcc,#a5ebcc),linear-gradient(#72ddb3,#72ddb3),linear-gradient(#36c995,#36c995);
  background-repeat:no-repeat;
  background-size:9px 12px,9px 21px,9px 31px,9px 42px;
  background-position:4px bottom,21px bottom,38px bottom,55px bottom;
  opacity:.92;pointer-events:none;
}
#we12History .wh-stat:nth-child(2)::after{
 background-image:linear-gradient(#e2efff,#e2efff),linear-gradient(#c4dcff,#c4dcff),linear-gradient(#98c3fb,#98c3fb),linear-gradient(#70a9f8,#70a9f8);
}
#we12History .wh-stat:nth-child(3)::after{
 background-image:linear-gradient(#f0e5ff,#f0e5ff),linear-gradient(#e2cbff,#e2cbff),linear-gradient(#caa5ff,#caa5ff),linear-gradient(#ae83f4,#ae83f4);
}
#we12History .wh-stat:nth-child(4)::after{
 background-image:linear-gradient(#ffedd3,#ffedd3),linear-gradient(#ffe0b2,#ffe0b2),linear-gradient(#ffc77c,#ffc77c),linear-gradient(#ffa943,#ffa943);
}
#we12History .wh-filters{
  display:grid!important;
  grid-template-columns:1.03fr .80fr .80fr 1.18fr 1.10fr auto!important;
  align-items:end!important;gap:15px!important;
  padding:13px 18px!important;margin-bottom:12px!important;
  background:#fff!important;border:1px solid #e2eaf4!important;
  border-radius:13px!important;box-shadow:0 6px 17px rgba(44,86,134,.025)!important;
}
#we12History .wh-field{font-size:12px!important;font-weight:800!important;color:#182d64!important;line-height:1.25!important;}
#we12History .wh-field input,#we12History .wh-field select{
  height:42px!important;margin-top:7px!important;
  border:1px solid #d8e4f5!important;border-radius:9px!important;
  background-color:#fff!important;color:#2c4b91!important;
  font-size:12.5px!important;font-weight:650!important;
  padding:0 28px 0 41px!important;
  background-repeat:no-repeat!important;
  background-position:12px center!important;
  background-size:19px 19px!important;
}
#we12History .wh-field select:disabled{background-color:#f8fbff!important;color:#7390bb!important;cursor:not-allowed;opacity:1!important;}
#we12History .wh-reset{
  height:42px!important;display:inline-flex!important;align-items:center!important;
  justify-content:center!important;gap:7px!important;
  padding:0 18px!important;white-space:nowrap!important;
  border-radius:9px!important;border:1px solid #d7e4f6!important;
  background:#fff!important;color:#192d67!important;
  font-size:12.5px!important;font-weight:800!important;
}
@media(max-width:1400px){
 #we12History .wh-stat::after{right:9px;opacity:.5}
 #we12History .wh-stat-text{padding-right:35px}
 #we12History .wh-filters{gap:9px!important}
}
@media(max-width:1250px){
 #we12History .wh-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #we12History .wh-filters{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 #we12History .wh-stat-text{padding-right:64px}
}
@media(max-width:760px){
 #we12History .wh-stats{grid-template-columns:1fr!important}
 #we12History .wh-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #we12History .wh-stat::after{opacity:.75}
}
@media(max-width:480px){#we12History .wh-filters{grid-template-columns:1fr!important}}

#we12History #wh-period,#we12History #wh-start,#we12History #wh-end{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23123a88%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2216%22%20rx%3D%222%22/%3E%3Cpath%20d%3D%22M8%202v6M16%202v6M3%2011h18%22/%3E%3C/svg%3E")!important;}
#we12History .wh-filters .wh-field:nth-child(4) select{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23123a88%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%209%202-5h14l2%205v3H3V9Z%22/%3E%3Cpath%20d%3D%22M5%2012v8h14v-8M9%2020v-6h6v6%22/%3E%3C/svg%3E")!important;}
#we12History .wh-filters .wh-field:nth-child(5) select{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23123a88%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%204h18l-7%208v6l-4%202v-8L3%204Z%22/%3E%3C/svg%3E")!important;}

/* WE12_HISTORY_COMPARACAO_V4 */
#we12History .wh-stat-note{
  display:none!important;
}
#we12History .wh-stat-delta{
  font-size:11px!important;
  font-weight:700!important;
  line-height:1.3!important;
  margin-top:3px!important;
  white-space:normal!important;
}
#we12History .wh-stat-delta.wh-up{
  color:#00a95d!important;
}
#we12History .wh-stat-delta.wh-down{
  color:#ef3852!important;
}
#we12History .wh-stat-delta.wh-neutral{
  color:#5e80aa!important;
}
#we12History .wh-stat:nth-child(3) .wh-stat-icon .wh-icon{
  width:32px!important;
  height:32px!important;
  stroke:#7335fa!important;
  stroke-width:2.2!important;
}
#we12History .wh-stat-text{
  padding-right:48px!important;
}
