/* User Provided Stylesheet */

/* Styles for the mystmd site, loaded through site.options.style in myst.yml. */

/* The links after each statement, written by tools/site_map.py at build time. */
.dep-links {
  font-size: 0.86rem;
  line-height: 1.5;
  color: #4a5560;
  background: #f3f5f8;
  border-left: 3px solid #a9b8c9;
  border-radius: 0 4px 4px 0;
  padding: 0.35rem 0.8rem;
  margin: -0.9rem 0 1.4rem;
}
.dep-links p { margin: 0.15rem 0; }
.dep-links strong { color: #2b3540; font-weight: 600; }
.dark .dep-links { color: #b8c0c8; background: #1e2329; border-left-color: #4b5a6a; }
.dark .dep-links strong { color: #dde3e8; }

/* The flag of a result (latex/tools/status.py): certified by a proof assistant (full
   green), published (light green), only in preprints (orange). The first row of the
   links is the flag, shown as a chip, and the box's edge takes its colour. */
.dep-links.flag-certified { border-left-color: #2e7d32; }
.dep-links.flag-published { border-left-color: #9ccc65; }
.dep-links.flag-preprint { border-left-color: #f57c00; }
.dep-links[class*="flag-"] > p:first-child { display: inline-block; padding: 0 0.5em;
  border-radius: 3px; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.02em;
  margin: 0.15rem 0 0.25rem; }
.dep-links[class*="flag-"] > p:first-child a { color: inherit; text-decoration: none; }
.dep-links.flag-certified > p:first-child { background: #2e7d32; color: #ffffff; }
.dep-links.flag-published > p:first-child { background: #9ccc65; color: #1b3a0e; }
.dep-links.flag-preprint > p:first-child { background: #f57c00; color: #1f1300; }

/* At the top of each Proofs entry: the statements of other entries it proves. */
.dep-links.proved-here { margin: 1rem 0 1.5rem; }

/* The Proofs entries are proofs sections: under the title, a label says so
   (tools/site_map.py), with the same chip as on the LaTeX site. */
.proofs-section { font-size: 0.9rem; color: #4a5560; margin: 0.3rem 0 1rem; }
.proofs-section strong { display: inline-block; padding: 0 0.55em; margin-right: 0.5em;
  border-radius: 3px; background: #5b4a8b; color: #ffffff; font-size: 0.72rem;
  font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.dark .proofs-section { color: #b8c0c8; }

/* Figures (figures/*.svg, drawn by figures/make_figures.py) are dark ink on a
   transparent ground: invert them in dark mode, keeping the hues. */
.enc-figure img { display: block; margin: 0 auto; }
.dark .enc-figure img { filter: invert(.88) hue-rotate(180deg); }

/* The editor's monogram on the front page, and its seal and emblem at the end
   of the front page (images/logicartificialis). mystmd puts the class of the
   list-table on the figure around the table. */
img.la-monogram { display: block; margin: 0.4rem 0 1.2rem !important; }
.la-emblems table { width: auto; margin: 0 auto; }
.la-emblems tr, .la-emblems td { border: none; background: none; }
.la-emblems td { vertical-align: middle; text-align: center; padding: 0.5rem 1rem; }
.la-emblems img { display: block; width: auto; height: auto; max-width: 100%;
  max-height: 200px; margin: 0 auto; border-radius: 4px; }
