.teacher {
  padding-bottom: 40px;
}
.teacher .heading {
  align-items: center;
  gap: 20px;
}
.teacher .roomForm p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}
.teacher .roomForm .privacy {
  font-size: 12px;
}
.teacher select {
  font: inherit;
  color: var(--ink);
  background: white;
  border: 1px solid #abb8a9;
  border-radius: 8px;
  padding: 9px;
  max-width: 100%;
}
.teacher #switcher,
.teachBar,
.teachBar nav,
.sync,
.reportTools,
.groupTop,
.studentHead,
.teachingSummary {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.teachBar {
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 13px;
}
.teachBar nav {
  gap: 5px;
}
.teacher #switcher label,
.reportTools label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.sync {
  font-size: 12px;
  color: var(--muted);
}
.sync button,
#switcher button {
  min-height: 36px;
  padding: 7px 12px;
}
.teachingSummary {
  margin: 18px 0;
  gap: 12px 22px;
  font-size: 14px;
}
.teachingSummary b {
  color: var(--teal);
  font-size: 18px;
}
.groupGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 14px;
}
.groupCard,
.studentRow {
  border: 1px solid #d0dacb;
  background: #fffdf6;
  border-radius: 13px;
}
.groupCard {
  padding: 17px;
  border-top: 5px solid #a7ba9a;
}
.groupCard.playing {
  border-top-color: #32856b;
}
.groupCard.finished {
  border-top-color: #e2b456;
}
.groupTop {
  justify-content: space-between;
}
.groupTop h2,
.studentHead strong {
  font-size: 18px;
  letter-spacing: -0.5px;
  margin: 0;
}
.phaseBadge {
  background: #e8eddf;
  color: #405941;
  padding: 4px 9px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 750;
}
.codeLine {
  margin: 14px 0 8px;
  color: var(--muted);
  font-size: 12px;
}
.codeLine b {
  font:
    800 28px ui-rounded,
    system-ui;
  letter-spacing: 3px;
  color: #244d42;
  margin-left: 5px;
}
.groupCard p {
  font-size: 14px;
  line-height: 1.5;
  margin: 7px 0;
}
.groupCard progress {
  height: 8px;
  width: 100%;
  accent-color: #337359;
}
.groupCard .members,
.footnote,
.emptyNote {
  color: var(--muted);
  font-size: 13px;
}
.footnote {
  margin: 18px 0;
  line-height: 1.65;
}
.reportTools {
  margin: 16px 0;
}
.studentRow {
  padding: 0 16px;
  margin: 8px 0;
}
.studentRow summary {
  padding: 14px 0;
  cursor: pointer;
}
.studentHead {
  display: inline-flex;
  gap: 8px;
}
.studentHead small {
  color: var(--muted);
  font-size: 12px;
}
.studentHead .signal {
  color: #925222;
  font-weight: 750;
}
.response {
  border-top: 1px solid var(--line);
  padding: 12px 0 14px;
}
.response p {
  margin: 5px 0;
  line-height: 1.6;
  font-size: 14px;
}
.response h3 {
  font-size: 16px;
  line-height: 1.5;
  margin: 5px 0;
}
.response small {
  color: #657658;
}
.tag {
  display: inline-block;
  background: #f8e7cc;
  color: #78501f;
  border-radius: 7px;
  margin: 3px 4px 3px 0;
  padding: 4px 7px;
  font-size: 12px;
}
.tag.neutral {
  background: #e6eee1;
  color: #476449;
}
.groupIssue {
  color: #8b432b;
  font-size: 13px;
}
.groupCard .linkButton {
  padding: 4px 0;
  color: var(--teal);
  background: none;
  font-weight: 750;
}
.teacher select:focus-visible,
.teacher input:focus-visible,
.studentRow summary:focus-visible {
  outline: 3px solid #3188cf;
  outline-offset: 2px;
}
.teacher #switcher select {
  max-width: 230px;
}
@media (max-width: 760px) {
  .teacher .heading {
    display: grid;
  }
  .teacher .heading p {
    font-size: 14px;
  }
  .teachBar {
    align-items: flex-start;
  }
  .teacher #switcher select {
    max-width: 180px;
  }
  .sync {
    gap: 6px;
  }
  .teacher .postcard {
    height: 120px;
  }
}

@media (max-width: 760px) {
  .top .tools a.help {
    width: auto;
    padding: 0 9px;
    white-space: nowrap;
    font-size: 12px;
  }
}
