/*
 * Legal document pages (privacy-policy, terms, accessibility).
 * Loaded via page_css on top of the global app.css.
 */

/* Anchored sections land clear of the 68px sticky header. */
.page-legal section[id] {
  scroll-margin-top: 92px;
}

/* Print: the document reads as one clean column — the table of contents
   (in-page links) and its sticky positioning serve no purpose on paper,
   and section headings stay with the copy they introduce. */
@media print {
  .page-legal [data-toc] {
    display: none !important;
  }
  .page-legal section[id] h2 {
    break-after: avoid;
  }
  .page-legal section[id] li {
    break-inside: avoid;
  }
}
