/* Preview-only: slower site-card energy motion and tighter VPP event rows. */

/* v6 replaces the older card-refine pulse canvas. */
.site-energy-network-canvas-v5 {
  opacity: 0 !important;
  visibility: hidden !important;
}
.site-energy-network-canvas-v6 {
  position: absolute;
  z-index: 9;
  top: 0;
  left: 0;
  pointer-events: none;
}

/* Keep two VPP events across while making every event a single compact line. */
.profile .vpp-event.vpp-event-history.vpp-event-history-v2 {
  gap: 5px;
  padding: 7px 12px 8px;
}
.profile .vpp-event.vpp-event-history.vpp-event-history-v2 > strong {
  color: #3548aa;
  font-size: 10.5px;
  line-height: 1;
}
.profile .vpp-event.vpp-event-history.vpp-event-history-v2 .vpp-event-history-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
}
.profile .vpp-event.vpp-event-history.vpp-event-history-v2 .vpp-event-history-list > span {
  min-height: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 3px 7px;
  border: 1px solid #d5daef;
  border-radius: 8px;
  background: #f7f8fe;
  color: #61708a;
  font-size: 8px;
  font-weight: 750;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}
.profile .vpp-event.vpp-event-history.vpp-event-history-v2 .vpp-event-date {
  color: #3548aa;
  font-size: 8px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}
.profile .vpp-event.vpp-event-history.vpp-event-history-v2 .vpp-event-sent,
.profile .vpp-event.vpp-event-history.vpp-event-history-v2 .vpp-event-grid-copy {
  color: #627089;
  font-size: 8px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
}
.profile .vpp-event.vpp-event-history.vpp-event-history-v2 .vpp-event-energy-value {
  color: #e1a500;
  font-family: "Oswald", sans-serif;
  font-size: 9.4px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 0 0.01px rgba(162,104,0,.4);
  white-space: nowrap;
}

@media (max-width: 430px) {
  .profile .vpp-event.vpp-event-history.vpp-event-history-v2 {
    padding-inline: 10px;
  }
  .profile .vpp-event.vpp-event-history.vpp-event-history-v2 .vpp-event-history-list > span,
  .profile .vpp-event.vpp-event-history.vpp-event-history-v2 .vpp-event-date,
  .profile .vpp-event.vpp-event-history.vpp-event-history-v2 .vpp-event-sent,
  .profile .vpp-event.vpp-event-history.vpp-event-history-v2 .vpp-event-grid-copy {
    font-size: 7.6px;
  }
  .profile .vpp-event.vpp-event-history.vpp-event-history-v2 .vpp-event-energy-value {
    font-size: 9px;
  }
}
