/* mEMA print: loads on every page with media="print" (css_includes() in classes/site/page.php). The other stylesheets
   load for the screen only, so a printed page gets just these rules: the page content as plain HTML.
   The whole frame stays off paper (docs/page-frame-design.md, section 12): the header with the sign-in line and its
   buttons, the menu, the footer with the staff icons, the skip link, and the dialogs and toasts. So does anything
   marked print_hide, such as the QR code page's buttons, download links and on-screen copies of the codes.
   This file had only the print_hide rule, which the CSS clean-up (11 Nov 2026) had moved into base.css, where a
   screen-only link never applied it (Kyle, 16 Nov). */
.print_hide { display: none !important; }
.skip_link, #header_wide, #mobile_menu, #footer_wrapper, #menu_button, #user_button, #login_button,
.dialog_box, .mxModal, .mxModalBackdrop, #mxModalDiv, .toastify, [id^="frm_modal_mask"], [id^="frm_modal_dialog_"],
#freshworks-container, #launcher-frame { display: none !important; }	/* the last two: the floating Help button */
/* The page prints the paper's full width, and rows and pictures aren't cut across pages. */
#page_wrap, #page_wrap_wide, #page { width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
tr, img, svg, canvas { break-inside: avoid; }
