Relationship between iphone, mac, and icloud if sync has not always been on
To make space on my computer, I spent a whole day deleting photos and videos in the mac photo app. This is media I want to lose forever on all devices. However, the sync between my mac and icloud was off during this time. And I now notice these photos and videos I deleted are still on my icloud and iphone, which makes total sense. But ideally I want this media to delete from my iphone and icloud too. So If i resync my mac to icloud, will it then delete these pics from mac and iphone?
To make matters a bit more complicated, there is a whole bunch of media (from last two weeks) on my iphone and icloud, which is NOT on my mac, but which I definitely do not want to lose. (so it is not a simple case of wanting the media currently on my mac to be exactly what i have on all devices)
So my ultimate goal is to have iphone/mac/icloud all synced up again showing same media, but crucially: 1) with the media I deleted on the mac deleted from all, and 2) the new media from last two weeks on iphone/icloud retained.
Can anyone see a way of doing this easily?
I'm really unclear how this all works as regards which device (mac or iphone) is regarded as the ultimate source of truth, if it even works like that...
Happy to try and explain the situation in a different way if that would be helpful.
iPhone 12 mini, iOS 17