.dt { overflow: visible; }
.dt-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.dt-search { position: relative; flex: 1 1 220px; max-width: 320px; display: flex; align-items: center; }
.dt-search > svg, .dt-search > .ico { position: absolute; left: 11px; width: 16px; height: 16px; color: var(--text-faint); pointer-events: none; }
.dt-search .input { padding-left: 34px; height: 36px; }
.settle-list .dt-search { max-width: none; }
.dt-filter, .dt-fy { width: auto; height: 36px; font-size: 13px; max-width: 220px; }
.dt-dates { display: flex; align-items: center; gap: 4px; }
.dt-dates .input { height: 36px; width: 148px; font-size: 13px; padding: 0 8px; }
.dt-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; font-family: var(--font-data); }
.table th { position: sticky; top: 0; background: var(--surface-2); color: var(--text-muted); font-family: var(--font-ui); font-weight: 650; font-size: 12px; text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); white-space: nowrap; user-select: none; }
html[lang="ta"] .table th { font-family: var(--font-ta); }
.table th.sortable { cursor: pointer; }
.table th.sortable:hover { color: var(--text); }
.table th.sorted { color: var(--secondary); }
.sort-ind { margin-left: 4px; font-size: 11px; }
.table td { padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; color: var(--text); }
html[lang="ta"] .table td { font-family: var(--font-ta); }
.table td .num, .table td.num, .table td .ref { font-family: var(--font-data); }
.table tbody tr { transition: background var(--t-fast); }
.table tbody tr:hover { background: color-mix(in srgb, var(--sage) 60%, transparent); }
.table tr.clickable { cursor: pointer; }
.table tr.struck td { text-decoration: line-through; opacity: .6; }
.table tr.warn td { background: var(--warning-bg); }
.table tr.muted-row td { color: var(--text-muted); background: var(--surface-2); }
.table tfoot td { font-weight: 700; background: var(--surface-2); border-top: 2px solid var(--border-strong); border-bottom: 0; }
.table.compact td, .table.compact th { padding: 7px 10px; }
.table .ta-right { text-align: right; } .table .ta-center { text-align: center; }
.empty-row td { border-bottom: 0; }
.empty-row:hover { background: none !important; }
.dt-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; color: var(--text-muted); font-size: 12.5px; flex-wrap: wrap; }
.dt-foot:has(.dt-count:empty):has(.dt-pager:empty) { display: none; }
.dt-pager { display: flex; align-items: center; gap: 8px; font-family: var(--font-data); }
.card .table:last-child tr:last-child td { border-bottom: 0; }
.hide-md { }
