.history-page {
  max-width: 900px;
  margin-inline: auto;
}
.history-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.history-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-inline: 14px;
  min-height: 52px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--input-surface);
}
.history-search > .icon {
  width: 20px;
  height: 20px;
  color: var(--muted);
  flex: none;
}
.history-search input {
  border: 0;
  outline: none;
  width: 100%;
  min-width: 0;
  padding-block: 14px;
  color: var(--ink);
  background: transparent;
  font-size: 16px;
}
.history-search:focus-within {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}
.history-list-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.history-list-heading h2 {
  font-size: 16px;
  font-weight: 600;
}
.history-cards {
  display: grid;
  gap: 12px;
}
.history-page .table-foot {
  margin-top: 16px;
  padding-inline: 0;
  font-size: 12px;
  gap: 8px;
}
.history-page #reports-list > .empty {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}
.history-filter-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--navy);
  background: var(--surface);
}
.history-filter-button > .icon {
  width: 19px;
  height: 19px;
}
.history-filter-button:hover {
  background: var(--primary-soft);
  border-color: var(--muted);
}
.history-filter-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--navy);
  top: 7px;
  right: 7px;
}
