:root {
    --login-purple: #4b1781;
    --login-purple-deep: #28104f;
    --login-purple-bright: #8036e6;
    --login-ink: #241247;
    --login-muted: #665f8e;
    --login-line: #dedbed;
}

.login-auth-page {
    min-width: 320px;
    background: #f8f7ff;
    color: var(--login-ink);
}

.login-auth-page .auth-shell {
    grid-template-columns: minmax(600px, 56.25%) minmax(500px, 43.75%);
    min-height: 100svh;
}

.login-auth-page .auth-brand {
    isolation: isolate;
    justify-content: flex-start;
    min-height: 100svh;
    padding: clamp(2rem, 4.7vw, 5.25rem) clamp(2.2rem, 5.15vw, 5.8rem);
    background:
        radial-gradient(circle at 51% 48%, rgba(113, 47, 176, .72), transparent 42%),
        linear-gradient(145deg, #2b0f52 0%, #4d1b7b 50%, #69318b 100%);
}

.login-auth-page .auth-brand::before {
    position: absolute;
    z-index: -2;
    top: -11rem;
    right: -6.5rem;
    width: min(48vw, 49rem);
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 50%;
    box-shadow:
        0 0 0 5.5rem rgba(255, 255, 255, .025),
        0 0 0 11rem rgba(255, 255, 255, .018);
    content: "";
}

.login-auth-page .auth-brand::after {
    right: auto;
    bottom: -20rem;
    left: -10rem;
    width: 46rem;
    height: 46rem;
    border-color: rgba(255, 255, 255, .055);
    box-shadow: 0 0 0 5rem rgba(255, 255, 255, .018);
}

.login-auth-page .auth-back {
    display: none;
}

.login-auth-page .auth-close {
    position: fixed;
    z-index: 50;
    top: clamp(1rem, 2vw, 1.75rem);
    right: clamp(1rem, 2vw, 1.75rem);
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border: 1px solid rgba(79, 42, 124, .13);
    border-radius: 50%;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 12px 30px rgba(48, 25, 91, .12);
    color: #39245f;
    text-decoration: none;
    backdrop-filter: blur(10px);
    transition: border-color .18s, box-shadow .18s, transform .18s;
}

.login-auth-page .auth-close svg {
    width: 1.15rem;
    height: 1.15rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 2;
}

.login-auth-page .auth-close:hover {
    border-color: rgba(111, 39, 204, .32);
    box-shadow: 0 14px 34px rgba(48, 25, 91, .18);
    transform: rotate(4deg) scale(1.04);
}

.login-auth-page .auth-close:focus-visible {
    outline: 3px solid rgba(126, 50, 222, .24);
    outline-offset: 3px;
}

.login-auth-page .brand-copy {
    position: static;
    display: flex;
    z-index: 2;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    max-width: none;
    padding: clamp(1.5rem, 3vh, 3rem) 0 clamp(7rem, 14vh, 8.5rem);
}

.login-auth-page .brand-mark {
    width: 7rem;
    height: 7rem;
    margin-bottom: 1.35rem;
    border-radius: 1.35rem;
    box-shadow: 0 18px 40px rgba(26, 7, 50, .22);
    color: #6924b5;
    font-size: 1.55rem;
    font-weight: 700;
}

.login-auth-page .brand-copy .eyebrow {
    margin-bottom: 1.9rem;
    color: #fff;
    font-size: .84rem;
    font-weight: 600;
    letter-spacing: .17em;
}

.login-auth-page .brand-copy h1 {
    position: relative;
    z-index: 2;
    max-width: 42rem;
    color: #fff;
    font-size: clamp(3rem, 4.2vw, 4.55rem);
    font-weight: 650;
    line-height: 1.02;
    letter-spacing: -.052em;
}

.login-auth-page .brand-copy h1 span {
    color: #c7a7ff;
}

.login-auth-page .brand-description {
    position: relative;
    z-index: 2;
    max-width: 37rem;
    margin-top: 1.35rem;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(.96rem, 1.1vw, 1.13rem);
    line-height: 1.55;
}

.dairy-script,
.milk-splash-art,
.auth-benefits,
.farm-silhouette {
    display: none;
}

.login-auth-page .dairy-script {
    position: absolute;
    z-index: 3;
    top: 20%;
    right: 20%;
    display: block;
    margin: 0;
    color: rgba(255, 255, 255, .9);
    font-family: "Segoe Script", "Brush Script MT", cursive;
    font-size: clamp(1.15rem, 1.75vw, 1.8rem);
    font-style: italic;
    line-height: 1.08;
    text-align: center;
    transform: rotate(-10deg);
}

.login-auth-page .dairy-script::after {
    display: block;
    width: 4.4rem;
    height: 1.4rem;
    margin: .25rem auto 0;
    border-top: 2px solid rgba(255, 255, 255, .82);
    border-radius: 50%;
    content: "";
    transform: rotate(-9deg);
}

.login-auth-page .milk-splash-art {
    position: absolute;
    z-index: 1;
    right: -3rem;
    bottom: -3rem;
    display: block;
    width: clamp(27rem, 29vw, 32rem);
    height: auto;
    opacity: .9;
    filter: drop-shadow(-20px 28px 34px rgba(27, 6, 49, .23));
    pointer-events: none;
    transform: rotate(13deg);
    transform-origin: 76% 100%;
}

@media (min-width: 1051px) {
    html:has(.login-auth-page) {
        height: 100%;
        overflow: hidden;
    }

    .login-auth-page {
        height: 100dvh;
        overflow: hidden;
    }

    .login-auth-page .auth-shell,
    .login-auth-page .auth-brand,
    .login-auth-page .auth-panel {
        height: 100dvh;
        min-height: 0;
    }

    .login-auth-page .auth-shell,
    .login-auth-page .auth-brand {
        overflow: hidden;
    }

    .login-auth-page .auth-panel {
        overflow: clip;
    }
}

.login-auth-page .auth-benefits {
    position: relative;
    z-index: 5;
    bottom: auto;
    left: auto;
    display: grid;
    width: min(64%, 36rem);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.7rem);
    margin: clamp(1.7rem, 3.4vh, 2.35rem) 0 0;
    padding: 0;
    list-style: none;
}

.login-auth-page .auth-benefits li {
    color: #fff;
    font-size: .75rem;
    font-weight: 500;
    line-height: 1.35;
}

.login-auth-page .benefit-icon {
    display: grid;
    width: 3.45rem;
    height: 3.45rem;
    place-items: center;
    margin-bottom: .6rem;
    border: 1px solid rgba(255, 255, 255, .045);
    border-radius: .85rem;
    background: rgba(169, 102, 229, .3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.login-auth-page .benefit-icon svg {
    width: 1.72rem;
    height: 1.72rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.login-auth-page .farm-silhouette {
    position: absolute;
    z-index: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    height: clamp(7rem, 15vh, 9.3rem);
    color: #2e1054;
    opacity: .78;
    pointer-events: none;
}

.login-auth-page .farm-silhouette svg {
    width: 100%;
    height: 100%;
}

.login-auth-page .farm-hill { fill: currentColor; opacity: .84; }
.login-auth-page .farm-tree { fill: #2a0e4d; }
.login-auth-page .farm-building { fill: #35115f; }
.login-auth-page .farm-animal { fill: #260c45; }

.login-auth-page .trust-note {
    position: absolute;
    z-index: 5;
    bottom: clamp(3.1rem, 6.5vh, 4.3rem);
    left: clamp(2.2rem, 5.15vw, 5.8rem);
    margin: 0;
    color: rgba(255, 255, 255, .75);
    font-size: .77rem;
    font-weight: 500;
    letter-spacing: .13em;
}

.login-auth-page .trust-note::before {
    display: block;
    width: 2.8rem;
    height: 2px;
    margin-bottom: 1.05rem;
    background: #bea0f5;
    content: "";
}

.login-auth-page .auth-panel {
    position: relative;
    padding: clamp(1.8rem, 4vw, 4rem);
    background:
        radial-gradient(circle at 42% 45%, rgba(255, 255, 255, .98), rgba(255, 255, 255, .7) 40%, transparent 70%),
        linear-gradient(145deg, #fbfaff, #f1effe);
}

.login-auth-page .auth-panel::before,
.login-auth-page .auth-panel::after {
    position: absolute;
    border-radius: 50%;
    background: rgba(122, 68, 214, .1);
    filter: blur(55px);
    content: "";
    pointer-events: none;
}

.login-auth-page .auth-panel::before {
    top: 3%;
    right: 5%;
    width: 14rem;
    height: 14rem;
}

.login-auth-page .auth-panel::after {
    bottom: -4rem;
    left: 10%;
    width: 16rem;
    height: 16rem;
}

.login-auth-page .auth-card {
    position: relative;
    z-index: 1;
    width: min(100%, 38.75rem);
    padding: clamp(2.25rem, 3.3vw, 3.35rem);
    border: 1px solid rgba(255, 255, 255, .92);
    border-radius: 1.7rem;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 28px 75px rgba(65, 34, 128, .1);
    backdrop-filter: blur(12px);
}

.login-auth-page .auth-heading .eyebrow {
    margin: 0 0 .85rem;
    color: #8139e2;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .16em;
}

.login-auth-page .auth-heading h2 {
    margin: 0 0 .65rem;
    color: var(--login-ink);
    font-size: clamp(2.45rem, 3.2vw, 3.3rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -.045em;
}

.login-auth-page .auth-heading > p:last-child {
    color: var(--login-muted);
    font-size: 1rem;
    line-height: 1.5;
}

.login-auth-page .auth-form {
    gap: 1.05rem;
    margin-top: 1.75rem;
}

.login-auth-page .field {
    gap: .47rem;
}

.login-auth-page .field label,
.login-auth-page .label-row {
    color: #35255d;
    font-size: .82rem;
    font-weight: 600;
}

.login-auth-page .label-row a {
    color: #742bda;
    font-weight: 500;
    text-decoration: none;
}

.login-auth-page .label-row a:hover,
.login-auth-page .auth-foot a:hover {
    text-decoration-thickness: 2px;
}

.login-auth-page .input-shell,
.login-auth-page .password-wrap {
    position: relative;
}

.login-auth-page .field-icon {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 1.15rem;
    width: 1.25rem;
    height: 1.25rem;
    fill: none;
    stroke: #4f3f7f;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
    pointer-events: none;
    transform: translateY(-50%);
}

.login-auth-page input:not([type="checkbox"]) {
    min-height: 3.65rem;
    padding: .85rem 3.25rem;
    border: 1.5px solid #d4d0e9;
    border-radius: .9rem;
    background: rgba(250, 249, 255, .9);
    color: var(--login-ink);
    font-size: .91rem;
    font-weight: 500;
}

.login-auth-page input:not([type="checkbox"]):focus {
    border-color: #873deb;
    box-shadow: 0 0 0 .2rem rgba(128, 54, 230, .11);
}

.login-auth-page .field-help {
    margin: 0;
    color: #777096;
    font-size: .76rem;
}

.login-auth-page .password-toggle {
    top: 50%;
    right: .85rem;
    bottom: auto;
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    padding: 0;
    border-radius: .55rem;
    background: transparent;
    color: #655989;
    transform: translateY(-50%);
}

.login-auth-page .password-toggle:hover {
    background: #eee9fa;
}

.login-auth-page .password-toggle svg {
    width: 1.35rem;
    height: 1.35rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.login-auth-page .password-toggle .eye-closed,
.login-auth-page .password-toggle.is-visible .eye-open {
    display: none;
}

.login-auth-page .password-toggle.is-visible .eye-closed {
    display: block;
}

.login-auth-page .check {
    align-items: center;
    gap: .8rem;
    margin-top: .05rem;
    color: #5c557b;
    font-size: .82rem;
}

.login-auth-page .check input {
    width: 1.2rem;
    height: 1.2rem;
    min-height: 1.2rem;
    flex: 0 0 1.2rem;
    margin: 0;
    border: 1.5px solid #9f98bd;
    border-radius: .2rem;
    accent-color: #7226ce;
}

.login-auth-page .submit-button {
    display: grid;
    min-height: 4rem;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    margin-top: .55rem;
    padding: 0 1.65rem;
    border-radius: .95rem;
    background: linear-gradient(108deg, #5515a0 0%, #8237d9 100%);
    box-shadow: 0 16px 28px rgba(92, 27, 167, .2);
    font-size: 1rem;
    font-weight: 600;
}

.login-auth-page .submit-button span:first-child {
    grid-column: 2;
}

.login-auth-page .button-arrow {
    grid-column: 3;
    justify-self: end;
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1;
    transition: transform .2s;
}

.login-auth-page .submit-button:hover {
    background: linear-gradient(108deg, #461282, #712bc4);
}

.login-auth-page .submit-button:hover .button-arrow {
    transform: translateX(4px);
}

.login-auth-page .auth-divider {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    margin: 2rem 0 1.6rem;
    color: #6e678c;
    font-size: .8rem;
}

.login-auth-page .auth-divider::before,
.login-auth-page .auth-divider::after {
    height: 1px;
    flex: 1;
    background: var(--login-line);
    content: "";
}

.login-auth-page .auth-foot {
    margin: 0;
    color: #352657;
    font-size: .82rem;
}

.login-auth-page .auth-foot a {
    color: #6821ca;
    font-weight: 600;
}

.login-auth-page .notice {
    border-radius: .85rem;
}

@media (max-width: 1320px) {
    .login-auth-page .auth-shell {
        grid-template-columns: minmax(520px, 54%) minmax(470px, 46%);
    }

    .login-auth-page .auth-brand {
        padding-inline: 3.5rem;
    }

    .login-auth-page .trust-note {
        left: 3.5rem;
    }

    .login-auth-page .auth-benefits {
        width: 65%;
        gap: 1rem;
    }

    .login-auth-page .milk-splash-art {
        right: -5.5rem;
        width: 31rem;
    }
}

@media (max-width: 1050px) {
    .login-auth-page .auth-shell {
        display: block;
        min-height: 100svh;
    }

    .login-auth-page .auth-brand {
        min-height: 21rem;
        padding: 1.75rem clamp(1.4rem, 6vw, 3.5rem) 3rem;
    }

    .login-auth-page .brand-copy {
        display: block;
        padding: 3rem 0 2rem;
    }

    .login-auth-page .brand-mark {
        width: 3.7rem;
        height: 3.7rem;
        margin-bottom: .85rem;
        border-radius: 1rem;
        font-size: 1.25rem;
    }

    .login-auth-page .brand-copy .eyebrow {
        margin-bottom: 1rem;
        font-size: .72rem;
    }

    .login-auth-page .brand-copy h1 {
        max-width: 31rem;
        font-size: clamp(2.55rem, 7vw, 3.8rem);
    }

    .login-auth-page .brand-description {
        max-width: 31rem;
        margin-top: 1rem;
    }

    .login-auth-page .auth-benefits,
    .login-auth-page .trust-note,
    .login-auth-page .dairy-script,
    .login-auth-page .farm-silhouette {
        display: none;
    }

    .login-auth-page .milk-splash-art {
        right: -4rem;
        bottom: -7rem;
        width: clamp(20rem, 45vw, 28rem);
        opacity: .94;
        transform: rotate(-3deg);
        transform-origin: 60% 80%;
    }

    .login-auth-page .auth-panel {
        min-height: auto;
        padding: 2rem 1.25rem 3rem;
    }

    .login-auth-page .auth-card {
        width: min(100%, 38rem);
    }
}

@media (max-width: 620px) {
    .login-auth-page .auth-brand {
        min-height: 17.5rem;
        padding: 1.2rem 1.25rem 2rem;
    }

    .login-auth-page .brand-copy {
        padding: 1.7rem 0 1rem;
    }

    .login-auth-page .brand-mark {
        width: 3rem;
        height: 3rem;
        margin-bottom: .65rem;
        border-radius: .8rem;
        font-size: 1rem;
    }

    .login-auth-page .brand-copy .eyebrow {
        margin-bottom: .75rem;
        font-size: .64rem;
    }

    .login-auth-page .brand-copy h1 {
        max-width: 20rem;
        font-size: clamp(2.1rem, 10vw, 2.8rem);
    }

    .login-auth-page .brand-description {
        display: none;
    }

    .login-auth-page .milk-splash-art {
        right: -6.5rem;
        bottom: -8rem;
        width: 22rem;
        opacity: .8;
    }

    .login-auth-page .auth-panel {
        align-items: start;
        padding: .85rem;
    }

    .login-auth-page .auth-card {
        padding: 1.5rem 1.2rem;
        border-radius: 1.2rem;
    }

    .login-auth-page .auth-heading .eyebrow {
        font-size: .7rem;
    }

    .login-auth-page .auth-heading h2 {
        font-size: 2.25rem;
    }

    .login-auth-page .auth-heading > p:last-child {
        font-size: .88rem;
    }

    .login-auth-page .desktop-break {
        display: none;
    }

    .login-auth-page .auth-form {
        margin-top: 1.35rem;
    }

    .login-auth-page input:not([type="checkbox"]) {
        min-height: 3.35rem;
    }

    .login-auth-page .submit-button {
        min-height: 3.55rem;
    }

    .login-auth-page .auth-divider {
        margin: 1.5rem 0 1.2rem;
    }
}

@media (min-width: 1051px) and (max-height: 1000px) {
    .login-auth-page .auth-panel {
        padding-block: clamp(1rem, 3vh, 2rem);
    }

    .login-auth-page .auth-card {
        padding: clamp(1.8rem, 3.4vh, 2.45rem) clamp(2.1rem, 3vw, 3rem);
    }

    .login-auth-page .auth-heading .eyebrow {
        margin-bottom: .65rem;
    }

    .login-auth-page .auth-heading h2 {
        margin-bottom: .5rem;
        font-size: clamp(2.4rem, 3vw, 3rem);
    }

    .login-auth-page .auth-heading > p:last-child {
        font-size: .93rem;
        line-height: 1.42;
    }

    .login-auth-page .auth-form {
        gap: .82rem;
        margin-top: 1.25rem;
    }

    .login-auth-page .field {
        gap: .35rem;
    }

    .login-auth-page input:not([type="checkbox"]) {
        min-height: 3.25rem;
    }

    .login-auth-page .field-help {
        line-height: 1.25;
    }

    .login-auth-page .submit-button {
        min-height: 3.55rem;
        margin-top: .3rem;
    }

    .login-auth-page .auth-divider {
        margin: 1.3rem 0 1rem;
    }

    .login-auth-page .milk-splash-art {
        right: -3.5rem;
        bottom: -2.5rem;
    }
}

@media (min-width: 1051px) and (max-width: 1500px) {
    .login-auth-page .dairy-script {
        display: none;
    }

    .login-auth-page .milk-splash-art {
        right: -6.5rem;
        bottom: -5rem;
        width: 25rem;
    }
}

@media (max-height: 740px) and (min-width: 1051px) {
    .login-auth-page .brand-copy {
        padding-top: 1rem;
        padding-bottom: 7rem;
    }

    .login-auth-page .brand-mark {
        width: 3.6rem;
        height: 3.6rem;
        margin-bottom: .8rem;
        border-radius: 1rem;
        font-size: 1.15rem;
    }

    .login-auth-page .brand-copy .eyebrow {
        margin-bottom: 1.1rem;
    }

    .login-auth-page .brand-copy h1 {
        font-size: clamp(2.7rem, 4vw, 3.8rem);
    }

    .login-auth-page .auth-benefits {
        bottom: auto;
        margin-top: 1.15rem;
    }

    .login-auth-page .benefit-icon {
        width: 2.9rem;
        height: 2.9rem;
    }

    .login-auth-page .trust-note {
        bottom: 1.5rem;
    }

    .login-auth-page .auth-card {
        padding: 2rem 2.5rem;
    }

    .login-auth-page .auth-heading h2 {
        font-size: 2.5rem;
    }

    .login-auth-page .auth-form {
        gap: .75rem;
        margin-top: 1.15rem;
    }

    .login-auth-page input:not([type="checkbox"]) {
        min-height: 3.2rem;
    }

    .login-auth-page .submit-button {
        min-height: 3.45rem;
    }

    .login-auth-page .auth-divider {
        margin: 1.3rem 0 1rem;
    }
}

/* Password recovery and OTP verification */
.recovery-auth-page .auth-card-recovery {
    width: min(100%, 36rem);
}

.recovery-auth-page .recovery-icon {
    display: grid;
    width: 3.6rem;
    height: 3.6rem;
    place-items: center;
    margin-bottom: 1.15rem;
    border: 1px solid #e4d7f1;
    border-radius: 1rem;
    background: linear-gradient(145deg, #f6edff, #fff);
    color: #7130b1;
    box-shadow: 0 10px 24px rgba(91, 36, 142, .1);
}

.recovery-auth-page .recovery-icon.is-success {
    border-color: #cfe8d7;
    background: linear-gradient(145deg, #eaf8ef, #fff);
    color: #267846;
}

.recovery-auth-page .recovery-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.recovery-auth-page .auth-heading > p:last-child strong {
    color: #3a225e;
    font-weight: 700;
}

.recovery-auth-page input.recovery-otp-input {
    padding-inline: 1rem;
    font-size: clamp(1.45rem, 3vw, 1.8rem);
    font-weight: 750;
    letter-spacing: .55em;
    text-align: center;
}

.recovery-auth-page input.recovery-otp-input::placeholder {
    letter-spacing: .55em;
}

.recovery-auth-page .recovery-secondary-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .65rem 1.2rem;
    flex-wrap: wrap;
    margin-top: 1.35rem;
    font-size: .8rem;
}

.recovery-auth-page .recovery-secondary-actions form {
    margin: 0;
}

.recovery-auth-page .recovery-secondary-actions button,
.recovery-auth-page .recovery-secondary-actions a,
.recovery-auth-page .auth-foot a {
    padding: 0;
    border: 0;
    background: transparent;
    color: #6d28bd;
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.recovery-auth-page .recovery-secondary-actions button:hover,
.recovery-auth-page .recovery-secondary-actions a:hover,
.recovery-auth-page .auth-foot a:hover {
    text-decoration: underline;
}

.recovery-auth-page .auth-foot {
    margin-top: 1.35rem;
    text-align: center;
}

@media (max-width: 600px) {
    .recovery-auth-page .auth-heading h2 {
        font-size: 2.15rem;
    }

    .recovery-auth-page input.recovery-otp-input {
        letter-spacing: .4em;
    }
}

@media (prefers-reduced-motion: reduce) {
    .login-auth-page * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

/* The sign-in screen uses a quieter layout than the other auth flows. */
html:has(.simple-login-page),
body.simple-login-page {
    min-width: 320px;
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
    background: #faf9fc;
}

body.simple-login-page .auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 42%) minmax(0, 58%);
    min-height: 100svh;
    height: auto;
    overflow: visible;
}

body.simple-login-page .auth-brand {
    display: grid;
    min-height: 100svh;
    height: auto;
    place-items: center;
    padding: clamp(2rem, 5vw, 5rem);
    overflow: hidden;
    background: linear-gradient(150deg, #321352 0%, #512378 100%);
}

body.simple-login-page .auth-brand::before {
    top: auto;
    right: auto;
    bottom: -20rem;
    left: -18rem;
    width: 40rem;
    height: 40rem;
    border-color: rgba(255, 255, 255, .08);
    box-shadow: 0 0 0 7rem rgba(255, 255, 255, .025);
}

body.simple-login-page .auth-brand::after {
    right: -14rem;
    bottom: auto;
    left: auto;
    top: -18rem;
    width: 38rem;
    height: 38rem;
    border-color: rgba(255, 255, 255, .07);
    box-shadow: 0 0 0 6rem rgba(255, 255, 255, .02);
}

body.simple-login-page .login-brand-link {
    position: relative;
    z-index: 1;
    display: block;
    width: min(100%, 19rem);
    border-radius: 1rem;
}

body.simple-login-page .login-brand-link:focus-visible {
    outline: 3px solid #e1c8ff;
    outline-offset: 6px;
}

body.simple-login-page .auth-wordmark {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
}

body.simple-login-page .auth-panel {
    display: grid;
    min-width: 0;
    min-height: 100svh;
    height: auto;
    place-items: center;
    padding: clamp(3.5rem, 7vw, 6rem) clamp(1.5rem, 5vw, 5rem);
    overflow: visible;
    background: #faf9fc;
}

body.simple-login-page .auth-panel::before,
body.simple-login-page .auth-panel::after {
    display: none;
}

body.simple-login-page .auth-card {
    width: min(100%, 27rem);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

body.simple-login-page .auth-heading h1 {
    margin: 0;
    color: #25143e;
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 650;
    line-height: 1.15;
    letter-spacing: -.04em;
}

body.simple-login-page .auth-form {
    gap: 1.25rem;
    margin-top: 2rem;
}

body.simple-login-page .field {
    gap: .5rem;
}

body.simple-login-page .field label,
body.simple-login-page .label-row {
    color: #342443;
    font-size: .875rem;
    font-weight: 600;
}

body.simple-login-page .label-row {
    align-items: baseline;
    flex-wrap: wrap;
}

body.simple-login-page .label-row a,
body.simple-login-page .auth-foot a {
    color: #632b91;
    font-weight: 600;
    text-decoration: none;
}

body.simple-login-page .label-row a:hover,
body.simple-login-page .auth-foot a:hover {
    text-decoration: underline;
}

body.simple-login-page input:not([type="checkbox"]) {
    width: 100%;
    min-height: 3.45rem;
    padding: .8rem 3.25rem;
    border: 1px solid #d9d2e2;
    border-radius: .75rem;
    background: #fff;
    color: #25143e;
    font-size: 1rem;
    box-shadow: none;
}

body.simple-login-page input:not([type="checkbox"]):focus {
    border-color: #7134a5;
    box-shadow: 0 0 0 3px rgba(113, 52, 165, .12);
}

body.simple-login-page .field-icon {
    left: 1rem;
    color: #725b84;
    stroke: currentColor;
}

body.simple-login-page .password-toggle {
    right: .65rem;
}

body.simple-login-page .check {
    min-height: 1.5rem;
    gap: .65rem;
    margin: 0;
    color: #61566d;
    font-size: .875rem;
}

body.simple-login-page .check input {
    width: 1.1rem;
    height: 1.1rem;
    min-height: 1.1rem;
    flex-basis: 1.1rem;
}

body.simple-login-page .submit-button {
    display: block;
    width: 100%;
    min-height: 3.45rem;
    margin: .25rem 0 0;
    padding: .75rem 1rem;
    border-radius: .75rem;
    background: #602c88;
    box-shadow: none;
    font-size: 1rem;
    font-weight: 600;
}

body.simple-login-page .submit-button:hover {
    background: #4d216e;
}

body.simple-login-page .auth-foot {
    margin-top: 1.7rem;
    color: #61566d;
    font-size: .875rem;
    text-align: left;
}

body.simple-login-page .auth-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 2.6rem;
    height: 2.6rem;
    border-color: #e2dce9;
    background: #fff;
    box-shadow: none;
}

@media (max-width: 900px) {
    body.simple-login-page .auth-shell {
        display: block;
    }

    body.simple-login-page .auth-brand {
        min-height: 7rem;
        padding: 1.25rem 2rem;
    }

    body.simple-login-page .login-brand-link {
        width: 10rem;
    }

    body.simple-login-page .auth-panel {
        min-height: calc(100svh - 7rem);
        padding: 3.5rem 2rem;
    }

    body.simple-login-page .auth-close {
        top: 1.25rem;
        right: 1.25rem;
    }
}

@media (max-width: 600px) {
    body.simple-login-page .auth-brand {
        min-height: 5.5rem;
        padding: 1rem 1.25rem;
    }

    body.simple-login-page .login-brand-link {
        width: 8.25rem;
    }

    body.simple-login-page .auth-panel {
        min-height: calc(100svh - 5.5rem);
        align-items: start;
        padding: clamp(2.25rem, 8vh, 4rem) 1.25rem 3rem;
    }

    body.simple-login-page .auth-card {
        width: min(100%, 27rem);
        padding: 0;
    }

    body.simple-login-page .auth-heading h1 {
        font-size: 2rem;
    }

    body.simple-login-page .auth-form {
        margin-top: 1.75rem;
    }

    body.simple-login-page .auth-close {
        top: 1.35rem;
        right: 1.25rem;
        width: 2.4rem;
        height: 2.4rem;
    }
}
