/* History page: hide days with no incidents */
.incidents-list .status-day.no-incidents {
  display: none;
}

/* Always hide unresolved incidents before first paint */
.unresolved-incidents {
  visibility: hidden;
}

/* Reveal once JS marks ready */
html.sp-recolor-ready .unresolved-incidents {
  visibility: visible;
}

/* If JS fails, auto-reveal after 2s */
.unresolved-incidents {
  visibility: hidden;
  animation: spAutoReveal 0s linear 2s forwards;
}

@keyframes spAutoReveal {
  to { visibility: visible; }
}

/* If JS succeeds, show immediately (and cancel the fallback animation) */
html.sp-recolor-ready .unresolved-incidents {
  visibility: visible;
  animation: none;
}