/* Public guest login only. Full-viewport split, no cards or decorative effects. */
body.sgds-login.hrp-guest {
    background: var(--sgds-paper);
    color: var(--sgds-ink);
    font: var(--sgds-font-body)/1.5 var(--sgds-font);
    min-height: 100vh;
    min-height: 100dvh;
    padding: 0;
}
body.sgds-login.hrp-guest .hrp-site-header { display: none; }
body.sgds-login.hrp-guest .hrp-site-main { flex: 1 0 auto; width: 100%; }
body.sgds-login.hrp-guest .hrp-wrap--login,
body.sgds-login.hrp-guest .hrp-login-stack {
    width: 100%; max-width: none; margin: 0; padding: 0;
    min-height: 100vh; min-height: 100dvh;
}
body.sgds-login.hrp-guest .hrp-login-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 100vh; min-height: 100dvh;
    width: 100%; max-width: none;
    margin: 0; padding: 0;
    border: 0; border-radius: var(--sgds-panel-radius); box-shadow: none;
}
body.sgds-login.hrp-guest .hrp-login-panel { min-width: 0; }
body.sgds-login.hrp-guest .hrp-login-panel--brand {
    display: grid; grid-template-rows: 1fr auto; min-height: 0;
    align-items: center; justify-items: center;
    padding: clamp(24px, 4.5vw, 72px);
    gap: var(--sgds-space-6);
    background: var(--sgds-deep); color: #fff;
}
body.sgds-login.hrp-guest .hrp-login-panel--brand::before,
body.sgds-login.hrp-guest .hrp-login-panel--brand::after { content: none; }
body.sgds-login.hrp-guest .hrp-login-brand-stage {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; gap: var(--sgds-space-5); width: 100%; text-align: center;
}
body.sgds-login.hrp-guest .hrp-login-logo {
    display: block; width: clamp(160px, 20vw, 300px); height: auto;
    max-width: 100%; max-height: none; object-fit: contain;
    filter: none; background: transparent; border: 0; box-shadow: none;
}
body.sgds-login.hrp-guest .hrp-login-brand-name {
    color: #fff; font: 600 18px/1.4 var(--sgds-font); letter-spacing: 0;
    overflow-wrap: anywhere;
}
body.sgds-login.hrp-guest .hrp-login-panel--form {
    display: flex; align-items: center; justify-content: center;
    padding: clamp(24px, 5vw, 80px); background: var(--sgds-paper);
}
body.sgds-login.hrp-guest .hrp-login-form-shell { width: min(100%, 420px); min-width: 0; }
body.sgds-login.hrp-guest .hrp-login-form-shell .hrotp-wrap { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
body.sgds-login.hrp-guest .hrp-login-form-shell .hrotp-card,
body.sgds-login.hrp-guest .hrp-login-form-shell .hrp-card--login-fallback {
    width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important;
    border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important;
    color: var(--sgds-ink);
}
body.sgds-login.hrp-guest .hrp-login-form-shell :is(.hrotp-login-title, .hrotp-card h2, .hrp-title) {
    margin: 0 0 var(--sgds-space-2) !important;
    color: var(--sgds-ink); font: 650 30px/1.2 var(--sgds-font) !important; letter-spacing: -.025em;
}
body.sgds-login.hrp-guest .hrp-login-form-shell :is(.hrotp-sub, .hrotp-note, .hrp-sub) {
    color: var(--sgds-muted) !important; font: 400 14px/1.6 var(--sgds-font);
    margin: 0 0 var(--sgds-space-4) !important; overflow-wrap: anywhere;
}
body.sgds-login.hrp-guest .hrp-login-form-shell .hrotp-form {
    display: flex !important; flex-direction: column; gap: var(--sgds-space-2) !important;
    margin: 24px 0 0;
}
body.sgds-login.hrp-guest .hrp-login-form-shell .hrotp-form label { color: var(--sgds-ink) !important; font-size: 13px !important; font-weight: 600 !important; }
body.sgds-login.hrp-guest .hrp-login-form-shell .hrotp-form :is(input[type="email"], input[type="text"]) {
    width: 100% !important; min-width: 0; min-height: 48px;
    padding: 10px 12px !important; border: 1px solid var(--sgds-muted) !important;
    border-radius: var(--sgds-control-radius) !important; box-shadow: none !important;
    background: var(--sgds-surface) !important; color: var(--sgds-ink) !important;
    -webkit-text-fill-color: currentColor !important; font: 400 16px/1.4 var(--sgds-font);
}
body.sgds-login.hrp-guest .hrp-login-form-shell .hrotp-form button {
    width: 100%; min-height: 48px !important; margin-top: var(--sgds-space-4);
    padding: 10px 16px !important; border: 1px solid var(--sgds-accent) !important;
    border-radius: var(--sgds-control-radius) !important; background: var(--sgds-accent) !important;
    box-shadow: none !important; color: #fff !important; -webkit-text-fill-color: currentColor !important;
    font: 600 14px/1.4 var(--sgds-font) !important; cursor: pointer;
}
body.sgds-login.hrp-guest .hrp-login-form-shell .hrotp-form button:hover { background: var(--sgds-deep) !important; }
body.sgds-login.hrp-guest .hrp-login-form-shell .hrotp-lang-wrap {
    display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap;
    gap: var(--sgds-space-2); margin: 0 0 var(--sgds-space-6);
}
body.sgds-login.hrp-guest .hrp-login-form-shell .hrotp-lang-label { font-size: 12px; color: var(--sgds-muted); }
body.sgds-login.hrp-guest .hrp-login-form-shell .hrotp-flag { display: none; }
body.sgds-login.hrp-guest .hrp-login-form-shell .hrotp-lang-link,
body.sgds-login.hrp-guest .hrp-login-form-shell .hrotp-secondary-actions .linklike {
    display: inline-flex; align-items: center; justify-content: center;
    gap: var(--sgds-space-2); min-height: 44px; min-width: 44px;
    padding: 6px 10px; border: 1px solid var(--sgds-border);
    border-radius: var(--sgds-control-radius); box-shadow: none;
    background: transparent; color: var(--sgds-ink); -webkit-text-fill-color: currentColor;
    font: 600 12px/1.4 var(--sgds-font); text-decoration: none; white-space: normal;
}
body.sgds-login.hrp-guest .hrp-login-form-shell .hrotp-lang-link:hover,
body.sgds-login.hrp-guest .hrp-login-form-shell .hrotp-secondary-actions .linklike:hover { background: var(--sgds-soft); border-color: var(--sgds-accent); }
body.sgds-login.hrp-guest .hrp-login-form-shell .hrotp-lang-link.is-active { background: var(--sgds-accent); border-color: var(--sgds-accent); color: #fff; }
body.sgds-login.hrp-guest .hrp-login-form-shell .hrotp-secondary-actions { display: flex; flex-wrap: wrap; gap: var(--sgds-space-2); margin-top: var(--sgds-space-4); }
body.sgds-login.hrp-guest .hrp-login-form-shell .hrotp-secondary-actions form { margin: 0; max-width: 100%; }
body.sgds-login.hrp-guest .hrp-login-form-shell .hrotp-note { margin-top: var(--sgds-space-4) !important; font-size: 13px; }
/* Verification: use the existing single native OTP input (paste and autofill). */
body.sgds-login.hrp-guest .hrp-login-form-shell .hrotp-account-row {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
    gap: var(--sgds-space-1) var(--sgds-space-4); margin: var(--sgds-space-5) 0 0;
    padding: 0 0 var(--sgds-space-2); border-bottom: 1px solid var(--sgds-border);
}
body.sgds-login.hrp-guest .hrp-login-form-shell .hrotp-account-identity { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
body.sgds-login.hrp-guest .hrp-login-form-shell .hrotp-account-label { display: block; color: var(--sgds-muted); font: 400 12px/1.4 var(--sgds-font); }
body.sgds-login.hrp-guest .hrp-login-form-shell .hrotp-account-identity strong { color: var(--sgds-ink); font: 600 14px/1.5 var(--sgds-font); }
body.sgds-login.hrp-guest .hrp-login-form-shell .hrotp-change-email {
    display: inline-flex; align-items: center; min-height: 44px; color: var(--sgds-accent);
    -webkit-text-fill-color: currentColor; font: 600 13px/1.4 var(--sgds-font); text-decoration: underline;
    text-underline-offset: 3px; background: transparent; border: 0; box-shadow: none; padding: 0;
}
body.sgds-login.hrp-guest .hrp-login-form-shell .hrotp-change-email:hover { color: var(--sgds-deep); }
body.sgds-login.hrp-guest .hrp-login-form-shell .hrotp-form--verify { margin-top: var(--sgds-space-5); }
body.sgds-login.hrp-guest .hrp-login-form-shell .hrotp-form--verify #hrotp_code {
    min-height: 60px; text-align: center; font: 600 26px/1.4 var(--sgds-mono) !important;
    font-variant-numeric: tabular-nums; letter-spacing: .28em;
}
body.sgds-login.hrp-guest .hrp-login-form-shell .hrotp-secondary-actions .linklike { cursor: pointer; }

body.sgds-login.hrp-guest .hrp-login-form-shell :is(.hrotp-msg, .hrp-alert) {
    margin: var(--sgds-space-3) 0; padding: var(--sgds-space-3); border-radius: 0; box-shadow: none; overflow-wrap: anywhere;
}
body.sgds-login.hrp-guest .hrp-login-form-shell .hrotp-ok { color: #14532d; background: #edf7ee; border: 1px solid #9dbfa2; border-left: 3px solid #367346; }
body.sgds-login.hrp-guest .hrp-login-form-shell .hrotp-err { color: #991b1b; background: #fef2f2; border: 1px solid #e6b1b1; border-left: 3px solid #b91c1c; }
body.sgds-login.hrp-guest .hrp-login-links {
    display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap;
    gap: var(--sgds-space-3); width: 100%; min-width: 0;
}
body.sgds-login.hrp-guest .hrp-login-links .hrp-footer-social { gap: var(--sgds-space-2); }
body.sgds-login.hrp-guest .hrp-login-links .hrp-footer-social-link {
    width: 44px; min-width: 44px; height: 44px; min-height: 44px;
    background: transparent; color: #fff; border: 1px solid #ffffff70;
    border-radius: var(--sgds-control-radius); box-shadow: none; transform: none;
}
body.sgds-login.hrp-guest .hrp-login-links .hrp-footer-social-link:hover { background: #ffffff16; transform: none; }
body.sgds-login.hrp-guest .hrp-login-links .hrp-site-link--footer { color: #fff; background: transparent; border: 0; border-radius: 0; box-shadow: none; text-decoration: underline; font-size: 12px; min-height: 44px; }
body.sgds-login.hrp-guest .hrp-wrap--login :is(a, button, input):focus-visible { outline: 2px solid var(--sgds-accent) !important; outline-offset: 3px !important; box-shadow: none !important; }
body.sgds-login.hrp-guest .hrp-login-links a:focus-visible { outline-color: #fff !important; }
@media (max-width: 782px) {
    body.sgds-login.hrp-guest .hrp-login-shell { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
    body.sgds-login.hrp-guest .hrp-login-panel--brand {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto;
        justify-content: stretch;
        align-items: center;
        min-height: 0;
        padding: var(--sgds-space-3);
        gap: var(--sgds-space-2);
    }
    body.sgds-login.hrp-guest .hrp-login-brand-stage {
        flex-direction: column; align-items: center; justify-content: center;
        min-width: 0; gap: var(--sgds-space-2); text-align: center;
    }
    body.sgds-login.hrp-guest .hrp-login-logo {
        width: clamp(84px, 28vw, 108px); max-width: 100%; flex: none;
    }
    body.sgds-login.hrp-guest .hrp-login-brand-name { font-size: 16px; }
    body.sgds-login.hrp-guest .hrp-login-links {
        display: grid; justify-items: end; align-content: center;
        justify-content: end; width: auto; gap: var(--sgds-space-1);
    }
    body.sgds-login.hrp-guest .hrp-login-links .hrp-footer-social {
        width: auto; order: 0; justify-content: flex-end; gap: var(--sgds-space-2);
    }
    body.sgds-login.hrp-guest .hrp-login-links .hrp-site-link--footer {
        display: inline-flex; align-items: center; min-height: 44px; padding: 0;
        text-align: right;
    }
    body.sgds-login.hrp-guest .hrp-login-panel--form {
        align-items: flex-start; padding: var(--sgds-space-4) var(--sgds-space-6) 36px;
    }
    body.sgds-login.hrp-guest .hrp-login-form-shell .hrotp-lang-wrap { margin-bottom: var(--sgds-space-4); }
    body.sgds-login.hrp-guest .hrp-login-form-shell .hrotp-lang-link,
    body.sgds-login.hrp-guest .hrp-login-form-shell .hrotp-secondary-actions .linklike { min-height: 44px; min-width: 44px; }
    body.sgds-login.hrp-guest .hrp-login-form-shell .hrotp-form { margin-top: 24px; }
}

@media (max-width: 319px) {
    body.sgds-login.hrp-guest .hrp-login-panel--brand { grid-template-columns: minmax(0, 1fr); }
    body.sgds-login.hrp-guest .hrp-login-links { justify-items: center; justify-content: center; }
    body.sgds-login.hrp-guest .hrp-login-links .hrp-footer-social { justify-content: center; }
}
