﻿.tl-resource-panel{
  position:fixed;
  top:72px;
  left:0;
  bottom:0;
  width:min(560px,94vw);
  background:#fff;
  border-right:1px solid var(--tl-border);
  box-shadow:18px 0 48px rgba(15,95,74,.18);
  z-index:1085;
  transform:translateX(-104%);
  transition:transform .22s ease;
  display:flex;
  flex-direction:column;
}
.tl-resource-panel.open{transform:translateX(0)}
.tl-resource-panel-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:1rem 1.1rem;
  border-bottom:1px solid var(--tl-border);
}
.tl-resource-panel-list{
  max-height:240px;
  overflow:auto;
  padding:.75rem;
  border-bottom:1px solid var(--tl-border);
  background:#fbfcfa;
}
.tl-resource-item{
  display:block;
  width:100%;
  text-align:right;
  border:1px solid var(--tl-border);
  background:#fff;
  border-radius:12px;
  padding:.75rem;
  margin-bottom:.5rem;
  color:var(--tl-green);
  font-weight:800;
}
.tl-resource-item small{
  display:block;
  color:var(--tl-muted);
  font-weight:500;
  margin-top:.15rem;
}
.tl-resource-item.active{
  background:var(--tl-green);
  border-color:var(--tl-green);
  color:#fff;
}
.tl-resource-item.active small{color:rgba(255,255,255,.75)}
.tl-resource-frame{
  width:100%;
  flex:1;
  border:0;
  min-height:420px;
  background:#f3f5f3;
}
.tl-resource-empty{
  flex:1;
  display:grid;
  place-items:center;
  text-align:center;
  padding:2rem;
  color:var(--tl-muted);
}
.tl-resource-backdrop{
  position:fixed;
  inset:0;
  background:rgba(6,35,27,.28);
  z-index:1080;
  display:none;
}
.tl-resource-backdrop.show{display:block}

.tl-today-class{
  display:grid;
  grid-template-columns:130px minmax(0,1fr) auto;
  align-items:center;
  gap:1rem;
  padding:1rem 1.15rem;
  border:1px solid var(--tl-border);
  border-radius:18px;
  background:#fff;
}
.tl-today-class-time{
  font-weight:900;
  color:var(--tl-green);
  direction:ltr;
  text-align:right;
}
.tl-today-class-main h3{
  font-size:1.08rem;
  margin:0 0 .2rem;
  color:var(--tl-green);
  font-weight:900;
}
.tl-today-class-main p{
  margin:0;
  color:var(--tl-muted);
  font-size:.84rem;
}
.tl-today-class-actions{
  display:flex;
  gap:.55rem;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
}
@media(max-width:720px){
  .tl-resource-panel{top:64px;width:100%}
  .tl-today-class{grid-template-columns:1fr}
  .tl-today-class-actions{justify-content:flex-start}
}