If a client gives a lawyer a check that includes payment for the legal fee and for court or other costs associated with the representation, the lawyer must deposit the check into the trust account and withdraw from the trust account that portion of the deposit that represents earned legal fees.