/* The book on paper. Loaded with media="print" by the plain page and the spread alike, so both
   print to the same layout: running heads, folios, no grounds, no canvases, pictures at 60%. */
@page{size:auto;margin:22mm 18mm 24mm}
@page :left{@top-left{content:"An Oddyssey";font:11px/1 "EB Garamond",serif}}
@page :right{@top-right{content:string(chapter);font:11px/1 "EB Garamond",serif}}
@page{@bottom-center{content:counter(page);font:11px/1 "EB Garamond",serif}}
h1{string-set:chapter content()}
html,body{background:#fff!important;color:#111!important}
.foreedge,.colophon,.spread-link,.slip,.lamp,.pinned-switch,.sound-mark,.edge-folio,.skip,.readline,.ring{display:none!important}
.sheet{max-width:none;padding:0}
.prose p,.journal p{font-size:11pt;line-height:1.45;orphans:3;widows:3}
.prose figure{width:60%;margin:14pt auto;break-inside:avoid}
.prose figure img{padding:0;box-shadow:none;background:none}
.interlude{background:none!important;color:#111!important;margin:24pt 0;padding:12pt 0;border-top:1px solid #111;border-bottom:1px solid #111}
.interlude h2,.interlude .datestamp{color:#111!important}
h1,.interlude h2,h3{break-after:avoid}
.eyebrow{break-before:page}h1{break-before:avoid}

/* The book print pass (print-book.mjs), 19 Sept 2026. The plain page's own <style> sits after this sheet in the head,
   so at equal weight its screen rules were winning on paper: 18px text, the 34em sheet with its screen padding, the
   cream mat round every picture, the night box of the interlude bleeding past the margin. The same intentions as
   above, said again one step heavier, and only for print. */
@media print{
html .sheet{max-width:none;margin:0;padding:0;background:none;box-shadow:none}
html .prose p,html .interlude p{font-size:11pt;line-height:1.45;orphans:3;widows:3}
html .prose .r-letter,html .prose .r-tape,html .prose .r-dateline,html .prose .r-notes{font-size:9.5pt}
html .prose .r-journal{font-size:13pt}
html .prose figure{width:60%;margin:14pt auto;break-inside:avoid}
html .prose figure img{padding:0;box-shadow:none;background:none;break-inside:avoid}
html .interlude{margin:24pt 0;padding:12pt 0}
html .interlude h2{font-size:22pt}
html .prose h3.r-head,.orn{break-after:avoid}
/* the mail header (gen-emails.mjs) prints, in ink, whole, and never parts from the paragraph it opens */
html .prose .mail{--mail-rule:#111;font-size:9.5pt;margin-top:14pt;break-inside:avoid;break-after:avoid}
html .prose .mail__bar{font-size:8pt}
html .prose .mail__bar,html .prose .mail__k{color:#111}
html .prose p.in-mail{border-left-color:#111}
html .prose p.mail-open{break-before:avoid}
dialog,.plateview{display:none!important}
}

/* 28 Sept 2026, q-n3-egg: "End page and the solids way in". */
@media print{
[data-leaf="setting-out"] .eyebrow{break-before:auto}
[data-leaf="setting-out"] .ring{display:block!important}
[data-leaf="setting-out"] form,[data-leaf="setting-out"] .said,[data-leaf="setting-out"] .onward{display:none!important}
[data-leaf="setting-out"] canvas.row{width:60%;margin:14pt auto;display:block}
}
