[data-biochemistry-molecular-analysis-root] {
  min-width: 0;
}

[data-biochemistry-molecular-analysis-root]
.sc-bma-shell {
  width: 100%;
  min-width: 0;
}

[data-biochemistry-molecular-analysis-root]
.sc-bma-controls,
[data-biochemistry-molecular-analysis-root]
.sc-bma-input-grid,
[data-biochemistry-molecular-analysis-root]
.sc-bma-results {
  min-width: 0;
}

[data-biochemistry-molecular-analysis-root]
.sc-bma-output-table {
  min-width: 620px;
}

[data-biochemistry-molecular-analysis-root]
.sc-bma-method-heading code {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  white-space: pre-wrap;
}

[data-biochemistry-molecular-analysis-root]
[data-sc-biochemistry-production-state="module-unavailable"],
[data-biochemistry-molecular-analysis-root]
[data-sc-biochemistry-production-state="error"],
[data-biochemistry-molecular-analysis-root]
[data-sc-biochemistry-production-state="incomplete"] {
  min-height: 120px;
}

@media (max-width: 760px) {
  [data-biochemistry-molecular-analysis-root]
  .sc-bma-header,
  [data-biochemistry-molecular-analysis-root]
  .sc-bma-method-heading,
  [data-biochemistry-molecular-analysis-root]
  .sc-bma-controls {
    align-items: stretch;
    flex-direction: column;
  }

  [data-biochemistry-molecular-analysis-root]
  .sc-bma-field {
    min-width: 0;
    width: 100%;
  }

  [data-biochemistry-molecular-analysis-root]
  .sc-bma-input-grid {
    grid-template-columns: 1fr;
  }

  [data-biochemistry-molecular-analysis-root]
  .sc-bma-results {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
