Terminally ill mom writes a lifetime of greeting cards for daughter