.sidebar {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  gap: 5px;
}
.tree-panel {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.tree-controls {
  padding: 0 9px 8px;
}
.tree-controls .rt-TextFieldRoot {
  background: var(--panel-raised);
  box-shadow: none;
  border: 1px solid var(--panel-border);
  font-size: 11px;
}
.filter-pills {
  display: flex;
  gap: 4px;
  margin-top: 7px;
}
.filter-pills button {
  flex: 1;
  padding: 4px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--secondary);
  font-size: 11px;
}
.filter-pills button[aria-pressed="true"] {
  background: var(--selected-bg);
  color: var(--blue-11);
}
.tree-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 2px 5px;
}
.tree-row {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 2px;
}
.tree-row .rt-IconButton {
  width: 18px;
  height: 22px;
  flex-shrink: 0;
  color: var(--muted);
}
.tree-spacer {
  width: 18px;
  flex-shrink: 0;
}
.node {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 5px 4px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--gray-12);
  text-align: left;
}
.node:hover {
  background: var(--surface-hover);
}
.node[aria-current="true"] {
  background: var(--selected-bg);
  box-shadow: inset 2px 0 var(--blue-9);
}
.node-copy {
  min-width: 0;
  flex: 1;
  display: block;
}
.node-title {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  white-space: nowrap;
}
.node-title strong {
  font-size: 11px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
}
.node-title small {
  font:
    10px / 1.4 Consolas,
    monospace;
  color: var(--muted);
  flex-shrink: 0;
}
.node-description {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--secondary);
  font-size: 10px;
  line-height: 15px;
}
.tree-count,
.nav-pagination {
  border-top: 1px solid var(--panel-border);
  padding: 6px;
  color: var(--muted);
  text-align: center;
  font-size: 10px;
}
.nav-pagination {
  display: flex;
  justify-content: space-between;
  gap: 4px;
}
.nav-pagination button {
  background: none;
  border: 0;
  color: var(--secondary);
  font-size: 10px;
}
.filter-panel {
  flex-shrink: 0;
  padding: 0 9px;
}
.filters-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 6px;
  background: none;
  border: 0;
  color: var(--secondary);
  padding: 8px 0;
  font-size: 12px;
}
.filters-toggle svg {
  width: 14px;
}
.filter-check {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 8px 0;
  font-size: 11px;
  color: var(--secondary);
  cursor: pointer;
}
.filter-panel .rt-Flex {
  padding-bottom: 9px;
}
.filter-panel .rt-SelectTrigger {
  max-width: 135px;
  font-size: 11px;
}
.inspector-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}
.inspector-identity {
  padding: 2px 10px 8px;
}
.inspector-identity .rt-Heading {
  font-size: 14px;
  line-height: 20px;
  overflow-wrap: anywhere;
}
.inspector-identity .rt-Text {
  font-size: 11px;
  line-height: 16px;
}
.inspector-tabs {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 8px 8px;
}
.inspector-tabs > .rt-TabsList {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--panel-bg);
  margin-bottom: 6px;
  flex-shrink: 0;
}
.inspector-tabs .rt-TabsTrigger {
  padding: 0 7px;
  height: 31px;
  font-size: 11px;
  white-space: nowrap;
  flex-shrink: 0;
  text-transform: capitalize;
}
.inspector-tabs .rt-TabsTriggerInner,
.inspector-tabs .rt-TabsTriggerInnerHidden {
  padding: 0;
}
.inspector-tabs .rt-TabsContent {
  padding-top: 0;
}
.format-toolbar {
  display: flex;
  justify-content: end;
  padding: 3px 0 6px;
}
.inspector-metadata {
  padding: 0 3px 5px;
}
.inspector-metadata .metadata > div {
  border-bottom: 1px solid var(--panel-border);
}
.related {
  border-top: 1px solid var(--panel-border);
  padding: 5px 0;
  margin-top: 8px;
}
.related > .rt-Button {
  width: 100%;
  justify-content: space-between;
}
.related button:not(.rt-Button) {
  display: block;
  padding: 7px 4px;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: var(--secondary);
  font-size: 11px;
}
.inventory-card {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--panel-border);
  border-radius: 0;
  box-shadow: none;
  margin: 6px 0;
  padding: 9px 2px;
}
.inventory-card .rt-Flex {
  margin: 5px 0;
}
.inventory-card .rt-Text {
  overflow-wrap: anywhere;
  font-size: 11px;
}
