.auth-shell {
    --auth-accent: #1769e8;
    --auth-accent-strong: #0a54c8;
    --auth-ink: #10213a;
    --auth-muted: #66758b;
    --auth-line: rgba(117, 140, 171, 0.24);
    --auth-field: rgba(247, 250, 255, 0.86);
    --auth-card: rgba(255, 255, 255, 0.92);
    position: relative;
    isolation: isolate;
    display: grid;
    width: 100%;
    min-height: calc(100dvh - 5rem);
    place-items: center;
    padding: clamp(1.25rem, 4vw, 4rem) 0;
    overflow: hidden;
}

.auth-shell::before,
.auth-shell::after {
    content: "";
    position: absolute;
    z-index: -2;
    border-radius: 999px;
    filter: blur(2px);
    pointer-events: none;
}

.auth-shell::before {
    width: min(42rem, 72vw);
    aspect-ratio: 1;
    inset: -23rem auto auto -12rem;
    background: radial-gradient(circle, rgba(68, 209, 219, 0.2), rgba(68, 209, 219, 0) 68%);
}

.auth-shell::after {
    width: min(48rem, 78vw);
    aspect-ratio: 1;
    inset: auto -20rem -27rem auto;
    background: radial-gradient(circle, rgba(62, 115, 237, 0.2), rgba(62, 115, 237, 0) 68%);
}

.auth-stage {
    display: grid;
    grid-template-columns: minmax(18rem, 0.88fr) minmax(27rem, 1.12fr);
    width: min(100%, 62rem);
    min-height: 38rem;
    overflow: hidden;
    border: 1px solid var(--auth-line);
    border-radius: 1.75rem;
    background: var(--auth-card);
    box-shadow: 0 2rem 5rem rgba(37, 66, 110, 0.15), 0 0.25rem 1rem rgba(37, 66, 110, 0.06);
    backdrop-filter: blur(20px);
}

.auth-shell--register .auth-stage {
    min-height: 44rem;
}

.auth-shell--register .auth-visual {
    justify-content: flex-start;
}

.auth-shell--register .auth-register-visual {
    margin-top: 6.5rem;
}

.auth-shell--register .auth-trust {
    margin-top: auto;
}

.auth-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    padding: 2.25rem;
    overflow: hidden;
    color: #f7fbff;
    background:
        radial-gradient(circle at 20% 15%, rgba(44, 216, 214, 0.38), transparent 36%),
        radial-gradient(circle at 90% 86%, rgba(73, 123, 255, 0.42), transparent 44%),
        linear-gradient(145deg, #063d6b 0%, #082f64 48%, #071d42 100%);
}

.auth-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background-image: radial-gradient(rgba(255,255,255,0.62) 0.65px, transparent 0.65px);
    background-size: 18px 18px;
    mask-image: linear-gradient(to bottom, black, transparent 78%);
    pointer-events: none;
}

.auth-visual::after {
    content: "";
    position: absolute;
    width: 22rem;
    aspect-ratio: 1;
    left: -12rem;
    bottom: 6rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 44% 56% 62% 38%;
    transform: rotate(22deg);
    box-shadow: 0 0 0 2.75rem rgba(255,255,255,0.025), 0 0 0 5.5rem rgba(255,255,255,0.018);
}

.auth-brand-link,
.auth-visual-copy,
.auth-signal,
.auth-login-graphic,
.auth-language-flow,
.auth-recovery-track,
.auth-trust {
    position: relative;
    z-index: 1;
}

.auth-brand-logo {
    width: auto;
    height: 2.25rem;
    object-fit: contain;
}

.auth-visual-copy h1 {
    max-width: 13ch;
    margin: 0.75rem 0 1rem;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    font-weight: 900;
    line-height: 1.45;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.auth-visual-copy p {
    max-width: 34ch;
    color: rgba(235, 245, 255, 0.73);
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 2;
    text-wrap: pretty;
}

.auth-kicker {
    display: block;
    color: #52d9df;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.auth-signal {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    height: 3rem;
    margin-block: 1.25rem;
}

.auth-signal i {
    width: 0.3rem;
    height: var(--signal-height, 1rem);
    border-radius: 999px;
    background: linear-gradient(to top, #2781ff, #55e2dc);
    box-shadow: 0 0 1.2rem rgba(73, 215, 220, 0.35);
}
.auth-signal i:nth-child(2), .auth-signal i:nth-child(6) { --signal-height: 1.8rem; }
.auth-signal i:nth-child(3), .auth-signal i:nth-child(5) { --signal-height: 2.6rem; }
.auth-signal i:nth-child(4) { --signal-height: 1.4rem; }

/* Login-only visual: a quiet media-translation system instead of marketing copy. */
.auth-login-graphic {
    position: relative;
    width: min(18rem, 88%);
    aspect-ratio: 1;
    align-self: center;
    isolation: isolate;
}

.auth-login-orbit {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(155, 222, 255, 0.22);
    border-radius: 50%;
    box-shadow: inset 0 0 2.5rem rgba(72, 189, 255, 0.04);
}

.auth-login-orbit::before,
.auth-login-orbit::after {
    content: "";
    position: absolute;
    width: 0.48rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #5de2dc;
    box-shadow: 0 0 0 0.3rem rgba(93, 226, 220, 0.09), 0 0 1.2rem rgba(93, 226, 220, 0.65);
}

.auth-login-orbit::before { top: 16%; right: 13%; }
.auth-login-orbit::after { bottom: 15%; left: 14%; background: #4c8fff; }

.auth-login-orbit--inner {
    inset: 2.2rem;
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.16);
}

.auth-login-orbit--inner::before,
.auth-login-orbit--inner::after { display: none; }

.auth-login-core {
    position: absolute;
    inset: 50% auto auto 50%;
    display: grid;
    place-items: center;
    width: 8.25rem;
    aspect-ratio: 1;
    padding: 1.35rem;
    border: 1px solid rgba(179, 230, 255, 0.28);
    border-radius: 2.25rem;
    background: linear-gradient(145deg, rgba(28, 133, 202, 0.34), rgba(6, 30, 70, 0.72));
    box-shadow: 0 1.5rem 3.5rem rgba(1, 21, 52, 0.35), inset 0 1px rgba(255,255,255,0.18);
    transform: translate(-50%, -50%) rotate(8deg);
    backdrop-filter: blur(12px);
}

.auth-login-core svg {
    width: 3.25rem;
    stroke: #eefaff;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 0.75rem rgba(82, 217, 223, 0.3));
    transform: rotate(-8deg);
}

.auth-login-wave {
    display: flex;
    align-items: center;
    gap: 0.22rem;
    height: 1.15rem;
    transform: rotate(-8deg);
}

.auth-login-wave i {
    width: 0.16rem;
    height: 35%;
    border-radius: 999px;
    background: linear-gradient(to top, #3b8cff, #57e5db);
}

.auth-login-wave i:nth-child(2),
.auth-login-wave i:nth-child(6) { height: 70%; }
.auth-login-wave i:nth-child(3),
.auth-login-wave i:nth-child(5) { height: 100%; }
.auth-login-wave i:nth-child(4) { height: 55%; }

.auth-login-node {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 3.35rem;
    aspect-ratio: 1;
    border: 1px solid rgba(188, 230, 255, 0.28);
    border-radius: 1.1rem;
    color: #eaf9ff;
    background: rgba(7, 42, 85, 0.72);
    box-shadow: 0 0.8rem 2rem rgba(0, 18, 49, 0.3), inset 0 1px rgba(255,255,255,0.14);
    backdrop-filter: blur(12px);
    font-family: ui-sans-serif, system-ui, sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.auth-login-node--source { top: 10%; left: 5%; }
.auth-login-node--target { right: 3%; bottom: 11%; }

.auth-login-route {
    position: absolute;
    z-index: -1;
    width: 7rem;
    height: 3.5rem;
    border: solid rgba(82, 217, 223, 0.2);
    border-width: 1px 0 0;
    border-radius: 50%;
}

.auth-login-route--one { top: 25%; left: 15%; transform: rotate(27deg); }
.auth-login-route--two { right: 12%; bottom: 22%; transform: rotate(28deg); }

.auth-register-visual {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 1.35rem;
}

.auth-register-graphic {
    position: relative;
    width: min(17rem, 86%);
    aspect-ratio: 1;
    isolation: isolate;
}

.auth-register-halo {
    position: absolute;
    border: 1px solid rgba(156, 224, 255, 0.2);
    border-radius: 50%;
}

.auth-register-halo--outer {
    inset: 0;
    background: radial-gradient(circle, rgba(73, 143, 255, 0.1), transparent 67%);
    box-shadow: inset 0 0 4rem rgba(65, 193, 226, 0.035);
}

.auth-register-halo--inner {
    inset: 2.65rem;
    border-style: dashed;
    border-color: rgba(255,255,255,0.17);
}

.auth-register-core {
    position: absolute;
    inset: 50% auto auto 50%;
    display: grid;
    place-items: center;
    width: 8.75rem;
    aspect-ratio: 1;
    border: 1px solid rgba(186, 234, 255, 0.3);
    border-radius: 2.65rem;
    background:
        radial-gradient(circle at 28% 20%, rgba(91, 231, 218, 0.24), transparent 42%),
        linear-gradient(145deg, rgba(26, 126, 197, 0.38), rgba(6, 28, 68, 0.75));
    box-shadow: 0 1.75rem 4rem rgba(0, 19, 50, 0.38), inset 0 1px rgba(255,255,255,0.18);
    transform: translate(-50%, -50%) rotate(-7deg);
    backdrop-filter: blur(14px);
}

.auth-register-core svg {
    width: 4.2rem;
    stroke: #effbff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 0.9rem rgba(83, 226, 220, 0.28));
    transform: rotate(7deg);
}

.auth-register-check {
    position: absolute;
    z-index: 2;
    right: 18%;
    bottom: 17%;
    display: grid;
    place-items: center;
    width: 3rem;
    aspect-ratio: 1;
    border: 1px solid rgba(132, 255, 220, 0.32);
    border-radius: 1rem;
    color: #74efd0;
    background: rgba(5, 56, 84, 0.78);
    box-shadow: 0 0.8rem 2rem rgba(0, 18, 49, 0.3), 0 0 1.5rem rgba(75, 225, 194, 0.08);
    backdrop-filter: blur(12px);
}

.auth-register-check svg {
    width: 1.4rem;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.auth-register-spark {
    position: absolute;
    width: 0.48rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #56e2dc;
    box-shadow: 0 0 0 0.3rem rgba(86, 226, 220, 0.08), 0 0 1.2rem rgba(86, 226, 220, 0.6);
}

.auth-register-spark--one { top: 14%; right: 18%; }
.auth-register-spark--two { bottom: 24%; left: 8%; background: #4b8fff; }
.auth-register-spark--three { top: 39%; left: 4%; width: 0.3rem; opacity: 0.7; }

.auth-register-free {
    margin: 0;
    color: rgba(238, 248, 255, 0.78);
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.8;
    text-align: center;
}

.auth-register-free span {
    display: inline-flex;
    margin-left: 0.4rem;
    padding: 0.15rem 0.55rem;
    border: 1px solid rgba(100, 235, 207, 0.22);
    border-radius: 999px;
    color: #79ecd2;
    background: rgba(61, 212, 184, 0.09);
    font-size: 0.64rem;
    font-weight: 900;
}

.auth-language-flow,
.auth-recovery-track {
    display: flex;
    align-items: center;
    margin-block: 1.25rem;
}

.auth-language-flow span,
.auth-recovery-track span {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 0.8rem;
    background: rgba(255,255,255,0.09);
    font-size: 0.7rem;
    font-weight: 900;
    backdrop-filter: blur(8px);
}

.auth-language-flow i,
.auth-recovery-track i {
    width: 2.5rem;
    height: 1px;
    background: linear-gradient(to left, rgba(82,217,223,0.2), #52d9df, rgba(82,217,223,0.2));
}

.auth-trust {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(235,245,255,0.7);
    font-size: 0.7rem;
    font-weight: 600;
}

.auth-trust span {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: #50e0c3;
    box-shadow: 0 0 0 0.3rem rgba(80,224,195,0.1), 0 0 1rem rgba(80,224,195,0.6);
}

.auth-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 5vw, 3.75rem);
    color: var(--auth-ink);
}

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

.auth-heading {
    margin-bottom: 2rem;
}

.auth-heading .auth-kicker {
    margin-bottom: 0.5rem;
    color: var(--auth-accent);
}

.auth-icon {
    display: grid;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.25rem;
    place-items: center;
    border: 1px solid rgba(23,105,232,0.16);
    border-radius: 1rem;
    color: var(--auth-accent);
    background: linear-gradient(145deg, rgba(233,242,255,0.95), rgba(248,251,255,0.72));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 0.7rem 1.8rem rgba(38,101,202,0.11);
}

.auth-heading h2 {
    margin: 0;
    color: var(--auth-ink);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 900;
    line-height: 1.45;
    letter-spacing: -0.035em;
}

.auth-heading p {
    margin-top: 0.45rem;
    color: var(--auth-muted);
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.8;
}

.auth-form {
    display: grid;
    gap: 1rem;
}

.auth-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.auth-label-row a,
.auth-footer a {
    color: var(--auth-accent);
    font-size: 0.72rem;
    font-weight: 800;
    text-decoration: none;
}

.auth-label-row a:hover,
.auth-footer a:hover { color: var(--auth-accent-strong); }

.auth-label {
    display: block;
    margin-bottom: 0.45rem;
    color: #43536b;
    font-size: 0.72rem;
    font-weight: 800;
}

.auth-label > span { color: #e7515a; }
.auth-label > small { color: var(--auth-muted); font-size: 0.66rem; font-weight: 500; }

.auth-input-wrap { position: relative; }

.auth-input {
    display: block;
    width: 100%;
    min-height: 3.2rem;
    padding: 0.75rem 0.95rem;
    border: 1px solid var(--auth-line) !important;
    border-radius: 0.85rem;
    outline: none;
    color: var(--auth-ink) !important;
    background: var(--auth-field) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
    font-size: 0.82rem;
    font-weight: 600;
    transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.auth-input:hover { border-color: rgba(23,105,232,0.34) !important; }
.auth-input:focus {
    border-color: var(--auth-accent) !important;
    background: #fff !important;
    box-shadow: 0 0 0 0.22rem rgba(23,105,232,0.12), inset 0 1px 0 #fff;
}
.auth-input--password { padding-left: 3rem; }
.auth-input--otp { text-align: center; font-size: 1.25rem; font-variant-numeric: tabular-nums; letter-spacing: 0.45em; }

.auth-password-toggle {
    position: absolute;
    inset-block: 0;
    left: 0;
    display: grid;
    width: 3rem;
    place-items: center;
    border-radius: 0.8rem;
    color: var(--auth-muted);
    transition: color 180ms ease, background-color 180ms ease;
}
.auth-password-toggle:hover { color: var(--auth-accent); background: rgba(23,105,232,0.06); }
.auth-password-toggle:focus-visible { outline: 2px solid var(--auth-accent); outline-offset: -3px; }

.auth-options { display: flex; align-items: center; min-height: 1.5rem; }
.auth-checkbox { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--auth-muted); font-size: 0.72rem; font-weight: 700; cursor: pointer; }
.auth-checkbox input { width: 1rem; height: 1rem; accent-color: var(--auth-accent); }

.auth-submit {
    display: inline-flex;
    min-height: 3.25rem;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 0.2rem;
    border: 1px solid rgba(5,64,160,0.15);
    border-radius: 0.9rem;
    color: #fff;
    background: linear-gradient(135deg, #247cf1, #0d5ed2 64%, #0951b8);
    box-shadow: 0 0.8rem 1.6rem rgba(12,87,197,0.22), inset 0 1px 0 rgba(255,255,255,0.22);
    font-size: 0.82rem;
    font-weight: 900;
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}
.auth-submit:hover { filter: brightness(1.055); transform: translateY(-1px); box-shadow: 0 1rem 2rem rgba(12,87,197,0.27), inset 0 1px 0 rgba(255,255,255,0.25); }
.auth-submit:active { transform: translateY(1px) scale(0.995); }
.auth-submit:focus-visible { outline: 3px solid rgba(23,105,232,0.24); outline-offset: 3px; }

.auth-result:empty { display: none; }
.auth-result { color: var(--auth-muted); font-size: 0.74rem; font-weight: 800; line-height: 1.8; text-align: center; }

.auth-footer {
    margin-top: 1.7rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--auth-line);
    color: var(--auth-muted);
    font-size: 0.73rem;
    font-weight: 600;
    text-align: center;
}

.auth-otp-section { display: grid; gap: 1.1rem; }
.auth-notice { padding: 0.85rem 1rem; border-radius: 0.85rem; font-size: 0.72rem; font-weight: 700; line-height: 1.9; text-align: center; }
.auth-notice--success { border: 1px solid rgba(20,166,126,0.2); color: #087f62; background: rgba(30,201,150,0.08); }
.auth-notice--error { border: 1px solid rgba(220,72,83,0.2); color: #c83242; background: rgba(225,71,83,0.07); }

.auth-otp-intro { text-align: center; }
.auth-otp-icon { display: grid; width: 3.5rem; height: 3.5rem; margin: 0 auto 0.9rem; place-items: center; border: 1px solid rgba(20,166,126,0.18); border-radius: 1rem; color: #0d9a74; background: rgba(30,201,150,0.08); }
.auth-otp-intro p { color: var(--auth-ink); font-size: 0.78rem; font-weight: 800; line-height: 1.8; }
.auth-otp-intro p bdi { color: var(--auth-accent); font-variant-numeric: tabular-nums; }
.auth-otp-intro small { display: block; margin-top: 0.25rem; color: var(--auth-muted); font-size: 0.7rem; }
.auth-resend { margin-top: 0.25rem; text-align: center; }
.auth-resend button { color: var(--auth-accent); font-size: 0.72rem; font-weight: 800; transition: color 180ms ease; }
.auth-resend button:hover { color: var(--auth-accent-strong); }

.auth-card .alert-error,
.auth-card .alert-success {
    border-radius: 0.8rem;
    font-size: 0.72rem;
    line-height: 1.8;
}

.dark .auth-shell {
    --auth-ink: #f4f8ff;
    --auth-muted: #9dadc1;
    --auth-line: rgba(131, 159, 193, 0.2);
    --auth-field: rgba(10, 25, 43, 0.72);
    --auth-card: rgba(15, 30, 48, 0.92);
}

.dark .auth-shell::before { background: radial-gradient(circle, rgba(28,166,179,0.15), rgba(28,166,179,0) 68%); }
.dark .auth-shell::after { background: radial-gradient(circle, rgba(48,93,205,0.19), rgba(48,93,205,0) 68%); }
.dark .auth-stage { box-shadow: 0 2.25rem 6rem rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,255,0.03); }
.dark .auth-card { color: var(--auth-ink); }
.dark .auth-heading h2 { color: var(--auth-ink); }
.dark .auth-heading p,
.dark .auth-label,
.dark .auth-footer { color: var(--auth-muted); }
.dark .auth-icon { border-color: rgba(93,156,255,0.22); color: #78adff; background: linear-gradient(145deg, rgba(38,78,128,0.38), rgba(17,38,63,0.7)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 0.8rem 2rem rgba(0,0,0,0.22); }
.dark .auth-input:focus { background: rgba(12,31,52,0.96) !important; }
.dark .auth-notice--success { color: #6ce4bf; background: rgba(27,165,126,0.1); border-color: rgba(75,211,171,0.18); }
.dark .auth-notice--error { color: #ff9ca5; background: rgba(225,71,83,0.09); border-color: rgba(255,113,126,0.18); }
.dark .auth-otp-icon { color: #63dfba; background: rgba(27,165,126,0.1); border-color: rgba(75,211,171,0.18); }

@media (min-width: 861px) {
    .auth-shell--register {
        padding-block: 1.25rem;
    }

    .auth-shell--register .auth-stage {
        min-height: 0;
    }

    .auth-shell--register .auth-card {
        padding-block: 1.65rem;
        padding-inline: clamp(2.25rem, 4vw, 3.25rem);
    }

    .auth-shell--register .auth-heading {
        margin-bottom: 1rem;
    }

    .auth-shell--register .auth-icon {
        width: 2.7rem;
        height: 2.7rem;
        margin-bottom: 0.7rem;
        border-radius: 0.9rem;
    }

    .auth-shell--register .auth-heading .auth-kicker {
        margin-bottom: 0.2rem;
    }

    .auth-shell--register .auth-heading h2 {
        font-size: 1.75rem;
    }

    .auth-shell--register .auth-heading p {
        margin-top: 0.2rem;
        line-height: 1.6;
    }

    .auth-shell--register .auth-form {
        gap: 0.62rem;
    }

    .auth-shell--register .auth-label {
        margin-bottom: 0.25rem;
    }

    .auth-shell--register .auth-input {
        min-height: 2.75rem;
        padding-block: 0.58rem;
    }

    .auth-shell--register .auth-submit {
        min-height: 2.85rem;
        margin-top: 0.1rem;
    }

    .auth-shell--register .auth-footer {
        margin-top: 1rem;
        padding-top: 0.85rem;
    }

    .auth-shell--register .auth-register-visual {
        margin-top: 3.5rem;
    }

    .auth-shell--register .auth-register-graphic {
        width: min(15.5rem, 82%);
    }
}

@media (max-width: 860px) {
    .auth-shell { padding: 1.25rem 0 2.5rem; }
    .auth-stage { grid-template-columns: 1fr; width: min(100%, 31rem); min-height: auto; border-radius: 1.4rem; }
    .auth-visual { display: none; }
    .auth-card { padding: clamp(1.5rem, 7vw, 2.5rem); }
    .auth-mobile-brand { display: inline-flex; width: fit-content; margin-bottom: 2.5rem; }
    .auth-mobile-brand img { width: auto; height: 2rem; }
}

@media (max-width: 480px) {
    .auth-shell { align-items: start; }
    .auth-stage { border-radius: 1.15rem; }
    .auth-card { padding: 1.35rem 1.15rem 1.6rem; }
    .auth-mobile-brand { margin-bottom: 1.75rem; }
    .auth-heading { margin-bottom: 1.5rem; }
    .auth-heading h2 { font-size: 1.55rem; }
    .auth-label-row { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    .auth-submit,
    .auth-input,
    .auth-password-toggle { transition: none; }
}
