
:root {

    color-scheme: light dark;

    --background: #f1f3f6;
    --card: #ffffff;

    --text: #252932;
    --muted: #686e79;

    --line: #d4d9e0;
    --input-line: #b8c0cb;

    --accent: #52698b;
    --button-text: #ffffff;

    --raised: #f3f5f8;
    --error: #ab4141;

    --success: #387f73;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;

    min-height: 100dvh;

    display: grid;
    place-items: center;

    padding: 24px;

    background: var(--background);
    color: var(--text);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    -webkit-font-smoothing: antialiased;
}

.identity-shell {
    width: min(100%, 460px);
}

.identity-card {
    min-height: 420px;

    padding: 40px;

    background: var(--card);

    border: 1px solid var(--line);
    border-radius: 18px;

    box-shadow: 0 8px 30px #15203005;
}

.wordmark {
    margin-bottom: 35px;

    font-size: 23px;
    font-weight: 600;
    letter-spacing: -1.35px;
}

h1 {
    margin: 0 0 12px;

    font-size: 30px;
    font-weight: 500;
    letter-spacing: -1.1px;
}

.subtitle {
    margin: 0 0 30px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.7;
}

form > label:not(.show-password) {
    display: block;

    margin: 0 0 9px;

    color: var(--muted);

    font-size: 12px;
}

input[type="email"],
input[type="password"],
#password {
    width: 100%;
    height: 53px;

    padding: 0 15px;

    background: var(--card);
    color: var(--text);

    border: 1px solid var(--input-line);
    border-radius: 8px;

    font: inherit;
    font-size: 16px;

    outline: none;

    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}

input[type="email"]:focus,
#password:focus {
    border-color: var(--accent);

    box-shadow: 0 0 0 1px var(--accent);
}

.identity-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    margin-top: 39px;
}

.primary {
    min-width: 98px;

    padding: 12px 24px;

    background: var(--accent);
    color: var(--button-text);

    border: 0;
    border-radius: 8px;

    font: inherit;
    font-size: 13px;
    font-weight: 550;

    cursor: pointer;

    transition: filter .15s ease;
}

.primary:hover {
    filter: brightness(1.08);
}

.primary:active {
    filter: brightness(.95);
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.private-label {
    color: var(--muted);
    font-size: 12px;
}

.text-link {
    color: var(--accent);

    font-size: 13px;
    font-weight: 500;

    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

.account-chip {
    display: flex;
    align-items: center;
    gap: 10px;

    width: fit-content;
    max-width: 100%;

    margin: 17px 0 30px;
    padding: 6px 10px 6px 6px;

    color: var(--text);

    border: 1px solid var(--line);
    border-radius: 30px;

    font-size: 12px;
    text-decoration: none;
}

.account-chip:hover {
    background: var(--raised);
}

.account-avatar {
    display: grid;
    place-items: center;

    width: 29px;
    height: 29px;

    flex-shrink: 0;

    background: var(--raised);
    color: var(--accent);

    border-radius: 50%;

    font-size: 13px;
}

.account-email {
    min-width: 0;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-chip svg {
    width: 15px;
    height: 15px;

    color: var(--muted);

    flex-shrink: 0;
}

.show-password {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-top: 19px;

    color: var(--text);

    font-size: 12px;

    cursor: pointer;
}

.show-password input {
    width: 16px;
    height: 16px;

    accent-color: var(--accent);
}

.error {
    margin: 11px 0 0;

    color: var(--error);

    font-size: 12px;
    line-height: 1.7;
}

.identity-footer {
    display: flex;
    justify-content: space-between;
    gap: 10px;

    padding: 20px 5px;

    color: var(--muted);

    font-size: 11px;
}

.verified-symbol {
    width: 48px;
    height: 48px;

    margin-bottom: 20px;

    color: var(--success);
}

.verified-symbol svg {
    width: 48px;
    height: 48px;
}

.account-summary {
    display: flex;
    align-items: center;
    gap: 13px;

    padding: 15px;

    background: var(--raised);

    border: 1px solid var(--line);
    border-radius: 10px;
}

.account-summary .account-avatar {
    width: 42px;
    height: 42px;

    background: var(--card);
}

.account-summary > div {
    display: flex;
    flex-direction: column;
    gap: 7px;

    min-width: 0;

    overflow-wrap: anywhere;
}

.account-summary strong {
    font-size: 13px;
    font-weight: 500;
}

.account-summary small,
.account-note {
    color: var(--muted);

    font-size: 12px;
    line-height: 1.8;
}

.account-note {
    margin-top: 20px;
}

/* Automatic dark mode */

@media(prefers-color-scheme: dark) {

    :root {
        --background: #111318;
        --card: #191d24;

        --text: #e4e8ef;
        --muted: #a0a8b5;

        --line: #343a45;
        --input-line: #48505e;

        --accent: #a9bbdc;
        --button-text: #1c2635;

        --raised: #232a34;
        --error: #e0a1a1;

        --success: #94c6b7;
    }
}

/* Mobile layout */

@media(max-width:480px) {

    body {
        padding: 0;

        place-items: start center;

        background: var(--card);
    }

    .identity-shell {
        width: 100%;
    }

    .identity-card {
        padding: 40px 25px;

        border: 0;
        border-radius: 0;

        box-shadow: none;
    }

    .identity-footer {
        padding: 20px 25px;
    }

    .wordmark {
        margin-bottom: 38px;
    }
}

@media(prefers-reduced-motion: reduce) {

    * {
        transition: none !important;
    }
}


/* IDENTITY_REFINEMENT_V0231A */

:root {

    --background: #f5f7fa;
    --card: #ffffff;
    --text: #202124;
    --muted: #626872;
    --line: #dce0e6;
    --input-line: #aeb5c0;
    --accent: #52698b;

}

body {

    background: var(--background);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

}

.identity-shell {

    width: min(100%, 470px);

}

.identity-card {

    min-height: 475px;

    padding: 48px 42px 40px;

    border-radius: 24px;

    box-shadow:
        0 1px 3px #18203004,
        0 14px 65px #18203005;

}

.wordmark {

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;

    margin-bottom: 27px;

    font-size: 25px;
    font-weight: 550;
    letter-spacing: -1.5px;

}

.wordmark img {

    display: block;

    max-width: 180px;
    max-height: 48px;

    width: auto;
    height: auto;

    object-fit: contain;

}

h1 {

    margin: 0 0 13px;

    font-size: 31px;
    font-weight: 400;
    letter-spacing: -.9px;

    text-align: center;

}

.subtitle {

    margin-bottom: 37px;

    font-size: 14px;
    line-height: 1.7;

    text-align: center;

}

form > label:not(.show-password) {

    margin-bottom: 10px;

    color: var(--text);

    font-size: 12px;
    font-weight: 450;

}

input[type="email"],
input[type="password"],
#password {

    height: 57px;

    padding: 0 16px;

    border-radius: 7px;

    font-size: 15px;

}

input[type="email"]:focus,
#password:focus {

    border-color: var(--accent);

    box-shadow:
        0 0 0 1px var(--accent);

}

.identity-actions {

    margin-top: 45px;

}

.primary {

    min-width: 96px;
    min-height: 43px;

    padding: 12px 25px;

    border-radius: 24px;

    font-size: 13px;
    font-weight: 550;

    box-shadow: none;

}

.text-link {

    padding: 10px 12px;

    border-radius: 24px;

}

.text-link:hover {

    background: var(--raised);

    text-decoration: none;

}

.account-chip {

    margin: 18px auto 35px;

    min-height: 39px;

    padding: 5px 12px 5px 6px;

}

.account-avatar {

    width: 28px;
    height: 28px;

}

.show-password {

    margin-top: 20px;

    font-size: 13px;

}

.show-password input {

    width: 17px;
    height: 17px;

}

.identity-footer {

    padding: 21px 8px;

    font-size: 11px;

}

.verified-symbol {

    margin: 0 auto 24px;

}

.account-note {

    text-align: center;

}

@media(prefers-color-scheme: dark) {

    :root {

        --background: #111318;
        --card: #1a1e25;

        --text: #e6e9ef;
        --muted: #a2a9b5;

        --line: #343a45;
        --input-line: #515967;

        --accent: #a9bbdc;
        --button-text: #1c2635;

    }

    .identity-card {

        box-shadow: none;

    }

}

@media(max-width:480px) {

    body {

        padding: 0;

        background: var(--card);

    }

    .identity-card {

        padding: 48px 27px 30px;

        border: 0;
        border-radius: 0;

        box-shadow: none;

    }

    .wordmark {

        margin-bottom: 30px;

    }

    h1 {

        font-size: 29px;

    }

    .identity-footer {

        padding: 18px 27px;

    }

}


/* IDENTITY_BRANDING_V0231C */

.identity-shell {
    width: min(100%,450px);
}

.identity-card {
    min-height: 475px;

    padding: 44px 40px 38px;

    border-radius: 24px;
    box-shadow: none;
}

/* Original Unrendered branding */

.wordmark {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 58px;
    margin-bottom: 25px;
}

.wordmark .identity-logo {
    display: block;

    width: auto;
    height: auto;

    max-width: 195px;
    max-height: 54px;

    object-fit: contain;

    user-select: none;
    -webkit-user-drag: none;
}

.wordmark .identity-logo-dark {
    display: none;
}

/* Google-inspired typography */

h1 {
    margin: 0 0 12px;

    font-size: 30px;
    font-weight: 400;
    letter-spacing: -.8px;

    text-align: center;
}

.subtitle {
    margin-bottom: 38px;

    font-size: 14px;
    line-height: 1.7;

    text-align: center;
}

/* Floating input labels */

.identity-floating-field {
    position: relative;
    margin-top: 12px;
}

.identity-floating-field input,
.identity-floating-field #password {
    width: 100%;
    height: 58px;

    padding: 0 16px;

    background: transparent;
    color: var(--text);

    border: 1px solid var(--input-line);
    border-radius: 7px;

    font-size: 16px;
    outline: none;
}

.identity-floating-field label {
    position: absolute;

    left: 12px;
    top: 50%;

    padding: 0 5px;

    background: var(--card);
    color: var(--muted);

    font-size: 15px;
    font-weight: 400;

    transform: translateY(-50%);

    pointer-events: none;

    transition:
        top .15s ease,
        font-size .15s ease,
        color .15s ease;
}

.identity-floating-field input:focus + label,
.identity-floating-field input:not(:placeholder-shown) + label {
    top: 0;
    font-size: 12px;
}

.identity-floating-field input:focus + label {
    color: var(--accent);
}

.identity-floating-field input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}

.identity-floating-field input:-webkit-autofill + label {
    top: 0;
    font-size: 12px;
}

/* Account selector */

.account-chip {
    margin: 19px auto 37px;

    min-height: 40px;
    padding: 6px 12px 6px 6px;

    border-radius: 30px;

    transition: background .18s ease;
}

.account-email {
    font-size: 13px;
    font-weight: 500;
}

/* Authentication controls */

.identity-actions {
    margin-top: 42px;
}

.primary {
    min-width: 96px;
    min-height: 43px;

    padding: 12px 25px;

    border-radius: 24px;

    font-size: 13px;
    font-weight: 550;
}

.show-password {
    margin-top: 23px;

    gap: 11px;

    font-size: 13px;
}

.show-password input {
    width: 17px;
    height: 17px;
    margin: 0;
}

.verified-symbol {
    margin: 0 auto 22px;
}

.account-note {
    text-align: center;
}

.identity-footer {
    padding: 19px 10px;
    font-size: 11px;
}

/* Dark mode logo */

@media(prefers-color-scheme:dark) {

    .wordmark .identity-logo-light {
        display: none;
    }

    .wordmark .identity-logo-dark {
        display: block;
    }
}

/* Mobile */

@media(max-width:480px) {

    .identity-shell {
        width: 100%;
    }

    .identity-card {
        padding: 44px 25px 32px;

        border: 0;
        border-radius: 0;
    }

    .wordmark .identity-logo {
        max-width: 180px;
        max-height: 48px;
    }

    h1 {
        font-size: 29px;
    }

    .identity-footer {
        padding: 20px 25px;
    }
}

@media(prefers-reduced-motion:reduce) {

    .identity-floating-field label {
        transition: none;
    }
}


.workspace-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

