/* Class data card: the class list, then one student's strengths and difficulties */
:is(body.page-lab-card-class-data, body.page-schools) #students .mini.cd {
  display: block;
  padding: 0;
  background: #f6ead8;
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-v {
  position: absolute;
  inset: 0;
  padding: 15px 14px;
  transition:
    opacity 0.45s ease,
    transform 0.55s var(--ease);
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-one {
  opacity: 0;
  transform: translateX(24px);
  pointer-events: none;
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd.s-one .cd-list {
  opacity: 0;
  transform: translateX(-24px);
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd.s-one .cd-one {
  opacity: 1;
  transform: none;
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-av {
  flex: none;
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-av svg {
  display: block;
  width: 100%;
  height: 100%;
}
/* list */
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-hd {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0 6px 8px;
  font-size: 14px;
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-hd b {
  font-weight: 700;
  letter-spacing: -0.01em;
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-hd span {
  font-size: 12.5px;
  color: var(--muted);
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-row {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 10px 0 6px;
  border-radius: 10px;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-nm {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-nm b {
  font-size: 14px;
  font-weight: 600;
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-nm small {
  font-size: 12px;
  color: var(--muted);
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-row.warn small {
  color: #b04600;
  font-weight: 600;
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-g {
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-row.warn .cd-g {
  color: #b04600;
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-row.hit {
  background: #fff;
  transform: scale(0.98);
}
/* one student */
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-bk {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-left: -4px;
  border-radius: 8px;
  transition: background 0.2s ease;
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-bk svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-bk.hit {
  background: #fff;
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-pic .cd-av {
  width: 40px;
  height: 40px;
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-who {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-who b {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-who small {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-chip {
  flex: none;
  padding: 4px 9px;
  border-radius: 7px;
  background: rgba(18, 24, 21, 0.07);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-chip.warn {
  background: var(--orange);
  color: #fff;
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  margin-top: 14px;
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-col {
  padding: 12px 11px 14px;
  border-radius: 12px;
  background: #fff;
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-lb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-tp + .cd-tp {
  margin-top: 12px;
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-tl {
  display: flex;
  justify-content: space-between;
  gap: 7px;
  letter-spacing: -0.01em;
  margin: 0 0 7px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-tv {
  font-variant-numeric: tabular-nums;
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-bar {
  height: 6px;
  border-radius: 6px;
  background: rgba(18, 24, 21, 0.08);
  overflow: hidden;
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-bar i {
  display: block;
  height: 100%;
  border-radius: 6px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease) 0.35s;
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-col.bad .cd-bar i {
  background: var(--orange);
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-col.bad .cd-tv {
  color: #b04600;
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd.s-one .cd-bar i {
  transform: scaleX(var(--v));
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-why {
  margin-top: 12px;
  padding: 0 2px;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--body);
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-why b {
  font-weight: 600;
  color: var(--ink);
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd.now * {
  transition: none !important;
}
@media (max-width: 600px) {
  :is(body.page-lab-card-class-data, body.page-schools) #students .cd-tl {
    white-space: normal;
    line-height: 1.15;
  }
  :is(body.page-lab-card-class-data, body.page-schools) #students .cd-tl img {
    width: 20px;
    height: 20px;
  }
  :is(body.page-lab-card-class-data, body.page-schools) #students .cd-tp + .cd-tp {
    margin-top: 9px;
  }
  :is(body.page-lab-card-class-data, body.page-schools) #students .cd-chip {
    padding: 3px 7px;
    font-size: 11.5px;
  }
  :is(body.page-lab-card-class-data, body.page-schools) #students .cd-top {
    gap: 8px;
  }
  :is(body.page-lab-card-class-data, body.page-schools) #students .cd-col {
    padding: 12px 11px 14px;
  }
  :is(body.page-lab-card-class-data, body.page-schools) #students .cd-tp + .cd-tp {
    margin-top: 11px;
  }
  :is(body.page-lab-card-class-data, body.page-schools) #students .cd-why {
    margin-top: 11px;
  }
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-lb img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-tl {
  align-items: center;
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-tl img {
  flex: none;
  width: 22px;
  height: 22px;
  object-fit: contain;
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-tn {
  flex: 1;
  min-width: 0;
  line-height: 1.15;
}
:is(body.page-lab-card-class-data, body.page-schools) #students .cd-tv {
  flex: none;
}
