/*
 * Auxilium Pulse — print stylesheet
 *
 * Per §8.9 accessibility: ensure the portal prints cleanly for timesheet
 * records, invoices, and audit reports. Strip navigation and interactive
 * elements; keep just the printable content.
 */

@media print {
	/* Hide everything that isn't content. */
	.aux-side,
	.aux-topbar,
	.aux-toast-container,
	.aux-skip,
	.aux-btn,
	.aux-field,
	.aux-tabs,
	#wpadminbar,
	.notice {
		display: none !important;
	}

	/* Main content fills the page. */
	.aux-shell,
	.aux-shell__main,
	.aux-main,
	.aux-page {
		margin: 0 !important;
		padding: 0 !important;
		width: 100% !important;
		max-width: none !important;
	}

	/* Neutralize colors/backgrounds to save toner. */
	body, .aux-card, .aux-table {
		background: #fff !important;
		color: #000 !important;
	}

	.aux-card {
		border: 1px solid #ccc !important;
		box-shadow: none !important;
		page-break-inside: avoid;
	}

	/* Links: show URL in parens after the text for reference. */
	a[href]:after {
		content: " (" attr(href) ")";
		font-size: 90%;
	}
	/* But not for anchor links or javascript. */
	a[href^="#"]:after,
	a[href^="javascript:"]:after {
		content: "";
	}

	/* Ensure tables don't break awkwardly. */
	table {
		border-collapse: collapse !important;
	}
	thead { display: table-header-group; }
	tr, td, th { page-break-inside: avoid; }

	/* Headers on every printed page. */
	h1, h2, h3 {
		page-break-after: avoid;
	}
}
