/* Login estándar M&M SOLUTION (skill login-mm-solution) · autocontenido: sirve igual en cualquier sistema.
   Reglas: escala fija al 86 % aunque el zoom sea 100 %, siempre centrado, candado que palpita.
   Requiere: JetBrains Mono (@font-face del sistema) y los logotipos oficiales en assets/img. */
html.login{font-size:calc(16px * .86);height:100%}
/* v0.9.5: en computadora (puntero fino, ≥768 px) el ingreso se ve al 80 %, igual que el resto del sistema; en móvil y tableta táctil queda al 86 % */
@media (min-width:768px) and (pointer:fine){html.login{font-size:calc(16px * .80)}}
html.login body{margin:0;height:100%;background-color:#0B0F10;color:#fff;font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  background-image:radial-gradient(rgba(156,161,163,.16) 1px,transparent 1px);background-size:1.5rem 1.5rem;-webkit-font-smoothing:antialiased}
.lg{min-height:100dvh;display:grid;grid-template-columns:minmax(0,1fr);place-items:center;box-sizing:border-box;
  padding:max(1rem,env(safe-area-inset-top)) max(1rem,env(safe-area-inset-right)) max(1rem,env(safe-area-inset-bottom)) max(1rem,env(safe-area-inset-left))}
.lg *,.lg *::before,.lg *::after{box-sizing:border-box}
.lg-card{width:min(100%,30rem);background:#0D1112;border:1px solid #232B2D;border-radius:1.5rem;padding:2rem 2rem 1.5rem}
.lg-logo{display:block;width:min(100%,17rem);height:auto;margin:0 auto 1.5rem}
.lg h1{font-size:1.65rem;font-weight:700;text-align:center;margin:0 0 1.25rem;line-height:1.2}
.lg-err{margin:0 0 1rem;padding:.75rem .9rem;border:1px solid #6b2b25;background:#2a1513;color:#ffb4ab;border-radius:.6rem;font-size:.9rem}
.lg-nota{margin:.75rem 0 0;padding:.75rem .9rem;border:1px solid #2B3436;background:#111719;color:#D9DDDE;border-radius:.6rem;font-size:.85rem;line-height:1.5}
.lg-oculto{display:none!important}
.lg label.lg-et{display:block;font-size:.9rem;color:#9CA1A3;margin:1rem 0 .4rem}
.lg-campo{position:relative}
.lg-campo>svg{position:absolute;left:.95rem;top:50%;width:1.15rem;height:1.15rem;margin-top:-.575rem;stroke:#9CA1A3;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.lg input[type=email],.lg input[type=password],.lg input[type=text]{width:100%;min-height:3.3rem;padding:0 3.1rem 0 2.9rem;background:#151B1D;border:1px solid #2B3436;border-radius:.6rem;color:#fff;font:inherit;font-size:16px;-webkit-appearance:none;appearance:none}
.lg input::placeholder{color:#6b7274}
.lg input:focus{outline:none;border-color:#19C37D}
.lg input:-webkit-autofill,.lg input:-webkit-autofill:focus{-webkit-text-fill-color:#fff;caret-color:#fff;box-shadow:0 0 0 100px #151B1D inset;transition:background-color 9999s}
.lg-ojo{position:absolute;right:.35rem;top:50%;width:max(2.75rem,44px);height:max(2.75rem,44px);margin-top:calc(max(2.75rem,44px) / -2);display:grid;place-items:center;background:none;border:0;border-radius:.5rem;cursor:pointer;color:#9CA1A3}
.lg-ojo svg{width:1.15rem;height:1.15rem;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.lg-ojo:hover,.lg-ojo:focus-visible{color:#fff;outline:none}
.lg-fila{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap;margin-top:1rem;font-size:.9rem}
.lg-rec{display:inline-flex;align-items:center;gap:.6rem;color:#9CA1A3;cursor:pointer;min-height:max(2.75rem,44px)}
.lg-rec input{appearance:none;-webkit-appearance:none;width:1.2rem;height:1.2rem;margin:0;border:1px solid #6b7274;border-radius:.3rem;background:#0B0F10;display:grid;place-content:center;cursor:pointer}
.lg-rec input:checked{background:#19C37D;border-color:#19C37D}
.lg-rec input:checked::after{content:'';width:.35rem;height:.65rem;border:solid #0B0F10;border-width:0 2px 2px 0;transform:rotate(45deg) translate(-1px,-1px)}
.lg-rec input:focus-visible,.lg-enlace:focus-visible,.lg-btn:focus-visible{outline:2px solid #19C37D;outline-offset:2px}
.lg-enlace{background:none;border:0;padding:0;font:inherit;color:#19C37D;cursor:pointer;text-decoration:none;min-height:max(2.75rem,44px)}
.lg-enlace:hover{text-decoration:underline}
.lg-btn{width:100%;min-height:3.3rem;margin-top:1.25rem;background:#19C37D;color:#0B0F10;border:0;border-radius:.6rem;font:inherit;font-size:1.05rem;font-weight:700;cursor:pointer}
.lg-btn:hover{background:#22d089}.lg-btn[disabled]{opacity:.55;cursor:wait}
.lg-ayuda{margin:1.1rem 0 0;text-align:center;font-size:.85rem;color:#8B9496}.lg-ayuda b{font-weight:500;color:#D9DDDE}
.lg-sep{height:1px;background:#1b2224;margin:1.4rem 0 1rem}
.lg-valores{margin:0 0 .7rem;display:flex;flex-wrap:wrap;justify-content:center;gap:.1rem .2em;text-align:center;font-size:.8rem;letter-spacing:0;color:#8B9496;text-transform:uppercase}.lg-valores i{font-style:normal;color:#19C37D;margin:0 .35em}
.lg-pie{display:flex;justify-content:center;align-items:center;gap:.5rem;color:#9CA1A3;font-size:.85rem;text-align:center}
.lg-candado{width:1rem;height:1rem;flex:none;fill:none;stroke:#19C37D;stroke-width:2;animation:lg-lat 1.8s ease-in-out infinite}
@keyframes lg-lat{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.45;transform:scale(.88)}}
@media (prefers-reduced-motion:reduce){.lg-candado{animation:none}}
@media (max-width:420px){.lg-card{padding:1.5rem 1.25rem 1.25rem;border-radius:1.25rem}}
