/* Fix158: independent finance/performance destinations and a private profile. */
.rep-profile-shortcut{display:flex;align-items:center;gap:8px;min-width:0;max-width:210px;color:#fff!important;text-decoration:none!important;flex-shrink:0;padding:3px 2px;line-height:1.45;text-align:start}
.rep-profile-shortcut-copy{min-width:0;display:grid;gap:2px}.rep-profile-shortcut-copy strong{font-size:.8rem;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rep-profile-shortcut-copy small{font-size:.65rem;color:#d3e6ec}
.rep-avatar{display:grid;place-items:center;flex:0 0 auto;width:40px;height:40px;overflow:hidden;border-radius:50%;border:2px solid #8fcbd1;background:#e2f0f1;color:#285968}.rep-avatar img{display:block;width:100%;height:100%;object-fit:cover}.rep-avatar svg{width:66%;height:66%;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.rep-profile-shortcut:focus-visible,.rep-section-rail a:focus-visible,.rep-unlock-links a:focus-visible{outline:3px solid #68a5df;outline-offset:3px}
.rep-topbar-signed .rep-primary-nav{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.rep-primary-nav .rep-header-action[aria-current=page]{background:#fff;color:var(--rep-navy)!important;border-color:#fff;font-weight:700}
.rep-body-signed{width:min(1540px,calc(100% - 40px));margin:22px auto;flex:1;min-width:0;display:grid;grid-template-columns:222px minmax(0,1fr);align-items:start;gap:20px;text-align:center}
.rep-body-signed .rep-main{width:100%;margin:0;min-width:0}.rep-section-rail{position:sticky;top:16px;min-width:0;text-align:start;background:white;border:1px solid var(--rep-line);border-radius:14px;padding:10px;box-shadow:0 4px 18px #153b5208}.rep-section-rail nav{display:grid;gap:4px}.rep-section-rail nav>a{display:flex;align-items:center;gap:9px;padding:11px 9px;min-height:44px;border-radius:9px;color:var(--rep-navy);font-size:.81rem;font-weight:600;text-decoration:none;text-align:start;min-width:0}.rep-section-rail nav>a span{min-width:0;overflow-wrap:anywhere}.rep-section-rail nav>a svg{width:20px;height:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.rep-section-rail nav>a:hover,.rep-section-rail nav>a[aria-current=page]{background:#e6f0f6;color:#174c68}.rep-section-rail nav>a[aria-current=page]{box-shadow:inset -3px 0 0 #087d83}.rep-section-rail .rep-rail-site{display:block;margin:8px 3px 3px;padding:10px 8px 0;border-top:1px solid var(--rep-line);font-size:.72rem;color:var(--rep-muted);text-decoration:none}
.rep-profile-page{text-align:start;max-width:1060px;margin:0 auto}.rep-profile-page h2{margin-bottom:6px}.rep-profile-page .rep-heading .rep-button{margin-inline-start:auto}.rep-profile-photo-card{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}.rep-profile-photo-current{display:flex;align-items:center;gap:18px;flex:1;min-width:230px;text-align:start}.rep-avatar-large{width:96px;height:96px;border-width:2px}.rep-profile-photo-actions{display:flex;align-items:end;flex-wrap:wrap;gap:9px;min-width:200px}.rep-profile-photo-actions form{margin:0}.rep-profile-upload{display:grid;gap:7px;max-width:330px}.rep-profile-upload input{width:100%;font:inherit;font-size:.78rem;min-width:0}.rep-profile-upload label{font-size:.79rem;font-weight:600}.rep-profile-upload p{margin:0}.rep-profile-fieldset{margin:0;padding:0;border:0;min-width:0}.rep-profile-fieldset[disabled]{opacity:.72}.rep-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px;margin-top:16px}.rep-profile-grid label{display:grid;gap:5px;align-content:start;font-size:.79rem;font-weight:600;min-width:0}.rep-profile-grid input,.rep-profile-grid textarea,.rep-profile-grid select{min-width:0;width:100%;border:1px solid #c7d5df;border-radius:9px;padding:10px 12px;min-height:43px;background:#fff;color:var(--rep-text);font:inherit;font-size:.86rem}.rep-profile-grid textarea{resize:vertical;min-height:90px}.rep-profile-grid :is(input,textarea,select):focus-visible,.rep-profile-upload input:focus-visible{outline:3px solid #68a5df;outline-offset:2px}.rep-profile-wide{grid-column:1/-1}.rep-profile-grid small{font-weight:400}.rep-profile-security-heading{display:flex;gap:12px;align-items:start;justify-content:space-between}.rep-profile-tag{padding:4px 10px;border-radius:99px;font-size:.74rem;font-weight:700;background:#e7eef3;color:#405765;white-space:nowrap;flex-shrink:0}.rep-profile-tag[data-set=true]{background:#e4f5ec;color:#206241}.rep-profile-save{display:flex;justify-content:flex-end;gap:8px}.rep-profile-save .rep-button{min-width:180px}.rep-unlock-icon{display:grid;place-items:center;width:60px;height:60px;background:#e6f0f4;border-radius:16px;margin:0 auto 16px;color:var(--rep-navy)}.rep-unlock-icon svg{width:36px;height:36px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.rep-unlock-links{display:flex;justify-content:center;gap:15px;flex-wrap:wrap;margin:20px 0 8px;font-size:.8rem}.rep-order-pause{margin:0 0 14px;text-align:start;border-color:#e8cda2;background:#fff9ee}.rep-order-pause strong{color:#754819;display:block}.rep-order-pause p{white-space:pre-wrap;overflow-wrap:anywhere;color:#634925}
@media(max-width:1060px){.rep-body-signed{grid-template-columns:minmax(0,1fr);width:calc(100% - 28px);gap:12px;margin:16px auto}.rep-section-rail{position:static;padding:8px}.rep-section-rail nav{display:flex;flex-wrap:wrap;gap:5px}.rep-section-rail nav>a{flex:1 1 138px;min-height:42px;padding:8px}.rep-section-rail nav>a[aria-current=page]{box-shadow:none;border-bottom:2px solid var(--rep-teal)}.rep-section-rail .rep-rail-site{display:none}.rep-topbar-signed .rep-brand{flex:1;margin-inline-end:auto}.rep-topbar-signed .rep-primary-nav{order:3;width:100%;justify-content:center}.rep-topbar-signed .rep-profile-shortcut{max-width:160px}.rep-topbar-signed .rep-header-action{white-space:normal;text-align:center}}
@media(max-width:560px){.rep-body-signed{width:calc(100% - 18px);margin:10px auto}.rep-section-rail nav>a{flex-basis:42%;font-size:.72rem;gap:6px}.rep-section-rail nav>a svg{width:18px;height:18px}.rep-profile-shortcut-copy strong{max-width:76px}.rep-topbar-signed .rep-profile-shortcut{max-width:135px}.rep-topbar-signed .rep-brand-mark{width:34px;height:34px;font-size:23px}.rep-topbar-signed .rep-brand{gap:5px;font-size:.75rem}.rep-topbar-signed .rep-primary-nav{gap:5px}.rep-topbar-signed .rep-primary-nav .rep-header-action{flex:1 1 28%;font-size:.69rem;padding:5px 7px;min-height:43px}.rep-profile-grid{grid-template-columns:1fr;gap:10px}.rep-profile-photo-actions{width:100%}.rep-profile-upload{max-width:100%;flex:1}.rep-profile-photo-current{gap:10px}.rep-avatar-large{width:76px;height:76px}.rep-profile-grid input,.rep-profile-grid select,.rep-profile-grid textarea{font-size:16px}.rep-profile-security-heading{gap:6px}}
@media print{.rep-profile-shortcut,.rep-section-rail,.rep-primary-nav{display:none!important}.rep-body-signed{display:block!important;width:100%!important;margin:0!important}.rep-profile-page,.rep-unlock{display:none!important}}
/* Do not inherit public-site menu overlays in the new account rail either. */
.rep-workspace .rep-section-rail nav{position:static;inset:auto;z-index:auto;float:none;transform:none;visibility:visible;opacity:1;width:100%;height:auto;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
@media(max-width:760px){
    .rep-workspace .rep-topbar-signed .rep-primary-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;flex:1 1 100%;gap:7px}
    .rep-topbar-signed .rep-primary-nav a:last-child{grid-column:1/-1}
    .rep-topbar-signed .rep-primary-nav .rep-header-action{min-height:44px}
}
