/**
 * Printeez Calendly block — front-end overrides layered on Calendly's own
 * widget.css. Registered with that stylesheet as a dependency, so it always
 * loads after it and wins on equal specificity; attached to the block as a
 * view style, so it loads only where the block renders.
 */

/* Lock the page behind the popup. Calendly's overlay is position:fixed with
 * overflow:hidden, but it never locks body scroll, so the document scrollbar
 * stays visible at the viewport edge while the scheduler is open. Standard
 * modal behavior; the overlay element exists only while the popup is open. */
body:has(.calendly-overlay) {
	overflow: hidden;
}

/* The vendor caps the popup panel at 700px (with !important) regardless of
 * viewport height, so on a tall screen the booking page scrolls inside the
 * iframe. Let the panel use the vendor's own 90% height instead. The vendor's
 * below-975px rule (full-screen panel, no cap) is untouched. */
.calendly-overlay .calendly-popup {
	max-height: 90vh !important;
	height: 90vh !important;
}
