The following provisions govern a deposit to or disbursement from a construction security escrow account under this chapter:
(a)
Before the commencement of work the owner shall make an initial deposit to the account in an amount not less than 15 percent of the contract price for the work of improvement or, if the work of improvement is to be substantially completed within six months after the commencement of work, not less than 25 percent of the contract price.
(b)
If the contract provides for a retention to be withheld from a periodic payment to the direct contractor, the owner shall deposit to the account the amount withheld as retention at the time the
owner makes the corresponding payment to the direct contractor from which the retention is withheld.
(c)
The amount required to be maintained on deposit shall not exceed the total amount remaining to be paid to the direct contractor pursuant to the contract or as adjusted by agreement between the owner and the direct contractor. If the amount on deposit equals or exceeds the total amount remaining to be paid to the direct contractor, the owner and the direct contractor shall authorize disbursement to the direct contractor for progress payments then due the direct contractor, but a party is not obligated to authorize disbursement that would cause the amount remaining on deposit following the disbursement to be less than the total amount remaining to be paid to the direct contractor.
(d)
The owner and the direct contractor shall authorize the disbursement to the owner of any funds
remaining on deposit after the direct contractor has been paid all amounts due pursuant to the contract. The owner and the direct contractor shall authorize the disbursement of funds on deposit pursuant to a court order that is binding on both of them. The owner and the direct contractor may agree in the contract to additional conditions for the disbursement of funds on deposit, except that the conditions may not cause the amount remaining on deposit to be less than the amount required under this section.