/* Staff-only account card; the public homepage and sign-in stay unchanged. */
body.workspace-upgraded #staffPortal{grid-template-areas:'hero hero' 'shortcuts shortcuts' 'profile profile' 'upload guide' 'upload mail' 'completed completed' 'notes notes' 'alerts alerts'}
body.workspace-upgraded #staffPortal>#staffProfileCard,#staffProfileCard{grid-area:profile;display:flex;align-items:center;gap:22px;padding:24px 28px!important;margin:0!important;min-width:0;background:var(--ws-surface,#fff)!important;border:1px solid var(--ws-line,#ebdfd5)!important;border-radius:18px;box-shadow:0 4px 20px #43200c04}
#staffPortal>#staffProfileCard[hidden],#staffProfileCard [hidden]{display:none!important}
#staffProfileCard .staff-profile-portrait{position:relative;flex:0 0 88px;width:88px;height:88px;border-radius:50%;background:linear-gradient(145deg,#fff0df,#ffd4ad);border:4px solid var(--ws-surface,#fff);outline:1px solid var(--ws-line,#ebdfd5);overflow:hidden;display:grid;place-items:center}
#staffProfileCard #staffProfileInitials{font-size:27px;font-weight:750;letter-spacing:-1px;color:#7b390d!important}
#staffProfileCard #staffProfilePhoto{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
#staffProfileCard .staff-profile-copy{flex:1;min-width:0}
#staffProfileCard .staff-profile-eyebrow{display:block;font-size:9px;letter-spacing:.13em;font-weight:750;color:var(--ws-accent,#ac470c)!important;margin-bottom:7px}
#staffProfileCard h2{font-size:20px!important;letter-spacing:-.5px;margin:0 0 6px!important;color:var(--ws-ink,#29201c)!important;line-height:1.3}
#staffProfileCard p{font-size:12px;line-height:1.6;margin:0!important;color:var(--ws-muted,#655f5a)!important;overflow-wrap:anywhere}
#staffProfileCard #staffProfileIdentity{color:var(--ws-ink,#29201c)!important;font-weight:650;margin-bottom:2px!important}
#staffProfileCard .staff-profile-help{margin-top:2px!important}
#staffProfileCard .staff-profile-status{font-size:11px;margin-top:7px!important;color:var(--ws-accent,#a74b12)!important}
#staffProfileCard .staff-profile-status.is-error{color:#b33326!important}
#staffProfileCard .staff-profile-controls{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;max-width:255px}
#staffProfileCard button{min-height:42px;padding:10px 15px;border-radius:10px;font-size:12px;font-weight:700;margin:0!important}
#staffProfileCard .secondary{background:var(--ws-soft,#faf7f3)!important;color:var(--ws-ink,#29201c)!important;border:1px solid var(--ws-line,#e8dbd0)!important}
#staffProfileCard .primary{background:linear-gradient(120deg,#ffa859,#ff8530 55%,#ed6b14)!important;color:#321b0c!important;border:1px solid #e27125!important;box-shadow:none!important}
#staffProfileCard button:disabled{opacity:.55;cursor:wait}
#staffProfileCard button:focus-visible{outline:3px solid #d85d14;outline-offset:3px}
#staffProfileCard small{width:100%;text-align:right;font-size:10px;color:var(--ws-muted,#655f5a)!important;margin-top:2px}
#portalRole .avatar.has-staff-photo{padding:0!important;overflow:hidden;border-radius:50%;vertical-align:middle}
#portalRole .staff-profile-sidebar-photo{width:100%;height:100%;display:block;object-fit:cover}
html[data-theme="dark"] #staffProfileCard .staff-profile-status.is-error{color:#ffaba3!important}
@media(max-width:700px){body.workspace-upgraded #staffPortal{grid-template-columns:minmax(0,1fr);grid-template-areas:'hero' 'shortcuts' 'profile' 'upload' 'completed' 'notes' 'mail' 'guide' 'alerts'}body.workspace-upgraded #staffPortal>#staffProfileCard{gap:17px;padding:22px!important}}
@media(max-width:560px){body.workspace-upgraded #staffPortal>#staffProfileCard{flex-wrap:wrap;gap:15px;padding:20px!important}#staffProfileCard .staff-profile-portrait{flex-basis:72px;width:72px;height:72px}#staffProfileCard .staff-profile-copy{flex-basis:calc(100% - 90px)}#staffProfileCard h2{font-size:18px!important}#staffProfileCard .staff-profile-controls{flex:1 0 100%;max-width:none;justify-content:flex-start;padding-top:14px;border-top:1px solid var(--ws-line,#ebdfd5)}#staffProfileCard small{text-align:left;margin-top:3px}}
