/* Legal pages (algemene voorwaarden, verwerkersovereenkomst, subverwerkers, privacy).
   Generated from docs/legal in the app repo by tools/build-legal.mjs. Screen layout plus a print
   stylesheet, so a visitor can keep the exact version as a pdf. */
.legal { max-width: 780px; }
.legal h1 { margin-bottom: 8px; }
.legal h3 { font-size: 1.15rem; margin: 26px 0 8px; }
.legal-version { color: var(--muted); font-size: 1rem; margin: 0 0 14px; }
.legal-version strong { color: var(--ink); }
.legal-actions { margin: 0 0 28px; }
.legal-toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 20px; margin: 0 0 32px; }
.legal-toc-title { font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.legal-toc ol { margin: 0; padding-left: 22px; columns: 2 260px; column-gap: 28px; }
.legal-toc li { break-inside: avoid; }
.legal-toc li + li { margin-top: 4px; }
.legal-toc a { font-weight: 500; }
.legal p.art { margin-top: 10px; }
.legal ul + p, .legal ol + p, .legal .table-wrap + p { margin-top: 12px; }
.legal p.art.sub { padding-left: 22px; }
.legal .art-nr { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; margin-right: 4px; }
.legal ol { padding-left: 22px; margin: 10px 0 0; }
.legal ol li + li { margin-top: 6px; }
.legal h2 { scroll-margin-top: 90px; }
.legal .compare.cols-2 { min-width: 0; }
.legal .compare.cols-3 { min-width: 520px; }
.legal .compare tbody th { width: auto; min-width: 9em; }
.legal .meet-status:empty { display: none; }
.legal .meet-status { font-style: italic; }
.legal-print-id { display: none; }

@media print {
  @page { margin: 16mm 16mm 18mm; }
  html, body { background: #fff !important; color: #000; font-size: 10.5pt; }
  .site-header, .site-footer, .skip-link, .cookie-banner, .legal-actions, .legal-toc, .meet-status { display: none !important; }
  main.container { max-width: none; padding: 0; }
  .legal { max-width: none; padding: 0; }
  .legal h1 { font-size: 20pt; }
  .legal h2 { font-size: 13pt; margin: 16pt 0 4pt; break-after: avoid; }
  .legal h3 { font-size: 11pt; margin: 10pt 0 3pt; break-after: avoid; }
  .legal p, .legal li { color: #000; orphans: 3; widows: 3; }
  .legal a { color: #000; font-weight: 400; text-decoration: none; }
  .legal a[href^="/"]:not([href="/"])::after { content: " (tikmaat.nl" attr(href) ")"; font-size: 0.9em; }
  .legal a[href^="#"]::after, .legal a.url[href^="/"]:not([href="/"])::after { content: ""; }
  .table-wrap { overflow: visible; margin: 6pt 0; }
  .legal .compare, .legal .compare.cols-3 { min-width: 0; font-size: 8.5pt; border-radius: 0; }
  .legal .compare th, .legal .compare td { padding: 4pt 5pt; }
  .legal .compare thead th { background: #eee !important; color: #000; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .legal .compare tr { break-inside: avoid; }
  .legal-print-id { display: block; margin-top: 18pt; padding-top: 6pt; border-top: 1px solid #999; font-size: 8.5pt; color: #333; }
}

/* Phones: a long title such as "Verwerkersovereenkomst" must not widen the page. */
.legal h1 { overflow-wrap: break-word; }
@media (max-width: 640px) { .legal h1 { font-size: clamp(1.6rem, 8vw, 2.2rem); } }
