.wp-block-calendar :where(table:not(.has-text-color)) td {
    border-color: var(--wp--preset--color--theme-4) !important;
}
.wp-block-calendar :where(table:not(.has-text-color)) th {
    border-color: var(--wp--preset--color--theme-4) !important;
}
:where(.wp-block-calendar table:not(.has-background) th) {
    background-color:var(--wp--preset--color--theme-4);
}
/* Dark text on the light header; core assumes a light theme (WordPress/gutenberg#39053). */
.wp-block-calendar table:not(.has-text-color):not(.has-background) th {
    color:var(--wp--preset--color--theme-1);
}
