The engine rebuilds each seafarer’s rest timeline at half-hour resolution. The hour floors and the 14-hour cap are checked over every rolling window; the two division rules are checked per record day, the way the IMO/ILO table is read, so a sleep that crosses midnight is one period. Any breach grades the seafarer red; within half an hour of a daily limit, or an hour of the weekly floor, amber.
The office desk never edits a ship-submitted record. Its signature instrument sets violations found on one side against the implausibility of the record on the other, since a log that hits the legal minimum every day is itself flagged for review.