@font-face{font-family:Geometric;src:url('./assets/brand-font.ttf') format('truetype');font-style:normal;font-weight:100 900;font-display:swap}
:root{font-family:Geometric,Inter,Montserrat,system-ui,sans-serif;color:#fff;background:#080d19;font-synthesis:none;--panel:#101726;--line:#263348;--muted:#acb9ca;--cyan:#1cddd0;--navy:#10284e}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}a{color:#57e5dc;text-decoration:none}a:hover{text-decoration:underline}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}a:focus-visible,button:focus-visible{outline:2px solid var(--cyan);outline-offset:4px}input:focus,select:focus{outline:none;border-color:#25c7c5;box-shadow:0 0 0 3px #1cddd019}
.auth-shell{min-height:100dvh;display:grid;grid-template-columns:minmax(360px,.95fr) minmax(500px,1.05fr)}.brand-panel{position:sticky;top:0;height:100dvh;min-height:650px;padding:46px 48px 30px;display:flex;flex-direction:column;overflow:hidden;border-right:1px solid #263348;background:linear-gradient(180deg,#061227db 0%,#06122766 45%,#061227dd 100%),url('./assets/screen-background.png') center 62%/cover}
.brand{display:flex;align-items:center;gap:14px;color:white;font-weight:700;font-size:34px;letter-spacing:-1.2px;text-decoration:none!important}.brand img{object-fit:contain;filter:drop-shadow(0 6px 18px #00d9d532)}.brand-copy{margin:auto 0;max-width:520px;padding:80px 0 100px;text-shadow:0 2px 18px #010717}.eyebrow{font-size:12px;font-weight:600;letter-spacing:2.4px;color:#5de8de;margin:0 0 18px}.brand-copy h1{font-size:clamp(30px,3vw,48px);font-weight:600;line-height:1.25;letter-spacing:-1.4px;margin:0 0 24px}.brand-copy h1 span{color:#75f0e8}.brand-copy>p:last-child{font-size:16px;line-height:1.8;color:#e3eaf5;max-width:410px}.brand-bottom{display:flex;justify-content:space-between;gap:20px;color:#bcd0df;font-size:12px}
.form-panel{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:64px 48px;background:radial-gradient(ellipse at 100% 0,#16466122,transparent 50%),#080d19}.auth-card{width:100%;max-width:460px}.auth-card.register{max-width:650px}.auth-card h2{font-size:32px;line-height:1.2;font-weight:600;letter-spacing:-.8px;margin:0 0 12px}.intro{font-size:15px;line-height:1.7;color:var(--muted);margin:0 0 30px}.mobile-brand{display:none}form{display:flex;flex-direction:column;gap:20px}label.field{display:flex;flex-direction:column;gap:9px;font-size:14px;color:#eef2f9}.field input,.field select{width:100%;height:49px;padding:0 14px;border:1px solid var(--line);border-radius:9px;color:#fff;background:#111a29;min-width:0}.field input::placeholder{color:#77879c;opacity:1}.field select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23b6c7d6' stroke-width='1.5'/%3E%3C/svg%3E");background-position:right 15px center;background-repeat:no-repeat;padding-right:35px}
.password{position:relative}.password input{padding-right:74px}.password button{position:absolute;right:5px;top:5px;height:39px;background:none;border:0;color:#bed0e0;font-size:12px;padding:0 10px}.password button:hover{color:white}.hint{color:var(--muted);font-size:12px;line-height:1.6;font-weight:400}.row{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-section{border:0;padding:0;margin:5px 0 0;display:flex;flex-direction:column;gap:19px;min-width:0}.form-section legend{font-size:16px;font-weight:600;padding:0 0 20px;color:#fff}.section-divider{border:0;border-top:1px solid #263348;margin:5px 0}.primary{min-height:49px;border:1px solid #22c9c4;border-radius:9px;background:linear-gradient(105deg,#087b85,#116377);box-shadow:0 7px 25px #00d4d512;color:white;font-size:15px;font-weight:600;padding:13px 18px}.primary:hover{filter:brightness(1.16)}.secondary{min-height:44px;color:white;border:1px solid var(--line);border-radius:9px;background:#121e2d;padding:12px 18px;font-size:14px}.links{display:flex;justify-content:space-between;flex-wrap:wrap;gap:15px;font-size:13px;margin-top:24px}.single-link{text-align:center;display:block;margin-top:24px;font-size:14px}.forgot-link{font-size:13px;text-align:right;margin-top:-7px}.check{display:flex;align-items:flex-start;gap:10px;color:#c2cede;font-size:13px;line-height:1.7}.check input{accent-color:#17bfb6;width:17px;height:17px;margin:3px 0 0;flex-shrink:0}#message{font-size:14px;line-height:1.7;margin:20px 0 0;empty-cells:hide}#message:empty{display:none}#message.error{color:#ffb8ba;border:1px solid #a3515a;background:#371b2933;padding:13px;border-radius:9px}#message.success{color:#9cf4dd;border:1px solid #247b6e;background:#14352c66;padding:13px;border-radius:9px}.auth-footer{margin-top:40px;padding-top:22px;border-top:1px solid #1c293c;color:#92a2b7;display:flex;justify-content:space-between;gap:12px;font-size:11px}.auth-footer nav{display:flex;gap:15px}.auth-footer a{color:#acb9ca}.captcha{min-height:65px;max-width:100%;overflow:hidden}.captcha:empty{min-height:0}.notice{padding:18px;border:1px solid #2b5363;background:#10273570;border-radius:12px;line-height:1.8;color:#c6dce6}.notice strong{color:white}.profile{display:grid;gap:16px;margin:25px 0}.profile div{padding-bottom:15px;border-bottom:1px solid var(--line)}.profile dt{color:var(--muted);font-size:13px;margin-bottom:5px}.profile dd{margin:0;font-size:16px;overflow-wrap:anywhere}.legal p,.legal li{line-height:1.8;color:#c3cede;font-size:14px}.legal h3{font-size:17px}.legal ul{padding-left:20px}
@media(min-width:1500px){.brand-panel{padding-left:80px;padding-right:65px}.form-panel{padding:70px 65px}}
@media(max-width:1000px){.auth-shell{grid-template-columns:minmax(280px,.8fr) minmax(440px,1.2fr)}.brand-panel{padding:35px 28px}.brand{font-size:29px}.brand img{width:64px;height:64px}.form-panel{padding:45px 30px}.brand-copy h1{font-size:32px}}
@media(max-width:760px){.auth-shell{display:block}.brand-panel{display:none}.form-panel{min-height:100dvh;padding:30px 22px 35px;justify-content:flex-start;background:radial-gradient(circle at 90% 0,#0b716f27,transparent 45%),#080d19}.mobile-brand{display:flex;margin:0 0 38px;font-size:29px}.mobile-brand img{width:61px;height:61px}.auth-card h2{font-size:29px}.auth-card{max-width:460px}.auth-card.register{max-width:550px}.eyebrow{font-size:11px;letter-spacing:1.9px}.row{gap:15px}.auth-footer{margin-top:35px}.captcha{min-height:65px}}
@media(max-width:430px){.row{grid-template-columns:1fr}.auth-footer{flex-wrap:wrap}.form-panel{padding:25px 20px 30px}}
@media(prefers-reduced-motion:no-preference){button,a,input{transition:border-color .15s,background .15s,color .15s,filter .15s}}


/* Fondo de pantallas: recurso independiente del fondo de correo. */
.auth-shell{background:#061127 url('./assets/screen-background.png') center/cover fixed}
.brand-panel{background:linear-gradient(180deg,#06122755,#06122711 55%,#06122777)}
.form-panel{background:linear-gradient(160deg,#080d19ee,#080d19dd)}
@media(max-width:760px){.form-panel{background:linear-gradient(180deg,#080d19dd,#080d19bb)}}
/* Marca horizontal centrada. Se amplía solo el logo. */
.brand{flex-direction:row;align-items:center;justify-content:center;text-align:center;gap:14px;white-space:nowrap;font-size:44px;letter-spacing:-1.3px}
.brand img{width:140px;height:140px;flex-shrink:0}
@media(max-width:1000px) and (min-width:761px){.brand-panel .brand{margin-left:-20px;margin-right:-20px;font-size:31px;gap:9px}.brand img{width:96px;height:96px}}
@media(max-width:760px){.mobile-brand{font-size:36px;gap:12px;width:100%;margin:0 0 38px}.mobile-brand img{width:112px;height:112px}}
@media(max-width:370px){.mobile-brand{font-size:31px;gap:9px}.mobile-brand img{width:96px;height:96px}}
/* Acceso compacto para escritorio de 1360 x 768. */
@media(min-width:1100px){
.auth-shell:has(.register){grid-template-columns:minmax(300px,.62fr) minmax(780px,1.38fr)}
.form-panel{padding:24px 32px}.auth-card.register{max-width:880px}
.auth-card h2{font-size:28px;margin-bottom:7px}.auth-card .eyebrow{margin-bottom:10px}.intro{margin-bottom:20px;line-height:1.5}
form{gap:15px}.field{gap:7px!important}.field input,.field select{height:43px}
.auth-footer{margin-top:24px;padding-top:15px}.links{margin-top:18px}
.register .eyebrow{margin-bottom:7px}.register h2{font-size:26px}.register .intro{font-size:14px;margin-bottom:14px}
.register form{display:grid;grid-template-columns:1fr 310px;gap:10px 18px}
.register .form-section{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 16px;margin:0}
.register .form-section .row{display:contents}
.register .form-section:last-of-type{grid-template-columns:repeat(4,minmax(0,1fr))}
.register .form-section legend{font-size:14px;padding-bottom:10px}
.register .field{font-size:13px;gap:5px!important}.register .field input,.register .field select{height:38px;font-size:13px;padding-left:11px}
.register .password button{height:28px;font-size:11px;padding:0 6px}.register .password input{padding-right:62px}
.register .hint{display:none}
.register .form-section:last-of-type legend::after{content:none;display:block;font-size:11px;font-weight:400;color:#acb9ca;margin-top:5px}
.register .section-divider{grid-column:1/-1;width:100%;margin:2px 0}
.register .check{align-self:center;font-size:12px;line-height:1.5;margin:0}
.register .captcha{min-height:65px;align-self:center;justify-self:end}
.register .primary{grid-column:1/-1;min-height:40px;padding:9px 15px;font-size:14px}
.register .single-link{margin-top:12px;font-size:13px}
.register .auth-footer{margin-top:16px;padding-top:12px}
}
@media(min-width:1100px) and (max-height:800px){.brand-panel{min-height:0;padding:25px 28px 22px}.brand-copy{padding:32px 0}.brand-copy h1{font-size:32px;line-height:1.23;margin-bottom:18px}.brand-copy>p:last-child{font-size:14px;line-height:1.6}.brand-panel .brand{font-size:36px;gap:12px}.brand-panel .brand img{width:116px;height:116px}}@media(min-width:1100px){
.register .form-section{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px 14px}
.register .form-section:last-of-type legend::after{display:inline;margin-left:14px;margin-top:0}
.register .intro{margin-bottom:10px}.register form{gap:8px 18px}
.register .form-section legend{padding-bottom:8px}
.register .auth-footer{margin-top:12px;padding-top:10px}
}

.password button.show-password{display:flex;align-items:center;justify-content:center;width:36px;padding:5px;color:white}.show-password svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.password input,.register .password input{padding-right:45px}
.account-dialog{position:fixed;inset:0;margin:auto;width:min(460px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;background:#101c2d;border:1px solid #2a646c;border-radius:14px;padding:26px;color:white;box-shadow:0 20px 70px #0009;font-size:14px;line-height:1.6}.account-dialog::backdrop{background:#020916b3}.account-dialog-brand{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:18px}.account-dialog-brand img{width:64px;height:64px;object-fit:contain}.account-dialog-brand strong{font-size:26px;color:white}.account-dialog h3{text-align:center;margin:0 0 14px;font-size:19px}.account-dialog p{overflow-wrap:anywhere}.account-dialog>.primary{display:block;width:100%;margin-top:22px}.account-dialog .single-link{margin:12px 0}

.password-guidance{display:flex;align-items:center;gap:12px;grid-column:1/-1;min-width:0}.password-guidance p{margin:0;flex:1;min-width:0;color:#b8cadb;font-size:11px;line-height:1.45}.password-guidance .generate-password{flex:none;min-height:32px;padding:6px 10px;font-size:11px}.register .form-section:last-of-type legend::after{content:none}.register .password-guidance{margin:0 0 2px}.register .check{grid-column:1}
@media(max-width:600px){.password-guidance{flex-wrap:wrap}.password-guidance p{flex-basis:100%}}
