/* Visible per-chapter version marker, replacing the old plain-prose
   "*Status: ...*" line. Three states, distinguished by border/tag color —
   see compendium/REVIEW.md "Version markers" for what each means. */

.version-marker {
  display: block;
  margin: 0.6em 0 1.6em 0;
  padding: 0.5em 0.8em;
  border-radius: 5px;
  font-size: 0.88em;
  font-style: normal;
  line-height: 1.5;
}

.version-marker .v-tag {
  display: inline-block;
  font-family: var(--mono-font, monospace);
  font-weight: 700;
  padding: 0.12em 0.55em;
  border-radius: 3px;
  margin-right: 0.5em;
  color: #fff;
}

/* final: last finalize pass reviewed and stripped of marks */
.version-marker.final {
  background: rgba(80, 150, 90, 0.10);
  border: 1px solid rgba(80, 150, 90, 0.45);
}
.version-marker.final .v-tag { background: #2f7a3a; }

/* pending: has unreviewed <mark>ed changes since the last finalize */
.version-marker.pending {
  background: rgba(180, 130, 20, 0.10);
  border: 1px solid rgba(180, 130, 20, 0.45);
}
.version-marker.pending .v-tag { background: #a15c00; }

/* draft: no finalize pass has happened yet, no CalVer earned */
.version-marker.draft {
  background: rgba(120, 120, 120, 0.10);
  border: 1px solid rgba(120, 120, 120, 0.45);
}
.version-marker.draft .v-tag { background: #5a5a5a; }
