/* A single canvas for every authenticated member service. */
.member-portal-page{background:#f5f6fa;color:#252537}
.member-portal-page>.header,.member-portal-page .page-banner,.member-portal-page>.partner-carousel,.member-portal-page>footer,.member-portal-page :is(.quicknav,.quick-nav,.utility-bar,.member-topbar){display:none!important}
.member-portal-page .member-wrap{max-width:1680px;width:calc(100% - 48px);margin:0 auto 48px;padding:0}
.member-portal-header{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:80px;padding:16px 0;border-bottom:1px solid #dce1eb}
.member-portal-brand{display:flex;align-items:center;gap:20px;text-decoration:none}.member-portal-brand img{width:180px;height:auto}.member-portal-brand span{color:#fff;background:#2c2867;padding:6px 10px;border-radius:5px;font-size:14px;font-weight:700}
.member-portal-actions{display:flex;align-items:center;gap:16px;font-size:14px}.member-portal-actions a,.member-portal-actions button{min-height:44px;padding:10px 14px;border:1px solid #cbd2df;background:#fff;border-radius:6px;color:#2c2867}
.member-portal-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:28px;align-items:start;padding-top:24px}
.member-portal-sidebar{position:sticky;top:20px;max-height:calc(100dvh - 40px);overflow:auto;padding:16px;background:#fff;border:1px solid #e0e4ee;border-radius:8px}
.portal-nav-heading{margin:0 0 10px;font-size:13px;font-weight:700;color:#657086}
.member-portal-sidebar .member-tabs{display:flex;flex-direction:column;gap:4px;margin:0;border:0;overflow:visible}.member-portal-sidebar .member-tabs a{flex:none;text-align:left;padding:12px;border:0;border-radius:5px;font-size:15px;white-space:normal;color:#3d475c}.member-portal-sidebar .member-tabs a[aria-current]{background:#2c2867;color:white;font-weight:700}
.member-portal-main{min-width:0}.member-portal-title{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:60px;margin-bottom:18px}.member-portal-title h1{font-size:26px;margin:0;line-height:1.4}.portal-role-label{display:grid;gap:6px;color:#59677b;font-size:13px;max-width:100%;min-width:240px}.portal-role-label select{width:100%;max-width:440px;min-height:44px;padding:9px 12px;border:1px solid #c6cddd;border-radius:6px;background:#fff;color:#252537;font:inherit;font-size:15px}
.member-portal-page #account-status:empty{display:none}.member-portal-page #account-content{margin:0;padding:28px;border-radius:8px;min-height:calc(100dvh - 230px)}
.member-portal-page #account-content>h2:first-child{font-size:22px}.member-portal-page #account-content:has(#work-grants)>h2:first-child,.member-portal-page #work-grants,.member-portal-page .work-mobile-menu{display:none!important}
.member-portal-page .work-console{display:block;margin-top:0}.member-portal-sidebar .work-sidebar{display:flex;flex-direction:column;gap:5px;margin:20px 0 0;padding:18px 0 0;border:0;border-top:1px solid #e0e4ee;background:transparent;position:static}.member-portal-sidebar .work-nav-title{font-size:13px;background:transparent;border:0;padding:0 0 6px}.member-portal-sidebar .work-sidebar button{font-size:15px;min-height:44px;padding:10px 12px}.member-portal-sidebar .work-nav-note{font-size:12px}.member-portal-sidebar .work-team-link{font-size:14px}
.member-portal-page :is(#password,#member-identity-recheck){max-width:720px}.member-portal-page :is(input,select,textarea){max-width:100%;box-sizing:border-box}.member-portal-page :is(a,button,select):focus-visible{outline:3px solid #139ad4;outline-offset:3px}
.portal-menu-toggle{display:none}
@media(max-width:1000px){.member-portal-layout{grid-template-columns:210px minmax(0,1fr);gap:20px}.member-portal-header{gap:12px}.member-portal-brand{gap:10px}.member-portal-brand span{display:none}.member-portal-title{align-items:flex-start;flex-direction:column}.portal-role-label{width:100%;min-width:0}}
@media(max-width:750px){.member-portal-page .member-wrap{width:calc(100% - 28px);margin-top:0}.member-portal-header{flex-wrap:wrap;padding:14px 0;gap:10px}.member-portal-brand img{width:150px}.member-portal-actions{flex:1;justify-content:flex-end;gap:8px;font-size:12px;flex-wrap:wrap}.member-portal-actions>span{width:100%;text-align:right}.member-portal-actions a,.member-portal-actions button{padding:8px;min-height:40px}.member-portal-layout{display:block;padding-top:16px}.member-portal-page .portal-menu-toggle{display:block;width:100%;text-align:left;background:#2c2867;color:#fff;border:1px solid #2c2867;border-radius:6px;padding:12px 14px;min-height:46px;margin-bottom:16px;font-size:16px;font-weight:700}.member-portal-sidebar{display:none;position:static;max-height:none;margin-bottom:20px}.portal-menu-open .member-portal-sidebar{display:block}.member-portal-title{gap:14px;margin-bottom:16px}.member-portal-title h1{font-size:23px}.member-portal-page #account-content{padding:18px 14px;min-height:60dvh}.portal-role-label select{max-width:none;width:100%;min-width:0}.member-portal-page .member-panel h2{font-size:21px}}
@media(max-width:750px){.member-portal-page .member-wrap .portal-menu-toggle{background:#2c2867;color:#fff;border-color:#2c2867}}
