/* Webnet Accounts • Signature Financial Tables R05.3
   Presentation only. No JavaScript, form mutation, or accounting calculations. */
:root{--wa-paper:#fffefa;--wa-bone:#f6f3ed;--wa-ink:#0c2a26;--wa-forest:#113b33;--wa-copper:#ad7548;--wa-hair:#e3dfd6;--wa-muted:#6a7772;--wa-table-hover:#f2f7f3;--wa-table-negative:#a33f36;--wa-table-positive:#236951}
/* Intentional wide folios — constrain only their containers, never the ledger data. */
#universal-ledger .ul-table-wrap, .dca-statement-table, .cpw-table, table[data-wa-ledger], .filament-tables-container{font-feature-settings:'tnum' 1,'lnum' 1;}
#universal-ledger .ul-ledger-card, #universal-ledger .ul-table-wrap, .filament-tables-container{border-color:var(--wa-hair)!important;box-shadow:0 14px 36px rgba(12,42,38,.045)!important;}
/* Ledger and report table grid: headers and columns are designed for scan speed. */
table[data-wa-ledger], .filament-tables-table{border-collapse:separate!important;border-spacing:0!important;width:100%;font-family:inherit;color:var(--wa-ink);background:var(--wa-paper);}
table[data-wa-ledger] thead, .filament-tables-table thead{background:var(--wa-forest)!important;}
table[data-wa-ledger] thead th, .filament-tables-table thead th{position:sticky;top:0;z-index:2;background:var(--wa-forest)!important;color:#f6efe1!important;white-space:nowrap;padding:15px 17px!important;font-size:10px!important;font-weight:750!important;line-height:1.3;letter-spacing:.12em!important;text-transform:uppercase!important;border-bottom:2px solid var(--wa-copper)!important;box-shadow:none!important;}
table[data-wa-ledger] tbody td, .filament-tables-table tbody td{vertical-align:top;padding:15px 17px!important;border-bottom:1px solid var(--wa-hair)!important;line-height:1.5;color:var(--wa-ink);background:transparent;}
table[data-wa-ledger] tbody tr, .filament-tables-table tbody tr{background:var(--wa-paper);transition:background-color .14s ease;}
table[data-wa-ledger] tbody tr:nth-child(even), .filament-tables-table tbody tr:nth-child(even){background:#faf9f5;}
table[data-wa-ledger] tbody tr:hover, .filament-tables-table tbody tr:hover{background:var(--wa-table-hover)!important;}
table[data-wa-ledger] tfoot td, .filament-tables-table tfoot td{background:#eaece5!important;border-top:2px solid var(--wa-forest)!important;padding:15px 17px!important;font-weight:750;color:var(--wa-ink)!important;}
table[data-wa-ledger] td.text-right, table[data-wa-ledger] th.text-right, .filament-tables-table td.text-right, .filament-tables-table th.text-right{text-align:right!important;white-space:nowrap;font-variant-numeric:tabular-nums;letter-spacing:-.012em;}
table[data-wa-ledger] button, table[data-wa-ledger] a, .filament-tables-table button, .filament-tables-table a{transition:color .15s ease;}
table[data-wa-ledger] button:not([disabled]):hover, table[data-wa-ledger] a:hover{color:var(--wa-copper)!important;}
table[data-wa-ledger] :focus-visible, .filament-tables-table :focus-visible{outline:2px solid var(--wa-copper)!important;outline-offset:2px;}
/* Statement variant: precise columns, even when a page has its own inline CSS. */
table.dca-statement-table thead th,table.cpw-table thead th{background:var(--wa-forest)!important;color:#fff9ec!important;border-bottom:2px solid var(--wa-copper)!important;}
table.dca-statement-table tbody td,table.cpw-table tbody td{border-bottom:1px solid var(--wa-hair)!important;font-variant-numeric:tabular-nums;}
table.dca-statement-table tbody tr:hover,table.cpw-table tbody tr:hover{background:var(--wa-table-hover)!important;}
table.dca-statement-table td:nth-last-child(-n+3),table.dca-statement-table th:nth-last-child(-n+3){text-align:right!important;white-space:nowrap;font-variant-numeric:tabular-nums;}
/* Financial reports are financial statements; subordinate totals and account drilldowns stay legible. */
table[data-wa-ledger] tbody td .text-xs{color:var(--wa-muted)!important;}
table[data-wa-ledger] tbody button[wire\\:click]{color:var(--wa-forest)!important;text-underline-offset:3px;}
/* Filament table toolbar & footer, without removing server-side filters or permissions. */
.filament-tables-container .filament-tables-header, .filament-tables-container .filament-tables-footer{background:var(--wa-bone)!important;border-color:var(--wa-hair)!important;}
.filament-tables-container input,.filament-tables-container select{border-color:#d8d9cf!important;border-radius:9px!important;background:#fffefa!important;}
.filament-tables-container .filament-tables-pagination{font-variant-numeric:tabular-nums;}
/* Responsive accessibility: preserve horizontal scrolling rather than clipping debit/credit. */
@media(max-width:900px){table[data-wa-ledger] tbody td,table[data-wa-ledger] thead th,.filament-tables-table tbody td,.filament-tables-table thead th{padding:12px 11px!important;}table[data-wa-ledger]{min-width:740px;}table.dca-statement-table{min-width:850px;}table.cpw-table{min-width:620px;}}
/* Existing dark mode remains accessible; balance status uses existing application semantics. */
.dark table[data-wa-ledger],.dark .filament-tables-table{--wa-paper:#142921;--wa-bone:#193229;--wa-ink:#edf4ec;--wa-hair:#365148;--wa-table-hover:#203f34;--wa-muted:#a7b9b0;background:var(--wa-paper);}
.dark table[data-wa-ledger] tbody tr:nth-child(even),.dark .filament-tables-table tbody tr:nth-child(even){background:#192e27;}
.dark table[data-wa-ledger] thead th,.dark .filament-tables-table thead th{background:#081e1a!important;}
@media(prefers-reduced-motion:reduce){table[data-wa-ledger] *, .filament-tables-table *{transition:none!important;}}
