/* Free sign-up (/signup?plan=free, body.pn-auth) and sign-in (/login, body.pn-auth.pn-login): the
   DesignerBox v4 auth form, in PostNext's colours. One 380px column under the wordmark, 44px controls
   with 10px corners, an ink primary button that turns brand lime on hover, and a show-password button.
   Loaded by frontend_signup_free.pug (after signuppro.css) and frontend_login.pug (after signin.css),
   so it wins on specificity plus !important where the old rules use it. The two eye glyphs are
   Phosphor (MIT), as on designerbox.ai. */

html:root body.pn-auth {
    --au-ink: #1b1b1b;
    --au-ink-2: #3d3d3c;
    --au-ink-3: #6f6d6a;
    --au-line: #e6e4e1;
    --au-line-strong: #d7d4cf;
    --au-accent: #5d5fef;
    --au-lime: #81ff3c;
    --au-danger: #c9372c;
    background: #fff !important;
    color: var(--au-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif !important;
}

/* Layout: the form panel and the slideshow sit inside an 8px white frame, both rounded. */
html:root body.pn-auth .flex-screen {
    gap: 8px;
    padding: 8px;
    box-sizing: border-box;
}
html:root body.pn-auth .flex-screen-left {
    position: relative;
    padding: 96px 24px 64px;
    border: 1px solid var(--au-line);
    border-radius: 24px;
    background: #fff !important;
    overflow-y: auto;
    box-sizing: border-box;
}
html:root body.pn-auth .flex-screen-right {
    border-radius: 24px;
    overflow: hidden;
}
/* Five slideshow tabs: on a narrow panel a long label (ru "ПЛАНИРОВАНИЕ") ran into the next one and
   "Link in bio" broke onto two lines. One line each, smaller under 1200px, an ellipsis as a last resort. */
html:root body.pn-auth .signup-slideshow-tab { min-width: 0; }
html:root body.pn-auth .signup-slideshow-tab-label {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
@media (max-width: 1199.98px) {
    html:root body.pn-auth .signup-slideshow-tab-label { font-size: 11px; letter-spacing: 0; }
}
html:root body.pn-auth #signupProContainer.pricing_page.signupfree,
html:root body.pn-auth .container-flex-screen,
html:root body.pn-auth .signupProContainer {
    width: 100% !important;
    padding: 0 !important;
    background: transparent !important;
}
html:root body.pn-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;
}

/* Wordmark, top left of the form panel. */
html:root body.pn-auth .freeFormContainer .logolink,
html:root body.pn-auth.pn-login .pn-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.pn-auth .freeFormContainer .logolink:hover,
html:root body.pn-auth.pn-login .pn-login-panel > .logolink:hover { opacity: .7; }
html:root body.pn-auth .freeFormContainer .logolink::before { display: none !important; }
html:root body.pn-auth .freeFormContainer .logolink img.auth-logo,
html:root body.pn-auth.pn-login .pn-login-panel > .logolink img.auth-logo {
    display: block;
    width: 132px !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
}

/* Title and subtitle. */
html:root body.pn-auth .freeFormContainer h1.auth-title,
html:root body.pn-auth.pn-login .account-container2 h1.auth-title {
    margin: 0 0 8px !important;
    padding: 0 !important;
    text-align: left !important;
    font-size: 28px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.02em !important;
    color: var(--au-ink) !important;
}
html:root body.pn-auth .freeFormContainer .auth-sub,
html:root body.pn-auth.pn-login .account-container2 .auth-sub {
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 22px !important;
    color: var(--au-ink-3) !important;
    text-align: left !important;
    text-wrap: pretty;
}
html:root body.pn-auth .freeFormContainer .auth-sub--price {
    margin-top: 4px !important;
    color: var(--au-ink-2) !important;
    font-weight: 500 !important;
}
html:root body.pn-auth #signupSocialContainer,
html:root body.pn-auth.pn-login .authenticateGoogleButton.authenticateContainer { margin-top: 28px !important; }

/* Google button. */
html:root body.pn-auth .authenticateContainer,
html:root body.pn-auth .authenticateContainer > a {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
html:root body.pn-auth .authenticateContainer > a::before { display: none !important; }
html:root body.pn-auth button.button.signinButtonSocial {
    display: block !important;
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    background: #fff !important;
    border: 1px solid var(--au-line) !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    transition: border-color 150ms ease, background-color 150ms ease !important;
}
html:root body.pn-auth button.button.signinButtonSocial:hover {
    background: #f6f5f4 !important;
    border-color: var(--au-line-strong) !important;
}
html:root body.pn-auth .signinButtonSocialFlex {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    height: auto !important;
}
html:root body.pn-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.pn-auth .signinButtonSocialText {
    flex-grow: 0 !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--au-ink) !important;
}

/* OR divider. */
html:root body.pn-auth .login-actions { margin: 20px 0 !important; padding: 0 !important; }
html:root body.pn-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.pn-auth .new-divider::before,
html:root body.pn-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.pn-auth .new-divider span {
    flex: 0 0 auto;
    position: static !important;
    padding: 0 !important;
    background: transparent !important;
    color: inherit !important;
}

/* Fields. */
html:root body.pn-auth .authenticateUserPassword,
html:root body.pn-auth form#signupAccountTrial {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
html:root body.pn-auth form#signupAccountTrial .input-container {
    width: 100% !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
}
html:root body.pn-auth form#signupAccountTrial label,
html:root body.pn-auth.pn-login .login-fields label {
    display: block;
    margin: 0 0 6px !important;
    padding: 0 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    letter-spacing: 0 !important;
    color: var(--au-ink-2) !important;
}
html:root body.pn-auth form#signupAccountTrial input.input-xlarge,
html:root body.pn-auth.pn-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;
    letter-spacing: 0 !important;
    color: var(--au-ink) !important;
    background: #fff !important;
    border: 1px solid var(--au-line) !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    box-sizing: border-box;
    transition: border-color 150ms ease, box-shadow 150ms ease !important;
}
html:root body.pn-auth form#signupAccountTrial input.input-xlarge::placeholder,
html:root body.pn-auth.pn-login .login-fields input.login::placeholder {
    color: var(--au-ink-3) !important;
    opacity: 1;
}
html:root body.pn-auth form#signupAccountTrial input.input-xlarge:hover,
html:root body.pn-auth.pn-login .login-fields input.login:hover { border-color: var(--au-line-strong) !important; }
html:root body.pn-auth form#signupAccountTrial input.input-xlarge:focus,
html:root body.pn-auth.pn-login .login-fields input.login:focus {
    border-color: var(--au-accent) !important;
    box-shadow: 0 0 0 3px rgba(93, 95, 239, .18) !important;
    outline: none !important;
}
html:root body.pn-auth form#signupAccountTrial input.redInputBorder,
html:root body.pn-auth.pn-login .login-fields input.redInputBorder { border-color: var(--au-danger) !important; }
html:root body.pn-auth form#signupAccountTrial .input-container .redColor:not(.hide) {
    display: block;
    margin-top: 6px;
    font-size: 12px !important;
    line-height: 1.5;
    color: var(--au-danger) !important;
}
/* iPhones zoom into any field under 16px. */
@media (pointer: coarse) and (max-width: 767.98px) {
    html:root body.pn-auth form#signupAccountTrial input.input-xlarge,
    html:root body.pn-auth.pn-login .login-fields input.login { font-size: 16px !important; }
}

/* Password field and its show-password button (44x44 tap target). */
html:root body.pn-auth .pn-field-input { position: relative; display: block; }
html:root body.pn-auth .pn-field-input #password,
html:root body.pn-auth.pn-login .pn-field-input #pass-tf { padding-right: 44px !important; }
html:root body.pn-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: 10px !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.pn-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.pn-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.pn-auth #togglePassword:hover::before,
html:root body.pn-auth #togglePassword:focus-visible::before { background-color: var(--au-ink); }
html:root body.pn-auth #togglePassword:focus-visible { outline: 2px solid var(--au-ink) !important; outline-offset: -6px !important; }

/* Primary button: ink, sentence case, lime on hover (the site's CTA pattern). */
html:root body.pn-auth form#signupAccountTrial .newbutton { width: 100% !important; margin: 8px 0 0 !important; padding: 0 !important; }
html:root body.pn-auth form#signupAccountTrial .signupButton { width: 100% !important; margin: 0 !important; padding: 0 !important; text-align: center; }
html:root body.pn-auth form#signupAccountTrial button#signup,
html:root body.pn-auth.pn-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;
    color: #fff !important;
    background: var(--au-ink) !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    text-shadow: none !important;
    transform: none !important;
    cursor: pointer;
    transition: background-color 150ms ease, color 150ms ease !important;
}
html:root body.pn-auth form#signupAccountTrial button#signup::before,
html:root body.pn-auth form#signupAccountTrial button#signup::after,
html:root body.pn-auth.pn-login .signinButton button#signin::before,
html:root body.pn-auth.pn-login .signinButton button#signin::after { display: none !important; }
html:root body.pn-auth form#signupAccountTrial button#signup:hover,
html:root body.pn-auth.pn-login .signinButton button#signin:hover {
    background: var(--au-lime) !important;
    color: #0d0d1f !important;
}
html:root body.pn-auth form#signupAccountTrial button#signup:active,
html:root body.pn-auth.pn-login .signinButton button#signin:active { transform: scale(.98) !important; }
html:root body.pn-auth form#signupAccountTrial button#signup:focus-visible,
html:root body.pn-auth.pn-login .signinButton button#signin:focus-visible { outline: 2px solid var(--au-ink) !important; outline-offset: 2px !important; }

/* Sign-in line and legal note. */
html:root body.pn-auth form#signupAccountTrial .login-container {
    margin: 24px 0 0 !important;
    padding: 0 !important;
    background: transparent !important;
}
html:root body.pn-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.pn-auth .login-container .pageElement {
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: var(--au-ink-3) !important;
}
html:root body.pn-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.pn-auth .login-container a.underline:hover { text-decoration: underline !important; text-underline-offset: 3px; }
html:root body.pn-auth .login-container a.underline::before { display: none !important; }
html:root body.pn-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.pn-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.pn-auth .freeFormContainer .disclaimer3 a::before { display: none !important; }
html:root body.pn-auth .freeFormContainer > br { display: none; }

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

/* ---- Sign-in (/login) ------------------------------------------------------------------------
   The same frame as /signup: the form panel, and from 768px one of its pictures beside it
   (signup's 800px media column). signin.css still loads for the modals; the rules below undo its
   floating 540px card, the fixed legal bar and the green button. */
html:root body.pn-auth.pn-login .pn-login-screen {
    display: flex;
    gap: 8px;
    min-height: 100vh;
    padding: 8px;
    box-sizing: border-box;
}
html:root body.pn-auth.pn-login .pn-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.pn-auth.pn-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.pn-auth.pn-login .account-container2 .spinnerContainer {
    position: static;
    padding: 120px 0;
    transform: none;
}
html:root body.pn-auth.pn-login .account-container2 .content { padding: 0; }
html:root body.pn-auth.pn-login .login-fields .field { margin: 0 0 16px; }
html:root body.pn-auth.pn-login .login-fields .field.margin-top12 { margin-top: 0 !important; }
html:root body.pn-auth.pn-login .login-fields input.login { line-height: normal; }
html:root body.pn-auth.pn-login span.login-forgot {
    display: block;
    float: none;
    margin: -4px 0 20px;
    text-align: right;
}
html:root body.pn-auth.pn-login span.login-forgot a.small {
    font-size: 13px;
    font-weight: 500;
    color: var(--au-ink);
    border-radius: 4px;
}
html:root body.pn-auth.pn-login span.login-forgot a.small:hover,
html:root body.pn-auth.pn-login .pn-login-signup a:hover .needAccountLink {
    text-decoration: underline;
    text-underline-offset: 3px;
}
html:root body.pn-auth.pn-login .signinButton { margin: 0; }
html:root body.pn-auth.pn-login .pn-login-signup {
    margin: 24px 0 0;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}
html:root body.pn-auth.pn-login .pn-login-signup a { text-decoration: none; }
html:root body.pn-auth.pn-login .pn-login-signup .needAccountText {
    margin: 0 4px 0 0;
    font-size: 13px;
    color: var(--au-ink-3);
}
html:root body.pn-auth.pn-login .pn-login-signup .needAccountLink {
    font-weight: 600;
    color: var(--au-ink);
}
html:root body.pn-auth.pn-login #verify-notice.verify-notice:not(.hidden) { margin: 0 0 20px; }

/* Legal line at the foot of the panel (signin.css fixed it to the window). */
html:root body.pn-auth.pn-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;
}
html:root body.pn-auth.pn-login #footer-sign-in a {
    margin-left: 16px;
    padding: 0;
    color: var(--au-ink-3);
}
html:root body.pn-auth.pn-login #footer-sign-in a:hover { color: var(--au-ink) !important; }

/* The picture: signup's Mini Site slide, still (the slideshow and its script stay on /signup). */
html:root body.pn-auth.pn-login .pn-login-media {
    flex: 0 1 800px;
    min-width: 0;
    display: flex;
    padding: 24px;
    border-radius: 24px;
    background: #0a0a0f;
    box-sizing: border-box;
}
html:root body.pn-auth.pn-login .pn-login-shot {
    position: relative;
    flex: 1;
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
}
html:root body.pn-auth.pn-login .pn-login-shot img {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
}
html:root body.pn-auth.pn-login .pn-login-shot::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .4) 40%, transparent 70%);
}
html:root body.pn-auth.pn-login .pn-login-shot figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 28px;
}
html:root body.pn-auth.pn-login .pn-login-shot__title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff;
}
html:root body.pn-auth.pn-login .pn-login-shot__text {
    max-width: 460px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .75);
}

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

@media (prefers-reduced-motion: reduce) {
    html:root body.pn-auth form#signupAccountTrial button#signup,
    html:root body.pn-auth.pn-login .signinButton button#signin,
    html:root body.pn-auth #togglePassword::before { transition: none !important; }
    html:root body.pn-auth form#signupAccountTrial button#signup:active,
    html:root body.pn-auth.pn-login .signinButton button#signin:active { transform: none !important; }
}
