/* Employee identity anchors the page; independent forms keep saving and password changes distinct. */
.staff-profile-page{max-width:1120px;--profile-surface:var(--ops-surface);--profile-inset:var(--staff-canvas);--profile-text:var(--staff-ink);--profile-note:var(--staff-muted);--profile-border:var(--staff-line);color:var(--profile-text)}
.profile-identity{display:flex;align-items:center;gap:20px;padding:24px 0 28px;border-bottom:1px solid var(--profile-border);margin-bottom:28px}
.profile-avatar{width:64px;height:64px;flex-shrink:0;border-radius:20px;display:grid;place-items:center;background:var(--profile-surface);border:1px solid var(--profile-border);font-size:26px;font-weight:650;color:var(--staff-rose)}
.profile-identity-copy{min-width:0}.profile-eyebrow{font-size:12px;color:var(--profile-note)}.profile-identity h2{font-size:24px;line-height:1.3;margin:6px 0 8px;overflow-wrap:anywhere}.profile-identity p{margin:0;color:var(--profile-note);font-size:12px}.profile-identity p strong{color:var(--profile-text);font-weight:500;margin-left:8px}.profile-account-meta{display:flex;align-items:flex-end;flex-direction:column;gap:12px;margin-left:auto;font-size:12px;color:var(--profile-note)}
.profile-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}.profile-card.panel{padding:28px;margin:0;background:var(--profile-surface);box-shadow:none;border-color:var(--profile-border)}
.profile-section-heading{display:flex;gap:12px;align-items:baseline;margin-bottom:28px}.profile-section-number{font-size:12px;font-weight:600;color:var(--staff-rose);font-variant-numeric:tabular-nums}.profile-section-heading h2{font-size:18px;margin:0 0 6px}.profile-section-heading p{font-size:12px;color:var(--profile-note);margin:0;line-height:1.7}
.profile-form fieldset{display:grid;grid-template-columns:minmax(0,1fr);border:0;padding:0;margin:0;min-width:0}.profile-form label{display:flex;align-items:center;justify-content:space-between;font-size:13px;color:var(--profile-text);margin:0 0 8px}.profile-form input{min-height:44px;background:var(--profile-inset);color:var(--profile-text);border-color:var(--profile-border)}.profile-form input:focus-visible{outline:2px solid var(--staff-rose);outline-offset:2px}.profile-form small{color:var(--profile-note);font-size:12px;line-height:1.8;margin:8px 0 24px}.profile-optional{font-size:12px;font-weight:400;color:var(--profile-note)}
.profile-password-input{display:flex;gap:8px;margin-bottom:20px}.profile-password-input:has(+small){margin-bottom:0}.profile-password-input input{flex:1;width:0}.profile-password-input button{flex-shrink:0;min-width:52px;padding:8px;font-size:12px}.profile-form-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;border-top:1px solid var(--profile-border);margin-top:24px;padding-top:20px}.profile-form-actions button{min-height:44px}.profile-account-note{padding:16px;background:var(--profile-inset);border-radius:8px;font-size:12px;color:var(--profile-note);line-height:1.8;overflow-wrap:anywhere}.profile-account-note strong{display:block;color:var(--profile-text);font-weight:600;margin-bottom:4px}.profile-account-note p{margin:0}.profile-feedback{margin:16px 0 0;padding:12px 14px;border-radius:8px;background:#edf7f3;color:#256c53;font-size:13px;overflow-wrap:anywhere}.profile-feedback.is-error{background:#fff1f4;color:#a52643}.profile-feedback[hidden]{display:none}
@media(max-width:1100px){.profile-card.panel{padding:24px}.profile-columns{gap:20px}}@media(max-width:940px){.profile-columns{grid-template-columns:1fr}.profile-identity{flex-wrap:wrap;gap:16px}.profile-account-meta{margin-left:0;align-items:flex-start}.profile-identity-copy{flex:1}.staff-profile-page{max-width:720px}}@media(max-width:520px){.profile-card.panel{padding:20px}.profile-identity{padding:8px 0 24px}.profile-account-meta{width:100%;flex-direction:row;align-items:center;justify-content:space-between}.profile-identity h2{font-size:22px}.profile-section-heading{margin-bottom:24px}.profile-form-actions button{flex:1}.profile-account-meta>span:last-child{font-size:11px}}
