.tree-row {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  border-radius: 4px;
  padding: 2px 5px;
}
.tree-row:hover { background: #f1f5f9; }
.tree-toggle {
  width: 24px;
  height: 24px;
  padding: 0;
  border-radius: 4px;
  background: transparent;
  color: #145b91;
  font-size: 24px;
  line-height: 20px;
  transition: transform .12s;
}
.tree-toggle:hover { background: #dbeafe; }
.tree-spacer { display: inline-block; width: 24px; flex: 0 0 24px; }
.eewbs-node.collapsed > ul { display: none; }
.eewbs-node:not(.collapsed) > .tree-row > .tree-toggle { transform: rotate(90deg); }
.tree-tools {
  background: #f4f7fa;
  border: 1px solid #dce3ea;
  border-radius: 7px;
  padding: 12px;
  margin-bottom: 12px;
}
.tree-search-row {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) auto auto;
  gap: 8px;
  margin-top: 5px;
}
.tree-search-row input { margin: 0; }
.eewbs-node.search-hidden { display: none; }
.eewbs-node.search-match > .tree-row {
  background: #fff3cd;
  box-shadow: inset 3px 0 #d69e00;
}
.eewbs-node.search-context > .tree-row { background: #edf6ff; }
.tree-empty {
  padding: 18px;
  text-align: center;
  color: #64748b;
  background: #f8fafc;
  border-radius: 6px;
}
@media (max-width: 700px) {
  .tree-search-row { grid-template-columns: 1fr 1fr; }
  .tree-search-row input { grid-column: 1 / -1; }
  .tree-row { align-items: flex-start; flex-wrap: wrap; }
  .tree-row .muted { margin-left: 31px; }
}

input:disabled,
input[readonly],
select:disabled,
textarea:disabled {
  background: #e5e7eb;
  color: #475569;
  cursor: not-allowed;
}
.select-search {
  border-color: #7ca4c4;
  background: #f8fbfe;
}
.schedule-row { align-items: end; }
