/* Page stylesheet: auth. Loaded only by the templates that use these classes. Generated from custom.css by the 2026-10-18 split; rules keep their original relative order. */
.auth-page-shell {
    min-height: calc(100svh - 4rem);
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 12%, rgba(var(--color-primary-rgb),.07), transparent 26rem),
        #f8fafc;
}

.auth-aside {
    isolation: isolate;
    background:
        radial-gradient(circle at 8% 4%, rgba(var(--color-primary-rgb),.32), transparent 29rem),
        radial-gradient(circle at 96% 92%, rgba(65,188,255,.13), transparent 25rem),
        linear-gradient(145deg, #111b42, #07102b) !important;
}

html[data-theme="light"] .auth-aside.login-left-panel,
html[data-theme="dark"] .auth-aside.login-left-panel {
    background:
        radial-gradient(circle at 18% 14%, rgb(79 105 255 / 28%), transparent 30rem),
        linear-gradient(145deg, #111a42 0%, #071126 56%, #050b18 100%) !important;
}

.auth-aside::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .45;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(to bottom right, #000, transparent 78%);
}

.auth-form-panel {
    position: relative;
    background: transparent !important;
}

html[data-theme="light"] .auth-form-panel.login-right-panel,
html[data-theme="dark"] .auth-form-panel.login-right-panel {
    background: transparent !important;
    border-left: 0 !important;
}

.auth-form-card {
    padding: clamp(1.35rem, 3vw, 2.25rem);
    border: 1px solid rgba(148,163,184,.22);
    border-radius: 1.25rem;
    background: rgba(255,255,255,.92);
    box-shadow: 0 18px 55px rgba(15,23,42,.08);
    animation: auth-card-enter 360ms cubic-bezier(.2,.75,.25,1) both;
}

.auth-signup-card {
    margin-block: 1rem;
}

.auth-eyebrow {
    margin-bottom: .65rem;
    display: block;
    color: var(--color-primary);
    font-size: .7rem;
    font-weight: 750;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.auth-form-card h1 {
    font-family: var(--font-brand-display, "Inter Tight", "Inter", sans-serif);
    letter-spacing: -.045em !important;
}

.auth-form label {
    color: #334155 !important;
    font-size: .82rem !important;
    font-weight: 650 !important;
}

.auth-form input:not([type="checkbox"]):not([type="hidden"]),
.auth-form select,
.auth-form textarea,
.auth-input {
    min-height: 3rem;
    border: 1px solid #dbe2ea !important;
    border-radius: .75rem !important;
    color: #0f172a !important;
    background: #fff !important;
    box-shadow: 0 1px 2px rgba(15,23,42,.025);
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease !important;
}

.auth-form input:not([type="checkbox"]):not([type="hidden"]):hover,
.auth-form select:hover,
.auth-form textarea:hover {
    border-color: #c1cad6 !important;
}

.auth-form input:not([type="checkbox"]):not([type="hidden"]):focus,
.auth-form select:focus,
.auth-form textarea:focus,
.auth-input:focus {
    outline: none !important;
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb),.14) !important;
}

.auth-form input[aria-invalid="true"],
.auth-form select[aria-invalid="true"] {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220,38,38,.10) !important;
}

.auth-form input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
}

.auth-password-toggle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: .6rem;
    display: grid;
    place-items: center;
}

.auth-password-toggle:hover {
    background: #f1f5f9;
}

.auth-password-toggle:focus-visible {
    outline: 3px solid rgba(var(--color-primary-rgb),.18);
}

.auth-primary-btn {
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(var(--color-primary-rgb),.24) !important;
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease, opacity 160ms ease;
}

.auth-primary-btn:not(:disabled):hover {
    opacity: 1 !important;
    transform: translateY(-1px);
    filter: brightness(1.035);
    box-shadow: 0 11px 25px rgba(var(--color-primary-rgb),.30) !important;
}

.auth-primary-btn:not(:disabled):active {
    transform: translateY(0);
}

.auth-primary-btn:disabled {
    cursor: wait;
    opacity: .65;
}

.auth-support-card {
    position: sticky;
    top: 7rem;
    color: #fff;
    border: 1px solid rgba(255,255,255,.13);
    background: rgba(255,255,255,.07) !important;
    box-shadow: 0 22px 60px rgba(0,0,0,.20) !important;
    backdrop-filter: blur(14px);
}

html body.auth-signup-page .auth-support-card h2 {
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,.18);
}

html body.auth-signup-page .auth-support-card p {
    color: rgba(255,255,255,.72) !important;
}

.auth-support-card > div:first-child {
    background: rgba(255,255,255,.10) !important;
}

.auth-support-card > div:first-child svg {
    color: rgb(var(--brand-200)) !important;
}

.auth-signup-aside {
    align-items: center;
    justify-content: flex-start;
}

/* Login motion — layered brand-panel entrance and smooth news slides. */
.auth-login-page .auth-login-aside {
    animation: auth-login-panel-in 720ms cubic-bezier(.16,1,.3,1) both;
}

.auth-login-content {
    animation: auth-login-content-in 680ms cubic-bezier(.16,1,.3,1) 110ms both;
}

.auth-login-network {
    z-index: 0;
    opacity: .7;
}

.auth-login-network path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    vector-effect: non-scaling-stroke;
    animation: auth-login-path-in 1.4s cubic-bezier(.16,1,.3,1) 280ms forwards;
}

.auth-login-network path:nth-child(2) {
    animation-delay: 520ms;
}

.auth-login-network circle {
    fill: rgb(var(--brand-200));
    stroke: rgba(255,255,255,.48);
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
    transform-box: fill-box;
    transform-origin: center;
    opacity: 0;
    animation: auth-login-node-in 440ms cubic-bezier(.22,1,.36,1) forwards;
}

.auth-login-network circle:nth-of-type(1) { animation-delay: 720ms; }
.auth-login-network circle:nth-of-type(2) { animation-delay: 900ms; }
.auth-login-network circle:nth-of-type(3) { animation-delay: 1080ms; }

.auth-login-orb {
    will-change: transform;
}

.auth-login-orb-top {
    animation: auth-login-orb-top 8s ease-in-out 600ms 3;
}

.auth-login-orb-bottom {
    animation: auth-login-orb-bottom 9s ease-in-out 900ms 3;
}

.auth-login-card .auth-login-reveal {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
    animation: auth-login-reveal-in 560ms cubic-bezier(.16,1,.3,1) forwards;
    animation-delay: calc(120ms + (var(--auth-reveal-index, 0) * 65ms));
}

.auth-news-stage {
    height: 340px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.auth-news-slide {
    position: absolute;
    inset: 0;
    will-change: transform, opacity;
}

.auth-news-enter {
    z-index: 2;
    transition:
        opacity 480ms cubic-bezier(.16,1,.3,1) 70ms,
        transform 650ms cubic-bezier(.16,1,.3,1) 30ms;
}

.auth-news-leave {
    z-index: 1;
    transition:
        opacity 320ms cubic-bezier(.4,0,1,1),
        transform 460ms cubic-bezier(.4,0,.2,1);
}

.auth-news-enter-start {
    opacity: 0;
    transform: translate3d(36px, 0, 0);
}

.auth-news-enter-end,
.auth-news-leave-start {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.auth-news-leave-end {
    opacity: 0;
    transform: translate3d(-26px, 0, 0);
}

.auth-news-pulse {
    animation: auth-news-pulse 2.2s cubic-bezier(0,0,.2,1) 3;
}

.auth-login-news-shell button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

@keyframes auth-login-panel-in {
    from { opacity: .65; transform: translate3d(-22px, 0, 0); }
    to { opacity: 1; transform: none; }
}

@keyframes auth-login-content-in {
    from { opacity: 0; transform: translate3d(0, 18px, 0); }
    to { opacity: 1; transform: none; }
}

@keyframes auth-login-path-in {
    to { stroke-dashoffset: 0; }
}

@keyframes auth-login-node-in {
    from { opacity: 0; transform: scale(.4); }
    to { opacity: .82; transform: scale(1); }
}

@keyframes auth-login-orb-top {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(18px, 12px, 0) scale(1.035); }
}

@keyframes auth-login-orb-bottom {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(-14px, -18px, 0) scale(1.04); }
}

@keyframes auth-login-reveal-in {
    to { opacity: 1; transform: none; }
}

@keyframes auth-news-pulse {
    75%, 100% { transform: scale(2.2); opacity: 0; }
}

@keyframes auth-card-enter {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

html[data-theme="dark"] .auth-page-shell {
    background:
        radial-gradient(circle at 82% 12%, rgba(var(--color-primary-rgb),.10), transparent 26rem),
        #070b16;
}

html[data-theme="dark"] .auth-form-card {
    color: #e5e7eb;
    border-color: rgba(255,255,255,.09);
    background: rgba(15,23,42,.91);
    box-shadow: 0 20px 60px rgba(0,0,0,.28);
}

html[data-theme="dark"] .auth-form label {
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .auth-form input:not([type="checkbox"]):not([type="hidden"]),
html[data-theme="dark"] .auth-form select,
html[data-theme="dark"] .auth-form textarea,
html[data-theme="dark"] .auth-input {
    color: #f8fafc !important;
    border-color: rgba(255,255,255,.12) !important;
    background: rgba(255,255,255,.045) !important;
}

html[data-theme="dark"] .auth-password-toggle:hover {
    background: rgba(255,255,255,.06);
}

@media (max-width: 1023px) {
    .auth-page-shell {
        min-height: calc(100svh - 4rem);
        background:
            radial-gradient(circle at 50% 0, rgba(var(--color-primary-rgb),.09), transparent 24rem),
            #f8fafc;
    }

    .auth-form-panel {
        align-items: flex-start;
        padding-block: clamp(2rem, 7vw, 4rem);
    }

    .auth-form-card {
        margin-inline: auto;
    }

    .auth-login-card {
        animation: auth-login-content-in 560ms cubic-bezier(.16,1,.3,1) both;
    }
}

@media (max-width: 639px) {
    .auth-form-panel {
        padding-inline: 1rem;
    }

    .auth-form-card {
        padding: 1.25rem;
        border-radius: 1rem;
        box-shadow: 0 10px 32px rgba(15,23,42,.07);
    }

    .auth-form-card h1 {
        font-size: 2rem !important;
    }
}
@media (prefers-reduced-motion: reduce) {

    .auth-login-network path {
        stroke-dashoffset: 0 !important;
    }

    .auth-login-network circle,
    .auth-login-card .auth-login-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Login 2026 — homepage-aligned split authentication experience. */
.auth-login-page .auth-login-shell {
    min-height: calc(100svh - 4rem);
    flex-direction: row-reverse;
    background: #fff;
}
.auth-login-page .auth-login-aside {
    width: min(38%, 700px) !important;
    min-width: 430px;
    margin: 1rem 1rem 1rem 0;
    border-radius: 32px;
    background:
        radial-gradient(circle at 18% 18%, rgba(255,255,255,.16), transparent 30%),
        radial-gradient(circle at 82% 74%, rgba(255,255,255,.10), transparent 32%),
        linear-gradient(145deg, var(--color-primary) 0%, var(--color-secondary) 55%, var(--color-primary) 100%) !important;
    box-shadow: 0 22px 60px rgba(var(--color-primary-rgb), .20);
}
html[data-theme="light"] .auth-aside.login-left-panel,
html[data-theme="dark"] .auth-aside.login-left-panel {
    background:
        radial-gradient(circle at 18% 18%, rgba(255,255,255,.16), transparent 30%),
        radial-gradient(circle at 82% 74%, rgba(255,255,255,.10), transparent 32%),
        linear-gradient(145deg, var(--color-primary) 0%, var(--color-secondary) 55%, var(--color-primary) 100%) !important;
}
.auth-login-page .auth-login-aside::after {
    opacity: .28;
    background-image: radial-gradient(circle, rgba(255,255,255,.3) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: linear-gradient(to bottom, #000, transparent 88%);
}
.auth-login-page .auth-login-content {
    padding: clamp(2.25rem,4vw,4rem);
}
.auth-panel-brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    align-self: flex-start;
    padding: .5rem .8rem;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    color: rgba(255,255,255,.9);
    background: rgba(255,255,255,.1);
    font-size: .68rem;
    font-weight: 750;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.auth-panel-brand img { width: auto; max-width: 150px; height: 24px; object-fit: contain; }
.auth-panel-brand span { color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .03em; }
.auth-panel-brand small { padding-left: .65rem; border-left: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.72); font-size: .62rem; font-weight: 700; letter-spacing: .06em; }
.auth-login-page .auth-form-panel {
    width: auto !important;
    min-width: 0;
    flex: 1 1 auto;
    justify-content: flex-start;
    padding: clamp(3rem,7vw,8rem);
    background:
        radial-gradient(circle at 10% 8%, rgba(255,229,215,.48), transparent 22rem),
        #fff !important;
}
.auth-login-page .auth-login-card {
    max-width: 520px;
    margin-inline: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.auth-login-page .auth-eyebrow {
    width: fit-content;
    margin-bottom: 1rem;
    padding: .45rem .72rem;
    border-radius: 999px;
    color: var(--brand-gradient-primary, var(--color-primary));
    background: #ebe7ff;
    letter-spacing: .07em;
}
.auth-login-page .auth-form-card h1 {
    margin-bottom: .65rem !important;
    color: #18182b !important;
    font-size: clamp(2.5rem,4vw,3.5rem) !important;
    font-weight: 720 !important;
    line-height: 1 !important;
}
.auth-login-page .auth-login-card > p {
    margin-bottom: 2.5rem !important;
    color: #737386 !important;
    font-size: .95rem !important;
    line-height: 1.65;
}
.auth-login-page .auth-form { display: grid; gap: 1.25rem; }
.auth-login-page .auth-form > * { margin-top: 0 !important; }
.auth-login-page .auth-form label { color: #343447 !important; }
.auth-login-page .auth-form input:not([type="checkbox"]):not([type="hidden"]),
.auth-login-page .auth-input {
    min-height: 3.45rem;
    border-color: #dedee7 !important;
    border-radius: .9rem !important;
    background: #fbfbfd !important;
    box-shadow: none;
}
.auth-login-page .auth-form input:not([type="checkbox"]):not([type="hidden"]):focus,
.auth-login-page .auth-input:focus {
    border-color: var(--color-primary) !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb),.12) !important;
}
.auth-login-page .auth-password-toggle { right: .45rem; }
.auth-login-page .auth-login-reset { color: rgb(var(--brand-700)); white-space: nowrap; }
.auth-login-page .auth-primary-btn {
    position: relative;
    height: var(--auth-action-height);
    min-height: var(--auth-action-height);
    padding-inline: 1.25rem 3.5rem !important;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: var(--auth-action-radius);
    background: linear-gradient(135deg, var(--auth-action-primary) 0%, var(--auth-action-primary-mid) 55%, var(--auth-action-primary-deep) 100%) !important;
    box-shadow:
        0 12px 28px rgba(82,111,255,.27),
        inset 0 1px 0 rgba(255,255,255,.24) !important;
    letter-spacing: -.01em;
    isolation: isolate;
    overflow: hidden;
}
.auth-login-page .auth-primary-btn::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    background: linear-gradient(110deg, transparent 15%, rgba(255,255,255,.16) 48%, transparent 75%);
    opacity: 0;
    transform: translateX(-35%);
    transition: opacity 180ms ease, transform 260ms var(--mero-ease-out);
}
.auth-login-page .auth-primary-btn:not(:disabled):hover {
    box-shadow:
        0 16px 34px rgba(82,111,255,.34),
        inset 0 1px 0 rgba(255,255,255,.3) !important;
}
.auth-login-page .auth-primary-btn:not(:disabled):hover::before {
    opacity: 1;
    transform: translateX(30%);
}
.auth-login-page .auth-primary-btn:focus-visible {
    outline: 3px solid rgba(82,111,255,.26);
    outline-offset: 3px;
}
.auth-login-page .auth-primary-arrow {
    position: absolute;
    right: 1.2rem;
    width: 1.15rem;
    height: 1.15rem;
    transition: transform var(--mero-motion-fast) var(--mero-ease-out);
}
.auth-login-page .auth-primary-btn:not(:disabled):hover .auth-primary-arrow {
    transform: translateX(3px);
}
.auth-login-page .auth-login-actions {
    --auth-action-height: 3.75rem;
    --auth-action-radius: 1rem;
    --auth-action-primary: #526fff;
    --auth-action-primary-mid: var(--color-primary);
    --auth-action-primary-deep: #4738c7;
    display: grid;
    grid-template-columns: minmax(160px, .78fr) minmax(240px, 1.22fr);
    align-items: stretch;
    gap: .75rem;
}
.auth-login-page .auth-login-actions-single { grid-template-columns: 1fr; }
.auth-login-page .auth-google-container {
    width: 100%;
    min-width: 0;
    height: var(--auth-action-height);
    min-height: var(--auth-action-height);
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    overflow: visible;
    border-radius: var(--auth-action-radius);
}
.auth-login-page .auth-google-container > div,
.auth-login-page .auth-google-container iframe { max-width: 100% !important; }
.auth-login-page .auth-google-btn {
    width: 100%;
    height: var(--auth-action-height);
    min-height: var(--auth-action-height);
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    border: 1px solid #d9dce8;
    border-radius: var(--auth-action-radius);
    color: #343447;
    background: linear-gradient(180deg, #fff 0%, #fafbff 100%);
    font-size: .875rem;
    font-weight: 650;
    box-shadow: 0 5px 14px rgba(31,41,75,.06), inset 0 1px 0 rgba(255,255,255,.9);
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}
.auth-login-page .auth-google-btn:hover {
    color: #343447;
    border-color: #c6c4d7;
    background: #fff;
    box-shadow: 0 10px 22px rgba(45,43,79,.11), inset 0 1px 0 #fff;
}
.auth-login-page .auth-google-btn:focus-visible {
    outline: 3px solid rgba(var(--color-primary-rgb),.18);
    outline-offset: 2px;
}
.auth-login-page .auth-google-btn svg { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; }
.auth-login-page .auth-login-actions .auth-primary-btn {
    width: 100%;
    min-height: var(--auth-action-height);
}
.auth-login-page .auth-login-card > div:last-child { justify-content: flex-start; }
.auth-login-page .auth-news-stage { height: 300px; }
.auth-login-page .auth-news-slide h2 { font-size: clamp(1.8rem,2.5vw,2.5rem) !important; letter-spacing: -.035em !important; }
.auth-login-page .auth-news-slide p { max-width: 40ch !important; }
.auth-login-page .auth-login-network { opacity: .42; }
.auth-login-page .auth-login-orb { opacity: .65; }
.auth-login-page .ref-portal-footer { background: #fff; }

html[data-theme="dark"] .auth-login-page .auth-login-shell,
html[data-theme="dark"] .auth-login-page .auth-form-panel { background: #0a0c16 !important; }
html[data-theme="dark"] .auth-login-page .auth-login-card { background: transparent; box-shadow: none; }
html[data-theme="dark"] .auth-login-page .auth-form-card h1 { color: #f8fafc !important; }
html[data-theme="dark"] .auth-login-page .auth-login-card > p { color: #9ca3b6 !important; }
html[data-theme="dark"] .auth-login-page .auth-form input:not([type="checkbox"]):not([type="hidden"]),
html[data-theme="dark"] .auth-login-page .auth-input { border-color: rgba(255,255,255,.12) !important; background: rgba(255,255,255,.05) !important; }
html[data-theme="dark"] .auth-login-page .auth-google-btn {
    color: #eef2ff;
    border-color: rgba(255,255,255,.14);
    background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.055));
    box-shadow: 0 8px 20px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.08);
}
html[data-theme="dark"] .auth-login-page .auth-google-btn:hover {
    color: #fff;
    border-color: rgba(129,140,248,.45);
    background: rgba(255,255,255,.11);
}
html[data-theme="dark"] .auth-login-page .ref-portal-footer { background: #0a0c16; }

@media (max-width: 1023px) {
    .auth-login-page .auth-login-shell { display: block; }
    .auth-login-page .auth-form-panel { min-height: calc(100svh - 8rem); justify-content: center; padding: clamp(2.5rem,8vw,5rem) 1.5rem; }
    .auth-login-page .auth-login-card { max-width: 520px; }
}
@media (max-width: 639px) {
    .public-auth-page .auth-page-shell,
    .public-auth-page .auth-form-panel,
    .public-auth-page .auth-form-card { width: 100%; min-width: 0; max-width: 100%; }
    .auth-login-page .auth-form-panel { align-items: flex-start; min-height: auto; padding: 1.5rem 1.25rem 2.5rem; }
    .auth-login-page .auth-form-card h1 { font-size: clamp(2rem,10vw,2.35rem) !important; line-height: 1.05 !important; }
    .auth-login-page .auth-eyebrow { margin-bottom: .8rem; padding: .4rem .65rem; font-size: .65rem; }
    .auth-login-page .auth-login-options { align-items: flex-start; flex-direction: column; gap: .75rem; }
    .auth-login-page .auth-login-actions {
        --auth-action-height: 3.5rem;
        grid-template-columns: 1fr;
    }
    .auth-login-page .auth-login-card > p {
        max-width: 100%;
        margin-bottom: 1.5rem !important;
        overflow-wrap: anywhere;
        white-space: normal;
    }
    .auth-login-page .auth-form { gap: 1rem; }
    .auth-login-page .auth-form input:not([type="checkbox"]):not([type="hidden"]),
    .auth-login-page .auth-input { min-height: 3.25rem; height: auto; }
    .auth-login-page .auth-primary-btn,
    .auth-login-page .auth-google-container,
    .auth-login-page .auth-google-btn { min-height: var(--auth-action-height); height: var(--auth-action-height); }
}

/* Registration 2026 — companion layout to the login experience. */
.auth-signup-page .auth-signup-shell {
    min-height: calc(100svh - 4rem);
    flex-direction: row-reverse;
    align-items: stretch;
    overflow: visible;
    background: #fff;
}
.auth-signup-page .auth-signup-aside {
    position: relative;
    align-self: stretch;
    width: min(36%, 660px) !important;
    height: auto;
    min-height: calc(100vh - 4rem);
    min-height: calc(100dvh - 4rem);
    min-width: 420px;
    align-items: center;
    justify-content: stretch;
    margin: 0 1rem 0 0;
    padding: 0;
    border-radius: 0 0 32px 32px;
    overflow: clip;
    background:
        radial-gradient(circle at 18% 18%, rgba(255,255,255,.16), transparent 28%),
        radial-gradient(circle at 82% 80%, rgba(211,224,255,.18), transparent 28%),
        linear-gradient(145deg, var(--color-primary) 0%, var(--color-secondary) 52%, var(--color-primary) 100%) !important;
    box-shadow: 0 22px 60px rgba(66,53,176,.18);
}
.auth-signup-page .auth-signup-sticky-content {
    position: sticky;
    top: 4rem;
    isolation: isolate;
    width: 100%;
    height: calc(100vh - 4rem);
    height: calc(100dvh - 4rem);
    min-height: 34rem;
    padding: clamp(2rem,5vh,4rem) clamp(2rem,4vw,4rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.auth-signup-panel-brand {
    position: relative;
    z-index: 2;
    align-self: center;
    margin-bottom: 2.25rem;
}
.auth-signup-page .auth-signup-aside::after {
    opacity: .26;
    background-image: radial-gradient(circle, rgba(255,255,255,.3) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: linear-gradient(to bottom,#000,transparent 92%);
}
.auth-signup-page .auth-support-card {
    position: relative;
    top: auto;
    max-width: 390px;
    padding: 2.25rem;
    align-items: flex-start;
    text-align: left;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 28px;
    background: rgba(255,255,255,.105) !important;
    box-shadow: 0 20px 55px rgba(32,22,115,.18) !important;
    backdrop-filter: blur(14px);
}
.auth-signup-page .auth-support-card > div:first-child { margin-bottom: 1.25rem !important; padding: .75rem !important; border-radius: 14px; }
.auth-signup-page .auth-support-card > div:first-child svg { width: 1.75rem; height: 1.75rem; }
.auth-signup-page .auth-support-card h2 { font-size: 1.45rem !important; letter-spacing: -.025em; }
.auth-signup-page .auth-support-card p { margin-bottom: 1.5rem !important; }
.auth-signup-benefits { width: 100%; margin: 0 0 1.75rem; padding: 0; display: grid; gap: .8rem; list-style: none; }
.auth-signup-benefits li { display: flex; align-items: center; gap: .65rem; color: rgba(255,255,255,.88); font-size: .82rem; font-weight: 600; }
.auth-signup-benefits span { width: 22px; height: 22px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: #fff; background: rgba(255,255,255,.15); font-size: .65rem; }
.auth-signup-page .auth-support-card > a { min-height: 3.35rem; border: 1px solid rgba(255,255,255,.2); border-radius: .9rem; background: #fff !important; color: var(--brand-gradient-primary, var(--color-primary)) !important; box-shadow: 0 10px 24px rgba(37,27,114,.15) !important; }
.auth-signup-page .auth-form-panel {
    width: auto !important;
    min-width: 0;
    flex: 1 1 auto;
    justify-content: center;
    padding: clamp(3rem,6vw,6rem);
    background:
        radial-gradient(circle at 8% 4%, rgba(255,229,215,.42), transparent 21rem),
        #fff !important;
}
.auth-signup-page .auth-signup-card {
    max-width: 760px;
    margin-block: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.auth-signup-page .auth-eyebrow {
    width: fit-content;
    margin-bottom: 1rem;
    padding: .45rem .72rem;
    border-radius: 999px;
    color: var(--brand-gradient-primary, var(--color-primary));
    background: #ebe7ff;
    letter-spacing: .07em;
}
.auth-signup-page .auth-form-card h1 {
    margin-bottom: .65rem !important;
    color: #18182b !important;
    font-size: clamp(2.5rem,4vw,3.5rem) !important;
    font-weight: 720 !important;
    line-height: 1 !important;
}
.auth-signup-page .auth-signup-card > p { margin-bottom: 2.5rem !important; color: #737386 !important; font-size: .95rem; }
.auth-signup-page .auth-signup-social { padding: 1rem; border: 1px solid #e7e5ef; border-radius: 20px; background: #faf9ff; }
.auth-signup-page .auth-google-container { width: 100%; min-height: 3.45rem; display: flex; }
.auth-signup-page .auth-google-btn {
    width: 100%;
    min-height: 3.45rem;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    border: 1px solid #dedee7;
    border-radius: .9rem;
    color: #343447;
    background: #fff;
    font-size: .875rem;
    font-weight: 650;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}
.auth-signup-page .auth-google-btn:hover { color: #343447; border-color: #c6c4d7; background: #f7f5ff; box-shadow: 0 6px 16px rgba(45,43,79,.07); }
.auth-signup-page .auth-google-btn:focus-visible { outline: 3px solid rgba(var(--color-primary-rgb),.18); outline-offset: 2px; }
.auth-signup-page .auth-google-btn svg { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; }
.auth-signup-page .auth-signup-form { display: grid; gap: 1.5rem; }
.auth-signup-page .auth-signup-form > * { margin-top: 0 !important; }
.auth-signup-page .auth-signup-form h3 { color: var(--brand-gradient-primary, var(--color-primary)) !important; border-color: #ded9ff !important; }
.auth-signup-page .auth-form input:not([type="checkbox"]):not([type="hidden"]),
.auth-signup-page .auth-form select,
.auth-signup-page .auth-input {
    min-height: 3.35rem;
    border-color: #dedee7 !important;
    border-radius: .9rem !important;
    background: #fbfbfd !important;
    box-shadow: none;
}
.auth-signup-page .auth-form input:not([type="checkbox"]):not([type="hidden"]):focus,
.auth-signup-page .auth-form select:focus,
.auth-signup-page .auth-input:focus { border-color: var(--color-primary) !important; background: #fff !important; box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb),.12) !important; }
.auth-signup-page .auth-primary-btn { min-height: 3.55rem; border-radius: .9rem; background: var(--color-primary) !important; box-shadow: 0 10px 24px rgba(var(--color-primary-rgb),.24) !important; }
.auth-signup-page .auth-primary-btn:not(:disabled):hover { background: rgb(var(--brand-700)) !important; box-shadow: 0 14px 28px rgba(var(--color-primary-rgb),.3) !important; }
.auth-signup-page .auth-signup-card > div:last-child { justify-content: flex-start; }

html[data-theme="dark"] .auth-signup-page .auth-signup-shell,
html[data-theme="dark"] .auth-signup-page .auth-form-panel { background: #0a0c16 !important; }
html[data-theme="dark"] .auth-signup-page .auth-signup-card { background: transparent; box-shadow: none; }
html[data-theme="dark"] .auth-signup-page .auth-form-card h1 { color: #f8fafc !important; }
html[data-theme="dark"] .auth-signup-page .auth-signup-card > p { color: #9ca3b6 !important; }
html[data-theme="dark"] .auth-signup-page .auth-signup-social { border-color: rgba(255,255,255,.1); background: rgba(255,255,255,.035); }
html[data-theme="dark"] .auth-signup-page .auth-google-btn { color: #e5e7eb; border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.05); }

@media (max-width: 1023px) {
    .auth-signup-page .auth-signup-shell { display: block; }
    .auth-signup-page .auth-signup-aside {
        position: relative;
        width: auto !important;
        height: auto;
        min-height: 0;
        min-width: 0;
        margin: 0;
    }
    .auth-signup-page .auth-signup-sticky-content {
        position: relative;
        top: auto;
        height: auto;
        min-height: 0;
        padding: 2rem;
    }
    .auth-signup-page .auth-form-panel { padding: clamp(2.5rem,8vw,5rem) 1.5rem; }
    .auth-signup-page .auth-signup-card { max-width: 760px; }
}
@media (max-width: 639px) {
    .auth-signup-page .auth-form-panel { padding: 1.5rem 1.25rem 2.5rem; overflow-x: clip; }
    .auth-signup-page .auth-form-card h1 { font-size: clamp(2rem,10vw,2.35rem) !important; line-height: 1.05 !important; }
    .auth-signup-page .auth-eyebrow { margin-bottom: .8rem; padding: .4rem .65rem; font-size: .65rem; }
    .auth-signup-page .auth-signup-card > p { max-width: 100%; margin-bottom: 1.5rem !important; overflow-wrap: anywhere; white-space: normal; }
    .auth-signup-page .auth-signup-social { padding: .8rem; }
    .auth-signup-page .auth-signup-form { gap: 1.25rem; }
}
.auth-login-page .auth-primary-btn,
.auth-signup-page .auth-primary-btn,
.auth-login-page .auth-google-btn,
.auth-signup-page .auth-google-btn,
.auth-signup-page .auth-support-card > a {
    transform: translate3d(0,0,0);
    transition:
        color var(--mero-motion-fast) ease,
        background-color var(--mero-motion-fast) ease,
        border-color var(--mero-motion-fast) ease,
        box-shadow var(--mero-motion-base) var(--mero-ease-out),
        transform var(--mero-motion-fast) var(--mero-ease-out),
        opacity var(--mero-motion-fast) ease !important;
}
.auth-login-page .auth-primary-btn:not(:disabled):hover,
.auth-signup-page .auth-primary-btn:not(:disabled):hover,
.auth-signup-page .auth-support-card > a:hover { transform: translate3d(0,-2px,0); }
.auth-login-page .auth-google-btn:hover,
.auth-signup-page .auth-google-btn:hover { transform: translate3d(0,-1px,0); }
.auth-login-page .auth-primary-btn:not(:disabled):active,
.auth-signup-page .auth-primary-btn:not(:disabled):active,
.auth-login-page .auth-google-btn:active,
.auth-signup-page .auth-google-btn:active,
.auth-signup-page .auth-support-card > a:active { transform: translate3d(0,0,0) scale(.985); }
.auth-login-page .auth-form > div:focus-within > label,
.auth-signup-page .auth-form > div:focus-within > label,
.auth-signup-page .auth-form .grid > div:focus-within > label { color: rgb(var(--brand-700)) !important; }
.auth-login-page .auth-form label,
.auth-signup-page .auth-form label { transition: color var(--mero-motion-fast) ease; }
.auth-login-page .auth-password-toggle svg { transition: transform var(--mero-motion-fast) var(--mero-ease-out), color var(--mero-motion-fast) ease; }
.auth-login-page .auth-password-toggle:hover svg { transform: scale(1.08); }
.auth-login-page .auth-login-reset,
.auth-login-page .auth-login-card > p a,
.auth-signup-page .auth-signup-card > p a {
    text-decoration-color: transparent;
    transition: color var(--mero-motion-fast) ease, text-decoration-color var(--mero-motion-fast) ease;
}
.auth-login-page .auth-login-reset:hover,
.auth-login-page .auth-login-card > p a:hover,
.auth-signup-page .auth-signup-card > p a:hover { text-decoration-color: currentColor; }
.auth-signup-page .auth-support-card > a svg { transition: transform var(--mero-motion-base) var(--mero-ease-out); }
.auth-signup-page .auth-support-card > a:hover svg { transform: translate3d(3px,0,0); }

@media (prefers-reduced-motion: no-preference) {
    .auth-signup-page .auth-signup-aside {
        animation: auth-signup-panel-enter 680ms var(--mero-ease-out) both;
    }
    .auth-signup-page .auth-signup-panel-brand {
        animation: auth-signup-item-enter var(--mero-motion-enter) var(--mero-ease-out) 100ms both;
    }
    .auth-signup-page .auth-support-card {
        animation: auth-signup-item-enter 560ms var(--mero-ease-out) 180ms both;
    }
    .auth-signup-page .auth-signup-card > .auth-eyebrow,
    .auth-signup-page .auth-signup-card > h1,
    .auth-signup-page .auth-signup-card > p,
    .auth-signup-page .auth-signup-card > .auth-signup-social,
    .auth-signup-page .auth-signup-form {
        opacity: 0;
        animation: auth-signup-form-enter var(--mero-motion-enter) var(--mero-ease-out) both;
    }
    .auth-signup-page .auth-signup-card > h1 { animation-delay: 60ms; }
    .auth-signup-page .auth-signup-card > p { animation-delay: 110ms; }
    .auth-signup-page .auth-signup-card > .auth-signup-social { animation-delay: 160ms; }
    .auth-signup-page .auth-signup-form { animation-delay: 210ms; }
}
@keyframes auth-signup-panel-enter {
    from { opacity: .7; transform: translate3d(24px,0,0); }
    to { opacity: 1; transform: none; }
}
@keyframes auth-signup-item-enter {
    from { opacity: 0; transform: translate3d(0,18px,0) scale(.985); }
    to { opacity: 1; transform: none; }
}
@keyframes auth-signup-form-enter {
    from { opacity: 0; transform: translate3d(0,14px,0); }
    to { opacity: 1; transform: none; }
}
.public-auth-page .auth-topbar {
    min-height: 4.5rem; padding-block: .875rem; border-bottom: 1px solid var(--auth-line);
    background: rgba(255,255,255,.94) !important; backdrop-filter: blur(16px);
}
.public-auth-page .auth-topbar > a,
.public-auth-page .auth-topbar button,
.public-auth-page .auth-topbar a:last-child { min-height: 44px; }
.public-auth-page .auth-topbar > a { padding-block: .35rem; }
.public-auth-page .auth-topbar > a img { max-width: 11rem; max-height: 2rem; }
.public-auth-page .auth-page-shell { min-height: calc(100svh - 4.5rem); background: var(--auth-canvas); }
.auth-login-page .auth-login-shell,
.auth-signup-page .auth-signup-shell { background: var(--auth-canvas); }
.auth-login-page .auth-login-aside,
.auth-signup-page .auth-signup-aside {
    width: clamp(25rem,40%,39rem) !important; min-width: 25rem; margin: 1.25rem 0 1.25rem 1.25rem;
    border-radius: 1.5rem; box-shadow: 0 18px 48px rgba(15,23,42,.14);
    background: radial-gradient(circle at 12% 8%,rgba(var(--color-primary-rgb),.28),transparent 26rem),
        radial-gradient(circle at 92% 86%,rgba(96,165,250,.14),transparent 22rem),
        linear-gradient(145deg,#111a35 0%,#091225 55%,#070d1b 100%) !important;
}
html[data-theme="light"] .auth-aside.login-left-panel,
html[data-theme="dark"] .auth-aside.login-left-panel {
    background: radial-gradient(circle at 12% 8%,rgba(var(--color-primary-rgb),.28),transparent 26rem),
        radial-gradient(circle at 92% 86%,rgba(96,165,250,.14),transparent 22rem),
        linear-gradient(145deg,#111a35 0%,#091225 55%,#070d1b 100%) !important;
}
.auth-login-page .auth-login-aside::after,
.auth-signup-page .auth-signup-aside::after { opacity: .18; }
.auth-panel-brand { padding: .55rem .8rem; border-radius: .75rem; background: rgba(255,255,255,.075); }
.auth-login-page .auth-form-panel,
.auth-signup-page .auth-form-panel { padding: clamp(2.5rem,5vw,5.5rem); background: var(--auth-canvas) !important; }
.auth-login-page .auth-login-card { max-width: 29rem; }
.auth-login-page .auth-form-card h1,
.auth-signup-page .auth-form-card h1 {
    color: var(--auth-ink) !important; font-size: clamp(2.25rem,3.5vw,3rem) !important;
    font-weight: 750 !important; line-height: 1.05 !important;
}
.auth-login-page .auth-login-card > p,
.auth-signup-page .auth-signup-card > p { color: var(--auth-muted) !important; }
.auth-login-page .auth-eyebrow,
.auth-signup-page .auth-eyebrow { padding: 0; color: var(--color-primary); background: transparent; letter-spacing: .12em; }
.auth-login-page .auth-form label,
.auth-signup-page .auth-form label { color: #334155 !important; }
.auth-login-page .auth-form input:not([type="checkbox"]):not([type="hidden"]),
.auth-login-page .auth-input,
.auth-signup-page .auth-form input:not([type="checkbox"]):not([type="hidden"]),
.auth-signup-page .auth-form select,
.auth-signup-page .auth-input {
    min-height: 3.25rem; border-color: #cbd5e1 !important; border-radius: .75rem !important;
    background: var(--auth-surface) !important;
}
.auth-login-page .auth-login-reset { color: var(--color-primary); }
.auth-login-page .auth-login-options { min-height: 2rem; }
.auth-login-page .auth-primary-btn,
.auth-signup-page .auth-primary-btn {
    min-height: var(--auth-action-height); border-radius: var(--auth-action-radius);
    background: var(--color-primary) !important; box-shadow: 0 8px 20px rgba(var(--color-primary-rgb),.22) !important;
}
.auth-login-page .auth-primary-btn:not(:disabled):hover,
.auth-signup-page .auth-primary-btn:not(:disabled):hover {
    background: var(--color-secondary) !important; box-shadow: 0 10px 24px rgba(var(--color-primary-rgb),.28) !important;
}
.auth-login-page .auth-login-actions { grid-template-columns: 1fr; }
.auth-login-page .auth-google-container,
.auth-login-page .auth-google-btn { height: var(--auth-action-height); min-height: var(--auth-action-height); border-radius: var(--auth-action-radius); }
.auth-login-page .auth-google-btn,
.auth-signup-page .auth-google-btn { border-color: #cbd5e1; box-shadow: none; }
.auth-divider { display: flex; align-items: center; gap: .9rem; color: #94a3b8; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.auth-divider::before,
.auth-divider::after { content: ""; height: 1px; flex: 1; background: var(--auth-line); }
.auth-mobile-switch { display: none; margin: 1.5rem 0 0 !important; text-align: center; color: var(--auth-muted) !important; font-size: .875rem !important; }
.auth-mobile-switch a { color: var(--color-primary); font-weight: 700; }
.auth-login-page .auth-login-card > div:last-child,
.auth-signup-page .auth-signup-card > div:last-child { justify-content: center; }
.auth-login-page .auth-news-stage { height: 280px; }
.auth-login-page .auth-news-slide h2 { max-width: 15ch; font-size: clamp(1.75rem,2.35vw,2.25rem) !important; }
.auth-login-page .auth-news-slide p { color: rgba(255,255,255,.72) !important; }
.auth-signup-page .auth-signup-aside { border-radius: 1.5rem; min-height: calc(100dvh - 7rem); }
.auth-signup-page .auth-signup-sticky-content { top: 1.25rem; height: calc(100dvh - 7rem); min-height: 32rem; }
.auth-signup-page .auth-support-card { padding: 2rem; border-radius: 1.25rem; background: rgba(255,255,255,.07) !important; box-shadow: none !important; }
.auth-signup-page .auth-support-card > a { border-radius: .75rem; }
.auth-signup-page .auth-form-panel { align-items: flex-start; }
.auth-signup-page .auth-signup-card { max-width: 45rem; }
.auth-signup-page .auth-signup-social { padding: 0; border: 0; border-radius: 0; background: transparent; }
.auth-signup-page .auth-signup-form h3 { padding-bottom: .7rem; color: #475569 !important; border-color: var(--auth-line) !important; }
html[data-theme="dark"] .public-auth-page .auth-topbar { background: rgba(8,13,24,.94) !important; }
html[data-theme="dark"] .auth-login-page .auth-login-shell,
html[data-theme="dark"] .auth-signup-page .auth-signup-shell,
html[data-theme="dark"] .auth-login-page .auth-form-panel,
html[data-theme="dark"] .auth-signup-page .auth-form-panel { background: var(--auth-canvas) !important; }
html[data-theme="dark"] .auth-login-page .auth-form label,
html[data-theme="dark"] .auth-signup-page .auth-form label { color: #cbd5e1 !important; }
html[data-theme="dark"] .auth-login-page .auth-google-btn,
html[data-theme="dark"] .auth-signup-page .auth-google-btn { border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.045); }
@media (max-width: 1023px) {
    .auth-login-page .auth-form-panel,
    .auth-signup-page .auth-form-panel { min-height: calc(100svh - 4.5rem); padding: 3.5rem 1.5rem; }
    .auth-mobile-switch { display: block; }
}
@media (max-width: 639px) {
    .public-auth-page .auth-topbar { padding-inline: 1rem !important; }
    .public-auth-page .auth-topbar .text-sm > span { display: none; }
    .public-auth-page .auth-topbar .text-sm > a { padding-inline: .8rem; }
    .auth-login-page .auth-form-panel,
    .auth-signup-page .auth-form-panel { padding: 2rem 1rem 2.5rem; }
    .auth-login-page .auth-login-card > p,
    .auth-signup-page .auth-signup-card > p { margin-bottom: 1.75rem !important; }
    .auth-login-page .auth-login-options { align-items: center; flex-direction: row; gap: .75rem; }
    .auth-signup-page .auth-signup-form .grid { gap: .9rem; }
}

/* ── Login refinements: inline field errors, labelled show/hide, panel trust row ── */
.auth-login-page .auth-field-error { margin: .4rem 0 0; font-size: .8125rem; font-weight: 500; color: #b91c1c; }
.auth-login-page .auth-field-hint { margin: .4rem 0 0; font-size: .8125rem; color: #92400e; }
.auth-login-page .auth-input[aria-invalid="true"] { border-color: #f87171; background: #fef2f2; }
.auth-login-page .auth-login-error { color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; }
.auth-login-page .auth-password-toggle.auth-show-btn { right: .5rem; display: inline-flex; flex-direction: row; align-items: center; width: auto; height: auto; min-height: 2.25rem; padding: 0 .6rem; border-radius: .5rem; white-space: nowrap; }
.auth-login-page .auth-show-btn:hover { background: rgba(15, 23, 42, .06); }
.auth-login-page .auth-panel-trust { list-style: none; margin: auto 0 0; padding: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; font-size: .8125rem; color: rgba(255, 255, 255, .75); }
.auth-login-page .auth-panel-trust li { display: inline-flex; align-items: center; gap: .5rem; }
.auth-login-page .auth-panel-trust svg { width: 1rem; height: 1rem; flex: none; }
html[data-theme="dark"] .auth-login-page .auth-field-error { color: #fca5a5; }
html[data-theme="dark"] .auth-login-page .auth-field-hint { color: #fcd34d; }
html[data-theme="dark"] .auth-login-page .auth-input[aria-invalid="true"] { border-color: #f87171; background: rgba(248, 113, 113, .1); }
html[data-theme="dark"] .auth-login-page .auth-login-error { color: #fecaca; background: rgba(248, 113, 113, .12); border-color: rgba(248, 113, 113, .35); }
html[data-theme="dark"] .auth-login-page .auth-show-btn { color: #cbd5e1; }
html[data-theme="dark"] .auth-login-page .auth-show-btn:hover { background: rgba(255, 255, 255, .08); color: #fff; }

/* ── Login: full-bleed stage panel + centred form (desktop) ── */
.auth-login-page .auth-stage-logo { display: inline-flex; align-self: flex-start; }
.auth-login-page .auth-stage-logo img { height: 2rem; width: auto; }
.auth-login-page .auth-stage-logo span { color: #fff; font-weight: 700; font-size: 1.25rem; }
.auth-login-page .auth-stage { margin: auto 0; max-width: 34rem; }
.auth-login-page .auth-stage-slides { display: grid; }
.auth-login-page .auth-stage-slide { grid-area: 1 / 1; }
.auth-login-page .auth-stage-slide h2 { color: #fff; font-size: clamp(2rem, 3.2vw, 3.1rem); font-weight: 750; line-height: 1.05; letter-spacing: -.03em; margin: 0 0 1rem; }
.auth-login-page .auth-grad { background: linear-gradient(90deg, #818cf8, #5eead4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-login-page .auth-stage-slide p { color: rgba(255,255,255,.7); font-size: 1.0625rem; line-height: 1.6; max-width: 32rem; margin: 0 0 1.75rem; }
.auth-login-page .auth-stage-card { list-style: none; margin: 0; padding: .35rem 1.1rem; border: 1px solid rgba(255,255,255,.1); border-radius: 1rem; background: rgba(255,255,255,.04); max-width: 30rem; }
.auth-login-page .auth-stage-card li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 0; color: #fff; font-size: .9375rem; font-weight: 500; }
.auth-login-page .auth-stage-card li + li { border-top: 1px solid rgba(255,255,255,.07); }
.auth-login-page .auth-stage-card b { font-weight: 600; font-size: .8125rem; padding: .25rem .7rem; border-radius: 9999px; color: #064e3b; background: #d1fae5; }
.auth-login-page .auth-stage-link { color: #a5b4fc; font-weight: 600; font-size: .875rem; }
.auth-login-page .auth-stage-dashes { display: flex; gap: .5rem; margin-top: 2rem; }
.auth-login-page .auth-stage-dashes button { width: 1.5rem; height: .3rem; border: 0; padding: 0; border-radius: 9999px; background: rgba(255,255,255,.2); cursor: pointer; transition: width .3s ease, background .3s ease; }
.auth-login-page .auth-stage-dashes button.is-on { width: 2.5rem; background: linear-gradient(90deg, #818cf8, #5eead4); }
.auth-login-page .auth-stage-dashes button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.auth-login-page .auth-corner-toggle { position: absolute; top: 1.25rem; right: 1.25rem; width: 2.5rem; height: 2.5rem; place-items: center; border-radius: .6rem; border: 1px solid var(--auth-line, rgba(15,23,42,.1)); background: var(--auth-surface, #fff); color: inherit; cursor: pointer; }
.auth-login-page .auth-corner-toggle:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.auth-login-page .auth-form-panel { position: relative; }
.auth-login-page .auth-mobile-switch { display: block; margin-top: 1.5rem !important; }
@media (min-width: 1024px) {
    .auth-login-page .auth-login-shell { min-height: 100svh; }
    .auth-login-page .auth-login-aside { width: 50% !important; min-width: 0; margin: 0; border-radius: 0; box-shadow: none; padding: clamp(2.5rem, 4vw, 4rem); }
    .auth-login-page .auth-login-aside .auth-login-content { padding: 0 !important; }
    .auth-login-page .auth-login-card > h1 { font-size: 2rem !important; }
}
@media (prefers-reduced-motion: reduce) { .auth-login-page .auth-stage-dashes button { transition: none; }
}
.auth-login-page .auth-login-network { display: none; }
html[data-theme="dark"] .auth-login-page .auth-eyebrow { color: #94a3b8 !important; }
html[data-theme="dark"] .auth-login-page .auth-login-reset,
html[data-theme="dark"] .auth-login-page .auth-mobile-switch a { color: #a5b4fc !important; }
html[data-theme="dark"] .auth-login-page .auth-mobile-switch { color: #94a3b8 !important; }
html[data-theme="dark"] .auth-login-page .auth-corner-toggle { color: #e2e8f0; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
html[data-theme="dark"] .auth-login-page .auth-primary-btn { background: var(--color-primary) !important; border-color: transparent !important; color: #fff !important; }
/* Slides stay in the layout (stacked in one grid cell) so the stage is always as tall as the tallest slide; only opacity changes, so nothing shifts when the slide changes. */
.auth-login-page .auth-stage-slide { opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility 0s linear .4s; align-self: start; }
.auth-login-page .auth-stage-slide.is-on { opacity: 1; visibility: visible; transition: opacity .4s ease; }
@media (prefers-reduced-motion: reduce) { .auth-login-page .auth-stage-slide, .auth-login-page .auth-stage-slide.is-on { transition: none; }
}

/* ── Signup: same stage layout as login ── */
/* ── Login refinements: inline field errors, labelled show/hide, panel trust row ── */
.auth-signup-page .auth-field-error { margin: .4rem 0 0; font-size: .8125rem; font-weight: 500; color: #b91c1c; }
.auth-signup-page .auth-field-hint { margin: .4rem 0 0; font-size: .8125rem; color: #92400e; }
.auth-signup-page .auth-input[aria-invalid="true"] { border-color: #f87171; background: #fef2f2; }
.auth-signup-page .auth-login-error { color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; }
.auth-signup-page .auth-password-toggle.auth-show-btn { right: .5rem; display: inline-flex; flex-direction: row; align-items: center; width: auto; height: auto; min-height: 2.25rem; padding: 0 .6rem; border-radius: .5rem; white-space: nowrap; }
.auth-signup-page .auth-show-btn:hover { background: rgba(15, 23, 42, .06); }
.auth-signup-page .auth-panel-trust { list-style: none; margin: auto 0 0; padding: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; font-size: .8125rem; color: rgba(255, 255, 255, .75); }
.auth-signup-page .auth-panel-trust li { display: inline-flex; align-items: center; gap: .5rem; }
.auth-signup-page .auth-panel-trust svg { width: 1rem; height: 1rem; flex: none; }
html[data-theme="dark"] .auth-signup-page .auth-field-error { color: #fca5a5; }
html[data-theme="dark"] .auth-signup-page .auth-field-hint { color: #fcd34d; }
html[data-theme="dark"] .auth-signup-page .auth-input[aria-invalid="true"] { border-color: #f87171; background: rgba(248, 113, 113, .1); }
html[data-theme="dark"] .auth-signup-page .auth-login-error { color: #fecaca; background: rgba(248, 113, 113, .12); border-color: rgba(248, 113, 113, .35); }
html[data-theme="dark"] .auth-signup-page .auth-show-btn { color: #cbd5e1; }
html[data-theme="dark"] .auth-signup-page .auth-show-btn:hover { background: rgba(255, 255, 255, .08); color: #fff; }

/* ── Login: full-bleed stage panel + centred form (desktop) ── */
.auth-signup-page .auth-stage-logo { display: inline-flex; align-self: flex-start; }
.auth-signup-page .auth-stage-logo img { height: 2rem; width: auto; }
.auth-signup-page .auth-stage-logo span { color: #fff; font-weight: 700; font-size: 1.25rem; }
.auth-signup-page .auth-stage { margin: auto 0; max-width: 34rem; }
.auth-signup-page .auth-stage-slides { display: grid; }
.auth-signup-page .auth-stage-slide { grid-area: 1 / 1; }
.auth-signup-page .auth-stage-slide h2 { color: #fff; font-size: clamp(2rem, 3.2vw, 3.1rem); font-weight: 750; line-height: 1.05; letter-spacing: -.03em; margin: 0 0 1rem; }
.auth-signup-page .auth-grad { background: linear-gradient(90deg, #818cf8, #5eead4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-signup-page .auth-stage-slide p { color: rgba(255,255,255,.7); font-size: 1.0625rem; line-height: 1.6; max-width: 32rem; margin: 0 0 1.75rem; }
.auth-signup-page .auth-stage-card { list-style: none; margin: 0; padding: .35rem 1.1rem; border: 1px solid rgba(255,255,255,.1); border-radius: 1rem; background: rgba(255,255,255,.04); max-width: 30rem; }
.auth-signup-page .auth-stage-card li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 0; color: #fff; font-size: .9375rem; font-weight: 500; }
.auth-signup-page .auth-stage-card li + li { border-top: 1px solid rgba(255,255,255,.07); }
.auth-signup-page .auth-stage-card b { font-weight: 600; font-size: .8125rem; padding: .25rem .7rem; border-radius: 9999px; color: #064e3b; background: #d1fae5; }
.auth-signup-page .auth-stage-link { color: #a5b4fc; font-weight: 600; font-size: .875rem; }
.auth-signup-page .auth-stage-dashes { display: flex; gap: .5rem; margin-top: 2rem; }
.auth-signup-page .auth-stage-dashes button { width: 1.5rem; height: .3rem; border: 0; padding: 0; border-radius: 9999px; background: rgba(255,255,255,.2); cursor: pointer; transition: width .3s ease, background .3s ease; }
.auth-signup-page .auth-stage-dashes button.is-on { width: 2.5rem; background: linear-gradient(90deg, #818cf8, #5eead4); }
.auth-signup-page .auth-stage-dashes button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.auth-signup-page .auth-corner-toggle { position: absolute; top: 1.25rem; right: 1.25rem; width: 2.5rem; height: 2.5rem; place-items: center; border-radius: .6rem; border: 1px solid var(--auth-line, rgba(15,23,42,.1)); background: var(--auth-surface, #fff); color: inherit; cursor: pointer; }
.auth-signup-page .auth-corner-toggle:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.auth-signup-page .auth-form-panel { position: relative; }
.auth-signup-page .auth-mobile-switch { display: block; margin-top: 1.5rem !important; }
@media (min-width: 1024px) {
    .auth-signup-page .auth-signup-shell { min-height: 100svh; }
    .auth-signup-page .auth-signup-aside { width: 42% !important; min-width: 0; margin: 0; border-radius: 0; box-shadow: none; padding: clamp(2.5rem, 4vw, 4rem); }
    .auth-signup-page .auth-signup-aside .auth-signup-content { padding: 0 !important; }
    .auth-signup-page .auth-signup-card > h1 { font-size: 2rem !important; }
}
@media (prefers-reduced-motion: reduce) { .auth-signup-page .auth-stage-dashes button { transition: none; }
}
.auth-signup-page .auth-signup-network { display: none; }
html[data-theme="dark"] .auth-signup-page .auth-eyebrow { color: #94a3b8 !important; }
html[data-theme="dark"] .auth-signup-page .auth-login-reset,
html[data-theme="dark"] .auth-signup-page .auth-mobile-switch a { color: #a5b4fc !important; }
html[data-theme="dark"] .auth-signup-page .auth-mobile-switch { color: #94a3b8 !important; }
html[data-theme="dark"] .auth-signup-page .auth-corner-toggle { color: #e2e8f0; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
html[data-theme="dark"] .auth-signup-page .auth-primary-btn { background: var(--color-primary) !important; border-color: transparent !important; color: #fff !important; }
/* Slides stay in the layout (stacked in one grid cell) so the stage is always as tall as the tallest slide; only opacity changes, so nothing shifts when the slide changes. */
.auth-signup-page .auth-stage-slide { opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility 0s linear .4s; align-self: start; }
.auth-signup-page .auth-stage-slide.is-on { opacity: 1; visibility: visible; transition: opacity .4s ease; }
@media (prefers-reduced-motion: reduce) { .auth-signup-page .auth-stage-slide, .auth-signup-page .auth-stage-slide.is-on { transition: none; }
}

.auth-signup-page .auth-signup-aside { position: sticky; top: 0; align-self: flex-start; height: 100svh; }
.auth-signup-page .auth-show-btn-inline { background: none; border: 0; padding: .25rem .5rem; border-radius: .4rem; font-size: .8125rem; font-weight: 600; color: var(--color-primary); cursor: pointer; }
.auth-signup-page .auth-show-btn-inline:hover { text-decoration: underline; }
.auth-signup-page .auth-pw-meter { height: .25rem; border-radius: 9999px; background: rgba(100,116,139,.2); margin-top: .5rem; overflow: hidden; }
.auth-signup-page .auth-pw-meter i { display: block; height: 100%; width: 0; border-radius: inherit; background: #ef4444; transition: width .25s ease, background .25s ease; }
.auth-signup-page .auth-pw-meter[data-score="1"] i { width: 30%; background: #f59e0b; }
.auth-signup-page .auth-pw-meter[data-score="2"] i { width: 60%; background: #84cc16; }
.auth-signup-page .auth-pw-meter[data-score="3"] i { width: 85%; background: #22c55e; }
.auth-signup-page .auth-pw-meter[data-score="4"] i { width: 100%; background: #16a34a; }
.auth-signup-page .auth-pw-hint { margin: .4rem 0 0; font-size: .75rem; color: #64748b; }
html[data-theme="dark"] .auth-signup-page .auth-pw-hint { color: #94a3b8; }
.auth-signup-page .auth-form-panel { flex: 1 1 0; min-width: 0; }
.auth-signup-page .auth-corner-toggle { top: 1.25rem; right: 1.25rem; }
@media (prefers-reduced-motion: reduce) { .auth-signup-page .auth-pw-meter i { transition: none; }
}
@media (min-width: 1024px) { .auth-signup-page .auth-signup-aside { position: sticky !important; top: 0; }
}

/* ── Signup form fixes: dark focus state, social block, select chevron ── */
.auth-signup-page .auth-form select {
    -webkit-appearance: none; appearance: none;
    padding-right: 2.75rem !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2364748b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important; background-position: right 1rem center !important; background-size: 1.1rem !important;
}
html[data-theme="dark"] .auth-signup-page .auth-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2394a3b8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E") !important;
}
html[data-theme="dark"] .auth-signup-page .auth-form select option { background: var(--theme-surface-dark); color: #f8fafc; }
html[data-theme="dark"] .auth-signup-page .auth-form select:focus,
html[data-theme="dark"] .auth-signup-page .auth-form input:focus,
html[data-theme="dark"] .auth-signup-page .auth-input:focus {
    background-color: rgba(255,255,255,.07) !important; color: #f8fafc !important;
    border-color: #818cf8 !important; box-shadow: 0 0 0 3px rgba(129,140,248,.25) !important;
}
html[data-theme="dark"] .auth-signup-page .auth-signup-social { background: transparent; border-color: transparent; }
.auth-signup-page .auth-form select { background-repeat: no-repeat !important; background-position: right 1rem center !important; background-size: 1.1rem !important; }
/* Win over the `background: … !important` shorthand reset on .auth-form select (higher specificity via [id]). */
.auth-signup-page .auth-form select[id] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2364748b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important; background-position: right 1rem center !important; background-size: 1.1rem 1.1rem !important;
}
html[data-theme="dark"] .auth-signup-page .auth-form select[id] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2394a3b8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E") !important;
}
