/* =============================================
   RPCES Course Engine — Module Stylesheet v2
   HCI Brand Colors: Red #a52020, Teal #2a7a8c
   ============================================= */

:root {
  --hci-red: #a52020;
  --hci-red-light: #c0392b;
  --hci-red-pale: #fdf3f3;
  --hci-teal: #2a7a8c;
  --hci-teal-light: #3498a8;
  --hci-teal-pale: #eef7f9;
  --navy: #0f1f2e;
  --navy-mid: #152d42;
  --gold: #c4922a;
  --white: #ffffff;
  --off-white: #f8fafc;
  --gray-50: #f9fafb;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --green: #16a34a;
  --green-light: #dcfce7;
  --red-alert: #dc2626;
  --red-pale: #fee2e2;
  --font-body: 'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(10,22,40,0.10);
  --shadow-lg: 0 12px 40px rgba(10,22,40,0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { height: 100%; }
body {
  font-family: var(--font-body);
  background: var(--gray-100);
  color: var(--gray-800);
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ─── HEADER ──────────────────────────────────── */
.course-header {
  height: 76px;
  background: var(--navy);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 1.25rem;
  flex-shrink: 0;
  border-bottom: 3px solid var(--hci-red);
  z-index: 50;
}
.back-link {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  transition: color 0.2s;
}
.back-link:hover { color: white; }
.header-logo-wrap {
  display: flex;
  align-items: center;
  background: transparent;
  border: none;
  outline: none;
  padding: 0;
  text-decoration: none;
}
.header-logo {
  height: 60px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  mix-blend-mode: lighten;
  filter: drop-shadow(0 2px 10px rgba(42,122,140,.40));
}
.course-title-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 1;
  overflow: hidden;
}
.module-badge {
  background: var(--hci-teal);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.course-name {
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.header-progress {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.progress-text { color: rgba(255,255,255,0.5); font-size: 0.72rem; white-space: nowrap; }
.progress-bar-wrap {
  width: 100px;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 100px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--hci-red), var(--hci-teal-light));
  border-radius: 100px;
  transition: width 0.4s ease;
}

/* ─── STAGE ───────────────────────────────────── */
.slide-stage { flex: 1; display: flex; overflow: hidden; }

/* ─── LESSON NAV ─────────────────────────────── */
.lesson-nav {
  width: 230px;
  flex-shrink: 0;
  background: white;
  border-right: 1px solid var(--gray-200);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.lesson-nav-title {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  padding: 1rem 1.1rem 0.6rem;
  border-bottom: 1px solid var(--gray-200);
}
.lesson-list { list-style: none; padding: 0.4rem 0; }
.lesson-item button {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.6rem 1.1rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--gray-600);
  transition: background 0.15s, color 0.15s;
  position: relative;
}
.lesson-item button:hover { background: var(--gray-50); color: var(--navy); }
.lesson-item.active button { background: var(--hci-teal-pale); color: var(--hci-teal); font-weight: 600; }
.lesson-item.active button::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--hci-teal);
  border-radius: 0 2px 2px 0;
}
.lesson-item.completed button { color: var(--green); }
.lesson-item.quiz-item.active button { color: var(--hci-red); background: var(--hci-red-pale); }
.lesson-item.quiz-item.active button::before { background: var(--hci-red); }
.lesson-item.reflect-item.active button { color: var(--gold); background: #fef9ec; }
.lesson-item.reflect-item.active button::before { background: var(--gold); }
.lesson-icon { font-size: 0.72rem; width: 16px; text-align: center; flex-shrink: 0; }
.lesson-label { flex: 1; line-height: 1.3; }
.lesson-check { font-size: 0.62rem; color: var(--green); opacity: 0; transition: opacity 0.2s; }

/* Journal Panel */
.journal-panel {
  margin-top: auto;
  border-top: 1px solid var(--gray-200);
  padding: 0.85rem 1.1rem;
  background: var(--gray-50);
}
.journal-panel-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--hci-teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.no-reflections { font-size: 0.75rem; color: var(--gray-400); line-height: 1.5; }
.sidebar-journal-entry { margin-bottom: 0.5rem; }
.sje-header {
  font-size: 0.75rem;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.sje-header i { color: var(--gold); }
.sje-date { color: var(--gray-400); font-size: 0.68rem; margin-left: auto; }
.btn-view-journal {
  width: 100%;
  padding: 0.5rem;
  background: var(--hci-teal);
  color: white;
  border: none;
  border-radius: 7px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.6rem;
  transition: background 0.2s;
}
.btn-view-journal:hover { background: var(--hci-teal-light); }

/* ─── SLIDE VIEWER ────────────────────────────── */
.slide-viewer { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.slide-container { flex: 1; overflow-y: auto; padding: 1.75rem 2rem; }

/* ─── TRANSITIONS ─────────────────────────────── */
@keyframes slideIn  { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideOut { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(-20px); } }
.slide-enter { animation: slideIn 0.35s ease forwards; }
.slide-exit  { animation: slideOut 0.2s ease forwards; }

/* ─── SHARED SLIDE STYLES ─────────────────────── */
.slide-inner { max-width: 860px; margin: 0 auto; padding-bottom: 2rem; }
.slide-lesson-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hci-teal);
  margin-bottom: 0.65rem;
}
.slide-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

/* Read Prompt */
.read-prompt {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--hci-teal-pale);
  border: 1px solid rgba(42,122,140,0.2);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  font-size: 0.83rem;
  color: var(--hci-teal);
  margin-top: 1.75rem;
}

/* ─── TITLE SLIDE ─────────────────────────────── */
.slide-title { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; min-height: 70vh; align-items: center; }
.slide-badge {
  display: inline-block;
  background: var(--hci-red-pale);
  border: 1px solid rgba(165,32,32,0.2);
  color: var(--hci-red);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.slide-main-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}
.slide-meta { font-size: 0.78rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.25rem; }
.slide-desc { font-size: 0.98rem; color: var(--gray-600); line-height: 1.75; margin-bottom: 1.5rem; }
.objectives-box { background: var(--navy); border-radius: var(--radius); overflow: hidden; border-top: 4px solid var(--hci-red); }
.obj-header {
  background: rgba(255,255,255,0.04);
  color: white;
  padding: 0.85rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.obj-header i { color: var(--hci-teal-light); }
.obj-list { list-style: none; padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: 0.8rem; }
.obj-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  line-height: 1.5;
}
.obj-list li i { color: var(--hci-teal-light); font-size: 0.8rem; margin-top: 3px; flex-shrink: 0; }

/* ─── HOW IT WORKS ────────────────────────────── */
.slide-how-it-works h2 { margin-bottom: 1.75rem; }
.hiw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.hiw-step {
  background: white;
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--hci-teal);
}
.hiw-num {
  width: 26px; height: 26px;
  background: var(--hci-red);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  flex-shrink: 0;
}
.hiw-icon { font-size: 1rem; color: var(--hci-teal); flex-shrink: 0; margin-top: 2px; }
.hiw-body strong { display: block; font-size: 0.88rem; color: var(--navy); margin-bottom: 0.3rem; }
.hiw-body p { font-size: 0.81rem; color: var(--gray-600); line-height: 1.5; }

/* ─── LESSON INTRO ────────────────────────────── */
.slide-lesson-intro {
  min-height: 65vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 0;
}
.lesson-intro-num {
  font-size: 5rem;
  font-weight: 800;
  color: var(--gray-200);
  font-family: var(--font-display);
  line-height: 1;
}
.lesson-intro-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--hci-red); margin-bottom: 0.6rem; }
.lesson-intro-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}
.lesson-intro-teaser { font-size: 1.02rem; color: var(--gray-600); line-height: 1.75; max-width: 680px; margin-bottom: 1.75rem; }
.theme-pills { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.theme-pill {
  background: var(--hci-teal-pale);
  border: 1px solid rgba(42,122,140,0.2);
  color: var(--hci-teal);
  padding: 0.28rem 0.8rem;
  border-radius: 100px;
  font-size: 0.76rem;
  font-weight: 600;
}

/* ─── CONTENT SLIDE ───────────────────────────── */
.content-icon-title { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; }
.content-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--hci-red), var(--hci-red-light));
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.15rem;
  flex-shrink: 0;
  margin-top: 4px;
}
.content-icon-title h2 { margin-bottom: 0; }
.content-body p { font-size: 0.96rem; color: var(--gray-700); line-height: 1.8; margin-bottom: 1rem; }
.content-body strong { color: var(--navy); }
.callout-box {
  background: rgba(42,122,140,0.06);
  border-left: 4px solid var(--hci-teal);
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin: 1.25rem 0;
  font-size: 0.9rem;
  color: var(--gray-800);
  line-height: 1.6;
}
.callout-box i { color: var(--hci-teal); font-size: 1.05rem; margin-top: 2px; flex-shrink: 0; }
.content-list { margin: 1.25rem 0; }
.content-list strong { display: block; font-size: 0.88rem; color: var(--navy); margin-bottom: 0.6rem; }
.content-list ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.content-list ul li { padding: 0.55rem 0.9rem; background: var(--gray-100); border-radius: 8px; font-size: 0.86rem; color: var(--gray-700); line-height: 1.5; }
.numbered-steps { display: flex; flex-direction: column; gap: 0.85rem; margin: 1.25rem 0; }
.numbered-step { display: flex; gap: 1.1rem; background: white; border-radius: var(--radius); padding: 1.1rem; border: 1px solid var(--gray-200); }
.step-num {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--hci-teal), var(--hci-teal-light));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
  flex-shrink: 0;
}
.step-body strong { display: block; font-size: 0.9rem; color: var(--navy); margin-bottom: 0.3rem; }
.step-body p { font-size: 0.83rem; color: var(--gray-600); line-height: 1.5; }
.timeline-row { display: flex; gap: 0; margin: 1.25rem 0; overflow-x: auto; }
.timeline-item { flex: 1; min-width: 88px; text-align: center; padding: 1rem 0.4rem; position: relative; }
.timeline-item:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 1.8rem; width: 1px; height: 24px; background: var(--gray-200); }
.tl-icon { width: 38px; height: 38px; background: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--hci-teal-light); font-size: 0.85rem; margin: 0 auto 0.5rem; }
.tl-label { font-size: 0.8rem; font-weight: 700; color: var(--navy); margin-bottom: 0.2rem; }
.tl-desc { font-size: 0.7rem; color: var(--gray-400); line-height: 1.3; }
.checklist { display: flex; flex-direction: column; gap: 0.55rem; margin: 1.25rem 0; }
.checklist-item { display: flex; align-items: center; gap: 0.85rem; background: white; border-radius: 8px; padding: 0.7rem 1rem; border: 1px solid var(--gray-200); font-size: 0.87rem; color: var(--gray-700); }
.checklist-item i { color: var(--hci-teal); font-size: 0.88rem; width: 16px; text-align: center; flex-shrink: 0; }

/* ─── DEFINITION SLIDE ────────────────────────── */
.definition-box { background: var(--navy); border-radius: var(--radius); padding: 1.75rem; margin-bottom: 1.75rem; border-top: 4px solid var(--hci-red); }
.def-term { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--hci-teal-light); font-weight: 700; margin-bottom: 0.7rem; }
.def-text { font-size: 1.02rem; color: white; line-height: 1.7; font-style: italic; margin-bottom: 0.7rem; }
.def-source { font-size: 0.76rem; color: rgba(255,255,255,0.35); }
.pillars-title { font-size: 0.82rem; font-weight: 700; color: var(--gray-600); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.85rem; }
.pillars-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.pillar-card { background: white; border-radius: var(--radius); padding: 1.15rem; border: 1px solid var(--gray-200); border-bottom: 3px solid var(--hci-teal); transition: box-shadow 0.2s; }
.pillar-card:hover { box-shadow: var(--shadow); }
.pillar-icon { width: 34px; height: 34px; background: linear-gradient(135deg, var(--hci-teal), var(--hci-teal-light)); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; font-size: 0.85rem; margin-bottom: 0.65rem; }
.pillar-card strong { display: block; font-size: 0.86rem; color: var(--navy); margin-bottom: 0.3rem; }
.pillar-card p { font-size: 0.79rem; color: var(--gray-600); line-height: 1.45; }

/* ─── STATS SLIDE ─────────────────────────────── */
.stats-intro { font-size: 0.96rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 1.75rem; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.stat-card { background: var(--navy); border-radius: var(--radius); padding: 1.5rem; text-align: center; border-bottom: 4px solid var(--hci-red); }
.stat-big { font-size: 2.6rem; font-weight: 800; color: var(--hci-teal-light); line-height: 1; margin-bottom: 0.65rem; font-family: var(--font-display); }
.stat-card p { font-size: 0.83rem; color: rgba(255,255,255,0.7); line-height: 1.5; }
.stat-source { font-size: 0.68rem; color: rgba(255,255,255,0.35); margin-top: 0.5rem; }

/* ─── COMPARISON SLIDE ────────────────────────── */
.comparison-intro { font-size: 0.96rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 1.25rem; }
.comparison-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.comp-col { border-radius: var(--radius); overflow: hidden; }
.comp-col.good { border: 2px solid var(--hci-teal); }
.comp-col.bad  { border: 2px solid #fca5a5; }
.comp-header { padding: 0.8rem 1.2rem; font-size: 0.82rem; font-weight: 700; display: flex; align-items: center; gap: 0.55rem; }
.comp-col.good .comp-header { background: var(--hci-teal); color: white; }
.comp-col.bad  .comp-header { background: var(--red-alert); color: white; }
.comp-col ul { list-style: none; padding: 0.9rem 1.2rem; display: flex; flex-direction: column; gap: 0.55rem; }
.comp-col ul li { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.83rem; color: var(--gray-700); line-height: 1.45; }
.comp-col.good ul li i { color: var(--hci-teal); font-size: 0.78rem; margin-top: 2px; flex-shrink: 0; }
.comp-col.bad  ul li i { color: var(--red-alert); font-size: 0.78rem; margin-top: 2px; flex-shrink: 0; }

/* ─── PROFILE SLIDE ───────────────────────────── */
.profile-intro { font-size: 0.96rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 1.25rem; }
.traits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.trait-card { display: flex; gap: 0.9rem; background: white; border-radius: var(--radius); padding: 1.1rem; border: 1px solid var(--gray-200); transition: box-shadow 0.2s, border-color 0.2s; }
.trait-card:hover { box-shadow: var(--shadow); border-color: var(--hci-teal); }
.trait-icon { width: 38px; height: 38px; background: linear-gradient(135deg, var(--navy), var(--navy-mid)); border-radius: 9px; display: flex; align-items: center; justify-content: center; color: var(--hci-teal-light); font-size: 0.95rem; flex-shrink: 0; }
.trait-body strong { display: block; font-size: 0.86rem; color: var(--navy); margin-bottom: 0.28rem; }
.trait-body p { font-size: 0.79rem; color: var(--gray-600); line-height: 1.45; }

/* ─── DO/DON'T SLIDE ─────────────────────────── */
.dd-intro { font-size: 0.96rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 1.75rem; }
.dd-pair { margin-bottom: 1.5rem; }
.dd-context { display: flex; align-items: center; gap: 0.5rem; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray-400); margin-bottom: 0.6rem; }
.dd-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.dd-col { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-200); }
.dd-label { display: flex; align-items: center; gap: 0.5rem; padding: 0.55rem 1rem; font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.dd-col.dont .dd-label { background: var(--red-pale); color: var(--red-alert); }
.dd-col.do   .dd-label { background: var(--green-light); color: var(--green); }
.dd-col p { padding: 0.9rem 1rem; font-size: 0.85rem; color: var(--gray-700); line-height: 1.55; font-style: italic; }

/* ─── SCENARIO SLIDE ─────────────────────────── */
.scenario-setup { background: var(--gray-100); border-radius: var(--radius); padding: 1.1rem; font-size: 0.9rem; color: var(--gray-700); line-height: 1.6; margin-bottom: 1.25rem; display: flex; gap: 0.7rem; align-items: flex-start; border-left: 4px solid var(--hci-teal); }
.scenario-setup i { color: var(--hci-teal); font-size: 1.05rem; flex-shrink: 0; margin-top: 2px; }
.scenario-card { border-radius: var(--radius); overflow: hidden; margin-bottom: 1.1rem; }
.scenario-card.bad  { border: 2px solid #fca5a5; }
.scenario-card.good { border: 2px solid var(--hci-teal); }
.sc-label { display: flex; align-items: center; gap: 0.55rem; padding: 0.7rem 1.2rem; font-size: 0.8rem; font-weight: 700; }
.scenario-card.bad  .sc-label { background: var(--red-pale); color: var(--red-alert); }
.scenario-card.good .sc-label { background: var(--green-light); color: var(--green); }
.sc-dialogue { padding: 0.9rem 1.2rem; font-size: 0.93rem; font-style: italic; color: var(--gray-800); line-height: 1.6; border-bottom: 1px solid var(--gray-200); }
.sc-outcome { padding: 0.8rem 1.2rem; font-size: 0.83rem; color: var(--gray-600); line-height: 1.5; background: var(--gray-50); }
.scenario-reflection { background: rgba(196,146,42,0.08); border: 1px solid rgba(196,146,42,0.2); border-radius: var(--radius); padding: 0.9rem 1.2rem; font-size: 0.86rem; color: var(--gray-700); line-height: 1.6; display: flex; gap: 0.7rem; align-items: flex-start; margin-bottom: 1.25rem; }
.scenario-reflection i { color: var(--gold); font-size: 0.95rem; flex-shrink: 0; margin-top: 2px; }

/* ─── PATIENT VOICE SLIDE ─────────────────────── */
.pv-intro { font-size: 0.96rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 1.75rem; font-style: italic; }
.pv-quotes-list { display: flex; flex-direction: column; gap: 1.5rem; }
.pv-quote-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  border-left: 5px solid var(--hci-red);
  box-shadow: var(--shadow);
}
.pv-quote-icon { font-size: 1.6rem; color: rgba(165,32,32,0.15); padding: 1.25rem 1.25rem 0; }
.pv-blockquote {
  font-size: 0.98rem;
  font-style: italic;
  color: var(--gray-800);
  line-height: 1.8;
  padding: 0.5rem 1.5rem 1rem;
}
.pv-attribution { padding: 0 1.5rem 0.85rem; }
.pv-attribution strong { display: block; font-size: 0.85rem; color: var(--navy); }
.pv-attribution span  { font-size: 0.75rem; color: var(--gray-400); }
.pv-feeling-prompt {
  background: var(--hci-red-pale);
  border-top: 1px solid rgba(165,32,32,0.1);
  padding: 0.9rem 1.5rem;
}
.pv-feeling-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hci-red);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.pv-feeling-prompt p { font-size: 0.85rem; color: var(--gray-700); line-height: 1.55; }

/* ─── REFLECTION SLIDE ────────────────────────── */
.reflection-header { display: flex; align-items: flex-start; gap: 1.1rem; margin-bottom: 1.25rem; }
.reflection-icon {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--gold), #e8b84b);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.reflection-header h2 { margin-bottom: 0.2rem; font-size: 1.6rem; }
.reflection-subtitle { font-size: 0.78rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.08em; }
.reflection-context {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  background: var(--gray-100);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  font-size: 0.87rem;
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.reflection-context i { color: var(--hci-teal); flex-shrink: 0; margin-top: 2px; }
.reflect-prompts { display: flex; flex-direction: column; gap: 1.25rem; }
.reflect-prompt {}
.prompt-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.6rem;
  line-height: 1.5;
}
.prompt-num {
  width: 24px; height: 24px;
  background: var(--hci-red);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}
.reflect-textarea {
  width: 100%;
  background: white;
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--gray-800);
  line-height: 1.6;
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-height: 90px;
}
.reflect-textarea:focus { outline: none; border-color: var(--hci-teal); box-shadow: 0 0 0 3px rgba(42,122,140,0.12); }
.reflect-textarea::placeholder { color: var(--gray-400); }
.reflection-final-note {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(42,122,140,0.07);
  border: 1px solid rgba(42,122,140,0.2);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.83rem;
  color: var(--hci-teal);
  margin: 1.25rem 0 0;
}
.reflection-final-note i { flex-shrink: 0; }
.reflect-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 1.25rem; gap: 1rem; flex-wrap: wrap; }
.reflect-status { font-size: 0.83rem; flex: 1; }
.btn-reflect-save {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--gold);
  color: white;
  border: none;
  padding: 0.75rem 1.75rem;
  border-radius: 9px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn-reflect-save:hover { background: #b8830f; transform: translateY(-1px); }
.btn-reflect-save.saved { background: var(--green); }

/* ─── SUMMARY SLIDE ───────────────────────────── */
.takeaways-grid { display: flex; flex-direction: column; gap: 0.85rem; margin-bottom: 1.75rem; }
.takeaway-card { display: flex; gap: 1.1rem; background: white; border-radius: var(--radius); padding: 1.1rem; border: 1px solid var(--gray-200); align-items: flex-start; }
.ta-icon { width: 38px; height: 38px; background: linear-gradient(135deg, var(--hci-red), var(--hci-teal)); border-radius: 9px; display: flex; align-items: center; justify-content: center; color: white; font-size: 0.95rem; flex-shrink: 0; }
.ta-body strong { display: block; font-size: 0.88rem; color: var(--navy); margin-bottom: 0.28rem; }
.ta-body p { font-size: 0.82rem; color: var(--gray-600); line-height: 1.5; }
.next-up-box { display: flex; align-items: center; gap: 0.75rem; background: var(--navy); color: white; border-radius: var(--radius); padding: 1rem 1.4rem; font-size: 0.88rem; border-left: 4px solid var(--hci-red); }
.next-up-box i { color: var(--hci-teal-light); font-size: 1.15rem; }

/* ─── QUIZ SLIDE ──────────────────────────────── */
.quiz-header { background: var(--navy); border-radius: var(--radius) var(--radius) 0 0; padding: 1.4rem 1.75rem; border-bottom: 4px solid var(--hci-red); }
.quiz-badge { display: inline-flex; align-items: center; gap: 0.55rem; background: var(--hci-red); color: white; padding: 0.3rem 0.85rem; border-radius: 100px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.5rem; }
.quiz-subtitle { color: rgba(255,255,255,0.75); font-size: 1.05rem; font-weight: 600; }
.quiz-instructions { display: flex; align-items: center; gap: 0.7rem; background: rgba(42,122,140,0.07); border: 1px solid rgba(42,122,140,0.15); border-radius: 0; padding: 0.8rem 1.75rem; font-size: 0.82rem; color: var(--gray-600); }
.quiz-body { padding: 1.25rem 0; }
.quiz-question { background: white; border-radius: var(--radius); border: 1px solid var(--gray-200); padding: 1.4rem; margin-bottom: 1.1rem; }
.q-num { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--hci-teal); margin-bottom: 0.6rem; }
.q-text { font-size: 0.95rem; font-weight: 600; color: var(--navy); line-height: 1.5; margin-bottom: 0.9rem; }
.q-hint { font-size: 0.76rem; color: var(--hci-teal); display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.65rem; }
.quiz-options { display: flex; flex-direction: column; gap: 0.55rem; }
.quiz-opt {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  border-radius: 9px;
  padding: 0.8rem 1rem;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.86rem;
  color: var(--gray-700);
  transition: border-color 0.15s, background 0.15s;
  width: 100%;
}
.quiz-opt:hover:not(:disabled) { border-color: var(--hci-teal); background: var(--hci-teal-pale); color: var(--navy); }
.quiz-opt.selected { border-color: var(--hci-teal); background: var(--hci-teal-pale); color: var(--navy); font-weight: 600; }
.quiz-opt.correct  { border-color: var(--green); background: var(--green-light); color: var(--green); }
.quiz-opt.incorrect{ border-color: var(--red-alert); background: var(--red-pale); color: var(--red-alert); }
.quiz-opt:disabled { cursor: default; }
.opt-letter { width: 25px; height: 25px; background: var(--gray-200); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 700; flex-shrink: 0; color: var(--gray-600); }
.quiz-opt.selected .opt-letter { background: var(--hci-teal); color: white; }
.quiz-opt.correct  .opt-letter { background: var(--green); color: white; }
.quiz-opt.incorrect .opt-letter{ background: var(--red-alert); color: white; }
.opt-text { flex: 1; line-height: 1.4; }
.q-feedback { display: flex; align-items: flex-start; gap: 0.7rem; border-radius: 8px; padding: 0.85rem 1rem; margin-top: 0.7rem; font-size: 0.84rem; line-height: 1.55; }
.q-feedback i { font-size: 0.95rem; flex-shrink: 0; margin-top: 1px; }
.feedback-correct { background: var(--green-light); color: #166534; border: 1px solid #86efac; }
.feedback-correct i { color: var(--green); }
.feedback-wrong   { background: var(--red-pale); color: #991b1b; border: 1px solid #fca5a5; }
.feedback-wrong   i { color: var(--red-alert); }
.quiz-footer { border-top: 1px solid var(--gray-200); padding: 1.1rem 0 0; }
.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--hci-red);
  color: white;
  border: none;
  padding: 0.8rem 1.85rem;
  border-radius: 9px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 14px rgba(165,32,32,0.3);
}
.btn-submit:hover:not(:disabled) { background: var(--hci-red-light); transform: translateY(-1px); }
.btn-submit:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }
.quiz-result { display: flex; align-items: center; gap: 1.4rem; border-radius: var(--radius); padding: 1.2rem 1.4rem; margin-top: 0.9rem; }
.result-pass { background: var(--green-light); border: 2px solid var(--green); }
.result-fail { background: var(--red-pale); border: 2px solid #fca5a5; }
.result-score { text-align: center; flex-shrink: 0; }
.result-num { font-size: 2rem; font-weight: 800; line-height: 1; color: var(--navy); }
.result-pass .result-num { color: var(--green); }
.result-fail .result-num { color: var(--red-alert); }
.result-label { font-size: 0.78rem; font-weight: 700; color: var(--gray-600); margin-top: 0.2rem; }
.result-msg { font-size: 0.86rem; color: var(--gray-700); line-height: 1.6; }
.retry-btn { display: inline-flex; align-items: center; background: var(--navy); color: white; border: none; padding: 0.3rem 0.85rem; border-radius: 6px; font-size: 0.8rem; font-weight: 600; cursor: pointer; font-family: var(--font-body); margin-left: 0.25rem; }

/* ─── CONTROLS ────────────────────────────────── */
.slide-controls { flex-shrink: 0; background: white; border-top: 1px solid var(--gray-200); padding: 0.8rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.ctrl-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1.4rem; border-radius: 8px; font-size: 0.86rem; font-weight: 600; cursor: pointer; font-family: var(--font-body); border: 2px solid transparent; transition: all 0.2s; white-space: nowrap; }
.ctrl-btn.primary { background: var(--hci-red); color: white; box-shadow: 0 4px 12px rgba(165,32,32,0.28); }
.ctrl-btn.primary:hover:not(:disabled) { background: var(--hci-red-light); transform: translateY(-1px); }
.ctrl-btn.secondary { background: white; color: var(--gray-600); border-color: var(--gray-200); }
.ctrl-btn.secondary:hover:not(:disabled) { border-color: var(--gray-400); color: var(--navy); }
.ctrl-btn:disabled { opacity: 0.35; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.slide-dots { display: flex; align-items: center; gap: 0.45rem; flex-wrap: wrap; justify-content: center; }
.dot-group { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--gray-200); background: white; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 0.58rem; color: var(--gray-400); transition: all 0.2s; }
.dot-group:hover { border-color: var(--hci-teal); }
.dot-group.dot-active { background: var(--hci-red); border-color: var(--hci-red); color: white; }
.dot-group.dot-done { background: var(--green-light); border-color: var(--green); color: var(--green); }

/* ─── JOURNAL MODAL ───────────────────────────── */
.modal-overlay { position: fixed; inset: 0; background: rgba(10,22,40,0.85); display: flex; align-items: center; justify-content: center; z-index: 200; backdrop-filter: blur(6px); }
.modal-card { background: white; border-radius: 18px; padding: 2.5rem; max-width: 480px; width: 92%; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,0.4); border-top: 5px solid var(--hci-red); }
.journal-modal-card { max-width: 680px; padding: 0; text-align: left; border-top: 5px solid var(--hci-red); overflow: hidden; max-height: 90vh; display: flex; flex-direction: column; }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 2rem; border-bottom: 1px solid var(--gray-200); background: var(--gray-50); }
.modal-header-left { display: flex; align-items: center; gap: 1rem; }
.modal-logo { height: auto; width: 200px; max-height: 44px; background: transparent; border-radius: 0; padding: 0; object-fit: contain; border: none; }
.modal-header h2 { font-size: 1.15rem; color: var(--navy); margin-bottom: 0.15rem; }
.modal-header p { font-size: 0.75rem; color: var(--gray-400); }
.modal-close { width: 32px; height: 32px; background: var(--gray-100); border: none; border-radius: 50%; font-size: 0.85rem; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--gray-600); transition: background 0.2s; }
.modal-close:hover { background: var(--gray-200); }
.journal-entries-full { flex: 1; overflow-y: auto; padding: 1.5rem 2rem; }
.journal-empty { text-align: center; padding: 3rem; color: var(--gray-400); }
.journal-empty i { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.journal-entry-full { border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; margin-bottom: 1.25rem; }
.je-header { display: flex; align-items: center; gap: 0.65rem; padding: 0.85rem 1.25rem; background: var(--gray-50); border-bottom: 1px solid var(--gray-200); font-size: 0.85rem; color: var(--navy); flex-wrap: wrap; }
.je-header i { color: var(--gold); }
.je-header strong { flex: 1; }
.je-date { font-size: 0.75rem; color: var(--gray-400); }
.je-submitted-badge { background: var(--green-light); color: var(--green); font-size: 0.68rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 100px; display: flex; align-items: center; gap: 0.3rem; }
.je-answer { padding: 0.85rem 1.25rem; border-bottom: 1px solid var(--gray-200); }
.je-answer:last-child { border-bottom: none; }
.je-answer p { font-size: 0.87rem; color: var(--gray-700); line-height: 1.65; white-space: pre-wrap; }
.journal-footer { display: flex; align-items: center; gap: 0.75rem; padding: 1.25rem 2rem; border-top: 1px solid var(--gray-200); background: var(--gray-50); flex-wrap: wrap; }

/* ─── COMPLETION MODAL ────────────────────────── */
.modal-icon-wrap { margin-bottom: 0.75rem; }
.completion-logo { height: auto; width: 240px; max-height: 64px; background: transparent; border-radius: 0; padding: 0; object-fit: contain; border: none; display: block; margin: 0 auto; mix-blend-mode: screen; }
.completion-badge { font-size: 2.5rem; color: var(--gold); margin-bottom: 0.75rem; }
.modal-card h2 { font-family: var(--font-display); font-size: 1.8rem; color: var(--navy); margin-bottom: 0.65rem; }
.modal-card p { font-size: 0.92rem; color: var(--gray-600); line-height: 1.65; margin-bottom: 1.25rem; }
.modal-score { background: var(--gray-100); border-radius: var(--radius); padding: 0.9rem 1.4rem; margin-bottom: 1.5rem; }
.score-row { display: flex; justify-content: space-between; align-items: center; padding: 0.38rem 0; font-size: 0.88rem; color: var(--gray-600); }
.score-row strong { color: var(--navy); font-size: 0.95rem; }
.modal-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.btn-outline { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.65rem 1.25rem; border: 2px solid var(--gray-200); border-radius: 9px; background: white; color: var(--gray-600); font-size: 0.85rem; font-weight: 600; cursor: pointer; font-family: var(--font-body); text-decoration: none; transition: border-color 0.2s, color 0.2s; }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-outline.red:hover { border-color: var(--red-alert); color: var(--red-alert); }
.btn-hci-red { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.65rem 1.4rem; background: var(--hci-red); border-radius: 9px; color: white; font-size: 0.88rem; font-weight: 700; text-decoration: none; cursor: pointer; border: none; font-family: var(--font-body); transition: background 0.2s, transform 0.2s; }
.btn-hci-red:hover { background: var(--hci-red-light); transform: translateY(-1px); }
.btn-hci-teal { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.65rem 1.4rem; background: var(--hci-teal); border-radius: 9px; color: white; font-size: 0.88rem; font-weight: 700; cursor: pointer; border: none; font-family: var(--font-body); transition: background 0.2s; }
.btn-hci-teal:hover { background: var(--hci-teal-light); }

/* ─── IMAGE-CHOICE SLIDE ─────────────────────── */
.slide-image-choice { padding-bottom: 2rem; }
.ic-header { margin-bottom: 1.5rem; }
.ic-scenario {
  font-size: 0.96rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 0.85rem;
  background: var(--gray-100);
  border-left: 4px solid var(--hci-teal);
  padding: 0.85rem 1.1rem;
  border-radius: 0 8px 8px 0;
}
.ic-prompt {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 0.55rem 1.1rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.ic-prompt i { color: var(--hci-teal-light); }

.ic-grid {
  display: grid;
  gap: 1.1rem;
  margin-bottom: 1.25rem;
}
.ic-grid-2 { grid-template-columns: repeat(2, 1fr); }
.ic-grid-3 { grid-template-columns: repeat(3, 1fr); }
.ic-grid-4 { grid-template-columns: repeat(2, 1fr); }

.ic-option {
  border-radius: var(--radius);
  border: 3px solid var(--gray-200);
  background: white;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  position: relative;
}
.ic-option:hover:not(.correct):not(.incorrect) {
  border-color: var(--hci-teal);
  box-shadow: 0 4px 20px rgba(42,122,140,0.2);
  transform: translateY(-2px);
}
.ic-option.selected {
  border-color: var(--hci-teal);
  box-shadow: 0 4px 22px rgba(42,122,140,0.3);
}
.ic-option.correct  { border-color: var(--green); box-shadow: 0 4px 18px rgba(22,163,74,0.25); }
.ic-option.incorrect{ border-color: var(--red-alert); box-shadow: 0 4px 18px rgba(220,38,38,0.2); }

.ic-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--gray-100);
}
.ic-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.ic-option:hover .ic-img-wrap img { transform: scale(1.04); }
.ic-img-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--gray-400);
  background: var(--gray-100);
}

.ic-overlay {
  position: absolute;
  inset: 0;
  background: rgba(42,122,140,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  font-size: 2rem;
  color: white;
}
.ic-option.selected .ic-overlay { opacity: 1; }
.ic-option.correct .ic-overlay { opacity: 1; background: rgba(22,163,74,0.2); }
.ic-option.correct .ic-overlay i { color: var(--green); }
.ic-option.incorrect .ic-overlay { opacity: 1; background: rgba(220,38,38,0.15); }
.ic-option.incorrect .ic-overlay i { color: var(--red-alert); }

.ic-label {
  padding: 0.65rem 0.9rem 0.2rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.ic-sublabel {
  padding: 0 0.9rem 0.7rem;
  font-size: 0.76rem;
  color: var(--gray-400);
  line-height: 1.4;
}

.ic-feedback-box {
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 0.88rem;
  line-height: 1.6;
  animation: slideIn 0.3s ease;
}
.ic-correct  { background: var(--green-light); border: 2px solid var(--green); color: #166534; }
.ic-incorrect{ background: var(--red-pale);    border: 2px solid #fca5a5;     color: #991b1b; }
.ic-fb-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.ic-correct  .ic-fb-icon { color: var(--green); }
.ic-incorrect .ic-fb-icon { color: var(--red-alert); }
.ic-fb-body strong { display: block; font-size: 0.92rem; margin-bottom: 0.4rem; }
.ic-best-practice {
  margin-top: 0.65rem;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  background: rgba(42,122,140,0.1);
  border-radius: 7px;
  padding: 0.6rem 0.85rem;
  font-size: 0.83rem;
  color: var(--hci-teal);
}
.ic-best-practice i { color: var(--gold); flex-shrink: 0; margin-top: 2px; }

.ic-action { display: flex; justify-content: center; margin-top: 0.75rem; }
.btn-ic-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--hci-teal);
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 9px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 14px rgba(42,122,140,0.3);
}
.btn-ic-submit:hover:not(:disabled) { background: var(--hci-teal-light); transform: translateY(-1px); }
.btn-ic-submit:disabled { opacity: 0.35; cursor: not-allowed; box-shadow: none; }

/* ─── DEEP-DIVE SLIDE ─────────────────────────── */
.slide-deep-dive { padding-bottom: 2rem; }
.slide-deep-dive h2 { margin-bottom: 1rem; }
.dd-intro-text {
  font-size: 0.96rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.dd-sections { display: flex; flex-direction: column; gap: 1.25rem; }
.dd-section {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}
.dd-section-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.25rem;
  background: var(--navy);
  border-bottom: 3px solid var(--hci-red);
}
.dd-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hci-teal-light);
  font-size: 0.95rem;
  flex-shrink: 0;
}
.dd-section-head h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  line-height: 1.3;
  margin: 0;
}
.dd-body {
  padding: 1.1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.75;
}
.dd-body p { margin-bottom: 0.75rem; }
.dd-body p:last-child { margin-bottom: 0; }
.dd-body strong { color: var(--navy); }
.dd-body ul { margin: 0.5rem 0 0.75rem 1.1rem; }
.dd-body ul li { margin-bottom: 0.4rem; }

/* ─── VIDEO-REFLECT SLIDE ────────────────────── */
.slide-video-reflect { padding-bottom: 2rem; }
.slide-video-reflect h2 { margin-bottom: 1.1rem; }
.vr-scenario-box {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  border-top: 4px solid var(--hci-teal);
}
.vr-scenario-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hci-teal-light);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.vr-scenario-box p {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin: 0;
}
.vr-prompts { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 1.25rem; }
.vr-prompt {}
.vr-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.6rem;
  line-height: 1.5;
}
.vr-num {
  width: 24px; height: 24px;
  background: var(--hci-teal);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}
.vr-textarea {
  width: 100%;
  background: white;
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--gray-800);
  line-height: 1.6;
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-height: 80px;
}
.vr-textarea:focus { outline: none; border-color: var(--hci-teal); box-shadow: 0 0 0 3px rgba(42,122,140,0.12); }
.vr-textarea::placeholder { color: var(--gray-400); }
.btn-reflect {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--hci-teal);
  color: white;
  border: none;
  padding: 0.75rem 1.75rem;
  border-radius: 9px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 14px rgba(42,122,140,0.25);
}
.btn-reflect:hover:not(:disabled) { background: var(--hci-teal-light); transform: translateY(-1px); }
.btn-reflect:disabled { opacity: 0.35; cursor: not-allowed; box-shadow: none; }
.btn-reflect.saved { background: var(--green); }

/* ─── MODULE 2+ EXTENDED STYLES ─────────────── */

/* Lesson Intro — extended format */
.lesson-intro-icon { font-size: 2.8rem; color: var(--hci-teal); margin-bottom: 0.75rem; }
.lesson-intro-topics { list-style: none; padding: 0; margin: 1rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1.5rem; }
.lesson-intro-topics li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.9rem; color: var(--gray-700); }
.lesson-intro-topics li i { color: var(--hci-teal); margin-top: 0.2rem; flex-shrink: 0; }
.lesson-intro-meta { margin-top: 1rem; font-size: 0.85rem; color: var(--gray-600); display: flex; align-items: center; gap: 0.4rem; }
.lesson-intro-meta i { color: var(--hci-teal); }

/* Stats slide — color variants */
.stat-card--red .stat-big { color: var(--hci-red); }
.stat-card--gold .stat-big { color: var(--gold); }
.stat-sub { font-size: 0.8rem; color: var(--gray-600); margin-top: 0.3rem; font-style: italic; line-height: 1.4; }
.stats-note { margin-top: 1.25rem; }

/* Do-Don't — two-column list format */
.dd-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin: 1rem 0; }
.dd-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.dd-list li { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.875rem; line-height: 1.5; color: var(--gray-700); }
.dd-list li i { margin-top: 0.15rem; flex-shrink: 0; }
.dd-col.do .dd-list li i { color: var(--green); }
.dd-col.dont .dd-list li i { color: var(--red-alert); }
.dd-col.do   { background: #f0fdf4; border: 1.5px solid var(--green);     border-radius: var(--radius); padding: 1rem 1.1rem; }
.dd-col.dont { background: var(--red-pale); border: 1.5px solid #fca5a5; border-radius: var(--radius); padding: 1rem 1.1rem; }

/* Scenario — extended format */
.scenario-discussion { background: var(--hci-teal-pale); border-left: 4px solid var(--hci-teal); padding: 0.9rem 1.1rem; border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 1rem; font-size: 0.9rem; color: var(--gray-700); }
.scenario-discussion i { color: var(--hci-teal); margin-right: 0.4rem; }
.scenario-key-points { display: flex; flex-direction: column; gap: 0.75rem; }
.scenario-key-point { display: flex; align-items: flex-start; gap: 0.85rem; background: white; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 0.85rem 1rem; }
.skp-icon { width: 34px; height: 34px; background: var(--navy); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--hci-teal); flex-shrink: 0; font-size: 0.85rem; }
.scenario-key-point p { font-size: 0.875rem; color: var(--gray-700); line-height: 1.6; margin: 0; }

/* Summary — achievement format */
.summary-subtitle { color: var(--gray-600); font-size: 1rem; margin-bottom: 1.25rem; }
.achievements-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; margin-bottom: 1.5rem; }
.achievement-item { display: flex; align-items: center; gap: 0.75rem; background: white; border: 1px solid var(--gray-200); border-radius: 10px; padding: 0.75rem 1rem; font-size: 0.875rem; color: var(--gray-700); }
.achieve-icon { width: 32px; height: 32px; background: var(--hci-teal-pale); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--hci-teal); flex-shrink: 0; font-size: 0.85rem; }
.next-module-box { background: var(--navy); border-radius: var(--radius); padding: 1.25rem 1.5rem; border-top: 4px solid var(--hci-red); color: white; }
.nm-label { font-size: 0.75rem; font-weight: 600; color: var(--hci-teal-light); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.25rem; }
.nm-num { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-bottom: 0.25rem; }
.next-module-box h3 { font-size: 1.15rem; font-weight: 700; color: white; margin-bottom: 0.5rem; }
.next-module-box p { font-size: 0.875rem; color: rgba(255,255,255,0.75); line-height: 1.6; }

/* IC caption style for Module 2 options */
.ic-caption { padding: 0.6rem 0.75rem; font-size: 0.82rem; color: var(--gray-700); line-height: 1.5; background: var(--gray-50); border-top: 1px solid var(--gray-200); }

/* Image choice grid responsive */
.ic-grid-2 { grid-template-columns: repeat(2, 1fr); }
.ic-grid-3 { grid-template-columns: repeat(3, 1fr); }
.ic-grid-4 { grid-template-columns: repeat(2, 1fr); }

/* Video-reflect — object scenario box */
.vr-scenario-box > div { flex: 1; }
.vr-scenario-box strong { display: block; color: white; font-size: 0.95rem; margin-bottom: 0.4rem; }
.vr-scenario-box p { color: rgba(255,255,255,0.85); font-size: 0.9rem; line-height: 1.65; margin: 0; }

/* ─── PRINT STYLES ───────────────────────────── */
@media print {
  .lesson-nav, .course-header, .slide-controls, .modal-header .modal-close, .journal-footer { display: none !important; }
  .modal-overlay { position: static; background: none; display: block; }
  .journal-modal-card { max-height: none; box-shadow: none; }
}

/* ─── RESPONSIVE ──────────────────────────────── */
@media (max-width: 900px) {
  .lesson-nav { display: none; }
  .slide-title { grid-template-columns: 1fr; }
  .pillars-grid, .stats-grid, .comparison-cols, .dd-cols, .traits-grid, .hiw-grid { grid-template-columns: 1fr; }
  .slide-container { padding: 1.25rem; }
  .course-name { display: none; }
  .header-progress { display: none; }
}
@media (max-width: 600px) {
  .slide-main-title { font-size: 1.7rem; }
  .lesson-intro-title { font-size: 1.8rem; }
  .slide-inner h2 { font-size: 1.35rem; }
  .ctrl-btn { padding: 0.55rem 0.9rem; font-size: 0.78rem; }
  .quiz-header { padding: 1rem 1.25rem; }
  .modal-card { padding: 1.75rem; }
}
