.main {
  min-width: 0;
  min-height: 100vh;
  padding: 24px 26px 28px;
}

.view {
  display: none;
}

.view.is-active {
  display: block;
}

.list-view {
  min-height: calc(100vh - 52px);
  padding: 0 0 2px;
}

.page-header,
.detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.page-title-area {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.page-title-area h1 {
  margin: 0;
  white-space: nowrap;
}

.top-filter-controls {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.top-object-switch {
  height: 38px;
  padding: 3px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 5px 12px rgba(57, 78, 136, 0.05);
}

.top-object-switch button {
  height: 30px;
  min-width: 50px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.top-object-switch button:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
}

.top-object-switch button.is-active {
  color: #fff;
  background: #17213a;
  box-shadow: 0 6px 14px rgba(23, 33, 58, 0.16);
}

.top-filter-select {
  position: relative;
  height: 38px;
  min-width: 112px;
  max-width: 184px;
  padding: 0 32px 0 14px;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  box-shadow: 0 5px 12px rgba(57, 78, 136, 0.04);
  cursor: pointer;
}

.top-filter-select::after {
  content: "⌄";
  position: absolute;
  right: 12px;
  top: 50%;
  color: var(--muted);
  font-size: 14px;
  line-height: 1;
  pointer-events: none;
  transform: translateY(-54%);
}

.top-filter-select strong {
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-object-select {
  min-width: 136px;
}

.top-filter-select select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  outline: 0;
  background: transparent;
  color: transparent;
  font: inherit;
  cursor: pointer;
  opacity: 0;
}

.top-search-control {
  width: 240px;
  height: 38px;
  padding: 0 14px 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 1;
  min-width: 190px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 5px 12px rgba(57, 78, 136, 0.04);
}

.top-search-control span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1;
}

.top-search-control input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.top-search-control input::placeholder {
  color: var(--muted-soft);
  font-weight: 700;
}

.detail-header {
  align-items: center;
  padding-top: 4px;
  margin-bottom: 20px;
}

.detail-title-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.eyebrow {
  margin: 0 0 4px;
  color: #7c88a4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 4px;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 900;
}

h2 {
  margin-bottom: 4px;
  font-size: 18px;
}

h3 {
  margin-bottom: 8px;
  font-size: 15px;
}

.page-subtitle,
.panel-header p,
.card-subtitle,
.muted {
  color: var(--muted);
}

.page-subtitle {
  margin-bottom: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.updated-at {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.btn,
.icon-btn,
.quick-chip,
.segment,
.action-btn {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--text);
}

.btn {
  height: 40px;
  padding: 0 18px;
  gap: 6px;
  font-weight: 700;
}

.btn.primary {
  box-shadow: 0 8px 18px rgba(88, 120, 255, 0.26);
}

.btn.secondary {
  background: var(--surface);
  color: var(--primary);
}

.btn.ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary-mid);
}

.btn:disabled,
.action-btn:disabled {
  color: var(--muted-soft);
  background: #eef2f7;
}

.icon-btn {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  font-size: 34px;
  line-height: 1;
  color: #556078;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(57, 78, 136, 0.06);
}

.detail-header h1 {
  font-size: 28px;
  letter-spacing: 0;
}

.icon-btn.small {
  width: 28px;
  height: 28px;
  font-size: 18px;
}

select,
input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  outline: none;
}

select,
input {
  height: 40px;
  padding: 0 12px;
}

textarea {
  min-height: 110px;
  resize: vertical;
  padding: 10px;
}

select:focus,
input:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.classroom-sections {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 620px;
}

.home-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-block-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 900;
}

.home-block-title::before {
  content: "";
  width: 7px;
  height: 18px;
  border-radius: 999px;
  background: var(--primary);
}

.small-title {
  margin-top: 8px;
  font-size: 15px;
}

.home-action {
  height: 34px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  background: #17213a;
  color: #fff;
  font-weight: 900;
  white-space: nowrap;
}

.home-action.secondary {
  background: #fff7ed;
  color: #92400e;
  border: 1px solid rgba(217, 119, 6, 0.22);
}

/* ═══════════════════════════════════════════════════════════════
   组合版：今日课堂 + 待开始课堂 + 课堂回看
   ═══════════════════════════════════════════════════════════════ */

.combined-home {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.combined-status-switch {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0;
  border-radius: 18px;
  background: transparent;
  box-shadow: none;
}

.combined-overview-layout {
  height: min(760px, calc(100vh - 315px));
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 380px);
  gap: 16px;
  align-items: stretch;
}

.combined-main-area,
.combined-side-area {
  min-width: 0;
  min-height: 0;
}

.combined-side-area {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.combined-section {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.combined-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.combined-section-head h3 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 900;
}

.combined-section-head h3::before {
  content: "";
  width: 7px;
  height: 18px;
  border-radius: 999px;
  background: var(--primary);
}

.combined-section.featured .combined-section-head h3::before {
  background: #c98a4b;
}

.combined-section.notStarted .combined-section-head h3::before {
  background: var(--primary);
}

.combined-section-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.combined-section-meta .status-time-filter {
  height: 32px;
}

.combined-section-head span,
.combined-section-meta span {
  color: var(--muted-soft);
  font-size: 13px;
  font-weight: 800;
}

.combined-section-meta button {
  height: 26px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.combined-section-meta button:hover {
  border-color: var(--primary-mid);
  background: var(--primary-weak);
}

.status-time-filter {
  height: 32px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.status-time-filter span,
.status-time-filter em,
.status-time-filter strong {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.status-time-filter strong {
  color: var(--muted-soft);
}

.status-time-filter input {
  width: 112px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
}

.status-time-filter button {
  height: 28px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.combined-load-more {
  align-self: center;
  height: 36px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
}

.combined-load-more:hover,
.status-time-filter button:hover {
  border-color: var(--primary-mid);
  background: var(--primary-weak);
}

.combined-grid {
  min-height: 0;
  overflow: auto;
  padding-right: 2px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 12px;
}

.combined-grid.live {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.combined-grid.single {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.combined-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(57, 78, 136, 0.055);
}

.combined-card[data-id] {
  cursor: pointer;
}

.combined-card[data-id]:hover {
  border-color: var(--primary-mid);
  box-shadow: 0 10px 24px rgba(88, 120, 255, 0.1);
  transform: translateY(-1px);
}

.combined-live-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto auto;
  border-color: rgba(201, 138, 75, 0.14);
  background: #fff;
}

.combined-upcoming-card {
  padding: 14px;
  border-color: rgba(88, 120, 255, 0.18);
  background: #fbfcff;
}

.combined-upcoming-card .combined-card-foot {
  min-height: 34px;
  margin-top: 8px;
  padding-top: 4px;
  border-top: 0;
  justify-content: flex-end;
}

.combined-finished-card {
  padding: 14px;
  background: #fbfcff;
}

.combined-card-top,
.combined-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.combined-card-top time {
  flex-shrink: 0;
  max-width: 142px;
  color: var(--muted-soft);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-align: right;
  white-space: normal;
}

.combined-schedule {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.combined-schedule strong {
  color: var(--primary);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.15;
}

.combined-schedule span {
  color: var(--muted-soft);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.combined-identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}

.live-card-dot {
  display: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: livePulse 2s ease-in-out infinite;
}

.combined-identity strong {
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.combined-task {
  margin-top: 9px;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.combined-live-main {
  margin-top: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-height: 82px;
  border: 1px solid rgba(201, 138, 75, 0.12);
  border-radius: 11px;
  background: #fffaf6;
}

.combined-live-main strong {
  color: var(--text);
  font-size: 20px;
  line-height: 1.25;
}

.combined-live-main strong.good {
  color: var(--green);
}

.combined-live-main strong.danger {
  color: var(--red);
}

.combined-live-main span {
  color: var(--muted);
  font-size: 13px;
}

.combined-card-foot .home-action {
  flex-shrink: 0;
}

.combined-metrics {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 6px;
}

.combined-metrics div {
  padding: 8px 10px;
  border-radius: 10px;
  background: #f5f8ff;
}

.combined-metrics span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.combined-metrics strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
}

.combined-card-foot {
  margin-top: 10px;
  min-height: 40px;
  padding-top: 8px;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
  color: var(--muted);
  font-size: 13px;
}

.combined-live-card .combined-card-foot {
  justify-content: flex-end;
  border-top: 0;
}

.combined-live-card .home-action {
  border: 1px solid rgba(201, 138, 75, 0.26);
  background: #fff8f2;
  color: #9a6330;
}

.combined-upcoming-card .combined-card-foot {
  padding: 10px 12px;
  border-radius: 10px;
  background: #f5f7ff;
}

.combined-upcoming-card .home-action.secondary {
  border-color: rgba(88, 120, 255, 0.26);
  background: #f8faff;
  color: var(--primary);
}

.combined-finished-card .combined-card-foot {
  min-height: 36px;
  margin-top: 8px;
  padding-top: 8px;
  border-top-color: rgba(15, 23, 42, 0.045);
}

.combined-foot-note {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 32px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.combined-card-foot > span:empty {
  display: block;
}

.combined-aux-section {
  min-height: 0;
  padding: 12px 12px 10px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
}

.combined-aux-section.notStarted {
  flex: 0 0 auto;
  border-color: rgba(88, 120, 255, 0.14);
  background: rgba(255, 255, 255, 0.82);
}

.combined-aux-section .combined-section-head {
  margin-bottom: 8px;
}

.combined-aux-section .combined-section-head h3 {
  font-size: 15px;
}

.combined-aux-section .combined-section-head h3::before {
  height: 15px;
  width: 5px;
  background: var(--line-strong);
}

.combined-aux-section.notStarted .combined-section-head h3::before {
  background: var(--primary);
}

.combined-compact-list {
  min-height: 0;
  max-height: 248px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.combined-compact-item {
  min-width: 0;
  padding: 9px 10px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 10px;
  background: #fff;
}

.combined-compact-item[data-id] {
  cursor: pointer;
}

.combined-compact-item time {
  color: var(--muted-soft);
  font-size: 12px;
  font-weight: 900;
}

.compact-schedule {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.compact-schedule strong {
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
}

.compact-schedule span {
  color: var(--muted-soft);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.15;
}

.combined-compact-item strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.combined-compact-item span {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.combined-compact-item strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.combined-compact-item span {
  color: var(--muted);
  font-size: 12px;
}

.combined-compact-item .home-action {
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  white-space: nowrap;
}

.combined-compact-item.upcoming strong {
  font-size: 13px;
}

.combined-compact-item.upcoming span {
  font-size: 11px;
}

.combined-compact-item.upcoming {
  border-color: rgba(88, 120, 255, 0.12);
  background: #fbfcff;
}

.combined-compact-item.upcoming .home-action.secondary {
  border-color: rgba(88, 120, 255, 0.26);
  background: #f8faff;
  color: var(--primary);
}

@media (max-width: 1080px) {
  .combined-overview-layout,
  .combined-grid,
  .combined-grid.live {
    grid-template-columns: 1fr;
  }

  .combined-status-switch {
    justify-content: flex-start;
    width: 100%;
  }

}

.home-empty {
  padding: 22px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.65);
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(22, 163, 74, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
  }
}

.tag,
.mini-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.progress-track {
  height: 9px;
  border-radius: 999px;
  background: #e8edf5;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: var(--value, 0%);
  border-radius: inherit;
  background: var(--primary);
}

.progress-fill.green {
  background: var(--green);
}

.progress-fill.amber {
  background: var(--amber);
}

.progress-fill.red {
  background: var(--red);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted-soft);
  font-size: 11px;
  font-weight: 500;
  padding-top: 4px;
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  margin-top: auto;
}

.empty {
  padding: 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.55);
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 14px;
  margin-bottom: 14px;
}

.tf-type-chip {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.tf-type-chip.class {
  background: var(--primary-weak);
  color: var(--primary);
}

.tf-type-chip.student {
  background: var(--violet-weak);
  color: var(--violet);
}

.tf-avatar-row {
  display: flex;
  gap: 3px;
}

.page-header {
  align-items: center;
  margin-bottom: 26px;
}

.page-title-area {
  display: flex;
  width: 100%;
  gap: 24px;
  flex-wrap: nowrap;
}

.page-title-area h1 {
  font-size: 25px;
  font-weight: 900;
}

.top-filter-controls {
  flex: 1;
  gap: 16px;
  flex-wrap: nowrap;
}

.top-filter-select {
  width: 170px;
  height: 54px;
  min-width: 170px;
  border-color: #dfe6f5;
  background: rgba(255, 255, 255, 0.5);
}

.top-filter-select strong {
  color: #4f5b73;
  font-size: 16px;
}

.top-search-control {
  width: 370px;
  height: 54px;
  margin-left: auto;
  border-color: #dfe6f5;
  background: rgba(255, 255, 255, 0.5);
}

.top-search-control input::placeholder {
  color: #8995ad;
}

.header-actions {
  display: none;
}

.classroom-range-tabs {
  height: 56px;
  display: flex;
  align-items: flex-end;
  gap: 38px;
  border-bottom: 1px solid #d9e1f0;
}

.classroom-range-tabs button {
  position: relative;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #9ca7bc;
  font-size: 18px;
  font-weight: 900;
}

.classroom-range-tabs button.is-active {
  color: #4f63f5;
}

.classroom-range-tabs button.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  border-radius: 999px;
  background: #6278ff;
}

.combined-home {
  gap: 24px;
}

.combined-overview-layout {
  height: auto;
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 24px;
}

.combined-section,
.combined-aux-section {
  padding: 26px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: none;
}

.combined-section-head {
  margin-bottom: 12px;
}

.combined-section-head h3 {
  font-size: 21px;
  font-weight: 900;
}

.combined-section-head h3::before {
  width: 5px;
  height: 22px;
}

.combined-section.featured .combined-section-head h3::before {
  background: #e3a24b;
}

.combined-section.notStarted .combined-section-head h3::before,
.combined-aux-section.notStarted .combined-section-head h3::before {
  background: #6278ff;
}

.combined-section-meta span {
  color: #8f9bb4;
  font-size: 15px;
}

.combined-grid.live {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.combined-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.combined-card {
  min-height: 184px;
  padding: 24px 26px;
  border-color: #e1e7f1;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.combined-live-card {
  border-color: #e1e7f1;
  background: #fff;
}

.combined-card[data-id]:hover {
  transform: none;
}

.combined-identity strong {
  font-size: 19px;
}

.combined-card-top time {
  color: #8995ad;
  font-size: 16px;
  font-weight: 900;
}

.combined-task {
  margin-top: 12px;
  color: #6b7894;
  font-size: 16px;
  font-weight: 700;
}

.combined-live-main {
  min-height: 66px;
  margin-top: 24px;
  padding: 0 158px 0 18px;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: #f7f9ff;
}

.combined-live-main strong {
  font-size: 20px;
}

.combined-live-main span {
  font-size: 16px;
}

.combined-live-card .combined-card-foot {
  position: absolute;
  right: 42px;
  bottom: 50px;
  margin: 0;
  padding: 0;
  min-height: auto;
  border: 0;
}

.combined-live-card .home-action {
  height: 40px;
  padding: 0 22px;
  border: 1px solid #9fb3ff;
  background: #fff;
  color: #5a70ff;
}

.combined-upcoming-card {
  min-height: 178px;
  border-color: #e1e7f1;
  background: #fff;
}

.combined-upcoming-card .combined-card-foot {
  min-height: 58px;
  margin-top: 22px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  background: #f7f9ff;
}

.combined-upcoming-card .combined-schedule {
  flex-direction: row;
  align-items: center;
  gap: 6px;
}

.combined-upcoming-card .combined-schedule::before {
  content: "◷";
  color: #111827;
  font-size: 17px;
}

.combined-upcoming-card .combined-schedule strong,
.combined-upcoming-card .combined-schedule span {
  color: #111827;
  font-size: 17px;
  font-weight: 800;
}

.combined-upcoming-card .combined-schedule span::before {
  content: "-";
  margin-right: 0;
}

.combined-upcoming-card .home-action.secondary,
.combined-compact-item.upcoming .home-action.secondary {
  border: 1px solid #9fb3ff;
  background: #fff;
  color: #5a70ff;
}

.combined-metrics {
  min-height: 68px;
  padding: 0 18px;
  align-items: center;
  border-radius: 8px;
  background: #f7f9ff;
}

.combined-metrics div {
  padding: 0 18px;
  border-radius: 0;
  background: transparent;
  border-right: 1px solid #dfe5ef;
}

.combined-metrics div:last-child {
  border-right: 0;
}

.combined-metrics span {
  color: #8f9bb4;
  font-size: 15px;
  font-weight: 800;
}

.combined-metrics strong {
  color: #111827;
  font-size: 24px;
}

.combined-finished-card .combined-card-foot {
  position: absolute;
  right: 42px;
  bottom: 50px;
  border: 0;
  padding: 0;
  margin: 0;
}

.combined-finished-card {
  position: relative;
}

.combined-finished-card .home-action {
  height: 40px;
  border: 1px solid #9fb3ff;
  background: #fff;
  color: #5a70ff;
}

.combined-aux-section {
  padding: 26px 26px 24px;
}

.combined-compact-list {
  max-height: none;
  gap: 0;
}

.combined-compact-item {
  min-height: 82px;
  padding: 8px 0;
  grid-template-columns: 76px minmax(0, 1fr) 22px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.combined-compact-item + .combined-compact-item {
  margin-top: 14px;
}

.combined-compact-item.upcoming {
  border: 0;
  background: transparent;
}

.compact-schedule strong {
  color: #111827;
  font-size: 20px;
  font-weight: 900;
}

.compact-schedule span {
  color: #79869e;
  font-size: 16px;
  font-weight: 700;
}

.combined-compact-item strong {
  color: #111827;
  font-size: 17px;
}

.combined-compact-item span {
  color: #6b7894;
  font-size: 15px;
  font-weight: 700;
}

.compact-arrow {
  color: #8f9bb4 !important;
  font-size: 34px !important;
  font-weight: 400 !important;
  line-height: 1;
}

/* Target screenshot card structure */
.combined-card {
  position: relative;
  min-height: 204px;
  padding: 24px 28px 26px;
}

.combined-card-top {
  align-items: flex-start;
}

.combined-identity {
  align-items: center;
  gap: 10px;
}

.combined-identity strong {
  max-width: 300px;
  color: #111827;
  font-size: 20px;
  line-height: 1.2;
}

.combined-card-top time {
  color: #8995ad;
  font-size: 16px;
  font-weight: 900;
}

.combined-task {
  margin-top: 16px;
  color: #6b7894;
  font-size: 16px;
  font-weight: 800;
}

.combined-card-foot,
.combined-live-card .combined-card-foot,
.combined-upcoming-card .combined-card-foot {
  position: static;
  min-height: 66px;
  margin-top: 24px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 8px;
  background: #f7f9ff;
}

.combined-status-copy {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.combined-status-copy::before {
  content: "◷";
  color: currentColor;
  font-size: 18px;
  line-height: 1;
}

.combined-status-copy strong {
  color: #10a64b;
  font-size: 18px;
  font-weight: 900;
}

.combined-status-copy.good {
  color: #10a64b;
}

.combined-status-copy.danger {
  color: #e03b3b;
}

.combined-status-copy.danger strong {
  color: #e03b3b;
}

.combined-status-copy span {
  color: #6b7894;
  font-size: 16px;
  font-weight: 800;
}

.combined-live-card .home-action,
.combined-upcoming-card .home-action.secondary,
.combined-finished-card .home-action {
  height: 40px;
  min-width: 116px;
  padding: 0 22px;
  border: 1px solid #9fb3ff;
  border-radius: 999px;
  background: #fff;
  color: #5a70ff;
  font-size: 16px;
  font-weight: 900;
}

.combined-upcoming-card .combined-schedule {
  min-width: 0;
  flex-direction: row;
  align-items: center;
  gap: 7px;
}

.combined-upcoming-card .combined-schedule::before {
  content: "◷";
  color: #111827;
  font-size: 18px;
}

.combined-upcoming-card .combined-schedule strong,
.combined-upcoming-card .combined-schedule span {
  color: #111827;
  font-size: 17px;
  font-weight: 900;
}

.combined-upcoming-card .combined-schedule span::before {
  content: "-";
}

.combined-metrics {
  min-height: 66px;
  margin-top: 24px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(86px, 1fr)) auto;
  align-items: center;
  gap: 0;
  border-radius: 8px;
  background: #f7f9ff;
}

.combined-metrics div {
  min-width: 0;
  padding: 0 18px 0 0;
  border-right: 1px solid #dfe5ef;
  background: transparent;
}

.combined-metrics div + div {
  padding-left: 18px;
}

.combined-metrics span {
  color: #8f9bb4;
  font-size: 15px;
  font-weight: 900;
}

.combined-metrics strong {
  color: #111827;
  font-size: 25px;
  line-height: 1.1;
}

/* PRD screenshot homepage visual pass */
.combined-home {
  gap: 22px;
}

.combined-overview-layout {
  height: auto;
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 24px;
}

.combined-section,
.combined-aux-section {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.combined-section-head,
.combined-aux-section .combined-section-head {
  margin-bottom: 16px;
}

.combined-section-head h3 {
  color: #17213a;
  font-size: 22px;
}

.combined-section-head h3::before {
  width: 6px;
  height: 24px;
}

.combined-section.featured .combined-section-head h3::before {
  background: #17ad60;
}

.combined-aux-section.notStarted .combined-section-head h3::before {
  background: #e17a00;
}

.combined-section-meta span {
  color: #8f9bb4;
  font-size: 17px;
}

.combined-grid.live,
.combined-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  overflow: visible;
}

.combined-card {
  position: relative;
  min-width: 0;
  min-height: 240px;
  padding: 26px 26px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: none;
}

.combined-card[data-id]:hover {
  transform: none;
}

.combined-live-card {
  border: 1px solid #b9ecc7;
  background: #fbfffc;
}

.combined-upcoming-card {
  min-height: 198px;
  border: 1px dashed #f2cfaa;
  background: #fffefa;
}

.combined-finished-card {
  min-height: 205px;
  border: 1px solid #dbe4f4;
  background: #fff;
}

.combined-card-top {
  align-items: flex-start;
  gap: 16px;
}

.combined-identity {
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.live-card-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #17ad60;
  animation: none;
}

.combined-identity strong {
  min-width: 0;
  max-width: 360px;
  overflow: hidden;
  color: #111827;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tf-type-chip {
  height: 26px;
  padding: 0 9px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
}

.combined-card-top time {
  margin-left: auto;
  flex-shrink: 0;
  max-width: none;
  color: #8995ad;
  font-size: 17px;
  font-weight: 900;
  white-space: nowrap;
}

.combined-task {
  margin-top: 16px;
  color: #6b7894;
  font-size: 17px;
  font-weight: 800;
}

.combined-live-main {
  min-height: 88px;
  margin-top: 26px;
  padding: 18px 24px;
  border: 1px solid #daf3df;
  border-radius: 12px;
  background: #fff;
}

.combined-live-main strong {
  font-size: 29px;
  font-weight: 900;
  line-height: 1.2;
}

.combined-live-main strong.good {
  color: #17ad60;
}

.combined-live-main strong.danger {
  color: #e03131;
}

.combined-live-main span {
  margin-top: 4px;
  color: #6b7894;
  font-size: 17px;
  font-weight: 800;
}

.combined-card-foot,
.combined-live-card .combined-card-foot,
.combined-upcoming-card .combined-card-foot,
.combined-finished-card .combined-card-foot {
  position: static;
  min-height: 44px;
  margin-top: 26px;
  padding: 0;
  border: 0;
  background: transparent;
}

.combined-live-card .combined-card-foot,
.combined-upcoming-card .combined-card-foot,
.combined-finished-card .combined-card-foot {
  justify-content: flex-end;
}

.home-action,
.combined-live-card .home-action,
.combined-finished-card .home-action {
  height: 48px;
  min-width: 112px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: #17213a;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}

.combined-upcoming-card .home-action.secondary,
.combined-compact-item.upcoming .home-action.secondary {
  height: 46px;
  min-width: 104px;
  border: 1px solid #f1c69b;
  background: #fff7ef;
  color: #a04b00;
  font-size: 16px;
  font-weight: 900;
}

.combined-upcoming-card .combined-schedule {
  min-width: 132px;
  max-width: none;
  align-items: flex-end;
  white-space: nowrap;
}

.combined-upcoming-card .combined-schedule strong {
  color: #d97706;
  font-size: 24px;
  white-space: nowrap;
}

.combined-upcoming-card .combined-schedule span {
  color: #9aa6bc;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.combined-metrics {
  min-height: 72px;
  margin-top: 24px;
  padding: 0 16px;
  grid-template-columns: repeat(3, minmax(90px, 1fr));
  gap: 10px;
  background: #f7f9ff;
}

.combined-metrics div {
  padding: 12px 10px;
  border-right: 0;
  border-radius: 10px;
  background: transparent;
}

.combined-metrics span {
  color: #8f9bb4;
  font-size: 15px;
  font-weight: 900;
}

.combined-metrics strong {
  color: #111827;
  font-size: 25px;
}

.combined-aux-section {
  padding: 24px 22px;
  border: 1px solid #dbe4f4;
  border-radius: 16px;
  background: #fff;
}

.combined-compact-list {
  gap: 0;
}

.combined-compact-item {
  min-height: 82px;
  padding: 10px 0;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.combined-compact-item + .combined-compact-item {
  border-top: 1px solid #eef2f7;
}

.compact-schedule strong {
  color: #111827;
  font-size: 19px;
}

.compact-schedule span {
  color: #79869e;
  font-size: 15px;
  font-weight: 800;
}

.combined-compact-item strong {
  color: #111827;
  font-size: 16px;
  font-weight: 900;
}

.combined-compact-item span {
  color: #6b7894;
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 1600px) {
  .combined-overview-layout {
    grid-template-columns: minmax(0, 1fr) 380px;
  }

  .combined-grid.live,
  .combined-grid {
    grid-template-columns: 1fr;
  }
}

/* Final classroom-monitoring home layout */
.app-shell {
  background: #f3f6fe;
}

.refresh-list-btn svg,
.top-search-control svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.main {
  min-height: 100vh;
  padding: 0;
}

.list-view {
  min-height: 100vh;
  padding: 18px 24px 27px 0;
}

.teacher-detail,
.question-detail-view {
  margin: 18px 24px 28px;
}

.list-view .page-header {
  height: 38px;
  margin: 0 0 8px;
  padding: 0;
  align-items: center;
  gap: 10px;
}

.list-view .page-title-area {
  width: 100%;
  min-width: 0;
  gap: 14px;
  flex-wrap: nowrap;
}

.list-view .page-title-area h1 {
  margin: 0;
  color: #222633;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.3px;
}

.top-filter-controls {
  flex: 1;
  min-width: 0;
  gap: 12px;
  flex-wrap: nowrap;
}

.top-filter-select {
  width: auto;
  min-width: 122px;
  max-width: 168px;
  height: 38px;
  padding: 0 34px 0 17px;
  border-color: #e4e9f4;
  background: rgba(248, 250, 255, 0.82);
  box-shadow: none;
}

.top-filter-select strong {
  color: #535f7b;
  font-size: 14px;
  font-weight: 800;
}

.top-filter-select::after {
  right: 14px;
  content: "⌄";
  color: #7885a1;
}

.top-search-control {
  width: 255px;
  min-width: 200px;
  height: 38px;
  margin-left: auto;
  padding: 0 14px;
  gap: 9px;
  border-color: #e4e9f4;
  background: rgba(248, 250, 255, 0.82);
  box-shadow: none;
}

.top-search-control span {
  width: 16px;
  height: 16px;
  display: inline-grid;
  color: #71809f;
}

.top-search-control input {
  height: 34px;
  padding: 0;
  border: 0;
  color: #35405a;
  font-size: 13px;
  font-weight: 600;
  box-shadow: none;
}

.top-search-control input::placeholder {
  color: #8e99b2;
  font-weight: 600;
}

.header-actions {
  display: flex;
  flex-wrap: nowrap;
}

.refresh-list-btn {
  width: 38px;
  height: 38px;
  padding: 10px;
  display: grid;
  place-items: center;
  border: 1px solid #e5eaf5;
  border-radius: 50%;
  background: rgba(248, 250, 255, 0.82);
  color: #71809f;
}

.refresh-list-btn:hover {
  border-color: #becbff;
  color: #556dff;
  background: #fff;
}

.classroom-range-tabs {
  height: 48px;
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid #e4e9f4;
}

.classroom-range-tabs-inner {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 26px;
}

.classroom-range-tabs-inner button {
  position: relative;
  height: 45px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #a0abc2;
  box-shadow: none;
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.classroom-range-tabs-inner button span {
  color: inherit;
}

.classroom-range-tabs-inner button.is-active {
  background: transparent;
  color: #566cff;
  box-shadow: none;
}

.classroom-range-tabs-inner button.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: #6579ff;
}

.classroom-sections {
  min-height: 0;
  margin-top: 14px;
  gap: 0;
}

.combined-home {
  height: 100%;
  gap: 0;
}

.combined-overview-layout {
  height: calc(100vh - 153px);
  min-height: 560px;
  grid-template-columns: minmax(0, 1fr) 385px;
  gap: 16px;
}

.combined-main-area,
.combined-side-area {
  min-width: 0;
  height: 100%;
}

.combined-section,
.combined-aux-section {
  height: 100%;
  padding: 24px 18px;
  overflow: auto;
  border: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
}

.combined-aux-section {
  padding: 24px 16px;
}

.combined-home > .combined-section {
  height: calc(100vh - 153px);
  min-height: 560px;
}

.combined-section-head,
.combined-aux-section .combined-section-head {
  min-height: 26px;
  margin-bottom: 18px;
  align-items: center;
}

.combined-section-head h3 {
  gap: 8px;
  color: #4a5268;
  font-size: 18px;
  font-weight: 900;
}

.combined-section-head h3::before,
.combined-section.featured .combined-section-head h3::before,
.combined-aux-section.notStarted .combined-section-head h3::before {
  width: 4px;
  height: 16px;
  border-radius: 99px;
  background: #f3a027;
}

.combined-aux-section.notStarted .combined-section-head h3::before {
  background: #6579ff;
}

.combined-overview-layout .combined-section-meta {
  display: none;
}

.combined-grid.live,
.combined-grid,
.combined-grid.live.single {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  overflow: visible;
}

.combined-card {
  min-height: 218px;
  padding: 22px;
  border-radius: 10px;
}

.combined-identity strong {
  font-size: 17px;
}

.combined-card-top time,
.combined-task {
  font-size: 14px;
}

.combined-live-main {
  min-height: 74px;
  margin-top: 20px;
  padding: 14px 20px;
}

.combined-live-main strong {
  font-size: 24px;
}

.combined-live-main span {
  font-size: 14px;
}

.home-action,
.combined-live-card .home-action,
.combined-finished-card .home-action {
  height: 36px;
  min-width: 86px;
  padding: 0 18px;
  border: 1px solid #9fb3ff;
  background: #fff;
  color: #5a70ff;
  font-size: 14px;
}

.home-empty {
  height: calc(100% - 50px);
  min-height: 360px;
  padding: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 15px;
  border: 0;
  background: transparent;
  color: #8b98b4;
  text-align: center;
}

.home-empty p {
  margin: 0;
  color: #8896b1;
  font-size: 14px;
  font-weight: 800;
}

.classroom-empty-illustration {
  position: relative;
  width: 82px;
  height: 62px;
  padding: 13px 10px 10px;
  border: 6px solid #e9efff;
  border-radius: 2px;
  background: #fff;
  transform: rotate(0.5deg);
}

.classroom-empty-illustration span {
  position: relative;
  display: block;
  height: 6px;
  margin-bottom: 7px;
  border-radius: 99px;
  background: #eef3ff;
}

.classroom-empty-illustration span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #dbe6ff;
}

.classroom-empty-illustration i {
  position: absolute;
  right: 3px;
  bottom: -18px;
  width: 12px;
  height: 6px;
  border-radius: 100% 0 100% 0;
  background: #56c64f;
  transform: rotate(24deg);
}

.classroom-empty-illustration i::before {
  content: "";
  position: absolute;
  right: 9px;
  bottom: 2px;
  width: 14px;
  height: 12px;
  border-bottom: 2px solid #555;
  border-left: 2px solid #555;
  border-radius: 0 0 0 12px;
}

.combined-compact-list {
  max-height: calc(100% - 42px);
  overflow: auto;
}

.combined-compact-item {
  min-height: 78px;
  padding: 10px 0;
  grid-template-columns: 55px minmax(0, 1fr) auto;
  gap: 10px;
}

.combined-compact-item + .combined-compact-item {
  margin-top: 0;
  border-top: 1px solid #eef1f7;
}

.compact-schedule strong {
  font-size: 16px;
}

.compact-schedule span {
  font-size: 12px;
}

.combined-compact-item strong {
  font-size: 13px;
  line-height: 1.35;
}

.combined-compact-item span {
  margin-top: 3px;
  color: #8a96b0;
  font-size: 11px;
  line-height: 1.35;
  -webkit-line-clamp: 1;
}

.combined-compact-item .home-action,
.combined-compact-item.upcoming .home-action.secondary {
  height: 30px;
  min-width: 64px;
  padding: 0 14px;
  border: 1px solid #aabaff;
  border-radius: 999px;
  background: #fff;
  color: #6176ff;
  font-size: 12px;
  font-weight: 800;
}

.side-empty {
  height: calc(100% - 44px);
  display: grid;
  place-items: center;
  color: #9aa5ba;
  font-size: 13px;
}

@media (max-width: 1360px) {
  .combined-overview-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
  }

  .combined-grid.live,
  .combined-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1040px) {
  .top-search-control {
    min-width: 170px;
  }

  .combined-overview-layout {
    height: auto;
    grid-template-columns: 1fr;
  }

  .combined-section,
  .combined-aux-section {
    min-height: 520px;
  }

  .combined-aux-section {
    min-height: 240px;
  }
}

/* Current SRM classroom card parity. */
.combined-grid,
.combined-grid.live,
.combined-grid.live.single {
  grid-auto-rows: max-content;
  gap: 12px;
  overflow-y: auto;
}

.combined-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.combined-grid.live,
.combined-grid.live.single {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.combined-card,
.combined-live-card,
.combined-upcoming-card,
.combined-finished-card {
  min-height: 0;
  padding: 16px 17px;
  display: block;
  overflow: visible;
  border: 1px solid #e9ecf5;
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
}

.combined-card[data-id]:hover,
.combined-upcoming-card:hover {
  border-color: #e9ecf5;
  background: #f8f9fc;
  box-shadow: none;
  transform: none;
}

.combined-card-top {
  min-height: 20px;
  align-items: flex-start;
  gap: 12px;
}

.combined-identity {
  min-width: 0;
  gap: 8px;
}

.combined-identity strong {
  max-width: none;
  color: #101019;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.classroom-task-count {
  height: 20px;
  padding: 0 6px;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  border: 1px solid #dfe3f0;
  border-radius: 4px;
  color: #646b8a;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  white-space: nowrap;
}

.combined-card-top time {
  max-width: none;
  color: #838bab;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  white-space: nowrap;
}

.classroom-card-meta {
  min-width: 0;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #838bab;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
}

.classroom-card-meta span:first-child {
  flex-shrink: 0;
}

.classroom-card-meta span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.classroom-card-meta i {
  width: 1px;
  height: 8px;
  flex-shrink: 0;
  background: #dfe3f0;
}

.classroom-status-panel {
  min-width: 0;
  min-height: 44px;
  margin-top: 12px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 6px;
  background: #f8faff;
}

.classroom-status-copy {
  min-width: 0;
  display: flex;
  flex: 1;
  align-items: center;
  gap: 4px;
  color: #2dc01f;
}

.classroom-status-copy.danger {
  color: #ef4444;
}

.classroom-status-icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
}

.classroom-status-copy strong {
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.classroom-status-copy > span:last-child:not(.classroom-status-icon) {
  flex-shrink: 0;
  color: #838bab;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
}

.classroom-upcoming-panel .combined-schedule {
  min-width: 0;
  margin: 0;
  display: flex;
  flex: 1;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  text-align: left;
  white-space: nowrap;
}

.classroom-upcoming-panel .combined-schedule::before {
  content: "◷";
  flex-shrink: 0;
  color: #101019;
  font-size: 14px;
  line-height: 1;
}

.classroom-upcoming-panel .combined-schedule strong,
.classroom-upcoming-panel .combined-schedule span {
  color: #101019;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
}

.classroom-replay-metrics {
  min-width: 0;
  display: flex;
  flex: 1;
  align-items: center;
}

.classroom-replay-metrics > div {
  min-width: 0;
  padding: 6px 8px;
  flex: 1;
}

.classroom-replay-metrics > div:first-child {
  padding-left: 0;
}

.classroom-replay-metrics > div + div {
  border-left: 1px solid #dfe3f0;
  padding-left: 12px;
}

.classroom-replay-metrics span,
.classroom-replay-metrics strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.classroom-replay-metrics span {
  color: #838bab;
  font-size: 12px;
  line-height: 18px;
}

.classroom-replay-metrics strong {
  color: #101019;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
}

.classroom-status-panel .home-action,
.combined-live-card .home-action,
.combined-upcoming-card .home-action.secondary,
.combined-finished-card .home-action {
  height: 28px;
  width: 72px;
  min-width: 72px;
  padding: 0;
  flex-shrink: 0;
  border: 1px solid #9db3ff;
  border-radius: 18px;
  background: #fff;
  color: #6574fc;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
}

.classroom-status-panel .home-action:hover {
  background: #f5f7ff;
}

@media (min-width: 1280px) {
  .combined-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .combined-grid.live,
  .combined-grid.live.single {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) and (max-width: 1279px) {
  .combined-grid,
  .combined-grid.live,
  .combined-grid.live.single {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .combined-grid,
  .combined-grid.live,
  .combined-grid.live.single {
    grid-template-columns: 1fr;
  }
}

/* Real-time student workbench */
.list-view .page-header {
  align-items: center;
  margin-bottom: 16px;
}

.page-heading {
  flex-shrink: 0;
}

.page-heading h1 {
  margin: 0;
  font-size: 23px;
  letter-spacing: -0.02em;
}

.page-heading p {
  margin: 4px 0 0;
  color: #7f88a4;
  font-size: 12px;
  line-height: 1.5;
}

.list-view .top-filter-controls {
  gap: 8px;
}

.list-view .top-filter-select,
.list-view .top-search-control {
  height: 34px;
  box-shadow: none;
}

.list-view .top-filter-select {
  min-width: 106px;
  padding-right: 28px;
  border-radius: 8px;
}

.list-view .top-filter-select strong,
.list-view .top-search-control input {
  font-size: 12px;
  font-weight: 600;
}

.list-view .top-search-control {
  width: 218px;
  min-width: 168px;
  border-radius: 8px;
}

.monitor-source-select {
  min-width: 112px;
}

.monitor-view-switch {
  min-height: 42px;
  display: flex;
  align-items: flex-end;
  gap: 26px;
  border-bottom: 1px solid #e6e9f2;
}

.monitor-view-switch button {
  position: relative;
  height: 42px;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: #848ca5;
  font-size: 14px;
  font-weight: 700;
}

.monitor-view-switch button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: transparent;
}

.monitor-view-switch button span {
  min-width: 20px;
  height: 20px;
  margin-left: 5px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #eef1f7;
  color: #8a91a8;
  font-size: 11px;
  font-weight: 700;
}

.monitor-view-switch button:hover {
  color: #334064;
}

.monitor-view-switch button.is-active {
  color: #526df2;
}

.monitor-view-switch button.is-active::after {
  background: #6178f7;
}

.monitor-view-switch button.is-active span {
  background: #e8edff;
  color: #526df2;
}

.monitor-workspace {
  padding-top: 14px;
}

.monitor-summary {
  min-height: 80px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr)) minmax(190px, auto);
  align-items: center;
  border: 1px solid #e7eaf2;
  border-radius: 10px;
  background: #fff;
}

.monitor-summary > div {
  min-width: 0;
  min-height: 42px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: baseline;
  column-gap: 5px;
  border-left: 1px solid #eceef4;
}

.monitor-summary > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.monitor-summary > div > span {
  grid-column: 1 / -1;
  color: #8b92a8;
  font-size: 11px;
  line-height: 18px;
}

.monitor-summary > div strong {
  color: #1e2842;
  font-size: 23px;
  font-weight: 760;
  line-height: 26px;
}

.monitor-summary > div.is-alert strong {
  color: #e05f4f;
}

.monitor-summary > div small {
  color: #8b92a8;
  font-size: 11px;
}

.monitor-summary > p {
  margin: 0;
  padding-left: 20px;
  color: #717b96;
  font-size: 11px;
  white-space: nowrap;
}

.monitor-summary > p i {
  width: 7px;
  height: 7px;
  margin-right: 7px;
  display: inline-block;
  border-radius: 50%;
  background: #38b978;
  box-shadow: 0 0 0 4px #e7f7ef;
  animation: livePulse 2.2s ease-in-out infinite;
}

.monitor-workspace-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 296px;
  align-items: start;
  gap: 14px;
}

.monitor-live-panel,
.monitor-side-panel,
.monitor-history {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e7eaf2;
  border-radius: 10px;
  background: #fff;
}

.monitor-history {
  margin-top: 14px;
}

.monitor-panel-head {
  min-height: 66px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #eef0f5;
}

.monitor-panel-head h2 {
  margin: 0;
  color: #222b42;
  font-size: 15px;
  font-weight: 750;
}

.monitor-panel-head p {
  margin: 4px 0 0;
  color: #8a92a8;
  font-size: 11px;
  line-height: 1.4;
}

.monitor-panel-head > span {
  flex-shrink: 0;
  color: #66708b;
  font-size: 12px;
}

.monitor-table-head,
.monitor-student-row {
  display: grid;
  grid-template-columns: minmax(148px, 0.85fr) minmax(250px, 1.45fr) minmax(135px, 0.75fr) minmax(205px, 1fr);
  align-items: center;
  column-gap: 16px;
}

.monitor-table-head {
  min-height: 36px;
  padding: 0 16px;
  border-bottom: 1px solid #eef0f5;
  background: #fafbfc;
  color: #9299ac;
  font-size: 11px;
}

.monitor-student-row {
  position: relative;
  min-height: 76px;
  padding: 10px 16px;
  border-bottom: 1px solid #f0f1f5;
  transition: background 150ms ease, box-shadow 150ms ease;
}

.monitor-student-row:last-child {
  border-bottom: 0;
}

.monitor-student-row::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: transparent;
}

.monitor-student-row.check::before {
  background: #dca34f;
}

.monitor-student-row:hover {
  background: #fbfcff;
  box-shadow: inset 0 0 0 1px #edf0fa;
}

.monitor-student-cell {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.monitor-student-cell .rt-avatar {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  font-size: 12px;
}

.monitor-student-cell > div,
.monitor-content-cell,
.monitor-status-cell > div {
  min-width: 0;
}

.monitor-student-cell strong,
.monitor-content-cell > strong,
.monitor-status-cell strong {
  display: block;
  overflow: hidden;
  color: #242c40;
  font-size: 13px;
  font-weight: 680;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.monitor-student-cell span,
.monitor-content-cell > div,
.monitor-status-cell span,
.monitor-progress-cell small {
  display: block;
  overflow: hidden;
  color: #8a91a6;
  font-size: 11px;
  line-height: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.monitor-content-cell > div {
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.monitor-source,
.monitor-origin {
  height: 19px;
  padding: 0 6px;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 650;
  line-height: 17px;
}

.monitor-source.mint {
  border-color: #c9eadb;
  background: #eefaf4;
  color: #278459;
}

.monitor-source.blue {
  border-color: #d8e1ff;
  background: #f1f4ff;
  color: #526bd4;
}

.monitor-source.amber {
  border-color: #f0dfc7;
  background: #fff8ed;
  color: #a96b24;
}

.monitor-origin {
  border-color: #e3e5ec;
  background: #f8f9fb;
  color: #6f778e;
}

.monitor-progress-cell > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.monitor-progress-cell > div > span {
  width: 72px;
  height: 5px;
  overflow: hidden;
  display: block;
  border-radius: 999px;
  background: #edf0f5;
}

.monitor-progress-cell > div > span i {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: #697df2;
}

.monitor-progress-cell strong {
  color: #3c4762;
  font-size: 12px;
}

.monitor-progress-cell small {
  margin-top: 5px;
}

.monitor-status-cell {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.monitor-status-cell strong {
  color: #3f8f68;
  font-size: 12px;
}

.monitor-status-cell strong i {
  width: 6px;
  height: 6px;
  margin-right: 6px;
  display: inline-block;
  border-radius: 50%;
  background: currentColor;
}

.monitor-student-row.check .monitor-status-cell strong {
  color: #a87020;
}

.monitor-student-row.planned .monitor-status-cell strong {
  color: #3f8f68;
}

.monitor-student-row.done .monitor-status-cell strong {
  color: #62708c;
}

.monitor-status-cell button,
.monitor-record-row button,
.monitor-empty button {
  height: 28px;
  padding: 0 11px;
  flex-shrink: 0;
  border: 1px solid #d9def1;
  border-radius: 6px;
  background: #fff;
  color: #566de0;
  font-size: 11px;
  font-weight: 650;
}

.monitor-status-cell button:hover,
.monitor-record-row button:hover {
  border-color: #aebcf8;
  background: #f5f7ff;
}

.monitor-side-panel {
  position: sticky;
  top: 14px;
}

.monitor-side-head {
  min-height: 66px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eef0f5;
}

.monitor-side-head span {
  color: #9aa1b4;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.monitor-side-head h2 {
  margin: 3px 0 0;
  color: #252d43;
  font-size: 15px;
}

.monitor-side-head > strong {
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #fff6e8;
  color: #a87020;
  font-size: 13px;
}

.monitor-attention-list button {
  width: 100%;
  min-height: 58px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 8px;
  border: 0;
  border-bottom: 1px solid #f0f1f5;
  background: #fff;
  text-align: left;
}

.monitor-attention-list button:hover {
  background: #fffaf8;
}

.monitor-attention-list em {
  color: #a87020;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.monitor-attention-list span {
  min-width: 0;
}

.monitor-attention-list strong,
.monitor-attention-list small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.monitor-attention-list strong {
  color: #30374b;
  font-size: 12px;
}

.monitor-attention-list small {
  margin-top: 3px;
  color: #8b92a6;
  font-size: 10px;
}

.monitor-attention-list i {
  color: #b0b5c3;
  font-size: 17px;
  font-style: normal;
}

.monitor-side-empty {
  padding: 28px 14px;
  border-bottom: 1px solid #eef0f5;
  color: #8b92a6;
  font-size: 11px;
  text-align: center;
}

.monitor-source-guide {
  padding: 13px 14px 11px;
  background: #fbfcfe;
}

.monitor-source-guide h3 {
  margin: 0 0 9px;
  color: #596179;
  font-size: 11px;
}

.monitor-source-guide p {
  margin: 7px 0;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #8a91a5;
  font-size: 10px;
}

.monitor-source-guide .monitor-source {
  min-width: 54px;
  justify-content: center;
}

.monitor-empty {
  padding: 52px 20px;
  text-align: center;
}

.monitor-empty > span {
  width: 34px;
  height: 34px;
  margin: 0 auto 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #edf8f3;
  color: #3b9b6b;
}

.monitor-empty strong {
  display: block;
  color: #485168;
  font-size: 13px;
}

.monitor-empty p {
  margin: 6px 0 12px;
  color: #9298aa;
  font-size: 11px;
}

.monitor-record-list {
  padding: 0 16px;
}

.monitor-record-row {
  min-height: 74px;
  display: grid;
  grid-template-columns: 92px minmax(240px, 1fr) 210px auto;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid #eef0f5;
}

.monitor-record-row:last-child {
  border-bottom: 0;
}

.monitor-record-row > time strong,
.monitor-record-row > time span,
.monitor-record-row > div > strong,
.monitor-record-row > div > span {
  display: block;
}

.monitor-record-row > time strong {
  color: #4f5a76;
  font-size: 12px;
}

.monitor-record-row > time span,
.monitor-record-row > div > span {
  margin-top: 3px;
  color: #9298aa;
  font-size: 10px;
}

.monitor-record-row > div > strong {
  color: #2f374d;
  font-size: 13px;
}

.monitor-record-row dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.monitor-record-row dl > div {
  padding-left: 16px;
  border-left: 1px solid #eceef3;
}

.monitor-record-row dt {
  color: #969caf;
  font-size: 10px;
}

.monitor-record-row dd {
  margin: 3px 0 0;
  color: #46506b;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 1399px) {
  .list-view .page-title-area {
    align-items: flex-start;
  }

  .list-view .updated-at {
    display: none;
  }

  .list-view .top-filter-controls {
    flex-basis: 100%;
  }

  .monitor-summary {
    grid-template-columns: repeat(4, minmax(100px, 1fr));
  }

  .monitor-summary > p {
    grid-column: 1 / -1;
    padding: 0 0 10px;
  }
}

@media (max-width: 1199px) {
  .monitor-workspace-grid {
    grid-template-columns: 1fr;
  }

  .monitor-side-panel {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .monitor-side-head {
    grid-column: 1 / -1;
  }

  .monitor-source-guide {
    border-left: 1px solid #eef0f5;
  }
}

@media (max-width: 900px) {
  .main {
    padding: 18px;
  }

  .monitor-summary {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .monitor-summary > div:nth-child(3) {
    border-left: 0;
  }

  .monitor-summary > div {
    padding: 8px 14px;
  }

  .monitor-table-head {
    display: none;
  }

  .monitor-student-row {
    grid-template-columns: 1fr 1fr;
    row-gap: 12px;
  }

  .monitor-record-row {
    grid-template-columns: 74px minmax(0, 1fr) auto;
  }

  .monitor-record-row dl {
    display: none;
  }
}

@media (max-width: 620px) {
  .list-view .page-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: flex-start;
  }

  .list-view .page-title-area {
    width: 100%;
    display: block;
  }

  .list-view .updated-at {
    display: none;
  }

  .list-view .top-filter-controls {
    width: 100%;
    margin-top: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .list-view .top-filter-select,
  .list-view .top-search-control {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .list-view .top-search-control {
    grid-column: 1 / -1;
  }

  .monitor-view-switch {
    gap: 14px;
  }

  .monitor-view-switch button {
    font-size: 12px;
  }

  .monitor-view-switch button span {
    display: none;
  }

  .monitor-summary {
    padding: 0 12px;
  }

  .monitor-summary > div {
    padding: 8px 10px;
  }

  .monitor-student-row {
    grid-template-columns: 1fr;
    padding: 13px 14px;
  }

  .monitor-status-cell {
    align-items: flex-end;
  }

  .monitor-side-panel {
    display: block;
  }

  .monitor-source-guide {
    border-top: 1px solid #eef0f5;
    border-left: 0;
  }

  .monitor-record-list {
    padding: 0 12px;
  }

  .monitor-record-row {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 10px;
    padding: 10px 0;
  }

  .monitor-record-row > button {
    grid-column: 2;
    justify-self: start;
  }
}

/* Classroom-first monitoring: schedule first, live classroom fallback. */
.monitor-classroom-sections {
  margin-top: 14px;
  display: grid;
  gap: 14px;
}

.monitor-classroom-section {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e7eaf2;
  border-radius: 10px;
  background: #fff;
}

.monitor-classroom-section.schedule .monitor-panel-head {
  box-shadow: inset 3px 0 0 #6b7ff2;
}

.monitor-classroom-section.classroom .monitor-panel-head {
  box-shadow: inset 3px 0 0 #3aaa78;
}

.monitor-classroom-grid {
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  background: #fafbfe;
}

.monitor-classroom-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e7eaf3;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(39, 49, 80, 0.035);
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.monitor-classroom-card:hover,
.monitor-classroom-card:focus-visible {
  border-color: #cdd5f6;
  box-shadow: 0 8px 22px rgba(45, 57, 98, 0.09);
  outline: none;
  transform: translateY(-2px);
}

.monitor-classroom-card.classroom:hover,
.monitor-classroom-card.classroom:focus-visible {
  border-color: #bfe2d2;
}

.monitor-card-header {
  padding: 14px 15px 12px;
  border-bottom: 1px solid #eff1f6;
}

.monitor-card-basis {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.monitor-card-basis > span {
  height: 21px;
  padding: 0 7px;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  border: 1px solid #d8defc;
  border-radius: 4px;
  background: #f1f4ff;
  color: #5369d6;
  font-size: 10px;
  font-weight: 720;
  line-height: 19px;
}

.monitor-classroom-card.classroom .monitor-card-basis > span {
  border-color: #cae9db;
  background: #eff9f4;
  color: #2d8a60;
}

.monitor-card-basis time {
  overflow: hidden;
  color: #8b92a7;
  font-size: 10px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.monitor-card-header h2 {
  margin: 11px 0 0;
  overflow: hidden;
  color: #252d43;
  font-size: 15px;
  font-weight: 760;
  line-height: 22px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.monitor-card-header p {
  margin: 4px 0 0;
  overflow: hidden;
  color: #858da4;
  font-size: 11px;
  line-height: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.monitor-card-online {
  min-height: 70px;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(90deg, #fbfcff 0%, #fff 72%);
}

.monitor-classroom-card.classroom .monitor-card-online {
  background: linear-gradient(90deg, #f9fdfa 0%, #fff 72%);
}

.monitor-card-online > div:last-child {
  min-width: 0;
}

.monitor-card-online strong,
.monitor-card-online span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.monitor-card-online strong {
  color: #34405f;
  font-size: 13px;
  font-weight: 750;
}

.monitor-card-online > div:last-child > span {
  margin-top: 4px;
  color: #8c93a7;
  font-size: 10px;
}

.monitor-card-avatars {
  min-width: 48px;
  display: flex;
  align-items: center;
}

.monitor-card-avatars .rt-avatar,
.monitor-avatar-more {
  width: 30px;
  height: 30px;
  margin-left: -9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  border-radius: 50%;
  font-size: 10px;
  box-shadow: 0 1px 4px rgba(44, 54, 82, 0.12);
}

.monitor-card-avatars .rt-avatar:first-child {
  margin-left: 0;
}

.monitor-avatar-more {
  flex-shrink: 0;
  background: #edf0f8;
  color: #64708d;
  font-weight: 750;
}

.monitor-card-metrics {
  min-height: 67px;
  margin: 0;
  padding: 0 15px;
  display: grid;
  grid-template-columns: 0.8fr 1.3fr 0.8fr;
  align-items: center;
  border-top: 1px solid #eff1f5;
  border-bottom: 1px solid #eff1f5;
}

.monitor-card-metrics > div {
  min-width: 0;
  padding-left: 12px;
  border-left: 1px solid #eceef4;
}

.monitor-card-metrics > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.monitor-card-metrics dt {
  color: #9aa0b2;
  font-size: 9px;
  line-height: 16px;
}

.monitor-card-metrics dd {
  margin: 2px 0 0;
  overflow: hidden;
  color: #3c4662;
  font-size: 12px;
  font-weight: 720;
  line-height: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.monitor-card-footer {
  min-height: 51px;
  padding: 9px 12px 9px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.monitor-card-footer > span {
  min-width: 0;
  color: #8c93a7;
  font-size: 9px;
  line-height: 15px;
}

.monitor-card-footer .home-action {
  height: 28px;
  padding: 0 12px;
  flex-shrink: 0;
  border: 1px solid #d6dcf5;
  border-radius: 6px;
  background: #fff;
  color: #566dde;
  font-size: 11px;
  font-weight: 680;
}

.monitor-classroom-card.classroom .monitor-card-footer .home-action {
  border-color: #cde5da;
  color: #2d8a60;
}

.monitor-card-footer .home-action:hover {
  background: #f5f7ff;
}

.monitor-classroom-card.classroom .monitor-card-footer .home-action:hover {
  background: #f2faf6;
}

@media (max-width: 1240px) {
  .monitor-classroom-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .monitor-classroom-grid {
    grid-template-columns: 1fr;
  }

  .monitor-card-footer > span {
    max-width: 70%;
  }
}
