/* Provenance: how Bluecliff knows a fact. Inline, next to the fact, never a pill.
   Solid = verified or observed; dashed = declared or missing. Who wrote it (a person or an AI) is
   a separate mark, shown alongside (AiMark). */

/* Inline caption: a 14px glyph and "Kind · source, date" in label-2. */
.bc-provenance {
  display: inline-flex;
  align-items: flex-start;
  gap: 5px;
  font-size: 0.8125rem;
  line-height: 1.3847;
  font-weight: 400;
  color: var(--label-2);
}

/* The 14px mark sits on the first line when the caption wraps. */
.bc-provenance > svg { margin-top: 2px; }

/* A 24px-grid icon in a caption, such as the document for "Proof requested". */
.bc-provenance__icon { flex: 0 0 auto; display: block; color: var(--label-2); }

/* A fact with its caption beside it; the caption wraps under the fact when space runs out. */
.bc-provenance-fact {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-2) var(--space-10);
}
.bc-provenance-fact__text { font-size: 0.875rem; line-height: 1.4286; }

/* Source card: a claim, the fact behind it, and its provenance caption.
   Verified and observed sources are solid surfaces; declared and missing ones are dashed. */
.bc-provenance-source {
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-6);
  padding: var(--space-14) var(--space-16);
  border: 1px solid transparent;
  border-radius: var(--radius-menu);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.bc-provenance-source--declared,
.bc-provenance-source--missing {
  border-style: dashed;
  border-color: var(--control-border);
  background: transparent;
  box-shadow: none;
}
.bc-provenance-source__claim { font-size: 0.9375rem; line-height: 1.3334; font-weight: 600; }
.bc-provenance-source__fact { margin: 0; font-size: 0.9375rem; line-height: 1.4667; letter-spacing: -0.01em; }
