/* Geometry-only history variant; Command/cfr own colors, type, media and controls. */
.cfh-provenance {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0;
}
.cfh-person-card {
  min-width: 0;
  min-height: 148px;
}
.cfh-person-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.cfh-history .cfr-person {
  min-height: 58px;
}
.cfh-profile-label {
  font-size: 11px;
  text-decoration: underline;
}
.cfh-history .cfr-person:hover .cfh-profile-label {
  text-decoration-thickness: 2px;
}
.cfh-history .cfr-person:active {
  opacity: 0.8;
}
.cfh-history .cfr-person:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 8px;
}
.cfh-time {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.cfh-reason {
  margin: 18px 0;
}
.cfh-reason strong {
  font-size: 12px;
}
.cfh-reason p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.6;
  margin: 8px 0;
}
.cfh-activity-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.cfh-activity-heading h3 {
  font-size: 15px;
  margin: 0;
}
.cfh-activity-heading small,
.cfh-event-heading time,
.cfh-event-heading > span {
  font-size: 12px;
}
.cfh-activity {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}
.cfh-activity > li {
  padding: 16px 0;
  border-top: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 12%, transparent);
}
.cfh-event-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.cfh-person-compact {
  margin-top: 12px;
}
.cfh-person-compact .cfr-person {
  margin: 6px 0 0;
}
.cfh-person-compact .cfr-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 12px;
}
.cfh-query-state {
  min-height: 100px;
}
@media (max-width: 600px) {
  .cfh-provenance {
    grid-template-columns: minmax(0, 1fr);
  }
  .cfh-history {
    min-width: 0;
  }
  .cfh-person-card {
    min-height: 142px;
  }
}
