.cash-filters label,.cash-filters label:first-child{flex:0 0 170px;min-width:0}
.cash-filters input{width:100%}
.cash-book-filters{align-items:end}
.cash-book-filters label{min-width:155px}
.cash-book-filters label:nth-child(3){flex:1 1 180px}
.cash-book-day{margin:26px 0}
.cash-book-day h2{display:flex;align-items:center;gap:12px;font-size:19px}
.cash-book-day h2 span{font-size:12px;color:#56846b;font-weight:600}
.cash-book-session{margin:10px 0;background:#fff;border:1px solid #e0e8df;border-radius:12px;overflow:hidden}
.cash-book-session summary{display:flex;align-items:center;flex-wrap:wrap;gap:10px 22px;padding:18px 20px;cursor:pointer;list-style:none}
.cash-book-session summary::-webkit-details-marker{display:none}
.cash-book-session summary:before{content:'▸';color:#56846b;font-size:13px}
.cash-book-session[open] summary:before{content:'▾'}
.cash-book-session summary>span{color:#56846b}
.cash-book-session summary>strong:last-child{margin-left:auto;color:#1f6043}
.cash-book-content{border-top:1px solid #e0e8df;padding:18px 20px 22px}
.cash-book-content>p{margin:0 0 18px}
.cash-book-totals{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr));gap:10px}
.cash-book-totals>div{display:grid;gap:6px;padding:12px;background:#f5f7f4;border-radius:8px}
.cash-book-totals span{font-size:12px;color:#56846b}
.cash-book-totals strong{font-size:16px}
.cash-book-totals .cash-book-balance{background:#e8f3ea;color:#1f6043}
.cash-book-method-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:20px 0}
.cash-book-methods{min-width:0;border:1px solid #e0e8df;border-radius:10px;padding:14px}
.cash-book-methods h4{margin:0 0 8px;font-size:13px}
.cash-book-methods>div{display:flex;justify-content:space-between;gap:8px;padding:7px 0;border-top:1px solid #edf1ed}
.cash-book-methods small{color:#56846b}
.cash-book-dialog{width:min(1050px,calc(100% - 28px));max-height:90vh;border:0;border-radius:16px;padding:24px;box-shadow:0 20px 60px #142c2340}
.cash-book-dialog::backdrop{background:#142c23b0}
.cash-book-dialog h2{margin:0 0 6px}
.cash-book-dialog .table-wrap{overflow:auto;max-height:65vh}
.cash-book-dialog tr[data-sale-id]{cursor:pointer}
.cash-book-dialog tr[data-sale-id]:hover{background:#f5f9f5}
.cash-book-actions{display:flex;justify-content:flex-end;margin-top:16px}
@media(max-width:800px){.cash-book-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.cash-book-method-columns{grid-template-columns:1fr}}
@media(max-width:480px){.cash-book-totals{grid-template-columns:1fr}}
.cash-overview{width:calc(100vw - 28px);max-width:1500px;height:calc(100vh - 28px);max-height:none;box-sizing:border-box;overflow:auto;padding:28px 36px}
.cash-overview-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;border-bottom:1px solid #e0e8df;padding-bottom:18px;margin-bottom:20px}
.cash-overview-header h2{font-size:30px;margin:0 0 8px}
.cash-overview-header p{margin:0 0 8px}
.cash-overview-tabs{display:flex;gap:6px;overflow-x:auto;border-bottom:1px solid #dce8df;margin:0 0 22px;scrollbar-width:thin}
.cash-overview-tabs button{flex:0 0 auto;border:0;border-bottom:3px solid transparent;background:transparent;color:#56846b;font:inherit;font-size:13px;font-weight:700;padding:13px 18px;cursor:pointer}
.cash-overview-tabs button:hover{color:#1f6043;background:#f5f9f5}
.cash-overview-tabs button[aria-selected="true"]{border-bottom-color:#1f6043;color:#1f6043}
.cash-overview-tabs button:focus-visible{outline:2px solid #1f6043;outline-offset:-3px}
.cash-overview-tabpanel[hidden]{display:none}
.cash-overview-tabpanel{min-height:200px}
.cash-overview-ledger summary{font-size:16px;font-weight:700;cursor:pointer}
.cash-overview-ledger .table-wrap{margin-top:14px}
.cash-overview-totals{grid-template-columns:repeat(4,minmax(0,1fr))}
.cash-overview .cash-book-method-columns{margin:24px 0}
.cash-overview .cash-book-methods{background:#fff;padding:20px}
.cash-overview .cash-book-methods h3{font-size:17px;margin:0 0 12px}
.cash-overview-methods>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid #edf1ed}
.cash-overview-methods small{color:#56846b}
.cash-overview-section{background:#fff;border:1px solid #e0e8df;border-radius:12px;padding:20px;margin:18px 0}
.cash-overview-section h3{margin:0 0 14px;font-size:18px}
.cash-overview-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:14px}
.cash-overview-section-heading h3{margin:0}
.cash-overview-section-total{display:flex;align-items:baseline;gap:12px;background:#e8f3ea;color:#1f6043;padding:10px 16px;border-radius:8px}
.cash-overview-section-total span{font-size:12px}
.cash-overview-section-total strong{font-size:18px}
.cash-overview-method-title{font-size:13px;margin:18px 0 8px;color:#56846b}
.cash-overview-section>.cash-overview-methods{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:0 20px;margin-bottom:20px}
.cash-overview-section>.cash-overview-methods>div{border-top:1px solid #edf1ed}
.cash-overview-section h3 small{font-size:12px;font-weight:500;color:#56846b;margin-left:8px}
.cash-overview .table-wrap{max-height:none}
.cash-overview tr[data-sale-id]{cursor:pointer}
.cash-overview tr[data-sale-id]:hover{background:#f5f9f5}
@media(max-width:800px){.cash-overview{padding:18px}.cash-overview-totals{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.cash-overview-totals{grid-template-columns:1fr}.cash-overview-header h2{font-size:23px}}
