/* XBlog Course Platform 0.14.2 - mobile-first learning interface */

body.xlt-ui-v2 {
  --xcp-ink: var(--xlt-ink, #242125);
  --xcp-muted: var(--xlt-ink-soft, #656167);
  --xcp-line: var(--xlt-line, #ddd9de);
  --xcp-surface: var(--xlt-surface, #fff);
  --xcp-soft: var(--xlt-surface-soft, #eef0f2);
  --xcp-green: var(--xlt-green, #8f2d3a);
  --xcp-green-strong: var(--xlt-green-strong, #6f1f2b);
  --xcp-green-soft: var(--xlt-green-soft, #f3e5e8);
  --xcp-blue: var(--xlt-blue, #365c68);
  --xcp-rose: var(--xlt-rose, #9d4652);
  --xcp-gold: var(--xlt-gold, #ad8848);
  --xcp-danger: var(--xlt-danger, #a2343f);
  --xcp-radius: 6px;
  --xcp-shadow: 0 16px 36px rgba(42, 34, 39, 0.09);
}

body.xlt-ui-v2 .xcp-button,
body.xlt-ui-v2 button.xcp-button,
body.xlt-ui-v2 a.xcp-button,
body.xlt-ui-v2 .xcp-secondary-button,
body.xlt-ui-v2 a.xcp-secondary-button,
body.xlt-ui-v2 button.xcp-secondary-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid var(--xcp-green);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 720;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

body.xlt-ui-v2 .xcp-button,
body.xlt-ui-v2 button.xcp-button,
body.xlt-ui-v2 a.xcp-button {
  background: var(--xcp-green);
  color: #fff;
}

body.xlt-ui-v2 .xcp-button:hover,
body.xlt-ui-v2 .xcp-button:focus-visible {
  border-color: var(--xcp-green-strong);
  background: var(--xcp-green-strong);
  color: #fff;
}

body.xlt-ui-v2 .xcp-secondary-button,
body.xlt-ui-v2 a.xcp-secondary-button,
body.xlt-ui-v2 button.xcp-secondary-button {
  background: #fff;
  color: var(--xcp-green);
}

body.xlt-ui-v2 .xcp-secondary-button:hover,
body.xlt-ui-v2 .xcp-secondary-button:focus-visible {
  border-color: var(--xcp-green);
  background: var(--xcp-green-soft);
  color: var(--xcp-green-strong);
}

body.xlt-ui-v2 .xcp-button:focus-visible,
body.xlt-ui-v2 .xcp-secondary-button:focus-visible,
body.xlt-ui-v2 .xcp-course-intro-link:focus-visible,
body.xlt-ui-v2 .xcp-catalog-tabs a:focus-visible,
body.xlt-ui-v2 .xcp-lesson-row-link:focus-visible {
  outline: 3px solid rgba(167, 131, 71, 0.34);
  outline-offset: 2px;
}

body.xlt-ui-v2 .xcp-course-intro-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 6px;
  color: var(--xcp-green);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

body.xlt-ui-v2 .xcp-course-intro-link::after {
  content: "\2197";
  color: var(--xcp-gold);
}

body.xlt-ui-v2 .xcp-notice {
  display: block;
  margin: 16px 0;
  padding: 14px 16px;
  border: 1px solid #c9d9d2;
  border-left: 3px solid var(--xcp-green);
  border-radius: 6px;
  background: #f5f9f7;
  color: var(--xcp-ink);
}

body.xlt-ui-v2 .xcp-notice.is-success {
  border-color: #bed9ca;
  border-left-color: #367657;
  background: #eff8f3;
}

body.xlt-ui-v2 .xcp-empty {
  color: var(--xcp-muted);
}

body.xlt-ui-v2 .xcp-progress {
  height: 6px;
  overflow: hidden;
  border-radius: 3px;
  background: #ebe7e9;
}

body.xlt-ui-v2 .xcp-progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--xcp-green);
}

body.xlt-ui-v2 .xcp-course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  color: var(--xcp-muted);
  font-size: 13px;
}

body.xlt-ui-v2 .xcp-course-meta span {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid var(--xcp-line);
  border-radius: 4px;
  background: var(--xcp-soft);
  color: var(--xcp-muted);
}

body.xlt-ui-v2 .xcp-course-meta span + span::before {
  content: "";
  width: 3px;
  height: 3px;
  margin-right: 12px;
  border-radius: 50%;
  background: var(--xcp-gold);
}

body.xlt-ui-v2 .xcp-course-catalog-labels,
body.xlt-ui-v2 .xcp-course-card-labels,
body.xlt-ui-v2 .xcp-student-course-labels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  color: var(--xcp-muted);
  font-size: 12px;
  font-weight: 720;
}

body.xlt-ui-v2 .xcp-course-series-badge,
body.xlt-ui-v2 .xcp-course-access-state,
body.xlt-ui-v2 .xcp-course-catalog-labels span,
body.xlt-ui-v2 .xcp-student-course-labels span {
  border-color: var(--xcp-line);
  background: #f7f7f8;
  color: var(--xcp-muted);
}

body.xlt-ui-v2 .xcp-series-shushi_ai .xcp-course-series-badge,
body.xlt-ui-v2 .xcp-series-shushi_ai .xcp-course-catalog-labels span:first-child {
  border-color: rgba(54, 92, 104, 0.22);
  background: #eaf0f2;
  color: var(--xcp-blue);
}

body.xlt-ui-v2 .xcp-series-shushi_ip .xcp-course-series-badge,
body.xlt-ui-v2 .xcp-series-shushi_ip .xcp-course-catalog-labels span:first-child {
  border-color: rgba(157, 70, 82, 0.2);
  background: #f5e9eb;
  color: var(--xcp-rose);
}

body.xlt-ui-v2 .xcp-course-access-state,
body.xlt-ui-v2 .xcp-course-catalog-labels span:last-child {
  border-color: rgba(143, 45, 58, 0.18);
  background: var(--xcp-green-soft);
  color: var(--xcp-green);
}

/* Course library */
body.xlt-ui-v2 .xcp-course-library {
  display: grid;
  gap: 48px;
}

body.xlt-ui-v2 .xcp-catalog-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  border-bottom: 0;
  scrollbar-width: none;
}

body.xlt-ui-v2 .xcp-catalog-tabs::-webkit-scrollbar {
  display: none;
}

body.xlt-ui-v2 .xcp-catalog-tabs a {
  display: inline-flex;
  min-height: 40px;
  flex: 0 0 auto;
  align-items: center;
  padding: 7px 14px;
  border: 1px solid var(--xcp-line);
  border-radius: 5px;
  background: var(--xcp-surface);
  color: var(--xcp-muted);
  font-size: 14px;
  font-weight: 680;
  text-decoration: none;
}

body.xlt-ui-v2 .xcp-catalog-tabs a.is-active {
  border-color: var(--xcp-green);
  background: var(--xcp-green);
  color: #fff;
}

body.xlt-ui-v2 .xcp-catalog-tabs a.is-active::after {
  display: none;
}

body.xlt-ui-v2 .xcp-course-group {
  display: grid;
  gap: 22px;
}

body.xlt-ui-v2 .xcp-course-group-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1.2fr);
  align-items: end;
  gap: 36px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--xcp-line);
}

body.xlt-ui-v2 .xcp-course-group-head > div {
  display: grid;
  gap: 2px;
}

body.xlt-ui-v2 .xcp-course-group-head > div > span {
  color: var(--xcp-gold);
  font-size: 12px;
  font-weight: 720;
}

body.xlt-ui-v2 .xcp-course-group-head h2 {
  margin: 0;
  color: var(--xcp-ink);
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 30px;
  font-weight: 650;
  line-height: 1.25;
}

body.xlt-ui-v2 .xcp-course-group-head p {
  margin: 0;
  color: var(--xcp-muted);
  text-align: right;
}

body.xlt-ui-v2 .xcp-course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

body.xlt-ui-v2 .xcp-course-card {
  display: grid;
  min-width: 0;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--xcp-line);
  border-radius: var(--xcp-radius);
  background: var(--xcp-surface);
  box-shadow: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

body.xlt-ui-v2 .xcp-course-card:hover {
  border-color: #bfcac5;
  box-shadow: var(--xcp-shadow);
  transform: translateY(-2px);
}

body.xlt-ui-v2 .xcp-course-thumb {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #dde4e0;
}

body.xlt-ui-v2 .xcp-course-thumb img,
body.xlt-ui-v2 .xcp-course-hero img,
body.xlt-ui-v2 .xcp-preview-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.xlt-ui-v2 .xcp-course-card.xcp-course-shushi-ip-image-aesthetics .xcp-course-thumb img,
body.xlt-ui-v2 .xcp-course-shushi-ip-image-aesthetics .xcp-course-hero img {
  object-position: 54% center;
}

body.xlt-ui-v2 .xcp-course-status-badge {
  position: absolute;
  top: 14px;
  right: auto;
  left: 14px;
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  background: rgba(35, 32, 36, 0.84);
  color: #fff;
  font-size: 12px;
  font-weight: 720;
  line-height: 1;
  backdrop-filter: blur(8px);
}

body.xlt-ui-v2 .xcp-course-card-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  padding: 22px;
}

body.xlt-ui-v2 .xcp-course-card-labels {
  min-height: 22px;
  justify-content: space-between;
}

body.xlt-ui-v2 .xcp-course-series-badge {
  color: var(--xcp-blue);
}

body.xlt-ui-v2 .xcp-series-shushi_ip .xcp-course-series-badge {
  color: var(--xcp-rose);
}

body.xlt-ui-v2 .xcp-course-access-state {
  color: var(--xcp-green);
}

body.xlt-ui-v2 .xcp-course-card h3 {
  margin: 12px 0 0;
  color: var(--xcp-ink);
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 25px;
  font-weight: 680;
  line-height: 1.32;
}

body.xlt-ui-v2 .xcp-course-card h3 a {
  text-decoration: none;
}

body.xlt-ui-v2 .xcp-course-card-subtitle {
  min-height: 3.2em;
  margin: 8px 0 0;
  color: var(--xcp-muted);
  font-size: 14px;
  line-height: 1.6;
}

body.xlt-ui-v2 .xcp-course-card-count,
body.xlt-ui-v2 .xcp-course-launch-note {
  margin: 14px 0 0;
  color: var(--xcp-muted);
  font-size: 13px;
}

body.xlt-ui-v2 .xcp-course-card-next {
  display: grid;
  gap: 2px;
  margin: 14px 0 0;
  color: var(--xcp-ink);
  font-size: 14px;
  line-height: 1.5;
}

body.xlt-ui-v2 .xcp-course-card-next span {
  color: var(--xcp-gold);
  font-size: 12px;
  font-weight: 720;
}

body.xlt-ui-v2 .xcp-course-card .xcp-progress {
  margin-top: 16px;
}

body.xlt-ui-v2 .xcp-course-card-progress-label {
  display: block;
  margin-top: 6px;
  color: var(--xcp-muted);
  font-size: 12px;
}

body.xlt-ui-v2 .xcp-course-card-actions {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding-top: 18px;
}

body.xlt-ui-v2 .xcp-course-card-actions .xcp-button,
body.xlt-ui-v2 .xcp-course-card-actions .xcp-secondary-button {
  min-width: 112px;
}

/* Course learning page */
body.xlt-ui-v2 .xcp-course {
  display: grid;
  gap: 28px;
}

body.xlt-ui-v2 .xcp-course-header,
body.xlt-ui-v2 .xcp-preview-hero {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  overflow: hidden;
  border: 1px solid var(--xcp-line);
  border-radius: var(--xcp-radius);
  background: var(--xcp-surface);
}

body.xlt-ui-v2 .xcp-course-hero,
body.xlt-ui-v2 .xcp-preview-visual {
  min-height: 100%;
  background: #dfe5e1;
}

body.xlt-ui-v2 .xcp-course-summary,
body.xlt-ui-v2 .xcp-preview-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 34px 38px;
}

body.xlt-ui-v2 .xcp-course-summary h1,
body.xlt-ui-v2 .xcp-preview-copy h1 {
  margin: 10px 0 0;
  color: var(--xcp-ink);
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 36px;
  font-weight: 680;
  line-height: 1.25;
}

body.xlt-ui-v2 .xcp-course-catalog-subtitle {
  margin: 12px 0 0;
  color: var(--xcp-muted);
  font-size: 16px;
  line-height: 1.7;
}

body.xlt-ui-v2 .xcp-course-summary > .xcp-course-meta {
  margin-top: 16px;
}

body.xlt-ui-v2 .xcp-course-progress-summary {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--xcp-line);
}

body.xlt-ui-v2 .xcp-course-progress-summary > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

body.xlt-ui-v2 .xcp-course-progress-summary > div:first-child span,
body.xlt-ui-v2 .xcp-course-progress-summary small {
  color: var(--xcp-muted);
  font-size: 13px;
}

body.xlt-ui-v2 .xcp-course-progress-summary > div:first-child strong {
  color: var(--xcp-green);
  font-family: Georgia, serif;
  font-size: 28px;
}

body.xlt-ui-v2 .xcp-course-next-step {
  display: grid;
  gap: 2px;
  margin-top: 14px;
}

body.xlt-ui-v2 .xcp-course-next-step span {
  color: var(--xcp-gold);
  font-size: 12px;
  font-weight: 720;
}

body.xlt-ui-v2 .xcp-course-next-step strong {
  color: var(--xcp-ink);
  font-size: 17px;
  line-height: 1.45;
}

body.xlt-ui-v2 .xcp-course-primary-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 22px;
}

body.xlt-ui-v2 .xcp-course-primary-actions > .xcp-notice {
  width: 100%;
  margin: 0;
}

body.xlt-ui-v2 .xcp-course-greeting {
  padding: 13px 16px;
  border-left: 3px solid var(--xcp-gold);
  background: #f6f7f3;
}

body.xlt-ui-v2 .xcp-course-greeting p {
  margin: 0;
  color: var(--xcp-muted);
  font-size: 14px;
  line-height: 1.6;
}

body.xlt-ui-v2 .xcp-makeup-notice {
  margin: 0;
}

body.xlt-ui-v2 .xcp-makeup-notice div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

body.xlt-ui-v2 .xcp-makeup-notice a {
  color: var(--xcp-green);
  font-weight: 700;
}

body.xlt-ui-v2 .xcp-lessons {
  display: grid;
  gap: 18px;
  padding-top: 6px;
}

body.xlt-ui-v2 .xcp-course-outline-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--xcp-line);
}

body.xlt-ui-v2 .xcp-course-outline-head h2 {
  margin: 0;
  color: var(--xcp-ink);
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 30px;
  font-weight: 680;
}

body.xlt-ui-v2 .xcp-course-outline-head p {
  margin: 0;
  color: var(--xcp-muted);
  font-size: 14px;
  text-align: right;
}

body.xlt-ui-v2 .xcp-outline {
  display: grid;
  gap: 14px;
}

body.xlt-ui-v2 .xcp-module {
  overflow: hidden;
  border: 1px solid var(--xcp-line);
  border-radius: var(--xcp-radius);
  background: var(--xcp-surface);
}

body.xlt-ui-v2 .xcp-module > summary,
body.xlt-ui-v2 .xcp-chapter > summary {
  list-style: none;
  cursor: pointer;
}

body.xlt-ui-v2 .xcp-module > summary::-webkit-details-marker,
body.xlt-ui-v2 .xcp-chapter > summary::-webkit-details-marker {
  display: none;
}

body.xlt-ui-v2 .xcp-module > summary {
  position: relative;
  display: grid;
  min-height: 78px;
  grid-template-columns: 84px minmax(0, 1fr) auto 24px;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
}

body.xlt-ui-v2 .xcp-module > summary::after,
body.xlt-ui-v2 .xcp-chapter > summary::after {
  color: var(--xcp-muted);
  font-size: 20px;
  line-height: 1;
  content: "+";
}

body.xlt-ui-v2 .xcp-module[open] > summary::after,
body.xlt-ui-v2 .xcp-chapter[open] > summary::after {
  content: "\2212";
}

body.xlt-ui-v2 .xcp-module > summary > span {
  color: var(--xcp-gold);
  font-size: 13px;
  font-weight: 750;
}

body.xlt-ui-v2 .xcp-module > summary > strong {
  color: var(--xcp-ink);
  font-size: 20px;
  line-height: 1.4;
}

body.xlt-ui-v2 .xcp-module > summary > em {
  color: var(--xcp-muted);
  font-size: 13px;
  font-style: normal;
}

body.xlt-ui-v2 .xcp-module[open] > summary {
  border-bottom: 1px solid var(--xcp-line);
  background: #f7f9f7;
}

body.xlt-ui-v2 .xcp-module-chapters {
  display: grid;
}

body.xlt-ui-v2 .xcp-chapter {
  border: 0;
  border-bottom: 1px solid var(--xcp-line);
  border-radius: 0;
  background: transparent;
}

body.xlt-ui-v2 .xcp-chapter:last-child {
  border-bottom: 0;
}

body.xlt-ui-v2 .xcp-chapter > summary {
  display: grid;
  min-height: 60px;
  grid-template-columns: minmax(0, 1fr) auto 24px;
  align-items: center;
  gap: 14px;
  padding: 12px 18px 12px 34px;
}

body.xlt-ui-v2 .xcp-chapter > summary > strong {
  color: var(--xcp-ink);
  font-size: 16px;
  line-height: 1.45;
}

body.xlt-ui-v2 .xcp-chapter > summary > span {
  color: var(--xcp-muted);
  font-size: 13px;
}

body.xlt-ui-v2 .xcp-chapter[open] > summary {
  background: #fbfcfb;
}

body.xlt-ui-v2 .xcp-lesson-list {
  margin: 0;
  padding: 0 18px 10px 34px;
  border-top: 1px solid #edf0ee;
  list-style: none;
}

body.xlt-ui-v2 .xcp-lesson-row {
  margin: 0;
  border: 0;
  border-bottom: 1px solid #e7ece9;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.xlt-ui-v2 .xcp-lesson-row:last-child {
  border-bottom: 0;
}

body.xlt-ui-v2 .xcp-lesson-row.is-addon {
  background: #fbf7ef;
}

body.xlt-ui-v2 .xcp-lesson-row.is-upcoming {
  background: #fafafa;
}

body.xlt-ui-v2 .xcp-lesson-row.is-upcoming .xcp-lesson-row-link {
  cursor: default;
}

body.xlt-ui-v2 .xcp-lesson-row.is-upcoming .xcp-lesson-index {
  border-color: #d9dddb;
  background: #f1f3f2;
  color: #69736f;
}

body.xlt-ui-v2 .xcp-lesson-row.is-upcoming .xcp-lesson-title,
body.xlt-ui-v2 .xcp-lesson-row.is-upcoming .xcp-status {
  color: #69736f;
}

body.xlt-ui-v2 .xcp-lesson-row.is-upcoming .xcp-lesson-upcoming-tag {
  border-color: #d9dddb;
  background: #f1f3f2;
  color: #69736f;
}

body.xlt-ui-v2 .xcp-lesson-row-link {
  display: grid;
  min-height: 68px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 10px 8px;
  color: inherit;
  text-decoration: none;
}

body.xlt-ui-v2 .xcp-lesson-row-main {
  display: grid;
  min-width: 0;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

body.xlt-ui-v2 .xcp-lesson-index {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(143, 45, 58, 0.2);
  border-radius: 50%;
  background: var(--xcp-green-soft);
  color: var(--xcp-green);
  font-size: 12px;
  font-weight: 760;
}

body.xlt-ui-v2 .xcp-lesson-row-body {
  display: grid;
  min-width: 0;
  gap: 5px;
}

body.xlt-ui-v2 .xcp-lesson-title {
  color: var(--xcp-ink);
  font-size: 15px;
  line-height: 1.5;
}

body.xlt-ui-v2 .xcp-lesson-meta {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 3px 12px;
  color: var(--xcp-muted);
  font-size: 12px;
  line-height: 1.5;
}

body.xlt-ui-v2 .xcp-lesson-meta span {
  padding: 2px 7px;
  border: 1px solid var(--xcp-line);
  border-radius: 4px;
  background: #f7f7f8;
}

body.xlt-ui-v2 .xcp-lesson-required-tag,
body.xlt-ui-v2 .xcp-lesson-lock-tag {
  color: var(--xcp-danger);
}

body.xlt-ui-v2 .xcp-status {
  color: var(--xcp-green);
  font-size: 13px;
  font-weight: 720;
  white-space: nowrap;
}

body.xlt-ui-v2 .xcp-lesson-row.is-locked .xcp-title,
body.xlt-ui-v2 .xcp-lesson-row.is-locked .xcp-status,
body.xlt-ui-v2 .xcp-lesson-row.is-locked .xcp-lesson-title {
  color: #7e8a85;
}

body.xlt-ui-v2 .xcp-course-update-notice {
  padding: 18px 20px;
  border-left: 3px solid var(--xcp-gold);
  background: #f7f4ed;
}

body.xlt-ui-v2 .xcp-course-update-notice strong {
  color: var(--xcp-ink);
}

body.xlt-ui-v2 .xcp-course-update-notice p {
  margin: 4px 0 0;
  color: var(--xcp-muted);
  font-size: 14px;
}

body.xlt-ui-v2 .xcp-course-preview {
  min-height: 520px;
}

body.xlt-ui-v2 .xcp-preview-copy > p:not(.xcp-course-catalog-subtitle):not(.xcp-course-launch-note) {
  color: var(--xcp-muted);
}

body.xlt-ui-v2 .xcp-preview-copy .xcp-secondary-button {
  align-self: flex-start;
  margin-top: 20px;
}

/* Lesson page */
body.xlt-ui-v2 .xcp-lesson {
  display: grid;
  gap: 22px;
  min-width: 0;
}

body.xlt-ui-v2 .xcp-lesson-header {
  display: grid;
  gap: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--xcp-line);
}

body.xlt-ui-v2 .xcp-back-link {
  display: inline-flex;
  width: fit-content;
  min-height: 40px;
  align-items: center;
  color: var(--xcp-green);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

body.xlt-ui-v2 .xcp-lesson-context {
  margin: 0;
  color: var(--xcp-gold);
  font-size: 13px;
  font-weight: 700;
}

body.xlt-ui-v2 .xcp-lesson-header h1 {
  margin: 0;
  color: var(--xcp-ink);
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 34px;
  font-weight: 680;
  line-height: 1.32;
}

body.xlt-ui-v2 .xcp-video,
body.xlt-ui-v2 .xcp-video-placeholder {
  width: 100%;
  overflow: hidden;
  border: 0;
  border-radius: var(--xcp-radius);
  background: #0c1110;
  box-shadow: none;
}

body.xlt-ui-v2 .xcp-video-aspect-landscape,
body.xlt-ui-v2 .xcp-video-aspect-landscape .xcp-aliyun-player,
body.xlt-ui-v2 .xcp-video-aspect-landscape video,
body.xlt-ui-v2 .xcp-video-aspect-landscape iframe {
  aspect-ratio: 16 / 9;
}

body.xlt-ui-v2 .xcp-video-aspect-square,
body.xlt-ui-v2 .xcp-video-aspect-square .xcp-aliyun-player,
body.xlt-ui-v2 .xcp-video-aspect-square video,
body.xlt-ui-v2 .xcp-video-aspect-square iframe {
  aspect-ratio: 1 / 1;
}

body.xlt-ui-v2 .xcp-video-aspect-portrait {
  width: min(100%, 480px);
  margin-inline: auto;
}

body.xlt-ui-v2 .xcp-video-aspect-portrait,
body.xlt-ui-v2 .xcp-video-aspect-portrait .xcp-aliyun-player,
body.xlt-ui-v2 .xcp-video-aspect-portrait video,
body.xlt-ui-v2 .xcp-video-aspect-portrait iframe {
  aspect-ratio: 9 / 16;
}

body.xlt-ui-v2 .xcp-aliyun-player,
body.xlt-ui-v2 .xcp-video video,
body.xlt-ui-v2 .xcp-video iframe {
  width: 100% !important;
  height: 100% !important;
}

body.xlt-ui-v2 .xcp-video-placeholder {
  display: grid;
  min-height: 280px;
  place-content: center;
  padding: 30px;
  color: #fff;
  text-align: center;
}

body.xlt-ui-v2 .xcp-video-placeholder p {
  max-width: 460px;
  margin: 6px 0 0;
  color: #b8c2be;
}

body.xlt-ui-v2 .xcp-lesson-content-tabs,
body.xlt-ui-v2 .xcp-ab-tabs,
body.xlt-ui-v2 .xcp-teacher-tabs {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid var(--xcp-line);
  scrollbar-width: none;
}

body.xlt-ui-v2 .xcp-lesson-content-tabs::-webkit-scrollbar,
body.xlt-ui-v2 .xcp-ab-tabs::-webkit-scrollbar,
body.xlt-ui-v2 .xcp-teacher-tabs::-webkit-scrollbar {
  display: none;
}

body.xlt-ui-v2 .xcp-lesson-content-tabs button {
  position: relative;
  min-height: 48px;
  flex: 0 0 auto;
  padding: 8px 22px;
  border: 0;
  background: transparent;
  color: var(--xcp-muted);
  font-weight: 700;
  cursor: pointer;
}

body.xlt-ui-v2 .xcp-lesson-content-tabs button.is-active {
  color: var(--xcp-green);
}

body.xlt-ui-v2 .xcp-lesson-content-tabs button.is-active::after {
  position: absolute;
  right: 12px;
  bottom: -1px;
  left: 12px;
  height: 2px;
  background: var(--xcp-green);
  content: "";
}

body.xlt-ui-v2 .xcp-lesson-panel {
  min-width: 0;
}

body.xlt-ui-v2 .xcp-lesson-panel[hidden],
body.xlt-ui-v2 .xcp-ab-part[hidden] {
  display: none !important;
}

body.xlt-ui-v2 .xcp-lesson-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--xcp-line);
  border-radius: var(--xcp-radius);
  background: var(--xcp-surface);
}

body.xlt-ui-v2 .xcp-lesson-notes article {
  min-width: 0;
  padding: 18px 20px;
  border-bottom: 1px solid var(--xcp-line);
  background: transparent;
}

body.xlt-ui-v2 .xcp-lesson-notes article:nth-child(odd) {
  border-right: 1px solid var(--xcp-line);
}

body.xlt-ui-v2 .xcp-lesson-notes article:last-child,
body.xlt-ui-v2 .xcp-lesson-notes article:nth-last-child(2):nth-child(odd) {
  border-bottom: 0;
}

body.xlt-ui-v2 .xcp-lesson-notes article > span {
  color: var(--xcp-gold);
  font-size: 12px;
  font-weight: 750;
}

body.xlt-ui-v2 .xcp-lesson-notes article p {
  margin: 7px 0 0;
  color: var(--xcp-ink);
}

body.xlt-ui-v2 .xcp-lesson-content {
  min-width: 0;
  margin-top: 18px;
  padding: 26px clamp(20px, 4vw, 42px);
  border: 1px solid var(--xcp-line);
  border-radius: var(--xcp-radius);
  background: var(--xcp-surface);
  color: #26332e;
  font-size: 16px;
  line-height: 1.9;
}

body.xlt-ui-v2 .xcp-lesson-content > :first-child {
  margin-top: 0;
}

body.xlt-ui-v2 .xcp-lesson-content > :last-child {
  margin-bottom: 0;
}

body.xlt-ui-v2 .xcp-lesson-content h2,
body.xlt-ui-v2 .xcp-lesson-content h3,
body.xlt-ui-v2 .xcp-lesson-content h4 {
  margin: 1.6em 0 0.65em;
  color: var(--xcp-ink);
  font-family: "Songti SC", "STSong", "SimSun", serif;
  line-height: 1.45;
}

body.xlt-ui-v2 .xcp-lesson-content h2 {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--xcp-line);
  font-size: 25px;
}

body.xlt-ui-v2 .xcp-lesson-content h3 {
  font-size: 21px;
}

body.xlt-ui-v2 .xcp-lesson-content blockquote {
  margin: 1.4em 0;
  padding: 14px 18px;
  border-left: 3px solid var(--xcp-gold);
  background: #f6f5f0;
  color: var(--xcp-muted);
}

body.xlt-ui-v2 .xcp-lesson-content img {
  height: auto;
  margin: 20px auto;
  border-radius: 6px;
}

body.xlt-ui-v2 .xcp-completion-panel,
body.xlt-ui-v2 .xcp-receipt-panel {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--xcp-line);
  border-radius: var(--xcp-radius);
  background: var(--xcp-surface);
  box-shadow: none;
}

body.xlt-ui-v2 .xcp-completion-head,
body.xlt-ui-v2 .xcp-receipt-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

body.xlt-ui-v2 .xcp-receipt-form label,
body.xlt-ui-v2 .xcp-phone-change-form label,
body.xlt-ui-v2 .xcp-teacher-filters label {
  display: block;
  margin-bottom: 6px;
  color: var(--xcp-ink);
  font-size: 13px;
  font-weight: 720;
}

body.xlt-ui-v2 .xcp-receipt-form input,
body.xlt-ui-v2 .xcp-receipt-form select,
body.xlt-ui-v2 .xcp-receipt-form textarea,
body.xlt-ui-v2 .xcp-phone-change-form input,
body.xlt-ui-v2 .xcp-teacher-filters input,
body.xlt-ui-v2 .xcp-teacher-filters select,
body.xlt-ui-v2 .xcp-followup-form textarea,
body.xlt-ui-v2 .xcp-receipt-review-form textarea {
  width: 100%;
  max-width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #bdc8c3;
  border-radius: 5px;
  background: #fff;
  color: var(--xcp-ink);
}

body.xlt-ui-v2 .xcp-receipt-form textarea,
body.xlt-ui-v2 .xcp-followup-form textarea,
body.xlt-ui-v2 .xcp-receipt-review-form textarea {
  min-height: 120px;
  resize: vertical;
}

body.xlt-ui-v2 .xcp-receipt-grid,
body.xlt-ui-v2 .xcp-phone-code-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body.xlt-ui-v2 .xcp-lesson-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--xcp-line);
  border-radius: var(--xcp-radius);
  background: var(--xcp-line);
}

body.xlt-ui-v2 .xcp-lesson-nav > div {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  background: var(--xcp-surface);
}

body.xlt-ui-v2 .xcp-lesson-nav > div:last-child {
  text-align: right;
}

body.xlt-ui-v2 .xcp-lesson-nav span {
  color: var(--xcp-muted);
  font-size: 12px;
}

body.xlt-ui-v2 .xcp-lesson-nav a {
  color: var(--xcp-green);
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
}

/* AB lesson */
body.xlt-ui-v2 .xcp-ab-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--xcp-line);
  border-radius: var(--xcp-radius);
  background: var(--xcp-line);
}

body.xlt-ui-v2 .xcp-ab-tabs button {
  display: grid;
  min-width: 0;
  min-height: 76px;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 0;
  background: #fff;
  color: var(--xcp-muted);
  text-align: left;
  cursor: pointer;
}

body.xlt-ui-v2 .xcp-ab-tabs button.is-active {
  background: var(--xcp-green-soft);
  color: var(--xcp-green-strong);
}

body.xlt-ui-v2 .xcp-ab-tabs button:disabled {
  background: #f3f5f4;
  color: #89938f;
  cursor: not-allowed;
}

body.xlt-ui-v2 .xcp-ab-tabs button > span {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 780;
}

body.xlt-ui-v2 .xcp-ab-tabs button > strong {
  min-width: 0;
  font-size: 15px;
  line-height: 1.35;
}

body.xlt-ui-v2 .xcp-ab-tabs button > em {
  font-size: 12px;
  font-style: normal;
}

body.xlt-ui-v2 .xcp-ab-parts {
  min-width: 0;
}

body.xlt-ui-v2 .xcp-ab-part {
  display: grid;
  min-width: 0;
  gap: 18px;
}

body.xlt-ui-v2 .xcp-ab-part-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--xcp-line);
}

body.xlt-ui-v2 .xcp-ab-part-header > div {
  display: grid;
  gap: 4px;
}

body.xlt-ui-v2 .xcp-ab-part-header span,
body.xlt-ui-v2 .xcp-ab-part-header em,
body.xlt-ui-v2 .xcp-ab-part-duration {
  color: var(--xcp-muted);
  font-size: 13px;
  font-style: normal;
}

body.xlt-ui-v2 .xcp-ab-part-header h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.35;
}

body.xlt-ui-v2 .xcp-ab-part-header p,
body.xlt-ui-v2 .xcp-ab-part-duration {
  margin: 0;
}

body.xlt-ui-v2 .xcp-lesson-handout {
  overflow: hidden;
  border: 1px solid var(--xcp-line);
  border-radius: var(--xcp-radius);
  background: var(--xcp-surface);
}

body.xlt-ui-v2 .xcp-lesson-handout > summary {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  color: var(--xcp-green);
  font-weight: 720;
  list-style: none;
  cursor: pointer;
}

body.xlt-ui-v2 .xcp-lesson-handout > summary::-webkit-details-marker {
  display: none;
}

body.xlt-ui-v2 .xcp-lesson-handout > summary::after {
  content: "+";
}

body.xlt-ui-v2 .xcp-lesson-handout[open] > summary::after {
  content: "\2212";
}

body.xlt-ui-v2 .xcp-lesson-handout .xcp-lesson-content {
  margin: 0;
  border: 0;
  border-top: 1px solid var(--xcp-line);
  border-radius: 0;
}

body.xlt-ui-v2 .xcp-ab-part-complete-form {
  margin: 0;
}

body.xlt-ui-v2 .xcp-ab-completion-hint {
  padding: 14px 16px;
  border-left: 3px solid var(--xcp-gold);
  background: #f7f4ed;
  color: var(--xcp-muted);
}

/* Mobile lesson tools */
body.xlt-ui-v2 .xcp-mobile-study-bar,
body.xlt-ui-v2 .xcp-lesson-drawer {
  display: none;
}

body.xlt-ui-v2 .xcp-lesson-drawer[hidden] {
  display: none !important;
}

/* Student center */
body.xlt-ui-v2 .xlt-content-student-center,
body.xlt-ui-v2 .xlt-content-teacher-dashboard,
body.xlt-ui-v2 .xlt-content-application {
  padding-block: 40px 88px;
}

body.xlt-ui-v2 .xcp-student-center,
body.xlt-ui-v2 .xcp-teacher-dashboard {
  display: grid;
  gap: 24px;
}

body.xlt-ui-v2 .xcp-student-hero,
body.xlt-ui-v2 .xcp-teacher-hero {
  display: grid;
  gap: 6px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--xcp-line);
}

body.xlt-ui-v2 .xcp-student-hero h1,
body.xlt-ui-v2 .xcp-teacher-hero h1 {
  margin: 0;
  color: var(--xcp-ink);
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 38px;
  font-weight: 680;
  line-height: 1.25;
}

body.xlt-ui-v2 .xcp-student-hero span,
body.xlt-ui-v2 .xcp-teacher-hero span {
  color: var(--xcp-muted);
}

body.xlt-ui-v2 .xcp-student-stats,
body.xlt-ui-v2 .xcp-teacher-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--xcp-line);
  border-radius: var(--xcp-radius);
  background: var(--xcp-surface);
}

body.xlt-ui-v2 .xcp-teacher-stats {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

body.xlt-ui-v2 .xcp-student-stats article,
body.xlt-ui-v2 .xcp-teacher-stats article {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 20px;
  border-right: 1px solid var(--xcp-line);
  background: transparent;
}

body.xlt-ui-v2 .xcp-student-stats article:last-child,
body.xlt-ui-v2 .xcp-teacher-stats article:last-child {
  border-right: 0;
}

body.xlt-ui-v2 .xcp-student-stats strong,
body.xlt-ui-v2 .xcp-teacher-stats strong {
  color: var(--xcp-green);
  font-family: Georgia, serif;
  font-size: 30px;
  line-height: 1.15;
}

body.xlt-ui-v2 .xcp-student-stats span,
body.xlt-ui-v2 .xcp-teacher-stats span {
  color: var(--xcp-muted);
  font-size: 12px;
  line-height: 1.45;
}

body.xlt-ui-v2 .xcp-student-today {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  border: 1px solid #cbdad3;
  border-radius: var(--xcp-radius);
  background: var(--xcp-green-soft);
}

body.xlt-ui-v2 .xcp-student-today > div {
  display: grid;
  gap: 4px;
}

body.xlt-ui-v2 .xcp-student-today span {
  color: var(--xcp-gold);
  font-size: 12px;
  font-weight: 740;
}

body.xlt-ui-v2 .xcp-student-today h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.4;
}

body.xlt-ui-v2 .xcp-student-today p {
  margin: 0;
  color: var(--xcp-muted);
}

body.xlt-ui-v2 .xcp-student-latest-reply {
  padding: 20px 24px;
  border-left: 3px solid var(--xcp-gold);
  background: #f7f5ef;
}

body.xlt-ui-v2 .xcp-student-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 20px;
  align-items: start;
}

body.xlt-ui-v2 .xcp-student-card,
body.xlt-ui-v2 .xcp-teacher-card,
body.xlt-ui-v2 .xcp-teacher-receipt-card,
body.xlt-ui-v2 .xcp-followup-card {
  padding: 24px;
  border: 1px solid var(--xcp-line);
  border-radius: var(--xcp-radius);
  background: var(--xcp-surface);
  box-shadow: none;
}

body.xlt-ui-v2 .xcp-student-card > h2,
body.xlt-ui-v2 .xcp-teacher-card h2 {
  margin: 0 0 18px;
  font-size: 22px;
}

body.xlt-ui-v2 .xcp-student-course-list {
  display: grid;
  gap: 0;
}

body.xlt-ui-v2 .xcp-student-course {
  display: grid;
  gap: 10px;
  padding: 18px 0;
  border-bottom: 1px solid var(--xcp-line);
}

body.xlt-ui-v2 .xcp-student-course:first-child {
  padding-top: 0;
}

body.xlt-ui-v2 .xcp-student-course:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

body.xlt-ui-v2 .xcp-student-course h3 {
  margin: 6px 0 0;
  font-size: 18px;
}

body.xlt-ui-v2 .xcp-student-course p,
body.xlt-ui-v2 .xcp-student-course small {
  margin: 4px 0 0;
  color: var(--xcp-muted);
}

body.xlt-ui-v2 .xcp-account-settings {
  padding: 0;
}

body.xlt-ui-v2 .xcp-account-settings > summary {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  list-style: none;
  cursor: pointer;
}

body.xlt-ui-v2 .xcp-account-settings > summary::-webkit-details-marker {
  display: none;
}

body.xlt-ui-v2 .xcp-account-settings > summary > span {
  display: grid;
  gap: 3px;
}

body.xlt-ui-v2 .xcp-account-settings > summary small,
body.xlt-ui-v2 .xcp-account-settings > summary em {
  color: var(--xcp-muted);
  font-size: 12px;
  font-style: normal;
}

body.xlt-ui-v2 .xcp-account-settings > summary em {
  color: var(--xcp-green);
  font-weight: 700;
}

body.xlt-ui-v2 .xcp-account-settings .xcp-phone-change-form {
  padding: 0 20px 22px;
  border-top: 1px solid var(--xcp-line);
}

body.xlt-ui-v2 .xcp-phone-change-form > p,
body.xlt-ui-v2 .xcp-phone-code-grid p {
  margin: 16px 0 0;
}

body.xlt-ui-v2 .xcp-phone-code-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

body.xlt-ui-v2 .xcp-phone-code-grid .xcp-secondary-button {
  width: 100%;
  margin-top: 8px;
}

body.xlt-ui-v2 .xcp-logout-wrap {
  margin: 0;
  text-align: right;
}

/* Teacher dashboard */
body.xlt-ui-v2 .xcp-teacher-tabs {
  width: 100%;
  max-width: 100%;
  gap: 4px;
  margin: 0;
  padding: 5px;
  border: 1px solid var(--xcp-line);
  border-radius: var(--xcp-radius);
  background: var(--xcp-surface);
}

body.xlt-ui-v2 .xcp-teacher-tabs a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: #504b50;
  font-weight: 720;
  text-decoration: none;
}

body.xlt-ui-v2 .xcp-teacher-tabs a:hover,
body.xlt-ui-v2 .xcp-teacher-tabs a:focus-visible {
  background: var(--xcp-soft);
  color: var(--xcp-ink);
}

body.xlt-ui-v2 .xcp-teacher-tabs a.is-active,
body.xlt-ui-v2 .xcp-teacher-tabs a.is-active:hover,
body.xlt-ui-v2 .xcp-teacher-tabs a.is-active:focus-visible {
  border-color: var(--xcp-ink);
  background: var(--xcp-ink);
  color: #fff;
  box-shadow: none;
}

body.xlt-ui-v2 .xcp-teacher-tabs a.is-active::after {
  display: none;
}

body.xlt-ui-v2 .xcp-teacher-filter-panel {
  border: 1px solid var(--xcp-line);
  border-radius: var(--xcp-radius);
  background: var(--xcp-surface);
}

body.xlt-ui-v2 .xcp-teacher-filter-panel > summary {
  display: none;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  color: var(--xcp-green);
  font-weight: 720;
  list-style: none;
  cursor: pointer;
}

body.xlt-ui-v2 .xcp-teacher-filter-panel > summary::after {
  content: "+";
}

body.xlt-ui-v2 .xcp-teacher-filter-panel[open] > summary::after {
  content: "\2212";
}

body.xlt-ui-v2 .xcp-teacher-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(140px, 0.65fr)) auto auto;
  gap: 12px;
  align-items: end;
  margin: 0;
  padding: 18px;
}

body.xlt-ui-v2 .xcp-teacher-filters p {
  min-width: 0;
  margin: 0;
}

body.xlt-ui-v2 .xcp-teacher-table-head,
body.xlt-ui-v2 .xcp-workbench-head,
body.xlt-ui-v2 .xcp-student-receipts-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

body.xlt-ui-v2 .xcp-teacher-table-head h2,
body.xlt-ui-v2 .xcp-workbench-head h2,
body.xlt-ui-v2 .xcp-student-receipts-head h2 {
  margin: 0;
}

body.xlt-ui-v2 .xcp-teacher-table-head span {
  color: var(--xcp-muted);
  font-size: 13px;
}

body.xlt-ui-v2 .xcp-teacher-table-wrap {
  overflow-x: auto;
}

body.xlt-ui-v2 .xcp-teacher-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

body.xlt-ui-v2 .xcp-teacher-table th,
body.xlt-ui-v2 .xcp-teacher-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--xcp-line);
  text-align: left;
  vertical-align: top;
}

body.xlt-ui-v2 .xcp-teacher-table th {
  color: var(--xcp-muted);
  font-size: 12px;
  font-weight: 720;
}

body.xlt-ui-v2 .xcp-teacher-table td span,
body.xlt-ui-v2 .xcp-teacher-table td small,
body.xlt-ui-v2 .xcp-teacher-table td strong {
  display: block;
}

body.xlt-ui-v2 .xcp-teacher-table td small,
body.xlt-ui-v2 .xcp-teacher-table td span {
  color: var(--xcp-muted);
}

body.xlt-ui-v2 .xcp-teacher-progress {
  width: 120px;
  margin: 6px 0;
}

body.xlt-ui-v2 .xcp-workbench-queues,
body.xlt-ui-v2 .xcp-receipt-mini-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

body.xlt-ui-v2 .xcp-workbench-queues a {
  border-color: var(--xcp-line);
  border-radius: var(--xcp-radius);
  background: var(--xcp-surface);
  color: var(--xcp-ink);
  box-shadow: none;
}

body.xlt-ui-v2 .xcp-workbench-queues a.is-active {
  border-color: var(--xcp-green);
  background: var(--xcp-green-soft);
  box-shadow: inset 0 0 0 1px var(--xcp-green);
}

body.xlt-ui-v2 .xcp-workbench-queues strong {
  color: var(--xcp-green-strong);
}

body.xlt-ui-v2 .xcp-workbench-queues span {
  color: var(--xcp-muted);
}

body.xlt-ui-v2 .xcp-followup-list,
body.xlt-ui-v2 .xcp-teacher-receipt-list,
body.xlt-ui-v2 .xcp-receipt-timeline {
  display: grid;
  gap: 14px;
}

body.xlt-ui-v2 .xcp-followup-facts,
body.xlt-ui-v2 .xcp-teacher-receipt-meta,
body.xlt-ui-v2 .xcp-followup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

body.xlt-ui-v2 .xcp-followup-facts span,
body.xlt-ui-v2 .xcp-teacher-receipt-meta span {
  border: 1px solid var(--xcp-line);
  border-radius: 4px;
  background: #f7f7f8;
  color: #5c575d;
}

body.xlt-ui-v2 .xcp-teacher-receipt-main header em {
  border: 1px solid rgba(143, 45, 58, 0.2);
  border-radius: 4px;
  background: var(--xcp-green-soft);
  color: var(--xcp-green-strong);
}

/* Agreement form: visual alignment only; business and signature logic stay untouched. */
body.xlt-ui-v2 .xcp-application-shell {
  width: min(920px, 100%);
  margin-inline: auto;
  color: var(--xcp-ink);
}

body.xlt-ui-v2 .xcp-application-header {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--xcp-line);
}

body.xlt-ui-v2 .xcp-application-header h1 {
  margin: 0;
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 38px;
  font-weight: 680;
  line-height: 1.3;
}

body.xlt-ui-v2 .xcp-application-header p {
  margin: 10px 0 0;
  color: var(--xcp-muted);
}

body.xlt-ui-v2 .xcp-application-form {
  display: grid;
  gap: 18px;
}

body.xlt-ui-v2 .xcp-application-fieldset,
body.xlt-ui-v2 .xcp-agreement-card {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--xcp-line);
  border-radius: var(--xcp-radius);
  background: var(--xcp-surface);
  box-shadow: none;
}

body.xlt-ui-v2 .xcp-application-fieldset legend {
  padding: 0 8px;
  color: var(--xcp-ink);
  font-size: 19px;
  font-weight: 760;
}

body.xlt-ui-v2 .xcp-form-grid,
body.xlt-ui-v2 .xcp-signing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

body.xlt-ui-v2 .xcp-application-form label,
body.xlt-ui-v2 .xcp-field-label {
  display: block;
  margin-bottom: 6px;
  color: var(--xcp-ink);
  font-size: 14px;
  font-weight: 720;
}

body.xlt-ui-v2 .xcp-application-form input,
body.xlt-ui-v2 .xcp-application-form select,
body.xlt-ui-v2 .xcp-application-form textarea {
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #bcc7c2;
  border-radius: 5px;
  background: #fff;
  color: var(--xcp-ink);
}

body.xlt-ui-v2 .xcp-application-form textarea {
  min-height: 120px;
  resize: vertical;
}

body.xlt-ui-v2 .xcp-field-description {
  display: block;
  margin-top: 6px;
  color: var(--xcp-muted);
  font-size: 12px;
  line-height: 1.55;
}

body.xlt-ui-v2 .xcp-signature-pad,
body.xlt-ui-v2 .xcp-seal-block {
  overflow: hidden;
  border: 1px solid var(--xcp-line);
  border-radius: 6px;
  background: #fff;
}

body.xlt-ui-v2 .xcp-signature-canvas {
  width: 100%;
  max-width: 100%;
  touch-action: none;
}

body.xlt-ui-v2 .xcp-signed-date-field,
body.xlt-ui-v2 .xcp-signed-date-field input,
body.xlt-ui-v2 input[type="date"] {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

body.xlt-ui-v2 .xcp-application-confirm {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 0;
}

body.xlt-ui-v2 .xcp-application-confirm input {
  width: 22px;
  min-width: 22px;
  min-height: 22px;
  margin-top: 2px;
}

body.xlt-ui-v2 .xcp-application-submit {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--xcp-green);
  border-radius: 6px;
  background: var(--xcp-green);
  color: #fff;
  font-weight: 760;
}

body.xlt-ui-v2 .xcp-downgrade-gate {
  display: grid;
  justify-items: start;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--xcp-line);
  border-radius: var(--xcp-radius);
  background: var(--xcp-surface);
}

body.xlt-ui-v2 .xcp-downgrade-gate h2,
body.xlt-ui-v2 .xcp-downgrade-gate p {
  margin: 0;
}

body.xlt-ui-v2 .xcp-downgrade-gate p {
  color: var(--xcp-muted);
  line-height: 1.75;
}

body.xlt-ui-v2 .xcp-downgrade-gate .xcp-application-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  padding: 0 22px;
  color: #fff;
  text-decoration: none;
}

body.xlt-ui-v2 .xcp-downgrade-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 18px;
  align-items: center;
  padding: 20px 24px;
  border-left: 4px solid var(--xcp-green);
  background: var(--xcp-green-soft);
}

body.xlt-ui-v2 .xcp-downgrade-summary span,
body.xlt-ui-v2 .xcp-downgrade-summary small {
  color: var(--xcp-muted);
}

body.xlt-ui-v2 .xcp-downgrade-summary strong {
  color: var(--xcp-green-strong);
  font-size: 22px;
}

body.xlt-ui-v2 .xcp-downgrade-summary small {
  grid-column: 1 / -1;
  line-height: 1.6;
}

body.xlt-ui-v2 .xcp-downgrade-form .xcp-plan-options {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

body.xlt-ui-v2 .xcp-downgrade-option em {
  color: #9b3d46;
}

@media (max-width: 980px) {
  body.xlt-ui-v2 .xcp-teacher-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.xlt-ui-v2 .xcp-student-stats,
  body.xlt-ui-v2 .xcp-teacher-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.xlt-ui-v2 .xcp-student-stats article:nth-child(2),
  body.xlt-ui-v2 .xcp-teacher-stats article:nth-child(2n) {
    border-right: 0;
  }

  body.xlt-ui-v2 .xcp-student-stats article:nth-child(-n+2),
  body.xlt-ui-v2 .xcp-teacher-stats article:nth-child(-n+4) {
    border-bottom: 1px solid var(--xcp-line);
  }

  body.xlt-ui-v2 .xcp-teacher-stats article:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  body.xlt-ui-v2 .xcp-course-group-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  body.xlt-ui-v2 .xcp-course-group-head p {
    text-align: left;
  }

  body.xlt-ui-v2 .xcp-course-header,
  body.xlt-ui-v2 .xcp-preview-hero,
  body.xlt-ui-v2 .xcp-student-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  body.xlt-ui-v2 .xcp-course-hero,
  body.xlt-ui-v2 .xcp-preview-visual {
    aspect-ratio: 3 / 2;
  }

  body.xlt-ui-v2 .xcp-course-summary,
  body.xlt-ui-v2 .xcp-preview-copy {
    padding: 26px;
  }

  body.xlt-ui-v2 .xcp-course-summary h1,
  body.xlt-ui-v2 .xcp-preview-copy h1 {
    font-size: 31px;
  }

  body.xlt-ui-v2 .xcp-teacher-filter-panel > summary {
    display: flex;
  }

  body.xlt-ui-v2 .xcp-teacher-filter-panel[open] > summary {
    border-bottom: 1px solid var(--xcp-line);
  }

  body.xlt-ui-v2 .xcp-teacher-filters {
    grid-template-columns: minmax(0, 1fr);
  }

  body.xlt-ui-v2 .xcp-teacher-table-wrap {
    overflow: visible;
  }

  body.xlt-ui-v2 .xcp-teacher-table,
  body.xlt-ui-v2 .xcp-teacher-table tbody,
  body.xlt-ui-v2 .xcp-teacher-table tr,
  body.xlt-ui-v2 .xcp-teacher-table td {
    display: block;
    width: 100%;
  }

  body.xlt-ui-v2 .xcp-teacher-table thead {
    display: none;
  }

  body.xlt-ui-v2 .xcp-teacher-table tbody {
    display: grid;
    gap: 12px;
  }

  body.xlt-ui-v2 .xcp-teacher-table tr {
    overflow: hidden;
    border: 1px solid var(--xcp-line);
    border-radius: var(--xcp-radius);
    background: #fff;
  }

  body.xlt-ui-v2 .xcp-teacher-table td {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 12px;
    padding: 11px 14px;
  }

  body.xlt-ui-v2 .xcp-teacher-table td::before {
    color: var(--xcp-muted);
    font-size: 12px;
    font-weight: 720;
    content: attr(data-label);
  }

  body.xlt-ui-v2 .xcp-teacher-progress {
    width: 100%;
  }

  body.xlt-ui-v2 .xcp-workbench-queues,
  body.xlt-ui-v2 .xcp-receipt-mini-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  body.xlt-ui-v2 .xcp-course-library {
    gap: 34px;
  }

  body.xlt-ui-v2 .xcp-catalog-tabs {
    margin-inline: -14px;
    padding-inline: 14px;
  }

  body.xlt-ui-v2 .xcp-course-group {
    gap: 16px;
  }

  body.xlt-ui-v2 .xcp-course-group-head {
    padding-bottom: 12px;
  }

  body.xlt-ui-v2 .xcp-course-group-head h2 {
    font-size: 26px;
  }

  body.xlt-ui-v2 .xcp-course-group-head p {
    font-size: 14px;
    line-height: 1.6;
  }

  body.xlt-ui-v2 .xcp-course-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  body.xlt-ui-v2 .xcp-course-card {
    min-height: 0;
    grid-template-columns: 118px minmax(0, 1fr);
    grid-template-rows: auto;
  }

  body.xlt-ui-v2 .xcp-course-thumb {
    width: 118px;
    min-height: 100%;
    aspect-ratio: auto;
  }

  body.xlt-ui-v2 .xcp-course-card.xcp-visual-ai .xcp-course-thumb img {
    object-position: 66% center;
  }

  body.xlt-ui-v2 .xcp-course-card.xcp-visual-talent .xcp-course-thumb img {
    object-position: 67% center;
  }

  body.xlt-ui-v2 .xcp-course-card.xcp-visual-image .xcp-course-thumb img {
    object-position: 71% center;
  }

  body.xlt-ui-v2 .xcp-course-card.xcp-visual-space .xcp-course-thumb img {
    object-position: 53% center;
  }

  body.xlt-ui-v2 .xcp-course-card.xcp-visual-light .xcp-course-thumb img {
    object-position: 69% center;
  }

  body.xlt-ui-v2 .xcp-course-status-badge {
    top: 8px;
    left: 8px;
    min-height: 24px;
    padding: 3px 7px;
    font-size: 10px;
  }

  body.xlt-ui-v2 .xcp-course-card-body {
    min-height: 188px;
    padding: 14px;
  }

  body.xlt-ui-v2 .xcp-course-card-labels {
    min-height: 18px;
    font-size: 10px;
  }

  body.xlt-ui-v2 .xcp-course-card h3 {
    margin-top: 7px;
    font-family: inherit;
    font-size: 19px;
    line-height: 1.35;
  }

  body.xlt-ui-v2 .xcp-course-card-subtitle {
    display: -webkit-box;
    min-height: 0;
    margin-top: 5px;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  body.xlt-ui-v2 .xcp-course-card-count,
  body.xlt-ui-v2 .xcp-course-launch-note {
    margin-top: 7px;
    font-size: 11px;
    line-height: 1.45;
  }

  body.xlt-ui-v2 .xcp-course-card-next {
    display: -webkit-box;
    margin-top: 7px;
    overflow: hidden;
    font-size: 12px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  body.xlt-ui-v2 .xcp-course-card-next span {
    display: none;
  }

  body.xlt-ui-v2 .xcp-course-card .xcp-progress {
    margin-top: 8px;
  }

  body.xlt-ui-v2 .xcp-course-card-progress-label {
    margin-top: 4px;
    font-size: 10px;
  }

  body.xlt-ui-v2 .xcp-course-card-actions {
    min-height: 38px;
    gap: 10px;
    padding-top: 9px;
  }

  body.xlt-ui-v2 .xcp-course-card-actions .xcp-button,
  body.xlt-ui-v2 .xcp-course-card-actions .xcp-secondary-button {
    min-width: 0;
    min-height: 36px;
    padding: 6px 10px;
    font-size: 12px;
  }

  body.xlt-ui-v2 .xcp-course-card-actions .xcp-course-intro-link {
    min-height: 36px;
    font-size: 11px;
  }

  body.xlt-ui-v2 .xcp-course {
    gap: 18px;
  }

  body.xlt-ui-v2 .xcp-course-summary,
  body.xlt-ui-v2 .xcp-preview-copy {
    padding: 20px;
  }

  body.xlt-ui-v2 .xcp-course-summary h1,
  body.xlt-ui-v2 .xcp-preview-copy h1 {
    margin-top: 8px;
    font-size: 28px;
  }

  body.xlt-ui-v2 .xcp-course-catalog-subtitle {
    margin-top: 8px;
    font-size: 15px;
  }

  body.xlt-ui-v2 .xcp-course-summary > .xcp-course-meta {
    display: grid;
    gap: 3px;
    margin-top: 12px;
  }

  body.xlt-ui-v2 .xcp-course-summary > .xcp-course-meta span + span::before {
    display: none;
  }

  body.xlt-ui-v2 .xcp-course-progress-summary {
    margin-top: 15px;
    padding-top: 14px;
  }

  body.xlt-ui-v2 .xcp-course-next-step {
    margin-top: 10px;
  }

  body.xlt-ui-v2 .xcp-course-primary-actions {
    margin-top: 16px;
  }

  body.xlt-ui-v2 .xcp-course-primary-actions .xcp-button {
    flex: 1 1 150px;
  }

  body.xlt-ui-v2 .xcp-course-greeting {
    padding: 11px 13px;
  }

  body.xlt-ui-v2 .xcp-course-outline-head {
    display: grid;
    gap: 4px;
  }

  body.xlt-ui-v2 .xcp-course-outline-head h2 {
    font-size: 27px;
  }

  body.xlt-ui-v2 .xcp-course-outline-head p {
    font-size: 12px;
    text-align: left;
  }

  body.xlt-ui-v2 .xcp-outline {
    gap: 10px;
  }

  body.xlt-ui-v2 .xcp-module > summary {
    min-height: 68px;
    grid-template-columns: minmax(0, 1fr) 22px;
    gap: 8px;
    padding: 13px 14px;
  }

  body.xlt-ui-v2 .xcp-module > summary > span {
    grid-column: 1;
    font-size: 11px;
  }

  body.xlt-ui-v2 .xcp-module > summary > strong {
    grid-column: 1;
    font-size: 17px;
  }

  body.xlt-ui-v2 .xcp-module > summary > em {
    display: none;
  }

  body.xlt-ui-v2 .xcp-module > summary::after {
    grid-row: 1 / span 2;
    grid-column: 2;
  }

  body.xlt-ui-v2 .xcp-chapter > summary {
    min-height: 56px;
    grid-template-columns: minmax(0, 1fr) auto 20px;
    gap: 8px;
    padding: 10px 12px 10px 14px;
  }

  body.xlt-ui-v2 .xcp-chapter > summary > strong {
    font-size: 15px;
  }

  body.xlt-ui-v2 .xcp-chapter > summary > span {
    font-size: 11px;
  }

  body.xlt-ui-v2 .xcp-lesson-list {
    padding: 0 12px 6px;
  }

  body.xlt-ui-v2 .xcp-lesson-row-link {
    min-height: 62px;
    gap: 8px;
    padding: 9px 2px;
  }

  body.xlt-ui-v2 .xcp-lesson-row-main {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 8px;
  }

  body.xlt-ui-v2 .xcp-lesson-index {
    width: 23px;
    height: 23px;
    font-size: 10px;
  }

  body.xlt-ui-v2 .xcp-lesson-title {
    font-size: 14px;
    line-height: 1.45;
  }

  body.xlt-ui-v2 .xcp-lesson-meta > span:nth-child(n+3) {
    display: none;
  }

  body.xlt-ui-v2 .xcp-status {
    font-size: 11px;
  }

  body.xlt-ui-v2 .xcp-lesson-header {
    gap: 6px;
    padding-bottom: 13px;
  }

  body.xlt-ui-v2 .xcp-back-link {
    min-height: 36px;
    font-size: 13px;
  }

  body.xlt-ui-v2 .xcp-lesson-context {
    display: -webkit-box;
    overflow: hidden;
    font-size: 11px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  body.xlt-ui-v2 .xcp-lesson-header h1 {
    font-family: inherit;
    font-size: 26px;
    line-height: 1.36;
  }

  body.xlt-ui-v2 .xcp-video-placeholder {
    min-height: 210px;
  }

  body.xlt-ui-v2 .xcp-lesson-content-tabs {
    margin-inline: -2px;
  }

  body.xlt-ui-v2 .xcp-lesson-content-tabs button {
    min-height: 44px;
    flex: 1 1 50%;
    padding-inline: 12px;
  }

  body.xlt-ui-v2 .xcp-lesson-notes {
    grid-template-columns: minmax(0, 1fr);
  }

  body.xlt-ui-v2 .xcp-lesson-notes article,
  body.xlt-ui-v2 .xcp-lesson-notes article:nth-child(odd),
  body.xlt-ui-v2 .xcp-lesson-notes article:nth-last-child(2):nth-child(odd) {
    padding: 14px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--xcp-line);
  }

  body.xlt-ui-v2 .xcp-lesson-notes article:last-child {
    border-bottom: 0;
  }

  body.xlt-ui-v2 .xcp-lesson-content {
    margin-top: 12px;
    padding: 20px 17px;
    font-size: 16px;
    line-height: 1.85;
  }

  body.xlt-ui-v2 .xcp-lesson-content h2 {
    font-size: 23px;
  }

  body.xlt-ui-v2 .xcp-lesson-content h3 {
    font-size: 20px;
  }

  body.xlt-ui-v2 .xcp-completion-panel,
  body.xlt-ui-v2 .xcp-receipt-panel {
    padding: 18px 16px;
  }

  body.xlt-ui-v2 .xcp-completion-head,
  body.xlt-ui-v2 .xcp-receipt-head {
    display: grid;
    gap: 8px;
  }

  body.xlt-ui-v2 .xcp-receipt-grid,
  body.xlt-ui-v2 .xcp-phone-code-grid,
  body.xlt-ui-v2 .xcp-lesson-nav {
    grid-template-columns: minmax(0, 1fr);
  }

  body.xlt-ui-v2 .xcp-lesson-nav > div:last-child {
    text-align: left;
  }

  body.xlt-ui-v2 .xcp-ab-tabs button {
    min-height: 72px;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
    padding: 10px;
  }

  body.xlt-ui-v2 .xcp-ab-tabs button > span {
    width: 26px;
    height: 26px;
    grid-row: 1 / span 2;
  }

  body.xlt-ui-v2 .xcp-ab-tabs button > strong {
    font-size: 13px;
  }

  body.xlt-ui-v2 .xcp-ab-tabs button > em {
    grid-column: 2;
    font-size: 10px;
  }

  body.xlt-ui-v2 .xcp-ab-part-header {
    display: grid;
    gap: 8px;
  }

  body.xlt-ui-v2 .xcp-ab-part-header h2 {
    font-size: 22px;
  }

  body.xlt-ui-v2 .xcp-mobile-study-bar {
    position: fixed;
    z-index: 120;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    min-height: 64px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 6px max(8px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    border-top: 1px solid var(--xcp-line);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -8px 24px rgba(24, 36, 31, 0.1);
    backdrop-filter: blur(12px);
  }

  body.xlt-ui-v2 .xcp-mobile-study-bar a,
  body.xlt-ui-v2 .xcp-mobile-study-bar button,
  body.xlt-ui-v2 .xcp-mobile-study-bar span {
    display: flex;
    min-width: 0;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border: 0;
    background: transparent;
    color: var(--xcp-muted);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
  }

  body.xlt-ui-v2 .xcp-mobile-study-bar .is-primary {
    margin: 2px 3px;
    border-radius: 5px;
    background: var(--xcp-green);
    color: #fff;
  }

  body.xlt-ui-v2 .xcp-lesson-drawer.is-open {
    position: fixed;
    z-index: 140;
    inset: 0;
    display: flex;
    align-items: flex-end;
    background: rgba(12, 18, 16, 0.5);
  }

  body.xlt-ui-v2 .xcp-lesson-drawer > aside {
    width: 100%;
    max-height: min(76vh, 680px);
    padding: 18px 14px calc(20px + env(safe-area-inset-bottom));
    overflow-y: auto;
    border-radius: 8px 8px 0 0;
    background: #fff;
  }

  body.xlt-ui-v2 .xcp-lesson-drawer header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 18px;
  }

  body.xlt-ui-v2 .xcp-lesson-drawer header h2 {
    margin: 3px 0 0;
    font-size: 21px;
  }

  body.xlt-ui-v2 .xcp-lesson-drawer header button {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: var(--xcp-ink);
    font-size: 28px;
  }

  body.xlt-ui-v2 .xcp-lesson-drawer ol {
    margin: 14px 0;
    padding: 0;
    border-top: 1px solid var(--xcp-line);
    list-style: none;
  }

  body.xlt-ui-v2 .xcp-lesson-drawer li a {
    display: grid;
    min-height: 54px;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 8px 2px;
    border-bottom: 1px solid var(--xcp-line);
    text-decoration: none;
  }

  body.xlt-ui-v2 .xcp-lesson-drawer li.is-current a {
    color: var(--xcp-green);
  }

  body.xlt-ui-v2 .xcp-student-hero h1,
  body.xlt-ui-v2 .xcp-teacher-hero h1 {
    font-size: 31px;
  }

  body.xlt-ui-v2 .xcp-student-stats,
  body.xlt-ui-v2 .xcp-teacher-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.xlt-ui-v2 .xcp-student-stats article,
  body.xlt-ui-v2 .xcp-teacher-stats article {
    padding: 15px;
  }

  body.xlt-ui-v2 .xcp-student-stats strong,
  body.xlt-ui-v2 .xcp-teacher-stats strong {
    font-size: 26px;
  }

  body.xlt-ui-v2 .xcp-student-today {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 20px;
  }

  body.xlt-ui-v2 .xcp-student-today .xcp-button {
    width: 100%;
  }

  body.xlt-ui-v2 .xcp-student-card,
  body.xlt-ui-v2 .xcp-teacher-card,
  body.xlt-ui-v2 .xcp-teacher-receipt-card,
  body.xlt-ui-v2 .xcp-followup-card {
    padding: 18px 16px;
  }

  body.xlt-ui-v2 .xcp-account-settings {
    padding: 0;
  }

  body.xlt-ui-v2 .xcp-logout-wrap .xcp-secondary-button {
    width: 100%;
  }

  body.xlt-ui-v2 .xcp-teacher-tabs {
    margin-inline: 0;
    padding: 4px;
  }

  body.xlt-ui-v2 .xcp-teacher-tabs a {
    min-height: 42px;
    flex: 1 0 auto;
    padding-inline: 14px;
  }

  body.xlt-ui-v2 .xcp-teacher-table-head,
  body.xlt-ui-v2 .xcp-workbench-head,
  body.xlt-ui-v2 .xcp-student-receipts-head {
    align-items: flex-start;
  }

  body.xlt-ui-v2 .xcp-workbench-queues,
  body.xlt-ui-v2 .xcp-receipt-mini-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.xlt-ui-v2 .xlt-content-student-center,
  body.xlt-ui-v2 .xlt-content-teacher-dashboard,
  body.xlt-ui-v2 .xlt-content-application {
    width: min(100% - 28px, 1180px);
    padding-block: 28px 68px;
  }

  body.xlt-ui-v2 .xcp-application-header {
    margin-bottom: 20px;
  }

  body.xlt-ui-v2 .xcp-application-header h1 {
    font-size: 30px;
  }

  body.xlt-ui-v2 .xcp-application-fieldset,
  body.xlt-ui-v2 .xcp-agreement-card {
    padding: 18px 14px;
  }

  body.xlt-ui-v2 .xcp-form-grid,
  body.xlt-ui-v2 .xcp-signing-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  body.xlt-ui-v2 .xcp-signature-field,
  body.xlt-ui-v2 .xcp-seal-field,
  body.xlt-ui-v2 .xcp-signed-date-field {
    min-width: 0;
  }

  body.xlt-ui-v2 .xcp-downgrade-gate,
  body.xlt-ui-v2 .xcp-downgrade-summary {
    padding: 18px 14px;
  }

  body.xlt-ui-v2 .xcp-downgrade-summary {
    grid-template-columns: 1fr;
  }

  body.xlt-ui-v2 .xcp-downgrade-summary small {
    grid-column: auto;
  }
}

@media (max-width: 380px) {
  body.xlt-ui-v2 .xcp-course-card {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  body.xlt-ui-v2 .xcp-course-thumb {
    width: 104px;
  }

  body.xlt-ui-v2 .xcp-course-card h3 {
    font-size: 17px;
  }

  body.xlt-ui-v2 .xcp-course-card-actions {
    gap: 6px;
  }

  body.xlt-ui-v2 .xcp-course-card-actions .xcp-course-intro-link {
    font-size: 10px;
  }
}
