/* Phone / iPad touch cleanup for the agent portal (loaded only by pay_base.html).
   Touch screens only: desktop with a mouse is unchanged. Does not touch the floor board. */
@media (pointer:coarse){
  .btn.sm{min-height:44px;padding:10px 14px;display:inline-flex;align-items:center;justify-content:center}
  .langsw a{display:inline-block;padding:12px 8px;min-height:44px;box-sizing:border-box}
  .wd-cbcall{min-height:44px;min-width:56px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}
  .wd-script a,.wd-rebuts a,.script a{display:inline-block;padding:11px 2px;min-height:44px;box-sizing:border-box}
  input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px} /* stops iOS zoom-on-focus */
}
@media (max-width:480px){
  img,video,canvas,svg{max-width:100%}
  table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
  pre,code{white-space:pre-wrap;overflow-wrap:anywhere}
  .wrap,main,.card{overflow-wrap:anywhere}
}
/* the pay notice inside the plain white "unavailable" card was light-teal on white (unreadable) */
.card.muted .np-note{color:#4a5b73}
