I've to do very little changes to bbPress (forum plugin for WordPress) for a customer, at all about 5 lines CSS only.
But I'm not sure where is the best place to put this CSS code. Modify the original plugin CSS files seems not to be a good idea because it may be overwritten on the next update and it's hard to see what was modificated.
My second idea was to place the CSS code in the main stylesheet of the theme. This seems a bit better, but the customer is using a paid-theme which get updates too. So these changes will be lost in case of theme-updates.
Another idea would be writing a small plugin, which inject the css-code in the DOM. It will be independent from any updates of external things. It looks like the only way to get sure that the code wouldn't be overwritten by any update. But a plugin for these few lines also seems to be a bit overstated.
Where is the best place to put such CSS modifications so that they're not getting overwritten by updates of wordpress, themes or plugins?
WordPress is developed very modular so it seems for me that this is not possible without extra-work (which has to be documentated and regarded on every update).