/* Self-hosted label font for neat-annotations.css (Shantell Sans, SIL OFL —
   see shantell-sans-OFL.txt next to the font).
   Latin subset only — covers æøå. Browsers only fetch it when a label renders. */
@font-face {
  font-family: 'Shantell Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/shantell-sans-latin-400-85a0b49c.woff2") format("woff2");
}

/* Arrows and labels don't reserve space, so they land on the neighbouring line
   mid-paragraph. A vertical margin on the inline-block target grows only its own
   line box, making room without loosening the rest of the paragraph. */
.ann-n, .ann-ne, .ann-nw { margin-bottom: 3.5rem; }
.ann-s, .ann-se, .ann-sw { margin-top: 3.5rem; }

/* Sideways labels hang off the end of the line and overflow narrow screens,
   where line breaks are unpredictable. Fall back to a plain highlight there. */
@media (max-width: 639px) {
  .ann-e::before, .ann-e::after,
  .ann-w::before, .ann-w::after { display: none; }
}
