/* molecule-views — tool CSS. Chunk 6b retired the layout rules onto
   the design system (§29 studio layout, --top-props variant, and the
   Chunk 1 .tabs for the view tabs): the unit toggle, check labels,
   view tabs, chips and the view-area padding. What is left here is
   tool-specific: the view panels and their drawings, the legend and
   group list, the molecule summary card, and the results buttons. */
.tool-body .view-area svg {
  width: 100%;
  height: auto;
  display: block;
}
.tool-body .view-area h2 {
  font-size: 20px;
  color: var(--lg-primary);
}
.tool-body .view-area .view-intro {
  color: var(--lg-muted);
  font-size: 14px;
  line-height: 1.5;
}
.tool-body .view-panel {
  display: none;
}
.tool-body .formula {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin: 8px 0 0;
}
.tool-body .legend {
  font-size: 14px;
  line-height: 1.7;
  margin: 8px 0 0;
}
.tool-body .grouplist {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  padding-left: 16px;
}
.tool-body .note {
  color: var(--lg-muted);
  font-size: 13px;
  line-height: 1.5;
}
.tool-body .view-empty {
  color: var(--lg-muted);
  text-align: center;
  padding: 32px 8px;
}
.tool-body #results .btn {
  display: block;
  width: 100%;
  text-align: left;
  margin-top: 8px;
}
.tool-body #titleCard {
  margin-bottom: 12px;
}
.tool-body #titleCard h2 {
  margin: 0;
}
.tool-body #titleCard p {
  margin: 4px 0 0;
  color: var(--lg-muted);
}
.tool-body .view-label {
  color: var(--lg-muted);
  font-size: 14px;
  margin: 0 0 8px;
}
.tool-body .view-label-space {
  color: var(--lg-muted);
  font-size: 14px;
  margin: 12px 0 8px;
}

/* Chunk 9 (test 8): the "in easy words" body keeps its size by rule now,
   not by an inline style. titleCard uses the hidden attribute; the tool
   JS shows it with style.display = "block", which overrides it. */
.tool-body #view6body {
  font-size: 14px;
  line-height: 1.7;
}
