/*MENU RECOLHIDO: 96px na barra, e o conteudo acompanha*/
html[data-sidebar="colapsada"] .sidebar {
  width: 96px;
}

html[data-sidebar="colapsada"] .header {
  left: 96px;
}

html[data-sidebar="colapsada"] .conteudo {
  margin-left: 96px;
}

html {
  color-scheme: light;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  scrollbar-color: var(#e5e5e5) transparent;
  scrollbar-width: thin;
}

/*display NA CLASSE VENCE O [hidden] DO NAVEGADOR: ISSO DEVOLVE A PRIORIDADE*/
[hidden] {
  display: none !important;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: var(#e5e5e5);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #8a8a8a;
}

body {
  background-color: #f4f4f5;
  color: #1a1a1a;
  min-height: 100vh;
  display: flow-root;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 20%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(
    circle at top left,
    #5e141d 0%,
    #dd5b12 100%
  );
  background-size: 160% 160%;
  animation: login-fundo-respira 16s ease-in-out infinite;
  border-right: 1px solid #ececec;
}

.sidebar__menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 12px;
}

.sidebar__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #5a5a5a;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.sidebar__link:hover {
  background-color: #f4f4f5;
}

.sidebar__link--ativo {
  background-color: #f4f4f5;
  color: #1a1a1a;
  font-weight: 600;
}

.sidebar__link-icone {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.sidebar__topo {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 84px;
  /*MESMO RECUO DO CABECALHO DO INDEX: A LOGO CAI NA MESMA COLUNA*/
  padding: 0 1.5rem;
  border-bottom: 1px solid #e5e5e5;
}

/*O <a> inline em volta da logo ganha o espaco do descendente da linha e
  empurra a imagem 4px para cima. Como flex, ele cola na imagem.*/
.sidebar__logo-link {
  display: flex;
  align-items: center;
}

html[data-sidebar="colapsada"] .sidebar__topo {
  padding: 25px 16px;
  gap: 8px;
  justify-content: center;
}

html[data-sidebar="colapsada"] .sidebar__link-texto {
  display: none;
}

html[data-sidebar="colapsada"] .sidebar__link {
  justify-content: center;
  padding-left: 0;
  padding-right: 0;
}

html[data-sidebar="colapsada"] .sidebar__menu {
  padding: 16px 8px;
}

/*RECOLHER: NO RODAPE DA SIDEBAR, MESMO PADRAO DO PAINEL
  (.painel-nav__colapsar em painel.css) — o padrao a seguir entre as duas
  telas e o do Painel, nao o antigo botao-pilula que ficava ao lado do
  logo aqui na Base.*/
.sidebar__espaco {
  flex: 1;
}

.sidebar__colapsar {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0;
  background: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.sidebar__colapsar:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.sidebar__colapsar svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

html[data-sidebar="colapsada"] .sidebar__colapsar svg {
  transform: rotate(180deg);
}

html[data-sidebar="colapsada"] .sidebar__colapsar {
  justify-content: center;
  padding-left: 0;
  padding-right: 0;
}

html[data-sidebar="colapsada"] .sidebar__colapsar-texto {
  display: none;
}

.header {
  position: fixed;
  top: 0;
  left: 20%;
  right: 0;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background-color: #ffffff;
  border-bottom: 1px solid #ececec;
  z-index: 900;
}

/* ==========================================================================
   ACOES DO CABECALHO: FOTO, NOME, MENU E SAIR
   Mesma estrutura do .topo do resto do site (index.css), com estilo
   proprio aqui — a Base tem seu layout fixo (sidebar + header) e nao
   carrega index.css, que mexeria no body/posicionamento do resto da tela.
   ========================================================================== */

.topo__acoes {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-right: 50px;
}

.topo__perfil {
  position: relative;
}

.topo__usuario {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.25rem;
  border: 0;
  border-radius: 4px;
  background: none;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.topo__usuario:hover {
  background-color: #f5f5f5;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(26, 26, 26, 0.08);
}

.topo__usuario:active {
  transform: translateY(0) scale(0.97);
  box-shadow: none;
}

.topo__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.125rem;
  height: 2.125rem;
  flex-shrink: 0;
  border-radius: 4px;
  background-color: #dd5b12;
  font-family: "Sora", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  color: #fff;
  overflow: hidden;
}

/*FOTO DE PERFIL: PREENCHE O QUADRADO SEM DISTORCER*/
.topo__avatar-foto {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topo__usuario-texto {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
}

.topo__usuario-nome {
  font-family: "Sora", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  color: #1a1a1a;
}

.topo__usuario-setor {
  font-size: 0.6875rem;
  color: #dd5b12;
}

.topo__usuario-seta {
  color: #8a8a8a;
  transition: transform 0.2s ease;
}

.topo__usuario[aria-expanded="true"] .topo__usuario-seta {
  transform: rotate(180deg);
}

/*MENU DO PERFIL*/
.topo__menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 20;
  min-width: 12.5rem;
  padding: 0.375rem;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 10px 30px rgba(26, 26, 26, 0.12);
}

.topo__menu--aberto {
  display: block;
  animation: topo-menu-abre 0.18s ease-out;
}

@keyframes topo-menu-abre {
  from {
    opacity: 0;
    transform: translateY(-0.375rem);
  }
}

.topo__menu-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 400;
  color: #1a1a1a;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.topo__menu-item svg {
  color: #8a8a8a;
  transition: color 0.2s ease;
}

.topo__menu-item:hover {
  background-color: #f5f5f5;
}

.topo__menu-item:hover svg {
  color: #dd5b12;
}

.topo__menu-divisor {
  display: block;
  height: 1px;
  margin: 0.3125rem 0.25rem;
  background-color: #ececec;
}

/*ITEM COM INTERRUPTOR (Notificações): mesma regra de index.css/portal.css,
  replicada aqui porque base.css não herda de index.css.*/
.topo__menu-item--interruptor {
  width: 100%;
  border: 0;
  background: none;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.topo__menu-item--interruptor span:not(.topo__menu-interruptor) {
  flex: 1;
}

.topo__menu-interruptor {
  position: relative;
  flex-shrink: 0;
  width: 1.75rem;
  height: 1rem;
  border-radius: 999px;
  background-color: #e5e5e5;
  transition: background-color 0.15s ease;
}

.topo__menu-interruptor::before {
  content: "";
  position: absolute;
  top: 0.125rem;
  left: 0.125rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 1px 2px rgba(26, 26, 26, 0.25);
  transition: transform 0.15s ease;
}

.topo__menu-item--interruptor[aria-checked="true"] .topo__menu-interruptor {
  background-color: #dd5b12;
}

.topo__menu-item--interruptor[aria-checked="true"] .topo__menu-interruptor::before {
  transform: translateX(0.75rem);
}

/*SAIR*/
.topo__sair {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.625rem;
  border: 0;
  border-radius: 4px;
  background: none;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 400;
  color: #1a1a1a;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.topo__sair:hover {
  background-color: #f5f5f5;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(26, 26, 26, 0.08);
}

.topo__sair:active {
  transform: translateY(0) scale(0.97);
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  .topo__usuario,
  .topo__usuario:hover,
  .topo__usuario:active,
  .topo__sair,
  .topo__sair:hover,
  .topo__sair:active {
    transition: none;
    transform: none;
  }

  .topo__menu--aberto {
    animation: none;
  }
}

.sidebar__logo {
  width: 8.25rem;
  height: auto;
}

html[data-sidebar="colapsada"] .sidebar__logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
}

html[data-sidebar="colapsada"] .sidebar__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.conteudo {
  margin-left: 20%;
  margin-top: 84px;
}

.text-header {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  padding: 25px 50px;
}

/* Busca */

.busca-secao {
  padding: 24px 20px;
}

.busca-contagem {
  font-size: 15px;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.busca-barra {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 700px;
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 1px 2px rgba(26, 26, 26, 0.05);
}

.busca-icone {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #5a5a5a;
}

.busca-input {
  flex: 1;
  border: none;
  outline: none;
  background: none;
  font-size: 14px;
  color: #1a1a1a;
}

.busca-input::placeholder {
  color: #8a8a8a;
}

.busca-linha {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  margin-bottom: 20px;
}

.busca-barra {
  flex: 1 1 auto;
}

.visualizacao-grupo {
  display: flex;
  flex-shrink: 0;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
}

.visualizacao-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-right: 1px solid #e5e5e5;
  background-color: #ffffff;
  color: #8a8a8a;
  cursor: pointer;
}

.visualizacao-btn:last-child {
  border-right: none;
}

.visualizacao-btn svg {
  width: 16px;
  height: 16px;
}

.visualizacao-btn:hover {
  background-color: #f4f4f5;
}

.visualizacao-btn--ativo {
  background-color: rgba(221, 91, 18, 0.1);
  color: #dd5b12;
}

.ordenar-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #c24f00;
  cursor: pointer;
}

.ordenar-btn:hover {
  background-color: #f4f4f5;
}

.ordenar-icone {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Filtros */

.busca-divisor {
  border-bottom: 1px solid #ececec;
  margin: 24px 0 20px;
}

.filtros-barra {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.filtro-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  padding: 9px 34px 9px 14px;
  font-size: 13px;
  font-family: inherit;
  color: #1a1a1a;
  cursor: pointer;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filtros-aplicados {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.filtros-aplicados[hidden] {
  display: none;
}

.filtros-aplicados__label {
  font-size: 12px;
  color: #8a8a8a;
}

.filtros-aplicados__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filtro-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: #f0f0f1;
  border-radius: 999px;
  padding: 4px 6px 4px 12px;
  font-size: 12px;
  color: #1a1a1a;
}

.filtro-chip__remover {
  border: none;
  background: none;
  color: #8a8a8a;
  font-size: 14px;
  line-height: 1;
  padding: 2px 4px;
  cursor: pointer;
}

.filtro-chip__remover:hover {
  color: #b02a2a;
}

.filtros-limpar {
  border: none;
  background: none;
  font-size: 12px;
  font-weight: 600;
  color: #c24f00;
  cursor: pointer;
}

.filtros-limpar:hover {
  text-decoration: underline;
}

/* Grade de soluções */

.solucoes-vazio {
  color: #5a5a5a;
  font-size: 14px;
  text-align: center;
  padding: 48px 24px;
  border: 1.5px dashed #e5e5e5;
  border-radius: 20px;
  background-color: #ffffff;
}

.solucoes-grade {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}

.solucoes-grade--lista {
  grid-template-columns: 1fr;
}

.solucao-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 18px;
  cursor: pointer;
  transition: border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.solucao-card:hover {
  border-color: #8a8a8a;
  box-shadow: 0 1px 2px rgba(26, 26, 26, 0.05);
}

.solucao-card__topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.tipo-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.tipo-pill__icone {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.solucao-card__titulo {
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.35;
  overflow-wrap: break-word;
  word-break: break-word;
}

.solucao-card__descricao {
  font-size: 13px;
  color: #5a5a5a;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.solucao-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.solucao-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background-color: #f0f0f1;
  border-radius: 6px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 600;
  color: #5a5a5a;
}

.solucao-card__tag-icone {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.solucao-card__tag--mais {
  background: none;
  color: #8a8a8a;
}

.solucao-card__rodape {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid #e5e5e5;
}

.solucao-card__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(221, 91, 18, 0.1);
  color: #c24f00;
  font-size: 10px;
  font-weight: 600;
  flex-shrink: 0;
  /*A foto é uma <img> dentro do círculo: sem isto os cantos dela vazariam
    para fora do border-radius.*/
  overflow: hidden;
}

.solucao-card__avatar-foto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.solucao-card__autor {
  font-size: 12px;
  font-weight: 600;
  color: #1a1a1a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.solucao-card__tempo {
  font-size: 12px;
  color: #8a8a8a;
  flex-shrink: 0;
  margin-left: auto;
}


/* ========================================================================== 
   PAINEL DE DETALHE, LIGHTBOX E CONFIRMACAO DE EXCLUSAO
   ========================================================================== */

/* Painel de visualização */

.painel-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(10, 10, 14, 0.4);
  z-index: 1000;
}

.painel-overlay[hidden] {
  display: none;
}

.painel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.12);
  transition: max-width 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.painel--expandido {
  max-width: 920px;
}

.painel__topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e5e5;
}

.painel__topo-selos {
  display: flex;
  align-items: center;
  gap: 8px;
}

.painel__modulo {
  font-size: 12px;
  font-weight: 600;
  color: #5a5a5a;
}

.painel__topo-acoes {
  display: flex;
  align-items: center;
  gap: 6px;
}

.painel__icone-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background-color: #ffffff;
  color: #5a5a5a;
  cursor: pointer;
}

.painel__icone-btn svg {
  width: 16px;
  height: 16px;
}

.painel__icone-btn:hover {
  background-color: #f4f4f5;
}

.painel__icone-btn[hidden] {
  display: none;
}

.painel__icone-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.painel__icone-btn:disabled:hover {
  background-color: #ffffff;
}

.painel__corpo {
  flex: 1;
  overflow-y: auto;
  padding: 24px 20px;
}

/*RODAPE FIXO: fora do flex:1 do corpo, fica colado embaixo mesmo quando
  a solucao tem bastante conteudo e o corpo rola.*/
.painel__rodape {
  display: flex;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid #e5e5e5;
}

.painel__baixar {
  flex: 1;
  border: none;
  background-color: #dd5b12;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  color: #ffffff;
  cursor: pointer;
}

.painel__baixar:hover {
  background-color: #c24f00;
}

.painel__baixar:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.painel__titulo {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.painel__descricao {
  font-size: 14px;
  color: #5a5a5a;
  line-height: 1.6;
  margin-bottom: 20px;
}

.painel__info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background-color: #f0f0f1;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 24px;
}

.painel__grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.painel__campo-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #8a8a8a;
  margin-bottom: 4px;
}

.painel__campo-valor {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}

.painel__secao {
  margin-bottom: 24px;
}

.painel__secao-titulo {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.painel__texto {
  font-size: 14px;
  color: #5a5a5a;
  line-height: 1.6;
}

.painel__vazio-secao {
  font-size: 13px;
  color: #8a8a8a;
}

.painel-passos {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.painel-passo {
  display: flex;
  gap: 12px;
}

.painel-passo__numero {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #dd5b12;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.painel-passo__conteudo {
  flex: 1;
}

.painel-passo__texto {
  font-size: 14px;
  color: #1a1a1a;
  line-height: 1.5;
}

.painel-passo__galeria {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.painel-passo__imagem {
  width: 110px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
  cursor: zoom-in;
}


.painel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.painel-anexos {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.painel-anexos a {
  font-size: 13px;
  font-weight: 600;
  color: #c24f00;
  text-decoration: none;
}

.painel-anexos a:hover {
  text-decoration: underline;
}

.painel__rodape {
  display: flex;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid #e5e5e5;
}

/* Lightbox de imagem do passo */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(10, 10, 14, 0.6);
  cursor: zoom-out;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__imagem {
  width: 60vw;
  height: 60vh;
  object-fit: contain;
  border-radius: 20px;
  background-color: #ffffff;
  box-shadow: 0 1px 2px rgba(26, 26, 26, 0.05);
  cursor: default;
}

/* Modal de confirmação */

.confirmar-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(10, 10, 14, 0.5);
  padding: 20px;
}

.confirmar-overlay[hidden] {
  display: none;
}

.confirmar-modal {
  width: 100%;
  max-width: 380px;
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(26, 26, 26, 0.05);
  padding: 24px;
}

.confirmar-modal__titulo {
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.confirmar-modal__texto {
  font-size: 14px;
  color: #5a5a5a;
  line-height: 1.5;
  margin-bottom: 20px;
}

.confirmar-modal__acoes {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.confirmar-modal__cancelar {
  border: 1px solid #e5e5e5;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  color: #1a1a1a;
  cursor: pointer;
}

.confirmar-modal__cancelar:hover {
  background-color: #f4f4f5;
}

.confirmar-modal__confirmar {
  border: none;
  background-color: #b02a2a;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  color: #ffffff;
  cursor: pointer;
}

.confirmar-modal__confirmar:disabled {
  background-color: #8a8a8a;
  cursor: not-allowed;
}

.painel__erro {
  font-size: 13px;
  color: #b02a2a;
  padding: 10px 20px 0;
}

.painel__erro:empty {
  display: none;
}

.painel-relacionadas {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.painel-relacionada {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px solid #e5e5e5;
  background-color: #f0f0f1;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-family: inherit;
  color: #1a1a1a;
  cursor: pointer;
}

.painel-relacionada:hover {
  background-color: #ffffff;
  border-color: #dd5b12;
}


/* ==========================================================================
   TIPOGRAFIA DO PROJETO: POPPINS NO CORPO, SORA NOS TITULOS
   ========================================================================== */

.text-header,
.solucao-card__titulo,
.solucao-card__autor,
.solucao-card__avatar,
.painel__titulo,
.painel__secao-titulo,
.campo-titulo-input,
.confirmar-modal__titulo,
.tipo-card__titulo,
.registro-secao-titulo__texto,
.publicacao-titulo,
.passo-a-passo__titulo,
.publicacao-btn {
  font-family: "Sora", system-ui, sans-serif;
}

/* ==========================================================================
   SIDEBAR: TOPO BRANCO, CORPO NO DEGRADE
   ========================================================================== */

/*O @keyframes estava so no login.css: sem ele aqui, o fundo ficava parado.*/
@keyframes login-fundo-respira {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 100% 60%; }
}

.sidebar {
  border-right: 0;
}

/*A FAIXA DA LOGO ACOMPANHA O CABECALHO: MESMO BRANCO, MESMA LINHA EMBAIXO*/
.sidebar__topo {
  background-color: #ffffff;
  border-bottom-color: #e5e5e5;
  /*RISCO QUE SEPARA O BOTAO DE RECOLHER DO TITULO DA PAGINA*/
  border-right: 1px solid #e5e5e5;
}

/*O botao de recolher mudou de lugar — saiu do topo branco e foi pro
  rodape da faixa laranja (mesmo padrao do Painel, ver o bloco
  .sidebar__colapsar mais acima neste arquivo). O hover "botao Entrar do
  login" so fazia sentido sobre fundo branco; sobre o degrade la embaixo
  ele nao se aplica mais — o estilo padrao (fundo transparente, texto
  claro) definido acima ja resolve.*/

/*DO MENU PARA BAIXO E LARANJA: OS CINZAS DO TEMA SOMEM, O TEXTO VIRA CLARO*/
.sidebar__link {
  color: rgba(255, 255, 255, 0.82);
}

.sidebar__link:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/*SELECIONADO: MESMO BOTAO DO LOGIN E DO INICIO (COR, BRILHO E SUBIDA NO HOVER)*/
.sidebar__link--ativo {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background-color: #c77240;
  color: #ffffff;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.sidebar__link--ativo::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  pointer-events: none;
}

.sidebar__link--ativo:hover::before {
  animation: sidebar-brilho 0.7s ease;
}

@keyframes sidebar-brilho {
  from { left: -60%; }
  to { left: 130%; }
}

.sidebar__link--ativo:hover {
  background-color: #b0602f;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(199, 114, 64, 0.32);
}

@media (prefers-reduced-motion: reduce) {
  .sidebar__link--ativo:hover {
    transform: none;
  }

  .sidebar__link--ativo:hover::before {
    animation: none;
  }
}
