.profile-menu{position:relative;flex:0 0 auto;margin-left:auto;order:1;align-self:center}.profile-trigger{display:flex;align-items:center;gap:9px;border:0;background:transparent;cursor:pointer;padding:2px 5px;color:#7690a3}.profile-trigger>i{font-size:9px}.profile-avatar{position:relative;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:linear-gradient(140deg,#28516e,#102746);border:2px solid #fff;box-shadow:0 0 0 1px #d1dfea;overflow:hidden;color:#fff;font:700 11px 'Segoe UI',sans-serif}.profile-avatar img{width:100%;height:100%;object-fit:contain;position:absolute;inset:0;background:#fff}.profile-popover{position:absolute;right:0;top:calc(100% + 14px);z-index:10001;width:286px;max-width:calc(100vw - 28px);background:#fff;border:1px solid #dce6ee;border-radius:14px;box-shadow:0 16px 45px #10274622;padding:0;white-space:normal;overflow:hidden}.profile-popover>header{display:flex;gap:13px;align-items:center;padding:21px 19px;border-bottom:1px solid #e7edf2}.profile-photo-change{position:relative;padding:0;border:0;background:none;cursor:pointer;flex-shrink:0}.profile-photo-change .profile-avatar{width:48px;height:48px;font-size:14px}.profile-camera{position:absolute;right:-2px;bottom:0;background:#628eac;color:#fff;font:700 11px 'Segoe UI';width:17px;height:17px;border:2px solid #fff;border-radius:50%;display:grid;place-items:center}.profile-popover header>div{min-width:0}.profile-name{display:block;font:700 13px 'Segoe UI',sans-serif;color:#18364f;overflow-wrap:anywhere}.profile-company{display:block;font:400 11px/1.5 'Segoe UI',sans-serif;color:#8093a3;margin-top:5px;overflow-wrap:anywhere}.profile-nip{font:400 10px/1.6 'Segoe UI',sans-serif;color:#93a4b1}.profile-popover>nav{display:block!important;padding:7px!important;gap:0!important}.profile-popover>nav>a{display:flex!important;align-items:center;gap:12px!important;padding:13px 12px!important;color:#35556f!important;font:500 12px 'Segoe UI',sans-serif!important;border-radius:7px!important;text-decoration:none!important;background:transparent!important;white-space:nowrap;box-shadow:none!important}.profile-popover>nav>a:hover{background:#eef5fa!important}.profile-popover>nav>a>i{font-size:13px;color:#7c9ab1;width:16px}.profile-popover>nav>a>span{margin-left:auto;color:#9bafbd}.profile-message{font:400 10px/1.6 'Segoe UI',sans-serif;color:#708da2;padding:10px 18px 0;margin:0}.profile-message:empty{display:none}.profile-menu button:focus-visible,.profile-menu a:focus-visible{outline:2px solid #638fae;outline-offset:3px}.profile-menu [hidden]{display:none!important}.settings-header>nav>.profile-menu{display:flex;align-items:center;margin-left:6px}.settings-header>nav .profile-popover a{margin:0!important}.settings-company-view .settings-index,.settings-company-view .settings-sections>section:not(#company):not(#company-contacts):not(#company-bank):not(#tax){display:none!important}#company{scroll-margin-top:120px}.sidebar .nav-menu{overflow:visible!important}.profile-menu:has(.profile-popover:not([hidden])){z-index:10001}@media(max-width:600px){.profile-popover{right:0}.settings-header>nav>.profile-menu{margin-left:auto}.profile-avatar{width:33px;height:33px}}

.profile-popover>nav>.profile-logout{display:flex;align-items:center;gap:12px;width:100%;margin:6px 0 0;padding:13px 12px;border:0;border-top:1px solid #e7edf2;border-radius:0 0 7px 7px;background:transparent;color:#a44646;font:500 12px 'Segoe UI',sans-serif;text-align:left;cursor:pointer}.profile-popover>nav>.profile-logout>i{width:16px;font-size:13px;text-align:center}.profile-popover>nav>.profile-logout:hover{background:#fff2f2}.profile-popover>nav>.profile-logout:disabled{opacity:.55;cursor:wait}
.sidebar .profile-menu #profilePopover .profile-logout{width:100%!important}
