/* Bookmark cards participate in vk-card/vk-catalog paper physics via the shared builder. */
.bookmark-card {
  --bookmark-current-highlight-progress: 0;
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 10px;
  height: 118px;
  min-height: 118px;
  max-height: 118px;
  background-color: var(--vk-paper-catalog-card-bg);
  border: 1px solid transparent;
  border-radius: var(--vk-paper-control-radius, 8px);
  box-sizing: border-box;
  color: var(--vk-text-primary);
  cursor: pointer;
  overflow: hidden;
  padding: 9px 9px 9px 7px;
  position: relative;
}

.bookmark-card-main {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bookmark-card-header {
  min-width: 0;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
}

.bookmark-card-title {
  min-width: 0;
  overflow: hidden;
  font-size: var(--vk-font-label);
  font-weight: var(--vk-weight-semibold);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bookmark-card-description {
  display: -webkit-box;
  overflow: hidden;
  color: var(--vk-text-primary);
  font-size: var(--vk-font-tiny);
  line-clamp: 3;
  line-height: calc(var(--vk-font-tiny) * 1.3);
  overflow-wrap: anywhere;
  text-overflow: ellipsis;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.bookmark-card-meta-row {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}

.bookmark-card-branch {
  color: var(--vk-text-primary);
  font-size: var(--vk-font-caption);
  font-weight: var(--vk-weight-light);
}

.bookmark-card-status-wrap {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.bookmark-card-comparison-selected-icon {
  display: none;
}

.bookmark-card-comparison-selected-lucide,
.bookmark-card-comparison-selected-icon .lucide {
  width: 16px;
  height: 16px;
}
