/* Bookmark cards already participate in vk-card/vk-catalog semantics via the shared builder,
   but keep their legacy bookmark-specific physics until the card redesign pass. */
.bookmark-card {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 10px;
  height: 118px;
  min-height: 118px;
  max-height: 118px;
  background: var(--vk-paper-lift-button-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;
  box-shadow: var(--vk-shadow-paper-raised);
  transform: translateY(calc(-1 * var(--vk-paper-lift-normal-y)));
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 500ms ease,
    transform 500ms cubic-bezier(0.2, 0, 0.2, 1);
}

.bookmark-card-main {
  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;
}
