/* TEDY ERP R4.2 — real mobile table labels and workflow form UX */
@media(max-width:760px){
  /* Neutralize the legacy 11-column material-table guess. Actual labels come from JS data-label. */
  #main .card:has(.table-wrap table th:nth-child(11)) td::before,
  #main .card:has(.table-wrap table th:nth-child(11)) td:before,
  #main table.r42-real-mobile-labels td::before,
  #main table.r42-real-mobile-labels td:before{
    content:attr(data-label)!important;
  }
  #main table.r42-real-mobile-labels td{
    min-width:0!important;
    overflow-wrap:anywhere!important;
    word-break:break-word!important;
  }
  .r42-sale-final-action{order:9999!important;width:100%!important;margin-top:12px!important}
  .r42-sale-final-action .btn{width:100%!important;min-height:48px!important}
  .r42-sale-final-action .btn:disabled{opacity:.48!important;cursor:not-allowed!important}
  .r42-sale-state,.r42-stock-hint,.r42-prod-link-note{line-height:1.55!important;overflow-wrap:anywhere!important}
}
.r42-worker-note{display:block;margin-top:5px;color:var(--muted,#8da99a);font-size:.78rem;line-height:1.4}
.r42-sale-final-action{margin-top:12px}
.r42-sale-final-action .btn:disabled{opacity:.48;cursor:not-allowed}
