.order-phone-field { min-width: 0; }
.order-phone-field > input { display: block; width: 100%; min-width: 0; }
.ts-lead:has(> .order-phone-field) > input { align-self: start; }

.order-phone-warning {
  margin: 0;
  color: var(--copy);
  font-size: 12.5px;
  line-height: 1.45;
}
.order-phone-warning:not(:empty) {
  margin-top: 7px;
  padding: 9px 12px;
  border-radius: 9px;
  background: var(--phone-warning-surface, var(--surface));
}

.order-phone-switch {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  max-width: 100%;
  margin-top: 3px;
  padding: 2px 0;
  border: 0;
  background: transparent;
  color: var(--copy);
  text-align: left;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.order-phone-switch:hover,
.order-phone-switch[aria-checked='true'] { color: var(--ink); }
.order-phone-switch:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.order-phone-switch::before {
  content: '';
  box-sizing: border-box;
  width: 27px;
  height: 15px;
  flex: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: radial-gradient(circle at 7px center,var(--paper) 4px,transparent 4.5px),var(--graph);
}
.order-phone-switch[aria-checked='true']::before {
  background: radial-gradient(circle at 18px center,var(--paper) 4px,transparent 4.5px),var(--ink);
}

@media (max-width: 560px) {
  .order-phone-switch { min-height: 44px; }
}
