:root {
    --auth-ink: #172c49;
    --auth-muted: #667386;
    --auth-primary: #203d65;
    --auth-accent: #4775d1;
    --auth-line: #dce2e9;
}
* {
    box-sizing: border-box;
}
body.auth-body {
    margin: 0;
    background: #fff;
    color: var(--auth-ink);
    font-family: var(--exad-font-sans);
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}
.icon {
    flex-shrink: 0;
    vertical-align: middle;
}
.auth-shell {
    display: grid;
    grid-template-columns: 54% 46%;
    min-height: 100svh;
}
.auth-story {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    isolation: isolate;
    min-width: 0;
    min-height: 720px;
    padding: 46px 52px 34px;
    color: #fff;
    background: #152b43;
}
.auth-photography {
    position: absolute;
    inset: 0;
    z-index: -3;
}
.auth-photography img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%;
}
.story-shade {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(180deg, rgb(8 23 40 / 55%) 0%, rgb(8 23 40 / 4%) 32%, rgb(8 23 40 / 8%) 45%, rgb(8 23 40 / 76%) 74%, #0d2138 100%);
}
.story-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}
.auth-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 27px;
    font-weight: 700;
    letter-spacing: -.85px;
    line-height: 1;
}
.brand-light {
    font-weight: 350;
}
.auth-brand-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #fff;
    background: rgb(255 255 255 / 9%);
    border: 1px solid rgb(255 255 255 / 40%);
    border-radius: 8px;
}
.auth-brand-icon .icon {
    width: 25px;
    height: 25px;
    stroke-width: 1.5;
}
.brand-descriptor {
    color: #d1deeb;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2.3px;
}
.story-bottom {
    padding-top: 230px;
}
.story-content {
    max-width: 560px;
}
.story-eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #d1dfee;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
}
.story-eyebrow > span {
    width: 26px;
    height: 2px;
    background: #84abf0;
}
.story-content h2 {
    margin: 19px 0 17px;
    font-size: clamp(32px, 3.2vw, 54px);
    font-weight: 550;
    letter-spacing: -1.5px;
    line-height: 1.16;
}
.story-content p {
    margin: 0;
    max-width: 400px;
    color: #d5deea;
    font-size: 14px;
    line-height: 1.85;
}
.story-features {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 25px;
    margin-top: 32px;
    padding-top: 23px;
    border-top: 1px solid rgb(255 255 255 / 20%);
    color: #dce5ee;
    font-size: 11px;
}
.story-features > span {
    display: flex;
    align-items: center;
    gap: 8px;
}
.story-features .icon {
    width: 17px;
    height: 17px;
    color: #a3bddc;
}
.auth-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 39px 48px 29px;
}
.auth-main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    min-height: 24px;
}
.workspace-caption {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #68778b;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.35px;
}
.workspace-caption .icon {
    width: 14px;
    height: 14px;
    color: #7c8b9c;
}
.auth-language {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #465b75;
    font-size: 11px;
    font-weight: 600;
}
.auth-language > span {
    padding-left: 9px;
    border-left: 1px solid var(--auth-line);
    color: #728094;
    font-weight: 400;
}
.auth-form-container {
    width: 100%;
    max-width: 385px;
    margin: auto;
    padding: 45px 0;
}
.form-eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #637893;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
}
.form-eyebrow::before {
    display: block;
    content: '';
    width: 5px;
    height: 5px;
    background: var(--auth-accent);
}
.form-heading h1 {
    margin: 15px 0 14px;
    font-size: 34px;
    font-weight: 600;
    letter-spacing: -.9px;
    line-height: 1.22;
}
.form-heading > p {
    margin-bottom: 34px;
    max-width: 340px;
    color: var(--auth-muted);
    font-size: 14px;
    line-height: 1.8;
}
.auth-field {
    margin-bottom: 23px;
}
.auth-field .form-label {
    margin-bottom: 9px;
    font-size: 12px;
    font-weight: 600;
}
.auth-input-wrap {
    position: relative;
}
.auth-input-wrap .input-icon {
    position: absolute;
    left: 16px;
    top: 17px;
    width: 18px;
    height: 18px;
    color: #8b99aa;
    pointer-events: none;
}
.auth-field .form-control {
    height: 52px;
    padding: 12px 17px 12px 45px;
    border: 1px solid #d7dfe8;
    border-radius: 5px;
    background-color: #fff;
    color: #1b304e;
    font-size: 14px;
    transition: border-color .15s, box-shadow .15s;
}
.auth-field .form-control::placeholder {
    color: #8895a5;
    font-size: 13px;
}
.auth-field .form-control:focus {
    border-color: #678bc0;
    box-shadow: 0 0 0 3px #4775d114;
}
.auth-field .form-control.is-invalid {
    border-color: #c2717d;
    background-image: none;
}
.auth-field .password-input {
    padding-right: 50px;
}
.password-toggle {
    position: absolute;
    right: 4px;
    top: 4px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #7d8b9d;
}
.password-toggle[hidden] {
    display: none;
}
.password-toggle:hover {
    background: #f1f5fa;
    color: #284e7f;
}
.password-toggle .icon {
    width: 19px;
    height: 19px;
}
.auth-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 3px 0 29px;
    font-size: 12px;
}
.auth-options .form-check {
    margin: 0;
    min-height: 19px;
}
.auth-options .form-check-input {
    width: 15px;
    height: 15px;
    margin-top: 2px;
    border-color: #bdc7d3;
    border-radius: 3px;
    cursor: pointer;
}
.auth-options .form-check-input:checked {
    border-color: var(--auth-primary);
    background-color: var(--auth-primary);
}
.auth-options .form-check-input:focus {
    border-color: #678bc0;
    box-shadow: 0 0 0 3px #4775d114;
}
.form-check-label {
    color: #5a697b;
    cursor: pointer;
}
.auth-text-button {
    padding: 0;
    border: 0;
    background: none;
    color: #335c92;
    font-size: 12px;
    font-weight: 600;
}
.auth-text-button:hover {
    color: #173c6c;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.auth-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    min-height: 52px;
    border: 1px solid var(--auth-primary);
    border-radius: 5px;
    background: var(--auth-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .15px;
}
.auth-submit:hover, .auth-submit:active, .auth-submit:focus-visible {
    background: #142d4e !important;
    border-color: #142d4e !important;
    color: #fff !important;
}
.auth-submit:disabled {
    color: #fff;
    background: #60748e;
    border-color: #60748e;
}
.auth-submit .icon {
    width: 18px;
    height: 18px;
}
.auth-access-note {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-top: 30px;
    padding-top: 23px;
    border-top: 1px solid #e5e9ef;
}
.auth-access-note > .icon {
    margin-top: 3px;
    width: 17px;
    height: 17px;
    color: #7187a2;
}
.auth-access-note p {
    margin: 0;
    color: #54667d;
    font-size: 11px;
    line-height: 1.8;
}
.auth-access-note p span {
    color: #7a889a;
}
.auth-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
    color: #7d8998;
    font-size: 10px;
}
.auth-error {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    padding: 13px 14px;
    border: 1px solid #edd1d6;
    border-radius: 5px;
    background: #fff6f6;
    color: #a0384c;
    font-size: 12px;
    line-height: 1.6;
}
.auth-error > .icon {
    margin-top: 2px;
    width: 17px;
    height: 17px;
}
.auth-error p {
    margin: 0;
}
.auth-error p + p {
    margin-top: 6px;
}
.auth-body :focus-visible {
    outline: 3px solid #7c9bca;
    outline-offset: 3px;
}
.auth-skip {
    position: absolute;
    z-index: 1200;
    top: 12px;
    left: 12px;
    background: #fff;
    padding: 12px;
    border-radius: 5px;
    color: #214777;
}
.auth-body .modal-content {
    border: 1px solid var(--auth-line);
    border-radius: 8px;
}
.auth-body .modal-header, .auth-body .modal-footer {
    border-color: #e5e9ef;
    padding: 20px 24px;
}
.auth-body .modal-body {
    padding: 24px;
    font-size: 14px;
    line-height: 1.8;
}
.auth-dialog-button {
    background: var(--auth-primary);
    color: #fff;
    border-color: var(--auth-primary);
    font-size: 13px;
    padding: 8px 20px;
    border-radius: 5px;
}
.auth-dialog-button:hover {
    background: #142d4e;
    color: #fff;
}
.welcome-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--auth-line);
    border-radius: 7px;
    color: var(--auth-primary);
    margin-bottom: 22px;
}
@media (min-width: 1600px) {
    .auth-story {
        padding: 54px 72px 38px;
    }
    .auth-main {
        padding: 48px 64px 36px;
    }
    .auth-form-container {
        max-width: 416px;
    }
    .story-content h2 {
        font-size: 54px;
    }
}
@media (max-width: 1199.98px) {
    .auth-shell {
        grid-template-columns: 51% 49%;
    }
    .auth-story {
        padding: 36px 35px 29px;
    }
    .auth-main {
        padding: 32px 37px 27px;
    }
    .story-content h2 {
        font-size: 35px;
    }
    .story-features {
        column-gap: 17px;
        font-size: 10px;
    }
}
@media (min-width: 992px) and (max-height: 780px) {
    .auth-story {
        min-height: 680px;
        padding-top: 35px;
        padding-bottom: 27px;
    }
    .story-bottom {
        padding-top: 190px;
    }
    .story-content h2 {
        font-size: clamp(31px, 3.05vw, 44px);
        margin-top: 16px;
        margin-bottom: 12px;
    }
    .story-content p {
        font-size: 13px;
    }
    .story-features {
        margin-top: 23px;
        padding-top: 20px;
    }
    .auth-main {
        padding-top: 30px;
        padding-bottom: 25px;
    }
    .auth-form-container {
        padding-top: 22px;
        padding-bottom: 22px;
    }
    .form-heading h1 {
        font-size: 30px;
    }
    .form-heading > p {
        font-size: 13px;
        line-height: 1.75;
        margin-bottom: 29px;
    }
    .auth-field {
        margin-bottom: 21px;
    }
    .auth-options {
        margin-bottom: 25px;
    }
    .auth-access-note {
        margin-top: 20px;
        padding-top: 21px;
    }
}
@media (max-width: 991.98px) {
    .auth-shell {
        display: flex;
        flex-direction: column;
        min-height: 100svh;
    }
    .auth-story {
        min-height: 240px;
        padding: 27px 36px;
    }
    .auth-photography img {
        object-position: center 20%;
    }
    .story-shade {
        background: linear-gradient(90deg, rgb(7 23 40 / 86%), rgb(7 23 40 / 27%) 65%, rgb(7 23 40 / 12%));
    }
    .story-header {
        gap: 12px;
    }
    .auth-brand {
        font-size: 25px;
    }
    .auth-brand-icon {
        width: 37px;
        height: 37px;
        border-radius: 6px;
    }
    .brand-descriptor {
        font-size: 8px;
        letter-spacing: 1.9px;
    }
    .story-bottom {
        padding-top: 26px;
    }
    .story-eyebrow, .story-content p, .story-features {
        display: none;
    }
    .story-content h2 {
        margin: 0;
        font-size: 24px;
        font-weight: 500;
        line-height: 1.25;
        letter-spacing: -.5px;
    }
    .story-content h2 br {
        display: none;
    }
    .story-content h2 br::after {
        content: ' ';
    }
    .auth-main {
        flex: 1;
        padding: 26px 36px 25px;
    }
    .auth-main-header {
        width: 100%;
        max-width: 450px;
        align-self: center;
    }
    .auth-form-container {
        max-width: 450px;
        padding: 38px 0 43px;
    }
    .auth-footer {
        max-width: 450px;
        width: 100%;
        align-self: center;
    }
}
@media (max-width: 575.98px) {
    .auth-story {
        min-height: 195px;
        padding: 23px 26px 25px;
    }
    .auth-brand {
        font-size: 23px;
    }
    .auth-brand-icon {
        width: 34px;
        height: 34px;
    }
    .auth-brand-icon .icon {
        width: 22px;
        height: 22px;
    }
    .brand-descriptor {
        font-size: 7px;
        letter-spacing: 1.6px;
    }
    .story-bottom {
        padding-top: 24px;
    }
    .story-content h2 {
        font-size: 22px;
        max-width: 270px;
    }
    .story-content h2 br {
        display: block;
    }
    .auth-main {
        padding: 23px 26px 24px;
    }
    .workspace-caption {
        font-size: 8px;
        letter-spacing: 1px;
    }
    .auth-language {
        font-size: 10px;
        gap: 7px;
    }
    .auth-language > span {
        padding-left: 7px;
    }
    .auth-form-container {
        padding: 32px 0 35px;
    }
    .form-heading h1 {
        margin: 12px 0;
        font-size: 30px;
    }
    .form-heading > p {
        font-size: 13px;
        margin-bottom: 28px;
    }
    .form-eyebrow {
        font-size: 9px;
    }
    .auth-field .form-control {
        font-size: 16px;
    }
    .auth-field {
        margin-bottom: 21px;
    }
    .auth-options {
        font-size: 11px;
        margin-bottom: 25px;
    }
    .auth-text-button {
        font-size: 11px;
    }
    .auth-access-note {
        margin-top: 26px;
        padding-top: 21px;
    }
    .auth-access-note p {
        font-size: 10px;
    }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}
/* Official EXAD identity; the approved application palette is unchanged. */
.company-logo {
    display: block;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}
.hero-company-logo {
    width: 147px;
}
.company-brand {
    gap: 22px;
}
.brand-product {
    display: flex;
    flex-direction: column;
    gap: 9px;
    border-left: 1px solid #ffffff55;
    padding-left: 22px;
}
.brand-product strong {
    color: #fff;
    font-size: 21px;
    font-weight: 600;
    letter-spacing: .1px;
    line-height: 1;
}
.brand-product > span {
    color: #d1deeb;
    font-size: 8px;
    letter-spacing: 1.4px;
    font-weight: 500;
}
.auth-footer {
    align-items: center;
}
.footer-company-logo {
    width: 78px;
}
.auth-photography img {
    object-position: center 43%;
}
@media (min-width: 992px) and (max-height: 780px) {
    .auth-form-container {
        padding-top: 12px;
        padding-bottom: 12px;
    }
    .hero-company-logo {
        width: 134px;
    }
    .company-brand {
        gap: 19px;
    }
    .brand-product {
        padding-left: 19px;
    }
}
@media (max-width: 1199.98px) and (min-width: 992px) {
    .hero-company-logo {
        width: 122px;
    }
    .brand-product strong {
        font-size: 18px;
    }
    .brand-product > span {
        font-size: 7px;
        letter-spacing: 1px;
    }
    .company-brand {
        gap: 17px;
    }
    .brand-product {
        padding-left: 17px;
    }
}
@media (max-width: 991.98px) {
    .auth-photography img {
        object-position: center 43%;
    }
    .auth-story {
        min-height: 236px;
    }
    .company-brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .hero-company-logo {
        width: 117px;
    }
    .brand-product {
        border: 0;
        padding: 0;
    }
    .brand-product strong {
        font-size: 12px;
        letter-spacing: 1.6px;
    }
    .brand-product > span {
        display: none;
    }
    .story-content {
        max-width: 310px;
    }
    .story-content h2 br {
        display: block;
    }
    .story-bottom {
        padding-top: 19px;
    }
}
@media (max-width: 575.98px) {
    .auth-story {
        min-height: 210px;
    }
    .hero-company-logo {
        width: 100px;
    }
    .company-brand {
        gap: 8px;
    }
    .brand-product strong {
        font-size: 10px;
        letter-spacing: 1.5px;
    }
    .auth-photography img {
        object-position: center 43%;
    }
    .footer-company-logo {
        width: 72px;
    }
}
