/* Proporciones RADAR: cabecera contenida, panel único y pie breve.
   No bloquear el desplazamiento ni escalar texto al ampliar o usar móvil. */
.portal-stage{display:grid;grid-template-columns:270px minmax(0,1fr);gap:14px;min-width:0;min-height:0;align-items:center}
.samuel-presentation{background:linear-gradient(150deg,#123c50,#0b2a3d);color:#f3fcf8;border:1px solid #b6d9dc;border-radius:20px;padding:18px;max-height:640px;overflow:auto;min-width:0;scrollbar-width:thin}
.samuel-presentation .eyebrow{color:#8cead9;font-size:10px;letter-spacing:1.7px;margin:0 0 12px}
.samuel-presentation h2{color:#fff;font-size:24px;line-height:1.25;margin:0 0 12px}
.samuel-presentation>p:not(.eyebrow){font-size:12px;line-height:1.55;color:#d1e6eb}
.samuel-presentation video{display:block;width:100%;aspect-ratio:16/9;background:#071f30;border-radius:10px;margin:16px 0 8px}
.presentation-actions{display:flex;gap:8px;flex-direction:column}
.presentation-actions button{background:#087f8c;border-color:#4daea9;color:#fff;font-size:12px;min-height:36px}
.presentation-actions a{color:#a2eee0;font-size:12px}
.samuel-presentation ul{padding-left:18px;font-size:12px;line-height:1.6;color:#d5e9eb}
.samuel-presentation .presentation-scope{border-top:1px solid #70c9bd40;padding-top:10px;font-size:10px!important}
@media(min-width:1100px) and (min-height:660px){.portal-entry>main:has(.portal-stage){width:min(1680px,100%)}.portal-stage{flex:1}.portal-stage .portal-layout{width:100%;max-width:none;grid-template-columns:minmax(0,1fr) 380px;margin:auto 0}}
@media(min-width:1100px) and (max-width:1400px){.portal-stage{grid-template-columns:220px minmax(0,1fr)}.samuel-presentation{padding:14px}.samuel-presentation h2{font-size:20px}.portal-stage .portal-layout{grid-template-columns:minmax(0,1fr) 340px}}
@media(max-width:1099px),(max-height:659px){.portal-stage{grid-template-columns:1fr}.samuel-presentation{max-height:none;display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,1fr);gap:8px 18px}.samuel-presentation video{grid-column:2;grid-row:1/6;margin:0}.samuel-presentation ul,.samuel-presentation .presentation-scope{grid-column:1/-1}}
@media(max-width:640px){.samuel-presentation{display:block}.samuel-presentation video{margin:14px 0}.portal-stage .portal-layout{width:100%}}
.portal-entry #mfa-qr{display:block;width:150px;height:150px;max-width:100%;margin:8px auto;background:white}
.portal-entry .mfa-help{font-size:12px;line-height:1.4;margin:6px 0}
.portal-entry #login-recover-label{display:flex;align-items:flex-start;gap:8px;padding:10px;border:1px solid #cba66d;border-radius:8px;background:#fff8e9;font-size:12px;color:#654716}
.portal-entry #login-recover{width:18px;height:18px;min-height:0;margin:1px 0 0;flex:none}
.portal-entry #mfa-form details{margin:6px 0;font-size:12px}
.portal-entry #mfa-secret{display:block;overflow-wrap:anywhere;user-select:all;font-size:13px}
.portal-entry #mfa-code{width:100%;font:22px Consolas,monospace;letter-spacing:3px}
.portal-entry #mfa-form .check{font-size:12px;margin:8px 0;align-items:center}
.portal-entry #mfa-form .check input{min-height:0;width:17px;height:17px;margin:0}
.portal-entry #mfa-submit,.portal-entry #recovery-continue{width:100%;margin:6px 0;min-height:44px}
.portal-entry #mfa-back{font-size:12px;min-height:30px;padding:5px 8px}
.portal-entry #recovery-panel h3{font-size:17px;margin:6px 0}
.portal-entry #recovery-panel p{font-size:12px;line-height:1.4}
.portal-entry #recovery-codes{font:12px/1.4 Consolas,monospace;max-height:190px;overflow:auto;user-select:all}
.portal-entry .portal-layout{grid-template-columns:minmax(0,1.06fr) minmax(0,1fr);width:100%;max-width:1180px;margin:8px auto;border-radius:24px}
.portal-entry .portal-intro{padding:18px 16px;display:flex;flex-direction:column;min-width:0}
.portal-entry .portal-intro h1{font-size:28px;line-height:1.15;margin:6px 0}
.portal-entry .portal-purpose{font-size:13px;line-height:1.4;margin:0 0 12px}
.portal-entry .catalog-filters{margin:2px 0 9px}
.portal-entry .module-cards{gap:6px;align-content:center;flex:1}
.portal-entry .module-tile{min-height:60px;padding:6px 9px 4px;box-shadow:none}
.portal-entry .module-tile strong{font-size:13px;line-height:1.2}
.portal-entry .module-tile>span{font-size:11px;line-height:1.2;margin:2px 0 3px}
.portal-entry .module-tile small{font-size:11px;line-height:1.2;padding-top:3px}
.portal-entry .portal-closing{font-size:15px;line-height:1.35;margin:12px 0 0}
.portal-entry .login-pane{padding:22px 26px;display:flex;flex-direction:column}
.portal-entry .login-pane>.eyebrow{margin:0 0 4px}
.portal-entry .login-pane h2{font-size:30px;margin:7px 0;line-height:1.2}
.portal-entry .login-subtitle{font-size:15px;line-height:1.45;margin:4px 0 10px}
.portal-entry .auth-steps{margin:10px 0 14px;padding-bottom:10px;gap:18px}
.portal-entry .login-pane form{margin:18px 0}
.portal-entry .login-pane>.protected-access{margin-top:auto}
.portal-entry .login-pane form>label{font-size:14px;margin:10px 0;line-height:1.35}
.portal-entry .login-pane input{min-height:44px;font-size:15px;padding:9px 11px;margin-top:6px}
.portal-entry .password-field{margin-top:6px}
.portal-entry .password-field input{margin-top:0;padding-right:145px}
.portal-entry .password-field button{top:5px;min-height:32px}
.portal-entry .login-pane input[type=file]{min-height:36px;font-size:12px;padding:7px}
.portal-entry .login-pane form>p{font-size:11px;line-height:1.4;margin:8px 0}
.portal-entry .login-pane #login-submit{min-height:46px;font-size:17px;padding:10px 16px;margin:12px 0 4px}
.portal-entry #login-status:empty{display:none}
.portal-entry #login-status{font-size:13px;margin:5px 0;line-height:1.4}
.portal-entry .protected-access{margin:14px 0 0;padding:12px}
.portal-entry .login-help{line-height:1.4;margin:10px 0 0}
.portal-entry .pilot-note{font-size:10px;line-height:1.3;margin:4px auto;text-align:center}
.portal-entry footer{padding:5px 10px;line-height:1.3}
.portal-entry footer .epinex-brand{font-size:13px;gap:4px}
.portal-entry footer .epinex-brand img{width:16px;height:16px}
.portal-entry footer .epinex-brand img.epinex-wordmark{width:90px;height:auto}
.portal-entry footer p{font-size:10px}
.portal-entry footer>a{display:inline;margin:0 0 0 8px;font-size:10px}
@media(min-width:1100px) and (min-height:660px){
 .portal-entry{min-height:100dvh;height:100dvh;display:flex;flex-direction:column}
 .portal-entry>header.brand-header.epi-product-header{flex:none;min-height:132px;padding:10px 24px;gap:22px;grid-template-columns:minmax(310px,390px) minmax(270px,1fr) auto}
 .portal-entry .epi-product-identity{grid-template-columns:76px minmax(0,1fr);gap:20px}
 .portal-entry .epi-product-symbol img{width:76px;height:76px}
 .portal-entry .epi-product-name{font-size:60px}
 .portal-entry .epi-product-copy h1{font-size:25px;margin-bottom:7px}
 .portal-entry .epi-access-badge{min-width:225px;padding:13px 15px}
 .portal-entry>main{flex:1;min-height:0;display:flex;flex-direction:column;width:min(1280px,100%);padding:6px 24px;margin:0 auto}
 .portal-entry .portal-layout{flex:1;min-height:0;max-width:1232px;max-height:640px;margin:auto 0;align-items:stretch;grid-template-columns:minmax(0,1fr) 400px}
 .portal-entry .module-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
 .portal-entry .portal-layout>section{min-height:0;overflow:auto;scrollbar-width:thin}
 .portal-entry .pilot-note,.portal-entry footer{flex:none}
}
@media(min-width:1100px) and (min-height:660px) and (max-height:800px){
 .portal-entry>header.brand-header.epi-product-header{min-height:108px;padding-top:8px;padding-bottom:8px;grid-template-columns:minmax(290px,360px) minmax(260px,1fr) auto}
 .portal-entry .epi-product-identity{grid-template-columns:66px minmax(0,1fr);gap:16px}
 .portal-entry .epi-product-symbol img{width:66px;height:66px}
 .portal-entry .epi-product-name{font-size:48px}
 .portal-entry .epi-endorsement{margin-bottom:0;gap:14px}
 .portal-entry .epi-endorsement>.epinex-brand{font-size:16px!important}
 .portal-entry .epi-product-direction{font-size:10px!important;margin-top:5px!important}
 .portal-entry .epi-product-copy h1{font-size:22px;margin-bottom:5px}
 .portal-entry .epi-capabilities{margin-top:6px;gap:4px}
 .portal-entry .epi-capabilities span{padding:3px 6px;font-size:9px}
 .portal-entry .epi-product-copy>.epi-owner{margin-top:5px!important;font-size:9px!important}
 .portal-entry .epi-access-badge{min-width:210px;padding:12px}
 .portal-entry .epi-access-badge strong{font-size:14px}
 .portal-entry .epi-access-badge small{font-size:11px;margin-top:4px}
 .portal-entry .portal-intro{padding:14px}
 .portal-entry .portal-intro h1{font-size:24px}
 .portal-entry .portal-purpose{font-size:12px;margin-bottom:7px}
 .portal-entry .catalog-filters input,.portal-entry .catalog-filters select{padding:6px;min-height:30px;font-size:11px}
 .portal-entry .module-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
 .portal-entry .module-tile{padding:6px;min-height:54px}
 .portal-entry .module-tile strong{font-size:12px}
 .portal-entry .module-tile>span,.portal-entry .module-tile small{font-size:10px}
 .portal-entry .module-tile>span{display:none}
 .portal-entry .portal-closing{font-size:13px;line-height:1.3;margin-top:8px}
 .portal-entry .login-pane{padding:16px 22px}
 .portal-entry .login-pane h2{font-size:27px;margin:5px 0}
 .portal-entry .login-pane>.eyebrow{font-size:11px}
 .portal-entry .login-subtitle{font-size:14px;line-height:1.35;margin:3px 0 6px}
 .portal-entry .auth-steps{margin:7px 0 8px;padding-bottom:7px}
 .portal-entry .login-pane form>label{margin:8px 0}
 .portal-entry .login-pane input{min-height:40px;font-size:14px}
 .portal-entry .login-pane form>p{font-size:11px;margin:5px 0}
 .portal-entry .login-pane #login-submit{margin-top:8px;min-height:44px}
 .portal-entry .protected-access{margin-top:9px;padding:10px 12px}
 .portal-entry .login-help{margin-top:7px;font-size:11px!important}
}
@media(max-width:1099px),(max-height:659px){
 .portal-entry{height:auto;min-height:100dvh;overflow:auto}
 .portal-entry>main{padding:12px}
 .portal-entry .portal-layout{height:auto;max-height:none;min-height:0}
 .portal-entry .portal-layout>section{overflow:visible}
}
@media(max-width:800px){.portal-entry .portal-layout{grid-template-columns:1fr}.portal-entry .login-pane{padding:24px}.portal-entry .module-cards{flex:none}}
@media(max-width:390px){.portal-entry .module-cards{grid-template-columns:1fr}.portal-entry .password-field input{padding-right:132px}}

/* Ventanas EPINex: cierre siempre visible y contenido distribuido, no página larga. */
.portal-entry #module-dialog,.portal-entry #request-dialog{width:min(1180px,calc(100vw - 40px));height:auto;max-height:min(90dvh,760px);padding:0;border:1px solid #cbdde5;border-radius:18px;overflow:hidden;box-shadow:0 24px 80px #082d4050}
.portal-entry #module-dialog[open],.portal-entry #request-dialog[open]{display:flex;flex-direction:column;height:fit-content;min-height:0;margin:auto}
.portal-entry #module-dialog[data-columns="1"]{width:min(460px,calc(100vw - 40px))}
.portal-entry #module-dialog[data-columns="2"]{width:min(820px,calc(100vw - 40px))}
.portal-entry #module-dialog[data-columns="1"] #module-procedures{grid-template-columns:minmax(0,1fr)}
.portal-entry #module-dialog[data-columns="2"] #module-procedures{grid-template-columns:repeat(2,minmax(0,1fr))}
.portal-entry #request-dialog{width:min(850px,calc(100vw - 40px))}
.portal-entry dialog::backdrop{background:#082d4070}
.portal-entry dialog .dialog-heading{flex:none;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:start;padding:20px 24px;background:#f3f9fa;color:#173d54;border-bottom:1px solid #dce8ee}
.portal-entry dialog .dialog-heading h2{font-size:25px;line-height:1.25;margin:4px 0;color:#173d54}
.portal-entry dialog .dialog-heading p{font-size:13px;line-height:1.45;margin:4px 0;color:#557082}
.portal-entry dialog .dialog-heading .eyebrow{color:#087f8c;font-size:11px}
.portal-entry dialog .dialog-heading button{margin:0;min-height:38px;padding:8px 12px;background:#fff;color:#173d54;font-size:13px;white-space:nowrap}
.portal-entry dialog .dialog-body{min-height:0;flex:0 1 auto;overflow:auto;overscroll-behavior:contain;padding:18px 24px;scrollbar-width:thin}
.portal-entry #module-procedures{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:stretch}
.portal-entry .procedure-info{display:flex;flex-direction:column;min-width:0;margin:0;padding:16px;border:1px solid #cbdde5;border-top:3px solid #087f8c;border-radius:12px;background:#fff}
.portal-entry .procedure-info h3{font-size:17px;line-height:1.3;margin:0 0 8px}
.portal-entry .procedure-info p{font-size:13px;line-height:1.55;margin:0 0 10px;overflow-wrap:anywhere}
.portal-entry .procedure-info details{font-size:12px;margin:0 0 10px}
.portal-entry .procedure-info details p{margin-top:8px}
.portal-entry .procedure-info small{font-size:11px;line-height:1.45;margin:0 0 12px;color:#617b89}
.portal-entry .procedure-info button{align-self:flex-start;margin-top:4px;color:#087f8c;border-color:#91c9ca;background:#f1faf8;min-height:38px;font-size:12px}
.portal-entry #request-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px}
.portal-entry #request-form>label{margin:0;font-size:13px;min-width:0}
.portal-entry #request-form input,.portal-entry #request-form select{width:100%;min-width:0;min-height:42px;font-size:14px}
.portal-entry #request-form>.check,.portal-entry #request-form>p,.portal-entry #request-form>button{grid-column:1/-1}
.portal-entry #request-form .check input{width:18px;height:18px;min-height:0;flex:none;margin:0}
.portal-entry #request-form>p{font-size:12px;line-height:1.5;margin:0}
.portal-entry #request-form>button{justify-self:start;margin-top:0}
@media(max-width:1000px){.portal-entry #module-procedures{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.portal-entry #module-dialog,.portal-entry #module-dialog[data-columns],.portal-entry #request-dialog{width:calc(100vw - 20px);max-height:94dvh}.portal-entry dialog .dialog-heading{padding:14px;gap:10px}.portal-entry dialog .dialog-heading h2{font-size:21px}.portal-entry dialog .dialog-body{padding:14px}.portal-entry #module-procedures,.portal-entry #module-dialog[data-columns] #module-procedures,.portal-entry #request-form{grid-template-columns:1fr}}
/* Fiche de module : même hiérarchie éditoriale que RADAR. */
.portal-entry #module-dialog .module-overview{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:26px}
.portal-entry #module-dialog .module-offer{padding:0;border:0;box-shadow:none;background:transparent;min-width:0}
.portal-entry #module-dialog .module-section-title{color:#087f8c;font-size:16px;margin:0 0 12px}
.portal-entry #module-dialog #module-procedures{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.portal-entry #module-dialog .procedure-info{border:0;border-bottom:1px solid #dce8ee;border-radius:0;padding:0 0 14px;background:transparent}
.portal-entry #module-dialog .procedure-info h3{font-size:16px}
.portal-entry #module-dialog .module-access-guide{border-left:1px solid #dce8ee;padding-left:26px;min-width:0}
.portal-entry #module-dialog .module-access-guide>.eyebrow{margin-top:0}
.portal-entry #module-dialog .module-access-guide h3{font-size:18px;color:#087184;margin:12px 0}
.portal-entry #module-dialog .module-access-guide p,.portal-entry #module-dialog .module-access-guide li{font-size:14px;line-height:1.7}
.portal-entry #module-dialog .module-access-guide ol{padding-left:24px}
.portal-entry #module-dialog .module-access-guide li{padding-bottom:12px}
.portal-entry #module-dialog .module-benefit{background:#edf8f6;border-left:3px solid #079d98;border-radius:0 10px 10px 0;padding:14px 16px;margin-top:16px}
.portal-entry #module-dialog .module-benefit h4{color:#087f8c;font-size:15px;margin:0 0 6px}
.portal-entry #module-dialog .module-benefit p{margin:4px 0 0}
.portal-entry #module-dialog .module-dialog-note{font-size:11px;line-height:1.5;color:#557082;border-top:1px solid #dce8ee;padding-top:14px;margin:18px 0 0}
.portal-entry #module-dialog[data-columns="1"] .module-overview{grid-template-columns:1fr}
.portal-entry #module-dialog[data-columns="1"] .module-access-guide{padding:16px 0 0;border-left:0;border-top:1px solid #dce8ee}
@media(max-width:800px){.portal-entry #module-dialog .module-overview{grid-template-columns:1fr}.portal-entry #module-dialog .module-access-guide{padding:16px 0 0;border-left:0;border-top:1px solid #dce8ee}}
/* Composición amplia: presentación a la izquierda, módulos y acceso desplazados. */
@media(min-width:1200px){
 .portal-entry>main:has(.portal-stage){width:calc(100% - 40px);max-width:2000px;margin-inline:auto}
 .portal-entry .portal-stage{grid-template-columns:clamp(340px,25vw,480px) minmax(0,1fr);gap:clamp(28px,2.5vw,48px);align-items:center;width:100%}
 .portal-entry .portal-stage .portal-layout{grid-template-columns:minmax(0,1fr) 330px;width:100%;max-width:none;margin:0;min-width:0}
 .portal-entry .portal-stage .login-pane{padding:24px 25px}
 .portal-entry .portal-stage .login-pane h2{font-size:28px}
 .portal-entry .samuel-presentation{display:block;max-height:none;height:auto;overflow:visible;padding:22px;border-radius:22px}
 .portal-entry .samuel-presentation h2{font-size:28px;line-height:1.2;margin-bottom:10px}
 .portal-entry .samuel-presentation video{margin:14px 0 8px}
 .portal-entry .samuel-presentation .presentation-actions{gap:8px}
 .portal-entry .samuel-presentation .field-help{font-size:11px;margin:8px 0}
 .portal-entry .samuel-presentation .presentation-more{font-size:12px;margin-top:12px;color:#d1e6eb}
 .portal-entry .samuel-presentation .presentation-more summary{cursor:pointer;color:#a6e7dc}
}
@media(min-width:1200px) and (max-width:1500px){
 .portal-entry .portal-stage{grid-template-columns:340px minmax(0,1fr);gap:28px}
 .portal-entry .portal-stage .portal-layout{grid-template-columns:minmax(0,1fr) 300px}
 .portal-entry .portal-stage .login-pane{padding:22px 20px}
 .portal-entry .portal-stage .login-pane h2{font-size:25px}
}
@media(max-width:1199px){
 .portal-entry .portal-stage{grid-template-columns:1fr;gap:20px}
 .portal-entry .samuel-presentation{max-height:none;overflow:visible}
 .portal-entry .portal-stage .portal-layout{width:100%;max-width:none}
}

/* Ajuste solicitado: acceso más amplio, panel de módulos algo menor. */
@media(min-width:1200px){.portal-entry .portal-stage .portal-layout{grid-template-columns:minmax(0,1fr) 380px}}
@media(min-width:1200px) and (max-width:1500px){.portal-entry .portal-stage .portal-layout{grid-template-columns:minmax(0,1fr) 340px}}
/* Portada más despejada: tipografía contenida sin escalar ni bloquear zoom. */
.portal-entry{font-size:13px}
.portal-entry .samuel-presentation h2{font-size:22px;line-height:1.25;margin-bottom:10px}
.portal-entry .samuel-presentation>p:not(.eyebrow){font-size:12px;line-height:1.5}
.portal-entry .samuel-presentation .presentation-actions button{font-size:12px;min-height:36px}
.portal-entry .portal-intro h1{font-size:22px;line-height:1.2;margin:6px 0 8px}
.portal-entry .portal-purpose{font-size:12px;line-height:1.45;margin-bottom:10px}
.portal-entry .module-tile strong{font-size:12px;font-weight:650;line-height:1.25}
.portal-entry .module-tile{padding:7px 8px 5px;min-height:58px}
.portal-entry .module-tile small{font-size:11px}
.portal-entry .portal-closing{font-size:13px;line-height:1.4;margin-top:12px}
.portal-entry .login-pane h2{font-size:23px;line-height:1.2;letter-spacing:-.4px}
.portal-entry .login-subtitle{font-size:13px;line-height:1.5;margin:6px 0 12px}
.portal-entry .login-pane>.eyebrow,.portal-entry .portal-intro>.eyebrow{font-size:10px;letter-spacing:1.5px}
.portal-entry .auth-steps{font-size:11px;gap:14px;margin:12px 0 18px;padding-bottom:10px}
.portal-entry .login-pane form>label{font-size:13px;line-height:1.4;margin:10px 0}
.portal-entry .login-pane input{font-size:13px;min-height:42px}
.portal-entry .password-field button{font-size:11px}
.portal-entry .login-pane #login-submit{font-size:15px;min-height:44px;padding:10px 14px}
.portal-entry .protected-access summary{font-size:12px}
.portal-entry .protected-access summary>span{font-size:11px}
.portal-entry .catalog-filters input,.portal-entry .catalog-filters select{font-size:12px;min-height:34px}
@media(min-width:1000px){
 .portal-entry header.brand-header.epi-product-header{min-height:132px;padding:10px 24px;gap:22px}
 .portal-entry .epi-product-identity{grid-template-columns:68px minmax(0,1fr);gap:20px}
 .portal-entry .epi-product-symbol img{width:68px;height:68px}
 .portal-entry .epi-product-name{font-size:52px;letter-spacing:-1.5px}
 .portal-entry .epi-product-copy h1{font-size:22px;line-height:1.17;margin-bottom:8px}
 .portal-entry .epi-product-copy>p{font-size:11px}
 .portal-entry .epi-access-badge{min-width:220px;padding:12px 16px;gap:12px}
 .portal-entry .epi-access-badge strong{font-size:14px}
 .portal-entry .epi-access-badge small{font-size:11px;line-height:1.4;margin-top:5px}
}
@media(max-width:800px){
 .portal-entry .login-pane input,.portal-entry .catalog-filters input,.portal-entry .catalog-filters select{font-size:16px}
 .portal-entry .login-pane h2,.portal-entry .portal-intro h1{font-size:23px}
}

/* Escala de paneles de la referencia RADAR; sin transformaciones o zoom forzado. */
@media(min-width:1200px){
 .portal-entry>main:has(.portal-stage){max-width:1720px}
 .portal-entry .portal-stage{grid-template-columns:clamp(280px,20vw,340px) minmax(0,1fr);gap:clamp(28px,3vw,48px)}
 .portal-entry .portal-stage .portal-layout{width:100%;max-width:1040px;grid-template-columns:minmax(0,1fr) 340px;justify-self:end;margin-left:auto}
 .portal-entry .portal-stage .login-pane{padding:22px}
 .portal-entry .portal-stage .login-pane h2{font-size:23px}
 .portal-entry .portal-stage .module-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
}
@media(min-width:1200px) and (max-width:1500px){
 .portal-entry .portal-stage{grid-template-columns:240px minmax(0,1fr);gap:28px}
 .portal-entry .portal-stage .portal-layout{max-width:720px;grid-template-columns:minmax(0,1fr) 280px}
 .portal-entry .portal-stage .login-pane{padding:20px}
}
/* Composición compacta definitiva: paneles al contenido, sin llenar el viewport. */
body.portal-entry{display:block;height:auto;min-height:100dvh;font-size:12px}
body.portal-entry>main:has(.portal-stage){display:block;flex:none;width:calc(100% - 48px);max-width:1120px;min-height:0;padding:22px 16px 12px;margin:0 auto}
body.portal-entry .portal-stage{display:grid;flex:none;grid-template-columns:220px minmax(0,640px);justify-content:center;align-items:start;gap:32px;width:100%;min-height:0;margin:0 auto}
body.portal-entry .portal-stage .samuel-presentation{display:block;width:100%;height:auto;max-height:none;overflow:visible;padding:18px;border-radius:18px;margin:0}
body.portal-entry .portal-stage .samuel-presentation h2{font-size:18px;line-height:1.25;letter-spacing:-.2px;margin:0 0 10px}
body.portal-entry .portal-stage .samuel-presentation>p:not(.eyebrow){font-size:11px;line-height:1.5;margin:8px 0}
body.portal-entry .portal-stage .samuel-presentation .eyebrow{font-size:9px;letter-spacing:1.4px;margin-bottom:12px}
body.portal-entry .portal-stage .samuel-presentation video{margin:12px 0 8px}
body.portal-entry .portal-stage .presentation-actions button{font-size:11px;min-height:32px;padding:7px 10px}
body.portal-entry .portal-stage .presentation-actions a{font-size:11px;line-height:1.4}
body.portal-entry .portal-stage .samuel-presentation .presentation-more{font-size:11px;margin-top:12px}
body.portal-entry .portal-stage .portal-layout{display:grid;flex:none;width:100%;max-width:640px;height:auto;min-height:0;max-height:none;grid-template-columns:minmax(0,1fr) 260px;align-items:stretch;justify-self:center;margin:0;border-radius:20px}
body.portal-entry .portal-stage .portal-layout>section{min-height:0;height:auto;overflow:visible;margin:0}
body.portal-entry .portal-stage .portal-layout .portal-intro{display:block;padding:16px 14px}
body.portal-entry .portal-stage .portal-layout .portal-intro>.eyebrow{font-size:9px;letter-spacing:1.4px;margin:0 0 10px}
body.portal-entry .portal-stage .portal-layout .portal-intro h1{font-size:19px;line-height:1.2;letter-spacing:-.4px;margin:0 0 8px}
body.portal-entry .portal-stage .portal-layout .portal-purpose{font-size:11px;line-height:1.4;margin:0 0 12px}
body.portal-entry .portal-stage .portal-layout .catalog-filters{margin:0 0 9px;gap:5px}
body.portal-entry .portal-stage .portal-layout .catalog-filters input,body.portal-entry .portal-stage .portal-layout .catalog-filters select{font-size:10px;padding:6px;min-height:28px}
body.portal-entry .portal-stage .portal-layout .module-cards{display:grid;flex:none;grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;grid-auto-rows:auto;gap:5px;margin:0}
body.portal-entry .portal-stage .portal-layout .module-tile{height:auto;min-height:46px;padding:5px 6px 4px;border-radius:8px}
body.portal-entry .portal-stage .portal-layout .module-tile strong{font-size:10.5px;line-height:1.22;font-weight:650;letter-spacing:0}
body.portal-entry .portal-stage .portal-layout .module-tile>span{font-size:10px;line-height:1.25}
body.portal-entry .portal-stage .portal-layout .module-tile small{font-size:10px;line-height:1.2;padding-top:3px}
body.portal-entry .portal-stage .portal-layout .portal-closing{font-size:11px;line-height:1.35;margin:12px 0 0}
body.portal-entry .portal-stage .portal-layout .login-pane{display:block;padding:18px 16px}
body.portal-entry .portal-stage .portal-layout .login-pane>.eyebrow{font-size:9px;letter-spacing:1.3px;margin:0 0 8px}
body.portal-entry .portal-stage .portal-layout .login-pane h2{font-size:21px;line-height:1.2;letter-spacing:-.4px;margin:6px 0 10px}
body.portal-entry .portal-stage .portal-layout .login-subtitle{font-size:12px;line-height:1.45;margin:0 0 12px}
body.portal-entry .portal-stage .portal-layout .auth-steps{font-size:10px;gap:12px;margin:12px 0 16px;padding-bottom:10px}
body.portal-entry .portal-stage .portal-layout .login-pane form{margin:14px 0}
body.portal-entry .portal-stage .portal-layout .login-pane form>label{font-size:12px;line-height:1.4;margin:10px 0}
body.portal-entry .portal-stage .portal-layout .login-pane input{font-size:12px;min-height:36px;padding:8px 10px}
body.portal-entry .portal-stage .portal-layout .password-field input{padding-right:110px}
body.portal-entry .portal-stage .portal-layout .password-field button{font-size:10px;min-height:26px;top:4px;padding:4px}
body.portal-entry .portal-stage .portal-layout .login-pane #login-submit{font-size:13px;min-height:38px;padding:9px 12px;margin:10px 0}
body.portal-entry .portal-stage .portal-layout .protected-access{margin:14px 0 0;padding:9px 10px}
body.portal-entry .portal-stage .portal-layout .protected-access summary{font-size:10.5px;gap:8px}
body.portal-entry .portal-stage .portal-layout .protected-access summary>span{font-size:10px}
body.portal-entry .portal-stage .portal-layout .login-help{font-size:10px!important;line-height:1.4;margin:10px 0 0}
body.portal-entry .pilot-note{position:static;flex:none;margin:18px auto 8px;max-width:900px;font-size:10px;line-height:1.4}
body.portal-entry footer{position:static;margin:0 auto;padding:8px 0;max-width:1000px}
@media(min-width:1050px){
 body.portal-entry>header.brand-header.epi-product-header{height:auto;min-height:108px;padding:8px 20px;grid-template-columns:280px minmax(0,1fr) auto;gap:22px}
 body.portal-entry .epi-product-identity{grid-template-columns:56px minmax(0,1fr);gap:16px}
 body.portal-entry .epi-product-symbol img{width:56px;height:56px}
 body.portal-entry .epi-product-name{font-size:44px;line-height:1.08;letter-spacing:-1px}
 body.portal-entry .epi-endorsement{gap:12px;margin-bottom:2px}
 body.portal-entry .epi-endorsement>.epinex-brand img.epinex-wordmark{width:82px}
 body.portal-entry .epi-endorsement>span:last-child{font-size:9px}
 body.portal-entry .epi-product-direction{font-size:9px!important;margin-top:5px!important}
 body.portal-entry .epi-product-copy{padding-left:22px}
 body.portal-entry .epi-product-copy h1{font-size:19px;line-height:1.2;margin:0 0 6px}
 body.portal-entry .epi-product-copy>p{font-size:10px;line-height:1.35}
 body.portal-entry .epi-capabilities{margin-top:6px;gap:4px}
 body.portal-entry .epi-capabilities span{font-size:8px;padding:3px 6px}
 body.portal-entry .epi-product-copy>.epi-owner{font-size:8px!important;margin-top:6px!important}
 body.portal-entry .epi-access-badge{min-width:190px;padding:10px 12px;gap:10px}
 body.portal-entry .epi-access-badge>span{font-size:26px}
 body.portal-entry .epi-access-badge strong{font-size:12px}
 body.portal-entry .epi-access-badge small{font-size:10px;line-height:1.4;margin-top:4px}
}
@media(max-width:1049px){
 body.portal-entry>main:has(.portal-stage){width:calc(100% - 32px);padding:18px 8px}
 body.portal-entry .portal-stage{grid-template-columns:minmax(0,720px);gap:20px}
 body.portal-entry .portal-stage .samuel-presentation{max-width:640px;justify-self:center}
 body.portal-entry .portal-stage .portal-layout{max-width:640px}
}
@media(max-width:700px){
 body.portal-entry .portal-stage .portal-layout{grid-template-columns:1fr}
 body.portal-entry .portal-stage .portal-layout .login-pane{padding:22px}
 body.portal-entry .portal-stage .portal-layout .module-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.portal-entry .portal-stage .portal-layout .module-tile strong{font-size:12px}
 body.portal-entry .portal-stage .portal-layout .login-pane input,body.portal-entry .portal-stage .portal-layout .catalog-filters input,body.portal-entry .portal-stage .portal-layout .catalog-filters select{font-size:16px}
}

body.portal-entry .portal-stage .samuel-presentation p:empty{display:none}
/* Tres ventanas amplias e iguales en altura; la presentación queda al extremo izquierdo. */
@media(min-width:1100px){
 body.portal-entry>main:has(.portal-stage){width:calc(100% - 40px);max-width:1760px;padding:18px 8px 10px}
 body.portal-entry .portal-stage{grid-template-columns:clamp(230px,19vw,310px) minmax(0,1fr);justify-content:stretch;align-items:stretch;gap:28px}
 body.portal-entry .portal-stage .samuel-presentation{display:flex;flex-direction:column;align-self:stretch;height:auto}
 body.portal-entry .portal-stage .portal-layout{max-width:none;justify-self:stretch;grid-template-columns:minmax(0,1fr) 300px;align-items:stretch;height:100%}
 body.portal-entry .portal-stage .portal-layout .portal-intro,body.portal-entry .portal-stage .portal-layout .login-pane{display:flex;flex-direction:column;height:auto;min-height:0}
 body.portal-entry .portal-stage .portal-layout .portal-intro{padding:18px}
 body.portal-entry .portal-stage .portal-layout .login-pane{padding:22px}
 body.portal-entry .portal-stage .portal-layout .module-cards{grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;flex:1}
 body.portal-entry .portal-stage .portal-layout .module-tile{min-height:58px}
 body.portal-entry .portal-stage .portal-layout .module-tile strong{font-size:11.5px}
 body.portal-entry .portal-stage .portal-layout .module-tile>span{display:block;font-size:10px;margin:3px 0}
 body.portal-entry .portal-stage .portal-layout .protected-access,body.portal-entry .portal-stage .samuel-presentation .presentation-more{margin-top:auto}
 body.portal-entry .portal-stage .presentation-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
 body.portal-entry .portal-stage .presentation-actions>a{grid-column:1/-1}
 body.portal-entry .portal-stage .samuel-presentation h2{margin-top:4px}
}
@media(min-width:1500px){body.portal-entry .portal-stage .portal-layout{grid-template-columns:minmax(0,1fr) 350px}}
body .epi-ambient{inset:100px 12px 110px;overflow:hidden}
body .epi-ambient svg{opacity:.52}
body .epi-ambient path,body .epi-ambient rect{stroke:#36a6ab;stroke-width:1.6;fill:none}
body.portal-entry footer{background:#eaf5f6;position:relative;z-index:0;border-radius:12px;padding:12px;max-width:1250px;margin:14px auto 0}
body.portal-entry .portal-stage .portal-layout{border:0}
@media(min-width:1100px) and (max-height:820px){
 body.portal-entry .epi-capabilities,body.portal-entry .epi-product-copy>.epi-owner{display:none}
 body.portal-entry>header.brand-header.epi-product-header{min-height:104px}
}

/* EPINex · portada compacta, centrada y con fondo visible. */
@media(min-width:1100px){
 body.portal-entry>main:has(.portal-stage){width:calc(100% - 112px);max-width:1440px;padding:22px 0 14px;justify-content:center;gap:22px}
 body.portal-entry .portal-stage{flex:0 0 auto;grid-template-columns:230px minmax(0,1fr);gap:26px;width:100%;margin-block:auto}
 body.portal-entry .portal-stage .portal-layout{grid-template-columns:minmax(0,1fr) 280px;height:100%;margin:0}
 body.portal-entry .portal-stage .samuel-presentation{padding:16px;max-height:none;overflow:visible}
 body.portal-entry .portal-stage .portal-intro,body.portal-entry .portal-stage .login-pane{padding:18px}
 body.portal-entry .portal-stage h1,body.portal-entry .portal-stage .login-pane h2{font-size:21px;line-height:1.2;margin:5px 0 10px}
 body.portal-entry .portal-stage .samuel-presentation h2{font-size:19px;margin-bottom:8px}
 body.portal-entry .portal-stage .portal-intro>p,body.portal-entry .portal-stage .login-pane p,body.portal-entry .portal-stage .samuel-presentation>p{font-size:11px;line-height:1.45}
 body.portal-entry .portal-stage .module-tile{min-height:50px;padding:6px 7px}
 body.portal-entry .portal-stage .module-tile strong{font-size:10.5px;line-height:1.2}
 body.portal-entry .portal-stage .module-tile>span{font-size:9px;line-height:1.25;margin:2px 0}
 body.portal-entry .portal-stage .module-tile .module-action{font-size:9px}
 body.portal-entry .portal-stage .login-pane label{font-size:12px;margin-bottom:8px}
 body.portal-entry .portal-stage .login-pane input{min-height:36px;font-size:12px;padding:9px}
 body.portal-entry .portal-stage .login-pane button{min-height:36px;font-size:12px}
 body.portal-entry .portal-stage .catalog-filters input,body.portal-entry .portal-stage .catalog-filters select{font-size:11px;min-height:32px;padding:6px}
 body.portal-entry .portal-stage .presentation-actions button{font-size:10px;min-height:32px;padding:6px}
 body.portal-entry .portal-stage .presentation-actions a,body.portal-entry .portal-stage .presentation-more{font-size:10px}
 body.portal-entry .portal-stage .portal-intro .portal-promise{font-size:12px;margin-top:12px}
 body.portal-entry .portal-stage .login-pane .login-steps{margin:12px 0;font-size:10px}
 body.portal-entry .portal-stage .login-pane #login-form{margin-top:16px}
 body.portal-entry .portal-stage .samuel-presentation video{margin:10px 0 5px}
}
@media(min-width:1500px){body.portal-entry .portal-stage{grid-template-columns:260px minmax(0,1fr);gap:32px}body.portal-entry .portal-stage .portal-layout{grid-template-columns:minmax(0,1fr) 310px}}
body.portal-entry footer{display:flex;justify-content:center;align-items:center;gap:5px;flex-wrap:wrap;width:100%;max-width:none;margin:0 auto!important;padding:12px 18px!important;background:#eaf5f6f5;border-radius:16px;line-height:1.5;color:#557082;font-size:10px}
body.portal-entry footer p{display:contents;font-size:10px}body.portal-entry footer .epinex-brand{display:inline-flex;vertical-align:middle}body.portal-entry footer .epinex-wordmark{width:70px!important;height:auto!important}body.portal-entry footer a{font-size:10px;margin-left:4px}
.portal-entry #module-dialog,.portal-entry #module-dialog[data-columns]{width:min(980px,calc(100vw - 80px));max-height:78dvh;height:fit-content}
.portal-entry #request-dialog{width:min(660px,calc(100vw - 48px));max-height:80dvh}
.portal-entry dialog .dialog-heading{padding:14px 20px;gap:16px}.portal-entry dialog .dialog-heading h2{font-size:21px}.portal-entry dialog .dialog-heading p{font-size:11px}.portal-entry dialog .dialog-body{padding:16px 20px}
.portal-entry #module-dialog .module-overview{gap:20px}.portal-entry #module-dialog .module-access-guide{padding-left:20px}
.portal-entry #module-dialog .procedure-info h3,.portal-entry #module-dialog .module-access-guide h3{font-size:14px;margin:8px 0}
.portal-entry #module-dialog .procedure-info p,.portal-entry #module-dialog .module-access-guide p,.portal-entry #module-dialog .module-access-guide li{font-size:12px;line-height:1.5}
.portal-entry #module-dialog .procedure-info small,.portal-entry #module-dialog .procedure-info details{font-size:10px}.portal-entry #module-dialog .procedure-info button{min-height:32px;padding:6px 10px;font-size:11px}.portal-entry #module-dialog .module-benefit{padding:10px;margin-top:12px}
@media(max-width:700px){.portal-entry #module-dialog,.portal-entry #module-dialog[data-columns]{width:calc(100vw - 24px);max-height:85dvh}.portal-entry #module-dialog .module-overview{grid-template-columns:1fr}.portal-entry #module-dialog .module-access-guide{border-left:0;padding-left:0}}
body .epi-ambient{inset:108px 14px 82px;z-index:-1;opacity:1}body .epi-ambient svg{opacity:.8}body .epi-ambient path,body .epi-ambient rect{stroke:#29a0a6;stroke-width:1.5}body .epi-ambient circle{fill:#28a4a9}
.presentation-topic{color:#97e8da;font-size:11px;line-height:1.4;border-left:2px solid #4fc7bb;padding:5px 8px;margin:4px 0 8px;min-height:25px;animation:topic-enter .45s ease-out}
@keyframes topic-enter{from{opacity:.3;transform:translateX(-5px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.presentation-topic{animation:none}}

.epi-ambient .ambient-motif{animation:epinex-drift 12s ease-in-out infinite;transform-box:fill-box;transform-origin:center}.epi-ambient .ambient-motif:nth-child(3n){animation-duration:17s;animation-delay:-4s}.epi-ambient .ambient-motif:nth-child(4n){animation-direction:reverse;animation-delay:-8s}@keyframes epinex-drift{0%,100%{translate:0 0;opacity:.45}50%{translate:5px -7px;opacity:.9}}@media(prefers-reduced-motion:reduce){.epi-ambient .ambient-motif{animation:none!important}}

@media(min-width:1100px){body.portal-entry .portal-stage .samuel-presentation>p:not(.eyebrow):not(.presentation-topic):not(.field-help){display:none}body.portal-entry .portal-stage .samuel-presentation .eyebrow{margin-bottom:6px}body.portal-entry .portal-stage .portal-intro>p{margin:5px 0 8px}body.portal-entry .portal-stage .portal-intro .portal-promise{display:none}body.portal-entry .portal-stage .module-cards{flex:0 0 auto}body.portal-entry .portal-stage .portal-intro>div:last-child{margin-top:12px}body.portal-entry .portal-stage .presentation-topic{font-size:10px;line-height:1.4;min-height:0;margin-bottom:4px}body.portal-entry .portal-stage .login-pane #login-form{margin-top:10px}body.portal-entry .portal-stage .samuel-presentation .field-help{font-size:10px;line-height:1.4;margin:5px 0 8px}}

@media(min-width:1100px){
 body.portal-entry .portal-stage .portal-layout .portal-intro{padding:16px}
 body.portal-entry .portal-stage .portal-layout .portal-intro h1{font-size:19px;line-height:1.18;margin:0 0 8px}
 body.portal-entry .portal-stage .portal-layout .portal-intro>.eyebrow{font-size:9px;margin:0 0 7px}
 body.portal-entry .portal-stage .portal-layout .portal-intro .portal-purpose{font-size:10px;line-height:1.4;margin:0 0 9px}
 body.portal-entry .portal-stage .portal-layout .module-tile{min-height:45px;padding:5px 6px}
 body.portal-entry .portal-stage .portal-layout .module-tile strong{font-size:10px;line-height:1.18}
 body.portal-entry .portal-stage .portal-layout .module-tile>span{font-size:9px;line-height:1.2;margin:2px 0}
 body.portal-entry .portal-stage .portal-layout .module-tile .module-action{font-size:9px;line-height:1.2}
 body.portal-entry .portal-stage .portal-layout .portal-closing{display:none}
 body.portal-entry .portal-stage .portal-layout .module-cards{flex:0 0 auto}
 body.portal-entry .portal-stage .portal-layout .login-pane{padding:16px}
 body.portal-entry .portal-stage .portal-layout .login-pane h2{font-size:20px;line-height:1.2;margin:4px 0 8px}
 body.portal-entry .portal-stage .portal-layout .login-pane .login-subtitle{font-size:11px;line-height:1.4;margin:0 0 8px}
 body.portal-entry .portal-stage .portal-layout .login-pane .auth-steps{font-size:10px;min-height:0;margin:8px 0 12px;padding-bottom:10px}
 body.portal-entry .portal-stage .portal-layout .login-pane form{margin:6px 0 10px}
 body.portal-entry .portal-stage .portal-layout .login-pane label{font-size:11px;margin:0 0 8px}
 body.portal-entry .portal-stage .portal-layout .login-pane input{font-size:12px;min-height:34px;height:34px;padding:8px}
 body.portal-entry .portal-stage .portal-layout .login-pane .login-help{font-size:10px;line-height:1.35;margin:8px 0 0}
 body.portal-entry .portal-stage .samuel-presentation .presentation-topic{font-size:10px;line-height:1.4;margin:5px 0;padding:4px 7px}
 body.portal-entry .portal-stage .samuel-presentation .field-help{font-size:10px;line-height:1.3;margin:4px 0 7px}
}

.portal-entry #module-dialog[data-columns="1"]{width:min(620px,calc(100vw - 48px))}.portal-entry #module-dialog[data-columns="2"]{width:min(860px,calc(100vw - 64px))}

.presentation-player{position:relative;min-width:0;width:100%;margin:10px 0 5px}.samuel-presentation .presentation-player video{margin:0!important}.presentation-quality{position:absolute;top:4px;right:4px;max-width:115px;min-height:20px!important;padding:2px 3px!important;border:1px solid #6ca5aa!important;border-radius:5px;background:#0a2c3de8!important;color:#d9f4ee!important;font-size:9px!important;opacity:.85}.presentation-quality:focus{opacity:1;outline:2px solid #7de0d1}

@media(min-width:641px) and (max-width:1099px){.samuel-presentation .presentation-player{grid-column:2;grid-row:1/6}}

@media(min-width:1100px){body.portal-entry>header.brand-header.epi-product-header{height:108px;min-height:108px;box-sizing:border-box}body.portal-entry .epi-capabilities,body.portal-entry .epi-product-copy>.epi-owner{display:none}body.portal-entry>main:has(.portal-stage){display:flex;flex-direction:column;min-height:calc(100dvh - 108px);box-sizing:border-box;justify-content:center}}

.epi-ambient path,.epi-ambient circle,.epi-ambient rect{animation:none!important}

/* Ventanas de información: 60 % del ancho y límite de altura anteriores. */
.portal-entry #module-dialog,.portal-entry #module-dialog[data-columns]{width:min(588px,calc(100vw - 40px));max-height:46.8dvh}
.portal-entry #module-dialog[data-columns="1"]{width:min(372px,calc(100vw - 32px))}.portal-entry #module-dialog[data-columns="2"]{width:min(516px,calc(100vw - 40px))}
.portal-entry #request-dialog{width:min(396px,calc(100vw - 32px));max-height:48dvh}
.portal-entry dialog .dialog-heading{padding:10px 12px;gap:10px}.portal-entry dialog .dialog-heading h2{font-size:17px;line-height:1.2}.portal-entry dialog .dialog-heading p{font-size:10px;margin:3px 0}.portal-entry dialog .dialog-heading button{font-size:11px;min-height:28px;padding:5px 8px}
.portal-entry dialog .dialog-body{padding:10px 12px}.portal-entry #module-dialog .module-overview{grid-template-columns:1fr;gap:10px}.portal-entry #module-dialog .module-access-guide{border-left:0;border-top:1px solid #dce8ee;padding:10px 0 0}.portal-entry #module-dialog .module-access-guide[hidden]{display:none}
.portal-entry #module-dialog .module-section-title{font-size:12px;margin:0 0 8px}.portal-entry #module-dialog .procedure-info{padding-bottom:8px}.portal-entry #module-dialog .procedure-info h3{font-size:12px;line-height:1.3;margin:0 0 6px}.portal-entry #module-dialog .procedure-info p,.portal-entry #module-dialog .module-access-guide p,.portal-entry #module-dialog .module-access-guide li{font-size:11px;line-height:1.45;margin:5px 0}.portal-entry #module-dialog .procedure-info details,.portal-entry #module-dialog .module-access-guide summary{font-size:11px;line-height:1.4}.portal-entry #module-dialog .procedure-info button{font-size:10px;min-height:27px;padding:5px 8px;margin-top:5px}.portal-entry #module-dialog .module-dialog-note{font-size:9px;line-height:1.4;margin-top:10px;padding-top:8px}
.portal-entry #module-dialog[data-benefit] .module-section-title{display:none}.portal-entry #module-dialog[data-benefit]{width:min(470px,calc(100vw - 32px));max-height:46.8dvh}
.portal-entry #request-form{grid-template-columns:1fr;gap:8px}.portal-entry #request-form label{font-size:11px}.portal-entry #request-form input,.portal-entry #request-form select{font-size:12px;min-height:32px}
.presentation-benefits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:3px}.presentation-benefits button{font-size:10px;line-height:1.25;min-height:34px;padding:6px;border-radius:8px;color:#d6f7ef;background:#144655;border:1px solid #67b8b2;text-align:left;white-space:normal}.presentation-benefits button:hover,.presentation-benefits button:focus-visible{background:#087f8c;color:white;outline:2px solid #7adbc9;outline-offset:1px}.samuel-presentation .benefits-label{font-size:9px!important;color:#8de1d5!important;letter-spacing:1px;margin:9px 0 4px!important}.samuel-presentation .presentation-retry{font-size:10px;min-height:28px;padding:5px}
@media(max-width:700px){.portal-entry #module-dialog,.portal-entry #module-dialog[data-columns],.portal-entry #module-dialog[data-benefit],.portal-entry #request-dialog{max-height:65dvh;width:min(470px,calc(100vw - 28px))}}

/* Densidad mayor, tamaños diversos y movimiento contenido por grupos. */
.epi-ambient .ambient-motif{animation:none}.epi-ambient .ambient-motif:nth-child(3n),.epi-ambient .ambient-motif:nth-child(5n){animation:epinex-drift 14s ease-in-out infinite}.epi-ambient .ambient-motif:nth-child(5n){animation-duration:19s;animation-delay:-8s}.epi-ambient svg{opacity:.8}.samuel-presentation .benefits-label{display:block!important}

/* Catálogo ampliado: 24 temas sin duplicar procedimientos. */
@media(min-width:1100px){
 body.portal-entry .portal-stage .portal-layout .portal-intro{padding:14px}
 body.portal-entry .portal-stage .portal-layout .module-cards{gap:4px}
 body.portal-entry .portal-stage .portal-layout .module-tile{min-height:36px;padding:4px 6px}
 body.portal-entry .portal-stage .portal-layout .module-tile strong{font-size:10px;line-height:1.15}
 body.portal-entry .portal-stage .portal-layout .module-tile>span{font-size:9px;line-height:1.1;margin:1px 0}
 body.portal-entry .portal-stage .portal-layout .module-tile small{font-size:9px;line-height:1.1;padding-top:2px}
 body.portal-entry .portal-stage .portal-layout .portal-intro .portal-purpose{margin-bottom:6px}
 body.portal-entry .portal-stage .portal-layout .catalog-filters{margin-bottom:6px}
}
.presentation-benefits .benefit-tile{display:flex;flex-direction:column;min-width:0;text-align:left;background:#eff9f7;color:#173d54;border:1px solid #8fc8c6;border-bottom:3px solid #6aafaa;border-radius:9px;padding:6px 7px;gap:2px;min-height:48px}
.presentation-benefits .benefit-tile strong{color:#173d54;font-size:10px;line-height:1.2}.presentation-benefits .benefit-tile>span{color:#557082;font-size:9px;line-height:1.2}.presentation-benefits .benefit-tile .module-action{display:block;color:#087d88;font-size:9px;line-height:1.15;border-top:1px solid #c1e0df;margin-top:auto;padding-top:2px}.presentation-benefits .benefit-tile:hover,.presentation-benefits .benefit-tile:focus-visible{background:#dff3ef;color:#173d54;outline:2px solid #64c6b8}
.samuel-presentation .benefits-label{margin:7px 0 4px!important}.samuel-presentation .presentation-benefits{padding:0;gap:5px;margin-top:0}
.presentation-fullscreen{position:absolute;bottom:35px;right:6px;min-height:25px!important;width:28px;padding:2px!important;border-radius:5px;background:#0a2c3de8;color:#e7faf7;border:1px solid #6ca5aa;font-size:18px;line-height:1}.presentation-fullscreen:focus-visible{outline:2px solid #8cead9}

body.portal-entry .epi-ambient{inset:0;z-index:-1}
body.portal-entry .epi-ambient svg{width:100%;height:100%;opacity:.72;overflow:visible}
body.portal-entry footer{background:#eaf5f6!important;z-index:1}
.epi-ambient .ambient-motif{animation:epinex-drift 14s ease-in-out infinite}
.epi-ambient .ambient-motif:nth-child(3n){animation-duration:18s;animation-delay:-5s}.epi-ambient .ambient-motif:nth-child(5n){animation-duration:22s;animation-delay:-10s}
@media(prefers-reduced-motion:reduce){.epi-ambient .ambient-motif{animation:none!important}}

@media(min-width:1100px){
 body.portal-entry .portal-stage .portal-layout .module-tile{min-height:34px;padding:3px 6px;border-bottom-width:2px}
 body.portal-entry .portal-stage .portal-layout .module-tile strong{font-size:10px;line-height:1.1;min-height:0;margin:0}
 body.portal-entry .portal-stage .portal-layout .module-tile>span{font-size:9px;line-height:1.05;margin:0}
 body.portal-entry .portal-stage .portal-layout .module-tile small{font-size:9px;line-height:1;padding-top:0;margin-top:1px}
 body.portal-entry .portal-stage .portal-layout .portal-intro .eyebrow{margin-bottom:5px}
 body.portal-entry .portal-stage .portal-layout .portal-intro h1{font-size:18px;line-height:1.15;margin-bottom:6px}
}
body.portal-entry .presentation-benefits .benefit-tile>span{display:block;font-size:9px;line-height:1.2;margin:1px 0}
body.portal-entry .presentation-benefits .benefit-tile strong{font-size:10px;line-height:1.2;min-height:0}
body.portal-entry .presentation-benefits .benefit-tile small{font-size:9px;line-height:1.1}

body.portal-entry .portal-stage .samuel-presentation .presentation-topic.sr-only{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%);border:0}
body.portal-entry .portal-stage .presentation-benefits .benefit-tile{min-height:0;height:auto;gap:1px;padding:5px 6px;border-bottom-width:2px}
body.portal-entry .portal-stage .presentation-benefits .benefit-tile strong{min-height:0;font-size:10px;line-height:1.15;margin:0}
body.portal-entry .portal-stage .presentation-benefits .benefit-tile>span{font-size:9px;line-height:1.15;margin:1px 0}
body.portal-entry .portal-stage .presentation-benefits .benefit-tile small{font-size:9px;line-height:1.1;padding-top:2px}

.presentation-benefits .module-action::after{content:'→';float:right}

.presentation-fullscreen{width:auto;max-width:calc(100% - 12px);font-size:9px;padding:4px 6px!important;line-height:1.2}

/* EPINEX_DIALOG_THEME_V3 · jerarquía y color comunes a SAmuel y RADAR. */
:is(#module-dialog,#request-dialog,#module-info-dialog,#access-protection-dialog,#authenticator-guide-dialog,#help-dialog,#commercial-format-dialog,#epinex-request-dialog,#epinex-email-draft-dialog){font-family:"Segoe UI",Arial,sans-serif;color:#183f53;background:#f8fcfc;border:1px solid #a9d3d4;border-radius:18px;box-shadow:0 22px 70px #092f4559}
:is(#module-dialog,#request-dialog,#module-info-dialog,#access-protection-dialog,#authenticator-guide-dialog)::backdrop{background:#082b426b;backdrop-filter:blur(3px)}
:is(#module-dialog,#request-dialog) .dialog-heading,:is(#module-info-dialog,#access-protection-dialog,#authenticator-guide-dialog,#help-dialog)>.access-protection-heading{background:linear-gradient(120deg,#10364a,#185266);border-bottom:3px solid #66c9ba;border-radius:16px 16px 0 0;padding:13px 16px;color:#fff}
:is(#module-dialog,#request-dialog) .dialog-heading h2,:is(#module-info-dialog,#access-protection-dialog,#authenticator-guide-dialog,#help-dialog)>.access-protection-heading h2{color:#f5fffd;font-size:18px;line-height:1.25;font-weight:700;margin:3px 0 5px}
:is(#module-dialog,#request-dialog) .dialog-heading p{color:#d3e9ec;font-size:11px;line-height:1.4}
:is(#module-dialog,#request-dialog) .dialog-heading .eyebrow{color:#8be4d4;font-size:10px;letter-spacing:1.2px}
:is(#module-dialog,#request-dialog) .dialog-heading button,:is(#module-info-dialog,#access-protection-dialog,#authenticator-guide-dialog,#help-dialog)>.access-protection-heading button{background:#f2fcfa;color:#154354;border:1px solid #a8d3d0;border-radius:9px;font-size:11px;padding:6px 10px;min-height:30px;box-shadow:0 2px 8px #05243618}
:is(#module-dialog,#request-dialog) .dialog-heading button:hover,:is(#module-info-dialog,#access-protection-dialog,#authenticator-guide-dialog,#help-dialog)>.access-protection-heading button:hover{background:#d8f5ec}
#module-info-dialog{padding:0!important;overflow:auto}#module-info-dialog>.access-protection-heading{position:sticky;top:0;z-index:4}#module-info-dialog>.access-protection-intro{margin:0;padding:0 16px 12px;background:#185266;color:#d7efec;font-size:11px;line-height:1.5;border-bottom:1px solid #a5d3ce}
#module-dialog .dialog-body{background:linear-gradient(150deg,#f6fbfa,#f4f8fc);padding:12px}
#module-procedures,#module-info-dialog .access-protection-facts{counter-reset:epinex-topic}
#module-info-dialog .access-protection-facts{padding:12px 14px;gap:10px}
#module-dialog .procedure-info,#module-info-dialog .access-protection-facts>section{counter-increment:epinex-topic;border:1px solid #c9e2dc!important;border-left:4px solid #159c96!important;border-radius:12px!important;background:#eff9f5!important;padding:11px 12px!important;margin:0 0 9px;box-shadow:0 2px 8px #173d5006}
#module-dialog .procedure-info:nth-child(3n+2),#module-info-dialog .access-protection-facts>section:nth-child(3n+2){background:#f0f6fc!important;border-color:#cedfec!important;border-left-color:#468db2!important}
#module-dialog .procedure-info:nth-child(3n),#module-info-dialog .access-protection-facts>section:nth-child(3n){background:#fff8ec!important;border-color:#eadcc0!important;border-left-color:#c99a45!important}
#module-dialog .procedure-info::before,#module-info-dialog .access-protection-facts>section::before{content:counter(epinex-topic,decimal-leading-zero);display:inline-block;min-width:20px;padding:2px 5px;margin:0 0 5px;border-radius:5px;background:#d4eee7;color:#116c70;font-size:9px;font-weight:700;letter-spacing:.5px}
#module-dialog .procedure-info h3,#module-info-dialog .access-protection-facts h3{font-size:13px;line-height:1.3;color:#126978;margin:0 0 6px;font-weight:700}
#module-dialog .procedure-info p,#module-info-dialog .access-protection-facts p{font-size:11.5px;line-height:1.55;color:#3e6072;margin:6px 0 0}
#module-dialog .procedure-info details{font-size:11px;color:#31586b;margin:6px 0}#module-dialog .procedure-info summary{color:#087e87;font-weight:600;cursor:pointer}
#module-dialog .procedure-info button{border:1px solid #76bcb5;border-radius:7px;background:#fff;color:#0a7e85;min-height:28px;font-size:10px;padding:5px 9px;margin-top:8px}
#module-dialog .topic-guidance{border:1px solid #bbdfdb;border-radius:10px;background:#e9f6f3;padding:10px 12px;margin:0 0 10px;color:#315b6a;font-size:11px;line-height:1.5}#module-dialog .topic-guidance>p{margin:0 0 6px;font-weight:600;color:#126978}#module-dialog .topic-guidance details p{margin:7px 0 0}#module-dialog .topic-guidance summary{color:#0b7882;cursor:pointer}
#module-dialog .module-dialog-note,#module-info-dialog>.access-protection-note{background:#edf5f8;border:1px solid #d0e2e8;border-radius:9px;padding:9px 11px;margin:10px 0 0;color:#4a6878;font-size:10px;line-height:1.45}
#module-info-dialog>.access-protection-note{margin:0 14px 12px}
#module-dialog .module-access-guide{background:#fff;border:1px solid #d8e7e7;border-radius:9px;padding:8px 10px!important;margin:0}#module-dialog .module-access-guide summary{font-weight:600;color:#126978}
#module-info-dialog .ppi-cycle-service{background:#edf6fa;border-color:#c5dfe9;padding:12px}#module-info-dialog .ppi-cycle-service h3{color:#126978}
@media(max-width:640px){#module-dialog .procedure-info,#module-info-dialog .access-protection-facts>section{padding:10px!important}:is(#module-dialog,#request-dialog) .dialog-heading h2,:is(#module-info-dialog,#access-protection-dialog)>.access-protection-heading h2{font-size:16px}}

/* Fondo móvil visible: no depende de transformaciones CSS de SVG. */
body .epi-ambient .ambient-motif,body .surface-ambient .ambient-motif{animation:none!important;translate:none}
body .epi-ambient{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none}body .epi-ambient svg{width:100%;height:100%;opacity:.63}body .epi-ambient path,body .epi-ambient rect{stroke:#299ba6;stroke-width:1.2;fill:none}body .epi-ambient circle{fill:#249da5}.ambient-moving-marker{fill:#087f89!important;stroke:#9fe5dc;stroke-width:1}
body.portal-entry .samuel-presentation{position:relative;isolation:isolate;overflow:hidden!important}body.portal-entry .samuel-presentation>.surface-ambient{position:absolute;inset:0;z-index:0;opacity:.16;pointer-events:none;overflow:hidden}body.portal-entry .samuel-presentation>.surface-ambient svg{width:100%;height:100%}.surface-ambient path,.surface-ambient rect{stroke:#6ec9c6;stroke-width:1;fill:none}.surface-ambient circle{fill:#7ad9cc}body.portal-entry .samuel-presentation>:not(.surface-ambient){position:relative;z-index:1}
.epinex-motion-toggle{font:10px "Segoe UI",Arial,sans-serif;min-height:25px;padding:4px 7px;margin:0 0 0 6px;border:1px solid #9fcac6;border-radius:7px;background:#eef9f6;color:#126b76;white-space:nowrap}.epinex-motion-toggle:focus-visible{outline:2px solid #2ea99a;outline-offset:2px}
@media print{.epi-ambient,.surface-ambient,.epinex-motion-toggle{display:none!important}}

/* EPINEX_PORTAL_PROPORTIONAL_9775_20261027: misma composición, 15 % más que el ajuste anterior (.85 × 1.15).
   Se escala solo el conjunto inicial; el fondo, encabezado, pie y diálogos conservan su tamaño.
   En pantallas estrechas se mantiene la adaptación legible existente. */
@media screen and (min-width:1100px){
 body.portal-entry .portal-stage{transform:scale(.9775);transform-origin:center center}
}

/* Contenido breve completo: altura natural; el tope solo limita los temas largos. */
.portal-entry #module-dialog,.portal-entry #module-dialog[data-columns],.portal-entry #module-dialog[data-benefit]{height:fit-content;max-height:min(70dvh,620px)}
@media(max-width:700px){.portal-entry #module-dialog,.portal-entry #module-dialog[data-columns],.portal-entry #module-dialog[data-benefit]{max-height:80dvh}}

/* EPINEX_LOGIN_GUIDE_20261101: compact form and product-specific orientation. */
body.portal-entry .portal-stage .portal-layout .login-pane{display:flex;flex-direction:column;justify-content:flex-start;box-sizing:border-box}
body.portal-entry .portal-stage .portal-layout .login-pane #login-form{flex:0 0 auto;margin:18px 0 0;padding:0;gap:6px}
body.portal-entry .portal-stage .portal-layout .login-pane .epinex-login-guide{flex:0 0 auto;margin:18px 0 14px;padding:14px;border:1px solid #cae2e3;border-radius:12px;background:linear-gradient(140deg,#eef8f7,#f7fafc);color:#355e70;text-align:left}
body.portal-entry .portal-stage .portal-layout .login-pane .epinex-login-guide .epinex-login-guide-kicker{font-size:10px!important;line-height:1.4!important;font-weight:750;letter-spacing:1.1px;color:#007e87;margin:0 0 6px}
body.portal-entry .portal-stage .portal-layout .login-pane .epinex-login-guide h3{font-size:15px;line-height:1.3;color:#17475c;margin:0 0 10px}
body.portal-entry .portal-stage .portal-layout .login-pane .epinex-login-guide ol{padding-left:17px;margin:0;display:grid;gap:8px}
body.portal-entry .portal-stage .portal-layout .login-pane .epinex-login-guide li{font-size:11px;line-height:1.45;padding-left:2px}
body.portal-entry .portal-stage .portal-layout .login-pane .epinex-login-guide li::marker{color:#00858a;font-weight:750}
body.portal-entry .portal-stage .portal-layout .login-pane .epinex-login-guide strong{color:#17475c}
body.portal-entry .portal-stage .portal-layout .login-pane .epinex-login-guide .epinex-login-guide-note{font-size:10px!important;line-height:1.4!important;margin:10px 0 0;padding-top:10px;border-top:1px solid #cce2e2;color:#506d7b}
@media(max-height:850px){body.portal-entry .portal-stage .portal-layout .login-pane #login-form{margin-top:12px}body.portal-entry .portal-stage .portal-layout .login-pane .epinex-login-guide{margin:12px 0;padding:12px}body.portal-entry .portal-stage .portal-layout .login-pane .epinex-login-guide ol{gap:6px}}

body.portal-entry .portal-stage .portal-layout .login-pane:has(#login-form[hidden]) .epinex-login-guide{display:none}
body.portal-entry .portal-stage .portal-layout .login-pane .protected-access{flex:0 0 auto;margin-top:auto}
