body {
    min-height: 100vh;
    background: #f6f8f5;
}

.pe-auth-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 32px 18px;
    background: #f6f8f5;
}

.pe-auth-shell {
    width: min(100%, 560px);
    display: block;
}

.pe-auth-copy {
    display: none;
}

.pe-auth-copy .pe-logo {
    width: 188px;
    display: block;
}

.pe-auth-copy .pe-badge {
    margin-top: 24px;
}

.pe-auth-title {
    max-width: 440px;
    margin: 20px 0 0;
    text-align: left;
    font-size: 42px;
    line-height: 1.08;
    letter-spacing: 0;
}

.pe-auth-intro {
    max-width: 430px;
    margin: 18px 0 0;
    text-align: left;
    font-size: 16px;
    line-height: 1.6;
}

.pe-auth-checklist {
    display: grid;
    gap: 12px;
    margin-top: 24px;
    color: var(--pe-primary);
    font-weight: 900;
}

.pe-auth-checklist div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pe-auth-card {
    width: 100%;
    padding: 24px;
}

.pe-auth-brand {
    display: inline-flex;
    margin-bottom: 20px;
}

.pe-auth-brand img {
    width: 190px;
    max-width: 100%;
    display: block;
}

.pe-auth-card .pe-section-title {
    margin-top: 0;
    font-size: 22px;
}

.pe-auth-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 22px;
    padding: 4px;
    background: var(--pe-soft);
    border: 1px solid var(--pe-border);
    border-radius: var(--pe-radius);
}

.pe-auth-tab {
    min-height: 42px;
    border: 0;
    border-radius: calc(var(--pe-radius) - 2px);
    background: transparent;
    color: var(--pe-muted);
    cursor: pointer;
    font: inherit;
    font-weight: 900;
}

.pe-auth-tab.is-active {
    background: #ffffff;
    color: var(--pe-primary);
    box-shadow: 0 8px 18px rgba(23, 33, 31, 0.08);
}

.pe-auth-message {
    margin: 18px 0 4px;
    border: 1px solid var(--pe-border);
    border-radius: var(--pe-radius);
    padding: 12px;
    font-weight: 800;
    font-size: 13px;
}

.pe-auth-message-info {
    background: var(--pe-soft);
    color: var(--pe-primary);
}

.pe-auth-message-success {
    background: var(--pe-success-bg);
    border-color: var(--pe-success-border);
    color: var(--pe-success);
}

.pe-auth-message-error {
    background: #fff5f5;
    border-color: #f5c2c0;
    color: var(--pe-danger);
}

.pe-auth-card .pe-input,
.pe-auth-card .pe-select {
    min-height: 44px;
}

.pe-auth-card .pe-btn-block {
    margin-top: 18px;
}

.pe-auth-links {
    margin-top: 14px;
}

.pe-auth-links .pe-btn {
    flex: 1;
}

@media (max-width: 900px) {
    .pe-auth-page {
        padding: 18px 14px 28px;
    }

    .pe-auth-shell {
        max-width: 560px;
    }

    .pe-auth-title {
        font-size: 30px;
    }
}

@media (max-width: 640px) {
    .pe-auth-card {
        padding: 20px;
    }

    .pe-auth-links {
        display: grid;
    }
}
