.cash-row-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:8px}.cash-icon-action{display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:34px;border:1px solid #dfe2e8;background:#fff;border-radius:8px;color:#555b66;font-size:21px;cursor:pointer}.cash-icon-action:hover{color:#cf540f;background:#fff3e9;border-color:#ffbb8c}.cash-icon-action:focus-visible{outline:2px solid #ff6b21;outline-offset:2px}.cash-audit-list article,.cash-audit-event{padding:14px 0;border-bottom:1px solid #e9ebef}.cash-audit-list small,.cash-audit-event small{display:block;color:#777e8b;margin-top:6px}.cash-audit-event table{margin-top:10px}.deletion-label.corrected{color:#6c6f78;background:#f1f2f5}.cash-dialog .cash-form .checkbox-label{display:flex;align-items:flex-start;gap:10px}.cash-dialog .cash-form .checkbox-label input{width:auto;min-width:18px;flex:0 0 auto;margin-top:3px}

/* Compact cash journal with a distinct search toolbar. */
.cash-journal .cash-j-date-search{display:grid!important;grid-template-columns:170px minmax(40px,1fr) minmax(240px,480px) auto auto;align-items:end!important;gap:8px!important;padding:10px 14px!important;margin:8px 12px 10px;background:#edf3f8;border:1px solid #d9e3ed;border-left:3px solid #7295b4;border-radius:7px}
.cash-journal .cash-j-date-search label{display:flex;flex-direction:column;gap:4px;margin:0;min-width:0;color:#60758a;font-size:11px;font-weight:600}
.cash-journal .cash-j-date-search label:nth-child(2){grid-column:3}
.cash-journal .cash-j-date-search input{box-sizing:border-box;width:100%;height:32px;min-height:32px;padding:5px 9px;border:1px solid #ced9e5;border-radius:5px;font-size:13px;background:#fff}
.cash-journal .cash-j-date-search button{height:32px;min-height:32px;padding:5px 12px;font-size:12px;border-radius:5px;white-space:nowrap}
.cash-journal .cash-j-table td,.cash-journal .cash-j-table th{padding:7px 10px;font-size:12px;line-height:1.35;vertical-align:top}
.cash-journal .cash-j-table th{background:#eaf0f6;color:#5e7186;font-size:11px}
.cash-journal .cash-j-table td p{margin:3px 0}.cash-journal .cash-j-table td small{font-size:10px;line-height:1.3;margin-top:3px}
.cash-journal .cash-row-actions{gap:4px;margin-top:4px;flex-wrap:nowrap}.cash-journal .cash-icon-action,.cash-journal .cash-row-actions button{min-width:26px;min-height:26px;width:26px;height:26px;padding:3px;border-radius:5px;font-size:16px}.cash-journal .cash-row-actions svg{width:14px;height:14px}
.cash-journal .cash-j-order{padding:4px 7px;font-size:11px}.cash-journal .cash-j-table tbody tr:hover{background:#f3f7fb}
@media(max-width:850px){.cash-journal .cash-j-date-search{grid-template-columns:150px minmax(160px,1fr) auto auto}.cash-journal .cash-j-date-search label:nth-child(2){grid-column:2}}
@media(max-width:600px){.cash-journal .cash-j-date-search{grid-template-columns:1fr 1fr}.cash-journal .cash-j-date-search label:nth-child(2){grid-column:1/-1;grid-row:2}.cash-journal .cash-j-date-search button{grid-row:3}}

/* Shift preview: customer receipts first, compact ledger below. */
dialog.cash-dialog.shift-report-dialog{box-sizing:border-box;width:min(1080px,calc(100vw - 32px));max-width:1080px;max-height:calc(100dvh - 32px);padding:20px 24px;border-radius:12px;overflow:auto}
.shift-report-dialog>.dialog-top{position:absolute;right:14px;top:12px;margin:0}.shift-report-dialog>.dialog-top .cash-icon{display:none}.shift-report-dialog .close{width:30px;height:30px;min-height:30px;padding:0;font-size:25px}.shift-report-dialog>h2{font-size:21px;line-height:1.3;margin:0 40px 6px 0}.shift-report-dialog>p.muted{display:none}
.shift-report-dialog .shift-report-period{font-size:12px;line-height:1.5;color:#788493;margin:0 0 12px}.shift-report-totals{display:grid;grid-template-columns:1fr 1fr;gap:12px}.shift-report-totals section{padding:14px 16px;border:1px solid #dbe5e8;border-radius:8px;background:#edf6f2}.shift-report-totals section+section{background:#eef4fb;border-color:#dbe5f1}.shift-report-totals span{font-size:13px;color:#506570}.shift-report-totals strong{display:block;font-size:28px;line-height:1.25;margin:6px 0;color:#243b45}.shift-report-totals small{font-size:11px;color:#657780}
.shift-report-dialog .shift-report-note{font-size:11px;line-height:1.4;color:#7c8792;margin:8px 0 12px}.shift-report-breakdown{border:1px solid #e1e6ec;border-radius:6px;padding:8px 10px;font-size:12px}.shift-report-dialog summary{cursor:pointer;color:#57718b}.shift-report-balance{margin:10px 0 0;font-size:12px}.shift-report-operations-title{font-size:14px;margin:16px 0 8px}.shift-report-operations-title span{color:#8592a0;font-size:12px;font-weight:400;margin-left:6px}.shift-report-scroll{overflow:auto;max-width:100%}
.shift-report-dialog table{border-collapse:collapse;width:100%;min-width:0;table-layout:auto;margin:0}.shift-report-dialog th,.shift-report-dialog td{padding:7px 9px;font-size:12px;line-height:1.35;text-align:left;vertical-align:top;border-bottom:1px solid #e7ebf0;white-space:normal}.shift-report-dialog th{background:#eff3f7;color:#718092;font-size:11px;font-weight:500}.shift-report-dialog td small{display:block;font-size:10px;color:#8c97a5;margin-top:2px}.shift-report-dialog td details{font-size:11px;margin-top:2px}.shift-report-dialog td details p{margin:4px 0;overflow-wrap:anywhere}.shift-report-dialog .shift-report-money{white-space:nowrap;font-weight:600}.shift-report-dialog .is-income{color:#24815a}.shift-report-dialog .is-expense{color:#bb4e5a}.shift-report-operations td:first-child{white-space:nowrap;width:100px}.shift-report-operations td:nth-child(2){overflow-wrap:anywhere;max-width:440px}.shift-report-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:16px}.shift-report-footer span{font-size:11px;color:#8a95a1}.shift-report-footer button{min-height:34px;padding:7px 14px;font-size:12px}
@media(max-width:600px){dialog.cash-dialog.shift-report-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:14px 12px}.shift-report-totals{gap:6px}.shift-report-totals section{padding:10px}.shift-report-totals strong{font-size:21px}.shift-report-totals span{font-size:12px}.shift-report-dialog .shift-report-operations{min-width:620px}.shift-report-footer span{max-width:180px}}
