/* ===== Qualitative examples rendered as HTML ===== */
.qual-card {
  border: 1px solid #cfd6e2;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 14px rgba(20,30,60,0.05);
  margin-bottom: 1.8rem;
}
.qual-head {
  background: #2b3a67;
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.5rem 1rem;
  letter-spacing: 0.01em;
}
.qual-head .tag { opacity: 0.7; font-weight: 600; }
.qual-body { padding: 1.1rem 1.2rem 1.3rem; }

/* Top row: views | scene | cogmap */
.qual-top {
  display: grid;
  grid-template-columns: 0.95fr 0.8fr 1.25fr;
  gap: 1rem;
  align-items: start;
}
.qual-col { text-align: center; }
.qual-col .cap { font-size: 0.78rem; color: #7c8597; margin-top: 0.5rem; }

.qual-views { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.qual-views.three { grid-template-columns: 1fr 1fr; }
.qual-view { position: relative; }
.qual-view img { width: 100%; border-radius: 6px; display: block; aspect-ratio: 1/1; object-fit: cover; }
.qual-view .vn {
  position: absolute; top: 3px; left: 3px;
  background: rgba(255,255,255,0.9); color: #1c2436;
  font-weight: 800; font-size: 0.72rem; border-radius: 4px; padding: 0 0.32em; line-height: 1.35;
}
.qual-scene img { width: 100%; border-radius: 8px; border: 1px solid #eef1f6; display: block; }
.qual-cogmap svg { width: 100%; height: auto; }

/* Q&A boxes */
.qa { border-radius: 9px; padding: 0.7rem 0.85rem; font-size: 0.86rem; line-height: 1.5; margin-top: 0.7rem; }
.qa b.lead { display: inline; }
.qa-q { background: #f4f6fa; border: 1px solid #e3e8f1; }
.qa-q .choices { margin-top: 0.3rem; color: #444; }
.qa-q .gt { color: #157a45; font-weight: 700; }
.qa-bad { background: #fdf3f2; border: 1px solid #f1c9c4; }
.qa-bad .who { color: #b23b30; font-weight: 800; }
.qa-bad .ans { color: #b23b30; font-weight: 800; }
.qa-good { background: #eef8f1; border: 1px solid #bfe3cb; }
.qa-good .who { color: #157a45; font-weight: 800; }
.qa-good .ans { color: #157a45; font-weight: 800; }
.qa .step { font-weight: 700; color: #2b3a67; }
.qa u { text-decoration-color: #9aa7c4; }
.qa b { color: #2b3a67; }
.think {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #97a0b2; font-size: 0.86em;
}
.qa code, .tw-reason code, .example-box code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: #eef2f7; border-radius: 4px; padding: 0.05em 0.32em; font-size: 0.86em; color: #33405e;
}

@media screen and (max-width: 768px) {
  .qual-top { grid-template-columns: 1fr; }
  .qual-views { max-width: 280px; margin: 0 auto; }
  .qual-scene, .qual-cogmap { max-width: 360px; margin: 0 auto; }
}
