/* Compact preserves the existing working layouts. Spacious changes business tables only. */
html[data-table-density="spacious"] .app-shell main table:not(.help-table){font-size:.88rem!important;line-height:1.5!important}
html[data-table-density="spacious"] .app-shell main table:not(.help-table)>thead>tr>:is(th,td),
html[data-table-density="spacious"] .app-shell main table:not(.help-table)>tfoot>tr>:is(th,td),
html[data-table-density="spacious"] .app-shell main table:not(.help-table)>tbody>tr:not(.animated-detail-row):not(.employee-details-row)>:is(th,td){padding-block:.65rem!important;font-size:.88rem!important;line-height:1.5!important}
/* Keep collapsed row cells at zero padding so their reveal animation still closes fully. */
html[data-table-density="spacious"] .app-shell main table:not(.help-table) .animated-detail-row .detail-content{padding-block:.65rem!important;font-size:.88rem!important;line-height:1.5!important}
html[data-table-density="spacious"] .app-shell main table:not(.help-table) small{font-size:.78rem!important}
html[data-table-density="spacious"] .app-shell main table:not(.help-table) :is(input,select,textarea){font-size:.82rem!important}
