.activity-panel { margin-bottom: 1.25rem; }
.activity-panel h2 { margin-bottom: .7rem; font-size: 1rem; }
.task-summary {
  width: fit-content;
  max-width: 90%;
  margin: 0 0 1rem auto;
  padding: .6rem .8rem;
  border-radius: .75rem .75rem .25rem .75rem;
  background: #f2f4f6;
  color: #363c40;
  font-size: .875rem;
  line-height: 1.5;
}
.activity-message { margin: 0; color: #24292d; line-height: 1.55; }

.replay-sidebar { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.replay-sidebar > :not(.region-scroll) { flex-shrink: 0; }
.region-scroll {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
  padding-inline-end: .25rem;
}
.region-scroll:focus-visible { outline: 2px solid #06788a; outline-offset: 2px; }
#viewport[data-reveal-pending] > canvas { visibility: hidden; }

@media (max-width: 760px) {
  .region-scroll { max-height: min(21rem, 48vh); }
}
