.report-document {
  color: #111827;
}

.print-only {
  display: none;
}

.report-header {
  text-align: left;
  margin-bottom: 2rem;
}

.report-logo {
  display: none;
  margin: 0;
  width: 14rem;
  height: auto;
}

.report-title {
  margin-top: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #1f4e79;
}

.report-meta {
  font-size: 0.875rem;
  color: #374151;
}

.report-section {
  margin-top: 2rem;
  break-inside: avoid;
}

.report-section-title {
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #111827;
  break-after: avoid;
}

.report-note {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: #374151;
}

.report-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  border: 1px solid #111827;
}

.report-table th,
.report-table td {
  padding: 0.5rem 0.75rem;
  border: 1px solid #111827;
  text-align: left;
  vertical-align: middle;
}

.report-table th {
  background: #1f4e79;
  color: #fff;
  font-weight: 600;
}

.report-table .num {
  text-align: right;
  white-space: nowrap;
}

.report-table .text-center {
  text-align: center;
}

.report-table tr {
  break-inside: avoid;
}

.report-figures td {
  background: #dbe9f5;
  font-size: 1rem;
  font-weight: 700;
}

.report-table .report-total td {
  background: #f2f2f2;
  font-weight: 700;
}

.report-chart-box {
  border: 1px solid #111827;
  padding: 0.75rem;
}

.report-download {
  position: relative;
}

.report-download > summary {
  list-style: none;
}

.report-download > summary::-webkit-details-marker {
  display: none;
}

@media print {
  @page {
    size: A4;
    margin: 12mm;
  }

  body:has(.printable-page) #navbar-sidebar,
  body:has(.printable-page) #navbar-topbar,
  body:has(.printable-page) > .overlay,
  body:has(.printable-page) .main-container > footer,
  .print-hidden {
    display: none !important;
  }

  html:has(.printable-page),
  body:has(.printable-page),
  body:has(.printable-page) .main-container {
    display: block !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-width: none !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    background: white !important;
    color: black !important;
  }

  .printable-page,
  .printable-page > section {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .print-only {
    display: block;
  }

  .report-header {
    text-align: center;
  }

  .report-logo {
    display: block;
    margin: 0 auto;
  }

  .report-document {
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
  }

  .report-section h2 {
    break-after: avoid;
  }

  .report-section > table,
  .report-section > .report-chart-box {
    break-inside: avoid;
  }

  .printable-page a[href]::after {
    content: none !important;
  }
}
