.skip-link {
    position: absolute;
    left: 16px;
    top: -48px;
    background: #111827;
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    z-index: 1000;
    text-decoration: none;
    transition: top 180ms ease;
}

.skip-link:focus {
    top: 16px;
}

[hidden] {
    display: none !important;
}

.pp-auth-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,.95), transparent 38%),
        radial-gradient(circle at bottom right, rgba(255,255,255,.86), transparent 36%),
        linear-gradient(180deg, #f4f7fb 0%, #eef2f7 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pp-auth-shell {
    width: 100%;
    max-width: 1120px;
    padding: 40px 20px;
    min-height: 100vh;
    box-sizing: border-box;
    display: flex;
    align-items: stretch;
}

.pa-shell {
    margin: 0 auto;
}

.pp-auth-brand {
    display: none;
}

.pp-auth-card,
.pa-shell .pp-auth-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 1fr);
    width: 100%;
    min-height: 100%;
    border-radius: 22px;
    overflow: hidden;
    background: transparent;
    border: none;
    backdrop-filter: none;
    box-shadow: 0 0 0 1px rgba(20,33,61,.07), 0 24px 72px rgba(20,33,61,.14);
}

.pp-auth-aside {
    order: -1;
    background: linear-gradient(155deg,
        var(--pp-theme-primary-dark) 0%,
        var(--pp-theme-primary) 46%,
        var(--pp-theme-soft-3) 100%);
    border-left: none;
    border-right: none;
    padding: 52px 44px 44px;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    overflow: hidden;
}

.pp-auth-aside::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    opacity: .045;
    pointer-events: none;
    z-index: 0;
}

.pp-auth-aside::before {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(255,255,255,.07);
    top: -140px;
    right: -140px;
    pointer-events: none;
    z-index: 0;
}

.pp-auth-aside > * {
    position: relative;
    z-index: 1;
}

.al-logo-wrap {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.28);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 36px;
    flex-shrink: 0;
    backdrop-filter: blur(8px);
}

.al-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.al-logo-initials {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.5px;
}

.al-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
    margin-bottom: 14px;
}

.al-headline {
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -.9px;
    margin-bottom: 14px;
}

.al-subline {
    font-size: 14.5px;
    color: rgba(255,255,255,.58);
    line-height: 1.65;
    max-width: 320px;
    margin-bottom: 36px;
}

.al-divider {
    height: 1px;
    background: rgba(255,255,255,.14);
    margin-bottom: 24px;
}

.pp-panel {
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 11px;
    padding: 15px 17px;
    backdrop-filter: blur(4px);
    margin-bottom: 10px;
}

.pp-panel h3 {
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(255,255,255,.88);
    margin: 0 0 5px;
    letter-spacing: -.1px;
}

.pp-panel p {
    font-size: 12px;
    line-height: 1.55;
    color: rgba(255,255,255,.5);
    margin: 0;
}

.pp-ward-list,
.pp-mini-list {
    display: grid;
    gap: 8px;
}

.pp-ward-item,
.pp-mini-item {
    border-radius: 9px;
    border: 1px solid rgba(255,255,255,.13);
    background: rgba(255,255,255,.06);
    padding: 11px 14px;
}

.pp-ward-item strong,
.pp-mini-item strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,.9);
    margin-bottom: 2px;
}

.pp-ward-meta,
.pp-mini-item span {
    font-size: 11.5px;
    color: rgba(255,255,255,.45);
}

.al-foot {
    margin-top: auto;
    padding-top: 32px;
    font-size: 11.5px;
    color: rgba(255,255,255,.28);
    line-height: 1.6;
}

.pp-auth-main,
.pa-card .pp-auth-main {
    background: #ffffff;
    padding: 52px 46px 40px;
    display: flex;
    flex-direction: column;
}

.pp-login-foot {
    font-size: 11.5px;
    color: #aeaeb2;
    text-align: center;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid #e5e5ea;
    flex-shrink: 0;
}

.pp-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--pp-theme-primary);
    margin-bottom: 10px;
}

.pp-eyebrow .fa {
    font-size: 10px;
}

.pp-auth-title {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -.6px;
    color: #1d1d1f;
    margin: 0 0 5px;
    line-height: 1.2;
}

.pp-auth-copy {
    font-size: 14px;
    color: #6e6e73;
    line-height: 1.5;
    margin: 0;
}

.pp-auth-main {
    animation: pa-fade-in 320ms ease both;
}

.pp-auth-main.is-leaving {
    animation: pa-fade-out 220ms ease forwards;
    pointer-events: none;
}

@keyframes pa-fade-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pa-fade-out {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-8px);
    }
}

.pa-header-rule {
    height: 1px;
    border: 0;
    background: linear-gradient(90deg, rgba(20, 33, 61, .1), rgba(20, 33, 61, .02));
    margin: 18px 0 0;
}

.pa-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.pa-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.pa-inline-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.pa-already-active-alert a {
    color: #991b1b;
    font-weight: 700;
    text-decoration: underline;
}

.pa-alert-action-row {
    margin-top: 18px;
}

.is-hidden {
    display: none !important;
}

.pp-auth-copy a {
    color: #1d4ed8;
    font-weight: 700;
    text-decoration: none;
}

.pa-btn-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.pa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 50px;
    min-height: 50px; /* Force minimum height for normalization */
    padding: 0 24px;
    border-radius: 6px;
    border: none;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .01em;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: background 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 120ms ease;
    vertical-align: middle;
    appearance: none;
    -webkit-appearance: none;
}

.pa-btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.pa-btn--primary {
    flex: 1;
    background: var(--pp-theme-primary);
    color: #fff;
    box-shadow: none;
}

.pa-btn--primary:hover {
    background: var(--pp-theme-primary-dark);
    color: #fff;
    box-shadow: none;
}

.pa-btn--secondary {
    background: #f7f9fc;
    color: #334e68;
    box-shadow: inset 0 0 0 1px #d9e2ec;
}

.pa-btn--secondary:hover {
    background: var(--pp-theme-soft);
    box-shadow: inset 0 0 0 1px var(--pp-theme-primary);
    color: var(--pp-theme-primary);
}

.pp-auth-copy a:hover,
.pp-auth-copy a:focus {
    text-decoration: underline;
}

.pa-language-picker {
    position: relative;
    flex-shrink: 0;
}

.pa-aside-top-row .pa-language-picker--aside {
    display: none;
}

.pa-language-picker.is-static {
    pointer-events: none;
}

.pa-language-picker summary {
    list-style: none;
}

.pa-language-picker summary::-webkit-details-marker {
    display: none;
}

.pa-language-picker__trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 35px;
    min-height: 30px;
    border-radius: 5px;
    border: 1px solid rgba(20, 33, 61, .1);
    background: #fff;
    cursor: pointer;
}

.pa-language-picker[open] .pa-language-picker__trigger {
    box-shadow: 0 14px 28px rgba(15, 23, 42, .1);
}

.pa-language-picker__trigger .fa {
    color: #52606d;
    font-size: 14px;
}

.pa-language-picker__menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 12px;
    border: 1px solid rgba(20, 33, 61, .08);
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 18px 36px rgba(15, 23, 42, .12);
}

.pa-language-picker__option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: #f8fbff;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.pa-language-picker__option:hover,
.pa-language-picker__option:focus {
    transform: translateY(-1px);
    border-color: rgba(37, 99, 235, .2);
    box-shadow: 0 12px 24px rgba(37, 99, 235, .12);
}

.pa-flag {
    width: 22px;
    height: 14px;
    display: inline-block;
    position: relative;
    border-radius: 2px;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .12);
    background: linear-gradient(180deg, #e5e7eb, #cbd5e1);
}

.pa-flag--gh {
    background: linear-gradient(180deg, #ce1126 0 33.33%, #fcd116 33.33% 66.66%, #006b3f 66.66% 100%);
}

.pa-flag--gh:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background: #111827;
    transform: translate(-50%, -50%);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.pa-flag--fr {
    background: linear-gradient(90deg, #1d4ed8 0 33%, #ffffff 33% 66%, #dc2626 66% 100%);
}

.pa-flag--es {
    background: linear-gradient(180deg, #b91c1c 0 24%, #facc15 24% 76%, #b91c1c 76% 100%);
}

.pa-flag--ar {
    background: linear-gradient(180deg, #111827 0 33%, #ffffff 33% 66%, #15803d 66% 100%);
}

.pa-flag--pt {
    background: linear-gradient(90deg, #166534 0 42%, #dc2626 42% 100%);
}

.pa-flag--de {
    background: linear-gradient(180deg, #111827 0 33%, #dc2626 33% 66%, #facc15 66% 100%);
}

.pa-flag--generic {
    background: linear-gradient(135deg, #1d4ed8 0 50%, #f59e0b 50% 100%);
}

.pa-language-scaffold {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(37, 99, 235, .12);
    background: linear-gradient(180deg, #f8fbff, #eef5ff);
}

.pa-language-scaffold__copy strong {
    display: block;
    color: #14345a;
    font-size: 13px;
}

.pa-language-scaffold__copy span {
    display: block;
    margin-top: 4px;
    color: #52606d;
    font-size: 12px;
    line-height: 1.65;
}

.pa-language-scaffold__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pa-language-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(37, 99, 235, .12);
    color: #32537b;
    font-size: 11px;
    font-weight: 700;
}

.pa-stage-headline {
    animation: pa-stage-rise 520ms cubic-bezier(.2, .9, .2, 1) both;
}

@keyframes pa-stage-rise {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pa-resume-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    margin-bottom: 20px;
    border-radius: 18px;
    border: 1px solid rgba(37, 99, 235, .14);
    background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
    box-shadow: 0 14px 36px rgba(37, 99, 235, .08);
}

.pa-resume-text strong {
    display: block;
    margin-bottom: 4px;
    color: #102a43;
    font-size: 15px;
}

.pa-resume-text span {
    display: block;
    color: #52606d;
    font-size: 13px;
    line-height: 1.6;
}

.pa-resume-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pa-resume-btn {
    white-space: nowrap;
}

.pa-resume-clear {
    margin: 0;
}

.pa-login-redirect-card {
    display: grid;
    gap: 16px;
    padding: 22px;
    margin-bottom: 8px;
    border-radius: 20px;
    border: 1px solid rgba(37, 99, 235, .14);
    background: linear-gradient(145deg, #fbfdff 0%, #eef4ff 100%);
    box-shadow: 0 16px 38px rgba(15, 23, 42, .08);
}

.pa-login-redirect-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1d4ed8, #60a5fa);
    color: #fff;
    font-size: 20px;
    box-shadow: 0 14px 28px rgba(37, 99, 235, .24);
}

.pa-login-redirect-card__copy strong {
    display: block;
    color: #102a43;
    font-size: 17px;
    line-height: 1.45;
}

.pa-login-redirect-card__copy span {
    display: block;
    margin-top: 6px;
    color: #52606d;
    font-size: 13px;
    line-height: 1.7;
}

.pa-review-upload-card {
    display: grid;
    gap: 16px;
    margin-bottom: 20px;
    padding: 22px;
    border-radius: 22px;
    border: 1px solid rgba(37, 99, 235, .14);
    background: linear-gradient(145deg, #fbfdff 0%, #eef5ff 100%);
    box-shadow: 0 18px 40px rgba(15, 23, 42, .08);
}

.pa-review-upload-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.pa-review-upload-card__header h3 {
    margin: 0 0 6px;
    color: #102a43;
    font-size: 18px;
    font-weight: 700;
}

.pa-review-upload-card__header p {
    margin: 0;
    color: #52606d;
    font-size: 13px;
    line-height: 1.7;
}

.pa-review-upload-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(37, 99, 235, .14);
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.pa-review-upload-form {
    display: grid;
    gap: 14px;
}

.pa-review-upload-dropzone {
    position: relative;
    display: grid;
    place-items: center;
    gap: 6px;
    padding: 28px 18px;
    border-radius: 18px;
    border: 1px dashed rgba(37, 99, 235, .26);
    background: rgba(255,255,255,.7);
    text-align: center;
    cursor: pointer;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.pa-review-upload-dropzone:hover {
    border-color: rgba(37, 99, 235, .44);
    box-shadow: 0 16px 28px rgba(37, 99, 235, .1);
    transform: translateY(-1px);
}

.pa-review-upload-dropzone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.pa-review-upload-dropzone__icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1d4ed8, #60a5fa);
    color: #fff;
    font-size: 20px;
    box-shadow: 0 18px 30px rgba(37, 99, 235, .2);
}

.pa-review-upload-dropzone strong {
    color: #102a43;
    font-size: 15px;
}

.pa-review-upload-dropzone span {
    color: #52606d;
    font-size: 12px;
    line-height: 1.65;
}

.pa-review-upload-feedback.is-success {
    color: #15803d;
}

.pa-review-upload-feedback.is-error {
    color: #c62828;
}

.pa-review-upload-list {
    display: grid;
    gap: 10px;
}

.pa-review-upload-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid #d9e6fb;
    background: #fff;
    color: #14345a;
    text-decoration: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.pa-review-upload-item:hover {
    border-color: #60a5fa;
    box-shadow: 0 14px 26px rgba(37, 99, 235, .12);
    transform: translateY(-1px);
    text-decoration: none;
}

.pa-review-upload-item__name {
    font-size: 13px;
    font-weight: 700;
}

.pa-review-upload-item__meta {
    color: #7b8794;
    font-size: 11px;
    white-space: nowrap;
}

.pa-review-upload-empty {
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px dashed #d9e6fb;
    background: rgba(255,255,255,.74);
    color: #7b8794;
    font-size: 12px;
}

.pa-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 999px;
    background: #f3f7ff;
    border: 1px solid rgba(37, 99, 235, .12);
    color: #32537b;
    font-size: 11px;
    font-weight: 600;
}

.pa-trust-badge i {
    color: var(--pp-theme-primary);
}

.pa-step-nav {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 4px;
}

.pa-stepper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: min(100%, 368px);
    margin-left: auto;
    margin-right: auto;
    margin-top: 24px;
    margin-bottom: 36px;
    position: relative;
}

.pa-stepper__rail[role="progressbar"] {
    position: relative;
}

.pa-stepper__rail {
    position: absolute;
    top: 18px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: #e5e5ea;
    z-index: 0;
}

.pa-stepper__fill {
    height: 100%;
    background: var(--pp-theme-primary);
    transition: width 400ms ease;
}

.pa-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
}

.pa-step__circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    border: 2px solid #e5e5ea;
    background: #fff;
    color: #aeaeb2;
    transition: all 200ms ease;
}

.pa-step__label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #9aa3af;
    text-align: center;
    white-space: nowrap;
}

.pa-step.is-active .pa-step__circle {
    border-color: var(--pp-theme-primary);
    background: var(--pp-theme-primary);
    color: #fff;
    box-shadow: 0 0 0 6px rgba(37, 99, 235, .12);
}

.pa-step.is-active .pa-step__label,
.pa-step.is-complete .pa-step__label {
    color: var(--pp-theme-primary);
}

.pa-step.is-complete .pa-step__circle {
    border-color: var(--pp-theme-primary);
    background: var(--pp-theme-primary);
    color: #fff;
    animation: pa-check-pop 320ms cubic-bezier(.175, .885, .32, 1.275) both;
}

@keyframes pa-check-pop {
    0% {
        transform: scale(.75);
    }
    70% {
        transform: scale(1.12);
    }
    100% {
        transform: scale(1);
    }
}

.pa-stage-list,
.pa-feature-list {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.pa-stage-list li,
.pa-feature-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, .78);
    font-size: 12.5px;
    line-height: 1.55;
}

.pa-stage-list li:before,
.pa-feature-list li:before {
    content: "\f00c";
    font-family: FontAwesome;
    position: absolute;
    left: 0;
    top: 1px;
    color: rgba(255, 255, 255, .92);
}

.pa-otp-meta {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.pa-otp-meta__item {
    border-radius: 10px;
    padding: 11px 13px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .08);
}

.pa-otp-meta__label {
    display: block;
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
    margin-bottom: 3px;
}

.pa-otp-meta__value {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.pa-form-alert-region:empty {
    display: none;
}

.pa-field-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.pa-help-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: none;
    color: #7b8794;
    font-size: 13px;
    padding: 0;
    transition: color 160ms ease, transform 160ms ease;
}

.pa-help-trigger:hover,
.pa-help-trigger[aria-expanded="true"] {
    color: var(--pp-theme-primary);
    transform: translateY(-1px);
}

.pa-help-trigger span:not(.sr-only) {
    font-size: 12px;
    font-weight: 600;
}

.pa-help-panel {
    margin-top: 10px;
    padding: 14px 15px;
    border-radius: 12px;
    border: 1px solid rgba(37, 99, 235, .14);
    background: linear-gradient(180deg, #f6faff 0%, #eef5ff 100%);
    color: #334e68;
    font-size: 12.5px;
    line-height: 1.65;
}

.pa-help-panel strong {
    display: block;
    margin-bottom: 6px;
    color: #14345a;
}

.pa-help-panel ul {
    margin: 0;
    padding-left: 18px;
}

.pa-help-panel li {
    margin-bottom: 4px;
}

.pp-auth-body .pa-form-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.pp-auth-body .pa-field-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #30425f;
    margin-bottom: 9px;
}

.pp-auth-body .pp-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    border: 1.5px solid transparent;
    background: #f5f5f7;
    padding: 0 14px;
    box-sizing: border-box;
    transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.pp-auth-body .pp-input-wrap:focus-within {
    background: #fff;
    border-color: var(--pp-theme-primary);
    box-shadow: 0 0 0 4px var(--pp-theme-glow);
}

.pp-auth-body .pp-input {
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    height: 58px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0 44px; /* Explicit padding for icon guards */
    background: transparent;
    border: none;
    outline: none;
    box-sizing: border-box;
}

.pp-auth-body .pp-input::placeholder {
    color: #aeaeb2;
    font-size: 14px;
    font-weight: 400;
}

.pp-auth-body .pp-input:focus {
    box-shadow: none;
    background: transparent;
    border: none;
    outline: none;
}

.pp-auth-body .pp-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #aeaeb2;
    transition: color 160ms ease;
    flex-shrink: 0;
    z-index: 10;
    pointer-events: none;
}

.pp-auth-body .pp-input-wrap:focus-within .pp-input-icon {
    color: var(--pp-theme-primary);
}

.pp-auth-body .pa-helper {
    display: block;
    font-size: 12px;
    color: #aeaeb2;
    margin-top: 5px;
    line-height: 1.5;
}

.pa-field.is-valid .pp-input-wrap {
    border-radius: 14px;
    border-color: rgba(21, 128, 61, .2);
    background: #fbfffc;
    box-shadow: 0 0 0 3px rgba(21, 128, 61, .08);
}

.pa-field.is-valid .pp-input {
    background: transparent;
}

.pa-field.is-valid .pp-input-icon {
    color: #15803d;
}

.pp-input-wrap--with-trailing .pp-input {
    padding-right: 76px !important;
}

.pp-input-trailing {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%) scale(.8);
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #dcfce7;
    color: #15803d;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
}

.pp-input-trailing.is-visible {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.pa-field.is-invalid .pp-input-wrap {
    box-shadow: 0 0 0 4px rgba(220, 38, 38, .08);
    border-radius: 14px;
}

.pa-field.is-invalid .pp-input {
    border-color: #dc2626;
    background: #fff8f8;
}

.pa-field.is-invalid .pp-input-icon {
    color: #dc2626;
}

.pa-field.is-strength-fair .pp-input-wrap {
    border-color: rgba(217, 119, 6, .22);
    background: #fffaf3;
    box-shadow: 0 0 0 4px rgba(217, 119, 6, .08);
    border-radius: 14px;
}

.pa-field.is-strength-fair .pp-input {
    background: transparent;
}

.pa-field.is-strength-good .pp-input-wrap {
    border-color: rgba(37, 99, 235, .18);
    background: #f8fbff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .08);
    border-radius: 14px;
}

.pa-field.is-strength-good .pp-input {
    background: transparent;
}

.pa-validation-msg {
    display: none;
    margin-top: 8px;
    font-weight: 600;
}

.pa-validation-msg.is-visible {
    display: block;
}

.pa-validation-msg.is-valid {
    color: #15803d;
}

.pa-validation-msg.is-invalid {
    color: #c62828;
}

.pw-strength-track {
    height: 5px;
    background: #e5e7eb;
    border-radius: 999px;
    margin-top: 10px;
    overflow: hidden;
}

.pw-strength-fill {
    height: 100%;
    border-radius: 999px;
    width: 0;
    transition: width 220ms ease, background 220ms ease;
    background: #d1d5db;
}

.pa-helper-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 5px;
}

.pa-helper-row .pa-helper {
    margin-top: 0;
}

.pw-strength-label {
    flex-shrink: 0;
    text-align: right;
}

.otp-digit-row {
    display: flex;
    gap: 10px;
    margin-top: 4px;
    width: min(100%, 362px);
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.otp-digit {
    width: 52px;
    height: 62px;
    border-radius: 14px;
    border: 1.5px solid #d7dfeb;
    background: #f8fafc;
    color: #111827;
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease, transform 160ms ease;
    caret-color: transparent;
    -webkit-appearance: none;
    appearance: none;
}

.otp-digit:focus {
    border-color: var(--pp-theme-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .14);
    outline: none;
    transform: translateY(-1px);
}

.otp-digit.is-filled {
    border-color: rgba(37, 99, 235, .55);
    background: #fff;
}

.otp-digit.is-error {
    border-color: #dc2626;
    background: #fff4f4;
}

.otp-digit-row.shake {
    animation: otp-shake 350ms ease;
}

@keyframes otp-shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-4px); }
    40% { transform: translateX(4px); }
    60% { transform: translateX(-3px); }
    80% { transform: translateX(3px); }
}

.otp-resend-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.otp-expire-text {
    font-size: 12px;
    color: #64748b;
}

.otp-expire-text strong {
    color: #111827;
    font-variant-numeric: tabular-nums;
}

.otp-resend-btn {
    border: 0;
    background: none;
    padding: 0;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
    cursor: not-allowed;
}

.otp-resend-btn.is-active {
    color: var(--pp-theme-primary);
    cursor: pointer;
}

.otp-resend-btn.is-active:hover {
    text-decoration: underline;
}

.otp-feedback {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
}

.otp-feedback.is-error {
    color: #c62828;
}

.otp-feedback.is-success {
    color: #1b7a3f;
}

.otp-expired-note {
    display: block;
    margin-top: 4px;
    color: #c62828;
    font-weight: 600;
}

.pp-checkbox input[type="checkbox"] {
    margin-right: 10px;
}

.pp-checkbox span {
    display: inline-block;
}

.pa-field--confirmation {
    position: relative;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    transition: none;
}

.pa-field--confirmation .pp-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    cursor: pointer;
}

.pa-field--confirmation .pp-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: #2563eb;
    flex-shrink: 0;
}

.pa-field--confirmation .pp-checkbox span {
    line-height: 1.65;
}

.pa-field--confirmation.is-confirmed {
    box-shadow: none;
}

.pa-field--confirmation.is-spotlit {
    animation: none;
}

@keyframes pa-confirmation-pulse {
    0%, 100% {
        border-color: #cfe0ff;
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
        transform: translateY(0);
    }
    40% {
        border-color: rgba(37, 99, 235, .38);
        box-shadow: 0 0 0 8px rgba(37, 99, 235, .10), 0 18px 34px rgba(37, 99, 235, .14);
        transform: translateY(-1px);
    }
}

.pa-btn[disabled] {
    opacity: .55;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.pa-btn.is-ready {
    box-shadow: none;
}

.pa-btn-row--single {
    justify-content: flex-start;
}

.pa-glass-card {
    position: relative;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(13, 30, 67, .12);
}

.pa-glass-card:before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(130deg, rgba(255,255,255,.36), rgba(255,255,255,.06), rgba(255,255,255,.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 0;
}

.pa-glass-card > * {
    position: relative;
    z-index: 1;
}

.pa-glass-card__shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
    animation: pa-glass-shimmer 12s infinite;
    pointer-events: none;
    z-index: 0;
}

.pa-next-step-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255,255,255,.58);
}

.pa-next-step-title {
    margin-bottom: 8px !important;
}

@keyframes pa-glass-shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .45);
    outline-offset: 3px;
}

.pp-input:focus-visible,
.otp-digit:focus-visible {
    outline: none;
}

.pa-btn:focus-visible,
.otp-resend-btn:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .45);
    outline-offset: 3px;
}

.pa-success-body {
    min-height: 100vh;
}

.pa-success-shell {
    width: 100%;
    max-width: 560px;
    padding: 40px 20px;
}

.pa-success-card {
    background: rgba(255, 255, 255, .96);
    border-radius: 26px;
    padding: 42px 36px;
    box-shadow: 0 0 0 1px rgba(20, 33, 61, .06), 0 28px 72px rgba(20, 33, 61, .16);
    text-align: center;
    animation: pa-success-card-rise 620ms cubic-bezier(.2, .9, .2, 1) both;
}

.pa-success-mark {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #fff;
    font-size: 34px;
    box-shadow: 0 16px 36px rgba(21, 128, 61, .28);
    animation: pa-success-mark-pop 700ms cubic-bezier(.175, .885, .32, 1.275) 120ms both;
}

@keyframes pa-success-card-rise {
    from {
        opacity: 0;
        transform: translateY(20px) scale(.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pa-success-mark-pop {
    0% {
        opacity: 0;
        transform: scale(.72);
    }
    70% {
        opacity: 1;
        transform: scale(1.08);
    }
    100% {
        transform: scale(1);
    }
}

.pa-success-title {
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: -.04em;
    color: #111827;
    margin: 0 0 10px;
}

.pa-success-copy {
    color: #52606d;
    font-size: 14px;
    line-height: 1.7;
    max-width: 420px;
    margin: 0 auto 24px;
}

.pa-success-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 24px;
    text-align: left;
}

.pa-success-feature {
    border-radius: 14px;
    padding: 14px 16px;
    border: 1px solid #e6edf5;
    background: #f8fbff;
}

.pa-success-feature strong {
    display: block;
    color: #111827;
    font-size: 13px;
    margin-bottom: 4px;
}

.pa-success-feature span {
    color: #5f7388;
    font-size: 12px;
    line-height: 1.5;
}

.pa-success-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pa-success-countdown {
    margin-top: 14px;
    color: #64748b;
    font-size: 12px;
}

@media (max-width: 860px) {
    .pp-auth-shell {
        padding: 0 20px 40px;
    }

    .pp-auth-card,
    .pa-shell .pp-auth-card {
        grid-template-columns: 1fr;
        border-radius: 0;
        box-shadow: none;
        min-height: 100vh;
    }

    .pp-auth-main,
    .pa-card .pp-auth-main {
        order: 1;
        padding: 15px 28px 36px;
    }

    .pp-auth-aside {
        order: 0;
        padding: 24px 24px 10px;
        min-height: auto;
    }

    .pp-auth-aside .al-divider,
    .pp-auth-aside .al-subline,
    .pp-auth-aside .pp-panel,
    .pp-auth-aside .pp-ward-list,
    .pp-auth-aside .al-foot {
        display: none !important;
    }

    .pa-aside-top-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 24px;
        width: 100%;
    }

    .pa-aside-top-row .pa-language-picker--aside {
        display: block;
    }

    .al-logo-wrap {
        margin-bottom: 0;
        width: 56px;
        height: 56px;
    }

    .pa-language-picker--aside .pa-language-picker__trigger {
        padding: 0;
        background: rgba(255, 255, 255, 0);
        border: 0;
        transform: scale(0.9);
        transform-origin: right center;
    }

    /* Hide the 'PARENT ACCESS' copy on mobile only as requested */
    .pa-header-top {
        display: none !important;
    }

    .pa-language-picker--desktop {
        display: none !important;
    }

    .al-headline {
        font-size: 27px;
        margin-bottom: 1px;
    }

    .pp-auth-title {
        display: none;
    }

    .pa-trust-badge {
        display: none;
    }
}

@media (max-width: 520px) {
    .pp-auth-shell {
        overflow-x: clip;
    }

    .pp-auth-main,
    .pa-card .pp-auth-main {
        padding-left: 18px;
        padding-right: 18px;
        min-width: 0;
        overflow-x: clip;
    }

    .pa-stepper {
        width: min(100%, 340px) !important;
    }

    .pa-step {
        min-width: 0 !important;
        padding: 0 4px;
    }

    .pa-step__label {
        max-width: 86px;
        line-height: 1.3;
        white-space: normal;
    }

    .pa-field-label-row {
        align-items: flex-start;
    }

    .pa-field-label-row .pa-field-label {
        flex: 1 1 auto;
        min-width: 0;
        margin-bottom: 0;
    }

    .pa-help-trigger {
        align-self: flex-start;
        flex-shrink: 0;
        white-space: nowrap;
    }

    .pa-help-trigger span:not(.sr-only) {
        font-size: 11px;
    }

    .pa-header-top {
        gap: 12px;
    }

    .pa-inline-actions .pa-btn {
        width: 100%;
    }

    .pa-language-picker__menu {
        right: 0;
        left: auto;
        top: calc(100% + 8px);
    }

    .pa-language-picker--aside {
        margin-top: 0;
    }

    .pa-language-picker--aside .pa-language-picker__trigger {
        padding: 0;
        background: rgba(255, 255, 255, 0);
        border: 0;
        transform: scale(0.9);
        transform-origin: right center;
    }

    .pa-resume-banner {
        align-items: stretch;
        flex-direction: column;
    }

    .pa-resume-actions {
        width: 100%;
        flex-direction: column;
    }

    .pa-resume-actions .pa-btn,
    .pa-resume-clear {
        width: 100%;
    }

    .pa-btn-row {
        flex-direction: column;
        gap: 12px;
    }

    .pa-btn--primary {
        order: -1;
        flex: none; /* Disable vertical flex-grow on mobile to prevent squashing */
    }

    .pa-btn-row .pa-btn {
        width: 100%;
        flex: none;
    }

    .pa-language-scaffold,
    .pa-review-upload-card {
        padding-left: 14px;
        padding-right: 14px;
    }

    .pa-review-upload-card__header {
        grid-template-columns: 1fr;
        display: grid;
    }

    .pa-review-upload-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .otp-digit-row {
        gap: 4px; /* Reduced from 6px for tight viewports */
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }

    .otp-digit {
        width: 36px; /* Reduced from 38px */
        height: 50px;
        font-size: 19px;
        border-radius: 8px;
    }

    .pa-otp-meta,
    .pa-otp-meta__item,
    .pa-otp-meta__label,
    .pa-otp-meta__value,
    .pp-alert,
    .pp-alert span,
    .otp-resend-row,
    .otp-expire-text,
    .otp-resend-btn,
    .otp-feedback {
        min-width: 0;
        max-width: 100%;
    }

    .pa-otp-meta__item,
    .pp-alert {
        overflow: hidden;
    }

    .pa-otp-meta__label,
    .pa-otp-meta__value,
    .pp-alert,
    .pp-alert span,
    .otp-expire-text,
    .otp-resend-btn,
    .otp-feedback {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    /* Ultra-narrow hardening (360px and below) */
    @media (max-width: 360px) {
        .pp-auth-shell {
            padding-left: 8px;
            padding-right: 8px;
        }
        .pp-auth-main, .pa-card .pp-auth-main {
            padding-left: 10px;
            padding-right: 10px;
        }
        .pa-btn {
            height: 50px !important;
            min-height: 50px !important;
            flex: none !important;
            gap: 6px;
            padding: 0 16px;
        }
    }

    /* Extra tight viewports (320px and below) */
    @media (max-width: 330px) {
        .pp-auth-main, .pa-card .pp-auth-main {
            padding-left: 8px;
            padding-right: 8px;
        }
        .otp-digit {
            width: 32px;
            height: 46px;
        }
        .pp-auth-body .pp-input::placeholder {
            font-size: 13px;
        }
    }

    .otp-resend-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .pa-success-card {
        padding: 34px 22px;
    }

    .pa-success-grid {
        grid-template-columns: 1fr;
    }
}

/* -- Virtual AJAX Shake -- */
@keyframes invalidShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-4px); }
    40% { transform: translateX(4px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}
.is-invalid-shake {
    animation: invalidShake 0.4s cubic-bezier(.36,.07,.19,.97) both;
    border-color: rgba(255,59,48,0.5) !important;
    background: rgba(255,59,48,0.02) !important;
    box-shadow: 0 0 0 4px rgba(255,59,48,0.08) !important;
}
