/* ── Lumen Advisory — Learn Platform Styles ── */
:root {
  --brand: #1a56db;
  --brand-dark: #1040b0;
  --brand-light: #eff4ff;
  --accent: #f59e0b;
  --text: #111827;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --bg: #f9fafb;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.06);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.1);
  --font: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

/* ── Layout ─────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section-alt { background: var(--white); }

/* ── Nav ─────────────────────────────────────────────── */
.learn-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.learn-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.learn-nav .brand { font-weight: 800; font-size: 1.1rem; color: var(--brand); text-decoration: none; }
.learn-nav .brand span { font-weight: 400; color: var(--text-muted); font-size: .95rem; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-link { text-decoration: none; color: var(--text-muted); font-size: .9rem; font-weight: 500; transition: color .2s; }
.nav-link:hover { color: var(--brand); }
.nav-user { font-size: .85rem; color: var(--text-muted); }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 6px;
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, transform .1s;
  white-space: nowrap;
}
.btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
}
.btn-outline:hover { background: var(--brand-light); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg); color: var(--text); transform: translateY(-1px); }
.btn-sm { padding: 7px 14px; font-size: .82rem; }
.btn-accent { background: var(--accent); color: #111; }
.btn-accent:hover { background: #d97706; }
.btn-full { width: 100%; justify-content: center; }

/* ── Hero ─────────────────────────────────────────────── */
.learn-hero {
  background: linear-gradient(135deg, #1a56db 0%, #1040b0 100%);
  color: #fff;
  padding: 72px 0 60px;
}
.learn-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.2; margin-bottom: 14px; }
.learn-hero p { font-size: 1.1rem; opacity: .88; max-width: 560px; margin-bottom: 32px; }
.eyebrow-light { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .7; margin-bottom: 10px; }

/* ── Search ──────────────────────────────────────────── */
.search-bar-wrap {
  background: var(--white);
  border-radius: 48px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  max-width: 680px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border .2s;
}
.search-bar-wrap:focus-within { border-color: var(--brand); }
#search-input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: 1rem;
  padding: 14px 20px;
  color: var(--text);
}
.search-icon { padding: 0 16px 0 20px; color: var(--text-muted); font-size: 1.2rem; }
#search-clear {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 16px;
  color: var(--text-muted);
  font-size: 1.1rem;
  display: none;
}

/* ── Filters ─────────────────────────────────────────── */
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.filter-btn {
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  font-family: var(--font);
  font-size: .83rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
}
.filter-btn:hover, .filter-btn.active {
  background: #fff;
  color: var(--brand);
  border-color: #fff;
}

/* ── Skill Grid ──────────────────────────────────────── */
.skills-section { padding: 48px 0; }
.skills-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 8px;
}
.skills-header h2 { font-size: 1.2rem; font-weight: 700; }
#result-count { color: var(--text-muted); font-size: .9rem; }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.skill-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.skill-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}
.skill-category {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
}
.skill-card h3 { font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
.skill-card p { font-size: .88rem; color: var(--text-muted); line-height: 1.5; flex: 1; }
.skill-meta {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.meta-pill {
  font-size: .75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  background: var(--brand-light);
  color: var(--brand);
}
.meta-pill.facilitator { background: #fef3c7; color: #92400e; }

.no-results {
  grid-column: 1/-1;
  text-align: center;
  padding: 64px 24px;
  color: var(--text-muted);
}
.no-results h3 { font-size: 1.2rem; margin-bottom: 8px; color: var(--text); }

/* ── Skill Page ──────────────────────────────────────── */
.skill-hero {
  background: linear-gradient(135deg, #1a56db 0%, #1040b0 100%);
  color: #fff;
  padding: 56px 0 48px;
}
.skill-hero .breadcrumb { font-size: .82rem; opacity: .7; margin-bottom: 10px; }
.skill-hero .breadcrumb a { color: inherit; text-decoration: none; opacity: .8; }
.skill-hero .breadcrumb a:hover { opacity: 1; }
.skill-hero h1 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; margin-bottom: 12px; }
.skill-hero .desc { font-size: 1.05rem; opacity: .88; max-width: 620px; margin-bottom: 20px; }
.skill-hero .research-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: .78rem;
  font-weight: 600;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.skill-hero .research-badge:hover {
  background: rgba(255,255,255,.25);
  transform: translateY(-1px);
}

/* ── Tabs ────────────────────────────────────────────── */
.skill-tabs { border-bottom: 2px solid var(--border); background: var(--white); }
.skill-tabs .container { display: flex; gap: 0; }
.tab-btn {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 18px 28px;
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .2s;
  margin-bottom: -2px;
}
.tab-btn:hover { color: var(--brand); }
.tab-btn.active { color: var(--brand); border-bottom-color: var(--brand); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Learner Panel ───────────────────────────────────── */
.learner-panel { padding: 48px 0; }
.learner-panel .panel-intro { max-width: 680px; margin-bottom: 36px; }
.learner-panel .panel-intro h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.learner-panel .panel-intro p { color: var(--text-muted); }
.duration-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-light);
  color: var(--brand);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.modules-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.module-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.module-num {
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}
.module-text { font-size: .95rem; font-weight: 500; }

.references-box {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.references-box h4 { font-size: .85rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 12px; }
.references-box ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.references-box li { font-size: .82rem; color: var(--text-muted); line-height: 1.5; padding-left: 16px; position: relative; }
.references-box li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); opacity: .4; }

/* ── Facilitator Panel ───────────────────────────────── */
.facilitator-panel { padding: 48px 0; }
.gate-overlay {
  background: linear-gradient(to bottom, transparent, var(--bg) 70%);
  position: relative;
}
.auth-gate {
  text-align: center;
  padding: 48px 24px;
  background: var(--white);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  max-width: 520px;
  margin: 0 auto;
}
.auth-gate .lock-icon { font-size: 2.5rem; margin-bottom: 16px; }
.auth-gate h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
.auth-gate p { color: var(--text-muted); margin-bottom: 24px; font-size: .95rem; }
.auth-gate-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.fac-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 32px; }
@media(max-width: 640px){ .fac-grid { grid-template-columns: 1fr; } }
.fac-meta-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.fac-meta-card .label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 6px; }
.fac-meta-card .value { font-size: 1rem; font-weight: 600; color: var(--text); }

.theory-box {
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 28px;
}
.theory-box h4 { font-size: .82rem; font-weight: 700; color: #92400e; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.theory-box p { font-size: .9rem; color: #78350f; line-height: 1.6; }

.outcomes-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.outcomes-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .95rem;
}
.outcomes-list li::before { content: "✓"; color: #16a34a; font-weight: 800; margin-top: 1px; flex-shrink: 0; }

.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media(max-width: 520px){ .download-grid { grid-template-columns: 1fr; } }
.download-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: border-color .2s, transform .2s;
}
.download-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.download-card .dl-icon { font-size: 2rem; margin-bottom: 10px; }
.download-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.download-card p { font-size: .82rem; color: var(--text-muted); margin-bottom: 16px; }

/* ── Auth Page ───────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 32px 16px;
  background: var(--bg);
}
.auth-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px 36px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
}
.auth-card .brand-mark {
  font-size: .85rem;
  font-weight: 700;
  color: var(--brand);
  text-align: center;
  margin-bottom: 24px;
  text-decoration: none;
  display: block;
}
.auth-card h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; }
.auth-card .subtitle { color: var(--text-muted); font-size: .9rem; margin-bottom: 28px; }
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: .8rem;
}
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .85rem; font-weight: 600; }
.field input {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 14px;
  font-family: var(--font);
  font-size: .95rem;
  outline: none;
  transition: border .2s;
}
.field input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(26,86,219,.1); }
.auth-switch { text-align: center; margin-top: 20px; font-size: .88rem; color: var(--text-muted); }
.auth-switch a { color: var(--brand); text-decoration: none; font-weight: 600; }
.auth-error { color: #dc2626; font-size: .83rem; margin-bottom: 12px; display: none; background: #fef2f2; padding: 10px 14px; border-radius: 6px; }

.google-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.google-btn:hover { background: var(--bg); }
.google-btn img { width: 18px; }

/* ── Footer ──────────────────────────────────────────── */
.learn-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 24px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: .83rem;
}
.learn-footer a { color: var(--brand); text-decoration: none; }

/* ── Responsive ──────────────────────────────────────── */
@media(max-width: 768px){
  .skills-grid { grid-template-columns: 1fr; }
  .fac-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════════════════
   SKILL CONTENT — Rich Learning Content Styles
   ══════════════════════════════════════════════════════════════════════════ */

/* Section Blocks */
.section-block { margin-bottom: 40px; }
.section-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand-light);
}

/* Concept Cards */
.concept-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.concept-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.concept-num {
  background: var(--brand);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}
.concept-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}
.concept-content {
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 14px;
}
.key-point {
  background: var(--brand-light);
  border-left: 4px solid var(--brand);
  padding: 12px 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .92rem;
  color: var(--brand-dark);
}
.key-point strong { color: var(--brand-dark); }

/* Activity Cards */
.activity-card {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}
.activity-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}
.activity-num {
  background: var(--accent);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}
.activity-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 4px 0;
}
.activity-duration {
  font-size: .8rem;
  color: var(--text-muted);
}
.activity-instructions {
  line-height: 1.7;
  margin-bottom: 12px;
}
.activity-outcome {
  background: white;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: .92rem;
  border: 1px solid #fcd34d;
}

/* Reflection List */
.reflection-list {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--radius);
  padding: 20px 20px 20px 40px;
  list-style: disc;
}
.reflection-list li {
  margin-bottom: 12px;
  line-height: 1.6;
  color: #166534;
}
.reflection-list li:last-child { margin-bottom: 0; }

/* Agenda Table */
.agenda {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.agenda thead {
  background: var(--brand);
  color: white;
}
.agenda th {
  text-align: left;
  padding: 14px 16px;
  font-weight: 600;
  font-size: .9rem;
}
.agenda td {
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  vertical-align: top;
}
.agenda-time {
  white-space: nowrap;
  font-weight: 600;
  color: var(--brand);
  width: 100px;
}
.agenda-notes {
  font-size: .88rem;
  color: var(--text-muted);
  font-style: italic;
}
.agenda tbody tr:hover {
  background: var(--brand-light);
}

/* Facilitator Notes List */
.fac-notes-list {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-radius: var(--radius);
  padding: 20px 20px 20px 40px;
  list-style: disc;
}
.fac-notes-list li {
  margin-bottom: 12px;
  line-height: 1.6;
  color: #92400e;
}
.fac-notes-list li:last-child { margin-bottom: 0; }

/* Materials List */
.materials-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
  list-style: none;
}
.materials-list li {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 12px 16px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 10px;
}
.materials-list li::before {
  content: '✓';
  color: var(--brand);
  font-weight: 700;
}

/* Responsive: skill content */
@media(max-width: 768px) {
  .agenda { font-size: .85rem; }
  .agenda th, .agenda td { padding: 10px 12px; }
  .concept-card, .activity-card { padding: 18px; }
  .materials-list { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════════════════
   INTERACTIVE LEARNING MODE
   ══════════════════════════════════════════════════════════════════════════ */

/* Start Learning Box */
.learn-start-box {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  color: white;
  margin: 30px 0;
}
.start-meta {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 24px;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}
.meta-icon { font-size: 1.2rem; }
.learn-start-box .btn-lg {
  background: white;
  color: var(--brand);
  font-size: 1.1rem;
  padding: 16px 40px;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.learn-start-box .btn-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.start-note {
  margin-top: 16px;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* ══════════════════════════════════════════════════════════════════════════
   CONDENSED PREVIEW SECTIONS
   ══════════════════════════════════════════════════════════════════════════ */

.preview-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 16px;
}
.preview-section h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.preview-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.preview-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.preview-list li:last-child {
  border-bottom: none;
}
.preview-list li::before {
  content: "•";
  color: var(--brand);
  font-weight: bold;
}
.preview-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.agenda-time-preview {
  font-weight: 600;
  color: var(--brand);
  min-width: 70px;
  display: inline-block;
}
.agenda-preview li::before {
  content: "";
}

/* References Collapsible */
.references-collapsible {
  margin-top: 20px;
  padding: 16px 20px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.references-collapsible summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.references-collapsible summary:hover {
  color: var(--brand);
}
.references-collapsible ul {
  margin-top: 12px;
  padding-left: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.references-collapsible li {
  margin-bottom: 8px;
}

/* Download Section */
.download-section {
  margin-top: 24px;
}
.download-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

/* Learning Preview */
.learn-preview {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 30px;
}
.learn-preview h3 {
  font-size: 1rem;
  color: var(--brand);
  margin-bottom: 12px;
}
.learn-preview ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}
.learn-preview li {
  background: var(--brand-light);
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
}

/* Progress Bar */
.learn-progress-bar {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 10px;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  width: 0%;
  transition: width 0.4s ease;
  border-radius: 4px;
}
.learn-progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

/* Step Container */
.learn-step-container {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  min-height: 400px;
  box-shadow: var(--shadow);
}

/* Step Type Badges */
.step-type-badge {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.activity-badge {
  background: #fef3c7;
  color: #92400e;
}
.reflection-badge {
  background: #dcfce7;
  color: #166534;
}

/* Step Content */
.step-intro h2,
.step-concept h2,
.step-activity h2,
.step-reflection h2,
.step-summary h2 {
  font-size: 1.8rem;
  color: var(--text);
  margin-bottom: 20px;
}
.step-overview {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.step-what-youll-learn {
  background: var(--brand-light);
  padding: 20px 24px;
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.step-what-youll-learn h4 {
  color: var(--brand);
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.step-what-youll-learn ul {
  list-style: none;
  margin: 0;
}
.step-what-youll-learn li {
  padding: 6px 0;
  border-bottom: 1px solid rgba(26,86,219,0.1);
}
.step-what-youll-learn li:last-child { border-bottom: none; }
.step-ready {
  font-size: 1rem;
  color: var(--text-muted);
}

/* Step Body */
.step-body {
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 24px;
}
.step-body h4 {
  color: var(--brand);
  margin-bottom: 10px;
}

/* Key Point Box */
.step-key-point {
  display: flex;
  gap: 16px;
  background: var(--brand-light);
  border-left: 4px solid var(--brand);
  padding: 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.key-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.step-key-point strong {
  display: block;
  color: var(--brand);
  margin-bottom: 4px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.step-key-point p {
  color: var(--brand-dark);
  font-weight: 500;
  margin: 0;
}

/* Activity Timer */
.activity-timer-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fef3c7;
  padding: 14px 20px;
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.timer-icon { font-size: 1.3rem; }
.timer-display {
  font-size: 1.5rem;
  font-weight: 700;
  color: #92400e;
  min-width: 70px;
}
.timer-btn {
  margin-left: auto;
}

/* Step Outcome */
.step-outcome {
  display: flex;
  gap: 16px;
  background: #f0fdf4;
  border: 1px solid #86efac;
  padding: 20px;
  border-radius: var(--radius);
}
.outcome-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.step-outcome strong {
  display: block;
  color: #166534;
  margin-bottom: 4px;
  font-size: 0.85rem;
  text-transform: uppercase;
}
.step-outcome p {
  color: #166534;
  margin: 0;
}

/* Reflection Questions */
.reflection-intro {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.reflection-questions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.reflection-q {
  display: flex;
  gap: 16px;
  background: #f0fdf4;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid #86efac;
}
.q-num {
  background: #22c55e;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.reflection-q p {
  margin: 0;
  line-height: 1.6;
  color: #166534;
}

/* Summary Takeaways */
.takeaways-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.takeaway-card {
  background: var(--brand-light);
  border: 1px solid rgba(26,86,219,0.2);
  padding: 20px;
  border-radius: var(--radius);
}
.takeaway-card h4 {
  color: var(--brand);
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.takeaway-card p {
  color: var(--brand-dark);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}
.summary-next {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Navigation Buttons */
.learn-nav-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  gap: 20px;
}
.learn-nav-buttons .btn {
  min-width: 140px;
}

/* Completion Screen */
.completion-box {
  text-align: center;
  padding: 60px 40px;
}
.completion-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}
.completion-box h2 {
  font-size: 2.5rem;
  color: var(--brand);
  margin-bottom: 12px;
}
.completion-box > p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.completion-stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-bottom: 40px;
}
.stat {
  text-align: center;
}
.stat-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brand);
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.completion-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* Responsive: interactive learning */
@media(max-width: 768px) {
  .learn-start-box { padding: 30px 20px; }
  .start-meta { flex-direction: column; gap: 12px; }
  .learn-step-container { padding: 24px; }
  .step-intro h2, .step-concept h2, .step-activity h2, .step-reflection h2, .step-summary h2 { font-size: 1.4rem; }
  .completion-stats { flex-direction: column; gap: 20px; }
  .completion-actions { flex-direction: column; }
  .learn-nav-buttons { flex-direction: column; }
  .learn-nav-buttons .btn { width: 100%; }
  .takeaways-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════════════════
   ASSESSMENT SESSION STYLES
   ══════════════════════════════════════════════════════════════════════════ */

.assessment-section {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 2px solid var(--border);
}

.assessment-empty {
  background: var(--bg);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
}

.assessment-empty p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.session-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.session-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 16px;
}

.session-status {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.status-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.status-pre {
  background: #dbeafe;
  color: #1d4ed8;
}

.status-badge.status-post {
  background: #dcfce7;
  color: #16a34a;
}

.session-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.session-code-box {
  text-align: right;
}

.code-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.code-value {
  font-size: 1.5rem;
  font-family: monospace;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 2px;
}

.session-link-row {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.session-link-input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.9rem;
  background: var(--bg);
  color: var(--text);
}

.session-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.stat-box {
  background: var(--bg);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}

.stat-box .stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
}

.stat-box .stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 4px;
}

.session-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.session-actions .btn-ghost {
  margin-left: auto;
}

/* ── Session Results Page Styles ───────────────────────────────────────── */

.results-container {
  max-width: 1000px;
  margin: 0 auto;
}

.results-header-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
  text-align: center;
}

.results-skill-name {
  font-size: 1.5rem;
  color: var(--brand);
  margin-bottom: 8px;
}

.results-session-info {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.results-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.summary-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.summary-card .big-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
}

.summary-card .big-number.positive { color: #16a34a; }
.summary-card .big-number.negative { color: #dc2626; }

.summary-card .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 8px;
}

.participants-table {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.participants-table table {
  width: 100%;
  border-collapse: collapse;
}

.participants-table th {
  background: var(--brand);
  color: white;
  text-align: left;
  padding: 14px 16px;
  font-size: 0.85rem;
  font-weight: 600;
}

.participants-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.participants-table tr:last-child td {
  border-bottom: none;
}

.participants-table tr:nth-child(even) {
  background: var(--bg);
}

.change-positive { color: #16a34a; font-weight: 600; }
.change-negative { color: #dc2626; font-weight: 600; }
.change-neutral { color: var(--text-muted); }

/* Responsive: assessment */
@media(max-width: 768px) {
  .session-stats { grid-template-columns: 1fr; }
  .session-actions { flex-direction: column; }
  .session-actions .btn-ghost { margin-left: 0; }
  .results-summary-grid { grid-template-columns: repeat(2, 1fr); }
  .participants-table { overflow-x: auto; }
}