.card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  margin: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg-secondary);
  color: var(--fg-primary);
  text-align: left;
  width: calc(100% - 24px);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.1s ease;
  font-family: inherit;
  font-size: inherit;
}

.card:active {
  background: var(--bg-highlight);
}

.card.question {
  box-shadow: inset 3px 0 0 #ffd700;
}

.iconCol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
}

.termIcon {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

.body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.topRow {
  display: flex;
  align-items: center;
  gap: 8px;
}

.name {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-primary);
  text-transform: capitalize;
}

.meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--fg-muted);
}

.project {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.branch {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-secondary);
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.branch::before {
  content: "\2387 ";
}

.snippet {
  font-size: 12px;
  color: var(--fg-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.subRow {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--fg-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.subRow svg {
  flex-shrink: 0;
  opacity: 0.6;
}

.subRowText {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.progressBar {
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: var(--bg-tertiary);
  flex-shrink: 0;
  overflow: hidden;
}

.progressFill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.usageLabel {
  font-size: 11px;
  color: var(--fg-muted);
  opacity: 0.7;
}

.actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.time {
  font-size: 11px;
  color: var(--fg-muted);
  white-space: nowrap;
}

.killBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: var(--radius-md);
  background: none;
  color: var(--fg-muted);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  padding: 0;
}

.killBtn:active {
  color: var(--error);
  background: rgba(255, 80, 80, 0.1);
}
