I am working on a longer document with different reliabilities of the sources. At first, I wanted to change the font color to indicate the different levels (red - low, yellow - medium, green - high confidence). Not surprisingly, this made the text colorful and less readable. A second idea was to change the background of the text, offering a bit more readability, but it is still more hindering than useful.
Now, I would like to add a fingerprint-like visualization/marking next to the text. The confidence of the text is given rather on a paragraph than a sentence level, hence, little inaccuracies are not an issue.
Please consider this very professional sketch of how I would imagine it:

Since my LaTeX experience with anything other than "standard texts" is quite low, I am not even sure how to begin with trying something like this. Especially when I need to somehow "sync" between both parts. My first idea here was to use minipages, but then I had no idea how to indicate up to which height the "red part" should go. Right now, the document has 50 pages and I expect it to double its number of pages until I am finished and about 90% of them will need such a marking. Therefore, a method that does not require any kind of pixel values or much manual correction would be great.
I am very open to other useful ideas of how to indicate "levels" of the text passages visually, without hindering readability. Just now, I had the idea that it may be easier to color the first (few pixels?) part of each line with the "current" color, which may be easier.
Thanks a lot for your ideas and help,
Raubwurst
PS: If useful/needed: I am mainly working with overleaf
Update: After using the great solution by Sandy G., I have an issue with footnotes. They appear on the end of the enclosed text block, but no longer on the footer of the page. I use the (standard) \footnote{}



\marginpar{}. Place as text e.g. usefül symbols from fontawesome (see https://tug.ctan.org/info/symbols/comprehensive/symbols-a4.pdf) , or short colored objects, e.g. by using\tikz{}as "text". – MS-SPO Dec 12 '23 at 12:27changebarpackage comes into mind. Not sure if this is applicable here. – Jasper Habicht Dec 12 '23 at 12:31