.rb-customer-portal{--pw-green:#007f59;--pw-ink:#12333a;--pw-muted:#557078;--pw-border:#d5e3df;box-sizing:border-box;color:var(--pw-ink);font:16px/1.55 system-ui,-apple-system,sans-serif;width:100%;max-width:1120px;margin:24px auto;padding:clamp(16px,3vw,32px);border:1px solid var(--pw-border);border-radius:20px;background:#f3f7f5;text-align:left}
.rb-customer-portal *{box-sizing:border-box}.rb-customer-portal h2,.rb-customer-portal h3,.rb-customer-portal h4{color:var(--pw-ink);line-height:1.25;margin:0 0 12px;font-family:inherit}.rb-customer-portal h2{font-size:clamp(24px,4vw,34px)}.rb-customer-portal h3{font-size:24px}.rb-customer-portal h4{font-size:18px}.rb-customer-portal p{margin:8px 0 16px}.rb-customer-portal small{font-size:12px;color:var(--pw-muted)}.rb-customer-portal button{font:600 14px/1.35 system-ui;min-height:44px;padding:10px 16px;border:1px solid var(--pw-border);border-radius:10px;color:var(--pw-ink);background:#fff;cursor:pointer;white-space:normal;letter-spacing:normal;text-transform:none;box-shadow:none}.rb-customer-portal button:hover{border-color:var(--pw-green);background:#edf7f2}.rb-customer-portal button:disabled{opacity:.6;cursor:wait}.rb-customer-portal button.rb-pw-primary{background:var(--pw-green);color:white;border-color:var(--pw-green)}.rb-customer-portal button:focus-visible,.rb-customer-portal input:focus-visible,.rb-customer-portal textarea:focus-visible,.rb-customer-portal select:focus-visible,.rb-customer-portal summary:focus-visible{outline:3px solid #008a65;outline-offset:3px}.rb-customer-portal label{display:block;margin:12px 0;font-weight:600}.rb-customer-portal input,.rb-customer-portal textarea,.rb-customer-portal select{display:block;width:100%;min-width:0;font:400 16px/1.5 system-ui;padding:12px;border:1px solid #b8cfca;border-radius:9px;color:var(--pw-ink);background:white;margin-top:6px;box-shadow:none}.rb-customer-portal textarea{resize:vertical}.rb-pw-header,.rb-pw-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.rb-pw-header{margin-bottom:20px}.rb-pw-header>div{flex:1;min-width:220px}.rb-pw-header small{color:var(--pw-green);letter-spacing:.1em;font-weight:800}.rb-pw-nav{display:flex;flex-wrap:wrap;gap:8px;padding:12px 0 20px;border-bottom:1px solid var(--pw-border);margin-bottom:20px}.rb-pw-nav button[aria-current=page]{background:#103a32;border-color:#103a32;color:white}.rb-pw-heading{margin:24px 0}.rb-pw-heading p,.rb-pw-muted{color:var(--pw-muted)}.rb-pw-card{background:white;border:1px solid var(--pw-border);border-radius:14px;padding:clamp(16px,3vw,24px);margin-bottom:16px;overflow-wrap:anywhere}.rb-pw-grid,.rb-pw-stats,.rb-cp-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:16px}.rb-pw-stats{margin:20px 0}.rb-pw-stats button{text-align:left;padding:22px}.rb-pw-stats strong{display:block;font-size:30px;color:var(--pw-green)}.rb-pw-badge{display:inline-block;border-radius:20px;padding:4px 12px;background:#e7f5ed;color:#086243;font-size:13px;font-weight:700}.rb-pw-card details{margin:16px 0;border-top:1px solid var(--pw-border);padding-top:12px}.rb-pw-card summary{cursor:pointer;font-weight:600;min-height:40px}.rb-pw-timeline{padding-left:24px}.rb-pw-timeline li{padding-left:6px;margin-bottom:18px}.rb-pw-timeline p,.rb-pw-message p{white-space:pre-wrap}.rb-pw-table-scroll{overflow-x:auto}.rb-pw-invoice table{border-collapse:collapse;width:100%;font:inherit}.rb-pw-invoice th,.rb-pw-invoice td{padding:12px 8px;border-bottom:1px solid var(--pw-border);text-align:right;vertical-align:top}.rb-pw-invoice th:first-child,.rb-pw-invoice td:first-child{text-align:left;min-width:150px}.rb-pw-totals{max-width:340px;margin:20px 0 20px auto}.rb-pw-totals div{display:flex;justify-content:space-between;gap:20px;padding:5px 0}.rb-pw-totals dd{margin:0}.rb-pw-totals div:last-child{font-weight:800;font-size:19px;border-top:1px solid var(--pw-border);padding-top:10px}.rb-pw-callout,#rbPwStatus:not(:empty){border:1px solid #a3cabb;background:#eaf6ef;padding:14px;border-radius:10px}.rb-pw-error{color:#922d20!important;border-color:#da9a90!important;background:#fff0ed!important}#rbPwTranscript{max-height:520px;overflow:auto;overscroll-behavior:contain;padding:8px 4px 18px}.rb-pw-message{padding:14px 16px;margin:8px 0;max-width:90%;border:1px solid var(--pw-border);background:#f1f5f4;border-radius:12px}.rb-pw-message.mine{margin-left:auto;background:#eaf7ef;border-color:#c0dfcd}.rb-pw-message p{margin:6px 0}.rb-pw-message strong{font-size:14px}.rb-cp-grid>section{background:white;border:1px solid var(--pw-border);padding:20px;border-radius:12px}
@media(max-width:520px){.rb-customer-portal{margin:12px auto;border-radius:12px;padding:14px}.rb-pw-nav{gap:6px}.rb-pw-nav button{flex:1 1 44%;padding:10px}.rb-pw-row>small{flex-basis:100%}.rb-pw-message{max-width:96%}.rb-pw-invoice th,.rb-pw-invoice td{padding:9px 5px}}
@media print{body.rb-pw-print *{visibility:hidden!important}body.rb-pw-print .rb-pw-printable,body.rb-pw-print .rb-pw-printable *{visibility:visible!important}body.rb-pw-print .rb-pw-printable{position:absolute;left:0;top:0;width:100%;border:0;background:white;color:black}body.rb-pw-print .rb-pw-no-print,body.rb-pw-print .rb-pw-no-print *{visibility:hidden!important}body.rb-pw-print details>*{display:block!important}body.rb-pw-print details summary{display:none!important}.rb-pw-table-scroll{overflow:visible}}

.rb-ba-request{display:grid;gap:12px;border-top:1px solid currentColor;padding-top:16px;margin-top:16px}.rb-ba-request label{display:grid;gap:6px}.rb-ba-request input{font:inherit;font-size:14px;min-height:44px;box-sizing:border-box;max-width:100%}

.rb-customer-portal .rb-cp-resend{margin:20px 0;padding:16px;border:1px solid var(--pw-border,#d5e3df);border-radius:12px;background:#fff}.rb-customer-portal .rb-cp-resend h4{margin-top:0}.rb-customer-portal .rb-cp-resend-status{font-size:13px;line-height:1.5;color:var(--pw-muted,#557078);margin:10px 0 0}.rb-customer-portal .rb-cp-resend button:disabled{opacity:.65;cursor:wait}
