/* ---- Print (spec F28a) -----------------------------------------------------------
   Linked with media="print" on the journal, the ratio chart and every grinder
   page. Unlayered, so it wins over site.css's layers on paper. No PDF
   generator: the browser's own print dialog does the work, and every sheet
   carries a small cuptune.com credit. */
html, body { background: #fff !important; color: #000 !important; }
body * { color: #000 !important; background: transparent !important; box-shadow: none !important; }
.site-header, footer, .breadcrumbs, .ad-slot, [data-ad-slot], .install-bar, .page-closing, .faq, button, form, figure, .print-action { display: none !important; }
main { padding: 0 !important; }
main::after { content: "Printed from cuptune.com: free coffee tools, with every number sourced."; display: block; margin-block-start: 8mm; font: 9pt/1.3 system-ui, sans-serif; }
table { border-collapse: collapse; width: 100%; font-size: 10pt; }
th, td { border: 1px solid #000; padding: 1.5mm 2mm; text-align: start; vertical-align: top; }
.table-wrap { overflow: visible !important; }
a { text-decoration: none; }

/* A grinder settings card: the heading, the table and the maker's dial note. */
html[data-route^="grinder-"] main > :not(.page-intro, .reference-table, .table-note) { display: none !important; }

/* The ratio chart poster: the heading and the table, large. */
html[data-route="ratio-chart"] main > :not(.page-intro, #tool) { display: none !important; }
html[data-route="ratio-chart"] table { font-size: 13pt; }
html[data-route="ratio-chart"] h1 { font-size: 26pt; }

/* The journal prints only the blank dial-in sheet, never the visitor's records. */
html[data-route="journal"] main > :not(.dial-in-sheet) { display: none !important; }
html[data-route="journal"] .dial-in-sheet { display: block !important; }
html[data-route="journal"] .dial-in-sheet td { height: 11mm; }
