/* Sign-up and forgot-password pages (2026-10-23). Phone first; the same page fills the 500 x 600 desktop pop-up. */
:root {
    --su-ink: #1f2328;
    --su-muted: #57606a;
    --su-line: #b9c0c7;
    --su-bg: #f6f6f6;
    --su-card: #ffffff;
    --su-blue: #1a6fb5;
    --su-blue-dark: #145a93;
    --su-red: #c62828;
    --su-red-bg: #fdecea;
    color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
    margin: 0;
    padding: 0 16px 24px;
    background: var(--su-bg);
    color: var(--su-ink);
    font: 16px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
a { color: var(--su-blue); }
p { margin: 0; text-wrap: pretty; }
[hidden] { display: none !important; }

.su-top { text-align: center; margin: 0 -16px 20px; padding: 12px 16px 8px; background: #fff; border-bottom: 1px solid #e1e4e8; }
.su-top img { display: inline-block; max-width: 60%; height: auto; vertical-align: middle; }
.su-card {
    max-width: 440px;
    margin: 0 auto;
    padding: 20px 20px 22px;
    background: var(--su-card);
    border: 1px solid #e1e4e8;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}
.su-card h1 { margin: 0 0 14px; font-size: 22px; line-height: 1.25; }
.su-foot { text-align: center; margin-top: 16px; font-size: 14px; }

.su-form { margin: 0; }
.su-field { margin-bottom: 14px; }
.su-field label { display: block; font-weight: 600; margin-bottom: 4px; }
.su-field input[type=email],
.su-field input[type=password],
.su-field input[type=text] {
    display: block;
    width: 100%;
    height: 44px;
    padding: 0 12px;
    font: inherit;
    font-size: 16px;
    color: var(--su-ink);
    background: #fff;
    border: 1px solid var(--su-line);
    border-radius: 6px;
}
.su-field input:focus { outline: 2px solid var(--su-blue); outline-offset: 0; border-color: var(--su-blue); }
.su-field input[aria-invalid=true] { border-color: var(--su-red); }
.su-hint { margin-top: 3px; font-size: 13px; color: var(--su-muted); }
.su-error {
    margin-top: 5px;
    font-size: 14px;
    color: var(--su-red);
}
#form-error, .su-form > .su-error {
    margin: 0 0 12px;
    padding: 8px 10px;
    background: var(--su-red-bg);
    border-radius: 6px;
}
.su-error a { color: var(--su-red); font-weight: 600; }

.su-pass { position: relative; }
.su-pass input { padding-right: 72px !important; }
.su-show {
    position: absolute;
    top: 4px;
    right: 4px;
    height: 36px;
    min-width: 60px;
    padding: 0 10px;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--su-blue);
    background: #eef4fa;
    border: 0;
    border-radius: 5px;
    cursor: pointer;
}

.su-captcha { min-height: 0; }
.su-captcha-recaptcha { min-height: 78px; }
.su-captcha .cf-turnstile:empty { display: none; }
@media (max-width: 340px) {
    .su-captcha .g-recaptcha { transform: scale(.88); transform-origin: 0 0; }
}

.su-terms { margin-bottom: 16px; }
.su-check {
    display: flex !important;
    gap: 10px;
    align-items: flex-start;
    font-weight: 400 !important;
    font-size: 15px;
    cursor: pointer;
}
.su-check input { flex: 0 0 auto; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--su-blue); }

.su-join {
    display: block;
    width: 100%;
    height: 48px;
    padding: 0 16px;
    font: inherit;
    font-size: 17px;
    font-weight: 700;
    line-height: 48px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background: var(--su-blue);
    border: 0;
    border-radius: 6px;
    cursor: pointer;
}
.su-join:hover { background: var(--su-blue-dark); }
.su-join:disabled { opacity: .7; cursor: progress; }
.su-alt { margin-top: 14px; text-align: center; font-size: 15px; color: var(--su-muted); }

.su-done p { margin-bottom: 14px; }
.su-done-title { font-size: 18px; font-weight: 700; }

/* Inside the desktop pop-up (an iframe on the homepage): no logo, no outer card. */
html.in-popup body { padding: 0; }
html.in-popup .su-top, html.in-popup .su-foot { display: none; }
html.in-popup .su-card { max-width: none; margin: 0; padding: 16px 20px; border: 0; border-radius: 0; box-shadow: none; background: var(--su-bg); }
html.in-popup .su-field { margin-bottom: 12px; }

@media (min-width: 600px) {
    .su-top { margin-bottom: 28px; }
    .su-card { padding: 26px 28px 28px; }
}
