.test-filter {
  align-items: center;
  margin-bottom: 14px;
}

.test-filter button,
.test-filter button:first-child {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.test-filter button:hover {
  border-color: var(--green);
}

.test-filter button.is-active,
.test-filter button[aria-pressed="true"] {
  border-color: var(--dark);
  background: var(--dark);
  color: #ffffff;
}

.test-filter button:focus-visible {
  outline: 3px solid #6e9a8738;
  outline-offset: 3px;
}

.test-filter-status {
  min-height: 1.6em;
  margin: 0 0 26px;
  color: #77847e;
  font-size: 12px;
}

#test-list .test-card {
  display: flex;
  flex-direction: column;
}

#test-list .test-card[hidden] {
  display: none;
}

#test-list .test-card .card-meta {
  margin-top: auto;
}

@media (max-width: 600px) {
  .test-filter {
    flex-wrap: nowrap;
    margin-right: -22px;
    margin-left: -22px;
    padding: 3px 22px 8px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .test-filter button,
  .test-filter button:first-child {
    flex: 0 0 auto;
    padding: 11px 18px;
    white-space: nowrap;
  }
}
