.tf-r37-number-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  margin-top: 2px;
  color: #5f6d66;
  font-size: .84rem;
  line-height: 1.35;
}

.tf-r37-number-status[data-state="ready"] { color: #126b4f; }
.tf-r37-number-status[data-state="error"] { color: #8b2d20; }
.tf-r37-number-status [hidden] { display: none !important; }

.tf-r37-customer-picker {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  width: 100%;
  min-width: 0;
}

.tf-r37-customer-picker > input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  border-radius: 9px 0 0 9px !important;
}

.tf-r37-customer-toggle {
  min-height: 46px;
  border: 1px solid #cfd9d4;
  border-left: 0;
  border-radius: 0 9px 9px 0;
  background: #fff;
  color: #1d332a;
  font-size: 22px;
}

.tf-r37-customer-picker > input:focus,
.tf-r37-customer-toggle:focus {
  outline: 3px solid rgba(18, 107, 79, .2);
  outline-offset: 1px;
}

.tf-r37-customer-list {
  position: absolute;
  z-index: 100040;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  max-height: min(320px, 48vh);
  overflow: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  padding: 5px;
  border: 1px solid #bdcbc4;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(10, 47, 36, .22);
}

.tf-r37-customer-list[hidden] { display: none !important; }

.tf-r37-customer-list button {
  display: block;
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 7px;
  padding: 10px 11px;
  background: #fff;
  color: #17211d;
  text-align: left;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.tf-r37-customer-list button:hover,
.tf-r37-customer-list button.active {
  background: #eaf3ef;
  color: #0d5a41;
}

.tf-r37-customer-empty,
.tf-r37-customer-more {
  padding: 10px 11px;
  color: #65736c;
  font-size: .88rem;
}

@media (max-width: 560px) {
  .tf-r37-customer-list {
    width: 100%;
    max-width: calc(100vw - 52px);
  }

  .tf-r37-number-status {
    align-items: flex-start;
    flex-direction: column;
  }
}
