/* Print and "Save as PDF" (2026-10-04, design pass for a research audience): spec sheets, FAQ answers, papers and
   monographs print as black text on white, without navigation, banners or decorative backgrounds; external links and
   DOIs show their address. Loaded with media="print" on every page (inc/site-menu.php). */
@page{margin:16mm 14mm}
html,body{background:#fff!important}
body,body *{color:#000!important;background-color:transparent!important;background-image:none!important;box-shadow:none!important;text-shadow:none!important;filter:none!important;clip-path:none!important;animation:none!important;transition:none!important}
body{font-size:10.5pt!important;line-height:1.45!important}
/* Chrome that has no meaning on paper */
.header,.desktop-nav,.mobile-nav,.menu-toggle,.oq-bar,.oqm-panel,.ag-nav,.ag-mobile-menu,.ag-subnav,.oq-folio,.mg-folio,.nu-folio,
.cmplz-cookiebanner,#cmplz-cookiebanner-container,.cmplz-manage-consent,#tawk-bubble-container,iframe[title*="chat" i],
.skip-link,.motion-control,.mg-series,.mg-controls,.mg-cover-links,.mg-cover-glow,.dv-cover-glow,.hero-film,.hero-shade,
.oq-colophon,.footer,.ag-footer,.ag-explore,.ag-faq__controls,.ag-faq__instruments,.ag-faqnav,.ag-faq__permalink,
.oq-cover canvas,.ag-scrollhint,button{display:none!important}
/* Flatten the editorial layout */
section,main,.mg-paper,.mg-night,.mg-cover,.mg-specs,.mg-papers,.mg-cta{padding:0!important;margin:0 0 10mm!important;min-height:0!important;overflow:visible!important;position:static!important}
.mg-cover-grid,.mg-split,.mg-split--wide,.mg-photo-section,.mg-spec-grid,.mg-budget,.mg-cta{display:block!important}
h1,h2,h3{page-break-after:avoid;break-after:avoid}
h1{font-size:22pt!important;line-height:1.1!important}
h2{font-size:15pt!important;line-height:1.15!important}
table,figure,.mg-spec-group,.ag-faq__item,.nx-paper,.oqcm-paper,dl > div{break-inside:avoid;page-break-inside:avoid}
table{border-collapse:collapse!important;width:100%!important}
th,td{border-bottom:.5pt solid #999!important;padding:3pt 5pt!important}
img,svg,canvas{max-width:100%!important;break-inside:avoid}
/* Where a link goes, for readers on paper */
/* Only DOIs and external links inside running text show their address */
:is(.ag-faq__a,.ag-prose,.ag-post__body,.oq-note,.mg-story,.oqcm-paper-meta) :is(p,li) a[href^="http"]:not([href*="openqcm.com"]):not([href*="127.0.0.1"])::after,
a[href*="doi.org"]:not(:has(*))::after{content:" <" attr(href) ">";font-size:8pt;word-break:break-all;text-transform:none}
svg[aria-hidden="true"],[class*="deco"],[class*="related"],.ag-cta,.oqcm-paper-tags,.nx-explore,.mg-deep{display:none!important}
.ag-faq__item[open] > summary{font-weight:700}
.ag-faq__item:not([open]) > :not(summary){display:none}
