/* TERP - styles of mock-up group G4 (conto lavoro / subcontracting). Shared rules stay in
 * app.css: lists, cards, badges, tabs, modals and the scanner dock all come from there. */

/* Several chips (one per referenza) in a single list cell, e.g. "Materiale fuori" on "Saldo
 * presso i terzisti": app.css's .tp-table td is itself a flex row on the phone (C12), so a bare
 * run of <span> badges never wraps and runs off the card. Wrapping them in one .tp-chips element
 * makes the group a single flex child instead, free to wrap its own badges. */
.tp-chips { display: flex; flex-wrap: wrap; gap: .3rem; justify-content: flex-end; }
@media (max-width: 767.98px)
{
    .tp-chips { justify-content: flex-start; }
}
