/* A workflow's activity: the medication Activity tab's rows (medications--activity-*),
   plus the comment box the Activity log design shows under a note. */

/* A row may carry its comment on a second line, under the first. */
.workflow-activity--row {
  flex-wrap: wrap;

  /* The joining line runs from the avatar to the next row; a comment's box sits in the
     way, so a comment row draws none. */
  &[data-comment="true"]::after {
    display: none;
  }
}

/* The words of a comment, set in from the avatar so they line up with the name above,
   on the page's subtle surface since the modal itself is white. */
.workflow-activity--comment {
  flex-basis: 100%;
  margin: var(--rem-4) 0 0 var(--rem-28);
  padding: var(--rem-10) var(--rem-12);
  border-radius: var(--radius-md);
  background: var(--surface-subtle);
  font-size: var(--rem-13);
  line-height: 1.5;
  color: var(--text-information);
}

.workflow-activity--empty {
  margin: 0;
  padding-top: var(--rem-16);
  font-size: var(--rem-13);
  color: var(--text-additional);
}
