:root{color-scheme:light;font:16px/1.5 system-ui,sans-serif;color:#152f44;background:#f2f5f7}*{box-sizing:border-box}body{margin:0}header{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:4rem;padding:.5rem max(5%,calc((100% - 60rem)/2));background:#162d38;color:#faf8f2;border-bottom:2px solid #b59858}
header>a{display:inline-flex;align-items:center;min-height:44px;color:inherit;text-underline-offset:.2em}
.workspace-logo{flex:none}.workspace-logo img{display:block;width:clamp(8rem,30vw,9.75rem);height:auto}
main{max-width:62rem;margin:2rem auto 5rem;padding:0 1rem}h1{font:500 clamp(1.9rem,4vw,2.8rem)/1.15 Georgia,serif}h2{font-size:1.3rem}h3{font-size:1.08rem}p{margin:.6rem 0}article,details,form{background:white;border:1px solid #d4dfe4;border-radius:.55rem;padding:1.1rem;margin:.9rem 0}article form,details form{border:0;padding:0}summary{cursor:pointer;font-weight:650}label{display:grid;gap:.25rem;margin:.65rem 0;font-weight:550}input,select,button{font:inherit;border-radius:.35rem}input,select{width:min(100%,34rem);padding:.55rem;background:white;color:inherit;border:1px solid #8498a6}button{margin:.45rem .6rem .15rem 0;padding:.55rem .95rem;cursor:pointer;border:1px solid #125447;background:#14584b;color:white}button:disabled{opacity:.65;cursor:wait}#identity,#feedback{color:#395363}#feedback.error{color:#90281c}a{color:#125549}code,dd,p,li{overflow-wrap:anywhere}dl{display:grid;grid-template-columns:minmax(8rem,40%) minmax(0,1fr);gap:.35rem}dd{margin:0;font-variant-numeric:tabular-nums}button,summary{min-height:2.65rem}ul{padding-left:1.25rem}footer{margin:1rem auto;max-width:60rem}footer img{max-width:12rem}

.account-switch{margin-left:.8rem;background:white;color:#125447}.site-footer{background:#162d38;color:#faf8f2;padding:1.5rem}.site-footer a{color:#e0bc72}.footer-links{display:flex;flex-wrap:wrap;gap:1rem 2rem}.footer-links a{display:block}.footer-brand>a{display:inline-flex;min-height:44px;align-items:center}.footer-brand img{display:block;width:9.75rem;height:auto}.footer-base{border-top:1px solid #52636b;margin-top:1rem;padding-top:1rem}

label[hidden]{display:none}label:has(input[type=checkbox]){display:flex;align-items:flex-start;gap:.5rem}label[hidden]:has(input[type=checkbox]){display:none}input[type=checkbox]{width:1.2rem;height:1.2rem;flex-shrink:0}
.portal-frame #identity {display:flex;align-items:center;gap:.65rem;flex-wrap:wrap;margin:.55rem 0 1.2rem}
.portal-frame .account-switch {min-height:44px;font-size:.86rem;border:1px solid #b3c4c5;border-radius:5px;margin:0;padding:.35rem .75rem}
.portal-frame #feedback:empty {display:none}
.portal-frame #content>form,.portal-frame .partner-profile,.portal-frame #content>article {border:1px solid #cbd7d8;border-radius:.65rem;padding:clamp(1rem,2.2vw,1.7rem);background:white}
.portal-frame #content>form h3:first-child,.portal-frame .partner-profile h2 {margin-top:0}
.portal-frame .partner-profile dl,.portal-frame .finance-record dl {gap:0;margin:1rem 0 0}
.portal-frame #content :is(dt,dd) {padding:.48rem 0;border-bottom:1px solid #e0e7e7}
.portal-frame #content dt {color:#52676a}.portal-frame #content dd{font-weight:600}
.portal-frame #content .portal-metrics :is(dt,dd){padding:0;border:0}
.portal-frame .portal-block>div>details {padding:0;border-color:#cfdbdb;overflow:hidden}
.portal-frame .portal-block>div>details>summary {padding:.75rem 1rem;background:#f5f8f8;min-height:44px}
.portal-frame .portal-block>div>details>summary small{display:inline-block;font-size:.78rem;font-weight:550;color:#415d64;margin-left:.7rem}
.portal-frame .portal-block details>article{margin:0;border:0}
.portal-frame .referral-register {width:100%;border-collapse:collapse;text-align:left}
.shared-referrals{table-layout:fixed}
.shared-referrals tbody th{overflow-wrap:anywhere}
.shared-referrals thead th:first-child{width:44%}
.shared-referrals thead th:nth-child(2){width:24%}
@media(max-width:640px){
 .shared-referrals thead th:first-child{width:34%}
 .shared-referrals thead th:nth-child(2){width:33%}
}
.referral-register th,.referral-register td {font-weight:500;padding:.75rem;border-bottom:1px solid #d3dedd}
.referral-register thead th{background:#edf3f2;font-size:.85rem;color:#486066}
.portal-frame [data-workspace-section] {scroll-margin-top:1rem}
@media(min-width:1100px){
 .portal-frame:has(.partner-profile) #content{display:grid;grid-template-columns:minmax(0,1fr) minmax(17rem,.62fr);gap:1rem}
 .portal-frame:has(.partner-profile) #content>*{margin:0}
 .portal-frame:has(.partner-profile) #content>:first-child,.portal-frame:has(.partner-profile) #content>.portal-block{grid-column:1/-1}
}
@media(max-width:520px){.portal-frame #content dl:not(.portal-metrics){grid-template-columns:minmax(0,.85fr) minmax(0,1fr);column-gap:.65rem}}
.portal-frame .review-register {table-layout:fixed}
.review-register thead th:first-child {width:44%}
.review-register thead th:nth-child(2) {width:24%}
.review-register td button {max-width:100%;margin:0;min-height:44px;overflow-wrap:anywhere}
@media(max-width:640px){
 .review-register thead th:first-child {width:42%}
 .review-register thead th:nth-child(2) {width:26%}
 .review-register td button {padding:.45rem .3rem}
}
@media(max-width:440px){
 .portal-frame .review-register td button {font-family:ui-monospace,Menlo,Consolas,monospace;font-size:.8rem;letter-spacing:0}
}
