/* RC6708 isolated payment controls, scoped to billing tender panel. */
#rc6708TenderPanel {padding:10px 0; font:inherit; color:#eaf4f0;}
#rc6708TenderPanel .rc6708-tender-mode {display:grid;gap:8px;padding:10px;border:1px solid #3c5150;background:#172221;border-radius:12px;}
#rc6708TenderPanel .rc6708-tender-mode.hidden {display:none!important;}
#rc6708TenderPanel label {font-size:13px;font-weight:700;color:#f4f7f5;}
#rc6708TenderPanel input[type=number],#rc6708TenderPanel input[type=text],#rc6708TenderPanel input:not([type]) {box-sizing:border-box;width:100%;min-height:46px;border:1px solid #729084;background:#f9faf7;color:#14231c;border-radius:9px;padding:10px;font-size:16px;}
#rc6708TenderPanel .rc6708-change {display:flex;align-items:center;justify-content:space-between;gap:10px;color:#ecf8f0;}
#rc6708TenderPanel .rc6708-change strong {font-size:22px;color:#a0f2bd;font-variant-numeric:tabular-nums;}
#rc6708TenderPanel .rc6708-confirm {display:flex;align-items:start;gap:9px;line-height:1.4;color:#f3f6f1;}
#rc6708TenderPanel .rc6708-confirm input {flex:0 0 auto;margin:3px 0 0;min-width:20px;min-height:20px;accent-color:#61d39c;}
#rc6708NetworkGrid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;}
#rc6708NetworkGrid button {min-width:0;min-height:43px;padding:7px 3px;color:#f1f6f2;background:#34403a;border:1px solid #65726b;border-radius:8px;font-size:12px;font-weight:700;cursor:pointer;}
#rc6708NetworkGrid button.selected {background:#adedae;color:#183723;border-color:#98e6a6;}
#rc6708TenderNotice {display:block;color:#c9d9ca;line-height:1.45;padding:4px 2px;}
#rc6708TenderNotice.rc6708-error {color:#ffd0c8;font-weight:700;}
#rc6708AmountWords {display:block;color:#d5e8df;padding:4px 0;font-size:12px;line-height:1.4;}
@media(max-width:480px){#rc6708NetworkGrid {grid-template-columns:repeat(2,minmax(0,1fr));}}

/* Prevent cash/EDC details from pushing final Cashout out of the desktop viewport. */
@media(min-width:901px){
 #posView.active .cart-panel>.cart-checkout-footer {max-height:43vh!important;overflow-y:auto!important;overscroll-behavior:contain!important;}
 #posView.active .cart-panel>.cart-checkout-footer #checkoutBtn {position:sticky!important;bottom:0!important;z-index:5!important;}
 #posView.active .cart-panel>.cart-scroll-body{min-height:80px!important;}
}
