/* ═══════════════════════════════════════════════════════════════
   faq-print.css — LiquidPixels FAQ PDF export
   ═══════════════════════════════════════════════════════════════ */

@page {
  size: A4 portrait;
  margin: 16mm 18mm 16mm 18mm;
}

/* ── Screen: frame completely hidden ── */
@media screen {
  #faqPrintFrame {
    display: none !important;
  }
}

/* ── Print: hide all direct body children except the frame ── */
@media print {
  html, body {
    background: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body > *:not(#faqPrintFrame) {
    display: none !important;
  }

  #faqPrintFrame {
    display: block !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .pf-doc {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 10.5pt;
    color: #0e0e0c;
    background: #fff;
    width: 100%;
  }

  .pf-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 10pt;
    border-bottom: 1.5pt solid #0c1f3d;
    margin-bottom: 16pt;
    page-break-after: avoid;
  }

  .pf-header img { height: 26pt; width: auto; display: block; }

  .pf-logo-link { display: block; text-decoration: none; line-height: 0; }

  .pf-header-meta {
    text-align: right;
    font-size: 7.5pt;
    color: #68685e;
    line-height: 1.6;
  }

  .pf-title {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 17pt;
    font-weight: 400;
    color: #0c1f3d;
    margin: 0 0 4pt;
    line-height: 1.1;
    page-break-after: avoid;
  }

  .pf-subtitle {
    font-size: 8.5pt;
    color: #68685e;
    margin: 0 0 20pt;
    line-height: 1.5;
  }

  .pf-group {
    margin-top: 16pt;
    padding-bottom: 5pt;
    border-bottom: 0.75pt solid #dddad0;
    page-break-after: avoid;
  }

  .pf-group:first-of-type { margin-top: 0; }

  .pf-group-label {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 7pt;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #b45309;
  }

  .pf-item {
    margin-top: 12pt;
    page-break-inside: avoid;
  }

  .pf-question {
    font-size: 10.5pt;
    font-weight: 600;
    color: #0e0e0c;
    margin: 0 0 4pt;
    line-height: 1.3;
  }

  .pf-answer {
    font-size: 9.5pt;
    color: #46463f;
    line-height: 1.65;
  }

  .pf-answer p { margin: 0 0 5pt; }
  .pf-answer p:last-child { margin-bottom: 0; }

  .pf-ai-badge {
    display: inline-block;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 6.5pt;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #6d28d9;
    border: 0.75pt solid rgba(109,40,217,.35);
    border-radius: 2pt;
    padding: 1.5pt 5pt;
    margin-bottom: 4pt;
  }

  .pf-footer {
    margin-top: 20pt;
    padding-top: 8pt;
    border-top: 0.75pt solid #dddad0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 7pt;
    color: #8c8c80;
    page-break-inside: avoid;
  }

  .pf-footer a {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 8pt;
    font-weight: 500;
    color: #fff;
    background: #0c1f3d;
    text-decoration: none;
    padding: 4pt 10pt;
    border-radius: 3pt;
    letter-spacing: -0.01em;--amber:#f59e0b;}
}
