Post-partum bleeding continued beyond forty days

I am a young married woman and Allaah has blessed me with twin boys. I completed my [legislated] forty days post-birth (post partum) period on the seventh day of Ramadhaan, yet, my post partum bleeding continued beyond this time; However, the colour of my post partum blood had changed to how it was prior to the forty days (post-partum period), so what is the ruling regarding my [obligation to perform the] salaah and fasting?

Looking at immodestly dressed women whilst fasting

Does going out during the day in Ramadhaan to attend to one’s needs and then being struck by the immodestly dressed women [who uncover those parts of the body which are prohibited to uncover] invalidate the fast or not?