/* Ajustes solicitados: fachada a la izquierda, consulta intermedia y controles compactos. */
.ce-portal-page:before{background-position:center 42%;height:500px;inset:0 auto auto 0;opacity:.42;width:min(720px,51vw);-webkit-mask-image:radial-gradient(ellipse 94% 90% at 18% 12%,#000 0 40%,rgba(0,0,0,.76) 58%,rgba(0,0,0,.2) 79%,transparent 100%);mask-image:radial-gradient(ellipse 94% 90% at 18% 12%,#000 0 40%,rgba(0,0,0,.76) 58%,rgba(0,0,0,.2) 79%,transparent 100%)}
.ce-portal-status-link{background:rgba(255,255,255,.9);border-radius:13px;grid-template-columns:30px minmax(0,1fr) 27px;margin:13px auto 0;padding:7px 8px;width:min(390px,100%)}.ce-portal-status-link>b{align-items:center;background:#eaf3fd;border-radius:8px;display:flex;font-size:15px;height:27px;justify-content:center;width:27px}
.ce-portal-options{gap:16px;max-width:1060px;margin-left:auto;margin-right:auto}.ce-portal-option{gap:13px;grid-template-columns:48px minmax(0,1fr);height:178px;padding:19px 22px}.ce-portal-option-icon{border-radius:12px;height:43px;width:43px}.ce-portal-option-icon svg{height:22px;width:22px}.ce-portal-option h2{font-size:23px;margin:4px 0 6px}.ce-portal-option p{font-size:12px;line-height:1.38}.ce-portal-arrow{bottom:15px;font-size:15px;height:29px;right:16px;width:29px}
.ce-portal-qr-links>a{grid-template-columns:66px minmax(0,1fr) 32px}.ce-portal-qr-links a>b{border-radius:8px;font-size:17px;height:30px;width:30px}
.ce-portal-status-link{grid-template-columns:34px minmax(0,1fr) 31px;padding:9px 10px;width:min(430px,100%)}.ce-portal-status-link>span{font-size:18px;height:34px;width:34px}.ce-portal-status-link strong{font-size:12px}.ce-portal-status-link small{font-size:9px;margin-top:2px}.ce-portal-status-link>b{font-size:16px;height:30px;width:30px}
.ce-portal-downloads{gap:16px;grid-template-columns:270px minmax(0,1fr);padding:12px 16px}.ce-portal-downloads>header{gap:11px;padding-right:16px}.ce-portal-downloads>header>span{height:42px;width:42px}.ce-portal-downloads>header svg{height:25px;width:25px}.ce-portal-downloads h2{font-size:14px}.ce-portal-downloads p{font-size:9px}.ce-portal-qr-links{gap:10px}.ce-portal-qr-links>a{grid-template-columns:52px minmax(0,1fr) 28px;min-height:64px;padding:6px 8px}.ce-portal-qr-links img{height:50px;padding:3px;width:50px}.ce-portal-qr-links strong{font-size:10px}.ce-portal-qr-links small{font-size:8px}.ce-portal-qr-links a>b{font-size:15px;height:27px;width:27px}
@media(max-width:1100px){.ce-portal-page:before{height:440px;opacity:.32;width:60vw}.ce-portal-option{height:182px}}
@media(max-width:760px){.ce-portal-page:before{background-position:42% top;height:380px;opacity:.22;width:100vw;-webkit-mask-image:linear-gradient(to bottom,#000,transparent 95%);mask-image:linear-gradient(to bottom,#000,transparent 95%)}.ce-portal-options{grid-template-columns:1fr;max-width:560px}.ce-portal-option{height:auto;min-height:178px;padding:19px}.ce-portal-qr-links{grid-template-columns:1fr}.ce-portal-downloads{grid-template-columns:1fr;padding:13px}.ce-portal-downloads>header{padding:0 0 11px}.ce-portal-qr-links>a{min-height:62px}}
@media(max-width:430px){.ce-portal-option{grid-template-columns:42px minmax(0,1fr);min-height:180px;padding:16px 14px}.ce-portal-option-icon{height:38px;width:38px}.ce-portal-option h2{font-size:20px}.ce-portal-arrow{bottom:13px;height:28px;right:13px;width:28px}.ce-portal-qr-links>a{grid-template-columns:60px minmax(0,1fr) 30px}}

/* La fachada cubre todo el portal sin deformarse; cover conserva su proporción. */
.ce-portal-page:before{background-position:center center;background-size:cover;height:auto;inset:0;opacity:.31;width:auto;-webkit-mask-image:none;mask-image:none}
.ce-portal-header>p{color:#08265c}
@media(max-width:760px){.ce-portal-page:before{background-position:38% center;height:auto;inset:0;opacity:.24;width:auto;-webkit-mask-image:none;mask-image:none}}

/* Escala de escritorio: mejora la lectura sin alterar el diseño de tablet o móvil. */
@media(min-width:1101px){
.ce-portal-page .guest-shell{padding:24px 32px}
.ce-public-portal{max-width:1590px}
.ce-portal-header>img{width:300px}
.ce-portal-badge{font-size:16px;padding:9px 27px}
.ce-portal-header h1{font-size:clamp(46px,3.4vw,62px);margin:16px 0 10px;max-width:1200px}
.ce-portal-header>p{font-size:24px;max-width:1050px}
.ce-portal-status-link{grid-template-columns:48px minmax(0,1fr) 43px;margin-top:18px;padding:12px 14px;width:min(645px,100%)}
.ce-portal-status-link>span{font-size:27px;height:48px;width:48px}
.ce-portal-status-link strong{font-size:18px}
.ce-portal-status-link small{font-size:13px;margin-top:3px}
.ce-portal-status-link>b{font-size:24px;height:43px;width:43px}
.ce-portal-options{gap:24px;margin-top:28px;max-width:1590px}
.ce-portal-option{gap:20px;grid-template-columns:72px minmax(0,1fr);height:267px;padding:29px 33px}
.ce-portal-option-icon{border-radius:18px;height:65px;width:65px}
.ce-portal-option-icon svg{height:33px;width:33px}
.ce-portal-option small{font-size:14px}
.ce-portal-option h2{font-size:35px;margin:7px 0 9px}
.ce-portal-option p{font-size:18px;max-width:630px;padding-right:57px}
.ce-portal-arrow{bottom:23px;font-size:23px;height:44px;right:24px;width:44px}
.ce-portal-downloads{gap:24px;grid-template-columns:405px minmax(0,1fr);margin-top:24px;padding:18px 24px}
.ce-portal-downloads>header{gap:17px;padding-right:24px}
.ce-portal-downloads>header>span{height:63px;width:63px}
.ce-portal-downloads>header svg{height:38px;width:38px}
.ce-portal-downloads h2{font-size:21px}
.ce-portal-downloads p{font-size:14px}
.ce-portal-qr-links{gap:15px}
.ce-portal-qr-links>a{grid-template-columns:78px minmax(0,1fr) 42px;min-height:96px;padding:9px 12px}
.ce-portal-qr-links img{height:75px;padding:5px;width:75px}
.ce-portal-qr-links strong{font-size:15px}
.ce-portal-qr-links small{font-size:12px}
.ce-portal-qr-links a>b{font-size:23px;height:41px;width:41px}
.ce-public-portal>footer{font-size:18px;margin-top:20px;max-width:1020px;padding:12px 25px}
.ce-public-portal>footer>span{font-size:15px;height:30px;width:30px}
}
