@page {
	size: A4 portrait;
	margin: 12mm;
}

.no-print {
	display: none !important;
}

body {
	font-size: 11pt;
}

main {
	max-width: none;
	padding: 0;
}

a {
	text-decoration: none;
	color: inherit;
}

.dpp-header,
.dpp-legend,
.line-column {
	break-inside: avoid;
}

/* JS-toggled period tabs collapse to "everything stacked" on paper/no-JS -
   there's no interaction to pick a tab, so every period's schedule prints. */
.period-panel[hidden] {
	display: block !important;
}

.period-panel {
	break-before: page;

	&:first-child {
		break-before: avoid;
	}
}

.timetable-grid {
	width: 100%;

	thead,
	tr {
		break-inside: avoid;
	}
}

.hour-row--current {
	background: none !important;
}

.minute--next,
.minute--after-next {
	color: inherit !important;
	font-weight: inherit !important;
}

.site-footer {
	margin-top: 1rem;
	border-top: none;
	padding: 0;
}
