#molecular-tools section {
  margin-block: 1.5rem;
}
#molecular-tools .compound-card {
  min-width: 0;
  overflow-wrap: anywhere;
}
.compound-card canvas {
  width: 100%;
  max-width: 440px;
  height: auto;
}
#molecular-viewer {
  position: relative;
  width: 100%;
  height: 480px;
  isolation: isolate;
}
#molecular-viewer[hidden] {
  display: none;
}
#molecular-status,
#chemistry-status {
  overflow-wrap: anywhere;
}
#molecular-contacts pre {
  max-height: 20rem;
  overflow: auto;
  background: var(--surface-1);
  padding: 1rem;
}
#molecular-contacts ul {
  max-height: 22rem;
  overflow: auto;
}
#molecular-contacts details {
  margin-block: 0.8rem;
}
#molecular-tools canvas {
  background: var(--surface-0);
}
#molecular-tools h4 {
  margin-top: 0;
}
@media (max-width: 600px) {
  #molecular-viewer {
    height: 420px;
  }
}
