.laboratorio-module .tabella-bacheca tbody tr.riga-trasferita-lab:not(.riga-h24) {
    background: #f8fafc !important;
    box-shadow: inset 4px 0 0 #64748b;
}

.laboratorio-module .tabella-bacheca tbody tr.riga-trasferita-lab:not(.riga-h24):hover {
    background: #f1f5f9 !important;
}

/* Trasferito + H24: priorità al rosso, doppio bordo per indicare anche il trasferimento */
.laboratorio-module .tabella-bacheca tbody tr.riga-h24.riga-trasferita-lab {
    box-shadow: inset 4px 0 0 #dc2626, inset 8px 0 0 #64748b;
}

.ddm-lab-trasf-badge {
    display: inline-flex;
    align-items: center;
    margin-top: 6px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #e2e8f0;
    color: #334155;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    white-space: normal;
}
