/* ==========================================================================
   Site 6: the auth pages (Oct 2026)
   /user/login, /user/register, /user/login/forgot, /user/login/reset/{token},
   /user/login/2fa, /user/invited/{token}, /user/login/apple/email.

   Loaded by layouts/auth.php only when the controller set the body class
   "s6-auth". Link gates and the private-site page share that layout and never
   load this file; every rule is scoped under .s6-auth anyway.

   Page: logo bar + card on haze; on wide screens a navy panel beside it
   (partials/auth_panel.php). The login page is simpler (s6-auth-simple): the
   card alone, with the logo in it. Card (.pl-auth-*): the signup modal's look
   (partials/account_modal.php, .pl-reg-*): Nunito Sans Black heading, DM Sans,
   navy band behind the brand token, ink-bordered Google button, 52px fields,
   blue submit. /user/register and the modal are kept identical (change both),
   except the modal's top: it shows the logo on white, like the login card,
   because nothing else on the modal names the brand.
   Faces: css/the25-site6.css.
   ========================================================================== */

.s6-auth {
    --s6-ink: #0d1b2e;
    --s6-body: #465366;
    --s6-muted: #6b7688;
    --s6-line: #dce3ec;
    --s6-paper: #ffffff;
    --s6-haze: #f1f5fa;
    --s6-blue: #0967f2;
    --s6-blue-deep: #0648b5;
    --s6-navy: #0b1734;
    --s6-sky: #5ea8ff;
    --s6-amber: #ffc66b;
    --s6-stop: #e5484d;
    --s6-go: #13a56b;
    --s6-display: "Nunito Sans S6", "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --s6-text: "DM Sans S6", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* The layout's inline styles set Inter and a gradient on body (!important on
   the font), so the more specific body.s6-auth wins. */
body.s6-auth {
    min-height: 100vh;
    margin: 0;
    background: var(--s6-haze);
    color: var(--s6-body);
    font-family: var(--s6-text) !important;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Page shell: one centered card on phones and tablets, split from 1024px
   ========================================================================== */

.s6-auth .s6a-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-height: 100vh;
    min-height: 100dvh;
}

.s6-auth .s6a-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 20px 16px 32px;
}

.s6-auth .s6a-bar {
    display: flex;
    justify-content: center;
    padding: 4px 0 22px;
}

.s6-auth .s6a-logo {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--s6-ink);
    font-family: var(--s6-display);
    font-size: 20px;
    font-weight: 900;
    text-decoration: none;
}

.s6-auth .s6a-logo img {
    display: block;
    width: auto;
    height: 30px;
}

.s6-auth .s6a-stage {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
}

.s6-auth .s6a-panel {
    display: none;
}

/* Phones: the card starts right under the logo, so the fields stay in view
   when the keyboard opens */
@media (max-width: 640px) {
    .s6-auth .s6a-stage {
        align-items: flex-start;
    }
}

@media (min-width: 1024px) {
    .s6-auth .s6a-shell {
        grid-template-columns: minmax(520px, 1fr) minmax(0, 1fr);
    }

    .s6-auth .s6a-main {
        padding: 28px clamp(28px, 4vw, 64px) 40px;
    }

    .s6-auth .s6a-bar {
        justify-content: flex-start;
        padding: 0;
    }

    /* Bottom padding balances the logo bar, so the card sits in the optical
       middle of the screen. */
    .s6-auth .s6a-stage {
        padding: 40px 0 72px;
    }

    .s6-auth .s6a-panel {
        position: sticky;
        top: 16px;
        display: flex;
        flex-direction: column;
        gap: 36px;
        align-self: start;
        min-height: calc(100vh - 32px);
        min-height: calc(100dvh - 32px);
        margin: 16px;
        margin-inline-start: 0;
        padding: clamp(40px, 4.2vw, 64px) clamp(36px, 4.2vw, 64px) clamp(32px, 3vw, 44px);
        overflow: hidden;
        border-radius: 28px;
        background:
            radial-gradient(60% 45% at 88% 6%, rgba(9, 103, 242, .55), transparent 68%),
            radial-gradient(48% 38% at 0% 100%, rgba(225, 48, 108, .2), transparent 72%),
            radial-gradient(34% 28% at 40% 0%, rgba(94, 224, 160, .09), transparent 70%),
            linear-gradient(180deg, #0b1838 0%, #07102a 100%);
        color: rgba(255, 255, 255, .78);
    }
}

/* ==========================================================================
   Navy panel: promise, proof, store scores
   ========================================================================== */

.s6-auth .s6a-panel-title {
    max-width: 15em;
    margin: 0 0 16px;
    color: #fff;
    font-family: var(--s6-display);
    font-size: clamp(30px, 2.9vw, 44px);
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -.015em;
    text-wrap: balance;
}

.s6-auth .s6a-panel-lead {
    max-width: 34em;
    margin: 0;
    color: rgba(255, 255, 255, .74);
    font-size: 17px;
    line-height: 1.6;
}

.s6-auth .s6a-apps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-top: 26px;
}

.s6-auth .s6a-apps p {
    margin: 0;
    color: rgba(255, 255, 255, .58);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.s6-auth .s6a-apps ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.s6-auth .s6a-apps li {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
}

.s6-auth .s6a-apps img {
    width: 22px;
    height: 22px;
}

.s6-auth .s6a-apps .s6a-apps-more {
    width: auto;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .07);
    box-shadow: none;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

/* Centred in whatever room the promise leaves; the scores sit at the bottom */
.s6-auth .s6a-panel-proof {
    margin-block: auto;
}

.s6-auth .s6a-proof {
    display: flex;
    align-items: center;
    gap: 12px;
}

.s6-auth .s6a-proof-faces {
    display: flex;
    flex-shrink: 0;
}

.s6-auth .s6a-proof-faces img {
    width: 32px;
    height: 32px;
    margin-inline-start: -9px;
    border: 2px solid #0a1532;
    border-radius: 50%;
    object-fit: cover;
}

.s6-auth .s6a-proof-faces img:first-child {
    margin-inline-start: 0;
}

.s6-auth .s6a-proof p {
    margin: 0;
    color: #fff;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.35;
}

.s6-auth .s6a-proof small {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    color: rgba(255, 255, 255, .62);
    font-size: 12.5px;
    font-weight: 400;
}

.s6-auth .s6a-proof small img {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    background: #fff;
}

/* Two real X posts, dressed like X cards */
.s6-auth .s6a-posts {
    display: grid;
    gap: 12px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

/* One post where room is short: on translated pages (the posts are in English
   and the translated promise runs longer) and on narrow panels (1024-1279px). */
html:not([lang="en"]) .s6-auth .s6a-posts li + li {
    display: none;
}

@media (max-width: 1279px) {
    .s6-auth .s6a-posts li + li {
        display: none;
    }
}

.s6-auth .s6a-post {
    display: block;
    padding: 16px 18px 18px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    background: rgba(255, 255, 255, .05);
    color: inherit;
    text-decoration: none;
    transition: background-color .18s ease, border-color .18s ease;
}

.s6-auth .s6a-post:hover,
.s6-auth .s6a-post:focus-visible {
    border-color: rgba(255, 255, 255, .26);
    background: rgba(255, 255, 255, .09);
    color: inherit;
}

.s6-auth .s6a-post:focus-visible,
.s6-auth .s6a-stores a:focus-visible {
    outline: 2px solid var(--s6-sky);
    outline-offset: 2px;
}

.s6-auth .s6a-post-by {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.s6-auth .s6a-post-by img {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.s6-auth .s6a-post-by > span {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25;
}

.s6-auth .s6a-post-by b {
    color: #fff;
    font-size: 14.5px;
}

.s6-auth .s6a-post-by small {
    color: rgba(255, 255, 255, .56);
    font-size: 13px;
}

.s6-auth .s6a-post-x {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    margin-inline-start: auto;
    align-self: flex-start;
    margin-top: 3px;
    color: rgba(255, 255, 255, .45);
}

.s6-auth .s6a-post-text {
    display: block;
    color: rgba(255, 255, 255, .88);
    font-size: 15px;
    line-height: 1.55;
}

/* Store scores, the footer's numbers */
.s6-auth .s6a-stores {
    display: grid;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    gap: 16px;
    margin: 0;
    padding: 22px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    list-style: none;
}

.s6-auth .s6a-stores a {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: inherit;
    text-decoration: none;
}

.s6-auth .s6a-store-score {
    display: flex;
    align-items: center;
    gap: 8px;
}

.s6-auth .s6a-store-score b {
    color: #fff;
    font-family: var(--s6-display);
    font-size: 26px;
    font-weight: 900;
    line-height: 1.1;
}

.s6-auth .s6a-store-name {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.3;
}

.s6-auth .s6a-store-name i {
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
}

.s6-auth .s6a-stores small {
    color: rgba(255, 255, 255, .56);
    font-size: 12.5px;
}

.s6-auth .s6a-stores a:hover .s6a-store-name {
    text-decoration: underline;
}

/* Short laptop screens: keep the card and the panel within one screen */
@media (min-width: 1024px) and (max-height: 820px) {
    .s6-auth .s6a-main {
        padding-top: 20px;
        padding-bottom: 16px;
    }

    .s6-auth .s6a-stage {
        padding: 16px 0 24px;
    }

    .s6-auth .s6a-apps {
        display: none;
    }

    .s6-auth .s6a-posts li + li {
        display: none;
    }
}

/* ==========================================================================
   Simple page (body.s6-auth-simple, the login and register pages): no logo
   bar, no navy panel, just the card centred on the haze. Two classes on the stage so the
   split page's media-query paddings above never apply.
   ========================================================================== */

.s6-auth .s6a-stage.s6a-stage-solo {
    box-sizing: border-box;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 40px 16px;
}

/* Phones: near the top, so the fields stay in view when the keyboard opens */
@media (max-width: 640px) {
    .s6-auth .s6a-stage.s6a-stage-solo {
        padding: 20px 16px 32px;
    }
}

/* ==========================================================================
   Card: the signup modal's look
   ========================================================================== */

.s6-auth .pl-auth-card {
    position: relative;
    width: 100%;
    max-width: 460px;
    overflow: hidden;
    padding: 40px 40px 32px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(13, 27, 46, .06), 0 24px 60px rgba(11, 23, 52, .13), 0 2px 6px rgba(11, 23, 52, .05);
    font-size: 15px;
    line-height: 1.6;           /* what the modal inherits from layouts.main */
    text-align: center;
}

/* Navy band behind the token, echoing the homepage hero */
.s6-auth .pl-auth-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 92px;
    background:
        radial-gradient(260px 120px at 80% 0%, rgba(94, 168, 255, .45), transparent 70%),
        var(--s6-navy);
    content: "";
}

.s6-auth .pl-auth-token {
    position: relative;
    display: block;
    width: 84px;
    height: 84px;
    margin: 10px auto 14px;
    object-fit: contain;
}

/* Logo in place of the token (login, register): plain white card, no navy band */
.s6-auth .pl-auth-card-logo::before {
    content: none;
}

.s6-auth .pl-auth-logo {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin: -4px auto 18px;
    color: var(--s6-ink);
    font-family: var(--s6-display);
    font-size: 22px;
    font-weight: 900;
    text-decoration: none;
}

.s6-auth .pl-auth-logo img {
    display: block;
    width: auto;
    height: 34px;
}

/* Header */
.s6-auth .pl-auth-header {
    margin-bottom: 22px;
}

.s6-auth .pl-auth-header h1 {
    margin: 0 0 8px;
    color: var(--s6-ink);
    font-family: var(--s6-display);
    font-size: 30px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -.01em;
    text-wrap: balance;
}

.s6-auth .pl-auth-header p {
    margin: 0 0 14px;
    color: var(--s6-body);
    font-size: 15.5px;
    line-height: 1.5;
    text-wrap: pretty;
}

.s6-auth .pl-auth-header p:last-child {
    margin-bottom: 0;
}

/* Inline (not flex) so the dot stays with the first word when a longer
   translation wraps to two lines */
.s6-auth .pl-auth-trust-pill {
    display: inline-block;
    max-width: 100%;
    padding: 6px 13px;
    border-radius: 999px;
    background: #e4f6ee;
    color: #0b7a4d;
    font-size: 13px;
    font-weight: 700;
    text-wrap: balance;
}

.s6-auth .pl-auth-trust-pill svg {
    display: inline-block;
    margin-inline-end: 3px;
    vertical-align: 1px;
}

/* The link the visitor pasted, so they see it is kept (register) */
.s6-auth .pl-auth-pending {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    padding: 10px 14px;
    border: 1px dashed var(--s6-line);
    border-radius: 12px;
    background: var(--s6-haze);
    text-align: left;
}

.s6-auth .pl-auth-pending[hidden] {
    display: none;
}

.s6-auth .pl-auth-pending i {
    color: var(--s6-blue);
}

.s6-auth .pl-auth-pending span {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.35;
}

.s6-auth .pl-auth-pending b {
    overflow: hidden;
    color: var(--s6-ink);
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.s6-auth .pl-auth-pending small {
    color: var(--s6-muted);
    font-size: 12.5px;
    text-wrap: pretty;
}

/* Social sign-in */
.s6-auth .pl-auth-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.s6-auth .pl-auth-google-btn,
.s6-auth .pl-auth-apple-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 52px;
    padding: 12px 20px;
    border: 1.5px solid var(--s6-ink);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 0 var(--s6-ink);
    color: var(--s6-ink);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .15s, box-shadow .15s, background .15s;
}

.s6-auth .pl-auth-google-btn:hover,
.s6-auth .pl-auth-google-btn:focus-visible,
.s6-auth .pl-auth-apple-btn:hover {
    background: var(--s6-haze);
    color: var(--s6-ink);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 0 var(--s6-ink);
}

.s6-auth .pl-auth-google-btn:active,
.s6-auth .pl-auth-apple-btn:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 var(--s6-ink);
}

.s6-auth .pl-auth-apple-btn {
    border-color: var(--s6-line);
    box-shadow: none;
    font-size: 15px;
}

.s6-auth .pl-auth-apple-btn:hover {
    box-shadow: none;
}

.s6-auth .pl-auth-oauth-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
}

/* Facebook / X icon buttons */
.s6-auth .pl-auth-social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.s6-auth .pl-auth-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1.5px solid var(--s6-line);
    border-radius: 10px;
    background: #fff;
    font-size: 16px;
    text-decoration: none;
}

.s6-auth .pl-auth-social-icon.facebook { color: #1877f2; }
.s6-auth .pl-auth-social-icon.twitter  { color: #000; }

.s6-auth .pl-auth-social-icon:hover {
    border-color: var(--s6-ink);
}

/* OR divider */
.s6-auth .pl-auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
}

.s6-auth .pl-auth-divider::before,
.s6-auth .pl-auth-divider::after {
    flex: 1;
    height: 1px;
    background: var(--s6-line);
    content: "";
}

.s6-auth .pl-auth-divider span {
    color: var(--s6-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
}

/* Fields */
.s6-auth .pl-auth-field {
    margin-bottom: 12px;
}

.s6-auth .pl-auth-field input[type="text"],
.s6-auth .pl-auth-field input[type="email"],
.s6-auth .pl-auth-field input[type="password"] {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    border: 1.5px solid var(--s6-line);
    border-radius: 12px;
    background: #fff;
    color: var(--s6-ink);
    font-family: inherit;
    font-size: 16px;
    transition: border-color .18s, box-shadow .18s;
}

.s6-auth .pl-auth-field input::placeholder {
    color: #8a94a6;
    opacity: 1;
}

.s6-auth .pl-auth-field input:focus {
    border-color: var(--s6-blue);
    outline: none;
    box-shadow: 0 0 0 4px rgba(9, 103, 242, .14);
}

.s6-auth .pl-auth-field input:disabled {
    background: var(--s6-haze);
    color: var(--s6-muted);
    cursor: not-allowed;
}

/* Password reveal, inside the field */
.s6-auth .pl-auth-pass-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.s6-auth .pl-auth-pass-wrap input {
    padding-inline-end: 52px;
}

.s6-auth .pl-auth-toggle-pass {
    position: absolute;
    top: 50%;
    inset-inline-end: 4px;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: none;
    color: var(--s6-muted);
    cursor: pointer;
    transform: translateY(-50%);
    transition: color .18s;
}

.s6-auth .pl-auth-toggle-pass:hover {
    color: var(--s6-blue);
}

/* Inline error */
.s6-auth .pl-auth-error {
    margin-bottom: 12px;
    padding: 10px 14px;
    border: 1px solid rgba(229, 72, 77, .25);
    border-radius: 10px;
    background: #fdecec;
    color: #b4232a;
    font-size: 13.5px;
    text-align: left;
}

/* Captcha: the reCAPTCHA widget is a fixed 304px, wider than the card's inner
   width on small phones, so it scales down there. */
.s6-auth .pl-auth-captcha {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

@media (max-width: 400px) {
    .s6-auth .pl-auth-captcha {
        margin-bottom: 0;
        transform: scale(.85);
        transform-origin: center top;
    }
}

/* Remember me + forgot password */
.s6-auth .pl-auth-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 16px;
    margin: 2px 0 14px;
}

/* Custom checkboxes. The input stays in the accessibility tree and focusable
   (visually hidden, not display: none), so keyboard users can tick it and the
   browser can point at a required box it refuses to submit without. */
.s6-auth .pl-auth-remember,
.s6-auth .pl-auth-terms {
    position: relative;
    display: flex;
    gap: 10px;
    margin: 0;
    color: var(--s6-body);
    font-size: 14px;
    cursor: pointer;
}

.s6-auth .pl-auth-remember {
    align-items: center;
    min-height: 44px;
}

.s6-auth .pl-auth-remember input,
.s6-auth .pl-auth-terms input {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

.s6-auth .pl-auth-remember input {
    top: 50%;
    transform: translateY(-50%);
}

.s6-auth .pl-auth-remember .checkmark,
.s6-auth .pl-auth-terms .checkmark {
    position: relative;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 1.5px solid #b6c1cf;
    border-radius: 6px;
    background: #fff;
    transition: background .18s, border-color .18s, box-shadow .18s;
}

.s6-auth .pl-auth-remember input:checked + .checkmark,
.s6-auth .pl-auth-terms input:checked + .checkmark {
    border-color: var(--s6-blue);
    background: var(--s6-blue);
}

.s6-auth .pl-auth-remember input:checked + .checkmark::after,
.s6-auth .pl-auth-terms input:checked + .checkmark::after {
    position: absolute;
    top: 2px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    content: "";
    transform: rotate(45deg);
}

.s6-auth .pl-auth-remember input:focus-visible + .checkmark,
.s6-auth .pl-auth-terms input:focus-visible + .checkmark {
    border-color: var(--s6-blue);
    box-shadow: 0 0 0 4px rgba(9, 103, 242, .18);
}

.s6-auth .pl-auth-forgot {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--s6-blue-deep);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.s6-auth .pl-auth-forgot:hover {
    text-decoration: underline;
}

/* Terms checkbox (invite): left aligned, wraps */
.s6-auth .pl-auth-terms {
    align-items: flex-start;
    margin: 4px 0 16px;
    line-height: 1.45;
    text-align: left;
}

.s6-auth .pl-auth-terms .checkmark {
    margin-top: 0;
}

.s6-auth .pl-auth-terms a {
    color: var(--s6-blue-deep);
    font-weight: 700;
    text-decoration: none;
}

.s6-auth .pl-auth-terms a:hover {
    text-decoration: underline;
}

/* Submit */
.s6-auth .pl-auth-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 52px;
    padding: 14px 20px;
    border: 0;
    border-radius: 12px;
    background: var(--s6-blue);
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: inherit;
    cursor: pointer;
    transition: background .18s, transform .15s;
}

.s6-auth .pl-auth-submit:hover:not(:disabled) {
    background: var(--s6-blue-deep);
}

.s6-auth .pl-auth-submit:active:not(:disabled) {
    transform: translateY(1px);
}

.s6-auth .pl-auth-submit:focus-visible {
    outline: 3px solid rgba(9, 103, 242, .35);
    outline-offset: 2px;
}

.s6-auth .pl-auth-submit:disabled {
    opacity: .65;
    cursor: not-allowed;
}

/* Legal line, cross links */
.s6-auth .pl-auth-legal {
    margin: 18px 0 0;
    color: var(--s6-muted);
    font-size: 12.5px;
    line-height: 1.6;
}

.s6-auth .pl-auth-legal a {
    color: var(--s6-body);
    text-decoration: underline;
}

.s6-auth .pl-auth-legal a:hover {
    color: var(--s6-blue-deep);
}

.s6-auth .pl-auth-alt {
    margin: 14px 0 0;
    color: var(--s6-body);
    font-size: 14.5px;
}

.s6-auth .pl-auth-alt a,
.s6-auth .pl-auth-links a {
    color: var(--s6-blue-deep);
    font-weight: 700;
    text-decoration: none;
}

.s6-auth .pl-auth-alt a:hover,
.s6-auth .pl-auth-links a:hover {
    text-decoration: underline;
}

/* Two links side by side (forgot, reset) */
.s6-auth .pl-auth-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 16px;
    margin-top: 10px;
    font-size: 14.5px;
}

.s6-auth .pl-auth-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

/* Maintenance state (register) */
.s6-auth .pl-auth-maintenance {
    position: relative;
    padding: 72px 0 8px;
    text-align: center;
}

/* Under the card's logo there is no navy band to clear */
.s6-auth .pl-auth-card-logo .pl-auth-maintenance {
    padding-top: 8px;
}

.s6-auth .pl-auth-maintenance-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 16px;
    background: #fff4e0;
}

.s6-auth .pl-auth-maintenance-icon i {
    color: #b26a00;
    font-size: 26px;
}

.s6-auth .pl-auth-maintenance h1 {
    margin: 0 0 10px;
    color: var(--s6-ink);
    font-family: var(--s6-display);
    font-size: 24px;
    font-weight: 900;
}

.s6-auth .pl-auth-maintenance p {
    margin: 0 0 20px;
    color: var(--s6-body);
    font-size: 14.5px;
    line-height: 1.6;
}

/* ==========================================================================
   Page specific: 2FA code, reset password meter
   ========================================================================== */

/* The code field reads as a code */
.s6-auth .pl-auth-field input.pl-2fa-code {
    font-size: 22px;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    letter-spacing: .2em;
    text-align: center;
}

.s6-auth .pl-auth-field input.pl-2fa-code::placeholder {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: normal;
}

/* Password strength meter */
.s6-auth .pl-reset-strength {
    margin-top: 10px;
    text-align: left;
}

.s6-auth .pl-reset-strength-bar {
    width: 100%;
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--s6-haze);
}

.s6-auth .pl-reset-strength-fill {
    width: 0;
    height: 100%;
    border-radius: 999px;
    transition: width .25s ease, background .25s ease;
}

.s6-auth .pl-reset-strength-fill.weak   { width: 25%;  background: var(--s6-stop); }
.s6-auth .pl-reset-strength-fill.fair   { width: 50%;  background: #e8902a; }
.s6-auth .pl-reset-strength-fill.good   { width: 75%;  background: #d4a106; }
.s6-auth .pl-reset-strength-fill.strong { width: 100%; background: var(--s6-go); }

.s6-auth .pl-reset-strength small,
.s6-auth .pl-reset-match {
    display: block;
    margin-top: 6px;
    color: var(--s6-muted);
    font-size: 12.5px;
    text-align: left;
}

.s6-auth .pl-reset-strength small.is-weak   { color: #b4232a; }
.s6-auth .pl-reset-strength small.is-fair   { color: #a35c00; }
.s6-auth .pl-reset-strength small.is-good   { color: #8a6a00; }
.s6-auth .pl-reset-strength small.is-strong { color: #0b7a4d; }

.s6-auth .pl-reset-match.is-ok  { color: #0b7a4d; }
.s6-auth .pl-reset-match.is-bad { color: #b4232a; }

/* Live requirement checklist */
.s6-auth .pl-reset-reqs {
    margin: 0 0 14px;
    padding: 12px 14px;
    border: 1px solid var(--s6-line);
    border-radius: 12px;
    background: var(--s6-haze);
    list-style: none;
    text-align: left;
}

.s6-auth .pl-reset-reqs li {
    color: var(--s6-body);
    font-size: 13px;
    line-height: 1.9;
    transition: color .2s ease;
}

.s6-auth .pl-reset-reqs li i {
    width: 16px;
    margin-inline-end: 6px;
    color: #9aa5b5;
    transition: color .2s ease;
}

.s6-auth .pl-reset-reqs li.met,
.s6-auth .pl-reset-reqs li.met i {
    color: #0b7a4d;
}

/* ==========================================================================
   Phones
   ========================================================================== */

@media (max-width: 480px) {
    .s6-auth .pl-auth-card {
        padding: 32px 22px 26px;
        border-radius: 20px;
    }

    .s6-auth .pl-auth-header h1 {
        font-size: 26px;
    }
}

/* Server messages ($.notify toasts from message()) in the page's face */
.s6-auth [data-notify="container"] {
    font-family: var(--s6-text) !important;
}

@media (prefers-reduced-motion: reduce) {
    .s6-auth .pl-auth-google-btn,
    .s6-auth .pl-auth-apple-btn,
    .s6-auth .pl-auth-submit {
        transition: none;
    }
}
