.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 16px;
}

.section-head h2,
.section-head p {
  margin: 0;
}

.section-head p {
  max-width: 520px;
}

.toolbench {
  border-bottom: 1px solid #d8dee8;
  margin-bottom: 28px;
  padding-bottom: 28px;
}

.tool-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 14px;
}

.tool-status strong {
  display: block;
}

.tool-status span {
  color: #596579;
  font-size: 14px;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}

.tool-grid.single {
  grid-template-columns: minmax(0, 1fr);
}

.tool-doc {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.tool-doc-block {
  border: 1px solid #d8dee8;
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.tool-doc-block h2 {
  font-size: 18px;
  margin: 0 0 8px;
}

.tool-doc-block p {
  margin: 0;
  color: #425066;
}

.tool-card {
  background: #fff;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  padding: 16px;
}

.tool-card h3 {
  margin-bottom: 6px;
}

.tool-card p {
  color: #596579;
  margin: 0 0 12px;
}

.tool-detail {
  color: #17202a;
  font-weight: 650;
}

.tool-card label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  color: #596579;
  margin: 10px 0 5px;
}

.tool-card input,
.tool-card textarea,
.tool-card select {
  width: 100%;
  border: 1px solid #cfd6e2;
  border-radius: 6px;
  background: #fff;
  color: #17202a;
  padding: 9px 10px;
  font: inherit;
}

.tool-card textarea {
  min-height: 86px;
  resize: vertical;
}

.tool-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.tool-actions button {
  border: 1px solid #17202a;
  background: #17202a;
  color: #fff;
  border-radius: 6px;
  padding: 9px 12px;
  font-weight: 650;
  cursor: pointer;
}

.tool-actions button.secondary {
  background: #fff;
  color: #17202a;
}

.tool-actions button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.tool-output {
  min-height: 96px;
  white-space: pre-wrap;
  background: #101820;
  color: #edf2f7;
  border-radius: 8px;
  padding: 12px;
  margin-top: 12px;
  overflow: auto;
  font-size: 13px;
}

.tool-error {
  color: #b42318;
}

@media (max-width: 760px) {
  .section-head {
    display: block;
  }

  .tool-grid {
    grid-template-columns: 1fr;
  }
}
