.profile{position:relative}
.profile .avatar{padding:0!important;width:42px;height:42px;display:grid;place-items:center;border-radius:50%;cursor:pointer;background:#eef0fa;flex:none;overflow:hidden}
.profile .avatar[hidden]{display:none}
.profile .avatar:focus-visible{outline:3px solid #ed2438;outline-offset:3px}
.user-photo{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.user-photo-large{width:80px;height:80px;object-fit:cover;border-radius:50%;display:block;margin:0 auto 12px}
#user-profile-menu{position:absolute;right:0;top:calc(100% + 10px);width:300px;max-width:calc(100vw - 32px);padding:16px;background:#fff;border:1px solid #e3e5ef;box-shadow:0 12px 36px #17263824;border-radius:16px;z-index:15}
.user-menu-summary{text-align:center;padding:8px 0 16px;border-bottom:1px solid #eee;margin-bottom:8px;overflow-wrap:anywhere}
.user-menu-summary b,.user-menu-summary small{display:block}
.user-menu-summary small{margin-top:5px;color:#78839b;font-size:12px}
#user-profile-menu>button{display:block;width:100%;text-align:left;margin-top:4px;background:#f6f7fb;color:#172638}
#user-profile-menu>button.user-menu-logout{color:#d82d45;background:#fff0f2}
.user-profile-detail{text-align:center;overflow-wrap:anywhere}
#server-user-settings{display:grid;gap:16px;margin-bottom:16px}
#modal .user-photo-large{width:100px;height:100px}
