Percentage of birth weight lost: (birth weight − weight today) ÷ birth weight, to two decimal places.
Under 8% lost, or at/above birth weight
8% to under 10% lost — approaching the threshold
10% or more lost — flag for review
Nothing is saved — clear and reuse for the next baby. Works with no signal.