.imp .hist .row.history-row {
  grid-template-columns: 40px minmax(0, 1.3fr) minmax(0, .7fr) minmax(0, .7fr) minmax(0, 1.5fr) minmax(0, .8fr);
  overflow-wrap: anywhere;
}
.imp .hist .history-row > * { min-width: 0; }
.imp .hist .history-label { display: none; }
.imp .hist .history-counts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 10px; margin: 0; }
.imp .hist .history-counts dt { color: var(--text-3); font-size: 12px; line-height: 1.25; }
.imp .hist .history-counts dd { margin: 2px 0 0; font-weight: 650; font-variant-numeric: tabular-nums; }
.imp .hist .history-result > .pill { margin-block-end: 4px; }
.imp .hist .history-row .act { flex-direction: column; align-items: flex-end; }
.imp .hist .history-row .act .btn { max-width: 100%; height: auto; padding-block: 7px; white-space: normal; }
@media (max-width: 980px) {
  .imp .hist .row.history-row { grid-template-columns: 40px minmax(0, 1fr); gap: 6px 12px; padding: 12px 16px; }
  .imp .hist .row.history-row.h { display: none; }
  .imp .hist .row.history-row > :nth-child(n + 2) { grid-column: 2; }
  .imp .hist .history-label { display: block; }
  .imp .hist .history-row .act { flex-flow: row wrap; align-items: stretch; justify-content: flex-start; }
}
