I am so sorry about B's passing and how much you loved her is obvious.
The gums and tongue lose colour when there is internal bleeding.
If this happened sudden;y, and she seemed fine just before this....then my suspicion is she passed away from Hemangiosarcoma.
My own dog had this.
Dogs who have Hemangiosarcoma can suddenly collapse and die -from being quite well, even hours or a day or so before.
Hemangiosarcoma isn't detectable through bloodwork or normal health checks, and only diagnostic methods such as ultrasound can spot bleeding internal tumours. But who sends a perfectly healthy dog for an ultrasound?
You couldn't have known, and in my opinion, the vet wouldn't even have known.
Hemagiosarcoma is called the "silent killer" of dogs because it usually gives no warning of its presence until there is an internal haemorrhage. And that is often fatal.
It is a cancer of the "endothelial cells" (the cells which line blood vessels.) The primary tumour is often on the spleen, but can be on the heart, brain, liver, or within the abdomen too. By the time it is even diagnosed, it has spread all through the body via blood vessels, and does not just remain at the tumour site.
There is no cure. Even chemotherapy can only usually prolong life by a very short margin, and it may not even be worth it for the side effects.
Our own vet told me that it is often not acutely painful as such, but more "uncomfortable" for them, and of course, their blood pressure drops from all the blood loss internally.
So B would have slowly slipped into a gentle unconsciousness by the sound of it. And she was with you and knew you were by her to comfort her.
Bless her Soul.
I send you my deepest condolences.