.history-heading .eyebrow {
  font-size: 13px;
}

.history-heading h1 {
  font-size: 40px;
}

.history-heading > div > p {
  font-size: 14px;
}

.history-start {
  height: 42px;
  padding-inline: 15px;
  font-size: 13px;
}

.history-stats > div > span {
  font-size: 13px;
}

.history-stats strong {
  font-size: 29px;
}

.history-stats strong small {
  font-size: 13px;
}

.records-heading h2 {
  font-size: 18px;
}

.records-total {
  font-size: 12px;
}

.filter-control button {
  padding: 7px 13px;
  font-size: 12px;
}

.record-labels {
  min-height: 40px;
  font-size: 11px;
}

.record-row {
  min-height: 74px;
  padding-inline: 13px;
}

.record-index {
  width: 21px;
  font-size: 11px;
}

.record-date {
  gap: 13px;
}

.record-mode-icon {
  width: 34px;
  height: 34px;
}

.record-mode-icon .icon {
  width: 17px;
  height: 17px;
}

.record-date strong {
  font-size: 13px;
}

.record-date small {
  font-size: 11px;
}

.record-mistakes {
  font-size: 12px;
}

.record-time {
  font-size: 16px;
}

.record-status {
  font-size: 11px;
}

.pagination {
  font-size: 12px;
}

.pagination button {
  width: 34px;
  height: 34px;
}

.records-loading {
  font-size: 14px;
}

.empty-history strong {
  font-size: 15px;
}

.empty-history > span:not(.empty-history-icon) {
  font-size: 12px;
}

.empty-history .secondary-btn {
  min-height: 43px;
  font-size: 13px;
}

@media (max-width: 680px) {
  .history-heading .eyebrow {
    font-size: 11px;
  }

  .history-heading h1 {
    font-size: 34px;
  }

  .history-heading > div > p {
    font-size: 12px;
  }

  .history-start {
    height: 38px;
    padding-inline: 11px;
    font-size: 12px;
  }

  .history-stats > div > span {
    font-size: 11px;
  }

  .history-stats strong {
    font-size: 24px;
  }

  .history-stats strong small {
    font-size: 12px;
  }

  .records-heading h2 {
    font-size: 16px;
  }

  .records-total {
    font-size: 11px;
  }

  .filter-control button {
    padding: 7px 12px;
    font-size: 11px;
  }

  .record-labels,
  .record-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .record-labels {
    min-height: 40px;
    padding-inline: 4px;
    font-size: 10px;
  }

  .record-labels span:nth-child(2),
  .record-labels span:nth-child(4) {
    display: none;
  }

  .record-labels span:nth-child(3) {
    text-align: right;
  }

  .record-row {
    min-height: 0;
    grid-template-rows: auto auto;
    row-gap: 7px;
    padding: 12px 4px;
  }

  .record-date {
    grid-column: 1;
    grid-row: 1;
    gap: 9px;
    min-width: 0;
  }

  .record-index {
    width: 18px;
    font-size: 9px;
  }

  .record-mode-icon {
    width: 29px;
    height: 29px;
  }

  .record-mode-icon .icon {
    width: 15px;
    height: 15px;
  }

  .record-date strong {
    font-size: 12px;
  }

  .record-date small {
    font-size: 10px;
  }

  .record-mistakes {
    grid-column: 1;
    grid-row: 2;
    text-align: left;
    font-size: 11px;
  }

  .record-time {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    font-size: 15px;
  }

  .record-status {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    font-size: 10px;
  }

  .pagination {
    font-size: 11px;
  }

  .records-loading {
    font-size: 13px;
  }

  .empty-history strong {
    font-size: 14px;
    text-align: center;
  }

  .empty-history > span:not(.empty-history-icon) {
    font-size: 11px;
    text-align: center;
  }

  .empty-history .secondary-btn {
    min-height: 42px;
    font-size: 12px;
  }
}
