/* Quiet spreadsheet-style lists; detail forms and financial meanings are unchanged. */
.invoice-draft-files [data-pdf-invoice-status] {color:#5b718c;font-size:12px;line-height:1.6;}
.invoice-draft-files [data-pdf-invoice-status][aria-busy="true"] {color:#1269e9;}
.attachment-preview-controls [data-download-original] {flex-shrink:0;}
:is(.view .table-wrap > table, table[data-column-query-key]) > thead > tr > th {
  background:#f1f3f5;color:#354458;border-bottom:1px solid #d9dfe6;
  border-right:1px solid #e0e5eb;box-shadow:none;font-weight:650;
}
:is(.view .table-wrap > table, table[data-column-query-key]) > tbody > tr:not(.summary-row) {background:#fff;}
:is(.view .table-wrap > table, table[data-column-query-key]) > tbody > tr:nth-child(even):not(.summary-row) {background:#f5f6f8;}
:is(.view .table-wrap > table, table[data-column-query-key]) > tbody > tr:not(.summary-row):hover {background:#edf3fa;}
:is(.view .table-wrap > table, table[data-column-query-key]) > tbody > tr > td {
  border-bottom:1px solid #e3e7ec;border-right:1px solid #e6e9ee;
}
:is(.view .table-wrap > table, table[data-column-query-key]) > :is(thead,tbody) > tr > :last-child {border-right:0;}
:is(.view .table-wrap > table, table[data-column-query-key]) > tbody > tr.summary-row {background:#edf2f7;}
/* Reserve hit areas so hover never changes column width or moves its label. */
th.query-column .column-heading {display:flex;min-width:0;gap:2px;}
th.query-column .column-sort {min-width:0;}
th.query-column .column-sort > span:first-child {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
th.query-column .column-sort-mark,th.query-column .column-filter {opacity:0;transition:opacity .12s ease;}
th.query-column:is(:hover,:focus-within,[data-column-hover]) .column-sort-mark,
th.query-column:is(:hover,:focus-within,[data-column-hover]) .column-filter,
th.query-column .column-sort.is-sorted .column-sort-mark,
th.query-column .column-filter:is(.is-filtered,[aria-expanded="true"]) {opacity:1;}
th.query-column .column-filter {pointer-events:none;flex-shrink:0;}
th.query-column:is(:hover,:focus-within,[data-column-hover]) .column-filter,
th.query-column .column-filter:is(.is-filtered,[aria-expanded="true"]) {pointer-events:auto;}
th.column-resize-header .column-resize-handle::after {opacity:0;background:#c6cfd9;}
th.column-resize-header:is(:hover,:focus-within,[data-column-hover]) .column-resize-handle::after {opacity:.7;}
th.column-resize-header .column-resize-handle:is(:hover,:focus-visible)::after {opacity:1;background:#0b63f3;}
@media(hover:none) {
  th.query-column .column-sort-mark,th.query-column .column-filter {opacity:1;pointer-events:auto;}
  th.column-resize-header .column-resize-handle::after {opacity:.4;}
}
@media(prefers-reduced-motion:reduce) {
  th.query-column .column-sort-mark,th.query-column .column-filter {transition:none;}
}
