.profile-avatar{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;overflow:hidden;width:44px;height:44px;border-radius:50%;background:linear-gradient(140deg,#0b7c9d,#1eb5c6);color:#fff;font-size:20px;font-weight:700;vertical-align:middle}
.profile-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.profile-avatar.large{width:64px;height:64px;font-size:28px}.profile-avatar.profile-avatar-large{width:100px;height:100px;font-size:40px}
.profile-avatar.header-avatar{width:32px;height:32px;font-size:15px}.profile-avatar.menu-avatar{width:26px;height:26px;font-size:13px}
.profile-identity{display:inline-flex;align-items:center;gap:10px;color:inherit;text-decoration:none}.profile-identity:hover{text-decoration:none}
.header-identity .profile-identity{color:#e0edf5}.topmenu-user .profile-avatar{margin-right:6px}
.profile-photo-summary{display:flex;align-items:center;gap:24px}.profile-photo-summary p{margin:0 0 10px}
.profile-photo-dialog{width:min(460px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:24px;border:1px solid #c8dae5;border-radius:14px;background:#fff;color:#18364a;box-shadow:0 12px 50px #071f3340}
.profile-photo-dialog::backdrop{background:#071f3380}.profile-photo-dialog h2{font-size:21px;margin:0 0 10px;color:#071f33}
.profile-photo-dialog canvas{display:block;width:min(100%,320px);height:auto;aspect-ratio:1;margin:18px auto;border-radius:50%;background:#edf5f9;touch-action:none;cursor:grab;outline-offset:4px}.profile-photo-dialog canvas:active{cursor:grabbing}
.profile-photo-dialog input[type=range]{padding:0;min-height:32px;accent-color:#087cb2}.profile-photo-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.profile-photo-editor .error,.profile-photo-dialog .error{color:#a12334;background:#fff0f2;border:1px solid #efc0c8;padding:10px 12px;border-radius:7px}
@media(max-width:540px){.profile-photo-summary{flex-direction:column;align-items:flex-start;gap:16px}.profile-photo-dialog{padding:18px}.profile-photo-actions .button{flex:1;padding:10px}.header-identity .profile-identity{gap:6px}}
