/* R4: one compact finance/record system, shared desktop and mobile. */
.r4-subtabs{display:flex;gap:8px;margin:8px 0 20px;flex-wrap:wrap}.r4-subtabs a{padding:11px 20px;border:1px solid #d6e4ef;border-radius:11px;background:#fff;color:#275373;text-decoration:none;font-weight:650;font-size:.94rem}.r4-subtabs a.is-active{background:#075b9e;color:#fff;border-color:#075b9e}
.r4-filterbar{display:flex;align-items:flex-end;gap:22px;flex-wrap:wrap;background:#fff;border:1px solid #dae6f0;border-radius:16px;padding:20px 22px;margin:14px 0}.r4-filterbar>div{min-width:150px}.r4-filterbar .r4-period-filter{min-width:240px;max-width:100%;flex:1}.r4-filterbar label{display:block;font-size:.83rem;font-weight:650;color:#4b6680;margin-bottom:7px}.r4-filterbar select{appearance:auto;min-height:44px;max-width:100%;width:100%;border:1px solid #cddfec;border-radius:10px;background:#fff;color:#153b61;padding:8px 32px 8px 12px;font:inherit;font-size:.94rem}.r4-filterbar input[type=submit]{min-height:44px}
.r4-secondary{border:1px solid #c9deee;border-radius:10px;padding:10px 14px;background:#f8fbff;color:#075b9e;font:600 .85rem/1.3 system-ui,sans-serif;cursor:pointer}.r4-secondary:disabled{background:#f4f6f8;color:#6f7d89;border-color:#e0e6eb;cursor:not-allowed}
.r4-scope,.r4-note,.r4-meta{font-size:.82rem;line-height:1.55;color:#617b93}.r4-note{margin:8px 0 0}.r4-scope{margin:10px 0 18px}.r4-meta{margin:0 0 10px}.r4-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #d5e7f5;border-radius:16px;background:linear-gradient(120deg,#f0f8ff,#f5faff);margin:20px 0;padding:21px 12px}.r4-stats>div{padding:0 22px;border-right:1px solid #d9e8f4;min-width:0}.r4-stats>div:last-child{border:0}.r4-stats span{display:block;color:#617c98;font-size:.8rem}.r4-stats strong{font-size:clamp(20px,2vw,27px);display:block;margin-top:5px;color:#113b61;overflow-wrap:anywhere}
.r4-list-heading{display:flex;align-items:center;gap:12px;margin:24px 0 12px;font-weight:650;color:#204664;font-size:.96rem}.r4-list-heading h2{font-size:1rem;margin:0}.r4-finance-list{display:grid;gap:14px}.r4-receipt,.r4-payment{border:1px solid #d9e6ef;border-radius:16px;background:#fff;box-shadow:0 5px 20px #1a426707;overflow:hidden}.r4-receipt{display:flex;align-items:flex-start;gap:18px;padding:22px}.r4-document-icon{display:inline-grid;place-items:center;flex:none;width:46px;height:46px;border-radius:14px;background:#edf6ff;color:#0965ac}.r4-document-icon svg{height:24px;width:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}.r4-receipt-body{min-width:0;flex:1}.r4-receipt header{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:0 0 5px}.r4-receipt h3{font-size:1.04rem;line-height:1.4;color:#173b60;margin:0}.r4-badge{font-size:.75rem;font-weight:650;padding:5px 11px;border-radius:100px;background:#e7f6ef;color:#20734c}.r4-receipt.is-returned{background:#fff5f5;border-color:#efc7cd}.r4-receipt.is-returned .r4-badge{background:#ffe2e5;color:#ad3448}.r4-receipt.is-returned .r4-document-icon{background:#ffe6e8;color:#c44354}
.r4-concepts{display:flex;flex-wrap:wrap;gap:14px 26px;margin:14px 0 0}.r4-concepts>div{min-width:90px;max-width:100%}.r4-concepts dt{font-size:.75rem;font-weight:400;color:#688199;margin-bottom:3px}.r4-concepts dd{font-size:.88rem;font-weight:650;line-height:1.45;color:#244969;margin:0;overflow-wrap:anywhere}.r4-receipt-total{display:flex;flex-direction:column;align-items:flex-end;gap:7px;min-width:155px;border-left:1px solid #e4edf4;padding-left:20px}.r4-receipt-total>span{font-size:.8rem;color:#5d7f9d}.r4-receipt-total>strong{font-size:1.35rem;color:#075b9e;white-space:nowrap}.r4-receipt-total button{margin-top:4px}
.r4-payment summary{display:flex;align-items:center;gap:18px;padding:22px;cursor:pointer;list-style:none}.r4-payment summary::-webkit-details-marker{display:none}.r4-payment-title{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.r4-payment-title>.r4-meta{margin:0}.r4-payment-title>strong{font-size:1.06rem;line-height:1.4;color:#173e60}.r4-payment-amount{text-align:right;display:grid;gap:4px;flex:none}.r4-payment-amount small{font-size:.78rem;color:#6c8296}.r4-payment-amount strong{font-size:1.35rem;color:#075b9e;white-space:nowrap}.r4-chevron{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#edf5fc;color:#075b9e;flex:none}.r4-payment[open] .r4-chevron{transform:rotate(180deg)}.r4-payment[open] summary{border-bottom:1px solid #e3edf5;background:#f8fbfe}.r4-payment-detail{padding:22px}.r4-payment-detail h3{font-size:.96rem;font-weight:700;color:#234a68;margin:22px 0 12px}.r4-payment-detail h3:first-child{margin-top:0}.r4-payment-detail h4{font-size:.88rem;margin:0;color:#315775}.r4-payment-receipt{padding:14px 16px;background:#f6faff;border-radius:12px;margin-bottom:10px}.r4-concept-line{padding:16px 0;border-top:1px solid #e6eef4;display:flex;align-items:flex-start;gap:20px;justify-content:space-between}.r4-concept-line>div{min-width:0}.r4-concept-line>div>strong{font-size:.92rem;line-height:1.45;color:#254b6a}.r4-concept-line .r4-meta{margin:4px 0 0}.r4-line-total{font-size:1rem;color:#075b9e;white-space:nowrap}.r4-empty{padding:30px;border:1px dashed #c6d9e8;border-radius:14px;text-align:center;background:#fff;color:#56728a}.r4-error{display:block;padding:16px;margin:12px 0;border:1px solid #edc2ca;border-radius:12px;background:#fff3f5;color:#9d3447}
.r4-contact{display:inline-flex;gap:7px;align-items:center;flex:none}.r4-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;border:1px solid #c9deef;background:#f7fbff;color:#0864ab;flex:none}.r4-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.r4-icon:hover{background:#e3f1fd}.r4-icon.is-unavailable{opacity:.4;background:#f4f6f8}.r4-roster-bottom{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}.r4-roster-bottom .gc-event__person{flex:1;min-width:150px;margin:8px 0}.gc-event__meta{align-items:center}.gc-event__meta>span{white-space:normal}.gc-event__main{min-width:0}
.r4-subtabs a:focus-visible,.r4-payment summary:focus-visible,.r4-icon:focus-visible,.r4-filterbar select:focus-visible,.r4-secondary:focus-visible{outline:3px solid #8bbde6;outline-offset:3px}.sv-section-header p:empty{display:none}
@media(max-width:1000px){.r4-receipt{gap:12px;padding:18px}.r4-concepts{gap:12px 18px}.r4-receipt-total{min-width:130px;padding-left:14px}.r4-stats>div{padding:0 14px}}
@media(max-width:640px){.r4-filterbar{gap:14px;padding:16px}.r4-filterbar>div{flex:1;min-width:120px}.r4-filterbar .r4-period-filter{min-width:100%}.r4-filterbar select{font-size:16px}.r4-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 0}.r4-stats>div:nth-child(2){border:0}.r4-receipt{display:grid;grid-template-columns:36px minmax(0,1fr);gap:12px;padding:16px}.r4-document-icon{width:36px;height:36px;border-radius:11px}.r4-document-icon svg{width:21px;height:21px}.r4-receipt-total{grid-column:1/-1;flex-direction:row;flex-wrap:wrap;align-items:center;border-left:0;border-top:1px solid #e3eaf1;padding:12px 0 0;gap:10px}.r4-receipt-total button{margin:0 0 0 auto}.r4-receipt-total>strong{font-size:1.2rem}.r4-receipt header{gap:8px}.r4-concepts{gap:12px 16px}.r4-concepts>div{min-width:92px}.r4-payment summary{padding:16px;gap:11px;flex-wrap:wrap}.r4-payment summary>.r4-document-icon{display:none}.r4-payment-title{flex-basis:calc(100% - 45px);order:0}.r4-chevron{order:1}.r4-payment-amount{order:2;text-align:left;display:flex;align-items:center;gap:12px;width:100%}.r4-payment-amount strong{font-size:1.2rem}.r4-payment-detail{padding:16px}.r4-concept-line{gap:10px}.r4-line-total{font-size:.9rem}.r4-roster-bottom .gc-event__person{min-width:120px}.r4-icon{width:36px;height:36px}}

.r4-finance-nav{flex-wrap:nowrap!important;overflow-x:auto;align-items:center;padding-bottom:12px!important}.r4-finance-nav>a{flex:none}.r4-receipt .r4-badge.is-unknown{background:#edf1f5;color:#5d7285}.sv-pdf-success.has-download-error{border-color:#ecc1c9}.has-download-error [data-download-status]{color:#a72f44}
