#signalDetailSheet{
  position:fixed;
  inset:0;
  z-index:9999999;
  pointer-events:none;
}

#signalDetailSheet.show{
  pointer-events:auto;
}

.sheetOverlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.55);
  opacity:0;
  transition:.25s;
}

#signalDetailSheet.show .sheetOverlay{
  opacity:1;
}

.signalSheet{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  max-height:86vh;
  overflow:auto;
  padding:18px;
  border-radius:30px 30px 0 0;
  background:#111722;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 -30px 80px rgba(0,0,0,.65);
  transform:translateY(105%);
  transition:.28s;
}

#signalDetailSheet.show .signalSheet{
  transform:translateY(0);
}

.sheetHandle{
  width:46px;
  height:5px;
  border-radius:10px;
  background:rgba(255,255,255,.25);
  margin:0 auto 18px;
}

.detailTop{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:16px;
}

.detailTop small{
  display:block;
  opacity:.6;
  margin-bottom:6px;
}

.detailTop b{
  color:#ffd75a;
  font-size:28px;
}

.detailLevels{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin:16px 0;
}

.detailLevels div{
  padding:14px;
  border-radius:18px;
  background:rgba(255,255,255,.055);
  text-align:center;
}

.detailLevels span{
  display:block;
  opacity:.65;
  margin-bottom:8px;
}

.detailLevels b{
  display:block;
  color:#ffd75a;
  font-size:20px;
}

.detailLevels button{
  margin-top:10px;
  height:38px;
  border-radius:12px;
  width:100%;
}

.rawSignalBox{
  margin-top:16px;
  padding:16px;
  border-radius:18px;
  background:rgba(255,255,255,.045);
}

.rawSignalBox b{
  color:#ffd75a;
}

.rawSignalBox pre{
  direction:ltr;
  text-align:left;
  white-space:pre-wrap;
  font-size:12px;
  max-height:240px;
  overflow:auto;
  color:#d1d5db;
}

.calendarBox{
  margin:18px 0;
  padding:18px;
  border-radius:24px;
  background:rgba(18,22,32,.80);
  border:1px solid rgba(255,255,255,.08);
}

.perfCalendar{
  display:grid;
  grid-template-columns:repeat(10,1fr);
  gap:7px;
}

.dayCell{
  aspect-ratio:1;
  border-radius:10px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  font-size:10px;
  background:rgba(255,255,255,.05);
}

.dayCell span{
  opacity:.75;
}

.dayCell small{
  margin-top:3px;
  font-size:9px;
}

.dayCell.good{
  background:rgba(0,208,132,.22);
  color:#00d084;
}

.dayCell.bad{
  background:rgba(255,93,93,.22);
  color:#ff5d5d;
}

.dayCell.neutral{
  background:rgba(255,215,90,.16);
  color:#ffd75a;
}

.dayCell.empty{
  opacity:.45;
}

@media(max-width:520px){
  .detailLevels{
    grid-template-columns:1fr;
  }

  .perfCalendar{
    grid-template-columns:repeat(6,1fr);
  }
}

.detailInfoGrid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
  margin:16px 0;
}

.detailInfoGrid div{
  padding:14px;
  border-radius:18px;
  background:rgba(255,255,255,.05);
}

.detailInfoGrid span{
  display:block;
  opacity:.65;
  font-size:12px;
  margin-bottom:8px;
}

.detailInfoGrid b{
  color:#ffd75a;
  font-size:15px;
  word-break:break-word;
}

.detailShareBtn{
  width:100%;
  height:52px;
  border-radius:18px;
  margin-top:14px;
  font-weight:900;
}

@media(max-width:520px){
  .detailInfoGrid{
    grid-template-columns:1fr;
  }
}

