.ks-invoice-history {
  margin-top: 2.5rem;
}
.ks-history-jump { margin-top: .55rem; }
.ks-invoice-history h3 { scroll-margin-top: 92px; }
.ks-history-doc small { overflow-wrap: anywhere; }
.ks-history-content ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ks-history-line {
  display: grid;
  grid-template-columns: minmax(11rem, 1fr) minmax(8rem, .7fr) minmax(10rem, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule, #c9cbc5);
}
.ks-history-doc, .ks-collection-status {
  display: grid;
  justify-items: start;
  gap: .3rem;
}
.ks-history-doc > strong {
  overflow-wrap: anywhere;
}
.ks-history-doc small, .ks-collection-actions small, .ks-collection-status > span:not(:first-child) {
  color: var(--muted, #575b55);
  font-size: .8rem;
}
.ks-history-doc .action, .ks-collection-actions small {
  margin-top: .35rem;
}
.ks-collection-actions .controls {
  flex-wrap: wrap;
  justify-content: flex-start;
}
.ks-collection-actions small {
  display: block;
}
.ks-invoice-history h3:focus-visible {
  outline: 2px solid #174de8;
  outline-offset: .25rem;
}
@media (max-width: 820px) {
  .ks-history-line {
    grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  }
  .ks-history-line > .ks-collection-actions {
    grid-column: 1 / -1;
  }
}
