/* print.css — clean printout of any calculator. */

@media print {
  header, footer, .site-nav, .site-header, .site-footer,
  .frh-cookie, .ad-slot,
  .btn, .btn--icon-circle,
  .marquee, .related-calcs,
  .site-drawer, .site-drawer-overlay {
    display: none !important;
  }
  /* Sources + FAQ live in <details>; the JS beforeprint handler opens
     them. Render the <summary> as a normal heading instead of a disclosure
     widget so it reads as a section title in the printout. */
  details.sources-block,
  details.faq__item { page-break-inside: avoid; }
  details.sources-block > summary,
  details.faq__item    > summary {
    list-style: none;
    cursor: default;
    font-weight: 600;
  }
  details.sources-block > summary::-webkit-details-marker,
  details.faq__item    > summary::-webkit-details-marker { display: none; }
  .card, .calculator__panel, .calculator__inputs, .calculator__result {
    box-shadow: none !important;
    border: 2px solid #000 !important;
    page-break-inside: avoid;
  }
  body {
    background: #FFF !important;
    color: #000 !important;
    font-size: 12pt;
    line-height: 1.4;
  }
  h1 { font-size: 24pt; }
  h2 { font-size: 18pt; }
  h3 { font-size: 14pt; }
  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #555;
  }
  a[href^="#"]::after,
  a[href^="javascript:"]::after { content: ""; }
  .calculator__result-number { color: #000 !important; }
}
