.tk-project-filter {
  --potok-project-filter-ink: #071528;
  --potok-project-filter-line: #d5dde7;
  position: relative;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #687487;
  font-size: 11px;
  font-weight: 700;
}
.tk-project-select { position: relative; width: 164px; }
.tk-project-native {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.tk-project-trigger {
  box-sizing: border-box;
  width: 100%;
  height: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  align-items: center;
  gap: 8px;
  padding: 0 8px 0 11px;
  border: 1px solid var(--potok-project-filter-line);
  border-radius: 8px;
  color: var(--potok-project-filter-ink);
  background: #fff;
  box-shadow: 0 2px 8px rgb(18 32 51 / 4%);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  text-align: left;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.tk-project-trigger span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tk-project-trigger i {
  justify-self: center;
  font-size: 16px;
  transition: transform .2s cubic-bezier(.22, .8, .24, 1);
}
.tk-project-trigger:hover { border-color: #bac7d6; background: #f8fafc; box-shadow: 0 4px 12px rgb(18 32 51 / 8%); }
.tk-project-trigger:focus-visible { border-color: #8eb1ff; outline: 2px solid rgb(36 107 254 / 18%); outline-offset: 1px; }
.tk-project-filter.is-open .tk-project-trigger { border-color: #9bb9ef; background: #fbfdff; box-shadow: 0 0 0 3px rgb(36 107 254 / 10%); }
.tk-project-filter.is-open .tk-project-trigger i { transform: rotate(180deg); }
.tk-project-menu {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  width: 100%;
  display: grid;
  overflow: hidden;
  isolation: isolate;
  gap: 2px;
  padding: 5px;
  border: 1px solid #d5dee9;
  border-radius: 10px;
  background: rgb(255 255 255 / 98%);
  box-shadow: 0 14px 34px rgb(18 32 51 / 16%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, visibility .18s ease;
}
.tk-project-highlight {
  position: absolute;
  z-index: 0;
  top: 5px;
  left: 5px;
  right: 5px;
  height: 32px;
  border-radius: 7px;
  background: #e9f1ff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(var(--potok-project-highlight-y, 0));
  transition: transform .18s cubic-bezier(.22, .8, .24, 1), opacity .12s ease;
}
.tk-project-menu.is-highlight-ready .tk-project-highlight { opacity: 1; }
.tk-project-menu[hidden] { display: none; }
.tk-project-menu.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.tk-project-menu button {
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 32px;
  display: flex;
  align-items: center;
  padding: 0 9px;
  border: 0;
  border-radius: 7px;
  color: #233247;
  background: transparent;
  cursor: pointer;
  transform: none;
  font-family: inherit;
  font-size: 12px;
  font-style: normal;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0;
  text-align: left;
  transition: color .15s ease, background-color .15s ease;
}
.tk-project-menu button:hover,
.tk-project-menu button:focus-visible { outline: 0; color: #154ea7; background: transparent; transform: none; }
.tk-project-menu button[aria-selected="true"] { color: #174f9f; background: transparent; transform: none; }

@media (max-width: 899px) {
  .tk-project-select { width: 142px; }
}

@media (prefers-reduced-motion: reduce) {
  .tk-project-trigger,
  .tk-project-trigger i,
  .tk-project-menu,
  .tk-project-menu button,
  .tk-project-highlight { transition-duration: .01ms !important; }
}
