/**
 * PilotBooker legacy OneListing interface suppression.
 *
 * These selectors hide only top-level legacy modal containers created before
 * the PilotBooker page shell. The working #ptm-auth-v10 modal is deliberately
 * excluded. JavaScript adds the data attribute to any equivalent top-level
 * wrapper whose outer class differs between OneListing versions.
 */
body.ptm-legacy-interface-suppression-active > .theme-authentication-modal,
body.ptm-legacy-interface-suppression-active > .directorist-authentication,
body.ptm-legacy-interface-suppression-active > .directorist-search-modal,
body.ptm-legacy-interface-suppression-active > #directorist-search-modal,
body.ptm-legacy-interface-suppression-active > .theme-search-modal,
body.ptm-legacy-interface-suppression-active > [data-ptm-legacy-interface-suppressed="true"] {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
	inset: auto !important;
	width: 0 !important;
	height: 0 !important;
	min-width: 0 !important;
	min-height: 0 !important;
	max-width: 0 !important;
	max-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	opacity: 0 !important;
}

/* Never suppress the approved PilotBooker authentication interface. */
body.ptm-legacy-interface-suppression-active > #ptm-auth-v10,
body.ptm-legacy-interface-suppression-active #ptm-auth-v10 {
	width: auto;
	height: auto;
	max-width: none;
	max-height: none;
}
