/* Chtio Stage435: unified authentication layout and responsive form system. */
:root {
    color-scheme: light;
    --stage435-bg: #f3f7fc;
    --stage435-surface: #ffffff;
    --stage435-surface-soft: #f7faff;
    --stage435-story: #edf5ff;
    --stage435-border: #d8e4f2;
    --stage435-border-strong: #c4d6ea;
    --stage435-text: #142b49;
    --stage435-muted: #607692;
    --stage435-blue: #2d7eea;
    --stage435-blue-dark: #165fbf;
    --stage435-blue-soft: #eaf3ff;
    --stage435-green: #13875f;
    --stage435-danger: #a93648;
    --stage435-radius: 24px;
    --stage435-control-radius: 12px;
    --stage435-shadow: 0 24px 64px rgba(31, 66, 108, 0.12);
}

.chtio_stage435_auth,
.chtio_stage435_auth * {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--stage435-bg);
    scrollbar-gutter: stable;
}

.chtio_stage435_auth {
    margin: 0;
    min-width: 320px;
    min-height: 100svh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 6% 5%, rgba(45, 126, 234, 0.09), transparent 29rem),
        radial-gradient(circle at 94% 91%, rgba(49, 147, 231, 0.07), transparent 27rem),
        var(--stage435-bg);
    color: var(--stage435-text);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.chtio_stage435_auth a,
.chtio_stage435_auth button,
.chtio_stage435_auth input,
.chtio_stage435_auth select,
.chtio_stage435_auth textarea {
    font: inherit;
}

.chtio_stage435_auth a {
    color: var(--stage435-blue-dark);
}

.chtio_stage435_auth button,
.chtio_stage435_auth input,
.chtio_stage435_auth select,
.chtio_stage435_auth textarea {
    -webkit-tap-highlight-color: transparent;
}

.stage435_auth_page {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: min(1180px, calc(100% - 48px));
    min-height: 100svh;
    margin: 0 auto;
    padding: 16px 0 12px;
}

.stage435_auth_topbar,
.stage435_auth_footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.stage435_auth_topbar {
    min-height: 50px;
    margin-bottom: 12px;
}

.stage435_auth_brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #143c72;
    text-decoration: none;
    font-size: 23px;
    font-weight: 850;
    letter-spacing: -0.04em;
}

.stage435_auth_brand img {
    display: block;
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.stage435_auth_back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--stage435-border);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.86);
    color: #536a84;
    text-decoration: none;
    font-size: 13px;
    font-weight: 750;
    transition:
        border-color 0.16s ease,
        background 0.16s ease,
        color 0.16s ease;
}

.stage435_auth_back:hover {
    border-color: #b6cae1;
    background: #ffffff;
    color: var(--stage435-blue-dark);
}

.stage435_auth_shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(450px, 0.96fr);
    align-self: center;
    width: 100%;
    height: clamp(610px, calc(100svh - 124px), 690px);
    min-height: 610px;
    overflow: hidden;
    border: 1px solid var(--stage435-border-strong);
    border-radius: var(--stage435-radius);
    background: var(--stage435-surface);
    box-shadow: var(--stage435-shadow);
}

.stage435_auth_story {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    padding: 34px 40px 32px;
    overflow: hidden;
    background:
        radial-gradient(circle at 86% 14%, rgba(84, 160, 247, 0.18), transparent 19rem),
        linear-gradient(145deg, #eef6ff 0%, #f8fbff 58%, #eaf3ff 100%);
}

.stage435_auth_story::before {
    content: "";
    position: absolute;
    right: -150px;
    bottom: -200px;
    width: 510px;
    height: 510px;
    border: 1px solid rgba(45, 126, 234, 0.12);
    border-radius: 50%;
    box-shadow:
        0 0 0 58px rgba(45, 126, 234, 0.032),
        0 0 0 116px rgba(45, 126, 234, 0.018);
    pointer-events: none;
}

.stage435_auth_story_copy {
    position: relative;
    z-index: 2;
    max-width: 520px;
}

.stage435_auth_pill,
.chtio_stage435_auth .auth-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border: 1px solid #c6dcf6;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: #1766c8;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.stage435_auth_story_copy h2 {
    max-width: 510px;
    margin: 16px 0 12px;
    color: var(--stage435-text);
    font-size: clamp(35px, 3vw, 43px);
    font-weight: 840;
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.stage435_auth_story_copy > p {
    max-width: 500px;
    margin: 0;
    color: #59728f;
    font-size: 14px;
    line-height: 1.62;
}

.stage435_auth_benefits {
    display: grid;
    gap: 7px;
    margin-top: 18px;
}

.stage435_auth_benefits > div {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    width: fit-content;
    max-width: 100%;
}

.stage435_auth_benefits span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid #bfd6f0;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--stage435-blue-dark);
    font-size: 9px;
    font-weight: 900;
}

.stage435_auth_benefits strong {
    color: #274766;
    font-size: 12px;
    font-weight: 780;
}

.stage435_auth_demo {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 10px;
    width: min(470px, 92%);
    margin-top: auto;
}

.stage435_auth_demo_notes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.stage435_auth_demo_notes > div {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid rgba(190, 210, 232, 0.95);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 22px rgba(35, 71, 118, 0.07);
}

.stage435_auth_demo_notes > div > span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: #e8f3ff;
    color: #246bc9;
    font-size: 9px;
    font-weight: 900;
}

.stage435_auth_demo_notes p,
.stage435_auth_demo_notes strong,
.stage435_auth_demo_notes small {
    display: block;
    min-width: 0;
    margin: 0;
}

.stage435_auth_demo_notes strong {
    overflow: hidden;
    color: #2a4665;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stage435_auth_demo_notes small {
    margin-top: 1px;
    overflow: hidden;
    color: #7a8ca1;
    font-size: 7px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stage435_auth_chat {
    overflow: hidden;
    border: 1px solid #c6d8eb;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 42px rgba(36, 76, 126, 0.12);
}

.stage435_auth_chat_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 42px;
    padding: 0 13px;
    border-bottom: 1px solid #e3ebf4;
    background: #ffffff;
}

.stage435_auth_chat_top > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stage435_auth_status_dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #28c27a;
    box-shadow: 0 0 0 4px rgba(40, 194, 122, 0.11);
}

.stage435_auth_chat_top strong {
    color: #203d5c;
    font-size: 11px;
}

.stage435_auth_chat_top small {
    color: #18865e;
    font-size: 8px;
    font-weight: 850;
}

.stage435_auth_chat_body {
    display: grid;
    gap: 7px;
    min-height: 124px;
    padding: 10px 12px;
    background: #f7f9fc;
}

.stage435_auth_message {
    display: flex;
    align-items: flex-end;
    gap: 7px;
}

.stage435_auth_message > span {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 27px;
    height: 27px;
    border-radius: 8px;
    background: #e6f1ff;
    color: #286dca;
    font-size: 8px;
    font-weight: 900;
}

.stage435_auth_message p {
    width: fit-content;
    max-width: 78%;
    margin: 0;
    padding: 7px 9px;
    border: 1px solid #dfe8f2;
    border-radius: 10px 10px 10px 4px;
    background: #ffffff;
    color: #2d455f;
    font-size: 9px;
    line-height: 1.38;
}

.stage435_auth_message.is-visitor {
    justify-content: flex-end;
}

.stage435_auth_message.is-visitor p {
    border-color: var(--stage435-blue);
    border-radius: 10px 10px 4px 10px;
    background: var(--stage435-blue);
    color: #ffffff;
}

.stage435_auth_chat_footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 30px;
    gap: 9px;
    align-items: center;
    min-height: 42px;
    padding: 7px 9px 7px 12px;
    border-top: 1px solid #e3ebf4;
    background: #ffffff;
    color: #8b9aae;
    font-size: 8px;
}

.stage435_auth_chat_footer b {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: var(--stage435-blue);
    color: #ffffff;
    font-size: 12px;
}

.stage435_auth_form_area {
    min-width: 0;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 34px 46px;
    background: #ffffff;
    scrollbar-width: thin;
    scrollbar-color: #c8d8e9 transparent;
}

.stage435_auth_form_area::-webkit-scrollbar {
    width: 6px;
}

.stage435_auth_form_area::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #c8d8e9;
}

.stage435_auth_form_wrap {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 100%;
    max-width: 470px;
    margin: 0 auto;
}

.auth-page-register .stage435_auth_form_wrap,
.auth-page-activate .stage435_auth_form_wrap,
.auth-page-project .stage435_auth_form_wrap {
    align-items: flex-start;
}

.chtio_stage435_auth .auth-card,
.chtio_stage435_auth .activation-card,
.chtio_stage435_auth .project-draft-card,
.chtio_stage435_auth .native-google-complete {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.chtio_stage435_auth .auth-card-head,
.chtio_stage435_auth .auth-simple-head,
.chtio_stage435_auth .auth-heading {
    margin: 0 0 20px;
}

.chtio_stage435_auth .auth-card-head h1,
.chtio_stage435_auth .auth-simple-head h1,
.chtio_stage435_auth .auth-heading h1 {
    margin: 11px 0 8px;
    color: var(--stage435-text);
    font-size: clamp(31px, 3vw, 40px);
    font-weight: 840;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.chtio_stage435_auth .auth-card-head p,
.chtio_stage435_auth .auth-simple-head p,
.chtio_stage435_auth .auth-heading p,
.chtio_stage435_auth .page-note {
    max-width: 510px;
    margin: 0;
    color: var(--stage435-muted);
    font-size: 13px;
    line-height: 1.58;
}

.chtio_stage435_auth .auth-form,
.chtio_stage435_auth .auth-simple-form {
    display: grid;
    gap: 13px;
}

.chtio_stage435_auth .auth-field,
.chtio_stage435_auth .auth-simple-form > label,
.chtio_stage435_auth .activation-code-form label {
    display: grid;
    gap: 6px;
    min-width: 0;
    color: #304761;
    font-size: 11px;
    font-weight: 780;
}

.chtio_stage435_auth :where(.input, input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid var(--stage435-border-strong);
    border-radius: var(--stage435-control-radius);
    outline: 0;
    background: #f8fbff;
    color: var(--stage435-text);
    font-size: 12px;
    font-weight: 600;
    box-shadow: inset 0 1px 1px rgba(29, 57, 91, 0.025);
    transition:
        border-color 0.16s ease,
        box-shadow 0.16s ease,
        background 0.16s ease;
}

.chtio_stage435_auth :where(.input, input:not([type="checkbox"]):not([type="radio"]), select, textarea):hover {
    border-color: #aabfd8;
}

.chtio_stage435_auth :where(.input, input:not([type="checkbox"]):not([type="radio"]), select, textarea):focus {
    border-color: var(--stage435-blue);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(45, 126, 234, 0.1);
}

.chtio_stage435_auth :where(.input, input, textarea)::placeholder {
    color: #91a1b6;
}

.chtio_stage435_auth select.input {
    cursor: pointer;
}

.chtio_stage435_auth .auth-password-wrap {
    position: relative;
    display: block;
}

.chtio_stage435_auth .auth-password-wrap > .input {
    padding-right: 54px;
}

.chtio_stage435_auth .auth-password-toggle {
    position: absolute;
    top: 6px;
    right: 6px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 10px;
    appearance: none;
    background: transparent;
    color: #71849b;
    cursor: pointer;
    transition:
        border-color 0.15s ease,
        background 0.15s ease,
        color 0.15s ease;
}

.chtio_stage435_auth .auth-password-toggle:hover,
.chtio_stage435_auth .auth-password-toggle:focus-visible {
    border-color: #d3e1ef;
    outline: 0;
    background: #edf5ff;
    color: var(--stage435-blue-dark);
}

.chtio_stage435_auth .auth-password-toggle svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.chtio_stage435_auth .auth-password-toggle.is-revealed svg {
    opacity: 0.68;
}

.chtio_stage435_auth .auth-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.chtio_stage435_auth .auth-form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 24px;
    margin-top: -1px;
    color: #657891;
    font-size: 11px;
}

.chtio_stage435_auth .auth-form-row a,
.chtio_stage435_auth .auth-simple-actions a,
.chtio_stage435_auth .auth-switch a {
    color: var(--stage435-blue-dark);
    text-decoration: none;
    font-weight: 800;
}

.chtio_stage435_auth .auth-form-row a:hover,
.chtio_stage435_auth .auth-simple-actions a:hover,
.chtio_stage435_auth .auth-switch a:hover {
    text-decoration: underline;
}

.chtio_stage435_auth .auth-remember {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
}

.chtio_stage435_auth .auth-remember input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--stage435-blue);
}

.chtio_stage435_auth .button,
.chtio_stage435_auth button.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 18px;
    border: 1px solid var(--stage435-blue-dark);
    border-radius: var(--stage435-control-radius);
    appearance: none;
    background: linear-gradient(135deg, #3283ed 0%, #206bcf 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.2;
    box-shadow: 0 10px 22px rgba(45, 126, 234, 0.18);
    cursor: pointer;
    transition:
        transform 0.14s ease,
        box-shadow 0.14s ease,
        background 0.14s ease;
}

.chtio_stage435_auth .button:hover,
.chtio_stage435_auth button.button:hover {
    background: linear-gradient(135deg, #2777de 0%, #185bb7 100%);
    box-shadow: 0 13px 26px rgba(45, 126, 234, 0.22);
    transform: translateY(-1px);
}

.chtio_stage435_auth .auth-form > .button,
.chtio_stage435_auth .auth-simple-form > .button,
.chtio_stage435_auth .auth-card > .button,
.chtio_stage435_auth .activation-code-form .button,
.chtio_stage435_auth .activation-step .button {
    width: 100%;
}

.chtio_stage435_auth .auth-google-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    margin-bottom: 12px;
    border: 1px solid var(--stage435-border);
    border-radius: var(--stage435-control-radius);
    background: #ffffff;
    color: #304761;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
}

.chtio_stage435_auth .auth-google-button:hover {
    border-color: #b7cae0;
    background: #f9fbfe;
}

.chtio_stage435_auth .auth-google-button svg {
    width: 18px;
    height: 18px;
}

.chtio_stage435_auth .auth-divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 11px;
    align-items: center;
    margin: 0 0 13px;
    color: #8b99ac;
    font-size: 10px;
}

.chtio_stage435_auth .auth-divider::before,
.chtio_stage435_auth .auth-divider::after {
    content: "";
    height: 1px;
    background: #e3eaf2;
}

.chtio_stage435_auth .recaptcha-box {
    width: 304px;
    max-width: 100%;
    min-height: 78px;
    overflow: hidden;
    border-radius: 4px;
}

.chtio_stage435_auth .recaptcha-box > div,
.chtio_stage435_auth .recaptcha-box iframe {
    max-width: 100%;
}

.chtio_stage435_auth .alert {
    margin: 0 0 14px;
    padding: 11px 13px;
    border: 1px solid var(--stage435-border);
    border-radius: 11px;
    font-size: 11px;
    line-height: 1.5;
}

.chtio_stage435_auth .alert-danger {
    border-color: #efc7cf;
    background: #fff5f6;
    color: var(--stage435-danger);
}

.chtio_stage435_auth .alert-success {
    border-color: #bde0d1;
    background: #f1fbf6;
    color: #126c4d;
}

.chtio_stage435_auth .auth-switch,
.chtio_stage435_auth .registration-requirement-note,
.chtio_stage435_auth .auth-security-note {
    margin: 13px 0 0;
    color: #74869d;
    font-size: 10px;
    line-height: 1.5;
    text-align: center;
}

.chtio_stage435_auth .auth-security-note {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
}

.chtio_stage435_auth .auth-security-note > span {
    color: var(--stage435-green);
    font-weight: 900;
}

.chtio_stage435_auth .auth-simple-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    font-size: 11px;
}

.stage431_recovery_icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin-bottom: 16px;
    border: 1px solid #cfe0f5;
    border-radius: 15px;
    background: #edf5ff;
    color: #246bc9;
    box-shadow: 0 10px 22px rgba(40, 120, 232, 0.08);
}

.stage431_recovery_icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.chtio_stage435_auth .register-trust-flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin: 14px 0;
}

.chtio_stage435_auth .register-trust-flow > span {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    min-height: 40px;
    padding: 7px 9px;
    border: 1px solid var(--stage435-border);
    border-radius: 10px;
    background: var(--stage435-surface-soft);
    color: #536981;
    font-size: 9px;
    font-weight: 780;
}

.chtio_stage435_auth .register-trust-flow > span:first-child {
    border-color: #afd0f4;
    background: #edf6ff;
    color: #265d9f;
}

.chtio_stage435_auth .register-trust-flow i {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 22px;
    height: 22px;
    border: 1px solid #c9d9ea;
    border-radius: 7px;
    background: #ffffff;
    color: #36587d;
    font-size: 8px;
    font-style: normal;
    font-weight: 900;
}

.chtio_stage435_auth .register-draft-saved,
.chtio_stage435_auth .draft-value {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    margin: 0 0 14px;
    padding: 11px 12px;
    border: 1px solid #bfdfd1;
    border-radius: 11px;
    background: #f2fbf7;
}

.chtio_stage435_auth .draft-value {
    grid-template-columns: minmax(0, 1fr);
    border-color: var(--stage435-border);
    background: var(--stage435-surface-soft);
}

.chtio_stage435_auth .register-draft-saved > span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #dff5eb;
    color: #137754;
    font-weight: 900;
}

.chtio_stage435_auth .register-draft-saved strong,
.chtio_stage435_auth .register-draft-saved small,
.chtio_stage435_auth .draft-value strong,
.chtio_stage435_auth .draft-value span {
    display: block;
}

.chtio_stage435_auth .register-draft-saved strong,
.chtio_stage435_auth .draft-value strong {
    color: #27435f;
    font-size: 11px;
}

.chtio_stage435_auth .register-draft-saved small,
.chtio_stage435_auth .draft-value span {
    margin-top: 2px;
    color: #71849a;
    font-size: 9px;
    line-height: 1.45;
}

.chtio_stage435_auth .stage282_auth_plan_notice {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px 11px;
    border: 1px solid var(--stage435-border);
    border-radius: 11px;
    background: var(--stage435-surface-soft);
    color: #5e728a;
    font-size: 9px;
}

.chtio_stage435_auth .stage282_auth_plan_notice > span {
    padding: 4px 6px;
    border-radius: 6px;
    background: #eaf3ff;
    color: var(--stage435-blue-dark);
    font-weight: 900;
}

.chtio_stage435_auth .stage282_auth_plan_notice strong,
.chtio_stage435_auth .stage282_auth_plan_notice p {
    display: block;
    margin: 0;
}

.chtio_stage435_auth .stage282_auth_plan_notice strong {
    color: #304761;
    font-size: 10px;
}

.chtio_stage435_auth .stage282_auth_plan_notice p {
    margin-top: 1px;
}

.chtio_stage435_auth .stage279_auth_preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 9px 11px;
    border: 1px solid var(--stage435-border);
    border-radius: 11px;
    background: #ffffff;
    color: #71849a;
    font-size: 9px;
}

.chtio_stage435_auth .stage279_auth_preview b {
    color: var(--stage435-text);
    font-size: 10px;
}

.chtio_stage435_auth .activation-progress {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    margin: 0 0 14px;
}

.chtio_stage435_auth .activation-progress > * {
    height: 4px;
    border-radius: 999px;
    background: #dce7f3;
}

.chtio_stage435_auth .activation-progress > .is-current,
.chtio_stage435_auth .activation-progress > .is-done {
    background: var(--stage435-blue);
}

.chtio_stage435_auth .activation-step {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    margin-top: 9px;
    padding: 12px;
    border: 1px solid var(--stage435-border);
    border-radius: 12px;
    background: #ffffff;
}

.chtio_stage435_auth .activation-step.is-current {
    border-color: #b6d4f5;
    background: #f8fbff;
}

.chtio_stage435_auth .activation-step.is-locked {
    opacity: 0.65;
}

.chtio_stage435_auth .activation-step-number {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #eaf3ff;
    color: var(--stage435-blue-dark);
    font-size: 11px;
    font-weight: 900;
}

.chtio_stage435_auth .activation-step-body {
    min-width: 0;
}

.chtio_stage435_auth .activation-step-body > header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.chtio_stage435_auth .activation-step-body h2,
.chtio_stage435_auth .activation-step-body p {
    margin: 0;
}

.chtio_stage435_auth .activation-step-body h2 {
    color: #29445f;
    font-size: 12px;
}

.chtio_stage435_auth .activation-step-body p {
    margin-top: 2px;
    color: #71849a;
    font-size: 9px;
    line-height: 1.45;
}

.chtio_stage435_auth .activation-step-body > header > span {
    flex: 0 0 auto;
    padding: 3px 6px;
    border-radius: 999px;
    background: #edf5ff;
    color: #37689d;
    font-size: 7px;
    font-weight: 850;
    text-transform: uppercase;
}

.chtio_stage435_auth .activation-code-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: end;
    margin-top: 10px;
}

.chtio_stage435_auth .activation-code-form .button {
    width: auto;
    min-width: 142px;
}

.chtio_stage435_auth .activation-inline-form {
    margin-top: 8px;
}

.chtio_stage435_auth .activation-inline-form button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--stage435-blue-dark);
    font-size: 9px;
    font-weight: 800;
    cursor: pointer;
}

.chtio_stage435_auth .activation-privacy,
.chtio_stage435_auth .activation-waiting {
    margin: 8px 0 0;
    color: #71849a;
    font-size: 9px;
}

.chtio_stage435_auth .auth-result-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 16px;
    border-radius: 16px;
    background: #eaf7f1;
    color: var(--stage435-green);
    font-size: 22px;
    font-weight: 900;
}

.stage435_auth_footer {
    min-height: 34px;
    padding-top: 8px;
    color: #8798ac;
    font-size: 9px;
}

.chtio_stage435_auth.chtio_native_auth .stage435_auth_topbar,
.chtio_stage435_auth.chtio_native_auth .stage435_auth_story,
.chtio_stage435_auth.chtio_native_auth .stage435_auth_footer {
    display: none;
}

.chtio_stage435_auth.chtio_native_auth .stage435_auth_page {
    display: flex;
    width: min(600px, calc(100% - 32px));
    min-height: 100svh;
    padding: 20px 0;
}

.chtio_stage435_auth.chtio_native_auth .stage435_auth_shell {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: auto;
}

.chtio_stage435_auth.chtio_native_auth .stage435_auth_form_area {
    min-height: 0;
    overflow: visible;
    padding: 34px;
}

@media (max-width: 980px) {
    html {
        scrollbar-gutter: auto;
    }

    .stage435_auth_page {
        width: min(760px, calc(100% - 36px));
        padding-top: 14px;
    }

    .stage435_auth_shell {
        display: block;
        height: auto;
        min-height: 640px;
    }

    .stage435_auth_story {
        display: none;
    }

    .stage435_auth_form_area {
        min-height: 640px;
        overflow: visible;
        padding: 48px 64px;
    }

    .stage435_auth_form_wrap {
        min-height: 544px;
        max-width: 510px;
    }

    .auth-page-register .stage435_auth_form_wrap,
    .auth-page-activate .stage435_auth_form_wrap,
    .auth-page-project .stage435_auth_form_wrap {
        align-items: center;
    }
}

@media (max-width: 640px) {
    .stage435_auth_page {
        display: block;
        width: 100%;
        min-height: 100svh;
        padding: 0;
    }

    .stage435_auth_topbar {
        min-height: 62px;
        margin: 0;
        padding: 10px 18px;
        border-bottom: 1px solid #e3ebf4;
        background: rgba(255, 255, 255, 0.9);
    }

    .stage435_auth_brand {
        font-size: 20px;
    }

    .stage435_auth_brand img {
        width: 34px;
        height: 34px;
    }

    .stage435_auth_back {
        min-height: 36px;
        padding: 0 11px;
        font-size: 12px;
    }

    .stage435_auth_shell {
        min-height: calc(100svh - 62px);
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .stage435_auth_form_area {
        display: block;
        min-height: calc(100svh - 62px);
        padding: 34px 22px 42px;
    }

    .stage435_auth_form_wrap {
        display: block;
        min-height: 0;
        max-width: 100%;
    }

    .chtio_stage435_auth .auth-card-head h1,
    .chtio_stage435_auth .auth-simple-head h1,
    .chtio_stage435_auth .auth-heading h1 {
        font-size: 32px;
    }

    .chtio_stage435_auth .auth-card-head,
    .chtio_stage435_auth .auth-simple-head,
    .chtio_stage435_auth .auth-heading {
        margin-bottom: 18px;
    }

    .chtio_stage435_auth .register-trust-flow {
        grid-template-columns: 1fr;
    }

    .chtio_stage435_auth .register-trust-flow > span {
        min-height: 38px;
    }

    .chtio_stage435_auth .auth-simple-actions,
    .chtio_stage435_auth .auth-form-row {
        align-items: flex-start;
    }

    .chtio_stage435_auth .stage282_auth_plan_notice {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .chtio_stage435_auth .stage282_auth_plan_notice > a {
        grid-column: 2;
    }

    .chtio_stage435_auth .activation-code-form {
        grid-template-columns: 1fr;
    }

    .chtio_stage435_auth .activation-code-form .button {
        width: 100%;
    }

    .chtio_stage435_auth .activation-step-body > header {
        display: block;
    }

    .chtio_stage435_auth .activation-step-body > header > span {
        display: inline-flex;
        margin-top: 6px;
    }

    .chtio_stage435_auth .recaptcha-box {
        transform-origin: left top;
    }

    .stage435_auth_footer {
        display: none;
    }
}

@media (max-width: 380px) {
    .stage435_auth_form_area {
        padding-right: 16px;
        padding-left: 16px;
    }

    .chtio_stage435_auth .auth-card-head h1,
    .chtio_stage435_auth .auth-simple-head h1,
    .chtio_stage435_auth .auth-heading h1 {
        font-size: 29px;
    }

    .chtio_stage435_auth .auth-simple-actions,
    .chtio_stage435_auth .auth-form-row {
        display: grid;
        justify-content: stretch;
    }
}

/* Registration keeps the complete verification flow visible on common laptop heights. */
@media (min-width: 981px) {
    .auth-page-register .stage435_auth_form_area {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .auth-page-register .auth-card-head {
        margin-bottom: 14px;
    }

    .auth-page-register .auth-card-head h1 {
        margin-top: 9px;
        margin-bottom: 6px;
        font-size: 36px;
    }

    .auth-page-register .register-trust-flow {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .auth-page-register .register-trust-flow > span {
        min-height: 36px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .auth-page-register .auth-form {
        gap: 10px;
    }

    .auth-page-register :where(.input, input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
        min-height: 44px;
        padding-top: 9px;
        padding-bottom: 9px;
    }

    .auth-page-register .auth-password-toggle {
        top: 4px;
    }

    .auth-page-register .button,
    .auth-page-register button.button {
        min-height: 44px;
    }

    .auth-page-register .registration-requirement-note,
    .auth-page-register .auth-switch,
    .auth-page-register .auth-security-note {
        margin-top: 9px;
    }
}

@media (max-width: 360px) {
    .chtio_stage435_auth .recaptcha-box {
        width: 304px;
        max-width: none;
        margin-right: -37px;
        margin-bottom: -9px;
        transform: scale(0.88);
        transform-origin: left top;
    }
}

@media (min-width: 981px) {
    .auth-page-register .auth-form {
        grid-template-columns: 304px minmax(0, 1fr);
        column-gap: 10px;
    }

    .auth-page-register .auth-form > .auth-field {
        grid-column: 1 / -1;
    }

    .auth-page-register .auth-form > .recaptcha-box {
        grid-column: 1;
        grid-row: auto;
        align-self: stretch;
    }

    .auth-page-register .auth-form > .button {
        grid-column: 2;
        align-self: stretch;
        min-height: 78px;
        padding-right: 12px;
        padding-left: 12px;
        text-align: center;
    }

    .auth-page-register .registration-requirement-note {
        margin-top: 8px;
        font-size: 9px;
        line-height: 1.4;
    }

    .auth-page-register .auth-security-note {
        margin-top: 6px;
    }
}

@media (min-width: 641px) {
    .chtio_stage435_auth .auth-card > .auth-security-note,
    .chtio_stage435_auth .native-google-complete > .auth-security-note {
        display: none;
    }
}

@media (min-width: 981px) {
    .auth-page-activate .stage435_auth_shell,
    .auth-page-project .stage435_auth_shell {
        height: auto;
        min-height: 690px;
    }

    .auth-page-activate .stage435_auth_form_area,
    .auth-page-project .stage435_auth_form_area {
        overflow: visible;
    }

    .auth-page-activate .stage435_auth_story,
    .auth-page-project .stage435_auth_story {
        min-height: 690px;
    }
}
