/* compound-viewer.css — Phase 12 */

.compound-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.compound-modal {
  background: var(--bg-2);
  border: 1px solid var(--border-hi);
  border-radius: 12px;
  width: 90%;
  max-width: 720px;
  padding: 28px 32px;
}

.compound-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.compound-header h3 {
  font-size: var(--fs-2xl);
  font-weight: 600;
}

.compound-close {
  background: transparent;
  border: 1px solid var(--border-hi);
  color: var(--text-2);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
}

.compound-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
}

.compound-image {
  background: white;
  border-radius: var(--r-md);
  padding: 8px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.compound-image img {
  max-width: 100%;
  max-height: 100%;
}

.compound-props .cp-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-md);
}

.compound-props .cp-row:last-child {
  border-bottom: none;
}

.cp-l {
  color: var(--text-3);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  padding-top: 2px;
}

.cp-v {
  color: var(--text);
}

.compound-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
