/* R5-ZD — presentation-only PDF/print styles. */

.analysis-report-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.analysis-report-heading > h2 {
  margin-bottom: 0;
}

.report-pdf-export {
  width: auto;
  min-width: 108px;
  margin: 0;
  padding: 9px 14px;
  white-space: nowrap;
}

.report-pdf-export[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.report-print-document {
  margin: 0;
  background: #ffffff;
  color: #222222;
}

.report-print-shell {
  width: min(100%, 860px);
  margin: 0 auto;
  padding: 28px 34px 42px;
  box-sizing: border-box;
  background: #ffffff;
}

.report-print-snapshot {
  display: block !important;
  min-height: auto !important;
  padding-bottom: 0 !important;
  background: #ffffff !important;
}

.report-print-snapshot .analysis-hero {
  position: static !important;
  margin: 0 0 18px !important;
  padding: 0 0 16px !important;
  border-bottom: 1px solid #ded8cc;
  background: #ffffff !important;
  box-shadow: none !important;
}

.report-print-snapshot .analysis-overview,
.report-print-snapshot .analysis-section,
.report-print-snapshot .analysis-manse-section,
.report-print-snapshot .analysis-report {
  box-shadow: none !important;
  transform: none !important;
}

.report-print-snapshot .analysis-report-heading {
  display: block;
  margin-bottom: 12px;
}

.report-print-snapshot details.report-section {
  display: block !important;
  overflow: visible !important;
  break-inside: avoid-page;
  page-break-inside: avoid;
}

.report-print-snapshot details.report-section > summary {
  list-style: none;
  cursor: default !important;
}

.report-print-snapshot details.report-section > summary::-webkit-details-marker {
  display: none;
}

.report-print-snapshot .report-accent-line,
.report-print-snapshot .summary-chevron,
.report-print-snapshot .accordion-hint,
.report-print-snapshot button,
.report-print-snapshot [data-analysis-related],
.report-print-snapshot [data-analysis-loading],
.report-print-snapshot [data-analysis-loading-note],
.report-print-snapshot [data-report-pdf-export] {
  display: none !important;
}

.report-print-snapshot .section-body {
  display: block !important;
  max-height: none !important;
  overflow: visible !important;
}

.report-print-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 12px;
  border-top: 1px solid #ded8cc;
  color: #6d675f;
  font-size: 11px;
  line-height: 1.5;
}

@media print {
  @page {
    size: A4;
    margin: 14mm 13mm 16mm;
  }

  html,
  body.report-print-document {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .report-print-shell {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .report-print-snapshot .analysis-overview,
  .report-print-snapshot .analysis-manse-section,
  .report-print-snapshot .analysis-report {
    break-inside: auto;
    page-break-inside: auto;
  }

  .report-print-snapshot .report-section,
  .report-print-snapshot .manse-board,
  .report-print-snapshot .analysis-special > * {
    break-inside: avoid-page;
    page-break-inside: avoid;
  }

  .report-print-footer {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}
