@layer migrado {
    /* =====================================================================
       Nexo Azul — auth.css
       Pantallas de acceso: login, recuperación, restablecimiento e invitación.

       Vivía dentro de campaign.css, de modo que sus ~1.050 líneas viajaban en
       cada página autenticada aunque solo se usen antes de entrar. Ahora la carga
       únicamente layouts/auth.php.

       Mantiene su propio juego de puntos de ruptura (520/521 y 820/821): es un
       sistema coordinado de una sola pantalla y no se ha tocado al consolidar los
       de la aplicación.
       ===================================================================== */

    /* ---------- Portada de acceso ---------- */
    .auth-body {
        display: grid;
        place-items: center;
        min-height: 100vh;
        padding: var(--sp-8);
        /* Venia de app.css (N-17). */
        overflow-x: hidden;
        background-color: var(--auth-alt);
        background-image:
            radial-gradient(760px 600px at 51% 50%, rgba(28, 118, 219, .28), transparent 70%),
            linear-gradient(145deg, var(--auth-alt-1) 0%, var(--auth-alt-2) 50%, var(--auth-alt-3) 100%);
    }


    /* `min-width: 0` y el `width` de la tarjeta venian de app.css (N-17): sin
       el primero, un hijo con contenido largo desborda la rejilla. */
    .auth-wrapper { width: 100%; max-width: 410px; min-width: 0; }
    .auth-card { width: 100%; background: var(--surface-raised); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--surface-border); border-radius: var(--r-xl); padding: var(--sp-10); box-shadow: var(--shadow-lg); }
    .auth-card__head { text-align: center; margin-bottom: 24px; }
    .auth-card__logo { width: 200px; max-width: 80%; height: auto; margin: 0 auto 16px; }
    .auth-card__head h1 { font-size: var(--fs-2xl); font-weight: 700; color: var(--ink); letter-spacing: var(--tracking-heading); }
    .auth-card__head p { color: var(--ink-2); font-size: var(--fs-md); margin-top: 6px; }
    .auth-form { margin-top: 8px; }
    /* En la tarjeta de acceso las notas van limpias (sin caja ni filo): el aire de
       la tarjeta pide sobriedad, igual que el login. */
    .auth-card .form-note { background: none; border: 0; padding: 0; margin: 16px 0 0; max-width: none;
        text-align: center; color: var(--ink-2); font-size: var(--fs-md); line-height: 1.5; }
    /* En la tarjeta de acceso el .form-note va sin fondo: anulamos la barra azul
       interior que pinta el .form-note::before global (si no, aparece flotando). */
    .auth-card .form-note::before { content: none; }
    .auth-card .form-note a { color: var(--brand-700); font-weight: 500; text-decoration: none; }
    .auth-card .form-note a:hover { text-decoration: underline; }

    /* ---------- Acceso (login) · Nexo Azul: red neuronal centrada ----------
       Codename interno: Nexus. El núcleo PPAs coordina una malla activa entre
       identidad, módulos operativos y acceso. Las ventanas usan cristal plano,
       translúcido y esmerilado, sin volumen ni reflejos dibujados. */
    .auth-wrapper--full { width: 100%; max-width: none; overflow: hidden; }

    .nexo {
        --nexo-ice: var(--b-200);
        --nexo-electric: var(--b-300);
        --nexo-night: var(--b-800);
        position: relative;
        isolation: isolate;
        max-width: 1600px;
        min-height: calc(100vh - 48px);
        margin-inline: auto;
    }
    .nexo::before {
        content: "";
        position: absolute;
        z-index: -1;
        border-radius: var(--r-round);
        pointer-events: none;
    }
    .nexo::before {
        width: min(58vw, 880px);
        aspect-ratio: 1;
        left: 34%;
        top: 50%;
        transform: translate(-50%, -50%);
        background: radial-gradient(circle, rgba(112, 203, 255, .18), rgba(49, 131, 230, .06) 45%, transparent 72%);
    }
    .nexo__logo {
        position: absolute;
        top: 6px;
        left: 8px;
        width: 148px;
        height: auto;
        z-index: 8;
        filter: drop-shadow(0 8px 18px rgba(2, 24, 60, .3));
    }
    .nexo__grid {
        display: grid;
        grid-template-columns: minmax(270px, .84fr) minmax(520px, 1.36fr) minmax(350px, .92fr);
        align-items: center;
        gap: clamp(20px, 2.2vw, 40px);
        min-height: calc(100vh - 48px);
    }

    /* Columna izquierda: identidad */
    .nexo-intro { justify-self: start; max-width: 410px; padding-left: var(--sp-4); }
    .nexo-intro::before {
        content: "CENTRO DE MANDO  ·  ASTURIAS";
        display: block;
        width: fit-content;
        margin-bottom: 16px;
        padding: var(--sp-3) var(--sp-4);
        border: 1px solid rgba(255, 255, 255, .24);
        border-radius: var(--r-pill);
        background: rgba(6, 48, 106, .22);
        color: rgba(255, 255, 255, .76);
        font-size: var(--fs-xs);
        font-weight: 700;
        letter-spacing: .16em;
    }
    .nexo-intro__title {
        font-size: clamp(44px, 4.3vw, 66px);
        font-weight: 700;
        letter-spacing: var(--tracking-hero);
        line-height: .98;
        color: #fff;
        text-shadow: 0 5px 26px rgba(2, 24, 60, .34);
    }
    .nexo-intro__title span { color: var(--b-300); }
    /* Columna central: red neuronal. La topología es SVG estático; solo se
       animan transform y opacidad en señales, neuronas y capas independientes. */
    .nexo-network {
        position: relative;
        isolation: isolate;
        justify-self: center;
        width: min(640px, 46vw);
        aspect-ratio: 1;
    }
    .nexo-network__aura {
        position: absolute;
        z-index: -1;
        border-radius: 42% 58% 55% 45% / 48% 44% 56% 52%;
        pointer-events: none;
    }
    .nexo-network__aura--one {
        inset: 14%;
        background: radial-gradient(ellipse at 46% 52%, rgba(104, 190, 255, .16), rgba(47, 117, 214, .04) 54%, transparent 72%);
        animation: nexo-aura-one 12s ease-in-out infinite;
    }
    .nexo-network__aura--two {
        inset: 28%;
        border-radius: 57% 43% 47% 53% / 45% 58% 42% 55%;
        background: radial-gradient(ellipse at 54% 48%, rgba(139, 211, 255, .18), transparent 68%);
        animation: nexo-aura-two 9s ease-in-out -3s infinite;
    }
    .nexo-network__mesh {
        position: absolute;
        inset: 0;
        z-index: 1;
        width: 100%;
        height: 100%;
        display: block;
        overflow: visible;
        animation: nexo-mesh-enter .82s var(--ease-enter) .08s both;
    }
    .nexo-network__living-layer,
    .nexo-links--ambient,
    .nexo-links--dendrites,
    .nexo-links--primary,
    .nexo-links--activity-core,
    .nexo-neurons,
    .nexo-signals {
        transform-box: view-box;
        transform-origin: center;
    }
    /* Toda la topología comparte la misma deformación: las líneas base, los
       impulsos y sus nodos no pueden separarse mientras la red respira. */
    .nexo-links--ambient,
    .nexo-links--dendrites,
    .nexo-links--primary,
    .nexo-links--activity-core,
    .nexo-neurons,
    .nexo-signals { transform-origin: 50% 51%; }
    .nexo-network__living-layer {
        animation: nexo-network-roam 15.6s cubic-bezier(.455, .03, .515, .955) -6.1s infinite;
    }
    .nexo-links--ambient,
    .nexo-links--dendrites,
    .nexo-links--primary,
    .nexo-links--activity-core,
    .nexo-neurons,
    .nexo-signals {
        animation: nexo-tissue-flex 11.4s ease-in-out -2.7s infinite;
    }
    .nexo-links path {
        fill: none;
        vector-effect: non-scaling-stroke;
        stroke-linecap: round;
        stroke-linejoin: round;
    }
    .nexo-links--ambient path {
        stroke: rgba(203, 237, 255, .6);
        stroke-width: .82;
        opacity: .14;
        animation: nexo-synapse-wave 6.8s ease-in-out infinite;
    }
    .nexo-links--dendrites path {
        stroke: rgba(192, 231, 255, .56);
        stroke-width: .72;
        opacity: .11;
        animation: nexo-synapse-wave 5.6s ease-in-out infinite;
    }
    .nexo-links--primary path {
        stroke: url("#nexo-link-primary");
        stroke-width: 1.2;
        opacity: .38;
        animation: nexo-primary-fire 4.4s ease-in-out infinite;
    }
    .nexo-links path:nth-child(4n + 1) { animation-delay: -.7s; }
    .nexo-links path:nth-child(4n + 2) { animation-delay: -2.35s; }
    .nexo-links path:nth-child(4n + 3) { animation-delay: -4.1s; }
    .nexo-links path:nth-child(4n + 4) { animation-delay: -5.4s; }
    .nexo-links--activity path {
        stroke-dasharray: 13 87;
        stroke-dashoffset: 100;
        opacity: 0;
        animation: nexo-axon-fire var(--beam-speed, 5.8s) linear var(--beam-delay, 0s) infinite;
    }
    .nexo-links--activity-core path {
        stroke: rgba(255, 251, 200, 1);
        stroke-width: 1.7;
        filter: url("#nexo-impulse-glow");
    }
    .nexo-links--activity path:nth-child(4n + 1) { --beam-speed: 5.2s; --beam-delay: -1.4s; }
    .nexo-links--activity path:nth-child(4n + 2) { --beam-speed: 6.4s; --beam-delay: -4.7s; }
    .nexo-links--activity path:nth-child(4n + 3) { --beam-speed: 7.1s; --beam-delay: -2.8s; }
    .nexo-links--activity path:nth-child(4n + 4) { --beam-speed: 5.7s; --beam-delay: -5.1s; }
    .nexo-neuron {
        transform-box: fill-box;
        transform-origin: center;
        animation: nexo-neuron-pulse 5.2s ease-in-out infinite;
    }
    .nexo-neuron__halo { fill: rgba(121, 202, 255, .13); stroke: rgba(213, 242, 255, .22); stroke-width: .8; }
    .nexo-neuron__core { fill: url("#nexo-node-fill"); }
    .nexo-neuron--2,
    .nexo-neuron--7 { animation-delay: -1.7s; }
    .nexo-neuron--3,
    .nexo-neuron--8,
    .nexo-neuron--10 { animation-delay: -3.4s; }
    .nexo-neuron--4,
    .nexo-neuron--6,
    .nexo-neuron--11 { animation-delay: -4.3s; }
    .nexo-neuron--5,
    .nexo-neuron--9 { animation-delay: -2.6s; }
    .nexo-neuron--12,
    .nexo-neuron--17,
    .nexo-neuron--22,
    .nexo-neuron--27,
    .nexo-neuron--32 { animation-delay: -1.1s; }
    .nexo-neuron--13,
    .nexo-neuron--18,
    .nexo-neuron--23,
    .nexo-neuron--28 { animation-delay: -2.1s; }
    .nexo-neuron--14,
    .nexo-neuron--19,
    .nexo-neuron--24,
    .nexo-neuron--29 { animation-delay: -3.1s; }
    .nexo-neuron--15,
    .nexo-neuron--20,
    .nexo-neuron--25,
    .nexo-neuron--30 { animation-delay: -4.1s; }
    .nexo-neuron--16,
    .nexo-neuron--21,
    .nexo-neuron--26,
    .nexo-neuron--31 { animation-delay: -5.1s; }
    .nexo-neuron--micro .nexo-neuron__halo { fill: rgba(121, 202, 255, .08); stroke: rgba(213, 242, 255, .15); }
    .nexo-neuron--micro .nexo-neuron__core { opacity: .82; }
    .nexo-signal {
        fill: #fff;
        stroke: rgba(205, 241, 255, .48);
        stroke-width: 3;
        paint-order: stroke fill;
        opacity: 0;
        transform-box: view-box;
        transform-origin: 0 0;
    }
    .nexo-signal--territorio { animation: nexo-route-territorio 6.2s linear .8s infinite; }
    .nexo-signal--equipos { animation: nexo-route-equipos 7.4s linear -2.2s infinite; }
    .nexo-signal--agenda { animation: nexo-route-agenda 5.8s linear -1.1s infinite; }
    .nexo-signal--comunicacion { animation: nexo-route-comunicacion 7.8s linear -4.6s infinite; }
    .nexo-signal--north { animation: nexo-route-north 8.6s linear -6s infinite; }
    .nexo-signal--south { animation: nexo-route-south 9.2s linear -3.7s infinite; }
    .nexo-signal--micro { fill: var(--b-100); }
    .nexo-signal--relay-west { animation: nexo-route-relay-west 7.2s linear -1.4s infinite; }
    .nexo-signal--relay-east { animation: nexo-route-relay-east 8.1s linear -5.3s infinite; }
    .nexo-signal--relay-southeast { animation: nexo-route-relay-southeast 7.7s linear -2.8s infinite; }
    .nexo-signal--relay-south { animation: nexo-route-relay-south 9s linear -6.8s infinite; }
    .nexo-signal--cross-a { animation: nexo-route-cross-a 10.2s linear -4.2s infinite; }
    .nexo-signal--cross-b { animation: nexo-route-cross-b 11s linear -8.4s infinite; }

    /* Núcleo PPAs: una lente de cristal, siempre fija en el centro de la malla. */
    .nexo-core {
        position: absolute;
        left: 50%;
        top: 50%;
        z-index: 4;
        width: 28%;
        aspect-ratio: 1;
        transform: translate(-50%, -50%);
        animation: nexo-core-enter .72s var(--ease-enter) both;
    }
    .nexo-core::before {
        content: "";
        position: absolute;
        inset: 8%;
        border: 1px solid rgba(184, 226, 255, .38);
        border-radius: var(--r-round);
        opacity: 0;
        pointer-events: none;
        animation: nexo-core-heartbeat-ring 3.2s ease-out 1.1s infinite;
    }
    .nexo-core__lens {
        position: absolute;
        inset: 8%;
        overflow: hidden;
        display: grid;
        place-items: center;
        border: 1px solid rgba(226, 246, 255, .22);
        border-radius: var(--r-round);
        background: rgba(10, 55, 126, .38);
        -webkit-backdrop-filter: blur(16px) saturate(116%);
        backdrop-filter: blur(16px) saturate(116%);
        transform-origin: center;
        animation: nexo-core-heartbeat 3.2s ease-in-out 1.1s infinite;
    }
    .nexo-core__lens img {
        position: relative;
        z-index: 1;
        width: 76%;
        height: auto;
        filter: drop-shadow(0 3px 7px rgba(2, 26, 63, .2));
    }
    /* Ventanas de módulo: cristal translúcido con un reflejo especular contenido. */
    .nexo-module {
        position: absolute;
        z-index: 5;
        transform: translate(-50%, -50%);
        animation: nexo-module-enter .58s var(--ease-enter) both;
    }
    .nexo-module--territorio { left: 14.4%; top: 35%; animation-delay: .2s; }
    .nexo-module--equipos { left: 68.4%; top: 16.3%; animation-delay: .25s; }
    .nexo-module--agenda { left: 85.9%; top: 54.4%; animation-delay: .29s; }
    .nexo-module--comunicacion { left: 25%; top: 79.1%; animation-delay: .34s; }
    .nexo-module__glass {
        position: relative;
        overflow: hidden;
        display: grid;
        grid-template-columns: 39px auto;
        align-items: center;
        gap: var(--sp-4);
        min-width: 146px;
        padding: var(--sp-5) var(--sp-6) var(--sp-5) var(--sp-5);
        border: 1px solid rgba(241, 250, 255, .58);
        border-radius: var(--r-xl);
        background-color: rgba(68, 123, 181, .94);
        -webkit-backdrop-filter: blur(40px) saturate(72%) brightness(.86);
        backdrop-filter: blur(40px) saturate(72%) brightness(.86);
        color: #fff;
    }
    .nexo-module__status {
        position: absolute;
        right: 9px;
        top: 8px;
        width: 4px;
        height: 4px;
        border-radius: var(--r-round);
        background: var(--c-blue-bg);
        animation: nexo-status-pulse 3.8s ease-in-out infinite;
    }
    .nexo-module__icon {
        position: relative;
        display: grid;
        place-items: center;
        width: 39px;
        height: 40px;
        border: 1px solid rgba(231, 247, 255, .18);
        border-radius: var(--r);
        background: rgba(181, 226, 255, .06);
        color: var(--b-50);
    }
    .nexo-module__icon svg { width: 21px; height: 21px; }
    .nexo-module__copy { position: relative; display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
    .nexo-module__copy strong { font-size: var(--fs-sm); font-weight: 700; letter-spacing: -.01em; color: #fff; }
    .nexo-module__copy small { margin-top: 4px; font-size: var(--fs-xs); font-weight: 500; letter-spacing: .035em; color: rgba(225, 244, 255, .68); }
    .nexo-module--comunicacion .nexo-module__glass { min-width: 162px; }

    .nexo-network.is-motion-paused * { animation-play-state: paused !important; }
    .nexo-network.is-motion-paused .nexo-core::before { animation-play-state: paused !important; }

    @keyframes nexo-synapse-wave {
        0%, 100% { opacity: .12; }
        12% { opacity: .88; }
        27% { opacity: .3; }
        54% { opacity: .16; }
        68% { opacity: .62; }
        82% { opacity: .18; }
    }
    @keyframes nexo-primary-fire {
        0%, 100% { opacity: .34; }
        20% { opacity: 1; }
        42% { opacity: .52; }
        68% { opacity: .92; }
        84% { opacity: .44; }
    }
    @keyframes nexo-axon-fire {
        0% { opacity: 0; stroke-dashoffset: 100; }
        7% { opacity: 0; }
        15% { opacity: 1; }
        72% { opacity: .94; }
        86%, 100% { opacity: 0; stroke-dashoffset: -14; }
    }
    @keyframes nexo-mesh-enter {
        from { opacity: 0; transform: scale(.96); }
        to { opacity: 1; transform: scale(1); }
    }
    @keyframes nexo-network-roam {
        0%, 100% { transform: translate(-2px, 1px) rotate(-.08deg) scaleX(.997) scaleY(1.002); }
        17% { transform: translate(6px, -4px) rotate(.28deg) scaleX(1.007) scaleY(.995); }
        36% { transform: translate(1px, 5px) rotate(-.13deg) scaleX(.994) scaleY(1.008); }
        58% { transform: translate(-6px, 2px) rotate(-.31deg) scaleX(1.006) scaleY(.996); }
        76% { transform: translate(-1px, -5px) rotate(.18deg) scaleX(.996) scaleY(1.005); }
        89% { transform: translate(4px, -1px) rotate(.09deg) scaleX(1.003) scaleY(.998); }
    }
    @keyframes nexo-outer-remodel {
        0%, 100% { transform: translate(-1px, 1px) rotate(-.1deg) scaleX(.991) scaleY(1.009); }
        26% { transform: translate(3px, -2px) rotate(.24deg) scaleX(1.018) scaleY(.989); }
        53% { transform: translate(-3px, -1px) rotate(-.2deg) scaleX(.985) scaleY(1.015); }
        79% { transform: translate(2px, 3px) rotate(.13deg) scaleX(1.011) scaleY(.994); }
    }
    @keyframes nexo-dendrite-remodel {
        0%, 100% { transform: translate(1px, -1px) rotate(.1deg) scaleX(1.008) scaleY(.993); }
        23% { transform: translate(-3px, 2px) rotate(-.18deg) scaleX(.984) scaleY(1.017); }
        51% { transform: translate(3px, 1px) rotate(.16deg) scaleX(1.016) scaleY(.988); }
        77% { transform: translate(-2px, -3px) rotate(-.11deg) scaleX(.99) scaleY(1.012); }
    }
    @keyframes nexo-tissue-flex {
        0%, 100% { transform: translate(0, 0) rotate(0deg) scaleX(.993) scaleY(1.008); }
        24% { transform: translate(2px, -1px) rotate(.09deg) scaleX(1.013) scaleY(.99); }
        49% { transform: translate(-2px, 2px) rotate(-.075deg) scaleX(.989) scaleY(1.014); }
        73% { transform: translate(1px, 1px) rotate(.055deg) scaleX(1.009) scaleY(.994); }
    }
    @keyframes nexo-module-enter {
        from { opacity: 0; transform: translate(-50%, -50%) scale(.9); }
        to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    }
    @keyframes nexo-core-enter {
        from { opacity: 0; transform: translate(-50%, -50%) scale(.9); }
        to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    }
    @keyframes nexo-core-heartbeat {
        0%, 34%, 44%, 52%, 100% { transform: scale(1); }
        39% { transform: scale(1.028); }
        48% { transform: scale(1.014); }
    }
    @keyframes nexo-core-heartbeat-ring {
        0%, 34% { opacity: 0; transform: scale(.98); }
        39% { opacity: .34; transform: scale(1.02); }
        58%, 100% { opacity: 0; transform: scale(1.16); }
    }
    @keyframes nexo-aura-one {
        0%, 100% { opacity: .56; transform: scale(.98) rotate(-4deg); }
        50% { opacity: .92; transform: scale(1.04) rotate(4deg); }
    }
    @keyframes nexo-aura-two {
        0%, 100% { opacity: .48; transform: scale(.96); }
        50% { opacity: .82; transform: scale(1.06); }
    }
    @keyframes nexo-neuron-pulse {
        0%, 100% { opacity: .48; transform: scale(.88); }
        45% { opacity: 1; transform: scale(1.08); }
    }
    @keyframes nexo-status-pulse {
        0%, 100% { opacity: .48; transform: scale(.82); }
        50% { opacity: 1; transform: scale(1.15); }
    }
    @keyframes nexo-route-territorio {
        0%, 10% { opacity: 0; transform: translate(256px, 277px) scale(.75); }
        18% { opacity: 1; }
        48% { transform: translate(220px, 250px) scale(1); }
        74% { opacity: 1; transform: translate(155px, 225px) scale(1); }
        100% { opacity: 0; transform: translate(92px, 224px) scale(.75); }
    }
    @keyframes nexo-route-equipos {
        0%, 9% { opacity: 0; transform: translate(360px, 252px) scale(.72); }
        17% { opacity: 1; }
        48% { transform: translate(380px, 214px) scale(1); }
        76% { opacity: 1; transform: translate(416px, 154px) scale(1); }
        100% { opacity: 0; transform: translate(438px, 104px) scale(.72); }
    }
    @keyframes nexo-route-agenda {
        0%, 11% { opacity: 0; transform: translate(550px, 348px) scale(.75); }
        19% { opacity: 1; }
        52% { transform: translate(488px, 352px) scale(1); }
        78% { opacity: 1; transform: translate(425px, 365px) scale(1); }
        100% { opacity: 0; transform: translate(393px, 351px) scale(.75); }
    }
    @keyframes nexo-route-comunicacion {
        0%, 10% { opacity: 0; transform: translate(274px, 384px) scale(.72); }
        18% { opacity: 1; }
        49% { transform: translate(244px, 427px) scale(1); }
        76% { opacity: 1; transform: translate(205px, 476px) scale(1); }
        100% { opacity: 0; transform: translate(160px, 506px) scale(.72); }
    }
    @keyframes nexo-route-north {
        0%, 12% { opacity: 0; transform: translate(100px, 120px) scale(.7); }
        19% { opacity: .86; }
        54% { transform: translate(220px, 78px) scale(.9); }
        80% { opacity: .86; transform: translate(270px, 96px) scale(.9); }
        100% { opacity: 0; transform: translate(310px, 114px) scale(.7); }
    }
    @keyframes nexo-route-south {
        0%, 12% { opacity: 0; transform: translate(588px, 445px) scale(.7); }
        19% { opacity: .8; }
        52% { transform: translate(475px, 545px) scale(.9); }
        79% { opacity: .8; transform: translate(390px, 564px) scale(.9); }
        100% { opacity: 0; transform: translate(320px, 579px) scale(.7); }
    }
    @keyframes nexo-route-relay-west {
        0%, 12% { opacity: 0; transform: translate(205px, 35px) scale(.72); }
        19% { opacity: .78; }
        45% { transform: translate(220px, 78px) scale(.9); }
        72% { opacity: .78; transform: translate(220px, 165px) scale(.9); }
        100% { opacity: 0; transform: translate(220px, 250px) scale(.72); }
    }
    @keyframes nexo-route-relay-east {
        0%, 12% { opacity: 0; transform: translate(554px, 104px) scale(.72); }
        19% { opacity: .82; }
        48% { transform: translate(505px, 145px) scale(.9); }
        74% { opacity: .82; transform: translate(456px, 182px) scale(.9); }
        100% { opacity: 0; transform: translate(380px, 214px) scale(.72); }
    }
    @keyframes nexo-route-relay-southeast {
        0%, 12% { opacity: 0; transform: translate(615px, 487px) scale(.72); }
        19% { opacity: .78; }
        44% { transform: translate(588px, 445px) scale(.9); }
        72% { opacity: .78; transform: translate(520px, 406px) scale(.9); }
        100% { opacity: 0; transform: translate(425px, 365px) scale(.72); }
    }
    @keyframes nexo-route-relay-south {
        0%, 12% { opacity: 0; transform: translate(284px, 618px) scale(.72); }
        19% { opacity: .78; }
        45% { transform: translate(320px, 579px) scale(.9); }
        72% { opacity: .78; transform: translate(314px, 500px) scale(.9); }
        100% { opacity: 0; transform: translate(244px, 427px) scale(.72); }
    }
    @keyframes nexo-route-cross-a {
        0%, 12% { opacity: 0; transform: translate(118px, 286px) scale(.7); }
        18% { opacity: .68; }
        38% { transform: translate(220px, 250px) scale(.86); }
        58% { transform: translate(142px, 170px) scale(.86); }
        78% { opacity: .68; transform: translate(332px, 160px) scale(.86); }
        100% { opacity: 0; transform: translate(456px, 182px) scale(.7); }
    }
    @keyframes nexo-route-cross-b {
        0%, 12% { opacity: 0; transform: translate(150px, 390px) scale(.7); }
        18% { opacity: .68; }
        36% { transform: translate(244px, 427px) scale(.86); }
        56% { transform: translate(314px, 500px) scale(.86); }
        78% { opacity: .68; transform: translate(392px, 468px) scale(.86); }
        100% { opacity: 0; transform: translate(520px, 406px) scale(.7); }
    }

    /* Columna derecha: tarjeta de acceso en cristal fuerte para mantener contraste. */
    .nexo-panel { justify-self: end; width: min(420px, 100%); padding-right: 0; }
    .nexo-panel__card {
        position: relative;
        overflow: hidden;
        padding: var(--sp-9) var(--sp-9);
        border: 1px solid rgba(255, 255, 255, .72);
        border-radius: var(--r-xl);
        background:
            linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(238, 247, 255, .84)),
            rgba(244, 250, 255, .9);
        box-shadow:
            0 42px 90px -32px rgba(2, 24, 60, .74),
            inset 0 1px 1px rgba(255, 255, 255, .92),
            inset 0 -18px 30px rgba(72, 137, 207, .05);
    }
    .nexo-panel__card::before {
        content: "";
        position: absolute;
        width: 78%;
        height: 120px;
        left: -12%;
        top: -86px;
        border-radius: var(--r-round);
        background: rgba(255, 255, 255, .72);
        transform: rotate(-7deg);
        pointer-events: none;
    }

    .nexo-panel__title { margin-top: 16px; font-size: var(--fs-4xl); font-weight: 700; letter-spacing: var(--tracking-display); color: var(--ink); }
    .login-form { display: flex; flex-direction: column; gap: var(--sp-6); }
    .field { display: flex; flex-direction: column; gap: var(--sp-4); }
    .field__label { font-size: var(--fs-sm); font-weight: 700; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--ink-3); }
    .field__control { position: relative; display: flex; align-items: center; }
    .field__icon { position: absolute; left: 15px; width: 18px; height: 18px; color: var(--ink-3); pointer-events: none; transition: color .15s; }
    .field__control input { width: 100%; height: 52px; padding: 0 var(--sp-6) 0 var(--sp-11); border: 2px solid var(--line); border-radius: var(--r); background: var(--n-50); color: var(--ink); font-size: var(--fs-lg); transition: border-color .15s, box-shadow .15s, background .15s; }
    .field__control input::placeholder { color: var(--ink-3); opacity: .7; }
    .field__control input:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(31, 111, 224, .16); }
    .field__control:focus-within .field__icon { color: var(--brand-texto); }

    /* Mostrar/ocultar contraseña (ojo) */
    .field__control input:has(+ .field__eye) { padding-right: var(--sp-11); }
    .field__eye { position: absolute; right: 7px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--ink-3); cursor: pointer; transition: color .15s, background .15s; }
    .field__eye:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
    .field__eye svg { width: 19px; height: 19px; }
    .field__eye .field__eye-hide { display: none; }
    .field__eye.is-on .field__eye-show { display: none; }
    .field__eye.is-on .field__eye-hide { display: block; }

    .login-submit { position: relative; margin-top: 6px; height: 52px; border: 0; border-radius: var(--r); background: linear-gradient(135deg, var(--b-400), var(--b-500)); color: #fff; font-size: var(--fs-lg); font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 30px -12px rgba(31, 111, 224, .7); transition: transform .12s var(--ease-enter), box-shadow .15s ease, background-color .2s ease; }
    .login-submit__copy { display: inline-grid; overflow: hidden; min-width: 110px; place-items: center; }
    .login-submit__idle,
    .login-submit__busy { grid-area: 1 / 1; transition: opacity .15s var(--ease-enter), transform .15s var(--ease-enter); }
    .login-submit__busy { opacity: 0; transform: translateY(5px); }
    .login-submit__arrow { position: absolute; right: 18px; width: 18px; height: 18px; transition: opacity .14s ease-out, transform .18s var(--ease-enter); }
    .login-submit__spinner { position: absolute; right: 18px; width: 17px; height: 17px; border: 2px solid rgba(255, 255, 255, .28); border-top-color: #fff; border-radius: var(--r-round); opacity: 0; transform: scale(.9); }
    .login-submit:active { transform: translateY(1px) scale(.99); }
    .login-submit:focus-visible { outline: 2px solid var(--brand-700); outline-offset: 3px; }
    .login-submit:disabled { cursor: wait; opacity: 1; }

    /* Enlace de recuperación: discreto, alineado a la derecha bajo la contraseña. */
    .login-forgot { display: block; text-align: center; margin: 14px auto 0; font-size: var(--fs-md); font-weight: 500;
        color: var(--brand-700); text-decoration: none; transition: color .15s, opacity .15s; }
    .login-forgot:focus-visible { outline: 2px solid var(--brand-700); outline-offset: 3px; border-radius: var(--r-xs); }

    .login-foot { margin-top: 24px; display: flex; align-items: center; gap: var(--sp-4); font-size: var(--fs-sm); color: var(--ink-3); }
    .login-foot svg { width: 16px; height: 16px; color: var(--ok); flex-shrink: 0; }

    @media (hover: hover) and (pointer: fine) {
        .field__eye:hover { color: var(--brand-texto); background: var(--brand-soft); }
        .login-submit:hover { box-shadow: 0 18px 40px -12px rgba(31, 111, 224, .84); }
        .login-submit:hover .login-submit__arrow { transform: translateX(4px); }
        .login-forgot:hover { text-decoration: underline; opacity: .85; }
    }

    /* Entrada escalonada: el núcleo lidera y la interfaz lo sigue sin superar 1 s. */
    .nexo-intro { animation: nexo-up .65s var(--ease-enter, cubic-bezier(.22, 1, .36, 1)) .14s both; }
    .nexo-panel__card { animation: nexo-up .65s var(--ease-enter, cubic-bezier(.22, 1, .36, 1)) .2s both; }
    @keyframes nexo-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

    /* Responsive: la red conserva protagonismo y pasa a composición vertical. */
    @media (max-width: 1380px) {
        .nexo__grid { grid-template-columns: minmax(250px, .8fr) minmax(480px, 1.28fr) minmax(335px, .92fr); gap: var(--sp-7); }
        .nexo-network { width: min(590px, 44vw); }
    }
    @media (max-width: 1180px) {
        .nexo__grid { grid-template-columns: minmax(280px, 1fr) minmax(350px, 420px); gap: var(--sp-8); }
        .nexo-network {
            position: absolute;
            left: 43%;
            top: 50%;
            z-index: 0;
            width: min(610px, 64vw);
            transform: translate(-50%, -50%);
            opacity: .46;
            justify-self: unset;
        }
        .nexo-intro,
        .nexo-panel { position: relative; z-index: 2; }
    }
    @media (max-width: 820px) {
        .auth-wrapper--full { width: 100%; }
        .nexo__grid { position: relative; grid-template-columns: 1fr; align-content: center; gap: var(--sp-7); padding-top: var(--sp-12); }
        .nexo-network {
            position: absolute;
            left: 50%;
            top: 50%;
            z-index: 0;
            width: min(560px, 94vw);
            transform: translate(-50%, -50%);
            opacity: .24;
            justify-self: center;
        }
        .nexo-intro,
        .nexo-panel { position: relative; z-index: 2; }
        .nexo-intro { justify-self: center; text-align: center; max-width: 480px; padding: 0; }
        .nexo-intro::before { margin-inline: auto; }
        .nexo-panel { justify-self: center; width: min(440px, 100%); padding: 0; }
        .nexo__logo { width: 118px; }
    }
    @media (max-width: 520px) {
        .auth-body { display: block; padding: var(--sp-5); overflow-x: hidden; }
        .auth-wrapper--full { width: 100%; max-width: none; margin: 0; }
        /* D-2. app.css tenía aquí su propio bloque de 520 px para `.auth-wrapper`,
           `.auth-card` y `.auth-card__logo`. NO se trae ni una declaración, y
           conviene dejar dicho por qué: una media query no añade especificidad,
           así que aquellas reglas competían de tú a tú con las BASE de esta
           hoja, que carga después y ganaba. Estaban muertas en la práctica.
           Traerlas habría estrechado la tarjeta 32 px a 360 px, y el arnés lo
           canto en la primera corrida. */
        .nexo { min-height: calc(100vh - 28px); }
        .nexo__grid { position: relative; width: 100%; align-content: start; gap: var(--sp-5); padding-top: var(--sp-11); }
        .nexo__logo { left: 2px; width: 102px; }
        .nexo-intro::before { margin-bottom: 10px; padding: var(--sp-3) var(--sp-4); font-size: var(--fs-xs); }
        .nexo-intro__title { font-size: clamp(38px, 12vw, 48px); }
        .nexo-network {
            position: absolute;
            left: 50%;
            top: 90px;
            z-index: 0;
            width: min(370px, 108vw);
            transform: translateX(-50%);
            opacity: .18;
            pointer-events: none;
        }
        .nexo-intro,
        .nexo-panel { position: relative; z-index: 2; }
        .nexo-module { display: none; }
        .nexo-core { width: 31%; opacity: .54; }
        .nexo-signal--north,
        .nexo-signal--south,
        .nexo-signal--micro,
        .nexo-links--ambient path:nth-child(n + 7),
        .nexo-links--activity path:nth-child(n + 7) { display: none; }
        .nexo-panel { justify-self: stretch; width: 100%; max-width: none; min-width: 0; margin: 4px 0 0; padding: 0; }
        .nexo-panel__card { width: 100%; margin-inline: auto; padding: var(--sp-8) var(--sp-7); border-radius: var(--r-xl); }
    }

    /* Composición focal: la red es la interfaz principal y el acceso queda como
       un terminal compacto conectado al núcleo. Se acota con modificador para no
       alterar otras pantallas de autenticación. */
    .auth-body:has(.nexo--focus) {
        padding: 0;
        background-color: var(--auth-deep);
        background-image:
            radial-gradient(ellipse 760px 580px at 50% 42%, rgba(22, 104, 205, .3), transparent 72%),
            linear-gradient(145deg, var(--auth-1) 0%, var(--auth-2) 48%, var(--auth-3) 100%);
    }
    .nexo--focus {
        --nexo-focus-glass: 6, 70, 156;
        max-width: none;
        min-height: 100svh;
    }
    .auth-wrapper--full:has(.nexo--focus) {
        overflow-x: hidden;
        overflow-y: visible;
    }
    .nexo--focus::before {
        width: min(76vw, 1080px);
        left: 50%;
        top: 42%;
        background: radial-gradient(circle, rgba(61, 159, 255, .2), rgba(25, 95, 188, .06) 48%, transparent 72%);
    }
    .nexo--focus .nexo__grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        place-items: center;
        align-content: center;
        gap: 0;
        min-height: inherit;
        padding: clamp(10px, 2vh, 24px) 0;
    }
    .nexo--focus .nexo-network {
        position: relative;
        left: auto;
        top: auto;
        z-index: 1;
        isolation: auto;
        grid-column: 1;
        grid-row: 1;
        justify-self: center;
        width: min(760px, 72vw, 73vh);
        opacity: 1;
        transform: none;
        pointer-events: none;
    }
    .nexo--focus .nexo-network__aura { z-index: 0; }
    .nexo--focus .nexo-network__mesh,
    .nexo--focus .nexo-module { animation-fill-mode: backwards; }
    .nexo--focus .nexo-core {
        width: 22%;
        opacity: 1;
    }
    .nexo--focus .nexo-module {
        /* El wrapper es la superficie que puede muestrear la malla. El cristal
           interior vive dentro de un contexto animado y, en Chromium/WebKit, su
           backdrop-filter no alcanzaba el SVG situado detrás. */
        overflow: hidden;
        border-radius: var(--r-xl);
        background: rgba(var(--nexo-focus-glass), .06);
        -webkit-backdrop-filter: blur(14px) saturate(150%) brightness(1.1);
        backdrop-filter: blur(14px) saturate(150%) brightness(1.1);
        box-shadow: var(--shadow);
    }
    .nexo--focus .nexo-module__glass {
        isolation: isolate;
        border-color: rgba(154, 215, 255, .42);
        background-color: rgba(var(--nexo-focus-glass), .20);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        box-shadow: none;
    }
    .nexo--focus .nexo-module__glass::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 0;
        border-radius: inherit;
        background-image:
            radial-gradient(circle, rgba(225, 244, 255, .18) 0 .45px, transparent .7px),
            radial-gradient(circle, rgba(0, 35, 91, .22) 0 .4px, transparent .7px);
        background-position: 0 0, 3px 4px;
        background-size: 7px 7px, 9px 9px;
        opacity: .22;
        pointer-events: none;
    }
    .nexo--focus .nexo-module__glass > * { z-index: 1; }
    .nexo--focus .nexo-module--comunicacion { top: 70.5%; }
    .nexo--focus .nexo-panel {
        position: relative;
        z-index: 6;
        grid-column: 1;
        grid-row: 2;
        justify-self: center;
        width: min(354px, calc(100vw - 32px));
        margin-top: clamp(-150px, -14vh, -116px);
        padding: 0;
    }
    .nexo--focus .nexo-panel::before {
        content: "";
        position: absolute;
        left: 50%;
        top: -38px;
        width: 1px;
        height: 38px;
        background: linear-gradient(to bottom, rgba(66, 170, 255, 0), rgba(66, 170, 255, .65));
        box-shadow: 0 0 12px rgba(61, 164, 255, .5);
        transform: translateX(-50%);
        pointer-events: none;
    }
    .nexo--focus .nexo-panel__card {
        position: relative;
        overflow: hidden;
        width: 100%;
        margin: 0;
        padding: var(--sp-7) var(--sp-7) var(--sp-7);
        border: 1px solid rgba(154, 215, 255, .42);
        border-radius: var(--r-lg);
        background: rgba(var(--nexo-focus-glass), .44);
        -webkit-backdrop-filter: blur(8px) saturate(165%) brightness(1.16) contrast(1.06);
        backdrop-filter: blur(8px) saturate(165%) brightness(1.16) contrast(1.06);
        box-shadow: var(--shadow-lg);
    }
    .nexo--focus .nexo-panel__card::before { content: none; }
    .nexo--focus .nexo-panel__title {
        margin: 0 0 16px;
        text-align: center;
        color: var(--n-50);
        font-size: var(--fs-4xl);
        font-weight: 700;
        letter-spacing: var(--tracking-display);
        line-height: 1;
    }
    .nexo--focus .nexo-panel__title span { color: var(--b-400); }
    .nexo--focus .nexo-panel__title img {
        display: block;
        width: 100%;
        height: auto;
        max-width: 280px;
        margin: 0 auto;
    }
    .nexo--focus .login-form { gap: var(--sp-4); }
    .nexo--focus .field { gap: 0; }
    .nexo--focus .field__label--hidden {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
        border: 0;
    }
    .nexo--focus .field__icon {
        left: 13px;
        width: 16px;
        height: 16px;
        color: rgba(111, 178, 245, .72);
    }
    .nexo--focus .field__control input {
        height: 44px;
        padding: 0 var(--sp-5) 0 var(--sp-10);
        border: 1px solid rgba(81, 157, 244, .34);
        border-radius: var(--r-sm);
        background: rgba(1, 18, 47, .58);
        color: var(--b-50);
        font-size: var(--fs-md);
        caret-color: var(--b-300);
    }
    .nexo--focus .field__control input::placeholder {
        color: rgba(180, 211, 241, .48);
        opacity: 1;
    }
    .nexo--focus .field__control input:focus {
        border-color: rgba(71, 171, 255, .86);
        background: rgba(2, 25, 62, .76);
        box-shadow: 0 0 0 2px rgba(52, 151, 255, .12), 0 0 24px -10px rgba(50, 157, 255, .8);
    }
    .nexo--focus .field__control:focus-within .field__icon { color: var(--b-300); }
    .nexo--focus .field__control input:has(+ .field__eye) { padding-right: var(--sp-10); }
    .nexo--focus .field__eye {
        right: 4px;
        width: 34px;
        height: 34px;
        color: rgba(151, 199, 242, .58);
    }
    .nexo--focus .field__eye svg { width: 16px; height: 16px; }
    .nexo--focus .field__eye:focus-visible {
        outline-color: var(--b-400);
        outline-offset: -2px;
    }
    .nexo--focus .login-submit {
        height: 44px;
        margin-top: 2px;
        border: 1px solid rgba(104, 190, 255, .24);
        border-radius: var(--r-sm);
        background: linear-gradient(135deg, var(--b-400), var(--b-600));
        font-size: var(--fs-md);
        font-weight: 700;
        box-shadow: 0 14px 30px -15px rgba(14, 113, 234, .9);
    }
    .nexo--focus .login-submit__arrow { right: 13px; width: 16px; height: 16px; }
    .nexo--focus .login-submit__spinner { right: 13px; width: 16px; height: 16px; }
    .nexo--focus .login-submit:focus-visible {
        outline-color: var(--b-300);
        outline-offset: 3px;
    }
    .nexo--focus .nexo-panel__meta {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: var(--sp-4);
        margin-top: 12px;
        color: rgba(199, 225, 249, .52);
        font-size: var(--fs-xs);
    }
    .nexo--focus .login-foot {
        display: flex;
        align-items: center;
        gap: var(--sp-3);
        margin: 0;
        color: inherit;
        font-size: inherit;
    }
    .nexo--focus .login-foot svg {
        width: 13px;
        height: 13px;
        color: var(--gold);
    }
    .nexo--focus .nexo-panel__meta-separator { opacity: .44; }
    .nexo--focus .login-forgot {
        display: inline;
        margin: 0;
        color: rgba(174, 211, 247, .62);
        font-size: inherit;
        font-weight: 500;
        text-align: left;
    }
    .nexo--focus .login-forgot:focus-visible {
        outline-color: var(--b-300);
        outline-offset: 3px;
    }
    .nexo--focus .flash-stack { margin-bottom: 12px; }
    .nexo--focus .alert {
        margin-bottom: 8px;
        padding: var(--sp-4) var(--sp-8) var(--sp-4) var(--sp-6);
        border-radius: var(--r-sm);
        background: var(--auth-2);
        box-shadow: none;
        color: var(--b-100);
        font-size: var(--fs-sm);
    }
    .nexo--focus .alert::before { left: 6px; top: 7px; bottom: 7px; width: 2px; }
    .nexo--focus .alert__close { position: absolute; top: 6px; right: 8px; color: inherit; }

    @media (max-height: 760px) and (min-width: 821px) {
        .nexo--focus .nexo-network { width: min(600px, 66vh); }
        .nexo--focus .nexo-panel { margin-top: -96px; }
        .nexo--focus .nexo-panel__card { padding: var(--sp-6) var(--sp-7) var(--sp-6); }
        .nexo--focus .nexo-panel__title { margin-bottom: 12px; font-size: var(--fs-4xl); }
        .nexo--focus .field__control input,
        .nexo--focus .login-submit { height: 40px; }
        .nexo--focus .nexo-panel__meta { margin-top: 8px; }
    }

    @media (max-width: 820px) {
        .auth-body:has(.nexo--focus) { padding: 0; }
        .nexo--focus { min-height: 100svh; }
        .nexo--focus .nexo__grid {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 0;
            min-height: inherit;
            width: 100%;
            padding: var(--sp-4) 0 var(--sp-6);
        }
        .nexo--focus .nexo-network {
            position: relative;
            left: auto;
            top: auto;
            width: min(500px, 110vw, 58svh);
            opacity: 1;
            transform: none;
        }
        .nexo--focus .nexo-core { width: 22%; opacity: 1; }
        .nexo--focus .nexo-panel {
            position: relative;
            width: min(350px, 100%);
            margin: clamp(-94px, -11vh, -72px) 0 0;
        }
        .nexo--focus .nexo-module__glass {
            transform: scale(.78);
            transform-origin: center;
        }
    }

    @media (min-width: 521px) and (max-width: 820px) {
        .nexo--focus .nexo-signal--north,
        .nexo--focus .nexo-signal--south,
        .nexo--focus .nexo-signal--micro,
        .nexo--focus .nexo-links--ambient path:nth-child(n + 7),
        .nexo--focus .nexo-links--activity path:nth-child(n + 7) { display: initial; }
    }

    @media (max-width: 520px) {
        .nexo--focus .nexo-panel__card { padding: var(--sp-7); border-radius: var(--r-lg); }
        .nexo--focus .nexo-panel__title { margin-bottom: 14px; font-size: var(--fs-4xl); }
        .nexo--focus .field__control input { font-size: var(--fs-xl); }
        .nexo--focus .field__eye { right: 0; width: 44px; height: 44px; }
        .nexo--focus .field__control input:has(+ .field__eye) { padding-right: var(--sp-11); }
        .nexo--focus .nexo-panel__meta { gap: var(--sp-3); margin-top: 10px; font-size: var(--fs-xs); }

        /* Perfil movil: una sola deformacion de la topologia y actividad en los
           cuatro circuitos principales. Evita repintar decenas de capas SVG y
           sustituye el halo de escritorio por un filtro de una sola pasada. */
        .nexo--focus .nexo-links--ambient,
        .nexo--focus .nexo-links--dendrites,
        .nexo--focus .nexo-links--primary,
        .nexo--focus .nexo-links--activity-core,
        .nexo--focus .nexo-neurons,
        .nexo--focus .nexo-signals,
        .nexo--focus .nexo-network__aura { animation: none; }

        .nexo--focus .nexo-links--ambient path,
        .nexo--focus .nexo-links--dendrites path { animation: none; }

        .nexo--focus .nexo-links--activity path:nth-child(n + 5),
        .nexo--focus .nexo-neuron--micro { display: none; }

        .nexo--focus .nexo-links--activity-core path {
            filter: url("#nexo-impulse-glow-mobile");
            stroke-width: 1.9;
        }

        .nexo--focus .nexo-neuron { animation: none; opacity: .72; }
        .nexo--focus .nexo-neuron:nth-child(-n + 4) {
            animation: nexo-neuron-pulse 6.4s ease-in-out infinite;
        }
    }

    /* Respeta la preferencia de menos movimiento */
    @media (prefers-reduced-motion: reduce) {
        .nexo-network *,
        .nexo-core::before,
        .nexo-intro,
        .nexo-panel__card { animation: none !important; transition: none !important; }
        .nexo-signal { display: none; }
    }

    @supports not ((-webkit-backdrop-filter: blur(2px)) or (backdrop-filter: blur(2px))) {
        .nexo-module__glass { background-color: rgba(63, 116, 176, .98); }
        .nexo-core__lens { background: rgba(18, 91, 174, .68); }
        .nexo-panel__card { background: var(--n-50); }
        .nexo--focus .nexo-module__glass,
        .nexo--focus .nexo-panel__card { background: rgb(8, 70, 145); }
    }

    /* ---------- Verificación y continuidad hacia Mi día ----------
       El POST ya está viajando. No se representa éxito todavía: la escena solo
       concentra la actividad en el núcleo mientras el servidor valida. */
    .nexo.is-authenticating .nexo-network__mesh,
    .nexo.is-authenticating .nexo-network__aura {
        transition: opacity .3s var(--ease-enter), transform .3s var(--ease-enter);
        opacity: .72;
        transform: scale(.985);
        transform-origin: center;
    }
    .nexo.is-authenticating .nexo-module {
        animation: none;
        transition: opacity .28s var(--ease-enter), transform .28s var(--ease-enter);
        opacity: .58;
        transform: translate(-50%, -50%) scale(.96);
    }
    .nexo.is-authenticating .nexo-core {
        animation: none;
        transition: transform .3s var(--ease-enter);
        transform: translate(-50%, -50%) scale(1.045);
    }
    .nexo.is-authenticating .nexo-core__lens {
        animation: none;
    }
    .nexo.is-authenticating .nexo-core::before {
        animation: nexo-verify-ring 1.05s linear infinite;
    }
    .nexo.is-authenticating .login-submit__idle { opacity: 0; transform: translateY(-5px); }
    .nexo.is-authenticating .login-submit__busy { opacity: 1; transform: translateY(0); }
    .nexo.is-authenticating .login-submit__arrow { opacity: 0; transform: translateX(5px); }
    .nexo.is-authenticating .login-submit__spinner {
        opacity: 1;
        transform: scale(1);
        animation: login-submit-spin .72s linear infinite;
    }
    .nexo.is-authenticating .login-submit {
        background-color: var(--b-600);
        box-shadow: 0 12px 34px -15px rgba(47, 169, 255, .95);
    }
    @keyframes nexo-verify-ring {
        0% { opacity: .58; transform: scale(.98); }
        100% { opacity: 0; transform: scale(1.22); }
    }
    @keyframes login-submit-spin {
        from { transform: rotate(0) scale(1); }
        to { transform: rotate(1turn) scale(1); }
    }

    @media (prefers-reduced-motion: reduce) {
        .nexo.is-authenticating .nexo-network__mesh,
        .nexo.is-authenticating .nexo-network__aura,
        .nexo.is-authenticating .nexo-module,
        .nexo.is-authenticating .nexo-core,
        .nexo.is-authenticating .login-submit__idle,
        .nexo.is-authenticating .login-submit__busy,
        .nexo.is-authenticating .login-submit__arrow { transition: none; }
        .nexo.is-authenticating .nexo-core::before,
        .nexo.is-authenticating .login-submit__spinner { animation: none; }
    }
}
