/* NACDA touch PBQ enhancement; mobile and tablet only. Original select remains available. */
.nacda-touch-choices { display:none; }
@media (pointer:coarse), (max-width:900px) {
  #app .nacda-touch-choices { display:block; min-width:0; margin:8px 0 18px; border:1px solid #4b6d87; border-radius:12px; padding:10px 12px; background:rgba(60,101,131,.10); }
  #app .nacda-touch-choices > summary { cursor:pointer; padding:7px 4px; font-size:1rem; font-weight:700; min-height:40px; }
  #app .nacda-touch-choice-list { display:grid; grid-template-columns:minmax(0,1fr); gap:9px; padding-top:12px; }
  #app .nacda-touch-choice { width:100%; display:block; min-height:48px; padding:12px 14px; border-radius:10px; border:1px solid #7195ad; background:#142e46; color:#fff; font:inherit; line-height:1.4; text-align:left; white-space:normal; overflow-wrap:anywhere; touch-action:manipulation; cursor:pointer; }
  #app .nacda-touch-choice.selected, #app .nacda-touch-choice[aria-pressed="true"] { border:2px solid #6dc6f9; background:#204d6c; font-weight:750; }
  #app .nacda-touch-choice:focus-visible { outline:3px solid #a9dfff; outline-offset:2px; }
  #app .nacda-touch-choice:disabled { opacity:.5; cursor:not-allowed; }
  #app .pbq-diagram { overflow-x:auto; -webkit-overflow-scrolling:touch; touch-action:pan-x pan-y; }
  #app .pbq-figure { max-width:100%; min-width:0; }
  #app .pbq-part select, #app .checkpoint select, #app #answerForm .question select { min-height:48px; max-width:100%; font-size:16px; }
}
@media print { #app .nacda-touch-choices { display:none!important; } }
