/* "How to use this tool" guide block at the start of each tool page.
   Shared by all tool pages that carry a guide (wizard tools and chemistry
   tools). Added 13 Nov 2026. Uses the site theme variables from ui.css,
   so light and dark mode both work. British spelling in the guide text.
   Do not edit this file per-tool: the guide text lives in each page. */

.tool-guide {
  background: var(--primary-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--dash-orange, #e67e22);
  border-radius: 12px;
  padding: var(--s3) var(--s4);
  margin-bottom: var(--s4);
}

.tool-guide h2 {
  font-size: 16px;
  margin: 0 0 var(--s2);
}

.tool-guide ol {
  margin: 0;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.5;
}

.tool-guide li {
  margin-bottom: 2px;
}

.tool-guide li:last-child {
  margin-bottom: 0;
}

/* On phones and tablets the wizard shows one step at a time: the guide
   belongs to step 1 only, so hide it on steps 2-4. On desktop the
   wizard nav is not used and the step stays at 1, so the guide stays
   visible there. */
@media (max-width: 1023px) {
  .dash-shell[data-mstep="2"] .tool-guide,
  .dash-shell[data-mstep="3"] .tool-guide,
  .dash-shell[data-mstep="4"] .tool-guide {
    display: none;
  }
}
