/**
 * Phase 7B — Vault recommendations preview (additive surface).
 */
.lab-vault-rec-section {
  margin-bottom: 14px;
}

.lab-vault-rec__header {
  margin-bottom: 12px;
}

.lab-vault-rec__title {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--mint, #00ff99);
}

.lab-vault-rec__sub {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.78;
}

.lab-vault-rec__state {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.85;
}

.lab-vault-rec__state--error {
  color: var(--lab-danger, #c44);
}

.lab-vault-rec__block {
  margin-top: 14px;
}

.lab-vault-rec__block:first-of-type {
  margin-top: 0;
}

.lab-vault-rec__block-title {
  margin: 0 0 8px;
  font-size: 0.88rem;
  font-weight: 700;
  opacity: 0.92;
}

.lab-vault-rec__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}

.lab-vault-rec__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid rgba(0, 255, 204, 0.22);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.2);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.lab-vault-rec__card:hover {
  border-color: rgba(0, 255, 204, 0.55);
  transform: translateY(-1px);
}

.lab-vault-rec__card-name {
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text, #eafffb);
  word-break: break-word;
}

.lab-vault-rec__reason {
  font-size: 0.72rem;
  line-height: 1.35;
  opacity: 0.78;
}

.lab-vault-rec__confidence {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent, #00ffcc);
  opacity: 0.85;
}

.lab-vault-rec__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lab-vault-rec__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.18);
  text-decoration: none;
  color: inherit;
}

.lab-vault-rec__row:hover {
  border-color: rgba(0, 255, 204, 0.4);
}

.lab-vault-rec__row-main {
  min-width: 0;
  flex: 1;
}

.lab-vault-rec__row-name {
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.3;
}

.lab-vault-rec__row-wallet {
  font-size: 0.72rem;
  opacity: 0.7;
  margin-top: 2px;
  word-break: break-all;
}

@media (max-width: 520px) {
  .lab-vault-rec__grid {
    grid-template-columns: 1fr;
  }
}
