.v6-smart-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: -2px 0 18px;
}

.v6-smart-chip {
  min-height: 58px;
  border: 1px solid var(--line, #e7e2d8);
  border-radius: 16px;
  background: var(--card, #fff);
  padding: 9px 8px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 5px;
  text-align: left;
}

.v6-smart-chip span { font-size: 17px; }
.v6-smart-chip strong {
  min-width: 0;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.v6-smart-chip em {
  font-style: normal;
  font-size: 12px;
  opacity: .6;
}

.v6-smart-head { margin-top: 12px; }

.v6-smart-list {
  display: grid;
  gap: 10px;
}

.v6-smart-item {
  min-height: 72px;
  border: 1px solid var(--line, #e7e2d8);
  border-radius: 18px;
  background: var(--card, #fff);
  padding: 10px 10px 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.v6-smart-item.is-clickable { cursor: pointer; }

.v6-smart-item-main {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 11px;
}

.v6-smart-item-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #f5f2eb;
  font-size: 22px;
}

.v6-smart-thumb {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  object-fit: cover;
  border-radius: 13px;
}

.v6-smart-item-text {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.v6-smart-item-text strong,
.v6-smart-item-text small {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.v6-smart-item-text small {
  font-size: 12px;
  opacity: .62;
}

.v6-smart-action {
  min-width: 62px;
  min-height: 42px;
  flex: 0 0 auto;
}

@media (max-width: 390px) {
  .v6-smart-chip {
    grid-template-columns: auto 1fr;
  }
  .v6-smart-chip em {
    grid-column: 2;
  }
}


@media (max-width: 700px) {
  .v6-smart-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


.v6-smart-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.v6-smart-delete {
  color: var(--danger);
}

@media (max-width: 520px) {
  .v6-smart-item {
    align-items: flex-start;
  }

  .v6-smart-actions {
    flex-direction: column;
  }

  .v6-smart-action {
    min-width: 74px;
  }
}


.v6-empty-trash {
  min-height: 44px;
  flex: 0 0 auto;
}

@media (max-width: 520px) {
  .v6-smart-head {
    align-items: flex-start;
  }

  .v6-empty-trash {
    white-space: nowrap;
  }
}
