/* Register — split-shell overrides after auth.css form primitives. */
body.customer-ui-new.customer-login-new .customer-auth-shell.customer-auth-shell--balanced {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.customer-ui-new.customer-login-new .customer-auth-shell.customer-auth-shell--balanced .customer-auth-content,
body.customer-ui-new.customer-login-new .customer-auth-shell.customer-auth-shell--balanced .customer-auth-footer {
    width: 100%;
    max-width: none;
    margin-inline: 0;
}

body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register {
    overflow: hidden;
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    background: var(--new-bg-root);
}

body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register .customer-auth-shell {
    height: 100%;
    max-height: 100dvh;
    min-height: 0;
    overflow: hidden;
}

body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register .customer-auth-panel {
    min-height: 0;
    max-height: 100dvh;
    height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register .customer-auth-card.new-auth-card--register {
    margin-block-start: 0;
    padding: 26px 28px 24px;
}

body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register .customer-auth-card-header {
    margin-block-end: 12px;
}

body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register .new-auth-recovery-copy {
    margin: 0 0 18px;
    color: var(--new-text-2);
    font-size: 14px;
    line-height: 1.55;
}

body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register .customer-auth-submit {
    grid-column: 1 / -1;
    margin-top: 2px;
}

body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register .customer-auth-register {
    margin-top: 20px;
}

/* Inset fields — icons inside the input shell like login customer-auth-input */
body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register #registerForm .new-field:not(.pemm-password-field),
body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register #registerForm .new-company-fields .new-field {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 14px;
    margin: 0;
    color: var(--new-text-3);
    background: rgba(3, 10, 20, .84);
    border: 1px solid var(--new-border-strong);
    border-radius: var(--new-radius-md);
    transition: border-color var(--new-duration-hover) ease, background var(--new-duration-hover) ease;
}

body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register #registerForm .new-field:not(.pemm-password-field):focus-within,
body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register #registerForm .new-company-fields .new-field:focus-within {
    color: var(--new-blue-bright);
    background: var(--new-surface-1);
    border-color: var(--new-blue-bright);
}

body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register #registerForm .new-field.new-field-textarea {
    align-items: start;
    min-height: auto;
    padding-block: 12px;
}

body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register #registerForm .new-field-icon {
    position: static;
    display: inline-flex;
    grid-column: 1;
    grid-row: 1;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    transform: none;
    inset: auto;
    color: inherit;
    pointer-events: none;
}

body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register #registerForm .new-field.new-field-textarea .new-field-icon {
    margin-top: 2px;
}

body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register #registerForm .new-field:not(.pemm-password-field) input,
body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register #registerForm .new-field:not(.pemm-password-field) select,
body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register #registerForm .new-field:not(.pemm-password-field) textarea,
body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register #registerForm .new-company-fields .new-field input {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 0;
    margin: 0;
    color: var(--new-text-1);
    font-weight: 600;
    background: transparent;
    border: 0;
    border-radius: var(--new-radius-sm);
    outline: 0;
    box-shadow: none;
}

body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register #registerForm .new-field textarea {
    min-height: 70px;
    padding-block: 4px;
    resize: vertical;
}

body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register #registerForm .new-field .iti {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    min-width: 0;
}

body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register #registerForm .new-field .iti input,
body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register #registerForm .new-field .iti .iti__tel-input {
    width: 100%;
    min-height: 52px;
    padding: 0;
    color: var(--new-text-1);
    background: transparent;
    border: 0;
    outline: 0;
    box-shadow: none;
}

body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register #registerForm .new-field input[type='hidden'] {
    display: none;
}

body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register #registerForm .pemm-password-field.new-field {
    display: block;
    min-height: auto;
    min-width: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}

body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register #registerForm .pemm-password-input-wrap {
    position: relative;
    display: grid;
    width: 100%;
    min-width: 0;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 6px 0 14px;
    color: var(--new-text-3);
    background: rgba(3, 10, 20, .84);
    border: 1px solid var(--new-border-strong);
    border-radius: var(--new-radius-md);
    transition: border-color var(--new-duration-hover) ease, background var(--new-duration-hover) ease;
}

body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register #registerForm .pemm-password-input-wrap::before {
    content: '';
    display: block;
    width: 19px;
    height: 19px;
    grid-column: 1;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register #registerForm .pemm-password-input-wrap:focus-within {
    color: var(--new-blue-bright);
    background: var(--new-surface-1);
    border-color: var(--new-blue-bright);
}

body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register #registerForm .pemm-password-input-wrap .pemm-password-input {
    grid-column: 2;
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 0;
    color: var(--new-text-1);
    font-weight: 600;
    background: transparent;
    border: 0;
    box-shadow: none;
}

body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register #registerForm .pemm-password-toggle {
    position: static;
    grid-column: 3;
    display: grid;
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    place-items: center;
    color: var(--new-text-3);
    background: transparent;
    border: 0;
    border-radius: var(--new-radius-sm);
    transform: none;
    cursor: pointer;
}

body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register #registerForm .pemm-password-toggle:hover,
body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register #registerForm .pemm-password-toggle:focus-visible {
    color: var(--new-blue-bright);
    background: transparent;
    outline: 0;
}

body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register #registerForm .pemm-password-strength,
body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register #registerForm .pemm-password-match {
    grid-column: 1 / -1;
}

html[data-theme='light'] body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register #registerForm .new-field:not(.pemm-password-field),
html[data-theme='light'] body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register #registerForm .new-company-fields .new-field,
html[data-theme='light'] body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register #registerForm .pemm-password-input-wrap {
    background: rgba(255, 255, 255, .92);
    border-color: rgba(15, 35, 58, .14);
}

html[data-theme='light'] body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register #registerForm .new-field:not(.pemm-password-field):focus-within,
html[data-theme='light'] body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register #registerForm .new-company-fields .new-field:focus-within,
html[data-theme='light'] body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register #registerForm .pemm-password-input-wrap:focus-within {
    background: #fff;
    border-color: var(--new-blue);
}

/* Register form — remap auth.css dark tokens for light mode */
html[data-theme='light'] body.customer-ui-new.customer-login-new.new-auth.new-auth-v2 {
    color-scheme: light;
    color: var(--new-text-1);
    --new-auth-bg: var(--new-bg-main);
    --new-auth-panel: var(--new-surface-1);
    --new-auth-surface: var(--new-surface-overlay);
    --new-auth-surface-2: var(--new-surface-2);
    --new-auth-border: var(--new-border);
    --new-auth-border-strong: var(--new-border-strong);
    --new-auth-text: var(--new-text-1);
    --new-auth-text-2: var(--new-text-2);
    --new-auth-text-3: var(--new-text-3);
    --new-auth-blue-soft: rgba(var(--portal-primary-rgb), 0.12);
}

html[data-theme='light'] body.customer-ui-new.customer-login-new.new-auth.new-auth-v2 #registerForm .new-auth-type {
    background: rgba(239, 245, 252, 0.92);
    border-color: var(--new-border-strong);
}

html[data-theme='light'] body.customer-ui-new.customer-login-new.new-auth.new-auth-v2 #registerForm .new-auth-type-btn {
    color: var(--new-text-3);
}

html[data-theme='light'] body.customer-ui-new.customer-login-new.new-auth.new-auth-v2 #registerForm .new-auth-type-btn:hover {
    color: var(--new-text-2);
    background: var(--new-surface-3);
}

html[data-theme='light'] body.customer-ui-new.customer-login-new.new-auth.new-auth-v2 #registerForm .new-auth-type-btn.active,
html[data-theme='light'] body.customer-ui-new.customer-login-new.new-auth.new-auth-v2 #registerForm .new-auth-type-btn[aria-pressed='true'] {
    color: #fff;
    background: var(--new-blue);
    border-color: rgba(var(--portal-primary-rgb), 0.45);
    box-shadow: 0 4px 14px rgba(var(--portal-primary-rgb), 0.18);
}

html[data-theme='light'] body.customer-ui-new.customer-login-new.new-auth.new-auth-v2 #registerForm .pemm-password-strength-track {
    background: var(--new-border);
}

html[data-theme='light'] body.customer-ui-new.customer-login-new.new-auth.new-auth-v2 #registerForm .pemm-password-rules li {
    color: var(--new-text-3);
}

html[data-theme='light'] body.customer-ui-new.customer-login-new.new-auth.new-auth-v2 #registerForm .pemm-password-rules li::before {
    border-color: var(--new-border-strong);
    background: transparent;
}

html[data-theme='light'] body.customer-ui-new.customer-login-new.new-auth.new-auth-v2 #registerForm .new-auth-form-section-title {
    color: var(--new-text-1);
    border-block-end-color: var(--new-border);
}

html[data-theme='light'] body.customer-ui-new.customer-login-new.new-auth.new-auth-v2 #registerForm .new-auth-check-label,
html[data-theme='light'] body.customer-ui-new.customer-login-new.new-auth.new-auth-v2 #registerForm .new-auth-check-label a {
    color: var(--new-text-2);
}

html[data-theme='light'] body.customer-ui-new.customer-login-new.new-auth.new-auth-v2 .new-auth-recovery-copy {
    color: var(--new-text-2);
}

@media (max-width: 1100px) {
    body.customer-ui-new.customer-login-new .customer-auth-shell.customer-auth-shell--balanced {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register {
        overflow: auto;
        height: auto;
        max-height: none;
    }

    body.customer-ui-new.customer-login-new .customer-auth-shell.customer-auth-shell--balanced .customer-auth-content,
    body.customer-ui-new.customer-login-new .customer-auth-shell.customer-auth-shell--balanced .customer-auth-footer {
        width: 100%;
        max-width: none;
        margin-inline: 0;
    }

    body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register .customer-auth-shell {
        height: auto;
        max-height: none;
        overflow: visible;
    }

    body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register .customer-auth-panel {
        min-height: 100vh;
        min-height: 100dvh;
        max-height: none;
        height: auto;
    }

    body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register .customer-auth-card.new-auth-card--register {
        padding: 22px 20px 20px;
    }
}

/* Register — terms modal (customer-auth theme) */
body.customer-ui-new.customer-login-new .customer-auth-terms-overlay {
    padding: clamp(12px, 3vw, 24px);
    background: rgba(1, 7, 17, 0.84);
    backdrop-filter: blur(10px);
}

body.customer-ui-new.customer-login-new .customer-auth-terms-modal {
    display: flex;
    width: min(680px, 100%);
    max-height: min(86dvh, 820px);
    flex-direction: column;
    overflow: hidden;
    color: var(--new-text-2);
    background: rgba(7, 17, 29, 0.96);
    border: 1px solid rgba(var(--portal-primary-rgb), 0.56);
    border-radius: var(--new-radius-lg);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.42),
        0 0 36px rgba(var(--portal-primary-rgb), 0.1);
    backdrop-filter: blur(18px);
}

body.customer-ui-new.customer-login-new .customer-auth-terms-head {
    display: flex;
    flex: 0 0 auto;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
    padding: 18px 20px;
    border-block-end: 1px solid var(--new-border);
}

body.customer-ui-new.customer-login-new .customer-auth-terms-head__copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

body.customer-ui-new.customer-login-new .customer-auth-terms-eyebrow {
    color: var(--new-blue-bright);
    font-family: var(--new-font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.customer-ui-new.customer-login-new .customer-auth-terms-title {
    margin: 0;
    color: var(--new-text-1);
    font-family: var(--new-font-display);
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

body.customer-ui-new.customer-login-new .customer-auth-terms-close {
    display: inline-flex;
    flex: 0 0 auto;
    width: 40px;
    min-width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    margin-inline-start: auto;
    padding: 0;
    color: var(--new-text-2);
    background: rgba(3, 10, 20, 0.72);
    border: 1px solid var(--new-border-strong);
    border-radius: var(--new-radius-sm);
    cursor: pointer;
    transition: color var(--new-duration-hover) ease, border-color var(--new-duration-hover) ease, background var(--new-duration-hover) ease;
}

body.customer-ui-new.customer-login-new .customer-auth-terms-close:hover {
    color: var(--new-text-1);
    background: var(--new-surface-1);
    border-color: var(--new-blue-bright);
}

body.customer-ui-new.customer-login-new .customer-auth-terms-body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 0;
    overflow: hidden;
}

body.customer-ui-new.customer-login-new .customer-auth-terms-prose {
    max-height: min(58dvh, 620px);
    padding: 20px 22px 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

body.customer-ui-new.customer-login-new .customer-auth-terms-prose > :first-child {
    margin-block-start: 0;
}

body.customer-ui-new.customer-login-new .customer-auth-terms-prose > :last-child {
    margin-block-end: 0;
}

body.customer-ui-new.customer-login-new .customer-auth-terms-prose p,
body.customer-ui-new.customer-login-new .customer-auth-terms-prose ul,
body.customer-ui-new.customer-login-new .customer-auth-terms-prose ol {
    margin: 0 0 14px;
    color: var(--new-text-2);
    font-size: 13px;
    line-height: 1.7;
}

body.customer-ui-new.customer-login-new .customer-auth-terms-prose h1,
body.customer-ui-new.customer-login-new .customer-auth-terms-prose h2,
body.customer-ui-new.customer-login-new .customer-auth-terms-prose h3,
body.customer-ui-new.customer-login-new .customer-auth-terms-prose h4 {
    margin: 22px 0 10px;
    color: var(--new-text-1);
    font-family: var(--new-font-display);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

body.customer-ui-new.customer-login-new .customer-auth-terms-prose h1 { font-size: 22px; }
body.customer-ui-new.customer-login-new .customer-auth-terms-prose h2 { font-size: 19px; }
body.customer-ui-new.customer-login-new .customer-auth-terms-prose h3 { font-size: 16px; }
body.customer-ui-new.customer-login-new .customer-auth-terms-prose h4 { font-size: 14px; }

body.customer-ui-new.customer-login-new .customer-auth-terms-prose > p:first-child,
body.customer-ui-new.customer-login-new .customer-auth-terms-prose > h1:first-child,
body.customer-ui-new.customer-login-new .customer-auth-terms-prose > h2:first-child {
    margin-block-start: 0;
}

body.customer-ui-new.customer-login-new .customer-auth-terms-section {
    padding: 14px 0 2px;
    border-block-start: 1px solid rgba(var(--portal-primary-rgb), 0.14);
}

body.customer-ui-new.customer-login-new .customer-auth-terms-section:first-child {
    padding-block-start: 0;
    border-block-start: 0;
}

body.customer-ui-new.customer-login-new .customer-auth-terms-section h3 {
    margin-block-start: 0;
}

body.customer-ui-new.customer-login-new .customer-auth-terms-prose a {
    color: var(--new-blue-bright);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(var(--portal-primary-rgb), 0.45);
    text-underline-offset: 3px;
}

body.customer-ui-new.customer-login-new .customer-auth-terms-prose strong,
body.customer-ui-new.customer-login-new .customer-auth-terms-prose b {
    color: var(--new-text-1);
    font-weight: 700;
}

body.customer-ui-new.customer-login-new .customer-auth-terms-empty {
    margin: 0;
    padding: 28px 12px;
    color: var(--new-text-3);
    font-size: 14px;
    text-align: center;
}

body.customer-ui-new.customer-login-new .customer-auth-terms-foot {
    display: flex;
    flex: 0 0 auto;
    justify-content: stretch;
    padding: 14px 20px 18px;
    border-block-start: 1px solid var(--new-border);
}

body.customer-ui-new.customer-login-new .customer-auth-terms-agree {
    width: 100%;
    min-height: 50px;
    margin: 0;
}

html[data-theme='light'] body.customer-ui-new.customer-login-new .customer-auth-terms-overlay {
    background: rgba(228, 235, 245, 0.88);
}

html[data-theme='light'] body.customer-ui-new.customer-login-new .customer-auth-terms-modal {
    color: var(--new-text-2);
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(var(--portal-primary-rgb), 0.28);
    box-shadow:
        0 22px 50px rgba(15, 35, 58, 0.14),
        0 0 28px rgba(var(--portal-primary-rgb), 0.08);
}

html[data-theme='light'] body.customer-ui-new.customer-login-new .customer-auth-terms-close {
    color: var(--new-text-2);
    background: rgba(239, 245, 252, 0.96);
    border-color: var(--new-border-strong);
}

html[data-theme='light'] body.customer-ui-new.customer-login-new .customer-auth-terms-close:hover {
    color: var(--new-text-1);
    background: #fff;
    border-color: var(--new-blue);
}

html[data-theme='light'] body.customer-ui-new.customer-login-new .customer-auth-terms-section {
    border-block-start-color: rgba(var(--portal-primary-rgb), 0.12);
}

@media (max-width: 640px) {
    body.customer-ui-new.customer-login-new .customer-auth-terms-head {
        min-height: 64px;
        padding: 16px;
    }

    body.customer-ui-new.customer-login-new .customer-auth-terms-prose {
        max-height: min(62dvh, 560px);
        padding: 16px;
    }

    body.customer-ui-new.customer-login-new .customer-auth-terms-foot {
        padding: 12px 16px 16px;
    }
}

/* Register-only overflow and reflow guards. Keep the shared auth shell
   untouched; the long registration form owns its own scroll surface. */
body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register {
    min-width: 0;
    overflow-x: hidden;
}

body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register .customer-auth-shell,
body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register .customer-auth-panel,
body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register .customer-auth-content,
body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register .customer-auth-card,
body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register #registerForm {
    min-width: 0;
}

body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register .customer-auth-panel {
    scrollbar-gutter: stable;
}

body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register .customer-auth-content {
    flex: 1 0 auto;
    justify-content: flex-start;
    margin-block: clamp(20px, 3vh, 36px);
}

body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register .customer-auth-footer {
    flex: 0 0 auto;
    padding-block-end: max(8px, env(safe-area-inset-bottom, 0px));
}

body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register .customer-auth-intro h1,
body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register .customer-auth-intro p,
body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register .customer-auth-card-title,
body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register .new-auth-recovery-copy,
body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register .new-auth-form-section-title,
body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register .new-auth-type-btn,
body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register .new-auth-check-label,
body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register .new-auth-check-label a,
body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register .customer-auth-submit,
body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register .customer-auth-register-text,
body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register .customer-auth-register-link,
body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register .customer-auth-footer .classic-auth-footer {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
}

body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register .new-auth-form-section-title,
body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register .new-auth-type,
body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register .customer-auth-submit,
body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register .customer-auth-register-link {
    flex-wrap: wrap;
}

body.customer-ui-new.customer-login-new .customer-auth-language-menu a {
    min-width: 0;
    overflow-wrap: anywhere;
    white-space: normal;
}

body.customer-ui-new.customer-login-new .customer-auth-terms-head__copy,
body.customer-ui-new.customer-login-new .customer-auth-terms-title,
body.customer-ui-new.customer-login-new .customer-auth-terms-prose,
body.customer-ui-new.customer-login-new .customer-auth-terms-prose a,
body.customer-ui-new.customer-login-new .customer-auth-terms-agree {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

body.customer-ui-new.customer-login-new .customer-auth-terms-body {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    flex-direction: column;
}

body.customer-ui-new.customer-login-new .customer-auth-terms-prose {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
}

body.customer-ui-new.customer-login-new .customer-auth-terms-prose img,
body.customer-ui-new.customer-login-new .customer-auth-terms-prose video,
body.customer-ui-new.customer-login-new .customer-auth-terms-prose iframe {
    max-width: 100%;
}

body.customer-ui-new.customer-login-new .customer-auth-terms-prose table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

body.customer-ui-new.customer-login-new.register-terms-open {
    overflow: hidden;
}

@media (max-width: 900px) {
    body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register .customer-auth-masthead {
        min-width: 0;
        flex-wrap: wrap;
        row-gap: 10px;
    }

    body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register .customer-auth-brand,
    body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register .customer-auth-toolbar {
        min-width: 0;
        max-width: 100%;
    }

    body.customer-ui-new.customer-login-new.new-auth.new-auth-v2.new-auth-v2--register .customer-auth-toolbar {
        flex-wrap: wrap;
    }
}
