/* BlexSys Personal · entorno visual de acceso seguro v1.0.193 */
:root{--bs-navy:#12172e;--bs-blue:#1f2656;--bs-steel:#7698c3;--bs-white:#f8faff;--bs-muted:#5f6f87}
body.blexy-branded-auth{margin:0;background:#f7f9fd!important;font-family:inherit;color:var(--bs-navy)}
.blexy-branded-auth .auth-page,.blexy-branded-auth .bs-security-shell{min-height:100vh;display:grid;grid-template-columns:minmax(320px,46%) minmax(380px,54%);background:#f7f9fd;position:relative;align-items:stretch}
.blexy-branded-auth .auth-page::before{content:none}
.blexy-branded-auth .bs-hero{background:linear-gradient(145deg,#12172e,#1f2656 64%,#304e82);color:#fff;padding:clamp(35px,6vw,100px);display:flex;flex-direction:column;justify-content:space-between;min-height:100vh;box-sizing:border-box;position:relative;overflow:hidden}
.blexy-branded-auth .bs-hero::after{content:'';position:absolute;width:420px;height:420px;border:1px solid #ffffff16;border-radius:50%;right:-220px;bottom:-190px;box-shadow:0 0 0 65px #ffffff05,0 0 0 130px #ffffff05;pointer-events:none}
.blexy-branded-auth .bs-brand img{display:block;width:min(250px,70%);height:auto;max-height:85px;object-fit:contain;object-position:left center}
.blexy-branded-auth .bs-hero-content{position:relative;z-index:1;max-width:485px}.blexy-branded-auth .bs-eyebrow{font-size:12px;font-weight:800;letter-spacing:2px;color:#bacdf6;text-transform:uppercase;margin:0 0 20px}.blexy-branded-auth .bs-hero h2{font-size:clamp(29px,3.3vw,51px);line-height:1.13;letter-spacing:-.03em;color:white;margin:0 0 20px;font-weight:750}.blexy-branded-auth .bs-hero p{font-size:16px;line-height:1.75;color:#dbe4fa;margin:0}.blexy-branded-auth .bs-features{display:grid;gap:13px;margin-top:32px}.blexy-branded-auth .bs-feature{display:flex;align-items:center;gap:12px;font-size:14px;color:#e1e9fc}.blexy-branded-auth .bs-feature i{display:grid;place-items:center;width:30px;height:30px;background:#ffffff17;border:1px solid #ffffff27;border-radius:9px;font-style:normal;font-weight:bold;color:#afc9ff}.blexy-branded-auth .bs-hero-footer{font-size:12px;color:#b1bfdf;position:relative;z-index:1}
.blexy-branded-auth .bs-main{display:flex;align-items:center;justify-content:center;min-width:0;padding:70px 22px 35px;box-sizing:border-box;position:relative}.blexy-branded-auth .auth-card,.blexy-branded-auth .s-card,.blexy-branded-auth .bs-verify-card{max-width:510px;width:100%;margin:0 auto;box-sizing:border-box;background:#fff;border:1px solid #e5eaf3;box-shadow:0 22px 65px #18233f13;border-radius:22px;padding:clamp(23px,3vw,42px)}
.blexy-branded-auth .auth-card .auth-brand-official{text-align:center;margin-bottom:22px}.blexy-branded-auth .auth-card .auth-brand-official img{width:min(240px,85%);max-width:100%;height:auto;display:inline-block}.blexy-branded-auth .auth-card h1,.blexy-branded-auth .s-card h1,.blexy-branded-auth .bs-verify-card h1{color:#172346;font-size:30px;line-height:1.18;margin:0 0 14px}.blexy-branded-auth .s-card h2{font-size:21px;margin:14px 0;color:#1f2656}.blexy-branded-auth .auth-card p,.blexy-branded-auth .s-card p,.blexy-branded-auth .bs-verify-card p{line-height:1.55;color:#56647b}.blexy-branded-auth .s-card label,.blexy-branded-auth .bs-verify-card label{font-weight:600;display:block;font-size:14px;color:#24314f}.blexy-branded-auth .s-field,.blexy-branded-auth .bs-verify-input{width:100%;box-sizing:border-box;padding:13px 14px;border:1px solid #cbd4e4;border-radius:11px;background:#f9fbfe;font-size:16px;margin:9px 0 17px}.blexy-branded-auth .s-field:focus,.blexy-branded-auth .bs-verify-input:focus{outline:3px solid #7698c355;border-color:#3468c9}.blexy-branded-auth .s-btn,.blexy-branded-auth .bs-verify-btn,.blexy-branded-auth .auth-card button.btn{background:#1f2656;color:white;padding:13px 22px;border:0;border-radius:10px;font-weight:700;cursor:pointer;display:inline-block;text-decoration:none}.blexy-branded-auth .s-btn:hover,.blexy-branded-auth .bs-verify-btn:hover,.blexy-branded-auth .auth-card button.btn:hover{background:#303f80}.blexy-branded-auth .s-code{background:#f1f4fa;border:1px solid #e3e9f3;border-radius:9px;padding:14px;overflow-wrap:anywhere}.blexy-branded-auth .s-codes{line-height:1.8;letter-spacing:1px}.blexy-branded-auth #blexy-qr{margin:15px 0 22px}.blexy-branded-auth #blexy-qr canvas,.blexy-branded-auth #blexy-qr svg{max-width:100%;height:auto}.blexy-branded-auth .auth-language{z-index:5;position:absolute;right:25px;top:24px}.blexy-branded-auth .bs-step{color:#5473a1;font-weight:700;letter-spacing:.09em;font-size:11px;text-transform:uppercase;margin:0 0 13px}.blexy-branded-auth .bs-topmark{display:block;width:165px;max-width:70%;height:auto;margin:0 0 27px}.blexy-branded-auth .bs-note{font-size:13px;line-height:1.55;background:#eef4fc;border-left:3px solid #7698c3;padding:12px 14px;border-radius:8px;color:#3c5075;margin:17px 0}.blexy-branded-auth .bs-verify-cancel{display:inline-block;margin-top:15px}.blexy-branded-auth .bs-verify-card .bs-verify-input{margin:10px 0 20px}.blexy-branded-auth .auth-card .field input{max-width:100%}
@media(max-width:850px){.blexy-branded-auth .auth-page,.blexy-branded-auth .bs-security-shell{display:block}.blexy-branded-auth .bs-hero{min-height:auto;padding:22px 25px 25px}.blexy-branded-auth .bs-hero-content{margin-top:20px}.blexy-branded-auth .bs-hero h2{font-size:26px;max-width:570px}.blexy-branded-auth .bs-hero p{font-size:14px}.blexy-branded-auth .bs-features,.blexy-branded-auth .bs-hero-footer{display:none}.blexy-branded-auth .bs-main{padding:32px 15px 45px}.blexy-branded-auth .auth-language{top:23px;right:18px}.blexy-branded-auth .bs-brand img{max-width:155px}.blexy-branded-auth .auth-card,.blexy-branded-auth .s-card,.blexy-branded-auth .bs-verify-card{padding:25px 20px;box-shadow:0 9px 32px #18233f12}.blexy-branded-auth .bs-hero::after{display:none}}

/* v1.0.194 · panel institucional de borde a borde */
html:has(body.blexy-branded-auth),body.blexy-branded-auth{margin:0;min-height:100%;width:100%;}
body.blexy-branded-auth .auth-page,
body.blexy-branded-auth .bs-security-shell{
  width:100%;max-width:none;min-height:100vh;min-height:100dvh;
  margin:0;padding:0!important;gap:0;
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:stretch;justify-items:stretch;
}
body.blexy-branded-auth .bs-hero{
  width:100%;min-width:0;min-height:100vh;min-height:100dvh;
  height:100%;margin:0;border:0;border-radius:0;
  box-sizing:border-box;
}
body.blexy-branded-auth .bs-main{
  width:100%;min-width:0;min-height:100vh;min-height:100dvh;
  height:100%;margin:0;box-sizing:border-box;
}
@media(max-width:850px){
 body.blexy-branded-auth .auth-page,
 body.blexy-branded-auth .bs-security-shell{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}
 body.blexy-branded-auth .bs-hero{min-height:0;height:auto;width:100%;flex:none}
 body.blexy-branded-auth .bs-main{min-height:0;height:auto;flex:1;width:100%}
}

/* v1.0.200 · estilos de consentimiento legal fuera del HTML para CSP */
.blexy-branded-auth .bs-legal-consent{margin:12px 0 15px;padding:12px;background:#f5f7fa;border:1px solid #dce2ed;border-radius:12px;font-size:13px;line-height:1.55}
.blexy-branded-auth .bs-legal-consent-label{display:flex;align-items:flex-start;gap:10px;cursor:pointer;font-weight:normal}
.blexy-branded-auth .bs-legal-consent-check{width:17px;height:17px;flex:0 0 auto;margin-top:2px}
.blexy-branded-auth .bs-legal-consent-note{font-size:11px;color:#526177;margin-top:7px}
.blexy-branded-auth .bs-legal-links{text-align:center;margin-top:18px;font-size:13px;line-height:1.9}
