/* =====================================================
   MENTOR NOTE
===================================================== */
.mentor-note {
  margin: 0 16px 16px;
  background: var(--sage-10);
  border: 1px solid var(--sage-30);
  border-left: 3px solid var(--sage);
  border-radius: 4px 12px 12px 4px;
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  animation: fadeIn 0.4s ease forwards;
}

.mentor-note-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--sage);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.mentor-note-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--slate);
}

/* =====================================================
   CTA BUTTONS
===================================================== */
.cta-btn {
  display: block;
  width: calc(100% - 32px);
  margin: 0 16px 20px;
  padding: 14px;
  background: var(--sage);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.cta-btn:hover  { background: var(--sage-dark); }
.cta-btn:active { transform: scale(0.98); }

.cta-btn.purple {
  background: var(--purple);
}
.cta-btn.purple:hover { background: var(--purple-light); }

/* =====================================================
   PHASE 1: CHAT COMPONENTS
===================================================== */
.chat-header {
  flex-shrink: 0;
  padding: 14px 16px 10px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-header-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--sage);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.chat-header-info .chat-name {
  font-size: 14px; font-weight: 700; color: var(--charcoal);
}

.chat-header-info .chat-status {
  font-size: 11px; color: var(--sage);
  display: flex; align-items: center; gap: 4px;
}

.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sage);
  display: inline-block;
}

#chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  -webkit-overflow-scrolling: touch;
}

.msg-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  animation: fadeIn 0.35s ease forwards;
}

.msg-row.user { flex-direction: row-reverse; }

.msg-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  align-self: flex-end;
}

.msg-avatar.user-av { background: var(--slate); }

.msg-bubble {
  max-width: 78%;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--charcoal);
}

.msg-bubble.ai {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--sage);
  border-radius: 4px 16px 16px 4px;
}

.msg-bubble.user {
  background: var(--sage-12);
  border: 1px solid var(--sage-30);
  border-radius: 16px 4px 4px 16px;
}

.typing-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  animation: fadeIn 0.3s ease;
}

.typing-bubble {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--sage);
  border-radius: 4px 16px 16px 4px;
  padding: 12px 16px;
  display: flex;
  gap: 5px;
  align-items: center;
}

.typing-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sage);
  animation: bounce 1.2s infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.15s; }
.typing-dot:nth-child(3) { animation-delay: 0.30s; }

#chat-input-bar {
  flex-shrink: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 10px 14px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

#chat-input {
  flex: 1;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 10px 16px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--charcoal);
  outline: none;
  resize: none;
  line-height: 1.4;
  max-height: 100px;
  transition: border-color 0.2s;
}

#chat-input:focus { border-color: var(--sage); }
#chat-input::placeholder { color: var(--muted); }

/* Transition CTA inside chat */
.chat-cta-row {
  padding: 8px 16px 4px;
  animation: fadeIn 0.5s ease forwards;
}

.chat-cta-btn {
  width: 100%;
  padding: 12px;
  background: var(--sage);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.chat-cta-btn:hover { background: var(--sage-dark); }

/* =====================================================
   PHASE 2: ASSESSMENT COMPONENTS
===================================================== */
.assess-card {
  margin: 0 16px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  animation: fadeIn 0.4s ease forwards;
}

.assess-q-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.assess-q-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 14px;
  line-height: 1.4;
}

.assess-textarea {
  width: 100%;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--charcoal);
  outline: none;
  resize: none;
  line-height: 1.5;
  transition: border-color 0.2s;
  height: 80px;
}

.assess-textarea:focus { border-color: var(--sage); }

.assess-submit {
  width: 100%;
  margin-top: 10px;
  padding: 11px;
  background: var(--sage);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.assess-submit:hover { background: var(--sage-dark); }

.eval-card {
  margin: 0 16px 14px;
  background: var(--sage-10);
  border: 1px solid var(--sage-30);
  border-radius: 12px;
  padding: 14px;
  animation: fadeIn 0.4s ease forwards;
}

.eval-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 6px;
}

.eval-text {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.5;
}

.mc-option {
  width: 100%;
  margin-bottom: 8px;
  padding: 11px 14px;
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--charcoal);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
}

.mc-option:hover { border-color: var(--sage); background: var(--sage-10); }

.mc-option.correct {
  background: var(--sage-12);
  border-color: var(--sage);
  color: var(--sage-dark);
}

.mc-option.incorrect {
  background: rgba(220, 38, 38, 0.06);
  border-color: var(--red);
  color: var(--red);
}

.gap-card {
  margin: 0 16px 14px;
  background: var(--amber-12);
  border: 1px solid var(--amber-25);
  border-radius: 12px;
  padding: 14px;
  animation: fadeIn 0.4s ease forwards;
}

.gap-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 8px;
}

.gap-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--slate);
}

.gap-item::before {
  content: "•";
  color: var(--amber);
  font-size: 16px;
  line-height: 1.3;
  flex-shrink: 0;
}

/* =====================================================
   PHASE 3: CURRICULUM / LEARN COMPONENTS
===================================================== */
.module-card {
  margin: 0 16px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  animation: fadeIn 0.4s ease forwards;
  transition: box-shadow 0.2s;
}

.module-card:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.07); }

.module-header {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.module-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--sage-10);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.module-title { font-size: 14px; font-weight: 700; color: var(--charcoal); }
.module-meta  { font-size: 11px; color: var(--muted); margin-top: 1px; }

.module-chevron {
  margin-left: auto;
  font-size: 14px;
  color: var(--muted);
  transition: transform 0.25s;
}

.module-card.expanded .module-chevron { transform: rotate(90deg); }

.module-body {
  display: none;
  padding: 0 16px 16px;
  border-top: 1px solid var(--border);
  animation: fadeIn 0.3s ease;
}

.module-card.expanded .module-body { display: block; }

.module-text {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.65;
  margin-top: 12px;
  margin-bottom: 12px;
}

.key-term {
  display: inline-block;
  background: var(--sage-10);
  border: 1px solid var(--sage-30);
  border-radius: 6px;
  padding: 1px 7px;
  font-size: 12px;
  font-weight: 700;
  color: var(--sage-dark);
  margin: 2px;
}

.inline-quiz {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 10px;
}

.inline-quiz-q {
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.inline-quiz-opts {
  display: flex;
  gap: 8px;
}

.quiz-chip {
  flex: 1;
  padding: 8px 10px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}

.quiz-chip:hover { border-color: var(--sage); background: var(--sage-10); }
.quiz-chip.correct { background: var(--sage-12); border-color: var(--sage); color: var(--sage-dark); }
.quiz-chip.wrong   { background: rgba(220,38,38,0.06); border-color: var(--red); color: var(--red); }

.module-done-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--sage-12);
  border: 1px solid var(--sage-30);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--sage-dark);
  margin-top: 10px;
}

/* =====================================================
   PHASE 4: DEBATE COMPONENTS
===================================================== */
.opponent-card {
  margin: 0 16px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: fadeIn 0.4s ease forwards;
}

.opponent-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--purple-8);
  border: 2px solid rgba(85,63,91,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.opponent-name  { font-size: 15px; font-weight: 700; color: var(--charcoal); }
.opponent-title { font-size: 12px; color: var(--muted); margin-top: 1px; }

.opponent-tag {
  margin-left: auto;
  background: var(--purple-8);
  border: 1px solid rgba(85,63,91,0.2);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--purple);
}

.debate-msg-row {
  display: flex;
  gap: 8px;
  margin: 0 16px 12px;
  animation: fadeIn 0.35s ease forwards;
}

.debate-msg-row.user-row { flex-direction: row-reverse; }

.debate-av {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  align-self: flex-end;
}

.debate-av.skeptic-av { background: var(--purple-8); border: 1.5px solid rgba(85,63,91,0.3); }
.debate-av.user-av    { background: var(--slate); color: var(--white); font-weight: 700; }

.debate-bubble {
  max-width: 80%;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.55;
}

.debate-bubble.skeptic {
  background: var(--purple-8);
  border: 1px solid rgba(85,63,91,0.2);
  border-left: 3px solid var(--purple);
  border-radius: 4px 16px 16px 4px;
  color: var(--charcoal);
}

.debate-bubble.user-say {
  background: var(--sage-12);
  border: 1px solid var(--sage-30);
  border-radius: 16px 4px 4px 16px;
  color: var(--charcoal);
}

.debate-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 4px;
}

.approach-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px;
  margin-bottom: 12px;
  animation: fadeIn 0.4s ease forwards;
}

.approach-chip {
  padding: 7px 13px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  color: var(--slate);
  cursor: pointer;
  transition: all 0.2s;
}

.approach-chip:hover { border-color: var(--sage); background: var(--sage-10); color: var(--sage-dark); }
.approach-chip.selected { border-color: var(--sage); background: var(--sage-12); color: var(--sage-dark); }

.coaching-tip {
  margin: 0 16px 12px;
  background: var(--amber-12);
  border: 1px solid var(--amber-25);
  border-left: 3px solid var(--amber);
  border-radius: 4px 10px 10px 4px;
  padding: 10px 12px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  animation: slideInLeft 0.4s ease forwards;
}

.coaching-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 3px;
}

.coaching-text { font-size: 12px; color: var(--slate); line-height: 1.5; }

/* =====================================================
   PHASE 5: SCORE COMPONENTS
===================================================== */
.score-hero {
  margin: 0 16px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  animation: fadeIn 0.5s ease forwards;
}

.grade-circle {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage), var(--sage-dark));
  color: var(--white);
  font-size: 28px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  box-shadow: 0 4px 20px rgba(98,125,112,0.35);
}

.grade-label { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.grade-quote { font-size: 14px; font-weight: 600; color: var(--charcoal); }

.score-breakdown {
  margin: 0 16px 14px;
  animation: fadeIn 0.5s 0.1s ease both;
}

.breakdown-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.breakdown-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.breakdown-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
  width: 68px;
  flex-shrink: 0;
}

.breakdown-bar-bg {
  flex: 1;
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.breakdown-bar-fill {
  height: 100%;
  background: var(--sage);
  border-radius: 4px;
  width: 0%;
  transition: width 0.8s ease;
}

.breakdown-score {
  font-size: 12px;
  font-weight: 700;
  color: var(--charcoal);
  width: 30px;
  text-align: right;
  flex-shrink: 0;
}

.before-after {
  margin: 0 16px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  animation: fadeIn 0.5s 0.2s ease both;
}

.ba-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.ba-row {
  display: flex;
  gap: 10px;
}

.ba-col {
  flex: 1;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
}

.ba-col.after { background: var(--sage-10); border-color: var(--sage-30); }

.ba-col-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.ba-col.after .ba-col-label { color: var(--sage-dark); }

.ba-col-text { font-size: 12px; color: var(--slate); line-height: 1.5; }

.xp-pop {
  margin: 0 16px 14px;
  background: var(--amber-12);
  border: 1px solid var(--amber-25);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  animation: xpPop 0.6s 0.4s ease both;
}

.xp-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 4px;
}

.xp-sub { font-size: 12px; color: var(--muted); }

/* =====================================================
   PHASE 6: NEXT / TOPIC COMPONENTS
===================================================== */
.next-topic-card {
  margin: 0 16px 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.1s;
  animation: fadeIn 0.4s ease both;
}

.next-topic-card:nth-child(2) { animation-delay: 0.05s; }
.next-topic-card:nth-child(3) { animation-delay: 0.1s; }

.next-topic-card:hover { box-shadow: 0 3px 14px rgba(0,0,0,0.08); transform: translateY(-1px); }

.next-topic-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--sage-10);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.next-topic-title { font-size: 14px; font-weight: 700; color: var(--charcoal); margin-bottom: 3px; }
.next-topic-why   { font-size: 12px; color: var(--muted); line-height: 1.4; }

.next-topic-card .arrow {
  margin-left: auto;
  font-size: 16px;
  color: var(--light-gray);
  align-self: center;
}

.seminary-tease {
  margin: 0 16px 16px;
  background: linear-gradient(135deg, rgba(85,63,91,0.08), rgba(85,63,91,0.04));
  border: 1px solid rgba(85,63,91,0.2);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.seminary-icon { font-size: 28px; margin-bottom: 8px; }
.seminary-title { font-size: 14px; font-weight: 700; color: var(--purple); margin-bottom: 4px; }
.seminary-text  { font-size: 12px; color: var(--muted); line-height: 1.5; margin-bottom: 12px; }

.seminary-btn {
  display: inline-block;
  padding: 9px 20px;
  background: var(--purple);
  color: var(--white);
  border: none;
  border-radius: 20px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.seminary-btn:hover { background: var(--purple-light); }

/* =====================================================
   STEP COMPLETE BAR
===================================================== */
.step-complete-bar {
  margin: 0 16px 14px;
  background: var(--sage-12);
  border: 1px solid var(--sage-30);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sage-dark);
  animation: fadeIn 0.4s ease forwards;
}

/* =====================================================
   FLOATING MENTOR FAB + OVERLAY
===================================================== */
.mentor-overlay-sheet {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  pointer-events: none;
}

.mentor-overlay-sheet.open {
  display: block;
  pointer-events: auto;
}

.mentor-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.2s ease;
}

.mentor-overlay-content {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60%;
  background: var(--off-white);
  border-radius: 16px 16px 0 0;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.3s ease;
  overflow: hidden;
}

@keyframes slideUp {
  from { transform: translateX(-50%) translateY(100%); }
  to   { transform: translateX(-50%) translateY(0); }
}

/* =====================================================
   COLLECT / VAULT COMPONENTS
===================================================== */
.collect-folder {
  margin-bottom: 12px;
  animation: fadeIn 0.3s ease forwards;
}

/* =====================================================
   MENTOR AVATAR & FAB
===================================================== */
.mentor-avatar-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.mentor-fab-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.mentor-fab-online-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  border: 2px solid var(--white);
}

/* =====================================================
   BOTTOM NAVIGATION BAR
===================================================== */
.bottom-nav {
  flex-shrink: 0;
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  background: var(--white);
  border-top: 1px solid var(--border);
  height: 56px;
  z-index: 40;
}

.bottom-nav-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
  color: var(--muted);
  font-size: 10px;
  transition: color 0.15s;
}

.bottom-nav-tab.active {
  color: var(--sage);
}

.bottom-nav-icon {
  font-size: 18px;
  line-height: 1;
}

.bottom-nav-label {
  font-size: 10px;
  font-weight: 500;
}

/* =====================================================
   APPROACH DIVIDER
===================================================== */
.approach-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 8px;
  color: var(--muted);
  font-size: 12px;
}

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

/* ── Discussion Panels (ux-debate-discussion sprint) ─── */
.discussion-panel {
  padding: 16px;
}

.community-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--sage-10);
  border: 1px solid var(--sage-30);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--sage-dark);
  margin-bottom: 12px;
}

.discussion-intro {
  font-size: 14px;
  color: var(--slate);
  margin-bottom: 16px;
}

.community-text {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 12px;
}

.community-subhead {
  font-size: 14px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.question-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 10px;
}

.question-card .q-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.question-card .q-link {
  font-size: 12px;
  color: var(--sage);
  cursor: pointer;
}

.comment-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.comment-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.comment-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
}

.comment-time {
  font-size: 12px;
  color: var(--muted);
  margin-left: auto;
}

.comment-text {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.55;
  margin: 0;
}

.scripture-quote {
  background: var(--off-white);
  border-left: 3px solid var(--sage);
  border-radius: 4px 10px 10px 4px;
  padding: 14px 16px;
  font-size: 14px;
  font-style: italic;
  color: var(--slate);
  line-height: 1.65;
  margin: 16px 0;
}

.scripture-ref {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--sage-dark);
  font-style: normal;
}

/* ── Pre-Debate Briefing (ux-debate-discussion sprint) ─── */
.debate-briefing {
  padding-bottom: 24px;
}

.briefing-header {
  background: linear-gradient(135deg, var(--purple), #a78bfa);
  padding: 20px 16px 16px;
  color: var(--white);
  margin-bottom: 0;
}

.briefing-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
  margin-bottom: 6px;
}

.briefing-header h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--white);
}

.briefing-header p {
  font-size: 13px;
  opacity: 0.9;
  margin: 0 0 12px;
}

.briefing-header .topic-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.topic-pill {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
}

.mentor-briefing {
  margin: 0 16px 16px;
  background: var(--sage-10);
  border: 1px solid var(--sage-30);
  border-left: 3px solid var(--sage);
  border-radius: 4px 12px 12px 4px;
  padding: 16px;
}

.mentor-briefing-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.mentor-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.mentor-briefing-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--sage-dark);
}

.mentor-briefing p {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.65;
  margin-bottom: 10px;
}

.mentor-briefing p:last-child {
  margin-bottom: 0;
}
