.upe-print-next td { position:relative; }
.upe-print-next .upe-day-marks { display:flex; flex-wrap:wrap; justify-content:center; gap:1px; line-height:1.1; }
.upe-print-next .upe-day-marks sup { position:static; display:inline; margin:0; font-size:.62em; }
.upe-print-next td.upe-school { box-shadow:inset 0 -2px currentColor; }
.upe-print-next .upe-mark-legend { display:flex; gap:.25rem .75rem; flex-wrap:wrap; padding:0; list-style:none; }
.upe-print-next .upe-mark-legend li { margin:0; }
@media print {
 .upe-print-next .upe-months { color:#111; }
 .upe-print-next .upe-month td, .upe-print-next .upe-month th { color:#111 !important; border-color:#777 !important; background:#fff !important; }
 .upe-print-next td.upe-school { box-shadow:none; border-bottom:2px solid #111 !important; }
 .upe-print-next .upe-day-marks sup { color:#111 !important; }
 .upe-print-next td.upe-weekend time { text-decoration:underline; text-decoration-style:dotted; }
}
