/* Print layout. Our Print buttons add #cfb-print-root to <body>, so any theme chrome is hidden. */
@media print{
	html.cfb-print-mode body>*:not(#cfb-print-root){display:none!important}
	html.cfb-print-mode body{margin:0!important;padding:0!important;background:#fff!important}
	#cfb-print-root{display:block!important;-webkit-print-color-adjust:exact;print-color-adjust:exact;color:#14181f}
	.cfb-page{display:grid;box-sizing:border-box;overflow:hidden;break-after:page;page-break-after:always}
	.cfb-page:last-child{break-after:auto;page-break-after:auto}
	.cfb-page__slot{display:flex;align-items:center;justify-content:center;break-inside:avoid;page-break-inside:avoid;min-width:0;min-height:0}
	#cfb-print-root .cfb-card{max-width:none;margin:0;box-shadow:none}
	.cfb-callerprint{font-family:system-ui,Arial,sans-serif}
	.cfb-callerprint h1{text-align:center;font-size:26pt;margin:0 0 4pt}
	.cfb-callerprint h2{text-align:center;font-size:14pt;font-weight:600;margin:0 0 14pt}
	.cfb-callerprint__list{columns:2;column-gap:24pt;list-style:none;padding:0;margin:0;font-size:12pt}
	.cfb-callerprint__list li{break-inside:avoid;padding:4pt 0}

	/* Plain Ctrl+P on a page with the generator: print only the generated cards. */
	html:not(.cfb-print-mode) .cfb-controls,
	html:not(.cfb-print-mode) .cfb-stage,
	html:not(.cfb-print-mode) .cfb-actions,
	html:not(.cfb-print-mode) .cfb-caller,
	html:not(.cfb-print-mode) .cfb-result .cfb-btn,
	html:not(.cfb-print-mode) .cfb-projectbar{display:none!important}
	html:not(.cfb-print-mode) .cfb-results__grid{display:block}
	html:not(.cfb-print-mode) .cfb-result{break-inside:avoid;margin:0 0 10mm}
	html:not(.cfb-print-mode) .cfb-result .cfb-card{width:150mm;box-shadow:none}
}
