.tool-help-dialog {
  width: min(640px, calc(100vw - 24px));
  max-height: min(85dvh, 760px);
  padding: 0;
  border: 2px solid #171331;
  border-radius: 16px;
  background: #f8f7f9;
  color: #171331;
  box-shadow: 0 20px 70px #0008;
  font: 16px/1.5 Inter, ui-sans-serif, system-ui, sans-serif;
}
.tool-help-dialog::backdrop { background: #000a; }
.tool-help-content { padding: clamp(20px, 4vw, 32px); overflow: auto; }
.tool-help-content h2 { margin: 0 0 16px; font-size: clamp(1.5rem, 4vw, 2rem); }
.tool-help-content ol { margin: 0 0 16px; padding-left: 1.4em; }
.tool-help-content li + li { margin-top: 12px; }
.tool-help-content p { margin: 0 0 20px; }
.tool-help-close {
  min-height: 44px;
  padding: 8px 20px;
  border: 2px solid #171331;
  border-radius: 10px;
  background: #171331;
  color: white;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
.tool-help-close:focus-visible { outline: 3px solid #ffd23f; outline-offset: 3px; }
