:root {
  font-family: "IBM Plex Mono", "Fira Code", Consolas, monospace;
  color: #222;
  background: #f3f3f3;
}
body {
  margin: 0;
  padding: 12px;
  background: #f3f3f3;
}
.app {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  font-family: inherit;
}
header h1 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.05em;
}
header p {
  margin: 2px 0 0;
  font-size: 0.8rem;
  color: #555;
}
header a {
  font-size: 0.8rem;
  color: #1d4ed8;
  text-decoration: none;
  letter-spacing: 0.05em;
}
header a:hover {
  text-decoration: underline;
}
.controls {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fff;
  border: 1px solid #d9d7d3;
  border-radius: 6px;
  padding: 10px;
}
.search-box input {
  width: 100%;
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid #b5b2ae;
  font-size: 0.9rem;
  font-family: inherit;
}
.filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.filters button {
  flex: 1;
  min-width: 90px;
  border: 1px solid #b5b2ae;
  border-radius: 4px;
  padding: 4px;
  font-size: 0.75rem;
  background: #f5f2ee;
  color: #333;
  font-family: inherit;
}
.filters button.active {
  background: #111;
  color: #fff;
  border-color: #111;
}
.results {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.card {
  background: #fff;
  border: 1px solid #d9d7d3;
  border-radius: 6px;
  padding: 8px 10px;
  box-shadow: none;
}
.sign {
  margin: 6px 0 0;
  font-family: inherit;
  background: #f9f9f7;
  border: 1px solid #d9d7d3;
  border-radius: 4px;
  padding: 6px;
  font-size: 0.78rem;
  overflow-x: auto;
  white-space: pre;
}
.chip {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 2px 4px;
  border-radius: 4px;
  background: #fdfcf7;
  border: 1px solid #c9c4be;
  color: #333;
  margin-right: 6px;
  font-family: inherit;
}
.empty {
  text-align: center;
  color: #666;
  padding: 16px;
  font-size: 0.85rem;
}
