/* Presentation only: bulk renewal controls and invoice payment forms. */
@media screen and (max-width:800px){
 #bulk-renewals-page .page-heading{gap:12px;align-items:stretch}
 #bulk-renewals-page .br-section{padding:14px;margin-bottom:14px}
 #bulk-renewals-page .br-controls{gap:10px;min-width:0}
 #bulk-renewals-page .br-controls label{flex-basis:100%;min-width:0;line-height:1.45}
 #bulk-renewals-page .br-controls :is(input,select){width:100%;box-sizing:border-box;font-size:16px;min-height:44px}
 #bulk-renewals-page :is(.page-heading>button,.br-controls>button){min-height:44px!important;height:auto!important;padding:10px 12px!important;white-space:normal;overflow-wrap:anywhere;box-sizing:border-box}
 #bulk-renewals-page .br-controls>button{flex:1 1 100%;width:100%}
 #bulk-renewals-page .br-pagination{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center}
 #bulk-renewals-page .br-pagination>label,#bulk-renewals-page #br-review-selected{grid-column:1/-1}
 #bulk-renewals-page #br-page{grid-column:1/-1;grid-row:1;text-align:center}
 #bulk-renewals-page #br-selected{min-width:0;overflow-wrap:anywhere}
 #bulk-renewals-page .br-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:12px}
 #bulk-renewals-page .br-totals[hidden]{display:none}
 #bulk-renewals-page .br-totals>span{min-width:0;font-size:13px;line-height:1.45;overflow-wrap:anywhere}
 #bulk-renewals-page .br-totals b{font-size:20px;margin-top:4px}
 #bulk-renewals-page .br-confirm{gap:10px;line-height:1.5;align-items:flex-start}
 #bulk-renewals-page .br-confirm input{margin-top:2px}
 #bulk-renewals-page .ui-table-scroll{border:1px solid #c8d2eb;border-radius:10px;scrollbar-width:auto;-webkit-overflow-scrolling:touch}
 #bulk-renewals-page .ui-table-scroll:focus-visible,#subscriber-profile-content .invoice-table-scroll:focus-visible{outline:3px solid #7464db;outline-offset:2px}
 #bulk-renewals-page .ui-table-scroll::before,#subscriber-profile-content .invoice-table-scroll::before{content:'Swipe sideways to see all columns';display:block;position:sticky;left:0;width:fit-content;max-width:100%;box-sizing:border-box;padding:8px 10px;font-size:12px;line-height:1.5;color:#475b7d;background:#f2f5ff}
 #bulk-renewals-page table{min-width:860px}
 #bulk-renewals-page :is(th,td){padding:10px;line-height:1.45}
 #bulk-renewals-page td{overflow-wrap:anywhere;max-width:240px}
 #bulk-renewals-page #br-review-rows td:nth-child(1),#bulk-renewals-page #br-review-rows td:nth-child(2){min-width:180px}
 #bulk-renewals-page #br-review-rows td:nth-child(3){min-width:145px}
 #bulk-renewals-page #br-review-rows td:nth-child(4){min-width:180px}
 #bulk-renewals-page #br-review-rows td:nth-child(5),#bulk-renewals-page #br-review-rows td:nth-child(6){min-width:90px;white-space:nowrap}
 #bulk-renewals-page #br-review-rows td:nth-child(7){min-width:220px}
 #bulk-renewals-page #br-customer-rows td:not(:first-child){min-width:165px}
 #bulk-renewals-page #br-file{padding:8px;height:auto}
 #subscriber-profile-content .invoice-table-scroll{max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
 #subscriber-profile-content .subscriber-invoices-table .invoice-action-cell{min-width:240px;width:240px;max-width:240px;padding:10px}
 #subscriber-profile-content .invoice-action-cell>div{gap:10px;align-items:stretch}
 #subscriber-profile-content .invoice-action-cell>div>:is(a,button){width:100%;box-sizing:border-box}
 #subscriber-profile-content .invoice-action-cell .pi-payment-form{min-width:0;width:100%;gap:10px}
 #subscriber-profile-content .invoice-action-cell .manual-payment-box{padding:10px!important;min-width:0;max-width:100%;box-sizing:border-box}
 #subscriber-profile-content .invoice-action-cell .manual-payment-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;min-width:0}
 #subscriber-profile-content .invoice-action-cell .pi-payment-form :is(label,input,select,button){min-width:0;max-width:100%;box-sizing:border-box}
 #subscriber-profile-content .invoice-action-cell .pi-payment-form :is(input:not([type=checkbox]),select){width:100%;font-size:16px;min-height:44px;height:auto;line-height:1.4}
 #subscriber-profile-content .invoice-action-cell .pi-payment-form button{min-height:44px!important;height:auto!important;white-space:normal;padding:10px!important}
 #subscriber-profile-content .invoice-action-cell .manual-received{display:flex;align-items:flex-start;gap:8px;line-height:1.5;white-space:normal}
 #subscriber-profile-content .invoice-action-cell .manual-received input[type=checkbox]{width:18px!important;min-width:18px;height:18px!important;min-height:18px!important;flex:0 0 18px;margin:2px 0 0;padding:0!important}
 #subscriber-profile-content .invoice-action-cell :is(small,p,label){overflow-wrap:anywhere}
}
@media screen and (max-width:420px){
 #bulk-renewals-page .page-heading>button{width:100%}
 #bulk-renewals-page .br-section{padding:12px}
 #bulk-renewals-page .br-section h2{font-size:18px;margin-bottom:12px}
}
