:root {
    --beeline-thanks-bg: #f0f3f5;
    --beeline-thanks-text: #28303f;
    --beeline-thanks-muted: #77849d;
    --beeline-thanks-tertiary: #8e99af;
    --beeline-thanks-yellow: #ffc800;
    --beeline-thanks-border: #c3c9d5;
    --beeline-thanks-success: #00a55e;
    --beeline-thanks-error: #f84a00;
}

.beeline-thanks-experience { display: none; }
html.beeline-thanks-layout { background: var(--beeline-thanks-bg); }
html.beeline-thanks-layout body { margin: 0 !important; background: var(--beeline-thanks-bg); }
html.beeline-thanks-layout body > .header,
html.beeline-thanks-layout body > .footer,
html.beeline-thanks-layout .beeline-thanks-legacy,
html.beeline-thanks-layout .button-lead-catcher,
html.beeline-thanks-layout #rec570648124,
html.beeline-thanks-layout #up,
html.beeline-thanks-layout #popup-confirm-region { display: none !important; }

html.beeline-thanks-layout .beeline-thanks-experience {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--beeline-thanks-bg);
    color: var(--beeline-thanks-text);
    font-family: "Beeline Sans", Arial, sans-serif;
}

.beeline-thanks-experience *, .beeline-thanks-experience *::before, .beeline-thanks-experience *::after { box-sizing: border-box; }
.beeline-thanks-experience a { text-decoration: none; }
.beeline-thanks-header { width: 100%; padding: 20px 16px; }
.beeline-thanks-tabs { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.beeline-thanks-tabs a { color: var(--beeline-thanks-muted); font-size: 16px; font-weight: 400; line-height: 20px; white-space: nowrap; }
.beeline-thanks-tabs a.is-active { color: var(--beeline-thanks-text); font-weight: 500; }

.beeline-thanks-main {
    width: 100%;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 24px 0 40px;
}

.beeline-thanks-back {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0 16px;
    color: var(--beeline-thanks-text);
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
}

.beeline-thanks-back > svg { display: block; flex: 0 0 20px; width: 20px; height: 20px; }

.beeline-thanks-status { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 32px; overflow: hidden; }
.beeline-thanks-intro { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.beeline-thanks-image { display: block; width: 100px; height: 100px; object-fit: contain; }
.beeline-thanks-copy { width: 100%; padding: 0 20px; text-align: center; }
.beeline-thanks-copy h1, .beeline-thanks-copy p, .beeline-thanks-call p, .beeline-thanks-legal p { margin: 0; }
.beeline-thanks-copy h1 { max-width: 300px; margin: 0 auto; color: var(--beeline-thanks-text); font-size: 24px; font-weight: 500; line-height: 32px; }
.beeline-thanks-copy p { max-width: 310px; margin: 8px auto 0; color: var(--beeline-thanks-muted); font-size: 16px; font-weight: 400; line-height: 20px; }

.beeline-thanks-connect { width: 100%; display: flex; flex-direction: column; gap: 24px; padding: 0 20px; }
.beeline-thanks-fields, .beeline-thanks-phone { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.beeline-thanks-phone label { color: var(--beeline-thanks-muted); font-size: 12px; font-weight: 400; line-height: 16px; }
.beeline-thanks-field {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    overflow: hidden;
    border-radius: 10000px;
    background: #fff;
    box-shadow: 0 0 0 0 transparent;
}

.beeline-thanks-field > span, .beeline-thanks-field > input {
    min-width: 0;
    flex: 1 1 auto;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--beeline-thanks-text);
    font: 400 16px/20px "Beeline Sans", Arial, sans-serif;
}

.beeline-thanks-field > input::placeholder { color: var(--beeline-thanks-tertiary); opacity: 1; }
.beeline-thanks-field > input { caret-color: var(--beeline-thanks-yellow); }
.beeline-thanks-field > [hidden] { display: none; }
.beeline-thanks-field button { flex: 0 0 auto; padding: 0; border: 0; background: transparent; color: var(--beeline-thanks-text); font: 500 16px/20px "Beeline Sans", Arial, sans-serif; cursor: pointer; }
.beeline-thanks-phone.is-editing:not(.has-input) [data-phone-save] { display: none; }
.beeline-thanks-phone:not(.is-editing):not(.is-loading):not(.is-done):not(.is-invalid) .beeline-thanks-field:hover { box-shadow: inset 0 0 0 2px var(--beeline-thanks-border); }
.beeline-thanks-phone.is-editing .beeline-thanks-field,
.beeline-thanks-field:focus-within { box-shadow: inset 0 0 0 2px var(--beeline-thanks-muted); }
.beeline-thanks-phone.is-done .beeline-thanks-field { box-shadow: inset 0 0 0 1px var(--beeline-thanks-success); }
.beeline-thanks-phone.is-invalid .beeline-thanks-field { box-shadow: inset 0 0 0 2px var(--beeline-thanks-error); }
.beeline-thanks-field > .beeline-thanks-field-loading { flex: 0 0 20px; width: 20px; height: 20px; padding: 0; line-height: 0; }
.beeline-thanks-field-loading img { display: block; width: 20px; height: 20px; }
.beeline-thanks-field-error { margin: 0; color: var(--beeline-thanks-error); font: 400 12px/16px "Beeline Sans", Arial, sans-serif; }
.beeline-thanks-field-error[hidden] { display: none; }
.beeline-thanks-field button:focus-visible, .beeline-thanks-back:focus-visible, .beeline-thanks-tabs a:focus-visible, .beeline-thanks-call .PHONE:focus-visible { outline: 1px solid var(--beeline-thanks-text); outline-offset: 2px; }

.beeline-thanks-call { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.beeline-thanks-call p { color: var(--beeline-thanks-muted); font-size: 16px; line-height: 20px; text-align: center; }
.beeline-thanks-call .PHONE {
    width: 100%;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 20px;
    border-radius: 10000px;
    background: var(--beeline-thanks-yellow);
    color: var(--beeline-thanks-text);
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
}

.beeline-thanks-footer { width: 100%; display: flex; flex-direction: column; gap: 24px; padding: 32px 16px; }
.beeline-thanks-footer-main { display: flex; flex-direction: column; gap: 20px; }
.beeline-thanks-partner-logo { position: relative; flex: 0 0 auto; width: 149px; height: 28px; }
.beeline-thanks-partner-logo img { position: absolute; display: block; max-width: none; }
.beeline-thanks-partner-logo__mark { inset: 0 auto auto 0; width: 28.2586px; height: 28px; }
.beeline-thanks-partner-logo__name { top: .129px; left: 37.712px; width: 90.809px; height: 25.9405px; }
.beeline-thanks-partner-logo__caption { top: 14px; left: 95.688px; width: 53.3193px; height: 9.95573px; }
.beeline-thanks-legal { display: flex; flex-direction: column; gap: 16px; color: var(--beeline-thanks-muted); font-size: 12px; line-height: 16px; }
.beeline-thanks-legal strong { color: #202632; font-weight: 400; }
.beeline-thanks-documents { display: flex; flex-direction: column; gap: 4px; }
.beeline-thanks-documents a { color: #1d2023; font-size: 14px; line-height: 20px; }
.beeline-thanks-documents span { color: #1086f9; }

@media (min-width: 600px) {
    .beeline-thanks-header { min-height: 60px; padding: 20px 16px; }
    .beeline-thanks-tabs { justify-content: space-between; gap: 8px; }
    .beeline-thanks-main { min-height: 0; gap: 80px; padding: 24px 0 80px; }
    .beeline-thanks-back { margin: 0 24px; }
    .beeline-thanks-copy h1, .beeline-thanks-copy p { max-width: none; }
    .beeline-thanks-copy p { margin-top: 4px; }
    .beeline-thanks-copy, .beeline-thanks-connect { width: 580px; }
    .beeline-thanks-connect { padding: 0 40px; }
    .beeline-thanks-field { min-height: 44px; padding: 12px 16px; }
    .beeline-thanks-field > span, .beeline-thanks-field > input { font-size: 16px; line-height: 20px; }
    .beeline-thanks-footer { gap: 32px; padding: 40px 24px; }
    .beeline-thanks-footer-main { flex-direction: row; align-items: center; justify-content: space-between; }
    .beeline-thanks-footer-main .beeline-thanks-tabs { justify-content: flex-start; gap: 16px; }
    .beeline-thanks-legal { width: 560px; }
    .beeline-thanks-documents { flex-direction: row; gap: 24px; width: 100%; }
    .beeline-thanks-documents a:first-child { width: 340px; }
    .beeline-thanks-documents a:last-child { width: 380px; }
}

@media (min-width: 1024px) {
    .beeline-thanks-header { min-height: 76px; padding: 24px 40px; }
    .beeline-thanks-header .beeline-thanks-tabs { justify-content: center; gap: 24px; }
    .beeline-thanks-tabs a { font-size: 20px; line-height: 28px; }
    .beeline-thanks-tabs a.is-active { font-weight: 400; }
    .beeline-thanks-main { gap: 80px; padding: 24px 0 80px; }
    .beeline-thanks-back { margin: 0 40px; }
    .beeline-thanks-footer { gap: 40px; padding: 48px 40px; }
    .beeline-thanks-partner-logo { width: 192px; height: 36px; }
    .beeline-thanks-partner-logo__mark { width: 36.414px; height: 36px; }
    .beeline-thanks-partner-logo__name { top: .166px; left: 48.596px; width: 117.03px; height: 33.352px; }
    .beeline-thanks-partner-logo__caption { top: 18px; left: 123.341px; width: 68.708px; height: 12.83px; }
    .beeline-thanks-footer-main .beeline-thanks-tabs { gap: 24px; }
    .beeline-thanks-legal { width: 640px; gap: 20px; font-size: 14px; line-height: 20px; }
    .beeline-thanks-documents { gap: 32px; }
    .beeline-thanks-documents a:first-child { width: 400px; }
    .beeline-thanks-documents a:last-child { width: 440px; }
}

@media (min-width: 1600px) {
    .beeline-thanks-header, .beeline-thanks-footer { padding-left: 160px; padding-right: 160px; }
    .beeline-thanks-back { margin-left: 160px; margin-right: 160px; }
}
