/*
 * L360º — identidade visual compartilhada para Gestão 360º
 * LAB360 • componente visual versionado 1.0.0
 * Padrão extraído da Index: círculo elevado, seletor embutido e 3 temas.
 * Não declara eventos, autenticação ou contratos de dados.
 */

.l360-identity{
  display:inline-flex;
  align-items:flex-start;
  justify-content:flex-start;
  gap:0;
  min-width:0;
  white-space:nowrap;
  color:inherit;
  font-family:Inter,Arial,Helvetica,sans-serif;
  font-weight:850;
  font-size:clamp(32px,3.4vw,43px);
  letter-spacing:-.09em;
  line-height:1.05;
}
.l360-identity__word{display:inline-block}
.l360-identity__degree{
  position:relative;
  display:inline-grid;
  place-items:center;
  width:26px;
  height:26px;
  flex:0 0 26px;
  margin:-3px 0 0 4px;
  padding:0;
  transform:none;
  border:0;
  outline-offset:3px;
  border-radius:50%;
  background:transparent;
  color:inherit;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
.l360-identity__degree svg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  transform:rotate(-90deg);
  overflow:visible;
}
.l360-identity__degree circle{
  fill:none;
  stroke:currentColor;
  stroke-width:3.6px;
  opacity:.25;
}
.l360-identity__degree .l360-identity__progress{
  stroke:#fad02c;
  stroke-width:4px;
  stroke-linecap:round;
  stroke-dasharray:92 8;
  opacity:1;
}
.l360-identity__symbol{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  font-size:12px;
  font-weight:700;
  letter-spacing:normal;
}
.l360-identity__symbol i{font-size:inherit}
.l360-identity__degree:focus-visible{
  outline:2px solid #fad02c;
  outline-offset:4px;
}
.l360-identity__degree:hover .l360-identity__progress{
  stroke:#f5de71;
}

/* Portal de Gestão: identidade permanente, sem dois seletores de tema. */
.l360-access-header{
  position:fixed;
  z-index:90;
  top:0;
  left:0;
  right:0;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  min-height:76px;
  padding:14px 24px;
  pointer-events:none;
  color:#13161b;
}
.l360-access-header .l360-identity{pointer-events:auto}
.l360-access-footer{
  position:fixed;
  z-index:80;
  left:0;
  right:0;
  bottom:0;
  margin:0;
  padding:12px 16px max(12px,env(safe-area-inset-bottom));
  text-align:center;
  font:600 11px/1.4 Inter,Arial,sans-serif;
  color:#8b9199;
  pointer-events:none;
}
.l360-access-header ~ .login-shell{padding-bottom:52px}
body .login-heading h1{
  font-size:clamp(23px,3vw,33px);
  letter-spacing:-.045em;
}
body .login-heading p{
  margin:8px auto 0;
  max-width:360px;
  line-height:1.5;
  text-align:center;
}
body .login-context .context-footer{display:none!important}
body .pwa-gate{
  padding-top:94px;
  padding-bottom:90px;
}
body .pwa-gate-card{
  display:flex;
  flex-direction:column;
  align-items:center;
}
body .pwa-gate-card h1{
  margin:0 0 8px;
  font-size:clamp(27px,5vw,34px);
  letter-spacing:-.045em;
}
body .pwa-gate-card > p:not(#pwaWaiting){
  margin:0 auto 14px;
  max-width:310px;
  font-size:14px;
}
body #pwaBrowserButton{
  border:1px solid #f0c431;
  background:#fad02c;
  color:#171717;
  font-weight:800;
}
body #pwaInstallButton{
  border:1px solid var(--border,rgba(128,128,128,.4));
  background:transparent;
  color:var(--text,#f4f4f4);
}
body #pwaBrowserButton:hover:not(:disabled){
  background:#f8dc6c;
}
body #mobileLoginClose{
  color:inherit;
}
@media(max-width:900px){
  .l360-access-header{
    min-height:66px;
    padding:12px 16px;
  }
  .l360-access-header .l360-identity{font-size:35px}
  html[data-theme="dark"] .l360-access-header{color:#fff}
  html[data-theme="light"] .l360-access-header{color:#111}
  html[data-theme="dark"] body.mobile-login-open .l360-access-header{
    color:#111;
  }
  body .pwa-gate{min-height:100dvh}
  body .pwa-gate-card{max-width:355px}
  body .login-shell{padding-top:68px;min-height:100dvh}
  body .login-access{padding:30px 20px 65px}
  body .login-box{max-width:420px}
  body.mobile-login-open .login-box{padding-top:45px}
}
@media(max-width:390px){
  .l360-identity{font-size:31px}
  .l360-identity__degree{width:23px;height:23px;flex-basis:23px;margin-top:-2px}
  .l360-identity__symbol{font-size:11px}
}

/* Painel Gestão: identidade à esquerda, círculo de tema integrado. */
body.l360-app .l360-header-brand{
  width:auto;
  min-width:0;
  max-width:350px;
  gap:14px;
  padding:0 12px 0 18px;
}
body.l360-app .l360-header-brand .l360-identity{
  color:var(--g360-text,#fff);
  font-size:32px;
  flex-shrink:0;
}
body.l360-app .l360-header-brand .l360-identity__degree{
  width:24px;
  height:24px;
  flex-basis:24px;
  margin-top:-3px;
}
body.l360-app .l360-header-brand .l360-identity__symbol{
  font-size:11px;
}
body.l360-app .l360-header-brand .l360-header-divider{
  flex:0 0 1px;
}
body.l360-app .g360-footer{
  justify-content:center;
  text-align:center;
  font-size:11px;
  padding:13px 12px 17px;
}
@media(max-width:1040px){
  body.l360-app .l360-header-brand{
    padding-left:12px;
    gap:9px;
  }
  body.l360-app .l360-header-brand .l360-identity{font-size:27px}
  body.l360-app .l360-header-brand .l360-identity__degree{
    width:21px;
    height:21px;
    flex-basis:21px;
    margin-top:-2px;
  }
}
@media(max-width:760px){
  body.l360-app .l360-header-brand{
    width:auto;
    max-width:unset;
    padding-left:9px;
    padding-right:2px;
    gap:0;
  }
  body.l360-app .l360-header-brand .l360-header-divider,
  body.l360-app .l360-header-brand .l360-product--date{
    display:none;
  }
  body.l360-app .l360-header-brand .l360-identity{font-size:29px}
  body.l360-app .l360-header-actions{gap:3px}
  body.l360-app .g360-footer{font-size:10px}
}
