/* Shared footer presentation for the independently implemented query tables. */
:is(.document-native-table,.invoice-draft-table,.native-document-grid,.native-project-grid)>tfoot td{
 box-sizing:border-box;height:40px;line-height:40px;padding:0 14px 0 12px!important;
 font-weight:600!important;text-align:left!important;justify-content:flex-start!important;
 white-space:nowrap;overflow:hidden;background:#fff;border-top:1px solid #acb1be!important;
}
:is(.document-native-table,.invoice-draft-table,.native-document-grid,.native-project-grid)>tfoot td>:is(.table-summary-agg,[data-table-summary-value]){
 flex:0 0 auto;max-width:none!important;overflow:visible!important;text-overflow:clip!important;
}

/* The semantic table still owns column widths, visibility and order. The
   clipped host supplies the Source's distinct 39px host / 40px cell layers. */
.grid:is(.native-document-grid,.native-project-grid)>tfoot>tr>td{
 height:39px;line-height:0;padding:0!important;border:0!important;
 overflow:hidden;text-overflow:clip;
}
.overview-summary-host{position:relative;box-sizing:border-box;width:100%;height:39px;overflow:hidden;text-overflow:clip}
.overview-summary-cell{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:40px;line-height:40px;padding:0 14px 0 12px;border-top:1px solid #acb1be;background:#fff;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:clip}
.overview-summary-cell>:is(.table-summary-agg,[data-table-summary-value]){max-width:none!important;overflow:visible!important;text-overflow:clip!important}

/* The absolute footer cell supplies the boundary. Suppress the adjacent
   collapsed-table edge so the seam is one Source border, not two lines. */
.grid:is(.native-document-grid,.native-project-grid):has(>tfoot)>tbody>tr:last-child>td{border-bottom:0!important}
.grid:is(.native-document-grid,.native-project-grid):has(>tfoot):has(>tbody:empty)>thead>tr:last-child>th{border-bottom:0!important}
