/* Auth scene — static stylesheet, served raw (bypasses the asset build). */

    .auth-scene {
        position: fixed; inset: 0;
        display: flex; align-items: center; justify-content: space-between;
        gap: clamp(2rem, 4vw, 5rem);
        padding: clamp(1.5rem, 5vh, 4rem) clamp(2rem, 6vw, 7.5rem);
        padding-bottom: clamp(60px, 9vh, 92px); /* reserve room for the fixed footer */
        overflow: hidden; isolation: isolate;
        font-family: 'Inter', 'Inter Variable', 'Helvetica Neue', Helvetica, Arial, sans-serif;
        color: #fff;
        background:
            radial-gradient(1200px 800px at 80% 110%, color-mix(in oklch, var(--primary-500, #1B9E3D) 32%, transparent), transparent 60%),
            radial-gradient(900px 600px at 15% -10%, color-mix(in oklch, var(--primary-700, #0F6B29) 30%, transparent), transparent 55%),
            linear-gradient(160deg, var(--primary-900, #084a1c) 0%, var(--primary-700, #0F6B29) 45%, var(--primary-900, #084a1c) 100%);
    }
    .auth-scene::before {
        content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
        background-image:
            linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
        background-size: 40px 40px;
        mask-image: radial-gradient(ellipse at 50% 50%, #000 40%, transparent 80%);
        -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 40%, transparent 80%);
    }

    /* Orbit rings — count = active modules / 2 (min 4, max 12). Concentric
       rings, one distinct planet per ring orbiting the centre (mockup palette,
       cycling every 4 rings). */
    .auth-rings { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: clamp(520px, 65vw, 900px); aspect-ratio: 1; pointer-events: none; opacity: 1; z-index: 1; --ring-step: 12%; }
    .auth-rings .auth-ring { position: absolute; inset: calc(var(--i, 0) * var(--ring-step)); border-radius: 50%; border: 1px solid rgba(255,255,255,0.06); animation: auth-orbit-spin calc(80s - var(--i, 0) * 4.5s) linear infinite; will-change: transform; }
    .auth-rings .auth-ring:nth-child(even) { animation-direction: reverse; }
    .auth-rings .auth-ring:nth-child(3n) { border-color: rgba(255,255,255,0.085); }
    .auth-rings .auth-ring:nth-child(1){--i:0}.auth-rings .auth-ring:nth-child(2){--i:1}.auth-rings .auth-ring:nth-child(3){--i:2}.auth-rings .auth-ring:nth-child(4){--i:3}.auth-rings .auth-ring:nth-child(5){--i:4}.auth-rings .auth-ring:nth-child(6){--i:5}.auth-rings .auth-ring:nth-child(7){--i:6}.auth-rings .auth-ring:nth-child(8){--i:7}.auth-rings .auth-ring:nth-child(9){--i:8}.auth-rings .auth-ring:nth-child(10){--i:9}.auth-rings .auth-ring:nth-child(11){--i:10}.auth-rings .auth-ring:nth-child(12){--i:11}
    .auth-rings[data-count="4"]{--ring-step:14.7%}.auth-rings[data-count="5"]{--ring-step:11%}.auth-rings[data-count="6"]{--ring-step:8.8%}.auth-rings[data-count="7"]{--ring-step:7.3%}.auth-rings[data-count="8"]{--ring-step:6.3%}.auth-rings[data-count="9"]{--ring-step:5.5%}.auth-rings[data-count="10"]{--ring-step:4.9%}.auth-rings[data-count="11"]{--ring-step:4.4%}.auth-rings[data-count="12"]{--ring-step:4%}
    .auth-rings .auth-ring::after { content: ""; position: absolute; border-radius: 50%; }
    .auth-rings .auth-ring:nth-child(4n+1)::after { top: 0; left: 50%; transform: translate(-50%, -50%); width: 6px; height: 6px; background: rgba(255,255,255,0.75); box-shadow: 0 0 12px rgba(255,255,255,0.4); }
    .auth-rings .auth-ring:nth-child(4n+2)::after { top: 50%; right: 0; transform: translate(50%, -50%); width: 7px; height: 7px; background: var(--primary-200, #b7f1c5); box-shadow: 0 0 12px color-mix(in oklch, var(--primary-200, #b7f1c5) 55%, transparent); }
    .auth-rings .auth-ring:nth-child(4n+3)::after { bottom: 0; left: 50%; transform: translate(-50%, 50%); width: 5px; height: 5px; background: rgba(255,255,255,0.6); box-shadow: 0 0 9px rgba(255,255,255,0.3); }
    .auth-rings .auth-ring:nth-child(4n)::after { top: 50%; left: 0; transform: translate(-50%, -50%); width: 9px; height: 9px; background: linear-gradient(135deg, var(--primary-400, #4fd47b), var(--primary-600, #157a30)); box-shadow: 0 0 16px color-mix(in oklch, var(--primary-500, #1B9E3D) 50%, transparent); }

    .auth-sun {
        position: absolute; left: 40%; top: 42%;
        width: 80px; height: 80px; border-radius: 50%;
        background: radial-gradient(circle at 35% 35%, #fff, color-mix(in oklch, var(--primary-200, #b7f1c5) 80%, #fff) 30%, var(--primary-500, #1B9E3D) 70%, var(--primary-700, #0F6B29) 100%);
        box-shadow: 0 0 80px color-mix(in oklch, var(--primary-500, #1B9E3D) 55%, transparent), 0 0 160px color-mix(in oklch, var(--primary-500, #1B9E3D) 25%, transparent);
        animation: auth-sun-pulse 6s ease-in-out infinite;
        z-index: 2;
    }

    .auth-stars { position: absolute; inset: 0; pointer-events: none; opacity: .35; z-index: 0; }
    .auth-stars::before,
    .auth-stars::after {
        content: ""; position: absolute; inset: -50%;
        background-image:
            radial-gradient(1px 1px at 20% 30%, #fff, transparent 2px),
            radial-gradient(1px 1px at 70% 65%, #fff, transparent 2px),
            radial-gradient(1px 1px at 40% 80%, rgba(255,255,255,0.6), transparent 2px),
            radial-gradient(1.5px 1.5px at 85% 20%, #fff, transparent 2px),
            radial-gradient(1px 1px at 60% 10%, rgba(255,255,255,0.7), transparent 2px),
            radial-gradient(1px 1px at 10% 70%, rgba(255,255,255,0.5), transparent 2px),
            radial-gradient(2px 2px at 95% 50%, #fff, transparent 2px);
        animation: auth-star-drift 120s linear infinite;
    }
    .auth-stars::after { animation-duration: 180s; animation-direction: reverse; opacity: .5; }

    .auth-foot {
        position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
        display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
        gap: 6px 18px; padding: 13px clamp(2rem, 6vw, 7.5rem);
        font-size: 11.5px; color: rgba(255,255,255,0.62);
        border-top: 1px solid rgba(255,255,255,0.10);
        background: linear-gradient(to top, rgba(0,0,0,0.22), transparent);
    }
    .auth-foot .sys { display: flex; align-items: center; gap: 8px; min-width: 0; flex-wrap: wrap; }
    .auth-foot .sys .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--primary-300, #86e6a3); box-shadow: 0 0 7px var(--primary-300, #86e6a3); flex: 0 0 auto; }
    .auth-foot .sys b { color: rgba(255,255,255,0.9); font-weight: 700; }
    .auth-foot .sys .sep { opacity: .45; }
    .auth-foot .links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
    .auth-foot .links a { color: rgba(255,255,255,0.72); text-decoration: none; transition: color .15s; }
    .auth-foot .links a:hover { color: #fff; text-decoration: underline; }

    .auth-editorial { position: relative; z-index: 2; color: #fff; flex: 1 1 auto; width: 100%; max-width: 560px; min-width: 0; }
    .auth-editorial .brand-row { display: flex; gap: 16px; align-items: center; margin-bottom: 24px; min-width: 0; }
    .auth-editorial .crest { width: 72px; height: 72px; flex: 0 0 auto; background: #fff; border: 1px solid rgba(255,255,255,0.45); border-radius: 14px; padding: 6px; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.08) inset; font-family: 'Fraunces', 'Georgia', serif; font-weight: 700; font-size: 28px; color: var(--primary-700, #0F6B29); letter-spacing: -0.02em; }
    .auth-editorial .crest img { width: 100%; height: 100%; object-fit: contain; }
    .auth-editorial .brand-name { font-family: 'Fraunces', 'Georgia', serif; font-weight: 600; font-size: 19px; line-height: 1.15; color: #fff; min-width: 0; word-break: break-word; }
    .auth-editorial .brand-name small { display: block; color: rgba(255,255,255,0.72); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; margin-top: 4px; font-family: 'Inter', sans-serif; font-weight: 500; }
    .auth-editorial .kicker { color: var(--primary-200, #b7f1c5); letter-spacing: .22em; text-transform: uppercase; font-weight: 800; font-size: 11px; margin-bottom: 12px; }
    .auth-editorial .kicker::before { content: ""; display: inline-block; width: 24px; height: 2px; background: var(--primary-200, #b7f1c5); vertical-align: middle; margin-right: 8px; }
    .auth-editorial h1 { margin: 0; font-family: 'Fraunces', 'Georgia', serif; font-size: clamp(32px, 4.4vw, 48px); line-height: 1.05; color: #fff; font-weight: 600; letter-spacing: -.02em; overflow-wrap: break-word; }
    .auth-editorial h1 em { color: var(--primary-200, #b7f1c5); font-style: normal; }
    .auth-editorial .lede { color: rgba(255,255,255,0.8); font-size: 14.5px; line-height: 1.55; max-width: 520px; margin: 14px 0 0; }
    .auth-editorial .lede strong { color: #fff; }
    .auth-editorial .section-label { color: rgba(255,255,255,0.62); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin: 24px 0 10px; }
    .auth-editorial .campus-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); gap: 10px; max-width: 560px; }
    .auth-editorial .campus { position: relative; padding: 11px 13px; border-radius: 10px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .2s, border-color .2s, transform .2s; }
    .auth-editorial .campus:hover { background: rgba(255,255,255,0.11); border-color: rgba(255,255,255,0.28); transform: translateY(-1px); }
    .auth-editorial .campus .code { font-family: 'Fraunces', 'Georgia', serif; font-size: 15px; color: #fff; font-weight: 700; letter-spacing: .03em; line-height: 1.1; }
    .auth-editorial .campus .name { font-size: 11.5px; color: rgba(255,255,255,0.85); font-weight: 600; margin-top: 3px; }
    .auth-editorial .campus .city { font-size: 11px; color: rgba(255,255,255,0.6); margin-top: 1px; }
    .auth-editorial .portal-links { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.12); max-width: 560px; }
    .auth-editorial .portal-link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary-200, #b7f1c5); font-weight: 600; font-size: 12.5px; letter-spacing: .02em; text-decoration: none; transition: color .15s; }
    .auth-editorial .portal-link:hover { color: #fff; }
    .auth-editorial .portal-link .arrow { font-size: 14px; transition: transform .15s; }
    .auth-editorial .portal-link:hover .arrow { transform: translateX(2px); }
    .auth-editorial .portal-link small { color: rgba(255,255,255,0.55); font-weight: 500; margin-left: 4px; }

    .auth-login-card {
        position: relative; z-index: 2;
        width: 100%; max-width: 480px; flex: 0 0 auto;
        background: #fff; color: #0f172a;
        border-radius: 14px;
        padding: 30px 28px 22px;
        max-height: calc(100vh - clamp(48px, 10vh, 128px));
        display: flex; flex-direction: column;
        overflow: auto;
        box-shadow:
            0 1px 0 rgba(255,255,255,0.2) inset,
            0 2px 6px rgba(0,0,0,0.08),
            0 20px 50px rgba(0,0,0,0.25),
            0 40px 80px -20px rgba(0,0,0,0.35);
    }
    .auth-login-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--primary-900, #0F6B29), var(--primary-500, #1B9E3D) 55%, var(--primary-900, #0F6B29)); }
    /* The card is a fixed light panel on the dark scene (like the mockup) — it
       must NOT follow the app's dark mode, or its dark text would sit on a dark
       card. Force light surfaces/fields even when <html> has .dark. */
    .auth-scene.is-wide .auth-login-card { max-width: 680px; max-height: none; }
    :is(.dark) .auth-login-card,
    :is(.dark) .auth-login-card .field .ctl input,
    :is(.dark) .auth-login-card .fi-input,
    :is(.dark) .auth-login-card .fi-input-wrp { background: #fff; color: #1f2937; color-scheme: light; }
    :is(.dark) .auth-login-card .fi-input::placeholder { color: #9ca3af; }

    /* ---- Form contents inside the login card (variant-D port) ---- */
    .auth-login-card .eyebrow-r { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #6b7280; font-weight: 700; margin-top: 4px; margin-bottom: 6px; }
    .auth-login-card h2 { margin: 0 0 6px; font-family: 'Fraunces', 'Georgia', serif; font-size: 24px; color: #0f172a; font-weight: 600; letter-spacing: -.015em; line-height: 1.15; }
    .auth-login-card h2 em { color: var(--primary-700, #0F6B29); font-style: normal; }
    .auth-login-card .sub { font-size: 13px; color: #6b7280; margin: 0 0 18px; line-height: 1.5; }
    .auth-login-card .sub strong { color: #0f172a; font-weight: 600; }
    .auth-login-card .sub a { color: var(--primary-700, #0F6B29); font-weight: 700; }

    .auth-login-card .alert { padding: 9px 12px; border-radius: 7px; font-size: 12.5px; margin-bottom: 12px; line-height: 1.45; }
    .auth-login-card .alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
    .auth-login-card .alert-info { background: color-mix(in oklch, var(--primary-500, #1B9E3D) 8%, #fff); border: 1px solid color-mix(in oklch, var(--primary-500, #1B9E3D) 30%, transparent); color: var(--primary-900, #0F6B29); }

    .auth-login-card .field { margin-bottom: 11px; }
    .auth-login-card .field > label { display: flex; justify-content: space-between; align-items: center; font-size: 10.5px; font-weight: 700; color: #1f2937; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 5px; }
    .auth-login-card .field > label .inline-hint { color: #6b7280; font-weight: 500; text-transform: none; letter-spacing: 0; font-size: 11px; }
    .auth-login-card .field > label a { color: var(--primary-700, #0F6B29); font-size: 11px; text-transform: none; letter-spacing: 0; font-weight: 700; text-decoration: none; }
    .auth-login-card .field > label a:hover { text-decoration: underline; }
    .auth-login-card .field .ctl { position: relative; }
    .auth-login-card .field .ctl input { width: 100%; padding: 11px 12px 11px 40px; border: 1.5px solid #e5e7eb; border-radius: 8px; font: inherit; font-size: 13.5px; background: #fff; color: #1f2937; transition: border-color .15s, box-shadow .15s; outline: none; }
    .auth-login-card .field .ctl input::placeholder { color: #9ca3af; font-size: 13px; }
    .auth-login-card .field .ctl input:focus { border-color: var(--primary-500, #1B9E3D); box-shadow: 0 0 0 4px color-mix(in oklch, var(--primary-500, #1B9E3D) 12%, transparent); }
    .auth-login-card .field .ctl input[aria-invalid="true"] { border-color: #b91c1c; }
    .auth-login-card .field .ctl .icn { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #9ca3af; line-height: 0; pointer-events: none; }
    .auth-login-card .field .ctl .icn svg { width: 16px; height: 16px; }
    /* Read-only masked value (e.g. the confirmed Account on the password step):
       mirror the input box and its 40px left padding so the text clears the
       absolutely-positioned icon instead of overlapping it. */
    .auth-login-card .field .ctl .ctl__masked { display: block; width: 100%; padding: 11px 12px 11px 40px; border: 1.5px solid #e5e7eb; border-radius: 8px; font: inherit; font-size: 13.5px; background: #f9fafb; color: #4b5563; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .auth-login-card .field-error { display: block; font-size: 11.5px; color: #b91c1c; font-weight: 500; margin-top: 4px; }

    .auth-login-card .row { display: flex; justify-content: space-between; align-items: center; margin: 6px 0 14px; font-size: 12px; color: #6b7280; }
    .auth-login-card .row .remember { display: flex; align-items: center; gap: 7px; cursor: pointer; color: #1f2937; }
    .auth-login-card .row .remember input { accent-color: var(--primary-500, #1B9E3D); width: 13px; height: 13px; }

    .auth-login-card .cta { width: 100%; background: var(--primary-500, #1B9E3D); color: #fff; border: 0; padding: 12px; border-radius: 8px; font-weight: 700; font-size: 14px; cursor: pointer; font-family: inherit; transition: background .15s, box-shadow .15s, transform .05s, opacity .15s; box-shadow: 0 4px 12px color-mix(in oklch, var(--primary-500, #1B9E3D) 22%, transparent); display: flex; align-items: center; justify-content: center; gap: 8px; }
    .auth-login-card .cta:hover { background: var(--primary-700, #0F6B29); box-shadow: 0 6px 16px color-mix(in oklch, var(--primary-500, #1B9E3D) 32%, transparent); }
    .auth-login-card .cta:active { transform: translateY(1px); }
    .auth-login-card .cta:focus-visible { outline: 3px solid color-mix(in oklch, var(--primary-500, #1B9E3D) 35%, transparent); outline-offset: 2px; }
    .auth-login-card .cta:disabled { opacity: .7; cursor: wait; }
    .auth-login-card .cta .spinner { width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: auth-cta-spin .7s linear infinite; }
    .auth-login-card .cta .cta-loading { align-items: center; gap: 8px; }
    @keyframes auth-cta-spin { to { transform: rotate(360deg); } }

    .auth-login-card .cta-divider { display: flex; align-items: center; gap: 10px; margin: 14px 0; color: #9ca3af; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
    .auth-login-card .cta-divider::before,
    .auth-login-card .cta-divider::after { content: ""; flex: 1; height: 1px; background: #e5e7eb; }

    .auth-login-card .cta-secondary { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; box-sizing: border-box; background: #fff; color: var(--primary-900, #0F6B29); border: 1.5px solid var(--primary-500, #1B9E3D); padding: 11px; border-radius: 8px; font-weight: 700; font-size: 13.5px; cursor: pointer; font-family: inherit; text-decoration: none; transition: background .15s, border-color .15s, transform .05s; }
    .auth-login-card .cta-secondary:hover { background: color-mix(in oklch, var(--primary-500, #1B9E3D) 8%, #fff); border-color: var(--primary-700, #0F6B29); }
    .auth-login-card .cta-secondary:active { transform: translateY(1px); }
    .auth-login-card .cta-secondary .kbd { background: color-mix(in oklch, var(--primary-500, #1B9E3D) 8%, #fff); color: var(--primary-900, #0F6B29); font-family: 'SF Mono', Menlo, Consolas, monospace; font-size: 11px; padding: 2px 6px; border-radius: 4px; border: 1px solid color-mix(in oklch, var(--primary-500, #1B9E3D) 30%, transparent); font-weight: 700; }

    .auth-login-card .hint { margin-top: 14px; padding: 10px 12px; background: color-mix(in oklch, var(--primary-500, #1B9E3D) 8%, #fff); border-left: 3px solid var(--primary-500, #1B9E3D); border-radius: 0 5px 5px 0; font-size: 12px; color: var(--primary-900, #0F6B29); line-height: 1.5; }
    .auth-login-card .hint b { color: var(--primary-900, #0F6B29); }
    .auth-login-card .hint a { color: var(--primary-700, #0F6B29); font-weight: 700; text-decoration: none; }
    .auth-login-card .hint a:hover { text-decoration: underline; }

    .auth-login-card .foot { margin-top: 14px; padding-top: 12px; font-size: 10.5px; color: #6b7280; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; border-top: 1px solid #e5e7eb; }
    .auth-login-card .foot .sec { display: flex; align-items: center; gap: 6px; color: #6b7280; }
    .auth-login-card .foot .sec .dot { width: 5px; height: 5px; border-radius: 50%; background: #0f7a4a; display: inline-block; box-shadow: 0 0 6px rgba(15,122,74,.5); }
    .auth-login-card .foot a { color: #6b7280; margin-left: 8px; text-decoration: none; }
    .auth-login-card .foot a:hover { color: #1f2937; }

    .auth-login-card .back-link { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 16px; font-size: 12.5px; font-weight: 700; color: var(--primary-700, #0F6B29); text-decoration: none; }
    .auth-login-card .back-link:hover { text-decoration: underline; }

    .auth-login-card .invite-summary { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; padding: 11px 13px; border: 1px solid #e5e7eb; border-radius: 9px; background: #f9fafb; }
    .auth-login-card .invite-ic { flex: 0 0 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: color-mix(in oklch, var(--primary-500, #1B9E3D) 14%, #fff); color: var(--primary-700, #0F6B29); }
    .auth-login-card .invite-ic svg { width: 16px; height: 16px; }
    .auth-login-card .invite-meta { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
    .auth-login-card .invite-meta .lbl { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: #9ca3af; font-weight: 700; }
    .auth-login-card .invite-meta .val { font-size: 13px; color: #1f2937; font-weight: 600; }
    .auth-login-card .invite-expiry { margin-left: auto; text-align: right; }

    @keyframes auth-orbit-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
    @keyframes auth-sun-pulse {
        0%, 100% { transform: scale(1);    opacity: .95; }
        50%      { transform: scale(1.08); opacity: 1; }
    }
    @keyframes auth-star-drift { to { transform: translate(-4%, 2%); } }

    @media (prefers-reduced-motion: reduce) {
        .auth-rings .auth-ring, .auth-sun, .auth-stars::before, .auth-stars::after { animation: none; }
    }

    @media (max-width: 960px) {
        html, body { overflow: auto; }
        /* Stack vertically; editorial must NOT flex-grow (that left a huge gap
           before the form). Reserve no fixed-footer space — the footer is static
           here. */
        .auth-scene { position: relative; inset: auto; flex-direction: column; align-items: stretch; justify-content: flex-start; padding: clamp(20px, 5vw, 32px) clamp(16px, 5vw, 28px) 20px; gap: 18px; min-height: 100vh; min-height: 100dvh; height: auto; overflow: visible; }
        .auth-editorial { order: 1; flex: 0 0 auto; max-width: 560px; width: 100%; margin: 0 auto; }
        .auth-login-card { order: 2; flex: 0 0 auto; max-width: 560px; width: 100%; margin: 0 auto; max-height: none; overflow: visible; }
        .auth-rings { opacity: .22; }
        .auth-sun { display: none; }
        .auth-foot { position: static; order: 3; margin-top: 6px; padding: 14px 0 0; justify-content: center; text-align: center; background: none; }
    }
    /* Phones: focus on the form. Keep a compact brand + headline; hide the
       marketing detail (lede, campus tiles, portal links) so the login form is
       reachable without scrolling. */
    @media (max-width: 640px) {
        .auth-scene { padding: 20px 16px; gap: 14px; }
        .auth-editorial .brand-row { gap: 12px; margin-bottom: 10px; }
        .auth-editorial .crest { width: 46px; height: 46px; font-size: 17px; border-radius: 11px; }
        .auth-editorial .brand-name { font-size: 15.5px; }
        .auth-editorial .brand-name small { font-size: 10px; margin-top: 2px; }
        .auth-editorial .kicker { font-size: 10px; margin-bottom: 8px; }
        .auth-editorial h1 { font-size: clamp(19px, 5.6vw, 24px); line-height: 1.14; overflow-wrap: anywhere; }
        .auth-editorial .lede,
        .auth-editorial .section-label,
        .auth-editorial .campus-list,
        .auth-editorial .portal-links { display: none; }
        .auth-rings { display: none; }
        .auth-login-card { padding: 22px 18px 16px; }
        .auth-foot { font-size: 10.5px; }
        .auth-foot .links { gap: 4px 12px; }
    }
