.history-page {
  padding: 45px var(--gap) 70px;
}
.history-page h1 {
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 500;
  letter-spacing: -1.5px;
}
.history-page > p {
  font-size: 14px;
  line-height: 1.7;
}
.history-actions {
  display: flex;
  gap: 28px;
  align-items: center;
  margin: 25px 0;
}
.history-actions a,
.history-actions button {
  min-height: 44px;
  display: flex;
  align-items: center;
  text-decoration: underline;
  font-size: 12px;
}
.history-actions button[hidden] {
  display: none;
}
.history-page .history-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 32px;
}
.history-empty {
  grid-column: 1/-1;
  background: #fffdf9;
  padding: 36px;
}
.history-empty h2 {
  font-size: 28px;
  font-weight: 400;
}
.history-empty p {
  font-size: 14px;
}
.history-empty .primary {
  display: inline-flex;
  padding: 16px 24px;
  margin-top: 20px;
  font-size: 13px;
}
.history-strip {
  padding: 30px var(--gap) 70px;
}
.history-strip[hidden] {
  display: none;
}
.history-strip-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.history-strip h2 {
  font-size: 28px;
  font-weight: 400;
  margin: 10px 0;
}
.history-strip-head > a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 12px;
  text-decoration: underline;
}
.history-footer-link {
  grid-column: 1/-1;
  padding-top: 16px;
  font-size: 12px;
}
.history-footer-link a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
@media (max-width: 650px) {
  .history-page {
    padding: 30px 20px 60px;
  }
  .history-strip {
    padding: 20px 20px 50px;
  }
  .history-strip-head {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }
  .history-actions {
    flex-wrap: wrap;
    gap: 12px 24px;
  }
  .history-empty {
    padding: 24px;
  }
}
