/* Company ledger uses the same controls, search and calendar as the receipt journal. */
.cb-controls{display:flex;align-items:end;gap:16px;flex-wrap:wrap;margin:24px 0 12px}.cb-controls>label{min-width:220px;max-width:360px;flex:1}.cb-controls .sp-period{margin:0}#cb-search{margin-bottom:20px}#cb-search .gc-query-flow{display:flex;align-items:center;flex:1;min-width:0;gap:6px;flex-wrap:wrap}#cb-search #cb-find-query-label,#cb-search #cb-find-query-help{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}#cb-search .search-shell{min-width:0}#cb-metrics{display:flex;gap:12px 24px;flex-wrap:wrap;margin:16px 0}#cb-metrics p{margin:0}.cb-table{width:100%}.cb-table td{vertical-align:top}.cb-table td:nth-child(2){min-width:200px;max-width:420px;overflow-wrap:anywhere}.cb-table td:nth-child(2)>.button{display:block;margin-top:8px}.cb-table td:last-child{min-width:200px}.cb-table .lunch-actions{gap:8px;margin-top:10px}.cb-table details{width:100%}.cb-table details>label,.cb-table details>.button{margin-top:12px}.cb-amount{white-space:nowrap;text-align:right}#lunch-rule-summary details{margin:16px 0 24px}#lunch-rule-summary .lunch-table-scroll{max-height:380px;overflow:auto;margin:16px 0}#lunch-rule-summary .lunch-table{width:100%}#lunch-rule-summary th{position:sticky;top:0;background:#f3f8f7}#cb-setup{margin-top:32px}#cb-upload-dialog{max-width:560px}#cb-upload-dialog .lunch-form{margin-top:20px}@media(max-width:640px){.cb-controls>label{max-width:none;width:100%}.cb-controls{gap:12px}.cb-table td:nth-child(2){min-width:180px}#cb-metrics{display:block}#cb-metrics p+p{margin-top:8px}}

#lunch-accounts .lunch-table-scroll{max-width:100%;overflow:auto}.cb-table{border-collapse:collapse;font-size:14px}.cb-table th{text-align:left;padding:14px 12px;background:#f3f8f7;color:#617a7f;font-weight:500;font-size:12px}.cb-table td{padding:16px 12px;border-bottom:1px solid #dfebe6}.cb-table th:nth-child(4){text-align:right}#lunch-rule-summary th,#lunch-rule-summary td{padding:12px 16px;text-align:left;border-bottom:1px solid #dfebe6}#lunch-rule-summary table{border-collapse:collapse}
@media(max-width:640px){.cb-table,.cb-table tbody,.cb-table tr{display:block}.cb-table thead{display:none}.cb-table tr{position:relative;padding:16px 0;border-bottom:1px solid #dfebe6}.cb-table td{display:block;border:0;padding:4px 0}.cb-table td:nth-child(2){min-width:0;max-width:none;font-weight:600;padding-right:90px}.cb-table td:nth-child(3){font-size:12px;color:#617a7f}.cb-table td:nth-child(4){position:absolute;right:0;top:44px}.cb-table td:last-child{min-width:0}.cb-controls>label{min-width:0}}

.cb-table td{text-align:left}.cb-table td.cb-amount{text-align:right}.cb-table .lunch-actions{margin-top:8px}.cb-table details{border:0;margin:0;padding:0}.cb-table details>summary{min-height:36px;padding:4px 0}.cb-table .lunch-actions:empty{display:none}#lunch-accounts .lunch-actions>button[aria-pressed=true]{background:#e2f3eb;border-color:#8dc3ae;color:#14654e}

#lunch-accounts.gc-file-drop-active{outline:2px dashed var(--green,#087960);outline-offset:-6px}

.cb-receipts{margin-top:8px}.cb-receipts>div+div{margin-top:8px}.cb-receipts .button{max-width:100%;white-space:normal;text-align:left}.cb-receipts small{display:block;margin-top:4px;font-weight:400}.cb-receipts summary{color:var(--green,#087960)}
