
/* tree */
.tree-ui-search,
.tree-ui-item,
.tree-ui-result,
.tree-ui-back {
    display: block;
    width: 100%;
    margin: 0;
    padding: 12px 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    appearance: none;
}

.tree-ui-search:active,
.tree-ui-item:active,
.tree-ui-result:active,
.tree-ui-back:active {
    background: rgba(0, 0, 0, 0.04);
}

.tree-ui-search {
    color: #77736c;
}

.tree-ui-search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.tree-ui-search-input {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid #d8d0c2;
    border-radius: 6px;
    background: #fff;
    color: var(--color-text);
    font: inherit;
    outline: none;
}

.tree-ui-search-input:focus {
    border-color: var(--color-accent);
}

.tree-ui-search-close {
    flex: 0 0 auto;
    padding: 8px 12px;
    border: 0;
    background: none;
    color: #77736c;
    font: inherit;
    font-size: 1.4em;
    cursor: pointer;
}

.tree-ui-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tree-ui-item-marker {
    width: 3px;
    height: 1.2em;
    flex: 0 0 3px;
    background: var(--color-accent);
}

.tree-ui-item-label {
    flex: 1;
    min-width: 0;
}

.tree-ui-results {
    width: 100%;
}

.tree-ui-result {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tree-ui-result-marker {
    flex: 0 0 12px;
    width: 12px;
    text-align: center;
    color: var(--color-accent);
}

.tree-ui-result-label {
    flex: 1;
    min-width: 0;
}

.tree-ui-result-section {
}

.tree-ui-result-bubble {
}

.tree-ui-back {
    margin-top: 12px;
}
