body.lms-shell {
  --lms-bg: #f3f5ef;
  --lms-bg-2: #e8f0ed;
  --lms-surface: #ffffff;
  --lms-surface-2: #f6f8f3;
  --lms-text: #17231f;
  --lms-muted: #65736e;
  --lms-border: rgba(23, 35, 31, 0.13);
  --lms-primary: #00796f;
  --lms-primary-2: #009b84;
  --lms-accent: #ef6a4c;
  --lms-highlight: #e7a927;
  --lms-success: #2f8a58;
  --lms-danger: #c64b3d;
  --lms-ink: #11201b;
  --lms-shadow: 0 22px 56px rgba(28, 43, 37, 0.13);
  --lms-shadow-soft: 0 8px 24px rgba(28, 43, 37, 0.08);
  --lms-radius: 8px;
  --lms-radius-sm: 6px;
  font-family: 'Golos Text', 'Segoe UI', sans-serif;
  background:
    linear-gradient(125deg, rgba(0, 121, 111, 0.1), transparent 38%),
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(23, 35, 31, 0.025) 79px 80px),
    linear-gradient(180deg, var(--lms-bg), var(--lms-bg-2));
  color: var(--lms-text);
}

body.lms-shell h1,
body.lms-shell h2,
body.lms-shell h3,
body.lms-shell .brand-name,
body.lms-shell button,
body.lms-shell .btn {
  font-family: 'Manrope', 'Golos Text', sans-serif;
  letter-spacing: 0;
}

body.lms-shell[data-lms-theme='dark'] {
  --lms-bg: #111916;
  --lms-bg-2: #17211d;
  --lms-surface: #1c2924;
  --lms-surface-2: #17231f;
  --lms-text: #edf5ef;
  --lms-muted: #a8b8b1;
  --lms-border: rgba(237, 245, 239, 0.14);
  --lms-primary: #70d6c2;
  --lms-primary-2: #42bfa7;
  --lms-accent: #ff9479;
  --lms-highlight: #f0bd52;
  --lms-success: #8bd6a6;
  --lms-danger: #ff8a75;
  --lms-ink: #f6fbf8;
  --lms-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
  --lms-shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.25);
}

body.lms-shell .site-header {
  background: color-mix(in srgb, var(--lms-surface) 88%, transparent);
  border-bottom: 1px solid var(--lms-border);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18);
  z-index: 1200;
}

body.lms-shell .header-content {
  min-height: 72px;
  gap: 1rem;
  padding: 0.5rem 0;
}

body.lms-shell .brand-link {
  gap: 0.65rem;
  font-weight: 800;
}

body.lms-shell .brand-logo {
  height: 46px;
}

body.lms-shell .brand-dot {
  color: var(--lms-accent);
}

body.lms-shell .main-nav {
  gap: 0.6rem;
}

body.lms-shell .main-nav .btn,
body.lms-shell .main-nav .lms-theme-toggle {
  min-height: 40px;
}

body.lms-shell .site-footer {
  background: color-mix(in srgb, var(--lms-surface) 94%, transparent);
  border-top-color: var(--lms-border);
}

body.lms-shell .brand-link,
body.lms-shell .nav-greeting,
body.lms-shell .course-card h2,
body.lms-shell .course-overview-header h1,
body.lms-shell .resource-name,
body.lms-shell .course-group-progress-text p {
  color: var(--lms-text);
}

body.lms-shell .brand-dot,
body.lms-shell .btn-link,
body.lms-shell .course-category {
  color: var(--lms-primary);
}

body.lms-shell .btn,
body.lms-shell .course-header-btn,
body.lms-shell .section-view-btn,
body.lms-shell .lms-theme-toggle,
body.lms-shell button {
  border-radius: var(--lms-radius);
}

body.lms-shell .btn-primary,
body.lms-shell .btn-gradient,
body.lms-shell .course-header-btn-accent,
body.lms-shell .course-header-btn-primary {
  background: linear-gradient(135deg, var(--lms-primary), var(--lms-primary-2));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 26px rgba(0, 109, 119, 0.22);
}

body.lms-shell .btn-primary:hover,
body.lms-shell .btn-gradient:hover,
body.lms-shell .course-header-btn-accent:hover,
body.lms-shell .course-header-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 109, 119, 0.28);
  color: #fff;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 0.75rem;
  z-index: 12000;
  padding: 0.7rem 1rem;
  border-radius: var(--lms-radius-sm);
  background: var(--lms-ink);
  color: #fff;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.lms-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--lms-border);
  background: var(--lms-surface);
  color: var(--lms-text);
  cursor: pointer;
}

.lms-nav-toggle span,
.lms-nav-toggle span::before,
.lms-nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.lms-nav-toggle span {
  position: relative;
}

.lms-nav-toggle span::before,
.lms-nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
}

.lms-nav-toggle span::before {
  top: -6px;
}

.lms-nav-toggle span::after {
  top: 6px;
}

.lms-nav-toggle[aria-expanded='true'] span {
  background: transparent;
}

.lms-nav-toggle[aria-expanded='true'] span::before {
  top: 0;
  transform: rotate(45deg);
}

.lms-nav-toggle[aria-expanded='true'] span::after {
  top: 0;
  transform: rotate(-45deg);
}

body.lms-shell .btn-secondary,
body.lms-shell .btn-outline,
body.lms-shell .course-header-btn {
  background: var(--lms-surface);
  border: 1px solid var(--lms-border);
  color: var(--lms-text);
  box-shadow: none;
}

body.lms-shell .btn-secondary:hover,
body.lms-shell .btn-outline:hover,
body.lms-shell .course-header-btn:hover {
  border-color: color-mix(in srgb, var(--lms-primary) 48%, var(--lms-border));
  color: var(--lms-primary);
  background: color-mix(in srgb, var(--lms-primary) 9%, var(--lms-surface));
}

.lms-theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid var(--lms-border);
  background: var(--lms-surface);
  color: var(--lms-text);
  padding: 0.48rem 0.72rem;
  min-height: 38px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--lms-shadow-soft);
}

.lms-theme-toggle__icon {
  width: 28px;
  height: 18px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--lms-primary) 14%, var(--lms-surface-2));
  border: 1px solid var(--lms-border);
  position: relative;
}

.lms-theme-toggle__icon::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  top: 2px;
  left: 3px;
  border-radius: 50%;
  background: var(--lms-accent);
  box-shadow: 0 0 0 3px rgba(238, 155, 0, 0.15);
  transition: transform 0.22s ease, background 0.22s ease;
}

body.lms-shell[data-lms-theme='dark'] .lms-theme-toggle__icon::after {
  transform: translateX(9px);
  background: var(--lms-primary);
  box-shadow: 0 0 0 3px rgba(116, 215, 213, 0.12);
}

body.lms-shell .container {
  width: min(1240px, 94vw);
}

body.lms-shell .course-selection,
body.lms-shell .course-overview,
body.lms-shell .course-messages,
body.lms-shell .login-screen {
  position: relative;
}

body.lms-shell .course-selection-header,
body.lms-shell .course-messages-header {
  max-width: 820px;
  padding: 1.2rem 0 0.3rem;
}

body.lms-shell .course-selection-header {
  width: min(100%, 980px);
}

.lms-page-kicker {
  display: inline-flex;
  margin-bottom: 0.55rem;
  color: var(--lms-primary);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.course-selection-title-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.course-selection-count {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.3rem 0.65rem;
  border: 1px solid color-mix(in srgb, var(--lms-accent) 35%, var(--lms-border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--lms-accent) 10%, var(--lms-surface));
  color: color-mix(in srgb, var(--lms-accent) 78%, var(--lms-text));
  font-size: 0.82rem;
  font-weight: 800;
}

body.lms-shell .course-selection-header h1,
body.lms-shell .course-messages-header h1 {
  margin: 0 0 0.5rem;
  font-size: 2.7rem;
  line-height: 1.05;
  letter-spacing: 0;
  color: var(--lms-text);
}

body.lms-shell .course-selection-header p,
body.lms-shell .course-messages-header p,
body.lms-shell .muted,
body.lms-shell .course-description,
body.lms-shell .course-role,
body.lms-shell .resource-meta,
body.lms-shell .course-group-progress-text small,
body.lms-shell .footer-content {
  color: var(--lms-muted);
}

body.lms-shell .course-grid {
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1rem;
}

body.lms-shell .course-card {
  border-radius: var(--lms-radius);
  padding: 0;
  overflow: hidden;
  background: var(--lms-surface);
  border: 1px solid var(--lms-border);
  box-shadow: var(--lms-shadow-soft);
  gap: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

body.lms-shell .course-card::before {
  display: none;
}

body.lms-shell .course-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--lms-shadow);
  border-color: color-mix(in srgb, var(--lms-primary) 44%, var(--lms-border));
}

.lms-course-card-cover,
.lms-course-hero__media,
.welcome-card__media,
.demo-similar-card__cover {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 109, 119, 0.88), rgba(47, 143, 91, 0.76)),
    linear-gradient(45deg, #14342f, #223d35);
  color: #fff;
}

.lms-course-card-cover {
  min-height: 176px;
  aspect-ratio: 16 / 7;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.lms-course-card-cover img,
.lms-course-hero__media img,
.welcome-card__media img,
.demo-similar-card__cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.01);
}

.lms-course-card-cover img {
  object-position: center top;
}

.lms-course-card-cover::after,
.lms-course-hero__media::after,
.welcome-card__media::after,
.demo-similar-card__cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 15, 12, 0.05), rgba(8, 15, 12, 0.62));
}

.lms-course-card-cover.is-placeholder::after,
.lms-course-hero__media.is-placeholder::after,
.welcome-card__media.is-placeholder::after,
.demo-similar-card__cover.is-placeholder::after {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 46%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 12px);
}

.lms-course-card-cover span,
.welcome-card__media span,
.demo-similar-card__cover span {
  position: relative;
  z-index: 1;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.42);
}

body.lms-shell .course-card-main,
body.lms-shell .course-card-groups {
  padding: 1rem 1.1rem;
}

body.lms-shell .course-card-groups {
  display: grid;
  gap: 0.65rem;
  border-top-color: var(--lms-border);
}

.lms-course-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  color: var(--lms-primary);
  font-family: 'Manrope', 'Golos Text', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
}

.lms-course-card-action span {
  font-size: 1.15rem;
  transition: transform 0.2s ease;
}

body.lms-shell .course-card:hover .lms-course-card-action span {
  transform: translateX(3px);
}

body.lms-shell .course-card-main {
  gap: 0.85rem;
}

body.lms-shell .course-card h2 {
  font-size: 1.2rem;
  line-height: 1.25;
}

body.lms-shell .course-card-progress {
  background: var(--lms-surface-2);
  border-color: var(--lms-border);
  border-radius: var(--lms-radius);
  padding: 0.75rem;
}

body.lms-shell .course-group-badge,
body.lms-shell .course-type,
body.lms-shell .course-header-meta-pill,
body.lms-shell .group-switch-pill,
body.lms-shell .test-status-pill,
body.lms-shell .section-type-badge {
  border-radius: 999px;
}

body.lms-shell .course-type-main {
  background: rgba(47, 143, 91, 0.12);
  color: var(--lms-success);
  border-color: rgba(47, 143, 91, 0.22);
}

body.lms-shell .course-type-demo {
  background: rgba(238, 155, 0, 0.12);
  color: color-mix(in srgb, var(--lms-accent) 86%, var(--lms-text));
  border-color: rgba(238, 155, 0, 0.28);
}

body.lms-shell .course-overview {
  gap: 1.4rem;
  padding-top: 1.5rem;
}

.lms-course-hero {
  display: grid;
  grid-template-columns: minmax(280px, 38%) 1fr;
  min-height: 360px;
  border-radius: var(--lms-radius);
  overflow: hidden;
  border: 1px solid var(--lms-border);
  background: var(--lms-surface);
  box-shadow: var(--lms-shadow);
}

.lms-course-hero__media {
  min-height: 360px;
}

.lms-course-hero__media-label {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  z-index: 1;
  display: inline-flex;
  padding: 0.4rem 0.62rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.lms-course-hero__content {
  padding: clamp(1.2rem, 3vw, 2.2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

body.lms-shell .course-header-top {
  gap: 0.75rem;
}

body.lms-shell .course-overview-header h1 {
  font-size: 3rem;
  line-height: 1.06;
  max-width: 820px;
  letter-spacing: 0;
}

body.lms-shell .course-header-card {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 280px);
  gap: 1rem;
  background: var(--lms-surface-2);
  border-color: var(--lms-border);
  border-radius: var(--lms-radius);
  padding: 1rem;
  box-shadow: none;
}

body.lms-shell .course-header-card-right {
  min-width: 0;
}

body.lms-shell .course-group-eyebrow {
  color: var(--lms-muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

body.lms-shell .course-header-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.55rem;
}

body.lms-shell .course-header-meta-pill {
  align-items: center;
  gap: 0.55rem;
  padding: 0.58rem 0.7rem;
  background: var(--lms-surface);
  border: 1px solid var(--lms-border);
  color: var(--lms-text);
}

body.lms-shell .course-header-meta-pill::before {
  display: none;
}

body.lms-shell .course-header-meta-pill strong {
  display: block;
  margin-bottom: 0.1rem;
  color: var(--lms-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

body.lms-shell .course-header-meta-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--lms-primary) 14%, var(--lms-surface));
  color: var(--lms-primary);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

body.lms-shell .course-group-switch-note {
  margin: 0;
  max-width: 760px;
  color: var(--lms-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

body.lms-shell .course-group-progress,
body.lms-shell .course-overview-description,
body.lms-shell .course-diagram,
body.lms-shell .demo-price-column,
body.lms-shell .message-form-wrapper,
body.lms-shell .message-thread {
  background: var(--lms-surface);
  border: 1px solid var(--lms-border);
  border-radius: var(--lms-radius);
  box-shadow: var(--lms-shadow-soft);
}

body.lms-shell .course-group-progress {
  background: var(--lms-surface);
}

body.lms-shell .course-group-progress-ring::after,
body.lms-shell .course-card-progress-ring::after,
body.lms-shell .course-card-progress-ring::before {
  background: var(--lms-surface);
}

body.lms-shell .course-header-btns {
  gap: 0.55rem;
}

body.lms-shell .course-header-btn {
  padding: 0.55rem 0.85rem;
}

body.lms-shell .course-overview-description {
  padding: 1.15rem 1.25rem;
}

body.lms-shell .course-demo-note {
  background: color-mix(in srgb, var(--lms-accent) 14%, var(--lms-surface));
  border-color: color-mix(in srgb, var(--lms-accent) 34%, var(--lms-border));
  color: var(--lms-text);
  border-radius: var(--lms-radius);
}

body.lms-shell .course-demo-note strong {
  color: color-mix(in srgb, var(--lms-accent) 70%, var(--lms-text));
}

.course-sections-head,
.demo-similar-courses__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.lms-section-kicker {
  display: inline-flex;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lms-primary);
}

body.lms-shell .course-sections h2,
body.lms-shell .demo-similar-courses h2 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: 0;
  color: var(--lms-text);
}

.section-view-controls {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.25rem;
  border: 1px solid var(--lms-border);
  background: var(--lms-surface);
  border-radius: var(--lms-radius);
  box-shadow: var(--lms-shadow-soft);
}

.section-view-btn {
  border: none;
  background: transparent;
  color: var(--lms-muted);
  padding: 0.5rem 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.section-view-btn.is-active {
  background: var(--lms-primary);
  color: #fff;
}

body.lms-shell .section-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

body.lms-shell .section-card {
  padding: 0;
  border-radius: var(--lms-radius);
  background: var(--lms-surface);
  border: 1px solid var(--lms-border);
  box-shadow: var(--lms-shadow-soft);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body.lms-shell .section-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--lms-shadow);
}

body.lms-shell .section-card.is-expanded {
  border-color: color-mix(in srgb, var(--lms-primary) 42%, var(--lms-border));
}

body.lms-shell .section-card-demo-video {
  border-color: color-mix(in srgb, var(--lms-primary-2) 46%, var(--lms-border));
  box-shadow: 0 10px 28px rgba(0, 109, 119, 0.12);
}

.section-card-summary {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  border: none;
  background: transparent;
  color: var(--lms-text);
  padding: 0.95rem 1rem;
  text-align: left;
  cursor: pointer;
  scroll-margin-top: 92px;
}

.section-card-summary__main {
  min-width: 0;
  display: grid;
  gap: 0.2rem;
}

.section-card-summary__main strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1.03rem;
}

.section-card-summary__meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.section-resource-pill,
.section-demo-video-pill,
.section-progress-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--lms-border);
  background: var(--lms-surface-2);
  color: var(--lms-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.section-demo-video-pill {
  color: var(--lms-primary);
  border-color: color-mix(in srgb, var(--lms-primary) 32%, var(--lms-border));
  background: color-mix(in srgb, var(--lms-primary) 10%, var(--lms-surface));
}

.section-progress-pill {
  color: var(--lms-success);
  border-color: color-mix(in srgb, var(--lms-success) 28%, var(--lms-border));
}

.section-card-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--lms-primary) 10%, var(--lms-surface));
  color: var(--lms-primary);
  transition: transform 0.2s ease;
}

.section-card.is-expanded .section-card-chevron {
  transform: rotate(180deg);
}

.section-card-detail {
  border-top: 1px solid var(--lms-border);
  padding: 1rem;
  background: linear-gradient(180deg, var(--lms-surface), var(--lms-surface-2));
}

.section-card-detail[hidden] {
  display: none !important;
}

body.lms-shell .section-card-header {
  display: none;
}

body.lms-shell .section-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.28rem;
  color: var(--lms-text);
}

body.lms-shell .section-resources {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

body.lms-shell .resource-group {
  padding: 0.85rem;
  border: 1px solid var(--lms-border);
  border-radius: var(--lms-radius);
  background: var(--lms-surface);
}

body.lms-shell .resource-group h4 {
  color: var(--lms-muted);
}

body.lms-shell .demo-video-fragment {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  margin: 0.85rem 0;
  padding: 0.85rem;
  border: 1px solid color-mix(in srgb, var(--lms-primary) 34%, var(--lms-border));
  border-left: 4px solid var(--lms-primary);
  border-radius: var(--lms-radius);
  background: color-mix(in srgb, var(--lms-primary) 7%, var(--lms-surface));
}

.demo-video-fragment__text {
  min-width: 0;
  display: grid;
  gap: 0.18rem;
}

.demo-video-fragment__eyebrow,
.demo-video-fragment__text small {
  color: var(--lms-muted);
  font-size: 0.82rem;
}

.demo-video-fragment__text strong {
  color: var(--lms-text);
  font-size: 0.98rem;
}

.demo-video-fragment__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0.55rem 0.9rem;
  border: none;
  border-radius: var(--lms-radius-sm);
  background: var(--lms-primary);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.demo-video-fragment__play:hover {
  background: var(--lms-primary-2);
}

.demo-video-fragment__frame {
  display: none;
  grid-column: 1 / -1;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--lms-radius-sm);
  background: #000;
}

.demo-video-fragment.is-active .demo-video-fragment__frame {
  display: block;
}

.demo-video-fragment__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

body.lms-shell .course-demo-video-overview .course-diagram-body {
  margin-top: 0.85rem;
}

body.lms-shell .course-demo-video-overview .demo-video-fragment {
  margin: 0;
}

body.lms-shell .resource-list li {
  border-color: var(--lms-border);
  background: var(--lms-surface-2);
  border-radius: var(--lms-radius-sm);
}

body.lms-shell .resource-list li:hover {
  transform: translateX(2px);
  background: color-mix(in srgb, var(--lms-primary) 6%, var(--lms-surface));
  border-color: color-mix(in srgb, var(--lms-primary) 30%, var(--lms-border));
}

body.lms-shell .resource-list.resource-list-tests .test-item {
  background: var(--lms-surface-2);
  border-color: var(--lms-border);
  box-shadow: none;
}

body.lms-shell .test-item-neutral {
  border-left-color: var(--lms-primary) !important;
}

body.lms-shell .test-item-pass {
  border-left-color: var(--lms-success) !important;
}

body.lms-shell .test-item-fail {
  border-left-color: var(--lms-danger) !important;
}

body.lms-shell .demo-price-card {
  gap: 0.75rem;
}

body.lms-shell .demo-price-column {
  background: var(--lms-surface);
  border-color: var(--lms-border);
}

body.lms-shell .demo-price-column h3,
body.lms-shell .demo-price-column h4,
body.lms-shell .demo-price-value {
  color: var(--lms-primary);
}

body.lms-shell .demo-price-note,
body.lms-shell .demo-price-label,
body.lms-shell .demo-price-saving {
  color: var(--lms-text);
}

body.lms-shell .demo-price-note strong,
body.lms-shell .demo-price-saving {
  color: var(--lms-accent);
}

body.lms-shell .demo-price-highlight {
  background: color-mix(in srgb, var(--lms-accent) 12%, var(--lms-surface));
  border-color: color-mix(in srgb, var(--lms-accent) 28%, var(--lms-border));
}

.demo-docs-panel {
  border: 1px solid var(--lms-border);
  border-radius: var(--lms-radius);
  background: var(--lms-surface);
  box-shadow: var(--lms-shadow-soft);
  overflow: hidden;
}

.demo-docs-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  cursor: pointer;
  list-style: none;
}

.demo-docs-panel summary::-webkit-details-marker,
.demo-docs-panel summary::marker {
  display: none;
}

.demo-docs-panel__summary-main {
  display: grid;
  gap: 0.2rem;
}

.demo-docs-panel__summary-main strong {
  color: var(--lms-text);
  font-size: 1.18rem;
}

.demo-docs-panel__summary-main small {
  color: var(--lms-muted);
  font-size: 0.95rem;
}

.demo-docs-panel__toggle {
  color: var(--lms-primary);
  font-size: 1.25rem;
  transition: transform 0.18s ease;
}

.demo-docs-panel[open] .demo-docs-panel__toggle {
  transform: rotate(90deg);
}

.demo-docs-panel__body {
  display: grid;
  gap: 1rem;
  padding: 0 1.15rem 1.15rem;
}

.demo-docs-panel__body ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--lms-muted);
  line-height: 1.55;
}

.demo-docs-panel__body .btn {
  width: fit-content;
}

.demo-similar-courses {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: var(--lms-radius);
  background: color-mix(in srgb, var(--lms-surface) 82%, transparent);
  border: 1px solid var(--lms-border);
  box-shadow: var(--lms-shadow-soft);
}

.demo-similar-courses__head {
  align-items: flex-start;
}

.demo-similar-courses__head p {
  max-width: 620px;
  margin: 0.35rem 0 0;
  color: var(--lms-muted);
}

.demo-similar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.85rem;
}

.demo-similar-card {
  overflow: hidden;
  border-radius: var(--lms-radius);
  border: 1px solid var(--lms-border);
  background: var(--lms-surface);
}

.demo-similar-card__cover {
  min-height: 188px;
  display: flex;
  align-items: flex-end;
  padding: 0.85rem;
}

.demo-similar-card__body {
  display: grid;
  padding: 0.78rem 0.85rem 0.9rem;
}

.demo-similar-card__body .btn,
.demo-similar-card__body form,
.demo-similar-card__body button {
  width: 100%;
}

.welcome-overlay {
  background: rgba(10, 17, 15, 0.72) !important;
  backdrop-filter: blur(16px) saturate(1.15);
}

.welcome-card {
  display: grid;
  grid-template-columns: minmax(260px, 40%) 1fr;
  max-width: min(980px, 94vw);
  width: 94vw;
  padding: 0 !important;
  text-align: left !important;
  border-radius: var(--lms-radius) !important;
  background: var(--lms-surface) !important;
  border: 1px solid var(--lms-border);
  color: var(--lms-text);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.36) !important;
}

body.welcome-open {
  overflow: hidden;
}

body.welcome-open .ai-assistant,
body.welcome-open .widget-chat {
  display: none !important;
}

.welcome-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 4;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--lms-border);
  border-radius: 50% !important;
  background: color-mix(in srgb, var(--lms-surface) 88%, transparent);
  color: var(--lms-text);
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.welcome-close::before,
.welcome-close::after {
  content: '';
  position: absolute;
  top: 19px;
  left: 11px;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.welcome-close::before {
  transform: rotate(45deg);
}

.welcome-close::after {
  transform: rotate(-45deg);
}

.welcome-card::before {
  display: none;
}

.welcome-card__media {
  min-height: 480px;
}

.welcome-card__content {
  padding: clamp(1.35rem, 4vw, 2.6rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.welcome-brand {
  color: var(--lms-primary) !important;
}

.welcome-title {
  color: var(--lms-text) !important;
  font-size: 2.35rem !important;
  line-height: 1.08 !important;
  letter-spacing: 0;
}

.welcome-group,
.welcome-group-note,
.welcome-hint,
.welcome-bullets li {
  color: var(--lms-muted) !important;
}

.welcome-bullets li {
  border-bottom-color: var(--lms-border) !important;
}

.welcome-bullet-icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--lms-primary) 14%, var(--lms-surface));
  border: 1px solid color-mix(in srgb, var(--lms-primary) 28%, var(--lms-border));
}

.welcome-bullet-icon::after {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 2px;
  background: var(--lms-primary);
}

.welcome-bullet-icon--hours::after {
  inset: 6px 8px;
  border-radius: 999px;
}

.welcome-bullet-icon--materials::after {
  width: 11px;
  height: 7px;
  inset: auto;
  left: 6px;
  top: 7px;
  border-left: 2px solid var(--lms-primary);
  border-bottom: 2px solid var(--lms-primary);
  background: transparent;
  transform: rotate(-45deg);
}

.welcome-bullet-icon--exam::after {
  inset: 5px 8px;
  border-radius: 2px;
}

.welcome-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.welcome-start-btn,
.welcome-secondary-btn {
  min-height: 46px;
  border-radius: var(--lms-radius) !important;
  border: none;
  padding: 0.75rem 1.1rem;
  font-weight: 800;
  cursor: pointer;
}

.welcome-start-btn {
  background: linear-gradient(135deg, var(--lms-primary), var(--lms-primary-2)) !important;
  box-shadow: 0 12px 28px rgba(0, 109, 119, 0.26) !important;
}

.welcome-secondary-btn {
  background: var(--lms-surface-2);
  color: var(--lms-text);
  border: 1px solid var(--lms-border);
}

body.lms-shell .course-demo-modal__dialog,
body.lms-shell .sample-modal-dialog,
body.lms-shell .group-switch-modal .sample-modal-dialog {
  border-radius: var(--lms-radius);
  background: var(--lms-surface);
  color: var(--lms-text);
  border: 1px solid var(--lms-border);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.32);
}

body.lms-shell .course-demo-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

body.lms-shell .course-demo-modal[hidden] {
  display: none;
}

body.lms-shell .course-demo-modal__dialog {
  width: min(560px, calc(100vw - 2rem));
  max-height: calc(100vh - 3rem);
  margin: 0;
  overflow: auto;
}

body.lms-shell .course-demo-modal__dialog h3,
body.lms-shell .sample-modal-title,
body.lms-shell .group-switch-title {
  color: var(--lms-text);
}

body.lms-shell .course-demo-modal__dialog p,
body.lms-shell .course-demo-modal__intro,
body.lms-shell .demo-checkbox,
body.lms-shell .demo-checkbox-note,
body.lms-shell .demo-comment,
body.lms-shell .sample-modal-group,
body.lms-shell .group-switch-subtitle {
  color: var(--lms-muted);
}

body.lms-shell .demo-dropzone,
body.lms-shell .demo-preview,
body.lms-shell .sample-modal-frame,
body.lms-shell .group-switch-item {
  border-color: var(--lms-border);
  background: var(--lms-surface-2);
  border-radius: var(--lms-radius);
}

body.lms-shell .demo-dropzone--active {
  border-color: var(--lms-primary);
  background: color-mix(in srgb, var(--lms-primary) 10%, var(--lms-surface));
}

body.lms-shell .demo-sticky-bar {
  background: color-mix(in srgb, var(--lms-surface) 92%, transparent) !important;
  border-top: 1px solid var(--lms-border) !important;
  backdrop-filter: blur(16px);
  box-shadow: 0 -18px 46px rgba(16, 35, 31, 0.18) !important;
}

body.lms-shell .demo-sticky-inner {
  max-width: 1180px !important;
}

body.lms-shell .demo-sticky-text,
body.lms-shell .demo-sticky-text strong {
  color: var(--lms-text) !important;
}

body.lms-shell .demo-sticky-btn,
body.lms-shell .toast-btn-primary {
  background: linear-gradient(135deg, var(--lms-primary), var(--lms-primary-2)) !important;
  border-radius: var(--lms-radius) !important;
}

body.lms-shell .demo-docs-checklist-card,
body.lms-shell .demo-toast {
  background: var(--lms-surface) !important;
  border: 1px solid var(--lms-border) !important;
  border-radius: var(--lms-radius) !important;
  color: var(--lms-text) !important;
  box-shadow: var(--lms-shadow) !important;
}

body.lms-shell .demo-toast-msg,
body.lms-shell .demo-docs-checklist ol,
body.lms-shell .demo-docs-checklist-header strong {
  color: var(--lms-text) !important;
}

body.lms-shell .demo-toast-icon {
  background: color-mix(in srgb, var(--lms-primary) 14%, var(--lms-surface-2)) !important;
  color: var(--lms-primary) !important;
}

body.lms-shell[data-lms-theme='dark'] .course-card-progress,
body.lms-shell[data-lms-theme='dark'] .course-group-progress {
  background: color-mix(in srgb, var(--lms-surface) 86%, #000);
  border-color: color-mix(in srgb, var(--lms-primary) 28%, var(--lms-border));
}

body.lms-shell[data-lms-theme='dark'] .course-card-progress-text strong,
body.lms-shell[data-lms-theme='dark'] .course-card-progress-empty strong,
body.lms-shell[data-lms-theme='dark'] .course-card-progress-ring span,
body.lms-shell[data-lms-theme='dark'] .course-group-progress-ring span,
body.lms-shell[data-lms-theme='dark'] .course-group-progress-text p {
  color: var(--lms-text) !important;
}

body.lms-shell[data-lms-theme='dark'] .course-card-progress-text span,
body.lms-shell[data-lms-theme='dark'] .course-card-progress-empty span,
body.lms-shell[data-lms-theme='dark'] .course-group-progress-text small {
  color: var(--lms-muted) !important;
}

body.lms-shell[data-lms-theme='dark'] .course-group-progress-ring,
body.lms-shell[data-lms-theme='dark'] .course-card-progress-ring {
  background: conic-gradient(
    var(--progress-color, var(--lms-primary)) var(--progress-value, var(--progress, 0%)),
    rgba(237, 245, 239, 0.16) 0
  );
}

body.lms-shell[data-lms-theme='dark'] .course-diagram summary,
body.lms-shell[data-lms-theme='dark'] .diagram-root-card,
body.lms-shell[data-lms-theme='dark'] .diagram-level-lane,
body.lms-shell[data-lms-theme='dark'] .diagram-node,
body.lms-shell[data-lms-theme='dark'] .diagram-bar span {
  background: var(--lms-surface-2);
  border-color: var(--lms-border);
  color: var(--lms-text);
}

body.lms-shell[data-lms-theme='dark'] .course-diagram-summary-content,
body.lms-shell[data-lms-theme='dark'] .diagram-level-name,
body.lms-shell[data-lms-theme='dark'] .diagram-row-header,
body.lms-shell[data-lms-theme='dark'] .diagram-node-head,
body.lms-shell[data-lms-theme='dark'] .diagram-node-chip {
  color: var(--lms-text);
}

body.lms-shell[data-lms-theme='dark'] .course-diagram-summary-text small,
body.lms-shell[data-lms-theme='dark'] .diagram-node-summary,
body.lms-shell[data-lms-theme='dark'] .diagram-status,
body.lms-shell[data-lms-theme='dark'] .diagram-tips ul,
body.lms-shell[data-lms-theme='dark'] .diagram-generated {
  color: var(--lms-muted);
}

body.lms-shell[data-lms-theme='dark'] .diagram-tree {
  --diagram-line-color: var(--lms-primary);
}

body.lms-shell[data-lms-theme='dark'] .demo-price-highlight {
  background: color-mix(in srgb, var(--lms-accent) 18%, var(--lms-surface-2));
  border-color: color-mix(in srgb, var(--lms-accent) 36%, var(--lms-border));
}

body.lms-shell .message-thread {
  padding: 1rem;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

body.lms-shell .message-bubble {
  max-width: min(680px, 82%);
  padding: 0.85rem 1rem;
  border-radius: var(--lms-radius);
  border: 1px solid var(--lms-border);
  background: var(--lms-surface-2);
}

body.lms-shell .message-outgoing {
  align-self: flex-end;
  background: color-mix(in srgb, var(--lms-primary) 12%, var(--lms-surface));
}

body.lms-shell .message-incoming {
  align-self: flex-start;
}

body.lms-shell .message-form-wrapper {
  padding: 1.1rem;
}

body.lms-shell .message-form textarea,
body.lms-shell .demo-comment textarea,
body.lms-shell input,
body.lms-shell textarea {
  background: var(--lms-surface-2);
  color: var(--lms-text);
  border-color: var(--lms-border);
  border-radius: var(--lms-radius);
}

body.lms-shell .message-form textarea:focus,
body.lms-shell .demo-comment textarea:focus,
body.lms-shell input:focus,
body.lms-shell textarea:focus {
  border-color: var(--lms-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--lms-primary) 18%, transparent);
}

body.lms-shell .login-screen {
  padding: 3rem 0;
}

body.lms-shell .login-shell {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 440px);
  gap: 1rem;
  align-items: stretch;
}

body.lms-shell .login-showcase-card,
body.lms-shell .login-panel-card {
  border-radius: var(--lms-radius);
  border: 1px solid var(--lms-border);
  box-shadow: var(--lms-shadow);
}

body.lms-shell .login-showcase-card {
  min-height: 520px;
  background:
    linear-gradient(135deg, rgba(11, 23, 20, 0.22), rgba(11, 23, 20, 0.06)),
    var(--login-showcase-image, url('/images/modskill-hero.jpg')) center / cover;
}

body.lms-shell .login-showcase-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 25, 20, 0.8), rgba(10, 25, 20, 0.08) 72%);
  pointer-events: none;
}

body.lms-shell .login-showcase-copy {
  max-width: 520px;
  margin: auto 0 0;
  padding: 1.5rem;
  z-index: 1;
}

body.lms-shell .login-showcase-lead {
  max-width: none;
  color: #fff;
  font-family: 'Manrope', 'Golos Text', sans-serif;
  font-size: 2rem;
  letter-spacing: 0;
}

body.lms-shell .login-showcase-sublead {
  max-width: 28ch;
  margin-top: 0.6rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
  line-height: 1.45;
}

body.lms-shell .login-panel-card {
  background: var(--lms-surface);
  color: var(--lms-text);
}

body.lms-shell .login-panel-card h2,
body.lms-shell .login-panel-brand {
  color: var(--lms-text);
}

body.lms-shell .auth-subtitle {
  color: var(--lms-muted);
}

.demo-expired-screen {
  display: grid;
  place-items: center;
  min-height: calc(100dvh - 190px);
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.demo-expired-panel {
  width: min(680px, 100%);
  padding: 2rem;
  border: 1px solid var(--lms-border);
  border-top: 5px solid var(--lms-accent);
  border-radius: var(--lms-radius);
  background: var(--lms-surface);
  box-shadow: var(--lms-shadow);
}

.demo-expired-icon {
  position: relative;
  display: block;
  width: 54px;
  height: 54px;
  margin-bottom: 1.2rem;
  border: 2px solid var(--lms-accent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--lms-accent) 10%, var(--lms-surface));
}

.demo-expired-icon::before,
.demo-expired-icon::after {
  content: '';
  position: absolute;
  left: 25px;
  top: 11px;
  width: 2px;
  height: 17px;
  border-radius: 2px;
  background: var(--lms-accent);
  transform-origin: bottom;
}

.demo-expired-icon::after {
  height: 13px;
  transform: rotate(120deg);
}

.demo-expired-panel h1 {
  margin: 0 0 0.8rem;
  color: var(--lms-text);
  font-size: 2.35rem;
  line-height: 1.08;
}

.demo-expired-lead {
  max-width: 54ch;
  margin: 0;
  color: var(--lms-muted);
  font-size: 1.05rem;
}

.demo-expired-time {
  margin: 1.2rem 0 0;
  padding: 0.8rem 0.9rem;
  border-left: 3px solid var(--lms-highlight);
  background: var(--lms-surface-2);
  color: var(--lms-text);
}

.demo-expired-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.4rem;
}

.demo-expired-actions span {
  color: var(--lms-muted);
  font-size: 0.84rem;
}

@media (max-width: 980px) {
  body.lms-shell .main-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .lms-course-hero,
  .welcome-card,
  body.lms-shell .login-shell {
    grid-template-columns: 1fr;
  }

  .lms-course-hero__media,
  body.lms-shell .login-showcase-card {
    min-height: 260px;
  }

  .welcome-card__media {
    min-height: 190px;
  }

  body.lms-shell .course-header-card {
    grid-template-columns: 1fr;
  }

  body.lms-shell .course-header-card-right {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {
  body.lms-shell .header-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 62px;
    position: relative;
  }

  body.lms-shell .brand-logo {
    height: 40px;
  }

  body.lms-shell .brand-dot {
    display: none;
  }

  .lms-nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  body.lms-shell .main-nav {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    padding: 0.75rem;
    border: 1px solid var(--lms-border);
    border-radius: var(--lms-radius);
    background: var(--lms-surface);
    box-shadow: var(--lms-shadow);
  }

  body.lms-shell .main-nav.is-open {
    display: flex;
  }

  body.lms-shell .main-nav .btn,
  body.lms-shell .main-nav form,
  body.lms-shell .main-nav form .btn,
  body.lms-shell .main-nav .lms-theme-toggle {
    width: 100%;
  }

  body.lms-shell .main-nav .lms-theme-toggle__text {
    display: inline;
  }

  body.lms-shell .course-selection-header h1,
  body.lms-shell .course-messages-header h1 {
    font-size: 2rem;
  }

  .course-selection-count {
    margin-bottom: 0.4rem;
  }

  body.lms-shell .course-overview-header h1 {
    font-size: 1.8rem;
  }

  body.lms-shell .course-sections h2,
  body.lms-shell .demo-similar-courses h2 {
    font-size: 1.55rem;
  }

  .lms-theme-toggle__text,
  body.lms-shell .nav-greeting {
    display: none;
  }

  body.lms-shell .course-selection,
  body.lms-shell .course-overview {
    padding-top: 1rem;
  }

  .lms-course-hero__content,
  .section-card-detail,
  .demo-similar-courses,
  .demo-docs-panel__body {
    padding: 0.9rem;
  }

  .lms-course-hero {
    min-height: 0;
  }

  .lms-course-hero__media {
    min-height: 172px;
  }

  body.lms-shell .course-header-card {
    padding: 0.8rem;
  }

  body.lms-shell .course-header-meta-grid {
    grid-template-columns: 1fr 1fr;
  }

  body.lms-shell .course-header-meta-pill {
    align-items: flex-start;
    padding: 0.55rem;
  }

  body.lms-shell .course-header-meta-icon {
    display: none;
  }

  body.lms-shell .course-header-btn-primary {
    order: -2;
    width: 100%;
    min-height: 46px;
  }

  .demo-docs-panel__body .btn {
    width: 100%;
  }

  .course-sections-head,
  .demo-similar-courses__head {
    align-items: stretch;
    flex-direction: column;
  }

  .section-view-controls {
    width: 100%;
  }

  .section-view-btn {
    flex: 1;
  }

  .section-card-summary {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .section-card-summary__main strong {
    white-space: normal;
  }

  .section-card-summary__meta {
    justify-content: flex-start;
  }

  body.lms-shell .resource-list li,
  body.lms-shell .message-form-footer,
  body.lms-shell .demo-video-fragment,
  .welcome-actions {
    flex-direction: column;
    align-items: stretch;
  }

  body.lms-shell .demo-video-fragment {
    display: flex;
  }

  .demo-video-fragment__play {
    width: 100%;
  }

  body.lms-shell .resource-actions,
  body.lms-shell .resource-actions .btn,
  body.lms-shell .resource-actions form,
  body.lms-shell .message-form-footer .btn,
  .welcome-start-btn,
  .welcome-secondary-btn {
    width: 100%;
  }

  body.lms-shell .message-bubble {
    max-width: 94%;
  }

  .welcome-overlay {
    align-items: stretch;
    padding: 8px;
  }

  .welcome-card {
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - 16px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .welcome-card__media {
    min-height: 124px;
  }

  .welcome-card__content {
    padding: 1rem;
  }

  .welcome-title {
    padding-right: 2rem;
    font-size: 1.45rem !important;
  }

  .welcome-group-note,
  .welcome-hint {
    display: none;
  }

  .welcome-bullets {
    margin-bottom: 0.8rem;
  }

  .welcome-bullets li {
    padding: 0.45rem 0;
    font-size: 0.9rem;
  }

  .welcome-close {
    position: fixed;
    top: 18px;
    right: 18px;
    background: rgba(255, 255, 255, 0.92);
    color: #17231f;
  }

  body.lms-shell .demo-sticky-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.65rem;
    padding: 0.6rem max(0.75rem, env(safe-area-inset-right)) calc(0.6rem + env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
    text-align: left;
  }

  body.lms-shell .demo-sticky-text {
    display: block;
    min-width: 0;
    font-size: 0.82rem;
  }

  body.lms-shell .demo-sticky-text span,
  body.lms-shell .demo-sticky-link {
    display: none;
  }

  body.lms-shell .demo-sticky-actions {
    gap: 0.35rem;
  }

  body.lms-shell .demo-sticky-btn {
    min-height: 42px;
    padding: 0.6rem 0.8rem;
    white-space: normal;
  }

  body.lms-shell .demo-docs-checklist {
    left: 8px;
    right: 8px;
    bottom: calc(72px + env(safe-area-inset-bottom));
  }

  body.lms-shell .demo-docs-checklist-card {
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - 100px);
    overflow-y: auto;
  }

  body.lms-shell .demo-toast {
    bottom: calc(76px + env(safe-area-inset-bottom));
  }

  body.lms-shell .login-screen {
    padding: 1rem 0 2rem;
  }

  body.lms-shell .login-panel {
    order: -1;
  }

  body.lms-shell .login-showcase-card {
    min-height: 180px;
  }

  .demo-expired-screen {
    min-height: calc(100dvh - 150px);
    padding-top: 1rem;
  }

  .demo-expired-panel {
    padding: 1.25rem;
  }

  .demo-expired-panel h1 {
    font-size: 1.75rem;
  }

  .demo-expired-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .demo-expired-actions .btn {
    width: 100%;
  }
}
