.accounting-online{margin:0 0 1.2rem;padding:0;color:var(--wc-muted)}.accounting-filters{display:flex;align-items:end;gap:1rem;flex-wrap:wrap;margin:1rem 0}.accounting-filters label{flex:1;min-width:140px}.accounting-filters button{margin-bottom:0}.accounting-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.accounting-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:.8rem;margin-top:1.5rem}.accounting-modal{width:min(1050px,94vw);max-height:90dvh;overflow:auto}.accounting-modal fieldset{border:0;padding:0;margin:0;min-width:0}.accounting-modal label{margin:.7rem 0;display:flex;flex-direction:column;gap:.45rem}.accounting-modal label.check{flex-direction:row;align-items:center}.accounting-modal .check input{width:auto}.accounting-lines{min-width:740px}.accounting-lines td:first-child{width:30%}.accounting-lines input,.accounting-lines select{width:100%;min-width:0}.accounting-summary{display:flex;gap:2rem;flex-wrap:wrap;margin-top:1rem}@media(max-width:600px){.accounting-grid{grid-template-columns:1fr}.accounting-modal{max-height:88dvh}.accounting-filters>*{width:100%}.accounting-actions button{flex:1}.accounting-page .purchase-tabs{flex-wrap:wrap}}

.modal-backdrop:has(>.accounting-modal){position:fixed;inset:0;z-index:1500;background:#15345166;display:flex;align-items:center;justify-content:center;padding:16px}.accounting-page .table-scroll,.accounting-modal .table-scroll{overflow-x:auto;max-width:100%}.accounting-page section.card>label{max-width:420px;margin:1rem 0;display:flex;flex-direction:column;gap:.5rem}.accounting-modal form{min-width:0}.accounting-modal .purchase-toolbar{align-items:center}.accounting-modal .purchase-toolbar h2{margin:0}

.accounting-grid{gap:.3rem 1rem}.accounting-grid label{margin:.35rem 0}.accounting-modal{border:1px solid var(--wc-border);border-radius:22px;padding:28px}.accounting-modal::backdrop{background:#15345166}

.accounting-page .purchase-tabs{display:flex;flex-wrap:wrap;gap:.7rem;margin:1rem 0 1.4rem}.accounting-page .purchase-tabs button{flex:0 0 auto;min-width:max-content;white-space:normal}

.accounting-page table,.accounting-modal table{width:100%;border-collapse:collapse;text-align:start;font-variant-numeric:tabular-nums}.accounting-page th,.accounting-page td,.accounting-modal th,.accounting-modal td{padding:12px 14px;border-bottom:1px solid var(--wc-border);vertical-align:middle}.accounting-page th,.accounting-modal th{text-align:start;font-size:.8rem;color:var(--wc-muted)}.accounting-page td:last-child{text-align:end}.accounting-page tbody tr:last-child td{border-bottom:0}.accounting-page .purchase-row-actions{margin-top:1rem;gap:.8rem}.accounting-page table{min-width:600px}.accounting-modal td{padding:8px 5px}

.accounting-page th:last-child{text-align:end}

.accounting-modal label.accounting-checkbox{display:flex;flex-direction:row;align-items:center;gap:12px;width:auto;min-height:32px;margin:12px 0;padding:0;background:transparent;text-align:start}.accounting-checkbox input[type=checkbox]{width:20px;height:20px;min-height:20px;flex:0 0 20px;margin:0;padding:0;accent-color:var(--wc-primary)}.accounting-checkbox span{min-width:0;line-height:1.5}.accounting-checkbox-options{display:grid;gap:4px;margin-top:16px}

.accounting-import-upload{display:flex;align-items:end;justify-content:space-between;gap:18px;flex-wrap:wrap;margin:20px 0}.accounting-import-upload>label{flex:1;min-width:220px;margin:0}.accounting-import-upload .accounting-actions{margin:0}.accounting-import-help{margin:16px 0}.accounting-import-file{overflow-wrap:anywhere}.accounting-import-preview{max-height:45dvh;overflow:auto;margin:18px 0}.accounting-import-preview table{min-width:950px;width:100%}.accounting-import-preview th{position:sticky;top:0;background:var(--wc-cream);z-index:1}.accounting-import-errors{margin:0;padding-inline-start:18px;color:#9c3340;min-width:180px}.accounting-import-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:18px 0}.accounting-import-preview td{padding:10px}.accounting-import-preview td:nth-child(3){min-width:140px;overflow-wrap:anywhere}@media(max-width:600px){.accounting-import-upload{display:block}.accounting-import-upload .accounting-actions{margin-top:18px}.accounting-import-pagination button{padding:10px 12px}.accounting-import-upload>label{min-width:0}.accounting-import-upload input{max-width:100%}}

.accounting-checkbox-options{gap:8px}.accounting-checkbox-options label.accounting-checkbox{margin:0}

.accounting-setup-card{margin-bottom:24px}.accounting-setup-card fieldset{border:0;padding:0;margin:0;min-width:0}.accounting-setup-card .accounting-grid label{display:flex;flex-direction:column;gap:8px}.accounting-setup-card .accounting-checkbox{display:flex;flex-direction:row;align-items:center;gap:12px;min-height:32px;margin:0}.accounting-setup-card .accounting-filters .accounting-checkbox{flex:0 1 auto;padding-bottom:10px}.accounting-setup-card small{display:block;color:var(--wc-muted)}

.accounting-bill-lines{min-width:1100px}.accounting-bill-lines td:first-child{min-width:220px}.accounting-bill-lines select{min-width:170px}.accounting-bill-lines input[type=checkbox]{width:20px;height:20px;min-height:20px;accent-color:var(--wc-primary)}.accounting-supplier-history{max-height:360px;overflow:auto}.accounting-file-list{list-style:none;padding:0;max-height:240px;overflow:auto}.accounting-file-list li{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:10px 0;border-bottom:1px solid var(--wc-border)}.accounting-file-list span{min-width:0;overflow-wrap:anywhere}.accounting-note{display:flex;flex-direction:column;gap:8px;margin-top:18px}.accounting-page td small{display:block;color:var(--wc-muted);font-size:.75rem}.accounting-page>section.card{margin-bottom:24px}@media(max-width:600px){.accounting-page>.purchase-tabs{flex-wrap:nowrap;overflow-x:auto;padding-bottom:7px;max-width:100%}.accounting-page>.purchase-tabs button{flex-shrink:0}.accounting-file-list li{flex-wrap:wrap}}
.accounting-bank-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1rem 0}.accounting-bank-summary>div{display:flex;flex-direction:column;gap:.5rem;padding:1rem;background:var(--cream,#faf7ef);border-radius:14px}.accounting-bank-preview{max-height:26rem;overflow:auto}.accounting-bank-description{display:block;max-width:24rem;white-space:normal;color:var(--muted)}.accounting-bank-selected{background:#e9f6ee}.accounting-bank-confirm{margin-top:1.5rem;padding-top:1rem;border-top:1px solid #dce4df}@media(max-width:640px){.accounting-bank-summary{grid-template-columns:1fr}.accounting-bank-preview{max-height:20rem}}

.accounting-bank-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:1rem}.accounting-bank-heading h2{margin:0;overflow-wrap:anywhere}.accounting-bank-heading button{margin:0}

.accounting-statement{border-top:1px solid #dce4df;margin-top:2rem;padding-top:1.5rem}.accounting-statement-selector{display:flex;flex-direction:column;gap:.45rem}.accounting-statement .purchase-row-actions{align-items:end}.accounting-statement td:nth-child(2),.accounting-statement th:nth-child(2){text-align:right;font-variant-numeric:tabular-nums}.accounting-statement td:last-child{width:1%;white-space:nowrap}.accounting-statement h4{margin:1.5rem 0 .75rem}.accounting-statement .purchase-toolbar p{margin:.5rem 0 0}
.accounting-modal p{overflow-wrap:anywhere}.accounting-modal input[type=file]{width:100%;max-width:100%;min-width:0;box-sizing:border-box}.accounting-modal .accounting-funding{min-width:0}.accounting-modal .accounting-funding select{min-width:0;width:100%}
.accounting-modal .invoice-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:24px 0;padding:20px 0;border-top:1px solid var(--wc-border)}.accounting-modal .invoice-summary>div{display:flex;flex-direction:column;gap:8px;min-width:0}.accounting-modal .invoice-summary span{color:var(--wc-muted)}.accounting-modal .invoice-summary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}@media(max-width:600px){.accounting-modal .invoice-summary{grid-template-columns:1fr;gap:16px}}
