.auth-panel .brand {
    margin-bottom: var(--space-4);
    color: var(--text-main);
    font-size: var(--fs-h3);
    line-height: var(--lh-tight);
    letter-spacing: var(--ls-tight);
}

.auth-panel h1 {
    font-size: var(--fs-h2);
    line-height: var(--lh-tight);
    letter-spacing: 0;
}

.auth-panel-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
}

.auth-panel .subtitle {
    max-width: 320px;
    margin: 0 auto;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: var(--fs-body-sm);
    font-weight: var(--fw-semibold);
    line-height: var(--lh-snug);
}

.auth-panel .stack {
    gap: var(--space-3);
    margin-top: 0;
}

.auth-panel .field {
    gap: var(--space-2);
    color: var(--text-strong);
    font-family: var(--font-heading);
    font-size: var(--fs-body-sm);
    font-weight: var(--fw-semibold);
    line-height: var(--lh-snug);
    text-align: left;
}

.auth-panel input::placeholder {
    color: rgba(100, 116, 139, 0.5);
}

.auth-panel input,
.auth-panel .primary-button {
    width: 100%;
    height: 56px;
    font-size: var(--fs-body);
    line-height: var(--lh-snug);
}

.auth-panel input {
    padding: 0 var(--space-4);
}

.auth-panel .primary-button {
    padding: 0 var(--space-4);
}

.auth-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-3);
}

.auth-panel-head .brand {
    margin-bottom: 0;
}

.release-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 7px 10px 7px 8px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(15, 23, 42, 0.1);
    color: var(--text-body);
    font-family: var(--font-heading);
    font-size: var(--fs-caption);
    font-weight: var(--fw-bold);
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 8px 18px -18px rgba(15, 23, 42, 0.28);
}

.release-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: var(--radius-pill);
    background: var(--success);
    box-shadow: 0 0 0 4px var(--success-soft);
    flex: 0 0 auto;
    animation: release-dot-pulse 2.8s ease-in-out infinite;
}

.release-badge span {
    color: var(--text-strong);
    font-weight: var(--fw-extrabold);
}

@keyframes release-dot-pulse {
    0%,
    100% {
        box-shadow: 0 0 0 4px var(--success-soft);
    }

    55% {
        box-shadow: 0 0 0 8px rgba(33, 192, 4, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-background-stripe {
        animation: none;
    }

    .release-badge::before {
        animation: none;
    }
}
