/* Assignment overview card: a student's chat with the tutor, then the teacher's real "What they showed the tutor" panel (ChatWorkSummary) */
body.page-lab-card-assignment-overview #students .wrap {
  width: 100%;
}
:is(body.page-lab-card-assignment-overview, body.page-schools) #students .mini.ao {
  display: block;
  padding: 0;
}
:is(body.page-lab-card-assignment-overview, body.page-schools) .ao-chat,
:is(body.page-lab-card-assignment-overview, body.page-schools) .ao-sum {
  position: absolute;
  left: 10px;
  right: 10px;
  transition:
    opacity 0.5s ease,
    transform 0.7s var(--ease);
}
/* chat scene */
:is(body.page-lab-card-assignment-overview, body.page-schools) .ao-chat {
  top: 16px;
  bottom: 16px;
  padding: 0 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
}
:is(body.page-lab-card-assignment-overview, body.page-schools) .ao-b {
  max-width: 84%;
  padding: 9px 14px;
  border-radius: 17px;
  border-bottom-left-radius: 6px;
  background: #fff;
  box-shadow: 0 6px 16px -12px rgba(120, 50, 0, 0.25);
  font-size: 14.5px;
  line-height: 1.35;
  color: var(--ink);
}
:is(body.page-lab-card-assignment-overview, body.page-schools) .ao-b.me {
  border-radius: 17px;
  border-bottom-right-radius: 6px;
  background: var(--orange);
  color: #fff;
}
:is(body.page-lab-card-assignment-overview, body.page-schools) .ao-r {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
:is(body.page-lab-card-assignment-overview, body.page-schools) .ao-r img {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 12%;
  background: #efdcc0;
  box-shadow: 0 0 0 2px #fff;
}
:is(body.page-lab-card-assignment-overview, body.page-schools) [data-s] {
  transition:
    opacity 0.4s ease,
    transform 0.5s var(--ease);
}
/* summary scene: the real panel, white card on the cream frame */
:is(body.page-lab-card-assignment-overview, body.page-schools) .ao-sum {
  top: 10px;
  bottom: 10px;
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 26px -18px rgba(120, 50, 0, 0.4);
}
:is(body.page-lab-card-assignment-overview, body.page-schools) .ao-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
:is(body.page-lab-card-assignment-overview, body.page-schools) .ao-h h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
}
:is(body.page-lab-card-assignment-overview, body.page-schools) .ao-n {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
:is(body.page-lab-card-assignment-overview, body.page-schools) .ao-sum ul {
  list-style: none;
  margin: 10px 0 16px;
  padding: 0;
  display: grid;
  gap: 11px;
}
:is(body.page-lab-card-assignment-overview, body.page-schools) .ao-sum li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
:is(body.page-lab-card-assignment-overview, body.page-schools) .ao-i {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 0;
}
:is(body.page-lab-card-assignment-overview, body.page-schools) .ao-i img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition:
    opacity 0.3s ease,
    transform 0.45s var(--ease);
}
:is(body.page-lab-card-assignment-overview, body.page-schools) .ao-i .i1 {
  opacity: 0;
  transform: scale(0.4);
}
:is(body.page-lab-card-assignment-overview, body.page-schools) #students .ao-sum p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.3;
  text-wrap: pretty;
  color: var(--muted);
  transition: color 0.3s ease;
}
:is(body.page-lab-card-assignment-overview, body.page-schools) .ao-sum small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.3;
  color: var(--muted);
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.35s ease 0.15s,
    transform 0.45s var(--ease) 0.15s;
}
:is(body.page-lab-card-assignment-overview, body.page-schools) .ao-sum li.on .i0 {
  opacity: 0;
  transform: scale(0.4);
}
:is(body.page-lab-card-assignment-overview, body.page-schools) .ao-sum li.on .i1 {
  opacity: 1;
  transform: none;
}
:is(body.page-lab-card-assignment-overview, body.page-schools) .ao-sum li.on small {
  opacity: 1;
  transform: none;
}
:is(body.page-lab-card-assignment-overview, body.page-schools)
  #students
  .ao-sum
  li.on[data-o='done']
  p {
  color: var(--ink);
}
/* scenes: .s-chat shows the chat, .s-sum the panel */
:is(body.page-lab-card-assignment-overview, body.page-schools) .ao.s-sum .ao-chat {
  opacity: 0;
  transform: translateY(-24px);
}
:is(body.page-lab-card-assignment-overview, body.page-schools) .ao:not(.s-sum) .ao-sum {
  opacity: 0;
  transform: translateY(28px);
}
:is(body.page-lab-card-assignment-overview, body.page-schools) .ao.pre [data-s] {
  opacity: 0;
  transform: translateY(10px);
}
:is(body.page-lab-card-assignment-overview, body.page-schools) .ao [data-s].in {
  opacity: 1;
  transform: none;
}
:is(body.page-lab-card-assignment-overview, body.page-schools) .ao.now * {
  transition: none !important;
}
/* whose work this is: the selected student, as in the real student list */
:is(body.page-lab-card-assignment-overview, body.page-schools) .ao-st {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
}
:is(body.page-lab-card-assignment-overview, body.page-schools) .ao-st b {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
:is(body.page-lab-card-assignment-overview, body.page-schools) .ao-ok {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 7px;
  background: #dcf3e2;
  font-size: 11.5px;
  font-weight: 600;
  color: #1d7a3e;
}
/* the real "View Full Conversation" button: pressed at the end of the loop, back to the chat */
:is(body.page-lab-card-assignment-overview, body.page-schools) .ao-go {
  align-self: flex-start;
  margin-top: auto;
  position: relative;
  top: 0;
  padding: 7px 13px;
  border-radius: 9px;
  box-shadow: inset 0 0 0 1.5px rgba(18, 24, 21, 0.16);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.2s ease;
}
:is(body.page-lab-card-assignment-overview, body.page-schools) .ao.press .ao-go {
  background: var(--orange);
  color: #fff;
  box-shadow: none;
  transform: scale(0.96);
}
/* the section's own avatars: the illustrated student from the Subject tutor card, its tutor */
:is(body.page-lab-card-assignment-overview, body.page-schools) .ao-r.me {
  justify-content: flex-end;
}
:is(body.page-lab-card-assignment-overview, body.page-schools) .ao-r .ao-b {
  max-width: none;
}
:is(body.page-lab-card-assignment-overview, body.page-schools) .ao-r {
  max-width: 100%;
}
:is(body.page-lab-card-assignment-overview, body.page-schools) .ao-ava {
  flex: none;
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #fff;
}
:is(body.page-lab-card-assignment-overview, body.page-schools) .ao-ava svg {
  display: block;
  width: 100%;
  height: 100%;
}
:is(body.page-lab-card-assignment-overview, body.page-schools) .ao-st .ao-ava {
  width: 26px;
  height: 26px;
  box-shadow: none;
}
@media (max-width: 600px) {
  :is(body.page-lab-card-assignment-overview, body.page-schools) .ao-b {
    font-size: 14px;
    padding: 9px 13px;
    text-wrap: balance;
  }
  :is(body.page-lab-card-assignment-overview, body.page-schools) .ao-st {
    margin-bottom: 10px;
  }
  :is(body.page-lab-card-assignment-overview, body.page-schools) .ao-sum ul {
    gap: 8px;
    margin-bottom: 12px;
  }
}
