/* PDF-specific reading layout; shared Label Studio guide styling is left intact. */
article h3 {
  font-size: 21px;
  line-height: 1.45;
  margin-top: 30px;
  font-weight: 550;
}
article figure img {
  max-height: 850px;
  object-fit: contain;
  background: #e9edeb;
}
article figure a {
  display: block;
}
article h2,
article h3 {
  scroll-margin-top: 100px;
}
@media (max-width: 760px) {
  article figure img {
    max-height: 650px;
  }
  article h3 {
    font-size: 20px;
  }
  .article-toc {
    padding: 14px 16px;
  }
  header nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}
@media print {
  .article-toc {
    display: none;
  }
  article figure img {
    max-height: 150mm;
  }
  article h3 {
    break-after: avoid;
    font-size: 14pt;
  }
}
