diff --git a/css/html_instruct_style.css b/css/html_instruct_style.css
index 3e5ebe67..22901c4d 100644
--- a/css/html_instruct_style.css
+++ b/css/html_instruct_style.css
@@ -13,7 +13,9 @@
line-height: 28px !important;
}
-.dark .chat .message-body :is(p, li, q, em, h1, h2, h3, h4, h5, h6) {
+.dark .chat .message-body :is(p,li,h1,h2,h3,h4,h5,h6),
+.dark .chat .message-body em:not(:is(h1,h2,h3,h4,h5,h6) em),
+.dark .chat .message-body q:not(:is(h1,h2,h3,h4,h5,h6) q) {
color: #d1d5db !important;
}