/* Quote text */
.reference-text .cite-quote {
  color: #666;
  font-style: italic;
}

.reference-text .cite-quote::before {
  content: "“";
}

.reference-text .cite-quote::after {
  content: "”";
}

/* Evidence and source labels (base) */
.reference-text .cite-evidence,
.reference-text .cite-source {
  padding: 0.15em 0.4em;
  margin: 0 0.5em 0.5em 0.5em;
  white-space: nowrap;
  font-size: 90%;
}

/* Shared badge styling */
.reference-text .cite-exp,
.reference-text .cite-obs,
.reference-text .cite-rev,
.reference-text .cite-gen {
  box-shadow: 0 1px 2px #0003;
  border-radius: 5px;
  padding: 0.15em 0.4em;
  white-space: nowrap;
  font-size: 90%;
}

/* Badge colors */
.reference-text .cite-exp {
  background: #ffeadb;
}

.reference-text .cite-rev {
  background: #e4ffdd;
}

.reference-text .cite-obs {
  background: #f3e6ff;
}

.reference-text .cite-gen {
  background: #d8f9ff;
}

/* Image quotes */
.reference-text .cite-quote-image {
  display: block;
  margin: 0.2em 0;
}

.reference-text .cite-quote-image .mw-file-element {
  display: block;
  max-width: 100%;
}


/*
 * Pill & callout styles for MediaWiki Template:Pill
 * Safe to paste into MediaWiki:Common.css as-is.
 */

.pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 8px;
    font-family: "Source Sans 3", system-ui, sans-serif;
    font-size: 0.76rem;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    margin: 2px 4px 2px 0;
}

.pill-green {
    background: #e8f0e4;
    color: #4a7c59;
}

.pill-red {
    background: #f5e4ea;
    color: #9c5064;
}

.pill-blue {
    background: #e4edf5;
    color: #4a6a8c;
}

.pill-orange {
    background: #fdf0e4;
    color: #c4793a;
}

/* Text callouts (key-insight / ai-prompt / example) */
.pill-text,
.key-insight,
.ai-prompt-tip,
.example-callout {
    display: block;
    background: #f5f3ee;
    border: none;
    font-family: "Source Sans 3", system-ui, sans-serif;
    color: #7a7168;
    white-space: normal;
}

.pill-text-label,
.key-insight-label,
.ai-prompt-tip-label,
.example-callout-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #1a1614;
    white-space: nowrap;
}