/* CV export print styles (UC-PROFILE-009) */

body.cv-preview-body {
  margin: 0;
  padding: 0;
  background: #f3f4f6;
  font-family: Georgia, "Times New Roman", serif;
  color: #111827;
  line-height: 1.45;
}

.cv-document {
  max-width: 210mm;
  margin: 0 auto;
  background: #fff;
  padding: 14mm 16mm;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.cv-section {
  margin-bottom: 1rem;
}

.cv-section-title {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid #d1d5db;
  padding-bottom: 0.25rem;
  margin-bottom: 0.5rem;
}

.cv-header-name {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
}

.cv-header-headline {
  font-size: 1rem;
  color: #374151;
  margin: 0.25rem 0 0;
}

.cv-header-meta {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 0.35rem;
}

.cv-entry {
  margin-bottom: 0.75rem;
}

.cv-entry-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.cv-entry-subtitle,
.cv-entry-dates {
  font-size: 0.85rem;
  color: #4b5563;
}

.cv-entry-body {
  font-size: 0.9rem;
  margin-top: 0.25rem;
  white-space: pre-wrap;
}

.cv-bullets {
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
}

.cv-bullets li {
  margin-bottom: 0.2rem;
}

.cv-skill-tags {
  font-size: 0.82rem;
  color: #4b5563;
  margin-top: 0.2rem;
}

/* Classic template */
.cv-template-classic .cv-section-title {
  color: #111827;
}

/* Modern template */
.cv-template-modern .cv-header-block {
  border-bottom: 2px solid #4f46e5;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
}

.cv-template-modern .cv-modern-body {
  display: grid;
  grid-template-columns: 1fr 32%;
  gap: 1.25rem;
}

.cv-template-modern .cv-sidebar {
  background: #f8fafc;
  border-left: 3px solid #4f46e5;
  padding: 0.75rem;
  align-self: start;
}

.cv-template-modern .cv-section-title {
  color: #4f46e5;
  border-bottom-color: #c7d2fe;
}

/* Compact template */
.cv-template-compact .cv-document {
  padding: 10mm 12mm;
  font-size: 0.88rem;
}

.cv-template-compact .cv-header-name {
  font-size: 1.35rem;
}

.cv-template-compact .cv-section {
  margin-bottom: 0.65rem;
}

.cv-template-compact .cv-section-title {
  font-size: 0.82rem;
  margin-bottom: 0.35rem;
}

.cv-template-compact .cv-entry {
  margin-bottom: 0.45rem;
}

@media print {
  body.cv-preview-body {
    background: #fff;
  }

  .cv-document {
    box-shadow: none;
    max-width: none;
    margin: 0;
    padding: 0;
  }
}
