/* Landing Factory 2.1.1 — shared RU telephone control.
   Used unchanged by legacy PHP, HTML/Tailwind and Astro/Tailwind.
   The prefix is NOT editable; an author-approved reference may override tokens. */
.lf-phone-control[data-lf-phone] {
  box-sizing:border-box;
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  min-width:0;
  min-height:50px;
  border:1px solid var(--lf-phone-border,#cbd9de);
  border-radius:var(--lf-phone-radius,10px);
  background:var(--lf-phone-background,#fbfdfd);
  color:var(--lf-phone-text,inherit);
  overflow:hidden;
  transition:border-color .18s ease,box-shadow .18s ease;
}
.lf-phone-control[data-lf-phone]:focus-within {
  border-color:var(--lf-phone-focus,#247c88);
  box-shadow:0 0 0 3px var(--lf-phone-focus-ring,#247c8835);
}
.lf-phone-control[data-lf-phone] > .lf-phone-prefix {
  box-sizing:border-box;
  display:block;
  flex:0 0 auto;
  padding-inline-start:14px;
  margin:0;
  color:inherit;
  font-family:inherit;
  font-size:16px;
  font-weight:650;
  line-height:1.3;
  white-space:nowrap;
  user-select:none;
  -webkit-user-select:none;
  pointer-events:none;
}
/* Keep the input inside the same focused border, even under site/form presets. */
.lf-phone-control[data-lf-phone] > input[data-ru-phone],
.form-card .lf-phone-control[data-lf-phone] > input[data-ru-phone] {
  box-sizing:border-box;
  display:block;
  flex:1 1 0%;
  min-width:0;
  width:100%;
  min-height:48px;
  height:auto;
  margin:0;
  padding:11px 12px 11px 0;
  border:0;
  border-radius:0;
  outline:0;
  box-shadow:none;
  background:transparent;
  color:inherit;
  font-family:inherit;
  font-size:16px;
  line-height:1.4;
  letter-spacing:normal;
  caret-color:currentColor;
  text-align:start;
  -webkit-appearance:none;
  appearance:none;
}
.lf-phone-control[data-lf-phone] > input[data-ru-phone]:focus,
.lf-phone-control[data-lf-phone] > input[data-ru-phone]:focus-visible,
.form-card .lf-phone-control[data-lf-phone] > input[data-ru-phone]:focus,
.form-card .lf-phone-control[data-lf-phone] > input[data-ru-phone]:focus-visible {
  outline:0;
  border:0;
  box-shadow:none;
}
.lf-phone-control[data-lf-phone] > input[data-ru-phone]::placeholder {
  color:var(--lf-phone-placeholder,#68777f);
  opacity:1;
}
.lf-phone-control[data-lf-phone] > input[data-ru-phone]::selection {
  background:#b6e5ed;
  color:#143744;
}
.lf-phone-control[data-lf-phone]:has(> input[data-ru-phone]:user-invalid) {
  border-color:var(--lf-phone-error,#b83f45);
}
/* Preserve background and inner spacing when a browser inserts a saved phone. */
.lf-phone-control[data-lf-phone] > input[data-ru-phone]:-webkit-autofill {
  -webkit-text-fill-color:var(--lf-phone-text,#173246);
  -webkit-box-shadow:0 0 0 1000px var(--lf-phone-background,#fbfdfd) inset;
  animation-name:lf-autofill-detected;
  animation-duration:.01s;
}
@media(prefers-reduced-motion:reduce) {
  .lf-phone-control[data-lf-phone] {transition:none;}
}
