/* BPDGo#174: a stored failure's own text, shown only to BPD staff signed in as the person (shared/_failure_cause.html). */
.failure-cause {
  margin-top: var(--space-1);
  font-size: 0.75rem;
  color: var(--md-sys-color-on-surface-variant);
}
.failure-cause > summary {
  cursor: pointer;
  font-weight: 500;
}
.failure-cause__text pre {
  margin: var(--space-1) 0 0;
  padding: var(--space-2);
  max-height: 16rem;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  background: var(--md-sys-color-surface-container-high);
  border-radius: 4px;
  color: var(--md-sys-color-on-surface);
}
