My question involves landlord-tenant law in the State of: Pennsylvania.

I left my apt when my lease expired end of May. my landlord said she required 60 days notice to vacate even if the lease expired and i decided to move out as opposed to breaking the lease. (isnt standard notice 30 days in PA?) so i gave her her 60 days notice at end of march (in writing).

I did a walk thru with my ex landlord on may 31st. she said that everything looked good and that she would deduct whatever the cost would be for carpet cleaning. (mind you, she even admitted that she neither painted NOR cleaned the carpets prior to my moving in even though it reeked of cat urine). she did have in the lease though that i would be responsible for carpet cleaning.

my questions are:
1) how long does she have to return my security deposit in the state of PA?
2) doesn't she also have to send it in writing, outlining the cost of damages if any (i watch too much people's court)? within how many days? and finally,
3) what if she charges an astronomical amount for carpet cleaning? do i have any recourse being that it wasn't even cleaned prior to my moving in (although it is stated in the lease that i woudl pay for that at end of lease)?

thanks in advance