/* answer-safety.css v3 */
.exam-answer-warning {
  margin: 10px 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #FFF8E1;
  color: #856404;
  border: 2px solid #FFD54F;
  font-weight: 600;
  line-height: 1.6;
}

.result-warning {
  max-width: 720px;
  margin: 14px auto;
}

.review-item.pending {
  border-color: #ffe08a !important;
  background: #fffaf0 !important;
}

.review-answer-source {
  margin-top: 8px;
  font-size: 0.85rem;
  opacity: 0.75;
}

.warning-icon {
  color: #b7791f;
  font-weight: bold;
}

/* Mika Academy Phase 2 - Dual Answer Display */
.phase2-answer-card {
  margin: 18px 0;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(108,99,255,.08), rgba(255,107,157,.06));
  border: 2px solid rgba(108,99,255,.2);
  box-shadow: 0 8px 24px rgba(108,99,255,.1);
  color: #1A1B2E;
  line-height: 1.75;
}
.phase2-answer-title { font-weight: 900; font-size: 1.1rem; margin-bottom: 12px; color: #6C63FF; }
.phase2-answer-block { margin-top: 12px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.86); border: 1px solid rgba(229,231,235,.95); }
.phase2-answer-label { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: .92rem; margin-bottom: 6px; color: #374151; }
.phase2-answer-content { font-size: 1rem; word-break: break-word; overflow-wrap: anywhere; }
.phase2-answer-source { margin-top: 8px; font-size: .82rem; color: #6b7280; }
.phase2-official { border-inline-start: 5px solid #16a34a; background: rgba(240,253,244,.92); }
.phase2-model { border-inline-start: 5px solid #6366f1; background: rgba(238,242,255,.92); }
.phase2-explanation { border-inline-start: 5px solid #f59e0b; background: rgba(255,251,235,.92); }
.phase2-figure { border-inline-start: 5px solid #0ea5e9; background: rgba(240,249,255,.92); overflow-x: auto; }
.phase2-figure svg { max-width: 100%; height: auto; display: block; margin: 8px auto; }
@media (max-width: 640px) {
  .phase2-answer-card { margin: 14px 0; padding: 12px; border-radius: 15px; font-size: .95rem; }
  .phase2-answer-block { padding: 10px; border-radius: 12px; }
  .phase2-answer-title { font-size: 1rem; }
  .phase2-answer-content { font-size: .95rem; }
}


/* Mika Academy Phase 2 V3 - Stable reveal panels */
.phase2-answer-hint { margin: 8px 0 12px; color: #6b7280; font-size: .9rem; font-weight: 600; }
.phase2-answer-details { margin-top: 12px; padding: 0; border-radius: 14px; background: rgba(255,255,255,.90); border: 1px solid rgba(229,231,235,.95); overflow: hidden; }
.phase2-answer-summary { cursor: pointer; list-style: none; padding: 12px 14px; font-weight: 900; color: #374151; user-select: none; }
.phase2-answer-summary::-webkit-details-marker { display: none; }
.phase2-answer-summary::after { content: ' +'; float: inline-end; font-weight: 900; }
.phase2-answer-details[open] .phase2-answer-summary::after { content: ' −'; }
.phase2-answer-details .phase2-answer-content { padding: 0 14px 14px; white-space: pre-wrap; line-height: 1.7; }
.phase2-answer-details .phase2-answer-source { padding: 0 14px 12px; font-size: .85rem; color: #64748b; }
.final-review-count,.exam-question-count,.exam-count,.question-count,.questions-count,.governorate-question-count,.card-question-count,[data-role="question-count"],[data-count-type="questions"] { display: none !important; }


/* Mika Academy Phase 2 V4 - Hide empty/placeholder answers */
[data-mika-hidden-placeholder-answer="true"] { display: none !important; }
