.labo-tool {
  min-width: 0;
}

.labo-form {
  max-width: 78ch;
}

.labo-form textarea {
  display: block;
  min-height: 9lh;
}

.labo-checkbox {
  display: flex;
  align-items: baseline;
  gap: 1ch;
  margin: 1lh 0;
}

.labo-checkbox input {
  flex: none;
  margin: 0;
}

.labo-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2ch;
}

.labo-columns .kit-field {
  display: block;
  min-width: 0;
}

.labo-columns label {
  display: block;
}

.labo-error-status {
  min-height: 1lh;
  margin: 0.5lh 0;
  overflow-wrap: anywhere;
}

.labo-errors {
  margin: 0;
  padding: 0;
  list-style: none;
}

.labo-results {
  min-width: 0;
  overflow-wrap: anywhere;
}

.labo-main-result {
  color: var(--accent);
  overflow-wrap: anywhere;
}

.labo-outliers {
  margin: 1lh 0;
}

.labo-outlier-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.labo-outlier-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 0 2ch;
}

.labo-graph {
  max-width: 78ch;
  min-width: 0;
  margin: 1lh 0;
}

.labo-svg {
  display: block;
  width: 100%;
  height: auto;
}

.labo-axis {
  stroke: var(--line);
  stroke-width: 1;
}

.labo-bar {
  fill: var(--text-dim);
}

.labo-mean,
.labo-curve {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
}

.labo-point {
  fill: var(--text);
}

.labo-label {
  fill: var(--text-dim);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
}

.labo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5lh 2ch;
}

.labo-actions .kit-copy-button {
  min-width: 0;
}

.labo-actions .kit-copy-status:empty {
  display: none;
}

@media (max-width: 599px) {
  .labo-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .labo-columns .kit-field {
    display: grid;
  }

  .labo-form input:not([type="checkbox"]),
  .labo-form textarea,
  .labo-form select {
    width: 100%;
  }

  .labo-label {
    font-size: 15px;
  }
}
