.counter {
  min-height: 20px;
  margin-top: 6px;
  color: var(--text-subtle);
  font-size: 0.8125rem;
}

.history {
  width: 100%;
  max-width: 584px;
  margin-top: 24px;
  display: none;
}

.history.visible {
  display: block;
  animation: fade-in 0.22s ease both;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.history-list {
  list-style: none;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.08);
}

.history-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-strong);
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s ease;
}

.history-item:last-child { border-bottom: 0; }
.history-item:hover { background: var(--surface-soft); }

.history-icon {
  flex-shrink: 0;
  color: var(--text-subtle);
}

.history-content {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.45;
}
