/* Match the searchable task-list filter with compact task action sizing. */
.tt-parent-select { position: relative; flex: 1; min-width: 0; width: 100%; }
:where(.tt-task-detail) .tt-task-transfer-card__form.tt-parent-move-form {
  display: flex; flex-direction: column; align-items: stretch; width: 100%;
}
:where(.tt-task-detail) .tt-parent-move-form > .btn { align-self: flex-start; }
.tt-parent-select [hidden] { display: none !important; }
.tt-parent-select.is-enhanced .tt-searchable-select__native {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap;
}
.tt-parent-select .tt-searchable-select__trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; min-height: 34px; padding: 6px 10px; text-align: left;
  border: 1px solid var(--cu-border); border-radius: 8px;
  color: var(--cu-text); background: var(--cu-surface); font-size: .875rem;
}
.tt-parent-select .tt-searchable-select__trigger span {
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tt-parent-select .tt-searchable-select__trigger:disabled { opacity: .6; cursor: not-allowed; }
.tt-parent-select .tt-searchable-select__menu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 85;
  width: max(100%, 360px); max-width: calc(100vw - 48px);
  padding: 6px; border: 1px solid var(--cu-border); border-radius: 11px;
  background: var(--cu-surface); box-shadow: var(--cu-shadow-lg);
}
.tt-parent-select .tt-searchable-select__menu > input {
  width: 100%; padding: 7px 9px; margin-bottom: 5px;
  border: 1px solid var(--cu-border); border-radius: 8px;
  color: var(--cu-text); background: var(--cu-surface); font-size: .875rem;
}
.tt-parent-select [data-searchable-options] { display: grid; max-height: 230px; overflow: auto; }
.tt-parent-select .tt-searchable-select__option {
  padding: 8px 9px; border: 0; border-radius: 7px; color: var(--cu-text);
  background: transparent; font-size: .875rem; text-align: left; overflow-wrap: anywhere;
}
.tt-parent-select .tt-searchable-select__option:hover,
.tt-parent-select .tt-searchable-select__option[aria-selected="true"] { background: var(--cu-hover); }
.tt-parent-select button:focus-visible,
.tt-parent-select input:focus-visible { outline: 2px solid var(--bs-primary); outline-offset: 1px; }
.tt-parent-select [data-searchable-empty] { display: block; padding: 8px 9px; color: var(--cu-dim); }
