/* Sales OS shared table presentation. Preview only; no layout/column/order rules.
   Reference: Creative Tim fine separators / quiet headers; original Sales OS tokens. */
html[data-ui-skin="minimal"] :is(#content,#modal) table{
 --table-head:color-mix(in srgb,var(--blue) 5%,var(--surface));
 --table-hover:color-mix(in srgb,var(--blue) 6%,var(--surface));
 font-family:var(--ui-font);color:var(--ink);border-color:var(--line);
}
html[data-ui-skin="minimal"] #content[data-document-kind]:not([data-document-kind=""]) .document-table table{--table-head:var(--document-soft)}
html[data-ui-skin="minimal"] :is(#content,#modal) table>thead,
html[data-ui-skin="minimal"] :is(#content,#modal) table>thead>tr{background:var(--table-head);color:var(--muted)}
html[data-ui-skin="minimal"] :is(#content,#modal) table>thead>tr>th{
 background:transparent;color:var(--muted);font-family:var(--ui-font);
 font-size:var(--ui-caption);font-weight:var(--ui-medium);letter-spacing:normal;
 border-color:var(--line);
}
html[data-ui-skin="minimal"] :is(#content,#modal) table>tbody>tr>td{
 color:var(--ink);border-color:var(--line);
 transition:background-color .15s ease,box-shadow .15s ease;
}
html[data-ui-skin="minimal"] :is(#content,#modal) table>tbody>tr:not(.audit-expanded-row):is(:hover,:focus-within)>td{background-color:var(--table-hover)}
html[data-ui-skin="minimal"] :is(#content,#modal) table>tbody>tr:is(.clickable,[data-record-row],[data-audit-row]):is(:hover,:focus-within)>td:first-child{box-shadow:inset 2px 0 var(--blue)}
html[data-ui-skin="minimal"] :is(#content,#modal) table>tfoot{background:var(--table-head);color:var(--ink)}
html[data-ui-skin="minimal"] :is(#content,#modal) table>tfoot>tr>td{border-color:var(--line)}
html[data-ui-skin="minimal"] :is(#content,#modal) table :is(.amount,.number,.expense-gross){font-variant-numeric:tabular-nums}
html[data-ui-skin="minimal"] :is(#content,#modal) table th :is(button,a){color:inherit;transition:color .15s ease}
html[data-ui-skin="minimal"] :is(#content,#modal) table th :is(button,a):is(:hover,:focus-visible){color:var(--blue)}
/* Native compact list equivalents keep their existing columns, order and controls. */
html[data-ui-skin="minimal"] #content :is(.list-row,.pay-mobile-employee,.pay-mobile-person,.supply-variant-list>*,.calendar-list>*,.dashboard-document){border-color:var(--line);transition:background-color .15s ease}
html[data-ui-skin="minimal"] #content :is(.list-row,.pay-mobile-employee,.pay-mobile-person,.supply-variant-list>*,.calendar-list>*,.dashboard-document):is(:hover,:focus-within){background-color:color-mix(in srgb,var(--blue) 6%,var(--surface))}
@media(max-width:850px){
 html[data-ui-skin="minimal"] #content .mobile-compact-table .mobile-compact-row{border-color:var(--line)!important}
 html[data-ui-skin="minimal"] #content .mobile-compact-table .mobile-compact-row:is(:hover,:focus-within){background-color:var(--table-hover)!important}
}
@media(prefers-reduced-motion:reduce){
 html[data-ui-skin="minimal"] :is(#content,#modal) table *,html[data-ui-skin="minimal"] #content :is(.list-row,.pay-mobile-employee,.pay-mobile-person,.supply-variant-list>*,.calendar-list>*,.dashboard-document){transition:none!important}
}
/* Compact dialog rows follow the same mobile list treatment as main registers. */
@media(max-width:850px){
 html[data-ui-skin="minimal"] #modal .table-wrap tbody tr{border:0;border-bottom:1px solid var(--line);border-radius:0;margin:0}
 html[data-ui-skin="minimal"] #modal .batch-pick-table{min-width:0;max-width:100%}
 html[data-ui-skin="minimal"] #modal .batch-pick-table table{min-width:0;width:100%}
 html[data-ui-skin="minimal"] #modal .batch-pick-table tbody tr{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:6px 8px;padding:14px 0;align-items:start}
 html[data-ui-skin="minimal"] #modal .batch-pick-table tbody td{min-width:0;overflow-wrap:anywhere;white-space:normal;padding:0;display:block;border:0}
 html[data-ui-skin="minimal"] #modal .batch-pick-table td::before{display:none}
 html[data-ui-skin="minimal"] #modal .batch-pick-table tbody td:nth-child(1){grid-column:1;grid-row:1/4}
 html[data-ui-skin="minimal"] #modal .batch-pick-table tbody td:nth-child(2){grid-column:2;grid-row:1;font-weight:var(--ui-strong)}
 html[data-ui-skin="minimal"] #modal .batch-pick-table tbody td:nth-child(3){grid-column:2;grid-row:2}
 html[data-ui-skin="minimal"] #modal .batch-pick-table tbody td:nth-child(4){grid-column:2;grid-row:3;color:var(--muted)}
 html[data-ui-skin="minimal"] #modal .batch-pick-table tbody td:nth-child(5){grid-column:3;grid-row:1/4;white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}
}
