I am trying to understand how to modify the primeng p-calendar style for range selection, but can't understand.
I want to show first and last item with the style p-highlight. And middle part of range must be another color. Something like this:

I'm tried something like this, but it's wrong:
.p-datepicker table td > span.p-highlight:first-child {
color: var(--datepicker-body-text-color);
background: var(--datepicker-body-selected-color);
}
Is it possible to do this with CSS?