/* ── Enrichment Panel ── */
.enrich-layout {
  display: flex;
  gap: 1.5rem;
  min-height: 60vh;
}
.enrich-sidebar {
  width: 280px;
  flex-shrink: 0;
  border: 2px solid var(--black);
  border-radius: 6px;
  box-shadow: 4px 4px 0 var(--black);
  background: var(--white);
  overflow-y: auto;
  max-height: 80vh;
  position: sticky;
  top: 1rem;
}
.enrich-sidebar-title {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.75rem 1rem;
  background: var(--black);
  color: var(--white);
}
.enrich-event-item {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: background 0.12s;
  font-size: 0.8rem;
}
.enrich-event-item:hover { background: rgba(168,85,247,0.05); }
.enrich-event-item.active { background: rgba(168,85,247,0.1); border-left: 3px solid var(--purple); }
.enrich-event-name {
  font-weight: 700;
  font-size: 0.78rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.enrich-event-meta {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  color: #888;
  margin-top: 0.15rem;
}
.enrich-progress {
  height: 4px;
  background: #e5e5e5;
  border-radius: 2px;
  margin-top: 0.35rem;
  overflow: hidden;
}
.enrich-progress-bar {
  height: 100%;
  background: var(--purple);
  border-radius: 2px;
  transition: width 0.3s;
}

/* Main content */
.enrich-content { flex: 1; min-width: 0; }
.enrich-filters {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.enrich-filter-btn {
  padding: 0.4rem 0.8rem;
  border: 2px solid var(--black);
  border-radius: 4px;
  background: var(--white);
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.12s;
  text-transform: uppercase;
}
.enrich-filter-btn:hover { background: #f0f0f0; }
.enrich-filter-btn.active { background: var(--black); color: var(--white); }
.enrich-count {
  margin-left: auto;
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  color: #888;
}

/* Item cards */
.enrich-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.enrich-card {
  border: 2px solid #e5e5e5;
  border-radius: 6px;
  padding: 1rem;
  background: var(--white);
  transition: all 0.15s;
}
.enrich-card:hover { border-color: #ccc; }
.enrich-card.enriched { border-color: rgba(22,163,41,0.3); background: rgba(22,163,41,0.02); }
.enrich-card.missing { border-color: rgba(220,38,38,0.2); }
.enrich-card-header {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.enrich-card-img {
  width: 90px;
  height: 120px;
  object-fit: contain;
  border-radius: 4px;
  background: #f5f5f5;
  flex-shrink: 0;
}
.enrich-card-info { flex: 1; min-width: 0; }
.enrich-card-title {
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.enrich-card-price {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  color: #888;
}
.enrich-card-status {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  font-weight: 700;
  margin-top: 0.3rem;
}
.enrich-card-status.complete { color: #16a34a; }
.enrich-card-status.incomplete { color: #dc2626; }
.enrich-input-group { margin-bottom: 0.5rem; }
.enrich-input-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 0.2rem;
}
.enrich-input {
  width: 100%;
  padding: 0.4rem 0.5rem;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  transition: border-color 0.12s;
}
.enrich-input:focus { border-color: var(--purple); outline: none; }
.enrich-actions {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.5rem;
}
.enrich-save-btn {
  padding: 0.35rem 0.75rem;
  background: var(--black);
  color: white;
  border: none;
  border-radius: 4px;
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.12s;
}
.enrich-save-btn:hover { background: #333; }
.enrich-save-btn.saved { background: #16a34a; }

/* Responsive */
@media (max-width: 768px) {
  .enrich-layout { flex-direction: column; }
  .enrich-sidebar { width: 100%; max-height: 200px; position: static; }
  .enrich-grid { grid-template-columns: 1fr; }
}
