body.site-page-member.member-auth {
    padding: 0;
    background: #e5e6e4;
}

.member-auth #site-header {
    --site-ink: #fff;
    position: absolute;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.member-auth .site-menu { padding-inline: 5%; }
.member-auth .site-menu-links,
.member-auth .site-professional,
.member-auth .site-mobile-menu { display: none; }
.member-auth .site-language option { color: #202323; background: #fff; }
.member-auth .site-accessibility-panel { --site-ink: #202323; --site-panel: #fff; }

.auth-loading-state {
    min-height: 100svh;
    display: grid;
    place-items: center;
    background: #282f2f;
    color: #f8f9f8;
    font-size: 14px;
}

.auth-loading-state[hidden], .auth-error[hidden] { display: none; }

body.site-page-member .auth-screen {
    position: relative;
    isolation: isolate;
    min-height: 100svh;
    padding: 110px 5% 40px;
    align-content: center;
    background: #9b9c98;
}

.auth-background {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.auth-screen::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, rgba(11,18,18,.84), rgba(11,18,18,.42) 25%, transparent 49%);
    pointer-events: none;
}

.auth-screen .auth-grid {
    width: min(1440px, 100%);
    grid-template-columns: minmax(0, 1fr) minmax(380px, 480px);
    align-items: center;
    gap: 40px;
}

.auth-story {
    max-width: 320px;
    color: #fff;
    align-self: center;
    letter-spacing: 0;
}

.auth-eyebrow {
    margin: 0 0 22px;
    padding-top: 22px;
    border-top: 2px solid #ff681f;
    width: fit-content;
    font-size: 12px;
    font-weight: 600;
}

.auth-story h2 {
    margin: 0;
    font-family: Inter, sans-serif;
    font-size: 40px;
    font-weight: 750;
    line-height: 1.18;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.auth-story h2 span, .auth-story h2 em { display: block; }
.auth-story h2 em { color: #ff7b3d; font-style: normal; }
.auth-story-description { max-width: 270px; margin: 24px 0 0; font-size: 18px; line-height: 1.65; color: #eeefec; }
.auth-pillars { display: grid; gap: 24px; margin: 52px 0 0; padding: 0; list-style: none; }
.auth-pillars li { display: flex; align-items: center; gap: 14px; font-size: 14px; line-height: 1.5; }
.auth-pillars .auth-icon { flex: 0 0 28px; width: 28px; height: 28px; color: #ff7b3d; }

.auth-screen .login-panel {
    --ink: #1b2023;
    --ink-soft: #454d52;
    --line: #dcdfe0;
    --muted: #60686d;
    width: 100%;
    min-width: 0;
    padding: 40px;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 20px 64px #10161626;
    backdrop-filter: none;
    letter-spacing: 0;
}

.auth-brand { display: block; width: min(255px, 85%); margin: 0 auto 32px; }
.auth-brand img { width: 100%; height: auto; }
.auth-screen .login-panel h1 { margin: 0; color: var(--ink); font-family: Inter, sans-serif; font-size: 29px; font-weight: 750; line-height: 1.25; text-align: center; letter-spacing: 0; overflow-wrap: anywhere; }
.auth-screen .login-panel .lead { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; text-align: center; }
.auth-screen .login-form { display: grid; gap: 20px; margin-top: 32px; }
.auth-screen .field { display: grid; gap: 8px; }
.auth-screen .field > label { font-size: 13px; line-height: 1.5; font-weight: 650; letter-spacing: 0; text-transform: none; }
.auth-input-wrap { position: relative; min-width: 0; }
.auth-input-wrap > .auth-icon { position: absolute; top: 17px; left: 15px; width: 20px; height: 20px; color: #596166; pointer-events: none; }
.auth-screen .input { width: 100%; height: 54px; min-height: 54px; padding: 0 46px; border: 1px solid #d5d9db; border-radius: 6px; background: #f9faf9; color: #1b2023; font-size: 14px; line-height: normal; box-shadow: none; }
.auth-screen .input::placeholder { color: #70777b; opacity: 1; }
.auth-screen .input:focus { outline: 2px solid #df6028; outline-offset: 2px; border-color: #c54712; background: #fff; }
.auth-screen .input[aria-invalid="true"] { border-color: #b52f2f; }
.auth-password-toggle { position: absolute; inset: 5px 5px 5px auto; display: grid; place-items: center; width: 44px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: #464f54; }
.auth-password-toggle:hover { background: #e9edec; }
.auth-password-toggle:focus-visible, .auth-screen a:focus-visible, .auth-submit:focus-visible { outline: 2px solid #df6028; outline-offset: 3px; }
.auth-icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.auth-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.auth-options { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; line-height: 1.6; }
.auth-remember { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; cursor: pointer; }
.auth-remember input { width: 18px; height: 18px; margin: 0; accent-color: #c74912; }
.auth-text-link { color: #b83c08; font-weight: 600; }
.auth-text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.auth-screen .auth-submit { display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; min-height: 54px; padding: 14px 20px; border: 1px solid #c74610; border-radius: 6px; background: #c74610; color: #fff; font-size: 16px; font-weight: 700; line-height: 1.5; letter-spacing: 0; text-transform: none; box-shadow: none; }
.auth-screen .auth-submit:hover { background: #ac3708; border-color: #ac3708; transform: none; }
.auth-screen .auth-submit:disabled { cursor: wait; opacity: .7; }
.auth-screen .auth-contact { margin: 28px 0 0; padding-top: 24px; border-top: 1px solid #e1e4e5; color: #596166; font-size: 12px; line-height: 1.8; text-align: center; }
.auth-contact span { display: block; }
.auth-error { margin: 0; padding: 10px 12px; border-left: 3px solid #b52f2f; background: #fff2f1; color: #912222; font-size: 13px; line-height: 1.5; }

html[data-theme="dark"] .auth-screen .login-panel { background: #fff; }
html.site-high-contrast .auth-screen::before { background: #000; }
html.site-high-contrast .auth-background { visibility: hidden; }
html.site-high-contrast .auth-screen .input { color: #fff; }
html.site-high-contrast .auth-screen .auth-text-link { color: #ffdc50 !important; }
html.site-high-contrast .auth-screen .auth-error { background: #000; color: #fff; }

@media (min-width: 1700px) {
    .auth-screen .auth-grid { grid-template-columns: minmax(0, 1fr) 510px; }
    .auth-screen .login-panel { padding: 48px; }
    .auth-story { max-width: 360px; }
    .auth-story h2 { font-size: 44px; }
}

@media (max-width: 1100px) {
    body.site-page-member .auth-screen { padding-inline: 4%; }
    .auth-screen .auth-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; }
    .auth-screen .login-panel { padding: 32px 28px; }
    .auth-story { max-width: 230px; }
    .auth-story h2 { font-size: 32px; }
    .auth-story-description { font-size: 16px; }
    .auth-pillars { margin-top: 36px; }
}

@media (max-width: 820px) {
    body.site-page-member .auth-screen { padding: 92px 20px 32px; align-content: start; background: #e5e6e4; }
    .auth-screen .auth-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; width: min(460px, 100%); }
    .auth-background { height: 420px; object-position: left top; }
    .auth-screen::before { bottom: auto; height: 420px; background: linear-gradient(0deg, #e5e6e4, transparent 25%), linear-gradient(90deg, #0b1212c9, #0b121252 65%, transparent); }
    .auth-story { max-width: 240px; min-height: 170px; }
    .auth-eyebrow { margin-bottom: 14px; padding-top: 14px; font-size: 11px; }
    .auth-story h2 { font-size: 30px; }
    .auth-story-description { margin-top: 16px; font-size: 14px; }
    .auth-pillars { display: none; }
    .auth-screen .login-panel { padding: 30px 28px; }
    .auth-screen .login-panel h1 { font-size: 26px; }
    .auth-brand { margin-bottom: 26px; width: 230px; }
    .auth-screen .input { font-size: 16px; }
    .member-auth .site-menu-brand { width: 210px; }
    .member-auth .site-menu { padding-inline: 20px; }
}

@media (max-width: 380px) {
    body.site-page-member .auth-screen { padding-inline: 14px; }
    .auth-screen .login-panel { padding: 28px 20px; }
    .auth-screen .login-panel h1 { font-size: 24px; }
    .auth-screen .input { padding-left: 42px; }
    .auth-options { gap: 6px 12px; }
    .member-auth .site-menu { padding-inline: 14px; }
    .member-auth .site-menu-brand { width: 175px; }
}
