+/* adjustments for not painting outside of table border */
+thead:first-child > th:first-child, /* prefs table misses a tr in thead */
+thead:first-child > tr:first-child > th:first-child,
+thead:first-child > tr:first-child > td:first-child,
+tbody:first-child > tr:first-child > th:first-child,
+tbody:first-child > tr:first-child > td:first-child {
+ border-top-left-radius: 9px;
+}
+
+thead:first-child > th:last-child, /* prefs table misses a tr in thead */
+thead:first-child > tr:first-child > th:last-child,
+thead:first-child > tr:first-child > td:last-child,
+tbody:first-child > tr:first-child > th:last-child,
+tbody:first-child > tr:first-child > td:last-child {
+ border-top-right-radius: 9px;
+}
+
+thead:last-child > tr:last-child > th:first-child,
+thead:last-child > tr:last-child > td:first-child,
+tbody:last-child > tr:last-child > th:first-child,
+tbody:last-child > tr:last-child > td:first-child {
+ border-bottom-left-radius: 9px;
+}
+
+thead:last-child > tr:last-child > th:last-child,
+thead:last-child > tr:last-child > td:last-child,
+tbody:last-child > tr:last-child > th:last-child,
+tbody:last-child > tr:last-child > td:last-child {
+ border-bottom-right-radius: 9px;
+}
+