/* ==========================================================================
   Startfresh Modern LMS Design System Tokens & Component Layer
   ========================================================================== */

:root {
  /* Color Palette - Modern Indigo & Slate Theme */
  --lms-primary: #4f46e5;
  --lms-primary-hover: #4338ca;
  --lms-primary-light: #eef2ff;
  --lms-primary-glow: rgba(79, 70, 229, 0.15);
  
  --lms-accent: #06b6d4;
  --lms-success: #10b981;
  --lms-warning: #f59e0b;
  --lms-danger: #ef4444;

  --lms-canvas: #f8fafc;
  --lms-surface: #ffffff;
  --lms-surface-subtle: #f1f5f9;

  --lms-text-heading: #0f172a;
  --lms-text-body: #334155;
  --lms-text-muted: #64748b;
  --lms-text-subtle: #94a3b8;

  --lms-border: #e2e8f0;
  --lms-border-focus: #c7d2fe;

  /* Typography & Layout */
  --lms-font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --lms-radius-sm: 8px;
  --lms-radius-md: 12px;
  --lms-radius-lg: 16px;
  --lms-radius-pill: 9999px;

  /* Shadows */
  --lms-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
  --lms-shadow-card: 0 1px 3px 0 rgba(15, 23, 42, 0.03), 0 6px 16px -4px rgba(15, 23, 42, 0.05);
  --lms-shadow-hover: 0 12px 28px -6px rgba(15, 23, 42, 0.1), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
}

body {
  font-family: var(--lms-font-sans) !important;
  background-color: var(--lms-canvas) !important;
  color: var(--lms-text-body) !important;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.lms-navbar {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid var(--lms-border) !important;
  box-shadow: var(--lms-shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.lms-brand {
  font-weight: 800 !important;
  letter-spacing: -0.025em !important;
  color: var(--lms-text-heading) !important;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lms-brand-badge {
  background: var(--lms-primary-light);
  color: var(--lms-primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--lms-radius-pill);
}

/* ==========================================================================
   Cards & Surfaces
   ========================================================================== */
.lms-card {
  background: var(--lms-surface) !important;
  border: 1px solid var(--lms-border) !important;
  border-radius: var(--lms-radius-md) !important;
  box-shadow: var(--lms-shadow-card) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  overflow: hidden;
}

.lms-card-interactive:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1 !important;
  box-shadow: var(--lms-shadow-hover) !important;
}

.lms-module-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--lms-radius-pill);
  background: var(--lms-primary-light);
  color: var(--lms-primary);
}

/* ==========================================================================
   Buttons & CTAs
   ========================================================================== */
.lms-btn-primary {
  background: var(--lms-primary) !important;
  border: 1px solid var(--lms-primary) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  border-radius: var(--lms-radius-sm) !important;
  padding: 8px 18px !important;
  box-shadow: 0 1px 2px 0 rgba(79, 70, 229, 0.2);
  transition: all 0.15s ease-in-out !important;
}

.lms-btn-primary:hover {
  background: var(--lms-primary-hover) !important;
  border-color: var(--lms-primary-hover) !important;
  transform: translateY(-1px);
}

.lms-btn-secondary {
  background: var(--lms-surface) !important;
  border: 1px solid var(--lms-border) !important;
  color: var(--lms-text-heading) !important;
  font-weight: 600 !important;
  border-radius: var(--lms-radius-sm) !important;
  padding: 8px 18px !important;
  transition: all 0.15s ease-in-out !important;
}

.lms-btn-secondary:hover {
  background: var(--lms-surface-subtle) !important;
  border-color: #cbd5e1 !important;
}

/* ==========================================================================
   Reading / Lesson Content Canvas (Distraction-Free)
   ========================================================================== */
.lms-reading-container {
  max-width: 820px !important;
  margin: 0 auto !important;
}

.lms-reading-container h1, .lms-reading-container h2, .lms-reading-container h3 {
  color: var(--lms-text-heading);
  letter-spacing: -0.02em;
  font-weight: 700;
}

.lms-reading-container p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--lms-text-body);
}

/* Callouts / Highlights */
.lms-callout {
  border-left: 4px solid var(--lms-primary);
  background: var(--lms-primary-light);
  border-radius: 0 var(--lms-radius-sm) var(--lms-radius-sm) 0;
  padding: 16px 20px;
  margin: 20px 0;
}

/* ==========================================================================
   Interactive Assessment & Radio Cards
   ========================================================================== */
.lms-radio-card {
  display: block;
  position: relative;
  background: var(--lms-surface);
  border: 1.5px solid var(--lms-border);
  border-radius: var(--lms-radius-md);
  padding: 16px 20px;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  margin-bottom: 12px;
}

.lms-radio-card:hover {
  border-color: #cbd5e1;
  background: #fcfcfd;
}

.lms-radio-card.active, .lms-radio-card:has(input:checked) {
  border-color: var(--lms-primary);
  background: var(--lms-primary-light);
  box-shadow: 0 0 0 1px var(--lms-primary);
}

/* Progress Bars */
.lms-progress-bar {
  height: 8px;
  background: var(--lms-border);
  border-radius: var(--lms-radius-pill);
  overflow: hidden;
}

.lms-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--lms-primary), #6366f1);
  border-radius: var(--lms-radius-pill);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Navbar internals
   ========================================================================== */
.lms-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.lms-nav-link {
  color: var(--lms-text-muted) !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: var(--lms-radius-sm);
  transition: all 0.15s ease-in-out;
}

.lms-nav-link:hover {
  color: var(--lms-text-heading) !important;
  background: var(--lms-surface-subtle) !important;
}

.lms-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--lms-surface);
  border: 1px solid var(--lms-border);
  border-radius: var(--lms-radius-pill);
  padding: 5px 6px 5px 14px;
  box-shadow: var(--lms-shadow-sm);
}

.lms-user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lms-primary), #818cf8);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lms-user-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lms-text-heading);
}

.lms-signout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--lms-text-muted);
  transition: all 0.15s ease-in-out;
}

.lms-signout-btn:hover {
  background: #fef2f2;
  color: var(--lms-danger);
}

/* ==========================================================================
   Catalog / Dashboard
   ========================================================================== */
.lms-hero {
  background:
    radial-gradient(1200px 400px at 15% -50%, rgba(79, 70, 229, 0.08), transparent 60%),
    radial-gradient(900px 380px at 85% -60%, rgba(6, 182, 212, 0.07), transparent 60%),
    var(--lms-surface);
  border-bottom: 1px solid var(--lms-border);
  padding: 56px 0 48px;
}

.lms-hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--lms-text-heading);
  line-height: 1.15;
}

.lms-hero-subtitle {
  font-size: 1.1rem;
  color: var(--lms-text-muted);
  max-width: 560px;
  line-height: 1.6;
}

.lms-stat-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  background: var(--lms-surface);
  border: 1px solid var(--lms-border);
  border-radius: var(--lms-radius-pill);
  padding: 8px 16px;
  box-shadow: var(--lms-shadow-sm);
}

.lms-stat-chip .value {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--lms-primary);
  letter-spacing: -0.02em;
}

.lms-stat-chip .label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--lms-text-muted);
}

.lms-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 991px) {
  .lms-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575px) {
  .lms-catalog-grid { grid-template-columns: 1fr; }
  .lms-hero-title { font-size: 2rem; }
}

.lms-module-card-body {
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.lms-module-card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--lms-radius-md);
  background: var(--lms-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lms-module-card-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.lms-module-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--lms-text-heading);
  line-height: 1.3;
}

.lms-module-card-summary {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--lms-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lms-module-card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--lms-text-subtle);
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--lms-surface-subtle);
}

.lms-module-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lms-module-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--lms-primary);
  margin-left: auto;
}

.lms-module-cta .arrow {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.lms-card-interactive:hover .lms-module-cta .arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   Lesson reader action bar
   ========================================================================== */
.lms-lesson-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--lms-surface);
  border: 1px solid var(--lms-border);
  border-radius: var(--lms-radius-lg);
  box-shadow: var(--lms-shadow-card);
  padding: 14px 18px;
  margin: 0 auto 24px;
  max-width: 820px;
}

.lms-lesson-counter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--lms-text-muted);
  white-space: nowrap;
}

.lms-lesson-counter .lms-progress-bar {
  width: 90px;
  height: 6px;
}

.lms-lesson-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lms-btn-ghost {
  background: transparent;
  border: 1px solid var(--lms-border);
  color: var(--lms-text-heading);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--lms-radius-pill);
  padding: 9px 20px;
  transition: all 0.15s ease-in-out;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lms-btn-ghost:hover {
  background: var(--lms-surface-subtle);
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.lms-btn-solid {
  background: var(--lms-primary);
  border: 1px solid var(--lms-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--lms-radius-pill);
  padding: 9px 22px;
  box-shadow: 0 1px 2px 0 rgba(79, 70, 229, 0.25);
  transition: all 0.15s ease-in-out;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lms-btn-solid:hover {
  background: var(--lms-primary-hover);
  border-color: var(--lms-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -4px rgba(79, 70, 229, 0.4);
}

/* ==========================================================================
   Reading canvas content enhancements
   ========================================================================== */
.lms-reading-container blockquote {
  border-left: 4px solid var(--lms-primary);
  background: var(--lms-primary-light);
  border-radius: 0 var(--lms-radius-sm) var(--lms-radius-sm) 0;
  padding: 16px 20px;
  margin: 20px 0;
  color: var(--lms-text-body);
  font-size: 1.02rem;
  line-height: 1.65;
}

.lms-reading-container blockquote p { margin-bottom: 0; }

.lms-reading-container ul, .lms-reading-container ol {
  padding-left: 1.4rem;
  margin: 16px 0;
}

.lms-reading-container li {
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 6px;
  color: var(--lms-text-body);
}

.lms-reading-container a { color: var(--lms-primary); }

.lms-reading-container img {
  border-radius: var(--lms-radius-md);
  box-shadow: var(--lms-shadow-card);
}

.lms-reading-container table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.95rem;
}

.lms-reading-container th, .lms-reading-container td {
  border: 1px solid var(--lms-border);
  padding: 10px 14px;
  text-align: left;
}

.lms-reading-container th {
  background: var(--lms-surface-subtle);
  font-weight: 700;
  color: var(--lms-text-heading);
}

.lms-reading-container video {
  border-radius: var(--lms-radius-md);
  box-shadow: var(--lms-shadow-card);
  width: 100%;
}

.lms-reading-container audio {
  width: 100%;
}

/* ==========================================================================
   Assessment / radio cards
   ========================================================================== */
.lms-radio-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.lms-radio-card .lms-radio-dot {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  border: 2px solid var(--lms-border);
  background: var(--lms-surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease-in-out;
}

.lms-radio-card .lms-radio-dot::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lms-primary);
  transform: scale(0);
  transition: transform 0.15s ease-in-out;
}

.lms-radio-card:has(input:checked) .lms-radio-dot {
  border-color: var(--lms-primary);
}

.lms-radio-card:has(input:checked) .lms-radio-dot::after {
  transform: scale(1);
}

.lms-radio-card .lms-radio-label {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--lms-text-body);
  line-height: 1.5;
}

.lms-radio-card:has(input:checked) .lms-radio-label {
  color: var(--lms-text-heading);
  font-weight: 600;
}

.lms-question-card {
  background: var(--lms-surface);
  border: 1px solid var(--lms-border);
  border-radius: var(--lms-radius-md);
  box-shadow: var(--lms-shadow-card);
  padding: 24px;
  margin-bottom: 20px;
}

.lms-question-card-error {
  border-color: #fecaca;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08);
}

.lms-question-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--lms-text-heading);
  margin-bottom: 16px;
  line-height: 1.45;
}

.lms-assessment-progress {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.lms-assessment-progress .lms-progress-bar {
  flex: 1;
}

.lms-assessment-progress-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--lms-text-muted);
  white-space: nowrap;
}

/* Scorecard */
.lms-scorecard {
  background: var(--lms-surface);
  border: 1px solid var(--lms-border);
  border-radius: var(--lms-radius-lg);
  box-shadow: var(--lms-shadow-hover);
  padding: 40px 32px;
  text-align: center;
  max-width: 520px;
  margin: 24px auto;
}

.lms-score-ring {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lms-score-ring .score-value {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--lms-text-heading);
  line-height: 1;
}

.lms-score-ring .score-caption {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lms-text-muted);
  margin-top: 6px;
}

.lms-score-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--lms-radius-pill);
  margin-bottom: 16px;
}

.lms-score-badge.good {
  background: #ecfdf5;
  color: #047857;
}

.lms-score-badge.okay {
  background: #fffbeb;
  color: #b45309;
}

.lms-score-badge.low {
  background: #fef2f2;
  color: #b91c1c;
}

.lms-score-message {
  font-size: 0.95rem;
  color: var(--lms-text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.lms-score-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   Authentication shell
   ========================================================================== */
.lms-auth-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  background:
    radial-gradient(900px 500px at 50% -10%, rgba(79, 70, 229, 0.1), transparent 60%),
    radial-gradient(700px 420px at 90% 110%, rgba(6, 182, 212, 0.08), transparent 60%),
    var(--lms-canvas);
}

.lms-auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--lms-surface);
  border: 1px solid var(--lms-border);
  border-radius: var(--lms-radius-lg);
  box-shadow: var(--lms-shadow-hover);
  padding: 36px 32px;
}

.lms-auth-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--lms-text-heading);
}

.lms-auth-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--lms-primary), #818cf8);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px -2px rgba(79, 70, 229, 0.4);
}

.lms-auth-subtitle {
  text-align: center;
  font-size: 0.92rem;
  color: var(--lms-text-muted);
  margin-bottom: 24px;
}

.lms-auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--lms-text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.lms-auth-divider::before, .lms-auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--lms-border);
}

.lms-auth-footer {
  text-align: center;
  font-size: 0.88rem;
  color: var(--lms-text-muted);
  margin-top: 18px;
}

.lms-auth-footer a {
  color: var(--lms-primary);
  font-weight: 600;
  text-decoration: none;
}

.lms-auth-footer a:hover { text-decoration: underline; }

.lms-input {
  width: 100%;
  background: var(--lms-surface);
  border: 1px solid var(--lms-border);
  border-radius: var(--lms-radius-sm);
  padding: 10px 14px;
  font-size: 0.95rem;
  color: var(--lms-text-heading);
  transition: all 0.15s ease-in-out;
  font-family: inherit;
}

.lms-input:focus {
  outline: none;
  border-color: var(--lms-border-focus);
  box-shadow: 0 0 0 3px var(--lms-primary-glow);
}

.lms-input::placeholder { color: var(--lms-text-subtle); }

.lms-form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lms-text-heading);
  margin-bottom: 6px;
}

.lms-form-hint {
  font-size: 0.78rem;
  color: var(--lms-text-subtle);
  margin-top: 6px;
}

.lms-form-hint a {
  color: var(--lms-primary);
  text-decoration: none;
}

.lms-form-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--lms-radius-sm);
  padding: 10px 14px;
  margin-bottom: 16px;
}

.lms-btn-demo {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--lms-primary), #6366f1);
  border: 1px solid var(--lms-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.98rem;
  border-radius: var(--lms-radius-md);
  padding: 13px 20px;
  box-shadow: 0 8px 20px -6px rgba(79, 70, 229, 0.45);
  transition: all 0.15s ease-in-out;
}

.lms-btn-demo:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -6px rgba(79, 70, 229, 0.55);
}

.lms-btn-demo:disabled {
  opacity: 0.7;
  transform: none;
}

.lms-btn-demo .bolt {
  font-size: 1.1rem;
  line-height: 1;
}

.lms-btn-auth {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--lms-primary);
  border: 1px solid var(--lms-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--lms-radius-sm);
  padding: 11px 18px;
  transition: all 0.15s ease-in-out;
}

.lms-btn-auth:hover {
  background: var(--lms-primary-hover);
  border-color: var(--lms-primary-hover);
}

.lms-btn-auth:disabled {
  opacity: 0.7;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.lms-footer {
  border-top: 1px solid var(--lms-border);
  padding: 28px 0;
  margin-top: 48px;
  background: var(--lms-surface);
}

.lms-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--lms-text-muted);
}

.lms-footer-brand {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--lms-text-heading);
}

/* ==========================================================================
   Slide & Lesson Reader Typography / Content Polish (.lms-prose)
   ========================================================================== */
.lms-prose {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--lms-text-body);
}

.lms-prose h1, .lms-prose h2, .lms-prose h3 {
  color: var(--lms-text-heading);
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
}

.lms-prose h1:first-child, .lms-prose h2:first-child {
  margin-top: 0;
}

.lms-prose p {
  margin-bottom: 1.25em;
}

.lms-prose blockquote {
  border-left: 4px solid var(--lms-primary);
  background: var(--lms-primary-light);
  padding: 16px 20px;
  border-radius: 0 var(--lms-radius-sm) var(--lms-radius-sm) 0;
  margin: 1.5em 0;
  font-style: italic;
  color: var(--lms-text-heading);
}

.lms-prose ul, .lms-prose ol {
  padding-left: 1.4em;
  margin-bottom: 1.25em;
}

.lms-prose li {
  margin-bottom: 0.5em;
}

.lms-prose img {
  border-radius: var(--lms-radius-md);
  box-shadow: var(--lms-shadow-card);
  max-width: 100%;
  height: auto;
  margin: 1.5em 0;
}

.lms-prose hr {
  border: 0;
  border-top: 1px solid var(--lms-border);
  margin: 2em 0;
}
