.tpe-calendar { margin: .8rem 0; }
.tpe-calendar ol { display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); gap: .2rem; padding: 0; margin: 0; list-style: none; }
.tpe-calendar li {
    display: grid; justify-items: center; gap: .18rem; padding: .34rem .05rem;
    border: 1px solid color-mix(in srgb,currentColor 25%,transparent); border-radius: .4rem;
    font-size: .8rem; font-variant-numeric: tabular-nums; line-height: 1.25;
}
.tpe-calendar .tpe-weekend { background: color-mix(in srgb,currentColor 8%,transparent); }
.tpe-calendar .tpe-holiday { border-style: dashed; background: color-mix(in srgb,#407eca 20%,transparent); }
.tpe-calendar .tpe-calendar-legend { display: flex; flex-wrap: wrap; gap: .3rem .7rem; margin-block: .45rem; font-size: .8rem; }
.tpe-calendar .tpe-calendar-legend a { display: inline; }
