/*
 * Status pill — text + tint (never hue-only; the label carries the meaning).
 * ok = accepted/active, no = rejected/inactive, wait = pending.
 */

.c-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: var(--fw-bold);
  padding: 3px 10px;
  border-radius: var(--r-pill);
}

.c-pill--ok   { color: var(--teal);   background: var(--teal-wash); }
.c-pill--no   { color: var(--garnet); background: var(--garnet-wash); }
.c-pill--wait { color: var(--gold);   background: var(--gold-wash); }
.c-pill--mute { color: var(--ink-3);  background: var(--surf-2); }

/* A pill that is a LINK, pointing at the record that explains it — the
 * "Admitted" flag on the awaiting-fee worklist opens the applicant, where every
 * preference and the status of each is listed.
 *
 * Each modifier is restated at anchor specificity because `.c-table a:not(.c-btn)`
 * carries two classes too and would otherwise paint a garnet warning teal and
 * underline it, so one token reads as two. _status.css is imported AFTER
 * _table.css (see main.css), so an equal-specificity rule here wins on order.
 *
 * The affordance is a ring on hover rather than an underline: a rule through a
 * lozenge reads as damage, and the pill already looks like an object to press. */
a.c-pill.c-pill--ok   { color: var(--teal);   text-decoration: none; }
a.c-pill.c-pill--no   { color: var(--garnet); text-decoration: none; }
a.c-pill.c-pill--wait { color: var(--gold);   text-decoration: none; }
a.c-pill.c-pill--mute { color: var(--ink-3);  text-decoration: none; }
a.c-pill:hover { box-shadow: inset 0 0 0 1px currentColor; }
