.vxe-tree-select,
.vxe-tree-select--panel {
  --vxe-ui-tree-select-current-font-size: var(--vxe-ui-font-size-default);
  --vxe-ui-tree-select-current-padding: var(--vxe-ui-layout-padding-default);
}
.vxe-tree-select.size--medium,
.vxe-tree-select--panel.size--medium {
  --vxe-ui-tree-select-current-font-size: var(--vxe-ui-font-size-medium);
  --vxe-ui-tree-select-current-padding: var(--vxe-ui-layout-padding-medium);
}
.vxe-tree-select.size--small,
.vxe-tree-select--panel.size--small {
  --vxe-ui-tree-select-current-font-size: var(--vxe-ui-font-size-small);
  --vxe-ui-tree-select-current-padding: var(--vxe-ui-layout-padding-small);
}
.vxe-tree-select.size--mini,
.vxe-tree-select--panel.size--mini {
  --vxe-ui-tree-select-current-font-size: var(--vxe-ui-font-size-mini);
  --vxe-ui-tree-select-current-padding: var(--vxe-ui-layout-padding-mini);
}

.vxe-tree-select {
  position: relative;
  display: inline-block;
  width: 180px;
  font-size: var(--vxe-ui-tree-select-current-font-size);
  color: var(--vxe-ui-font-color);
  text-align: left;
}
.vxe-tree-select > .vxe-input .vxe-input--inner {
  cursor: pointer;
}
.vxe-tree-select.is--filterable .vxe-tree-select-tree--wrapper {
  padding-top: 0;
}
.vxe-tree-select.is--filterable .vxe-tree-select--panel-header {
  border-top: 1px solid var(--vxe-ui-base-popup-border-color);
}
.vxe-tree-select.is--disabled > .vxe-input .vxe-input--inner {
  cursor: no-drop;
}
.vxe-tree-select.is--loading > .vxe-input .vxe-input--inner {
  cursor: progress;
}
.vxe-tree-select > .vxe-input {
  width: 100%;
}
.vxe-tree-select > .vxe-input .vxe-input--suffix-icon > i {
  display: inline-block;
  transition: transform 0.2s ease-in-out;
}
.vxe-tree-select.is--active:not(.is--filter) > .vxe-input {
  border-color: var(--vxe-ui-font-primary-color);
}

.vxe-tree-select--readonly {
  color: var(--vxe-ui-font-color);
  display: inline-flex;
}

.vxe-tree-select--panel {
  font-size: var(--vxe-ui-tree-select-current-font-size);
  pointer-events: none;
  display: none;
  position: absolute;
  left: 0;
  padding: 4px 0;
  color: var(--vxe-ui-font-color);
  text-align: left;
}
.vxe-tree-select--panel:not(.is--transfer) {
  min-width: 100%;
}
.vxe-tree-select--panel.is--transfer {
  position: fixed;
}
.vxe-tree-select--panel.ani--leave {
  display: block;
  opacity: 0;
  transform: scaleY(0.5);
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  transform-origin: center top;
  backface-visibility: hidden;
}
.vxe-tree-select--panel.ani--leave[placement=top] {
  transform-origin: center bottom;
}
.vxe-tree-select--panel.ani--enter {
  opacity: 1;
  transform: scaleY(1);
}
.vxe-tree-select--panel.ani--enter > div::after {
  display: none;
}
.vxe-tree-select--panel > div::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.vxe-tree-select--panel-search {
  display: block;
  padding: var(--vxe-ui-tree-select-current-padding);
}
.vxe-tree-select--panel-search .vxe-tree-select-search--input {
  width: 100%;
}

.vxe-tree-select--header-button,
.vxe-tree-select--footer-button {
  display: flex;
  flex-direction: row;
  white-space: nowrap;
  align-items: center;
  min-height: 2em;
}

.vxe-tree-select--total-btns {
  padding-left: var(--vxe-ui-tree-select-current-padding);
  flex-grow: 1;
}

.vxe-tree-select--total-btns,
.vxe-tree-select--oper-btns {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.vxe-tree-select--oper-btns {
  flex-shrink: 0;
}

.vxe-tree-select--footer-button,
.vxe-tree-select--selected-btns,
.vxe-tree-select--expand-btns {
  display: flex;
  flex-direction: row;
  flex-grow: 1;
}

.vxe-tree-select--selected-btns + .vxe-tree-select--expand-btns {
  padding-left: 2.2em;
}

.vxe-tree-select--panel-wrapper {
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: var(--vxe-ui-base-border-radius);
  border: 1px solid var(--vxe-ui-base-popup-border-color);
  box-shadow: var(--vxe-ui-base-popup-box-shadow);
  background-color: var(--vxe-ui-layout-background-color);
  pointer-events: auto;
}

.vxe-tree-select--panel-header {
  border-bottom: 1px solid var(--vxe-ui-base-popup-border-color);
}

.vxe-tree-select--panel-footer {
  border-top: 1px solid var(--vxe-ui-base-popup-border-color);
}

.vxe-tree-select--panel-header,
.vxe-tree-select--panel-footer {
  padding: 4px 0;
}

.vxe-tree-select-tree--wrapper {
  position: relative;
  overflow: auto;
  padding: var(--vxe-ui-tree-select-current-padding) 0;
  outline: 0;
}

.vxe-tree-select--tree {
  --vxe-ui-tree-node-padding: var(--vxe-ui-tree-select-current-padding);
  width: 100%;
}
.vxe-tree-select--tree .vxe-tree--node-item.is-radio--checked > .vxe-tree--node-item-inner, .vxe-tree-select--tree .vxe-tree--node-item.is-checkbox--checked > .vxe-tree--node-item-inner {
  color: var(--vxe-ui-font-primary-color);
}
.vxe-tree-select--tree .vxe-tree--node-item-inner {
  cursor: pointer;
}