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

.commerce-tool .page-title {
  margin-bottom: 1lh;
}

.commerce-check {
  display: flex;
  align-items: baseline;
  gap: 1ch;
  margin: 0.5lh 0;
}

.commerce-check input {
  flex: none;
  margin: 0;
}

.commerce-note {
  margin: 0.5lh 0;
  overflow-wrap: anywhere;
}

.commerce-result {
  min-width: 0;
  margin-top: 1lh;
}

.commerce-result .kit-status {
  margin: 0;
}

.commerce-detail {
  max-width: 100%;
  margin: 0 0 1lh;
  overflow-x: auto;
  font: inherit;
  white-space: pre;
}

.commerce-detail:empty {
  display: none;
}

.commerce-copy {
  min-width: 20ch;
}

.commerce-calculation {
  padding: 1lh 0;
  border-bottom: 1px solid var(--line);
}

.commerce-heading {
  margin: 0 0 0.5lh;
  font-size: 1rem;
  font-weight: 600;
}

@media (max-width: 599px) {
  .commerce-tool .back-link {
    margin-bottom: 1lh;
  }

  .commerce-check {
    align-items: flex-start;
  }
}
