/* Scoped receipt layouts: intrinsic heights, wrapping and explicit gaps. */
.payment-inbox .payment-inbox-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}.payment-inbox-hero .pi-heading{flex:1 1 260px;min-width:0}.payment-inbox-hero .pi-heading p{margin:0;line-height:1.5}.payment-inbox-hero>.btn{flex:0 0 auto;margin:0 0 0 auto;max-width:100%;white-space:normal}
.modal:has(.receipt-review),.modal:has(.ra-list){display:flex;flex-direction:column;max-height:calc(100dvh - 32px);overflow:hidden;width:min(680px,100%)}.modal:has(.ra-list){width:min(900px,100%)}.modal:has(.receipt-review) .modal-head,.modal:has(.ra-list) .modal-head{position:static;flex-shrink:0;padding:22px 26px;gap:16px;min-height:0}.modal:has(.receipt-review) .modal-head h2,.modal:has(.ra-list) .modal-head h2{font-size:22px;line-height:1.3;margin:0}.modal:has(.receipt-review) .modal-body,.modal:has(.ra-list) .modal-body{padding:24px 26px;overflow-y:auto;min-height:0}.modal:has(.ra-list) .modal-footer{position:static;flex-shrink:0;padding:16px 26px}
.receipt-review{display:grid;grid-template-columns:minmax(0,1fr);gap:22px}.receipt-review *,.ra-list *{box-sizing:border-box;min-width:0}.receipt-review p,.receipt-review h3,.ra-list p{margin:0}.rr-identity>span,.rr-totals span,.rr-balance div>span,.ra-values span,.ra-period{display:block;font-size:12px;color:#a9bed8;line-height:1.5}.rr-identity h3{font-size:21px;line-height:1.4;margin-top:5px;overflow-wrap:anywhere}.rr-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:18px;border:1px solid #2b425e;border-radius:16px;background:#15263f}.rr-totals strong{display:block;margin-top:5px;font-size:17px;overflow-wrap:anywhere}.rr-amount{display:grid;gap:9px}.rr-amount>label{display:block;margin:0;font-size:14px;font-weight:600}.rr-amount>label span{color:#a9bed8;font-weight:400}.rr-amount input{width:100%;min-height:56px;font-size:23px;font-weight:700;margin:0;border-radius:12px}.rr-amount #receipt-read-status{font-size:12px;color:#7ed5ca;line-height:1.5}.rr-balance{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;border:1px solid #36516c;background:#172b43;border-radius:16px;padding:18px}.rr-balance div{text-align:right;margin-left:auto}.rr-balance strong{display:block;color:#f6d18a;font-size:24px;line-height:1.35;margin-top:4px;overflow-wrap:anywhere}.rr-status{display:inline-flex;align-items:center;justify-content:center;width:fit-content;max-width:100%;padding:6px 10px;border:1px solid transparent;border-radius:999px;font-size:12px;font-weight:600;line-height:1.4;white-space:normal;flex-shrink:0}.rr-status.partial{color:#f4d190;background:#493d263d;border-color:#a78b454d}.rr-status.paid{color:#8ae4bf;background:#1359414d;border-color:#3d9a784d}.rr-status.mismatch{color:#ffa7b0;background:#712e403d;border-color:#b555674d}.receipt-review .rr-note{margin:10px 2px 0;color:#d5b889;font-size:12px;line-height:1.5}.receipt-review label.rr-check{display:flex;align-items:flex-start;gap:12px;margin:0;font-size:14px;font-weight:400;line-height:1.5}.rr-check input[type=checkbox]{width:18px;height:18px;min-height:18px;flex:0 0 18px;margin:2px 0 0;accent-color:#20c6b1}.rr-actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap;padding-top:18px;border-top:1px solid #2b425e}.rr-actions .btn{margin:0;min-height:44px;white-space:normal}.receipt-review .request-error:empty{display:none}.ra-summary{display:grid;gap:6px;margin-bottom:20px}.ra-summary p{margin:0;font-size:14px;line-height:1.5;color:#c8d7ea}.ra-list{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}.ra-card{display:grid;gap:18px;padding:20px;border:1px solid #304661;border-radius:18px;background:linear-gradient(120deg,#192d48,#14233b);margin:0;min-width:0;overflow-wrap:anywhere}.ra-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}.ra-card-head strong{font-size:15px;line-height:1.5}.ra-customer{display:block;font-size:13px;color:#b6c9e0;line-height:1.5;margin-top:3px}.ra-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ra-values strong{display:block;font-size:18px;line-height:1.4;margin-top:5px}.ra-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid #2c415d;padding-top:14px}.ra-card-footer>span{font-size:12px;color:#9fb5d0}.ra-card-footer>.btn{margin:0;min-height:36px;white-space:normal}
@media(max-width:520px){.modal:has(.receipt-review),.modal:has(.ra-list){max-height:calc(100dvh - 20px)}.modal:has(.receipt-review) .modal-head,.modal:has(.ra-list) .modal-head,.modal:has(.receipt-review) .modal-body,.modal:has(.ra-list) .modal-body{padding:18px}.receipt-review{gap:18px}.rr-totals{padding:14px;gap:12px}.rr-totals strong{font-size:15px}.rr-balance{padding:14px}.rr-balance strong{font-size:21px}.rr-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr)}.ra-card{padding:16px;gap:16px}.ra-values strong{font-size:16px}.payment-inbox .payment-inbox-hero{gap:16px}.payment-inbox-hero .pi-heading{flex-basis:100%}}
@media(max-width:360px){.rr-totals,.ra-values{grid-template-columns:minmax(0,1fr)}.rr-balance div{text-align:left;margin-left:0}}
