/* Print layout. Our Print buttons add #cff-print-root to <body>, so any theme chrome is hidden. */
@media print{
	html.cff-print-mode body>*:not(#cff-print-root){display:none!important}
	html.cff-print-mode body{margin:0!important;padding:0!important;background:#fff!important}
	#cff-print-root{display:block!important;-webkit-print-color-adjust:exact;print-color-adjust:exact;color:#14162d}
	.cff-page{position:relative;box-sizing:border-box;overflow:hidden;break-after:page;page-break-after:always}
	.cff-page:last-child{break-after:auto;page-break-after:auto}
	.cff-page__slot{position:absolute;outline:.2mm dashed #b8b8c4}
	.cff-page__slot .cff-face{position:static}
	.cff-sheetprint{font-family:system-ui,Arial,sans-serif;font-size:11pt}
	.cff-sheetprint h1{font-size:22pt;margin:0 0 2pt}
	.cff-sheetprint p{margin:0 0 10pt;color:#555}
	.cff-sheetprint table{width:100%;border-collapse:collapse}
	.cff-sheetprint th,.cff-sheetprint td{border:1px solid #bbb;padding:5pt 7pt;text-align:left;vertical-align:top;white-space:pre-wrap}
	.cff-sheetprint th{background:#f0f0f6}
	.cff-sheetprint tr{break-inside:avoid}
	.cff-sheetprint td:first-child{width:28pt;color:#777}

	/* Plain Ctrl+P on a page with the maker: print only the generated cards. */
	html:not(.cff-print-mode) .cff-controls,
	html:not(.cff-print-mode) .cff-stage,
	html:not(.cff-print-mode) .cff-actions,
	html:not(.cff-print-mode) .cff-study,
	html:not(.cff-print-mode) .cff-result__btns,
	html:not(.cff-print-mode) .cff-projectbar{display:none!important}
	html:not(.cff-print-mode) .cff-results__grid{display:block}
	html:not(.cff-print-mode) .cff-result{break-inside:avoid;margin:0 0 8mm}
	html:not(.cff-print-mode) .cff-result .cff-flip{width:120mm}
}
