/* Project classes that are not Tailwind.
 *
 * tailwind.min.css is a hand-curated subset of real Tailwind output; it is
 * not edited by hand and holds only genuine Tailwind utility classes. Every
 * class this project invents itself belongs here instead, so that
 * "is this class defined anywhere?" has exactly two files to look in --
 * which is what tests/js/tailwind-classes.test.js checks on every run.
 *
 * Loaded sitewide from templates/_eikhart/_layout.twig, next to Tailwind.
 */

/* ── Moved out of _layout.twig's inline <style> ─────────────────────────
   Same rules, same effect; they were inline only because there was no
   shared file for them to live in. */

/* Alpine hides x-cloak elements until it has initialised. */
[x-cloak] { display: none !important; }

/* Not in this Tailwind subset, and used across many templates. */
.whitespace-nowrap { white-space: nowrap; }

/* Footnote markers in article content (verbb/footnotes output). The rule
   used to read "sup.footnote a"; the class only ever appears on a <sup>, so
   the tag qualifier said nothing the class did not already say. */
.footnote a { color: #3b82f6; text-decoration: none; padding: 0 2px; margin-left: 1px; background: #eff6ff; border-radius: 2px; }
.footnote a:hover { text-decoration: underline; }

#content { overflow-wrap: break-word; word-break: break-word; }

/* ── JavaScript hooks ───────────────────────────────────────────────────
   These carry no styling on purpose: they exist so JS can find an element
   (querySelector/closest). They are declared here rather than left
   undefined so that every class in the markup resolves to something a
   reader -- and the class checker -- can find. Removing one breaks
   behaviour, not appearance.

   .gap-results-section   report.twig      runGapFor() scroll target
   .share-panel           article.twig     share panel container
   .share-url-input       article.twig     copy-to-clipboard input
   .copy-success-msg      article.twig     copy-to-clipboard confirmation
   .toc-link              article.twig     table-of-contents links */
.gap-results-section,
.share-panel,
.share-url-input,
.copy-success-msg,
.toc-link { /* hook only */ }
