
:root{font-family:Inter,Segoe UI,sans-serif;color:#173538;background:#f3f5f2}*{box-sizing:border-box}body{margin:0}header{height:90px;display:flex;align-items:center;justify-content:space-between;padding:0 6%;border-bottom:1px solid #dbe2db;background:#fff}.brand{font-size:36px;font-weight:800;letter-spacing:-3px;text-decoration:none;color:#173538}.brand span{font-weight:400}.brand small{display:block;font-size:9px;letter-spacing:3px;margin-top:2px}.network,.tag{font-size:11px;letter-spacing:1px;background:#e5f0e8;padding:9px 13px;border-radius:25px;color:#32644b}main{max-width:1180px;margin:48px auto;padding:0 24px}.eyebrow{text-transform:uppercase;letter-spacing:3px;font-size:11px;color:#5b7c72}h1{font-size:44px;letter-spacing:-1.5px;margin:12px 0}h2{font-size:21px;margin:0 0 24px}p{color:#687d7c;line-height:1.6}.hero{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}.limit{text-align:right;font-size:30px}.limit small{display:block;font-size:11px;letter-spacing:2px;color:#687d7c}.notice{background:#f9edcd;border:1px solid #e9dbae;padding:13px 18px;border-radius:10px;font-size:13px;line-height:1.6;margin-bottom:28px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.card{background:#fff;border:1px solid #dde5de;border-radius:16px;padding:28px;box-shadow:0 8px 25px #17353804}.wide{margin-top:24px}label{font-size:12px;color:#526d6b;display:block;margin:14px 0 6px}input,select,textarea{font:inherit;width:100%;padding:11px 13px;border:1px solid #d6dfd8;border-radius:8px;background:#fafcf9;color:#173538}input:focus,select:focus{outline:2px solid #99b9aa}button,.button{font:inherit;font-size:13px;background:#173f3e;color:white;border:0;border-radius:8px;padding:12px 17px;cursor:pointer;text-decoration:none;display:inline-block}button:hover,.button:hover{background:#2e5c51}button:disabled{opacity:.5;cursor:default}.secondary{background:#e9efe9;color:#214a42}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.hint{font-size:12px;line-height:1.5;color:#758884}.empty{padding:25px 0;color:#82918d;font-size:14px}table{width:100%;border-collapse:collapse;font-size:13px}th{text-align:left;color:#7d8d88;font-size:10px;text-transform:uppercase;letter-spacing:1px;padding:12px 8px}td{padding:15px 8px;border-top:1px solid #e7ede7}td a{color:#225e52}code{word-break:break-all;line-height:1.8;font-size:12px}.status{display:inline-block;background:#edf2eb;padding:6px 9px;border-radius:5px;font-size:11px}.log{padding:14px 0;border-top:1px solid #e7ede7;font-size:13px}.log small{display:block;color:#8a9991;margin-top:6px}#toast{position:fixed;bottom:24px;right:24px;max-width:420px;background:#173f3e;color:white;padding:16px 22px;border-radius:10px;display:none}.invoice{max-width:780px;margin:auto}.invoice-top{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #e4ebe4;padding-bottom:25px}.invoice-total{font-size:54px;letter-spacing:-2px;margin:28px 0 0}.invoice-total small{font-size:15px;letter-spacing:0}.payment-grid{display:grid;grid-template-columns:180px 1fr;gap:28px;align-items:center;margin:30px 0}.qr{width:180px;height:180px}.steps{display:flex;gap:12px;margin-top:28px;flex-wrap:wrap}.steps span{flex:1;min-width:140px;background:#f2f5f0;padding:18px;border-radius:8px;font-size:12px}.steps strong{display:block;margin-top:7px}.key{padding:16px;background:#eff5ee;margin-top:16px;border-radius:8px}.scroll{overflow:auto}.error{color:#963d32;font-size:13px}@media(max-width:760px){header{height:75px}main{margin:30px auto}.grid,.row{grid-template-columns:1fr}.hero{align-items:flex-start}h1{font-size:32px}.limit{font-size:23px}.card{padding:22px}.payment-grid{grid-template-columns:1fr}.invoice-total{font-size:42px}.network{font-size:9px}}

.invoice-top > .status{align-self:flex-start}
.portal-nav{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dbe2db;padding-bottom:18px;margin-bottom:32px;font-size:11px;letter-spacing:2px}.portal-nav span{color:#6c8178;letter-spacing:0}.metrics{display:flex;gap:16px;margin:0 0 28px;flex-wrap:wrap}.metric{flex:1;min-width:160px;background:#e6ede6;border-radius:10px;padding:20px}.metric small{display:block;color:#647e73;font-size:10px;letter-spacing:1px}.metric strong{display:block;margin-top:9px;font-size:30px}.heading-row{display:flex;justify-content:space-between;gap:20px;align-items:center}.heading-row select{width:230px;margin-bottom:20px}.section-gap{margin-top:32px}.login-shell{max-width:520px;margin:60px auto}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:760px){.portal-nav span{display:none}.heading-row{align-items:flex-start;flex-direction:column}}
.secondary:hover{background:#dbe7dc;color:#173f3e}

body[data-role="payer"]{background:#f1f5fb;color:#19314e;font-family:Inter,Segoe UI,sans-serif}body[data-role="payer"] header{height:75px;border-color:#e2e8f0;background:white}body[data-role="payer"] .brand{font-size:29px;color:#1e4167}body[data-role="payer"] main{max-width:980px;padding:0 20px;margin:45px auto}.checkout-shell{display:grid;grid-template-columns:360px 1fr;background:#fff;border:1px solid #dfe7f2;border-radius:13px;overflow:hidden;box-shadow:0 15px 50px #18325508}.checkout-summary{padding:38px 30px;background:#102947;color:white}.checkout-summary .eyebrow{color:#88a9d0;font-size:10px;letter-spacing:1px}.checkout-summary h1{font-size:24px;letter-spacing:-.5px;margin:20px 0 15px;word-break:break-word}.checkout-summary>p{font-size:12px;color:#93adcc;line-height:1.8}.checkout-reference{font-size:40px;margin:30px 0;letter-spacing:-1px}.checkout-reference small{display:block;margin-top:6px;font-size:10px;letter-spacing:0;color:#8fadd0}.checkout-order{border-top:1px solid #ffffff15}.checkout-order>div{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #ffffff15;padding:17px 0;font-size:10px}.checkout-order span{color:#8eabcb}.checkout-order strong{font-weight:500;font-size:10px;max-width:65%;text-align:right;color:#d9e5f5}.checkout-summary .receipt-link{color:#95bfff}.receipt-link{display:block;text-decoration:none;color:#326bdd;font-size:11px;margin:25px 0}.checkout-disclaimer{margin-top:32px;font-size:10px!important;line-height:1.8!important}.checkout-payment{padding:32px}.checkout-top{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#8497b0}.network-chip{font-size:9px;color:#60866c;background:#edf6ee;border-radius:20px;padding:7px 10px}.checkout-status{text-align:center;margin:30px 0 10px}.checkout-status h2{font-size:19px;margin:13px 0 9px}.checkout-status p{font-size:11px;color:#8b9ab0;margin:0;line-height:1.8}.status-icon{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#eaf0fd;color:#3a73da;font-size:24px}.checkout-status.success .status-icon{background:#e3f6ec;color:#388369}.checkout-qr{display:flex;justify-content:center;padding:17px}.checkout-amount{text-align:center;background:#f4f7fc;border:1px solid #e8eef7;border-radius:8px;padding:18px;margin-top:22px}.checkout-amount label{font-size:10px;color:#8a9bb3;margin:0}.checkout-amount strong{display:block;font-size:26px;letter-spacing:-.5px;margin:8px 0;color:#2e527e}.copy-action{background:transparent!important;color:#3b73cd;font-size:10px;padding:4px;font-weight:500}.checkout-address{padding:20px 0}.checkout-address label{font-size:10px;color:#8b9cb5}.checkout-address code{display:block;font-size:11px;color:#496b97;word-break:break-all}.checkout-address .hint{font-size:10px}.checkout-payment form{padding:20px 0;border-top:1px solid #edf1f7}.checkout-payment form label{font-size:10px;color:#8195b2}.checkout-payment form input{font-size:11px;background:#fafcff;border-color:#dfe7f3}.checkout-payment form button{width:100%;margin-top:14px;background:#2869ef}.checkout-progress{display:flex;justify-content:space-between;gap:9px;border-top:1px solid #e7edf6;padding-top:21px;margin-top:30px}.checkout-progress span{font-size:9px;color:#aab6c6}.checkout-progress span::before{content:'○';margin-right:4px;color:#bcc9da}.checkout-progress span.done{color:#548368}.checkout-progress span.done::before{content:'✓';color:#5b9f79}.checkout-footer{font-size:10px!important;color:#96a6bb!important;line-height:1.8}.checkout-refund{border:1px solid #d1e5dc;background:#f0f8f4;color:#658774;font-size:11px;padding:13px;border-radius:6px;margin:18px 0}.checkout-empty{max-width:500px;margin:100px auto;text-align:center}#toast{background:#24476c;color:white;font-size:12px}.checkout-top #countdown{font-variant-numeric:tabular-nums}@media(max-width:760px){body[data-role="payer"] main{margin:22px auto;padding:0 13px}.checkout-shell{grid-template-columns:1fr}.checkout-summary{padding:27px}.checkout-summary h1{margin:12px 0}.checkout-reference{margin:18px 0;font-size:34px}.checkout-order{display:none}.checkout-summary .checkout-disclaimer{margin:15px 0 0}.checkout-summary .receipt-link{margin:15px 0}.checkout-payment{padding:24px}.checkout-status{margin-top:23px}.checkout-progress{gap:5px}}

/* Keep payment instructions and state labels readable. */
.checkout-top,.checkout-status p,.checkout-amount label,.checkout-address label,.checkout-payment form label,.checkout-footer,.checkout-progress span{color:#52647d}
.checkout-footer{color:#52647d!important;font-size:12px!important}
.checkout-status p,.checkout-amount label,.checkout-address label,.checkout-address .hint,.checkout-payment form label,.checkout-progress span,.copy-action,.receipt-link{font-size:12px}
.checkout-summary .eyebrow,.checkout-reference small,.checkout-order>div,.checkout-order strong{font-size:12px}
.checkout-disclaimer{font-size:12px!important}.checkout-progress span.done,.checkout-refund{color:#236047}.network-chip{color:#345b3f;font-size:11px}
input:focus-visible,button:focus-visible,a:focus-visible{outline:3px solid #1b4faf;outline-offset:3px}.checkout-summary a:focus-visible{outline-color:#b7d5ff}
