.tool-execution{
  display:grid;
  gap:9px;
  padding:12px 13px;
  border:1px solid color-mix(in srgb,var(--btcAccent) 28%,var(--border));
  border-radius:13px;
  background:color-mix(in srgb,var(--btcAccent) 7%,transparent);
}
.tool-execution-head{display:flex;align-items:center;gap:9px;flex-wrap:wrap;}
.tool-mode-badge{
  display:inline-flex;
  align-items:center;
  gap:7px;
  width:max-content;
  max-width:100%;
  padding:5px 9px;
  border-radius:999px;
  border:1px solid color-mix(in srgb,var(--btcAccent) 48%,var(--border));
  background:color-mix(in srgb,var(--btcAccent) 13%,transparent);
  color:var(--text);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.02em;
  line-height:1.2;
}
.tool-mode-badge::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--btcAccent);
  box-shadow:0 0 0 3px color-mix(in srgb,var(--btcAccent) 18%,transparent);
}
.tool-execution-title{margin:0;color:var(--text);font-size:.8rem;font-weight:760;line-height:1.35;}
.tool-execution-copy{margin:0;color:var(--muted);font-size:.78rem;line-height:1.55;max-width:100ch;}
.tool-flow{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
  color:var(--muted);
  font-family:var(--mono);
  font-size:.68rem;
  line-height:1.45;
}
.tool-flow-step{padding:4px 7px;border:1px solid var(--border);border-radius:8px;background:rgba(255,255,255,.025);}
.tool-flow-arrow{color:var(--btcAccent);font-weight:800;}
.tool-runtime-note{display:flex;align-items:flex-start;gap:7px;color:var(--muted);font-size:.72rem;line-height:1.5;}
.tool-runtime-note svg{width:14px;height:14px;margin-top:2px;flex:0 0 auto;stroke:var(--btcAccent);stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round;}
@media(max-width:520px){
  .tool-execution{padding:11px;}
  .tool-flow{align-items:flex-start;}
}
