.boc-user-picker {
  position: relative;
  z-index: 0;
}
.boc-user-picker:focus-within { z-index: 40; }
.boc-user-picker > label {
  display: block;
  margin-bottom: 6px;
}
.boc-user-picker__body {
  position: relative;
  border: 1px solid var(--boc-ui-form-input-border, #c8d1dc);
  border-radius: var(--boc-ui-filter-input-radius, 8px);
  background: var(--boc-ui-form-input-bg, #fff);
  color: var(--boc-ui-form-input-text, #1f2937);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.boc-user-picker__body:focus-within {
  border-color: var(--boc-ui-filter-input-focus, #2271b1);
  box-shadow: 0 0 0 1px var(--boc-ui-filter-input-focus, #2271b1);
}
.boc-user-picker__control { min-width: 0; }
.boc-user-picker__search {
  box-sizing: border-box;
  width: 100%;
  min-height: 42px;
  margin: 0;
  padding: 9px 11px;
  border: 0 !important;
  border-radius: inherit;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit;
}
.boc-user-picker__search:focus { outline: 0; }
.boc-user-picker__search::placeholder { color: var(--boc-ui-form-input-placeholder, #6b7280); }
.boc-user-picker__tokens {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.boc-user-picker__tokens:empty { display: none; }
.boc-user-picker--multiple .boc-user-picker__tokens {
  padding: 8px 10px;
  border-top: 1px solid var(--boc-ui-form-input-border, #dcdcde);
}
.boc-user-picker--single .boc-user-picker__tokens {
  padding: 8px 10px;
  border-top: 1px solid var(--boc-ui-form-input-border, #dcdcde);
  background: #f6f8fa;
}
.boc-user-picker--single.boc-user-picker--has-selection .boc-user-picker__control,
.boc-user-picker--single.boc-user-picker--has-selection .boc-user-picker__status {
  display: none;
}
.boc-user-picker--single.boc-user-picker--has-selection .boc-user-picker__tokens {
  border-top: 0;
}
.boc-user-picker__token {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  gap: 6px;
  padding: 4px 7px;
  border: 1px solid #c8d6e5;
  border-radius: 999px;
  background: #eef4fa;
  color: #1f3c5a;
  line-height: 1.35;
}
.boc-user-picker__token span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.boc-user-picker--single .boc-user-picker__token {
  width: 100%;
  justify-content: space-between;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #1f2937;
  font-weight: 600;
}
.boc-user-picker--single .boc-user-picker__token::before {
  content: "Selected";
  flex: 0 0 auto;
  color: #526273;
  font-size: .78em;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.boc-user-picker--single .boc-user-picker__token span { margin-right: auto; }
.boc-user-picker__token button {
  flex: 0 0 auto;
  width: auto;
  min-width: 22px;
  min-height: 22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #3c536b;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
.boc-user-picker__token button:hover { background: #dbe7f2; color: #172941; }
.boc-user-picker__token button:focus-visible {
  outline: 2px solid var(--boc-ui-filter-input-focus, #2271b1);
  outline-offset: 1px;
}
.boc-user-picker__status {
  min-height: 1.4em;
  padding: 0 11px 8px;
  color: var(--boc-ui-form-description, #526273);
  font-size: .84em;
  line-height: 1.4;
}
.boc-user-picker__status:empty { display: none; }
.boc-user-picker__results {
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  left: 0;
  max-height: 240px;
  overflow-y: auto;
  border: 1px solid #8c9bab;
  border-radius: var(--boc-ui-filter-input-radius, 8px);
  background: #fff;
  box-shadow: 0 10px 24px rgb(24 45 68 / 18%);
  z-index: 50;
}
.boc-user-picker__option {
  display: block;
  width: 100%;
  padding: 9px 11px;
  border: 0;
  border-bottom: 1px solid #e5e9ee;
  background: #fff;
  color: #1f2937;
  cursor: pointer;
  text-align: left;
}
.boc-user-picker__option:last-child { border-bottom: 0; }
.boc-user-picker__option:hover,
.boc-user-picker__option.is-active,
.boc-user-picker__option:focus { background: #eaf3fb; color: #123f68; outline: 0; }
.boc-user-picker__option:focus-visible { box-shadow: inset 0 0 0 2px var(--boc-ui-filter-input-focus, #2271b1); }
