/* ============================================================
   Print Report Styles — Athena CRM
   Screen: noir copper themed report page
   Print:  clean black-on-white, no nav, no background effects
   ============================================================ */

/* ─── Screen styles ─── */

.print-report-body {
  background: var(--bg0);
  margin: 0;
  font-family: var(--font);
  color: var(--text);
}

.print-report-body::before,
.print-report-body .grid {
  display: none !important;
}

.print-toolbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 6, 7, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 12px 32px;
}

.print-toolbar-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.print-report-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 32px 60px;
}

.report-page {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow);
}

/* ─── Header ─── */

.report-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.report-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.report-logo {
  height: 28px;
  width: auto;
}

.report-subtitle {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
}

.report-date {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

/* ─── Divider ─── */

.report-divider {
  height: 1px;
  background: var(--line);
  margin: 28px 0;
}

/* ─── Section titles ─── */

.report-section {
  break-inside: avoid;
}

.report-member-name {
  font-family: var(--headline);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 4px;
}

.report-member-sub {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 24px;
}

.report-section-title {
  font-family: var(--headline);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}

/* ─── Profile grid ─── */

.report-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
}

.report-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.report-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.report-value {
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
  word-break: break-word;
}

/* ─── Response list (Q&A) ─── */

.report-response-list {
  margin: 0;
  padding: 0;
}

.report-response-item {
  margin-bottom: 16px;
  break-inside: avoid;
}

.report-response-item:last-child {
  margin-bottom: 0;
}

.report-response-list dt {
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 4px;
}

.report-response-list dd {
  margin: 0;
  font-size: 14px;
  color: var(--text);
  line-height: 1.65;
}

/* ─── Empty state ─── */

.report-empty {
  font-size: 15px;
  color: var(--muted);
  font-style: italic;
}

/* ─── Footer ─── */

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

.report-footer p {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 0;
}

.report-footer-sub {
  font-size: 11px;
  opacity: 0.6;
}

/* ============================================================
   Print media — clean black-on-white PDF
   ============================================================ */

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

  html, body, .print-report-body {
    background: #fff !important;
    color: #1a1a1a !important;
    font-size: 12pt;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .print-report-main {
    max-width: 100%;
    padding: 0;
    margin: 0;
  }

  .report-page {
    background: #fff !important;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
  }

  .report-header {
    margin-bottom: 8px;
  }

  .report-logo {
    filter: brightness(0);
    height: 22px;
  }

  .report-subtitle,
  .report-date {
    color: #666 !important;
  }

  .report-divider {
    background: #ccc !important;
    margin: 20px 0;
  }

  .report-member-name {
    color: #1a1a1a !important;
    font-size: 22pt;
  }

  .report-member-sub {
    color: #555 !important;
  }

  .report-section-title {
    color: #8b5e2f !important;
    font-size: 14pt;
  }

  .report-label,
  .report-response-list dt {
    color: #666 !important;
  }

  .report-value,
  .report-response-list dd {
    color: #1a1a1a !important;
  }

  .report-footer p {
    color: #999 !important;
  }

  .report-section {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .report-response-item {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .report-profile-grid {
    gap: 12px 24px;
  }

  a {
    color: #1a1a1a !important;
    text-decoration: none !important;
  }
}
