/* Let short viewports scroll the page instead of shrinking the transcript. */
.nd-root .nd-history-page {
  flex: 1 0 auto;
  overflow: visible;
}
.nd-root .nd-history-layout {
  min-height: 560px;
  flex: 1 0 560px;
}
.nd-root .nd-history-detail {
  min-width: 0;
  min-height: 520px;
  overflow-y: auto;
}
.nd-root .nd-history-detail > header,
.nd-root .nd-history-summary,
.nd-root .nd-history-tools {
  flex-shrink: 0;
}
.nd-root .nd-history-summary p {
  min-width: 0;
  overflow-wrap: anywhere;
}
.nd-root .nd-history-messages {
  min-height: 280px;
  flex: 1 0 280px;
  max-height: 620px;
  overflow-y: auto;
  overflow-wrap: anywhere;
}
@media (max-width: 1000px) {
  .nd-root .nd-history-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(520px, 1fr);
    flex-basis: auto;
    overflow: visible;
  }
  .nd-root .nd-history-list {
    min-height: 100px;
    max-height: 220px;
    overflow-y: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line, #e7ece8);
  }
  .nd-root .nd-history-detail > header {
    flex-wrap: wrap;
    gap: 8px;
  }
  .nd-root .nd-history-tools {
    grid-template-columns: minmax(0, 1fr);
  }
}
