:root {
  --bg: #f4f7ff;
  --surface: #ffffff;
  --surface-soft: #f7f9ff;
  --line: #e2e9f7;
  --line-strong: #ced9ee;
  --text: #17213a;
  --muted: #6f7c96;
  --muted-soft: #98a5bd;
  --primary: #5878ff;
  --primary-weak: #e9efff;
  --primary-mid: #bfd0ff;
  --green: #16a34a;
  --green-weak: #e9f8ef;
  --amber: #d97706;
  --amber-weak: #fff3dc;
  --red: #dc2626;
  --red-weak: #fff0ef;
  --cyan: #0891b2;
  --cyan-weak: #e6f8fb;
  --violet: #6d5dfc;
  --violet-weak: #f0edff;
  --shadow: 0 10px 24px rgba(57, 78, 136, 0.08);
  --radius: 10px;
  --sidebar: 220px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei",
    sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 26px 24px 18px;
  background: #eef3ff;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #ffffff;
  color: var(--primary);
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(88, 120, 255, 0.18);
}

.brand-title {
  color: #111827;
  font-weight: 900;
  font-size: 17px;
}

.brand-subtitle,
.nav-heading,
.user-role {
  color: #9aa6bf;
}

.nav-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-heading {
  padding: 22px 24px 4px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

.nav-item {
  position: relative;
  height: 50px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #6f7893;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 24px;
  text-align: left;
  font-size: 16px;
  font-weight: 800;
}

.nav-item.active,
.nav-item:hover {
  background: #dfe9ff;
  color: var(--primary);
}

.nav-icon {
  width: 20px;
  color: #98a3ba;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
}

.nav-item.active .nav-icon,
.nav-item:hover .nav-icon {
  color: var(--primary);
}

.nav-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5b63;
  margin-left: -6px;
}

.user-profile {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 24px rgba(57, 78, 136, 0.06);
}

.user-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #5c6cff, #8ea2ff);
  color: #fff;
  font-weight: 700;
}

.user-name {
  color: var(--text);
  font-weight: 800;
}

.user-role {
  font-size: 12px;
}

.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;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 700;
}

.btn.primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  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 {
  cursor: not-allowed;
  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);
}

.home-avatar-stack {
  display: flex;
  align-items: center;
}

.home-avatar {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  margin-left: -7px;
}

.home-avatar:first-child {
  margin-left: 0;
}

.home-avatar.more {
  color: var(--muted);
  background: #eef2f7;
}

.home-avatar.blue { background: #4f7cff; }
.home-avatar.green { background: #16a34a; }
.home-avatar.amber { background: #d97706; }
.home-avatar.red { background: #dc2626; }
.home-avatar.cyan { background: #0891b2; }
.home-avatar.violet { background: #6d5dfc; }

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

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

.combined-hero {
  position: relative;
  min-height: 136px;
  padding: 28px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 0;
  border-radius: 16px;
  background: #eaf2ff;
  box-shadow: 0 12px 28px rgba(57, 78, 136, 0.1);
}

.combined-hero-copy span {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 900;
}

.combined-hero-copy h2 {
  margin: 0;
  color: var(--text);
  font-size: 28px;
  line-height: 1.25;
}

.combined-hero-copy p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.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-all-tabs button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  color: var(--muted);
  font-weight: 900;
  white-space: nowrap;
}

.combined-all-tabs strong {
  color: inherit;
  font-size: 22px;
  line-height: 1;
}

.combined-all-group {
  min-height: 64px;
  padding: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 6px;
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
}

.combined-all-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.combined-all-tabs button {
  min-width: 120px;
  min-height: 64px;
  padding: 0 14px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 7px 16px rgba(57, 78, 136, 0.07);
}

.combined-all-tabs button:hover {
  background: #fff;
  color: var(--text);
  box-shadow: 0 0 0 2px rgba(98, 125, 255, 0.14), 0 8px 18px rgba(57, 78, 136, 0.08);
}

.combined-all-tabs button.is-active {
  color: #fff;
  background: #17213a;
  box-shadow: 0 10px 22px rgba(23, 33, 58, 0.22);
}

.combined-all-tabs button.is-live:not(.is-active) strong {
  color: var(--green);
}

.combined-filter-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
}

.combined-lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
  align-items: start;
}

.combined-preview-dock {
  position: absolute;
  right: 12px;
  bottom: 8px;
  z-index: 3;
}

.combined-preview-dock summary {
  color: var(--muted-soft);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  list-style: none;
  opacity: 0.45;
}

.combined-preview-dock summary::-webkit-details-marker {
  display: none;
}

.combined-preview-dock[open] summary {
  opacity: 1;
}

.combined-preview-options {
  position: absolute;
  right: 0;
  top: 22px;
  width: 156px;
  padding: 8px;
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(23, 33, 58, 0.14);
}

.combined-preview-options button {
  height: 28px;
  padding: 0 8px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: left;
}

.combined-preview-options button.active {
  background: var(--primary-weak);
  color: var(--primary);
}

.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-single-layout {
  max-width: 880px;
}

.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);
}

.combined-empty-state {
  padding: 52px 24px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.combined-empty-state h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.combined-empty-state p {
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 1080px) {
  .combined-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .combined-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .combined-filter-bar,
  .combined-overview-layout,
  .combined-lower-grid,
  .combined-grid,
  .combined-grid.live {
    grid-template-columns: 1fr;
  }

  .combined-single-layout {
    max-width: none;
  }

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

  .combined-all-group {
    align-items: flex-start;
    flex-direction: column;
  }

  .combined-all-tabs {
    flex-wrap: wrap;
  }
}

.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);
  }
}

.type-badge,
.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;
}

.type-badge {
  color: var(--primary);
  background: var(--primary-weak);
}

.type-badge.class {
  color: #1d4ed8;
  background: #dbeafe;
}

.type-badge.student {
  color: #6d28d9;
  background: #ede9fe;
}

.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;
}

/* Teacher/SRM shell alignment */
.app-shell {
  grid-template-columns: 200px minmax(0, 1fr);
  background: #f6f8ff;
}

.sidebar {
  padding: 10px 24px 24px;
  background: #eef3ff;
  gap: 0;
}

.brand {
  height: 48px;
  gap: 8px;
  padding: 0;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  box-shadow: none;
  font-size: 14px;
}

.brand-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
  transform: skewX(-4deg);
}

.brand-subtitle {
  display: none;
}

.nav-group {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  gap: 24px;
  padding-top: 12px;
}

.nav-heading {
  padding: 4px 12px;
  color: #646b8a;
  font-size: 10px;
  font-weight: 300;
}

.nav-item {
  height: 40px;
  border-radius: 8px;
  gap: 8px;
  padding: 8px 12px;
  color: #646b8a;
  font-size: 14px;
  font-weight: 400;
}

.nav-item.active {
  background: linear-gradient(90deg, #dce8fd 0%, rgba(220, 232, 253, 0.7) 100%);
  color: #4a4fed;
  font-weight: 600;
}

.nav-item:hover {
  background: rgba(220, 232, 253, 0.3);
  color: #4a4fed;
}

.nav-icon {
  width: 16px;
  color: currentColor;
  font-size: 15px;
  opacity: 0.72;
}

.nav-item.active .nav-icon {
  opacity: 1;
}

.user-profile {
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.03);
}

.user-avatar {
  width: 36px;
  height: 36px;
  background: linear-gradient(180deg, #ecf0fc 0%, rgba(236, 240, 252, 0.5) 100%);
  color: #4a4fed;
}

.user-name {
  font-size: 14px;
  font-weight: 500;
}

.main {
  padding: 24px 24px 28px;
}

.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;
}

/* Pixel-pass for the provided classroom monitoring screenshots */
.app-shell {
  grid-template-columns: 270px minmax(0, 1fr);
  background: #f4f7ff;
}

.sidebar {
  padding: 34px 32px 30px;
  background: #eef3ff;
}

.brand {
  margin-bottom: 34px;
  gap: 12px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #fff;
  color: #5878ff;
  font-size: 16px;
}

.brand-title {
  font-size: 24px;
  font-weight: 900;
}

.nav-group {
  gap: 26px;
}

.nav-heading {
  padding: 0 20px 2px;
  color: #8f99ae;
  font-size: 13px;
}

.nav-item {
  height: 52px;
  padding: 0 20px;
  border-radius: 12px;
  color: #65708a;
  font-size: 17px;
  font-weight: 800;
}

.nav-item.active {
  background: #dfe9ff;
  color: #4f63f5;
}

.main {
  padding: 30px 36px 34px;
}

.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,
.combined-preview-dock {
  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-task-pill {
  height: 31px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #d9dee8;
  border-radius: 5px;
  background: #fff;
  color: #647089;
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.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-hero {
  min-height: 150px;
  padding: 32px 32px;
  border-radius: 18px;
  background: #eaf2ff;
  box-shadow: 0 16px 34px rgba(57, 78, 136, 0.08);
}

.combined-hero-copy span {
  margin-bottom: 10px;
  color: #4f63f5;
  font-size: 15px;
}

.combined-hero-copy h2 {
  color: #111827;
  font-size: 36px;
  font-weight: 900;
}

.combined-all-tabs {
  gap: 12px;
}

.combined-all-tabs button {
  width: 130px;
  min-height: 72px;
  padding: 0 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: #7b879f;
  box-shadow: 0 10px 24px rgba(57, 78, 136, 0.08);
}

.combined-all-tabs button span {
  font-size: 15px;
  font-weight: 900;
}

.combined-all-tabs strong {
  color: inherit;
  font-size: 30px;
  font-weight: 900;
}

.combined-all-tabs button.is-active {
  background: #17213a;
  color: #fff;
  box-shadow: 0 16px 30px rgba(23, 33, 58, 0.2);
}

.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;
  }
}
