/* Shared Portal V2 foundation. Page geometry stays surface-owned. */
:where(body.customer-ui-new, body.new-auth-v2) {
    font-family: var(--pv2-font-body);
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

:where(body.customer-ui-new, body.new-auth-v2) :where(h1, h2, h3, h4, h5, h6) {
    font-family: var(--pv2-font-display);
    text-wrap: balance;
}

:where(body.customer-ui-new, body.new-auth-v2) :where(button, input, select, textarea) {
    font: inherit;
}

:where(body.customer-ui-new, body.new-auth-v2) ::selection {
    color: #fff;
    background: rgba(var(--pv2-primary-rgb), 0.72);
}

:where(body.customer-ui-new, body.new-auth-v2) :focus-visible {
    outline: 2px solid var(--pv2-primary-bright);
    outline-offset: 3px;
    box-shadow: var(--pv2-focus-ring);
}

@media (prefers-reduced-motion: reduce) {
    :where(body.customer-ui-new, body.new-auth-v2) *:not(.lucide-animated-icon):not(.lucide-animated-icon *),
    :where(body.customer-ui-new, body.new-auth-v2) *:not(.lucide-animated-icon):not(.lucide-animated-icon *)::before,
    :where(body.customer-ui-new, body.new-auth-v2) *:not(.lucide-animated-icon):not(.lucide-animated-icon *)::after {
        scroll-behavior: auto;
        transition-duration: 0.01ms;
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
    }
}
