/* Footnote superscripts: prevent them from expanding line-height */
sup.reference {
    line-height: 0;
}

/*
 * 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;
}