@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/montserrat-latin-400.1c9c85d0b73b.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/montserrat-latin-500.7ea11ae0c63f.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/montserrat-latin-600.8adb87ca2ec3.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --azul-escuro: #2a4067;
  --azul: #527192;
  --azul-cinza: #c2cddd;
}

html {
  background: #fff;
  color: #000;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Montserrat", "Trebuchet MS", system-ui, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
  background: #fff;
  color: #000;
}

h1,
h2,
h3,
.marca,
.marca-grande {
  font-weight: 600;
  color: #000;
  line-height: 1.2;
}

h1 {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
}

h2 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

h3 {
  margin: 0;
  font-size: 1.05rem;
}

p {
  margin: 0;
}

a {
  color: #527192;
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 0.15em;
}

/* Sem sublinhado em nenhum link do portal, nem no hover/foco (pedido do Felipe, nov/2026).
   O foco segue visível pelo contorno de :focus-visible. */
a:hover,
a:focus,
a:focus-visible {
  text-decoration: none;
}

.marca:hover,
a.botao:hover {
  text-decoration: none;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid #527192;
  outline-offset: 3px;
}

h1:focus {
  outline: none;
}

h1:focus-visible {
  outline: 3px solid #527192;
  outline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
}

.pular {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 5;
  padding: 0.5rem 0.75rem;
  min-height: 44px;
  background: #fff;
  color: #527192;
}

.pular:focus {
  top: 0.75rem;
}

.somente-leitor {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.centro {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(1.5rem + env(safe-area-inset-top, 0px)) calc(1rem + env(safe-area-inset-right, 0px))
    calc(1.5rem + env(safe-area-inset-bottom, 0px)) calc(1rem + env(safe-area-inset-left, 0px));
}

.cartao {
  width: min(100%, 24rem);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  text-align: center;
}

.marca-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 0;
}

.marca-login .pictograma {
  width: 56px;
  height: 56px;
}

.marca-grande {
  margin: 0;
  font-size: 2.75rem;
}

.pictograma {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  object-fit: contain;
}

.acoes {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

button,
.botao {
  font: inherit;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
  padding: 0.65rem 1rem;
  border-radius: 4px;
  border: 2px solid #527192;
  background: #fff;
  color: #527192;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

button.primario,
.botao.primario {
  background: #527192;
  color: #fff;
  font-weight: 600;
}

button:disabled {
  cursor: wait;
}

.assinatura {
  margin-top: 2.5rem;
  font-size: 0.875rem;
  color: #000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 0.55rem;
}

.assinatura-texto {
  color: #000;
}

.logo-cliver-padrao {
  width: 110px;
  height: auto;
  flex: 0 0 auto;
  object-fit: contain;
}

.legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1rem;
}

.legal a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 400;
}

.email {
  overflow-wrap: anywhere;
  font-weight: 500;
}

.aplicacao {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.rolagem {
  display: contents;
}

.topo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: calc(0.75rem + env(safe-area-inset-top, 0px)) calc(1rem + env(safe-area-inset-right, 0px)) 0.75rem
    calc(1rem + env(safe-area-inset-left, 0px));
  border-bottom: 1px solid #c2cddd;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 2;
}

.marca {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.35rem;
  text-decoration: none;
  margin-right: auto;
}

.pessoa {
  margin: 0;
  font-weight: 500;
  overflow-wrap: anywhere;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cabeca-pessoa {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.85rem;
  margin-bottom: 1rem;
}

.miolo {
  display: flex;
  flex: 1;
  align-items: stretch;
}

.menu,
.menu-base {
  display: flex;
}

.menu {
  display: none;
}

.menu a,
.menu-base a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.4rem 0.75rem;
  text-decoration: none;
  border-radius: 4px;
  color: #527192;
}

.menu a svg,
.menu-base a svg {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
}

.menu a[aria-current="page"],
.menu-base a[aria-current="page"] {
  background: #2a4067;
  color: #fff;
  font-weight: 600;
}

.menu a:hover,
.menu-base a:hover {
  text-decoration: none;
}

.conteudo {
  padding: 1.25rem calc(1rem + env(safe-area-inset-right, 0px)) 2rem calc(1rem + env(safe-area-inset-left, 0px));
  width: min(100%, 64rem);
}

.rodape {
  padding: 1.5rem 1rem 2rem;
  border-top: 1px solid #c2cddd;
  text-align: center;
}

.rodape .assinatura {
  margin-top: 0;
}

.menu-base {
  position: static;
  z-index: 2;
  display: flex;
  flex: none;
  justify-content: space-around;
  gap: 0.25rem;
  padding: 0.25rem calc(0.25rem + env(safe-area-inset-right, 0px)) calc(0.35rem + env(safe-area-inset-bottom, 0px))
    calc(0.25rem + env(safe-area-inset-left, 0px));
  background: #fff;
  border-top: 1px solid #c2cddd;
}

@media (max-width: 899px) {
  .aplicacao {
    height: 100vh;
    min-height: 100vh;
    height: 100svh;
    min-height: 100svh;
    overflow: hidden;
  }

  .rolagem {
    display: block;
    flex: 1;
    min-height: 0;
    overflow: auto;
    scroll-padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  }

  .conteudo {
    padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
  }

  .topo .pessoa {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

.menu-base a {
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 0.1rem;
  font-size: 0.75rem;
  text-align: center;
  padding: 0.25rem;
}

.trilha ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.4rem;
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
  color: #000;
  font-size: 0.9rem;
}

.trilha li {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.trilha li:not(:last-child)::after {
  content: "›";
  margin-left: 0.4rem;
}

.resumo,
.meta,
.cliente,
.olho {
  color: #000;
}

.resumo,
p.meta {
  margin-bottom: 1rem;
}

.olho {
  margin-bottom: 0.35rem;
}

.grade {
  display: grid;
  gap: 0.75rem;
}

.cartao-grupo,
.cartao-box,
.ramo {
  border: 1px solid #c2cddd;
  border-radius: 6px;
  padding: 0.9rem 1rem;
  background: #fff;
}

.cartao-box {
  border-left: 4px solid var(--cor-grupo, var(--azul, #527192));
}

.cartao-box.participa,
.mapa-boxes .participa {
  border-color: #767676;
  border-left-color: var(--cor-grupo, var(--azul, #527192));
}

.faixa-grupo {
  padding-left: 0.35rem;
  border-left: 3px solid var(--cor-grupo, var(--azul, #527192));
}

.cartao-grupo h3 a,
.cartao-box h3 a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

.cartao-grupo h3 a:hover,
.cartao-box h3 a:hover {
  text-decoration: none;
}

.tipos,
.mapa-boxes,
.lista-pessoas,
.atalhos {
  margin: 0.6rem 0 0;
  padding: 0;
  list-style: none;
}

.sistema-linha {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.logo-sistema {
  width: auto;
  height: 18px;
  max-height: 18px;
  max-width: 80px;
  object-fit: contain;
  flex: 0 0 auto;
  align-self: center;
  vertical-align: middle;
}

/* Pictograma monday.com: 12 px de altura, largura proporcional (~21 px). */
.logo-sistema.logo-monday {
  height: 12px;
  max-height: 12px;
  width: auto;
  max-width: none;
  align-self: center;
}

.tipos li,
.lista-pessoas > li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.6rem;
}

.atalhos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.atalhos li {
  margin: 0;
  padding: 0;
}

.atalhos .sistema-linha {
  margin: 0;
}

.tipos .qtd {
  font-weight: 600;
  color: #000;
}

.mapa {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.mapa-boxes li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  padding: 0.35rem 0;
  border-top: 1px solid #c2cddd;
}

.abrev {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: inherit;
}

.ponto {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 99px;
  background: var(--cor-grupo, #527192);
  flex: 0 0 auto;
}

.av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--azul-cinza);
  color: var(--azul-escuro);
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  position: relative;
  overflow: hidden;
  vertical-align: middle;
}

.av.lg {
  width: 64px;
  height: 64px;
  font-size: 22px;
}

.av.sm {
  width: 30px;
  height: 30px;
  font-size: 11px;
}

.av.bot {
  background: #fff;
  border: 2px solid var(--azul);
  color: var(--azul-escuro);
}

.av.ext {
  background: #f3eee8;
  color: #5a4f43;
}

.av img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

.selos {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.selo {
  display: inline-flex;
  align-items: center;
  align-self: center;
  flex: 0 0 auto;
  min-height: 1.6rem;
  padding: 0.1rem 0.45rem;
  border: 1px solid #527192;
  border-radius: 99px;
  color: #527192;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.2;
}

.lista-pessoas > li {
  padding: 0.45rem 0;
  border-top: 1px solid #c2cddd;
}

.papeis {
  flex-basis: 100%;
  margin: 0.15rem 0 0;
  padding: 0;
  list-style: none;
  font-weight: 400;
  color: #000;
}

.papeis li {
  padding: 0.05rem 0;
}

.papeis-pessoa {
  margin: 0;
  padding: 0;
  list-style: none;
}

.papeis-pessoa > li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.45rem;
  padding: 0.35rem 0;
  border-top: 1px solid #c2cddd;
  color: #000;
}

.papeis-pessoa .sep-boxes {
  color: #000;
  font-weight: 400;
}

.titulo-grupo,
.boxes-grupo h2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.boxes-grupo h2 {
  margin-bottom: 0.65rem;
}

.boxes-grupo + .boxes-grupo {
  margin-top: 1.25rem;
}

.sistema {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin: 0 0 0.6rem;
  min-height: 44px;
}

.sistema.mudo {
  background: #f4f7fb;
  border: 1px solid #c2cddd;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  color: #000;
}

.nome-sistema {
  font-weight: 400;
  color: #000;
}

.trilha a,
.trilha li > span,
.lista-pessoas a,
.atalhos a,
.vazio a,
.sistema > a,
.papeis-pessoa a {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 44px;
  min-width: 44px;
}

/* Nos atalhos do card, o gap de 8 px define o espaço entre linhas; sem
   min-height extra que abra o espaço vertical entre as quebras. */
.atalhos a {
  min-height: 0;
  min-width: 0;
}

.sistema > a {
  white-space: nowrap;
}

.abre-fora {
  color: #527192;
  margin-left: 0.28em;
  font-size: 0.85em;
  line-height: 1;
}

@media (max-width: 520px) {
  .sistema:not(.mudo) {
    flex-wrap: nowrap;
    column-gap: 0.5rem;
    font-size: 0.875rem;
  }

  .sistema:not(.mudo) .nome-sistema {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .sistema:not(.mudo) > span:not(.nome-sistema) {
    min-width: 0;
  }
}

.vazio {
  margin: 0.5rem 0 1rem;
}

.automaticos {
  margin-top: 0.75rem;
}

.automaticos summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  font-weight: 600;
  color: #527192;
  list-style: none;
}

.automaticos summary::-webkit-details-marker {
  display: none;
}

.automaticos summary::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  flex: 0 0 auto;
}

.automaticos[open] summary::before {
  transform: rotate(45deg);
}

.busca {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.busca label {
  flex: 1 1 12rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.25rem;
  font-weight: 500;
  color: #000;
}

.busca input,
.busca select {
  width: 100%;
  min-height: 44px;
  padding: 0.5rem 0.7rem;
  border: 2px solid #767676;
  border-radius: 4px;
  font: inherit;
  color: #000;
  background: #fff;
}

.descricao-box {
  margin-bottom: 1.25rem;
}

.digitais {
  margin-top: 1rem;
}

.digitais h3 {
  margin-bottom: 0.35rem;
}

section + section {
  margin-top: 1.5rem;
}

@media (min-width: 900px) {
  .menu {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    width: 14rem;
    flex: 0 0 14rem;
    padding: 1rem calc(0.75rem + env(safe-area-inset-right, 0px)) 1rem calc(0.75rem + env(safe-area-inset-left, 0px));
    border-right: 1px solid #c2cddd;
  }

  .menu-base {
    display: none;
  }

  .conteudo {
    padding-bottom: 2rem;
  }

  .rodape {
    padding-bottom: 2rem;
  }

  .grade {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 320px) {
  .marca-grande {
    font-size: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Multi-organização (Entrega 3): escolha e seletor no topo */
.ponto-org {
  display: inline-block;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  flex: none;
  background: #527192;
}
.lista-orgs {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.opcao-org,
.seletor-org a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid #c2cddd;
  border-radius: 0.5rem;
  text-decoration: none;
}
.seletor-org {
  position: relative;
}
.seletor-org summary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.35rem 0.6rem;
  border: 1px solid #c2cddd;
  border-radius: 999px;
  font-weight: 500;
}
.seletor-org ul {
  position: absolute;
  right: 0;
  z-index: 3;
  min-width: 14rem;
  margin: 0.4rem 0 0;
  padding: 0.4rem;
  list-style: none;
  background: #fff;
  border: 1px solid #c2cddd;
  border-radius: 0.5rem;
  display: grid;
  gap: 0.3rem;
}
.seletor-org a[aria-current="true"] {
  font-weight: 600;
}

/* Painel do CliZap (/{org}/clizap, migração 051) */
.filtros-clizap {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem;
  margin: 0.5rem 0 1rem;
}

.filtros-clizap label {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-weight: 600;
}

.filtros-clizap select,
.filtros-clizap button {
  min-height: 44px;
  font: inherit;
}

.aviso-clizap {
  margin: 0 0 1rem;
  color: #2a4067;
}

.aviso-clizap.destaque {
  padding: 0.5rem 0.75rem;
  border-left: 4px solid #c0392b;
  background: #fdf3f2;
  color: #000;
}

.painel-clizap {
  display: grid;
  gap: 1rem;
}

.bloco-clizap {
  border: 1px solid #c2cddd;
  border-radius: 6px;
  padding: 0.9rem 1rem;
  background: #fff;
  min-width: 0;
}

.numeros-clizap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-bottom: 0.75rem;
}

.numero-clizap {
  display: flex;
  flex-direction: column;
}

.numero-clizap strong {
  font-size: 1.5rem;
  line-height: 1.2;
}

.numero-clizap .rotulo,
.numero-clizap .detalhe,
.tabela-clizap .detalhe,
.tabela-clizap .dica {
  font-size: 0.85rem;
  color: #3d4f66;
}

.grafico {
  margin: 0.75rem 0;
}

.grafico figcaption {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.grafico {
  overflow-x: auto;
}

.grafico svg {
  display: block;
  min-width: 520px;
  height: auto;
}

.legenda {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
}

.legenda-cor {
  display: inline-block;
  width: 0.8rem;
  height: 0.8rem;
  margin-right: 0.35rem;
  vertical-align: middle;
}

.tabela-rolagem {
  overflow-x: auto;
}

.tabela-clizap {
  border-collapse: collapse;
  width: 100%;
  margin: 0.5rem 0;
}

.tabela-clizap caption {
  text-align: left;
  font-weight: 600;
}

.tabela-clizap th,
.tabela-clizap td {
  padding: 0.35rem 0.5rem;
  border-bottom: 1px solid #c2cddd;
  text-align: left;
}

.nao-sairam {
  margin: 0.25rem 0 0;
  padding-left: 1.1rem;
}

/* Painel operacional (migração 209): cada bloco com o seu cabeçalho, estado e horário da leitura. */
.op-intro {
  margin: 0 0 1rem;
  color: #2a4067;
}

.op-cabeca {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.5rem;
}

.op-cabeca h2 {
  margin: 0;
}

.op-estado {
  margin: 0.5rem 0;
  color: #3d4f66;
}

.op-erro {
  margin: 0.5rem 0;
  padding: 0.5rem 0.75rem;
  border-left: 4px solid #c0392b;
  background: #fdf3f2;
  color: #000;
}

.op-lido {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: #3d4f66;
}

.bloco-operacional[aria-busy="true"] .op-estado::before {
  content: "";
  display: inline-block;
  width: 0.8rem;
  height: 0.8rem;
  margin-right: 0.4rem;
  vertical-align: -0.1rem;
  border: 2px solid #c2cddd;
  border-top-color: #527192;
  border-radius: 50%;
  animation: op-gira 0.9s linear infinite;
}

@keyframes op-gira {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bloco-operacional[aria-busy="true"] .op-estado::before {
    animation: none;
  }
}
