Actually, go with the below code, it has the default checkboxes fixed so you don't need to specify the PrintRiver div at all
input[type="checkbox"],
.tc-tiddler-body input[type="checkbox"],
.tc-tiddler-preview-preview input[type="checkbox"],
.tc-sidebar-scrollable input[type="checkbox"] {
-webkit-appearance:none;
background-color: rgba(var(--primary),0.15);
border: none;
box-shadow: 0 0 0 1px rgba(var(--primary),1) inset;
display: inline-block;
height: 0.8em;
outline-color: transparent;
width: 0.8em;
}
input[type="checkbox"]:checked,
.tc-tiddler-body input[type="checkbox"]:checked,
.tc-tiddler-preview-preview input[type="checkbox"]:checked,
.tc-sidebar-scrollable input[type="checkbox"]:checked {
background-color: rgba(var(--primary),1);
}
input[type="checkbox"]:checked::after,
.tc-tiddler-body input[type="checkbox"]:checked::after,
.tc-tiddler-preview-preview input[type="checkbox"]:checked::after,
.tc-sidebar-scrollable input[type="checkbox"]:checked::after {
color: rgba(var(--secondary),1);
content: "\2713";
font-size: 1em;
font-weight: bold;
left: 0;
position: relative;
text-shadow: 1px 1px 1px #000;
top: -0.3em;
}
input[type="checkbox"]:active,
.tc-tiddler-body input[type="checkbox"]:active,
.tc-tiddler-preview-preview input[type="checkbox"]:active,
.tc-sidebar-scrollable input[type="checkbox"]:active {
border: none;
box-shadow: none;
outline-color: transparent;
}