/* Payment buttons use fixed slots, so changing method never opens a native picker. */
#invoice .ns-payment-stable-section {
  padding: 14px;
  margin: 10px 0 17px;
  border: 1px solid #dbe5f7;
  border-radius: 16px;
  background: linear-gradient(120deg,#f8fbff,#eef5ff);
  overflow: hidden;
}
#invoice .ns-payment-stable-heading {
  display:flex; align-items:center; gap:9px;
  font-weight:850; color:#15356f; font-size:15px;
  margin-bottom:12px;
}
#invoice .ns-payment-hidden-native {
  position:absolute!important;
  clip-path:inset(50%)!important;
  width:1px!important; height:1px!important;
  padding:0!important; margin:0!important;
  border:0!important; overflow:hidden!important;
  pointer-events:none!important;
}
#invoice .ns-payment-stable-options {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px; width:100%;
}
#invoice .ns-payment-option {
  display:flex; align-items:center; justify-content:flex-start; gap:8px;
  width:100%; min-width:0; min-height:50px; padding:9px 11px;
  border-radius:12px; border:2px solid transparent;
  box-sizing:border-box; font-weight:800; font-size:13px;
  color:#17305a; background:#e8eeff; cursor:pointer;
  text-align:left; overflow-wrap:anywhere;
  -webkit-tap-highlight-color:transparent;
}
#invoice .ns-payment-option:focus-visible {outline:3px solid #165fff;outline-offset:2px}
#invoice .ns-payment-emoji {font-size:19px;flex-shrink:0}
#invoice .ns-payment-cash {background:#e2f8ef}
#invoice .ns-payment-credit {background:#fff0d9}
#invoice .ns-payment-card {background:#e8edff}
#invoice .ns-payment-bank-transfer {background:#e3f5ff}
#invoice .ns-payment-cheque {background:#f3eaff}
#invoice .ns-payment-option.is-selected {
  border-color:#2258d0; box-shadow:0 0 0 2px #2258d022;
  background:#dceaff; color:#0b378d;
}
#invoice .ns-payment-option.is-selected:after {content:'✓';margin-left:auto;color:#1354c4;font-weight:900}
#invoice #v38DueWrap,#invoice #ns2ChequeFields {margin-top:12px}
@media(min-width:610px){#invoice .ns-payment-stable-options{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:370px){#invoice .ns-payment-option{font-size:12px;padding:8px}}
@media print{#invoice .ns-payment-stable-section {display:none!important}}
