I'm looking for a specific fic where Tony needs heart surgery because something-something-arc reactor and he needs to insert a pacemaker, maybe? The fic delves deeply into how affected Tony is by the fact that his heart isn't working properly, and in the process how much closer he and the team become. It's a Tony/Pepper fic, but I do remember that the team eventually all starts sleeping in Tony&Pepper's bed, especially while Tony is so sick (it is not OT6/OT7, though perhaps it could be read to be heading that way). Also, Tony performs part of the surgery on himself, under the supervision of doctors. The team is watching from an observation room, and when the doctors re-insert the arc reactor the jolt nearly kills Tony.
Thanks in advance!
Edited to add: Found! Link in comments.