.field {
            position: relative;
        }
        .field .warning,
        form label .warning {
            position: absolute;
            right: 0;
            bottom: -13px;
            z-index: 2;
            display: block;
            padding: 2px 10px;
            border-radius: 4px;
            background: #ff3b30;
            color: #ffffff;
            font-size: 12px;
            line-height: 1.2;
            font-family: "Proxima Nova", Arial, sans-serif;
            white-space: nowrap;
        }
        .field__input.error {
            border-bottom-color: #ff3b30;
        }
        label[for="policy"] {
            position: relative;
        }
        label[for="policy"] .warning {
            bottom: -18px;
            left: 0;
            right: auto;
        }
        .bot-popup[hidden] { display: none; }
        .bot-popup {
            position: fixed;
            inset: 0;
            z-index: 10000;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            font-family: "Proxima Nova", Arial, sans-serif;
        }
        .bot-popup__overlay {
            position: absolute;
            inset: 0;
            background: rgba(7, 19, 39, 0.64);
            backdrop-filter: blur(5px);
        }
        .bot-popup__dialog {
            position: relative;
            z-index: 1;
            width: min(920px, 100%);
            max-height: calc(100vh - 40px);
            overflow: auto;
            background: #ffffff;
            color: #071327;
            border: 1px solid #dce8f5;
            border-radius: 18px;
            padding: 28px;
            box-shadow: 0 10px 32px rgba(12, 56, 110, 0.16);
        }
        .bot-popup__close {
            position: absolute;
            top: 18px;
            right: 18px;
            width: 38px;
            height: 38px;
            border: 1px solid #c8d8ec;
            border-radius: 50%;
            background: #ffffff;
            color: #0055B5;
            font-size: 28px;
            line-height: 1;
            cursor: pointer;
        }
        .bot-popup__close:hover {
            border-color: #0055B5;
        }
        .bot-popup__step {
            display: inline-flex;
            align-items: center;
            width: fit-content;
            margin-bottom: 20px;
            border-radius: 100px;
            background: #e7f1fe;
            color: #0055B5;
            padding: 8px 14px;
            font-size: 14px;
            line-height: 1.2;
            font-weight: 700;
        }
        .bot-popup__title {
            margin: 0 46px 16px 0;
            color: #071327;
            font-family: "Proxima Nova", Arial, sans-serif;
            font-size: 36px;
            line-height: 1.12;
            font-weight: 700;
            text-transform: none;
            max-width: 760px;
        }
        .bot-popup__lead {
            margin: 0 0 26px;
            max-width: 820px;
            color: #071327;
            font-family: "Proxima Nova", Arial, sans-serif;
            font-size: 20px;
            line-height: 1.45;
            font-weight: 400;
        }
        .bot-popup__lead p {
            margin: 0 0 14px;
        }
        .bot-popup__lead p:last-child {
            margin-bottom: 0;
        }
        .bot-popup__grid {
            display: grid;
            grid-template-columns: minmax(320px, 1fr) 320px;
            gap: 24px;
            align-items: start;
        }
        .bot-popup__actions {
            display: flex;
            flex-direction: column;
            gap: 12px;
            max-width: 420px;
        }
        .messenger-switch {
            display: flex;
            gap: 8px;
            width: fit-content;
            padding: 4px;
            border-radius: 12px;
            background: #eef5fc;
        }
        .messenger-option {
            min-width: 116px;
            border: 0;
            border-radius: 9px;
            background: transparent;
            color: #2f4663;
            cursor: pointer;
            font-size: 16px;
            line-height: 1.2;
            font-weight: 700;
            padding: 11px 18px;
            transition: all .2s;
        }
        .messenger-option.active {
            background: #ffffff;
            color: #0055B5;
            box-shadow: 0 5px 16px rgba(12, 56, 110, 0.12);
        }
        .bot-popup__actions .button {
            height: 54px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            border: 1px solid transparent;
            background: #12A730;
            color: #ffffff;
            padding: 0 22px;
            font-family: "Proxima Nova", Arial, sans-serif;
            font-size: 18px;
            line-height: 1.2;
            font-weight: 700;
            text-decoration: none;
            text-transform: none;
            box-shadow: none;
            cursor: pointer;
            transition: all .2s;
        }
        .bot-popup__actions .button:hover {
            background: #0e9029;
            color: #ffffff;
        }
        .bot-popup__hint,
        .bot-popup__timer {
            margin: 0;
            color: #2f4663;
            font-family: "Proxima Nova", Arial, sans-serif;
            font-size: 15px;
            line-height: 1.4;
            font-weight: 400;
        }
        .bot-popup__copy {
            width: fit-content;
            border: 0;
            background: none;
            padding: 0;
            color: #0055B5;
            font-family: "Proxima Nova", Arial, sans-serif;
            font-size: 15px;
            line-height: 1.35;
            font-weight: 400;
            text-align: left;
            cursor: pointer;
        }
        .bot-popup__qr {
            display: block;
            border: 1px solid #dce8f5;
            border-radius: 12px;
            padding: 16px;
            background: #f8fbff;
            max-width: 320px;
        }
        .bot-popup__qr h3 {
            margin: 0 0 10px;
            color: #071327;
            font-family: "Proxima Nova", Arial, sans-serif;
            font-size: 20px;
            line-height: 1.2;
            font-weight: 700;
            text-transform: none;
        }
        .bot-popup__qr p {
            margin: 0 0 12px;
            color: #2f4663;
            font-family: "Proxima Nova", Arial, sans-serif;
            font-size: 14px;
            line-height: 1.35;
            font-weight: 400;
        }
        .bot-popup__qr img {
            width: 100%;
            height: auto;
            border-radius: 8px;
            background: #ffffff;
            display: block;
        }

        .success_message {
            color: #ffffff;
        }
        .success_message .thank_you {
            color: #ffffff;
        }
        .success_message p,
        .success_message .speaker-card__role,
        .success_message .label,
        .success_message a {
            color: #ffffff;
        }
        .success_message p {
            max-width: 760px;
            font-size: 22px;
            line-height: 1.5;
            font-weight: 400;
            margin: 0 0 16px;
        }
        .success_message .button {
            color: #ffffff;
        }

        .registration__inner.is-success {
            display: block;
        }
        .registration__inner.is-success .badge {
            display: none;
        }
        .registration__inner.is-success .form {
            width: 100%;
            max-width: 100%;
        }
        .registration__inner.is-success .form__title,
        .registration__inner.is-success form,
        .registration__inner.is-success .w-form-fail {
            display: none !important;
        }
        .registration__inner.is-success .success_message {
            display: block;
            width: 100%;
            max-width: 100%;
            margin: 0;
            padding: 12px 0 4px;
            color: #ffffff;
        }
        .registration__inner.is-success .success_message__content {
            width: 100%;
            max-width: 980px;
            margin: 0 auto;
        }
        .registration__inner.is-success .success_message .thank_you {
            max-width: 980px;
            margin: 0 0 24px;
            color: #ffffff;
            font-size: 56px;
            line-height: 1.04;
            font-weight: 700;
        }
        .registration__inner.is-success .success_message__text {
            max-width: 980px;
            margin: 0 0 18px;
            color: #ffffff;
            font-size: 34px;
            line-height: 1.42;
            font-weight: 400;
        }
        .registration__inner.is-success .success_message__text strong {
            font-weight: 700;
            color: #ffffff;
        }
        .registration__inner.is-success .success_message__actions {
            display: flex;
            justify-content: center;
            padding-top: 18px;
        }
        .registration__inner.is-success .success_message__actions .button {
            margin: 0 auto;
        }
        @media (max-width: 991px) {
            .registration__inner.is-success .success_message .thank_you {
                font-size: 44px;
            }
            .registration__inner.is-success .success_message__text {
                font-size: 28px;
            }
        }
        @media (max-width: 767px) {
            .registration__inner.is-success .success_message {
                padding-top: 4px;
            }
            .registration__inner.is-success .success_message .thank_you {
                margin-bottom: 18px;
                font-size: 30px;
                line-height: 1.1;
            }
            .registration__inner.is-success .success_message__text {
                font-size: 20px;
                line-height: 1.45;
                margin-bottom: 14px;
            }
            .registration__inner.is-success .success_message__actions {
                padding-top: 14px;
            }
        }

        .crm-debug-panel {
            position: fixed;
            left: 16px;
            right: 16px;
            bottom: 16px;
            z-index: 20000;
            max-height: 42vh;
            overflow: auto;
            background: rgba(5, 16, 32, 0.94);
            color: #ffffff;
            border: 1px solid rgba(255, 255, 255, 0.24);
            border-radius: 14px;
            padding: 14px;
            font-family: Arial, Helvetica, sans-serif;
            font-size: 12px;
            line-height: 1.45;
            box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
        }
        .crm-debug-panel strong {
            display: block;
            margin-bottom: 8px;
            font-size: 14px;
            color: #ffffff;
        }
        .crm-debug-panel code,
        .crm-debug-panel pre {
            color: #ffffff;
            white-space: pre-wrap;
            word-break: break-word;
            margin: 0;
        }

        .crm-debug-panel__spec {
            margin: 10px 0 12px;
            padding: 10px;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.16);
        }
        .crm-debug-panel__spec-title {
            display: block;
            margin: 0 0 8px;
            font-size: 13px;
            color: #ffffff;
            opacity: 0.92;
        }
        .crm-debug-panel__spec-grid {
            display: grid;
            grid-template-columns: minmax(145px, 0.45fr) minmax(240px, 1fr);
            gap: 6px 12px;
        }
        .crm-debug-panel__spec-key {
            color: rgba(255, 255, 255, 0.72);
        }
        .crm-debug-panel__spec-value {
            color: #ffffff;
            word-break: break-word;
        }
        .crm-debug-panel__status {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            margin-left: 6px;
            padding: 2px 7px;
            border-radius: 100px;
            background: rgba(255, 255, 255, 0.12);
            color: #ffffff;
            font-size: 11px;
            white-space: nowrap;
        }
        .crm-debug-panel__status.is-ok {
            background: rgba(46, 204, 113, 0.24);
        }
        .crm-debug-panel__status.is-wait {
            background: rgba(255, 193, 7, 0.22);
        }
        .crm-debug-panel__status.is-info {
            background: rgba(75, 154, 255, 0.22);
        }
        @media (max-width: 640px) {
            .crm-debug-panel__spec-grid {
                grid-template-columns: 1fr;
            }
        }

        .crm-debug-panel__row {
            padding: 8px 0;
            border-top: 1px solid rgba(255, 255, 255, 0.18);
        }
        .crm-debug-panel__row:first-of-type {
            border-top: 0;
        }
        .crm-debug-panel__time {
            opacity: 0.72;
            margin-right: 8px;
        }

        body.bot-popup-open { overflow: hidden; }
        @media (max-width: 920px) {
            .bot-popup__grid {
                grid-template-columns: 1fr;
            }
        }
        @media (max-width: 720px) {
            .bot-popup__dialog {
                padding: 20px;
            }
            .bot-popup__title {
                margin-right: 42px;
                font-size: 30px;
            }
            .bot-popup__lead {
                font-size: 18px;
            }
            .bot-popup__actions,
            .messenger-switch,
            .bot-popup__actions .button {
                width: 100%;
                max-width: none;
            }
            .messenger-option {
                flex: 1;
                min-width: 0;
            }
            .bot-popup__qr {
                display: none;
            }
        }


/* Single speaker block: aligns title with photo and removes separate section title */
.speakers__grid--single {
    grid-template-columns: 1fr !important;
    -ms-grid-columns: 1fr !important;
    gap: 0 !important;
}

.speaker-card--single {
    width: 100%;
    align-items: center;
}

.speaker-card__content--single {
    max-width: 100%;
    align-content: center;
    gap: 22px;
    padding: 36px 36px 36px 0;
}

.speaker-card__headline {
    margin: 0;
    color: var(--color-black);
    font-family: var(--font-body);
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
}

.speaker-card__headline-role {
    color: var(--color-black);
    font-weight: 400;
}

.speaker-card__headline-name {
    color: var(--color-accent);
    font-weight: 700;
}

.speaker-card__role--single {
    max-width: 100%;
    min-height: 0;
    margin: 0;
    color: var(--color-black);
    opacity: 0.9;
    font-size: 24px;
    line-height: 1.38;
    font-weight: 400;
}

@media (max-width: 767px) {
    .speaker-card__content--single {
        padding: 24px 18px 28px;
        gap: 16px;
    }

    .speaker-card__headline {
        font-size: 24px;
    }

    .speaker-card__role--single {
        font-size: 18px;
        line-height: 1.45;
    }
}


/* Registration card text after removing the small heading */
.registration .badge__inner {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.registration .badge__member {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    min-height: 0;
    padding: 18px 0 34px;
}

.badge__meta--registration {
    white-space: normal;
    max-width: 360px;
    margin-top: 0;
    color: #2F2F30;
    font-family: var(--font-body);
    font-size: 22px;
    line-height: 1.35;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

@media (max-width: 767px) {
    .registration .badge__member {
        padding: 18px 0 24px;
    }

    .badge__meta--registration {
        font-size: 18px;
        line-height: 1.4;
    }
}
