/**
 * LHM Analytics Reports — portrait and landscape browser PDF styles.
 * Version: 8.0.4
 */

.lhm-print-cover {
	display: none;
}

@media print {
	#wpadminbar,
	.elementor-location-header,
	.elementor-location-footer,
	.lhm-ga4-quarter-picker,
	.lhm-ga4-actions,
	.lhm-report-actions,
	.lhm-native-dashboard__controls,
	.lhm-native-table__controls,
	.lhm-report-no-print,
	.no-print {
		display: none !important;
	}

	*, *::before, *::after {
		-webkit-print-color-adjust: exact !important;
		print-color-adjust: exact !important;
	}

	html,
	body {
		width: auto !important;
		min-width: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		background: #fff !important;
	}

	body.lhm-analytics-printing .lhm-native-dashboard:not(.lhm-report-print-area-active),
	body.lhm-analytics-printing .lhm-report-bundle:not(.lhm-report-print-area-active),
	body.lhm-analytics-printing .lhm-intelligence-dashboard:not(.lhm-report-print-area-active) {
		display: none !important;
	}

	.lhm-report-print-area-active,
	body[data-lhm-print-orientation] .lhm-native-dashboard,
	body[data-lhm-print-orientation] .lhm-report-bundle,
	body[data-lhm-print-orientation] .lhm-intelligence-dashboard {
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.lhm-native-dashboard__print-range {
		display: flex !important;
		flex-wrap: wrap;
		gap: 6px 12px;
		margin: 0 0 14px;
		padding: 10px 12px;
		border: 1px solid #d6dbe1;
		background: #f8fafc;
		font-size: 9pt;
	}

	.lhm-native-chart,
	.lhm-native-table {
		width: 100% !important;
		max-width: none !important;
		box-sizing: border-box !important;
		box-shadow: none !important;
		border-color: #cbd5e1 !important;
	}

	.lhm-native-table__scroll {
		overflow: visible !important;
	}

	.lhm-native-table table {
		width: 100% !important;
		max-width: 100% !important;
		border-collapse: collapse !important;
	}

	.lhm-native-table thead {
		display: table-header-group;
	}

	.lhm-native-table tr {
		break-inside: avoid;
		page-break-inside: avoid;
	}

	canvas {
		width: 100% !important;
		max-width: 100% !important;
	}

	body[data-lhm-print-orientation="portrait"] .lhm-native-chart__canvas-wrap {
		height: 3.4in !important;
	}

	body[data-lhm-print-orientation="portrait"] .lhm-native-dashboard__section,
	body[data-lhm-print-orientation="portrait"] .lhm-report-bundle__section {
		break-inside: avoid-page;
		page-break-inside: avoid;
		margin: 0 0 0.2in !important;
	}

	body[data-lhm-print-orientation="landscape"] .lhm-print-cover {
		display: grid !important;
		grid-template-columns: minmax(2.5in, 0.85fr) 4px minmax(4.5in, 1.55fr);
		gap: 0.55in;
		align-items: center;
		width: 100%;
		min-height: 6.7in;
		padding: 0.35in 0.55in;
		box-sizing: border-box;
		break-after: page;
		page-break-after: always;
	}

	body[data-lhm-print-orientation="landscape"] .lhm-print-cover__brand {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 0.2in;
		text-align: center;
		color: #18365f;
	}

	body[data-lhm-print-orientation="landscape"] .lhm-print-cover__brand img {
		max-width: 2.45in;
		max-height: 1.75in;
		object-fit: contain;
	}

	body[data-lhm-print-orientation="landscape"] .lhm-print-cover__brand strong {
		font-size: 22pt;
		line-height: 1.15;
	}

	body[data-lhm-print-orientation="landscape"] .lhm-print-cover__brand span {
		font-size: 11pt;
		font-weight: 700;
		letter-spacing: 0.15em;
		text-transform: uppercase;
	}

	body[data-lhm-print-orientation="landscape"] .lhm-print-cover__divider {
		align-self: stretch;
		background: #10b9e8;
	}

	body[data-lhm-print-orientation="landscape"] .lhm-print-cover__content h1 {
		margin: 0 0 0.14in;
		font-size: 31pt;
		font-weight: 400;
		line-height: 1.08;
		color: #18365f;
	}

	body[data-lhm-print-orientation="landscape"] .lhm-print-cover__content h2 {
		margin: 0 0 0.25in;
		font-size: 27pt;
		font-weight: 400;
		line-height: 1.05;
		color: #10aeda;
	}

	body[data-lhm-print-orientation="landscape"] .lhm-print-cover__comparison {
		margin: 0 0 0.4in;
		font-size: 12pt;
		color: #526078;
	}

	body[data-lhm-print-orientation="landscape"] .lhm-print-cover__date {
		display: flex;
		flex-direction: column;
		gap: 0.08in;
		margin: 0;
		font-size: 17pt;
		color: #18365f;
	}

	body[data-lhm-print-orientation="landscape"] .lhm-print-cover__date strong {
		font-size: 13pt;
		color: #10aeda;
	}

	body[data-lhm-print-orientation="landscape"] .lhm-native-dashboard__print-range {
		margin: 0 0 0.12in;
	}

	body[data-lhm-print-orientation="landscape"] .lhm-native-dashboard__section,
	body[data-lhm-print-orientation="landscape"] .lhm-report-bundle__section {
		display: block !important;
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 0 !important;
		break-inside: auto !important;
		page-break-inside: auto !important;
	}

	body[data-lhm-print-orientation="landscape"] .lhm-native-dashboard__section > .lhm-native-chart,
	body[data-lhm-print-orientation="landscape"] .lhm-report-bundle__section > .lhm-native-chart,
	body[data-lhm-print-orientation="landscape"] .lhm-native-dashboard__section > .lhm-native-table,
	body[data-lhm-print-orientation="landscape"] .lhm-report-bundle__section > .lhm-native-table {
		break-before: page;
		page-break-before: always;
		break-after: page;
		page-break-after: always;
		margin: 0 !important;
		padding: 0.08in 0 0 !important;
	}

	body[data-lhm-print-orientation="landscape"] .lhm-native-chart__canvas-wrap {
		height: 5.05in !important;
	}

	body[data-lhm-print-orientation="landscape"] .lhm-native-table table {
		font-size: 8.5pt !important;
	}

	body[data-lhm-print-orientation="landscape"] .lhm-native-table th,
	body[data-lhm-print-orientation="landscape"] .lhm-native-table td {
		padding: 5px 6px !important;
	}

	body[data-lhm-print-orientation="landscape"] .lhm-report-bundle__header {
		display: none !important;
	}
}

/* v8.2.0 branded print templates */
@media print{
	.lhm-report-cover{display:grid!important;break-after:page;page-break-after:always;min-height:7.75in;border:0!important;padding:.45in .65in!important;}
	.lhm-report-bundle__header{display:none!important;}
	.lhm-report-bundle__section{position:relative;break-before:page;page-break-before:always;}
	.lhm-report-bundle__appendix{break-before:page;page-break-before:always;}
	.lhm-report-bundle.has-page-rail .lhm-report-bundle__section{padding-left:.5in!important;border-left:2px solid #1c3868;}
	.lhm-report-bundle.has-page-rail .lhm-report-bundle__section:before{content:attr(data-lhm-report-section);position:absolute;left:-.38in;top:50%;transform:rotate(-90deg) translateX(-50%);transform-origin:left top;font-size:9pt;letter-spacing:.08em;text-transform:uppercase;color:#1c3868;white-space:nowrap;}
	.lhm-report-bundle.has-page-numbers{counter-reset:lhm-report-page;}
	.lhm-report-bundle.has-page-numbers .lhm-report-bundle__section{counter-increment:lhm-report-page;}
	.lhm-report-bundle.has-page-numbers .lhm-report-bundle__section:after{content:counter(lhm-report-page);position:absolute;left:-.48in;bottom:0;width:.34in;padding:.1in 0;background:#1c3868;color:#fff;text-align:center;font-size:10pt;}
}
