/* Manuales de instalación / guía comprador — diagramas de trazo */
:root {
  --vf-green-dark: #0d3320;
  --vf-green: #1a5f3c;
  --vf-green-soft: #e8f5ee;
}

body.vf-manual-page {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: #f8faf8;
  color: #1a1a1a;
}

.vf-hero {
  background: linear-gradient(135deg, var(--vf-green) 0%, var(--vf-green-dark) 100%);
  color: #fff;
  padding: 1.25rem 0;
  border-bottom: 4px solid rgba(255, 255, 255, 0.15);
}

.vf-hero .brand-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.vf-content h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
  border-bottom: 2px solid var(--vf-green);
  padding-bottom: 0.35rem;
  color: var(--vf-green-dark);
}

.vf-content h3 {
  font-size: 1.1rem;
  margin-top: 1.25rem;
  color: #333;
}

.vf-toc {
  position: sticky;
  top: 1rem;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
}

.vf-diagram {
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 1rem auto;
  color: var(--vf-green);
  background: var(--vf-green-soft);
  border-radius: 1rem;
  padding: 0.75rem;
}

.vf-diagram svg {
  display: block;
  width: 100%;
  height: auto;
}

.vf-diagram .vf-d-stroke {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vf-diagram .vf-d-fill {
  fill: #fff;
  stroke: currentColor;
  stroke-width: 2;
}

.vf-diagram .vf-d-label {
  fill: var(--vf-green-dark);
  font-family: system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
}

.vf-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--vf-green);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  margin-right: 0.35rem;
}

.vf-manual-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media print {
  .vf-toc,
  .vf-manual-actions,
  .vf-hero a.btn,
  .no-print {
    display: none !important;
  }
  .vf-hero {
    background: #fff !important;
    color: #000 !important;
    border-bottom: 2px solid #000;
  }
  body.vf-manual-page {
    background: #fff;
  }
  .vf-diagram {
    background: #fff;
    border: 1px solid #ccc;
  }
}
