/* The staff tool context box: Madmin, Blazer and Mission Control Jobs load their own CSS, not the Tailwind theme,
   so these rules repeat the theme's line, surface, ink-muted and control values (app/assets/tailwind/application.css). */
[data-tool-context] {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 12px 0;
  padding: 8px 10px;
  border: 1px solid #e7e9ee;
  border-radius: 6px;
  background: #f7f8fa;
  font-size: 0.8125rem;
  line-height: 1.35;
}

[data-tool-context] p {
  margin: 0;
  overflow-wrap: anywhere;
}

[data-tool-context] [data-tool-identity] {
  font-weight: 600;
}

[data-tool-context] [data-tool-identity] + [data-tool-identity] {
  font-weight: 400;
}

[data-tool-context] [data-tool-prototype] {
  color: #4a5263;
}

[data-tool-context] .tool-context-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

[data-tool-context] [data-back-to-marginwise] {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

[data-tool-context] form {
  margin: 0;
}

[data-tool-context] .tool-context-stop {
  padding: 2px 8px;
  border: 1px solid #7c8494;
  border-radius: 4px;
  background: #ffffff;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
