@media print{.sidebar,.sidebar-overlay,.sidebar-toggle,[data-theme-toggle],.breadcrumbs,.site-footer-links,.blog-nav,.related{display:none!important}html,body{background:#fff!important;color:#000!important}.main-content{max-width:none;margin:0;padding:0}a[href^=http]::after{content:" (" attr(href)")";font-size:.85em;word-break:break-all}h1,h2,h3,h4{break-after:avoid}pre,figure,table,blockquote{break-inside:avoid}pre{white-space:pre-wrap;border:1px solid #ccc}img{max-width:100%!important}}