/* ══════════════════════════════════════════════════════════════
   INTERACTIVE MODULE — Scoped styles
   All rules live under .module-shell so nothing leaks to the site.
   Colours reference --color-* CSS variables throughout.
══════════════════════════════════════════════════════════════ */

/* ── Shell wrapper ──────────────────────────────────────────── */

.module-shell {
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 16 / 9;
  background: var(--color-light);
  border-radius: var(--radius-2xl, 16px);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  position: relative;
  font-family: var(--font-body);
  color: var(--color-dark-soft);
}

/* ── Header ─────────────────────────────────────────────────── */

.module-shell .module-header {
  background: var(--color-dark);
  height: 48px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 0;
  flex-shrink: 0;
  position: relative;
  z-index: 30;
}

.module-shell .module-meta {
  font-size: 0.72em;
  color: rgba(255,255,255,0.45);
  font-weight: 400;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-right: auto;
}

.module-shell .module-slide-counter {
  font-family: var(--font-mono);
  font-size: 0.75em;
  color: rgba(255,255,255,0.55);
  padding: 4px 12px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  letter-spacing: 0.06em;
}

/* Fullscreen btn */
.fullscreen-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.55);
  width: 28px;
  height: 28px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  font-size: 0.75em;
  transition: all 0.2s;
}
.fullscreen-btn:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* ── Slide area ─────────────────────────────────────────────── */

.module-shell .slide-area {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.module-shell .slide {
  display: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.module-shell .slide.active {
  display: flex;
  flex-direction: column;
  animation: m-slideEnter 0.45s cubic-bezier(0.16,1,0.3,1) both;
}

@keyframes m-slideEnter {
  from { opacity: 0; transform: translateY(14px) scale(0.99); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.module-shell .slide-inner {
  flex: 1;
  padding: 28px 36px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--color-light-dark) transparent;
}

/* ── Typography helpers ─────────────────────────────────────── */

.module-shell .slide-title {
  font-family: var(--font-heading);
  font-size: 1.45em;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.2;
  margin-bottom: 4px;
}

.module-shell .slide-subtitle {
  font-size: 0.8em;
  color: var(--color-dark-muted);
  margin-bottom: 18px;
  font-weight: 400;
}

/* ── Footer nav ─────────────────────────────────────────────── */

.module-shell .module-footer {
  background: #ffffff;
  border-top: 1px solid var(--color-light-dark);
  height: 44px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
  flex-shrink: 0;
}

.module-shell .progress-track {
  flex: 1;
  height: 3px;
  background: var(--color-light-deep);
  border-radius: 100px;
  overflow: hidden;
}

.module-shell .progress-fill {
  height: 100%;
  background: var(--color-accent);
  border-radius: 100px;
  transition: width 0.4s cubic-bezier(0.4,0,0.2,1);
}

.module-shell .nav-btn {
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--color-light-dark);
  background: #ffffff;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark-muted);
  font-size: 0.8em;
  transition: all 0.2s;
  flex-shrink: 0;
}

.module-shell .nav-btn:hover:not(:disabled) {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: white;
}

.module-shell .nav-btn:disabled { opacity: 0.3; cursor: not-allowed; }

.module-shell .menu-toggle-btn {
  width: 30px;
  height: 30px;
  background: var(--color-accent);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75em;
  transition: all 0.2s;
  flex-shrink: 0;
}

.module-shell .menu-toggle-btn:hover { background: var(--color-accent-dark); }

.module-shell .slide-dots {
  display: flex;
  gap: 4px;
  align-items: center;
}

.module-shell .slide-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-light-dark);
  cursor: pointer;
  transition: all 0.25s;
  border: none;
  padding: 0;
  flex-shrink: 0;
}

.module-shell .slide-dot.active {
  background: var(--color-accent);
  width: 18px;
  border-radius: 100px;
}

/* ── Slide menu overlay ─────────────────────────────────────── */

.module-shell .slide-menu {
  position: absolute;
  inset: 0;
  background: rgba(15,17,23,0.92);
  backdrop-filter: blur(12px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  animation: m-fadeIn 0.25s ease;
}

.module-shell .slide-menu.open { display: flex; }

.module-shell .slide-menu-panel {
  background: #ffffff;
  border-radius: 14px;
  padding: 24px;
  width: 85%;
  max-height: 75%;
  overflow-y: auto;
}

.module-shell .slide-menu-title {
  font-family: var(--font-heading);
  font-size: 1.05em;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-dark);
}

.module-shell .slide-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}

.module-shell .slide-menu-item {
  padding: 12px;
  border: 1.5px solid var(--color-light-dark);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  background: #ffffff;
  font-family: var(--font-body);
  font-size: 0.72em;
  font-weight: 600;
  color: var(--color-dark-soft);
  line-height: 1.3;
}

.module-shell .slide-menu-item:hover {
  border-color: var(--color-accent);
  background: var(--color-highlight);
  color: var(--color-accent);
}

.module-shell .slide-menu-item.current {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: white;
}

/* ── Animations ─────────────────────────────────────────────── */

@keyframes m-fadeIn { from { opacity: 0; } to { opacity: 1; } }

@keyframes m-slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes m-shake {
  0%, 100% { transform: translateX(0); }
  25%       { transform: translateX(-6px); }
  75%       { transform: translateX(6px); }
}

@keyframes m-hotPulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--color-accent) 50%, transparent); }
  50%       { box-shadow: 0 0 0 10px transparent; }
}

.module-shell .stagger {
  opacity: 0;
  animation: m-slideUp 0.55s cubic-bezier(0.16,1,0.3,1) forwards;
}
.module-shell .d1 { animation-delay: 0.05s; }
.module-shell .d2 { animation-delay: 0.10s; }
.module-shell .d3 { animation-delay: 0.18s; }
.module-shell .d4 { animation-delay: 0.26s; }
.module-shell .d5 { animation-delay: 0.34s; }

/* ── Intro slide ────────────────────────────────────────────── */

.module-shell .intro-slide {
  background: linear-gradient(135deg, var(--color-module-gradient-from) 0%, var(--color-module-gradient-to) 100%);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 48px;
  position: relative;
  overflow: hidden;
}

.module-shell .intro-kicker {
  font-size: 0.7em;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.module-shell .intro-title {
  font-family: var(--font-heading);
  font-size: 2.2em;
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: 14px;
}

.module-shell .intro-title em { color: var(--color-accent); font-style: italic; }

.module-shell .intro-desc {
  font-size: 0.85em;
  color: rgba(255,255,255,0.65);
  max-width: 480px;
  line-height: 1.65;
  margin-bottom: 28px;
}

.module-shell .intro-chips { display: flex; gap: 8px; flex-wrap: wrap; }

.module-shell .intro-chip {
  font-size: 0.7em;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

.module-shell .intro-deco {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 220px;
  opacity: 0.12;
}

/* ── Hotspots ───────────────────────────────────────────────── */

.module-shell .hotspot-area {
  position: relative;
  background: linear-gradient(135deg, var(--color-highlight), var(--color-light-deep));
  border-radius: var(--radius-2xl, 16px);
  overflow: visible;
  flex: 1;
  min-height: 200px;
}

.module-shell .hotspot-btn {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  color: white;
  font-weight: 700;
  font-size: 0.75em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  animation: m-hotPulse 2.5s infinite;
  transition: transform 0.2s;
}

.module-shell .hotspot-btn:hover { transform: scale(1.15); }
.module-shell .hotspot-btn.hs-teal   { background: #00a8a8; }
.module-shell .hotspot-btn.hs-coral  { background: #e85d3a; }
.module-shell .hotspot-btn.hs-gold   { background: #c9a84c; }
.module-shell .hotspot-btn.hs-primary { background: var(--color-accent); }

.module-shell .hs-tooltip {
  display: none;
  position: absolute;
  background: #ffffff;
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  width: 200px;
  z-index: 20;
  border: 1px solid var(--color-light-dark);
}

.module-shell .hs-tooltip.show { display: block; animation: m-fadeIn 0.2s ease; }
.module-shell .hs-tooltip h4 { font-size: 0.82em; font-weight: 700; color: var(--color-dark); margin-bottom: 4px; }
.module-shell .hs-tooltip p  { font-size: 0.72em; color: var(--color-dark-muted); line-height: 1.55; }

/* ── Flip cards ─────────────────────────────────────────────── */

.module-shell .flip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  flex: 1;
}

.module-shell .flip-card {
  perspective: 1000px;
  cursor: pointer;
}

.module-shell .flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 120px;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.module-shell .flip-face,
.module-shell .flip-back {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px;
  text-align: center;
}

.module-shell .flip-face {
  background: #ffffff;
  border: 1.5px solid var(--color-light-dark);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.module-shell .flip-card.flipped .flip-inner { transform: rotateY(180deg); }
.module-shell .flip-face:hover { border-color: var(--color-accent); }
.module-shell .flip-back { transform: rotateY(180deg); }
.module-shell .flip-icon  { font-size: 1.8em; margin-bottom: 6px; }
.module-shell .flip-label { font-size: 0.78em; font-weight: 600; color: var(--color-dark); line-height: 1.3; }
.module-shell .flip-back-content { font-size: 0.7em; color: white; line-height: 1.5; }
.module-shell .flip-hint  { font-size: 0.65em; color: var(--color-dark-muted); margin-top: 4px; }

/* ── Tabs ───────────────────────────────────────────────────── */

.module-shell .tab-bar {
  display: flex;
  border-bottom: 2px solid var(--color-light-dark);
  margin-bottom: 16px;
  gap: 0;
}

.module-shell .tab-btn {
  padding: 8px 14px;
  font-size: 0.75em;
  font-weight: 600;
  color: var(--color-dark-muted);
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
  white-space: nowrap;
  font-family: var(--font-body);
}

.module-shell .tab-btn.active { color: var(--color-accent); border-bottom-color: var(--color-accent); }
.module-shell .tab-btn:hover  { color: var(--color-accent); }
.module-shell .tab-pane.active { display: block; animation: m-fadeIn 0.3s ease; }

.module-shell .tab-pane h3 {
  font-family: var(--font-heading);
  font-size: 1.05em;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.module-shell .tab-pane p {
  font-size: 0.78em;
  color: var(--color-dark-soft);
  line-height: 1.65;
  margin-bottom: 10px;
}

.module-shell .tab-list { list-style: none; }

.module-shell .tab-list li {
  font-size: 0.75em;
  color: var(--color-dark-soft);
  padding: 4px 0 4px 16px;
  position: relative;
  line-height: 1.5;
}

.module-shell .tab-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 0.8em;
}

/* ── Video Embed ──────────────────────────────────────────────── */

.module-shell .video-embed {
  flex: 1;
  position: relative;
  border-radius: var(--radius-2xl, 16px);
  overflow: hidden;
  background: #000;
  min-height: 160px;
}

.module-shell .video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.module-shell .video-caption {
  font-size: 0.72em;
  color: var(--color-dark-muted);
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}

/* ── Accordion ──────────────────────────────────────────────── */

.module-shell .accordion { display: flex; flex-direction: column; gap: 8px; }

.module-shell .acc-item {
  border: 1.5px solid var(--color-light-dark);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.module-shell .acc-trigger {
  width: 100%;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-light-overlay);
  border: none;
  cursor: pointer;
  list-style: none;
  text-align: left;
  font-size: 0.8em;
  font-weight: 600;
  color: var(--color-dark);
  transition: background 0.2s;
  font-family: var(--font-body);
}

.module-shell .acc-trigger::-webkit-details-marker { display: none; }
.module-shell .acc-trigger:hover { background: var(--color-highlight); }

.module-shell details[open] .acc-trigger {
  background: var(--color-highlight);
  color: var(--color-accent-dark);
}

.module-shell .acc-icon { font-size: 0.8em; transition: transform 0.3s; flex-shrink: 0; }
.module-shell details[open] .acc-icon { transform: rotate(180deg); }

.module-shell .acc-body-inner { padding: 10px 14px 14px; }
.module-shell .acc-body-inner p { font-size: 0.75em; color: var(--color-dark-soft); line-height: 1.6; margin-bottom: 6px; }

.module-shell .acc-tag {
  display: inline-block;
  font-size: 0.65em;
  padding: 2px 8px;
  border-radius: 100px;
  font-weight: 600;
  margin-right: 4px;
  margin-top: 4px;
}

.module-shell .acc-tag.teal  { background: var(--color-highlight); color: var(--color-accent-dark); }
.module-shell .acc-tag.coral { background: rgba(232,93,58,0.12);  color: #c04020; }
.module-shell .acc-tag.gold  { background: rgba(201,168,76,0.15); color: #8a6020; }

/* ── Before/After slider ────────────────────────────────────── */

.module-shell .comparison-wrap {
  position: relative;
  border-radius: var(--radius-2xl, 16px);
  overflow: hidden;
  height: 100%;
  flex: 1;
  cursor: ew-resize;
  user-select: none;
}

.module-shell .comp-before,
.module-shell .comp-after {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.module-shell .comp-before { background: linear-gradient(135deg, #991b1b, #dc2626); }

.module-shell .comp-after {
  background: linear-gradient(135deg, #15803d, #22c55e);
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}

.module-shell .comp-label { text-align: center; color: white; padding: 20px; }
.module-shell .comp-label h3 { font-family: var(--font-heading); font-size: 1em; font-weight: 700; margin-bottom: 10px; }
.module-shell .comp-label ul { list-style: none; font-size: 0.72em; line-height: 2; opacity: 0.9; text-align: left; }

.module-shell .comp-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: white;
  transform: translateX(-50%);
  z-index: 10;
}

.module-shell .comp-handle {
  position: absolute;
  top: 50%; left: 50%;
  width: 36px; height: 36px;
  background: white;
  border-radius: 50%;
  transform: translate(-50%,-50%);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75em;
  color: var(--color-dark-muted);
  z-index: 11;
}

.module-shell .comp-hint { font-size: 0.65em; color: var(--color-dark-muted); text-align: center; margin-top: 6px; }

/* ── Timeline ───────────────────────────────────────────────── */

.module-shell .timeline { display: flex; flex-direction: column; gap: 0; }

.module-shell .tl-item {
  display: flex;
  gap: 14px;
  padding-bottom: 12px;
  position: relative;
}

.module-shell .tl-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 14px;
  top: 30px; bottom: 0;
  width: 2px;
  background: var(--color-light-dark);
}

.module-shell .tl-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7em; font-weight: 700;
  color: white;
  flex-shrink: 0;
  position: relative; z-index: 1;
}

.module-shell .tl-content { flex: 1; }

.module-shell .tl-content h4 {
  font-size: 0.82em; font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 2px;
  display: flex; align-items: center; gap: 8px;
}

.module-shell .tl-badge {
  font-size: 0.65em;
  padding: 2px 8px;
  border-radius: 100px;
  font-weight: 600;
}

.module-shell .tl-content p { font-size: 0.72em; color: var(--color-dark-muted); line-height: 1.55; }

/* ── Explore / modal ────────────────────────────────────────── */

.module-shell .explore-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.module-shell .explore-card {
  border-radius: var(--radius-xl);
  padding: 18px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
  color: white;
}

.module-shell .explore-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.18); }
.module-shell .explore-emoji { font-size: 1.8em; margin-bottom: 6px; }
.module-shell .explore-name  { font-size: 0.75em; font-weight: 700; }

.module-shell .ff-modal {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(15,17,23,0.75);
  z-index: 100;
  align-items: center;
  justify-content: center;
}

.module-shell .ff-modal.open { display: flex; animation: m-fadeIn 0.2s ease; }

.module-shell .ff-modal-box {
  background: #ffffff;
  border-radius: 14px;
  padding: 24px;
  width: 70%; max-height: 70%;
  overflow-y: auto;
  animation: m-slideUp 0.3s ease;
  position: relative;
}

.module-shell .ff-modal-close {
  position: absolute;
  top: 12px; right: 14px;
  background: none; border: none;
  cursor: pointer;
  font-size: 1.1em;
  color: var(--color-dark-muted);
}

.module-shell .ff-modal-title {
  font-family: var(--font-heading);
  font-size: 1.05em; font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-dark);
}

.module-shell .ff-modal-body { font-size: 0.78em; color: var(--color-dark-soft); line-height: 1.7; }
.module-shell .ff-modal-body strong { color: var(--color-dark); }

/* ── Quiz ───────────────────────────────────────────────────── */

.module-shell .quiz-q { font-size: 0.88em; font-weight: 600; color: var(--color-dark); line-height: 1.55; margin-bottom: 14px; }
.module-shell .quiz-opts { display: flex; flex-direction: column; gap: 7px; }

.module-shell .quiz-opt {
  padding: 10px 14px;
  border: 1.5px solid var(--color-light-dark);
  border-radius: var(--radius-xl);
  background: #ffffff;
  cursor: pointer;
  text-align: left;
  font-size: 0.78em; font-weight: 500;
  color: var(--color-dark-soft);
  transition: all 0.2s;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
}

.module-shell .quiz-opt:hover:not(:disabled) {
  border-color: var(--color-accent);
  background: var(--color-highlight);
  color: var(--color-accent-dark);
}

.module-shell .quiz-opt.correct   { background: #ecfdf5; border-color: #22c55e; color: #15803d; }
.module-shell .quiz-opt.incorrect { background: #fef2f2; border-color: #ef4444; color: #dc2626; }
.module-shell .quiz-opt-letter { font-family: var(--font-mono); font-size: 0.85em; color: var(--color-dark-muted); flex-shrink: 0; }

.module-shell .quiz-feedback { display: none; margin-top: 12px; padding: 10px 14px; border-radius: var(--radius-xl); font-size: 0.78em; font-weight: 600; }
.module-shell .quiz-feedback.show    { display: block; }
.module-shell .quiz-feedback.success { background: #ecfdf5; color: #15803d; }
.module-shell .quiz-feedback.error   { background: #fef2f2; color: #dc2626; }

/* ── Drag & drop ────────────────────────────────────────────── */

.module-shell .sort-zones { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }

.module-shell .sort-zone {
  border-radius: var(--radius-xl);
  padding: 12px;
  min-height: 80px;
}

.module-shell .sort-zone.green-z { background: rgba(107,143,107,0.12); border: 2px dashed #6b8f6b; }
.module-shell .sort-zone.red-z   { background: rgba(232,93,58,0.10);   border: 2px dashed #e85d3a; }
.module-shell .sort-zone-title   { font-size: 0.75em; font-weight: 700; margin-bottom: 8px; }
.module-shell .sort-zone.green-z .sort-zone-title { color: #6b8f6b; }
.module-shell .sort-zone.red-z   .sort-zone-title { color: #e85d3a; }
.module-shell .sort-items { display: flex; flex-wrap: wrap; gap: 6px; }
.module-shell .sort-bank  { display: flex; flex-wrap: wrap; gap: 6px; }

.module-shell .sort-item {
  padding: 6px 12px;
  background: #ffffff;
  border: 1.5px solid var(--color-light-dark);
  border-radius: 100px;
  font-size: 0.7em; font-weight: 500;
  cursor: grab;
  transition: all 0.2s;
  user-select: none;
  color: var(--color-dark-soft);
}

.module-shell .sort-item:hover         { border-color: var(--color-accent); background: var(--color-highlight); }
.module-shell .sort-item.dragging      { opacity: 0.4; }
.module-shell .sort-item.correct-placed { background: rgba(107,143,107,0.15); border-color: #6b8f6b; color: #4a6a4a; cursor: default; }
.module-shell .sort-item.incorrect-placed { border-color: #e85d3a; animation: m-shake 0.4s ease; }

/* ── Fill in the blanks ─────────────────────────────────────── */

.module-shell .blanks-text {
  font-size: 0.9em;
  line-height: 2.2;
  color: var(--color-dark-soft);
  background: #ffffff;
  border-radius: var(--radius-2xl, 16px);
  padding: 20px 24px;
  border: 1.5px solid var(--color-light-dark);
  margin-bottom: 14px;
}

.module-shell .blank-input {
  display: inline-block;
  min-width: 100px;
  border: none;
  border-bottom: 2px solid var(--color-accent);
  background: transparent;
  font-size: 1em;
  font-family: var(--font-body);
  color: var(--color-accent-dark);
  font-weight: 600;
  padding: 0 4px;
  margin: 0 4px;
  outline: none;
}

.module-shell .blank-input::placeholder { color: var(--color-light-dark); }

.module-shell .check-btn {
  padding: 9px 20px;
  background: var(--color-accent);
  color: white;
  border: none;
  border-radius: var(--radius-xl);
  font-size: 0.78em; font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  font-family: var(--font-body);
}

.module-shell .check-btn:hover { background: var(--color-accent-dark); filter: brightness(0.9); }

.module-shell .blanks-result { display: none; margin-top: 10px; padding: 10px 14px; border-radius: var(--radius-xl); font-size: 0.75em; font-weight: 600; }
.module-shell .blanks-result.show    { display: block; }
.module-shell .blanks-result.success { background: #ecfdf5; color: #15803d; }
.module-shell .blanks-result.error   { background: #fef2f2; color: #dc2626; }

.module-shell .hint-box {
  background: rgba(201,168,76,0.12);
  border-left: 3px solid #c9a84c;
  padding: 8px 12px;
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
  font-size: 0.72em;
  color: #7a5a10;
  margin-top: 10px;
}

/* ── Gallery ────────────────────────────────────────────────── */

.module-shell .gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

.module-shell .gallery-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  border: 1.5px solid var(--color-light-dark);
  background: #ffffff;
  transition: all 0.2s;
}

.module-shell .gallery-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); border-color: var(--color-accent); }
.module-shell .gallery-img  { height: 80px; display: flex; align-items: center; justify-content: center; font-size: 2em; }
.module-shell .gallery-info { padding: 8px 10px; }
.module-shell .gallery-info h4 { font-size: 0.75em; font-weight: 700; color: var(--color-dark); margin-bottom: 2px; }
.module-shell .gallery-info p  { font-size: 0.65em; color: var(--color-dark-muted); line-height: 1.4; }

/* ── Two-column ─────────────────────────────────────────────── */

.module-shell .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.module-shell .col-card { border-radius: var(--radius-2xl, 16px); padding: 18px; }
.module-shell .col-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.module-shell .col-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.9em; flex-shrink: 0; }
.module-shell .col-card-head h3 { font-family: var(--font-heading); font-size: 0.9em; font-weight: 700; color: var(--color-dark); }
.module-shell .col-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.module-shell .col-list li { font-size: 0.72em; color: var(--color-dark-soft); display: flex; gap: 8px; line-height: 1.5; }
.module-shell .col-bullet { font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ── Takeaway slide ─────────────────────────────────────────── */

.module-shell .takeaway-slide {
  background: linear-gradient(135deg, var(--color-module-gradient-from) 0%, var(--color-module-gradient-to) 100%);
  padding: 36px 48px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.module-shell .takeaway-kicker {
  font-size: 0.65em;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.module-shell .takeaway-quote {
  font-family: var(--font-heading);
  font-size: 1.6em;
  font-style: italic;
  color: white;
  line-height: 1.45;
  margin-bottom: 20px;
  max-width: 600px;
}

.module-shell .takeaway-body { font-size: 0.8em; color: rgba(255,255,255,0.65); max-width: 540px; line-height: 1.7; margin-bottom: 24px; }
.module-shell .takeaway-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 560px;
}

.module-shell .takeaway-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82em;
  color: rgba(255,255,255,0.75);
  line-height: 1.55;
}

.module-shell .takeaway-point-marker {
  color: var(--color-accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}


/* ── Process steps ──────────────────────────────────────────── */

.module-shell .process-steps { display: flex; flex-direction: column; gap: 0; margin-top: 8px; }
.module-shell .process-step  { display: flex; gap: 16px; align-items: flex-start; }
.module-shell .process-step-left { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }

.module-shell .process-step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85em; font-weight: 700;
  flex-shrink: 0;
}

.module-shell .process-step-line {
  width: 2px; flex: 1; min-height: 20px;
  background: var(--color-light-dark);
  margin: 4px 0;
}

.module-shell .process-step-content { padding-bottom: 20px; flex: 1; }

.module-shell .process-step-heading {
  font-weight: 700; font-size: 0.95em;
  color: var(--color-dark);
  margin-bottom: 4px; line-height: 1.3; margin-top: 6px;
}

.module-shell .process-step-tag {
  display: inline-block; font-size: 0.7em; font-weight: 600;
  padding: 2px 8px; border-radius: 100px; margin-bottom: 6px;
}

.module-shell .process-step-body { font-size: 0.85em; color: var(--color-dark-muted); line-height: 1.6; margin: 0; }

/* ── Stats grid ─────────────────────────────────────────────── */

.module-shell .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 16px; margin-top: 16px; }

.module-shell .stat-card { text-align: center; padding: 20px 12px; background: #ffffff; border-radius: var(--radius-2xl, 16px); border: 1.5px solid var(--color-light-dark); }

.module-shell .stat-num { font-family: var(--font-heading); font-size: 2em; font-weight: 800; line-height: 1; margin-bottom: 6px; }
.module-shell .stat-label { font-size: 0.72em; color: var(--color-dark-muted); line-height: 1.4; }
.module-shell .stat-sub { font-size: 0.65em; color: var(--color-dark-muted); margin-top: 4px; opacity: 0.7; }

/* ── Text slide ─────────────────────────────────────────────── */

.module-shell .text-blocks {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.module-shell .text-block-heading {
  font-family: var(--font-heading);
  font-size: 0.95em;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.module-shell .text-block-body {
  font-size: 0.82em;
  color: var(--color-dark-soft);
  line-height: 1.75;
}

/* ── Text + image slide ─────────────────────────────────────── */

.module-shell .text-image-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  flex: 1;
  align-items: center;
}

.module-shell .text-image-layout.reverse {
  direction: rtl;
}

.module-shell .text-image-layout.reverse > * {
  direction: ltr;
}

.module-shell .text-image-content { display: flex; flex-direction: column; gap: 12px; }

.module-shell .text-image-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.module-shell .text-image-points li {
  font-size: 0.78em;
  color: var(--color-dark-soft);
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}

.module-shell .text-image-points li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 0.8em;
}

.module-shell .text-image-visual {
  border-radius: var(--radius-2xl, 16px);
  overflow: hidden;
  background: var(--color-light-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  height: 100%;
}

.module-shell .text-image-emoji {
  font-size: 5em;
}

/* ── Callout slide ──────────────────────────────────────────── */

.module-shell .callout-block {
  border-left: 4px solid;
  border-radius: 0 16px 16px 0;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.module-shell .callout-block.callout-full {
  flex: 1;
  border-left: none;
  border-radius: var(--radius-2xl, 16px);
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 36px 48px;
}

.module-shell .callout-icon {
  font-size: 1.6em;
}

.module-shell .callout-full-title {
  font-family: var(--font-heading);
  font-size: 1.4em;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.module-shell .callout-body {
  font-size: 0.85em;
  color: var(--color-dark-soft);
  line-height: 1.7;
}

/* ── Long text slide ────────────────────────────────────────── */

.module-shell .long-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: var(--color-light-dark) transparent;
  padding-right: 4px;
}

.module-shell .long-text-heading {
  font-family: var(--font-heading);
  font-size: 0.95em;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 2px;
}

.module-shell .long-text-body {
  font-size: 0.8em;
  color: var(--color-dark-soft);
  line-height: 1.75;
  margin: 0;
}

.module-shell .long-text-quote {
  border-left: 3px solid var(--color-accent);
  padding: 10px 16px;
  background: var(--color-light-overlay);
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
  font-style: italic;
  font-size: 0.85em;
  color: var(--color-dark-soft);
  line-height: 1.65;
  margin: 0;
}

.module-shell .long-text-cite {
  display: block;
  font-size: 0.8em;
  font-style: normal;
  color: var(--color-dark-muted);
  margin-top: 6px;
}

.module-shell .long-text-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.module-shell .long-text-list li {
  font-size: 0.8em;
  color: var(--color-dark-soft);
  padding-left: 14px;
  position: relative;
  line-height: 1.55;
}

.module-shell .long-text-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 0.8em;
}

/* ── Full image slide ───────────────────────────────────────── */

.module-shell .image-full-slide {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-light-overlay);
  overflow: hidden;
}

.module-shell .image-full-emoji {
  font-size: 6em;
  opacity: 0.85;
}

.module-shell .image-full-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(15,17,23,0.85), transparent);
  padding: 28px 36px 24px;
}

.module-shell .image-full-heading {
  font-family: var(--font-heading);
  font-size: 1.3em;
  font-weight: 700;
  color: white;
  margin-bottom: 6px;
}

.module-shell .image-full-body {
  font-size: 0.8em;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  max-width: 500px;
}

/* ── Matching slide ─────────────────────────────────────────── */

.module-shell .matching-instruction {
  font-size: 0.75em;
  color: var(--color-dark-muted);
  font-style: italic;
  margin-bottom: 10px;
}

.module-shell .matching-arena {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  flex: 1;
  align-content: start;
}

.module-shell .matching-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.module-shell .matching-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1.5px solid var(--color-light-dark);
  border-radius: var(--radius-xl);
  background: #ffffff;
  cursor: pointer;
  font-size: 0.78em;
  font-weight: 500;
  color: var(--color-dark-soft);
  font-family: var(--font-body);
  text-align: left;
  transition: all 0.18s;
  width: 100%;
  line-height: 1.4;
}

.module-shell .matching-item:hover:not(:disabled) {
  border-color: var(--color-accent);
  background: var(--color-highlight);
  color: var(--color-accent-dark);
}

.module-shell .matching-item--right {
  flex-direction: row-reverse;
  text-align: right;
}

.module-shell .matching-connector {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-light-dark);
  flex-shrink: 0;
  transition: background 0.18s;
}

/* States */
.module-shell .matching-item.is-selected {
  border-color: var(--color-accent);
  background: var(--color-highlight);
  color: var(--color-accent-dark);
  box-shadow: 0 0 0 3px var(--color-highlight);
}

.module-shell .matching-item.is-selected .matching-connector {
  background: var(--color-accent);
}

.module-shell .matching-item.is-matched {
  border-color: #22c55e;
  background: #ecfdf5;
  color: #15803d;
  cursor: default;
}

.module-shell .matching-item.is-matched .matching-connector {
  background: #22c55e;
}

.module-shell .matching-item.is-wrong {
  border-color: #ef4444;
  background: #fef2f2;
  animation: m-shake 0.4s ease;
}

/* Progress bar */
.module-shell .matching-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.module-shell .matching-progress-track {
  flex: 1;
  height: 3px;
  background: var(--color-light-deep);
  border-radius: 100px;
  overflow: hidden;
}

.module-shell .matching-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--color-accent);
  border-radius: 100px;
  transition: width 0.35s cubic-bezier(0.4,0,0.2,1);
}

.module-shell .matching-progress-label {
  font-size: 0.72em;
  color: var(--color-dark-muted);
  white-space: nowrap;
  font-family: var(--font-mono);
}

/* ── True / False slide ─────────────────────────────────────── */

.module-shell .tf-statement-card {
  background: #ffffff;
  border: 1.5px solid var(--color-light-dark);
  border-radius: var(--radius-2xl, 16px);
  padding: 20px 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.module-shell .tf-statement {
  font-size: 0.9em;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.6;
  margin: 0;
}

.module-shell .tf-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 14px;
}

.module-shell .tf-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 40px;
  border-radius: var(--radius-2xl, 16px);
  border: 2px solid var(--color-light-dark);
  background: #ffffff;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.82em;
  font-weight: 700;
  color: var(--color-dark-soft);
  transition: all 0.18s;
  min-width: 120px;
  letter-spacing: 0.02em;
}

.module-shell .tf-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.module-shell .tf-btn--true:hover:not(:disabled) {
  border-color: #22c55e;
  background: #ecfdf5;
  color: #15803d;
}

.module-shell .tf-btn--false:hover:not(:disabled) {
  border-color: #ef4444;
  background: #fef2f2;
  color: #dc2626;
}

.module-shell .tf-btn-icon {
  font-size: 1.6em;
  line-height: 1;
}

.module-shell .tf-btn--true  .tf-btn-icon { color: #22c55e; }
.module-shell .tf-btn--false .tf-btn-icon { color: #ef4444; }

.module-shell .tf-btn:disabled { cursor: default; }

.module-shell .tf-btn--correct {
  border-color: #22c55e !important;
  background: #ecfdf5 !important;
  color: #15803d !important;
}

.module-shell .tf-btn--wrong {
  border-color: #ef4444 !important;
  background: #fef2f2 !important;
  color: #dc2626 !important;
  animation: m-shake 0.4s ease;
}

/* ── Scenario slide ─────────────────────────────────────────── */

.module-shell .scenario-context {
  background: var(--color-light-overlay);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
  padding: 12px 16px;
  margin-bottom: 14px;
}

.module-shell .scenario-context-kicker {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68em;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 6px;
}

.module-shell .scenario-context-text {
  font-size: 0.78em;
  color: var(--color-dark-soft);
  line-height: 1.65;
  margin: 0;
}

.module-shell .scenario-questions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: var(--color-light-dark) transparent;
}

.module-shell .scenario-q {
  background: #ffffff;
  border: 1.5px solid var(--color-light-dark);
  border-radius: var(--radius-xl);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s;
}

.module-shell .scenario-q:focus-within {
  border-color: var(--color-accent);
}

.module-shell .scenario-q-header {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.module-shell .scenario-q-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-accent);
  color: white;
  font-size: 0.68em;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.module-shell .scenario-q-text {
  font-size: 0.8em;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.5;
  margin: 0;
}

.module-shell .scenario-q-guidance {
  font-size: 0.72em;
  color: var(--color-dark-muted);
  font-style: italic;
  margin: 0;
  display: flex;
  gap: 5px;
  align-items: flex-start;
}

.module-shell .scenario-q-textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1.5px solid var(--color-light-dark);
  border-radius: var(--radius-xl);
  background: var(--color-light-overlay);
  font-family: var(--font-body);
  font-size: 0.75em;
  color: var(--color-dark-soft);
  line-height: 1.55;
  resize: vertical;
  min-height: 60px;
  transition: border-color 0.15s, background 0.15s;
}

.module-shell .scenario-q-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: #ffffff;
}

.module-shell .scenario-q-textarea::placeholder {
  color: var(--color-dark-muted);
  font-style: italic;
}

.module-shell .scenario-q-reveal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1.5px solid var(--color-light-dark);
  border-radius: var(--radius-xl);
  background: #ffffff;
  font-family: var(--font-body);
  font-size: 0.72em;
  font-weight: 600;
  color: var(--color-dark-muted);
  cursor: pointer;
  transition: all 0.15s;
  align-self: flex-start;
}

.module-shell .scenario-q-reveal:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.module-shell .scenario-q-reveal-icon {
  font-size: 0.8em;
  transition: transform 0.2s;
}

.module-shell .scenario-q-answer {
  background: #ecfdf5;
  border: 1px solid #86efac;
  border-radius: var(--radius-xl);
  padding: 10px 12px;
  animation: m-fadeIn 0.2s ease;
}

.module-shell .scenario-q-answer-label {
  font-size: 0.65em;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #15803d;
  margin-bottom: 4px;
}

.module-shell .scenario-q-answer p {
  font-size: 0.75em;
  color: var(--color-dark-soft);
  line-height: 1.6;
  margin: 0;
}

.module-shell .scenario-footer {
  font-size: 0.7em;
  color: var(--color-dark-muted);
  font-style: italic;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--color-light-dark);
}

/* ── Objectives slide ───────────────────────────────────────── */

.module-shell .objectives-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.module-shell .objectives-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75em;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.module-shell .objectives-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.module-shell .objectives-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 16px;
  background: #ffffff;
  border: 1.5px solid var(--color-light-dark);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
  opacity: 0;
  animation: m-slideUp 0.55s cubic-bezier(0.16,1,0.3,1) forwards;
}

.module-shell .objectives-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-accent);
  color: white;
  font-size: 0.68em;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.module-shell .objectives-text {
  font-size: 0.88em;
  color: var(--color-dark-soft);
  line-height: 1.55;
}


/* ══════════════════════════════════════════════════════════════
   FONT SIZE FIX — append to interactive_module.css

   Goals:
   · Use rem at the shell root so browser zoom and user font
     preferences are respected
   · Raise the em floor so no reading content falls below ~13px
     at a 16px browser default
   · Leave decorative/chrome elements (tags, badges, kickers,
     counters, dots) at their original smaller sizes — they are
     not reading content

   Note: The 16:9 fixed aspect-ratio shell may overflow at very
   large user font sizes or narrow viewports. This is a layout
   concern flagged for the accessibility audit workstream.
══════════════════════════════════════════════════════════════ */

/* ── Shell root — rem so zoom works ────────────────────────── */

.module-shell {
  font-size: 1rem; /* inherits browser default, scales with zoom */
}

/* ── Slide title and subtitle ───────────────────────────────── */
/* slide-title was 1.45em (~23px) — fine, leave it             */

.module-shell .slide-subtitle { font-size: 0.9em; }   /* ~14px — was 0.80 */

/* ── Intro slide ────────────────────────────────────────────── */

.module-shell .intro-desc { font-size: 0.95em; }      /* ~15px — was 0.85 */
/* intro-kicker and intro-chip are decorative — leave at 0.70 */

/* ── Hotspots ───────────────────────────────────────────────── */

.module-shell .hs-tooltip h4 { font-size: 0.88em; }   /* ~14px — was 0.82 */
.module-shell .hs-tooltip p  { font-size: 0.82em; }   /* ~13px — was 0.72 */

/* ── Flip cards ─────────────────────────────────────────────── */

.module-shell .flip-label        { font-size: 0.88em; } /* ~14px — was 0.78 */
.module-shell .flip-back-content { font-size: 0.82em; } /* ~13px — was 0.70 */
/* flip-hint is a decorative prompt — leave at 0.65 */

/* ── Tabs ───────────────────────────────────────────────────── */

.module-shell .tab-btn     { font-size: 0.82em; }      /* ~13px — was 0.75 */
.module-shell .tab-pane p  { font-size: 0.88em; }      /* ~14px — was 0.78 */
.module-shell .tab-list li { font-size: 0.85em; }      /* ~13.5px — was 0.75 */

/* ── Accordion ──────────────────────────────────────────────── */

.module-shell .acc-trigger      { font-size: 0.92em; } /* ~14.5px — was 0.80 */
.module-shell .acc-body-inner p { font-size: 0.88em; } /* ~14px   — was 0.75 */
/* acc-tag is a decorative badge — leave at 0.65 */

/* ── Before/after ───────────────────────────────────────────── */

.module-shell .comp-label ul { font-size: 0.82em; }    /* ~13px — was 0.72 */
/* comp-hint is decorative — leave at 0.65 */

/* ── Timeline ───────────────────────────────────────────────── */

.module-shell .tl-content h4 { font-size: 0.92em; }   /* ~14.5px — was 0.82 */
.module-shell .tl-content p  { font-size: 0.82em; }   /* ~13px   — was 0.72 */
/* tl-badge is a decorative label — leave at 0.65 */

/* ── Explore / modal ────────────────────────────────────────── */

.module-shell .explore-name   { font-size: 0.82em; }   /* ~13px — was 0.75 */
.module-shell .ff-modal-body  { font-size: 0.88em; }   /* ~14px — was 0.78 */

/* ── Quiz ───────────────────────────────────────────────────── */

.module-shell .quiz-q        { font-size: 1.00em; }    /* 16px  — was 0.88 */
.module-shell .quiz-opt      { font-size: 0.88em; }    /* ~14px — was 0.78 */
.module-shell .quiz-feedback { font-size: 0.88em; }    /* ~14px — was 0.78 */

/* ── Drag & drop ────────────────────────────────────────────── */

.module-shell .sort-zone-title { font-size: 0.82em; }  /* ~13px — was 0.75 */
.module-shell .sort-item       { font-size: 0.82em; }  /* ~13px — was 0.70 */

/* ── Fill in the blanks ─────────────────────────────────────── */

.module-shell .blanks-text   { font-size: 1.00em; }    /* 16px  — was 0.90 */
.module-shell .check-btn     { font-size: 0.88em; }    /* ~14px — was 0.78 */
.module-shell .blanks-result { font-size: 0.85em; }    /* ~13.5px — was 0.75 */
.module-shell .hint-box      { font-size: 0.82em; }    /* ~13px — was 0.72 */

/* ── Gallery ────────────────────────────────────────────────── */

.module-shell .gallery-info h4 { font-size: 0.85em; }  /* ~13.5px — was 0.75 */
.module-shell .gallery-info p  { font-size: 0.82em; }  /* ~13px   — was 0.65 */

/* ── Two-column ─────────────────────────────────────────────── */

.module-shell .col-card-head h3 { font-size: 0.95em; } /* ~15px — was 0.90 */
.module-shell .col-list li      { font-size: 0.82em; } /* ~13px — was 0.72 */

/* ── Takeaway ───────────────────────────────────────────────── */

.module-shell .takeaway-body { font-size: 0.88em; }    /* ~14px — was 0.80 */
/* takeaway-kicker and takeaway-stat-label are decorative */

/* ── Process steps ──────────────────────────────────────────── */

.module-shell .process-step-heading { font-size: 1.00em; } /* 16px  — was 0.95 */
.module-shell .process-step-body    { font-size: 0.88em; } /* ~14px — was 0.85 */
/* process-step-tag is a decorative badge */

/* ── Stats ──────────────────────────────────────────────────── */

.module-shell .stat-label { font-size: 0.82em; }       /* ~13px — was 0.72 */
/* stat-sub is secondary/decorative */

/* ── Text blocks ────────────────────────────────────────────── */

.module-shell .text-block-body { font-size: 0.90em; }  /* ~14.5px — was 0.82 */

/* ── Text + image ───────────────────────────────────────────── */

.module-shell .text-image-points li { font-size: 0.88em; } /* ~14px — was 0.78 */

/* ── Long text ──────────────────────────────────────────────── */

.module-shell .long-text-heading { font-size: 1.00em; } /* 16px  — was 0.95 */
.module-shell .long-text-body    { font-size: 0.88em; } /* ~14px — was 0.80 */
.module-shell .long-text-quote   { font-size: 0.90em; } /* ~14.5px — was 0.85 */
.module-shell .long-text-list li { font-size: 0.88em; } /* ~14px — was 0.80 */

/* ── Callout ────────────────────────────────────────────────── */

.module-shell .callout-body { font-size: 0.92em; }     /* ~14.5px — was 0.85 */

/* ── Slide menu ─────────────────────────────────────────────── */

.module-shell .slide-menu-item { font-size: 0.82em; }  /* ~13px — was 0.72 */

/* ── New slide types (matching / true-false / scenario) ─────── */

.module-shell .matching-instruction    { font-size: 0.82em; } /* ~13px */
.module-shell .matching-item           { font-size: 0.88em; } /* ~14px */
.module-shell .matching-progress-label { font-size: 0.82em; } /* ~13px */

.module-shell .tf-statement { font-size: 1.00em; }     /* 16px */
.module-shell .tf-btn       { font-size: 0.92em; }     /* ~14.5px */

.module-shell .scenario-context-text { font-size: 0.88em; } /* ~14px */
.module-shell .scenario-q-text       { font-size: 0.92em; } /* ~14.5px */
.module-shell .scenario-q-guidance   { font-size: 0.82em; } /* ~13px */
.module-shell .scenario-q-answer p   { font-size: 0.85em; } /* ~13.5px */
/* scenario-context-kicker and scenario-footer are decorative */