/* SEBE WhatsApp - цвета страниц входа и регистрации */
:root {
  --lg-ink: #0f172a; --lg-muted: #64748b; --lg-label: #475569; --lg-line: #e2e8f0; --lg-input: #fff; --lg-card: #fff; --lg-bg: #f3f7f5; --lg-tabs: #eef3f0;
  --lg-glow1: rgba(37, 211, 102, .32); --lg-glow2: rgba(15, 159, 110, .3); --lg-glow3: rgba(125, 211, 252, .35); --lg-grid: rgba(15, 159, 110, .06); --lg-shadow: rgba(10, 60, 40, .14);
  --lg-side: radial-gradient(500px 400px at 100% 0%, rgba(110, 231, 183, .32), transparent 60%), linear-gradient(160deg, #063b2c 0%, #0b5c43 58%, #0a4f3a 100%);
  --lg-ring: rgba(110, 231, 183, .25); --lg-ring2: rgba(110, 231, 183, .06); --lg-ring3: rgba(110, 231, 183, .04); --lg-dot: #6ee7b7; --lg-dot-soft: rgba(110, 231, 183, .18);
  --lg-accent: #0f9f6e; --lg-link: #0b7d57; --lg-focus: rgba(15, 159, 110, .14); --lg-grad: linear-gradient(90deg, #25d366, #0f9f6e); --lg-btn-shadow: rgba(15, 159, 110, .3);
  --lg-step-bg: #e3f8ee; --lg-step-ink: #0b7d57; --lg-info-bg: #ecfdf5; --lg-info-ink: #065f46; --lg-info-line: #a7f3d0;
}
/* Вход и регистрация в две колонки, одинаково во всех продуктах.
   Цвета продукта - переменные --lg-*, задаются выше этого блока. */
html, body { min-height: 100%; }
body.lg { margin: 0; color: var(--lg-ink); font-family: var(--lg-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif); background: var(--lg-bg); position: relative; isolation: isolate; -webkit-font-smoothing: antialiased; }
/* фон: три мягких пятна медленно плывут (только transform - без нагрузки), сверху едва заметная сетка */
.lg-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: linear-gradient(var(--lg-grid) 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(90deg, var(--lg-grid) 1px, transparent 1px) 0 0 / 56px 56px, var(--lg-bg); }
.lg-bg::before, .lg-bg::after, .lg-bg i { content: ''; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .85; will-change: transform; }
.lg-bg::before { width: 60vmax; height: 60vmax; left: -22vmax; top: -24vmax; background: var(--lg-glow1); animation: lgDrift1 26s ease-in-out infinite alternate; }
.lg-bg::after { width: 56vmax; height: 56vmax; right: -20vmax; bottom: -26vmax; background: var(--lg-glow2); animation: lgDrift2 32s ease-in-out infinite alternate; }
.lg-bg i { width: 34vmax; height: 34vmax; left: 50%; top: 55%; margin: -17vmax 0 0 -17vmax; background: var(--lg-glow3); opacity: .55; animation: lgDrift3 38s ease-in-out infinite alternate; }
@keyframes lgDrift1 { to { transform: translate(14vmax, 10vmax) scale(1.12); } }
@keyframes lgDrift2 { to { transform: translate(-12vmax, -14vmax) scale(1.08); } }
@keyframes lgDrift3 { to { transform: translate(-16vmax, 8vmax) scale(.92); } }
.lg-wrap { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; box-sizing: border-box;
  padding: max(24px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom)); }
.lg-card { width: min(960px, 100%); display: grid; grid-template-columns: 1fr 1.08fr; background: var(--lg-card); border-radius: 28px; overflow: hidden;
  box-shadow: 0 30px 80px var(--lg-shadow), 0 2px 6px rgba(15, 23, 42, .05), inset 0 0 0 1px rgba(255, 255, 255, .6); animation: lgIn .7s cubic-bezier(.22, 1, .36, 1) both; }
.lg-card--wide { width: min(1040px, 100%); }
@keyframes lgIn { from { opacity: 0; transform: translateY(22px) scale(.97); } to { opacity: 1; transform: none; } }
/* содержимое правой части выезжает по очереди, как на экранах входа Apple */
.lg-main > *, .lg-main form > * { animation: lgUp .6s cubic-bezier(.22, 1, .36, 1) both; }
.lg-main > :nth-child(1), .lg-main form > :nth-child(1) { animation-delay: .12s; } .lg-main > :nth-child(2), .lg-main form > :nth-child(2) { animation-delay: .17s; }
.lg-main > :nth-child(3), .lg-main form > :nth-child(3) { animation-delay: .22s; } .lg-main > :nth-child(4), .lg-main form > :nth-child(4) { animation-delay: .27s; }
.lg-main > :nth-child(5), .lg-main form > :nth-child(5) { animation-delay: .32s; } .lg-main > :nth-child(6), .lg-main form > :nth-child(6) { animation-delay: .37s; }
.lg-main > :nth-child(n+7), .lg-main form > :nth-child(n+7) { animation-delay: .42s; }
@keyframes lgUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.lg-side > * { animation: lgUp .7s cubic-bezier(.22, 1, .36, 1) .08s both; }
.lg-side::after { animation: lgRing 14s ease-in-out infinite alternate; }
@keyframes lgRing { to { transform: translate(-10px, -14px) scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .lg-card, .lg-main > *, .lg-main form > *, .lg-side > *, .lg-side::after, .lg-bg::before, .lg-bg::after, .lg-bg i { animation: none !important; } }
.lg-side { position: relative; padding: 40px 36px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; background: var(--lg-side); }
.lg-side::after { content: ''; position: absolute; right: -90px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%;
  border: 2px solid var(--lg-ring); box-shadow: 0 0 0 30px var(--lg-ring2), 0 0 0 62px var(--lg-ring3); pointer-events: none; }
.lg-brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 19px; letter-spacing: -.2px; }
.lg-brand img { width: 44px; height: 44px; border-radius: 13px; background: rgba(255, 255, 255, .14); padding: 4px; box-sizing: border-box; }
.lg-brand small { display: block; font-weight: 500; font-size: 12.5px; opacity: .75; letter-spacing: 0; }
.lg-side h1 { font-size: 30px; line-height: 1.15; font-weight: 800; letter-spacing: -.5px; margin: 28px 0 10px; }
.lg-side p { margin: 0; color: rgba(255, 255, 255, .8); font-size: 14.5px; line-height: 1.55; max-width: 330px; }
.lg-feats { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; font-size: 13.5px; color: rgba(255, 255, 255, .9); }
.lg-feats li { display: flex; gap: 10px; align-items: center; }
.lg-feats li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--lg-dot); box-shadow: 0 0 0 4px var(--lg-dot-soft); flex: none; }
.lg-side .lg-foot-side { position: relative; z-index: 1; margin-top: 28px; font-size: 12.5px; color: rgba(255, 255, 255, .62); }
.lg-side a { color: #fff; }
.lg-main { padding: 36px 38px 30px; display: flex; flex-direction: column; min-width: 0; }
.lg-main h2 { font-size: 22px; font-weight: 800; margin: 0 0 4px; letter-spacing: -.3px; color: var(--lg-ink); }
.lg-sub { color: var(--lg-muted); font-size: 13.5px; margin: 0 0 20px; line-height: 1.5; }
.lg-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--lg-tabs); border-radius: 14px; padding: 4px; margin-bottom: 22px; }
.lg-tabs button { border: 0; background: transparent; height: 40px; border-radius: 11px; font: inherit; font-weight: 600; font-size: 14px; color: var(--lg-muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px; transition: background .2s, color .2s, box-shadow .2s; }
.lg-tabs button.is-on { background: var(--lg-card); color: var(--lg-ink); box-shadow: 0 2px 8px rgba(15, 23, 42, .08); animation: lgTab .35s cubic-bezier(.22, 1, .36, 1); }
@keyframes lgTab { from { transform: scale(.96); } to { transform: none; } }
.lg-pane { animation: lgUp .4s cubic-bezier(.22, 1, .36, 1) both; }
.lg-tabs svg { width: 17px; height: 17px; }
.lg-pane[hidden] { display: none !important; }
.lg-field { display: block; margin-bottom: 14px; }
.lg-field > span, .lg-field > label { display: block; font-size: 12.5px; font-weight: 600; color: var(--lg-label); margin-bottom: 6px; }
.lg-field input, .lg-field select { height: 48px; border-radius: 13px; font: inherit; font-size: 15px; width: 100%; box-sizing: border-box; padding: 0 14px;
  border: 1px solid var(--lg-line); background: var(--lg-input); color: var(--lg-ink); outline: none; transition: border-color .15s, box-shadow .15s; }
.lg-field input:focus, .lg-field select:focus { border-color: var(--lg-accent); box-shadow: 0 0 0 4px var(--lg-focus); }
/* страницы booking и shop: подписи и поля без обёртки .lg-field - те же размеры */
body.lg { display: block !important; padding: 0 !important; place-items: unset !important; }
.lg-main :is(form, .lg-form) label:not(.check):not(.lg-check):not(.lg-rem):not(.reg__accept):not(.types label):not(.lg-field), .lg-main .lg-label { display: block; font-size: 12.5px; font-weight: 600; color: var(--lg-label); margin: 12px 0 6px; }
.lg-main :is(form, .lg-form) label.field { margin: 0 0 12px; display: flex; flex-direction: column; gap: 6px; }
.lg-main :is(form, .lg-form) label.field > span { font-size: 12.5px; font-weight: 600; color: var(--lg-label); }
.lg-main :is(form, .lg-form) :is(input:not([type=checkbox]):not([type=radio]), select) { height: 48px; border-radius: 13px; font: inherit; font-size: 15px; width: 100%; margin: 0;
  box-sizing: border-box; padding: 0 14px; border: 1px solid var(--lg-line); background: var(--lg-input); color: var(--lg-ink); outline: none; transition: border-color .15s, box-shadow .15s; }
.lg-main :is(form, .lg-form) :is(input, select):focus { border-color: var(--lg-accent) !important; box-shadow: 0 0 0 4px var(--lg-focus) !important; }
.lg-main .btn--block, .lg-main .btn--primary, .lg-main .btn--p { height: 50px; min-height: 50px; border: 0; border-radius: 14px; width: 100%; font: inherit; font-weight: 700; font-size: 15.5px; color: #fff; cursor: pointer;
  background: var(--lg-grad); box-shadow: 0 12px 26px var(--lg-btn-shadow); transition: transform .15s, box-shadow .2s; margin-top: 6px; }
.lg-main .btn--block:active, .lg-main .btn--primary:active, .lg-main .btn--p:active { transform: scale(.985); }
.lg-main .btn--face { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 46px; margin-top: 10px; border: 0; border-radius: 14px; background: var(--lg-tabs); color: var(--lg-ink); font: inherit; font-weight: 600; font-size: 14.5px; cursor: pointer; box-shadow: none; }
.lg-main .btn--face svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.lg-main .alt, .lg-main .reg__alt { text-align: center; font-size: 13.5px; color: var(--lg-muted); margin-top: 16px; line-height: 1.6; }
.lg-main .alt a, .lg-main .reg__alt a { color: var(--lg-link); font-weight: 600; }
.lg-main .langs { display: flex; gap: 4px; margin-top: 16px; }
.lg-main .langs button { flex: 1; padding: 8px 0; border-radius: 10px; border: 1px solid var(--lg-line); background: var(--lg-input); font: inherit; font-size: 13px; font-weight: 700; color: var(--lg-muted); cursor: pointer; }
.lg-main .langs button.is-on { background: var(--lg-ink); border-color: var(--lg-ink); color: #fff; }
.lg-main .err, .lg-main .auth__err { display: none; margin: 10px 0 0; padding: 11px 13px; border-radius: 12px; font-size: 13.5px; line-height: 1.45; background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.lg-main .err.on, .lg-main .auth__err:not(:empty) { display: block; }
/* мини-переключатель «Почта / Телефон» внутри формы */
.lg-main .logintabs, .lg-main .ltabs { display: flex; gap: 4px; background: var(--lg-tabs); border-radius: 12px; padding: 3px; margin: 0 0 12px; }
.lg-main .logintab, .lg-main .ltab { flex: 1; border: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--lg-muted); padding: 8px 6px; border-radius: 9px; cursor: pointer; transition: background .2s, color .2s; }
.lg-main .logintab.is-on, .lg-main .ltab.is-on { background: var(--lg-card); color: var(--lg-ink); box-shadow: 0 1px 3px rgba(15, 23, 34, .1); }
.lg-main .check { display: flex; align-items: center; gap: 10px; margin: 12px 0 6px; font-size: 13.5px; font-weight: 600; color: var(--lg-label); cursor: pointer; }
.lg-main .qr-login { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lg-main .qr-login__left, .lg-main .qrcard__left { font-size: 12.5px; color: var(--lg-muted); min-height: 18px; text-align: center; font-variant-numeric: tabular-nums; }
.lg-main .qr-login__how { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; font-size: 13.5px; color: var(--lg-label); line-height: 1.45; counter-reset: s; align-self: stretch; }
.lg-main .qr-login__how li { display: flex; gap: 10px; counter-increment: s; }
.lg-main .qr-login__how li::before { content: counter(s); flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--lg-step-bg); color: var(--lg-step-ink); font-size: 12.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
#btnQr, #qrBack, #btnQr.btn--face { display: none !important; }
.lg-main h1 { font-size: 22px; font-weight: 800; margin: 0 0 4px; letter-spacing: -.3px; }
.lg-main .sub, .lg-main .fg-hint { color: var(--lg-muted); font-size: 13.5px; margin: 0 0 16px; line-height: 1.5; }
.lg-side .lg-help { margin-top: 24px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); position: relative; z-index: 1; }
.lg-side .lg-help b { display: block; font-size: 14px; margin-bottom: 4px; }
.lg-side .lg-help p { font-size: 13px; color: rgba(255, 255, 255, .78); margin: 0 0 10px; max-width: none; }
.lg-side .lg-help a { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 11px; background: #25d366; color: #fff; font-weight: 700; font-size: 13.5px; text-decoration: none; }
.lg-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 12.5px; font-weight: 700; margin-top: 22px; }
.lg-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--lg-dot); box-shadow: 0 0 0 3px var(--lg-dot-soft); }
.lg-qrbox svg, .lg-qrbox > div { animation: lgQr .5s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes lgQr { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.lg-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.lg-pass { position: relative; }
.lg-pass input { padding-right: 44px; }
.lg-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: #94a3b8; cursor: pointer; padding: 6px; display: flex; }
.lg-eye svg { width: 20px; height: 20px; }
.lg-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 4px 0 18px; font-size: 13px; flex-wrap: wrap; }
.lg-row label, .lg-check { display: flex; align-items: center; gap: 8px; color: var(--lg-label); cursor: pointer; font-size: 13px; line-height: 1.45; }
.lg-check { align-items: flex-start; margin: 2px 0 16px; }
.lg-main input[type=checkbox] { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: -1px 0 0; padding: 0; border-radius: 50%; border: 1.5px solid #c7c7cc; background: transparent;
  display: inline-grid; place-content: center; cursor: pointer; transition: background-color .2s, border-color .2s, transform .12s; }
.lg-main input[type=checkbox]::before { content: ''; width: 12px; height: 12px; background: #fff; transform: scale(0); transition: transform .22s cubic-bezier(.34, 1.56, .64, 1);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.lg-main input[type=checkbox]:checked { background: var(--lg-accent); border-color: var(--lg-accent); }
.lg-main input[type=checkbox]:checked::before { transform: scale(1); }
.lg-main input[type=checkbox]:active { transform: scale(.9); }
.lg-main input[type=checkbox]:focus-visible { outline: 2px solid var(--lg-accent); outline-offset: 2px; }
.lg-link, .lg-main a { color: var(--lg-link); font-weight: 600; text-decoration: none; }
.lg-link { border: 0; background: none; font: inherit; font-weight: 600; cursor: pointer; padding: 0; }
.lg-main a:hover { text-decoration: underline; }
.lg-btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border: 0; border-radius: 14px; width: 100%; font: inherit; font-weight: 700; font-size: 15.5px;
  color: #fff; cursor: pointer; background: var(--lg-grad); box-shadow: 0 12px 26px var(--lg-btn-shadow); transition: transform .15s, box-shadow .2s, opacity .2s; text-decoration: none; }
.lg-btn:hover { transform: translateY(-1px); box-shadow: 0 16px 30px var(--lg-btn-shadow); text-decoration: none !important; }
.lg-btn:active { transform: translateY(0) scale(.985); transition-duration: .08s; }
.lg-btn:disabled { opacity: .6; cursor: default; transform: none; }
.lg-btn--soft { background: var(--lg-tabs); color: var(--lg-ink); box-shadow: none; height: 46px; font-size: 14.5px; font-weight: 600; margin-top: 10px; }
.lg-btn--soft:hover { box-shadow: none; }
.lg-btn--soft svg { width: 19px; height: 19px; }
.lg-err { margin: 0 0 14px; padding: 11px 13px; border-radius: 12px; font-size: 13.5px; line-height: 1.45; background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.lg-err:empty { display: none; }
.lg-info { margin: 0 0 14px; padding: 11px 13px; border-radius: 12px; font-size: 13.5px; line-height: 1.45; background: var(--lg-info-bg); color: var(--lg-info-ink); border: 1px solid var(--lg-info-line); }
.lg-qr { display: flex; gap: 22px; align-items: center; }
.lg-qrbox { position: relative; width: 212px; height: 212px; flex: none; border-radius: 20px; background: #fff; border: 1px solid var(--lg-line); padding: 12px; box-sizing: border-box;
  box-shadow: 0 10px 28px var(--lg-shadow); transition: opacity .2s; }
.lg-qrbox svg { width: 100%; height: 100%; display: block; }
.lg-qrbox.is-old { opacity: .3; }
.lg-qrlogo { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 12px; background: #fff; padding: 5px; box-sizing: border-box; box-shadow: 0 2px 8px rgba(15, 42, 63, .15); }
.lg-qrlogo img { width: 100%; height: 100%; object-fit: contain; }
.lg-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; font-size: 13.5px; color: var(--lg-label); line-height: 1.45; }
.lg-steps li { display: flex; gap: 10px; }
.lg-steps b { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--lg-step-bg); color: var(--lg-step-ink); font-size: 12.5px; display: flex; align-items: center; justify-content: center; }
.lg-timer { margin-top: 14px; font-size: 12.5px; color: var(--lg-muted); }
.lg-pin { margin-top: 14px; font-size: 34px; font-weight: 800; letter-spacing: .08em; line-height: 1; color: var(--lg-ink, inherit); }
.lg-foot { margin-top: auto; padding-top: 22px; font-size: 12.5px; color: var(--lg-muted); text-align: center; line-height: 1.55; }
.lg-foot a { font-weight: 600; }
@media (max-width: 820px) {
  .lg-card, .lg-card--wide { grid-template-columns: 1fr; border-radius: 24px; }
  .lg-side { padding: 24px 24px 22px; }
  .lg-side h1 { font-size: 22px; margin: 16px 0 6px; } .lg-side p { font-size: 13.5px; }
  .lg-feats, .lg-side::after, .lg-side .lg-foot-side { display: none; }
  .lg-main { padding: 24px 20px 22px; }
  .lg-qr { flex-direction: column; align-items: center; text-align: left; }
}
@media (max-width: 420px) { .lg-two { grid-template-columns: 1fr; } }
/* умное поле «Номер телефона или email»: флаг и код страны появляются при наборе цифр */
.lgl { position: relative; }
.lgl__cc { position: absolute; left: 13px; top: 50%; transform: translateY(-50%) scale(.8); display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14.5px; color: var(--lg-ink);
  pointer-events: none; opacity: 0; transition: opacity .25s cubic-bezier(.22, 1, .36, 1), transform .3s cubic-bezier(.22, 1, .36, 1); white-space: nowrap; }
.lgl.is-phone .lgl__cc { opacity: 1; transform: translateY(-50%) scale(1); }
.lgl__flag { width: 24px; height: 16px; border-radius: 4px; box-shadow: 0 0 0 1px rgba(15, 23, 42, .08); display: block; }
.lgl__iso { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 16px; border-radius: 4px; background: var(--lg-tabs); font-size: 9px; font-weight: 800; color: var(--lg-muted); }
.lgl input { transition: padding-left .3s cubic-bezier(.22, 1, .36, 1), border-color .15s, box-shadow .15s !important; }
.lg-main :is(form, .lg-form) label.field .lgl { width: 100%; }
/* «Запомнить меня» переключателем, как в booking и shop */
.lg-sw { position: relative; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 13.5px; color: var(--lg-label); cursor: pointer; }
.lg-sw input { position: absolute; opacity: 0; width: 0; height: 0; margin: 0; }
.lg-sw i { position: relative; flex: none; width: 51px; height: 31px; border-radius: 16px; background: #e9e9eb; transition: background-color .25s ease; }
.lg-sw i::after { content: ''; position: absolute; left: 2px; top: 2px; width: 27px; height: 27px; border-radius: 14px; background: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .15), 0 3px 1px rgba(0, 0, 0, .06), 0 0 0 .5px rgba(0, 0, 0, .04); transition: transform .3s cubic-bezier(.32, .72, 0, 1), width .2s cubic-bezier(.32, .72, 0, 1); }
.lg-sw input:checked + i { background: var(--lg-accent); }
.lg-sw input:checked + i::after { transform: translateX(20px); }
.lg-sw:active i::after { width: 33px; }
.lg-sw:active input:checked + i::after { transform: translateX(14px); }
.lg-sw input:focus-visible + i { outline: 2px solid var(--lg-accent); outline-offset: 2px; }
/* единый стандарт для всех продуктов: один шрифт, одинаковые поля и кнопки, QR в одинаковой рамке с логотипом */
.lg-card, .lg-card button, .lg-card input, .lg-card select, .lg-card textarea { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
.lg-card h1, .lg-card h2 { font-family: inherit; }
.qrc__c, .qrc__scan { display: none !important; }
.lg-main .qrc { flex: none; min-width: 212px; width: 212px; height: 212px; padding: 12px; border-radius: 20px; background: #fff; border: 1px solid var(--lg-line); box-shadow: 0 10px 28px var(--lg-shadow); position: relative; box-sizing: border-box; display: block; }
.lg-main .qrc > svg { position: absolute; left: 12px; top: 12px; width: calc(100% - 24px) !important; height: calc(100% - 24px) !important; }
.lg-main .qrc__logo { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 12px; background: #fff; box-shadow: 0 2px 8px rgba(15, 42, 63, .15); display: grid; place-items: center; }
.lg-main .qrc__logo img { width: 34px; height: 34px; object-fit: contain; }
.lg-main .qrc__wait { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; color: var(--lg-muted); }
.lg-main .qrc__over { border-radius: 20px; }
.lg-qrbox #qrSvg, .lg-qrbox #qrSvg svg { width: 100%; height: 100%; display: block; }
.lg-main .lg-pass { position: relative; display: block; }
.lg-main .lg-pass input { padding-right: 44px !important; }
.lg-main .lg-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: #94a3b8; cursor: pointer; padding: 6px; display: flex; }
.lg-main .lg-eye svg { width: 20px; height: 20px; }
.lg-main label.field .lg-pass { width: 100%; }
.lg-side a { color: #fff; text-decoration: none; font-weight: 600; }
.lg-side a:hover { text-decoration: underline; }
/* текст страниц входа не выделяется, поля ввода - да */
.lg-card { -webkit-user-select: none; user-select: none; } .lg-card input, .lg-card textarea { -webkit-user-select: text; user-select: text; }

/* Знак «SEBE ⇄ Meta» на входе и регистрации */
.lg-brand--duo { flex-wrap: wrap; row-gap: 12px; }
.duo { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.duo__x { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .7; }
.duo__m { width: 44px; height: 44px; border-radius: 13px; background: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0, 0, 0, .22); }
.duo__m img { width: 28px !important; height: 28px !important; padding: 0 !important; background: none !important; border-radius: 0 !important; display: block; }

/* телефон: колонка не шире экрана, поля без увеличения страницы на iPhone */
@media (max-width: 820px) {
  .lg-card, .lg-card--wide { grid-template-columns: minmax(0, 1fr); }
  .lg-card * { overflow-wrap: anywhere; }
  .lg-card { box-sizing: border-box; max-width: 100%; }
  /* !important: правила полей выше точнее (.lg-main :is(form) :is(input)), а 15px увеличивает страницу на iPhone */
  .lg-card input:not([type=checkbox]):not([type=radio]), .lg-card select, .lg-card textarea { font-size: 16px !important; }
}
