.app-select.ts-wrapper {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    min-width: 0;
    font-size: inherit;
}
.app-select .ts-control {
    min-height: 44px;
    padding: .85rem 2.5rem .85rem 1rem !important;
    border: 1px solid #d6d3d1;
    border-radius: 1rem;
    background: white !important;
    color: #1c1917;
    font: inherit;
    box-shadow: none;
    flex-wrap: nowrap;
}
.app-select .ts-control::after {
    content: "";
    position: absolute;
    right: 1rem;
    top: 50%;
    width: .5rem;
    height: .5rem;
    border-right: 2px solid #78716c;
    border-bottom: 2px solid #78716c;
    transform: translateY(-75%) rotate(45deg);
    pointer-events: none;
}
.app-select.focus .ts-control {
    border-color: #f59e0b;
    box-shadow: 0 0 0 4px rgb(245 158 11 / 15%);
}
.app-select .ts-control > .item {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}
.app-select .ts-control > input {
    font: inherit;
    color: inherit;
    min-width: 1px;
}
.app-select.dropdown-active .ts-control > .item { display: none; }
.app-select.dropdown-active .ts-control > input {
    position: static;
    opacity: 1;
    flex: 1 1 auto;
    width: 100%;
    margin: 0 !important;
    cursor: text;
}
.app-select.has-items:not(.dropdown-active) .ts-control > input {
    position: absolute;
    left: -10000px;
    opacity: 0;
}
.app-select.disabled .ts-control {
    background: #f5f5f4 !important;
    color: #78716c;
    opacity: 1;
}
.app-select.invalid .ts-control { border-color: #dc2626; }
.app-select.cell-input .ts-control { padding: .4rem 2rem .4rem .5rem !important; border-radius: .5rem; }
.app-select-menu.ts-dropdown {
    position: fixed;
    z-index: 80;
    margin: 0;
    padding: 0;
    border: 1px solid #d6d3d1;
    border-radius: .75rem;
    background: white;
    color: #1c1917;
    font-size: .875rem;
    box-shadow: 0 12px 30px rgb(0 0 0 / 15%);
    overflow: hidden;
}
.app-select-menu .ts-dropdown-content {
    padding: 0;
    max-height: 400px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}
.app-select-menu .option {
    height: 40px;
    padding: 10px 14px;
    line-height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.app-select-menu .option.active { background: #fffbeb; color: #92400e; }
.app-select-menu .option.selected { font-weight: 600; }
.app-select-menu .option[data-value="__quick_create_new__"] { color: #b45309; font-weight: 600; }
.app-select-menu .no-results { padding: 12px 14px; color: #78716c; }
