A loan is only as good as its document. How a credit agreement is built, what the collateral and guarantees really cover, how covenants and baskets are set, and who gets to change the rules later.