/* Tenant login — scoped separately from the customer and control-panel auth screens. */
:root {
    --vmtl-navy: #041329;
    --vmtl-navy-soft: #0b1f44;
    --vmtl-text: #07152f;
    --vmtl-muted: #64748b;
    --vmtl-blue: #246bfd;
    --vmtl-purple: #246bfd;
    --vmtl-border: #e2e8f0;
    --vmtl-page: #f7f9fc;
}

body:has(.vmtl-page) {
    margin: 0;
    overflow-x: hidden !important;
    background: var(--vmtl-page) !important;
}

body:has(.vmtl-page) .fi-layout {
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--vmtl-page) !important;
}

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

.vmtl-page [x-cloak] {
    display: none !important;
}

.vmtl-page {
    position: relative;
    display: grid;
    grid-template-columns: minmax(28rem, 38.5%) minmax(0, 1fr);
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: clip;
    background: var(--vmtl-page);
    color: var(--vmtl-text);
    font-family: var(--vm-font-family, Inter), ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.vmtl-story {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    color: #fff;
    clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%);
    filter: drop-shadow(4px 0 0 var(--vmtl-blue));
    background-image:
        linear-gradient(90deg, rgba(3, 15, 35, .97) 0%, rgba(4, 19, 41, .94) 48%, rgba(6, 25, 55, .80) 100%),
        linear-gradient(180deg, rgba(4, 19, 41, .18), rgba(2, 12, 31, .76)),
        url("/images/workshop-collaboration.webp");
    background-position: 62% center;
    background-size: cover;
}

.vmtl-story::before {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 16% 14%, rgba(8, 102, 255, .24), transparent 26%),
        radial-gradient(circle at 68% 72%, rgba(36, 107, 253, .2), transparent 32%),
        linear-gradient(180deg, transparent 58%, rgba(1, 10, 27, .32));
    content: "";
    pointer-events: none;
}

.vmtl-story__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100%;
    padding: clamp(2rem, 4.4vw, 4.25rem) clamp(5.5rem, 7vw, 7.25rem) clamp(2.25rem, 4vw, 4rem) clamp(2.25rem, 4vw, 4.5rem);
}

.vmtl-brand {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 1.15rem;
}

.vmtl-brand__mark {
    display: grid;
    flex: 0 0 auto;
    width: 3.6rem;
    height: 3.6rem;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .82);
    border-radius: .82rem;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 .9rem 2rem rgba(0, 8, 28, .26);
    color: #0758e7;
    font-size: 1.85rem;
    font-weight: 900;
    letter-spacing: -.08em;
    line-height: 1;
}

.vmtl-brand__name {
    color: #fff;
    font-size: 1.12rem;
    font-weight: 750;
    line-height: 1.2;
}

.vmtl-story__content {
    width: min(100%, 25rem);
    margin: auto 0;
    padding: clamp(2rem, 4.8vh, 3.75rem) 0;
}

.vmtl-story__content h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2.35rem, 3vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -.035em !important;
    line-height: 1.1;
}

.vmtl-story__content h1 strong {
    background: none;
    color: var(--vmtl-blue);
    -webkit-text-fill-color: currentColor;
}

.vmtl-story__lead {
    max-width: 22rem;
    margin: 1.35rem 0 0;
    color: rgba(255, 255, 255, .84);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.58;
}

.vmtl-story__rule {
    display: block;
    width: 3.4rem;
    height: 2px;
    margin: 1.6rem 0 1.8rem;
    border-radius: 999px;
    background: #0f72ff;
}

.vmtl-features {
    display: grid;
    gap: 1.1rem;
}

.vmtl-feature {
    display: grid;
    grid-template-columns: 3.8rem minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
}

.vmtl-feature__icon {
    display: grid;
    width: 3.8rem;
    height: 3.8rem;
    place-items: center;
    border: 1px solid rgba(77, 143, 255, .18);
    border-radius: .88rem;
    background: rgba(8, 102, 255, .14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.vmtl-feature--cyan .vmtl-feature__icon,
.vmtl-feature--blue .vmtl-feature__icon,
.vmtl-feature--purple .vmtl-feature__icon {
    border-color: rgba(36, 107, 253, .2);
    background: rgba(36, 107, 253, .14);
    color: #76a0ff;
}

.vmtl-feature svg,
.vmtl-trust-card svg,
.vmtl-public-link svg,
.vmtl-alert svg,
.vmtl-input svg,
.vmtl-submit svg,
.vmtl-security-note svg,
.vmtl-mobile-trust svg {
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.vmtl-feature__icon svg {
    width: 1.7rem;
    height: 1.7rem;
}

.vmtl-feature strong {
    display: block;
    color: #fff;
    font-size: .9rem;
    font-weight: 750;
    line-height: 1.25;
}

.vmtl-feature small {
    display: block;
    max-width: 17rem;
    margin-top: .3rem;
    color: rgba(255, 255, 255, .78);
    font-size: .8rem;
    font-weight: 400;
    line-height: 1.45;
}

.vmtl-trust-card {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: .9rem;
    width: min(100%, 17.7rem);
    padding: .9rem 1rem;
    border: 1px solid rgba(18, 111, 255, .5);
    border-radius: .72rem;
    background: rgba(7, 34, 75, .48);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
    color: rgba(255, 255, 255, .92);
    font-size: .78rem;
    font-weight: 500;
    line-height: 1.35;
}

@supports (backdrop-filter: blur(8px)) {
    .vmtl-trust-card {
        backdrop-filter: blur(8px);
    }
}

.vmtl-trust-card__icon {
    display: grid;
    flex: 0 0 auto;
    width: 2.15rem;
    height: 2.15rem;
    place-items: center;
}

.vmtl-trust-card__icon svg {
    width: 1.55rem;
    height: 1.55rem;
}

.vmtl-trust-card__flag {
    margin-left: auto;
    font-size: 1.1rem;
}

.vmtl-auth {
    position: relative;
    z-index: 1;
    min-width: 0;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    background:
        radial-gradient(circle at 86% 8%, rgba(53, 108, 241, .08), transparent 26%),
        radial-gradient(circle at 18% 74%, rgba(70, 68, 219, .05), transparent 30%),
        linear-gradient(145deg, #fbfcff 0%, var(--vmtl-page) 56%, #f2f6fe 100%);
}

.vmtl-auth::before,
.vmtl-auth::after {
    position: absolute;
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.vmtl-auth::before {
    top: 18%;
    left: 6%;
    width: 15rem;
    height: 15rem;
    border: 1px solid rgba(78, 111, 201, .04);
    background: rgba(255, 255, 255, .42);
    filter: blur(1px);
}

.vmtl-auth::after {
    right: 4%;
    bottom: -6rem;
    width: 20rem;
    height: 20rem;
    background: rgba(103, 95, 231, .055);
    filter: blur(28px);
}

.vmtl-auth__dots {
    position: absolute;
    z-index: 0;
    top: 22%;
    right: 3%;
    width: 6.4rem;
    height: 7.6rem;
    opacity: .72;
    background-image: radial-gradient(circle, rgba(35, 105, 255, .18) 0 .12rem, transparent .14rem);
    background-size: 1.15rem 1.15rem;
    pointer-events: none;
}

.vmtl-topbar {
    position: absolute;
    z-index: 3;
    top: clamp(1.7rem, 4.2vh, 3.4rem);
    right: clamp(2rem, 5vw, 5.7rem);
    left: clamp(3.5rem, 7vw, 7rem);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(1.25rem, 3vw, 2.7rem);
}

.vmtl-environment-badge {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    min-height: 2.35rem;
    padding: 0 .9rem;
    border: 1px solid rgba(16, 185, 129, .30);
    border-radius: .72rem;
    background: rgba(240, 253, 248, .86);
    color: #079447;
    font-size: .78rem;
    font-weight: 650;
    white-space: nowrap;
}

.vmtl-environment-badge i {
    display: block;
    width: .4rem;
    height: .4rem;
    border-radius: 50%;
    background: #0aa95b;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, .08);
}

.vmtl-environment-badge__short,
.vmtl-public-link__short {
    display: none;
}

.vmtl-public-link {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    border-radius: .4rem;
    color: var(--vmtl-text);
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    white-space: nowrap;
    transition: color .18s ease;
}

.vmtl-public-link:hover {
    color: var(--vmtl-blue);
}

.vmtl-public-link:focus-visible,
.vmtl-label-row a:focus-visible {
    outline: 3px solid rgba(8, 102, 255, .24);
    outline-offset: 4px;
}

.vmtl-public-link svg {
    width: 1rem;
    height: 1rem;
}

.vmtl-auth__shell {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 6.6rem clamp(2rem, 6vw, 6.5rem) 2rem;
}

.vmtl-card {
    width: min(100%, 31rem);
    padding: clamp(2.15rem, 4vh, 2.85rem) clamp(2rem, 4vw, 2.7rem);
    border: 1px solid rgba(226, 232, 240, .94);
    border-radius: 1.45rem;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 1.7rem 4.5rem rgba(36, 52, 85, .11), 0 .3rem 1rem rgba(25, 40, 72, .04);
}

.vmtl-card__logo {
    display: grid;
    width: 4.25rem;
    height: 4.25rem;
    margin: 0 auto 1.25rem;
    place-items: center;
    border: 1px solid #d6e2fb;
    border-radius: 50%;
    background: #fff;
    color: #075be8;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -.08em !important;
    line-height: 1;
}

.vmtl-card__heading {
    margin-bottom: 1.8rem;
    text-align: center;
}

.vmtl-card__heading h2 {
    margin: 0;
    color: var(--vmtl-text);
    font-size: clamp(1.7rem, 2.4vw, 2rem);
    font-weight: 800;
    letter-spacing: -.025em !important;
    line-height: 1.15;
}

.vmtl-card__heading p {
    margin: .55rem 0 0;
    color: var(--vmtl-muted);
    font-size: .9rem;
    font-weight: 450;
    line-height: 1.5;
}

.vmtl-alert {
    display: grid;
    grid-template-columns: 1.25rem minmax(0, 1fr);
    align-items: start;
    gap: .7rem;
    margin: 0 0 1.15rem;
    padding: .8rem .9rem;
    border: 1px solid #b7ead1;
    border-radius: .7rem;
    background: #effcf6;
    color: #087443;
    font-size: .8rem;
    font-weight: 500;
    line-height: 1.4;
}

.vmtl-alert svg {
    width: 1.2rem;
    height: 1.2rem;
}

.vmtl-form {
    display: grid;
    gap: 1.15rem;
}

.vmtl-field {
    display: grid;
    gap: .52rem;
    min-width: 0;
}

.vmtl-field > label,
.vmtl-label-row label {
    color: var(--vmtl-text);
    font-size: .76rem;
    font-weight: 700;
    line-height: 1.35;
}

.vmtl-label-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .4rem .9rem;
}

.vmtl-label-row a {
    border-radius: .25rem;
    color: #045ae7;
    font-size: .75rem;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
    transition: color .18s ease;
}

.vmtl-label-row a:hover {
    color: #1d5be0;
    text-decoration: underline;
}

.vmtl-input {
    display: flex;
    align-items: center;
    gap: .78rem;
    width: 100%;
    min-height: 3.45rem;
    padding: 0 .9rem;
    overflow: hidden;
    border: 1px solid #d5ddea;
    border-radius: .68rem;
    background: #fff;
    color: #17264a;
    box-shadow: inset 0 1px 0 rgba(15, 31, 61, .025);
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.vmtl-input:hover {
    border-color: #b9c6da;
}

.vmtl-input:focus-within {
    border-color: var(--vmtl-blue);
    box-shadow: 0 0 0 4px rgba(8, 102, 255, .11);
}

.vmtl-input.is-invalid {
    border-color: #e85c57;
}

.vmtl-input.is-invalid:focus-within {
    border-color: #dc3e38;
    box-shadow: 0 0 0 4px rgba(220, 62, 56, .10);
}

.vmtl-input > svg {
    flex: 0 0 auto;
    width: 1.15rem;
    height: 1.15rem;
}

.vmtl-input input {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    height: 3.3rem;
    padding: 0 !important;
    overflow: hidden;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--vmtl-text) !important;
    font-size: .87rem !important;
    font-weight: 450 !important;
    line-height: 1.4 !important;
    text-overflow: ellipsis;
}

.vmtl-input input::placeholder {
    color: #8490a7 !important;
    font-size: .87rem !important;
    font-weight: 400 !important;
    opacity: 1;
}

.vmtl-input input:-webkit-autofill,
.vmtl-input input:-webkit-autofill:hover,
.vmtl-input input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
    -webkit-text-fill-color: var(--vmtl-text) !important;
    caret-color: var(--vmtl-text);
}

.vmtl-input button {
    display: grid;
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: .4rem;
    background: transparent;
    color: #53617e;
    cursor: pointer;
    transition: color .18s ease, background-color .18s ease;
}

.vmtl-input button:hover {
    background: #f2f6fd;
    color: var(--vmtl-blue);
}

.vmtl-input button:focus-visible {
    outline: 3px solid rgba(8, 102, 255, .24);
    outline-offset: 1px;
}

.vmtl-input button svg {
    width: 1.15rem;
    height: 1.15rem;
}

.vmtl-field-error {
    margin: -.12rem 0 0;
    color: #c8322d;
    font-size: .75rem;
    font-weight: 550;
    line-height: 1.4;
}

.vmtl-checkbox {
    position: relative;
    display: inline-grid;
    grid-template-columns: 1rem minmax(0, auto);
    align-items: center;
    justify-self: start;
    gap: .55rem;
    color: #34425f;
    cursor: pointer;
}

.vmtl-checkbox input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.vmtl-checkbox > span {
    position: relative;
    display: block;
    width: 1rem;
    height: 1rem;
    border: 1px solid #c5cfde;
    border-radius: .25rem;
    background: #fff;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.vmtl-checkbox input:checked + span {
    border-color: var(--vmtl-blue);
    background: var(--vmtl-blue);
}

.vmtl-checkbox input:checked + span::after {
    position: absolute;
    top: .14rem;
    left: .31rem;
    width: .28rem;
    height: .5rem;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    content: "";
    transform: rotate(45deg);
}

.vmtl-checkbox input:focus-visible + span {
    box-shadow: 0 0 0 4px rgba(8, 102, 255, .14);
}

.vmtl-checkbox em {
    color: #34425f;
    font-size: .76rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.4;
}

.vmtl-submit {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 3.45rem;
    margin-top: .15rem;
    padding: 0 3rem;
    border: 0;
    border-radius: .7rem;
    background: var(--vmtl-blue);
    box-shadow: 0 .85rem 1.8rem rgba(45, 65, 221, .21);
    color: #fff;
    cursor: pointer;
    font-size: .9rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.vmtl-submit:hover {
    box-shadow: 0 1rem 2rem rgba(45, 65, 221, .28);
    filter: saturate(1.08) brightness(1.02);
    transform: translateY(-1px);
}

.vmtl-submit:active {
    box-shadow: 0 .55rem 1.2rem rgba(45, 65, 221, .21);
    transform: translateY(0);
}

.vmtl-submit:focus-visible {
    outline: 3px solid rgba(8, 102, 255, .3);
    outline-offset: 3px;
}

.vmtl-submit:disabled {
    cursor: wait;
    filter: grayscale(.12);
    opacity: .72;
    transform: none;
}

.vmtl-submit > svg {
    position: absolute;
    right: 1.2rem;
    width: 1.25rem;
    height: 1.25rem;
    stroke-width: 2;
}

.vmtl-submit__loading {
    align-items: center;
    justify-content: center;
    gap: .6rem;
}

.vmtl-submit__loading i {
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, .42);
    border-top-color: #fff;
    border-radius: 50%;
    animation: vmtl-spin .75s linear infinite;
}

@keyframes vmtl-spin {
    to { transform: rotate(360deg); }
}

.vmtl-security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    margin: 1.6rem 0 0;
    color: #53617e;
    font-size: .76rem;
    font-weight: 450;
    line-height: 1.35;
    text-align: center;
}

.vmtl-security-note > span {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: .62rem;
    background: #edf3ff;
    color: var(--vmtl-blue);
}

.vmtl-security-note svg {
    width: 1rem;
    height: 1rem;
}

.vmtl-mobile-trust {
    display: none;
}

@media (max-width: 1199px) {
    .vmtl-page {
        grid-template-columns: clamp(22rem, 40%, 27rem) minmax(0, 1fr);
    }

    .vmtl-story {
        clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%);
    }

    .vmtl-story__inner {
        padding-right: 4.75rem;
        padding-left: 2.25rem;
    }

    .vmtl-story__content h1 {
        font-size: clamp(2.1rem, 3.7vw, 2.75rem);
    }

    .vmtl-auth__shell {
        padding-right: clamp(1.5rem, 4vw, 3.5rem);
        padding-left: clamp(1.5rem, 4vw, 3.5rem);
    }

    .vmtl-topbar {
        right: clamp(1.5rem, 4vw, 3.5rem);
        left: clamp(2.5rem, 5vw, 4rem);
    }
}

@media (max-width: 980px) and (min-width: 768px) {
    .vmtl-page {
        grid-template-columns: 21rem minmax(0, 1fr);
    }

    .vmtl-story__inner {
        padding-right: 4rem;
        padding-left: 1.7rem;
    }

    .vmtl-brand__mark {
        width: 3rem;
        height: 3rem;
        font-size: 1.5rem;
    }

    .vmtl-brand__name {
        font-size: .95rem;
    }

    .vmtl-story__content h1 {
        font-size: 2rem;
    }

    .vmtl-story__lead {
        font-size: .88rem;
    }

    .vmtl-feature {
        grid-template-columns: 3.15rem minmax(0, 1fr);
    }

    .vmtl-feature__icon {
        width: 3.15rem;
        height: 3.15rem;
    }

    .vmtl-feature small {
        display: none;
    }

    .vmtl-trust-card {
        width: 15.8rem;
        padding: .75rem;
        font-size: .7rem;
    }

    .vmtl-card {
        padding-right: 1.65rem;
        padding-left: 1.65rem;
    }
}

@media (min-width: 821px) and (max-height: 820px) {
    .vmtl-story__inner {
        padding-top: 1.7rem;
        padding-bottom: 1.7rem;
    }

    .vmtl-story__content {
        padding: 1.25rem 0;
    }

    .vmtl-story__content h1 {
        font-size: clamp(2rem, 3vw, 2.65rem);
    }

    .vmtl-story__lead {
        margin-top: .9rem;
        font-size: .88rem;
        line-height: 1.45;
    }

    .vmtl-story__rule {
        margin: 1rem 0 1.15rem;
    }

    .vmtl-features {
        gap: .7rem;
    }

    .vmtl-feature {
        grid-template-columns: 3.1rem minmax(0, 1fr);
    }

    .vmtl-feature__icon {
        width: 3.1rem;
        height: 3.1rem;
    }

    .vmtl-trust-card {
        padding: .7rem .85rem;
    }

    .vmtl-auth__shell {
        justify-content: flex-start;
        padding-top: 5.4rem;
    }

    .vmtl-card {
        padding-top: 1.6rem;
        padding-bottom: 1.6rem;
    }

    .vmtl-card__logo {
        width: 3.25rem;
        height: 3.25rem;
        margin-bottom: .75rem;
        font-size: 1.55rem;
    }

    .vmtl-card__heading {
        margin-bottom: 1.15rem;
    }

    .vmtl-card__heading h2 {
        font-size: 1.55rem;
    }

    .vmtl-form {
        gap: .8rem;
    }

    .vmtl-input,
    .vmtl-submit {
        min-height: 3.1rem;
    }

    .vmtl-input input {
        height: 3rem;
    }

    .vmtl-security-note {
        margin-top: .9rem;
    }
}

@media (max-width: 767px), (max-width: 820px) and (orientation: portrait) {
    body:has(.vmtl-page),
    body:has(.vmtl-page) .fi-layout {
        background: #f8faff !important;
    }

    .vmtl-page {
        display: block;
        min-height: 100vh;
        min-height: 100dvh;
        overflow: visible;
        background:
            radial-gradient(circle at 92% 8%, rgba(45, 105, 238, .08), transparent 23%),
            #f8faff;
    }

    .vmtl-story {
        display: none;
    }

    .vmtl-auth {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        min-height: 100dvh;
        overflow: hidden;
        background: transparent;
    }

    .vmtl-auth::before {
        top: 5rem;
        left: -8rem;
    }

    .vmtl-auth::after {
        right: -9rem;
        bottom: -7rem;
    }

    .vmtl-auth__dots {
        top: 9rem;
        right: -1.8rem;
        opacity: .45;
    }

    .vmtl-topbar {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        display: flex;
        flex: 0 0 auto;
        justify-content: space-between;
        width: 100%;
        min-height: 3.5rem;
        padding: max(1rem, env(safe-area-inset-top)) 1.35rem 0;
        gap: .8rem;
    }

    .vmtl-topbar:not(:has(.vmtl-environment-badge)) {
        justify-content: flex-end;
    }

    .vmtl-environment-badge {
        min-height: 2rem;
        padding: 0 .7rem;
        border-radius: .62rem;
        font-size: .7rem;
    }

    .vmtl-public-link {
        font-size: .72rem;
    }

    .vmtl-auth__shell {
        justify-content: flex-start;
        min-height: 0;
        padding: 1.2rem 1.35rem max(1.5rem, env(safe-area-inset-bottom));
    }

    .vmtl-card {
        width: 100%;
        padding: .6rem 0 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .vmtl-card__logo {
        width: 3.9rem;
        height: 3.9rem;
        margin-bottom: 1.15rem;
        border-radius: .85rem;
        font-size: 1.8rem;
    }

    .vmtl-card__heading {
        margin-bottom: 1.7rem;
    }

    .vmtl-card__heading h2 {
        font-size: 1.65rem;
    }

    .vmtl-card__heading p {
        max-width: 18rem;
        margin-right: auto;
        margin-left: auto;
        font-size: .88rem;
    }

    .vmtl-form {
        gap: 1.1rem;
    }

    .vmtl-input,
    .vmtl-submit {
        min-height: 3.45rem;
    }

    .vmtl-input input {
        height: 3.3rem;
        font-size: .86rem !important;
    }

    .vmtl-security-note {
        display: none;
    }

    .vmtl-mobile-trust {
        display: flex;
        align-items: center;
        width: 100%;
        margin-top: 2rem;
        padding: 1rem;
        border: 1px solid #e5ebf7;
        border-radius: .8rem;
        background: rgba(237, 243, 255, .82);
        color: #53617e;
    }

    .vmtl-mobile-trust > span {
        display: grid;
        flex: 0 0 auto;
        width: 2.15rem;
        height: 2.15rem;
        margin-right: .8rem;
        place-items: center;
        border-radius: .65rem;
        background: #e1ebff;
        color: var(--vmtl-blue);
    }

    .vmtl-mobile-trust svg {
        width: 1.15rem;
        height: 1.15rem;
    }

    .vmtl-mobile-trust p {
        margin: 0;
        font-size: .76rem;
        font-weight: 500;
        line-height: 1.35;
    }

    .vmtl-mobile-trust i {
        margin-left: auto;
        font-size: 1.15rem;
        font-style: normal;
    }
}

@media (max-width: 420px) {
    .vmtl-environment-badge__full,
    .vmtl-public-link__full {
        display: none;
    }

    .vmtl-environment-badge__short,
    .vmtl-public-link__short {
        display: inline;
    }
}

@media (max-width: 360px) {
    .vmtl-topbar {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .vmtl-auth__shell {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .vmtl-card__heading h2 {
        font-size: 1.5rem;
    }

    .vmtl-label-row {
        align-items: flex-start;
    }

    .vmtl-input {
        gap: .62rem;
        padding: 0 .75rem;
    }
}

@media (max-width: 360px) and (max-height: 650px) {
    .vmtl-topbar {
        min-height: 3rem;
        padding-top: .75rem;
    }

    .vmtl-auth__shell {
        padding-top: .65rem;
        padding-bottom: .75rem;
    }

    .vmtl-card {
        padding-top: .2rem;
    }

    .vmtl-card__logo {
        width: 3.35rem;
        height: 3.35rem;
        margin-bottom: .7rem;
        font-size: 1.6rem;
    }

    .vmtl-card__heading {
        margin-bottom: 1.1rem;
    }

    .vmtl-form {
        gap: .85rem;
    }

    .vmtl-mobile-trust {
        margin-top: 1.15rem;
        padding: .75rem;
    }
}

@supports not (clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%)) {
    .vmtl-story {
        clip-path: none;
        filter: none;
        border-right: 3px solid var(--vmtl-blue);
    }
}

@media (prefers-reduced-motion: reduce) {
    .vmtl-page *,
    .vmtl-page *::before,
    .vmtl-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
