/* ═══════════════════════════════════════════════════════
   Audit FabLab — Styles d'impression / PDF
   ═══════════════════════════════════════════════════════ */

@media print {

  /* Masquer ce qui ne doit pas s'imprimer */
  .no-print,
  .afl-report__actions,
  .afl-report__cta-upgrade,
  nav, header, footer,
  .site-header, .site-footer,
  #wpadminbar {
    display: none !important;
  }

  /* Reset base */
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }

  body {
    font-size: 11pt;
    color: #000;
    background: #fff;
  }

  .afl-app, .afl-report {
    max-width: 100%;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
  }

  /* En-tête rapport */
  .afl-report__header {
    display: flex;
    border-left-width: 5px;
    border-left-style: solid;
    page-break-inside: avoid;
    padding: 16px;
    margin-bottom: 20px;
  }

  .afl-report__title { font-size: 18pt; }

  /* Sections */
  .afl-report__section { page-break-inside: avoid; }
  .afl-report__section h2 { font-size: 13pt; }

  /* Radar */
  .afl-report__radar-wrap { max-width: 280px; margin: 0 auto; }

  /* Tableau */
  .afl-table th, .afl-table td { padding: 6px 8px; font-size: 10pt; }

  /* Recommandations */
  .afl-reco-item { page-break-inside: avoid; }

  /* Pied de page */
  .afl-report__footer { margin-top: 24px; font-size: 9pt; }

  /* Forcer les couleurs de fond pour badges */
  .afl-badge, .afl-report__score-box, .afl-progress-bar__fill,
  .afl-score-bar__fill, .afl-mini-bar__step--active,
  .afl-reco-item__num, .afl-dim-badge {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
