/* Sarmguide print stylesheet (media="print"; "Print / Save as PDF" on fact sheets and comparisons).
   Paper gets the research only: no header, menus, footer, share bar, product cards or shop links;
   light colors in any color scheme; sources printed with their addresses. */
@page { margin: 16mm 14mm; }

:root, :root * {
	--bg: #fff; --paper: #fff; --paper-2: #f4f4f4; --surface: #fff; --ink: #000; --text: #111; --muted: #444;
	--line: #bbb; --teal: #00505a; --teal-soft: #eef4f4; --accent-soft: #f6f6f6;
}
html, body { background: #fff !important; color: #111 !important; }
body { font-size: 10.5pt; line-height: 1.45; }

/* Site chrome and commerce */
.topbar, .site-header, .site-footer, .skip-link, .article-rail, .toc, .related, .hub-spokes, .team-box,
.signup-band, .sg-signup, .sg-share, .sg-product, .sg-tool__shop, .sg-tool__form, .sg-tool__actions,
.box-slot.box-end, .disclosure-line, .sg-filter, .menu-toggle, .search-toggle, .header-search,
.sg-faq__more, .faq-more, button { display: none !important; }

/* The fact box is research: keep it (the theme hides .box-slot on paper) */
.box-slot.box-facts { display: block !important; }

main, .wrap, .article-grid, .article-body, .article-lead, .article-head, .prose { display: block !important; width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
.article-image img, .prose img { max-width: 60% !important; height: auto !important; }

h1, h2, h3 { color: #000 !important; break-after: avoid; page-break-after: avoid; }
h1 { font-size: 20pt; margin: 0 0 6pt; }
h2 { font-size: 14pt; margin: 14pt 0 6pt; }
figure, .takeaways, .sg-chart, tr, li, .sg-facts__list > div { break-inside: avoid; page-break-inside: avoid; }
table { border-collapse: collapse; width: 100% !important; }
th, td { border: 1px solid #bbb !important; padding: 4pt 6pt !important; background: #fff !important; color: #111 !important; }
.sg-table-wrap { overflow: visible !important; }
.sg-facts, .takeaways, .sg-chart { border: 1px solid #bbb !important; background: #fff !important; box-shadow: none !important; }
a { color: #000 !important; text-decoration: underline; }

/* Collapsed answers print open (sg-core.js opens <details> on beforeprint) */
details > summary { list-style: none; font-weight: 700; }
details > summary::-webkit-details-marker { display: none; }

/* Sources: with their addresses */
.sources a[href^="http"]::after, .source-list a[href^="http"]::after, .sg-cite[href^="http"]::after {
	content: " " attr(href); font-size: 8.5pt; color: #444; overflow-wrap: anywhere; word-break: break-all;
}
.source-list a.pmid::after { content: none !important; }

/* Comparison: both columns on the page */
.sg-compare__table { font-size: 9.5pt; }
.sg-tool { border: 0 !important; padding: 0 !important; }
