/* A copy of the report on paper, or the PDF's hidden copy (html.pdf-mode): the whole page, top to bottom,
   without its controls (public/reports-export.js draws every section first, in a light theme) */
.rp-export { display: inline-flex; gap: 6px; flex: none; }
.rp-export .btn { padding: 4px 10px; font-size: 12px; color: var(--text); cursor: pointer; }
.rp-export .btn:disabled { opacity: .6; cursor: progress; }
.rp-veil { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: color-mix(in srgb, var(--bg-solid, var(--bg)) 82%, transparent); color: var(--text); font-size: 15px; font-weight: 600; }
html.pdf-mode .report-nav, html.pdf-mode .rp-export, html.pdf-mode .tool-btn, html.pdf-mode button.more, html.pdf-mode #coin-more, html.pdf-mode .col-menu,
html.pdf-mode .rx-sum-tools, html.pdf-mode .scope-switch button:not(.on), html.pdf-mode #coin-search, html.pdf-mode .drill { display: none !important; }
html.pdf-mode .rx-section { content-visibility: visible !important; }
html.pdf-mode .report-section { min-height: 0 !important; }
html.pdf-mode #coin-table tr.far { visibility: visible !important; }
html.pdf-mode .table-scroll, html.pdf-mode .rx-scroll, html.pdf-mode .list.open { overflow: visible !important; max-height: none !important; }
@media (max-width: 640px) { .rp-export .btn { padding: 4px 7px; } }

@media print {
  @page { margin: 12mm; }
  html { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  html, body { height: auto !important; overflow: visible !important; }
  body { display: block !important; }
  .report-page { overflow: visible !important; height: auto !important; padding: 0 !important; }
  .report-section { min-height: 0 !important; }
  .rx-section { content-visibility: visible !important; }
  header.bar { position: static !important; }
  .report-nav, .rp-export, .tabs, .drill, .bg-wrap, .bg-credit, .tool-btn, button.more, #coin-more, .col-menu, .rx-sum-tools,
  .scope-switch button:not(.on), #coin-search { display: none !important; }
  .report-card, .mini-cards > *, .report-cards > *, .report-context, tr, .chart { break-inside: avoid; }
  h2, h3, .section-head, .card-heading { break-after: avoid; }
  #coin-table tr.far { visibility: visible !important; }
  /* (scroll boxes show everything: a page doesn't scroll) */
  .table-scroll, .rx-scroll, .list.open { overflow: visible !important; max-height: none !important; }
  .report-table th:first-child, .report-table td:first-child, .heat-grid thead th, .heat-grid tbody th { position: static !important; }
}
