:root{color-scheme:light;--navy:#102e4f;--muted:#637184;--gold:#baa16a}*{box-sizing:border-box}
    body{margin:0;min-height:100vh;min-height:100svh;background:#f3f5f7;color:#182b43;font-family:'Public Sans',system-ui,sans-serif;display:flex;flex-direction:column}
    .masthead{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:25px clamp(24px,5vw,80px);background:#fff;border-bottom:1px solid #e3e7eb}
    .brand{display:flex;align-items:center;gap:19px}.brand img{width:142px;height:auto;display:block}.brand-name{border-left:1px solid #dce1e6;padding-left:20px;font-size:14px;font-weight:600;line-height:1.6}.brand-name span{display:block;color:var(--muted);font-size:12px;font-weight:400}.header-note{color:var(--muted);font-size:12px;letter-spacing:.04em}
    main{flex:1;width:100%;padding:48px 28px 30px}.page{width:min(100%,1000px);margin:auto}.login-layout{display:grid;grid-template-columns:1.05fr 1fr;overflow:hidden;background:#fff;border:1px solid #e0e5eb;border-radius:24px;box-shadow:0 20px 65px #122e4f0c}
    .intro{position:relative;overflow:hidden;min-height:570px;padding:54px 46px;background:var(--navy);color:#fff;display:flex;flex-direction:column;justify-content:space-between;gap:70px}.intro::after{content:'';position:absolute;right:-240px;bottom:-170px;width:410px;height:410px;border:1px solid #ffffff0e;border-radius:50%;box-shadow:0 0 0 55px #ffffff03,0 0 0 110px #ffffff03;pointer-events:none}.eyebrow{margin:0 0 29px;display:flex;align-items:center;gap:10px;color:#e0c992;font-size:11px;font-weight:600;letter-spacing:.16em;text-transform:uppercase}.eyebrow::before{content:'';width:25px;height:1px;background:var(--gold)}.system-name{margin:0 0 18px;font-size:58px;font-weight:700;letter-spacing:-.06em}.intro h2{max-width:340px;margin:0;font-size:26px;line-height:1.42;font-weight:400;letter-spacing:-.025em}.intro-copy{max-width:335px;margin:23px 0 0;color:#c0cddd;font-size:14px;line-height:1.8}.institution{position:relative;z-index:1;padding-top:25px;border-top:1px solid #ffffff24;color:#c0cddd;font-size:12px;line-height:1.8}.institution strong{display:block;margin-bottom:3px;color:#fff;font-size:14px;font-weight:500}
    .form-panel{padding:51px 46px 40px}.access-label{margin:0 0 13px;color:#796535;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}h1{margin:0 0 13px;font-size:30px;letter-spacing:-.04em}.subtitle{margin:0 0 31px;color:var(--muted);font-size:14px;line-height:1.7}.field{margin-bottom:21px}label{display:block;margin-bottom:9px;font-size:13px;font-weight:600}.input-wrap{position:relative}.field-icon{position:absolute;left:15px;top:17px;width:18px;height:18px;color:#7b8897;pointer-events:none}input{width:100%;min-height:52px;padding:13px 15px 13px 44px;border:1px solid #ccd4de;border-radius:9px;background:#fff;color:var(--navy);font:inherit;font-size:16px;transition:border-color .15s,box-shadow .15s}input::placeholder{color:#737f8d;font-size:14px;opacity:1}input:focus{outline:none;border-color:#2b5e91;box-shadow:0 0 0 3px #2b5e911b}#pass{padding-right:58px}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.password-toggle{position:absolute;right:5px;top:4px;width:44px;height:44px;padding:0;display:grid;place-items:center;border:0;border-radius:6px;background:transparent;color:#5e6e81;cursor:pointer}.password-toggle:hover{background:#edf2f6;color:var(--navy)}button:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid #3879b8;outline-offset:3px}.error{margin:0 0 20px;padding:12px 14px;border:1px solid #efc5ca;border-radius:8px;background:#fff1f2;color:#852733;font-size:13px;line-height:1.55}[hidden]{display:none!important}.caps-warning{margin:9px 0 0;color:#805b18;font-size:12px}.submit{width:100%;min-height:52px;margin-top:7px;display:flex;align-items:center;justify-content:center;gap:12px;border:0;border-radius:9px;background:var(--navy);color:#fff;font:inherit;font-size:14px;font-weight:600;cursor:pointer;transition:background .15s,transform .15s}.submit:hover{background:#1c4672;transform:translateY(-1px)}.credential-note{margin:22px 0 0;padding:14px;border-radius:8px;background:#f3f5f7;color:var(--muted);font-size:12px;line-height:1.7}.credential-note strong{color:#344861}
    .privacy{margin-top:22px;padding:0 24px;border:1px solid #e0e5eb;border-radius:14px;background:#fff;color:var(--muted);font-size:12px;line-height:1.75}.privacy summary{padding:18px 0;color:#29445f;font-weight:700;letter-spacing:.04em;cursor:pointer}.privacy-copy{padding:0 0 20px}.privacy-copy p{margin:0 0 12px}.privacy-copy p:last-child{margin-bottom:0}footer{display:flex;justify-content:space-between;gap:16px;padding:23px 0 0;color:var(--muted);font-size:11px;line-height:1.6}
    @media(max-width:760px){.masthead{padding:18px 22px}.header-note{display:none}.brand{gap:14px}.brand img{width:118px}.brand-name{padding-left:14px;font-size:12px}main{padding:25px 18px 22px}.login-layout{max-width:460px;margin:auto;grid-template-columns:1fr;border-radius:18px}.intro{min-height:auto;padding:27px 28px;gap:0}.eyebrow{margin-bottom:13px;font-size:10px}.system-name{margin-bottom:7px;font-size:38px}.intro h2{max-width:320px;font-size:17px}.intro-copy,.institution{display:none}.form-panel{padding:30px 28px}h1{font-size:27px}.subtitle{margin-bottom:25px}.privacy{max-width:460px;margin:18px auto 0;padding:0 20px}footer{max-width:460px;margin:auto;justify-content:center;flex-wrap:wrap;text-align:center;gap:5px 20px}}
    @media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* Recuperación de acceso */
.recovery input{padding-left:15px}.recovery label{margin-top:20px}.recovery h2{font-size:20px;letter-spacing:-.025em;margin:0 0 12px}.recovery small{display:block;margin-top:8px;color:var(--muted);font-size:12px;line-height:1.7}.recovery a{color:var(--navy);text-underline-offset:3px;overflow-wrap:anywhere}.recovery .mensaje{margin:0 0 22px;padding:14px;border:1px solid #d7e2ed;border-radius:9px;background:#edf3f8;color:#29445f;font-size:13px;line-height:1.7}.recovery hr{border:0;border-top:1px solid #e0e5eb;margin:30px 0}.recovery .back-link{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600}.recovery .credential-note{line-height:1.8}.recovery .submit{margin-top:24px}.recovery .step{margin:0 0 14px;color:#796535;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
