.lab-page{
      color: white;
}

.lab-menu{
      position: sticky;
      top: 80px;
}

.lab-header{
      display: flex;
      align-items: center;
      gap: 18px;
      margin-bottom: 18px;
      padding-bottom: 18px;
      border-bottom: 1px solid rgba(255,255,255,0.18);
}

.lab-group-mark{
      width: 100px;
      height: 100px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
}

.lab-group-mark img{
      width: 100%;
      max-height: 100%;
      object-fit: contain;
}

.lab-eyebrow{
      color: #81d8fb;
      font-size: 14px;
      margin-bottom: 6px;
}

.lab-header h1{
      margin: 0;
      color: white;
      font-size: 34px;
      line-height: 1.25em;
      font-weight: 600;
}

.lab-subtitle{
      margin-top: 4px;
      color: rgba(255,255,255,0.74);
      line-height: 1.5em;
}

.lab-switch{
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 22px;
}

.lab-switch a,
.lab-switch span{
      display: inline-flex;
      align-items: center;
      gap: 6px;
      min-height: 38px;
      padding: 8px 13px;
      border: 1px solid rgba(129,216,251,0.38);
      border-radius: 8px;
      color: white;
      background: rgba(255,255,255,0.045);
}

.lab-switch span{
      color: #81d8fb;
      background: rgba(1,130,179,0.18);
}

.lab-list{
      display: flex;
      flex-direction: column;
      gap: 16px;
}

.lab-card{
      display: grid;
      grid-template-columns: minmax(210px, 28%) 1fr;
      gap: 20px;
      padding: 18px 20px;
      background: rgba(255,255,255,0.055);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 8px;
}

.lab-card-main,
.lab-intro{
      min-width: 0;
}

.lab-label{
      color: rgba(255,255,255,0.58);
      font-size: 14px;
      margin-bottom: 6px;
}

.lab-card h2{
      margin: 0 0 12px;
      color: #81d8fb;
      font-size: 22px;
      line-height: 1.35em;
      font-weight: 600;
      overflow-wrap: anywhere;
}

.lab-card h2 a{
      color: #81d8fb;
}

.lab-leader{
      color: rgba(255,255,255,0.86);
      line-height: 1.55em;
}

.lab-leader span{
      display: block;
      color: rgba(255,255,255,0.58);
      font-size: 14px;
}

.lab-rich{
      color: rgba(255,255,255,0.9);
      line-height: 1.7em;
}

.lab-rich p{
      margin-bottom: 0.5em;
}

.lab-rich p:last-child{
      margin-bottom: 0;
}

.lab-rich a{
      overflow-wrap: anywhere;
}

.lab-empty{
      padding: 24px;
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 8px;
      color: rgba(255,255,255,0.72);
      background: rgba(255,255,255,0.045);
}

@media( max-width:768px ){
      .lab-header{
            display: none;
      }

      .lab-card{
            grid-template-columns: 1fr;
            gap: 12px;
            padding: 16px;
      }

      .lab-intro{
            padding-top: 12px;
            border-top: 1px solid rgba(255,255,255,0.1);
      }
}

@media( max-width:576px ){
      .lab-switch{
            gap: 8px;
      }

      .lab-switch a,
      .lab-switch span{
            width: 100%;
            justify-content: center;
      }
}
