/**
 * AI Landlord Notice & Letter Builder — print stylesheet.
 *
 * Produces a clean formal letter: no tool chrome, serif type, 1in margins.
 * Loaded with media="print" so it never affects the screen.
 *
 * Technique: hide the whole page via visibility, then re-show only the
 * generated letter. The letter stays in normal flow so multi-page letters
 * break across pages naturally.
 */

@media print {
	body * {
		visibility: hidden;
	}

	#lnb-letter,
	#lnb-letter * {
		visibility: visible;
	}

	#lnb-letter {
		border: none;
		padding: 0;
		margin: 0;
		font-family: Georgia, "Times New Roman", serif;
		font-size: 12pt;
		line-height: 1.6;
		color: #000;
		background: #fff;
	}

	#lnb-letter h3 {
		text-align: center;
		letter-spacing: 0.08em;
		margin: 0 0 1.5em;
		text-transform: uppercase;
	}

	#lnb-letter p {
		margin: 0 0 1em;
		orphans: 3;
		widows: 3;
	}

	@page {
		margin: 1in;
	}
}

/* ------------------------------------------------------------------
 * v1.1.0 companion tools: printable calculator results and documents.
 * Same technique as the letter: hide everything, re-show only the
 * printable region, which stays in normal flow for natural page breaks.
 * ------------------------------------------------------------------ */

@media print {
	.lnb-printable,
	.lnb-printable * {
		visibility: visible;
	}

	.lnb-printable {
		border: none;
		padding: 0;
		margin: 0;
		font-family: Georgia, "Times New Roman", serif;
		font-size: 11pt;
		line-height: 1.5;
		color: #000;
		background: #fff;
	}

	.lnb-printable .lnb-result-hero {
		background: none;
		border: 2px solid #000;
		text-align: center;
	}

	.lnb-printable .lnb-result-big {
		font-size: 20pt;
	}

	.lnb-printable .lnb-result-duo {
		gap: 12pt;
	}

	.lnb-printable .lnb-result-table,
	.lnb-printable .lnb-checklist {
		font-size: 10pt;
	}

	.lnb-printable .lnb-result-table th,
	.lnb-printable .lnb-result-table td,
	.lnb-printable .lnb-checklist th,
	.lnb-printable .lnb-checklist td {
		border-color: #000;
	}

	.lnb-printable .lnb-warning,
	.lnb-printable .lnb-ok,
	.lnb-printable .lnb-info {
		background: none;
		border: 1px solid #000;
	}

	.lnb-printable .lnb-doc-title {
		font-size: 16pt;
		text-transform: uppercase;
	}

	.lnb-printable .lnb-room-head {
		border-bottom: 2px solid #000;
		break-after: avoid;
	}

	.lnb-printable .lnb-checklist tr {
		break-inside: avoid;
	}

	.lnb-printable .lnb-cond-select {
		border: none;
		appearance: none;
		-webkit-appearance: none;
		font-family: Georgia, "Times New Roman", serif;
	}

	.lnb-printable .lnb-signatures {
		break-inside: avoid;
	}

	.lnb-printable p {
		orphans: 3;
		widows: 3;
	}
}
