
        /* =====================================================================
           СТРАНИЦА ВХОДА — переделана 24.08.2026 (задача 273)

           Была одна дверь — Telegram. Её больше нет по двум причинам сразу:
           406-ФЗ запрещает авторизацию через иностранные сервисы (с 07.07.2026
           штраф юрлицу 500-700 тыс.), а сам Telegram с февраля 2026 заблокирован
           в РФ — клиент без VPN до виджета просто не доходил.

           Теперь дверь тоже одна: e-mail + пароль. Своя система авторизации —
           разрешённый законом вариант (ИС российского владельца). Телефон не
           спрашиваем сознательно: владелец 24.08 — «людям неприятно оставлять
           телефон, и он мне не нужен».

           Аккаунт создаётся ТОЛЬКО после перехода по ссылке из письма, форма
           закрыта капчей SmartCaptcha (российская, в отличие от reCAPTCHA).
           Стиль: Style.md — Cormorant Garamond + Manrope, углы 2px, Phosphor thin.
           ===================================================================== */

        body {
            font-family: var(--oz-font-text);
            background: var(--oz-color-white);
            color: var(--oz-color-ink);
            font-size: var(--oz-type-16);
            line-height: 1.6;
            min-height: 100vh;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
        }

        .font-display { font-family: var(--oz-font-display); }

        .auth-section {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 140px 24px 80px;
            position: relative;
            overflow: hidden;
        }

        /* Мягкие пятна фона — единственная декорация на странице */
        .auth-section::before {
            content: '';
            position: absolute;
            top: -220px;
            right: -180px;
            width: 560px;
            height: 560px;
            background: radial-gradient(circle, var(--oz-color-pearl) 0%, transparent 70%);
            opacity: 0.55;
            pointer-events: none;
        }

        .auth-section::after {
            content: '';
            position: absolute;
            bottom: -180px;
            left: -160px;
            width: 480px;
            height: 480px;
            background: radial-gradient(circle, color-mix(in srgb, var(--oz-color-gold) 14%, transparent) 0%, transparent 70%);
            pointer-events: none;
        }

        .auth-card {
            background: var(--oz-color-white);
            width: 100%;
            max-width: 460px;
            border: 1px solid var(--oz-color-line);
            box-shadow: 0 25px 60px -15px color-mix(in srgb, var(--oz-color-shadow) 12%, transparent);
            position: relative;
            z-index: 2;
        }

        .auth-card::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--oz-color-gold), var(--oz-color-gold), var(--oz-color-gold));
        }

        /* ─── Шапка карточки ─────────────────────────────────────────────── */
        .auth-head {
            padding: 44px 40px 24px;
            text-align: center;
        }

        .auth-eyebrow {
            font-size: var(--oz-font-size-small);
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: var(--oz-color-muted);
            margin-bottom: 14px;
        }

        .auth-head h1 {
            font-family: var(--oz-font-display);
            font-size: var(--oz-type-38);
            font-weight: 400;
            line-height: 1.15;
            color: var(--oz-color-wine);
            margin-bottom: 10px;
        }

        .auth-head p {
            font-size: var(--oz-type-15);
            color: var(--oz-color-muted);
            line-height: 1.6;
        }

        .auth-body { padding: 0 40px 36px; }

        /* ─── Вкладки «Вход / Регистрация» ───────────────────────────────── */
        .tabs {
            display: flex;
            border-bottom: 1px solid var(--oz-color-line);
            margin-bottom: 26px;
        }
        .tab {
            flex: 1;
            padding: 13px 8px;
            background: transparent;
            border: none;
            border-bottom: 2px solid transparent;
            margin-bottom: -1px;
            font-family: var(--oz-font-text);
            font-size: var(--oz-font-size-small);
            font-weight: 500;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--oz-color-muted);
            cursor: pointer;
            transition: color .2s ease, border-color .2s ease;
        }
        .tab:hover { color: var(--oz-color-wine); }
        .tab.active { color: var(--oz-color-wine); border-bottom-color: var(--oz-color-wine); }

        .pane[hidden] { display: none; }

        /* ─── Сообщения ──────────────────────────────────────────────────── */
        .message {
            padding: 14px 16px;
            margin-bottom: 22px;
            font-size: var(--oz-type-14);
            line-height: 1.55;
            display: none;
        }
        .message.success { display: block; }
        .message.error { color: var(--oz-color-error); border-left-color: var(--oz-color-error); display: block; }
        .message.info { display: block; }

        /* ─── Поля ───────────────────────────────────────────────────────── */
        .field { margin-bottom: 18px; }

        .field label {
            display: block;
            font-size: var(--oz-font-size-small);
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: var(--oz-color-muted);
            margin-bottom: 8px;
        }

        .field input {
            width: 100%;
            padding: 14px 16px;
            font-family: var(--oz-font-text);
            font-size: var(--oz-type-15);
            color: var(--oz-color-ink);
            border-radius: var(--oz-radius);
            transition: border-color var(--oz-motion-fast);
        }

        .field .hint { display: block; margin-top: 7px; font-size: var(--oz-font-size-small); color: var(--oz-color-muted); }
        .field .hint a { color: var(--oz-color-wine); text-decoration: none; }

        /* Показать/скрыть пароль — иначе человек не видит, что набрал */
        .pass-wrap { position: relative; }
        .pass-wrap input { padding-right: 46px; }
        .pass-eye {
            position: absolute;
            right: 6px; top: 50%;
            transform: translateY(-50%);
            width: 36px; height: 36px;
            display: flex; align-items: center; justify-content: center;
            background: transparent; border: none; cursor: pointer;
            color: var(--oz-color-muted); font-size: var(--oz-type-19); line-height: 1;
        }
        .pass-eye:hover { color: var(--oz-color-wine); }

        /* ─── Согласие ───────────────────────────────────────────────────── */
        .consent {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            text-align: left;
            cursor: pointer;
            margin-bottom: 20px;
            user-select: none;
            /* t145: галочка была мелким пустым квадратом в потоке текста — её пропускали.
               Рамка и фон делают шаг «отметить» видимым, а не угадываемым. */
            padding: 12px 14px;
            border: 1px solid var(--oz-color-wine);
            background: var(--oz-color-pearl);
            border-radius: var(--oz-radius);
            transition: border-color .2s, background .2s;
        }
        .consent.ok { background: transparent; border-color: var(--oz-color-line); }

        .consent input { position: absolute; opacity: 0; width: 0; height: 0; }

        .consent .box {
            flex: 0 0 20px;
            width: 20px;
            height: 20px;
            margin-top: 2px;
            border: 2px solid var(--oz-color-line-strong);
            background: var(--oz-color-white);
            position: relative;
            transition: all var(--oz-motion-fast);
        }

        .consent input:checked + .box {
            background: var(--oz-color-wine);
            border-color: var(--oz-color-wine);
        }

        .consent input:checked + .box::after {
            content: '';
            position: absolute;
            left: 5px;
            top: 1px;
            width: 5px;
            height: 10px;
            border: solid var(--oz-color-white);
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }

        .consent input:focus-visible + .box { outline: 2px solid var(--oz-color-wine); outline-offset: 2px; }

        .consent .txt { font-size: var(--oz-type-13); line-height: 1.5; color: var(--oz-color-muted); }
        .consent .txt a { color: var(--oz-color-wine); text-decoration: none; border-bottom: 1px solid var(--oz-color-line-strong); }
        .consent .txt a:hover { color: var(--oz-button-hover-bg); }

        /* ─── Капча ──────────────────────────────────────────────────────── */
        .captcha-box { margin-bottom: 20px; min-height: 20px; }
        .captcha-off {
            padding: 14px 16px;
            background: var(--oz-color-pearl);
            color: var(--oz-color-error);
            border-left: 3px solid var(--oz-color-error);
            font-size: var(--oz-type-13);
            line-height: 1.55;
        }

        /* ─── Кнопки ─────────────────────────────────────────────────────── */
        .btn-main {
            width: 100%;
            padding: 16px 24px;
            border-width: 2px;
            font-family: var(--oz-font-text);
            font-size: var(--oz-type-13);
            font-weight: 500;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            cursor: pointer;
            border-radius: var(--oz-radius);
            transition: all var(--oz-motion-normal);
        }

        .btn-alt {
            display: inline-block;
            width: 100%;
            padding: 13px 20px;
            font-family: var(--oz-font-text);
            font-size: var(--oz-font-size-small);
            font-weight: 500;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            text-align: center;
            text-decoration: none;
            cursor: pointer;
        }

        .link-row { margin-top: 16px; text-align: center; }
        .link-btn {
            background: none;
            border: none;
            font-family: var(--oz-font-text);
            font-size: var(--oz-type-13);
            color: var(--oz-color-muted);
            cursor: pointer;
            padding: 4px;
        }
        .link-btn:hover { color: var(--oz-color-wine); }

        /* ─── Блок-заметка ───────────────────────────────────────────────── */
        .note-block {
            padding: 16px;
            margin-top: 20px;
            background: var(--oz-color-pearl);
            border-left: 3px solid var(--oz-color-gold);
        }
        .note-block[hidden] { display: none; }
        .note-block p { font-size: var(--oz-type-13); line-height: 1.55; color: var(--oz-color-ink); margin-bottom: 14px; }
        .note-block p:last-child { margin-bottom: 0; }

        #auth-blocked { margin: 0 0 22px; }

        /* Письмо отправлено — крупный спокойный экран вместо мелкой строки */
        .sent-screen { text-align: center; padding: 8px 0 4px; }
        .sent-screen i { font-size: var(--oz-type-46); color: var(--oz-color-gold); }
        .sent-screen h2 {
            font-family: var(--oz-font-display);
            font-size: var(--oz-type-26);
            font-weight: 400;
            color: var(--oz-color-wine);
            margin: 14px 0 10px;
        }
        .sent-screen p { font-size: var(--oz-type-14); color: var(--oz-color-muted); line-height: 1.6; margin-bottom: 10px; }
        .sent-screen .mail { color: var(--oz-color-wine); font-weight: 500; }
        /* [t1186 28.10 aurao-f3] код из письма + «Открыть почту» / «Отправить ещё раз» — только после заявки на регистрацию */
        .sent-code { margin-top: 18px; }
        .sent-code[hidden] { display: none; }
        .sent-code .field input { text-align: center; font-size: var(--oz-type-22); letter-spacing: 0.4em; }
        .sent-acts { display: flex; gap: 10px; margin-top: 12px; }
        .sent-acts > * { flex: 1 1 0; }
        .sent-acts [hidden] { display: none; }

        /* ─── Преимущества ───────────────────────────────────────────────── */
        .why {
            margin-top: 26px;
            padding-top: 22px;
            border-top: 1px solid var(--oz-color-line);
            font-size: var(--oz-type-13);
            color: var(--oz-color-muted);
            text-align: left;
            line-height: 1.6;
        }
        .why div { display: flex; align-items: flex-start; gap: 10px; }
        .why i { color: var(--oz-color-gold); font-size: var(--oz-type-18); line-height: 1.35; flex: 0 0 auto; }
        .why div + div { margin-top: 10px; }

        /* ─── Подвал карточки ────────────────────────────────────────────── */
        .auth-foot {
            padding: 18px 40px;
            border-top: 1px solid var(--oz-color-line);
            background: var(--oz-color-pearl);
            font-size: var(--oz-type-13);
            color: var(--oz-color-muted);
            text-align: center;
            line-height: 1.55;
        }
        .auth-foot[hidden] { display: none; }

        /* ─── Лоадер ─────────────────────────────────────────────────────── */
        .auth-loader {
            position: fixed;
            inset: 0;
            background: color-mix(in srgb, var(--oz-color-white) 94%, transparent);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 9999;
        }
        .auth-loader.active { display: flex; }
        .auth-loader .inner { text-align: center; }
        .spinner {
            width: 42px;
            height: 42px;
            margin: 0 auto 16px;
            border: 2px solid var(--oz-color-line);
            border-top-color: var(--oz-color-wine);
            border-radius: 50%;
            animation: spin 0.9s linear infinite;
        }
        @keyframes spin { to { transform: rotate(360deg); } }
        .auth-loader p { font-size: var(--oz-type-14); color: var(--oz-color-muted); }

        @media (max-width: 560px) {
            .auth-section { padding: 110px 16px 60px; }
            .auth-head { padding: 34px 24px 20px; }
            .auth-head h1 { font-size: var(--oz-type-32); }
            .auth-body { padding: 0 24px 30px; }
            .auth-foot { padding: 16px 24px; }
        }

/* t1200: geometry adapter only; keep the auth page grid and mobile breakpoint.
   Shared .oz-* components own UI roles. No registration/code/redirect behaviour here. */
.auth-section .oz-field { display: block; }
.auth-section .oz-field > label { font-weight: var(--oz-weight-regular); }
.auth-section .oz-input { min-height: 0; line-height: normal; border-color: var(--oz-color-line-strong); }
.auth-section .oz-input:focus { border-color: var(--oz-color-wine); }
.auth-section .oz-tabs { gap: 0; flex-wrap: nowrap; padding-bottom: 0; }
.auth-section .oz-tab { min-height: 0; line-height: normal; border: 0; border-bottom: 2px solid transparent; border-radius: 0; }
.auth-section .oz-button { min-height: 0; line-height: normal; }
.auth-section .oz-button:active { transform: none; }
.auth-section .oz-help { line-height: inherit; }
.auth-section .oz-notice { border-top: 0; border-right: 0; border-bottom: 0; }
.auth-section .note-block.oz-notice { display: block; }
.auth-section .note-block.oz-notice[hidden] { display: none; }
.auth-section .sent-screen.oz-card { border: 0; border-radius: 0; background: transparent; }
.auth-section .consent.oz-check { align-items: flex-start; }
.auth-section .consent.oz-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.auth-section .pass-eye:focus-visible, .auth-section .link-btn:focus-visible { outline: var(--oz-focus); outline-offset: 2px; box-shadow: none; }
.auth-section .oz-input:focus, .auth-section .oz-button:focus-visible, .auth-section .oz-tab:focus-visible { box-shadow: none; }
