/* Optional own-account photograph. Initials remain underneath as a network-error fallback. */
.account-space .pf-photo{display:inline-grid;position:relative;place-items:center;flex-shrink:0;overflow:hidden;isolation:isolate;background:#233b64;color:#fff;border:1px solid #183255;border-radius:16px;width:44px;height:44px;font-size:15px;font-weight:700;line-height:1;letter-spacing:.3px;vertical-align:middle}
.pf-photo>img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;background:#edf2fc}
.account-space .ov-avatar.pf-photo{width:64px;height:64px;border-radius:20px;font-size:22px;box-shadow:4px 4px 0 #e6b6ac}
.account-space .account-identity{display:flex;gap:12px;align-items:center;min-width:0;max-width:400px}.account-identity>span:last-child{overflow-wrap:anywhere;min-width:0}
.account-overview .ov-school{display:block;margin-top:8px;font-size:12px;color:#4d6080;font-weight:600}
.profile-settings{display:grid;gap:22px;min-width:0;color:#20304e}.profile-settings .page-head{margin-bottom:0}.profile-settings .panel{margin:0;border-color:#cdd8eb;min-width:0}.profile-settings :is(h2,h3){color:#20304e}.profile-settings :is(p,h2,h3,small,span){overflow-wrap:anywhere}.profile-settings :is(input,button){font-size:16px}.profile-settings :is(input:not([type=range]),button){min-height:46px}.profile-settings input:not([type=range]){width:100%;min-width:0}.profile-settings .field .help{font-size:12px;margin-top:8px;line-height:1.7}.profile-settings .btn{font-size:14px}.profile-settings [hidden]{display:none!important}
.profile-settings .pf-summary{display:flex;gap:24px;align-items:center;padding:30px;background:#f8faff;border-color:#c6d5f0}.account-space .pf-avatar-large{width:88px;height:88px;border-radius:24px;font-size:31px;box-shadow:5px 5px 0 #e8c1b3}.pf-summary-copy{min-width:0}.profile-settings .pf-summary h2{font-size:clamp(23px,2.6vw,32px);line-height:1.2;margin:10px 0}.pf-summary p{color:#536684;font-size:14px;margin:0 0 8px}.pf-summary small{font-size:12px;color:#5b6d88}.pf-role{display:inline-flex;border:1px solid #c7d6f2;background:#e8efff;color:#345589;font-size:11px;font-weight:700;padding:5px 10px;border-radius:7px}
.pf-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:22px;align-items:start}.pf-stack{display:grid;gap:22px;min-width:0}.pf-section-number{font-size:10px;font-weight:750;letter-spacing:1.4px;text-transform:uppercase;color:#637796;margin-bottom:15px}.profile-settings .panel h2{font-size:23px;margin-bottom:22px}.profile-settings .panel.pf-summary h2{font-size:clamp(23px,2.6vw,32px);margin-bottom:10px}.profile-settings label{font-size:14px;margin-bottom:9px}.pf-optional{color:#5b6d88;font-size:11px;font-weight:400;margin-left:7px}.profile-settings .error{font-size:13px;line-height:1.7}.profile-settings :is(.error,.pf-status):empty{display:none}.pf-status{font-size:13px;color:#235c49;background:#eef8f1;border:1px solid #b6d3c3;padding:12px 14px;border-radius:9px;line-height:1.7}.pf-security details{padding-top:2px}.pf-security summary{display:flex;align-items:center;min-height:46px;padding:12px 15px;color:#2b4d98;background:#edf2fc;border:1px solid #c4d1e9;border-radius:10px;font-size:14px;font-weight:650;cursor:pointer}.pf-security summary::before{content:'+';font-size:21px;font-weight:400;margin-right:12px}.pf-security details[open] summary::before{content:'−'}.pf-security details[open] summary{margin-bottom:24px}.pf-security-note{font-size:12px;line-height:1.7;background:#f3f6fc;color:#526783;border-left:3px solid #a6b8d9;padding:12px 14px;border-radius:5px}
.pf-avatar-panel{border-top:4px solid #bb8d79!important}.pf-avatar-view{text-align:center;margin:26px 0}.account-space .pf-avatar-preview{width:128px;height:128px;border-radius:32px;font-size:44px}.profile-settings #pf-file{font-size:12px;padding:8px;white-space:normal;overflow:hidden;background:#f8faff}.profile-settings #pf-file::file-selector-button{font:inherit;font-size:12px;min-height:38px;border:1px solid #bdcce5;border-radius:7px;background:#eaf0fb;color:#29477b;padding:8px 10px;margin-right:8px;cursor:pointer}.pf-editor{border:1px solid #d3deef;border-radius:14px;background:#f7f9fe;padding:18px;margin:20px 0}.pf-editor canvas{display:block;width:min(100%,256px);height:auto;aspect-ratio:1;margin:16px auto 22px;border:1px solid #a8bad9;border-radius:16px;background:#e5ecf8;touch-action:none;cursor:grab}.pf-editor canvas:active{cursor:grabbing}.pf-editor input[type=range]{display:block;width:100%;min-height:44px;padding:0;accent-color:#3459c7;margin:0 0 12px}.pf-editor label{font-size:12px;margin-bottom:0}.pf-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.pf-actions .btn{flex:1}.profile-settings .pf-conflict{padding:24px;border:1px solid #d9bd85;background:#fff5df;border-radius:16px;color:#684f23}.pf-conflict h2{font-size:20px;margin-bottom:12px}.pf-conflict p{font-size:14px}.pf-bottom-note{margin:0;padding:14px 18px;border:1px solid #adc3ef38;border-radius:10px;background:#0d214ce8;color:#e0eaff;font-size:12px;line-height:1.7}
@media(max-width:1000px){.pf-grid{grid-template-columns:1fr}.pf-avatar-panel{max-width:none}.account-space .ov-avatar.pf-photo{width:52px;height:52px;font-size:18px;border-radius:16px}}
@media(max-width:640px){.profile-settings,.pf-stack,.pf-grid{gap:18px}.profile-settings .pf-summary{padding:24px;gap:18px;align-items:flex-start}.account-space .pf-avatar-large{width:64px;height:64px;border-radius:18px;font-size:23px;box-shadow:3px 3px 0 #e8c1b3}.profile-settings .panel.pf-summary h2{font-size:24px}.profile-settings .panel h2{font-size:22px}.profile-settings .pf-summary p{font-size:12px}.pf-editor{padding:15px}.pf-actions{flex-direction:column}.pf-actions .btn{width:100%}.account-space .account-identity{max-width:75%;gap:10px}.account-identity .pf-photo{width:34px;height:34px;border-radius:11px;font-size:12px}.account-user .account-identity>span:last-child{max-width:none}.account-space .ov-avatar.pf-photo{width:42px;height:42px;border-radius:13px;font-size:16px}.profile-settings #pf-data-form .btn{width:100%}}
