.estate-login-page {
    --estate-forest: #113d35;
    --estate-courtyard: url("/images/estate-sign-in-courtyard.jpg");
    margin: 0;
    color: #19332d;
    background: #fcfcf9;
    font: 16px/1.5 "Segoe UI", Arial, sans-serif;
}

.estate-login-page *, .estate-login-page *::before, .estate-login-page *::after {
    box-sizing: border-box;
}

.estate-login-page [hidden] {
    display: none !important;
}

.estate-login-page :focus-visible {
    outline: 2px solid #17634e;
    outline-offset: 4px;
}

.estate-login {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 100dvh;
}

.estate-login .signin-story {
    display: flex;
    flex-direction: column;
    padding: clamp(32px, 4vw, 72px) clamp(32px, 4vw, 72px) 0;
    color: #fffdf4;
    background: var(--estate-forest);
}

.estate-login-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 23px;
    font-weight: 650;
    letter-spacing: -1.05px;
}

.estate-login-brand img {
    flex: none;
    width: 33px;
    height: 33px;
}

.estate-login-brand-mobile {
    display: none;
}

.estate-login-intro {
    margin-top: clamp(72px, 14vh, 155px);
}

.estate-login-headline {
    margin: 0;
    font-size: clamp(38px, 4.1vw, 73px);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: -.055em;
}

.estate-login-headline em {
    display: block;
    color: #cfe3cf;
    font-family: Georgia, serif;
    font-weight: 400;
}

.estate-login-description {
    max-width: 365px;
    margin: 22px 0 0;
    color: #d5e4dc;
    font-size: 17px;
}

.estate-login-courtyard {
    position: relative;
    isolation: isolate;
    flex: 1;
    min-height: 196px;
    margin: 12px calc(-1 * clamp(32px, 4vw, 72px)) 0;
    background: var(--estate-forest);
}

.estate-login-courtyard::before, .estate-login-courtyard::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
}

.estate-login-courtyard::before, .estate-login-brand-mobile::before {
    background: var(--estate-courtyard) center / cover no-repeat;
    filter: grayscale(1);
    mix-blend-mode: luminosity;
    opacity: .33;
}

.estate-login-courtyard::after {
    background: linear-gradient(to bottom, var(--estate-forest), rgb(17 61 53 / 16%) 68%, rgb(9 40 34 / 15%));
}

.estate-login .signin-credentials {
    display: grid;
    grid-template-rows: minmax(68px, 1fr) auto minmax(68px, 1fr);
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    padding: 0 32px;
}

.estate-login-content {
    grid-row: 2;
    width: min(100%, 382px);
    overflow-wrap: anywhere;
}

.estate-login-content h1 {
    margin: 0;
    font-size: clamp(34px, 3vw, 46px);
    font-weight: 650;
    line-height: 1.12;
    letter-spacing: -.055em;
}

.estate-login-status {
    margin: 12px 0 0;
    color: #52655d;
}

.estate-login-actions {
    margin-top: 29px;
}

.estate-login-content label {
    display: block;
    margin-bottom: 8px;
    color: #465b54;
    font-size: 14px;
    font-weight: 650;
}

.estate-login-content input {
    display: block;
    width: 100%;
    min-height: 44px;
    margin-bottom: 20px;
    padding: 12px;
    border: 1px solid #b6c7bd;
    border-radius: 8px;
    color: inherit;
    font: inherit;
}

.estate-login-primary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 12px 38px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #fff;
    background: #17634e;
    font: 700 15px/1.4 "Segoe UI", Arial, sans-serif;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.estate-login-primary:hover {
    background: #115243;
}

.estate-login-primary:disabled {
    opacity: .65;
    cursor: wait;
}

.estate-login-arrow {
    position: absolute;
    right: 18px;
    font-size: 21px;
    font-weight: 400;
}

.estate-login-error {
    margin: 0;
    color: #a12338;
    font-size: 14px;
}

.estate-login-error:not(:empty) {
    margin-bottom: 14px;
}

.estate-login-hint, .estate-login-trial {
    color: #53655c;
    font-size: 14px;
}

.estate-login-hint {
    margin: 10px 0 0;
}

.estate-login-trial {
    margin-top: 25px;
    padding-top: 22px;
    border-top: 1px solid #dbe4dd;
}

.estate-login-trial p {
    margin: 0;
}

.estate-login-trial p + p {
    margin-top: 4px;
    color: #607168;
    font-size: 13px;
}

.estate-login-trial a, .estate-login-hint a {
    color: #185d4a;
    text-underline-offset: 3px;
}

.estate-login-trial a {
    font-weight: 600;
}

.estate-login-footer {
    grid-row: 3;
    align-self: end;
    padding: 16px 0 28px;
    font-size: 12px;
}

.estate-login-footer a {
    color: #5a6b64;
    text-underline-offset: 3px;
}

.estate-first-run .estate-login-actions { margin-top: 20px; }
.estate-first-run .estate-login-content input { margin-bottom: 16px; }
.estate-setup-help { margin: -4px 0 8px; color: #52655d; font-size: 13px; }
.estate-setup-password { position: relative; }
.estate-setup-password input { padding-inline-end: 48px; }
.estate-setup-password input::-ms-reveal { display: none; }
.estate-setup-password button {
    position: absolute;
    inset-inline-end: 4px;
    inset-block-start: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #465b54;
    font-size: 20px;
    cursor: pointer;
}
.estate-setup-password button:hover { background: #e8f0ea; color: #17634e; }
.estate-setup-requirements {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    margin: -8px 0 16px;
    padding: 0;
    list-style: none;
    color: #465b54;
    font-size: 13px;
}
.estate-setup-requirements li { display: flex; align-items: center; gap: 5px; }
.estate-setup-requirements i { color: #a12338; font-size: 17px; }
.estate-setup-requirements li[data-met="true"] i { color: #17634e; }
.estate-first-run .account-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

@media (max-width: 760px) {
    .estate-login {
        grid-template-columns: minmax(0, 1fr);
    }

    .estate-login .signin-story {
        display: none;
    }

    .estate-login .signin-credentials {
        grid-template-rows: auto minmax(48px, 1fr);
        padding: 0 26px;
    }

    .estate-login-content {
        display: flex;
        flex-direction: column;
        grid-row: 1;
    }

    .estate-login-brand-mobile {
        position: relative;
        isolation: isolate;
        display: flex;
        min-height: 108px;
        margin-inline: min(-26px, (382px - 100vw) / 2);
        margin-bottom: clamp(58px, 11vh, 115px);
        padding: 24px 26px;
        color: #fffdf4;
        background: var(--estate-forest);
        font-size: 22px;
    }

    .estate-login-brand-mobile::before, .estate-login-brand-mobile::after {
        content: "";
        position: absolute;
        z-index: -1;
        inset: 0 0 0 43%;
    }

    .estate-login-brand-mobile::after {
        background: linear-gradient(to right, var(--estate-forest), transparent);
    }

    .estate-login-status {
        font-size: 15px;
    }

    .estate-first-run .estate-login-brand-mobile { margin-bottom: 30px; }

    .estate-login-footer {
        grid-row: 2;
        justify-self: start;
    }
}
