/* Printing a lesson or a grammar page (also "Save as PDF" in the print window).
   Loaded only for print. Hides everything you cannot use on paper. */
@page { margin: 16mm 14mm; }
html, body { background: #fff !important; color: #000 !important; font-size: 12pt; }
.topbar, .footer, .to-top, .read-progress, .site-messages, .print-btn, .crumb, .g-crumbs, .g-toc,
.play, .play-btn, .pager, .finish, #finish, #scene, #practice-card, .practice, .course-pill,
iframe, audio, video, form, button, .voice-speed, .speed, .acc-nudge { display: none !important; }
.page { max-width: none !important; padding: 0 !important; margin: 0 !important; }
.reading, .stack, .g-article { max-width: none !important; width: 100% !important; }
.card { box-shadow: none !important; border: 1px solid #ccc !important; background: #fff !important; break-inside: auto; }
.card-header { border-bottom: 1px solid #ccc !important; }
h1, h2, h3, .card-title, .section-heading { color: #000 !important; break-after: avoid; }
table { width: 100% !important; border-collapse: collapse; }
th, td { border: 1px solid #bbb !important; padding: 4pt 6pt !important; color: #000 !important; background: #fff !important; }
tr, .rule, .say, .vso-example, blockquote { break-inside: avoid; }
a { color: #000 !important; text-decoration: none !important; }
.table-wrap, .scroll-x { overflow: visible !important; }
* { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
/* A small line at the end so a printed page says where it came from. */
main.page::after { content: "LearnFilipinoOnline.com. For personal study only."; display: block; margin-top: 14pt; padding-top: 6pt; border-top: 1px solid #ccc; font-size: 9pt; color: #555; }

/* Lesson outline: paper shows every item of the lesson, not only the one on screen. */
.ol-side, .ol-bar, .ol-expect { display: none !important; }
.ol-layout { display: block !important; }
#finish, #scene, #practice-card, .pager, .practice { display: none !important; }
.stack { display: block !important; }
.stack > .card { margin-bottom: 12pt; }
