/* Handleiding */
.manual { max-width: 1120px; }
.manual-hero { align-items: flex-end; display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; margin-bottom: 26px; }
.manual-hero h1 { margin: 4px 0 6px; }
.manual-hero p { color: var(--muted); margin: 0; max-width: 640px; }
.manual-layout { align-items: start; display: grid; gap: 32px; grid-template-columns: 230px minmax(0, 1fr); }
.manual-toc { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; position: sticky; top: 18px; }
.manual-toc strong { display: block; font-size: 12px; letter-spacing: .06em; margin-bottom: 8px; text-transform: uppercase; color: var(--muted); }
.manual-toc ol { counter-reset: toc; display: grid; gap: 2px; list-style: none; margin: 0; padding: 0; }
.manual-toc li { counter-increment: toc; }
.manual-toc a { border-radius: 6px; color: var(--ink); display: flex; font-size: 14px; gap: 8px; padding: 6px 8px; }
.manual-toc a::before { color: var(--muted); content: counter(toc, decimal-leading-zero); font-size: 11px; font-weight: 800; padding-top: 2px; }
.manual-toc a:hover { background: #eef3f1; text-decoration: none; }
.manual-content { min-width: 0; }
.manual-chapter { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 22px; padding: 26px 28px; scroll-margin-top: 16px; }
.manual-chapter > h2 { align-items: center; display: flex; font-size: 22px; gap: 10px; margin: 0 0 12px; }
.manual-chapter > h2 .chapter-num { align-items: center; background: #176b55; border-radius: 9px; color: #fff; display: inline-flex; flex: none; font-size: 13px; height: 30px; justify-content: center; width: 30px; }
.manual-chapter h3 { font-size: 16px; margin: 22px 0 8px; }
.manual-chapter p, .manual-chapter li { line-height: 1.6; }
.manual-chapter p { margin: 0 0 10px; }
.manual-steps { counter-reset: step; display: grid; gap: 10px; list-style: none; margin: 8px 0 14px; padding: 0; }
.manual-steps > li { counter-increment: step; padding-left: 38px; position: relative; }
.manual-steps > li::before { align-items: center; background: #e3f1ea; border-radius: 50%; color: #0b4638; content: counter(step); display: flex; font-size: 13px; font-weight: 800; height: 26px; justify-content: center; left: 0; position: absolute; top: 0; width: 26px; }
.manual-figure { background: linear-gradient(180deg, #eef4f0, #f7f9f8); border: 1px solid #dbe7e1; border-radius: 14px; margin: 16px 0 18px; padding: 22px 18px 16px; }
.manual-phones { display: flex; flex-wrap: wrap; gap: 26px; justify-content: center; }
.manual-phones .phone { flex: 0 0 200px; margin: 0; width: 200px; }
.manual-figure figcaption { color: var(--muted); font-size: 13px; margin-top: 14px; text-align: center; }
.manual-phone-label { color: #0b4638; display: block; font-size: 12px; font-weight: 800; margin-top: 10px; text-align: center; }
.manual-phones > div { display: grid; justify-items: center; }
.ui-chip { align-items: center; background: #176b55; border-radius: 6px; color: #fff; display: inline-flex; font-size: 13px; font-weight: 750; gap: 5px; padding: 2px 8px; vertical-align: 1px; white-space: nowrap; }
.ui-chip.secondary { background: #344054; }
.ui-chip.light { background: #eef3f1; color: #0b4638; }
.ui-chip .icon { height: 13px; width: 13px; }
.manual-tip { background: #fff8e8; border: 1px solid #f1dcae; border-radius: 10px; margin: 12px 0; padding: 11px 14px; }
.manual-tip strong { color: #8a5a00; }
.manual-note { background: #eef3f1; border-radius: 10px; margin: 12px 0; padding: 11px 14px; }
.manual-columns { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.manual-columns > div { border: 1px solid var(--line); border-radius: 12px; padding: 4px 16px 10px; }
.manual-faq dt { font-weight: 800; margin-top: 14px; }
.manual-faq dd { color: var(--ink); margin: 4px 0 0; }
@media (max-width: 900px) {
  .manual-layout { grid-template-columns: 1fr; }
  .manual-toc { position: static; }
  .manual-columns { grid-template-columns: 1fr; }
  .manual-chapter { padding: 20px 18px; }
}

/* Afdrukken / opslaan als PDF: alleen de handleiding, zonder menu's. */
@media print {
  @page { margin: 16mm 14mm; }
  .app-sidebar, .app-topbar, .messages, .manual-actions, .site-footer, footer, .install-card { display: none !important; }
  .app-body, .app-main, main { background: #fff !important; display: block !important; margin: 0 !important; padding: 0 !important; }
  .manual-layout { display: block; }
  .manual-toc { border: 0; padding: 0; position: static; margin-bottom: 18px; }
  .manual-chapter { border: 0; border-radius: 0; break-inside: auto; padding: 0 0 12px; page-break-before: always; }
  .manual-chapter:first-child { page-break-before: auto; }
  .manual-figure, .manual-tip, .manual-note { break-inside: avoid; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .phone, .ui-chip, .chapter-num, .manual-steps > li::before { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .tap-ring, .app-icon.civita img { animation: none !important; }
  /* Schaduwen en vervaging worden in PDF's soms als grijze blokken weergegeven. */
  .manual-figure *, .manual-figure { box-shadow: none !important; backdrop-filter: none !important; filter: none !important; }
  .tap-ring { display: none !important; }
  .home-dock { background: rgba(255, 255, 255, .28) !important; }
  .push-card { background: #f4f6f5 !important; }
  .app-icon.civita img { border: 2px solid #fff; transform: none !important; }
  a { color: inherit; text-decoration: none; }
}
