Text this: Real-time lost circulation estimation and mitigation