/* Shared report and editable-list presentation, including pages without JS. */
.table-scroll, .table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; margin: 16px 0; background: #fff; }
table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; line-height: 1.5; }
table th, table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
table thead th { background: #e7eee9; color: var(--ink); font-weight: 650; min-width: 100px; }
table tbody th { font-weight: 600; min-width: 160px; }
table tbody tr:nth-child(even) { background: #f3f6f3; }
table.table-enhanced tbody tr { background: #fff; }
table.table-enhanced tbody tr.table-row-even { background: #f3f6f3; }
table tbody tr:hover, table tbody tr:focus-within { background: #e8f2ec; }
table.table-enhanced tbody tr:hover, table.table-enhanced tbody tr:focus-within { background: #e8f2ec; }
table tbody tr:last-child > * { border-bottom: 0; }
table .numeric { text-align: right; font-variant-numeric: tabular-nums; }
table small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 400; }
table input:not([type=checkbox]):not([type=hidden]):not([type=submit]), table select { min-width: 125px; }
table .numeric input[type=number] { text-align: right; font-variant-numeric: tabular-nums; }
table tfoot th, table tfoot td { background: #e7eee9; border-top: 2px solid var(--green); border-bottom: 0; font-weight: 650; }
table caption { text-align: left; padding: 12px 18px; color: var(--muted); font-size: 13px; background: #fff; }
table .table-sort { display: inline-flex; align-items: baseline; justify-content: inherit; gap: 8px; padding: 0; margin: 0; border: 0; border-radius: 0; background: transparent; color: inherit; font: inherit; text-align: inherit; cursor: pointer; }
table .table-sort::after { content: "↕"; color: var(--green); }
table [aria-sort=ascending] .table-sort::after { content: "↑"; }
table [aria-sort=descending] .table-sort::after { content: "↓"; }
table .table-sort:hover { text-decoration: underline; }
table .table-sort:focus-visible, .table-scroll:focus-visible, .table-wrap:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
table .report-empty { padding: 24px; text-align: center; color: var(--muted); }
@media print { .table-scroll, .table-wrap { overflow: visible; } table { font-size: 10px; } table th, table td { padding: 6px; } }
