/* DXB_V0416: question images use the entire question card content width. */
.bank-studio-main,.bank-results-scroll,.bank-cards,.bank-studio-card,
.bank-question-body,.bank-question-body .dxb-source-flow,
.bank-question-body .dxb-source-flow .dxb-piece,
.bank-answer-toggle,.bank-subquestion-preview {
  min-width:0;box-sizing:border-box;max-width:100%;
}
.bank-studio-main,.bank-results-scroll,.bank-cards,.bank-studio-card,
.bank-question-body,.bank-question-body .dxb-source-flow,
.bank-question-body .dxb-source-flow .dxb-piece {width:100%;}
.bank-studio-card .bank-question-body .dxb-source-flow > .dxb-piece > img,
.bank-studio-card .bank-question-body > img,
.bank-studio-card .bank-subquestion-preview img:not(.bank-option-image),
.bank-studio-card .bank-answer-toggle img,
.bank-studio-card .bank-question-body .dxb-piece > picture > img {
  display:block!important;width:100%!important;max-width:100%!important;
  height:auto!important;max-height:none!important;object-fit:contain!important;
  margin:12px 0!important;box-sizing:border-box!important;
}
/* Avoid stretching small answer-option icons to full card width. */
.bank-studio-card .bank-question-body .dxb-piece ol img {
  width:auto!important;max-width:100%!important;height:auto!important;
}
.bank-studio-card img {box-sizing:border-box;}
#bank-exam option:disabled,.bank-syllabus-selectors option:disabled {
  color:#8d96a0!important;background-color:#f1f3f5!important;font-style:italic;
}
.dxb-paste-zone {
  cursor:pointer;display:flex;flex-direction:column;gap:5px;width:100%;
  box-sizing:border-box;margin:8px 0 14px;padding:14px;
  border:2px dashed #88b7d3;border-radius:10px;
  background:#f5fbff;color:#24536d;outline-offset:3px;
}
.dxb-paste-zone span {font-size:.9em;line-height:1.5;}
.dxb-paste-zone:focus-visible {outline:3px solid #0284c7;}
.dxb-paste-zone[data-loaded="true"] {border-color:#349a71;background:#f0fbf4;}
.dxb-paste-preview {display:block;width:auto;max-width:100%;max-height:210px;object-fit:contain;margin:8px 0;}
.dxb-paste-zone small {font-size:.82em;}
.dxb-v0416-media form {margin:12px 0;padding:12px 0;border-top:1px solid #d7e5ef;}
#bank-revision-editor,#bank-media-editor {scroll-margin-top:90px;}
.dxb-guest-actions {display:flex;flex-wrap:wrap;gap:10px;margin:8px 0 12px;}
@media(max-width:880px){.dxb-paste-zone{padding:12px;}}
