.cost-control-table{overflow:auto!important}
.cost-adjustable-table{table-layout:fixed!important;width:auto;min-width:100%}
.cost-adjustable-table th,.cost-adjustable-table td{width:auto!important;min-width:0!important;max-width:none!important;overflow-wrap:anywhere}
.cost-adjustable-table th{position:relative;padding-right:12px!important;user-select:none}
.cost-sortable-header{cursor:pointer}
.cost-sortable-header:hover{filter:brightness(1.12)}
.cost-sort-mark{display:inline-block;min-width:11px;margin-left:4px;font-size:9px;color:#fff}
.cost-column-resizer{position:absolute;z-index:6;top:0;right:-3px;width:8px;height:100%;cursor:col-resize;border-right:2px solid transparent;touch-action:none}
.cost-column-resizer:hover,.cost-column-resizing .cost-column-resizer{border-right-color:#d8b1d3}
.cost-column-resizing{cursor:col-resize!important;user-select:none!important}
.cost-column-toolbar{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin:4px 0 6px;color:#60716b;font-size:11px}
.cost-column-toolbar button{min-height:30px;padding:5px 10px;border-radius:8px}

/* The list uses compact currency, not spreadsheet-style accounting alignment. */
.cost-adjustable-table .sf-accounting{
  display:inline-flex!important;
  grid-template-columns:none!important;
  justify-content:flex-start!important;
  align-items:baseline!important;
  gap:0!important;
  width:auto!important;
  min-width:0!important;
  white-space:nowrap!important;
}
.cost-adjustable-table .sf-accounting>i,
.cost-adjustable-table .sf-accounting>b{
  display:inline!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  text-align:left!important;
}
