/* The site on paper. Loaded with media="print", so a screen never waits for it. The header, footer and cloth are left out, and one line
   at the end says whose page it is. */
@page { margin: 16mm; }
html, body { background: #fff !important; color: #000 !important; }
.site-header, .site-footer, .woven-strip, .skip, .strip, .swatch, .cloth, canvas, .stitch::before, nav[aria-label='Next venture'] { display: none !important; }
.hero, .vhero { display: block !important; min-height: 0 !important; }
.hero-copy, .vhero .copy { width: auto !important; margin: 0 !important; padding: 0 !important; }
.section, .tight { padding-block: 0.6rem !important; }
.dark, .dark .statement { background: none !important; color: #000 !important; }
.body, .dark .body, .eyebrow, .dark .eyebrow { color: #333 !important; }
.btn { border: 1px solid #000; background: none !important; color: #000 !important; }
.display { font-size: 34pt !important; }
.h2 { font-size: 20pt !important; }
h2, h3 { break-after: avoid; }
li, figure, article, tr, dl { break-inside: avoid; }
.print-line { display: block !important; margin: 1.5rem 0 0; padding-top: 0.5rem; border-top: 1px solid #999; color: #333; font-size: 9pt; }

/* A research paper on paper: one column, the contents and the buttons left out, and links kept. The PDF of each paper is printed with
   these rules (scripts/research-pdf.mjs). */
@page { margin: 16mm; }
.p-toc, .p-meta .link, .fig-data, .r-go, .r-links { display: none !important; }
.wrap { width: 100% !important; }
.p-head { padding: 0 0 6mm !important; }
.p-grid { display: block !important; padding: 0 !important; }
.p-title { max-width: none !important; font-size: 30pt !important; line-height: 1.04 !important; }
.p-stand { font-size: 14.5pt !important; }
.p-meta { margin-top: 4mm !important; font-size: 8.5pt !important; }
.p-meta > span { min-height: 0 !important; }
.p-body, .m-body { max-width: none !important; font-size: 10.2pt !important; line-height: 1.55 !important; color: #000 !important; }
.p-body > p, .p-body > ul, .p-body > ol, .p-body > h2, .p-body > h3, .p-body > blockquote, .p-body > .note, .p-end { max-width: none !important; }
.p-body h2 { margin: 8mm 0 2.5mm !important; font-size: 19pt !important; break-after: avoid; break-inside: avoid; }
.p-body h2 .sec { font-size: 8.5pt !important; }
.p-body h3 { margin: 5mm 0 1.5mm !important; font-size: 13.5pt !important; break-after: avoid; break-inside: avoid; }
/* Backgrounds do not print, so the small diamond bullets are set as a plain bullet character on paper. */
.p-body ul > li::before, .m-body li::before { content: '\2022' !important; top: 0 !important; left: 0.3em !important; width: auto !important; height: auto !important; background: none !important; transform: none !important; color: #5c4520; }
.p-body a { color: #000 !important; }
.cite a { color: #5c4520 !important; }
.fig, .note, .p-cite { background: none !important; box-shadow: none !important; border: 0.5pt solid #bbb; border-radius: 2mm; break-inside: avoid; }
.fig { margin: 4mm 0 !important; padding: 3mm 3.5mm !important; }
.fig-t { font-size: 13pt !important; }
.fig-s, .fig-src, .fig-n { font-size: 8pt !important; }
.fig-src a { display: none; }
.tbl { overflow: visible !important; break-inside: avoid; }
.tbl table { font-size: 8.6pt !important; }
.p-end { margin-top: 7mm !important; padding-top: 3mm !important; font-size: 9pt !important; }
.p-end h2 { font-size: 14pt !important; margin: 0 0 2mm !important; }
.p-refs li { font-size: 8pt !important; margin-top: 1.2mm !important; break-inside: avoid; }
.p-refs .back { display: none !important; }
.p-refs a { overflow-wrap: anywhere; }
