/* Print styles: plain black on white, no chrome, links spelled out. */
@page { margin: 1.5cm; }

html, body { background: #fff !important; color: #000 !important; }
body { display: block; font-size: 11pt; line-height: 1.5; }
body::before { display: none !important; }

.progress, .skip, .site-header, .site-footer .newsletter, .contact, .to-top,
.cookie, dialog, .faq-controls, .admin-tabs, .copy-btn, .page-search, .notfound-links { display: none !important; }

.print-only { display: block !important; }
.print-brand { margin: 0 0 1rem; padding-bottom: .4rem; border-bottom: 1px solid #000; font-size: 10pt; }

.wrap { max-width: none; padding: 0; }
.site-footer { margin: 1.5rem 0 0; padding: .5rem 0 0; background: none !important; border: 0; border-top: 1px solid #999; box-shadow: none; color: #000; }

.card, .faq-item, .notice, .result-link {
  background: none !important; box-shadow: none !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  border: 1px solid #999 !important; color: #000 !important;
}
.lede, .meta, .hint, .result-snippet { color: #333 !important; }
a { color: #000 !important; text-decoration: underline; }
a[href^="http"]:not(.wordmark)::after { content: " (" attr(href) ")"; font-size: .85em; word-break: break-all; }

h1, h2, summary { break-after: avoid; }
.card, .faq-item, .result-link, pre { break-inside: avoid; }
.faq-item .chev { display: none; }
.faq-item summary { padding: .5rem .75rem; }
.faq-body { padding: 0 .75rem .5rem; }

pre { background: #f3f3f3 !important; color: #000 !important; border: 1px solid #999; white-space: pre-wrap; }
.btn { background: none !important; color: #000 !important; border: 1px solid #000 !important; box-shadow: none !important; }
