/* P17.1-GateH1: keep the payable card list in normal document flow on mobile.
   Desktop intentionally retains the virtual-table scroll window. */
@media (max-width: 760px) {
  body.cmd-p17-mobile #paymentsView .qscm-payment-payable-list {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  body.cmd-p17-mobile #paymentsView .qscm-payment-payable-list > table,
  body.cmd-p17-mobile #paymentsView .qscm-payment-payable-list > table > tbody {
    height: auto !important;
    max-height: none !important;
  }

  body.cmd-p17-mobile #paymentsView .qscm-payment-history-panel {
    position: relative;
    clear: both;
  }
}

@media (orientation: landscape) and (max-height: 600px) and (max-width: 980px) {
  body.cmd-p17-mobile #paymentsView .qscm-payment-payable-list {
    height: auto !important;
    max-height: none !important;
  }
}
