Mastering Cash Management: Liquidity Buffers and Costs