/* Export buttons and a clean printed report (PDF). */
.nex-csv-btn{display:inline-block;margin:6px 0 6px auto;padding:4px 10px;font-size:12px}
.nex-export-btn{white-space:nowrap}
@media print{
  @page{margin:14mm 12mm}
  .nex-csv-btn,.nex-export-btn,.nexp-tabs{display:none!important}
  /* Long tables may run across pages; short cards stay whole. */
  .card:has(table),section:has(table){break-inside:auto}
  tr,img,svg{break-inside:avoid}
  thead{display:table-header-group}
  .table-wrap,.nexg-table,.nexs-table{overflow:visible!important;max-height:none!important}
  a{color:inherit;text-decoration:none}
  .content section[data-nexr-part]{display:block!important}
  .page-head{border-bottom:1px solid #ccc;margin-bottom:12px;padding-bottom:8px}
}
