.tool-inspector {
  container-type: inline-size;
  font:
    11px / 1.5 Consolas,
    "SFMono-Regular",
    monospace;
  min-width: 0;
}
.tool-browser {
  display: grid;
  grid-template-columns: minmax(130px, 30%) minmax(0, 1fr);
  gap: 10px;
}
.tool-navigation {
  min-width: 0;
  border-right: 1px solid var(--panel-border);
  padding-right: 8px;
}
.tool-navigation input {
  width: 100%;
  min-width: 0;
  padding: 5px 7px;
  border: 1px solid var(--panel-border);
  border-radius: 4px;
  background: var(--panel-bg);
  color: inherit;
}
.tool-list {
  display: grid;
  gap: 3px;
  max-height: 320px;
  overflow-y: auto;
  margin-top: 6px;
}
.tool-list button {
  text-align: left;
  border: 0;
  border-left: 2px solid transparent;
  border-radius: 3px;
  background: transparent;
  color: inherit;
  padding: 5px 7px;
  min-width: 0;
}
.tool-list button:hover {
  background: var(--surface-hover);
}
.tool-list button[aria-pressed="true"] {
  background: var(--selected-bg);
  border-left-color: var(--accent-9);
}
.tool-list strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.tool-list span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--secondary);
}
.tool-documentation {
  min-width: 0;
  overflow-wrap: anywhere;
}
.tool-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 8px;
}
.tool-inspector .copy-button {
  margin: 0;
  flex-shrink: 0;
}
.tool-heading h3 {
  min-width: 0;
  margin: 0 0 6px;
  font-size: 14px;
}
.tool-documentation h4 {
  margin: 12px 0 4px;
  font-size: 11px;
}
.tool-prose {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 8px 0;
}
.tool-muted,
.schema-annotation {
  color: var(--secondary);
}
.tool-documentation pre {
  max-width: 100%;
  overflow-x: auto;
  white-space: pre;
  padding: 7px;
  border: 1px solid var(--panel-border);
  border-radius: 3px;
  background: var(--code-bg);
  font: inherit;
}
.schema-scroll {
  max-width: 100%;
  overflow-x: auto;
}
.parameter-schema {
  width: 100%;
  min-width: 400px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 10px;
}
.parameter-schema caption {
  text-align: left;
  font-weight: bold;
  padding: 8px 0 4px;
}
.parameter-schema th,
.parameter-schema td {
  text-align: left;
  vertical-align: top;
  padding: 6px 5px;
  border-bottom: 1px solid var(--panel-border);
  overflow-wrap: anywhere;
}
.parameter-schema thead {
  color: var(--secondary);
  background: var(--code-bg);
}
.parameter-schema th:nth-child(1) {
  width: 25%;
}
.parameter-schema th:nth-child(2) {
  width: 18%;
}
.parameter-schema th:nth-child(3) {
  width: 16%;
}
.parameter-schema code {
  font: inherit;
}
.schema-type {
  color: var(--accent-11);
}
.schema-toggle {
  text-align: left;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font-weight: inherit;
  overflow-wrap: anywhere;
}
.parameter-schema .tool-prose {
  margin: 0 0 3px;
}
@container (max-width: 540px) {
  .tool-browser {
    grid-template-columns: minmax(0, 1fr);
  }
  .tool-navigation {
    border-right: 0;
    border-bottom: 1px solid var(--panel-border);
    padding: 0 0 8px;
  }
  .tool-list {
    max-height: 145px;
  }
}
