/* Sign-in screen: brand panel (desktop) + form column. */
.auth {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-height: 100vh;
    min-height: 100dvh;
}

@media (min-width: 960px) {
    .auth {
        grid-template-columns: minmax(400px, 44%) minmax(0, 1fr);
    }
}

/* Brand panel ---------------------------------------------------------- */
.auth__brand {
    position: relative;
    display: none;
    overflow: hidden;
    background:
        radial-gradient(90% 70% at 0% 0%, rgba(184, 146, 90, .22) 0%, rgba(184, 146, 90, 0) 60%),
        radial-gradient(120% 90% at 100% 100%, #1f2430 0%, #0e1016 70%);
    color: #f4efe6;
}

@media (min-width: 960px) {
    .auth__brand {
        display: flex;
    }
}

.auth__brand-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--space-12);
    width: 100%;
    padding: var(--space-12);
}

.auth__headline {
    max-width: 13em;
    font-size: var(--text-3xl);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.02em;
}

.auth__lead {
    max-width: 30em;
    margin-top: var(--space-4);
    font-size: var(--text-md);
    color: rgba(244, 239, 230, .66);
}

.auth__brand-foot {
    font-size: var(--text-xs);
    color: rgba(244, 239, 230, .45);
    letter-spacing: .04em;
}

.auth__lenses {
    position: absolute;
    right: -70px;
    bottom: 12%;
    width: 520px;
    max-width: 90%;
    color: var(--color-accent);
    opacity: .5;
    pointer-events: none;
}

/* Form column ----------------------------------------------------------- */
.auth__main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-10) var(--space-4);
}

.auth__panel {
    width: 100%;
    max-width: 400px;
}

.auth__mobile-brand {
    margin-bottom: var(--space-10);
}

@media (min-width: 960px) {
    .auth__mobile-brand {
        display: none;
    }
}

.auth__title {
    font-size: var(--text-2xl);
    font-weight: 600;
    line-height: var(--leading-tight);
    letter-spacing: -.02em;
}

.auth__subtitle {
    margin: var(--space-2) 0 var(--space-8);
    color: var(--color-text-muted);
    font-size: var(--text-md);
}

.auth__alerts {
    display: grid;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
}

.auth__alerts:empty {
    display: none;
}

.auth__options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
}

.auth__footnote {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-8);
    font-size: var(--text-xs);
    color: var(--color-text-subtle);
}

.auth__footnote svg {
    flex: none;
    width: 14px;
    height: 14px;
}

/* Signed-in placeholder (stage 2) --------------------------------------- */
.auth__main--center {
    min-height: 100vh;
    min-height: 100dvh;
}

.welcome {
    width: 100%;
    max-width: 460px;
    padding: var(--space-8);
}

.welcome__head {
    margin: var(--space-8) 0 var(--space-6);
}

.welcome__title {
    font-size: var(--text-2xl);
    font-weight: 600;
    letter-spacing: -.02em;
}

.welcome__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-2);
    color: var(--color-text-muted);
}

.welcome__actions {
    margin-top: var(--space-6);
}
