/* Emich Trucking v9.9.13 — action spacing + fiscal table polish */

/* Fiscal action cells: every action belongs to the same layout container. */
#v94InvTable th:last-child,#v94InvTable td:last-child,
#v94CpTable th:last-child,#v94CpTable td:last-child{
  min-width:290px!important;
  width:290px!important;
}
#v94InvTable .v94-doc-actions,#v94CpTable .v94-doc-actions,
.v94-doc-actions{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  row-gap:8px!important;
  flex-wrap:nowrap!important;
  white-space:nowrap!important;
  min-width:max-content!important;
}
.v94-doc-actions>.v9-btn,
.v94-doc-actions>.v9-kebab{
  position:static!important;
  inset:auto!important;
  transform:none!important;
  margin:0!important;
  flex:0 0 auto!important;
}
.v94-doc-actions>.v9-kebab{width:32px!important;min-width:32px!important}
.v94-doc-actions>.v9913-delete-inline{margin:0!important}

/* Other action groups are allowed to wrap with a real gap instead of colliding. */
.v9-row-actions,.v9-table-actions,.v992-actions,.v99-actions{
  column-gap:8px!important;
  row-gap:8px!important;
  flex-wrap:wrap!important;
}

/* Keep action rows vertically centered even when a table row grows. */
#v94InvTable td:last-child,#v94CpTable td:last-child{vertical-align:middle!important;overflow:visible!important}

@media(max-width:760px){
  #v94InvTable th:last-child,#v94InvTable td:last-child,
  #v94CpTable th:last-child,#v94CpTable td:last-child{
    min-width:272px!important;
    width:272px!important;
  }
  #v94InvTable .v94-doc-actions,#v94CpTable .v94-doc-actions,.v94-doc-actions{
    display:flex!important;
    flex-wrap:wrap!important;
    min-width:0!important;
    gap:7px!important;
  }
  .v94-doc-actions>.v9-btn{flex:0 0 auto!important}
}
