/* Images shown to students and projected by teacher; no quiz backend changes. */
.dqprm-visual{margin:13px 0 19px;padding:12px;background:#f4f8fa;border:1px solid #d5e1e6;border-radius:14px;text-align:center}
.dqprm-visual img{display:block;max-width:100%;max-height:340px;width:auto;height:auto;object-fit:contain;margin:0 auto;border-radius:6px}
.dqprm-visual img[hidden]{display:none}.dqprm-visual[hidden]{display:none}
.dqprm-explanation{margin:12px 0 2px;text-align:left;font-size:1rem;line-height:1.55;background:white;border-left:3px solid #188b96;border-radius:4px;padding:11px 13px;color:#223e4d}
.dqprm-explanation[hidden]{display:none}
@media(max-width:700px){.dqprm-visual img{max-height:235px}.dqprm-visual{padding:8px}}
