:root {
    --ls-green: #228B22;
    --ls-green-dark: #228B22;
    --ls-green-soft: #edf5f1;
    --ls-green-soft-2: #f5f8f6;
    --ls-green-border: #d4ddd7;
    --ls-ink: #132018;
    --ls-muted: #6a756f;
    --ls-line: #cfd8d2;
    --ls-card-line: #d7ddd9;
    --ls-left-bg: #f7f8f7;
    --ls-right-bg: #eef2ef;
    --ls-focus: rgba(15, 90, 60, .18);
}

html,
body.ls-auth-body {
    min-height: 100%;
}

body.ls-auth-body {
    margin: 0;
    color: var(--ls-ink);
    background: linear-gradient(90deg, var(--ls-left-bg) 0 50%, var(--ls-right-bg) 50% 100%);
    font-family: "Space Grotesk", "Roboto Condensed", Arial, sans-serif;
}

.ls-auth-page {
    min-height: 100vh;
}

.ls-auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.ls-auth-side {
    position: relative;
    min-width: 0;
}

.ls-auth-side--hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 72px 60px 50px;
    border-right: 1px solid rgba(19, 32, 24, .08);
    overflow: hidden;
}

.ls-auth-side--form {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.ls-auth-deco {
    position: absolute;
    border: 1px solid rgba(19, 32, 24, .08);
    border-radius: 4px;
    background: transparent;
    pointer-events: none;
}

.ls-auth-deco--top {
    width: 170px;
    height: 260px;
    top: 72px;
    right: 115px;
    transform: rotate(-8deg);
}

.ls-auth-deco--bottom {
    width: 150px;
    height: 150px;
    left: -34px;
    bottom: 42px;
    transform: rotate(-8deg);
}

.ls-hero-content {
    width: min(620px, 100%);
    position: relative;
    z-index: 1;
}

.ls-hero-logo,
.ls-brand-inline {
    display: inline-grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border: 1px solid var(--ls-line);
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -.03em;
}

.ls-hero-logo {
    margin-bottom: 30px;
    background: #fff;
    color: var(--ls-ink);
}

.ls-brand-inline {
    width: 54px;
    height: 54px;
    flex: 0 0 auto;
    border-color: transparent;
    color: #fff;
    background: linear-gradient(180deg, var(--ls-green), var(--ls-green-dark));
}

.ls-hero-eyebrow {
    margin: 0 0 18px;
    color: #4f5e55;
    font-size: .86rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.ls-hero-title {
    margin: 0;
    color: #0f1831;
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: .98;
    letter-spacing: -.07em;
    font-weight: 700;
}

.ls-hero-copy {
    max-width: 620px;
    margin: 22px 0 42px;
    color: #4c5b53;
    font-size: 1.05rem;
    line-height: 1.8;
}

.ls-hero-tiles {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ls-hero-tile {
    min-width: 190px;
    display: grid;
    gap: 8px;
    padding: 14px 14px 13px;
    border: 1px solid var(--ls-line);
    border-radius: 4px;
    background: rgba(255, 255, 255, .78);
}

.ls-hero-tile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ls-hero-tile-icon {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid #cfd9d3;
    border-radius: 4px;
    background: #fff;
    color: var(--ls-green);
    font-size: 1.1rem;
}

.ls-hero-tile-no {
    color: #56645d;
    font-size: .84rem;
    font-weight: 700;
}

.ls-hero-tile strong {
    color: var(--ls-ink);
    font-size: 1rem;
    font-weight: 700;
}

.ls-hero-tile p {
    margin: 0;
    color: #55645c;
    font-size: .88rem;
    line-height: 1.55;
}

.ls-auth-card {
    width: min(392px, 100%);
    padding: 34px 30px 28px;
    border: 1px solid var(--ls-card-line);
    border-radius: 4px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 1px 2px rgba(10, 20, 15, .04);
}

.ls-auth-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.ls-auth-card h2 {
    margin: 0;
    color: var(--ls-ink);
    font-size: 1.9rem;
    line-height: 1.1;
    letter-spacing: -.04em;
    font-weight: 700;
}

.ls-muted,
.ls-form-footnote {
    color: var(--ls-muted);
}

.ls-login-form {
    display: grid;
    gap: 18px;
}

.ls-field-group {
    display: grid;
    gap: 8px;
}

.ls-field-group .form-label {
    margin-bottom: 0;
    color: var(--ls-ink);
    font-size: .96rem;
    font-weight: 700;
    text-transform: uppercase;
}

.ls-control.form-control {
    min-height: 44px;
    padding: 10px 14px;
    color: var(--ls-ink);
    background: #fff;
    border: 1px solid var(--ls-line);
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.ls-control.form-control::placeholder {
    color: #8f9993;
}

.ls-control.form-control:hover {
    border-color: #b7c4bd;
}

.ls-control.form-control:focus,
.ls-password-toggle:focus-visible,
.ls-submit-btn:focus-visible,
.form-check-input:focus {
    border-color: var(--ls-green);
    box-shadow: 0 0 0 .2rem var(--ls-focus);
    outline: none;
}

.ls-password-wrap {
    position: relative;
}

.ls-password-wrap .ls-control.form-control {
    padding-right: 42px;
}

.ls-password-toggle {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    z-index: 2;
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #708179;
    background: transparent;
    cursor: pointer;
}

.ls-password-toggle:hover {
    color: var(--ls-green);
    background: var(--ls-green-soft);
}

.ls-form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ls-form-options .form-check {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ls-form-options .form-check-input {
    margin-top: 0;
    width: 20px;
    height: 20px;
    border: 1px solid #afbbb4;
    border-radius: 4px;
}

.ls-form-options .form-check-input:checked {
    border-color: var(--ls-green);
    background-color: var(--ls-green);
}

.ls-form-options .form-check-label {
    color: #46554d;
    font-size: 1rem;
}

.ls-submit-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid var(--ls-green-dark);
    border-radius: 4px;
    color: #fff;
    background: linear-gradient(180deg, var(--ls-green), var(--ls-green-dark));
    font-size: 1rem;
    font-weight: 700;
    transition: filter .14s ease, opacity .14s ease, transform .14s ease;
}

.ls-submit-btn:hover:not(:disabled) {
    color: #fff;
    filter: brightness(1.03);
}

.ls-submit-btn:active:not(:disabled) {
    transform: translateY(1px);
}

.ls-submit-btn:disabled {
    cursor: wait;
    opacity: .78;
}

.ls-form-footnote {
    margin: -2px 0 0;
    text-align: center;
    font-size: .92rem;
}

@media (max-width: 1100px) {
    .ls-auth-side--hero {
        padding: 48px;
    }

    .ls-auth-side--form {
        padding: 28px;
    }
}

@media (max-width: 920px) {
    body.ls-auth-body {
        background: var(--ls-right-bg);
    }

    .ls-auth-shell {
        grid-template-columns: 1fr;
        min-height: 100vh;
    }

    .ls-auth-side--hero {
        display: none;
    }

    .ls-auth-side--form {
        min-height: 100vh;
        padding: 24px 18px;
    }

    .ls-auth-card {
        width: min(420px, 100%);
    }
}

@media (max-width: 560px) {
    .ls-auth-side--form {
        padding: 16px;
    }

    .ls-auth-card {
        width: 100%;
        padding: 22px 16px;
    }

    .ls-auth-card-header {
        gap: 12px;
        margin-bottom: 22px;
    }

    .ls-auth-card h2 {
        font-size: 1.7rem;
    }
}
