/* Pioneer biography — audit-trail refcode visibility */

/* Default: hide the refcode metadata from public readers.
   Each refcode is wrapped (during pandoc conversion) as
   <span class="refcode">; refcode <code>GC 317.1</code></span>
   so the entire trailing fragment — including the leading
   semicolon and the literal word 'refcode' — disappears
   when this rule applies. */
.single-pioneer .refcode { display: none; }

/* Audit mode (URL param ?audit=1, set as body class via the
   functions.php hook) reveals the refcodes in a muted color
   so the prose still reads cleanly while every quote is
   instantly auditable. */
.single-pioneer.audit-mode .refcode {
  display: inline;
  color: #888;
  font-size: 0.9em;
}
.single-pioneer.audit-mode .refcode code {
  color: #446;
  background: #f4f4f4;
  padding: 0 4px;
  border-radius: 2px;
  font-size: 0.95em;
}
