/* ─── Print styles for PDF report ─── */
@media print {
  @page {
    margin: 15mm 12mm;
    size: A4;
  }

  /* Hide everything except the report */
  nav, .mobile-tab-bar, footer, button,
  #root > div > nav,
  [class*="mobile-tab"],
  [onclick] {
    display: none !important;
  }

  /* Show report-only sections */
  .print-only {
    display: block !important;
  }

  .no-print {
    display: none !important;
  }

  body {
    background: #fff !important;
    color: #1a1a1a !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 10pt;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .card-fascial {
    background: #fff !important;
    border: 1px solid #ddd !important;
    break-inside: avoid;
    box-shadow: none !important;
  }

  .card-fascial::after { display: none !important; }

  h1, h2, h3 {
    color: #1a1a1a !important;
    font-family: 'EB Garamond', serif !important;
  }

  table {
    border-collapse: collapse;
    width: 100%;
  }

  th {
    text-align: left;
    border-bottom: 2px solid #333;
    padding: 6px 8px;
    font-size: 8pt;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  td {
    border-bottom: 1px solid #eee;
    padding: 6px 8px;
    font-size: 9pt;
  }

  .report-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #c97a20;
    padding-bottom: 12px;
    margin-bottom: 20px;
  }

  .report-header h1 {
    font-family: 'EB Garamond', serif !important;
    font-size: 20pt;
    color: #c97a20 !important;
    margin: 0;
  }

  .report-header .date {
    font-family: 'GeistMono', monospace;
    font-size: 8pt;
    color: #666;
  }

  .report-section {
    margin-bottom: 16px;
  }

  .report-section h2 {
    font-size: 14pt;
    border-bottom: 1px solid #eee;
    padding-bottom: 4px;
    margin-bottom: 10px;
  }

  .report-stat {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 9pt;
  }

  .report-stat .label {
    color: #666;
    font-family: 'GeistMono', monospace;
    font-size: 8pt;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .report-stat .value {
    font-family: 'GeistMono', monospace;
    font-weight: 400;
  }

  .report-footer {
    margin-top: 24px;
    padding-top: 12px;
    border-top: 1px solid #eee;
    text-align: center;
    font-size: 7pt;
    color: #999;
    font-family: 'GeistMono', monospace;
  }

  .badge-green { color: #16a34a; }
  .badge-amber { color: #c97a20; }
  .badge-red { color: #dc2626; }
}
