body.rm-auth {
    --rm-auth-sage: #e1e8dc;
    --rm-auth-warm: #f7f8f3;
    --rm-auth-surface: #fffffc;
    --rm-auth-text: #26312c;
    --rm-auth-muted: #637069;
    --rm-auth-green: #21775e;
    --rm-auth-line: #cdd6ca;
    /* Stronger than the decorative divider for discernible field boundaries. */
    --rm-auth-control-line: #82917f;
    --bs-form-valid-color: var(--rm-auth-green);
    --bs-form-valid-border-color: var(--rm-auth-green);
    --bs-form-invalid-color: #a13226;
    --bs-form-invalid-border-color: #a13226;
    display: block;
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    background: var(--rm-auth-warm);
    color: var(--rm-auth-text);
    color-scheme: light;
    font: 1rem/1.55 "Inter", Arial, sans-serif;
}

.rm-auth *,
.rm-auth *::before,
.rm-auth *::after {
    box-sizing: border-box;
}
.rm-auth [hidden] {
    display: none !important;
}

.rm-auth-shell {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    grid-template-columns: 43% minmax(0, 1fr);
}

.rm-auth-header,
.rm-auth-footer {
    position: absolute;
    left: 3.5rem;
    right: 3.5rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    color: var(--rm-auth-muted);
    font-size: 0.75rem;
}

.rm-auth-header {
    top: 0;
    padding-top: 2.2rem;
}
.rm-auth-logo-link {
    display: inline-flex;
    border-radius: 0.25rem;
}
.rm-auth-logo {
    display: block;
    width: 12.8rem;
    height: auto;
}

.rm-auth-brand {
    position: relative;
    min-width: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 8.125rem 3.5rem 16.875rem;
    background: var(--rm-auth-sage);
    isolation: isolate;
}

.rm-auth-message {
    position: relative;
    z-index: 1;
}
.rm-auth-message p {
    margin: 0;
    font: clamp(2.125rem, 3.65vw, 3.5625rem)/1.2 Georgia, "Times New Roman", serif;
    letter-spacing: -0.035em;
}
.rm-auth-message em {
    color: #536f5a;
}

.rm-auth-geometry {
    position: absolute;
    z-index: 0;
    width: 40.625rem;
    height: 40.625rem;
    max-width: none;
    left: -7.5rem;
    bottom: -14.25rem;
    pointer-events: none;
}

.rm-auth-piece {
    transform-box: fill-box;
    transform-origin: center;
}
.rm-auth-piece-dark {
    fill: #cbd8c5;
}
.rm-auth-piece-green {
    fill: #acc8b2;
}

.rm-auth-main {
    min-width: 0;
    display: flex;
    padding: 7.8125rem 3.5rem;
}
.rm-auth-main-inner {
    width: 100%;
    max-width: 26.25rem;
    min-width: 0;
    margin: auto;
}
.rm-auth-view,
.rm-auth-card {
    width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
}
.rm-auth-card-header {
    margin-bottom: 2.25rem;
}
.rm-auth-card-header h1 {
    margin: 0;
    color: var(--rm-auth-text);
    font: 2.75rem/1.17 Georgia, "Times New Roman", serif;
    letter-spacing: -0.035em;
}
.rm-auth-card-header p {
    margin: 0.9375rem 0 0;
    color: var(--rm-auth-muted);
    font-size: 1rem;
}
.rm-auth-form {
    display: grid;
    gap: 1.375rem;
}
.rm-auth-field label {
    display: block;
    margin-bottom: 0.5625rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.rm-auth .rm-auth-field .form-control {
    min-height: 3.3125rem;
    border: 1px solid var(--rm-auth-control-line);
    border-radius: 0.4375rem;
    padding: 0.8125rem 0.9375rem;
    background-color: var(--rm-auth-surface);
    color: var(--rm-auth-text);
    font-size: 1rem;
    line-height: 1.55;
    box-shadow: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.rm-auth .rm-auth-field .form-control::placeholder {
    color: var(--rm-auth-muted);
    opacity: 1;
}
.rm-auth .rm-auth-field .form-control:hover {
    border-color: #63765f;
}
.rm-auth .rm-auth-field .form-control:focus {
    border-color: var(--rm-auth-green);
    box-shadow: 0 0 0 3px #21775e0c;
}

.rm-auth-password {
    position: relative;
}
.rm-auth .rm-auth-password .form-control {
    padding-right: 3.5rem;
}
.rm-auth .was-validated .rm-auth-password .form-control {
    background-image: none;
}
.rm-auth-password-toggle {
    position: absolute;
    top: 0.25rem;
    right: 0.1875rem;
    width: 2.8125rem;
    height: 2.8125rem;
    display: inline-grid;
    place-items: center;
    border: 0;
    border-radius: 0.375rem;
    background: transparent;
    color: var(--rm-auth-muted);
    font-size: 1.15rem;
}
.rm-auth-password-toggle:hover {
    background: #eaf0e6;
    color: var(--rm-auth-green);
}

.rm-auth a:focus-visible,
.rm-auth button:focus-visible,
.rm-auth input:focus-visible,
.rm-auth [tabindex="0"]:focus-visible {
    outline: 3px solid var(--rm-auth-green) !important;
    outline-offset: 4px;
}
.rm-auth-skip {
    position: absolute;
    top: -6rem;
    left: 1.5rem;
    z-index: 1080;
    padding: 0.75rem;
    background: var(--rm-auth-surface);
}
.rm-auth-skip:focus {
    top: 0.75rem;
}

.rm-auth-remember {
    min-height: 2rem;
    margin: 0;
    padding-left: 1.75rem;
    font-size: 0.8125rem;
}
.rm-auth .form-check-input {
    width: 1.0625rem;
    height: 1.0625rem;
    margin-top: 0.1875rem;
    margin-left: -1.75rem;
    border-color: var(--rm-auth-control-line);
    background-color: var(--rm-auth-surface);
}
.rm-auth .form-check-input:checked {
    border-color: var(--rm-auth-green);
    background-color: var(--rm-auth-green);
}
.rm-auth .form-check-label {
    min-height: 1.5rem;
    color: var(--rm-auth-muted);
    cursor: pointer;
}

.rm-auth .rm-auth-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    width: 100%;
    min-height: 3.25rem;
    padding: 0.875rem 1.25rem;
    border: 1px solid var(--rm-auth-green);
    border-radius: 0.5rem;
    background: var(--rm-auth-green);
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
    text-transform: none;
    box-shadow: none;
    transition: background-color 0.2s;
}
.rm-auth .rm-auth-submit:hover,
.rm-auth .rm-auth-submit:focus-visible,
.rm-auth .modal .btn-primary:hover {
    border-color: #175c48;
    background: #175c48;
    color: #fff;
}

.rm-auth-alternatives {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 0.875rem;
    margin: 0;
    font-size: 0.8125rem;
    text-align: center;
}
.rm-auth-alternatives a {
    padding-block: 0.5rem;
}
.rm-auth-alternatives span {
    width: 1px;
    height: 1rem;
    background: var(--rm-auth-line);
}
.rm-auth a,
.rm-auth .modal .nav-link {
    color: var(--rm-auth-green);
    text-underline-offset: 0.25em;
}
.rm-auth a:hover {
    color: #175c48;
}

.rm-auth .alert {
    margin-bottom: 1.375rem;
    padding: 1rem;
    border: 1px solid;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    overflow-wrap: anywhere;
}
.rm-auth .alert-danger {
    border-color: #d6b8b3;
    background: #f7eae6;
    color: #852f26;
}
.rm-auth .alert-success {
    border-color: #bdd0b8;
    background: #e3ece0;
    color: #375445;
}
.rm-auth .invalid-feedback {
    color: #a13226;
    font-size: 0.8125rem;
}
.rm-auth .was-validated .form-control:invalid,
.rm-auth .was-validated .form-check-input:invalid {
    border-color: #a13226;
}
.rm-auth .was-validated .form-check-input:invalid ~ .form-check-label {
    color: #a13226;
}
.rm-auth .was-validated .form-control:valid {
    border-color: var(--rm-auth-green);
}
.rm-auth-confirmation p {
    margin: 0 0 1rem;
    color: var(--rm-auth-muted);
}
.rm-auth-confirmation strong {
    color: var(--rm-auth-text);
}

.rm-auth-footer {
    bottom: 0;
    padding-block: 1.875rem;
}
.rm-auth-footer > span {
    color: var(--rm-auth-text);
}
.rm-auth-footer a {
    color: var(--rm-auth-muted);
    text-decoration: none;
}
.rm-auth-footer a:hover {
    text-decoration: underline;
}
.rm-auth .modal-content {
    border-color: var(--rm-auth-line);
    border-radius: 0.875rem;
    background: var(--rm-auth-surface);
    color: var(--rm-auth-text);
}
.rm-auth .modal .btn-primary {
    border-color: var(--rm-auth-green);
    background: var(--rm-auth-green);
    color: #fff;
}
.rm-auth .modal .btn-outline-secondary {
    border-color: var(--rm-auth-muted);
    color: var(--rm-auth-text);
}
.rm-auth .modal .btn-outline-secondary:hover {
    background: var(--rm-auth-text);
    color: #fff;
}
.rm-auth .modal .nav-tabs {
    gap: 0.25rem;
}
.rm-auth .modal .nav-link.active {
    border-bottom-color: var(--rm-auth-green);
}
.rm-auth .modal :is(.btn, .btn-close, .nav-link):focus-visible {
    box-shadow: none;
}

@media (prefers-reduced-motion: no-preference) {
    .rm-auth-motion-ready .rm-auth-piece-dark {
        animation: rm-auth-join-dark 2.2s cubic-bezier(0.22, 0.65, 0.25, 1) 0.12s 1 both;
    }
    .rm-auth-motion-ready .rm-auth-piece-green {
        animation: rm-auth-join-green 2.2s cubic-bezier(0.22, 0.65, 0.25, 1) 0.12s 1 both;
    }
}
@keyframes rm-auth-join-dark {
    from {
        transform: translate(-8px, -6px);
    }
    to {
        transform: translate(0, 0);
    }
}
@keyframes rm-auth-join-green {
    from {
        transform: translate(8px, 6px);
    }
    to {
        transform: translate(0, 0);
    }
}

@media (min-width: 1600px) {
    .rm-auth-header,
    .rm-auth-footer {
        left: 5rem;
        right: 5rem;
    }
    .rm-auth-brand {
        padding-inline: 5rem;
    }
    .rm-auth-main-inner {
        max-width: 27.5rem;
    }
    .rm-auth-geometry {
        width: 48.75rem;
        height: 48.75rem;
        bottom: -16.5625rem;
    }
}
@media (max-width: 1000px) {
    .rm-auth-header,
    .rm-auth-footer {
        left: 2rem;
        right: 2rem;
    }
    .rm-auth-brand {
        padding: 7.5rem 2rem 16.25rem;
    }
    .rm-auth-message p {
        font-size: 2.1875rem;
    }
    .rm-auth-main {
        padding-inline: 2rem;
    }
    .rm-auth-card-header h1 {
        font-size: 2.5rem;
    }
    .rm-auth-geometry {
        width: 34.375rem;
        height: 34.375rem;
        left: -8.75rem;
        bottom: -9.375rem;
    }
}
@media (max-width: 700px) {
    .rm-auth-shell {
        display: flex;
        flex-direction: column;
    }
    .rm-auth-header {
        left: 1.5rem;
        right: 1.5rem;
        padding-top: 1.375rem;
    }
    .rm-auth-header > span {
        display: none;
    }
    .rm-auth-logo {
        width: 11.375rem;
    }
    .rm-auth-brand {
        min-height: 15.9375rem;
        padding: 6.875rem 1.5rem 2rem;
    }
    .rm-auth-message {
        max-width: 75%;
    }
    .rm-auth-message p {
        font-size: 1.8125rem;
        line-height: 1.15;
    }
    .rm-auth-geometry {
        width: 16.875rem;
        height: 16.875rem;
        left: auto;
        right: -5.3125rem;
        bottom: -4.8125rem;
        opacity: 0.7;
    }
    .rm-auth-main {
        padding: 2.375rem 1.5rem 2.25rem;
    }
    .rm-auth-main-inner {
        margin: 0 auto;
    }
    .rm-auth-card-header {
        margin-bottom: 1.75rem;
    }
    .rm-auth-card-header h1 {
        font-size: 2.25rem;
    }
    .rm-auth-card-header p {
        margin-top: 0.75rem;
        font-size: 0.875rem;
    }
    .rm-auth-form {
        gap: 1.25rem;
    }
    .rm-auth-alternatives {
        gap: 0.25rem 0.875rem;
    }
    .rm-auth-footer {
        position: static;
        display: block;
        margin-top: auto;
        padding: 1.375rem 1.5rem;
        font-size: 0.6875rem;
    }
    .rm-auth-footer a {
        display: block;
        margin-top: 0.625rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    .rm-auth *,
    .rm-auth *::before,
    .rm-auth *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
