So to maintain your current weight, you would be 1,724 calories. I think the key is to avoid doing any crash dieting and instead work to rectify the lifestyle habits that are working against you, as this will be what makes weight loss sustainable. The slower and more controlled you are in losing weight, the more likely you are to keep it off.
A loss of pound per week is a good amount to aim for, which is 3,500 calories and so a deficit of 500 a day (3,500/7 days). This would mean your daily calories should be around 1,224. You are probably panicking at this number, but keep in mind it's based on your current sedentary lifestyle. Can you get out and walk 7,000 steps a day at a brisk pace? (Do you have a step counter on your phone?)
If so, your maintenance calories change to around 2,120 and so your pound-per-week weight loss target would be 1,620. This is based on your current weight, as you loose you would need to drop the calories a bit or you the steps to maintain the deficit (but this would get easier as you adjusted to the new lifestyle).
The main reason women in their 40s increase their weight inadvertently isn't really because of hormonal changes that typically get blamed, but because of losing muscle mass. Muscle burns much more calories than fat at rest, so as your muscle % drops in your 40s and beyond, your weight will creep up even if nothing else changes. If would be great if you could find a fitness class to go along to once or twice a week, or even an at-home option (lots of free YouTube ones available) to combat this. This will really help your weight loss and health in the long term.
I used chat GPT as a shortcut to work out your stats. The screenshot is before I added the 7000 steps but shows how it was all worked out. It's also great for giving meal plans to that target.