/* The progress rail: enough to say where you are, not a table of contents. */
.stage-rail .stage-pip {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .82rem;
  line-height: 1.4;
  text-decoration: none;
  border: 1px solid transparent;
}
.stage-rail .stage-done {
  background: rgba(25, 135, 84, .12);
  border-color: rgba(25, 135, 84, .35);
  color: #198754;
}
.stage-rail .stage-current {
  background: #0d6efd;
  border-color: #0d6efd;
  color: #fff;
  font-weight: 600;
}
/* a stage they have not reached is a mark, not a link: there is nothing behind it */
.stage-rail .stage-upcoming {
  color: #adb5bd;
  border-color: #dee2e6;
  cursor: default;
}
.stage-rail .stage-sep {
  width: 14px;
  height: 1px;
  background: #dee2e6;
}

/* The page content is the primary element, so give it room to read. */
.fancy-content {
  font-size: 1.02rem;
  line-height: 1.7;
}
.fancy-content > :first-child { margin-top: 0; }
.fancy-content > :last-child { margin-bottom: 0; }
.fancy-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
  margin: 18px 0;
}
.fancy-content h2 { font-size: 1.35rem; margin: 26px 0 10px; }
.fancy-content h3 { font-size: 1.15rem; margin: 22px 0 8px; }
.fancy-content blockquote {
  margin: 18px 0;
  padding: 4px 0 4px 14px;
  border-left: 3px solid #0d6efd;
  color: #6c757d;
}
.fancy-content pre {
  background: #f6f8fa;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 12px 14px;
  overflow-x: auto;
}
.fancy-content table { border-collapse: collapse; width: 100%; margin: 18px 0; }
.fancy-content th, .fancy-content td { border: 1px solid #dee2e6; padding: 6px 9px; }
.fancy-content .align-center { text-align: center; }
.fancy-content img.align-center { margin-left: auto; margin-right: auto; }
.fancy-content img.align-right { margin-left: auto; margin-right: 0; }
.fancy-content img.float-left { float: left; margin: 6px 22px 12px 0; }
.fancy-content img.float-right { float: right; margin: 6px 0 12px 22px; }
/* or a float near the end of the page runs on past the card */
.fancy-content::after { content: ""; display: block; clear: both; }
