/*
 * Print layout for cheat sheets and any page a visitor prints.
 * Black text, clear borders, no interactive controls.
 */

@page {
	margin: 14mm;
}

body.sv-sheet-printing {
	background: #FFFFFF;
	color: #000000;
}

@media print {
	body {
		background: #FFFFFF !important;
		color: #000000 !important;
		font-size: 10.5pt;
	}

	.sv-header,
	.sv-footer,
	.sv-nav,
	.sv-skip,
	.sv-toast,
	.sv-search,
	.sv-chips,
	.sv-tabs,
	.sv-pagination,
	.sv-breadcrumbs,
	.sv-button,
	.sv-button-row,
	.sv-sheet__controls,
	.sv-more-filters,
	.sv-results__head,
	.sv-detail__actions,
	.sv-detail__report,
	form,
	noscript {
		display: none !important;
	}

	.sv-shell,
	.sv-sheet,
	.sv-sheet__preview {
		display: block !important;
		max-width: none !important;
		width: auto !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.sv-sheet__paper {
		border: 0 !important;
		padding: 0 !important;
		background: #FFFFFF !important;
		overflow: visible !important;
	}

	.sv-sheet__preview-title {
		display: none !important;
	}

	.sv-sheet__head {
		margin-bottom: 6mm;
		padding-bottom: 3mm;
		border-bottom: 1pt solid #000000;
	}

	.sv-sheet__head h1 {
		font-size: 16pt;
		margin: 0 0 2mm;
	}

	.sv-sheet__meta {
		font-size: 8.5pt;
		color: #000000 !important;
	}

	table {
		width: 100%;
		border-collapse: collapse;
		page-break-inside: auto;
	}

	thead {
		display: table-header-group;
	}

	tfoot {
		display: table-footer-group;
	}

	tr {
		page-break-inside: avoid;
		break-inside: avoid;
	}

	th,
	td {
		padding: 1.6mm 2mm;
		border-bottom: 0.5pt solid #000000;
		text-align: left;
		vertical-align: top;
		color: #000000 !important;
	}

	thead th {
		border-bottom: 1pt solid #000000;
		font-size: 9pt;
		text-transform: uppercase;
		letter-spacing: 0.03em;
	}

	.is-compact th,
	.is-compact td {
		padding: 0.9mm 2mm;
		font-size: 9pt;
	}

	.sv-key,
	kbd {
		display: inline-block;
		padding: 0.4mm 1.2mm;
		border: 0.5pt solid #000000;
		border-radius: 1mm;
		background: #FFFFFF !important;
		color: #000000 !important;
		font-family: "Courier New", monospace;
		font-size: 9pt;
	}

	.sv-keys__plus,
	.sv-keys__then {
		color: #000000 !important;
	}

	a {
		color: #000000 !important;
		text-decoration: none;
	}

	.sv-sheet__legend {
		margin-top: 5mm;
		padding-top: 2mm;
		border-top: 0.5pt solid #000000;
		font-size: 8pt;
	}

	h1, h2, h3 {
		page-break-after: avoid;
		break-after: avoid;
	}
}
