/* LINE E.N.G V5.57.42 — main-menu receipt ledger and lower list: complete multi-line cells.
 * Only the lower project list in the collection_menu view is activated by JS.
 * Preserve the existing table-wide column resize/sort managers and all business data.
 */
#app .v5170-projects .v5170-projecttable.le742-collection-rows{
  table-layout:fixed;
}
#app .v5170-projects .v5170-projecttable.le742-collection-rows tbody > tr > td{
  height:auto!important;
  padding:5px 6px!important;
  line-height:1.42!important;
  vertical-align:middle!important;
  white-space:pre-line!important;
  overflow:visible!important;
  text-overflow:clip!important;
  overflow-wrap:anywhere;
  word-break:keep-all;
}
#app .v5170-projects .v5170-projecttable.le742-collection-rows tbody > tr > td .le742-celltext{
  display:block;
  min-width:0;
  width:100%;
  white-space:pre-line!important;
  line-height:1.42;
  overflow-wrap:anywhere;
  word-break:keep-all;
}
/* A logical project record remains ONE <tr> even if its cells wrap to two lines. */
#app .v5170-projects .v5170-projecttable.le742-collection-rows tbody > tr > td:last-child{
  position:relative;
  padding-right:17px!important;
}
#app .v5170-projects .v5170-projecttable.le742-collection-rows .le742-row-grip{
  position:absolute;
  bottom:-2px;
  right:1px;
  width:18px;
  height:11px;
  z-index:5;
  cursor:row-resize;
  touch-action:none;
  border-bottom:2px solid #568eb3;
  border-radius:2px;
  background:rgba(218,236,249,.9);
  opacity:.18;
}
#app .v5170-projects .v5170-projecttable.le742-collection-rows tbody > tr:hover .le742-row-grip,
#app .v5170-projects .v5170-projecttable.le742-collection-rows .le742-row-grip:focus-visible,
#app .v5170-projects .v5170-projecttable.le742-collection-rows .le742-row-grip.le742-dragging{
  opacity:1;
}
body.le742-row-dragging{cursor:row-resize!important;user-select:none!important}
@media print{
 #app .v5170-projects .v5170-projecttable.le742-collection-rows .le742-row-grip{display:none!important}
}

/* Actual main-menu collection ledger: one record / one TR, with 2-line cells. */
#app .le85-finance-collection table.le82-cash-table.le742-receipt-rows #le82-table-body > tr[data-le82-id],
#app .le85-finance-collection table.le82-cash-table.le742-receipt-rows #le82-table-body > tr[data-le82-id] > td[data-col]{
  height:var(--le742-row-height,var(--le5702-row-height,58px))!important;
  max-height:none!important;
  vertical-align:middle!important;
}
#app .le85-finance-collection table.le82-cash-table.le742-receipt-rows #le82-table-body > tr[data-le82-id] > td[data-col] .le5703-receipt-cell-content{
  max-height:none!important;
  height:auto!important;
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:pre-line!important;
  overflow-wrap:anywhere;
  word-break:keep-all;
}
/* Individual inputs/selects stay single-line, but vertically stacked controls are not clipped. */
#app .le85-finance-collection table.le82-cash-table.le742-receipt-rows #le82-table-body input,
#app .le85-finance-collection table.le82-cash-table.le742-receipt-rows #le82-table-body select{
  max-width:100%;box-sizing:border-box;
}
#app .le85-finance-collection table.le82-cash-table.le742-receipt-rows #le82-table-body > tr[data-le82-id] > td[data-col]:not(:has(input,select,button)){
  white-space:pre-line!important;
  overflow-wrap:anywhere;
}

/* V5.57.50: automatic, per-record receipt ledger row height.
   Text uses its actual line height, stacked controls use their natural heights.
   A manual drag sets only that row's --le750-row-height override. */
#app .le85-finance-collection table.le82-cash-table.le750-receipt-auto #le82-table-body > tr[data-le82-id],
#app .le85-finance-collection table.le82-cash-table.le750-receipt-auto #le82-table-body > tr[data-le82-id] > td[data-col]{
  height:var(--le750-row-height,auto)!important;
  max-height:none!important;
  vertical-align:middle!important;
}
#app .le85-finance-collection table.le82-cash-table.le750-receipt-auto #le82-table-body > tr[data-le82-id] .le5703-receipt-cell-content{
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:pre-line!important;
  overflow-wrap:anywhere;
  line-height:normal;
}
#app .le85-finance-collection table.le82-cash-table.le750-receipt-auto #le82-table-body > tr[data-le82-id] > td[data-col]{
  overflow:visible!important;
  text-overflow:clip!important;
  padding-top:5px!important;
  padding-bottom:5px!important;
}
#app .le85-finance-collection table.le82-cash-table.le750-receipt-auto #le82-table-body .le5702-row-height-grip{
  height:12px;
  border-bottom-color:#7da9c9;
  opacity:.65;
  touch-action:none;
  cursor:ns-resize;
}
#app .le85-finance-collection table.le82-cash-table.le750-receipt-auto #le82-table-body .le5702-row-height-grip:hover,
#app .le85-finance-collection table.le82-cash-table.le750-receipt-auto #le82-table-body .le5702-row-height-grip.le750-dragging{
  background:#51a0d455;
  opacity:1;
}
body.le750-receipt-dragging{cursor:ns-resize!important;user-select:none!important}
