body.house-mode #houseAside .sidebar-tabs{
  grid-template-columns:repeat(5,minmax(0,1fr));
}

.house-object-manager{
  min-width:0;
}

.house-object-search-label{
  display:block;
  margin:0 0 5px;
  color:#68766f;
  font-size:11px;
}

.house-object-search{
  width:100%;
  min-height:34px;
  margin:0 0 7px;
}

.house-object-manager-tools{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
  margin-bottom:7px;
}

.house-object-manager-tools button{
  min-height:31px;
  padding:5px 7px;
  font-size:11px;
}

.house-object-manager-status{
  min-height:18px;
  margin-bottom:5px;
  color:#66746e;
  font-size:11px;
}

.house-object-tree{
  overflow:auto;
  max-height:calc(100vh - 290px);
  margin:0 -5px 8px;
  padding:2px 3px 4px;
  border:1px solid #ddd6ca;
  border-radius:7px;
  background:#fffefa;
}

.house-object-empty{
  padding:18px 10px;
  color:#7c867f;
  text-align:center;
  font-size:12px;
}

.house-object-branch[hidden]{
  display:none;
}

.house-object-row{
  display:grid;
  grid-template-columns:18px minmax(64px,1fr) repeat(4,24px);
  align-items:center;
  gap:2px;
  min-height:31px;
  padding:2px 3px 2px calc(3px + var(--tree-depth,0) * 12px);
  border-radius:5px;
  color:#3f4b46;
}

.house-object-row:hover{
  background:#f1f6f2;
}

.house-object-row.is-selected{
  background:#dcefe9;
  box-shadow:inset 3px 0 #2f806f;
}

.house-object-row.is-hidden .house-object-name{
  color:#8b938f;
  text-decoration:line-through;
}

.house-object-row.is-locked .house-object-name::after{
  content:" · 已锁";
  color:#8a6a42;
  font-size:10px;
}

.house-object-disclosure,
.house-object-action{
  width:24px;
  min-width:24px;
  min-height:25px;
  padding:0;
  border-color:transparent;
  background:transparent;
  color:#69756f;
  font-size:13px;
  line-height:1;
}

.house-object-disclosure{
  width:18px;
  min-width:18px;
}

.house-object-disclosure:disabled{
  opacity:.25;
}

.house-object-action:hover,
.house-object-disclosure:hover{
  border-color:#c9d8d0;
  background:#fff;
}

.house-object-action.is-active{
  color:#247362;
  background:#e5f2ed;
}

.house-object-name{
  overflow:hidden;
  min-width:0;
  min-height:25px;
  padding:3px 4px;
  border-color:transparent;
  background:transparent;
  color:inherit;
  text-align:left;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.house-object-name:hover{
  border-color:transparent;
  background:transparent;
  color:#1e6657;
}

.house-object-kind{
  color:#86908b;
  font-size:10px;
}

@media (max-width:900px){
  body.house-mode #houseAside .sidebar-tabs{
    grid-template-columns:repeat(5,minmax(54px,1fr));
  }
  .house-object-tree{
    max-height:180px;
  }
}
