
#uptimeHistoryCard{
  overflow:hidden;
}
.uptime-matrix-wrap{
  overflow-x:auto;
  padding-bottom:4px;
}
.uptime-matrix{
  display:grid;
  grid-template-columns:minmax(130px,160px) repeat(30,22px) minmax(72px,86px);
  gap:5px;
  align-items:center;
  min-width:980px;
}
.uptime-matrix-head{
  color:#78998a;
  font:700 9px/1 ui-monospace,SFMono-Regular,Menlo,monospace;
  text-align:center;
  transform:rotate(-55deg);
  transform-origin:50% 100%;
  height:44px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  white-space:nowrap;
}
.uptime-matrix-label{
  color:#e8fff1;
  font-size:12px;
  font-weight:750;
  white-space:nowrap;
}
.uptime-matrix-cell{
  width:22px;
  height:22px;
  border-radius:6px;
  border:1px solid rgba(255,255,255,.05);
  box-sizing:border-box;
  cursor:help;
  position:relative;
}
.uptime-matrix-cell.no-data{
  background:rgba(255,255,255,.035);
  border-color:rgba(255,255,255,.06);
}
.uptime-matrix-cell.perfect{
  background:rgba(66,255,146,.72);
  border-color:rgba(66,255,146,.95);
}
.uptime-matrix-cell.good{
  background:rgba(255,210,86,.78);
  border-color:rgba(255,210,86,.98);
}
.uptime-matrix-cell.warn{
  background:rgba(255,151,70,.78);
  border-color:rgba(255,151,70,.98);
}
.uptime-matrix-cell.bad{
  background:rgba(255,92,110,.82);
  border-color:rgba(255,92,110,.98);
}
.uptime-matrix-summary{
  text-align:right;
  color:#42ff92;
  font-weight:800;
  font-size:12px;
  white-space:nowrap;
}
.uptime-matrix-summary.muted{
  color:#78998a;
}
.uptime-matrix-legend{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
  margin-top:14px;
  color:#8aa597;
  font-size:11px;
}
.uptime-matrix-legend span{
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.uptime-matrix-legend i{
  width:10px;
  height:10px;
  border-radius:3px;
  display:inline-block;
}
.uptime-matrix-note{
  margin-top:10px;
  color:#78998a;
  font-size:11px;
  line-height:1.5;
}
.uptime-matrix-tooltip{
  position:fixed;
  z-index:100000;
  pointer-events:none;
  min-width:210px;
  max-width:300px;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid rgba(66,255,146,.18);
  background:rgba(4,13,8,.97);
  color:#eafff2;
  box-shadow:0 14px 40px rgba(0,0,0,.42);
  font-size:11px;
  line-height:1.45;
  opacity:0;
  transform:translateY(4px);
  transition:opacity .12s ease,transform .12s ease;
}
.uptime-matrix-tooltip.show{
  opacity:1;
  transform:none;
}
.uptime-matrix-tooltip b{
  display:block;
  margin-bottom:4px;
  font-size:12px;
}
.uptime-matrix-tooltip .muted{
  color:#88a596;
}
@media(max-width:760px){
  .uptime-matrix{
    grid-template-columns:minmax(110px,130px) repeat(30,20px) minmax(64px,78px);
    gap:4px;
    min-width:900px;
  }
  .uptime-matrix-cell{
    width:20px;
    height:20px;
  }
}


/* LEPool hidden uptime scrollbar */
.uptime-matrix-wrap{
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:none;           /* Firefox */
  -ms-overflow-style:none;        /* alte Edge/IE */
  -webkit-overflow-scrolling:touch;
}

.uptime-matrix-wrap::-webkit-scrollbar{
  width:0;
  height:0;
  display:none;                   /* Chrome / Edge / Safari */
}

