/* Free sign-up (/signup?plan=free, body.pp-auth) and sign-in (/login, body.pp-auth.pp-login), 2026-10-26: the
   PostNext auth layout (postnextio postnext-auth.css) in Papero's colours. A framed form panel with the logo in its
   corner, one 380px column, 44px fields, and beside it a dark stage with the homepage mock-ups (a slideshow on
   /signup, one still on /login). Loaded after signuppro.css / signin.css, so it wins on specificity plus !important
   where the old rules use it. Buttons keep papero-buttons.css's look: this file sets only their geometry. The eye
   glyphs are Phosphor (MIT), as on postnext.io. */

html:root body.pp-auth {
    --au-ink: #17151d;
    --au-ink-2: #3d3a45;
    --au-ink-3: #66626e;
    --au-line: #e6e4df;
    --au-line-strong: #d3d0c8;
    --au-accent: #6c5ce7;
    --au-danger: #c9372c;
    --au-stage: #17151d;
    background: #fff !important;
    color: var(--au-ink);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif !important;
}

/* signuppro.css styles every p (300 weight, 23px, letter-spacing) and every button (AkkuratStd). Undo the weight
   and spacing for the stage and the cookie card at element weight, so any class rule there (the mock-ups' 600
   labels) still wins. */
:where(body.pp-auth) :where(.signup-slideshow, .pp-consent) p { font-weight: 400; letter-spacing: normal; }

/* ---- Layout: the form panel and the stage sit inside an 8px white frame, both rounded. ---------------------- */
html:root body.pp-auth .flex-screen {
    gap: 8px;
    padding: 8px;
    box-sizing: border-box;
}
html:root body.pp-auth .flex-screen-left {
    position: relative;
    min-width: min(400px, 100%);
    padding: 96px 24px 64px;
    border: 1px solid var(--au-line);
    border-radius: 24px;
    background: #fff !important;
    overflow-y: auto;
    box-sizing: border-box;
    /* Centred while the form fits; on a short window (a phone on its side) it starts at the top and scrolls. */
    align-items: safe center;
}
html:root body.pp-auth .flex-screen-right {
    flex: 0 1 800px;
    min-width: 0;
    border-radius: 24px;
    overflow: hidden;
    background: var(--au-stage);
}
html:root body.pp-auth #signupProContainer.pricing_page.signupfree,
html:root body.pp-auth .container-flex-screen,
html:root body.pp-auth .signupProContainer {
    width: 100% !important;
    padding: 0 !important;
    background: transparent !important;
}
html:root body.pp-auth .freeFormContainer {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    text-align: left;
}

/* Logo, top left of the form panel. */
html:root body.pp-auth .freeFormContainer .logolink,
html:root body.pp-auth.pp-login .pp-login-panel > .logolink {
    position: absolute;
    top: 32px;
    left: 40px;
    margin: 0 !important;
    display: inline-block;
    line-height: 0;
    transition: opacity 150ms ease;
}
html:root body.pp-auth .freeFormContainer .logolink:hover,
html:root body.pp-auth.pp-login .pp-login-panel > .logolink:hover { opacity: .7; }
html:root body.pp-auth .freeFormContainer .logolink::before { display: none !important; }
html:root body.pp-auth .freeFormContainer .logolink img.logo-image,
html:root body.pp-auth.pp-login .pp-login-panel > .logolink img.logo-image {
    display: block;
    width: 120px !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
}

/* Title. */
html:root body.pp-auth .freeFormContainer h1,
html:root body.pp-auth.pp-login .account-container2 h1 {
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    font-family: inherit !important;
    font-size: 28px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.02em !important;
    text-transform: none !important;
    color: var(--au-ink) !important;
}
html:root body.pp-auth #signupSocialContainer,
html:root body.pp-auth.pp-login .authenticateGoogleButton { margin-top: 28px !important; }

/* Google button: full width, 44px. The look is papero-buttons.css's secondary recipe. */
html:root body.pp-auth .authenticateContainer,
html:root body.pp-auth .authenticateContainer > a,
html:root body.pp-auth.pp-login .authenticateGoogleButton,
html:root body.pp-auth.pp-login .authenticateGoogleButton > a {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
html:root body.pp-auth .authenticateContainer > a::before,
html:root body.pp-auth.pp-login .authenticateGoogleButton > a::before { display: none !important; }
html:root body.pp-auth button.button.signinButtonSocial {
    display: block !important;
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    border-radius: 8px !important;
}
html:root body.pp-auth .signinButtonSocialFlex {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    height: auto !important;
}
html:root body.pp-auth .iconGoogle {
    flex: 0 0 18px !important;
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    background-size: 18px 18px !important;
    background-position: center !important;
}
html:root body.pp-auth .signinButtonSocialText {
    flex-grow: 0 !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

/* OR divider (the sign-in page's; the sign-up form has none). */
html:root body.pp-auth .login-actions { margin: 20px 0 !important; padding: 0 !important; }
html:root body.pp-auth .new-divider {
    display: flex !important;
    align-items: center;
    gap: 12px;
    margin: 0 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    letter-spacing: .025em !important;
    color: var(--au-ink-3) !important;
}
html:root body.pp-auth .new-divider::before,
html:root body.pp-auth .new-divider::after {
    content: "" !important;
    position: static !important;
    display: block !important;
    flex: 1 1 0 !important;
    width: auto !important;
    height: 1px !important;
    margin: 0 !important;
    border: 0 !important;
    background: var(--au-line) !important;
}
html:root body.pp-auth .new-divider span {
    flex: 0 0 auto;
    position: static !important;
    padding: 0 !important;
    background: transparent !important;
    color: inherit !important;
}

/* Fields. */
html:root body.pp-auth .authenticateUserPassword,
html:root body.pp-auth form#signupAccountTrial {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
html:root body.pp-auth form#signupAccountTrial { margin-top: 24px !important; }
html:root body.pp-auth form#signupAccountTrial > br { display: none; }
html:root body.pp-auth form#signupAccountTrial .input-container {
    width: 100% !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
}
html:root body.pp-auth form#signupAccountTrial label,
html:root body.pp-auth.pp-login .login-fields label {
    display: block;
    margin: 0 0 6px !important;
    padding: 0 !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    letter-spacing: 0 !important;
    text-shadow: none !important;
    color: var(--au-ink-2) !important;
}
html:root body.pp-auth form#signupAccountTrial input.input-xlarge,
html:root body.pp-auth.pp-login .login-fields input.login {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: normal !important;
    letter-spacing: 0 !important;
    color: var(--au-ink) !important;
    background: #fff !important;
    border: 1px solid var(--au-line) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    box-sizing: border-box;
    transition: border-color 150ms ease, box-shadow 150ms ease !important;
}
html:root body.pp-auth form#signupAccountTrial input.input-xlarge::placeholder,
html:root body.pp-auth.pp-login .login-fields input.login::placeholder {
    color: var(--au-ink-3) !important;
    opacity: 1;
}
html:root body.pp-auth form#signupAccountTrial input.input-xlarge:hover,
html:root body.pp-auth.pp-login .login-fields input.login:hover { border-color: var(--au-line-strong) !important; }
html:root body.pp-auth form#signupAccountTrial input.input-xlarge:focus,
html:root body.pp-auth.pp-login .login-fields input.login:focus {
    border-color: var(--au-accent) !important;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, .18) !important;
    outline: none !important;
}
html:root body.pp-auth form#signupAccountTrial input.redInputBorder,
html:root body.pp-auth.pp-login .login-fields input.redInputBorder { border-color: var(--au-danger) !important; }
html:root body.pp-auth form#signupAccountTrial .input-container .redColor:not(.hide) {
    display: block;
    margin-top: 6px;
    font-family: inherit !important;
    font-size: 12px !important;
    line-height: 1.5;
    border: 0 !important;
    color: var(--au-danger) !important;
}
/* iPhones zoom into any field under 16px. */
@media (pointer: coarse) and (max-width: 767.98px) {
    html:root body.pp-auth form#signupAccountTrial input.input-xlarge,
    html:root body.pp-auth.pp-login .login-fields input.login { font-size: 16px !important; }
}

/* Sign-in password field and its show-password button (44x44 tap target, loginController.js toggles it). */
html:root body.pp-auth .pp-field-input { position: relative; display: block; }
html:root body.pp-auth.pp-login .pp-field-input #pass-tf,
html:root body.pp-auth .pp-field-input #password { padding-right: 44px !important; }
html:root body.pp-auth #togglePassword {
    position: absolute;
    top: 50%;
    right: 0;
    z-index: 2;
    display: block;
    width: 44px !important;
    height: 44px !important;
    min-width: 0 !important;
    margin: -22px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 0 !important;
    line-height: 0 !important;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    /* The legacy .eye-closed class masks the element itself, which would clip the glyph below. */
    -webkit-mask: none !important;
    mask: none !important;
    transform: none !important;
}
html:root body.pp-auth #togglePassword::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--au-ink-3);
    -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20width%3D%22256%22%20height%3D%22256%22%20fill%3D%22currentColor%22%20%3E%3Cpath%20d%3D%22M247.31%2C124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57%2C61.26%2C162.88%2C48%2C128%2C48S61.43%2C61.26%2C36.34%2C86.35C17.51%2C105.18%2C9%2C124%2C8.69%2C124.76a8%2C8%2C0%2C0%2C0%2C0%2C6.5c.35.79%2C8.82%2C19.57%2C27.65%2C38.4C61.43%2C194.74%2C93.12%2C208%2C128%2C208s66.57-13.26%2C91.66-38.34c18.83-18.83%2C27.3-37.61%2C27.65-38.4A8%2C8%2C0%2C0%2C0%2C247.31%2C124.76ZM128%2C192c-30.78%2C0-57.67-11.19-79.93-33.25A133.47%2C133.47%2C0%2C0%2C1%2C25%2C128%2C133.33%2C133.33%2C0%2C0%2C1%2C48.07%2C97.25C70.33%2C75.19%2C97.22%2C64%2C128%2C64s57.67%2C11.19%2C79.93%2C33.25A133.46%2C133.46%2C0%2C0%2C1%2C231.05%2C128C223.84%2C141.46%2C192.43%2C192%2C128%2C192Zm0-112a48%2C48%2C0%2C1%2C0%2C48%2C48A48.05%2C48.05%2C0%2C0%2C0%2C128%2C80Zm0%2C80a32%2C32%2C0%2C1%2C1%2C32-32A32%2C32%2C0%2C0%2C1%2C128%2C160Z%22%2F%3E%3C%2Fsvg%3E") center / 18px 18px no-repeat;
    mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20width%3D%22256%22%20height%3D%22256%22%20fill%3D%22currentColor%22%20%3E%3Cpath%20d%3D%22M247.31%2C124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57%2C61.26%2C162.88%2C48%2C128%2C48S61.43%2C61.26%2C36.34%2C86.35C17.51%2C105.18%2C9%2C124%2C8.69%2C124.76a8%2C8%2C0%2C0%2C0%2C0%2C6.5c.35.79%2C8.82%2C19.57%2C27.65%2C38.4C61.43%2C194.74%2C93.12%2C208%2C128%2C208s66.57-13.26%2C91.66-38.34c18.83-18.83%2C27.3-37.61%2C27.65-38.4A8%2C8%2C0%2C0%2C0%2C247.31%2C124.76ZM128%2C192c-30.78%2C0-57.67-11.19-79.93-33.25A133.47%2C133.47%2C0%2C0%2C1%2C25%2C128%2C133.33%2C133.33%2C0%2C0%2C1%2C48.07%2C97.25C70.33%2C75.19%2C97.22%2C64%2C128%2C64s57.67%2C11.19%2C79.93%2C33.25A133.46%2C133.46%2C0%2C0%2C1%2C231.05%2C128C223.84%2C141.46%2C192.43%2C192%2C128%2C192Zm0-112a48%2C48%2C0%2C1%2C0%2C48%2C48A48.05%2C48.05%2C0%2C0%2C0%2C128%2C80Zm0%2C80a32%2C32%2C0%2C1%2C1%2C32-32A32%2C32%2C0%2C0%2C1%2C128%2C160Z%22%2F%3E%3C%2Fsvg%3E") center / 18px 18px no-repeat;
    transition: background-color 150ms ease;
}
html:root body.pp-auth #togglePassword.eye-closed::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20width%3D%22256%22%20height%3D%22256%22%20fill%3D%22currentColor%22%20%3E%3Cpath%20d%3D%22M53.92%2C34.62A8%2C8%2C0%2C1%2C0%2C42.08%2C45.38L61.32%2C66.55C25%2C88.84%2C9.38%2C123.2%2C8.69%2C124.76a8%2C8%2C0%2C0%2C0%2C0%2C6.5c.35.79%2C8.82%2C19.57%2C27.65%2C38.4C61.43%2C194.74%2C93.12%2C208%2C128%2C208a127.11%2C127.11%2C0%2C0%2C0%2C52.07-10.83l22%2C24.21a8%2C8%2C0%2C1%2C0%2C11.84-10.76Zm47.33%2C75.84%2C41.67%2C45.85a32%2C32%2C0%2C0%2C1-41.67-45.85ZM128%2C192c-30.78%2C0-57.67-11.19-79.93-33.25A133.16%2C133.16%2C0%2C0%2C1%2C25%2C128c4.69-8.79%2C19.66-33.39%2C47.35-49.38l18%2C19.75a48%2C48%2C0%2C0%2C0%2C63.66%2C70l14.73%2C16.2A112%2C112%2C0%2C0%2C1%2C128%2C192Zm6-95.43a8%2C8%2C0%2C0%2C1%2C3-15.72%2C48.16%2C48.16%2C0%2C0%2C1%2C38.77%2C42.64%2C8%2C8%2C0%2C0%2C1-7.22%2C8.71%2C6.39%2C6.39%2C0%2C0%2C1-.75%2C0%2C8%2C8%2C0%2C0%2C1-8-7.26A32.09%2C32.09%2C0%2C0%2C0%2C134%2C96.57Zm113.28%2C34.69c-.42.94-10.55%2C23.37-33.36%2C43.8a8%2C8%2C0%2C1%2C1-10.67-11.92A132.77%2C132.77%2C0%2C0%2C0%2C231.05%2C128a133.15%2C133.15%2C0%2C0%2C0-23.12-30.77C185.67%2C75.19%2C158.78%2C64%2C128%2C64a118.37%2C118.37%2C0%2C0%2C0-19.36%2C1.57A8%2C8%2C0%2C1%2C1%2C106%2C49.79%2C134%2C134%2C0%2C0%2C1%2C128%2C48c34.88%2C0%2C66.57%2C13.26%2C91.66%2C38.35%2C18.83%2C18.83%2C27.3%2C37.62%2C27.65%2C38.41A8%2C8%2C0%2C0%2C1%2C247.31%2C131.26Z%22%2F%3E%3C%2Fsvg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20width%3D%22256%22%20height%3D%22256%22%20fill%3D%22currentColor%22%20%3E%3Cpath%20d%3D%22M53.92%2C34.62A8%2C8%2C0%2C1%2C0%2C42.08%2C45.38L61.32%2C66.55C25%2C88.84%2C9.38%2C123.2%2C8.69%2C124.76a8%2C8%2C0%2C0%2C0%2C0%2C6.5c.35.79%2C8.82%2C19.57%2C27.65%2C38.4C61.43%2C194.74%2C93.12%2C208%2C128%2C208a127.11%2C127.11%2C0%2C0%2C0%2C52.07-10.83l22%2C24.21a8%2C8%2C0%2C1%2C0%2C11.84-10.76Zm47.33%2C75.84%2C41.67%2C45.85a32%2C32%2C0%2C0%2C1-41.67-45.85ZM128%2C192c-30.78%2C0-57.67-11.19-79.93-33.25A133.16%2C133.16%2C0%2C0%2C1%2C25%2C128c4.69-8.79%2C19.66-33.39%2C47.35-49.38l18%2C19.75a48%2C48%2C0%2C0%2C0%2C63.66%2C70l14.73%2C16.2A112%2C112%2C0%2C0%2C1%2C128%2C192Zm6-95.43a8%2C8%2C0%2C0%2C1%2C3-15.72%2C48.16%2C48.16%2C0%2C0%2C1%2C38.77%2C42.64%2C8%2C8%2C0%2C0%2C1-7.22%2C8.71%2C6.39%2C6.39%2C0%2C0%2C1-.75%2C0%2C8%2C8%2C0%2C0%2C1-8-7.26A32.09%2C32.09%2C0%2C0%2C0%2C134%2C96.57Zm113.28%2C34.69c-.42.94-10.55%2C23.37-33.36%2C43.8a8%2C8%2C0%2C1%2C1-10.67-11.92A132.77%2C132.77%2C0%2C0%2C0%2C231.05%2C128a133.15%2C133.15%2C0%2C0%2C0-23.12-30.77C185.67%2C75.19%2C158.78%2C64%2C128%2C64a118.37%2C118.37%2C0%2C0%2C0-19.36%2C1.57A8%2C8%2C0%2C1%2C1%2C106%2C49.79%2C134%2C134%2C0%2C0%2C1%2C128%2C48c34.88%2C0%2C66.57%2C13.26%2C91.66%2C38.35%2C18.83%2C18.83%2C27.3%2C37.62%2C27.65%2C38.41A8%2C8%2C0%2C0%2C1%2C247.31%2C131.26Z%22%2F%3E%3C%2Fsvg%3E");
}
html:root body.pp-auth #togglePassword:hover::before,
html:root body.pp-auth #togglePassword:focus-visible::before { background-color: var(--au-ink); }
html:root body.pp-auth #togglePassword:focus-visible { outline: 2px solid var(--au-accent) !important; outline-offset: -6px !important; }

/* Primary button: full width, 44px, sentence case. The look is papero-buttons.css's primary recipe. */
html:root body.pp-auth form#signupAccountTrial .newbutton { width: 100% !important; margin: 8px 0 0 !important; padding: 0 !important; }
html:root body.pp-auth form#signupAccountTrial .signupButton { width: 100% !important; margin: 0 !important; padding: 0 !important; text-align: center; }
html:root body.pp-auth form#signupAccountTrial button#signup,
html:root body.pp-auth.pp-login .signinButton button#signin {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 20px !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    border-radius: 8px !important;
    text-shadow: none !important;
}
html:root body.pp-auth form#signupAccountTrial button#signup::before,
html:root body.pp-auth form#signupAccountTrial button#signup::after,
html:root body.pp-auth.pp-login .signinButton button#signin::before,
html:root body.pp-auth.pp-login .signinButton button#signin::after { display: none !important; }

/* Sign-in line and legal note under the sign-up form. */
html:root body.pp-auth form#signupAccountTrial .login-container {
    margin: 24px 0 0 !important;
    padding: 0 !important;
    background: transparent !important;
}
html:root body.pp-auth form#signupAccountTrial .login-container .disclaimer {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
}
html:root body.pp-auth .login-container .pageElement {
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: var(--au-ink-3) !important;
}
html:root body.pp-auth .login-container a.underline {
    margin-left: 4px;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--au-ink) !important;
    text-decoration: none !important;
    border-bottom: 0 !important;
}
html:root body.pp-auth .login-container a.underline:hover { text-decoration: underline !important; text-underline-offset: 3px; }
html:root body.pp-auth .login-container a.underline::before { display: none !important; }
html:root body.pp-auth .freeFormContainer .disclaimer3 {
    margin: 8px 0 0 !important;
    padding: 0 !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
    text-align: center !important;
    color: var(--au-ink-3) !important;
}
html:root body.pp-auth .freeFormContainer .disclaimer3 a {
    color: var(--au-ink-2) !important;
    border-bottom: 0 !important;
    text-decoration: underline solid !important;
    text-underline-offset: 2px;
}
html:root body.pp-auth .freeFormContainer .disclaimer3 a::before { display: none !important; }
html:root body.pp-auth .freeFormContainer p.pp-auth-cookies {
    margin: 8px 0 0 !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
    text-align: center !important;
}
html:root body.pp-auth .freeFormContainer p.pp-auth-cookies a {
    color: var(--au-ink-2) !important;
    border-bottom: 0 !important;
    text-decoration: underline solid !important;
    text-underline-offset: 2px;
}
html:root body.pp-auth .freeFormContainer p.pp-auth-cookies a::before { display: none !important; }
html:root body.pp-auth .freeFormContainer > br,
html:root body.pp-auth form#signupAccountTrial .newbutton > br { display: none; }

/* ---- The stage: the homepage mock-ups on ink (common/frontend_auth_slides.pug) ------------------------------ */
html:root body.pp-auth .signup-slideshow {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    height: 100%;
    padding: 24px;
    box-sizing: border-box;
    background: var(--au-stage);
}
html:root body.pp-auth .signup-slideshow-slides {
    position: relative;
    flex: 1;
    min-height: 0;
    border-radius: 16px;
    overflow: hidden;
    background: radial-gradient(120% 80% at 80% 0%, rgba(108, 92, 231, .42) 0%, rgba(108, 92, 231, 0) 60%), #221f2b;
}
html:root body.pp-auth .signup-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 500ms ease, visibility 0s linear 500ms;
}
html:root body.pp-auth .signup-slide.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 500ms ease, visibility 0s;
}
/* The mock-up, centred in the space above the caption; a tall one fades out at the bottom edge. */
html:root body.pp-auth .signup-slide-media {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 40px 8px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 32px), transparent);
    mask-image: linear-gradient(to bottom, #000 calc(100% - 32px), transparent);
}
html:root body.pp-auth .signup-slide-media .pp-app {
    width: 100%;
    max-width: 480px;
    margin: auto 0;
    flex: 0 0 auto;
    text-align: left;
    border-color: transparent;
    box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .7);
}
html:root body.pp-auth .signup-slide-overlay {
    flex: 0 0 auto;
    padding: 8px 28px 28px;
}
html:root body.pp-auth .signup-slide-info h3,
html:root body.pp-auth .signup-slide-info .signup-slide-title {
    display: block;
    margin: 0 0 12px;
    font-family: inherit;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-transform: none;
    color: #fff;
}
html:root body.pp-auth .signup-slide-points {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}
html:root body.pp-auth .signup-slide-points li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    max-width: 520px;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .78);
}
html:root body.pp-auth .signup-slide-points li::before {
    content: "";
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4abff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / contain no-repeat;
}

/* Tabs under the slides: a label and a 5-second progress bar each (signupFree.js advances them). */
html:root body.pp-auth .signup-slideshow-tabs {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}
html:root body.pp-auth button.signup-slideshow-tab {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    font-family: inherit;
    margin: 0;
    padding: 10px 0 6px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-align: left;
    cursor: pointer;
}
html:root body.pp-auth button.signup-slideshow-tab:hover,
html:root body.pp-auth button.signup-slideshow-tab:focus { background: transparent; }
html:root body.pp-auth button.signup-slideshow-tab:focus-visible { outline: 2px solid #b4abff; outline-offset: 2px; border-radius: 4px; }
html:root body.pp-auth .signup-slideshow-tab-label {
    margin-bottom: 8px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0;
    color: rgba(255, 255, 255, .5);
    transition: color 300ms ease;
}
html:root body.pp-auth button.signup-slideshow-tab:hover .signup-slideshow-tab-label { color: rgba(255, 255, 255, .78); }
html:root body.pp-auth button.signup-slideshow-tab.active .signup-slideshow-tab-label { color: #fff; }
html:root body.pp-auth .signup-slideshow-tab-progress {
    height: 2px;
    overflow: hidden;
    border-radius: 2px;
    background: rgba(255, 255, 255, .12);
}
html:root body.pp-auth .signup-slideshow-tab-progress-bar {
    width: 0;
    height: 100%;
    border-radius: 2px;
    background: rgba(255, 255, 255, .7);
}
html:root body.pp-auth button.signup-slideshow-tab.active .signup-slideshow-tab-progress-bar {
    animation: ppSlideProgress 5s linear forwards;
}
/* Held (pointer, focus or the form): the bar waits with the timer. Stopped (a tab was picked): no bar. */
html:root body.pp-auth .signup-slideshow.is-paused button.signup-slideshow-tab.active .signup-slideshow-tab-progress-bar { animation-play-state: paused; }
html:root body.pp-auth .signup-slideshow.is-stopped button.signup-slideshow-tab.active .signup-slideshow-tab-progress-bar { animation: none; width: 100%; }
@keyframes ppSlideProgress {
    from { width: 0; }
    to { width: 100%; }
}
/* The support chat button (fixed, bottom right, 60px) sits over the last tab otherwise. */
html:root body.pp-auth .flex-screen-right .signup-slideshow-tabs { padding-right: 64px; }
@media (max-width: 1199.98px) {
    html:root body.pp-auth .signup-slideshow-tab-label { font-size: 11.5px; white-space: normal; text-overflow: clip; }
    html:root body.pp-auth .signup-slide-media { padding: 32px 28px 8px; }
}

/* Phones: no frame and no stage, the logo in the flow, and room under the form for the reCAPTCHA badge. */
@media (max-width: 767.98px) {
    html:root body.pp-auth { padding-left: 0 !important; padding-right: 0 !important; }
    html:root body.pp-auth .flex-screen { padding: 0; height: auto !important; min-height: 100vh; }
    html:root body.pp-auth .flex-screen-left {
        align-items: flex-start !important;
        padding: 24px 20px 96px;
        border: 0;
        border-radius: 0;
    }
    html:root body.pp-auth .flex-screen-right { display: none; }
    html:root body.pp-auth .freeFormContainer .logolink { position: static; margin: 0 0 40px !important; }
    html:root body.pp-auth .freeFormContainer h1 { font-size: 26px !important; }
}

/* ---- Sign-in (/login) --------------------------------------------------------------------------------------
   The same frame as /signup: the form panel, and from 768px one still of the stage beside it. signin.css still
   loads for the modals; the rules below undo its floating card, the fixed legal bar and the logo strip. */
html:root body.pp-auth.pp-login .pp-login-screen {
    display: flex;
    gap: 8px;
    min-height: 100vh;
    padding: 8px;
    box-sizing: border-box;
}
html:root body.pp-auth.pp-login .pp-login-panel {
    position: relative;
    flex: 1 1 0;
    min-width: min(400px, 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 96px 24px;
    border: 1px solid var(--au-line);
    border-radius: 24px;
    background: #fff;
    box-sizing: border-box;
}
html:root body.pp-auth.pp-login .account-container2 {
    position: relative;
    top: auto;
    left: auto;
    float: none;
    width: 100%;
    max-width: 380px;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
    transform: none;
    text-align: left;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}
html:root body.pp-auth.pp-login .account-container2 .spinnerContainer {
    position: static;
    padding: 120px 0;
    transform: none;
}
html:root body.pp-auth.pp-login .account-container2 .content { padding: 0; }
html:root body.pp-auth.pp-login .login-fields .field { margin: 0 0 16px; }
html:root body.pp-auth.pp-login .login-fields .field.margin-top12 { margin-top: 0 !important; }
html:root body.pp-auth.pp-login span.login-forgot {
    display: block;
    float: none;
    margin: -4px 0 20px;
    text-align: right;
}
html:root body.pp-auth.pp-login span.login-forgot a.small {
    font-size: 13px;
    font-weight: 500;
    color: var(--au-ink);
    border-radius: 4px;
}
html:root body.pp-auth.pp-login span.login-forgot a.small:hover,
html:root body.pp-auth.pp-login .pp-login-signup a:hover .needAccountLink {
    text-decoration: underline;
    text-underline-offset: 3px;
}
html:root body.pp-auth.pp-login .signinButton { margin: 0; }
html:root body.pp-auth.pp-login .pp-login-signup {
    margin: 24px 0 0;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}
html:root body.pp-auth.pp-login .pp-login-signup a { text-decoration: none; }
html:root body.pp-auth.pp-login .pp-login-signup .needAccountText {
    margin: 0 4px 0 0;
    font-size: 13px;
    color: var(--au-ink-3);
}
html:root body.pp-auth.pp-login .pp-login-signup .needAccountLink {
    font-weight: 600;
    color: var(--au-ink);
}

/* /login?error=account-exists (2026-11-05): an account already holds this address or its inbox. */
html:root body.pp-auth.pp-login .pp-login-notice {
    margin: 16px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--au-danger);
}

/* /reset-password (body.pp-reset): the sign-in panel around the set-password form. */
html:root body.pp-auth.pp-reset #set-password-form { margin: 0; }
html:root body.pp-auth.pp-reset #set-password-form .login-actions { margin: 0 !important; padding: 0 !important; }
html:root body.pp-auth.pp-reset #set-password-form .login-actions .alert { margin: 16px 0 0; }
html:root body.pp-auth.pp-reset #set-password-form .login-fields { margin: 28px 0 0; }
html:root body.pp-auth.pp-reset #set-password-form .login-actions:last-child { margin: 8px 0 0 !important; }
html:root body.pp-auth.pp-reset #set-password-form button#submit {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-height: 44px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 20px !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    border-radius: 8px !important;
    text-shadow: none !important;
}
html:root body.pp-auth.pp-reset .pp-reset-links {
    margin: 24px 0 0;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
    color: var(--au-ink-3);
}
html:root body.pp-auth.pp-reset .pp-reset-links a {
    margin-left: 4px;
    font-weight: 600;
    color: var(--au-ink);
    text-decoration: none;
}
html:root body.pp-auth.pp-reset .pp-reset-links a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Legal line at the foot of the panel (signin.css fixed it to the window). */
html:root body.pp-auth.pp-login #footer-sign-in {
    position: absolute;
    right: 0;
    bottom: 24px;
    left: 0;
    width: auto;
    margin: 0;
    padding: 0 24px;
    overflow: visible;
    transform: none;
    font-size: 12px;
    line-height: 1.6;
    color: var(--au-ink-3);
    text-align: center;
    background: transparent;
}
html:root body.pp-auth.pp-login #footer-sign-in a {
    margin-left: 16px;
    padding: 0;
    color: var(--au-ink-3);
}
html:root body.pp-auth.pp-login #footer-sign-in a:hover { color: var(--au-ink) !important; }

/* The still: one slide of the sign-up stage, no tabs and no script. */
html:root body.pp-auth.pp-login .pp-login-media {
    flex: 0 1 800px;
    min-width: 0;
    display: flex;
    border-radius: 24px;
    overflow: hidden;
}
html:root body.pp-auth.pp-login .pp-login-media .signup-slideshow-slides { min-height: 520px; }

/* Phones: no frame and no still, the logo in the flow, and the legal line under the form with 44px link targets. */
@media (max-width: 767.98px) {
    html:root body.pp-auth.pp-login .pp-login-screen { padding: 0; }
    html:root body.pp-auth.pp-login .pp-login-panel {
        justify-content: flex-start;
        padding: 24px 20px 16px;
        border: 0;
        border-radius: 0;
    }
    html:root body.pp-auth.pp-login .pp-login-panel > .logolink { position: static; align-self: flex-start; margin: 0 0 40px !important; }
    html:root body.pp-auth.pp-login .account-container2 h1 { font-size: 26px !important; }
    html:root body.pp-auth.pp-login #footer-sign-in {
        position: static;
        margin: 40px 0 0;
        padding: 0;
        line-height: 2;
    }
    html:root body.pp-auth.pp-login #footer-sign-in a {
        display: inline-block;
        margin: 0;
        padding: 0 12px;
        line-height: 44px;
    }
    html:root body.pp-auth.pp-login .pp-login-media { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html:root body.pp-auth .signup-slide,
    html:root body.pp-auth .signup-slide.active,
    html:root body.pp-auth #togglePassword::before { transition: none; }
    html:root body.pp-auth button.signup-slideshow-tab.active .signup-slideshow-tab-progress-bar { animation: none; width: 100%; }
}
