.taskomania-select { min-width: 0; }
/* Country code picker + number (phone.js) */
.phone-field { display: grid; grid-template-columns: minmax(112px, 36%) 1fr; gap: 8px; align-items: stretch; }
.phone-field input { min-width: 0; }
.taskomania-select select[hidden] { display: none; }
.toolbar > .taskomania-select { flex: 0 1 auto; min-width: 160px; }
.taskomania-select-trigger {
  width: 100%; min-height: 46px; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; padding: 11px 14px;
  border: 1px solid #dce0ef; border-radius: 12px;
  background: linear-gradient(180deg, #fff, #f8f9fe);
  box-shadow: 0 2px 4px #22264a05; color: #222943;
  font-size: 14px; font-weight: 600; text-align: left; line-height: 1.4;
  transition: border-color .15s, box-shadow .15s;
}
.taskomania-select-trigger:hover { border-color: #a49be8; background: #fff; }
.taskomania-select-trigger:focus-visible,
.taskomania-select-trigger[aria-expanded="true"] {
  outline: 0; border-color: #7566dc; box-shadow: 0 0 0 4px #6256d916;
}
.taskomania-select-trigger:disabled { cursor: not-allowed; opacity: .55; }
.taskomania-select-value { min-width: 0; overflow-wrap: anywhere; }
.taskomania-select-chevron {
  width: 26px; height: 26px; flex: 0 0 26px; display: grid; place-items: center;
  border-radius: 8px; background: #efedfb; color: #6256d9;
}
.taskomania-select-chevron::after {
  content: ''; width: 6px; height: 6px; border-right: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor; transform: translateY(-2px) rotate(45deg);
}
[aria-expanded="true"] > .taskomania-select-chevron::after { transform: translateY(2px) rotate(225deg); }
.taskomania-select-menu {
  /* Above .dialog-overlay (200) so pickers inside dialogs are visible. */
  position: fixed; z-index: 210; padding: 7px; margin: 0; overflow-y: auto;
  background: #fff; border: 1px solid #e4e1f2; border-radius: 14px;
  box-shadow: 0 16px 48px #211a4c24, 0 3px 10px #211a4c0d;
  overscroll-behavior: contain;
}
.taskomania-select-option {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 44px; padding: 10px 12px; border-radius: 8px;
  font-size: 14px; line-height: 1.4; color: #414963; cursor: pointer;
  overflow-wrap: anywhere;
}
.taskomania-select-option + .taskomania-select-option { margin-top: 3px; }
.taskomania-select-option[aria-selected="true"] { color: #5142bd; background: #f1efff; font-weight: 700; }
.taskomania-select-option.is-active { box-shadow: inset 0 0 0 1px #b9b0ed; background: #f6f4ff; }
.taskomania-select-check { width: 20px; flex: 0 0 20px; text-align: center; color: #6256d9; }
.taskomania-select-option[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
@media (max-width: 900px) { .taskomania-select-trigger { font-size: 16px; min-height: 48px; } }
