/* Identidade institucional do login: logo estável, movimento apenas no entorno. */
#horizon-sge-app #landing-page:not(.h359-login) .hsg-login-identity{
 position:relative;isolation:isolate;box-sizing:border-box;
 width:min(292px,100%)!important;min-height:246px!important;
 margin:10px auto 24px!important;padding:34px 24px!important;
 justify-content:center!important;overflow:visible;
 background:linear-gradient(145deg,#ffffff12,#ffffff04)!important;
 border:1px solid #ffffff26!important;border-radius:32px!important;
 box-shadow:inset 0 1px 0 #ffffff14,0 18px 48px #00265420!important;
}
#horizon-sge-app #landing-page:not(.h359-login) .hsg-login-identity::before,
#horizon-sge-app #landing-page:not(.h359-login) .hsg-login-identity::after{
 content:'';position:absolute;z-index:-1;pointer-events:none;border-radius:50%;
}
#horizon-sge-app #landing-page:not(.h359-login) .hsg-login-identity::before{
 inset:10px;background:radial-gradient(ellipse,#8bdaff24,transparent 70%);
}
#horizon-sge-app #landing-page:not(.h359-login) .hsg-login-identity::after{
 inset:20px 6px;border:1px solid #c1e6ff24;
 border-top-color:#c1e6ff55;border-bottom-color:#c1e6ff0c;
 transform:rotate(-20deg);
}
#horizon-sge-app #landing-page:not(.h359-login) .hsg-login-identity #institutionLogoWrap{
 position:relative;z-index:1;box-sizing:border-box;flex-shrink:0;
 width:218px!important;height:128px!important;min-width:0!important;max-width:100%;
 margin:0!important;padding:17px 20px!important;border-radius:22px!important;
 background:linear-gradient(145deg,#fff,#f2f7fd)!important;
 border:1px solid #ffffffc0!important;
 box-shadow:0 12px 32px #00265426,inset 0 1px 0 #fff!important;
 overflow:visible;
}
#horizon-sge-app #landing-page:not(.h359-login) .hsg-login-identity #institutionLogoWrap::after{
 content:'';position:absolute;inset:-7px;pointer-events:none;border-radius:28px;
 border:1px solid #c1e6ff26;opacity:.7;
}
#horizon-sge-app #landing-page:not(.h359-login) .hsg-login-identity #institutionLogoWrap img{
 display:block;width:100%!important;height:100%!important;
 max-width:100%!important;max-height:100%!important;padding:0!important;object-fit:contain;
}
#horizon-sge-app #landing-page:not(.h359-login) .hsg-login-identity .h31-institution-icon{
 width:64px;height:64px;color:#155b9d;
}
#horizon-sge-app #landing-page:not(.h359-login) .hsg-login-identity .h31-float{
 position:absolute;z-index:2;display:grid!important;place-items:center;
 box-sizing:border-box;width:46px;height:46px;padding:11px;
 border:1px solid #c8e6ff52;border-radius:15px;
 color:#e6f4ff;background:linear-gradient(145deg,#276ab7,#115299);
 box-shadow:0 6px 18px #00265420,inset 0 1px 0 #ffffff1a;
 pointer-events:none;animation:none;
}
#horizon-sge-app #landing-page:not(.h359-login) .hsg-login-identity .h31-float svg{width:22px;height:22px}
#horizon-sge-app #landing-page:not(.h359-login) .hsg-login-identity .h31-float-one{top:12px;left:-13px}
#horizon-sge-app #landing-page:not(.h359-login) .hsg-login-identity .h31-float-two{right:-13px;bottom:12px}
#horizon-sge-app #landing-page:not(.h359-login) .hsg-login-identity .h33-float-three{top:8px;right:10px}
#horizon-sge-app #landing-page:not(.h359-login) .hsg-login-identity .h33-float-four{bottom:8px;left:10px}
#horizon-sge-app.hsg-dark #landing-page:not(.h359-login) .hsg-login-identity{
 background:linear-gradient(145deg,#142e4e,#0e2542)!important;border-color:#7eb9ed30!important;
}
@media(prefers-reduced-motion:no-preference){
 #horizon-sge-app #landing-page:not(.h359-login) .hsg-login-identity .h31-float{animation:hsg-identity-float 7s ease-in-out infinite}
 #horizon-sge-app #landing-page:not(.h359-login) .hsg-login-identity .h31-float-two{animation-duration:8s;animation-delay:-3s}
 #horizon-sge-app #landing-page:not(.h359-login) .hsg-login-identity .h33-float-three{animation-duration:9s;animation-delay:-4s}
 #horizon-sge-app #landing-page:not(.h359-login) .hsg-login-identity .h33-float-four{animation-duration:8s;animation-delay:-6s}
 #horizon-sge-app #landing-page:not(.h359-login) .hsg-login-identity::before{animation:hsg-identity-glow 9s ease-in-out infinite}
 #horizon-sge-app #landing-page:not(.h359-login) .hsg-login-identity::after{animation:hsg-identity-ring 18s ease-in-out infinite}
 #horizon-sge-app #landing-page:not(.h359-login) .hsg-login-identity #institutionLogoWrap::after{animation:hsg-identity-glow 9s ease-in-out infinite}
}
@keyframes hsg-identity-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@keyframes hsg-identity-glow{0%,100%{opacity:.45}50%{opacity:.9}}
@keyframes hsg-identity-ring{0%,100%{transform:rotate(-20deg) scale(1)}50%{transform:rotate(-10deg) scale(1.035)}}
@media(max-width:900px){
 #horizon-sge-app #landing-page:not(.h359-login) .hsg-login-identity{min-height:160px!important;margin:12px auto!important;padding:18px!important}
 #horizon-sge-app #landing-page:not(.h359-login) .hsg-login-identity .h31-float{display:none!important}
}
@media(max-width:760px){
 #horizon-sge-app #landing-page:not(.h359-login).h31-login .landing-container .info-section.login-institution-panel{flex-direction:row!important;gap:14px!important}
 #horizon-sge-app #landing-page:not(.h359-login).h31-login .landing-container .info-section.login-institution-panel .h31-brand{flex:0 0 50px;min-height:52px}
 #horizon-sge-app #landing-page:not(.h359-login) #horizonCornerLogo{width:50px!important;height:50px!important}
 #horizon-sge-app #landing-page:not(.h359-login).h31-login .landing-container .info-section.login-institution-panel .hsg-login-identity{
  flex:0 1 160px;height:52px!important;max-width:calc(100% - 64px)!important;align-self:center;
 }
 #horizon-sge-app #landing-page:not(.h359-login) .hsg-login-identity #institutionLogoWrap{
  width:100%!important;height:52px!important;max-width:160px;min-width:0!important;
  padding:6px 10px!important;background:#ffffffed!important;border:0!important;border-radius:12px!important;box-shadow:none!important;
 }
 #horizon-sge-app #landing-page:not(.h359-login) .hsg-login-identity #institutionLogoWrap img{max-width:160px!important;max-height:52px!important}
 #horizon-sge-app #landing-page:not(.h359-login) .hsg-login-identity #institutionLogoWrap::after{inset:-6px;border-radius:16px;border-color:#c1e6ff30}
}
@media(prefers-reduced-motion:reduce){
 #horizon-sge-app #landing-page:not(.h359-login) .hsg-login-identity,
 #horizon-sge-app #landing-page:not(.h359-login) .hsg-login-identity *,
 #horizon-sge-app #landing-page:not(.h359-login) .hsg-login-identity::before,
 #horizon-sge-app #landing-page:not(.h359-login) .hsg-login-identity::after,
 #horizon-sge-app #landing-page:not(.h359-login) .hsg-login-identity #institutionLogoWrap::after{animation:none!important;transition:none!important}
}
