/* Gestor 2.0 - Cabecalho fixo global e titulo da pagina (2026-11-18). */
.app-shell .app-sticky-header {
  position: fixed;
  /* A barra nao depende do overflow dos ancestrais. */
  left: 0;
  right: auto;
  width: 100%;
  top: 0;
  z-index: 1000;
  isolation: isolate;
  background: #f2f6fa;
  padding-bottom: .25rem;
}
.app-shell .app-sticky-header .app-masthead {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}
.app-shell .app-sticky-page-title:not([hidden]) {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 37px;
  padding: .35rem 1.3rem;
  border: 1px solid #dce6ee;
  border-top: 0;
  border-radius: 0 0 11px 11px;
  background: #fff;
  box-shadow: 0 5px 15px #1d36500c;
}
.app-shell .app-sticky-page-prefix {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #6b7d8e;
  font-weight: 700;
}
.app-shell #app-sticky-page-name {
  font-size: .88rem;
  font-weight: 760;
  color: #183c55;
}
/* O menu da sessao permanece utilizavel acima das demais telas. */
.app-shell .app-sticky-header .app-session-popover {z-index: 1010;}
@media (max-width: 700px) {
  .app-shell .app-sticky-header .app-masthead {padding: .55rem .75rem;}
  .app-shell .app-sticky-header .app-brand-kicker {display:none;}
  .app-shell .app-sticky-page-title:not([hidden]) {padding:.3rem .75rem;gap:.45rem;}
  .app-shell .app-sticky-page-prefix {font-size:.64rem;}
  .app-shell #app-sticky-page-name {font-size:.78rem;}
}
/* Alvos de links e navegacao nao devem ficar encobertos. */
html {scroll-padding-top: 155px;}
.app-shell :is(section, article, details, [id]) {scroll-margin-top: 155px;}

/* Reservamos o espaco do cabecalho retirado do fluxo por position: fixed. */
.app-shell #app-sticky-header-spacer{display:block;height:var(--gestor-sticky-height, 0px);pointer-events:none;}
.app-shell .app-sticky-header{box-sizing:border-box;will-change:auto;}

/* Titulo contextual so e exibido apos o titulo original sair da area visivel. */
.app-shell #app-sticky-page-title[hidden]{display:none !important;}
.app-shell .app-sticky-page-prefix{display:none !important;}
.app-shell .app-sticky-page-title:not([hidden]){padding:.4rem 1.3rem;min-height:37px;}
