diff --git a/CS.tex b/CS.tex
index 05f43587f63be9f4378f8dee968e7c91faf50216..4320bee153d6b7ece39aee601d8f006134daaf69 100644
--- a/CS.tex
+++ b/CS.tex
@@ -19,11 +19,11 @@
     attach boxed title to top center={yshift=-0.25mm-\tcboxedtitleheight/2,yshifttext=-2mm-\tcboxedtitleheight/2},
     boxed title style={
       frame code={
-        \path[draw=\pageOppositeColor, tcb fill frame] ([xshift=-4mm]frame.west)
+        \path[draw=black, tcb fill frame] ([xshift=-4mm]frame.west)
         -- (frame.north west) -- (frame.north east) -- ([xshift=4mm]frame.east)
         -- (frame.south east) -- (frame.south west) -- cycle;
       },
-      interior code={ \path[draw=\pageOppositeColor, tcb fill interior] ([xshift=-2mm]interior.west)
+      interior code={ \path[draw=black, tcb fill interior] ([xshift=-2mm]interior.west)
         -- (interior.north west) -- (interior.north east) -- ([xshift=2mm]interior.east) -- (interior.south east) -- (interior.south west) -- cycle;},
     },
   }
diff --git a/layout.sty b/layout.sty
index 102aea6d8cce4d298e85bdc084454b38539b15de..2e788505a519c6e410133dd8ecd98b5f6daf970b 100644
--- a/layout.sty
+++ b/layout.sty
@@ -635,13 +635,14 @@ left=3pt,
 right=3pt,
 code={\rowcolors{2}{}{gray!10}},
 before upper={\parindent15pt},
-fonttitle=\bfseries,coltitle=black,attach boxed title to top center=
+colframe=\pageSideColor,
+fonttitle=\bfseries\scshape,attach boxed title to top center=
 {yshift=-0.25mm-\tcboxedtitleheight/2,yshifttext=-2mm-\tcboxedtitleheight/2},
-boxed title style={boxrule=-0.5mm,
-frame code={ \path[tcb fill frame] ([xshift=-4mm]frame.west)
+boxed title style={
+frame code={ \path[draw=black, tcb fill frame] ([xshift=-4mm]frame.west)
 -- (frame.north west) -- (frame.north east) -- ([xshift=4mm]frame.east)
 -- (frame.south east) -- (frame.south west) -- cycle; },
-interior code={ \path[tcb fill interior] ([xshift=-2mm]interior.west)
+interior code={ \path[draw=black, tcb fill interior] ([xshift=-2mm]interior.west)
 -- (interior.north west) -- (interior.north east)
 -- ([xshift=2mm]interior.east) -- (interior.south east) -- (interior.south west)
 -- cycle;}