/* Standalone style for the public RMH login screen. */
:root {
    color-scheme: light;
    --navy: #12283e;
    --ink: #193048;
    --blue: #235ee7;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font: 14px/1.5 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.skip-link {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 8px 14px;
    transform: translateY(-160%);
    border-radius: 7px;
    background: white;
    color: var(--ink);
}

.skip-link:focus { transform: none; }
a:focus-visible, button:focus-visible { outline: 3px solid #87b0ff; outline-offset: 4px; }

.login-shell {
    display: grid;
    grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
    min-height: 100vh;
    min-height: 100svh;
}

.login-story {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
    padding: 44px 55px;
    background: var(--navy);
    color: white;
}

.brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    width: 260px;
    max-width: 100%;
    text-decoration: none;
}

.brand img {
    display: block;
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.brand-caption { margin-left: 14px; color: #9bb0c5; font-size: 11px; letter-spacing: .4px; }
.eyebrow { display: block; margin-bottom: 25px; color: #8aa3bd; font-size: 10px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; }
.login-story h1 { margin: 0 0 24px; font-size: 52px; line-height: 1.08; letter-spacing: -2px; }
.story-content p { max-width: 330px; margin: 0 0 35px; color: #adc0d3; font-size: 16px; line-height: 1.8; }
.story-footer { margin: 0; color: #90a7bd; font-size: 11px; letter-spacing: .5px; }

.scope {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 12px;
    border: 1px solid #466076;
    border-radius: 6px;
    color: #e6be73;
    font-size: 12px;
    font-weight: 600;
}

.scope > span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.login-form-area { display: grid; place-items: center; padding: 45px; }
.login-card { width: 100%; max-width: 355px; }

.login-icon {
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: #edf2fd;
    color: var(--blue);
}

.login-card h2 { margin: 22px 0 9px; font-size: 27px; letter-spacing: -.8px; }
.login-card > p { margin: 0 0 29px; color: #627488; font-size: 13px; }
.login-card > .form-error { padding: 12px 14px; border: 1px solid #f0d9d9; border-radius: 7px; background: #fff0f0; color: #943a3c; }
.login-card label { display: block; margin-bottom: 8px; color: #43576e; font-size: 12px; font-weight: 600; }

.login-card input:not([type="hidden"]) {
    display: block;
    width: 100%;
    margin: 0 0 20px;
    border: 1px solid #dce3ec;
    border-radius: 7px;
    padding: 11px 12px;
    background: #fcfdff;
    color: var(--ink);
    font: inherit;
}

.login-card input:focus { outline: none; border-color: #6590ec; box-shadow: 0 0 0 3px #eaf0ff; }

.login-card button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 41px;
    margin-top: 7px;
    padding: 10px 16px;
    border: 0;
    border-radius: 7px;
    background: var(--blue);
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.login-card button:hover { background: #194bc3; }

@media (min-width: 1500px) {
    .login-story { padding: 60px 80px; }
    .login-story h1 { font-size: 62px; }
}

@media (max-width: 800px) {
    .login-story { padding: 35px; }
    .login-story h1 { font-size: 40px; }
    .login-form-area { padding: 30px; }
}

@media (max-width: 560px) {
    .login-shell { grid-template-columns: minmax(0, 1fr); align-content: start; }
    .login-story { gap: 35px; padding: 25px; }
    .login-story h1 { margin-bottom: 12px; font-size: 35px; }
    .story-content p { margin-bottom: 20px; font-size: 13px; }
    .story-footer { display: none; }
    .login-form-area { padding: 35px 25px; }
    .login-card h2 { font-size: 25px; }
    .login-card input:not([type="hidden"]) { font-size: 16px; }
}
