/* GiraDesk V286.2 | Login premium aprovado | camada visual isolada */
body.ax137-auth.gd-v2863-auth{--gd-shell:#032f20;--gd-lime:#a9ec13;background:#073d28!important;color:#133527!important;min-height:100svh!important;overflow-x:hidden!important;font-family:"Poppins","Manrope",system-ui,Arial,sans-serif!important}
body.gd-v2863-auth .ax137-page{min-height:100svh!important;padding:clamp(14px,2.3vw,34px)!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;background:linear-gradient(143deg,#052d20 0%,#05412b 52%,#072a20 100%)!important;box-sizing:border-box!important}
body.gd-v2863-auth .ax137-main{display:block!important;width:min(1340px,100%)!important;max-width:1340px!important;min-height:0!important;margin:auto!important}
body.gd-v2863-auth .ax137-auth-panel{display:grid!important;grid-template-columns:minmax(0,1.13fr) minmax(350px,.87fr)!important;gap:clamp(22px,3vw,54px)!important;align-items:center!important;min-height:0!important;width:100%!important;padding:clamp(22px,3vw,50px)!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;overflow:visible!important}
body.gd-v2863-auth .gd-login-showcase{order:1!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:stretch!important;position:relative!important;min-width:0!important;min-height:620px!important;padding:20px 18px!important;background:transparent!important;border:0!important;box-shadow:none!important;color:#fff!important;text-align:left!important;overflow:visible!important}
body.gd-v2863-auth .gd-login-showcase::before,body.gd-v2863-auth .gd-login-showcase::after{content:none!important}
body.gd-v2863-auth .gd-login-showcase-inner{max-width:640px;position:relative;z-index:1}
body.gd-v2863-auth .gd-login-brand{margin:0 0 34px;max-width:630px;height:auto;display:block!important}
body.gd-v2863-auth .gd-login-brand img{width:100%;max-width:620px;height:auto;max-height:190px;object-fit:contain;object-position:left center;display:block;filter:none!important}
body.gd-v2863-auth .gd-login-showcase h2{font-size:clamp(25px,2.45vw,39px)!important;line-height:1.19!important;font-weight:800!important;color:#fff!important;letter-spacing:-.8px!important;margin:0 0 29px!important;max-width:580px!important}
body.gd-v2863-auth .gd-login-benefits{list-style:none;padding:0;margin:0;display:grid;gap:13px}
body.gd-v2863-auth .gd-login-benefits li{display:flex;align-items:center;gap:15px;color:#f7fff9!important;font-size:clamp(15px,1.25vw,19px)!important;font-weight:500;line-height:1.35}
body.gd-v2863-auth .gd-login-benefits li span{display:inline-flex;align-items:center;justify-content:center;flex:0 0 29px;width:29px;color:var(--gd-lime);font-weight:800;font-size:25px}
body.gd-v2863-auth .gd-login-benefits-footer{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:38px!important;padding-top:20px;border-top:1px solid rgba(196,246,206,.23);color:#d8f6e5;font-size:12px;font-weight:600}
body.gd-v2863-auth .gd-login-benefits-footer span+span::before{content:"·";margin-right:18px;color:var(--gd-lime)}
body.gd-v2863-auth .ax137-form-side{order:2!important;display:block!important;min-width:0!important;width:100%!important;padding:clamp(30px,3.2vw,52px)!important;background:#fff!important;border-radius:22px!important;box-shadow:0 28px 78px rgba(0,18,11,.27)!important;border:1px solid rgba(217,236,225,.65)!important;max-width:none!important}
body.gd-v2863-auth .ax137-form-logo.ax164-default-logo{display:none!important}
body.gd-v2863-auth .ax137-form-logo.ax164-custom-logo{max-width:300px!important;min-height:0!important;margin-bottom:15px!important}
body.gd-v2863-auth .ax137-form-side .ax137-label{display:none!important}
body.gd-v2863-auth .ax137-title{font-family:inherit!important;font-size:clamp(29px,2.45vw,38px)!important;line-height:1.12!important;letter-spacing:-.8px!important;text-transform:none!important;font-weight:800!important;color:#073721!important;text-align:center!important;margin:0 0 10px!important}
body.gd-v2863-auth .ax137-subtitle{text-transform:none!important;font-size:14px!important;line-height:1.5!important;letter-spacing:0!important;text-align:center!important;color:#596b60!important;margin:0 0 30px!important}
body.gd-v2863-auth .ax137-field{display:block!important;margin-bottom:17px!important}
body.gd-v2863-auth .ax137-field>span{font-size:13px!important;color:#315140!important;font-weight:650!important;letter-spacing:0!important;text-transform:none!important;margin:0 0 7px!important;display:block!important}
body.gd-v2863-auth .ax137-control{background:#fff!important;border:1px solid #dbe4df!important;border-radius:12px!important;min-height:54px!important;box-shadow:none!important;display:flex!important;align-items:center!important}
body.gd-v2863-auth .ax137-control:focus-within{border-color:#159e53!important;box-shadow:0 0 0 3px rgba(35,158,84,.12)!important}
body.gd-v2863-auth .ax137-control input{min-width:0!important;max-width:100%!important;font-size:16px!important;color:#173728!important;background:transparent!important}
body.gd-v2863-auth .ax137-control i{color:#145235!important}
body.gd-v2863-auth .ax137-options{display:flex!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:12px!important;font-size:12px!important;margin:10px 0 25px!important}
body.gd-v2863-auth .ax137-options a{color:#0c6a31!important;font-weight:700!important;text-decoration:none!important}
body.gd-v2863-auth .ax137-submit{display:flex!important;width:100%!important;min-height:56px!important;border:0!important;border-radius:13px!important;background:linear-gradient(180deg,#00a339,#00672c)!important;color:#fff!important;box-shadow:none!important;font-size:15px!important;font-weight:750!important;letter-spacing:0!important}
body.gd-v2863-auth .ax137-submit:hover{background:linear-gradient(180deg,#079d42,#005a28)!important}
body.gd-v2863-auth .ax137-secondary{margin-top:24px!important}
body.gd-v2863-auth .ax137-footer{display:block!important;position:static!important;background:transparent!important;color:#b9d7c4!important;text-align:center!important;font-size:11px!important;line-height:1.4!important;opacity:.8!important;padding:0 14px 12px!important}
@media(max-width:1050px){
body.gd-v2863-auth .ax137-auth-panel{gap:22px!important;padding:18px!important;grid-template-columns:minmax(0,1fr) minmax(330px,1fr)!important}
body.gd-v2863-auth .gd-login-showcase{min-height:0!important;padding:10px 0!important}
body.gd-v2863-auth .gd-login-benefits-footer{margin-top:20px!important}
body.gd-v2863-auth .ax137-form-side{padding:30px!important}
}
@media(max-width:760px){
body.gd-v2863-auth .ax137-page{background:#063522!important;padding:14px!important;justify-content:flex-start!important}
body.gd-v2863-auth .ax137-main{width:min(540px,100%)!important;margin:0 auto!important}
body.gd-v2863-auth .ax137-auth-panel{grid-template-columns:minmax(0,1fr)!important;gap:0!important;padding:0!important}
body.gd-v2863-auth .gd-login-showcase{display:none!important}
body.gd-v2863-auth .ax137-form-side{order:1!important;padding:clamp(20px,5vw,32px)!important;border-radius:18px!important;margin:0!important}
body.gd-v2863-auth .ax137-form-logo.ax164-default-logo{display:flex!important;background:#073c28!important;margin:0 auto 24px!important;border-radius:12px!important;padding:12px 15px!important;max-width:100%!important;min-height:80px!important}
body.gd-v2863-auth .ax137-form-logo.ax164-default-logo img{max-width:100%!important;max-height:85px!important;object-fit:contain!important}
body.gd-v2863-auth .ax137-form-logo.ax164-custom-logo{display:flex!important}
body.gd-v2863-auth .ax137-title{font-size:clamp(27px,7vw,35px)!important}
body.gd-v2863-auth .ax137-footer{margin:15px auto 0!important}
}
@media(max-width:380px){body.gd-v2863-auth .ax137-page{padding:8px!important}body.gd-v2863-auth .ax137-form-side{padding:18px!important}body.gd-v2863-auth .ax137-options{font-size:11px!important}body.gd-v2863-auth .ax137-secondary a{font-size:12px!important}}
@media(prefers-reduced-motion:reduce){body.gd-v2863-auth *,body.gd-v2863-auth *::before,body.gd-v2863-auth *::after{animation:none!important;transition:none!important}}

/* V286.3: unificação das demais páginas, mantendo formulários/rotas originais */
body.gd-v2863-auth .ax137-side-panel.gd-login-showcase{display:flex!important;position:relative!important;order:1!important;min-width:0!important;background:transparent!important;box-shadow:none!important;border:0!important;overflow:visible!important;max-width:none!important;transform:none!important;opacity:1!important}
body.gd-v2863-auth .ax137-side-panel.gd-login-showcase > :not(.gd-login-showcase-inner):not(.gd-login-benefits-footer){display:none!important}
body.gd-v2863-auth .ax137-side-panel.gd-login-showcase .gd-login-benefits-footer{display:flex!important}
body.gd-v2863-auth .ax137-page > .ax137-main{position:relative!important;z-index:1!important}
body.gd-v2863-auth .ax137-form-logo.ax164-default-logo{display:none!important}
body.gd-v2863-auth .ax137-form-logo.ax164-custom-logo{display:flex!important;max-width:300px!important;min-height:90px!important;background:#f2f8f3!important;padding:12px!important;border-radius:14px!important;justify-content:center!important}
body.gd-v2863-auth .ax137-form-logo.ax164-custom-logo img{max-height:94px!important;max-width:100%!important;object-fit:contain!important}
body.gd-v2863-auth .ax137-form-side .ax137-alert{max-width:100%!important;overflow-wrap:anywhere!important}
body.gd-v2863-auth .ax137-control input,body.gd-v2863-auth .ax137-control button{min-width:0!important}
body.gd-v2863-auth .ax137-field .ax137-control{width:100%!important}
body.gd-v2863-auth .ax137-form-side .ax137-note{max-width:100%!important}
body.gd-v2863-auth .ax137-form-side .ax137-back{color:#12633a!important}
body.gd-v2863-auth .ax137-form-side .ax137-strength{max-width:100%!important}
/* Tela pequena: logo visível e priorização do formulário. */
@media(max-width:760px){
body.gd-v2863-auth .ax137-side-panel.gd-login-showcase{display:none!important}
body.gd-v2863-auth .ax137-form-logo.ax164-default-logo{display:flex!important;visibility:visible!important;background:#063c28!important;border:0!important;max-width:100%!important;margin:0 auto 22px!important;padding:14px!important;min-height:82px!important}
body.gd-v2863-auth .ax137-form-logo.ax164-default-logo img{max-width:100%!important;max-height:94px!important;object-fit:contain!important;visibility:visible!important;opacity:1!important}
body.gd-v2863-auth .ax137-form-side{min-width:0!important;overflow:visible!important}
body.gd-v2863-auth .ax137-form-side .ax137-submit{width:100%!important}
}
/* Páginas do portal membro herdam o cabeçalho com CSS compartilhado. */
body.gd-v2863-auth.ax137-member-login-page .ax137-page{max-width:none!important;width:100%!important}
/* Confirmação de acesso de duas etapas: apresentação discreta, sem alterar o formulário. */
body.gd-v2863-2fa{background:#063522!important;min-height:100svh!important}
body.gd-v2863-2fa .gd2fa-card{box-shadow:0 22px 70px rgba(0,20,12,.25)!important;border-radius:22px!important}
body.gd-v2863-2fa .gd-v2863-2fa-brand{display:flex;justify-content:center;align-items:center;margin:0 auto 24px;padding:12px;background:#063c28;border-radius:12px;max-width:470px}
body.gd-v2863-2fa .gd-v2863-2fa-brand img{display:block;max-width:100%;width:340px;height:auto;max-height:110px;object-fit:contain}
@media(max-width:600px){body.gd-v2863-2fa .gd-v2863-2fa-brand{padding:10px;margin-bottom:18px}}

/* V286.4 — alinhar a marca da licença ao centro do formulário.
   Escopo limitado à autenticação; a marca institucional permanece na coluna esquerda. */
body.ax137-auth.gd-v2863-auth .ax137-form-side > .ax137-form-logo.ax164-custom-logo,
body.ax137-auth.gd-v2863-auth .ax137-form-side .ax137-form-logo.ax164-custom-logo {
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:min(100%,300px)!important;
  max-width:300px!important;
  margin:0 auto 20px!important;
  box-sizing:border-box!important;
  float:none!important;
  position:relative!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
}
body.ax137-auth.gd-v2863-auth .ax137-form-side .ax137-form-logo.ax164-custom-logo img {
  display:block!important;
  width:auto!important;
  max-width:100%!important;
  max-height:94px!important;
  height:auto!important;
  margin:0 auto!important;
  object-fit:contain!important;
  object-position:center!important;
}
@media (max-width:760px) {
  body.ax137-auth.gd-v2863-auth .ax137-form-side .ax137-form-logo.ax164-custom-logo {
    width:min(100%,300px)!important;
    margin:0 auto 20px!important;
  }
}

/* V286.5 — ampliar APENAS a logo personalizada da conta/licença.
   Preserva a centralização V286.4 e não modifica a marca institucional. */
body.ax137-auth.gd-v2863-auth .ax137-form-side .ax137-form-logo.ax164-custom-logo {
  width:min(100%, 380px)!important;
  max-width:380px!important;
  min-height:120px!important;
  max-height:none!important;
  padding:12px 14px!important;
  margin:0 auto 22px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
}
body.ax137-auth.gd-v2863-auth .ax137-form-side .ax137-form-logo.ax164-custom-logo img {
  width:auto!important;
  max-width:100%!important;
  height:auto!important;
  max-height:140px!important;
  object-fit:contain!important;
  object-position:center!important;
  margin:0 auto!important;
}
@media(max-width:760px){
  body.ax137-auth.gd-v2863-auth .ax137-form-side .ax137-form-logo.ax164-custom-logo{
    width:min(100%,330px)!important;max-width:330px!important;min-height:96px!important;padding:10px!important;
  }
  body.ax137-auth.gd-v2863-auth .ax137-form-side .ax137-form-logo.ax164-custom-logo img{max-height:112px!important}
}
@media(max-width:380px){
  body.ax137-auth.gd-v2863-auth .ax137-form-side .ax137-form-logo.ax164-custom-logo{width:100%!important;max-width:100%!important}
  body.ax137-auth.gd-v2863-auth .ax137-form-side .ax137-form-logo.ax164-custom-logo img{max-height:98px!important}
}

/* V286.6 — Apenas páginas públicas de autenticação. Sem interferir em áreas logadas. */
body.ax137-auth.gd-v2863-auth .ax137-form-side .ax137-form-logo.ax164-custom-logo,
body.ax137-auth.gd-v2863-auth .ax137-form-side > .ax137-form-logo.ax164-custom-logo {
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
  filter:none!important;
}
body.ax137-auth.gd-v2863-auth .ax137-form-side .ax137-form-logo.ax164-custom-logo::before,
body.ax137-auth.gd-v2863-auth .ax137-form-side .ax137-form-logo.ax164-custom-logo::after {
  content:none!important;
  display:none!important;
}
/* Marca institucional adicional apenas no mobile, sem substituir marca da licença. */
body.ax137-auth.gd-v2863-auth .gd-v2866-mobile-brand {display:none!important;}
@media(max-width:760px) {
  body.ax137-auth.gd-v2863-auth .gd-v2866-mobile-brand {
    display:flex!important;align-items:center!important;justify-content:center!important;
    width:100%!important;max-width:410px!important;margin:0 auto 22px!important;
    padding:14px 18px!important;background:#063522!important;border-radius:13px!important;
    box-sizing:border-box!important;
  }
  body.ax137-auth.gd-v2863-auth .gd-v2866-mobile-brand img {
    width:min(100%,350px)!important;height:auto!important;max-height:110px!important;
    display:block!important;object-fit:contain!important;filter:none!important;
  }
  /* Se não existir logo personalizada, evita duplicar a identidade institucional. */
  body.ax137-auth.gd-v2863-auth .ax137-form-side .ax137-form-logo.ax164-default-logo {display:none!important;}
  body.ax137-auth.gd-v2863-auth .ax137-form-side .ax137-form-logo.ax164-custom-logo {
    background:transparent!important;background-image:none!important;box-shadow:none!important;
  }
}
