.user-picker {
  position: relative;
  width: 100%;
  min-width: 0;
}

.user-picker [hidden] {
  display: none !important;
}

.user-picker-current {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  min-height: 42px;
  border: 1px solid #CFC1B7;
  border-radius: 9px;
  background: white;
  overflow: hidden;
}

.user-picker-current-main,
.user-picker-clear,
.user-picker-option {
  border: 0;
  font: inherit;
}

.user-picker-current-main {
  display: grid;
  gap: 1px;
  min-width: 0;
  padding: 7px 10px;
  text-align: left;
  background: white;
  color: var(--sheet-dark-green);
}

.user-picker-current-main strong,
.user-picker-current-main small,
.user-picker-option strong,
.user-picker-option small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-picker-current-main strong,
.user-picker-option strong {
  font-size: 12px;
  font-weight: 800;
}

.user-picker-current-main small,
.user-picker-option small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.user-picker-clear {
  width: 38px;
  padding: 0;
  border-left: 1px solid var(--border);
  background: #FBF8F5;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
}

.user-picker-combobox {
  position: relative;
}

.user-picker-combobox > input {
  min-height: 42px;
  padding-right: 34px;
}

.user-picker-results {
  position: absolute;
  z-index: 60;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  max-height: 320px;
  overflow-y: auto;
  padding: 5px;
  border: 1px solid #CFC1B7;
  border-radius: 10px;
  background: white;
  box-shadow: 0 16px 36px rgba(43, 54, 51, .16);
}

.user-picker-option {
  display: grid;
  width: 100%;
  gap: 2px;
  padding: 9px 10px;
  border-radius: 7px;
  text-align: left;
  background: white;
  color: var(--text);
}

.user-picker-option.is-active,
.user-picker-option:focus-visible {
  outline: none;
  background: #EDF4F1;
}

.user-picker-option:disabled {
  background: #F7F5F3;
  color: #9A928C;
  cursor: not-allowed;
  opacity: .68;
}

.user-picker-option:disabled strong,
.user-picker-option:disabled small {
  color: inherit;
}

.user-picker-status {
  display: block;
  margin-top: 2px;
  color: #8E8680;
  font-size: 10px;
  font-weight: 800;
}

.user-picker-message {
  padding: 10px;
  color: var(--muted);
  font-size: 11px;
}

.structure-field,
.user-picker-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.structure-field-label,
.user-picker-field-label {
  color: var(--sheet-dark-green);
  font-size: 12px;
  font-weight: 800;
}

.coach-user-picker-form {
  align-items: end;
}

.coach-user-picker-form .user-picker-field {
  min-width: 0;
}

@media (max-width: 680px) {
  .user-picker-results {
    max-height: 260px;
  }
}
