:root {
  --msc-blue: #0099ff;
  --msc-green: #28ba6a;
  --msc-red: #ef3e46;
  --msc-text: #232c39;
  --msc-muted: #66788c;
  --msc-line: #dce7ef;
  --msc-surface: #ffffff;
  --msc-soft: #f4f9fc;
  --msc-completion-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.2 6.4 11.3 13 4.7' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --msc-green-line-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.2 6.4 11.3 13 4.7' fill='none' stroke='%2328ba6a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Production-compatible LearnDash module cards. */
.msc-classroom-kadence .ld-course-list-items,
.msc-classroom-kadence .learndash-course-grid,
.msc-classroom-kadence .learndash-wrapper:has(> .ld_course_grid) {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin-right: -10px;
  margin-left: -10px;
}

.msc-classroom-kadence .ld_course_grid.msc-course-grid-ready {
  box-sizing: border-box;
  display: flex;
  float: none !important;
  flex: 0 0 50%;
  width: 50% !important;
  max-width: 50% !important;
  margin: 0 0 20px !important;
  padding: 0 10px !important;
}

/* Card columns follow their actual content region, rather than the browser.
   This prevents a sticky overview sidebar from squeezing two cards into a
   space that is no longer wide enough to present them comfortably. */
.msc-classroom-kadence .msc-card-grid-container,
body.msc-all-courses-archive .msc-all-courses-grid {
  container-type: inline-size;
}

.msc-classroom-kadence .msc-responsive-card-grid {
  display: grid !important;
  margin: 0 !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.msc-classroom-kadence .msc-responsive-card-grid > .ld_course_grid.msc-course-grid-ready,
.msc-classroom-kadence .msc-responsive-card-grid > .ld_course_grid.msc-group-grid-ready {
  display: flex;
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.msc-classroom-kadence .msc-responsive-card-grid.msc-card-grid-single,
body.msc-all-courses-archive .msc-all-courses-card-grid.msc-card-grid-single {
  grid-template-columns: minmax(0, 1fr) !important;
}

@container (max-width: 739px) {
  .msc-classroom-kadence .msc-responsive-card-grid,
  body.msc-all-courses-archive .msc-all-courses-card-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

.msc-course-grid-card {
  position: relative;
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dce4ea;
  border-radius: 9px;
  background: #fff;
  color: var(--msc-text);
  box-shadow: 0 2px 8px rgba(35,44,57,.035);
  transition: box-shadow .22s ease;
}

.msc-course-grid-card:hover {
  z-index: 1;
  box-shadow: 0 4px 32px rgba(18,43,70,.1);
}

/* Groups are the top-level Courses in MSC terminology. Keep these cards quieter
   than Module cards and close to the established BuddyBoss grid. */
.msc-classroom-kadence .ld_course_grid.msc-group-grid-ready {
  box-sizing: border-box;
  display: flex;
  float: none !important;
  flex: 0 0 50%;
  width: 50% !important;
  max-width: 50% !important;
  margin: 0 0 20px !important;
  padding: 0 10px !important;
}

.msc-group-grid-card {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dce4ea;
  border-radius: 8px;
  background: #fff;
  color: var(--msc-text);
  box-shadow: 0 2px 8px rgba(35,44,57,.025);
  transition: box-shadow .22s ease;
}

.msc-group-grid-card:hover { box-shadow: 0 4px 26px rgba(18,43,70,.09); }

.msc-group-grid-card__cover {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #edf2f5;
}

.msc-group-grid-card__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.msc-group-grid-card__ribbon {
  position: absolute;
  z-index: 2;
  top: 11px;
  left: 0;
  max-width: calc(100% - 18px);
  padding: 6px 12px;
  border-radius: 0 6px 6px 0;
  background: var(--msc-blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.msc-group-grid-card__content {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  padding: 16px 20px 14px;
}

.msc-group-grid-card__content > h2 {
  min-width: 0;
  margin: 0 0 8px !important;
  overflow: hidden;
  color: var(--msc-text);
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.msc-group-grid-card__content > h2 a,
.msc-group-grid-card__content > h2 a:hover,
.msc-group-grid-card__content > h2 a:focus,
.msc-group-grid-card__content > h2 a:visited { color: inherit; text-decoration: none; }

.msc-group-grid-card__progress.msc-module-progress-card {
  width: 100%;
  margin: 0 0 16px !important;
  padding: 0 0 16px !important;
  border: 0 !important;
  border-bottom: 1px solid #e4e8eb !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.msc-group-grid-card__progress .msc-module-progress-card__heading span { font-size: 14px; }
.msc-group-grid-card__progress .msc-module-progress-card__heading strong { font-size: 16px; }
.msc-group-grid-card__progress .msc-module-progress-card__track { height: 3px; margin: 8px 0 7px; }
.msc-group-grid-card__progress .msc-module-progress-card__track span { height: 3px; }
.msc-group-grid-card__progress .msc-module-progress-card__meta { justify-content: flex-start; font-size: 12px; }

.msc-course-progress-dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 22px;
}
.msc-course-progress-dashboard .msc-course-overall-progress,
.msc-course-overall-progress {
  width: 100%;
  padding: 20px 22px 18px;
  border: 1px solid #dfe5ea;
  border-radius: 14px;
  background: rgba(255,255,255,.78);
}
.msc-course-overall-progress__title { margin: 0 0 16px; font-size: 19px; }
.msc-course-overall-progress__title a,
.msc-course-overall-progress__title a:hover { color: var(--msc-text); text-decoration: none; }
.msc-course-progress-message { color: #65717d; }

.msc-group-grid-card__description {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  margin: 0;
  color: var(--msc-text);
  font-size: 16px;
  line-height: 1.2;
}

.msc-group-grid-card__description > p:first-child {
  display: -webkit-box;
  margin: 0 0 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.msc-group-grid-card__description .gamipress-achievement {
  display: flex !important;
  min-width: 0;
  align-items: center !important;
  gap: 8px;
  margin: auto 0 0 !important;
  padding: 10px 0 0 !important;
  border: 0 !important;
  border-top: 1px solid #e4e8eb !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.msc-group-grid-card__description .gamipress-achievement:hover {
  border-color: #e4e8eb !important;
  box-shadow: none !important;
}

.msc-group-grid-card__description .gamipress-achievement-image,
.msc-group-grid-card__description .gamipress-achievement-description {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.msc-group-grid-card__description .gamipress-achievement-image {
  flex: 0 0 40px;
}

.msc-group-grid-card__description .gamipress-achievement-image img {
  display: block !important;
  width: 40px !important;
  height: 40px !important;
  object-fit: contain;
}

.msc-group-grid-card__description .gamipress-achievement-description {
  min-width: 0;
  flex: 1 1 auto;
}

.msc-group-grid-card__description .gamipress-achievement-title {
  width: 100% !important;
  margin: 0 !important;
  overflow: hidden;
  color: var(--msc-text) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  line-height: 1.3 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.msc-group-grid-card__description .gamipress-achievement-title p,
.msc-group-grid-card__description .gamipress-achievement-image p { margin: 0 !important; }

.msc-group-grid-card__description .gamipress-achievement-title a,
.msc-group-grid-card__description .gamipress-achievement-title p {
  display: block !important;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.msc-group-grid-card__description .gamipress-achievement-steps {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.msc-group-grid-card__description .gamipress-achievement-steps li {
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden;
  color: var(--msc-text) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.msc-group-grid-card__description .gamipress-achievement.user-has-not-earned .gamipress-achievement-image {
  filter: none !important;
  opacity: .2 !important;
}

.msc-group-grid-card__description .gamipress-achievement.user-has-not-earned .gamipress-achievement-steps li {
  display: none !important;
}

.msc-group-grid-card__description .gamipress-achievement.user-has-earned .gamipress-achievement-title {
  display: none !important;
}

.msc-group-grid-card__description .gamipress-achievement.user-has-earned .gamipress-achievement-steps li {
  position: relative;
  display: block !important;
  min-height: 22px;
  padding-left: 30px !important;
  line-height: 22px !important;
}

.msc-group-grid-card__description .gamipress-achievement.user-has-earned .gamipress-achievement-steps li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: block !important;
  box-sizing: border-box;
  width: 22px !important;
  height: 22px !important;
  flex: 0 0 22px;
  margin: 0 !important;
  border: 2px solid var(--msc-green) !important;
  border-radius: 50%;
  background: transparent var(--msc-green-line-check) center / 14px no-repeat !important;
  color: transparent !important;
  content: '' !important;
}

@media (max-width: 900px) {
  .msc-classroom-kadence .ld_course_grid.msc-group-grid-ready {
    flex-basis: 100%;
    width: 100% !important;
    max-width: 100% !important;
  }
}

.msc-course-grid-card__cover {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #edf2f5;
}

.msc-course-grid-card__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .22s ease;
}

.msc-course-grid-card__cover:hover img { transform: scale(1.015); }

.msc-course-grid-card__ribbon {
  position: absolute;
  z-index: 2;
  top: 11px;
  left: 0;
  max-width: calc(100% - 18px);
  padding: 6px 12px;
  border-radius: 0 6px 6px 0;
  background: var(--msc-blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: normal;
}

.msc-course-grid-card.is-complete .msc-course-grid-card__ribbon { background: var(--msc-green); }

.msc-course-grid-card__content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 16px 20px 10px;
}

.msc-course-grid-card__content h2 {
  min-width: 0;
  margin: 0 0 10px !important;
  overflow: hidden;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.24 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.msc-course-grid-card__content h2 a,
.msc-course-grid-card__content h2 a:hover,
.msc-course-grid-card__content h2 a:focus,
.msc-course-grid-card__content h2 a:visited {
  color: var(--msc-text);
  text-decoration: none;
}

.msc-course-grid-card__content h2 a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.msc-course-grid-card__progress.msc-module-progress-card {
  margin: 0 0 10px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.msc-course-grid-card__progress .msc-module-progress-card__heading span { font-size: 14px; }
.msc-course-grid-card__progress .msc-module-progress-card__heading strong { font-size: 16px; }
.msc-course-grid-card__progress .msc-module-progress-card__track { height: 3px; margin: 8px 0 7px; }
.msc-course-grid-card__progress .msc-module-progress-card__meta { gap: 10px; font-size: 12px; }

.msc-course-grid-card__visitor {
  box-sizing: border-box;
  display: block !important;
  margin: 0 0 10px;
  padding: 0 0 10px;
  border-top: 0;
  border-bottom: 0;
  color: #232c39;
  font-size: 16px;
  line-height: 1.2;
}

.msc-course-grid-card.has-progress .msc-course-grid-card__visitor {
  border-bottom: 1px solid #e4e8eb;
}

.msc-course-grid-card__visitor-copy {
  display: -webkit-box !important;
  height: 2.4em;
  max-height: 2.4em;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.msc-course-grid-card__visitor-copy p { margin: 0; }

body:not(.logged-in) .msc-course-grid-card__visitor {
  padding-bottom: 0;
  border-bottom: 0;
}

.msc-course-grid-card__dynamic {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  color: #232c39;
  font-size: 16px;
  line-height: 1.2;
}
.msc-course-grid-card__dynamic > p,
.msc-course-grid-card__dynamic > [class*="learndash-course-"] {
  display: -webkit-box !important;
  max-height: 2.4em;
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.msc-course-grid-card__dynamic > [class*="learndash-course-"] p { margin: 0; }

.msc-course-grid-card__dynamic .gamipress-achievement {
  display: flex !important;
  align-items: center;
  gap: 0;
  margin: auto 0 0 !important;
  padding: 10px 0 0 !important;
  border: 0 !important;
  border-top: 1px solid #e4e8eb !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.msc-course-grid-card__dynamic .gamipress-achievement-image,
.msc-course-grid-card__dynamic .gamipress-achievement-description { float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; }
.msc-course-grid-card__dynamic .gamipress-achievement-image {
  flex: 0 0 48px;
  padding-right: 8px !important;
}
.msc-course-grid-card__dynamic .gamipress-achievement-description {
  min-width: 0;
  flex: 1 1 auto;
}
.msc-course-grid-card__dynamic .gamipress-achievement-image img {
  display: block !important;
  width: 40px !important;
  height: 40px !important;
  object-fit: contain;
  opacity: 1;
}
.msc-course-grid-card__dynamic .gamipress-achievement-title {
  margin: 0 !important;
  overflow: hidden;
  font-size: 17px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.msc-course-grid-card__dynamic .gamipress-achievement-steps { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.msc-course-grid-card__dynamic .gamipress-achievement-steps li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
}
.msc-course-grid-card__dynamic .user-has-not-earned .gamipress-achievement-image { opacity: .2 !important; }
.msc-course-grid-card__dynamic .user-has-not-earned .gamipress-achievement-steps li { display: none !important; }
.msc-course-grid-card__dynamic .user-has-earned .gamipress-achievement-title { display: none !important; }
.msc-course-grid-card__dynamic .user-has-earned .gamipress-achievement-steps li {
  display: block !important;
  position: relative;
  min-width: 0;
  padding-right: 24px !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.msc-course-grid-card__dynamic .user-has-earned .gamipress-achievement-steps li::before {
  display: block !important;
  position: absolute;
  top: 50%;
  right: 0;
  box-sizing: border-box;
  width: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  max-height: 18px !important;
  margin: 0;
  transform: translateY(-50%);
  border: 1.5px solid var(--msc-green) !important;
  border-radius: 50%;
  background: #fff !important;
  background-image: var(--msc-green-line-check) !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 11px !important;
  color: var(--msc-green) !important;
  content: '' !important;
  font-family: inherit !important;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  vertical-align: 2px;
}

@media (max-width: 767px) {
  .msc-classroom-kadence .ld_course_grid.msc-course-grid-ready {
    flex-basis: 100%;
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Keep LearnDash's native mobile Focus Mode trigger stable in both states. */
@media (max-width: 767px) {
  body.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header .ld-mobile-nav > button.ld-trigger-mobile-nav,
  body.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header .ld-mobile-nav > button.ld-trigger-mobile-nav[aria-expanded="true"] {
    position: relative !important;
    inset: auto !important;
    display: flex !important;
    flex: 0 0 40px !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 50% !important;
    overflow: hidden !important;
  }

  body.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header .ld-mobile-nav,
  body.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header .ld-mobile-nav.expanded {
    border-radius: 50% !important;
    background: transparent !important;
  }

  body.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header .ld-mobile-nav > button.ld-trigger-mobile-nav > span {
    position: static !important;
    display: block !important;
    flex: 0 0 2px !important;
    width: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    height: 2px !important;
    min-height: 2px !important;
    max-height: 2px !important;
    margin: 0 !important;
  }
}

/* Prevent Kadence's sticky switch from changing the height of floating header rows. */
.wp-block-kadence-header-row.kb-header-sticky-wrapper {
  display: flow-root !important;
}

@media (min-width: 1025px) {
  .wp-block-kadence-header.header-desktop-sticky .wp-block-kadence-header-desktop .kb-header-sticky-wrapper {
    position: fixed !important;
    top: var(--wp-admin--admin-bar--height, 0px) !important;
    left: 0 !important;
    width: 100% !important;
  }
}

/* The stylesheet is intentionally gated by a body class added only under Kadence. */
.msc-classroom-kadence {
  color: var(--msc-text);
}

.msc-classroom-kadence .content-area {
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.msc-classroom-kadence .learndash-wrapper {
  --ld-primary-color: var(--msc-blue);
  --ld-secondary-color: var(--msc-green);
  color: var(--msc-text);
}

.msc-classroom-kadence .learndash-wrapper .ld-button,
.msc-classroom-kadence .learndash-wrapper #learndash_mark_complete_button,
.msc-classroom-kadence .learndash-wrapper .learndash_mark_complete_button {
  border-radius: 999px;
  font-weight: 700;
}

.msc-classroom-focus-shell .learndash-wrapper #learndash_mark_complete_button:not(:disabled) {
  border-color: var(--msc-blue) !important;
  background: var(--msc-blue) !important;
  color: #fff !important;
  opacity: 1;
}

.msc-classroom-focus-shell .learndash-wrapper #learndash_mark_complete_button:disabled,
.msc-classroom-focus-shell .learndash-wrapper #learndash_mark_complete_button[disabled] {
  border-color: #d9e0e6 !important;
  background: #d9e0e6 !important;
  color: #7b8792 !important;
  cursor: not-allowed;
  opacity: 1;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-content-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end !important;
  gap: 14px;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-content-actions > .ld-content-action {
  flex: 0 0 auto !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-content-actions .msc-content-complete {
  order: 1;
  margin-left: auto !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-content-actions .msc-content-complete .ld-icon,
.msc-classroom-focus-shell .learndash-wrapper .ld-content-actions .msc-content-complete .ld-icon-checkmark,
.msc-classroom-focus-shell .learndash-wrapper .ld-content-actions .msc-content-complete button::before,
.msc-classroom-focus-shell .learndash-wrapper .ld-content-actions .msc-content-complete button::after,
.msc-classroom-focus-shell .learndash-wrapper .ld-content-actions .msc-content-complete input::before,
.msc-classroom-focus-shell .learndash-wrapper .ld-content-actions .msc-content-complete input::after {
  display: none !important;
  content: none !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-content-actions .msc-content-complete .sfwd-mark-complete::before,
.msc-classroom-focus-shell .learndash-wrapper .ld-content-actions .msc-content-complete .sfwd-mark-complete::after,
.msc-classroom-focus-shell .learndash-wrapper .ld-content-actions .msc-content-complete .learndash_mark_complete_button::before,
.msc-classroom-focus-shell .learndash-wrapper .ld-content-actions .msc-content-complete .learndash_mark_complete_button::after {
  display: none !important;
  content: none !important;
  background-image: none !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-content-actions .msc-content-complete #learndash_mark_complete_button {
  padding-right: 22px !important;
  padding-left: 22px !important;
  background-image: none !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-content-actions .msc-content-back {
  display: flex;
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: none !important;
  order: 2;
  justify-content: center;
  margin-top: 12px !important;
  padding-top: 16px !important;
  border-top: 1px solid var(--msc-line);
}

.msc-classroom-focus-shell .learndash-wrapper .ld-content-actions .msc-content-back a {
  display: inline-flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0 !important;
  background: transparent !important;
  color: var(--msc-muted) !important;
  font-weight: 500 !important;
  text-decoration: none;
  box-shadow: none !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header .ld-brand-logo img {
  width: auto !important;
  max-width: 160px !important;
  height: auto !important;
  max-height: 54px !important;
  border-radius: 0 !important;
  object-fit: contain;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-content-actions .msc-content-back a:hover,
.msc-classroom-focus-shell .learndash-wrapper .ld-content-actions .msc-content-back a:focus-visible {
  color: var(--msc-blue) !important;
  text-decoration: underline;
}

/* Topic-page session navigation, matching the clean BuddyBoss content list. */
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-table-list {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-table-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 24px;
  background: transparent !important;
  color: var(--msc-text) !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-table-list-title {
  color: var(--msc-text);
  font-size: 20px;
  font-weight: 500;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-table-list-title .ld-item-icon {
  display: none;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-table-list-lesson-details {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #74777a;
  font-size: 15px;
  font-weight: 700;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-table-list-items {
  padding: 0;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-table-list-item {
  margin: 0 0 12px;
  border: 0;
  background: transparent;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-table-list-item:nth-child(odd) {
  background: #f8f9fb;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-table-list-item-preview {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 0 22px;
  border: 0;
  background: transparent !important;
  color: #74777a !important;
  text-decoration: none;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .msc-session-type-icon {
  grid-column: 1;
  grid-row: 1;
  width: 24px;
  height: 24px;
  color: #74777a;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-topic-title {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  overflow: hidden;
  color: #74777a;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-status-icon {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  width: 30px;
  height: 30px;
  margin: 0;
  border-width: 2px;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-status-complete {
  border-color: var(--msc-blue) !important;
  background: var(--msc-blue) !important;
  color: #fff !important;
}

/* Focus mode: preserve LearnDash behaviour while recreating the clean BuddyBoss shell. */
.msc-classroom-focus-shell.ld-in-focus-mode {
  background: #fff;
}

.msc-classroom-focus-shell.ld-in-focus-mode .learndash-wrapper .ld-focus {
  --msc-focus-sidebar: 370px;
  --msc-focus-header: 76px;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header {
  min-height: var(--msc-focus-header);
  border-bottom: 1px solid var(--msc-line);
  background: rgba(255, 255, 255, .96);
  box-shadow: none;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header .ld-brand-logo {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: var(--msc-focus-sidebar);
  min-width: var(--msc-focus-sidebar);
  height: var(--msc-focus-header);
  padding: 9px 22px 9px 54px;
  border-right: 1px solid var(--msc-line);
  background: #fff;
  overflow: hidden;
}

.msc-classroom-focus-shell .ld-brand-logo .msc-focus-brand {
  display: flex;
  align-items: center;
  gap: 0;
  color: var(--msc-text);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-brand-logo .msc-focus-brand img {
  position: static !important;
  display: block !important;
  flex: 0 0 48px !important;
  width: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 50%;
  object-fit: contain;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header .ld-progress,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header .ld-content-actions {
  display: none !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu {
  box-sizing: border-box;
  display: flex;
  flex: 0 0 142px;
  width: 142px;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 18px 0 10px;
  border-left: 1px solid var(--msc-line);
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu .ld-text {
  display: block;
  overflow: hidden;
  color: #5d6875;
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header .ld-profile-avatar {
  margin: auto;
}

.msc-focus-tools {
  display: flex;
  flex: 0 0 auto;
  align-self: stretch;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  margin-left: auto;
  border-left: 0;
}

.msc-focus-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #617386;
  cursor: pointer;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.msc-focus-tool:hover,
.msc-focus-tool:focus-visible {
  background: #eaf7ff;
  color: var(--msc-blue);
  outline: none;
}

.msc-focus-tool:active {
  transform: scale(.94);
}

.msc-focus-tool--expand[aria-pressed="true"]:not(:hover):not(:focus-visible),
.msc-focus-tool--expand:focus:not(:focus-visible) {
  background: transparent !important;
  color: #617386 !important;
  outline: none !important;
  box-shadow: none !important;
}

.msc-focus-tool svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.msc-focus-maximized .msc-focus-tool .msc-tool-expand {
  display: none;
}

.msc-focus-tool .msc-tool-collapse {
  display: none;
}

.msc-focus-maximized .msc-focus-tool .msc-tool-expand {
  display: none;
}

.msc-focus-maximized .msc-focus-tool .msc-tool-collapse {
  display: block;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-sidebar {
  width: var(--msc-focus-sidebar);
  border-right: 1px solid var(--msc-line);
  background: #f8f9fb;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-main {
  margin-left: var(--msc-focus-sidebar);
  margin-top: calc(var(--msc-focus-header) - 32px);
  scroll-padding-top: calc(var(--msc-focus-header) + 16px);
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-main :where([id], [tabindex]) {
  scroll-margin-top: calc(var(--msc-focus-header) + 16px);
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation-heading {
  background: linear-gradient(145deg, #e7f6ff, #fff);
  color: var(--msc-text);
}

.msc-classroom-focus-shell .ld-course-navigation-heading h3 a,
.msc-classroom-focus-shell .ld-course-navigation-heading a {
  color: var(--msc-text) !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation-heading {
  display: none !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-main .ld-focus-content {
  max-width: 790px;
  padding: 28px 0 48px;
}

/* Maximise mirrors the BuddyBoss side-panel control. */
.msc-focus-maximized .learndash-wrapper .ld-focus .ld-focus-sidebar {
  transform: translateX(calc(-1 * var(--msc-focus-sidebar)));
}

.msc-focus-maximized .learndash-wrapper .ld-focus .ld-focus-main {
  margin-left: 0;
}

.msc-focus-maximized .learndash-wrapper .ld-focus .ld-focus-header .ld-brand-logo {
  width: 92px;
  min-width: 92px;
}

.msc-focus-maximized .ld-brand-logo .msc-focus-brand span {
  display: none;
}

/* BuddyBoss fidelity pass: remove native LearnDash chrome it intentionally omits. */
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-content > h1,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-content .ld-breadcrumbs {
  display: none !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-content .ld-tabs {
  margin: 0 !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-tabs .ld-tabs-navigation {
  min-height: 60px;
  margin: 0 0 16px;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-tabs .ld-tabs-navigation .ld-tab {
  min-height: 60px;
  padding: 0 28px;
  font-size: 14px;
  font-weight: 500;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-tabs .ld-tabs-navigation .ld-tab .ld-icon {
  margin-right: 7px;
  font-size: 16px;
}

/* Clean BuddyBoss-inspired content tabs. */
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-tabs .ld-tabs-navigation {
  --msc-tab-indicator-left: 0px;
  --msc-tab-indicator-width: 0px;
  position: relative;
  display: flex;
  min-height: 50px;
  box-sizing: border-box;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  margin: 0 0 18px !important;
  padding: 0 4px;
  overflow-x: auto;
  overflow-y: hidden;
  border: 0 !important;
  border-bottom: 1px solid #e3e8ed !important;
  background: transparent !important;
  box-shadow: none !important;
  scrollbar-width: none;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-tabs .ld-tabs-navigation::before {
  position: absolute;
  z-index: 2;
  bottom: -1px;
  left: 0;
  display: block;
  width: var(--msc-tab-indicator-width);
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--msc-blue);
  content: '';
  pointer-events: none;
  transform: translateX(var(--msc-tab-indicator-left));
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-tabs .ld-tabs-navigation.msc-tab-indicator-ready::before {
  transition: width .24s cubic-bezier(.22, .75, .25, 1), transform .24s cubic-bezier(.22, .75, .25, 1);
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-tabs .ld-tabs-navigation::-webkit-scrollbar {
  display: none;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-tabs .ld-tabs-navigation::after {
  display: none !important;
  height: 0 !important;
  background: transparent !important;
  content: none !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-tabs .ld-tabs-navigation .ld-tab {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  min-width: 0;
  min-height: 50px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0;
  padding: 0 16px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #344152 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  text-transform: none !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: color .16s ease;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-tabs .ld-tabs-navigation .ld-tab::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: transparent;
  content: '';
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-tabs .ld-tabs-navigation .ld-tab:hover,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-tabs .ld-tabs-navigation .ld-tab:focus-visible,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-tabs .ld-tabs-navigation .ld-tab.ld-active,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-tabs .ld-tabs-navigation .ld-tab[aria-selected="true"] {
  background: transparent !important;
  color: var(--msc-blue) !important;
  outline: none !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-tabs .ld-tabs-navigation .ld-tab:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(0, 153, 255, .2) !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-tabs .ld-tabs-navigation .ld-tab.ld-active::after,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-tabs .ld-tabs-navigation .ld-tab[aria-selected="true"]::after {
  background: transparent;
}

@media (prefers-reduced-motion: reduce) {
  .msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-tabs .ld-tabs-navigation.msc-tab-indicator-ready::before {
    transition: none;
  }
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-tabs .ld-tabs-navigation .ld-tab .ld-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  margin: 0 !important;
  align-items: center;
  justify-content: center;
  color: currentColor !important;
  font-size: 18px !important;
  line-height: 1 !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-tabs .ld-tabs-navigation .ld-tab .ld-text {
  color: currentColor !important;
  font: inherit !important;
  line-height: 1 !important;
  white-space: nowrap;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-tabs .ld-tabs-navigation .ld-tab .bb-icon-comments-square {
  font-size: 0 !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-tabs .ld-tabs-navigation .ld-tab .bb-icon-comments-square::before {
  display: block;
  width: 18px;
  height: 18px;
  background: currentColor;
  content: '';
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M4 4.5h16v11H10l-5 4v-4H4zM8 8.5h8M8 11.5h5'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M4 4.5h16v11H10l-5 4v-4H4zM8 8.5h8M8 11.5h5'/%3E%3C/svg%3E") center/contain no-repeat;
}

@media (max-width: 680px) {
  .msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-tabs .ld-tabs-navigation .ld-tab {
    min-height: 48px;
    padding: 0 13px;
    font-size: 13px !important;
  }
}

.msc-classroom-focus-shell .learndash-wrapper .ld-tabs .ld-tabs-content .ld-tab-content {
  padding: 0;
}

.msc-focus-current-session {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 9px 20px;
  border-bottom: 1px solid #e5e9ed;
  background: #f5f7f9;
  color: var(--msc-text) !important;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none !important;
}

.msc-current-menu {
  display: grid;
  gap: 3px;
}

.msc-current-menu i {
  display: block;
  width: 14px;
  height: 1px;
  background: #40505f;
}

.msc-current-status {
  width: 16px;
  height: 16px;
  border: 2px solid #d3d9df;
  border-radius: 50%;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-sidebar {
  scrollbar-width: thin;
  scrollbar-color: #d6dee5 transparent;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-lesson-item-preview,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-topic-list .ld-topic-title {
  background: #fff;
  font-size: 13px;
  font-weight: 500;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-lesson-item,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-topic-list {
  border: 0;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-is-current-lesson > .ld-lesson-item-preview,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-is-current-item {
  background: #f1f4f6 !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-lesson-item.ld-is-current-lesson .ld-lesson-item-preview,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-topic-list .ld-topic-title:hover {
  background: #eaf7ff;
}

/* Flatten LearnDash's two-line cards into compact BuddyBoss navigation rows. */
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-lesson-item:not(.ld-is-current-lesson) > .ld-lesson-item-preview {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto 24px;
  align-items: center;
  column-gap: 10px;
  min-height: 59px;
  padding: 0 24px;
  border: 0;
  background: #fff;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-lesson-item:not(.ld-is-current-lesson) > .ld-lesson-item-preview::before {
  grid-column: 1;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid #b3bbc3;
  content: "";
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-lesson-item:not(.ld-is-current-lesson) > .ld-lesson-item-preview > .ld-lesson-item-preview-heading {
  display: contents;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-lesson-item:not(.ld-is-current-lesson) .ld-lesson-title {
  grid-column: 2;
  overflow: hidden;
  color: #27323d;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-lesson-item:not(.ld-is-current-lesson) > .ld-lesson-item-preview .ld-expand-button {
  display: block;
  grid-column: 3;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: transparent !important;
  color: #66717c !important;
  font-size: 11px;
  font-weight: 400;
  white-space: nowrap;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-lesson-item:not(.ld-is-current-lesson) > .ld-lesson-item-preview .ld-expand-button .ld-icon,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-lesson-item:not(.ld-is-current-lesson) > .ld-lesson-item-preview .ld-expand-button .screen-reader-text {
  display: none !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-lesson-item:not(.ld-is-current-lesson) > .ld-lesson-item-preview .ld-expand-text {
  color: #66717c !important;
  font-size: 11px;
  font-weight: 400;
  text-transform: none;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-lesson-item:not(.ld-is-current-lesson) > .ld-lesson-item-preview .ld-status-icon {
  grid-column: 4;
  width: 22px;
  height: 22px;
  margin: 0;
  border-width: 2px;
  font-size: 10px;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-lesson-item-section-heading,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .msc-focus-exercises-heading {
  min-height: 44px;
  margin: 0;
  padding: 14px 22px 8px;
  border: 0;
  background: #fff;
  color: #27323d;
  font-size: 16px;
  font-weight: 700;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-lesson-section-heading {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-lesson-item.msc-focus-exercise:not(.ld-is-current-lesson) > .ld-lesson-item-preview {
  grid-template-columns: minmax(0, 1fr) 24px;
  min-height: 46px;
  margin: 0 24px;
  padding: 0 6px;
  border-top: 1px solid #e5e9ed;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-lesson-item.msc-focus-exercise:not(.ld-is-current-lesson) > .ld-lesson-item-preview::before {
  display: none;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .msc-focus-exercise .ld-lesson-title {
  grid-column: 1;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .msc-focus-exercise .ld-status-icon {
  grid-column: 2;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .msc-focus-exercise-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 0 24px;
  border-top: 1px solid #e5e9ed;
  color: #27323d;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-lesson-item.msc-focus-exercise {
  background: #f8fafc !important;
}

.msc-focus-question,
.msc-focus-exercise-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border-radius: 50%;
}

.msc-focus-question {
  width: 18px;
  height: 18px;
  border: 1px solid #768492;
  color: #546271;
  font-size: 11px;
}

.msc-focus-exercise-status {
  width: 22px;
  height: 22px;
  border: 2px solid #cbd3da;
  color: transparent;
  line-height: 1;
}

.msc-focus-exercise-status.is-complete {
  border-color: var(--msc-blue);
  background: var(--msc-blue);
  color: #fff !important;
  background-image: var(--msc-completion-check);
  background-position: center;
  background-size: 14px;
  background-repeat: no-repeat;
  font-size: 0;
}

/* Full BuddyBoss-style concertina course navigator. */
.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-sidebar {
  height: 100vh;
  overflow-x: hidden;
  overflow-y: hidden;
  overscroll-behavior: contain;
}

.admin-bar.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-sidebar {
  height: calc(100vh - 32px);
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-focus-sidebar-wrapper {
  height: calc(100vh - var(--msc-focus-header));
  max-height: none;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #cfd8df transparent;
}

.admin-bar.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-focus-sidebar-wrapper {
  height: calc(100vh - var(--msc-focus-header) - 32px);
}

.msc-focus-sidebar-intro {
  padding: 30px 22px 12px;
  background: #f8f9fb;
}

.msc-focus-back-module {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: #edf1f4;
  color: #6d747b !important;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
}

.msc-focus-back-module span {
  margin-top: -2px;
  font-size: 20px;
  font-weight: 300;
}

.msc-focus-sidebar-intro h2 {
  margin: 16px 0 0;
  color: var(--msc-text);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-lesson-item:not(.msc-focus-exercise) > .ld-lesson-item-preview {
  display: block;
  min-height: 0;
  padding: 0;
  background: transparent;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-lesson-item.ld-is-current-lesson > .ld-lesson-item-preview,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-lesson-item-section-heading,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .msc-focus-exercises-heading {
  background: transparent !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-lesson-item:not(.msc-focus-exercise) > .ld-lesson-item-preview::before {
  display: none;
}

.msc-focus-nav-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto 24px;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 12px;
  border-radius: 8px;
  background: #eef1f4;
}

.msc-focus-nav-row.is-expanded {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  background: #eef1f4;
}

.msc-focus-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.msc-focus-nav-toggle:hover,
.msc-focus-nav-toggle:focus,
.msc-focus-nav-toggle:focus-visible,
.msc-focus-nav-toggle:active {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit !important;
  outline: none !important;
  transform: none !important;
}

.msc-focus-nav-toggle span {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid #b7bec4;
  transition: transform .18s ease;
}

.msc-focus-nav-row.is-expanded .msc-focus-nav-toggle span {
  transform: rotate(90deg);
}

.msc-focus-nav-toggle.is-empty {
  visibility: hidden;
}

.msc-focus-nav-title {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  color: #27323d !important;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.15;
  text-decoration: none !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.msc-navigation-title-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.msc-taster-label {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 18px;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  border-radius: 3px;
  background: var(--msc-green);
  color: #fff !important;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1;
  text-transform: uppercase;
}

.msc-taster-tooltip {
  position: fixed;
  z-index: 100000;
  width: max-content;
  max-width: min(300px, calc(100vw - 20px));
  padding: 8px 10px;
  border-radius: 5px;
  background: #232c39;
  box-shadow: 0 5px 16px rgba(35, 44, 57, .18);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  white-space: normal;
  opacity: 0;
  pointer-events: none;
  transform: translateY(3px);
  transition: opacity .14s ease, transform .14s ease;
}

.msc-taster-tooltip::after {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-top-color: #232c39;
  content: '';
  transform: translateX(-50%);
}

.msc-taster-tooltip.is-below::after {
  top: auto;
  bottom: 100%;
  border-top-color: transparent;
  border-bottom-color: #232c39;
}

.msc-taster-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.msc-focus-nav-row,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list .ld-table-list-item-preview,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-table-list-item-preview {
  min-width: 0;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list .ld-topic-title,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-topic-title {
  display: block !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .msc-focus-nav-title,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .msc-focus-nav-title:hover,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .msc-focus-nav-title:focus,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list .ld-topic-title,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list .ld-topic-title:hover,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list .ld-topic-title:focus,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-topic-title,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-topic-title:hover,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-topic-title:focus {
  background: transparent !important;
  box-shadow: none !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .msc-focus-nav-row:hover > .msc-focus-nav-title,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .msc-focus-nav-row:focus-within > .msc-focus-nav-title,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list .ld-table-list-item-preview:hover > .ld-topic-title,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list .ld-table-list-item-preview:focus > .ld-topic-title,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .msc-focus-nav-title::before,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .msc-focus-nav-title::after,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list .ld-topic-title::before,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list .ld-topic-title::after {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

/* Focus header account control. */
.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header .ld-brand-logo {
  border-right: 0 !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu {
  position: relative;
  border-left: 0 !important;
  cursor: pointer;
  outline: none;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu:focus-visible {
  border-radius: 12px;
  box-shadow: 0 0 0 3px rgba(0, 153, 255, .2);
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu .msc-focus-account-menu {
  position: absolute;
  z-index: 10010;
  top: calc(100% - 4px);
  right: 10px;
  display: none !important;
  box-sizing: border-box;
  width: min(360px, calc(100vw - 24px));
  max-height: min(680px, calc(100vh - 96px));
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid #dceaf4;
  border-radius: 20px;
  background: #f7fbfe;
  box-shadow: 0 22px 65px rgba(20, 42, 61, .22), 0 4px 16px rgba(20, 42, 61, .08);
  cursor: default;
  opacity: 0;
  transform: translateY(-6px);
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu.msc-account-open .msc-focus-account-menu {
  display: block !important;
  opacity: 1;
  transform: translateY(0);
}

.msc-focus-account-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 0 13px;
  align-items: center;
  padding: 20px 20px 17px;
  border-bottom: 1px solid #dceaf4;
  background: linear-gradient(145deg, #eaf7ff 0%, #fff 72%);
  color: var(--msc-text);
}

.msc-focus-account-avatar {
  grid-column: 1;
  grid-row: 1;
  width: 62px;
  height: 62px;
  border: 4px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 5px 18px rgba(0, 153, 255, .17);
}

.msc-focus-account-identity {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  color: var(--msc-text);
  line-height: 1.2;
}

.msc-focus-account-name-line {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
}

.msc-focus-account-name-line strong {
  overflow: hidden;
  color: var(--msc-text);
  font-size: 18px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.msc-focus-account-handle {
  margin-top: 4px;
  color: #6b7c90;
  font-size: 12px;
  font-weight: 500;
  text-transform: lowercase;
}

.msc-focus-account-complete {
  position: relative;
  display: inline-grid;
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 50%;
  background: var(--msc-blue);
}

.msc-focus-account-complete::before {
  width: 10px;
  height: 8px;
  background: #fff;
  content: '';
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M1.5 5.1 4.4 8 10.5 1.8'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M1.5 5.1 4.4 8 10.5 1.8'/%3E%3C/svg%3E") center/contain no-repeat;
}

.msc-focus-account-progress {
  --msc-account-progress: 0%;
  position: relative;
  display: inline-grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#28ba6a var(--msc-account-progress), #d9e1e7 0);
  color: #526274;
  font-size: 8px;
  font-weight: 800;
}

.msc-focus-account-progress::before {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #f7fbfe;
  content: '';
}

.msc-focus-account-progress span {
  position: relative;
  z-index: 1;
}

.msc-focus-account-joined {
  grid-column: 1 / -1;
  margin-top: 9px;
  color: #6b7c90;
  font-size: 11px;
}

.msc-focus-account-badges {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 11px;
}

.msc-focus-account-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 27px;
  box-sizing: border-box;
  padding: 5px 8px;
  border: .5px solid #9ca3af;
  border-radius: 6px;
  color: var(--msc-text);
  font-size: 11px;
  line-height: 1;
}

.msc-focus-account-badge img {
  display: block;
  width: 14px;
  height: 14px;
  object-fit: contain;
  background: transparent !important;
}

.msc-focus-account-badge:not(.msc-focus-account-badge--rya-instructor) img {
  mix-blend-mode: multiply;
}

.msc-focus-account-links {
  display: grid;
  gap: 4px;
  padding: 10px 12px 12px;
}

.msc-focus-account-link {
  display: flex !important;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  box-sizing: border-box;
  padding: 8px 11px;
  border-radius: 12px;
  background: transparent !important;
  color: #304052 !important;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none !important;
}

.msc-focus-account-link:hover,
.msc-focus-account-link:focus-visible {
  background: #e7f5ff !important;
  color: #007fd4 !important;
  outline: none;
}

.msc-focus-account-link-icon {
  display: grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  background: #edf3f7;
  color: #60758a;
}

.msc-focus-account-link:hover .msc-focus-account-link-icon,
.msc-focus-account-link:focus-visible .msc-focus-account-link-icon {
  background: #fff;
  color: var(--msc-blue);
  box-shadow: 0 2px 9px rgba(0, 153, 255, .13);
}

.msc-focus-account-link-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.msc-focus-account-signout {
  display: flex;
  justify-content: center;
  margin: 0 12px;
  padding: 10px 0 12px;
  border-top: 1px solid #e1e9ef;
}

.msc-focus-account-signout a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 116px;
  padding: 9px 16px;
  border-radius: 10px;
  background: transparent;
  color: #a74646 !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
}

.msc-focus-account-signout a:hover,
.msc-focus-account-signout a:focus-visible {
  background: #fff0f0;
  color: #c43131 !important;
  outline: none;
}

.msc-briefing-modal {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(21, 39, 55, .35);
  backdrop-filter: blur(4px);
}

.msc-briefing-modal.is-open {
  display: flex;
}

.msc-briefing-dialog {
  display: flex;
  width: min(980px, 96vw);
  height: min(760px, 90vh);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(20, 42, 61, .3);
}

.msc-briefing-heading {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px 0 22px;
  border-bottom: 1px solid #e1e9ef;
  color: var(--msc-text);
}

.msc-briefing-heading button {
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #617386;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

.msc-briefing-heading button:hover,
.msc-briefing-heading button:focus-visible {
  background: #fff0f0;
  color: #ef3e46;
  outline: none;
}

.msc-briefing-dialog iframe {
  width: 100%;
  min-height: 0;
  flex: 1 1 auto;
  border: 0;
  background: #fff;
}

/* LearnDash declares its dropdown anchors after the general component rules. */
.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu .ld-user-menu-items.msc-focus-account-menu .msc-focus-account-links a.msc-focus-account-link {
  background: transparent !important;
  color: #304052 !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  line-height: 1.2 !important;
  text-align: left !important;
  text-transform: none !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu .ld-user-menu-items.msc-focus-account-menu .msc-focus-account-links a.msc-focus-account-link:hover,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu .ld-user-menu-items.msc-focus-account-menu .msc-focus-account-links a.msc-focus-account-link:focus-visible {
  background: #e7f5ff !important;
  color: #007fd4 !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu .ld-user-menu-items.msc-focus-account-menu .msc-focus-account-signout a {
  background: transparent !important;
  color: #a74646 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-transform: none !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu .ld-user-menu-items.msc-focus-account-menu .msc-focus-account-signout a:hover,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu .ld-user-menu-items.msc-focus-account-menu .msc-focus-account-signout a:focus-visible {
  background: #fff0f0 !important;
  color: #c43131 !important;
}

.msc-focus-nav-count {
  color: #747b82;
  font-size: 11px;
  white-space: nowrap;
}

.msc-focus-nav-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 22px;
  height: 22px;
  border: 2px solid #cbd3da;
  border-radius: 50%;
  color: transparent;
  line-height: 1;
}

.msc-focus-nav-status.is-complete {
  border-color: var(--msc-blue);
  background: var(--msc-blue);
  color: #fff !important;
  background-image: var(--msc-completion-check);
  background-position: center;
  background-size: 14px;
  background-repeat: no-repeat;
  font-size: 0;
}

.msc-native-expand {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list {
  margin: 0 16px 10px;
  padding: 5px 0;
  overflow: hidden;
  border-radius: 0 0 10px 10px;
  background: #fff;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list .ld-table-list-item-preview {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 8px 0 18px;
  border: 0;
  background: #fff;
  text-decoration: none;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list .ld-table-list-item-preview::before {
  grid-column: 1;
  align-self: center;
  color: #27323d;
  content: "☷";
  font-size: 21px;
  line-height: 1;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list .ld-table-list-item-preview.has-session-type::before {
  display: none;
}

.msc-session-type-icon {
  display: inline-flex;
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: #526272;
  line-height: 1;
}

.msc-session-type-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.msc-session-type-icon.is-video svg path {
  fill: none;
  stroke: currentColor;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list .ld-topic-title {
  grid-column: 2;
  display: block;
  align-self: center;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  background: transparent !important;
  color: #27323d;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list .ld-status-icon {
  grid-column: 3;
  grid-row: 1;
  justify-self: center;
  width: 18px;
  height: 18px;
  margin: 0 !important;
  border-width: 2px;
  font-size: 10px;
  line-height: 1;
  transform: translate(18px, 4px);
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list .ld-is-current-item {
  background: #fff !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .msc-focus-nav-row:hover,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .msc-focus-nav-title:hover,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list .ld-table-list-item-preview:hover,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list .ld-topic-title:hover {
  background: inherit !important;
  color: #27323d !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-lesson-item:not(.msc-focus-exercise) > .ld-lesson-item-preview {
  width: auto;
  margin: 5px 12px 0;
  border-radius: 8px;
  background: #eef1f4 !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-lesson-item:not(.msc-focus-exercise) > .ld-lesson-item-expanded.ld-expanded {
  margin-top: 0;
}

.msc-focus-clock-card {
  margin: 28px 20px 34px;
  padding: 28px 20px 26px;
  border: 1px solid #e2e7eb;
  border-radius: 12px;
  background: #fff;
  text-align: center;
}

.msc-live-clock {
  display: block;
  width: 180px;
  max-width: 78%;
  height: auto;
  margin: 0 auto 20px;
}

.msc-original-clock-frame {
  display: block;
  width: 190px;
  max-width: 100%;
  height: 190px;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 0;
  background: transparent;
}

.msc-original-clock .msc-original-face { fill: #f4f3ed; }
.msc-original-clock .msc-original-rim { fill: #383838; }
.msc-original-clock .msc-original-rim-shadow { fill: #000; filter: url(#msc-clock-soft-shadow); opacity: .5; transform: translateY(8px); }
.msc-original-clock .msc-original-inner { fill: #282828; }
.msc-original-clock .msc-original-inner-shadow { fill: #c4c4c4; opacity: .2; }
.msc-clock-marks line { stroke: #3f4245; stroke-width: 1.2; }
.msc-clock-marks line.is-major { stroke-width: 3; }
.msc-clock-brand { fill: var(--msc-blue); font-size: 7px; font-weight: 800; letter-spacing: .4px; }
.msc-clock-number { fill: #303030; font-family: Futura, "Century Gothic", sans-serif; font-size: 26px; font-weight: 500; }
.msc-original-hour,
.msc-original-minute,
.msc-hour-shadow,
.msc-minute-shadow,
.msc-original-seconds,
.msc-second-shadow { transform-box: view-box; transform-origin: 243.5px 250.8px; }
.msc-original-hour,
.msc-original-minute { fill: #3a3a3a; transition: transform .1s linear; }
.msc-original-seconds,
.msc-second-shadow { transition: transform .6s cubic-bezier(.2, .8, .2, 1.2); }
.msc-original-seconds line,
.msc-original-seconds circle,
.msc-second-shadow line,
.msc-second-shadow circle { fill: none; stroke: #bf4116; stroke-width: 1; }
.msc-original-seconds .is-filled,
.msc-second-shadow .is-filled { fill: #bf4116; stroke: none; }
.msc-hand-shadow { opacity: .2; filter: url(#msc-clock-soft-shadow); }

.msc-focus-clock-card p {
  margin: 0 0 14px;
  color: #74777a;
  font-size: 14px;
  font-weight: 600;
}

.msc-focus-clock-card p span { color: var(--msc-red); }

.msc-focus-clock-card > img {
  display: block;
  width: 170px;
  max-width: 78%;
  height: auto;
  margin: 0 auto;
}

/* Unified navigation surface: hierarchy comes from chevrons and indentation. */
.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-sidebar,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-focus-sidebar-wrapper,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-course-navigation,
.msc-classroom-focus-shell .msc-focus-sidebar-intro,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-lesson-item:not(.msc-focus-exercise) > .ld-lesson-item-preview,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-lesson-item-section-heading,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .msc-focus-exercises-heading,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list .ld-table-list-item-preview,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list .ld-is-current-item,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .msc-focus-exercise-row,
.msc-classroom-focus-shell .msc-focus-nav-row,
.msc-classroom-focus-shell .msc-focus-nav-row.is-expanded {
  background: #f8fafc !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-lesson-item:not(.msc-focus-exercise) > .ld-lesson-item-preview {
  margin: 0;
  border-radius: 0;
}

.msc-classroom-focus-shell .msc-focus-nav-row,
.msc-classroom-focus-shell .msc-focus-nav-row.is-expanded {
  border-radius: 0;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list {
  margin: 0;
  padding: 0;
  border-radius: 0;
}

/* LearnDash adds two vertical padding layers before expanded sessions. */
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list > .ld-table-list-items {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-lesson-item-expanded::before,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list::before,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-table-list::before {
  display: none !important;
  border: 0 !important;
  content: none !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .msc-focus-nav-row:hover,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .msc-focus-nav-title:hover,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list .ld-table-list-item-preview:hover,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list .ld-topic-title:hover {
  background: #f8fafc !important;
}

.msc-classroom-focus-shell .msc-focus-clock-card {
  border: 1px solid #e2e7eb;
  background: #fff !important;
}

/* Refined interactive states for the Focus Mode hierarchy and topic content. */
.msc-classroom-focus-shell .msc-focus-nav-title,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list .ld-topic-title,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-topic-title {
  font-weight: 400;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .msc-focus-nav-row:hover,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list .ld-table-list-item-preview:hover,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list .ld-is-current-item,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-is-current-lesson > .ld-lesson-item-preview .msc-focus-nav-row {
  background: #eef3f6 !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .msc-focus-nav-row:hover .msc-focus-nav-title,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .msc-focus-nav-row:hover .msc-focus-nav-toggle,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list .ld-table-list-item-preview:hover .ld-topic-title,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list .ld-table-list-item-preview:hover .msc-session-type-icon,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list .ld-is-current-item .ld-topic-title,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list .ld-is-current-item .msc-session-type-icon,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-is-current-lesson > .ld-lesson-item-preview .msc-focus-nav-title {
  color: var(--msc-blue) !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-table-list {
  border: 0 !important;
  box-shadow: none !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-table-list-item-preview:hover,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-table-list-item-preview:focus,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-table-list-item-preview.ld-is-current-item,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-table-list-item-preview[aria-current="page"] {
  background: #eef3f6 !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-table-list-item-preview:hover .ld-topic-title,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-table-list-item-preview:hover .msc-session-type-icon,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-table-list-item-preview:focus .ld-topic-title,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-table-list-item-preview:focus .msc-session-type-icon,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-table-list-item-preview[aria-current="page"] .ld-topic-title,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-table-list-item-preview[aria-current="page"] .msc-session-type-icon {
  color: var(--msc-blue) !important;
}

/* Topic-content list: remove LearnDash's inner frame and mirror sidebar states. */
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-table-list-items,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-table-list-item,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-table-list-item:first-child,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-table-list-item:last-child {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-table-list-item {
  margin-bottom: 8px;
  background: transparent !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-table-list-item-preview {
  min-height: 58px;
  padding: 0 18px;
  transition: background-color .16s ease, color .16s ease;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-table-list-item:nth-child(odd) > .ld-table-list-item-preview {
  background: #f8fafc !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-table-list-item:hover > .ld-table-list-item-preview,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-table-list-item > .ld-table-list-item-preview:hover,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-table-list-item > .ld-table-list-item-preview:focus,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-table-list-item.ld-is-current-item > .ld-table-list-item-preview,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-table-list-item > .ld-table-list-item-preview[aria-current="page"] {
  background: #eef3f6 !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-table-list-item:hover .ld-topic-title,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-table-list-item:hover .msc-session-type-icon,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-table-list-item.ld-is-current-item .ld-topic-title,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-table-list-item.ld-is-current-item .msc-session-type-icon,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-table-list-item-preview[aria-current="page"] .ld-topic-title,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-main .ld-lesson-topic-list .ld-table-list-item-preview[aria-current="page"] .msc-session-type-icon {
  color: var(--msc-blue) !important;
}

/* Exercise entry: use the same full-width grid as the neighbouring navigation. */
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-course-navigation .ld-lesson-item.msc-focus-exercise,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-course-navigation .ld-lesson-item.msc-focus-exercise > .ld-lesson-item-preview {
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .msc-focus-exercise-row {
  width: 100% !important;
  padding-right: 22px;
  padding-left: 22px;
}

/* Course/group and module cards. */
.msc-classroom-course-layouts .learndash-wrapper .ld-course-status,
.msc-classroom-course-layouts .learndash-wrapper .ld-item-list-item,
.msc-classroom-course-layouts .learndash-wrapper .ld-table-list {
  overflow: hidden;
  border: 1px solid var(--msc-line);
  border-radius: 18px;
  background: var(--msc-surface);
  box-shadow: 0 10px 30px rgba(35, 44, 57, .06);
}

.msc-classroom-course-layouts .learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-list-item-preview {
  padding: 18px 20px;
}

.msc-classroom-course-layouts .learndash-wrapper .ld-tabs .ld-tabs-navigation {
  border-bottom: 1px solid var(--msc-line);
}

.msc-classroom-course-layouts .learndash-wrapper .ld-tabs .ld-tabs-navigation .ld-tab.ld-active {
  color: var(--msc-blue);
}

/* Module home: mirror the quiet, compact visual language used in Focus Mode. */
body.single-sfwd-courses.msc-classroom-course-layouts .content-area {
  margin-top: 0;
}

body.single-sfwd-courses.msc-classroom-course-layouts article.content-bg {
  border: 0;
  background: transparent !important;
  box-shadow: none;
}

body.single-sfwd-courses.msc-classroom-course-layouts .entry-content-wrap {
  padding-top: clamp(34px, 5vw, 68px);
  padding-right: clamp(24px, 4vw, 58px);
  padding-bottom: clamp(50px, 7vw, 88px);
  padding-left: clamp(24px, 4vw, 58px);
}

body.single-sfwd-courses.msc-classroom-course-layouts .entry-header {
  margin-bottom: 26px;
}

body.single-sfwd-courses.msc-classroom-course-layouts .entry-title {
  margin: 0;
  color: var(--msc-text);
  font-size: clamp(32px, 3.2vw, 46px);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.16;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper {
  color: var(--msc-text);
  font-family: inherit;
}

/* Progress: remove the large grey capsule while retaining its useful data. */
body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-course-status.ld-course-status-enrolled {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  overflow: visible;
  margin: 0 0 30px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-course-status .ld-progress {
  display: contents;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-course-status .ld-progress-bar {
  grid-column: 1;
  grid-row: 1;
  height: 6px;
  margin: 0;
  border-radius: 999px;
  background: #e7ebef;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-course-status .ld-progress-bar-percentage {
  height: 6px;
  border-radius: inherit;
  background: var(--msc-blue);
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-course-status .ld-progress-heading {
  display: contents;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-course-status .ld-progress-stats {
  display: contents;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-course-status .ld-progress-percentage,
body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-course-status .ld-progress-steps {
  position: static;
  margin: 0;
  color: #737a82;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-course-status .ld-progress-percentage {
  grid-column: 2;
  grid-row: 1;
  color: var(--msc-blue);
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-course-status .ld-progress-steps {
  grid-column: 3;
  grid-row: 1;
}

/* Module tabs: same proportions and behaviour as the Focus Mode strip. */
body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-tabs {
  margin: 0 0 42px;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-tabs .ld-tabs-navigation {
  position: relative;
  display: flex;
  min-height: 58px;
  gap: 14px;
  margin: 0;
  padding: 0 12px;
  border: 0;
  border-bottom: 1px solid #dfe4e8;
  background: transparent;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper--course > .ld-tabs .ld-tabs-navigation.msc-course-tab-indicator-ready::before {
  position: absolute;
  z-index: 2;
  bottom: -1px;
  left: var(--msc-course-tab-left, 0);
  width: var(--msc-course-tab-width, 0);
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: var(--msc-blue);
  content: '';
  pointer-events: none;
  transition: left .26s ease, width .26s ease;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-tabs .ld-tabs-navigation::after {
  display: none;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-tabs .ld-tabs-navigation .ld-tab {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 58px;
  gap: 9px;
  margin: 0;
  padding: 0 18px;
  border: 0;
  background: transparent !important;
  color: var(--msc-text);
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
  transition: color .18s ease;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-tabs .ld-tabs-navigation .ld-tab::after {
  position: absolute;
  right: 8px;
  bottom: -1px;
  left: 8px;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: var(--msc-blue);
  content: '';
  opacity: 0;
  transform: scaleX(.55);
  transition: opacity .18s ease, transform .22s ease;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-tabs .ld-tabs-navigation .ld-tab:hover,
body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-tabs .ld-tabs-navigation .ld-tab:focus-visible,
body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-tabs .ld-tabs-navigation .ld-tab.ld-active,
body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-tabs .ld-tabs-navigation .ld-tab[aria-selected="true"] {
  color: var(--msc-blue);
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-tabs .ld-tabs-navigation .ld-tab.ld-active::after,
body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-tabs .ld-tabs-navigation .ld-tab[aria-selected="true"]::after {
  opacity: 1;
  transform: scaleX(1);
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper--course > .ld-tabs .ld-tabs-navigation.msc-course-tab-indicator-ready .ld-tab::after {
  display: none;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-tabs .ld-tabs-navigation .ld-tab .ld-icon {
  margin: 0;
  color: currentColor;
  font-size: 20px;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-tabs .ld-tabs-content {
  padding: 30px 12px 0;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-tabs .ld-tab-content {
  color: var(--msc-text);
  font-size: 17px;
  line-height: 1.7;
}

/* Course (LearnDash Group) tabs use the same slim, animated strip as Modules. */
body.msc-course-enhanced .msc-course-main > .learndash-wrapper--group > .ld-tabs {
  margin: 0 0 42px;
}

body.msc-course-enhanced .msc-course-main > .learndash-wrapper--group > .ld-tabs > .ld-tabs-navigation {
  position: relative;
  display: flex;
  min-height: 58px;
  gap: 14px;
  margin: 0;
  padding: 0 12px;
  border: 0;
  border-bottom: 1px solid #dfe4e8;
  background: transparent;
}

body.msc-course-enhanced .msc-course-main > .learndash-wrapper--group > .ld-tabs > .ld-tabs-navigation.msc-course-tab-indicator-ready::before {
  position: absolute;
  z-index: 2;
  bottom: -1px;
  left: var(--msc-course-tab-left, 0);
  width: var(--msc-course-tab-width, 0);
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: var(--msc-blue);
  content: '';
  pointer-events: none;
  transition: left .26s ease, width .26s ease;
}

body.msc-course-enhanced .msc-course-main > .learndash-wrapper--group > .ld-tabs > .ld-tabs-navigation::after { display: none; }

body.msc-course-enhanced .msc-course-main > .learndash-wrapper--group > .ld-tabs > .ld-tabs-navigation .ld-tab {
  position: relative;
  display: inline-flex;
  min-height: 58px;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 0 18px;
  border: 0;
  background: transparent !important;
  color: var(--msc-text);
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
  transition: color .18s ease;
}

body.msc-course-enhanced .msc-course-main > .learndash-wrapper--group > .ld-tabs > .ld-tabs-navigation .ld-tab:hover,
body.msc-course-enhanced .msc-course-main > .learndash-wrapper--group > .ld-tabs > .ld-tabs-navigation .ld-tab:focus-visible,
body.msc-course-enhanced .msc-course-main > .learndash-wrapper--group > .ld-tabs > .ld-tabs-navigation .ld-tab.ld-active,
body.msc-course-enhanced .msc-course-main > .learndash-wrapper--group > .ld-tabs > .ld-tabs-navigation .ld-tab[aria-selected="true"] {
  color: var(--msc-blue);
}

body.msc-course-enhanced .msc-course-main > .learndash-wrapper--group > .ld-tabs > .ld-tabs-navigation .ld-tab .ld-icon {
  margin: 0;
  color: currentColor;
  font-size: 20px;
}

body.msc-course-enhanced .msc-course-main > .learndash-wrapper--group > .ld-tabs > .ld-tabs-content {
  padding: 30px 12px 0;
}

/* All Courses archive: one shared hero followed by the same Course cards. */
body.msc-all-courses-archive .content-area {
  margin-top: 0;
}

body.msc-all-courses-archive > .site .groups-archive-hero-section,
body.msc-all-courses-archive > .site .entry-hero.groups-archive-hero-section {
  display: none !important;
}

body.msc-all-courses-archive .msc-course-archive-hero {
  margin-bottom: clamp(34px, 5vw, 64px);
}

body.msc-all-courses-archive .msc-all-courses-grid {
  display: block;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto clamp(60px, 8vw, 100px);
}

body.msc-all-courses-archive .msc-all-courses-card-grid {
  display: grid !important;
  margin: 0 !important;
  padding: 0 !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
  list-style: none !important;
}

body.msc-all-courses-archive .msc-all-courses-card-grid > li {
  display: flex;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
}

body.msc-all-courses-archive .msc-all-courses-card-grid .msc-group-grid-card {
  min-height: 100%;
}

body.msc-all-courses-archive .msc-group-grid-card__description > p:first-child {
  margin-bottom: 14px;
  -webkit-line-clamp: 3;
}

body.msc-all-courses-archive .msc-all-courses-grid > nav,
body.msc-all-courses-archive .msc-all-courses-grid > .navigation {
  grid-column: 1 / -1;
}

@media (max-width: 760px) {
  body.msc-all-courses-archive .msc-all-courses-grid {
    width: min(100% - 28px, 620px);
  }

  body.msc-all-courses-archive .msc-all-courses-card-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
  }

  body.msc-course-enhanced .msc-course-main > .learndash-wrapper--group > .ld-tabs > .ld-tabs-navigation {
    min-height: 52px;
    gap: 4px;
    padding: 0 4px;
  }

  body.msc-course-enhanced .msc-course-main > .learndash-wrapper--group > .ld-tabs > .ld-tabs-navigation .ld-tab {
    min-height: 52px;
    padding: 0 12px;
    font-size: 15px;
  }
}

/* One canonical LearnDash tab strip across Focus Mode, Modules and Courses. */
.msc-classroom-kadence .learndash-wrapper .ld-tabs > .ld-tabs-navigation {
  min-height: 51px !important;
  gap: 0 !important;
  padding: 0 4px !important;
  border: 0 !important;
  border-bottom: 1px solid #dfe4e8 !important;
  background: transparent !important;
}

.msc-classroom-kadence .learndash-wrapper .ld-tabs > .ld-tabs-navigation .ld-tab {
  min-height: 50px !important;
  gap: 8px !important;
  padding: 0 16px !important;
  background: transparent !important;
  color: var(--msc-text);
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
}

.msc-classroom-kadence .learndash-wrapper .ld-tabs > .ld-tabs-navigation .ld-tab:hover,
.msc-classroom-kadence .learndash-wrapper .ld-tabs > .ld-tabs-navigation .ld-tab:focus-visible,
.msc-classroom-kadence .learndash-wrapper .ld-tabs > .ld-tabs-navigation .ld-tab.ld-active,
.msc-classroom-kadence .learndash-wrapper .ld-tabs > .ld-tabs-navigation .ld-tab[aria-selected="true"] {
  color: var(--msc-blue) !important;
}

.msc-classroom-kadence .learndash-wrapper .ld-tabs > .ld-tabs-navigation .ld-tab .ld-icon {
  margin: 0 !important;
  color: currentColor !important;
  font-size: 18px !important;
}

/* Keep global button/link rules from turning LearnDash tab labels white. */
.msc-classroom-kadence .learndash-wrapper .ld-tabs > .ld-tabs-navigation .ld-tab,
.msc-classroom-kadence .learndash-wrapper .ld-tabs > .ld-tabs-navigation .ld-tab .ld-text,
.msc-classroom-kadence .learndash-wrapper .ld-tabs > .ld-tabs-navigation .ld-tab span,
.msc-classroom-kadence .learndash-wrapper .ld-tabs > .ld-tabs-navigation .ld-tab a {
  color: var(--msc-text) !important;
}

.msc-classroom-kadence .learndash-wrapper .ld-tabs > .ld-tabs-navigation .ld-tab:hover,
.msc-classroom-kadence .learndash-wrapper .ld-tabs > .ld-tabs-navigation .ld-tab:focus-visible,
.msc-classroom-kadence .learndash-wrapper .ld-tabs > .ld-tabs-navigation .ld-tab.ld-active,
.msc-classroom-kadence .learndash-wrapper .ld-tabs > .ld-tabs-navigation .ld-tab[aria-selected="true"],
.msc-classroom-kadence .learndash-wrapper .ld-tabs > .ld-tabs-navigation .ld-tab:hover .ld-text,
.msc-classroom-kadence .learndash-wrapper .ld-tabs > .ld-tabs-navigation .ld-tab:focus-visible .ld-text,
.msc-classroom-kadence .learndash-wrapper .ld-tabs > .ld-tabs-navigation .ld-tab.ld-active .ld-text,
.msc-classroom-kadence .learndash-wrapper .ld-tabs > .ld-tabs-navigation .ld-tab[aria-selected="true"] .ld-text {
  color: var(--msc-blue) !important;
}

/* One thin baseline and one consistent active indicator on modules and courses. */
.msc-classroom-kadence .learndash-wrapper .ld-tabs > .ld-tabs-navigation {
  border-bottom-width: 1px !important;
  box-shadow: none !important;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper--course > .ld-tabs > .ld-tabs-navigation.msc-course-tab-indicator-ready::before,
body.msc-course-enhanced .msc-course-main > .learndash-wrapper--group > .ld-tabs > .ld-tabs-navigation.msc-course-tab-indicator-ready::before {
  bottom: -1px !important;
  height: 3px !important;
}

/* Do not stack LearnDash's native active underline beneath our indicator. */
body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper--course > .ld-tabs > .ld-tabs-navigation.msc-course-tab-indicator-ready .ld-tab::before,
body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper--course > .ld-tabs > .ld-tabs-navigation.msc-course-tab-indicator-ready .ld-tab::after,
body.msc-course-enhanced .msc-course-main > .learndash-wrapper--group > .ld-tabs > .ld-tabs-navigation.msc-course-tab-indicator-ready .ld-tab::before,
body.msc-course-enhanced .msc-course-main > .learndash-wrapper--group > .ld-tabs > .ld-tabs-navigation.msc-course-tab-indicator-ready .ld-tab::after {
  display: none !important;
  height: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  content: none !important;
}

/* Module contents: flat, readable rows instead of generic floating cards. */
body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list {
  margin-top: 44px;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list .ld-section-heading {
  align-items: center;
  margin: 0 0 18px;
  padding: 0 4px;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list .ld-section-heading h2 {
  color: var(--msc-text);
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -.015em;
  text-transform: none;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list-actions .ld-expand-button {
  border: 0;
  background: transparent !important;
  color: #687483;
  font-size: 14px;
  font-weight: 500;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list-actions .ld-expand-button:hover,
body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list-actions .ld-expand-button:focus-visible {
  color: var(--msc-blue);
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list-section-heading {
  margin: 28px 0 10px;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: #697584;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list-items {
  display: grid;
  gap: 8px;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list .ld-item-list-item {
  overflow: hidden;
  margin: 0;
  border: 0;
  border-radius: 10px;
  background: #f5f7f9;
  box-shadow: none;
  transition: background-color .18s ease;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list .ld-item-list-item:hover,
body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list .ld-item-list-item:focus-within,
body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list .ld-item-list-item.ld-expanded {
  background: #eef2f5;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-list-item-preview {
  min-height: 68px;
  padding: 0 18px;
  border: 0;
  background: transparent !important;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list .ld-item-name {
  min-width: 0;
  color: var(--msc-text);
  font-size: 17px;
  font-weight: 400;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list .ld-item-title {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list .ld-item-components {
  margin-left: auto;
  color: #717981;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list .ld-status-icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin: 0 14px 0 0;
  border-width: 2px;
  background: transparent;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list .learndash-complete .ld-status-icon {
  border-color: var(--msc-blue);
  background: var(--msc-blue);
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list .ld-item-details {
  margin-left: 14px;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list .ld-expand-button {
  width: 34px;
  height: 34px;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: transparent !important;
  color: #81909f;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list .ld-expand-button:hover,
body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list .ld-expand-button:focus-visible {
  color: var(--msc-blue);
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list .ld-expand-button .ld-text {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list-item-expanded {
  margin: 0;
  padding: 0 14px;
  border: 0;
  background: transparent;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list-item-expanded .ld-table-list {
  overflow: hidden;
  margin: 0 0 14px;
  border: 1px solid #e2e7eb;
  border-radius: 9px;
  background: #fff;
  box-shadow: none;
}

/* Match the Focus Mode information order: chevron, title/count, status. */
body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list .ld-item-list-item-preview {
  display: flex;
  align-items: center;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list .ld-item-list-item-preview > .ld-item-details {
  order: 1;
  flex: 0 0 30px;
  margin: 0 12px 0 0;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list .ld-item-list-item-preview > .ld-tooltip {
  order: 2;
  flex: 1 1 auto;
  min-width: 0;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list .ld-item-name {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list .ld-item-name > .ld-item-title {
  order: 1;
  flex: 1 1 auto;
  min-width: 0;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list .ld-item-name > .ld-status-icon {
  order: 2;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  margin: 0 0 0 18px;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list .ld-expand-button {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list .ld-expand-button .ld-icon {
  display: block;
  width: 9px;
  height: 9px;
  margin: -4px 0 0;
  border: 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  border-radius: 0;
  background: transparent !important;
  color: #8c98a4;
  font-size: 0;
  transform: rotate(45deg);
  transition: color .16s ease, transform .2s ease;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list .ld-expand-button[aria-expanded="true"] .ld-icon {
  margin-top: 4px;
  transform: rotate(225deg);
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list .ld-expand-button:hover .ld-icon,
body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list .ld-expand-button:focus-visible .ld-icon {
  color: var(--msc-blue);
}

/* The final authored two-button row becomes a quiet module navigation footer. */
body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper--course > .ld-tabs .ld-tab-content > .kb-row-layout-wrap:last-child {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid #e4e8eb;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper--course > .ld-tabs .ld-tab-content > .kb-row-layout-wrap:last-child .kt-row-column-wrap {
  align-items: center;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper--course > .ld-tabs .ld-tab-content > .kb-row-layout-wrap:last-child .inner-column-1 .kb-buttons-wrap {
  justify-content: flex-start;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper--course > .ld-tabs .ld-tab-content > .kb-row-layout-wrap:last-child .inner-column-2 .kb-buttons-wrap {
  justify-content: flex-end;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper--course > .ld-tabs .ld-tab-content > .kb-row-layout-wrap:last-child .kb-button {
  min-height: 38px;
  padding: 6px 4px;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
  color: #657281 !important;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper--course > .ld-tabs .ld-tab-content > .kb-row-layout-wrap:last-child .kb-button:hover,
body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper--course > .ld-tabs .ld-tab-content > .kb-row-layout-wrap:last-child .kb-button:focus-visible {
  color: var(--msc-blue) !important;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper--course > .ld-tabs .ld-tab-content > .kb-row-layout-wrap:last-child .inner-column-1 .kb-button::before {
  margin-right: 7px;
  content: '‹';
  font-size: 21px;
  line-height: 1;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper--course > .ld-tabs .ld-tab-content > .kb-row-layout-wrap:last-child .inner-column-2 .kb-button::after {
  margin-left: 7px;
  content: '›';
  font-size: 21px;
  line-height: 1;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list-item-expanded .ld-table-list-header,
body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list-item-expanded .ld-table-list-footer {
  display: none;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list-item-expanded .ld-table-list-item {
  border: 0;
  border-bottom: 1px solid #edf0f2;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list-item-expanded .ld-table-list-item:last-child {
  border-bottom: 0;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list-item-expanded .ld-table-list-item-preview {
  min-height: 54px;
  padding: 0 18px;
  background: #fff !important;
  color: var(--msc-text);
  font-size: 16px;
  font-weight: 400;
  transition: background-color .16s ease, color .16s ease;
}

body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list-item-expanded .ld-table-list-item-preview:hover,
body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list-item-expanded .ld-table-list-item-preview:focus-visible {
  background: #f5f8fa !important;
  color: var(--msc-blue);
}

/* BuddyBoss-inspired desktop module composition, rebuilt without BuddyBoss. */
body.single-sfwd-courses.msc-module-enhanced .content-area,
body.single-sfwd-courses.msc-module-enhanced .site-main,
body.single-sfwd-courses.msc-module-enhanced .site-main > article,
body.single-sfwd-courses.msc-module-enhanced .entry-content,
body.single-sfwd-courses.msc-module-enhanced .entry-content-wrap {
  width: 100%;
  max-width: none;
}

body.single-sfwd-courses.msc-module-enhanced .entry-header { display: none; }
body.single-sfwd-courses.msc-module-enhanced .entry-content-wrap { padding: 0 !important; }

body.msc-course-enhanced.single-groups .content-area,
body.msc-course-enhanced.single-groups .site-main,
body.msc-course-enhanced.single-groups .site-main > article,
body.msc-course-enhanced.single-groups .entry-content,
body.msc-course-enhanced.single-groups .entry-content-wrap,
body.msc-course-enhanced.single-sfwd-groups .content-area,
body.msc-course-enhanced.single-sfwd-groups .site-main,
body.msc-course-enhanced.single-sfwd-groups .site-main > article,
body.msc-course-enhanced.single-sfwd-groups .entry-content,
body.msc-course-enhanced.single-sfwd-groups .entry-content-wrap {
  width: 100%;
  max-width: none;
}

body.msc-course-enhanced.single-groups .entry-header,
body.msc-course-enhanced.single-sfwd-groups .entry-header { display: none; }

body.msc-course-enhanced.single-groups .entry-content-wrap,
body.msc-course-enhanced.single-sfwd-groups .entry-content-wrap { padding: 0 !important; }

.msc-module-hero {
  position: relative;
  display: flex;
  width: 100vw;
  min-height: 425px;
  align-items: center;
  margin-left: calc(50% - 50vw);
  padding-top: 100px;
  overflow: hidden;
  background: #121923;
  color: #fff;
}

.msc-module-hero__image,
.msc-module-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.msc-module-hero__image {
  object-fit: cover;
  object-position: center;
  filter: saturate(.72) contrast(1.04);
}

.msc-module-hero__shade {
  background: linear-gradient(90deg, rgba(12,18,27,.9), rgba(12,18,27,.76) 48%, rgba(12,18,27,.44) 76%, rgba(12,18,27,.55));
}

.msc-module-hero__inner {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 60px));
  margin: 0 auto;
  padding: 50px 410px 58px 0;
}

.msc-module-hero__category {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin-bottom: 18px;
  padding: 6px 11px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: rgba(255,255,255,.94) !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1;
  text-decoration: none !important;
  text-transform: uppercase;
}

.msc-module-hero__category:hover,
.msc-module-hero__category:focus-visible {
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.94) !important;
  text-decoration: none !important;
}

.msc-module-hero h1 {
  max-width: 710px;
  margin: 0 0 20px;
  color: #fff !important;
  font-size: clamp(38px, 3.4vw, 48px) !important;
  font-weight: 600 !important;
  letter-spacing: -.038em;
  line-height: 1.08;
}

.msc-module-hero__excerpt {
  max-width: 710px;
  color: rgba(255,255,255,.86);
  font-size: 16px;
  line-height: 1.48;
}

.msc-module-hero__excerpt p { margin: 0 0 12px; }
.msc-module-hero__excerpt .summary-intro { margin-bottom: 16px; font-size: 17px; }
.msc-module-hero__excerpt .summary-info { position: relative; padding-left: 30px; }
.msc-module-hero__excerpt .summary-info::before { position: absolute; top: .08em; left: 0; width: 20px; color: #fff; font-size: 20px; line-height: 1; text-align: center; }
.msc-module-hero__excerpt .summary-learn::before { content: '▤'; }
.msc-module-hero__excerpt .summary-time::before { content: '◷'; }

.msc-module-hero__details {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  color: #fff !important;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
}

.msc-module-hero__details:hover,
.msc-module-hero__details:focus-visible,
.msc-module-hero__details:visited { color: #fff !important; }
.msc-module-hero__details-chevron { display: block; width: 8px; height: 8px; margin-top: -4px; border-right: 1.7px solid currentColor; border-bottom: 1.7px solid currentColor; transform: rotate(45deg); }

.msc-module-layout {
  display: grid;
  width: min(1200px, calc(100% - 60px));
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: start;
  gap: clamp(38px, 4.5vw, 64px);
  margin: 0 auto;
  padding: 34px 0 96px;
  scroll-margin-top: 30px;
}

.msc-module-main { min-width: 0; }
body.single-sfwd-courses.msc-module-enhanced .msc-module-main > .learndash-wrapper { width: 100%; max-width: none; }
body.msc-course-enhanced .msc-course-main > .learndash-wrapper { width: 100%; max-width: none; }

body.single-sfwd-courses.msc-module-enhanced .learndash-wrapper .ld-course-status.ld-course-status-enrolled {
  grid-template-columns: auto auto minmax(100px, 1fr);
  gap: 8px 14px;
  margin: 0 0 42px;
  padding: 20px 24px;
  border: 1px solid #e2e6e9;
  border-radius: 17px;
  background: #fff;
}

body.msc-course-enhanced .learndash-wrapper .ld-course-status.ld-course-status-enrolled {
  margin: 0 0 34px;
}

body.single-sfwd-courses.msc-module-enhanced .learndash-wrapper .ld-course-status .ld-progress-percentage { grid-column: 1; color: var(--msc-blue); font-size: 16px; font-weight: 600; }
body.single-sfwd-courses.msc-module-enhanced .learndash-wrapper .ld-course-status .ld-progress-steps { display: block; grid-column: 2; color: #616970; font-size: 15px; }
body.single-sfwd-courses.msc-module-enhanced .learndash-wrapper .ld-course-status .ld-progress-bar { grid-column: 3; height: 5px; }
body.single-sfwd-courses.msc-module-enhanced .learndash-wrapper .ld-course-status .ld-progress-bar-percentage { height: 5px; }

.msc-module-aside { position: relative; z-index: 3; align-self: stretch; margin-top: -488px; }
.msc-course-aside.msc-course-aside-bounded {
  height: var(--msc-course-aside-height);
  align-self: start;
}
.msc-course-layout .msc-course-module-grid-wide {
  width: var(--msc-course-grid-wide-width) !important;
  max-width: none !important;
  margin-top: 34px !important;
}
.msc-course-layout .msc-course-module-grid-wide:not(.msc-card-grid-single) {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
.msc-course-layout .msc-course-module-grid-wide.msc-card-grid-three:not(.msc-card-grid-single) {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
.msc-module-card { position: sticky; top: 130px; overflow: hidden; border: 0; border-radius: 12px; background: #fff; box-shadow: 0 32px 54px rgba(0,0,0,.1); }
.msc-module-card__image { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #eef1f3; }
.msc-module-card__body { padding: 28px 30px 32px; }
.msc-course-card .msc-module-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.msc-course-card .msc-module-card__body h2 {
  width: 100%;
  margin-bottom: 14px;
  font-size: 17px;
  text-align: left;
}
.msc-course-card .msc-module-card__includes,
.msc-course-card .msc-module-card__includes li {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
}
.msc-course-card .msc-module-card__includes {
  margin: 0 0 24px !important;
  padding: 0 !important;
}
.msc-course-card .msc-module-card__start {
  width: 100%;
  margin: auto 0 0;
}

.msc-module-card__start {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  padding: 10px 18px;
  border-radius: 6px !important;
  background: var(--msc-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  color: #fff !important;
  transition: background-color .18s ease;
}

.msc-module-card__start:hover,
.msc-module-card__start:focus-visible,
.msc-module-card__start:visited { background: #0089e6; color: #fff !important; transform: none !important; }
.msc-module-card__start.is-complete,
.msc-module-card__start.is-complete:hover,
.msc-module-card__start.is-complete:focus-visible { background: var(--msc-green); cursor: default; }
.msc-module-card__body h2 { margin: 0 0 18px; color: var(--msc-text); font-size: 19px; font-weight: 500; }
.msc-module-card__includes { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.msc-module-card__includes li { display: flex; align-items: center; gap: 13px; color: #535d67; font-size: 15px; }
.msc-module-card__includes strong { font-weight: 500; }
.msc-module-card__include-icon { position: relative; display: inline-block; flex: 0 0 18px; width: 18px; height: 18px; color: #65717d; }
.msc-module-card__include-icon.is-topic { border: 1.8px solid currentColor; border-radius: 2px; }
.msc-module-card__include-icon.is-topic::before,
.msc-module-card__include-icon.is-topic::after { position: absolute; right: 3px; left: 3px; height: 1.5px; background: currentColor; content: ''; }
.msc-module-card__include-icon.is-topic::before { top: 5px; }
.msc-module-card__include-icon.is-topic::after { top: 10px; }
.msc-module-card__include-icon.is-session::before { position: absolute; top: 3px; left: 1px; width: 13px; height: 1.5px; background: currentColor; box-shadow: 0 5px 0 currentColor,0 10px 0 currentColor; content: ''; }
.msc-module-card__include-icon.is-session::after { position: absolute; top: 1px; right: 0; width: 2px; height: 2px; background: currentColor; box-shadow: 0 5px 0 currentColor,0 10px 0 currentColor; content: ''; }
.msc-module-card__include-icon.is-exercise { display: grid; place-items: center; border: 1.7px solid currentColor; border-radius: 50%; font-size: 12px; font-weight: 700; line-height: 1; }
.msc-module-card__include-icon.is-certificate {
  border: 1.7px solid currentColor;
  border-radius: 2px;
}
.msc-module-card__include-icon.is-certificate::before {
  position: absolute;
  top: 3px;
  right: 3px;
  left: 3px;
  height: 1.5px;
  background: currentColor;
  box-shadow: 0 4px 0 currentColor;
  content: '';
}
.msc-module-card__include-icon.is-certificate::after {
  position: absolute;
  right: 2px;
  bottom: -5px;
  width: 6px;
  height: 7px;
  border-radius: 0 0 4px 4px;
  background: currentColor;
  content: '';
}
.msc-module-card__include-icon.is-included {
  border: 1.7px solid currentColor;
  border-radius: 50%;
}
.msc-module-card__include-icon.is-included::before {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 8px;
  height: 5px;
  border-bottom: 1.7px solid currentColor;
  border-left: 1.7px solid currentColor;
  content: '';
  transform: rotate(-45deg);
}

@media (max-width: 980px) {
  .msc-module-layout { grid-template-columns: minmax(0,1fr); }
  .msc-module-main { grid-row: 2; }
  .msc-module-aside { width: min(100%,520px); grid-row: 1; margin: 0 auto; }
  .msc-course-aside { width: 100%; }
  .msc-course-aside.msc-course-aside-bounded { height: auto; }
  .msc-course-layout .msc-course-module-grid-wide { width: 100% !important; }
  .msc-course-card {
    display: grid;
    grid-template-columns: minmax(130px, 38%) minmax(0, 1fr);
    align-items: stretch;
  }
  .msc-course-card .msc-module-card__image {
    width: 100%;
    height: 100%;
    min-height: 220px;
    aspect-ratio: auto;
    object-fit: cover;
  }
  .msc-course-card .msc-module-card__body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: flex-start;
    padding: 24px 26px;
    text-align: left;
  }
  .msc-course-card .msc-module-card__start {
    order: 3;
    width: 100%;
    margin: auto 0 0;
  }
  .msc-course-card .msc-module-card__body h2 { order: 1; }
  .msc-course-card .msc-module-card__includes { order: 2; }
  .msc-course-card .msc-module-card__body h2,
  .msc-course-card .msc-module-card__includes { width: 100%; text-align: left; }
  .msc-course-card .msc-module-card__includes { justify-items: start; }
  .msc-course-card .msc-module-card__includes li { width: 100%; justify-content: flex-start; }
  .msc-module-card { position: static; }
  .msc-module-hero__inner { padding-right: 0; }
}

body.single-sfwd-courses.msc-module-enhanced .learndash-wrapper .msc-module-progress-card {
  display: block !important;
  width: 100% !important;
  grid-template-columns: none !important;
  margin: 0 0 34px;
  padding: 20px 22px 18px;
  border: 1px solid #dfe5ea;
  border-radius: 14px;
  background: rgba(255,255,255,.78);
  box-shadow: none;
}

body.msc-course-enhanced .learndash-wrapper .msc-module-progress-card {
  display: block !important;
  width: 100% !important;
  margin: 0 0 34px;
  padding: 20px 22px 18px;
  border: 1px solid #dfe5ea;
  border-radius: 14px;
  background: rgba(255,255,255,.78);
  box-shadow: none;
}

body.msc-course-enhanced .learndash-wrapper .ld-course-status-not-enrolled {
  margin: 0 0 34px;
  border: 1px solid #dfe5ea;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

body.single-sfwd-courses.msc-module-enhanced .learndash-wrapper .ld-course-status-not-enrolled {
  display: none !important;
}

body.msc-course-enhanced .learndash-wrapper--group > .ld-tabs {
  margin-top: 0;
}

.msc-module-progress-card__heading,
.msc-module-progress-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.msc-module-progress-card__heading span {
  color: var(--msc-text);
  font-size: 15px;
  font-weight: 600;
}

.msc-module-progress-card__heading strong {
  color: var(--msc-blue);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1;
}

.msc-module-progress-card__track {
  display: block !important;
  width: 100%;
  min-width: 100%;
  height: 3px;
  margin: 14px 0 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfe6ec;
}

.msc-module-progress-card__track span {
  display: block;
  width: 0 !important;
  height: 100%;
  border-radius: inherit;
  background: var(--msc-blue);
  transition: width .65s cubic-bezier(.22,.8,.28,1);
}

.msc-module-progress-card__track span.is-ready {
  width: var(--msc-progress-width, 0%) !important;
}

.msc-module-progress-card__meta {
  color: #667584;
  font-size: 13px;
  line-height: 1.35;
}

.msc-module-progress-card.is-complete .msc-module-progress-card__heading strong {
  color: var(--msc-green);
  background: transparent;
}

.msc-module-progress-card.is-complete .msc-module-progress-card__track span {
  background: var(--msc-green);
}

@media (max-width: 640px) {
  body.single-sfwd-courses.msc-module-enhanced .learndash-wrapper .msc-module-progress-card {
    padding: 17px 18px 16px;
  }

  .msc-module-progress-card__meta {
    align-items: flex-start;
    flex-direction: column !important;
    gap: 4px !important;
  }
}

/* Clean module curriculum: the same visual language as the Focus Mode navigator. */
body.single-sfwd-courses .msc-module-navigation-ready .msc-module-navigation {
  overflow: visible;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.single-sfwd-courses .msc-module-navigation-ready .ld-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 18px !important;
  padding: 0 !important;
}

body.single-sfwd-courses .msc-module-navigation-ready .ld-section-heading h2 {
  color: var(--msc-text);
  font-size: clamp(25px,2vw,31px) !important;
  font-weight: 500 !important;
  letter-spacing: -.02em;
  text-transform: none !important;
}

body.single-sfwd-courses .msc-module-navigation-ready .ld-item-list-actions {
  display: block !important;
  flex: 0 0 auto;
}

body.single-sfwd-courses .msc-module-navigation-ready .ld-item-list-actions .ld-expand-button {
  display: inline-flex !important;
  width: auto !important;
  min-width: max-content !important;
  max-width: none !important;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  padding: 10px 18px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #f1f2f3 !important;
  color: var(--msc-text) !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: .01em;
  text-transform: uppercase;
  transition: background-color .18s ease,color .18s ease;
}

body.single-sfwd-courses .msc-module-navigation-ready .ld-item-list-actions .ld-expand-button:hover,
body.single-sfwd-courses .msc-module-navigation-ready .ld-item-list-actions .ld-expand-button:focus-visible {
  background: var(--msc-blue) !important;
  color: #fff !important;
}

body.single-sfwd-courses .msc-module-navigation-ready .ld-item-list-actions .ld-expand-button .ld-text,
body.single-sfwd-courses .msc-module-navigation-ready .ld-item-list-actions .ld-expand-button .ld-icon {
  color: inherit !important;
}

body.single-sfwd-courses .msc-module-navigation-ready .ld-item-list-actions .ld-expand-button .ld-text {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  overflow: visible !important;
  white-space: nowrap !important;
}

body.single-sfwd-courses .msc-module-navigation-ready .ld-item-list-actions .ld-expand-button .ld-icon {
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border: 0 !important;
  border-right: 1.5px solid currentColor !important;
  border-bottom: 1.5px solid currentColor !important;
  background: transparent !important;
  transform: rotate(45deg);
}

body.single-sfwd-courses .msc-module-navigation-ready .ld-item-list-items {
  display: grid;
  gap: 10px;
  overflow-anchor: none;
}

body.single-sfwd-courses .msc-module-navigation-ready .ld-item-list-item.ld-item-lesson-item {
  overflow: hidden;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: #f6f7f8 !important;
  box-shadow: none !important;
}

body.single-sfwd-courses .msc-module-navigation-ready .ld-item-list-item.ld-item-lesson-item:hover,
body.single-sfwd-courses .msc-module-navigation-ready .ld-item-list-item.ld-item-lesson-item:focus-within,
body.single-sfwd-courses .msc-module-navigation-ready .ld-item-list-item.ld-item-lesson-item.ld-expanded {
  background: #f6f7f8 !important;
}

body.single-sfwd-courses .msc-module-navigation-ready .ld-item-list-item-preview {
  min-height: 62px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.msc-module-topic-row {
  display: grid;
  grid-template-columns: 22px minmax(0,1fr) auto 30px;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 58px;
  padding: 8px 14px;
  color: #4f5964;
}

.msc-module-topic-toggle {
  display: grid;
  width: 22px;
  height: 30px;
  margin: 0;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent !important;
  color: #8b959e;
  box-shadow: none !important;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.msc-module-topic-toggle span {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid #232c39 !important;
  transition: transform .18s ease,color .18s ease;
}

.msc-module-topic-toggle[aria-expanded="true"] span { transform: rotate(90deg); }
.msc-module-topic-toggle.is-empty { visibility: hidden; }
.msc-module-topic-toggle:hover,
.msc-module-topic-toggle:focus,
.msc-module-topic-toggle:focus-visible,
.msc-module-topic-toggle:active {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--msc-blue);
  box-shadow: none !important;
  outline: none !important;
  transform: none !important;
}

/* LearnDash's generic button states otherwise paint the disclosure icon blue. */
body.single-sfwd-courses .msc-module-navigation-ready button.msc-module-topic-toggle,
body.single-sfwd-courses .msc-module-navigation-ready button.msc-module-topic-toggle:hover,
body.single-sfwd-courses .msc-module-navigation-ready button.msc-module-topic-toggle:focus,
body.single-sfwd-courses .msc-module-navigation-ready button.msc-module-topic-toggle:focus-visible,
body.single-sfwd-courses .msc-module-navigation-ready button.msc-module-topic-toggle:active,
body.single-sfwd-courses .msc-module-navigation-ready button.msc-module-topic-toggle[aria-expanded="true"] {
  border: 0 !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

body.single-sfwd-courses .msc-module-navigation-ready button.msc-module-topic-toggle:active span,
body.single-sfwd-courses .msc-module-navigation-ready button.msc-module-topic-toggle[aria-expanded="true"] span {
  border-left-color: #232c39 !important;
}

body.single-sfwd-courses .msc-module-navigation-ready button.msc-module-topic-toggle:hover span,
body.single-sfwd-courses .msc-module-navigation-ready button.msc-module-topic-toggle:focus span,
body.single-sfwd-courses .msc-module-navigation-ready button.msc-module-topic-toggle:focus-visible span {
  border-left-color: var(--msc-blue) !important;
}

.msc-module-topic-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  color: var(--msc-text) !important;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.msc-module-topic-title.is-access-locked::after {
  flex: 0 0 auto;
  margin-left: 3px;
  color: #7d8995;
  content: '\1F512';
  font-size: 12px;
  line-height: 1;
}

.msc-module-access-notice {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(35,44,57,.42);
  backdrop-filter: blur(8px);
}

.msc-module-access-notice.is-visible { display: flex; }

.msc-module-access-notice__dialog {
  position: relative;
  width: min(100%, 460px);
  padding: 34px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(35,44,57,.24);
  color: #232c39;
  text-align: center;
}

.msc-module-access-notice__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent !important;
  color: #65717d !important;
  font-size: 26px;
  line-height: 1;
}

.msc-module-access-notice__close:hover,
.msc-module-access-notice__close:focus-visible { color: #ef3e46 !important; }
.msc-module-access-notice__icon { display: block; margin-bottom: 12px; font-size: 28px; }
.msc-module-access-notice__dialog h2 { margin: 0 0 12px; color: #232c39; font-size: 23px; }
.msc-module-access-notice__dialog p { margin: 0; color: #65717d; font-size: 16px; line-height: 1.55; }
.msc-module-access-notice__actions { margin-top: 24px; }
.msc-module-access-notice__enrol {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 6px;
  background: var(--msc-blue);
  color: #fff !important;
  font-weight: 600;
  text-decoration: none !important;
}

.msc-module-topic-row:hover .msc-module-topic-title,
.msc-module-topic-title:hover,
.msc-module-topic-title:focus-visible { color: var(--msc-blue) !important; background: transparent !important; outline: none; }
.msc-module-topic-count { color: #707a84; font-size: 14px; white-space: nowrap; }

.msc-module-nav-status {
  box-sizing: border-box;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 2px solid #9da8b2;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.msc-module-nav-status.is-complete { border-color: var(--msc-blue); background-color: var(--msc-blue); background-image: var(--msc-completion-check); background-position: center; background-size: 14px; background-repeat: no-repeat; color: transparent; font-size: 0; }
.msc-module-native-expand {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.msc-module-native-expand * { display: none !important; }

body.single-sfwd-courses .msc-module-navigation-ready .ld-item-list-item-expanded {
  margin: 0 !important;
  padding: 0 14px 10px 47px !important;
  border: 0 !important;
  background: transparent !important;
}
body.single-sfwd-courses .msc-module-navigation-ready .ld-item-list-item:not(.msc-is-expanded) > .ld-item-list-item-expanded {
  max-height: 0 !important;
  overflow: hidden !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  visibility: hidden !important;
}
body.single-sfwd-courses .msc-module-navigation-ready .ld-item-list-item.msc-is-expanded > .ld-item-list-item-expanded {
  overflow: hidden !important;
  visibility: visible !important;
}
body.single-sfwd-courses .msc-module-navigation-ready .ld-item-list-item-expanded::before,
body.single-sfwd-courses .msc-module-navigation-ready .ld-item-list-item-expanded::after { display: none !important; content: none !important; }
body.single-sfwd-courses .msc-module-navigation-ready .ld-table-list,
body.single-sfwd-courses .msc-module-navigation-ready .ld-table-list-items { margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; }
body.single-sfwd-courses .msc-module-navigation-ready .ld-table-list-header,
body.single-sfwd-courses .msc-module-navigation-ready .ld-table-list-footer { display: none !important; }
body.single-sfwd-courses .msc-module-navigation-ready .ld-table-list-item { width: 100% !important; margin: 0 !important; border: 0 !important; border-radius: 6px !important; background: #f6f7f8 !important; }
body.single-sfwd-courses .msc-module-navigation-ready .ld-table-list-item-preview {
  display: grid !important;
  grid-template-columns: 22px minmax(0,1fr) 24px;
  align-items: center;
  gap: 8px;
  min-height: 43px !important;
  padding: 6px 0 !important;
  border: 0 !important;
  border-radius: 7px;
  background: #f6f7f8 !important;
  color: #4d5965 !important;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none !important;
}
body.single-sfwd-courses .msc-module-navigation-ready .ld-table-list-item-preview:hover,
body.single-sfwd-courses .msc-module-navigation-ready .ld-table-list-item-preview:focus-visible {
  background: #e7edf1 !important;
  color: var(--msc-blue) !important;
  outline: none;
}
body.single-sfwd-courses .msc-module-navigation-ready .ld-topic-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.single-sfwd-courses .msc-module-navigation-ready .ld-table-list-item-preview > .ld-status-icon { box-sizing: border-box; display: grid; width: 22px !important; min-width: 22px !important; max-width: 22px !important; height: 22px !important; min-height: 22px !important; max-height: 22px !important; grid-column: 3; grid-row: 1; place-items: center; justify-self: center; border: 2px solid #cbd3da !important; border-radius: 50%; background: transparent !important; color: transparent !important; font-size: 12px; line-height: 1; }
body.single-sfwd-courses .msc-module-navigation-ready .ld-table-list-item-preview.learndash-complete > .ld-status-icon { border-color: var(--msc-blue) !important; background: var(--msc-blue) !important; color: #fff !important; }
body.single-sfwd-courses .msc-module-navigation-ready .ld-table-list-item-preview.learndash-complete > .ld-status-icon { background-color: var(--msc-blue) !important; background-image: var(--msc-completion-check) !important; background-position: center !important; background-size: 14px !important; background-repeat: no-repeat !important; }
body.single-sfwd-courses .msc-module-navigation-ready .ld-table-list-item-preview.learndash-complete > .ld-status-icon::before { content: none; }
body.single-sfwd-courses .msc-module-navigation-ready .ld-table-list-item-preview > .ld-status-icon > * { display: none !important; }
body.single-sfwd-courses .msc-module-navigation-ready .msc-session-type-icon { grid-column: 1; grid-row: 1; width: 19px; height: 19px; margin: 0; color: currentColor; }

body.single-sfwd-courses .msc-module-navigation-ready .ld-item-list-section-heading {
  margin: 20px 0 6px !important;
  padding: 0 4px !important;
  border: 0 !important;
  background: transparent !important;
}
body.single-sfwd-courses .msc-module-navigation-ready .ld-lesson-section-heading { color: var(--msc-text); font-size: 16px; font-weight: 600; letter-spacing: 0; text-transform: none; }

.msc-module-exercises-heading { margin: 26px 0 10px; color: var(--msc-text); font-size: 18px; font-weight: 600; }
.msc-module-exercise-icon { display: grid; flex: 0 0 25px; width: 25px; height: 25px; margin-right: 10px; place-items: center; border: 1.8px solid currentColor; border-radius: 50%; font-size: 14px; font-weight: 700; }
.msc-module-exercise { overflow: hidden; margin: 0 !important; border: 0 !important; border-radius: 6px !important; background: #f6f7f8 !important; }
.msc-module-exercise .ld-item-list-item-preview { min-height: 58px !important; padding: 0 !important; }
.msc-module-exercise-row { display: grid; width: 100%; min-height: 58px; grid-template-columns: 28px minmax(0,1fr) 30px; align-items: center; gap: 12px; padding: 8px 14px; color: var(--msc-text); }
.msc-module-exercise-title { min-width: 0; overflow: hidden; color: var(--msc-text) !important; font-size: 16px; font-weight: 400; text-decoration: none !important; text-overflow: ellipsis; white-space: nowrap; }
.msc-module-exercise-row:hover { background: #eef2f5; }
.msc-module-exercise-row:hover .msc-module-exercise-title { color: var(--msc-blue) !important; }

/* Resolve the older generic course-layout rules at the enhanced component boundary. */
body.single-sfwd-courses.msc-classroom-course-layouts #msc-module-details .msc-module-navigation-ready .ld-item-list-actions .ld-expand-button {
  display: inline-flex !important;
  width: auto !important;
  min-width: max-content !important;
  max-width: none !important;
  height: auto !important;
  min-height: 42px !important;
  padding: 10px 18px !important;
  border-radius: 999px !important;
  background: #f1f2f3 !important;
  color: var(--msc-text) !important;
  outline: 0 !important;
  box-shadow: none !important;
}
body.single-sfwd-courses.msc-classroom-course-layouts #msc-module-details .msc-module-navigation-ready .ld-item-list-actions .ld-expand-button:hover,
body.single-sfwd-courses.msc-classroom-course-layouts #msc-module-details .msc-module-navigation-ready .ld-item-list-actions .ld-expand-button:focus,
body.single-sfwd-courses.msc-classroom-course-layouts #msc-module-details .msc-module-navigation-ready .ld-item-list-actions .ld-expand-button:focus-visible,
body.single-sfwd-courses.msc-classroom-course-layouts #msc-module-details .msc-module-navigation-ready .ld-item-list-actions .ld-expand-button:active {
  background: var(--msc-blue) !important;
  color: #fff !important;
  border-color: transparent !important;
  outline: 0 !important;
  box-shadow: none !important;
}
body.single-sfwd-courses.msc-classroom-course-layouts #msc-module-details .msc-module-navigation-ready .ld-item-list-actions .ld-expand-button .ld-text {
  position: static !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: nowrap !important;
}
body.single-sfwd-courses.msc-classroom-course-layouts #msc-module-details .msc-module-navigation-ready .ld-item-list-item-expanded .ld-table-list-item-preview {
  grid-template-columns: 22px minmax(0,1fr) 30px !important;
  align-items: center !important;
  min-height: 43px !important;
  padding: 6px 0 !important;
  border-radius: 6px !important;
  background: #f6f7f8 !important;
}
body.single-sfwd-courses.msc-classroom-course-layouts #msc-module-details .msc-module-navigation-ready .ld-item-list-item-expanded .ld-table-list-item-preview:hover,
body.single-sfwd-courses.msc-classroom-course-layouts #msc-module-details .msc-module-navigation-ready .ld-item-list-item-expanded .ld-table-list-item-preview:focus,
body.single-sfwd-courses.msc-classroom-course-layouts #msc-module-details .msc-module-navigation-ready .ld-item-list-item-expanded .ld-table-list-item-preview:focus-visible {
  background: #f6f7f8 !important;
  outline: 0 !important;
  box-shadow: none !important;
}
body.single-sfwd-courses.msc-classroom-course-layouts #msc-module-details .msc-module-navigation-ready .ld-item-list-item-expanded .ld-topic-title,
body.single-sfwd-courses.msc-classroom-course-layouts #msc-module-details .msc-module-navigation-ready .ld-item-list-item-expanded .msc-session-type-icon {
  align-self: center !important;
}
body.single-sfwd-courses.msc-classroom-course-layouts #msc-module-details .msc-module-navigation-ready .ld-item-list-item-expanded .ld-topic-title {
  display: block !important;
  line-height: 1.25 !important;
}
body.single-sfwd-courses.msc-classroom-course-layouts #msc-module-details .msc-module-navigation-ready .ld-item-list-item-expanded .ld-status-icon {
  width: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  max-height: 18px !important;
  align-self: center !important;
  justify-self: center !important;
  transform: translateX(-1px) !important;
  background-size: 12px !important;
}

/* Focus Mode: current sessions are identified by blue content, not a filled row. */
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list .ld-table-list-item-preview.ld-is-current-item,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list .ld-table-list-item-preview[aria-current="page"],
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list .ld-table-list-item.ld-is-current-item > .ld-table-list-item-preview,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list .ld-table-list-item-preview:hover,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list .ld-table-list-item-preview:focus,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list .ld-table-list-item-preview:focus-visible {
  background: #f8fafc !important;
}

.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list .ld-status-icon.ld-status-incomplete,
.msc-classroom-focus-shell .learndash-wrapper .ld-focus-sidebar .ld-topic-list .learndash-incomplete .ld-status-icon {
  border-color: #cbd3da !important;
  background-color: transparent !important;
}

@media (max-width:1024px) {
  .msc-module-aside { margin-top: 0; }
  .msc-module-card { top: 24px; }
}

@media (max-width:640px) {
  .msc-module-topic-row { grid-template-columns: 20px minmax(0,1fr) 27px; gap: 8px; padding-right: 11px; padding-left: 11px; }
  .msc-module-topic-count { display: none; }
  body.single-sfwd-courses .msc-module-navigation-ready .ld-item-list-item-expanded { padding-left: 29px !important; }
}

@media (max-width: 720px) {
  .msc-module-hero { min-height: 440px; }
  .msc-module-hero__inner,
  .msc-module-layout { width: min(calc(100% - 36px),1200px); }
  .msc-module-hero__inner { padding: 54px 0 66px; }
  .msc-module-hero h1 { font-size: clamp(34px,10vw,44px) !important; }
  .msc-module-layout { padding-top: 26px; }
  body.single-sfwd-courses.msc-module-enhanced .learndash-wrapper .ld-course-status.ld-course-status-enrolled { grid-template-columns: auto 1fr; padding: 17px 18px; }
  body.single-sfwd-courses.msc-module-enhanced .learndash-wrapper .ld-course-status .ld-progress-steps { display: block; grid-column: 2; }
  body.single-sfwd-courses.msc-module-enhanced .learndash-wrapper .ld-course-status .ld-progress-bar { grid-column: 1/-1; grid-row: 2; }

  body.single-sfwd-courses.msc-classroom-course-layouts .entry-content-wrap {
    padding-right: 18px;
    padding-left: 18px;
  }

  body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-course-status.ld-course-status-enrolled {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-course-status .ld-progress-steps {
    display: none;
  }

  body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-tabs .ld-tabs-navigation {
    overflow-x: auto;
    gap: 0;
    padding: 0;
  }

  body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-tabs .ld-tabs-navigation .ld-tab {
    padding: 0 12px;
    font-size: 15px;
  }

  body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-tabs .ld-tabs-content {
    padding-right: 0;
    padding-left: 0;
  }

  body.single-sfwd-courses.msc-classroom-course-layouts .learndash-wrapper .ld-item-list .ld-item-components {
    display: none;
  }
}

@media (max-width: 720px) {
  body.single-sfwd-courses.msc-module-enhanced .entry-content-wrap {
    padding: 0 !important;
  }

  body.single-sfwd-courses.msc-module-enhanced .learndash-wrapper .ld-course-status.ld-course-status-enrolled {
    grid-template-columns: auto 1fr;
    gap: 10px 14px;
    padding: 17px 18px;
  }

  body.single-sfwd-courses.msc-module-enhanced .learndash-wrapper .ld-course-status .ld-progress-steps {
    display: block;
    grid-column: 2;
    grid-row: 1;
  }

  body.single-sfwd-courses.msc-module-enhanced .learndash-wrapper .ld-course-status .ld-progress-bar {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

/* Theme-neutral GamiPress baseline; BuddyBoss-only selectors are deliberately omitted. */
.msc-classroom-gamipress .gamipress-achievement:not(.gamipress-layout-none),
.msc-classroom-gamipress .gamipress-rank:not(.gamipress-layout-none) {
  padding: 20px;
  border: 1px solid var(--msc-line);
  border-radius: 18px;
  background: var(--msc-surface);
  box-shadow: 0 10px 30px rgba(35, 44, 57, .06);
}

.msc-classroom-gamipress .gamipress-achievement.user-has-not-earned .gamipress-achievement-image {
  filter: grayscale(1);
  opacity: .46;
}

.msc-classroom-gamipress .gamipress-achievement.user-has-earned .gamipress-achievement-image {
  filter: none;
  opacity: 1;
}

/* Migrated BuddyBoss GamiPress presentation, expressed without BB variables or icon fonts. */
.msc-classroom-gamipress .gamipress-achievement:not(.gamipress-layout-none),
.msc-classroom-gamipress .gamipress-rank:not(.gamipress-layout-none),
.msc-classroom-gamipress .single-achievement.achievement-wrap:not(.gamipress-layout-none),
.msc-classroom-gamipress .single-rank.rank-wrap:not(.gamipress-layout-none),
.msc-classroom-gamipress .gamipress-user-points:not(.gamipress-layout-none) {
  align-items: center;
  flex-wrap: nowrap;
  transition: box-shadow .18s ease, border-color .18s ease;
}

.msc-classroom-gamipress .gamipress-achievement:not(.gamipress-layout-none):hover,
.msc-classroom-gamipress .gamipress-rank:not(.gamipress-layout-none):hover {
  z-index: 1;
  border-color: #d5e2eb;
  box-shadow: 0 4px 32px rgb(18 43 70 / 10%);
}

.msc-classroom-gamipress .gamipress-achievement-title,
.msc-classroom-gamipress .gamipress-achievement p {
  color: var(--msc-text);
  font-weight: 700;
  letter-spacing: .6px;
}

.msc-classroom-gamipress .gamipress-achievement p {
  font-size: 20px;
}

.msc-classroom-gamipress .gamipress-achievement-excerpt,
.msc-classroom-gamipress .gamipress-achievement-excerpt p,
.msc-classroom-gamipress .gamipress-progress-map .gamipress-achievement-excerpt {
  color: var(--msc-muted);
  font-size: 17px;
  font-weight: inherit;
  letter-spacing: inherit;
}

.msc-classroom-gamipress .gamipress-achievement-description .gamipress-achievement-title {
  display: block;
  width: 90%;
  margin-bottom: 0 !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.msc-classroom-gamipress .gamipress-achievement-description .gamipress-achievement-title + .gamipress-achievement-excerpt {
  margin-top: 0;
}

.msc-classroom-gamipress .gamipress-achievement:not(.gamipress-layout-none) *,
.msc-classroom-gamipress .gamipress-rank:not(.gamipress-layout-none) *,
.msc-classroom-gamipress .single-achievement.achievement-wrap:not(.gamipress-layout-none) *,
.msc-classroom-gamipress .single-rank.rank-wrap:not(.gamipress-layout-none) *,
.msc-classroom-gamipress .gamipress-user-points:not(.gamipress-layout-none) *,
.msc-classroom-gamipress .gamipress-points-types:not(.gamipress-layout-none) * {
  margin-bottom: 0;
}

.msc-classroom-gamipress .gamipress-achievement.user-has-not-earned .gamipress-achievement-image,
.msc-classroom-gamipress .user-has-not-earned .achievement-wrap .gamipress-achievement-image {
  filter: none;
  opacity: .2;
  transition: opacity .18s ease;
}

.msc-classroom-gamipress .gamipress-achievement.user-has-not-earned .gamipress-achievement-image:hover,
.msc-classroom-gamipress .user-has-not-earned .achievement-wrap .gamipress-achievement-image:hover {
  opacity: 1;
}

.msc-classroom-gamipress .gamipress-achievement-description ul.gamipress-required-achievements,
.msc-classroom-gamipress ol.gamipress-achievement-steps.gamipress-required-achievements {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}

.msc-classroom-gamipress .gamipress-achievement-description ul.gamipress-required-achievements li,
.msc-classroom-gamipress ol.gamipress-achievement-steps.gamipress-required-achievements li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--msc-text);
  font-size: 17px;
  font-weight: 400;
}

.msc-classroom-gamipress .gamipress-achievement-description ul.gamipress-required-achievements li::before,
.msc-classroom-gamipress ol.gamipress-achievement-steps.gamipress-required-achievements li::before {
  display: inline-grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  margin-top: 0;
  border: 2px solid #cbd3da;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  content: '✓';
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.msc-classroom-gamipress .gamipress-achievement-description ul.gamipress-required-achievements li.user-has-earned::before,
.msc-classroom-gamipress ol.gamipress-achievement-steps.gamipress-required-achievements li.user-has-earned::before {
  border-color: var(--msc-green) !important;
  background: #fff !important;
  background-image: var(--msc-green-line-check) !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 14px !important;
  color: var(--msc-green) !important;
  content: '' !important;
  font-family: inherit !important;
  font-size: 12px;
}

.msc-classroom-gamipress .gamipress-achievement-image { align-self: center; }

.msc-classroom-gamipress .gamipress-achievement-description ul.gamipress-required-achievements li.user-has-not-earned,
.msc-classroom-gamipress ol.gamipress-achievement-steps.gamipress-required-achievements li.user-has-not-earned {
  opacity: .28;
}

.msc-classroom-gamipress .gamipress-required-achievements .user-has-earned,
.msc-classroom-gamipress .gamipress-required-requirements .user-has-earned {
  text-decoration: none;
}

.msc-classroom-gamipress .gamipress-achievement.gamipress-layout-left .gamipress-achievement-image,
.msc-classroom-gamipress .gamipress-achievement.gamipress-layout-right .gamipress-achievement-image,
.msc-classroom-gamipress .gamipress-rank.gamipress-layout-left .gamipress-rank-image,
.msc-classroom-gamipress .gamipress-rank.gamipress-layout-right .gamipress-rank-image {
  width: auto;
  padding-top: 0;
  text-align: center;
}

.msc-classroom-gamipress .gamipress-achievement.gamipress-layout-left .gamipress-achievement-description,
.msc-classroom-gamipress .gamipress-achievement.gamipress-layout-right .gamipress-achievement-description,
.msc-classroom-gamipress .gamipress-rank.gamipress-layout-left .gamipress-rank-description,
.msc-classroom-gamipress .gamipress-rank.gamipress-layout-right .gamipress-rank-description {
  width: 80%;
}

.msc-classroom-gamipress .gamipress-achievement-attached {
  margin-bottom: 0;
  border-bottom: 0;
}

.msc-classroom-gamipress .gamipress-congratulations-popup {
  padding: 1em 1.5em;
  border-radius: 10px;
}

.msc-classroom-gamipress .gamipress-congratulations-popup-close {
  margin-top: 0;
  margin-right: 0;
  color: var(--msc-red);
  font-size: 50px;
  font-weight: 200;
}

.msc-classroom-gamipress .gamipress-congratulations-popups-overlay {
  background: rgb(0 0 0 / 10%);
  backdrop-filter: blur(12px);
}

.msc-classroom-gamipress:not(.has-sidebar) .gamipress-achievements-list .gamipress-achievements-container.gamipress-columns-1,
.msc-classroom-gamipress [class*="gamipress-columns"] > .gamipress-achievement {
  width: 100% !important;
}

.msc-classroom-gamipress .gamipress-achievements-list #gamipress-achievements-container[class*="gamipress-columns"] > .gamipress-achievement {
  margin-right: 0;
  margin-left: 0;
}

.msc-classroom-gamipress .gamipress-progress-image,
.msc-classroom-gamipress .gamipress-progress-bar {
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfe8ef;
}

.msc-classroom-gamipress .gamipress-progress-bar .gamipress-progress-bar-completed {
  min-height: inherit;
  border-radius: 999px 0 0 999px;
  background: var(--msc-blue);
}

.msc-classroom-gamipress .gamipress-progress-text {
  color: var(--msc-blue);
  font-size: .8rem;
  letter-spacing: .61px;
  text-transform: uppercase;
}

/* Classroom dashboard achievement roadmap. This replaces the legacy
   BuddyBoss child-theme progress-map rules without relying on bb-icons. */
.msc-classroom-gamipress table:has(td#demo-roadmap) {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden;
}

.msc-classroom-gamipress table:has(td#demo-roadmap) > tbody,
.msc-classroom-gamipress table:has(td#demo-roadmap) > tbody > tr,
.msc-classroom-gamipress td#demo-roadmap {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden;
}

.msc-classroom-gamipress td#demo-roadmap > .gamipress-progress-map {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden;
}

.msc-classroom-gamipress .gamipress-progress-map-horizontal {
  display: flex !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  gap: 16px;
  padding: 18px 16px 26px;
  border: 1px solid var(--msc-line);
  border-radius: 10px;
  background: #fff;
}

.msc-classroom-gamipress .gamipress-progress-map-horizontal.dragscroll {
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
}

.msc-classroom-gamipress .gamipress-progress-map-horizontal.dragscroll:active {
  cursor: grabbing;
}

.msc-classroom-gamipress .gamipress-progress-map-horizontal.dragscroll::-webkit-scrollbar {
  display: none;
}

.msc-classroom-gamipress .roadmap-heading {
  position: relative;
  z-index: 2;
  margin-bottom: 8px !important;
}

.msc-classroom-gamipress .gamipress-progress-map-mark-label {
  display: none;
}

.msc-classroom-gamipress .gamipress-progress-map-mark::before {
  display: block;
  flex: 0 0 33px;
  width: 33px !important;
  min-width: 33px;
  height: 33px !important;
  min-height: 33px;
  background: none;
  color: transparent;
  content: '';
  font-family: inherit;
}

.msc-classroom-gamipress .gamipress-progress-map-completed .gamipress-progress-map-mark::before {
  background-image: var(--msc-green-line-check);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 19px;
}

.msc-classroom-gamipress .gamipress-progress-map-item .gamipress-progress-map-mark {
  display: grid;
  width: 35px;
  height: 35px;
  box-sizing: border-box;
  place-items: center;
  border: 1px solid var(--msc-line);
  border-radius: 50%;
  background: #fff !important;
  box-shadow: 0 0 0 4px #fff;
}

.msc-classroom-gamipress .gamipress-progress-map-completed .gamipress-progress-map-mark {
  border-color: var(--msc-green);
}

/* The logged-out dashboard is a visual preview of the learning journey, so
   show the finished marker treatment without changing any earned state. */
body.msc-classroom-gamipress:not(.logged-in) .gamipress-progress-map-item .gamipress-progress-map-mark {
  border-color: var(--msc-green);
}

body.msc-classroom-gamipress:not(.logged-in) .gamipress-progress-map-item .gamipress-progress-map-mark::before {
  background-image: var(--msc-green-line-check);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 19px;
}

body.msc-classroom-gamipress:not(.logged-in) .gamipress-progress-map .gamipress-achievement.user-has-not-earned .gamipress-achievement-image,
body.msc-classroom-gamipress:not(.logged-in) .gamipress-progress-map .user-has-not-earned .achievement-wrap .gamipress-achievement-image {
  filter: none !important;
  opacity: 1 !important;
}

.msc-classroom-gamipress .gamipress-progress-map-horizontal .gamipress-progress-map-bar,
.msc-classroom-gamipress .gamipress-progress-map-horizontal .gamipress-progress-map-completed-bar {
  height: 3px;
  border-radius: 999px;
}

.msc-classroom-gamipress .gamipress-progress-map-horizontal .gamipress-progress-map-bar {
  background: #dfe8ef;
}

.msc-classroom-gamipress .gamipress-progress-map-horizontal .gamipress-progress-map-completed-bar {
  background: var(--msc-green);
}

.msc-classroom-gamipress .gamipress-progress-map-horizontal .gamipress-progress-map-item {
  flex: 0 0 250px;
  width: 250px;
  min-width: 250px;
}

.msc-classroom-gamipress .gamipress-progress-map-horizontal.gamipress-progress-map-bottom .gamipress-progress-map-item {
  align-items: flex-end;
  padding-bottom: 0;
}

.msc-classroom-gamipress .gamipress-progress-map-horizontal.gamipress-progress-map-bottom .gamipress-progress-map-item .gamipress-progress-map-item-content {
  width: 100%;
}

.msc-classroom-gamipress .gamipress-progress-map-horizontal.gamipress-progress-map-bottom .gamipress-progress-map-item .gamipress-progress-map-mark {
  left: 110px;
  margin-bottom: 0;
}

.msc-classroom-gamipress .gamipress-progress-map-horizontal.gamipress-progress-map-bottom .gamipress-progress-map-bar,
.msc-classroom-gamipress .gamipress-progress-map-horizontal.gamipress-progress-map-bottom .gamipress-progress-map-completed-bar {
  bottom: 120px;
  left: 160px;
  display: flex;
}

.msc-classroom-gamipress .gamipress-progress-map-item .gamipress-achievement {
  position: relative;
  display: flex;
  min-height: 180px;
  align-content: flex-start;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 10px;
  border: 1px solid var(--msc-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
}

.msc-classroom-gamipress .gamipress-progress-map-item .gamipress-achievement:hover {
  border-color: var(--msc-line);
  box-shadow: none;
}

.msc-classroom-gamipress .gamipress-progress-map-item-content .gamipress-achievement-image {
  width: 100%;
  max-height: 55px;
  margin: 0 auto 8px;
  text-align: center;
}

.msc-classroom-gamipress .gamipress-progress-map-item-content .gamipress-achievement-image img {
  width: auto;
  max-width: 70px;
  max-height: 55px;
  margin: 0 auto;
}

.msc-classroom-gamipress .gamipress-progress-map-item-content .gamipress-achievement-description {
  width: 100%;
  text-align: center;
}

.msc-classroom-gamipress .gamipress-progress-map-item-content .gamipress-achievement-attached {
  position: absolute;
  top: 65px;
  right: 15px;
  left: 15px;
  text-align: center;
}

.msc-classroom-gamipress .gamipress-progress-map-item-content .user-has-not-earned .gamipress-achievement-attached,
.msc-classroom-gamipress .gamipress-progress-map-item-content .user-has-earned .gamipress-achievement-excerpt {
  visibility: hidden;
}

.msc-classroom-gamipress .gamipress-progress-map-item-content .gamipress-achievement-description ul.gamipress-required-achievements li::before {
  display: none;
}

.msc-classroom-gamipress .gamipress-progress-map-item-content .gamipress-achievement-title,
.msc-classroom-gamipress .gamipress-progress-map-item-content .gamipress-achievement-excerpt {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.msc-classroom-gamipress .gamipress-progress-map-item-content .gamipress-achievement-excerpt,
.msc-classroom-gamipress .gamipress-progress-map-item-content .gamipress-achievement-excerpt p {
  margin: 0;
  color: var(--msc-text);
  font-size: 16px;
  line-height: 1.45;
  text-align: center;
}

@media (max-width: 767px) {
  .msc-classroom-gamipress .gamipress-progress-map-horizontal .gamipress-progress-map-item {
    flex-basis: 220px;
    width: 220px;
    min-width: 220px;
  }
}

@media (max-width: 767px) {
  .msc-classroom-focus-shell.ld-in-focus-mode .learndash-wrapper .ld-focus {
    --msc-focus-sidebar: min(340px, 88vw);
    --msc-focus-header: 64px;
  }

  .msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header {
    display: flex;
    min-height: 60px;
    align-items: center;
    padding: 0 8px;
  }

  .msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header .ld-mobile-nav {
    position: static;
    display: flex;
    flex: 0 0 42px;
    order: 1;
    width: 42px;
    height: 42px;
    margin: 0 7px 0 0;
    align-items: center;
    justify-content: center;
  }

  .msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header .ld-trigger-mobile-nav {
    position: relative;
    display: flex !important;
    flex: 0 0 40px !important;
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    border: 0 !important;
    border-radius: 50%;
    background: #edf5fa !important;
    color: #52687b;
    box-shadow: none !important;
    cursor: pointer;
    touch-action: manipulation;
  }

  .msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header .ld-trigger-mobile-nav:hover,
  .msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header .ld-trigger-mobile-nav:focus-visible,
  .msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header .ld-trigger-mobile-nav[aria-expanded="true"] {
    background: #e7f5ff !important;
    color: var(--msc-blue);
    outline: none;
  }

  .msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header .ld-trigger-mobile-nav span {
    position: static;
    display: block;
    width: 18px;
    min-width: 18px;
    max-width: 18px;
    flex: 0 0 2px;
    height: 2px;
    margin: 0;
    border: 0;
    border-radius: 2px;
    background: currentColor;
    opacity: 1;
    transform: none;
    transition: transform .18s ease, opacity .18s ease;
  }

  .msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header .ld-trigger-mobile-nav[aria-expanded="true"] .bar-1 {
    transform: translateY(6px) rotate(45deg);
  }

  .msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header .ld-trigger-mobile-nav[aria-expanded="true"] .bar-2 {
    opacity: 0;
  }

  .msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header .ld-trigger-mobile-nav[aria-expanded="true"] .bar-3 {
    transform: translateY(-6px) rotate(-45deg);
  }

  .msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header .ld-brand-logo {
    display: flex;
    flex: 0 1 150px;
    order: 2;
    width: auto;
    min-width: 0;
    height: 60px;
    justify-content: flex-start;
    padding: 7px 4px;
    border-right: 0;
  }

  .msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header .ld-brand-logo img {
    width: auto !important;
    max-width: 126px !important;
    height: auto !important;
    max-height: 44px !important;
    border-radius: 0 !important;
    object-position: left center;
  }

  .msc-classroom-focus-shell .ld-brand-logo .msc-focus-brand span,
  .msc-focus-tools,
  .msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header .ld-content-actions {
    display: none !important;
  }

  .msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu {
    display: flex;
    flex: 0 0 auto;
    order: 4;
    width: auto;
    min-width: 96px;
    gap: 8px;
    margin-left: auto;
    padding: 0 4px 0 8px;
  }

  .msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu .ld-text {
    display: block;
    max-width: 92px;
    font-size: 12px;
  }

  .msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu .ld-profile-avatar,
  .msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu .ld-profile-avatar img {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    object-fit: cover;
  }

  .msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-header .ld-progress {
    max-width: none;
    padding: 0 8px;
  }

  .msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-main {
    margin-left: 0;
  }

  .msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-main .ld-focus-content {
    max-width: none;
    padding: 18px 16px 40px;
  }

  .msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-sidebar {
    top: 61px !important;
    bottom: 0 !important;
    height: auto !important;
  }

  .admin-bar.msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-sidebar {
    top: 107px !important;
  }

  .msc-classroom-focus-shell .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-focus-sidebar-wrapper {
    height: 100% !important;
  }
}
