.ab-head,.ab-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.ab-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:end}.ab-filters label{display:flex;flex-direction:column;gap:7px}.ab-filters input,.ab-filters select,.ab-filters button{height:46px;margin:0}.ab-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.ab-stat{border:1px solid #ddccb2;background:#fffdf7;border-radius:10px;padding:15px}.ab-stat strong{display:block;font-size:22px;margin-top:8px}.ab-table{overflow:auto}.ab-table table{min-width:1250px;width:100%;border-collapse:collapse}.ab-table th,.ab-table td{padding:12px;text-align:left;border-bottom:1px solid #e4d9c8;vertical-align:top}.ab-table th{background:#eee7d8}.ab-table .ab-money{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.ab-warning{padding:12px;background:#fff2d5;border-left:3px solid #be9043}.ab-detail{max-width:960px;width:calc(100% - 32px);max-height:85vh;overflow:auto;border:1px solid #d5c3a7;border-radius:12px;padding:24px;background:#fffdf8;color:#26221b}.ab-detail::backdrop{background:#0008}.ab-empty{text-align:center;padding:28px}.ab-error{color:#9c3025}.ab-pager{display:flex;justify-content:space-between;gap:12px;margin-top:18px}.ab-filters .ab-wide{grid-column:span 2}@media(max-width:850px){.ab-filters,.ab-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.ab-filters,.ab-stats{grid-template-columns:1fr}.ab-filters .ab-wide{grid-column:auto}}
@media print{@page{size:A4 landscape;margin:10mm}body.ab-print header,body.ab-print aside,body.ab-print nav,body.ab-print .reference-topbar,body.ab-print .no-print,body.ab-print #ab-controls,body.ab-print .ab-pager{display:none!important}body.ab-print main{margin:0!important;padding:0!important;width:100%!important}body.ab-print #content{width:100%!important;padding:0!important}body.ab-print .ab-table{overflow:visible}body.ab-print .ab-table table{min-width:0;font-size:8pt}body.ab-print .ab-table td,body.ab-print .ab-table th{padding:4px}body.ab-print tr{break-inside:avoid}body.ab-print thead{display:table-header-group}}
#ab-print-sheet{display:none}.ab-filters label{margin:0}.ab-filters>button{align-self:end;margin-bottom:0}
.ab-export-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin:10px 0}.ab-export-actions>button{margin:0;min-height:40px;white-space:nowrap}.ab-column-toggle{display:flex;align-items:center;gap:6px;margin:0 10px 0 0;font-size:13px}.ab-column-toggle input{width:16px;height:16px;margin:0}.ab-table table{min-width:990px;font-size:14px}.ab-table .ab-col-detail{display:none}.ab-table.ab-detailed .ab-col-detail{display:table-cell}.ab-table.ab-detailed table{min-width:1400px}.ab-table th,.ab-table td{padding:11px 10px}.ab-table th{font-size:12px;white-space:nowrap}.ab-table th:last-child,.ab-table td:last-child{position:sticky;right:0;background:#fffdf7;min-width:80px;box-shadow:-3px 0 5px #251b0e0a}.ab-table th:last-child{background:#eee7d8}.ab-table td:nth-child(2){white-space:nowrap}.ab-table td:nth-child(4){min-width:145px;max-width:230px;overflow-wrap:anywhere}.ab-stats .ab-stat{padding:13px 16px}.ab-stats .ab-stat strong{font-size:24px;margin-top:5px}.ab-warning{font-size:13px;line-height:1.6;border-radius:5px}.ab-head h2{font-size:21px;margin:0 0 16px}.ab-pager{align-items:center;font-size:13px}.ab-pager button{margin:0;min-width:88px}.ab-detail .actions{gap:8px}.ab-detail form label{margin-bottom:12px}
@media(min-width:1400px){.ab-table:not(.ab-detailed) table{table-layout:auto;min-width:0}}@media(max-width:600px){.ab-export-actions{justify-content:flex-start}.ab-export-actions button{font-size:12px;padding:8px 10px}.ab-column-toggle{flex-basis:100%}.ab-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ab-stats .ab-stat{padding:12px}.ab-stats .ab-stat strong{font-size:20px}}
.ab-table th.ab-money{text-align:right}.ab-table td,.ab-table th{box-sizing:border-box}.ab-status{display:inline-flex;padding:4px 9px;border-radius:6px;font:600 12px/1.4 sans-serif;background:#eee7d8;color:#554b3c;white-space:nowrap}.ab-status-posted{background:#e6f2e9;color:#255f40}.ab-status-draft{background:#fff0cc;color:#76520c}.ab-status-reversed,.ab-status-cancelled{background:#f9e7e4;color:#8b342d}.ab-status-note{display:block;margin-top:6px;line-height:1.35;color:#756b5d;overflow-wrap:anywhere}.ab-table td:last-child,.ab-table th:last-child{text-align:center}.ab-table td:nth-child(1){font-variant-numeric:tabular-nums;white-space:nowrap}
@media(min-width:1400px){.ab-table:not(.ab-detailed) table{table-layout:fixed}.ab-table:not(.ab-detailed) th:nth-child(1){width:10%}.ab-table:not(.ab-detailed) th:nth-child(2){width:15%}.ab-table:not(.ab-detailed) th:nth-child(3){width:13%}.ab-table:not(.ab-detailed) th:nth-child(4){width:17%}.ab-table:not(.ab-detailed) th:nth-child(7){width:10%}.ab-table:not(.ab-detailed) th:nth-child(9){width:8%}.ab-table:not(.ab-detailed) th:nth-child(10){width:9%}.ab-table:not(.ab-detailed) th:nth-child(11){width:10%}.ab-table:not(.ab-detailed) th:nth-child(12){width:8%}}
.ab-date-cell{min-width:144px!important}.ab-date-row{display:flex;align-items:baseline;gap:8px;line-height:1.5;white-space:nowrap}.ab-date-row>span:first-child{display:inline-block;flex:0 0 22px;font:600 10px/1.5 sans-serif;letter-spacing:.04em;color:#84745c}.ab-date-row time{font:500 13px/1.6 sans-serif;font-variant-numeric:tabular-nums}.ab-fiscal{margin-top:4px;font-size:12px;color:#796a55}.ab-fiscal>span:last-child{font-variant-numeric:tabular-nums}
@media(min-width:1400px){.ab-table:not(.ab-detailed) th:nth-child(1){width:14%}.ab-table:not(.ab-detailed) th:nth-child(2){width:14%}.ab-table:not(.ab-detailed) th:nth-child(3){width:12%}.ab-table:not(.ab-detailed) th:nth-child(4){width:16%}.ab-table:not(.ab-detailed) th:nth-child(12){width:7%}}
@media print{body.ab-print-sheet>*:not(#ab-print-sheet){display:none!important}body.ab-print-sheet #ab-print-sheet{display:block!important;color:#111;background:white}#ab-print-sheet table{width:100%;border-collapse:collapse;font-size:8pt}#ab-print-sheet th,#ab-print-sheet td{border-bottom:1px solid #bbb;padding:5px;text-align:left}#ab-print-sheet thead{display:table-header-group}#ab-print-sheet tr{break-inside:avoid}#ab-print-sheet .ab-money{text-align:right;white-space:nowrap}#ab-print-sheet h1{font-size:18pt}#ab-print-sheet h2{font-size:14pt}}
.ab-date-filter{min-width:0}.ab-date-filter label[hidden]{display:none}.ab-date-filter .leave-bs-date-field{position:relative}.ab-date-filter .leave-bs-date-field input{padding-inline-end:42px}.ab-date-filter .leave-bs-trigger{position:absolute;inset-inline-end:5px;bottom:0;display:grid;place-items:center;width:40px;height:46px;min-height:0;padding:0;background:transparent;color:#8b703e;border:0;box-shadow:none}.ab-date-filter .leave-bs-trigger:hover{background:#eee4d4}
